1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{72587: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ImgComparisonSlider=void 0;let l=a(n(2265));"undefined"!=typeof document&&Promise.resolve().then(()=>o(n(88975))),t.ImgComparisonSlider=({children:e,onSlide:t,...n})=>{let r=l.default.createRef();return l.default.useEffect(()=>{void 0!==n.value&&(r.current.value=parseFloat(n.value.toString()))},[n.value,r]),l.default.useEffect(()=>{t&&r.current.addEventListener("slide",t)},[]),l.default.createElement("img-comparison-slider",Object.assign({class:n.className?`${n.className} rendered`:"rendered",tabIndex:0,ref:r},n),e)}},54440:function(e,t){var n;/*! 2 Copyright (c) 2018 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},50348:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r}},38990:function(e){let t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],n={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA5
55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};class r{constructor({bgColor:e="#FFFFFF",fgDarkColor:t="#000000",fgLightColor:r="#FFFFFF",defaultColor:o="#000000",threshold:a=128,customNamedColors:l={}}={}){let s={bgColor:e,fgDarkColor:t,fgLightColor:r,defaultColor:o,threshold:a,customNamedColors:l};this.namedColors={...n,...l},this.contrastColor=(e={})=>i({...s,...e,customNamedColors:{...s.customNamedColors,...e.customNamedColors}})}}function i({bgColor:e="#FFFFFF",fgDarkColor:r="#000000",fgLightColor:i="#FFFFFF",defaultColor:o="#000000",threshold:a=128,customNamedColors:l={}}={}){this.namedColors={...n,...l};let[s,u,c,d]=[e,r,i,o].map(e=>this.namedColors[e]),f=String(s||e).toUpperCase().split("").filter(e=>t.includes(e));switch(f.length){case 3:case 4:f=f.slice(0,3).map(e=>`${e}${e}`);break;case 6:case 8:f=f.slice(0,6).reduce((e,t,n,r)=>n%2?[...e,`${r[n-1]}${t}`]:e,[]);break;default:return d||o}let[p,h,m]=f.map(e=>parseInt(e,16));return(299*p+587*h+114*m)/1e3>=a?u||r:c||i}e.exports=r,e.exports.contrastColor=i},7106:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l(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 a(e,t){try{return t in e}catch(e){return!1}}function l(e,n,s){(s=s||{}).arrayMerge=s.arrayMerge||i,s.isMergeableObject=s.isMergeableObject||t,s.cloneUnlessOtherwiseSpecified=r;var u,c,d=Array.isArray(n);return d!==Array.isArray(e)?r(n,s):d?s.arrayMerge(e,n,s):(c={},(u=s).isMergeableObject(e)&&o(e).forEach(function(t){c[t]=r(e[t],u)}),o(n).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&u.isMergeableObject(n[t])?c[t]=(function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l})(t,u)(e[t],n[t],u):c[t]=r(n[t],u))}),c)}l.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return l(e,n,t)},{})},e.exports=l},7976:function(e,t){"use strict";/** @license React v17.0.2 6 * react-is.production.min.js 7 * 8 * Copyright (c) Facebook, Inc. and its affiliates. 9 * 10 * This source code is licensed under the MIT license found in the 11 * LICENSE file in the root directory of this source tree. 12 */var n=60103,r=60106,i=60107,o=60108,a=60114,l=60109,s=60110,u=60112,c=60113,d=60120,f=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;h("react.element"),h("react.portal"),h("react.fragment"),h("react.strict_mode"),h("react.profiler"),h("react.provider"),h("react.context"),h("react.forward_ref"),h("react.suspense"),h("react.suspense_list"),h("react.memo"),h("react.lazy"),h("react.block"),h("react.server.block"),h("react.fundamental"),h("react.debug_trace_mode"),h("react.legacy_hidden")}},25291:function(e,t,n){"use strict";n(7976)},55379:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(t=arguments[f],null!=t)for(n in t)r=s(d,n),d!==(i=s(t,n))&&(h&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(h,c,i)})):void 0!==i&&l(d,{name:n,newValue:i}));return d}},50051:function(e,t,n){"use strict";var r,i,o=n(74275),a=n.n(o),l=n(2265);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var c=(r=i={exports:{}},i.exports,function(e){if("undefined"!=typeof window){var t,n=0,i=!1,o=!1,a=7,l="[iFrameSizer]",s=l.length,u=null,c=window.requestAnimationFrame,d={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},f={}
12,p=null,h={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){_("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},m={};window.jQuery&&((t=window.jQuery).fn?t.fn.iFrameResize||(t.fn.iFrameResize=function(e){return this.filter("iframe").each(function(t,n){D(n,e)}).end()}):T("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof e&&e.amd?e([],H):r.exports=H(),window.iFrameResize=window.iFrameResize||H()}function g(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function y(e,t,n){e.addEventListener(t,n,!1)}function v(e,t,n){e.removeEventListener(t,n,!1)}function b(e){return f[e]?f[e].log:i}function E(e,t){x("log",e,t,b(e))}function T(e,t){x("info",e,t,b(e))}function _(e,t){x("warn",e,t,!0)}function x(e,t,n,r){if(!0===r&&"object"==typeof window.console){var i;console[e](l+"["+(i="Host page: "+t,window.top!==window.self&&(i=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+t:"Nested host page: "+t),i)+"]",n)}}function C(e){function t(){n("Height"),n("Width"),N(function(){var e;I(B),O(H),k(H,"onResized",B)},B,"init")}function n(e){var t=Number(f[H]["max"+e]),n=Number(f[H]["min"+e]),r=e.toLowerCase(),i=Number(B[r]);E(H,"Checking "+r+" is in range "+n+"-"+t),i<n&&(i=n,E(H,"Set "+r+" to min value")),i>t&&(i=t,E(H,"Set "+r+" to max value")),B[r]=""+i}function r(e){return F.substr(F.indexOf(":")+a+e)}function i(e,t){var n;n=function(){var n,r;R("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),JSON.stringify({iframeHeight:(r=B.iframe.getBoundingClientRect()).height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},m[t]||(m[t]=setTimeout(function(){m[t]=null,n()},32))}function o(e){var t=e.getBoundingClientRect();return w(H),{x:Math.floor(Number(t.left)+Number(u.x)),y:Math.floor(Number(t.top)+Number(u.y))}}function c(e){var t=e?o(B.iframe):{x:0,y:0},n={x:Number(B.width)+t.x,y:Number(B.height)+t.y};E(H,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):_(H,"Unable to scroll to requested position, window.parentIFrame not found"):(u=n,d(),E(H,"--"))}function d(){var e;!1!==k(H,"onScroll",u)?O(H):u=null}function p(e){var t;t={iframe:B.iframe,screenX:B.width,screenY:B.height,type:B.type},k(H,e,t)}var h,g,b,x,C,S,D,M,F=e.data,B={},H=null;"[iFrameResizerChild]Ready"===F?!function(){for(var e in f)R("iFrame requested init",L(e),f[e].iframe,e)}():l===(""+F).substr(0,s)&&F.substr(s).split(":")[0]in f?(g=(h=F.substr(s).split(":"))[1]?parseInt(h[1],10):0,b=f[h[0]]&&f[h[0]].iframe,x=getComputedStyle(b),f[H=(B={iframe:b,id:h[0],height:g+("border-box"!==x.boxSizing?0:(x.paddingTop?parseInt(x.paddingTop,10):0)+(x.paddingBottom?parseInt(x.paddingBottom,10):0))+("border-box"!==x.boxSizing?0:(x.borderTopWidth?parseInt(x.borderTopWidth,10):0)+(x.borderBottomWidth?parseInt(x.borderBottomWidth,10):0)),width:h[2],type:h[3]}).id]&&(f[H].loaded=!0),(C=B.type in{true:1,false:1,undefined:1})&&E(H,"Ignoring init message from meta parent page"),!C&&(D=!0,f[S=H]||(D=!1,_(B.type+" No settings for "+S+". Message was: "+F)),D)&&(E(H,"Received: "+F),M=!0,null===B.iframe&&(_(H,"IFrame ("+B.id+") not found"),M=!1),M&&function(){var t,n=e.origin,r=f[H]&&f[H].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(E(H,"Checking connection is from allowed list of origins: "+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}():(t=f[H]&&f[H].remoteHost,E(H,"Checking connection is from: "+t),n===t)))throw Error("Unexpected message received from: "+n+" for "+B.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){var e,n,a,l,s,h,m;switch(f[H]&&f[H].firstRun&&f[H]&&(f[H].firstRun=!1),B.type){case"close"
12:A(B.iframe);break;case"message":e=r(6),E(H,"onMessage passed: {iframe: "+B.iframe.id+", message: "+e+"}"),a={iframe:B.iframe,message:JSON.parse(e)},k(H,"onMessage",a),E(H,"--");break;case"mouseenter":p("onMouseEnter");break;case"mouseleave":p("onMouseLeave");break;case"autoResize":f[H].autoResize=JSON.parse(r(9));break;case"scrollTo":c(!1);break;case"scrollToOffset":c(!0);break;case"pageInfo":i(f[H]&&f[H].iframe,H),function(){function e(e,r){function o(){f[n]?i(f[n].iframe,n):t()}["scroll","resize"].forEach(function(t){E(n,e+t+" listener for sendPageInfo"),r(window,t,o)})}function t(){e("Remove ",v)}var n=H;e("Add ",y),f[n]&&(f[n].stopPageInfo=t)}();break;case"pageInfoStop":f[H]&&f[H].stopPageInfo&&(f[H].stopPageInfo(),delete f[H].stopPageInfo);break;case"inPageLink":h=decodeURIComponent(s=r(9).split("#")[1]||""),(m=document.getElementById(h)||document.getElementsByName(h)[0])?(l=o(m),E(H,"Moving to in page link (#"+s+") at x: "+l.x+" y: "+l.y),u={x:l.x,y:l.y},d(),E(H,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(s):E(H,"In page link #"+s+" not found and window.parentIFrame not found"):E(H,"In page link #"+s+" not found");break;case"reset":P(B);break;case"init":t(),n=B.iframe,k(H,"onInit",n);break;default:t()}}())):T(H,"Ignored: "+F)}function k(e,t,n){var r=null,i=null;if(f[e]){if("function"==typeof(r=f[e][t]))i=r(n);else throw TypeError(t+" on iFrame["+e+"] is not a function")}return i}function S(e){var t=e.id;delete f[t]}function A(e){var t=e.id;if(!1===k(t,"onClose",t)){E(t,"Close iframe cancelled by onClose event");return}E(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){_(e)}k(t,"onClosed",t),E(t,"--"),S(e)}function w(t){null===u&&E(t,"Get page position: "+(u={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop}).x+","+u.y)}function O(e){null!==u&&(window.scrollTo(u.x,u.y),E(e,"Set page position: "+u.x+","+u.y),u=null)}function P(e){E(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),w(e.id),N(function(){I(e),R("reset","reset",e.iframe,e.id)},e,"reset")}function I(e){function t(t){(function(t){if(!e.id){E("undefined","messageData id not set");return}e.iframe.style[t]=e[t]+"px",E(e.id,"IFrame ("+n+") "+t+" set to "+e[t]+"px")})(t),o||"0"!==e[t]||(o=!0,E(n,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(f).forEach(function(e){!function(e){function t(t){return"0px"===(f[e]&&f[e].iframe.style[t])}f[e]&&null!==f[e].iframe.offsetParent&&(t("height")||t("width"))&&R("Visibility change","resize",f[e].iframe,e)}(e)})}var t,MutationObserver=g();MutationObserver&&(t=document.querySelector("body"),new MutationObserver(function(t){E("window","Mutation observed: "+t[0].target+" "+t[0].type),M(e,16)}).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}var n=e.iframe.id;f[n]&&(f[n].sizeHeight&&t("height"),f[n].sizeWidth&&t("width"))}function N(e,t,n){n!==t.type&&c&&!window.jasmine?(E(t.id,"Requesting animation frame"),c(e)):e()}function R(e,t,n,r,i){var o=!1;f[r=r||n.id]&&(function(){if(n&&"contentWindow"in n&&null!==n.contentWindow){var i;i=f[r]&&f[r].targetOrigin,E(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+i),n.contentWindow.postMessage(l+t,i)}else _(r,"["+e+"] IFrame("+r+") not found")}(),i&&f[r]&&f[r].warningTimeout&&(f[r].msgTimeout=setTimeout(function(){!f[r]||f[r].loaded||o||(o=!0,_(r,"IFrame has not responded within "+f[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},f[r].warningTimeout)))}function L(e){return e+":"+f[e].bodyMarginV1+":"+f[e].sizeWidth+":"+f[e].log+":"+f[e].interval+":"+f[e].enablePublicMethods+":"+f[e].autoResize+":"+f[e].bodyMargin+":"+f[e].heightCalculationMethod+":"+f[e].bodyBackgroun
12d+":"+f[e].bodyPadding+":"+f[e].tolerance+":"+f[e].inPageLinks+":"+f[e].resizeFrom+":"+f[e].widthCalculationMethod}function D(t,r){function o(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],_(l,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var a,MutationObserver,l=function(e){if(""===e){var o;t.id=(o=r&&r.id||h.id+n++,null!==document.getElementById(o)&&(o+=n++),e=o),i=(r||{}).log,E(e,"Added missing iframe ID: "+e+" ("+t.src+")")}return e}(t.id);l in f&&"iFrameResizer"in t?_(l,"Ignored iFrame, already setup."):(function(e){if(e=e||{},f[l]={firstRun:!0,iframe:t,remoteHost:t.src&&t.src.split("/").slice(0,3).join("/")},function(e){if("object"!=typeof e)throw TypeError("Options is not an object")}(e),Object.keys(e).forEach(o,e),function(e){for(var t in h)Object.prototype.hasOwnProperty.call(h,t)&&(f[l][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:h[t])}(e),f[l]){var n;f[l].targetOrigin=!0===f[l].checkOrigin?""===(n=f[l].remoteHost)||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n:"*"}}(r),function(){switch(E(l,"IFrame scrolling "+(f[l]&&f[l].scrolling?"enabled":"disabled")+" for "+l),t.style.overflow=!1===(f[l]&&f[l].scrolling)?"hidden":"auto",f[l]&&f[l].scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=f[l]?f[l].scrolling:"no"}}(),function(){function e(e){1/0!==f[l][e]&&0!==f[l][e]&&(t.style[e]=f[l][e]+"px",E(l,"Set "+e+" = "+f[l][e]+"px"))}function n(e){if(f[l]["min"+e]>f[l]["max"+e])throw Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}(),("number"==typeof(f[l]&&f[l].bodyMargin)||"0"===(f[l]&&f[l].bodyMargin))&&(f[l].bodyMarginV1=f[l].bodyMargin,f[l].bodyMargin=""+f[l].bodyMargin+"px"),a=L(l),(MutationObserver=g())&&t.parentNode&&new MutationObserver(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes).forEach(function(e){e===t&&A(t)})})}).observe(t.parentNode,{childList:!0}),y(t,"load",function(){var n,r;R("iFrame.onload",a,t,e,!0),n=f[l]&&f[l].firstRun,r=f[l]&&f[l].heightCalculationMethod in d,!n&&r&&P({iframe:t,height:0,width:0,type:"init"})}),R("init",a,t,e,!0),f[l]&&(f[l].iframe.iFrameResizer={close:A.bind(null,f[l].iframe),removeListeners:S.bind(null,f[l].iframe),resize:R.bind(null,"Window resize","resize",f[l].iframe),moveToAnchor:function(e){R("Move to anchor","moveToAnchor:"+e,f[l].iframe,l)},sendMessage:function(e){R("Send Message","message:"+(e=JSON.stringify(e)),f[l].iframe,l)}}))}function M(e,t){null===p&&(p=setTimeout(function(){p=null,e()},t))}function F(){"hidden"!==document.visibilityState&&(E("document","Trigger event: Visiblity change"),M(function(){B("Tab Visable","resize")},16))}function B(e,t){Object.keys(f).forEach(function(n){f[n]&&"parent"===f[n].resizeFrom&&f[n].autoResize&&!f[n].firstRun&&R(e,t,f[n].iframe,n)})}function H(){var t;function n(e,n){n&&(function(){if(n.tagName){if("IFRAME"!==n.tagName.toUpperCase())throw TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}else throw TypeError("Object is not a valid DOM element")}(),D(n,e),t.push(n))}return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!c;e+=1)c=window[t[e]+"RequestAnimationFrame"];c?c=c.bind(window):E("setup","RequestAnimationFrame not supported")}(),y(window,"message",C),y(window,"resize",function(){var e;E("window","Trigger event: "+(e="resize")),M(function(){B("Window "+e,"resize")},16)}),y(document,"visibilitychange",F),y(document,"-webkit-visibilitychange",F),function(r,i){switch(t=[],r&&r.enablePublicMethods&&_("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),n.bind(e,r));break;case"object":n(r,i);break;default:throw TypeError("Unexpected data type ("+typeof i+")")}return t}}}(),i.exports),d=function(){},f=function(e){var t=e.title,n=e.forwardRef,r=u(e,["title","forwardRef"]),i=(r.autoResize,r.bodyBackgroun
12d,r.bodyMargin,r.bodyPadding,r.checkOrigin,r.inPageLinks,r.heightCalculationMethod,r.interval,r.log,r.maxHeight,r.maxWidth,r.minHeight,r.minWidth,r.resizeFrom,r.scrolling,r.sizeHeight,r.sizeWidth,r.warningTimeout,r.tolerance,r.widthCalculationMethod,r.onClosed,r.onInit,r.onMessage,r.onMouseEnter,r.onMouseLeave,r.onResized,u(r,["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onMouseEnter","onMouseLeave","onResized"])),o=(0,l.useRef)(null),a=function(){return d(!o.current,"[iframeSizerReact]["+(o&&o.current&&o.current.id)+"] Close event ignored, to remove the iframe update your React component"),!o.current};return(0,l.useEffect)(function(){var e=o.current;return c(s({},r,{onClose:a}),e),function(){return e.iFrameResizer&&e.iFrameResizer.removeListeners()}},[]),(0,l.useImperativeHandle)(n,function(){return{resize:function(){return o.current.iFrameResizer.resize()},moveToAnchor:function(e){return o.current.iFrameResizer.moveToAnchor(e)},sendMessage:function(e,t){o.current.iFrameResizer.sendMessage(e,t)}}}),l.createElement("iframe",s({title:t},i,{ref:o}))};f.defaultProps={title:"iframe"},f.propTypes={title:a().string},t.Z=f},88975:function(){(()=>{"use strict";var e={792:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(609),i=n.n(r)()(function(e){return e[1]});i.push([e.id,':host{--divider-width: 1px;--divider-color: #fff;--divider-shadow: none;--default-handle-width: 50px;--default-handle-color: #fff;--default-handle-opacity: 1;--default-handle-shadow: none;--handle-position-start: 50%;position:relative;display:inline-block;overflow:hidden;line-height:0;direction:ltr}@media screen and (-webkit-min-device-pixel-ratio: 0)and (min-resolution: 0.001dpcm){:host{outline-offset:1px}}:host(:focus){outline:2px solid -webkit-focus-ring-color}::slotted(*){-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.first{position:absolute;left:0;top:0;right:0;line-height:normal;font-size:100%;max-height:100%;height:100%;width:100%;--exposure: 50%;--keyboard-transition-time: 0ms;--default-transition-time: 0ms;--transition-time: var(--default-transition-time)}.first .first-overlay-container{position:relative;clip-path:inset(0 var(--exposure) 0 0);transition:clip-path var(--transition-time);height:100%}.first .first-overlay{overflow:hidden;height:100%}.first.focused{will-change:clip-path}.first.focused .first-overlay-container{will-change:clip-path}.second{position:relative}.handle-container{transform:translateX(50%);position:absolute;top:0;right:var(--exposure);height:100%;transition:right var(--transition-time),bottom var(--transition-time)}.focused .handle-container{will-change:right}.divider{position:absolute;height:100%;width:100%;left:0;top:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.divider:after{content:" ";display:block;height:100%;border-left-width:var(--divider-width);border-left-style:solid;border-left-color:var(--divider-color);box-shadow:var(--divider-shadow)}.handle{position:absolute;top:var(--handle-position-start);pointer-events:none;box-sizing:border-box;margin-left:1px;transform:translate(calc(-50% - 0.5px), -50%);line-height:0}.default-handle{width:var(--default-handle-width);opacity:var(--default-handle-opacity);transition:all 1s;filter:drop-shadow(var(--default-handle-shadow))}.default-handle path{stroke:var(--default-handle-color)}.vertical .first-overlay-container{clip-path:inset(0 0 var(--exposure) 0)}.vertical .handle-container{transform:translateY(50%);height:auto;top:unset;bottom:var(--exposure);width:100%;left:0;flex-direction:row}.vertical .divider:after{height:1px;width:100%;border-top-width:var(--divider-width);border-top-style:solid;
12border-top-color:var(--divider-color);border-left:0}.vertical .handle{top:auto;left:var(--handle-position-start);transform:translate(calc(-50% - 0.5px), -50%) rotate(90deg)}',""]);let o=i},609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);r&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(792);let t="rendered",r=(e,t)=>{let n,r;let i=e.getBoundingClientRect();return"mousedown"===t.type?(n=t.clientX,r=t.clientY):(n=t.touches[0].clientX,r=t.touches[0].clientY),n>=i.x&&n<=i.x+i.width&&r>=i.y&&r<=i.y+i.height},i=document.createElement("template");i.innerHTML='<div class="second" id="second"> <slot name="second"><slot name="before"></slot></slot> </div> <div class="first" id="first"> <div class="first-overlay"> <div class="first-overlay-container" id="firstImageContainer"> <slot name="first"><slot name="after"></slot></slot> </div> </div> <div class="handle-container"> <div class="divider"></div> <div class="handle" id="handle"> <slot name="handle"> <svg xmlns="http://www.w3.org/2000/svg" class="default-handle" viewBox="-8 -3 16 6"> <path d="M -5 -2 L -7 0 L -5 2 M 5 -2 L 7 0 L 5 2" fill="none" vector-effect="non-scaling-stroke"/> </svg> </slot> </div> </div> </div> ';let o={ArrowLeft:-1,ArrowRight:1},a=["horizontal","vertical"],l=e=>({x:e.touches[0].pageX,y:e.touches[0].pageY}),s=e=>({x:e.pageX,y:e.pageY});class u extends HTMLElement{constructor(){super(),this.exposure=this.hasAttribute("value")?parseFloat(this.getAttribute("value")):50,this.slideOnHover=!1,this.slideDirection="horizontal",this.keyboard="enabled",this.isMouseDown=!1,this.animationDirection=0,this.isFocused=!1,this.handle=!1,this.onMouseMove=e=>{if(this.isMouseDown||this.slideOnHover){let t=s(e);this.slideToPage(t)}},this.bodyUserSelectStyle="",this.onMouseDown=e=>{if(this.slideOnHover||this.handle&&!r(this.handleElement,e))return;e.preventDefault(),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onWindowMouseUp),this.isMouseDown=!0,this.enableTransition();let t=s(e);this.slideToPage(t),this.focus(),this.bodyUserSelectStyle=window.document.body.style.userSelect,window.document.body.style.userSelect="none"},this.onWindowMouseUp=()=>{this.isMouseDown=!1,window.document.body.style.userSelect=this.bodyUserSelectStyle,window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onWindowMouseUp)},this.touchStartPoint=null,this.isTouchComparing=!1,this.hasTouchMoved=!1,this.onTouchStart=e=>{this.handle&&!r(this.handleElement,e)||(this.touchStartPoint=l(e),this.isFocused&&(this.enableTransition(),this.slideToPage(this.touchStartPoint)))},this.onTouchMove=e=>{if(null===this.touchStartPoint)return;let t=l(e);if(this.isTouchComparing)return this.slideToPage(t),e.preventDefault(),!1;if(!this.hasTouchMoved){let n=Math.abs(t.y-this.touchStartPoint.y),r=Math.abs(t.x-this.touchStartPoint.x);if("horizontal"===this.slideDirection&&n<r||"vertical"===this.slideDirection&&n>r)return this.isTouchComparing=!0,this.focus(),this.slideToPage(t),e.preventDefault(),!1;this.hasTouchMoved=!0}},this.onTouchEnd=()=>{this.isTouchComparing=!1,this.hasTouchMoved=!1,this.touchStartPoint=null},this.onBlur=()=>{this.stopSlideAnimation(),this.isFocused=!1,this.firstElement.classList.remove("focused")},this.onFocus=()=>{this.isFocused=!0,this.firstElement.classList.add("focused")},this.onKeyDown=e=>{if("disabled"===this.keyboard)return;let t=o[e.key];this.animationDirection!==t&&void 0!==t&&(this.animationDirection=t,this.startSlideAnimation())},this.onKeyUp=e=>{if("disabled"===this.keyboard)return;let t=o[e.key];void 0!==t&&this.animationDirection===t&&this.stopSlideAnimation()},this.resetDimensions=()=>{this.imageWidth=this.offsetWidth,this.imageHeight=this.offsetHeight};let t=this.attachShadow({mode:"open"}),n=document.createElement("style");n.innerHTML=e.Z,this.getAttribute("nonce")&&n.setAttribute("nonce",this.getAttribute("nonce")),t.appendChild(n),t.appendChild(i.content.cloneNode(!0)),this.firstElement=t.getElementById("first"),this.secondElement=t.getElementById("second"),this.handleElement=t.getElementById("handle")}get value(){return this.exposure}set value(e){let t=parseFloat(e);t!==this.exposure&&(this.exposure=t,this.enableTransition(),this.setExposure())}get hover(){return this.slideOnHover}set hover(e){this.slideOnHover="false"!==e.toString().toLowerCase(),this.removeEventListener("mousemove",this.onMouseMove),this.slideOnHover&&this.addEventListener("mousemove",this.onMouseMove)}get direction(){return this.slideDirection}set direction(e){this.slideDirection=e.toString().toLowerCase(),this.slide(0),this.firstElement.classList.remove(...a),a.includes(this.slideDirection)&&this.firstElement.classList.add(this.slideDirection)}static get observedAttributes(){return["hover","direction"]}connectedCallback(){this.hasAttribute("tabindex")||(this.tabIndex=0),this.addEventListener("dragstart",e=>(e.preventDefault(),!1)),new ResizeObserver(this.resetDimensions).observe(this),this.setExposure(0),this.keyboard=this.hasAttribute("keyboard")&&"disabled"===this.getAttribute("keyboard")?"disabled":"enabled",this.addEventListener("keydown",this.onKeyDown),this.addEventListener("keyup",this.onKeyUp),this.addEventListener("focus",this.onFocus),this.addEventListener("blur",this.onBlur),this.addEventListener("touchstart",this.onTouchStart,{passive:!0}),this.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.addEventListener("touchend",this.onTouchEnd),this.addEventListener("mousedown",this.onMouseDown),this.handle=this.hasAttribute("handle"),this.hover=!!this.hasAttribute("hover")&&this.getAttribute("hover"),this.direction=this.hasAttribute("direction")?this.getAttribute("direction"):"horizontal",this.resetDimensions(),this.classList.contains(t)||this.classList.add(t),this.querySelectorAll('[slot="before"], [slot="after"]').length>0&&console.warn('<img-comparison-slider>: slot names "before" and "after" are deprecated and soon won\'t be supported. Please use slot="first" instead of slot="after", and slot="second" instead of slot="before".')}disconnectedCallback(){this.transitionTimer&&window.clearTimeout(this.transitionTimer)}attributeChangedCallback(e,t,n){"hover"===e&&(this.hover=n),"direction"===e&&(this.direction=n),"ke
12yboard"===e&&(this.keyboard="disabled"===n?"disabled":"enabled")}setExposure(e=0){var t;this.exposure=(t=this.exposure+e)<0?0:t>100?100:t,this.firstElement.style.setProperty("--exposure",100-this.exposure+"%")}slide(e=0){this.setExposure(e);let t=new Event("slide");this.dispatchEvent(t)}slideToPage(e){"horizontal"===this.slideDirection&&this.slideToPageX(e.x),"vertical"===this.slideDirection&&this.slideToPageY(e.y)}slideToPageX(e){let t=e-this.getBoundingClientRect().left-window.scrollX;this.exposure=t/this.imageWidth*100,this.slide(0)}slideToPageY(e){let t=e-this.getBoundingClientRect().top-window.scrollY;this.exposure=t/this.imageHeight*100,this.slide(0)}enableTransition(){this.firstElement.style.setProperty("--transition-time","100ms"),this.transitionTimer=window.setTimeout(()=>{this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)"),this.transitionTimer=null},100)}startSlideAnimation(){let e=null,t=this.animationDirection;this.firstElement.style.setProperty("--transition-time","var(--keyboard-transition-time)");let n=r=>{if(0===this.animationDirection||t!==this.animationDirection)return;null===e&&(e=r);let i=(r-e)/16.666666666666668*this.animationDirection;this.slide(i),setTimeout(()=>window.requestAnimationFrame(n),0),e=r};window.requestAnimationFrame(n)}stopSlideAnimation(){this.animationDirection=0,this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)")}}"undefined"!=typeof window&&window.customElements.define("img-comparison-slider",u)})()})()},47412:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g;function u(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var c=1,d=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new h(e),y(r),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=s.source}h.prototype.content=e;var m=[];function g(t){var n=Error(s.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=s.source,n.line=c,n.column=d,n.source=e,s.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(v(n);e=function(){var e=p(),n=y(i);if(n){if(b(),!y(o))return g("property missing ':'");var r=y(a),s=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return y(l),s}}();)!1!==e&&(n.push(e),v(n));return n}()}},69934:function(e){/*! 13 * Determine if an object is a Buffer 14 * 15 * @author Feross Aboukhadijeh <https://feross.org> 16 * @license MIT 17 */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},12451:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,n,r){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof n&&(r=n,n={}),n=n||{},r=r||function(){},o.type=n.type||"text/javascript",o.charset=n.charset||"utf8",o.async=!("async"in n)||!!n.async,o.src=e,n.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(o,n.attrs),n.text&&(o.text=""+n.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,r),o.onload||t(o,r),i.appendChild(o)}},82104:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var n,i,o=0;o<e.length;o++)if(!((n=e[o])===(i=t[o])||r(n)&&r(i)))return!1;return!0}t.default=function(e,t){void 0===t&&(t=i);var n,r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}},62601:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(58960)},19167:function(e,t,n){"use strict";function r(e){let{children:t}=e;return t}
17Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NoSSR",{enumerable:!0,get:function(){return r}}),n(11283)},66365:function(){},9854:function(){},92008:function(){},58960:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?s=r.concat(s):c=-1,s.length&&f())}function f(){if(!u){var e=l(d);u=!0;for(var t=s.length;t;){for(r=s,s=[];++c<t;)r&&r[c].run();c=-1,t=s.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new p(e,t)),1!==s.length||u||l(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},30622:function(e,t,n){"use strict";var r=n(2265),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},57437:function(e,t,n){"use strict";e.exports=n(30622)},24033:function(e,t,n){e.exports=n(50094)},64842:function(){Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},95237:function(){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
17],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},46792:function(){var e,t,n;e=Prism,t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])},38728:function(){var e,t,n;e=Prism,t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))},79292:function(){var e,t,n,r;e=Prism,t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;
17?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})},23800:function(){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}
17/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},12832:function(){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}
17|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var i=t[n];
17if("code"!==i.type){e(i.content);continue}var o=i.content[1],a=i.content[3];if(o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content){var l=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,s]:a.alias.push(s):a.alias=[s]}}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",i=0,o=t.classes.length;i<o;i++){var u=t.classes[i],c=/language-(.+)/.exec(u);if(c){r=c[1];break}}var d=e.languages[r];if(d)t.content=e.highlight(t.content.replace(a,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r);else if(r&&"none"!==r&&e.plugins.autoloader){var f="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism)},65513:function(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},7585:function(){Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec},95553:function(){var e;(e=Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}
17],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}},12010:function(){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},4716:function(){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
17],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(Prism)},13181:function(){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},62957:function(){Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]
17*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},89094:function(){var e,t;(e=Prism).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript},2686:function(e,t,n){/** 18 * Prism: Lightweight, robust, elegant syntax highlighting 19 *
20 * @license MIT <https://opensource.org/licenses/MIT> 21 * @author Lea Verou <https://lea.verou.me> 22 * @namespace 23 * @public 24 */var r,i,o=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(n[o=i.util.objId(t)])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":if(n[o=i.util.objId(t)])return n[o];return r=[],n[o]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r;default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(l)||(a[l]=o[l])}var u=r[e];return r[e]=a,i.languages.DFS(i.languages,function(t,n){n===u&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],r||l);var s=t[l],u=i.util.type(s);"Object"!==u||o[a(s)]?"Array"!==u||o[a(s)]||(o[a(s)]=!0,e(s,n,l,o)):(o[a(s)]=!0,e(s,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var l=t.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&i.util.setLanguage(l,o);var s=t.textContent,u={element:t,language:o,grammar:a,code:s};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(l=u.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),r&&r.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar){c(i.util.encode(u.code));return}if(n&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var u=new l;return s(u,u.head,e),function e(t,n,r,l,u,c){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var f=r[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var h=f[p],m=h.inside,g=!!h.lookbehind,y=!!h.greedy,v=h.alias;if(y&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+"g")}for(var E=h.pattern||h,T=l.next,_=u;T!==n.tail&&(!c||!(_>
24=c.reach));_+=T.value.length,T=T.next){var x,C=T.value;if(n.length>t.length)return;if(!(C instanceof o)){var k=1;if(y){if(!(x=a(E,_,t,g))||x.index>=t.length)break;var S=x.index,A=x.index+x[0].length,w=_;for(w+=T.value.length;S>=w;)w+=(T=T.next).value.length;if(w-=T.value.length,_=w,T.value instanceof o)continue;for(var O=T;O!==n.tail&&(w<A||"string"==typeof O.value);O=O.next)k++,w+=O.value.length;k--,C=t.slice(_,w),x.index-=_}else if(!(x=a(E,0,C,g)))continue;var S=x.index,P=x[0],I=C.slice(0,S),N=C.slice(S+P.length),R=_+C.length;c&&R>c.reach&&(c.reach=R);var L=T.prev;if(I&&(L=s(n,L,I),_+=I.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,L,k),T=s(n,L,new o(d,m?i.tokenize(P,m):P,v,P)),N&&s(n,T,N),k>1){var D={cause:d+","+p,reach:R};e(t,n,r,T.prev,_,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=o),void 0!==n.g&&(n.g.Prism=o),o.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:o.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:o.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},o.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(e,t){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\
24s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:o.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml,r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css,(i=o.languages.markup)&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css")),o.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},o.languages.javascript=o.languages.extend("clike",{"class-name":[o.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}
24/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:o.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),o.languages.js=o.languages.javascript,function(){if(void 0!==o&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",i="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';o.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),o.hooks.add("before-sanity-check",function(a){var l=a.element;if(l.matches(i)){a.code="",l.setAttribute(t,n);var s,u,c,d=l.appendChild(document.createElement("CODE"));d.textContent="Loadingâ¦";var f=l.getAttribute("data-src"),p=a.language;if("none"===p){var h=(/\.(\w+)$/.exec(f)||[,"none"])[1];p=e[h]||h}o.util.setLanguage(d,p),o.util.setLanguage(l,p);var m=o.plugins.autoloader;m&&m.loadLanguages(p),s=function(e){l.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(l.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),a=n[0],s=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),s<0&&(s+=i.length),s=Math.max(0,Math.min(s,i.length)),e=i.slice(a,s).join("\n"),l.hasAttribute("data-start")||l.setAttribute("data-start",String(a+1))}d.textContent=e,o.highlightElement(d)},u=function(e){l.setAttribute(t,"failed"),d.textContent=e},(c=new XMLHttpRequest).open("GET",f,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?s(c.responseText):c.status>=400?u("â Error "+c.status+" while fetching file: "+c.statusText):u("â Error: File does not exist or is empty"))},c.send(null)}}),o.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),r=0;t=n[r++];)o.highlightElement(t)}};var a=!1;o.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),o.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},33018:function(e,t,n){"use strict";var r=n(61289);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
vendor: 4,471 bytes, lines 24-32
24:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},74275:function(e,t,n){e.exports=n(33018)()},61289:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},17966:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var l,s,u,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=a.length)return!1;for(s=l;0!=s--;)if(!e(o[s],a[s]))return!1;return!0}if(n&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((l=o.length)!=a.length)return!1;for(s=l;0!=s--;)if(o[s]!==a[s])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof)&&!e(o[u[s]],a[u[s]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},60187:function(e,t){"use strict";/** 25 * @license React 26 * react-is.production.min.js 27 * 28 * Copyright (c) Facebook, Inc. and its affiliates. 29 * 30 * This source code is licensed under the MIT license found in the 31 * LICENSE file in the root directory of this source tree. 32 */var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case s:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=i,t.Profiler=l,t.StrictMode=a,t.Suspense=f,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===u},t.isContextProvider=function(e){return y(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===h},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===l},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===f},t.isSuspenseList=function(e){return y(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===a||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},51991:function(e,t,n){"use strict";e.exports=n(60187)},6137:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),a=(i=n(17966))&&i.__esModule?i:{default:i},l=n(42728),s=n(74117);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(u,e);var t,n,i,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=h(u);if(t){var o=h(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:p(this)});function u(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,u);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(p(e=l.call.apply(l,[this].concat(n))),"mounted",!1),m(p(e),"isReady",!1),m(p(e),"isPlaying",!1),m(p(e),"isLoading",!0),m(p(e),"loadOnReady",null),m(p(e),"startOnPlay",!0),m(p(e),"seekOnPlay",null),m(p(e),"onDurationCalled",!1),m(p(e),"handlePlayerMount",function(t){if(e.player){e.progress();return}e.player=t,e.player.load(e.props.url),e.progress()}),m(p(e),"getInternalPlayer",function(t){return e.player?e.player[t]:null}),m(p(e),"progress",function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var i={playedSeconds:t,played:t/r};null!==n&&(i.loadedSeconds=n,i.loaded=n/r),(i.playedSeconds!==e.prevPlayed||i.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),m(p(e),"handleReady",function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,i=t.volume,o=t.muted;n(),o||null===i||e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}}),m(p(e),"handlePlay",function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==i&&e.player.setPlaybackRate(i),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),m(p(e),"handlePause",function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),m(p(e),"handleEnded",function(){var t=e.props,n=t.activePlayer,r=t.loop,i=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,i())}),m(p(e),"handleError",function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),m(p(e),"handleDurationCheck",function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)}),m(p(e),"handleLoaded",function(){e.isLoading=!1}),e}return n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
32)),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,i=n.playing,o=n.volume,l=n.muted,u=n.playbackRate,c=n.pip,d=n.loop,f=n.activePlayer,p=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!f.forceLoad&&!p&&!(0,s.isMediaStream)(r)){console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!i||this.isPlaying||this.player.play(),e.playing&&!i&&this.isPlaying&&this.player.pause(),!e.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==o&&null!==o&&this.player.setVolume(o),e.muted!==l&&(l?this.player.mute():(this.player.unmute(),null!==o&&setTimeout(function(){return t.player.setVolume(o)}))),e.playbackRate!==u&&this.player.setPlaybackRate&&this.player.setPlaybackRate(u),e.loop!==d&&this.player.setLoop&&this.player.setLoop(d)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t,n){var r=this;if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(function(){r.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){var i=this.player.getDuration();if(!i){console.warn("ReactPlayer: could not seek using fraction â\xa0duration not yet available");return}this.player.seekTo(i*e,n);return}this.player.seekTo(e,n)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?o.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],d(u.prototype,n),i&&d(u,i),u}(o.Component);t.default=g,m(g,"displayName","Player"),m(g,"propTypes",l.propTypes),m(g,"defaultProps",l.defaultProps)},15518:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(2265));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p="64px",h={},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(m,e);var t,n,o,a=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=d(m);if(t){var o=d(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:c(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];
32return f(c(e=a.call.apply(a,[this].concat(n))),"mounted",!1),f(c(e),"state",{image:null}),f(c(e),"handleKeyPress",function(t){("Enter"===t.key||" "===t.key)&&e.props.onClick()}),e}return n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;(e.url!==n||e.light!==r)&&this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light,o=e.oEmbedUrl;if(!i.default.isValidElement(r)){if("string"==typeof r){this.setState({image:r});return}if(h[n]){this.setState({image:h[n]});return}return this.setState({image:null}),window.fetch(o.replace("{url}",n)).then(function(e){return e.json()}).then(function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");t.setState({image:r}),h[n]=r}})}}},{key:"render",value:function(){var e=this.props,t=e.light,n=e.onClick,r=e.playIcon,o=e.previewTabIndex,a=this.state.image,s=i.default.isValidElement(t),u={display:"flex",alignItems:"center",justifyContent:"center"},c={preview:l({width:"100%",height:"100%",backgroundImage:a&&!s?"url(".concat(a,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},u),shadow:l({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:p,width:p,height:p,position:s?"absolute":void 0},u),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},d=i.default.createElement("div",{style:c.shadow,className:"react-player__shadow"},i.default.createElement("div",{style:c.playIcon,className:"react-player__play-icon"}));return i.default.createElement("div",{style:c.preview,className:"react-player__preview",onClick:n,tabIndex:o,onKeyPress:this.handleKeyPress},s?t:null,r||d)}}],s(m.prototype,n),o&&s(m,o),m}(i.Component);t.default=m},73564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var r=x(n(2265)),i=c(n(7106)),o=c(n(82104)),a=c(n(17966)),l=n(42728),s=n(74117),u=c(n(6137));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
32function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=_();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var C=(0,r.lazy)(function(){return Promise.resolve().then(function(){return x(n(15518))})}),k="undefined"!=typeof window&&window.document,S=void 0!==n.g&&n.g.window&&n.g.window.document,A=Object.keys(l.propTypes),w=k||S?r.Suspense:function(){return null},O=[];t.createReactPlayer=function(e,t){var n,c;return c=n=function(n){(function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)})(x,n);var c,f,g,_=(c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t,n=E(x);if(c){var r=E(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return(e=t)&&("object"===d(e)||"function"==typeof e)?e:b(this)});function x(){var n;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,x);for(var a=arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];return T(b(n=_.call.apply(_,[this].concat(c))),"state",{showPreview:!!n.props.light}),T(b(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),T(b(n),"handleClickPreview",function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)}),T(b(n),"showPreview",function(){n.setState({showPreview:!0})}),T(b(n),"getDuration",function(){return n.player?n.player.getDuration():null}),T(b(n),"getCurrentTime",function(){return n.player?n.player.getCurrentTime():null}),T(b(n),"getSecondsLoaded",function(){return n.player?n.player.getSecondsLoaded():null}),T(b(n),"getInternalPlayer",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null}),T(b(n),"seekTo",function(e,t,r){if(!n.player)return null;n.player.seekTo(e,t,r)}),T(b(n),"handleReady",function(){n.props.onReady(b(n))}),T(b(n),"getActivePlayer",(0,o.default)(function(n){for(var r=0,i=[].concat(O,m(e));r<i.length;r++){var o=i[r];if(o.canPlay(n))return o}return t||null})),T(b(n),"getConfig",(0,o.default)(function(e,t){var r=n.props.config;return i.default.all([l.defaultProps.config,l.defaultProps.config[t]||{},r,r[t]||{}])})),T(b(n),"getAttributes",(0,o.default)(function(e){return(0,s.omit)(n.props,A)})),T(b(n),"renderActivePlayer",function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var i=n.getConfig(e,t.key);return r.default.createElement(u.default,h({},n.props,{key:t.key,ref:n.references.player,config:i,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))}),n}return f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,i=t.playIcon,o=t.previewTabIndex,a=t.oEmbedUrl;return r.default.createElement(C,{url:e,light:n,playIcon:i,previewTabIndex:o,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,i=e.width,o=e.height,a=e.fallback,l=e.wrapper,s=this.state.showPreview,u=this.getAttributes(t),c="string"==typeof l?this.references.wrapper:void 0;return r.default.createElement(l,h({ref:c,style:p(p({},n),{},{width:i,height:o})},u),r.default.createElement(w,{fallback:a},s?this.renderPreview(t):this.renderActivePlayer(t)))}}],y(x.prototype,f),g&&y(x,g),x}
32(r.Component),T(n,"displayName","ReactPlayer"),T(n,"propTypes",l.propTypes),T(n,"defaultProps",l.defaultProps),T(n,"addCustomPlayer",function(e){O.push(e)}),T(n,"removeCustomPlayers",function(){O.length=0}),T(n,"canPlay",function(t){for(var n=0,r=[].concat(O,m(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1}),T(n,"canEnablePIP",function(t){for(var n=0,r=[].concat(O,m(e));n<r.length;n++){var i=r[n];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1}),c}},60429:function(e,t,n){"use strict";t.Z=void 0;var r,i=(r=n(29973))&&r.__esModule?r:{default:r},o=n(73564),a=i.default[i.default.length-1],l=(0,o.createReactPlayer)(i.default,a);t.Z=l},65087:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(74117);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var o=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=o;var a=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=a;var l=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=l;var s=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=s;var u=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=u;var c=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=c;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/;t.MATCH_URL_WISTIA=d;var f=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=f;var p=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=p;var h=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/;t.MATCH_URL_DAILYMOTION=h;var m=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=m;var g=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=g;var y=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=y;var v=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=v;var b=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=b;var E=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=E;var T=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=T;var _=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=_,t.canPlay={youtube:function(e){return e instanceof Array?e.every(function(e){return o.test(e)}):o.test(e)},soundcloud:function(e){return a.test(e)&&!v.test(e)},vimeo:function(e){return l.test(e)&&!b.test(e)&&!E.test(e)},facebook:function(e){return s.test(e)||u.test(e)},streamable:function(e){return c.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return f.test(e)||p.test(e)},dailymotion:function(e){return h.test(e)},mixcloud:function(e){return m.test(e)},vidyard:function(e){return g.test(e)},kaltura:function(e){return y.test(e)},file:function e(t){if(t instanceof Array){var n,o=function(e,t){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(o=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}(e))){o&&(e=o);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,l=!0,s=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return l=e.done,e},e:function(e){s=!0,a=e},f:function(){try{l||null==o.return||o.return()}finally{if(s)throw a}}}}(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;
32if("string"==typeof a&&e(a)||e(a.src))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}return!!((0,r.isMediaStream)(t)||(0,r.isBlobUrl)(t))||v.test(t)||b.test(t)||E.test(t)||T.test(t)||_.test(t)}}},94609:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,n,l,m=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=p(g);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:f(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(f(e=m.call.apply(m,[this].concat(n))),"callPlayer",o.callPlayer),h(f(e),"onDurationChange",function(){var t=e.getDuration();e.props.onDuration(t)}),h(f(e),"mute",function(){e.callPlayer("setMuted",!0)}),h(f(e),"unmute",function(){e.callPlayer("setMuted",!1)}),h(f(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t,n=this,r=this.props,i=r.controls,l=r.config,c=r.onError,d=r.playing,f=(function(e){if(Array.isArray(e))return e}(t=e.match(a.MATCH_URL_DAILYMOTION))||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}}(t,2)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}
32(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];if(this.player){this.player.load(f,{start:(0,o.parseStartTime)(e),autoplay:d});return}(0,o.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",function(e){return e.player}).then(function(t){if(n.container){var r=t.player;n.player=new r(n.container,{width:"100%",height:"100%",video:f,params:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({controls:i,autoplay:n.props.playing,mute:n.props.muted,start:(0,o.parseStartTime)(e),origin:window.location.origin},l.params),events:{apiready:n.props.onReady,seeked:function(){return n.props.onSeek(n.player.currentTime)},video_end:n.props.onEnded,durationchange:n.onDurationChange,pause:n.props.onPause,playing:n.props.onPlay,waiting:n.props.onBuffer,error:function(e){return c(e)}}})}},c)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("seek",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var e=this.props.display;return i.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},i.default.createElement("div",{ref:this.ref}))}}],c(g.prototype,n),l&&c(g,l),g}(i.Component);t.default=m,h(m,"displayName","DailyMotion"),h(m,"canPlay",a.canPlay.dailymotion),h(m,"loopOnEnded",!0)},11467:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h="https://connect.facebook.net/en_US/sdk.js",m="fbAsyncInit",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(g,e);var t,n,a,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=f(g);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=l.call.apply(l,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"playerID",e.props.config.playerId||"".concat("facebook-player-").concat((0,o.randomString)())),p(d(e),"mute",function(){e.callPlayer("mute")}),p(d(e),"unmute",function(){e.callPlayer("unmute")}
32),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;if(t){(0,o.getSDK)(h,"FB",m).then(function(e){return e.XFBML.parse()});return}(0,o.getSDK)(h,"FB",m).then(function(e){e.init({appId:n.props.config.appId,xfbml:!0,version:n.props.config.version}),e.Event.subscribe("xfbml.render",function(e){n.props.onLoaded()}),e.Event.subscribe("xfbml.ready",function(e){"video"===e.type&&e.id===n.playerID&&(n.player=e.instance,n.player.subscribe("startedPlaying",n.props.onPlay),n.player.subscribe("paused",n.props.onPause),n.player.subscribe("finishedPlaying",n.props.onEnded),n.player.subscribe("startedBuffering",n.props.onBuffer),n.player.subscribe("finishedBuffering",n.props.onBufferEnd),n.player.subscribe("error",n.props.onError),n.props.muted?n.callPlayer("mute"):n.callPlayer("unmute"),n.props.onReady(),document.getElementById(n.playerID).querySelector("iframe").style.visibility="visible")})})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("seek",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.config.attributes;return i.default.createElement("div",s({style:{width:"100%",height:"100%"},id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},e))}}],u(g.prototype,n),a&&u(g,a),g}(i.Component);t.default=g,p(g,"displayName","Facebook"),p(g,"canPlay",a.canPlay.facebook),p(g,"loopOnEnded",!0)},89737:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h="undefined"!=typeof navigator,m=h&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,g=h&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||m)&&!window.MSStream,y=h&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,v=/www\.dropbox\.com\/.+/,b=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(m,e);var t,n,l,h=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=f(m);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=h.call.apply(h,[this].concat(n))),"onReady",function(){var t;return(t=e.props).onReady.apply(t,arguments)}),p(d(e),"onPlay",function(){var t;return(t=e.props).onPlay.apply(t,arguments)}),p(d(e),"onBuffer",function(){var t;return(t=e.props).onBuffer.apply(t,arguments)}),p(d(e),"onBufferEnd",function(){var t;return(t=e.props).onBufferEnd.apply(t,arguments)}),p(d(e),"onPause",function(){var t;return(t=e.props).onPause.apply(t,arguments)}),p(d(e),"onEnded",function(){var t;return(t=e.props).onEnded.apply(t,arguments)}),p(d(e),"onError",function(){var t;return(t=e.props).onError.apply(t,arguments)}),p(d(e),"onPlayBackRateChange",function(t){return e.props.onPlaybackRateChange(t.target.playbackRate)}),p(d(e),"onEnablePIP",function(){var t;return(t=e.props).onEnablePIP.apply(t,arguments)}),p(d(e),"onDisablePIP",function(t){var n=e.props,r=n.onDisablePIP,i=n.playing;r(t),i&&e.play()}),p(d(e),"onPresentationModeChange",function(t){if(e.player&&(0,o.supportsWebKitPresentationMode)(e.player)){var n=e.player.webkitPresentationMode;"picture-in-picture"===n?e.onEnablePIP(t):"inline"===n&&e.onDisablePIP(t)}}),p(d(e),"onSeek",function(t){e.props.onSeek(t.target.currentTime)}),p(d(e),"mute",function(){e.player.muted=!0}
32),p(d(e),"unmute",function(){e.player.muted=!1}),p(d(e),"renderSourceElement",function(e,t){return"string"==typeof e?i.default.createElement("source",{key:t,src:e}):i.default.createElement("source",s({key:t},e))}),p(d(e),"renderTrack",function(e,t){return i.default.createElement("track",s({key:t},e))}),p(d(e),"ref",function(t){e.player&&(e.prevPlayer=e.player),e.player=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);var e=this.getSource(this.props.url);e&&(this.player.src=e),(g||this.props.config.forceDisableHls)&&this.player.load()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,o.isMediaStream)(this.props.url)||this.props.url instanceof Array||(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.player.removeAttribute("src"),this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(e){var t=this.props,n=t.url,r=t.playsinline;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(n)||e.addEventListener("canplay",this.onReady),r&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(a.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}},{key:"shouldUseHLS",value:function(e){return!!y&&!!this.props.config.forceSafariHLS||!!this.props.config.forceHLS||!g&&!this.props.config.forceDisableHls&&(a.HLS_EXTENSIONS.test(e)||b.test(e))}},{key:"shouldUseDASH",value:function(e){return a.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(e){return a.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}},{key:"load",value:function(e){var t=this,n=this.props.config,r=n.hlsVersion,i=n.hlsOptions,a=n.dashVersion,l=n.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",r),"Hls").then(function(n){if(t.hls=new n(i),t.hls.on(n.Events.MANIFEST_PARSED,function(){t.props.onReady()}),t.hls.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.hls,n)}),b.test(e)){var r=e.match(b)[1];t.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",r))}else t.hls.loadSource(e);t.hls.attachMedia(t.player),t.props.onLoaded()}),this.shouldUseDASH(e)&&(0,o.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",a),"dashjs").then(function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.on("error",t.props.onError),3>
32parseInt(a)?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:n.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()}),this.shouldUseFLV(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",l),"flvjs").then(function(n){t.flv=n.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.flv,n)}),t.flv.load(),t.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,o.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.player.currentTime=e,t||this.pause()}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),r=this.shouldUseFLV(e);return e instanceof Array||(0,o.isMediaStream)(e)||t||n||r?void 0:v.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,a=e.muted,l=e.config,u=e.width,c=e.height,d=this.shouldUseAudio(this.props);return i.default.createElement(d?"audio":"video",s({ref:this.ref,src:this.getSource(t),style:{width:"auto"===u?u:"100%",height:"auto"===c?c:"100%"},preload:"auto",autoPlay:n||void 0,controls:o,muted:a,loop:r},l.attributes),t instanceof Array&&t.map(this.renderSourceElement),l.tracks.map(this.renderTrack))}}],u(m.prototype,n),l&&u(m,l),m}(i.Component);
32t.default=E,p(E,"displayName","FilePlayer"),p(E,"canPlay",a.canPlay.file)},57321:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(p,e);var t,n,a,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=d(p);if(t){var o=d(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:c(this)});function p(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,p);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(c(e=l.call.apply(l,[this].concat(n))),"callPlayer",o.callPlayer),f(c(e),"duration",null),f(c(e),"currentTime",null),f(c(e),"secondsLoaded",null),f(c(e),"mute",function(){e.callPlayer("mute")}),f(c(e),"unmute",function(){e.callPlayer("unmute")}),f(c(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.on("ready",function(){setTimeout(function(){t.player.isReady=!0,t.player.setLoop(t.props.loop),t.props.muted&&t.player.mute(),t.addListeners(t.player,t.props),t.props.onReady()},500)}))},this.props.onError)}},{key:"addListeners",value:function(e,t){var n=this;e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",function(e){var t=e.duration,r=e.seconds;n.duration=t,n.currentTime=r})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("setCurrentTime",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){return i.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}],s(p.prototype,n),a&&s(p,a),p}(i.Component);t.default=p,f(p,"displayName","Kaltura"),f(p,"canPlay",a.canPlay.kaltura)},92996:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(m,e);var t,n,l,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=p(m);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:f(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(f(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),h(f(e),"duration",null),h(f(e),"currentTime",null),h(f(e),"secondsLoaded",null),h(f(e),"mute",function(){}),h(f(e),"unmute",function(){}),h(f(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then(function(e){t.player=e.PlayerWidget(t.iframe),t.player.ready.then(function(){t.player.events.play.on(t.props.onPlay),t.player.events.pause.on(t.props.onPause),t.player.events.ended.on(t.props.onEnded),t.player.events.error.on(t.props.error),t.player.events.progress.on(function(e,n){t.currentTime=e,t.duration=n}),t.props.onReady()})},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("seek",e),t||this.pause()}},{key:"setVolume",value:function(e){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.config,r=t.match(a.MATCH_URL_MIXCLOUD)[1],l=(0,o.queryString)(u(u({},n.options),{},{feed:"/".concat(r,"/")}));return i.default.createElement("iframe",{key:r,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(l),frameBorder:"0",allow:"autoplay"})}}],c(m.prototype,n),l&&c(m,l),m}(i.Component);t.default=m,h(m,"displayName","Mixcloud"),h(m,"canPlay",a.canPlay.mixcloud),h(m,"loopOnEnded",!0)},44095:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,a,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=p(s);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:f(this)});function s(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(f(e=l.call.apply(l,[this].concat(n))),"callPlayer",o.callPlayer),h(f(e),"duration",null),h(f(e),"currentTime",null),h(f(e),"fractionLoaded",null),h(f(e),"mute",function(){e.setVolume(0)}),h(f(e),"unmute",function(){null!==e.props.volume&&e.setVolume(e.props.volume)}),h(f(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;(0,o.getSDK)("https://w.soundcloud.com/player/api.js","SC").then(function(r){if(n.iframe){var i=r.Widget.Events,o=i.PLAY,a=i.PLAY_PROGRESS,l=i.PAUSE,s=i.FINISH,c=i.ERROR;t||(n.player=r.Widget(n.iframe),n.player.bind(o,n.props.onPlay),n.player.bind(l,function(){n.duration-n.currentTime<.05||n.props.onPause()}),n.player.bind(a,function(e){n.currentTime=e.currentPosition/1e3,n.fractionLoaded=e.loadedProgress}),n.player.bind(s,function(){return n.props.onEnded()}),n.player.bind(c,function(e){return n.props.onError(e)})),n.player.load(e,u(u({},n.props.config.options),{},{callback:function(){n.player.getDuration(function(e){n.duration=e/1e3,n.props.onReady()})}}))}})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("seekTo",1e3*e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var e=this.props.display;return i.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:{width:"100%",height:"100%",display:e},frameBorder:0,allow:"autoplay"})}}],c(s.prototype,n),a&&c(s,a),s}(i.Component);t.default=m,h(m,"displayName","SoundCloud"),h(m,"canPlay",a.canPlay.soundcloud),h(m,"loopOnEnded",!0)},81182:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(h,e);var t,n,l,p=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=d(h);if(t){var o=d(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:c(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(c(e=p.call.apply(p,[this].concat(n))),"callPlayer",o.callPlayer),f(c(e),"duration",null),f(c(e),"currentTime",null),f(c(e),"secondsLoaded",null),f(c(e),"mute",function(){e.callPlayer("mute")}),f(c(e),"unmute",function(){e.callPlayer("unmute")}),f(c(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",function(e){var n=e.duration,r=e.seconds;t.duration=n,t.currentTime=r}),t.player.on("buffered",function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)}),t.props.muted&&t.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("setCurrentTime",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(a.MATCH_URL_STREAMABLE)[1];return i.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;"})}}],s(h.prototype,n),l&&s(h,l),h}(i.Component);t.default=p,f(p,"displayName","Streamable"),f(p,"canPlay",a.canPlay.streamable)},12569:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(m,e);var t,n,l,h=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=f(m);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=h.call.apply(h,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"playerID",e.props.config.playerId||"".concat("twitch-player-").concat((0,o.randomString)())),p(d(e),"mute",function(){e.callPlayer("setMuted",!0)}),p(d(e),"unmute",function(){e.callPlayer("setMuted",!1)}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this,r=this.props,i=r.playsinline,l=r.onError,u=r.config,c=r.controls,d=a.MATCH_URL_TWITCH_CHANNEL.test(e),f=d?e.match(a.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(a.MATCH_URL_TWITCH_VIDEO)[1];if(t){d?this.player.setChannel(f):this.player.setVideo("v"+f);return}(0,o.getSDK)("https://player.twitch.tv/js/embed/v1.js","Twitch").then(function(t){n.player=new t.Player(n.playerID,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({video:d?"":f,channel:d?f:"",height:"100%",width:"100%",playsinline:i,autoplay:n.props.playing,muted:n.props.muted,controls:!!d||c,time:(0,o.parseStartTime)(e)},u.options));var r=t.Player,a=r.READY,l=r.PLAYING,h=r.PAUSE,m=r.ENDED,g=r.ONLINE,y=r.OFFLINE,v=r.SEEK;n.player.addEventListener(a,n.props.onReady),n.player.addEventListener(l,n.props.onPlay),n.player.addEventListener(h,n.props.onPause),n.player.addEventListener(m,n.props.onEnded),n.player.addEventListener(v,n.props.onSeek),n.player.addEventListener(g,n.props.onLoaded),n.player.addEventListener(y,n.props.onLoaded)},l)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("seek",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return i.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}],u(m.prototype,n),l&&u(m,l),m}(i.Component);t.default=h,p(h,"displayName","Twitch"),p(h,"canPlay",a.canPlay.twitch),p(h,"loopOnEnded",!0)},51296:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(m,e);var t,n,l,h=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=f(m);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=h.call.apply(h,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"mute",function(){e.setVolume(0)}),p(d(e),"unmute",function(){null!==e.props.volume&&e.setVolume(e.props.volume)}),p(d(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,i=n.config,l=n.onError,u=n.onDuration,c=e&&e.match(a.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,o.getSDK)("https://play.vidyard.com/embed/v4.js","VidyardV4","onVidyardAPI").then(function(e){t.container&&(e.api.addReadyListener(function(e,n){t.player||(t.player=n,t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seek",t.props.onSeek),t.player.on("playerComplete",t.props.onEnded))},c),e.api.renderPlayer(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({uuid:c,container:t.container,autoplay:r?1:0},i.options)),e.api.getPlayerMetadata(c).then(function(e){t.duration=e.length_in_seconds,u(e.length_in_seconds)}))},l)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("seek",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackSpeed",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.display;return i.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},i.default.createElement("div",{ref:this.ref}))}}],u(m.prototype,n),l&&u(m,l),m}(i.Component);t.default=h,p(h,"displayName","Vidyard"),p(h,"canPlay",a.canPlay.vidyard)},300:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,e);var t,n,a,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=f(h);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=l.call.apply(l,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"duration",null),p(d(e),"currentTime",null),p(d(e),"secondsLoaded",null),p(d(e),"mute",function(){e.setMuted(!0)}),p(d(e),"unmute",function(){e.setMuted(!1)}),p(d(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,o.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then(function(n){if(t.container){var r=t.props.config,i=r.playerOptions,o=r.title;t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({url:e.replace("/manage/videos",""),autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},i)),t.player.ready().then(function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",o&&(e.title=o)}).catch(t.props.onError),t.player.on("loaded",function(){t.props.onReady(),t.refreshDuration()}),t.player.on("play",function(){t.props.onPlay(),t.refreshDuration()}),t.player.on("pause",t.props.onPause),t.player.on("seeked",function(e){return t.props.onSeek(e.seconds)}),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",function(e){var n=e.seconds;t.currentTime=n}),t.player.on("progress",function(e){var n=e.seconds;t.secondsLoaded=n}),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd),t.player.on("playbackratechange",function(e){return t.props.onPlaybackRateChange(e.playbackRate)})}},this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then(function(t){e.duration=t})}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("setCurrentTime",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setMuted",value:function(e){this.callPlayer("setMuted",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.display;return i.default.createElement("div",{key:this.props.url,ref:this.ref,style:{width:"100%",height:"100%",overflow:"hidden",display:e}})}}],u(h.prototype,n),a&&u(h,a),h}(i.Component);t.default=h,p(h,"displayName","Vimeo"),p(h,"canPlay",a.canPlay.vimeo),p(h,"forceLoad",!0)},75310:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
32Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(m,e);var t,n,l,h=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=f(m);if(t){var o=f(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function m(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,m);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=h.call.apply(h,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"playerID",e.props.config.playerId||"".concat("wistia-player-").concat((0,o.randomString)())),p(d(e),"onPlay",function(){var t;return(t=e.props).onPlay.apply(t,arguments)}),p(d(e),"onPause",function(){var t;return(t=e.props).onPause.apply(t,arguments)}),p(d(e),"onSeek",function(){var t;return(t=e.props).onSeek.apply(t,arguments)}),p(d(e),"onEnded",function(){var t;return(t=e.props).onEnded.apply(t,arguments)}),p(d(e),"onPlaybackRateChange",function(){var t;return(t=e.props).onPlaybackRateChange.apply(t,arguments)}),p(d(e),"mute",function(){e.callPlayer("mute")}),p(d(e),"unmute",function(){e.callPlayer("unmute")}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,i=n.muted,a=n.controls,l=n.onReady,u=n.config,c=n.onError;(0,o.getSDK)("https://fast.wistia.com/assets/external/E-v1.js","Wistia").then(function(e){u.customControls&&u.customControls.forEach(function(t){return e.defineControl(t)}),window._wq=window._wq||[],window._wq.push({id:t.playerID,options:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({autoPlay:r,silentAutoPlay:"allow",muted:i,controlsVisibleOnLoad:a,fullscreenButton:a,playbar:a,playbackRateControl:a,qualityControl:a,volumeControl:a,settingsControl:a,smallPlayButton:a},u.options),onReady:function(e){t.player=e,t.unbind(),t.player.bind("play",t.onPlay),t.player.bind("pause",t.onPause),t.player.bind("seek",t.onSeek),t.player.bind("end",t.onEnded),t.player.bind("playbackratechange",t.onPlaybackRateChange),l(
32)}})},c)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("time",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("volume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("playbackRate",e)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.url,t=e&&e.match(a.MATCH_URL_WISTIA)[1],n="wistia_embed wistia_async_".concat(t);return i.default.createElement("div",{id:this.playerID,key:t,className:n,style:{width:"100%",height:"100%"}})}}],u(m.prototype,n),l&&u(m,l),m}(i.Component);t.default=h,p(h,"displayName","Wistia"),p(h,"canPlay",a.canPlay.wistia),p(h,"loopOnEnded",!0)},64e3:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(2265)),o=n(74117),a=n(65087);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,v=/user\/([a-zA-Z0-9_-]+)\/?/,b=/youtube-nocookie\.com/,E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(d,e);var t,n,l,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,i=m(d);if(t){var o=m(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:h(this)});function d(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,d);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),g(h(e),"parsePlaylist",function(t){return t instanceof Array?{listType:"playlist",playlist:t.map(e.getID).join(",")}:y.test(t)?{listType:"playlist",list:c(t.match(y),2)[1].replace(/^UC/,"UU")}:v.test(t)?{listType:"user_uploads",list:c(t.match(v),2)[1]}:{}}),g(h(e),"onStateChange",function(t){var n=t.data,r=e.props,i=r.onPlay,o=r.onPause,a=r.onBuffer,l=r.onBufferEnd,s=r.onEnded,u=r.onReady,c=r.loop,d=r.config,f=d.playerVars,p=d.onUnstarted,h=window.YT.PlayerState,m=h.UNSTARTED,g=h.PLAYING,y=h.PAUSED,v=h.BUFFERING,b
32=h.ENDED,E=h.CUED;if(n===m&&p(),n===g&&(i(),l()),n===y&&o(),n===v&&a(),n===b){var T=!!e.callPlayer("getPlaylist");c&&!T&&(f.start?e.seekTo(f.start):e.play()),s()}n===E&&u()}),g(h(e),"mute",function(){e.callPlayer("mute")}),g(h(e),"unmute",function(){e.callPlayer("unMute")}),g(h(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(e){return!e||e instanceof Array||y.test(e)?null:e.match(a.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(e,t){var n=this,r=this.props,i=r.playing,a=r.muted,l=r.playsinline,s=r.controls,c=r.loop,d=r.config,f=r.onError,p=d.playerVars,h=d.embedOptions,m=this.getID(e);if(t){if(y.test(e)||v.test(e)||e instanceof Array){this.player.loadPlaylist(this.parsePlaylist(e));return}this.player.cueVideoById({videoId:m,startSeconds:(0,o.parseStartTime)(e)||p.start,endSeconds:(0,o.parseEndTime)(e)||p.end});return}(0,o.getSDK)("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",function(e){return e.loaded}).then(function(t){n.container&&(n.player=new t.Player(n.container,u({width:"100%",height:"100%",videoId:m,playerVars:u(u({autoplay:i?1:0,mute:a?1:0,controls:s?1:0,start:(0,o.parseStartTime)(e),end:(0,o.parseEndTime)(e),origin:window.location.origin,playsinline:l?1:0},n.parsePlaylist(e)),p),events:{onReady:function(){c&&n.player.setLoop(!0),n.props.onReady()},onPlaybackRateChange:function(e){return n.props.onPlaybackRateChange(e.data)},onPlaybackQualityChange:function(e){return n.props.onPlaybackQualityChange(e)},onStateChange:n.onStateChange,onError:function(e){return f(e.data)}},host:b.test(e)?"https://www.youtube-nocookie.com":void 0},h)))},f),h.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayerâs callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.callPlayer("seekTo",e),t||this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var e=this.props.display;return i.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},i.default.createElement("div",{ref:this.ref}))}}],f(d.prototype,n),l&&f(d,l),d}(i.Component);t.default=E,g(E,"displayName","YouTube"),g(E,"canPlay",a.canPlay.youtube)},29973:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2265),i=n(74117),o=n(65087);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var u=[{key:"youtube",name:"YouTube",canPlay:o.canPlay.youtube,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(64e3))})})},{key:"soundcloud",name:"SoundCloud",canPlay:o.canPlay.soundcloud,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(44095))})})},{key:"vimeo",name:"Vimeo",canPlay:o.canPlay.vimeo,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(300))})})},{key:"facebook",name:"Facebook",canPlay:o.canPlay.facebook,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(11467))})})},{key:"streamable",name:"Streamable",canPlay:o.canPlay.streamable,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(81182))})})},{key:"wistia",name:"Wistia",canPlay:o.canPlay.wistia,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(75310))})})},{key:"twitch",name:"Twitch",canPlay:o.canPlay.twitch,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(12569))})})},{key:"dailymotion",name:"DailyMotion",canPlay:o.canPlay.dailymotion,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(94609))})})},{key:"mixcloud",name:"Mixcloud",canPlay:o.canPlay.mixcloud,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(92996))})})}
vendor: 5,450 bytes, line 32
32,{key:"vidyard",name:"Vidyard",canPlay:o.canPlay.vidyard,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(51296))})})},{key:"kaltura",name:"Kaltura",canPlay:o.canPlay.kaltura,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(57321))})})},{key:"file",name:"FilePlayer",canPlay:o.canPlay.file,canEnablePIP:function(e){return o.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,i.supportsWebKitPresentationMode)())&&!o.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return s(n(89737))})})}];t.default=u},42728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,i=(r=n(74275))&&r.__esModule?r:{default:r},o=i.default.string,a=i.default.bool,l=i.default.number,s=i.default.array,u=i.default.oneOfType,c=i.default.shape,d=i.default.object,f=i.default.func,p=i.default.node,h={url:u([o,s,d]),playing:a,loop:a,controls:a,volume:l,muted:a,playbackRate:l,width:u([o,l]),height:u([o,l]),style:d,progressInterval:l,playsinline:a,pip:a,stopOnUnmount:a,light:u([a,o,d]),playIcon:p,previewTabIndex:l,fallback:p,oEmbedUrl:o,wrapper:u([o,f,c({render:f.isRequired})]),config:c({soundcloud:c({options:d}),youtube:c({playerVars:d,embedOptions:d,onUnstarted:f}),facebook:c({appId:o,version:o,playerId:o,attributes:d}),dailymotion:c({params:d}),vimeo:c({playerOptions:d,title:o}),file:c({attributes:d,tracks:s,forceVideo:a,forceAudio:a,forceHLS:a,forceSafariHLS:a,forceDisableHls:a,forceDASH:a,forceFLV:a,hlsOptions:d,hlsVersion:o,dashVersion:o,flvVersion:o}),wistia:c({options:d,playerId:o,customControls:s}),mixcloud:c({options:d}),twitch:c({options:d,playerId:o}),vidyard:c({options:d})}),onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onPlaybackRateChange:f,onPlaybackQualityChange:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f};t.propTypes=h;var m=function(){};t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:m},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onPlaybackRateChange:m,onPlaybackQualityChange:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m}},74117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return d(e,l)},t.parseEndTime=function(e){return d(e,s)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=f(t);return a&&i(a)?Promise.resolve(a):new Promise(function(r,i){if(p[e]){p[e].push({resolve:r,reject:i});return}p[e]=[{resolve:r,reject:i}];var a=function(t){p[e].forEach(function(e){return e.resolve(t)})};if(n){var l=window[n];window[n]=function(){l&&l(),a(f(t))}}o(e,function(r){r?(p[e].forEach(function(e){return e.reject(r)}),p[e]=null):n||a(f(t))})})},t.getConfig=function(e,t){return(0,i.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,r),a={},l=Object.keys(e),s=0;s<l.length;s++){var u=l[s];-1===o.indexOf(u)&&(a[u]=e[u])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c â ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var r=o(n(12451)),i=o(n(7106));
32function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var l=/[?&#](?:start|t)=([0-9hms]+)/,s=/[?&#]end=([0-9hms]+)/,u=/(\d+)(h|m|s)/g,c=/^\d+$/;function d(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(u))return function(e){for(var t=0,n=u.exec(e);null!==n;){var r,i=function(e){if(Array.isArray(e))return e}(r=n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}}(r,3)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}(r,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[1],l=i[2];"h"===l&&(t+=3600*parseInt(o,10)),"m"===l&&(t+=60*parseInt(o,10)),"s"===l&&(t+=parseInt(o,10)),n=u.exec(e)}return t}(r);if(c.test(r))return parseInt(r)}}}function f(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var p={}},48699:function(e,t,n){var r=n(47412);function i(e,t){var n,i,o,a=null;if(!e||"string"!=typeof e)return a;for(var l=r(e),s="function"==typeof t,u=0,c=l.length;u<c;u++)i=(n=l[u]).property,o=n.value,s?t(i,o,n):o&&(a||(a={}),a[i]=o);return a}e.exports=i,e.exports.default=i},13428:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},12753:function(e,t,n){"use strict";n.d(t,{h:function(){return Z}});var r,i,o,a,l=n(2265),s=n(31860),u=n(82769),c=n(12950),d=n(75606),f=n(32600),p=n(61858),h=n(90583),m=n(8076),g=n(46618),y=n(54851),v=n(53891),b=n(85390),E=n(11931),T=n(35863),_=n(60597),x=n(28871),C=n(65410),k=n(58227),S=n(25306),A=n(93850),w=n(10841),O=n(7566),P=n(13995),I=n(34644),N=((r=N||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),R=((i=R||{})[i.Single=0]="Single",i[i.Multi=1]="Multi",i),L=((o=L||{})[o.Pointer=0]="Pointer",o[o.Other=1]="Other",o),D=((a=D||{})[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);function M(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,C.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let F={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;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let n=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,r=e.options.findIndex(e=>t(e.dataRef.current.value));-1!==r&&(n=r)}return{...e,comboboxState:0,activeOptionIndex:n}},2(e,t){var n,r,i,o;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;let a=M(e);if(null===a.activeOptionIndex){let e=a.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(a.activeOptionIndex=e)}let l=(0,v.d)(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...a,activeOptionIndex:l,activationTrigger:null!=(o=t.trigger)?o:1}},3:(e,t)=>
32{var n,r;let i={id:t.id,dataRef:t.dataRef},o=M(e,e=>[...e,i]);null===e.activeOptionIndex&&null!=(n=e.dataRef.current)&&n.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(i));let a={...e,...o,activationTrigger:1};return null!=(r=e.dataRef.current)&&r.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},4:(e,t)=>{let n=M(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},B=(0,l.createContext)(null);function H(e){let t=(0,l.useContext)(B);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}B.displayName="ComboboxActionsContext";let U=(0,l.createContext)(null);function j(e){let t=(0,l.useContext)(U);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,j),t}return t}function V(e,t){return(0,_.E)(t.type,F,e,t)}U.displayName="ComboboxDataContext";let z=l.Fragment,G=E.AN.RenderStrategy|E.AN.Static,W=(0,E.yV)(function(e,t){let{value:n,defaultValue:r,onChange:i,form:o,name:a,by:s=(e,t)=>e===t,disabled:d=!1,__demoMode:p=!1,nullable:m=!1,multiple:g=!1,...y}=e,[b=g?[]:void 0,T]=(0,w.q)(n,i,r),[C,A]=(0,l.useReducer)(V,{dataRef:(0,l.createRef)(),comboboxState:p?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),O=(0,l.useRef)(!1),P=(0,l.useRef)({static:!1,hold:!1}),I=(0,l.useRef)(null),N=(0,l.useRef)(null),R=(0,l.useRef)(null),L=(0,l.useRef)(null),D=(0,c.z)("string"==typeof s?(e,t)=>(null==e?void 0:e[s])===(null==t?void 0:t[s]):s),M=(0,l.useCallback)(e=>(0,_.E)(F.mode,{1:()=>b.some(t=>D(t,e)),0:()=>D(b,e)}),[b]),F=(0,l.useMemo)(()=>({...C,optionsPropsRef:P,labelRef:I,inputRef:N,buttonRef:R,optionsRef:L,value:b,defaultValue:r,disabled:d,mode:g?1:0,get activeOptionIndex(){if(O.current&&null===C.activeOptionIndex&&C.options.length>0){let e=C.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return C.activeOptionIndex},compare:D,isSelected:M,nullable:m,__demoMode:p}),[b,r,d,g,m,p,C]),H=(0,l.useRef)(null!==F.activeOptionIndex?F.options[F.activeOptionIndex]:null);(0,l.useEffect)(()=>{let e=null!==F.activeOptionIndex?F.options[F.activeOptionIndex]:null;H.current!==e&&(H.current=e)}),(0,f.e)(()=>{C.dataRef.current=F},[F]),(0,h.O)([F.buttonRef,F.inputRef,F.optionsRef],()=>J.closeCombobox(),0===F.comboboxState);let j=(0,l.useMemo)(()=>({open:0===F.comboboxState,disabled:d,activeIndex:F.activeOptionIndex,activeOption:null===F.activeOptionIndex?null:F.options[F.activeOptionIndex].dataRef.current.value,value:b}),[F,d,b]),G=(0,c.z)(e=>{let t=F.options.find(t=>t.id===e);t&&X(t.dataRef.current.value)}),W=(0,c.z)(()=>{if(null!==F.activeOptionIndex){let{dataRef:e,id:t}=F.options[F.activeOptionIndex];X(e.current.value),J.goToOption(v.T.Specific,t)}}),$=(0,c.z)(()=>{A({type:0}),O.current=!0}),Z=(0,c.z)(()=>{A({type:1}),O.current=!1}),Y=(0,c.z)((e,t,n)=>(O.current=!1,e===v.T.Specific?A({type:2,focus:v.T.Specific,id:t,trigger:n}):A({type:2,focus:e,trigger:n}))),q=(0,c.z)((e,t)=>(A({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=H.current)?void 0:t.id)===e&&(O.current=!0),A({type:4,id:e})})),K=(0,c.z)(e=>(A({type:5,id:e}),()=>A({type:5,id:null}))),X=(0,c.z)(e=>(0,_.E)(F.mode,{0:()=>null==T?void 0:T(e),1(){let t=F.value.slice(),n=t.findIndex(t=>D(t,e));return -1===n?t.push(e):t.splice(n,1),null==T?void 0:T(t)}})),J=(0,l.useMemo)(()=>({onChange:X,registerOption:q,registerLabel:K,goToOption:Y,closeCombobox:Z,openCombobox:$,selectActiveOption:W,selectOption:G}),[]),Q=(0,l.useRef)(null),ee=(0,u.G)();return(0,l.useEffect)(()=>{Q.current&&void 0!==r&&ee.addEventListener(Q.current,"reset",()=>{X(r)})},[Q,X]),l.createElement(B.Provider,{value:J},l.createElement(U.Provider,{value:F},l.createElement(S.up,{value:(0,_.E)(F.comboboxState,{0:S.ZM.Open,1:S.ZM.Closed})},null!=a&&null!=b&&(0,x.t)({[a]:b}).map(([e,t],n)=>l.createElement(k._,{features:k.A.Hidden,ref:0===n?e=>{var t;Q.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,E.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:o,name:e,value:t})})),(0,E.sY)({ourProps:null===t?{}:{ref:t},theirProps:y,slot:j,defaultTag:z,name:"Combobox"}))))}),$=(0,E.yV)(function(e,t){var n;let r=j("Combobox.Button"),i=H("Combobox.Button"),o=(0,g.T)(r.buttonRef,t),a=(0,d.M)(),{id:f=`headlessui-combobox-button-${a}`,...p}=e,h=(0,u.G)(),y=(0,c.z)(e=>{switch(e.key){case A.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&i.openCombobox(),h.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case A.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(i.openCombobox(),h.nextFrame(()=>{r.value||i.goToOption(v.T.Last)})),h.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case A.R.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),i.closeCombobox(),h.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}
32));default:return}}),b=(0,c.z)(e=>{if((0,T.P)(e.currentTarget))return e.preventDefault();0===r.comboboxState?i.closeCombobox():(e.preventDefault(),i.openCombobox()),h.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),_=(0,s.v)(()=>{if(r.labelId)return[r.labelId,f].join(" ")},[r.labelId,f]),x=(0,l.useMemo)(()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value}),[r]),C={ref:o,id:f,type:(0,m.f)(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":_,disabled:r.disabled,onClick:b,onKeyDown:y};return(0,E.sY)({ourProps:C,theirProps:p,slot:x,defaultTag:"button",name:"Combobox.Button"})}),Z=Object.assign(W,{Input:(0,E.yV)(function(e,t){var n,r,i,o,a;let f=(0,d.M)(),{id:p=`headlessui-combobox-input-${f}`,onChange:h,displayValue:m,type:y="text",...b}=e,T=j("Combobox.Input"),x=H("Combobox.Input"),C=(0,g.T)(T.inputRef,t),k=(0,l.useRef)(!1),S=(0,u.G)(),w="function"==typeof m&&void 0!==T.value?null!=(a=m(T.value))?a:"":"string"==typeof T.value?T.value:"";(0,O.q)(([e,t],[n,r])=>{if(k.current)return;let i=T.inputRef.current;i&&((0===r&&1===t||e!==n)&&(i.value=e),requestAnimationFrame(()=>{if(k.current||!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)}))},[w,T.comboboxState]),(0,O.q)(([e],[t])=>{if(0===e&&1===t){if(k.current)return;let e=T.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)}},[T.comboboxState]);let P=(0,l.useRef)(!1),I=(0,c.z)(()=>{P.current=!0}),N=(0,c.z)(()=>{S.nextFrame(()=>{P.current=!1})}),R=(0,c.z)(e=>{switch(k.current=!0,e.key){case A.R.Backspace:case A.R.Delete:if(0!==T.mode||!T.nullable)return;let t=e.currentTarget;S.requestAnimationFrame(()=>{""===t.value&&(x.onChange(null),T.optionsRef.current&&(T.optionsRef.current.scrollTop=0),x.goToOption(v.T.Nothing))});break;case A.R.Enter:if(k.current=!1,0!==T.comboboxState||P.current)return;if(e.preventDefault(),e.stopPropagation(),null===T.activeOptionIndex){x.closeCombobox();return}x.selectActiveOption(),0===T.mode&&x.closeCombobox();break;case A.R.ArrowDown:return k.current=!1,e.preventDefault(),e.stopPropagation(),(0,_.E)(T.comboboxState,{0:()=>{x.goToOption(v.T.Next)},1:()=>{x.openCombobox()}});case A.R.ArrowUp:return k.current=!1,e.preventDefault(),e.stopPropagation(),(0,_.E)(T.comboboxState,{0:()=>{x.goToOption(v.T.Previous)},1:()=>{x.openCombobox(),S.nextFrame(()=>{T.value||x.goToOption(v.T.Last)})}});case A.R.Home:if(e.shiftKey)break;return k.current=!1,e.preventDefault(),e.stopPropagation(),x.goToOption(v.T.First);case A.R.PageUp:return k.current=!1,e.preventDefault(),e.stopPropagation(),x.goToOption(v.T.First);case A.R.End:if(e.shiftKey)break;return k.current=!1,e.preventDefault(),e.stopPropagation(),x.goToOption(v.T.Last);case A.R.PageDown:return k.current=!1,e.preventDefault(),e.stopPropagation(),x.goToOption(v.T.Last);case A.R.Escape:return k.current=!1,0!==T.comboboxState?void 0:(e.preventDefault(),T.optionsRef.current&&!T.optionsPropsRef.current.static&&e.stopPropagation(),x.closeCombobox());case A.R.Tab:if(k.current=!1,0!==T.comboboxState)return;0===T.mode&&x.selectActiveOption(),x.closeCombobox()}}),L=(0,c.z)(e=>{null==h||h(e),x.openCombobox()}),D=(0,c.z)(()=>{k.current=!1}),M=(0,s.v)(()=>{if(T.labelId)return[T.labelId].join(" ")},[T.labelId]),F=(0,l.useMemo)(()=>({open:0===T.comboboxState,disabled:T.disabled}),[T]),B={ref:C,id:p,role:"combobox",type:y,"aria-controls":null==(n=T.optionsRef.current)?void 0:n.id,"aria-expanded":0===T.comboboxState,"aria-activedescendant":null===T.activeOptionIndex||null==(r=T.options[T.activeOptionIndex])?void 0:r.id,"aria-labelledby":M,"aria-autocomplete":"list",defaultValue:null!=(o=null!=(i=e.defaultValue)?i:void 0!==T.defaultValue?null==m?void 0:m(T.defaultValue):null)?o:T.defaultValue,disabled:T.disabled,onCompositionStart:I,onCompositionEnd:N,onKeyDown:R,onChange:L,onBlur:D};return(0,E.sY)({ourProps:B,theirProps:b,slot:F,defaultTag:"input",name:"Combobox.Input"})}
32),Button:$,Label:(0,E.yV)(function(e,t){let n=(0,d.M)(),{id:r=`headlessui-combobox-label-${n}`,...i}=e,o=j("Combobox.Label"),a=H("Combobox.Label"),s=(0,g.T)(o.labelRef,t);(0,f.e)(()=>a.registerLabel(r),[r]);let u=(0,c.z)(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}),p=(0,l.useMemo)(()=>({open:0===o.comboboxState,disabled:o.disabled}),[o]);return(0,E.sY)({ourProps:{ref:s,id:r,onClick:u},theirProps:i,slot:p,defaultTag:"label",name:"Combobox.Label"})}),Options:(0,E.yV)(function(e,t){let n=(0,d.M)(),{id:r=`headlessui-combobox-options-${n}`,hold:i=!1,...o}=e,a=j("Combobox.Options"),u=(0,g.T)(a.optionsRef,t),c=(0,S.oJ)(),p=null!==c?(c&S.ZM.Open)===S.ZM.Open:0===a.comboboxState;(0,f.e)(()=>{var t;a.optionsPropsRef.current.static=null!=(t=e.static)&&t},[a.optionsPropsRef,e.static]),(0,f.e)(()=>{a.optionsPropsRef.current.hold=i},[a.optionsPropsRef,i]),function({container:e,accept:t,walk:n,enabled:r=!0}){let i=(0,l.useRef)(t),o=(0,l.useRef)(n);(0,l.useEffect)(()=>{i.current=t,o.current=n},[t,n]),(0,f.e)(()=>{if(!e||!r)return;let t=(0,y.r)(e);if(!t)return;let n=i.current,a=o.current,l=Object.assign(e=>n(e),{acceptNode:n}),s=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,l,!1);for(;s.nextNode();)a(s.currentNode)},[e,r,i,o])}({container:a.optionsRef.current,enabled:0===a.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=(0,s.v)(()=>{var e,t;return null!=(t=a.labelId)?t:null==(e=a.buttonRef.current)?void 0:e.id},[a.labelId,a.buttonRef.current]),m=(0,l.useMemo)(()=>({open:0===a.comboboxState}),[a]),v={"aria-labelledby":h,role:"listbox","aria-multiselectable":1===a.mode||void 0,id:r,ref:u};return(0,E.sY)({ourProps:v,theirProps:o,slot:m,defaultTag:"ul",features:G,visible:p,name:"Combobox.Options"})}),Option:(0,E.yV)(function(e,t){var n,r;let i=(0,d.M)(),{id:o=`headlessui-combobox-option-${i}`,disabled:a=!1,value:s,...u}=e,h=j("Combobox.Option"),m=H("Combobox.Option"),y=null!==h.activeOptionIndex&&h.options[h.activeOptionIndex].id===o,T=h.isSelected(s),_=(0,l.useRef)(null),x=(0,p.E)({disabled:a,value:s,domRef:_,textValue:null==(r=null==(n=_.current)?void 0:n.textContent)?void 0:r.toLowerCase()}),C=(0,g.T)(t,_),k=(0,c.z)(()=>m.selectOption(o));(0,f.e)(()=>m.registerOption(o,x),[x,o]);let S=(0,l.useRef)(!h.__demoMode);(0,f.e)(()=>{if(!h.__demoMode)return;let e=(0,b.k)();return e.requestAnimationFrame(()=>{S.current=!0}),e.dispose},[]),(0,f.e)(()=>{if(0!==h.comboboxState||!y||!S.current||0===h.activationTrigger)return;let e=(0,b.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=_.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[_,y,h.comboboxState,h.activationTrigger,h.activeOptionIndex]);let A=(0,c.z)(e=>{if(a)return e.preventDefault();k(),0===h.mode&&m.closeCombobox(),(0,I.tq)()||requestAnimationFrame(()=>{var e;return null==(e=h.inputRef.current)?void 0:e.focus()})}),w=(0,c.z)(()=>{if(a)return m.goToOption(v.T.Nothing);m.goToOption(v.T.Specific,o)}),O=(0,P.g)(),N=(0,c.z)(e=>O.update(e)),R=(0,c.z)(e=>{O.wasMoved(e)&&(a||y||m.goToOption(v.T.Specific,o,0))}),L=(0,c.z)(e=>{O.wasMoved(e)&&(a||y&&(h.optionsPropsRef.current.hold||m.goToOption(v.T.Nothing)))}),D=(0,l.useMemo)(()=>({active:y,selected:T,disabled:a}),[y,T,a]);return(0,E.sY)({ourProps:{id:o,ref:C,role:"option",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,"aria-selected":T,disabled:void 0,onClick:A,onFocus:w,onPointerEnter:N,onMouseEnter:N,onPointerMove:R,onMouseMove:R,onPointerLeave:L,onMouseLeave:L},theirProps:u,slot:D,defaultTag:"li",name:"Combobox.Option"})})})},84766:function(e,t,n){"use strict";let r,i;n.d(t,{V:function(){return ec}});var o,a,l,s,u,c=n(2265),d=n.t(c,2),f=n(60597),p=n(11931),h=n(46618),m=n(93850),g=n(35863),y=n(75606),v=n(48957),b=n(58227),E=n(65410),T=n(12950),_=n(49376),x=n(80634),C=n(57728),k=n(6890),S=n(55195),A=n(7566),w=n(82769),O=n(33051);function P(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var I=((o=I||{})[o.None=1]="None",o[o.InitialFocus=2]="InitialFocus",o[o.TabLock=4]="TabLock",o[o.FocusLock=8]="FocusLock",o[o.RestoreFocus=16]="RestoreFocus",o[o.All=30]="All",o);let N=Object.assign((0,p.yV)(function(e,t){let n=(0,c.useRef)(null),r=(0,h.T)(n,t),{initialFocus:i,containers:o,features:a=30,...l}=e;(0,v.H)()||(a=1);let s=(0,C.i)(n);!function({ownerDocument:e},t){let n=function(e=!0){let t=(0,c.useRef)(R.slice());return(0,A.q)(([e],[n])=>{!0===n&&!1===e&&(0,S.Y)(()=>{t.current.splice(0)}),!1===n&&!0===e&&(t.current=R.slice())},[e,R,t]),(0,T.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(t);(0,A.q)(()=>{t||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&(0,E.C5)(n())},[t]),(0,O.L)(()=>{t&&(0,E.C5)(n())})}({ownerDocument:s},!!(16&a));let u=function({ownerDocument:e,container:t,initialFocus:n},r){let i=(0,c.useRef)(null),o=(0,x.t)();return(0,A.q)(()=>
32{if(!r)return;let a=t.current;a&&(0,S.Y)(()=>{if(!o.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t){i.current=t;return}}else if(a.contains(t)){i.current=t;return}null!=n&&n.current?(0,E.C5)(n.current):(0,E.jA)(a,E.TO.First)===E.fE.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=null==e?void 0:e.activeElement})},[r]),i}({ownerDocument:s,container:n,initialFocus:i},!!(2&a));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let o=(0,x.t)();(0,k.O)(null==e?void 0:e.defaultView,"focus",e=>{if(!i||!o.current)return;let a=P(n);t.current instanceof HTMLElement&&a.add(t.current);let l=r.current;if(!l)return;let s=e.target;s&&s instanceof HTMLElement?L(a,s)?(r.current=s,(0,E.C5)(s)):(e.preventDefault(),e.stopPropagation(),(0,E.C5)(l)):(0,E.C5)(r.current)},!0)}({ownerDocument:s,container:n,containers:o,previousActiveElement:u},!!(8&a));let d=(0,_.l)(),m=(0,T.z)(e=>{let t=n.current;t&&(0,f.E)(d.current,{[_.N.Forwards]:()=>{(0,E.jA)(t,E.TO.First,{skipElements:[e.relatedTarget]})},[_.N.Backwards]:()=>{(0,E.jA)(t,E.TO.Last,{skipElements:[e.relatedTarget]})}})}),g=(0,w.G)(),y=(0,c.useRef)(!1);return c.createElement(c.Fragment,null,!!(4&a)&&c.createElement(b._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:b.A.Focusable}),(0,p.sY)({ourProps:{ref:r,onKeyDown(e){"Tab"==e.key&&(y.current=!0,g.requestAnimationFrame(()=>{y.current=!1}))},onBlur(e){let t=P(o);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(L(t,r)||(y.current?(0,E.jA)(n.current,(0,f.E)(d.current,{[_.N.Forwards]:()=>E.TO.Next,[_.N.Backwards]:()=>E.TO.Previous})|E.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,E.C5)(e.target)))}},theirProps:l,defaultTag:"div",name:"FocusTrap"}),!!(4&a)&&c.createElement(b._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:b.A.Focusable}))}),{features:I}),R=[];function L(e,t){for(let n of e)if(n.contains(t))return!0;return!1}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&R[0]!==e.target&&(R.unshift(e.target),(R=R.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})});var D=n(87250),M=n(64705),F=n(32600);let B=(0,c.createContext)(null),H=Object.assign((0,p.yV)(function(e,t){let n=(0,y.M)(),{id:r=`headlessui-description-${n}`,...i}=e,o=function e(){let t=(0,c.useContext)(B);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),a=(0,h.T)(t);(0,F.e)(()=>o.register(r),[r,o.register]);let l={ref:a,...o.props,id:r};return(0,p.sY)({ourProps:l,theirProps:i,slot:o.slot||{},defaultTag:"p",name:o.name||"Description"})}),{});var U=n(25306);let j=(0,c.createContext)(()=>{});j.displayName="StackContext";var V=((a=V||{})[a.Add=0]="Add",a[a.Remove=1]="Remove",a);function z({children:e,onUpdate:t,type:n,element:r,enabled:i}){let o=(0,c.useContext)(j),a=(0,T.z)((...e)=>{null==t||t(...e),o(...e)});return(0,F.e)(()=>{let e=void 0===i||!0===i;return e&&a(0,n,r),()=>{e&&a(1,n,r)}},[a,n,r,i]),c.createElement(j.Provider,{value:a},e)}var G=n(90583);
32let{useState:W,useEffect:$,useLayoutEffect:Z,useDebugValue:Y}=d;"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;let q=d.useSyncExternalStore;var K=n(85390),X=n(34644);let J=(l={PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,K.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r,i;let o={doc:e,d:t,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(n)},a=[(0,X.gn)()?{before(){r=window.pageYOffset},after({doc:e,d:t,meta:n}){function i(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.style(e.body,"marginTop",`-${r}px`),window.scrollTo(0,0);let o=null;t.addEventListener(e,"click",t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),a=e.querySelector(r);a&&!i(a)&&(o=a)}catch{}},!0),t.addEventListener(e,"touchmove",e=>{e.target instanceof HTMLElement&&!i(e.target)&&e.preventDefault()},{passive:!1}),t.add(()=>{window.scrollTo(0,window.pageYOffset+r),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})}}:{},{before({doc:e}){var t;let n=e.documentElement;i=(null!=(t=e.defaultView)?t:window).innerWidth-n.clientWidth},after({doc:e,d:t}){let n=e.documentElement,r=n.clientWidth-n.offsetWidth,o=i-r;t.style(n,"paddingRight",`${o}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach(({before:e})=>null==e?void 0:e(o)),a.forEach(({after:e})=>null==e?void 0:e(o))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},r=new Map,i=new Set,{getSnapshot:()=>r,subscribe:e=>(i.add(e),()=>i.delete(e)),dispatch(e,...t){let n=l[e].call(r,...t);n&&(r=n,i.forEach(e=>e()))}});J.subscribe(()=>{let e=J.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&J.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&J.dispatch("TEARDOWN",n)}});let Q=new Map,ee=new Map;function et(e,t=!0){(0,F.e)(()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let i=null!=(n=ee.get(r))?n:0;return ee.set(r,i+1),0!==i||(Q.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=ee.get(r))?e:1;if(1===t?ee.delete(r):ee.set(r,t-1),1!==t)return;let n=Q.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,Q.delete(r))}},[e,t])}var en=n(59985),er=((s=er||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s),ei=((u=ei||{})[u.SetTitleId=0]="SetTitleId",u);let eo={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ea=(0,c.createContext)(null);function el(e){let t=(0,c.useContext)(ea);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,el),t}return t}function es(e,t){return(0,f.E)(t.type,eo,e,t)}ea.displayName="DialogContext";let eu=p.AN.RenderStrategy|p.AN.Static,ec=Object.assign((0,p.yV)(function(e,t){var n;let r=(0,y.M)(),{id:i=`headlessui-dialog-${r}`,open:o,onClose:a,initialFocus:l,__demoMode:s=!1,...u}=e,[d,g]=(0,c.useState)(0),b=(0,U.oJ)();void 0===o&&null!==b&&(o=(b&U.ZM.Open)===U.ZM.Open);let E=(0,c.useRef)(null),_=(0,h.T)(E,t),x=(0,C.i)(E),S=e.hasOwnProperty("open")||null!==b,A=e.hasOwnProperty("onClose");if(!S&&!A)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!S)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!A)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof o)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${o}`);if("function"!=typeof a)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${a}`);let w=o?0:1,[O,P]=(0,c.useReducer)(es,{titleId:null,descriptionId:null,panelRef:(0,c.createRef)()}),I=(0,T.z)(()=>a(!1)),R=(0,T.z)(e=>P({type:0,id:e})),L=!!(0,v.H)()&&!s&&0===w,H=d>1,j=null!==(0,c.useContext)(ea),[W,$]=(0,D.k)(),{resolveContainers:Z,mainTreeNodeRef:Y,MainTreeNode:K}=(0,en.v)({portals:W,defaultContainers:[null!=(n=O.panelRef.current)?n:E.current]}),X=null!==b&&(b&U.ZM.Closing)===U.ZM.Closing,Q=!j&&!X&&L;et((0,c.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==x?void 0:x.querySelectorAll("body > *"))?e:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(Y.current)&&e instanceof HTMLElement))?t:null},[Y]),Q);let ee=!!H||L;et((0,c.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==x?void 0:x.querySelectorAll("[data-headlessui-portal]"))?e:[]).find(e=>e.contains(Y.current)&&e instanceof HTMLElement))?t:null},[Y]),ee);let er=!(!L||H);(0,G.O)(Z,I,er);let ei=!(H||0!==w);(0,k.O)(null==x?void 0:x.defaultView,"keydown",e=>{ei&&(e.defaultPrevented||e.key===m.R.Escape&&(e.preventDefault(),e.stopPropagation(),I()))}),function(e,t,n=()=>[document.body]){var r;let i,o;r=e=>{var t;
32return{containers:[...null!=(t=e.containers)?t:[],n]}},i=q(J.subscribe,J.getSnapshot,J.getSnapshot),(o=e?i.get(e):void 0)&&o.count,(0,F.e)(()=>{if(!(!e||!t))return J.dispatch("PUSH",e,r),()=>J.dispatch("POP",e,r)},[t,e])}(x,!(X||0!==w||j),Z),(0,c.useEffect)(()=>{if(0!==w||!E.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&I()}});return e.observe(E.current),()=>e.disconnect()},[w,E,I]);let[eo,el]=function(){let[e,t]=(0,c.useState)([]);return[e.length>0?e.join(" "):void 0,(0,c.useMemo)(()=>function(e){let n=(0,T.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),r=(0,c.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return c.createElement(B.Provider,{value:r},e.children)},[t])]}(),ec=(0,c.useMemo)(()=>[{dialogState:w,close:I,setTitleId:R},O],[w,O,I,R]),ed=(0,c.useMemo)(()=>({open:0===w}),[w]),ef={ref:_,id:i,role:"dialog","aria-modal":0===w||void 0,"aria-labelledby":O.titleId,"aria-describedby":eo};return c.createElement(z,{type:"Dialog",enabled:0===w,element:E,onUpdate:(0,T.z)((e,t)=>{"Dialog"===t&&(0,f.E)(e,{[V.Add]:()=>g(e=>e+1),[V.Remove]:()=>g(e=>e-1)})})},c.createElement(M.O,{force:!0},c.createElement(D.h,null,c.createElement(ea.Provider,{value:ec},c.createElement(D.h.Group,{target:E},c.createElement(M.O,{force:!1},c.createElement(el,{slot:ed,name:"Dialog.Description"},c.createElement(N,{initialFocus:l,containers:Z,features:L?(0,f.E)(H?"parent":"leaf",{parent:N.features.RestoreFocus,leaf:N.features.All&~N.features.FocusLock}):N.features.None},c.createElement($,null,(0,p.sY)({ourProps:ef,theirProps:u,slot:ed,defaultTag:"div",features:eu,visible:0===w,name:"Dialog"}))))))))),c.createElement(K,null))}),{Backdrop:(0,p.yV)(function(e,t){let n=(0,y.M)(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:o},a]=el("Dialog.Backdrop"),l=(0,h.T)(t);(0,c.useEffect)(()=>{if(null===a.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[a.panelRef]);let s=(0,c.useMemo)(()=>({open:0===o}),[o]);return c.createElement(M.O,{force:!0},c.createElement(D.h,null,(0,p.sY)({ourProps:{ref:l,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:"div",name:"Dialog.Backdrop"})))}),Panel:(0,p.yV)(function(e,t){let n=(0,y.M)(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:o},a]=el("Dialog.Panel"),l=(0,h.T)(t,a.panelRef),s=(0,c.useMemo)(()=>({open:0===o}),[o]),u=(0,T.z)(e=>{e.stopPropagation()});return(0,p.sY)({ourProps:{ref:l,id:r,onClick:u},theirProps:i,slot:s,defaultTag:"div",name:"Dialog.Panel"})}),Overlay:(0,p.yV)(function(e,t){let n=(0,y.M)(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:o,close:a}]=el("Dialog.Overlay"),l=(0,h.T)(t),s=(0,T.z)(e=>{if(e.target===e.currentTarget){if((0,g.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),a()}}),u=(0,c.useMemo)(()=>({open:0===o}),[o]);return(0,p.sY)({ourProps:{ref:l,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:u,defaultTag:"div",name:"Dialog.Overlay"})}),Title:(0,p.yV)(function(e,t){let n=(0,y.M)(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:o,setTitleId:a}]=el("Dialog.Title"),l=(0,h.T)(t);(0,c.useEffect)(()=>(a(r),()=>a(null)),[r,a]);let s=(0,c.useMemo)(()=>({open:0===o}),[o]);return(0,p.sY)({ourProps:{ref:l,id:r},theirProps:i,slot:s,defaultTag:"h2",name:"Dialog.Title"})}),Description:H})},18743:function(e,t,n){"use strict";n.d(t,{p:function(){return w}});var r,i,o,a=n(2265),l=n(60597),s=n(11931),u=n(46618),c=n(75606),d=n(93850),f=n(35863),p=n(25306),h=n(8076),m=n(54851),g=n(12950);let y=null!=(o=a.startTransition)?o:function(e){e()};var v=((r=v||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),b=((i=b||{})[i.ToggleDisclosure=0]="ToggleDisclosure",i[i.CloseDisclosure=1]="CloseDisclosure",i[i.SetButtonId=2]="SetButtonId",i[i.SetPanelId=3]="SetPanelId",i[i.LinkPanel=4]="LinkPanel",i[i.UnlinkPanel=5]="UnlinkPanel",i);let E={0:e=>({...e,disclosureState:(0,l.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>
32e.panelId===t.panelId?e:{...e,panelId:t.panelId}},T=(0,a.createContext)(null);function _(e){let t=(0,a.useContext)(T);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return t}T.displayName="DisclosureContext";let x=(0,a.createContext)(null);x.displayName="DisclosureAPIContext";let C=(0,a.createContext)(null);function k(e,t){return(0,l.E)(t.type,E,e,t)}C.displayName="DisclosurePanelContext";let S=a.Fragment,A=s.AN.RenderStrategy|s.AN.Static,w=Object.assign((0,s.yV)(function(e,t){let{defaultOpen:n=!1,...r}=e,i=(0,a.useRef)(null),o=(0,u.T)(t,(0,u.h)(e=>{i.current=e},void 0===e.as||e.as===a.Fragment)),c=(0,a.useRef)(null),d=(0,a.useRef)(null),f=(0,a.useReducer)(k,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:d,panelRef:c,buttonId:null,panelId:null}),[{disclosureState:h,buttonId:y},v]=f,b=(0,g.z)(e=>{v({type:1});let t=(0,m.r)(i);if(!t||!y)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(y):t.getElementById(y);null==n||n.focus()}),E=(0,a.useMemo)(()=>({close:b}),[b]),_=(0,a.useMemo)(()=>({open:0===h,close:b}),[h,b]);return a.createElement(T.Provider,{value:f},a.createElement(x.Provider,{value:E},a.createElement(p.up,{value:(0,l.E)(h,{0:p.ZM.Open,1:p.ZM.Closed})},(0,s.sY)({ourProps:{ref:o},theirProps:r,slot:_,defaultTag:S,name:"Disclosure"}))))}),{Button:(0,s.yV)(function(e,t){let n=(0,c.M)(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[o,l]=_("Disclosure.Button"),p=(0,a.useContext)(C),m=null!==p&&p===o.panelId,y=(0,a.useRef)(null),v=(0,u.T)(y,t,m?null:o.buttonRef);(0,a.useEffect)(()=>{if(!m)return l({type:2,buttonId:r}),()=>{l({type:2,buttonId:null})}},[r,l,m]);let b=(0,g.z)(e=>{var t;if(m){if(1===o.disclosureState)return;switch(e.key){case d.R.Space:case d.R.Enter:e.preventDefault(),e.stopPropagation(),l({type:0}),null==(t=o.buttonRef.current)||t.focus()}}else switch(e.key){case d.R.Space:case d.R.Enter:e.preventDefault(),e.stopPropagation(),l({type:0})}}),E=(0,g.z)(e=>{e.key===d.R.Space&&e.preventDefault()}),T=(0,g.z)(t=>{var n;(0,f.P)(t.currentTarget)||e.disabled||(m?(l({type:0}),null==(n=o.buttonRef.current)||n.focus()):l({type:0}))}),x=(0,a.useMemo)(()=>({open:0===o.disclosureState}),[o]),k=(0,h.f)(e,y),S=m?{ref:v,type:k,onKeyDown:b,onClick:T}:{ref:v,id:r,type:k,"aria-expanded":0===o.disclosureState,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:b,onKeyUp:E,onClick:T};return(0,s.sY)({ourProps:S,theirProps:i,slot:x,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,s.yV)(function(e,t){let n=(0,c.M)(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[o,l]=_("Disclosure.Panel"),{close:d}=function e(t){let n=(0,a.useContext)(x);if(null===n){let n=Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return n}("Disclosure.Panel"),f=(0,u.T)(t,o.panelRef,e=>{y(()=>l({type:e?4:5}))});(0,a.useEffect)(()=>(l({type:3,panelId:r}),()=>{l({type:3,panelId:null})}),[r,l]);let h=(0,p.oJ)(),m=null!==h?(h&p.ZM.Open)===p.ZM.Open:0===o.disclosureState,g=(0,a.useMemo)(()=>({open:0===o.disclosureState,close:d}),[o,d]);return a.createElement(C.Provider,{value:o.panelId},(0,s.sY)({ourProps:{ref:f,id:r},theirProps:i,slot:g,defaultTag:"div",features:A,visible:m,name:"Disclosure.Panel"}))})})},93850:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},2723:function(e,t,n){"use strict";n.d(t,{R:function(){return W}});var r,i,o,a,l=n(2265),s=n(82769),u=n(75606),c=n(32600),d=n(31860),f=n(46618),p=n(11931),h=n(60597),m=n(85390),g=n(93850),y=n(53891),v=n(35863),b=n(65410),E=n(25306),T=n(8076),_=n(90583),x=n(58227),C=n(28871),k=n(54851),S=n(12950),A=n(10841),w=n(61858),O=n(13995);let P=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function I(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let a=o?null!=(n=i.innerText)?n:"":r;return P.test(a)&&(a=a.replace(P,"")),a}var N=((r=N||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),R=((i=R||{})[i.Single=0]="Single",i[i.Multi=1]="Multi",i),L=((o=L||{})[o.Pointer=0]="Pointer",o[o.Other=1]="Other",o),D=((a=D||{})[a.OpenListbox=0]="OpenListbox",a[a.CloseListbox=1]="CloseListbox",a[a.GoToOption=2]="GoToOption",a[a.Search=3]="Search",a[a.ClearSearch=4]="ClearSearch",a[a.RegisterOption=5]="RegisterOption",a[a.UnregisterOption=6]="UnregisterOption",a[a.RegisterLabel=7]="RegisterLabel",a);function M(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,b.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let F={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=M(e),i=(0,y.d)(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>
32{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),o=i?e.options.indexOf(i):-1;return -1===o||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=M(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=M(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},B=(0,l.createContext)(null);function H(e){let t=(0,l.useContext)(B);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}B.displayName="ListboxActionsContext";let U=(0,l.createContext)(null);function j(e){let t=(0,l.useContext)(U);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,j),t}return t}function V(e,t){return(0,h.E)(t.type,F,e,t)}U.displayName="ListboxDataContext";let z=l.Fragment,G=p.AN.RenderStrategy|p.AN.Static,W=Object.assign((0,p.yV)(function(e,t){let{value:n,defaultValue:r,form:i,name:o,onChange:a,by:u=(e,t)=>e===t,disabled:d=!1,horizontal:m=!1,multiple:g=!1,...v}=e,T=m?"horizontal":"vertical",k=(0,f.T)(t),[w=g?[]:void 0,O]=(0,A.q)(n,a,r),[P,I]=(0,l.useReducer)(V,{dataRef:(0,l.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),N=(0,l.useRef)({static:!1,hold:!1}),R=(0,l.useRef)(null),L=(0,l.useRef)(null),D=(0,l.useRef)(null),M=(0,S.z)("string"==typeof u?(e,t)=>(null==e?void 0:e[u])===(null==t?void 0:t[u]):u),F=(0,l.useCallback)(e=>(0,h.E)(H.mode,{1:()=>w.some(t=>M(t,e)),0:()=>M(w,e)}),[w]),H=(0,l.useMemo)(()=>({...P,value:w,disabled:d,mode:g?1:0,orientation:T,compare:M,isSelected:F,optionsPropsRef:N,labelRef:R,buttonRef:L,optionsRef:D}),[w,d,g,P]);(0,c.e)(()=>{P.dataRef.current=H},[H]),(0,_.O)([H.buttonRef,H.optionsRef],(e,t)=>{var n;I({type:1}),(0,b.sP)(t,b.tJ.Loose)||(e.preventDefault(),null==(n=H.buttonRef.current)||n.focus())},0===H.listboxState);let j=(0,l.useMemo)(()=>({open:0===H.listboxState,disabled:d,value:w}),[H,d,w]),G=(0,S.z)(e=>{let t=H.options.find(t=>t.id===e);t&&X(t.dataRef.current.value)}),W=(0,S.z)(()=>{if(null!==H.activeOptionIndex){let{dataRef:e,id:t}=H.options[H.activeOptionIndex];X(e.current.value),I({type:2,focus:y.T.Specific,id:t})}}),$=(0,S.z)(()=>I({type:0})),Z=(0,S.z)(()=>I({type:1})),Y=(0,S.z)((e,t,n)=>e===y.T.Specific?I({type:2,focus:y.T.Specific,id:t,trigger:n}):I({type:2,focus:e,trigger:n})),q=(0,S.z)((e,t)=>(I({type:5,id:e,dataRef:t}),()=>I({type:6,id:e}))),K=(0,S.z)(e=>(I({type:7,id:e}),()=>I({type:7,id:null}))),X=(0,S.z)(e=>(0,h.E)(H.mode,{0:()=>null==O?void 0:O(e),1(){let t=H.value.slice(),n=t.findIndex(t=>M(t,e));return -1===n?t.push(e):t.splice(n,1),null==O?void 0:O(t)}})),J=(0,S.z)(e=>I({type:3,value:e})),Q=(0,S.z)(()=>I({type:4})),ee=(0,l.useMemo)(()=>({onChange:X,registerOption:q,registerLabel:K,goToOption:Y,closeListbox:Z,openListbox:$,selectActiveOption:W,selectOption:G,search:J,clearSearch:Q}),[]),et=(0,l.useRef)(null),en=(0,s.G)();return(0,l.useEffect)(()=>{et.current&&void 0!==r&&en.addEventListener(et.current,"reset",()=>{X(r)})},[et,X]),l.createElement(B.Provider,{value:ee},l.createElement(U.Provider,{value:H},l.createElement(E.up,{value:(0,h.E)(H.listboxState,{0:E.ZM.Open,1:E.ZM.Closed})},null!=o&&null!=w&&(0,C.t)({[o]:w}).map(([e,t],n)=>l.createElement(x._,{features:x.A.Hidden,ref:0===n?e=>{var t;et.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,p.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:e,value:t})})),(0,p.sY)({ourProps:{ref:k},theirProps:v,slot:j,defaultTag:z,name:"Listbox"}))))}),{Button:(0,p.yV)(function(e,t){var n;let r=(0,u.M)(),{id:i=`headlessui-listbox-button-${r}`,...o}=e,a=j("Listbox.Button"),c=H("Listbox.Button"),h=(0,f.T)(a.buttonRef,t),m=(0,s.G)(),b=(0,S.z)(e=>{switch(e.key){case g.R.Space:case g.R.Enter:case g.R.ArrowDown:e.preventDefault(),c.openListbox(),m.nextFrame(()=>{a.value||c.goToOption(y.T.First)});break;case g.R.ArrowUp:e.preventDefault(),c.openListbox(),m.nextFrame(()=>{a.value||c.goToOption(y.T.Last)})}}),E=(0,S.z)(e=>{e.key===g.R.Space&&e.preventDefault()}),_=(0,S.z)(e=>{if((0,v.P)(e.currentTarget))return e.preventDefault();0===a.listboxState?(c.closeListbox(),m.nextFrame(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
32)):(e.preventDefault(),c.openListbox())}),x=(0,d.v)(()=>{if(a.labelId)return[a.labelId,i].join(" ")},[a.labelId,i]),C=(0,l.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled,value:a.value}),[a]),k={ref:h,id:i,type:(0,T.f)(e,a.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=a.optionsRef.current)?void 0:n.id,"aria-expanded":0===a.listboxState,"aria-labelledby":x,disabled:a.disabled,onKeyDown:b,onKeyUp:E,onClick:_};return(0,p.sY)({ourProps:k,theirProps:o,slot:C,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,p.yV)(function(e,t){let n=(0,u.M)(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,o=j("Listbox.Label"),a=H("Listbox.Label"),s=(0,f.T)(o.labelRef,t);(0,c.e)(()=>a.registerLabel(r),[r]);let d=(0,S.z)(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),h=(0,l.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled}),[o]);return(0,p.sY)({ourProps:{ref:s,id:r,onClick:d},theirProps:i,slot:h,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,p.yV)(function(e,t){var n;let r=(0,u.M)(),{id:i=`headlessui-listbox-options-${r}`,...o}=e,a=j("Listbox.Options"),c=H("Listbox.Options"),v=(0,f.T)(a.optionsRef,t),b=(0,s.G)(),T=(0,s.G)(),_=(0,E.oJ)(),x=null!==_?(_&E.ZM.Open)===E.ZM.Open:0===a.listboxState;(0,l.useEffect)(()=>{var e;let t=a.optionsRef.current;t&&0===a.listboxState&&t!==(null==(e=(0,k.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[a.listboxState,a.optionsRef]);let C=(0,S.z)(e=>{switch(T.dispose(),e.key){case g.R.Space:if(""!==a.searchQuery)return e.preventDefault(),e.stopPropagation(),c.search(e.key);case g.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==a.activeOptionIndex){let{dataRef:e}=a.options[a.activeOptionIndex];c.onChange(e.current.value)}0===a.mode&&(c.closeListbox(),(0,m.k)().nextFrame(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
32));break;case(0,h.E)(a.orientation,{vertical:g.R.ArrowDown,horizontal:g.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),c.goToOption(y.T.Next);case(0,h.E)(a.orientation,{vertical:g.R.ArrowUp,horizontal:g.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),c.goToOption(y.T.Previous);case g.R.Home:case g.R.PageUp:return e.preventDefault(),e.stopPropagation(),c.goToOption(y.T.First);case g.R.End:case g.R.PageDown:return e.preventDefault(),e.stopPropagation(),c.goToOption(y.T.Last);case g.R.Escape:return e.preventDefault(),e.stopPropagation(),c.closeListbox(),b.nextFrame(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case g.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(c.search(e.key),T.setTimeout(()=>c.clearSearch(),350))}}),A=(0,d.v)(()=>{var e,t,n;return null!=(n=null==(e=a.labelRef.current)?void 0:e.id)?n:null==(t=a.buttonRef.current)?void 0:t.id},[a.labelRef.current,a.buttonRef.current]),w=(0,l.useMemo)(()=>({open:0===a.listboxState}),[a]),O={"aria-activedescendant":null===a.activeOptionIndex||null==(n=a.options[a.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===a.mode||void 0,"aria-labelledby":A,"aria-orientation":a.orientation,id:i,onKeyDown:C,role:"listbox",tabIndex:0,ref:v};return(0,p.sY)({ourProps:O,theirProps:o,slot:w,defaultTag:"ul",features:G,visible:x,name:"Listbox.Options"})}),Option:(0,p.yV)(function(e,t){let n,r;let i=(0,u.M)(),{id:o=`headlessui-listbox-option-${i}`,disabled:a=!1,value:s,...d}=e,h=j("Listbox.Option"),g=H("Listbox.Option"),v=null!==h.activeOptionIndex&&h.options[h.activeOptionIndex].id===o,b=h.isSelected(s),E=(0,l.useRef)(null),T=(n=(0,l.useRef)(""),r=(0,l.useRef)(""),(0,S.z)(()=>{let e=E.current;if(!e)return"";let t=e.innerText;if(n.current===t)return r.current;let i=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():I(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return I(e).trim()})(e).trim().toLowerCase();return n.current=t,r.current=i,i})),_=(0,w.E)({disabled:a,value:s,domRef:E,get textValue(){return T()}}),x=(0,f.T)(t,E);(0,c.e)(()=>{if(0!==h.listboxState||!v||0===h.activationTrigger)return;let e=(0,m.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=E.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[E,v,h.listboxState,h.activationTrigger,h.activeOptionIndex]),(0,c.e)(()=>g.registerOption(o,_),[_,o]);let C=(0,S.z)(e=>{if(a)return e.preventDefault();g.onChange(s),0===h.mode&&(g.closeListbox(),(0,m.k)().nextFrame(()=>{var e;return null==(e=h.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
32))}),k=(0,S.z)(()=>{if(a)return g.goToOption(y.T.Nothing);g.goToOption(y.T.Specific,o)}),A=(0,O.g)(),P=(0,S.z)(e=>A.update(e)),N=(0,S.z)(e=>{A.wasMoved(e)&&(a||v||g.goToOption(y.T.Specific,o,0))}),R=(0,S.z)(e=>{A.wasMoved(e)&&(a||v&&g.goToOption(y.T.Nothing))}),L=(0,l.useMemo)(()=>({active:v,selected:b,disabled:a}),[v,b,a]);return(0,p.sY)({ourProps:{id:o,ref:x,role:"option",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,"aria-selected":b,disabled:void 0,onClick:C,onFocus:k,onPointerEnter:P,onMouseEnter:P,onPointerMove:N,onMouseMove:N,onPointerLeave:R,onMouseLeave:R},theirProps:d,slot:L,defaultTag:"li",name:"Listbox.Option"})})})},73999:function(e,t,n){"use strict";n.d(t,{J:function(){return H}});var r,i,o=n(2265),a=n(60597),l=n(11931),s=n(46618),u=n(75606),c=n(93850),d=n(35863),f=n(65410),p=n(25306),h=n(8076),m=n(90583),g=n(54851),y=n(57728),v=n(6890),b=n(58227),E=n(12950),T=n(49376),_=n(61858),x=n(32600),C=n(59985),k=n(87250),S=((r=S||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),A=((i=A||{})[i.TogglePopover=0]="TogglePopover",i[i.ClosePopover=1]="ClosePopover",i[i.SetButton=2]="SetButton",i[i.SetButtonId=3]="SetButtonId",i[i.SetPanel=4]="SetPanel",i[i.SetPanelId=5]="SetPanelId",i);let w={0:e=>{let t={...e,popoverState:(0,a.E)(e.popoverState,{0:1,1:0})};return 0===t.popoverState&&(t.__demoMode=!1),t},1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
32e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},O=(0,o.createContext)(null);function P(e){let t=(0,o.useContext)(O);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,P),t}return t}O.displayName="PopoverContext";let I=(0,o.createContext)(null);function N(e){let t=(0,o.useContext)(I);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,N),t}return t}I.displayName="PopoverAPIContext";let R=(0,o.createContext)(null);function L(){return(0,o.useContext)(R)}R.displayName="PopoverGroupContext";let D=(0,o.createContext)(null);function M(e,t){return(0,a.E)(t.type,w,e,t)}D.displayName="PopoverPanelContext";let F=l.AN.RenderStrategy|l.AN.Static,B=l.AN.RenderStrategy|l.AN.Static,H=Object.assign((0,l.yV)(function(e,t){var n;let{__demoMode:r=!1,...i}=e,u=(0,o.useRef)(null),c=(0,s.T)(t,(0,s.h)(e=>{u.current=e})),d=(0,o.useRef)([]),h=(0,o.useReducer)(M,{__demoMode:r,popoverState:r?0:1,buttons:d,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,o.createRef)(),afterPanelSentinel:(0,o.createRef)()}),[{popoverState:g,button:b,buttonId:T,panel:x,panelId:S,beforePanelSentinel:A,afterPanelSentinel:w},P]=h,N=(0,y.i)(null!=(n=u.current)?n:b),R=(0,o.useMemo)(()=>{if(!b||!x)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(b))^Number(null==e?void 0:e.contains(x)))return!0;let e=(0,f.GO)(),t=e.indexOf(b),n=(t+e.length-1)%e.length,r=(t+1)%e.length,i=e[n],o=e[r];return!x.contains(i)&&!x.contains(o)},[b,x]),F=(0,_.E)(T),B=(0,_.E)(S),H=(0,o.useMemo)(()=>({buttonId:F,panelId:B,close:()=>P({type:1})}),[F,B,P]),U=L(),j=null==U?void 0:U.registerPopover,V=(0,E.z)(()=>{var e;return null!=(e=null==U?void 0:U.isFocusWithinPopoverGroup())?e:(null==N?void 0:N.activeElement)&&((null==b?void 0:b.contains(N.activeElement))||(null==x?void 0:x.contains(N.activeElement)))});(0,o.useEffect)(()=>null==j?void 0:j(H),[j,H]);let[z,G]=(0,k.k)(),W=(0,C.v)({portals:z,defaultContainers:[b,x]});(0,v.O)(null==N?void 0:N.defaultView,"focus",e=>{var t,n,r,i;e.target!==window&&e.target instanceof HTMLElement&&0===g&&(V()||b&&x&&(W.contains(e.target)||null!=(n=null==(t=A.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(i=null==(r=w.current)?void 0:r.contains)&&i.call(r,e.target)||P({type:1})))},!0),(0,m.O)(W.resolveContainers,(e,t)=>{P({type:1}),(0,f.sP)(t,f.tJ.Loose)||(e.preventDefault(),null==b||b.focus())},0===g);let $=(0,E.z)(e=>{P({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:b:b;null==t||t.focus()}),Z=(0,o.useMemo)(()=>({close:$,isPortalled:R}),[$,R]),Y=(0,o.useMemo)(()=>({open:0===g,close:$}),[g,$]);return o.createElement(D.Provider,{value:null},o.createElement(O.Provider,{value:h},o.createElement(I.Provider,{value:Z},o.createElement(p.up,{value:(0,a.E)(g,{0:p.ZM.Open,1:p.ZM.Closed})},o.createElement(G,null,(0,l.sY)({ourProps:{ref:c},theirProps:i,slot:Y,defaultTag:"div",name:"Popover"}),o.createElement(W.MainTreeNode,null))))))}),{Button:(0,l.yV)(function(e,t){let n=(0,u.M)(),{id:r=`headlessui-popover-button-${n}`,...i}=e,[p,m]=P("Popover.Button"),{isPortalled:g}=N("Popover.Button"),v=(0,o.useRef)(null),_=`headlessui-focus-sentinel-${(0,u.M)()}`,x=L(),C=null==x?void 0:x.closeOthers,k=null!==(0,o.useContext)(D);(0,o.useEffect)(()=>{if(!k)return m({type:3,buttonId:r}),()=>{m({type:3,buttonId:null})}},[k,r,m]);let[S]=(0,o.useState)(()=>Symbol()),A=(0,s.T)(v,t,k?null:e=>{if(e)p.buttons.current.push(S);else{let e=p.buttons.current.indexOf(S);-1!==e&&p.buttons.current.splice(e,1)}p.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&m({type:2,button:e})}),w=(0,s.T)(v,t),O=(0,y.i)(v),I=(0,E.z)(e=>{var t,n,r;if(k){if(1===p.popoverState)return;switch(e.key){case c.R.Space:case c.R.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),m({type:1}),null==(r=p.button)||r.focus()}}else switch(e.key){case c.R.Space:case c.R.Enter:e.preventDefault(),e.stopPropagation(),1===p.popoverState&&(null==C||C(p.buttonId)),m({type:0});break;case c.R.Escape:if(0!==p.popoverState)return null==C?void 0:C(p.buttonId);if(!v.current||null!=O&&O.activeElement&&!v.current.contains(O.activeElement))return;e.preventDefault(),e.stopPropagation(),m({type:1})}}),R=(0,E.z)(e=>{k||e.key===c.R.Space&&e.preventDefault()}),M=(0,E.z)(t=>{var n,r;(0,d.P)(t.currentTarget)||e.disabled||(k?(m({type:1}),null==(n=p.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===p.popoverState&&(null==C||C(p.buttonId)),m({type:0}),null==(r=p.button)||r.focus()))}),F=(0,E.z)(e=>{e.preventDefault(),e.stopPropagation()}),B=0===p.popoverState,H=(0,o.useMemo)(()=>({open:B}),[B]),U=(0,h.f)(e,v),j=k?{ref:w,type:U,onKeyDown:I,onClick:M}:{ref:A,id:p.buttonId,type:U,"aria-expanded":0===p.popoverState,"aria-controls":p.panel?p.panelId:void 0,onKeyDown:I,onKeyUp:R,onClick:M,onMouseDown:F},V=(0,T.l)(),z=(0,E.z)(()=>{let e=p.panel;e&&(0,a.E)(V.current,{[T.N.Forwards]:()=>(0,f.jA)(e,f.TO.First),[T.N.Backwards]:()=>(0,f.jA)(e,f.TO.Last)})===f.fE.Error&&(0,f.jA)((0,f.GO)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,a.E)(V.current,{[T.N.Forwards]:f.TO.Next,[T.N.Backwards]:f.TO.Previous}),{relativeTo:p.button})});return o.createElement(o.Fragment,null,(0,l.sY)({ourProps:j,theirProps:i,slot:H,defaultTag:"button",name:"Popover.Button"}),B&&!k&&g&&o.createElement(b._,{id:_,features:b.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:z}))}),Overlay:(0,l.yV)(function(e,t){let n=(0,u.M)(),{id:r=`headlessui-popover-overlay-${n}`,...i}=e,[{popoverState:a},c]=P("Popover.Overlay"),f=(0,s.T)(t),h=(0,p.oJ)(),m=null!==h?(h&p.ZM.Open)===p.ZM.Open:0===a,g=(0,E.z)(e=>{if((0,d.P)(e.currentTarget))return e.preventDefault();c({type:1})}),y=(0,o.useMemo)(()=>({open:0===a}
32),[a]);return(0,l.sY)({ourProps:{ref:f,id:r,"aria-hidden":!0,onClick:g},theirProps:i,slot:y,defaultTag:"div",features:F,visible:m,name:"Popover.Overlay"})}),Panel:(0,l.yV)(function(e,t){let n=(0,u.M)(),{id:r=`headlessui-popover-panel-${n}`,focus:i=!1,...d}=e,[h,m]=P("Popover.Panel"),{close:g,isPortalled:v}=N("Popover.Panel"),_=`headlessui-focus-sentinel-before-${(0,u.M)()}`,C=`headlessui-focus-sentinel-after-${(0,u.M)()}`,k=(0,o.useRef)(null),S=(0,s.T)(k,t,e=>{m({type:4,panel:e})}),A=(0,y.i)(k);(0,x.e)(()=>(m({type:5,panelId:r}),()=>{m({type:5,panelId:null})}),[r,m]);let w=(0,p.oJ)(),O=null!==w?(w&p.ZM.Open)===p.ZM.Open:0===h.popoverState,I=(0,E.z)(e=>{var t;if(e.key===c.R.Escape){if(0!==h.popoverState||!k.current||null!=A&&A.activeElement&&!k.current.contains(A.activeElement))return;e.preventDefault(),e.stopPropagation(),m({type:1}),null==(t=h.button)||t.focus()}});(0,o.useEffect)(()=>{var t;e.static||1===h.popoverState&&(null==(t=e.unmount)||t)&&m({type:4,panel:null})},[h.popoverState,e.unmount,e.static,m]),(0,o.useEffect)(()=>{if(h.__demoMode||!i||0!==h.popoverState||!k.current)return;let e=null==A?void 0:A.activeElement;k.current.contains(e)||(0,f.jA)(k.current,f.TO.First)},[h.__demoMode,i,k,h.popoverState]);let R=(0,o.useMemo)(()=>({open:0===h.popoverState,close:g}),[h,g]),L={ref:S,id:r,onKeyDown:I,onBlur:i&&0===h.popoverState?e=>{var t,n,r,i,o;let a=e.relatedTarget;a&&k.current&&(null!=(t=k.current)&&t.contains(a)||(m({type:1}),(null!=(r=null==(n=h.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,a)||null!=(o=null==(i=h.afterPanelSentinel.current)?void 0:i.contains)&&o.call(i,a))&&a.focus({preventScroll:!0})))}:void 0,tabIndex:-1},M=(0,T.l)(),F=(0,E.z)(()=>{let e=k.current;e&&(0,a.E)(M.current,{[T.N.Forwards]:()=>{var t;(0,f.jA)(e,f.TO.First)===f.fE.Error&&(null==(t=h.afterPanelSentinel.current)||t.focus())},[T.N.Backwards]:()=>{var e;null==(e=h.button)||e.focus({preventScroll:!0})}})}),H=(0,E.z)(()=>{let e=k.current;e&&(0,a.E)(M.current,{[T.N.Forwards]:()=>{var e;if(!h.button)return;let t=(0,f.GO)(),n=t.indexOf(h.button),r=t.slice(0,n+1),i=[...t.slice(n+1),...r];for(let t of i.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=h.panel)&&e.contains(t)){let e=i.indexOf(t);-1!==e&&i.splice(e,1)}(0,f.jA)(i,f.TO.First,{sorted:!1})},[T.N.Backwards]:()=>{var t;(0,f.jA)(e,f.TO.Previous)===f.fE.Error&&(null==(t=h.button)||t.focus())}})});return o.createElement(D.Provider,{value:r},O&&v&&o.createElement(b._,{id:_,ref:h.beforePanelSentinel,features:b.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:F}),(0,l.sY)({ourProps:L,theirProps:d,slot:R,defaultTag:"div",features:B,visible:O,name:"Popover.Panel"}),O&&v&&o.createElement(b._,{id:C,ref:h.afterPanelSentinel,features:b.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:H}))}),Group:(0,l.yV)(function(e,t){let n=(0,o.useRef)(null),r=(0,s.T)(n,t),[i,a]=(0,o.useState)([]),u=(0,E.z)(e=>{a(t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t})}),c=(0,E.z)(e=>(a(t=>[...t,e]),()=>u(e))),d=(0,E.z)(()=>{var e;let t=(0,g.r)(n);if(!t)return!1;let r=t.activeElement;return!!(null!=(e=n.current)&&e.contains(r))||i.some(e=>{var n,i;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(i=t.getElementById(e.panelId.current))?void 0:i.contains(r))})}),f=(0,E.z)(e=>{for(let t of i)t.buttonId.current!==e&&t.close()}),p=(0,o.useMemo)(()=>({registerPopover:c,unregisterPopover:u,isFocusWithinPopoverGroup:d,closeOthers:f}),[c,u,d,f]),h=(0,o.useMemo)(()=>({}),[]);return o.createElement(R.Provider,{value:p},(0,l.sY)({ourProps:{ref:r},theirProps:e,slot:h,defaultTag:"div",name:"Popover.Group"}))})})},87250:function(e,t,n){"use strict";n.d(t,{h:function(){return b},k:function(){return v}});var r=n(2265),i=n(54887),o=n(11931),a=n(32600),l=n(64705),s=n(48957),u=n(46618),c=n(33051),d=n(57728),f=n(52057),p=n(12950);let h=r.Fragment,m=r.Fragment,g=(0,r.createContext)(null),y=(0,r.createContext)(null);function v(){let e=(0,r.useContext)(y),t=(0,r.useRef)([]),n=(0,p.z)(n=>(t.current.push(n),e&&e.register(n),()=>i(n))),i=(0,p.z)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),o=(0,r.useMemo)(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,(0,r.useMemo)(()=>function({children:e}){return r.createElement(y.Provider,{value:o},e)},[o])]}let b=Object.assign((0,o.yV)(function(e,t){let n=(0,r.useRef)(null),p=(0,u.T)((0,u.h)(e=>{n.current=e}),t),m=(0,d.i)(n),v=function(e){let t=(0,l.n)(),n=(0,r.useContext)(g),i=(0,d.i)(e),[o,a]=(0,r.useState)(()=>
32{if(!t&&null!==n||f.O.isServer)return null;let e=null==i?void 0:i.getElementById("headlessui-portal-root");if(e)return e;if(null===i)return null;let r=i.createElement("div");return r.setAttribute("id","headlessui-portal-root"),i.body.appendChild(r)});return(0,r.useEffect)(()=>{null!==o&&(null!=i&&i.body.contains(o)||null==i||i.body.appendChild(o))},[o,i]),(0,r.useEffect)(()=>{t||null!==n&&a(n.current)},[n,a,t]),o}(n),[b]=(0,r.useState)(()=>{var e;return f.O.isServer?null:null!=(e=null==m?void 0:m.createElement("div"))?e:null}),E=(0,r.useContext)(y),T=(0,s.H)();return(0,a.e)(()=>{!v||!b||v.contains(b)||(b.setAttribute("data-headlessui-portal",""),v.appendChild(b))},[v,b]),(0,a.e)(()=>{if(b&&E)return E.register(b)},[E,b]),(0,c.L)(()=>{var e;v&&b&&(b instanceof Node&&v.contains(b)&&v.removeChild(b),v.childNodes.length<=0&&(null==(e=v.parentElement)||e.removeChild(v)))}),T&&v&&b?(0,i.createPortal)((0,o.sY)({ourProps:{ref:p},theirProps:e,defaultTag:h,name:"Portal"}),b):null}),{Group:(0,o.yV)(function(e,t){let{target:n,...i}=e,a={ref:(0,u.T)(t)};return r.createElement(g.Provider,{value:n},(0,o.sY)({ourProps:a,theirProps:i,defaultTag:m,name:"Popover.Group"}))})})},9805:function(e,t,n){"use strict";n.d(t,{u:function(){return N}});var r,i=n(2265),o=n(11931),a=n(25306),l=n(60597),s=n(80634),u=n(32600),c=n(61858),d=n(48957),f=n(46618),p=n(85390);function h(e,...t){e&&t.length>0&&e.classList.add(...t)}function m(e,...t){e&&t.length>0&&e.classList.remove(...t)}var g=n(82769),y=n(12950),v=n(63960);function b(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let E=(0,i.createContext)(null);E.displayName="TransitionContext";var T=((r=T||{}).Visible="visible",r.Hidden="hidden",r);let _=(0,i.createContext)(null);function x(e){return"children"in e?x(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function C(e,t){let n=(0,c.E)(e),r=(0,i.useRef)([]),a=(0,s.t)(),u=(0,g.G)(),d=(0,y.z)((e,t=o.l4.Hidden)=>{let i=r.current.findIndex(({el:t})=>t===e);-1!==i&&((0,l.E)(t,{[o.l4.Unmount](){r.current.splice(i,1)},[o.l4.Hidden](){r.current[i].state="hidden"}}),u.microTask(()=>{var e;!x(r)&&a.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,y.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>d(e,o.l4.Unmount)}),p=(0,i.useRef)([]),h=(0,i.useRef)(Promise.resolve()),m=(0,i.useRef)({enter:[],leave:[],idle:[]}),v=(0,y.z)((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{p.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(m.current[n].map(([e,t])=>t)).then(()=>e())}
32)]),"enter"===n?h.current=h.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),b=(0,y.z)((e,t,n)=>{Promise.all(m.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>n(t))});return(0,i.useMemo)(()=>({children:r,register:f,unregister:d,onStart:v,onStop:b,wait:h,chains:m}),[f,d,r,v,b,m,h])}function k(){}_.displayName="NestingContext";let S=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function A(e){var t;let n={};for(let r of S)n[r]=null!=(t=e[r])?t:k;return n}let w=o.AN.RenderStrategy,O=(0,o.yV)(function(e,t){let{show:n,appear:r=!1,unmount:l,...s}=e,c=(0,i.useRef)(null),p=(0,f.T)(c,t);(0,d.H)();let h=(0,a.oJ)();if(void 0===n&&null!==h&&(n=(h&a.ZM.Open)===a.ZM.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[m,g]=(0,i.useState)(n?"visible":"hidden"),v=C(()=>{g("hidden")}),[b,T]=(0,i.useState)(!0),k=(0,i.useRef)([n]);(0,u.e)(()=>{!1!==b&&k.current[k.current.length-1]!==n&&(k.current.push(n),T(!1))},[k,n]);let S=(0,i.useMemo)(()=>({show:n,appear:r,initial:b}),[n,r,b]);(0,i.useEffect)(()=>{if(n)g("visible");else if(x(v)){let e=c.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&g("hidden")}else g("hidden")},[n,v]);let A={unmount:l},O=(0,y.z)(()=>{var t;b&&T(!1),null==(t=e.beforeEnter)||t.call(e)}),I=(0,y.z)(()=>{var t;b&&T(!1),null==(t=e.beforeLeave)||t.call(e)});return i.createElement(_.Provider,{value:v},i.createElement(E.Provider,{value:S},(0,o.sY)({ourProps:{...A,as:i.Fragment,children:i.createElement(P,{ref:p,...A,...s,beforeEnter:O,beforeLeave:I})},theirProps:{},defaultTag:i.Fragment,features:w,visible:"visible"===m,name:"Transition"})))}),P=(0,o.yV)(function(e,t){var n;let r,{beforeEnter:T,afterEnter:k,beforeLeave:S,afterLeave:O,enter:P,enterFrom:I,enterTo:N,entered:R,leave:L,leaveFrom:D,leaveTo:M,...F}=e,B=(0,i.useRef)(null),H=(0,f.T)(B,t),U=F.unmount?o.l4.Unmount:o.l4.Hidden,{show:j,appear:V,initial:z}=function(){let e=(0,i.useContext)(E);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[G,W]=(0,i.useState)(j?"visible":"hidden"),$=function(){let e=(0,i.useContext)(_);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Z,unregister:Y}=$,q=(0,i.useRef)(null);(0,i.useEffect)(()=>Z(B),[Z,B]),(0,i.useEffect)(()=>{if(U===o.l4.Hidden&&B.current){if(j&&"visible"!==G){W("visible");return}return(0,l.E)(G,{hidden:()=>Y(B),visible:()=>Z(B)})}},[G,B,Z,Y,j,U]);let K=(0,c.E)({enter:b(P),enterFrom:b(I),enterTo:b(N),entered:b(R),leave:b(L),leaveFrom:b(D),leaveTo:b(M)}),X=(n={beforeEnter:T,afterEnter:k,beforeLeave:S,afterLeave:O},r=(0,i.useRef)(A(n)),(0,i.useEffect)(()=>{r.current=A(n)},[n]),r),J=(0,d.H)();(0,i.useEffect)(()=>{if(J&&"visible"===G&&null===B.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[B,G,J]);let Q=z&&!V,ee=!J||Q||q.current===j?"idle":j?"enter":"leave",et=function(e=0){let[t,n]=(0,i.useState)(e),r=(0,s.t)(),o=(0,i.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,i.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:o,hasFlag:a,removeFlag:(0,i.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,i.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),en=(0,y.z)(e=>(0,l.E)(e,{enter:()=>{et.addFlag(a.ZM.Opening),X.current.beforeEnter()},leave:()=>{et.addFlag(a.ZM.Closing),X.current.beforeLeave()},idle:()=>{}})),er=(0,y.z)(e=>(0,l.E)(e,{enter:()=>{et.removeFlag(a.ZM.Opening),X.current.afterEnter()},leave:()=>{et.removeFlag(a.ZM.Closing),X.current.afterLeave()},idle:()=>{}})),ei=C(()=>{W("hidden"),Y(B)},$);(function({container:e,direction:t,classes:n,onStart:r,onStop:i}){let o=(0,s.t)(),a=(0,g.G)(),d=(0,c.E)(t);(0,u.e)(()=>{let t=(0,p.k)();a.add(t.dispose);let s=e.current;if(s&&"idle"!==d.current&&o.current){var u,c,f;let e,o,a,g,y,v,b;return t.dispose(),r.current(d.current),t.add((u=n.current,c="enter"===d.current,f=()=>{t.dispose(),i.current(d.current)},o=c?"enter":"leave",a=(0,p.k)(),g=void 0!==f?(e={called:!1},(...t)=>{if(!e.called)return e.called=!0,f(...t)}):()=>{}
32,"enter"===o&&(s.removeAttribute("hidden"),s.style.display=""),y=(0,l.E)(o,{enter:()=>u.enter,leave:()=>u.leave}),v=(0,l.E)(o,{enter:()=>u.enterTo,leave:()=>u.leaveTo}),b=(0,l.E)(o,{enter:()=>u.enterFrom,leave:()=>u.leaveFrom}),m(s,...u.enter,...u.enterTo,...u.enterFrom,...u.leave,...u.leaveFrom,...u.leaveTo,...u.entered),h(s,...y,...b),a.nextFrame(()=>{m(s,...b),h(s,...v),function(e,t){let n=(0,p.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),l=o+a;if(0!==l){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},l),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(s,()=>(m(s,...y),h(s,...u.entered),g()))}),a.dispose)),t.dispose}},[t])})({container:B,classes:K,direction:ee,onStart:(0,c.E)(e=>{ei.onStart(B,e,en)}),onStop:(0,c.E)(e=>{ei.onStop(B,e,er),"leave"!==e||x(ei)||(W("hidden"),Y(B))})}),(0,i.useEffect)(()=>{Q&&(U===o.l4.Hidden?q.current=null:q.current=j)},[j,Q,G]);let eo=F;return V&&j&&z&&(eo={...eo,className:(0,v.A)(F.className,...K.current.enter,...K.current.enterFrom)}),i.createElement(_.Provider,{value:ei},i.createElement(a.up,{value:(0,l.E)(G,{visible:a.ZM.Open,hidden:a.ZM.Closed})|et.flags},(0,o.sY)({ourProps:{ref:H},theirProps:eo,defaultTag:"div",features:w,visible:"visible"===G,name:"Transition.Child"})))}),I=(0,o.yV)(function(e,t){let n=null!==(0,i.useContext)(E),r=null!==(0,a.oJ)();return i.createElement(i.Fragment,null,!n&&r?i.createElement(O,{ref:t,...e}):i.createElement(P,{ref:t,...e}))}),N=Object.assign(O,{Child:I,Root:O})},31860:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(2265),i=n(32600),o=n(61858);function a(e,t){let[n,a]=(0,r.useState)(e),l=(0,o.E)(e);return(0,i.e)(()=>a(l.current),[l,a,...t]),n}},10841:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(2265),i=n(12950);function o(e,t,n){let[o,a]=(0,r.useState)(n),l=void 0!==e,s=(0,r.useRef)(l),u=(0,r.useRef)(!1),c=(0,r.useRef)(!1);return!l||s.current||u.current?l||!s.current||c.current||(c.current=!0,s.current=l,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.")):(u.current=!0,s.current=l,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.")),[l?e:o,(0,i.z)(e=>(l||a(e),null==t?void 0:t(e)))]}},82769:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(2265),i=n(85390);function o(){let[e]=(0,r.useState)(i.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},6890:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var r=n(2265),i=n(61858);function o(e,t,n,o){let a=(0,i.E)(n);(0,r.useEffect)(()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)},[e,t,o])}},12950:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(2265),i=n(61858);let o=function(e){let t=(0,i.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},75606:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r,i=n(2265),o=n(32600),a=n(48957),l=n(52057);let s=null!=(r=i.useId)?r:function(){let e=(0,a.H)(),[t,n]=i.useState(e?()=>l.O.nextId():null);return(0,o.e)(()=>{null===t&&n(l.O.nextId())},[t]),null!=t?""+t:void 0}},80634:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(2265),i=n(32600);function o(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},32600:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var r=n(2265),i=n(52057);let o=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},61858:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(2265),i=n(32600);function o(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},33051:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2265),i=n(55195),o=n(12950);function a(e){let t=(0,o.z)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,i.Y)(()=>{n.current&&t()})}),[t])}},90583:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(2265),i=n(65410),o=n(61858);function a(e,t,n){let i=(0,o.E)(t);(0,r.useEffect)(()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}var l=n(27976);function s(e,t,n=!0){let o=(0,r.useRef)(!1);function s(n,r){if(!o.current||n.defaultPrevented)return;let a=r(n);if(null!==a&&a.getRootNode().contains(a)&&a.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(a)||n.composed&&n.composedPath().includes(e))return}return(0,i.sP)(a,i.tJ.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{o.current=n})},[n]);let u=(0,r.useRef)(null);a("pointerdown",e=>{var t,n;o.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),a("mousedown",e=>{var t,n;o.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),a("click",e=>{u.current&&(s(e,()=>u.current),u.current=null)},!0),a("touchend",e=>s(e,()=>e.target instanceof HTMLElement?e.target:null),!0),(0,l.s)("blur",e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},57728:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(2265),i=n(54851);function o(...e){return(0,r.useMemo)(()=>(0,i.r)(...e),[...e])}},8076:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(2265),i=n(32600);function o(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function a(e,t){let[n,a]=(0,r.useState)(()=>o(e));return(0,i.e)(()=>{a(o(e))},[e.type,e.as]),(0,i.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")},[n,t]),n}},59985:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});var r=n(2265),i=n(58227),o=n(12950),a=n(57728);function l({defaultContainers:e=[],portals:t}={}){let n=(0,r.useRef)(null),l=(0,a.i)(n),s=(0,o.z)(()=>{var r;let i=[];for(let t of e)null!==t&&(t instanceof HTMLElement?i.push(t):"current"in t&&t.current instanceof HTMLElement&&i.push(t.current));if(null!=t&&t.current)for(let e of t.current)i.push(e);for(let e of null!=(r=null==l?void 0:l.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(n.current)||i.some(t=>e.contains(t))||i.push(e));return i});
32return{resolveContainers:s,contains:(0,o.z)(e=>s().some(t=>t.contains(e))),mainTreeNodeRef:n,MainTreeNode:(0,r.useMemo)(()=>function(){return r.createElement(i._,{features:i.A.Hidden,ref:n})},[n])}}},48957:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(2265),i=n(52057);function o(){let[e,t]=(0,r.useState)(i.O.isHandoffComplete);return e&&!1===i.O.isHandoffComplete&&t(!1),(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>i.O.handoff(),[]),e}},46618:function(e,t,n){"use strict";n.d(t,{T:function(){return l},h:function(){return a}});var r=n(2265),i=n(12950);let o=Symbol();function a(e,t=!0){return Object.assign(e,{[o]:t})}function l(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:n}},49376:function(e,t,n){"use strict";n.d(t,{N:function(){return a},l:function(){return l}});var r,i=n(2265),o=n(27976),a=((r=a||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function l(){let e=(0,i.useRef)(0);return(0,o.s)("keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)},!0),e}},13995:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(2265);function i(e){return[e.screenX,e.screenY]}function o(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=i(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=i(t)}}}},7566:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(2265),i=n(12950);function o(e,t){let n=(0,r.useRef)([]),o=(0,i.z)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,i]of t.entries())if(n.current[r]!==i){let r=o(t,e);return n.current=t,r}},[o,...t])}},27976:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(2265),i=n(61858);function o(e,t,n){let o=(0,i.E)(t);(0,r.useEffect)(()=>{function t(e){o.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}},58227:function(e,t,n){"use strict";n.d(t,{A:function(){return o},_:function(){return a}});var r,i=n(11931),o=((r=o||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let a=(0,i.yV)(function(e,t){let{features:n=1,...r}=e,o={ref:t,"aria-hidden":(2&n)==2||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&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:o,theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})},25306:function(e,t,n){"use strict";n.d(t,{ZM:function(){return a},oJ:function(){return l},up:function(){return s}});var r,i=n(2265);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var a=((r=a||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function l(){return(0,i.useContext)(o)}function s({value:e,children:t}){return i.createElement(o.Provider,{value:e},t)}},64705:function(e,t,n){"use strict";n.d(t,{O:function(){return a},n:function(){return o}});var r=n(2265);let i=(0,r.createContext)(!1);function o(){return(0,r.useContext)(i)}function a(e){return r.createElement(i.Provider,{value:e.force},e.children)}},35863:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},53891:function(e,t,n){"use strict";n.d(t,{T:function(){return i},d:function(){return o}});var r,i=((r=i||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function o(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1,o=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,r)=>(-1===i||!(r.length-n-1>=i))&&!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=i)&&!t.resolveDisabled(e));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}})();return -1===o?r:o}},63960:function(e,t,n){"use strict";function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},85390:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r.Y)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(55195)},52057:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class a{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server"
32:"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let l=new a},65410:function(e,t,n){"use strict";n.d(t,{C5:function(){return v},GO:function(){return h},TO:function(){return d},fE:function(){return f},jA:function(){return E},sP:function(){return g},tJ:function(){return m},z2:function(){return b}});var r,i,o,a,l,s=n(60597),u=n(54851);let c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var d=((r=d||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),f=((i=f||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),p=((o=p||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function h(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(c)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var m=((a=m||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a);function g(e,t=0){var n;return e!==(null==(n=(0,u.r)(e))?void 0:n.body)&&(0,s.E)(t,{0:()=>e.matches(c),1(){let t=e;for(;null!==t;){if(t.matches(c))return!0;t=t.parentElement}return!1}})}var y=((l=y||{})[l.Keyboard=0]="Keyboard",l[l.Mouse=1]="Mouse",l);function v(e){null==e||e.focus({preventScroll:!0})}function b(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var o,a,l;let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?b(e):e:h(e);i.length>0&&u.length>1&&(u=u.filter(e=>!i.includes(e))),r=null!=r?r:s.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,m=u.length,g;do{if(p>=m||p+m<=0)return 0;let e=d+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(g=u[e])||g.focus(f),p+=c}while(g!==s.activeElement);return 6&t&&null!=(l=null==(a=null==(o=g)?void 0:o.matches)?void 0:a.call(o,"textarea,input"))&&l&&g.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},28871:function(e,t,n){"use strict";function r(e,t){return e?e+"["+t+"]":t}n.d(t,{t:function(){return function e(t={},n=null,i=[]){for(let[o,a]of Object.entries(t))!function t(n,i,o){if(Array.isArray(o))for(let[e,a]of o.entries())t(n,r(i,e.toString()),a);else o instanceof Date?n.push([i,o.toISOString()]):"boolean"==typeof o?n.push([i,o?"1":"0"]):"string"==typeof o?n.push([i,o]):"number"==typeof o?n.push([i,`${o}`]):null==o?n.push([i,""]):e(o,i,n)}(i,r(n,o),a);return i}}})},60597:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},55195:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},54851:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(52057);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},34644:function(e,t,n){"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return i}})},11931:function(e,t,n){"use strict";n.d(t,{AN:function(){return s},l4:function(){return u},oA:function(){return h},sY:function(){return c},yV:function(){return p}});var r,i,o=n(2265),a=n(63960),l=n(60597),s=((r=s||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a}){let s=f(t,e);if(o)return d(s,n,r,a);let u=null!=i?i:0;if(2&u){let{static:e=!1,...t}=s;if(e)return d(t,n,r,a)}if(1&u){let{unmount:e=!0,...t}=s;return(0,l.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return d(s,n,r,a)}function d(e,t={},n,r){let{as:i=n,children:l,refName:s="ref",...u}=m(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},d="function"==typeof l?l(t):l;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let p={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(i===o.Fragment&&Object.keys(h(u)).length>0){if(!(0,o.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(e=>` - ${e}`).join(` 33`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 34`)].join(` 35`));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,a.A)(null==e?void 0:e.className(...t),u.className):(0,a.A)(null==e?void 0:e.className,u.className);return(0,o.cloneElement)(d,Object.assign({},f(d.props,h(m(u,["ref"]))),p,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(d.ref,c.ref),t?{className:t}:{}))}return(0,o.createElement)(i,Object.assign({},m(u,["ref"]),i!==o.Fragment&&c,i!==o.Fragment&&p),d)}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function p(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},31847:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t}
35,e):null,r.createElement("path",{d:"M10 3.75a2 2 0 10-4 0 2 2 0 004 0zM17.25 4.5a.75.75 0 000-1.5h-5.5a.75.75 0 000 1.5h5.5zM5 3.75a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5a.75.75 0 01.75.75zM4.25 17a.75.75 0 000-1.5h-1.5a.75.75 0 000 1.5h1.5zM17.25 17a.75.75 0 000-1.5h-5.5a.75.75 0 000 1.5h5.5zM9 10a.75.75 0 01-.75.75h-5.5a.75.75 0 010-1.5h5.5A.75.75 0 019 10zM17.25 10.75a.75.75 0 000-1.5h-1.5a.75.75 0 000 1.5h1.5zM14 10a2 2 0 10-4 0 2 2 0 004 0zM10 16.25a2 2 0 10-4 0 2 2 0 004 0z"}))});t.Z=i},76197:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M10 3a.75.75 0 01.75.75v10.638l3.96-4.158a.75.75 0 111.08 1.04l-5.25 5.5a.75.75 0 01-1.08 0l-5.25-5.5a.75.75 0 111.08-1.04l3.96 4.158V3.75A.75.75 0 0110 3z",clipRule:"evenodd"}))});t.Z=i},79147:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M15.312 11.424a5.5 5.5 0 01-9.201 2.466l-.312-.311h2.433a.75.75 0 000-1.5H3.989a.75.75 0 00-.75.75v4.242a.75.75 0 001.5 0v-2.43l.31.31a7 7 0 0011.712-3.138.75.75 0 00-1.449-.39zm1.23-3.723a.75.75 0 00.219-.53V2.929a.75.75 0 00-1.5 0V5.36l-.31-.31A7 7 0 003.239 8.188a.75.75 0 101.448.389A5.5 5.5 0 0113.89 6.11l.311.31h-2.432a.75.75 0 000 1.5h4.243a.75.75 0 00.53-.219z",clipRule:"evenodd"}))});t.Z=i},91674:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M10 17a.75.75 0 01-.75-.75V5.612L5.29 9.77a.75.75 0 01-1.08-1.04l5.25-5.5a.75.75 0 011.08 0l5.25 5.5a.75.75 0 11-1.08 1.04l-3.96-4.158V16.25A.75.75 0 0110 17z",clipRule:"evenodd"}))});t.Z=i},22432:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M7.22 3.22A.75.75 0 017.75 3h9A2.25 2.25 0 0119 5.25v9.5A2.25 2.25 0 0116.75 17h-9a.75.75 0 01-.53-.22L.97 10.53a.75.75 0 010-1.06l6.25-6.25zm3.06 4a.75.75 0 10-1.06 1.06L10.94 10l-1.72 1.72a.75.75 0 101.06 1.06L12 11.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L12 8.94l-1.72-1.72z",clipRule:"evenodd"}))});t.Z=i},95705:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z",clipRule:"evenodd"}))});t.Z=i},17550:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))});t.Z=i},79741:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.5 17a4.5 4.5 0 01-1.44-8.765 4.5 4.5 0 018.302-3.046 3.5 3.5 0 014.504 4.272A4 4 0 0115 17H5.5zm3.75-2.75a.75.75 0 001.5 0V9.66l1.95 2.1a.75.75 0 101.1-1.02l-3.25-3.5a.75.75 0 00-1.1 0l-3.25 3.5a.75.75 0 101.1 1.02l1.95-2.1v4.59z",clipRule:"evenodd"}))});t.Z=i},65399:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M7.84 1.804A1 1 0 018.82 1h2.36a1 1 0 01.98.804l.331 1.652a6.993 6.993 0 011.929 1.115l1.598-.54a1 1 0 011.186.447l1.18 2.044a1 1 0 01-.205 1.251l-1.267 1.113a7.047 7.047 0 010 2.228l1.267 1.113a1 1 0 01.206 1.25l-1.18 2.045a1 1 0 01-1.187.447l-1.598-.54a6.993 6.993 0 01-1.929 1.115l-.33 1.652a1 1 0 01-.98.804H8.82a1 1 0 01-.98-.804l-.331-1.652a6.993 6.993 0 01-1.929-1.115l-1.598.54a1 1 0 01-1.186-.447l-1.18-2.044a1 1 0 01.205-1.251l1.267-1.114a7.05 7.05 0 010-2.227L1.821 7.773a1 1 0 01-.206-1.25l1.18-2.045a1 1 0 011.187-.447l1.598.54A6.993 6.993 0 017.51 3.456l.33-1.652zM10 13a3 3 0 100-6 3 3 0 000 6z",clipRule:"evenodd"}))});t.Z=i},87360:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M2.695 14.763l-1.262 3.154a.5.5 0 00.65.65l3.155-1.262a4 4 0 001.343-.885L17.5 5.5a2.121 2.121 0 00-3-3L3.58 13.42a4 4 0 00-.885 1.343z"}))});t.Z=i},58803:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M1 5.25A2.25 2.25 0 013.25 3h13.5A2.25 2.25 0 0119 5.25v9.5A2.25 2.25 0 0116.75 17H3.25A2.25 2.25 0 011 14.75v-9.5zm1.5 5.81v3.69c0 .414.336.75.75.75h13.5a.75.75 0 00.75-.75v-2.69l-2.22-2.219a.75.75 0 00-1.06 0l-1.91 1.909.47.47a.75.75 0 11-1.06 1.06L6.53 8.091a.75.75 0 00-1.06 0l-2.97 2.97zM12 7a1 1 0 11-2 0 1 1 0 012 0z",clipRule:"evenodd"}))});t.Z=i},9400:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M10.75 4.75a.75.75 0 00-1.5 0v4.5h-4.5a.75.75 0 000 1.5h4.5v4.5a.75.75 0 001.5 0v-4.5h4.5a.75.75 0 000-1.5h-4.5v-4.5z"}))});t.Z=i},95779:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M15.98 1.804a1 1 0 00-1.96 0l-.24 1.192a1 1 0 01-.784.785l-1.192.238a1 1 0 000 1.962l1.192.238a1 1 0 01.785.785l.238 1.192a1 1 0 001.962 0l.238-1.192a1 1 0 01.785-.785l1.192-.238a1 1 0 000-1.962l-1.192-.238a1 1 0 01-.785-.785l-.238-1.192zM6.949 5.684a1 1 0 00-1.898 0l-.683 2.051a1 1 0 01-.633.633l-2.051.683a1 1 0 000 1.898l2.051.684a1 1 0 01.633.632l.683 2.051a1 1 0 001.898 0l.683-2.051a1 1 0 01.633-.633l2.051-.683a1 1 0 000-1.898l-2.051-.683a1 1 0 01-.633-.633L6.95 5.684zM13.949 13.684a1 1 0 00-1.898 0l-.184.551a1 1 0 01-.632.633l-.551.183a1 1 0 000 1.898l.551.183a1 1 0 01.633.633l.183.551a1 1 0 001.898 0l.184-.551a1 1 0 01.632-.633l.551-.183a1 1 0 000-1.898l-.551-.184a1 1 0 01-.633-.632l-.183-.551z"}))});t.Z=i},58014:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 006 3.75v.443
35c-.795.077-1.584.176-2.365.298a.75.75 0 10.23 1.482l.149-.022.841 10.518A2.75 2.75 0 007.596 19h4.807a2.75 2.75 0 002.742-2.53l.841-10.52.149.023a.75.75 0 00.23-1.482A41.03 41.03 0 0014 4.193V3.75A2.75 2.75 0 0011.25 1h-2.5zM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4zM8.58 7.72a.75.75 0 00-1.5.06l.3 7.5a.75.75 0 101.5-.06l-.3-7.5zm4.34.06a.75.75 0 10-1.5-.06l-.3 7.5a.75.75 0 101.5.06l.3-7.5z",clipRule:"evenodd"}))});t.Z=i},20617:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"}))});t.Z=i},67129:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});t.Z=i},49186:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))});t.Z=i},36108:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 01-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 011.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 00-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 01-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5a3.375 3.375 0 00-3.375-3.375H9.75"}))});t.Z=i},5838:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))});t.Z=i},10887:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))});t.Z=i},20787:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"}))});t.Z=i},21564:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 12H6"}))});t.Z=i},68088:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m6-6H6"}))});t.Z=i},77227:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))});t.Z=i},42893:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))});t.Z=i},96689:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))});t.Z=i},49294:function(e,t,n){"use strict";n.d(t,{GR:function(){return a},Ol:function(){return d},Pq:function(){return u},Rf:function(){return m},Xp:function(){return f},k0:function(){return p},qp:function(){return c},zV:function(){return s}});var r=n(97067),i=n(73324);let o=new Set(["http:","https:","mailto:","sms:","tel:"]);class a extends i.HX${static getType(){return"link"}static clone(e){return new a(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e="",t={},n){super(n);let{target:r=null,rel:i=null,title:o=null}=t;this.__url=e,this.__target=r,this.__rel=i,this.__title=o}createDOM(e){let t=document.createElement("a");return t.href=this.sanitizeUrl(this.__url),null!==this.__target&&(t.target=this.__target),null!==this.__rel&&(t.rel=this.__rel),null!==this.__title&&(t.title=this.__title),(0,r.Yo)(t,e.theme.link),t}updateDOM(e,t,n){if((0,i.bgD)(t)){let n=this.__url,r=this.__target,i=this.__rel,o=this.__title;n!==e.__url&&(t.href=n),r!==e.__target&&(r?t.target=r:t.removeAttribute("target")),i!==e.__rel&&(i?t.rel=i:t.removeAttribute("rel")),o!==e.__title&&(o?t.title=o:t.removeAttribute("title"))}return!1}static importDOM(){return{a:e=>({conversion:l,priority:1})}}static importJSON(e){return s().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setURL(e.url).setRel(e.rel||null).setTarget(e.target||null).setTitle(e.title||null)}sanitizeUrl(e){try{let t=new URL(e);if(!o.has(t.protocol))return"about:blank"}catch(e){}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),url:this.getURL()}}getURL(){return this.getLatest().__url}setURL(e){let t=this.getWritable();return t.__url=e,t}getTarget(){return this.getLatest().__target}setTarget(e){let t=this.getWritable();return t.__target=e,t}getRel(){return this.getLatest().__rel}setRel(e){let t=this.getWritable();return t.__rel=e,t}getTitle(){return this.getLatest().__title}setTitle(e){let t=this.getWritable();return t.__title=e,t}insertNewAfter(e,t=!0){let n=s(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(n,t),n}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,n){if(!(0,i.OPZ)(t))return!1;let r=t.anchor.getNode(),o=t.focus.getNode();return this.isParentOf(r)&&this.isParentOf(o)&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}}function l(e){let t=null;if((0,i.bgD)(e)){let n=e.textContent;(null!==n&&""!==n||e.children.length>0)&&(t=s(e.getAttribute("href")||"",{rel:e.getAttribute("rel"),target:e.getAttribute("target"),title:e.getAttribute("title")}))}return{node:t}}function s(e="",t){return(0,i.U2B)(new a(e,t))}function u(e){return e instanceof a}class c extends a{constructor(e="",t={},n){super(e,t,n),this.__isUnlinked=void 0!==t.isUnlinked&&null!==t.isUnlinked&&t.isUnlinked}static getType(){return"autolink"}static clone(e){return new c(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){let t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?document.createElement("span"):super.createDOM(e)}updateDOM(e,t,n){return super.updateDOM(e,t,n)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){return d().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setIsUnlinked(e.isUnlinked||!1)}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked}}insertNewAfter(e,t=!0){let n=this.getParentOrThrow().insertNewAfter(e,t);if((0,i.F7b)(n)){let e=d(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return n.append(e),e}return null}}function d(e="",t){return(0,i.U2B)(new c(e,t))}function f(e){return e instanceof c}let p=(0,i.fAf)("TOGGLE_LINK_COMMAND");function h(e,t){if("element"===e.type){let n=e.getNode();return(0,i.F7b)(n)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(252),n.getChildren()[e.offset+t]||null}return null}function m(e,t={}){let{target:n,title:o}=t,a=void 0===t.rel?"noreferrer":t.rel,l=(0,i.dL7)();if(!(0,i.OPZ)(l))return;let c=l.extract();
35if(null===e)return void c.forEach(e=>{let t=(0,r.$s)(e,e=>!f(e)&&u(e));if(t){let e=t.getChildren();for(let n=0;n<e.length;n++)t.insertBefore(e[n]);t.remove()}});let d=new Set,p=t=>{d.has(t.getKey())||(d.add(t.getKey()),t.setURL(e),void 0!==n&&t.setTarget(n),void 0!==a&&t.setRel(a),void 0!==o&&t.setTitle(o))};if(1===c.length){let e=g(c[0],u);if(null!==e)return p(e)}!function(e){let t=(0,i.dL7)();if(!(0,i.OPZ)(t))return e();let n=(0,i.S9_)(t),r=n.isBackward(),o=h(n.anchor,r?-1:0),a=h(n.focus,r?0:-1);if(e(),o||a){let e=(0,i.dL7)();if((0,i.OPZ)(e)){let t=e.clone();if(o){let e=o.getParent();e&&t.anchor.set(e.getKey(),o.getIndexWithinParent()+(r?1:0),"element")}if(a){let e=a.getParent();e&&t.focus.set(e.getKey(),a.getIndexWithinParent()+(r?0:1),"element")}(0,i.oqs)((0,i.S9_)(t))}}}(()=>{let t=null;for(let r of c){if(!r.isAttached())continue;let l=g(r,u);if(l){p(l);continue}if((0,i.F7b)(r)){if(!r.isInline())continue;if(u(r)){if(!(f(r)||null!==t&&t.getParentOrThrow().isParentOf(r))){p(r),t=r;continue}for(let e of r.getChildren())r.insertBefore(e);r.remove();continue}}let c=r.getPreviousSibling();u(c)&&c.is(t)?c.append(r):(t=s(e,{rel:a,target:n,title:o}),r.insertAfter(t),t.append(r))}})}function g(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}},8553:function(e,t,n){"use strict";n.d(t,{LI:function(){return o},YK:function(){return i},g:function(){return a}});var r=n(2265);let i=(0,r.createContext)(null);function o(e,t){let n=null;return null!=e&&(n=e[1]),{getTheme:function(){return null!=t?t:null!=n?n.getTheme():null}}}function a(){let e=(0,r.useContext)(i);return null==e&&function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(8),e}},5266:function(e,t,n){"use strict";n.d(t,{V1:function(){return P},Z1:function(){return C},rc:function(){return I},O:function(){return k},c2:function(){return S},rT:function(){return x},ML:function(){return M}});var r=n(31531),i=n(73324);let o=new Set(["STYLE","SCRIPT"]);var a=n(97067);function l(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function s(e,t,n){let a=e.getData("application/x-lexical-editor");if(a)try{let e=JSON.parse(a);if(e.namespace===n._config.namespace&&Array.isArray(e.nodes))return u(n,function(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n],a=(0,i.oCe)(o);(0,i.Gg4)(a)&&(0,r.vV)(a),t.push(a)}return t}(e.nodes),t)}catch(e){}let l=e.getData("text/html"),s=e.getData("text/plain");if(l&&s!==l)try{let e=(new DOMParser).parseFromString(window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:e=>e}).createHTML(l):l,"text/html");return u(n,function(e,t){let n=t.body?t.body.childNodes:[],r=[],a=[];for(let t=0;t<n.length;t++){let l=n[t];if(!o.has(l.nodeName)){let t=function e(t,n,r,a,l=new Map,s){let u=[];if(o.has(t.nodeName))return u;let c=null,d=function(e,t){let{nodeName:n}=e,r=t._htmlConversions.get(n.toLowerCase()),i=null;if(void 0!==r)for(let t of r){let n=t(e);null!==n&&(null===i||(i.priority||0)<=(n.priority||0))&&(i=n)}return null!==i?i.conversion:null}(t,n),f=d?d(t):null,p=null;if(null!==f){p=f.after;let e=f.node;if(null!==(c=Array.isArray(e)?e[e.length-1]:e)){for(let[,e]of l)if(!(c=e(c,s)))break;c&&u.push(...Array.isArray(e)?e:[c])}null!=f.forChild&&l.set(t.nodeName,f.forChild)}let h=t.childNodes,m=[],g=(null==c||!(0,i._vQ)(c))&&(null!=c&&(0,i.ekx)(c)||a);for(let t=0;t<h.length;t++)m.push(...e(h[t],n,r,g,new Map(l),c));return null!=p&&(m=p(m)),(0,i.lvZ)(t)&&(m=function(e,t,n){let r=e.style.textAlign,o=[],a=[];for(let e=0;e<t.length;e++){let l=t[e];if((0,i.ekx)(l))r&&!l.getFormat()&&l.setFormat(r),o.push(l);else if(a.push(l),e===t.length-1||e<t.length-1&&(0,i.ekx)(t[e+1])){let e=n();e.setFormat(r),e.append(...a),o.push(e),a=[]}}return o}(t,m,g?()=>{let e=new i.RGD;return r.push(e),e}:i.BEw)),null==c?m.length>0?u=u.concat(m):(0,i.lvZ)(t)&&null!=t.nextSibling&&null!=t.previousSibling&&(0,i.u8R)(t.nextSibling)&&(0,i.u8R)(t.previousSibling)&&(u=u.concat((0,i.Tav)())):(0,i.F7b)(c)&&c.append(...m),u}(l,e,a,!1);null!==t&&(r=r.concat(t))}}return function(e){for(let t of e)t.getNextSibling() instanceof i.RGD&&t.insertAfter((0,i.Tav)());for(let t of e){let e=t.getChildren();for(let n of e)t.insertBefore(n);t.remove()}}(a),r}(n,e),t)}catch(e){}
35let c=s||e.getData("text/uri-list");if(null!=c){if((0,i.OPZ)(t)){let e=c.split(/(\r?\n|\t)/);""===e[e.length-1]&&e.pop();for(let t=0;t<e.length;t++){let n=(0,i.dL7)();if((0,i.OPZ)(n)){let r=e[t];"\n"===r||"\r\n"===r?n.insertParagraph():" "===r?n.insertNodes([(0,i.S3L)()]):n.insertText(r)}}}else t.insertRawText(c)}}function u(e,t,n){e.dispatchCommand(i.zrb,{nodes:t,selection:n})||n.insertNodes(t)}let c=null;async function d(e,t,n){if(null!==c)return!1;if(null!==t)return new Promise((r,i)=>{e.update(()=>{r(f(e,t,n))})});let r=e.getRootElement(),o=e._window||window,l=window.document,s=(0,i.Inp)(o);if(null===r||null===s)return!1;let u=l.createElement("span");u.style.cssText="position: fixed; top: -1000px;",u.append(l.createTextNode("#")),r.append(u);let d=new Range;return d.setStart(u,0),d.setEnd(u,1),s.removeAllRanges(),s.addRange(d),new Promise((t,r)=>{let o=e.registerCommand(i.LVk,r=>((0,a.nh)(r,ClipboardEvent)&&(o(),null!==c&&(window.clearTimeout(c),c=null),t(f(e,r,n))),!0),i.jwz);c=window.setTimeout(()=>{o(),c=null,t(!1)},50),l.execCommand("copy"),u.remove()})}function f(e,t,n){if(void 0===n){let t=(0,i.Inp)(e._window);if(!t)return!1;let r=t.anchorNode,o=t.focusNode;if(null!==r&&null!==o&&!(0,i.aff)(e,r,o))return!1;let a=(0,i.dL7)();if(null===a)return!1;n=function(e=(0,i.dL7)()){let t={"text/plain":e?e.getTextContent():""};if(e){let n=(0,i.mJV)();for(let[r,i]of p){let o=i(n,e);null!==o&&(t[r]=o)}}return t}(a)}t.preventDefault();let r=t.clipboardData;return null!==r&&(function(e,t){for(let n in t){let r=t[n];void 0!==r&&e.setData(n,r)}}(r,n),!0)}let p=[["text/html",function(e,t=(0,i.dL7)()){return null==t&&l(166),(0,i.OPZ)(t)&&t.isCollapsed()||0===t.getNodes().length?"":function(e,t){if("undefined"==typeof document||"undefined"==typeof window&&void 0===global.window)throw Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");let n=document.createElement("div"),o=(0,i.GvG)().getChildren();for(let a=0;a<o.length;a++)(function e(t,n,o,a=null){let l,s=null===a||n.isSelected(a),u=(0,i.F7b)(n)&&n.excludeFromCopy("html"),c=n;if(null!==a){let e=(0,i.B3k)(n);c=e=(0,i.Gg4)(e)&&null!==a?(0,r.bA)(a,e):e}let d=(0,i.F7b)(c)?c.getChildren():[],f=t._nodes.get(c.getType());l=f&&void 0!==f.exportDOM?f.exportDOM(t,c):c.exportDOM(t);let{element:p,after:h}=l;if(!p)return!1;let m=document.createDocumentFragment();for(let r=0;r<d.length;r++){let o=d[r],l=e(t,o,m,a);!s&&(0,i.F7b)(n)&&l&&n.extractWithChild(o,a,"html")&&(s=!0)}if(s&&!u){if(((0,i.Ret)(p)||(0,i.ULs)(p))&&p.append(m),o.append(p),h){let e=h.call(c,p);e&&((0,i.ULs)(p)?p.replaceChildren(e):p.replaceWith(e))}}else o.append(m);return s})(e,o[a],n,t);return n.innerHTML}(e,t)}],["application/x-lexical-editor",function(e,t=(0,i.dL7)()){return null==t&&l(166),(0,i.OPZ)(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(function(e,t){let n=[],o=(0,i.GvG)().getChildren();for(let a=0;a<o.length;a++)!function e(t,n,o,a=[]){let s=null===n||o.isSelected(n),u=(0,i.F7b)(o)&&o.excludeFromCopy("html"),c=o;if(null!==n){let e=(0,i.B3k)(o);c=e=(0,i.Gg4)(e)&&null!==n?(0,r.bA)(n,e):e}let d=(0,i.F7b)(c)?c.getChildren():[],f=function(e){let t=e.exportJSON(),n=e.constructor;if(t.type!==n.getType()&&l(58,n.name),(0,i.F7b)(e)){let e=t.children;Array.isArray(e)||l(59,n.name)}return t}(c);if((0,i.Gg4)(c)){let e=c.__text;e.length>0?f.text=e:s=!1}for(let r=0;r<d.length;r++){let a=d[r],l=e(t,n,a,f.children);!s&&(0,i.F7b)(o)&&l&&o.extractWithChild(a,n,"clone")&&(s=!0)}if(s&&!u)a.push(f);else if(Array.isArray(f.children))for(let e=0;e<f.children.length;e++){let t=f.children[e];a.push(t)}return s}(e,t,o[a],n);return{namespace:e._config.namespace,nodes:n}}(e,t))}]];function h(e,t){if(void 0!==document.caretRangeFromPoint){let n=document.caretRangeFromPoint(e,t);return null===n?null:{node:n.startContainer,offset:n.startOffset}}if("undefined"!==document.caretPositionFromPoint){let n=document.caretPositionFromPoint(e,t);return null===n?null:{node:n.offsetNode,offset:n.offset}}return null}let m="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,g=m&&"documentMode"in document?document.documentMode:null,y=!(!m||!("InputEvent"in window)||g)&&"getTargetRanges"in new window.InputEvent("input"),v=m&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),b=m&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,E=m&&/^(?=.*Chrome).*/i.test(navigator.userAgent),T=m&&/AppleWeb
35Kit\/[\d.]+/.test(navigator.userAgent)&&!E,_=(0,i.fAf)("DRAG_DROP_PASTE_FILE");class x extends i.HX${static getType(){return"quote"}static clone(e){return new x(e.__key)}createDOM(e){let t=document.createElement("blockquote");return(0,a.Yo)(t,e.theme.quote),t}updateDOM(e,t){return!1}static importDOM(){return{blockquote:e=>({conversion:O,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,i.Ret)(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();t.style.textAlign=e;let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){return C().updateFromJSON(e)}insertNewAfter(e,t){let n=(0,i.BEw)(),r=this.getDirection();return n.setDirection(r),this.insertAfter(n,t),n}collapseAtStart(){let e=(0,i.BEw)();return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}canMergeWhenEmpty(){return!0}}function C(){return(0,i.U2B)(new x)}function k(e){return e instanceof x}class S extends i.HX${static getType(){return"heading"}static clone(e){return new S(e.__tag,e.__key)}constructor(e,t){super(t),this.__tag=e}getTag(){return this.__tag}setTag(e){let t=this.getWritable();return this.__tag=e,t}createDOM(e){let t=this.__tag,n=document.createElement(t),r=e.theme.heading;if(void 0!==r){let e=r[t];(0,a.Yo)(n,e)}return n}updateDOM(e,t,n){return e.__tag!==this.__tag}static importDOM(){return{h1:e=>({conversion:w,priority:0}),h2:e=>({conversion:w,priority:0}),h3:e=>({conversion:w,priority:0}),h4:e=>({conversion:w,priority:0}),h5:e=>({conversion:w,priority:0}),h6:e=>({conversion:w,priority:0}),p:e=>{let t=e.firstChild;return null!==t&&A(t)?{conversion:()=>({node:null}),priority:3}:null},span:e=>A(e)?{conversion:e=>({node:P("h1")}),priority:3}:null}}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,i.Ret)(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();t.style.textAlign=e;let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){return P(e.tag).updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTag(e.tag)}exportJSON(){return{...super.exportJSON(),tag:this.getTag()}}insertNewAfter(e,t=!0){let n=e?e.anchor.offset:0,r=this.getLastDescendant(),o=r&&(!e||e.anchor.key!==r.getKey()||n!==r.getTextContentSize())&&e?P(this.getTag()):(0,i.BEw)(),a=this.getDirection();if(o.setDirection(a),this.insertAfter(o,t),0===n&&!this.isEmpty()&&e){let e=(0,i.BEw)();e.select(),this.replace(e,!0)}return o}collapseAtStart(){let e=this.isEmpty()?(0,i.BEw)():P(this.getTag());
35return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}extractWithChild(){return!0}}function A(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function w(e){let t=e.nodeName.toLowerCase(),n=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(n=P(t),null!==e.style&&((0,i.WAA)(e,n),n.setFormat(e.style.textAlign))),{node:n}}function O(e){let t=C();return null!==e.style&&(t.setFormat(e.style.textAlign),(0,i.WAA)(e,t)),{node:t}}function P(e="h1"){return(0,i.U2B)(new S(e))}function I(e){return e instanceof S}function N(e){let t=null;if((0,a.nh)(e,DragEvent)?t=e.dataTransfer:(0,a.nh)(e,ClipboardEvent)&&(t=e.clipboardData),null===t)return[!1,[],!1];let n=t.types,r=n.includes("Files"),i=n.includes("text/html")||n.includes("text/plain");return[r,Array.from(t.files),i]}function R(e){let t=(0,i.dL7)();if(!(0,i.OPZ)(t))return!1;let n=new Set,r=t.getNodes();for(let t=0;t<r.length;t++){let o=r[t],l=o.getKey();if(n.has(l))continue;let s=(0,a.$s)(o,e=>(0,i.F7b)(e)&&!e.isInline());if(null===s)continue;let u=s.getKey();s.canIndent()&&!n.has(u)&&(n.add(u),e(s))}return n.size>0}function L(e){let t=(0,i.Xod)(e);return(0,i.k$I)(t)}function D(e){for(let t of["lowercase","uppercase","capitalize"])e.hasFormat(t)&&e.toggleFormat(t)}function M(e){return(0,a.qV)(e.registerCommand(i.Kr$,e=>{let t=(0,i.dL7)();return!!(0,i.iOo)(t)&&(t.clear(),!0)},0),e.registerCommand(i.MtH,e=>{let t=(0,i.dL7)();return!!(0,i.OPZ)(t)&&(t.deleteCharacter(e),!0)},i.VNZ),e.registerCommand(i.cj1,e=>{let t=(0,i.dL7)();return!!(0,i.OPZ)(t)&&(t.deleteWord(e),!0)},i.VNZ),e.registerCommand(i.n23,e=>{let t=(0,i.dL7)();return!!(0,i.OPZ)(t)&&(t.deleteLine(e),!0)},i.VNZ),e.registerCommand(i.yFl,t=>{let n=(0,i.dL7)();if("string"==typeof t)null!==n&&n.insertText(t);else{if(null===n)return!1;let r=t.dataTransfer;if(null!=r)s(r,n,e);else if((0,i.OPZ)(n)){let e=t.data;return e&&n.insertText(e),!0}}return!0},i.VNZ),e.registerCommand(i.RJi,()=>{let e=(0,i.dL7)();return!!(0,i.OPZ)(e)&&(e.removeText(),!0)},i.VNZ),e.registerCommand(i.Ewg,e=>{let t=(0,i.dL7)();return!!(0,i.OPZ)(t)&&(t.formatText(e),!0)},i.VNZ),e.registerCommand(i.ROy,e=>{let t=(0,i.dL7)();if(!(0,i.OPZ)(t)&&!(0,i.iOo)(t))return!1;let n=t.getNodes();for(let t of n){let n=(0,a.$s)(t,e=>(0,i.F7b)(e)&&!e.isInline());null!==n&&n.setFormat(e)}return!0},i.VNZ),e.registerCommand(i.WHp,e=>{let t=(0,i.dL7)();return!!(0,i.OPZ)(t)&&(t.insertLineBreak(e),!0)},i.VNZ),e.registerCommand(i.K0p,()=>{let e=(0,i.dL7)();return!!(0,i.OPZ)(e)&&(e.insertParagraph(),!0)},i.VNZ),e.registerCommand(i.cAC,()=>((0,i.odo)([(0,i.S3L)()]),!0),i.VNZ),e.registerCommand(i.PUH,()=>R(e=>{let t=e.getIndent();e.setIndent(t+1)}),i.VNZ),e.registerCommand(i.czB,()=>R(e=>{let t=e.getIndent();t>0&&e.setIndent(t-1)}),i.VNZ),e.registerCommand(i._0$,e=>{let t=(0,i.dL7)();if((0,i.iOo)(t)&&!L(e.target)){let e=t.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if((0,i.OPZ)(t)){let n=(0,i.fLx)(t.focus,!0);if(!e.shiftKey&&(0,i.k$I)(n)&&!n.isIsolated()&&!n.isInline())return n.selectPrevious(),e.preventDefault(),!0}return!1},i.VNZ),e.registerCommand(i.Zbz,e=>{let t=(0,i.dL7)();if((0,i.iOo)(t)){let e=t.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if((0,i.OPZ)(t)){if(function(e){let t=e.focus;return"root"===t.key&&t.offset===(0,i.GvG)().getChildrenSize()}(t))return e.preventDefault(),!0;let n=(0,i.fLx)(t.focus,!1);if(!e.shiftKey&&(0,i.k$I)(n)&&!n.isIsolated()&&!n.isInline())return n.selectNext(),e.preventDefault(),!0}return!1},i.VNZ),e.registerCommand(i.u$Z,e=>{let t=(0,i.dL7)();if((0,i.iOo)(t)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),n[0].selectPrevious(),!0}if(!(0,i.OPZ)(t))return!1;if((0,r.pi)(t,!0)){let n=e.shiftKey;return e.preventDefault(),(0,r.i0)(t,n,!0),!0}return!1},i.VNZ),e.registerCommand(i.NmO,e=>{let t=(0,i.dL7)();if((0,i.iOo)(t)&&!L(e.target)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),n[0].selectNext(0,0),!0}if(!(0,i.OPZ)(t))return!1;let n=e.shiftKey;return!!(0,r.pi)(t,!1)&&(e.preventDefault(),(0,r.i0)(t,n,!1),!0)},i.VNZ),e.registerCommand(i.aRb,t=>{if(L(t.target))return!1;let n=(0,i.dL7)();if(!(0,i.OPZ)(n))return!1;let{anchor:r}=n,o=r.getNode();return n.isCollapsed()&&0===r.offset&&!(0,i.wdB)(o)&&(0,a.f8)(o).getIndent()>0?(t.preventDefault(),e.dispatchCommand(i.czB,void 0)):(!b||"ko-KR"!==navigator.language)&&(t.preventDefault(),e.dispatchCommand(i.MtH,!0))},i.VNZ),e.registerCommand(i.MKI,t=>{if(L(t.target))return!1;let n=(0,i.dL7)();return!!(0,i.OPZ)(n)&&(t.preventDefault(),e.dispatchCommand(i.MtH,!1))},i.VNZ),e.registerCommand(i.XN4,t=>{let n=(0,i.dL7)();if(!(0,i.OPZ)(n))return!1;if(D(n),null!==t){if((b||v||T)&&y)return!1;if(t.preventDefault(),t.shiftKey)return e.dispatchCommand(i.WHp,!1)}return e.dispatchCommand(i.K0p,void 0)},i.VNZ),e.registerCommand(i.ZqX,()=>{let t=(0,i.dL7)();return!!(0,i.OPZ)(t)&&(e.blur(),!0)},i.VNZ),e.registerCommand(i.zDz,t=>{let[,n]=N(t);if(n.length>0){let r=h(t.clientX,t.clientY);if(null!==r){let{offset:t,node:o}=r,a=(0,i.Xod)(o);if(null!==a){let e=(0,i.vNz)();if((0,i.Gg4)(a))e.anchor.set(a.getKey(),t,"text"),e.focus.set(a.getKey(),t,"text");else{let t=a.getParentOrThrow().getKey(),n=a.getIndexWithinParent()+1;e.anchor.set(t,n,"element"),e.focus.set(t,n,"element")}let n=(0,i.S9_)(e);(0,i.oqs)(n)}e.dispatchCommand(_,n)}return t.preventDefault(),!0}let r=(0,i.dL7)();return!!(0,i.OPZ)(r)},i.VNZ),e.registerCommand(i.XIO,e=>{let[t]=N(e),n=(0,i.dL7)();return!(t&&!(0,i.OPZ)(n))},i.VNZ),e.registerCommand(i.kEj,e=>{let[t]=N(e),n=(0,i.dL7)();if(t&&!(0,i.OPZ)(n))return!1;let r=h(e.clientX,e.clientY);if(null!==r){let t=(0,i.Xod)(r.node);(0,i.k$I)(t)&&e.preventDefault()}return!0},i.VNZ),e.registerCommand(i.HrV,()=>((0,i.ULO)(),!0),i.VNZ),e.registerCommand(i.LVk,t=>(d(e,(0,a.nh)(t,ClipboardEvent)?t:null),!0),i.VNZ),e.registerCommand(i.dR_,t=>((async function(e,t){await d(t,(0,a.nh)(e,ClipboardEvent)?e:null),t.update(()=>{let e=(0,i.dL7)();
35(0,i.OPZ)(e)?e.removeText():(0,i.iOo)(e)&&e.getNodes().forEach(e=>e.remove())})})(t,e),!0),i.VNZ),e.registerCommand(i.A1,t=>{let[,n,r]=N(t);return n.length>0&&!r?(e.dispatchCommand(_,n),!0):!((0,i.uFG)(t.target)&&(0,i.GAf)(t.target))&&null!==(0,i.dL7)()&&(t.preventDefault(),e.update(()=>{let n=(0,i.dL7)(),r=(0,a.nh)(t,InputEvent)||(0,a.nh)(t,KeyboardEvent)?null:t.clipboardData;null!=r&&null!==n&&s(r,n,e)},{tag:"paste"}),!0)},i.VNZ),e.registerCommand(i.Y7p,e=>{let t=(0,i.dL7)();return(0,i.OPZ)(t)&&D(t),!1},i.VNZ),e.registerCommand(i.dB,e=>{let t=(0,i.dL7)();return(0,i.OPZ)(t)&&D(t),!1},i.VNZ))}},31531:function(e,t,n){"use strict";n.d(t,{Hz:function(){return u},P4:function(){return a},bA:function(){return o},i0:function(){return d},pi:function(){return c},vV:function(){return l}});var r=n(73324);let i=new Map;function o(e,t){let n=e.getStartEndPoints();if(t.isSelected(e)&&!t.isSegmented()&&!t.isToken()&&null!==n){let[i,o]=n,a=e.isBackward(),l=i.getNode(),s=o.getNode(),u=t.is(l),c=t.is(s);if(u||c){let[n,i]=(0,r.cs7)(e),o=l.is(s),u=t.is(a?s:l),c=t.is(a?l:s),d,f=0;return o?(f=n>i?i:n,d=n>i?n:i):u?(f=a?i:n,d=void 0):c&&(f=0,d=a?n:i),t.__text=t.__text.slice(f,d),t}}return t}function a(e){if("text"===e.type)return e.offset===e.getNode().getTextContentSize();let t=e.getNode();return(0,r.F7b)(t)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(177),e.offset===t.getChildrenSize()}function l(e){let t=e.getStyle(),n=function(e){let t={};if(!e)return t;let n=e.split(";");for(let e of n)if(""!==e){let[n,r]=e.split(/:([^]+)/);n&&r&&(t[n.trim()]=r.trim())}return t}(t);i.set(t,n)}function s(e,t){let n=e.getFormatType(),r=e.getIndent();n!==t.getFormatType()&&t.setFormat(n),r!==t.getIndent()&&t.setIndent(r)}function u(e,t,n=s){if(null===e)return;let i=e.getStartEndPoints(),o=new Map,a=null;if(i){let[e,t]=i;(a=(0,r.vNz)()).anchor.set(e.key,e.offset,e.type),a.focus.set(t.key,t.offset,t.type);let n=f(e.getNode(),r.kkM),l=f(t.getNode(),r.kkM);(0,r.F7b)(n)&&o.set(n.getKey(),n),(0,r.F7b)(l)&&o.set(l.getKey(),l)}for(let t of e.getNodes())(0,r.F7b)(t)&&(0,r.kkM)(t)&&o.set(t.getKey(),t);for(let[e,r]of o){let i=t();n(r,i),r.replace(i,!0),a&&(e===a.anchor.key&&a.anchor.set(i.getKey(),a.anchor.offset,a.anchor.type),e===a.focus.key&&a.focus.set(i.getKey(),a.focus.offset,a.focus.type))}a&&e.is((0,r.dL7)())&&(0,r.oqs)(a)}function c(e,t){let n=(0,r.vJ0)(e.focus,t?"previous":"next");if((0,r.GdB)(n))return!1;for(let e of(0,r.MkX)(n)){if((0,r.v0F)(e))return!e.origin.isInline();if(!(0,r.F7b)(e.origin)){if((0,r.k$I)(e.origin))return!0;break}}return!1}function d(e,t,n){let i=function(e){let t=e.anchor.getNode();return"rtl"===((0,r.wdB)(t)?t:t.getParentOrThrow()).getDirection()}(e);!function(e,t,n,r){e.modify(t?"extend":"move",n,r)}(e,t,n?!i:i,"character")}function f(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}},97067:function(e,t,n){"use strict";n.d(t,{$s:function(){return f},JB:function(){return h},PS:function(){return u},Yo:function(){return s},f8:function(){return d},ne:function(){return c},nh:function(){return m},qV:function(){return l},z8:function(){return p}});var r=n(73324);let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,o=i&&"documentMode"in document?document.documentMode:null;function a(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}function l(...e){return()=>{for(let t=e.length-1;t>=0;t--)e[t]();e.length=0}}function s(e,...t){let n=a(...t);n.length>0&&e.classList.add(...n)}function u(e,...t){let n=a(...t);n.length>0&&e.classList.remove(...n)}function c(e){return e?e.getAdjacentCaret():null}function d(e){let t=f(e,e=>(0,r.F7b)(e)&&!e.isInline());return(0,r.F7b)(t)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(4,e.__key),t}i&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),i&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),i&&"InputEvent"in window&&!o&&new window.InputEvent("input"),i&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),i&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,i&&/Android/.test(navigator.userAgent),i&&/^(?=.*Chrome).*/i.test(navigator.userAgent),i&&/AppleWeb
35Kit\/[\d.]+/.test(navigator.userAgent);let f=(e,t)=>{let n=e;for(;n!==(0,r.GvG)()&&null!=n;){if(t(n))return n;n=n.getParent()}return null};function p(e){let t=(0,r.dL7)()||(0,r.DNT)();if((0,r.OPZ)(t)){let{focus:n}=t,i=n.getNode(),o=n.offset;if((0,r._vQ)(i))(0,r.jvp)(i,o,"next").insert(e),e.selectNext();else{let t,n;(0,r.Gg4)(i)?(t=i.getParentOrThrow(),n=i.getIndexWithinParent(),o>0&&(n+=1,i.splitText(o))):(t=i,n=o);let[,a]=(0,r.z90)(t,n);a.insertBefore(e),a.selectStart()}}else{if(null!=t){let n=t.getNodes();n[n.length-1].getTopLevelElementOrThrow().insertAfter(e)}else(0,r.GvG)().append(e);let n=(0,r.BEw)();e.insertAfter(n),n.select()}return e.getLatest()}function h(e,t){let n=t();return e.replace(n),n.append(e),n}function m(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name}},6767:function(e,t,n){"use strict";n.d(t,{A8:function(){return a},Dh:function(){return r},IK:function(){return o},UW:function(){return i},h:function(){return s},pQ:function(){return l},ql:function(){return u}});let r=1,i=2,o=4,a=8,l=16,s=32,u=64},4646:function(e,t,n){"use strict";n.d(t,{P:function(){return V}});var r=n(95393),i=n(2265),o=n(36903),a=n(75178),l=n(8553),s=n(57437),u=n(73324);function c(e){return()=>(function(e){if(!function(e,t=!0){if(e)return!1;let n=(0,u.GvG)().getTextContent();return t&&(n=n.trim()),""===n}(e,!1))return!1;let t=(0,u.GvG)().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){let n=t[e];if((0,u.k$I)(n))return!1;if((0,u.F7b)(n)){if(!(0,u.Rlh)(n)||0!==n.__indent)return!1;let t=n.getChildren(),r=t.length;for(let n=0;n<r;n++){let n=t[e];if(!(0,u.Gg4)(n))return!1}}}return!0})(e)}var d=n(97067);let f="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect,p=(0,i.forwardRef)(function({editor:e,ariaActiveDescendant:t,ariaAutoComplete:n,ariaControls:r,ariaDescribedBy:o,ariaErrorMessage:a,ariaExpanded:l,ariaInvalid:u,ariaLabel:c,ariaLabelledBy:d,ariaMultiline:p,ariaOwns:h,ariaRequired:m,autoCapitalize:g,className:y,id:v,role:b="textbox",spellCheck:E=!0,style:T,tabIndex:_,"data-testid":x,...C},k){let[S,A]=(0,i.useState)(e.isEditable()),w=(0,i.useCallback)(t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null)},[e]),O=(0,i.useMemo)(()=>(function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}})(k,w),[w,k]);return f(()=>(A(e.isEditable()),e.registerEditableListener(e=>{A(e)})),[e]),(0,s.jsx)("div",{"aria-activedescendant":S?t:void 0,"aria-autocomplete":S?n:"none","aria-controls":S?r:void 0,"aria-describedby":o,...null!=a?{"aria-errormessage":a}:{},"aria-expanded":S&&"combobox"===b?!!l:void 0,...null!=u?{"aria-invalid":u}:{},"aria-label":c,"aria-labelledby":d,"aria-multiline":p,"aria-owns":S?h:void 0,"aria-readonly":!S||void 0,"aria-required":m,autoCapitalize:g,className:y,contentEditable:S,"data-testid":x,id:v,ref:O,role:S?b:void 0,spellCheck:E,style:T,tabIndex:_,...C})});function h(e){return e.getEditorState().read(c(e.isComposing()))}let m=(0,i.forwardRef)(function(e,t){let{placeholder:n,...r}=e,[i]=(0,l.g)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p,{editor:i,...r,ref:t}),null!=n&&(0,s.jsx)(g,{editor:i,content:n})]})});function g({content:e,editor:t}){let n=function(e){let[t,n]=(0,i.useState)(()=>h(e));return f(()=>{function t(){let t=h(e);n(t)}return t(),(0,d.qV)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),[r,o]=(0,i.useState)(t.isEditable());if((0,i.useLayoutEffect)(()=>(o(t.isEditable()),t.registerEditableListener(e=>{o(e)})),[t]),!n)return null;let a=null;return"function"==typeof e?a=e(r):null!==e&&(a=e),null===a?null:(0,s.jsx)("div",{"aria-hidden":!0,children:a})}let y="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function v(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>e.registerEditableListener(t)}}var b=n(54887),E=n(5266);let T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function _(e){return e.getEditorState().read(c(e.isComposing()))}function x({contentEditable:e,placeholder:t=null,ErrorBoundary:n}){var r;let[o]=(0,l.g)(),a=function(e,t){let[n,r]=(0,i.useState)(()=>e.getDecorators());return T(()=>e.registerDecoratorListener(e=>{(0,b.flushSync)(()=>{r(e)})}),[e]),(0,i.useEffect)(()=>{r(e.getDecorators())},[e]),(0,i.useMemo)(()=>{let r=[],o=Object.keys(n);for(let a=0;a<o.length;a++){let l=o[a],u=(0,s.jsx)(t,{onError:t=>e._onError(t),children:(0,s.jsx)(i.Suspense,{fallback:null,children:n[l]})}),c=e.getElementByKey(l);null!==c&&r.push((0,b.createPortal)(u,c,l))}return r},[t,n,e])}(o,n);return T(()=>(0,d.qV)((0,E.ML)(r),function(e){let t=window.location.origin,n=n=>{if(n.origin!==t)return;let r=e.getRootElement();if(document.activeElement!==r)return;let i=n.data;if("string"==typeof i){let t;try{t=JSON.parse(i)}catch(e){return}if(t&&"nuanria_messaging"===t.protocol&&"request"===t.type){let r=t.payload;if(r&&"makeChanges"===r.functionId){let t=r.args;if(t){let[r,i,o,a,l,s]=t;e.update(()=>{let e=(0,u.dL7)();if((0,u.OPZ)(e)){let t=e.anchor,s=t.getNode(),c=0,d=0;if((0,u.Gg4)(s)&&r>=0&&i>=0&&(c=r,d=r+i,e.setTextNodeRange(s,c,s,d)),c===d&&""===o||(e.insertRawText(o),s=t.getNode()),(0,u.Gg4)(s)){c=a,d=a+l;let t=s.getTextContentSize();c=c>t?t:c,d=d>t?t:d,e.setTextNodeRange(s,c,s,d)}n.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",n,!0),()=>{window.removeEventListener("message",n,!0)}}
35(r)),[r=o]),(0,s.jsxs)(s.Fragment,{children:[e,(0,s.jsx)(C,{content:t}),a]})}function C({content:e}){let[t]=(0,l.g)(),n=function(e){let[t,n]=(0,i.useState)(()=>_(e));return T(()=>{function t(){let t=_(e);n(t)}return t(),(0,d.qV)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),r=function(e){let[t]=(0,l.g)(),n=(0,i.useMemo)(()=>e(t),[t,e]),[r,o]=(0,i.useState)(()=>n.initialValueFn()),a=(0,i.useRef)(r);return y(()=>{let{initialValueFn:e,subscribe:t}=n,r=e();return a.current!==r&&(a.current=r,o(r)),t(e=>{a.current=e,o(e)})},[n,e]),r}(v);return n?"function"==typeof e?e(r):e:null}var k=n(54440),S=n(82917),A=n(80365),w=n(32535);let O={undo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.202 18.5V17H14.3788C15.4224 17 16.3205 16.6554 17.073 15.9663C17.8257 15.2773 18.202 14.4263 18.202 13.4135C18.202 12.4007 17.8257 11.5512 17.073 10.8652C16.3205 10.1794 15.4224 9.8365 14.3788 9.8365H7.35775L10.1402 12.6193L9.0865 13.673L4.5 9.0865L9.0865 4.5L10.1402 5.55375L7.35775 8.3365H14.3788C15.8416 8.3365 17.0945 8.82467 18.1375 9.801C19.1805 10.7773 19.702 11.9815 19.702 13.4135C19.702 14.8455 19.1805 16.0513 18.1375 17.0308C17.0945 18.0103 15.8416 18.5 14.3788 18.5H7.202Z",fill:"currentColor"})),redo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.6211 18.5C8.15827 18.5 6.90535 18.0103 5.86235 17.0308C4.81935 16.0513 4.29785 14.8455 4.29785 13.4135C4.29785 11.9815 4.81935 10.7773 5.86235 9.801C6.90535 8.82467 8.15827 8.3365 9.6211 8.3365H16.6421L13.8596 5.55375L14.9134 4.5L19.4999 9.0865L14.9134 13.673L13.8596 12.6193L16.6421 9.8365H9.6211C8.57744 9.8365 7.67935 10.1794 6.92685 10.8652C6.17418 11.5512 5.79785 12.4007 5.79785 13.4135C5.79785 14.4263 6.17418 15.2773 6.92685 15.9663C7.67935 16.6554 8.57744 17 9.6211 17H16.7979V18.5H9.6211Z",fill:"currentColor"})),format_bold:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.33838 18.625V5.375H12.1999C13.219 5.375 14.1405 5.69233 14.9644 6.327C15.788 6.9615 16.1999 7.816 16.1999 8.8905C16.1999 9.63783 16.0194 10.2471 15.6584 10.7182C15.2975 11.1894 14.9088 11.5314 14.4921 11.7442C15.005 11.9211 15.4947 12.2708 15.9614 12.7933C16.428 13.3158 16.6614 14.0193 16.6614 14.9038C16.6614 16.1819 16.1902 17.1217 15.2479 17.723C14.3055 18.3243 13.3562 18.625 12.3999 18.625H7.33838ZM9.48838 16.6328H12.3191C13.1063 16.6328 13.6627 16.4142 13.9884 15.977C14.314 15.5398 14.4769 15.1206 14.4769 14.7192C14.4769 14.3179 14.314 13.8987 13.9884 13.4615C13.6627 13.0243 13.0909 12.8058 12.2729 12.8058H9.48838V16.6328ZM9.48838 10.875H12.0826C12.6903 10.875 13.172 10.7013 13.5279 10.3538C13.8835 10.0064 14.0614 9.59042 14.0614 9.10575C14.0614 8.59042 13.8733 8.16925 13.4971 7.84225C13.1208 7.51542 12.6595 7.352 12.1134 7.352H9.48838V10.875Z",fill:"currentColor"})),format_italic:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.39404 18.625V16.8173H9.21129L12.4518 7.18275H8.63454V5.375H17.7883V7.18275H14.2785L11.0383 16.8173H14.5478V18.625H5.39404Z",fill:"currentColor"})),format_underlined:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.34619 22.125V20.625H18.6537V22.125H5.34619ZM11.9999 18.5287C10.4448 18.5287 9.23102 18.0566 8.35869 17.1125C7.48619 16.1683 7.04994 14.9032 7.04994 13.3172V5.41345H8.90369V13.4095C8.90369 14.4198 9.17228 15.2295 9.70944 15.8385C10.2466 16.4475 11.0101 16.752 11.9999 16.752C12.9898 16.752 13.7533 16.4475 14.2904 15.8385C14.8276 15.2295 15.0962 14.4198 15.0962 13.4095V5.41345H16.9499V13.3172C16.9499 14.9032 16.5137 16.1683 15.6412 17.1125C14.7689 18.0566 13.5551 18.5287 11.9999 18.5287Z",fill:"currentColor"})),code:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.99994 17.6537L2.34619 11.9999L7.99994 6.34619L9.06919 7.41544L4.46919 12.0154L9.05369 16.5999L7.99994 17.6537ZM15.9999 17.6537L14.9307 16.5844L19.5307 11.9844L14.9462 7.39994L15.9999 6.34619L21.6537 11.9999L15.9999 17.6537Z",fill:"currentColor"})),strikeThrough:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.15 19.6923C10.9732 19.6923 9.9315 19.359 9.025 18.6923C8.11867 18.0256 7.45525 17.1128 7.03475 15.9538L8.6385 15.2635C8.91667 16.0444 9.3545 16.6867 9.952 17.1905C10.5493 17.6944 11.2923 17.9463 12.1808 17.9463C12.9578 17.9463 13.6744 17.7508 14.3307 17.3598C14.9872 16.9686 15.3155 16.3487 15.3155 15.5C15.3155 15.123 15.2555 14.7968 15.1355 14.5213C15.0157 14.2456 14.8462 13.9885 14.627 13.75H16.677C16.7987 13.9705 16.8932 14.2256 16.9605 14.5153C17.0278 14.8051 17.0615 15.1334 17.0615 15.5C17.0615 16.8372 16.5747 17.8702 15.601 18.599C14.6272 19.3279 13.4768 19.6923 12.15 19.6923ZM2.25 11.75V10.25H21.75V11.75H2.25ZM12.05 4.19629C13.0475 4.19629 13.9123 4.42704 14.6443 4.88854C15.3763 5.35004 15.9673 6.05896 16.4173 7.01529L14.823 7.73079C14.6218 7.26029 14.2978 6.84462 13.851 6.48379C13.4042 6.12279 12.8141 5.94229 12.0808 5.94229C11.2244 5.94229 10.5392 6.16221 10.025 6.60204C9.51083 7.04171 9.264 7.59104 9.2845 8.25004H7.5385C7.50133 7.16421 7.89783 6.21712 8.728 5.40879C9.558 4.60046 10.6653 4.19629 12.05 4.19629Z",fill:"currentColor"})),superscript:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M16.6924 8V6.2115C16.6924 5.95383 16.7786 5.73875 16.9511 5.56625C17.1235 5.39392 17.3385 5.30775 17.5961 5.30775H19.5001V4.38475H16.6924V3.5H19.4809C19.7385 3.5 19.9536 3.58625 20.1261 3.75875C20.2985 3.93108 20.3846 4.14617 20.3846 4.404V5.2885C20.3846 5.54617 20.2985 5.76125 20.1261 5.93375C19.9536 6.10608 19.7385 6.19225 19.4809 6.19225H17.5771V7.1155H20.3846V8H16.6924ZM4.44238 18.5L8.84638 11.6287L4.77713 5.30775H6.74438L9.95963 10.404H10.0214L13.2501 5.30775H15.2329L11.1194
3511.6287L15.5579 18.5H13.5751L10.0214 12.9308H9.95963L6.42513 18.5H4.44238Z",fill:"currentColor"})),subscript:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M16.6924 20.5V18.7115C16.6924 18.4538 16.7786 18.2387 16.9511 18.0662C17.1235 17.8939 17.3385 17.8077 17.5961 17.8077H19.5001V16.8845H16.6924V16H19.4809C19.7385 16 19.9536 16.0863 20.1261 16.2587C20.2985 16.4311 20.3846 16.6461 20.3846 16.9038V17.7885C20.3846 18.0462 20.2985 18.2612 20.1261 18.4337C19.9536 18.6061 19.7385 18.6923 19.4809 18.6923H17.5771V19.6152H20.3846V20.5H16.6924ZM4.44238 18.6923L8.84638 11.8212L4.77713 5.5H6.74438L9.95963 10.5962H10.0214L13.2501 5.5H15.2329L11.1194 11.8212L15.5579 18.6923H13.5751L10.0214 13.123H9.95963L6.42513 18.6923H4.44238Z",fill:"currentColor"})),format_list_bulleted:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75005V5.25005H20.5V6.75005H9.30775ZM5.1635 19.6635C4.706 19.6635 4.31442 19.5006 3.98875 19.1748C3.66292 18.8491 3.5 18.4575 3.5 18C3.5 17.5425 3.66292 17.151 3.98875 16.8253C4.31442 16.4995 4.706 16.3365 5.1635 16.3365C5.621 16.3365 6.01258 16.4995 6.33825 16.8253C6.66408 17.151 6.827 17.5425 6.827 18C6.827 18.4575 6.66408 18.8491 6.33825 19.1748C6.
3501258 19.5006 5.621 19.6635 5.1635 19.6635ZM5.1635 13.6635C4.706 13.6635 4.31442 13.5006 3.98875 13.1748C3.66292 12.8491 3.5 12.4575 3.5 12C3.5 11.5425 3.66292 11.151 3.98875 10.8253C4.31442 10.4995 4.706 10.3365 5.1635 10.3365C5.621 10.3365 6.01258 10.4995 6.33825 10.8253C6.66408 11.151 6.827 11.5425 6.827 12C6.827 12.4575 6.66408 12.8491 6.33825 13.1748C6.01258 13.5006 5.621 13.6635 5.1635 13.6635ZM5.1635 7.66355C4.706 7.66355 4.31442 7.50063 3.98875 7.1748C3.66292 6.84913 3.5 6.45755 3.5 6.00005C3.5 5.54255 3.66292 5.15096 3.98875 4.8253C4.31442 4.49946 4.706 4.33655 5.1635 4.33655C5.621 4.33655 6.01258 4.49946 6.33825 4.8253C6.66408 5.15096 6.827 5.54255 6.827 6.00005C6.827 6.45755 6.66408 6.84913 6.33825 7.1748C6.01258 7.50063 5.621 7.66355 5.1635 7.66355Z",fill:"currentColor"})),format_list_numbered:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 21.5V20.3078H6V19.25H4.5V18.0577H6V17H3.5V15.8077H6.34625C6.58592 15.8077 6.78683 15.8888 6.949 16.051C7.11117 16.2132 7.19225 16.4141 7.19225 16.6538V17.8462C7.19225 18.0859 7.11117 18.2868 6.949 18.449C6.78683 18.6112 6.58592 18.6923 6.34625 18.6923C6.58592 18.6923 6.78683 18.7733 6.949 18.9355C7.11117 19.0977 7.19225 19.2987 7.19225 19.5385V20.6538C7.19225 20.8936 7.11117 21.0946 6.949 21.2568C6.78683 21.4189 6.58592 21.5 6.34625 21.5H3.5ZM3.5 14.8463V12.25C3.5 12.0103 3.58108 11.8093 3.74325 11.647C3.90542 11.4848 4.10642 11.4038 4.34625 11.4038H6V10.3462H3.5V9.15375H6.34625C6.58592 9.15375 6.78683 9.23483 6.949 9.397C7.11117 9.55933 7.19225 9.76033 7.19225 10V11.75C7.19225 11.9897 7.11117 12.1907 6.949 12.353C6.78683 12.5152 6.58592 12.5963 6.34625 12.5963H4.69225V13.6538H7.19225V14.8463H3.5ZM5 8.19225V3.69225H3.5V2.5H6.19225V8.19225H5ZM9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75V5.25H20.5V6.75H9.30775Z",fill:"currentColor"})),format_list_checked:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.69425 18.452L2.5 15.2578L3.54425 14.2135L5.66925 16.3385L9.91925 12.0885L10.9635 13.1578L5.69425 18.452ZM5.69425 10.8365L2.5 7.64227L3.54425 6.59802L5.66925 8.72302L9.91925 4.47302L10.9635 5.54227L5.69425 10.8365ZM13.0095 16.5578V15.0578H21.5095V16.5578H13.0095ZM13.0095 8.94227V7.44227H21.5095V8.94227H13.0095Z",fill:"currentColor"})),link:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M10.8077 16.5385H7.0385C5.78283 16.5385 4.7125 16.096 3.8275 15.211C2.9425 14.3262 2.5 13.256 2.5 12.0005C2.5 10.745 2.9425 9.67471 3.8275 8.78955C4.7125 7.90421 5.78283 7.46155 7.0385 7.46155H10.8077V8.96155H7.0385C6.19867 8.96155 5.48233 9.25805 4.8895 9.85105C4.2965 10.444 4 11.1604 4 12C4 12.8397 4.2965 13.556 4.8895 14.149C5.48233 14.742 6.19867 15.0385 7.0385 15.0385H10.8077V16.5385ZM8.25 12.75V11.25H15.75V12.75H8.25ZM13.1923 16.5385V15.0385H16.9615C17.8013 15.0385 18.5177 14.742 19.1105 14.149C19.7035 13.556 20 12.8397 20 12C20 11.1604 19.7035 10.444 19.1105 9.85105C18.5177 9.25805 17.8013 8.96155 16.9615 8.96155H13.1923V7.46155H16.9615C18.2172 7.46155 19.2875 7.90405 20.1725 8.78905C21.0575 9.67388 21.5 10.744 21.5 11.9995C21.5 13.255 21.0575 14.3254 20.1725 15.2105C19.2875 16.0959 18.2172 16.5385 16.9615 16.5385H13.1923Z",fill:"currentColor"})),add_photo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.11537 20.5C4.6182 20.5 4.19262 20.323 3.83862 19.969C3.48462 19.615 3.30762 19.1894 3.30762 18.6922V5.30773C3.30762 4.81056 3.48462 4.38498 3.83862 4.03098C4.19262 3.67698 4.6182 3.49998 5.11537 3.49998H13.8076V4.99998H5.11537C5.02553 4.99998 4.95178 5.02881 4.89412 5.08648C4.83645 5.14415 4.80762 5.2179 4.80762 5.30773V18.6922C4.80762 18.7821 4.83645 18.8558 4.89412 18.9135C4.95178 18.9711 5.02553 19 5.11537 19H18.4999C18.5895 19 18.6633 18.9711 18.7211 18.9135C18.7788 18.8558 18.8076 18.7821 18.8076 18.6922V9.99998H20.3076V18.6922C20.3076 19.1894 20.1306 19.615 19.7766 19.969C19.4226 20.323 18.997 20.5 18.4999 20.5H5.11537ZM17.1921 8.61523V6.61523H15.1921V5.11548H17.1921V3.11548H18.6921V5.11548H20.6921V6.61523H18.6921V8.61523H17.1921ZM6.55762 16.75H17.1344L13.8459 12.3655L11.0384 16.0192L9.03837 13.4615L6.55762 16.75Z",fill:"currentColor"})),table:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 18.6923V5.30775C3.5 4.81058 3.677 4.385 4.031 4.031C4.385 3.677 4.81058 3.5 5.30775 3.5H18.6923C19.1894 3.5 19.615 3.677 19.969 4.031C20.323 4.385 20.5 4.81058 20.5 5.30775V18.6923C20.5 19.1894 20.323 19.615 19.969 19.969C19.615 20.323 19.1894 20.5 18.6923 20.5H5.30775C4.81058 20.5 4.385 20.323 4.031 19.969C3.677 19.615 3.5 19.1894 3.5 18.6923ZM5 9.077H19V5.30775C19 5.21792 18.9712 5.14417 18.9135 5.0865C18.8558 5.02883 18.7821 5 18.6923 5H5.30775C5.21792 5 5.14417 5.02883 5.0865 5.0865C5.02883 5.14417 5 5.21792 5 5.30775V9.077ZM10.1615 14.0385H13.8385V10.577H10.1615V14.0385ZM10.1615 19H13.8385V15.5385H10.1615V19ZM5 14.0385H8.6615V10.577H5V14.0385ZM15.3385 14.0385H19V10.577H15.3385V14.0385ZM5.30775 19H8.661
355V15.5385H5V18.6923C5 18.7821 5.02883 18.8558 5.0865 18.9135C5.14417 18.9712 5.21792 19 5.30775 19ZM15.3385 19H18.6923C18.7821 19 18.8558 18.9712 18.9135 18.9135C18.9712 18.8558 19 18.7821 19 18.6923V15.5385H15.3385V19Z",fill:"currentColor"})),horizontal_rule:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M4.5 12.75V11.25H19.5V12.75H4.5Z",fill:"currentColor"})),frontmatter:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M4.5 8.75V7.25H8.5V8.75H4.5Z",fill:"currentColor"}),i.createElement("path",{d:"M4.5 14.75V13.25H8.5V14.75H4.5Z",fill:"currentColor"}),i.createElement("path",{d:"M9.5 8.75V7.25H13.5V8.75H9.5Z",fill:"currentColor"}),i.createElement("path",{d:"M9.5 14.75V13.25H13.5V14.75H9.5Z",fill:"currentColor"}),i.createElement("path",{d:"M14.5 8.75V7.25H18.5V8.75H14.5Z",fill:"currentColor"}),i.createElement("path",{d:"M14.5 14.75V13.25H18.5V14.75H14.5Z",fill:"currentColor"})),frame_source:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M8.6 15.2443L5.35575 12L8.6 8.75575L9.64425 9.825L7.46925 12L9.64425 14.175L8.6 15.2443ZM15.4 15.2443L14.3558 14.175L16.5307 12L14.3558 9.825L15.4 8.75575L18.6443 12L15.4 15.2443ZM5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V15H5V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H9V20.5H5.30775ZM15 20.5V19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V15H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H15ZM3.5 9V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H9V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V9H3.5ZM19 9V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H15V3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V9H19Z",fill:"currentColor"})),arrow_drop_down:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M11.9999 14.6537L7.59619 10.25H16.4037L11.9999 14.6537Z",fill:"currentColor"})),admonition:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.0001 21.4C11.7654 21.4 11.5385 21.3548 11.3193 21.2645C11.1002 21.174 10.9002 21.0435 10.7193 20.873L3.1271 13.2807C2.9566 13.0999 2.8261 12.8999 2.7356 12.6807C2.64526 12.4616 2.6001 12.2346 2.6001 12C2.6001 11.7653 2.64526 11.5358 2.7356 11.3115C2.8261 11.0871 2.9566 10.8897 3.1271 10.7192L10.7193 3.12698C10.9002 2.94614 11.1002 2.81314 11.3193 2.72798C11.5385 2.64264 11.7654 2.59998 12.0001 2.59998C12.2348 2.59998 12.4643 2.64264 12.6886 2.72798C12.9129 2.81314 13.1103 2.94614 13.2808 3.12698L20.8731 10.7192C21.0539 10.8897 21.1869 11.0871 21.2721 11.3115C21.3574 11.5358 21.4001 11.7653 21.4001 12C21.4001 12.2346 21.3574 12.4616 21.2721 12.6807C21.1869 12.8999 21.0539 13.0999 20.8731 13.2807L13.2808 20.873C13.1103 21.0435 12.9129 21.174 12.6886 21.2645C12.4643 21.3548 12.2348 21.4 12.0001 21.4ZM12.2213 19.8037L19.8039 12.2212C19.8552 12.1699 19.8808 12.0961 19.8808 12C19.8808 11.9038 19.8552 11.8301 19.8039 11.7787L12.2213 4.19623C12.17 4.14489 12.0963 4.11923 12.0001 4.11923C11.9039 4.11923 11.8302 4.14489 11.7788 4.19623L4.19635 11.7787C4.14501 11.8301 4.11935 11.9038 4.11935 12C4.11935 12.0961 4.14501 12.1699 4.19635 12.2212L11.7788 19.8037C11.8302 19.8551 11.9039 19.8807 12.0001 19.8807C12.0963 19.8807 12.17 19.8551 12.2213 19.8037ZM11.2501 13.0865H12.7501V7.47123H11.2501V13.0865ZM12.0001 15.702C12.2258 15.702 12.4168 15.6237 12.5731 15.4672C12.7296 15.3109 12.8078 15.1199 12.8078 14.8942C12.8078 14.6686 12.7296 14.4776 12.5731 14.3212C12.4168 14.1647 12.2258 14.0865 12.0001 14.0865C11.7744 14.0865 11.5834 14.1647 11.4271 14.3212C11.2706 14.4776 11.1923 14.6686 11.1923 14.8942C11.1923 15.1199 11.2706 15.3109 11.4271 15.4672C11.5834 15.6237 11.7744 15.702 12.0001 15.702Z",fill:"currentColor"})),sandpack:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.9999 22.5C12.4947 22.5 12.0671 22.325 11.7171 21.975C11.3671 21.625 11.1921 21.1974 11.1921 20.6922V7.30775C11.1921 6.80258 11.3671 6.375 11.7171 6.025C12.0671 5.675 12.4947 5.5 12.9999 5.5H16.3844C16.8895 5.5 17.3171 5.675 17.6671 6.025C18.0171 6.375 18.1921 6.80258 18.1921 7.30775V20.6922C18.1921 21.1974 18.0171 21.625 17.6671 21.975C17.3171 22.325 16.8895 22.5 16.3844 22.5H12.9999ZM12.6921 7.30775V20.6922C12.6921 20.7692 12.7242 20.8398 12.7884 20.9038C12.8524 20.9679 12.9229 21 12.9999 21H16.3844C16.4614 21 16.5319 20.9679 16.5959 20.9038C16.66 20.8398 16.6921 20.7692 16.6921 20.6922V7.30775C16.6921 7.23075 16.66 7.16025 16.5959 7.09625C16.5319 7.03208 16.4614 7 16.3844 7H12.9999C12.9229 7 12.8524 7.03208 12.7884 7.09625C12.7242 7.16025 12.6921 7.23075 12.6921 7.30775ZM6.61537 18.5C6.1102 18.5 5.
3568262 18.325 5.33262 17.975C4.98262 17.625 4.80762 17.1974 4.80762 16.6923V3.30775C4.80762 2.80258 4.98262 2.375 5.33262 2.025C5.68262 1.675 6.1102 1.5 6.61537 1.5H9.99987C10.505 1.5 10.9326 1.675 11.2826 2.025C11.6326 2.375 11.8076 2.80258 11.8076 3.30775V16.6923C11.8076 17.1974 11.6326 17.625 11.2826 17.975C10.9326 18.325 10.505 18.5 9.99987 18.5H6.61537ZM6.30762 3.30775V16.6923C6.30762 16.7692 6.3397 16.8398 6.40387 16.9038C6.46787 16.9679 6.53837 17 6.61537 17H9.99987C10.0769 17 10.1474 16.9679 10.2114 16.9038C10.2755 16.8398 10.3076 16.7692 10.3076 16.6923V3.30775C10.3076 3.23075 10.2755 3.16025 10.2114 3.09625C10.1474 3.03208 10.0769 3 9.99987 3H6.61537C6.53837 3 6.46787 3.03208 6.40387 3.09625C6.3397 3.16025 6.30762 3.23075 6.30762 3.30775Z",fill:"currentColor"})),rich_text:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19ZM6.75 17H17.3268L14 12.3655L11.2308 16.0192L9 13.4615L6.75 17Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12V6.5H9.1925C9.5925 6.5 9.9425 6.65 10.2425 6.95C10.5425 7.25 10.6925 7.6 10.6925 8V8.6925C10.6925 9.03733 10.605 9.32675 10.43 9.56075C10.255 9.79458 10.0168 9.97817 9.7155 10.1115L10.6155 12H9.404L8.504 10.1925H7.1925V12H6ZM9.1925 9H7.1925V7.6925H9.1925C9.26933 7.6925 9.33983 7.7245 9.404 7.7885C9.468 7.85267 9.5 7.92317 9.5 8V8.6925C9.5 8.76933 9.468 8.83983 9.404 8.904C9.33983 8.968 9.26933 9 9.1925 9Z",fill:"currentColor"}),i.createElement("path",{d:"M12.5 7H17.5V8.25H12.5V7Z",fill:"currentColor"}),i.createElement("path",{d:"M12.5 9.25H17.5V10.5H12.5V9.25Z",fill:"currentColor"})),difference:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),i.createElement("rect",{x:"9",y:"10",width:"5.5",height:"1.5",fill:"currentColor"}),i.createElement("rect",{x:"9",y:"15",width:"5.5",height:"1.5",fill:"currentColor"}),i.createElement("rect",{x:"11",y:"8",width:"1.5",height:"5.5",fill:"currentColor"})),markdown:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),i.createElement("path",{d:"M13 15H11.5V11L9.5 14L7.5 11V15H6V8H7.5L9.5 11L11.5 8H13V15Z",fill:"currentColor"}),i.createElement("path",{d:"M15.9921 15.5833L13.2886 12.8797L14.0546 12.1137L15.4504 13.5016V7.99597L16.5336 7.99993V13.5016L17.9296 12.1137L18.6954 12.8797L15.9921 15.5833Z",fill:"currentColor"})),open_in_new:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H11.6152V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V12.3848H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM9.71925 15.3345L8.6655 14.2808L17.9462 5H14V3.5H20.5V10H19V6.05375L9.71925 15.3345Z",fill:"currentColor"})),link_off:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M18.8843 16.1038L17.7498 14.9385C18.4228 14.7552 18.9661 14.3946 19.3796 13.8568C19.7931 13.319 19.9998 12.7 19.9998 12C19.9998 11.1604 19.705 10.444 19.1153 9.85105C18.5255 9.25805 17.8139 8.96155 16.9806 8.96155H13.1728V7.46155H16.9806C18.2293 7.46155 19.2947 7.90422 20.1768 8.78955C21.0588 9.67472 21.4998 10.7449 21.4998 12C21.4998 12.8859 21.262 13.6951 20.7863 14.4278C20.3107 15.1606 19.6767 15.7193 18.8843 16.1038ZM15.5806 12.75L14.0806 11.25H15.7306V12.75H15.5806ZM20.1461 22.2538L1.74609 3.8538L2.79984 2.80005L21.1998 21.2L20.1461 22.2538ZM10.8268 16.5386H7.03834C5.78318 16.5386 4.71301 16.0959 3.82784 15.2105C2.94251 14.3254 2.49984 13.2552 2.49984 12C2.49984 10.8885 2.85784 9.91322 3.57384 9.07405C4.28984 8.23505 5.18826 7.72838 6.26909 7.55405H6.49984L7.90759 8.96155H7.03834C6.19851 8.96155 5.48218 9.25805 4.88934 9.85105C4.29634 10.444 3.99984 11.1604 3.99984 12C3.99984 12.8397 4.29634 13.556 4.88934 14.149C5.48218 14.742 6.19851 15.0385 7.03834 15.0385H10.8268V16.5386ZM8.26909 12.75V11.25H10.2113L11.6863 12.75H8.26909Z",fill:"currentColor"})),edit:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5 19H6.2615L16.498 8.7635L15.2365 7.502L5 17.7385V19ZM3.5 20.5V17.1155L16.6905 3.93075C16.8417 3.79342 17.0086 3.68733 17.1913 3.6125C17.3741 3.5375 17.5658 3.5 17.7663 3.5C17.9668 3.5 18.1609 3.53558 18.3488 3.60675C18.5367 3.67792 18.7032 3.79108 18.848 3.94625L20.0693 5.
3518275C20.2244 5.32758 20.335 5.49425 20.401 5.68275C20.467 5.87125 20.5 6.05975 20.5 6.24825C20.5 6.44942 20.4657 6.64133 20.397 6.824C20.3283 7.00683 20.2191 7.17383 20.0693 7.325L6.8845 20.5H3.5ZM15.8562 8.14375L15.2365 7.502L16.498 8.7635L15.8562 8.14375Z",fill:"currentColor"})),content_copy:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.05775 17.5C8.55258 17.5 8.125 17.325 7.775 16.975C7.425 16.625 7.25 16.1974 7.25 15.6923V4.30775C7.25 3.80258 7.425 3.375 7.775 3.025C8.125 2.675 8.55258 2.5 9.05775 2.5H17.4423C17.9474 2.5 18.375 2.675 18.725 3.025C19.075 3.375 19.25 3.80258 19.25 4.30775V15.6923C19.25 16.1974 19.075 16.625 18.725 16.975C18.375 17.325 17.9474 17.5 17.4423 17.5H9.05775ZM9.05775 16H17.4423C17.5192 16 17.5898 15.9679 17.6538 15.9038C17.7179 15.8398 17.75 15.7692 17.75 15.6923V4.30775C17.75 4.23075 17.7179 4.16025 17.6538 4.09625C17.5898 4.03208 17.5192 4 17.4423 4H9.05775C8.98075 4 8.91025 4.03208 8.84625 4.09625C8.78208 4.16025 8.75 4.23075 8.75 4.30775V15.6923C8.75 15.7692 8.78208 15.8398 8.84625 15.9038C8.91025 15.9679 8.98075 16 9.05775 16ZM5.55775 21C5.05258 21 4.625 20.825 4.275 20.475C3.925 20.125 3.75 19.6974 3.75 19.1923V6.30775H5.25V19.1923C5.25 19.2693 5.28208 19.3398 5.34625 19.4038C5.41025 19.4679 5.48075 19.5 5.55775 19.5H15.4423V21H5.55775Z",fill:"currentColor"})),more_horiz:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M6.23096 13.5C5.81846 13.5 5.46537 13.3531 5.17171 13.0592C4.87787 12.7656 4.73096 12.4125 4.73096 12C4.73096 11.5875 4.87787 11.2344 5.17171 10.9408C5.46537 10.6469 5.81846 10.5 6.23096 10.5C6.64346 10.5 6.99662 10.6469 7.29046 10.9408C7.58412 11.2344 7.73096 11.5875 7.73096 12C7.73096 12.4125 7.58412 12.7656 7.29046 13.0592C6.99662 13.3531 6.64346 13.5 6.23096 13.5ZM12.0002 13.5C11.5877 13.5 11.2346 13.3531 10.941 13.0592C10.6471 12.7656 10.5002 12.4125 10.5002 12C10.5002 11.5875 10.6471 11.2344 10.941 10.9408C11.2346 10.6469 11.5877 10.5 12.0002 10.5C12.4127 10.5 12.7658 10.6469 13.0595 10.9408C13.3533 11.2344 13.5002 11.5875 13.5002 12C13.5002 12.4125 13.3533 12.7656 13.0595 13.0592C12.7658 13.3531 12.4127 13.5 12.0002 13.5ZM17.7695 13.5C17.357 13.5 17.0038 13.3531 16.71 13.0592C16.4163 12.7656 16.2695 12.4125 16.2695 12C16.2695 11.5875 16.4163 11.2344 16.71 10.9408C17.0038 10.6469 17.357 10.5 17.7695 10.5C18.182 10.5 18.535 10.6469 18.8287 10.9408C19.1225 11.2344 19.2695 11.5875 19.2695 12C19.2695 12.4125 19.1225 12.7656 18.8287 13.0592C18.535 13.3531 18.182 13.5 17.7695 13.5Z",fill:"currentColor"})),more_vert:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12 19.2692C11.5875 19.2692 11.2344 19.1223 10.9408 18.8285C10.6469 18.5348 10.5 18.1817 10.5 17.7692C10.5 17.3567 10.6469 17.0035 10.9408 16.7097C11.2344 16.416 11.5875 16.2692 12 16.2692C12.4125 16.2692 12.7656 16.416 13.0592 16.7097C13.3531 17.0035 13.5 17.3567 13.5 17.7692C13.5 18.1817 13.3531 18.5348 13.0592 18.8285C12.7656 19.1223 12.4125 19.2692 12 19.2692ZM12 13.5C11.5875 13.5 11.2344 13.353 10.9408 13.0592C10.6469 12.7655 10.5 12.4125 10.5 12C10.5 11.5875 10.6469 11.2344 10.9408 10.9407C11.2344 10.6469 11.5875 10.5 12 10.5C12.4125 10.5 12.7656 10.6469 13.0592 10.9407C13.3531 11.2344 13.5 11.5875 13.5 12C13.5 12.4125 13.3531 12.7655 13.0592 13.0592C12.7656 13.353 12.4125 13.5 12 13.5ZM12 7.73071C11.5875 7.73071 11.2344 7.58388 10.9408 7.29021C10.6469 6.99638 10.5 6.64321 10.5 6.23071C10.5 5.81821 10.6469 5.46513 10.9408 5.17146C11.2344 4.87763 11.5875 4.73071 12 4.73071C12.4125 4.73071 12.7656 4.87763 13.0592 5.17146C13.3531 5.46513 13.5 5.81821 13.5 6.23071C13.5 6.64321 13.3531 6.99638 13.0592 7.29021C12.7656 7.58388 12.4125 7.73071 12 7.73071Z",fill:"currentColor"})),close:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M6.39994 18.6538L5.34619 17.6L10.9462 12L5.34619 6.4L6.39994 5.34625L11.9999 10.9463L17.5999 5.34625L18.6537 6.4L13.0537 12L18.6537 17.6L17.5999 18.6538L11.9999 13.0538L6.39994 18.6538Z",fill:"currentColor"})),settings:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.69225 21.5L9.3115 18.4538C9.04367 18.3641 8.769 18.2385 8.4875 18.077C8.20617 17.9153 7.95459 17.7422 7.73275 17.5577L4.9115 18.75L2.604 14.75L5.04425 12.9058C5.02125 12.7571 5.00492 12.6077 4.99525 12.4578C4.98559 12.3078 4.98075 12.1583 4.98075 12.0095C4.98075 11.8673 4.98559 11.7228 4.99525 11.576C5.00492 11.4292 5.02125 11.2686 5.04425 11.0943L2.604 9.25L4.9115 5.26925L7.723 6.452C7.96417 6.261 8.22159 6.08633 8.49525 5.928C8.76892 5.76967 9.03784 5.64242 9.302 5.54625L9.69225 2.5H14.3078L14.6885 5.55575C14.9885 5.66475 15.2599 5.792 15.5028 5.9375C15.7458 6.083 15.991 6.2545 16.2385 6.452L19.0885 5.26925L21.396 9.25L18.9173 11.123C18.9531 11.2845 18.9727 11.4355 18.976 11.576C18.9792 11.7163 18.9808 11.8577 18.9808 12C18.9808 12.1358 18.9775 12.274 18.971 12.4145C18.9647 12.5548 18.9417 12.7154 18.902 12.8963L21.3615 14.75L19.0538 18.75L16.2385 17.548C15.99
351 17.7455 15.7384 17.9202 15.4808 18.072C15.2231 18.224 14.959 18.3481 14.6885 18.4443L14.3078 21.5H9.69225ZM11 20H12.9655L13.325 17.3212C13.8353 17.1879 14.3017 16.9985 14.724 16.753C15.1465 16.5073 15.5539 16.1916 15.9463 15.8057L18.4308 16.85L19.4155 15.15L17.2463 13.5155C17.3296 13.2565 17.3863 13.0026 17.4163 12.7537C17.4464 12.5051 17.4615 12.2538 17.4615 12C17.4615 11.7397 17.4464 11.4884 17.4163 11.2463C17.3863 11.0039 17.3296 10.7564 17.2463 10.5038L19.4345 8.85L18.45 7.15L15.9365 8.2095C15.6018 7.85183 15.2009 7.53583 14.7338 7.2615C14.2664 6.98717 13.7937 6.79292 13.3155 6.67875L13 4H11.0155L10.6845 6.66925C10.1743 6.78975 9.70325 6.97433 9.27125 7.223C8.83909 7.47183 8.42684 7.79233 8.0345 8.1845L5.55 7.15L4.5655 8.85L6.725 10.4595C6.64167 10.6968 6.58334 10.9437 6.55 11.2C6.51667 11.4563 6.5 11.7262 6.5 12.0095C6.5 12.2698 6.51667 12.525 6.55 12.775C6.58334 13.025 6.6385 13.2718 6.7155 13.5155L4.5655 15.15L5.55 16.85L8.025 15.8C8.4045 16.1897 8.81025 16.5089 9.24225 16.7578C9.67442 17.0064 10.152 17.1974 10.675 17.3307L11 20ZM12.0115 15C12.8435 15 13.5515 14.708 14.1355 14.124C14.7195 13.54 15.0115 12.832 15.0115 12C15.0115 11.168 14.7195 10.46 14.1355 9.876C13.5515 9.292 12.8435 9 12.0115 9C11.1692 9 10.4586 9.292 9.87975 9.876C9.30092 10.46 9.0115 11.168 9.0115 12C9.0115 12.832 9.30092 13.54 9.87975 14.124C10.4586 14.708 11.1692 15 12.0115 15Z",fill:"currentColor"})),delete_big:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),delete_small:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),format_align_center:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM7.5 16.625V15.125H16.5V16.625H7.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM7.5 8.875V7.375H16.5V8.875H7.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_left:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H14.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H14.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_right:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 5V3.5H20.5V5H3.5ZM9.5 8.875V7.375H20.5V8.875H9.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM9.5 16.625V15.125H20.5V16.625H9.5ZM3.5 20.5V19H20.5V20.5H3.5Z",fill:"currentColor"})),add_row:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.025 10.2077C4.375 9.85775 4.80258 9.68275 5.30775 9.68275H6.5V11.1827H5.30775C5.21792 11.1827 5.14417 11.2116 5.0865 11.2693C5.02883 11.3269 5 11.4007 5 11.4905V16.1923C5 16.2821 5.02883 16.3558 5.0865 16.4135C5.14417 16.4712 5.21792 16.5 5.30775 16.5H18.6923C18.7821 16.5 18.8558 16.4712 18.9135 16.4135C18.9712 16.3558 19 16.2821 19 16.1923V11.4905C19 11.4007 18.9712 11.3269 18.9135 11.2693C18.8558 11.2116 18.7821 11.1827 18.6923 11.1827H17.6923V9.68275H18.6923C19.1974 9.68275 19.625 9.85775 19.975 10.2077C20.325 10.5577 20.5 10.9853 20.5 11.4905V16.1923C20.5 16.6974 20.325 17.125 19.975 17.475C19.625 17.825 19.1974 18 18.6923 18H5.30775C4.80258 18 4.375 17.825 4.025 17.475C3.675 17.125 3.5 16.6974 3.5 16.1923V11.4905C3.5 10.9853 3.675 10.5577 4.025 10.2077Z",fill:"currentColor"}),i.createElement("path",{d:"M11.3848 9.68275V7.5H12.8848V9.68275H15V11.1827H12.8848V13.2307H11.3848V11.1827H9.26925V9.68275H11.3848Z",fill:"currentColor"})),add_column:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.70775 4.025C9.35775 4.375 9.18275 4.80258 9.18275 5.30775V6.5H10.6827V5.30775C10.6827 5.21792 10.7116 5.14417 10.7693 5.0865C10.8269 5.02883 10.9007 5 10.9905 5H15.6923C15.7821 5 15.8558 5.02883 15.9135 5.0865C15.9712 5.14417 16 5.21792 16 5.30775V18.6923C16 18.7821 15.9712 18.8558 15.9135 18.9135C15.8558 18.9712 15.7821 19 15.6923 19H10.9905C10.9007 19 10.8269 18.9712 10.7693 18.9135C10.7116 18.8558 10.6827 18.7821 10.6827 18.6923V17.6923H9.18275V18.6923C9.18275 19.1974 9.35775 19.625 9.70775 19.975C10.0577 20.325 10.4853 20.5 10.9905 20.5H15.6923C16.1974 20.5 16.625 20.325 16.975 19.975C17.325 19.625 17.5 19.1974 17.5 18.6923V5.30775C17.5 4.80258 17.325 4.375 16.975 4.025C16.625 3.675 16.1974 3.5 15.6923 3.5H10.9905C10.4853 3.5 10.0577 3.675 9.70775 4.025Z",fill:"currentColor"}),i.createElement("path",{d:"M9.18275 11.3848H7V12.8848H9.18275V15H10.6827V12.8848H12.7307V11.3848H10.6827V9.26925H9.18275V11.3848Z",fill:"currentColor"})),insert_col_left:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M13.0001 20.1152H8.67713H8.75388H8.69238H13.0001ZM7.19238 19.8075C7.19238 20.3127 7.36738 20.7402 7.71738 21.0902C8.06738 21.4402 8.49497 21.6152 9.00013 21.6152H12.6924C13.1975 21.6152 13.6251 21.4402 13.9751 21.0902C14.3251 20.7402 14.5001 20.3127 14.5001 19.8075V10.423H13.0001V19.8075C13.0001 19.8973 12.9713 19.9711 12.9136 20.0287C12.856 20.0864 12.7822 20.1152 12.6924 20.1152H9.00013C8.9103 20.1152 8.83655 20.0864 8.77888 20.0287C8.72122 19.9711 8.69238 19.8973 8.69238 19.8075V4.69223C8.26422 4.74357 7.90722 4.93299 7.62138 5.26048C7.33538 5.58798 7.19238 5.97548 7.19238 6.42298V19.8075ZM13.0001 2.49998V4.61523H10.8846V6.11523H13.0001V8.23073H14.5001V6.11523H16.6154V4.61523H14.5001V2.49998H13.0001Z",fill:"currentColor"})),insert_row_above:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.1152 9.99987V14.3229V14.2461V14.3076V9.99987ZM19.8075 15.8076C20.3127 15.8076 20.7402 15.6326 21.0902 15.2826C21.4402 14.9326 21.6152 14.505 21.6152 13.9999V10.3076C21.6152 9.80245 21.4402 9.37487 21.0902 9.02487C20.7402 8.67487 20.3127 8.49987 19.8075 8.49987H10.423V9.99987H19.8075C19.8973 9.99987 19.9711 10.0287 20.0287 10.0864C20.0864 10.144 20.1152 10.2178 20.1152 10.3076V13.9999C20.1152 14.0897 20.0864 14.1635 20.0287 14.2211C19.9711 14.2788 19.8973 14.3076 19.8075 14.3076H4.69223C4.74357 14.7358 4.93299 15.0928 5.26048 15.3786C5.58798 15.6646 5.97548 15.8076 6.42298 15.8076H19.8075ZM2.49998 9.99987H4.61523V12.1154H6.11523V9.99987H8.23073V8.49987H6.11523V6.38462H4.61523V8.49987H2.49998V9.99987Z",fill:"currentColor"})),insert_row_below:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.1152 14.1924V9.86939V9.94614V9.88464V14.1924ZM19.8075 8.38464C20.3127 8.38464 20.7402 8.55964 21.0902 8.90964C21.4402 9.25964 21.6152 9.68723 21.6152 10.1924V13.8846C21.6152 14.3898 21.4402 14.8174 21.0902 15.1674C20.7402 15.5174 20.3127 15.6924 19.8075 15.6924H10.423V14.1924H19.8075C19.8973 14.1924 19.9711 14.1636 20.0287 14.1059C20.0864 14.0482 20.1152 13.9745 20.1152 13.8846V10.1924C20.1152 10.1026 20.0864 10.0288 20.0287 9.97114C19.9711 9.91348 19.8973 9.88464 19.8075 9.88464H4.69223C4.74357 9.45648 4.93299 9.09948 5.26048 8.81364C5.58798 8.52764 5.97548 8.38464 6.42298 8.38464H19.8075ZM2.49998 14.1924H4.61523V12.0769H6.11523V14.1924H8.23073V15.6924H6.11523V1
357.8076H4.61523V15.6924H2.49998V14.1924Z",fill:"currentColor"})),insert_col_right:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M10.8075 20.1152H15.1305H15.0537H15.1152H10.8075ZM16.6152 19.8075C16.6152 20.3127 16.4402 20.7402 16.0902 21.0902C15.7402 21.4402 15.3127 21.6152 14.8075 21.6152H11.1152C10.6101 21.6152 10.1825 21.4402 9.83248 21.0902C9.48248 20.7402 9.30748 20.3127 9.30748 19.8075V10.423H10.8075V19.8075C10.8075 19.8973 10.8363 19.9711 10.894 20.0287C10.9517 20.0864 11.0254 20.1152 11.1152 20.1152H14.8075C14.8973 20.1152 14.9711 20.0864 15.0287 20.0287C15.0864 19.9711 15.1152 19.8973 15.1152 19.8075V4.69223C15.5434 4.74357 15.9004 4.93299 16.1862 5.26048C16.4722 5.58798 16.6152 5.97548 16.6152 6.42298V19.8075ZM10.8075 2.49998V4.61523H12.923V6.11523H10.8075V8.23073H9.30748V6.11523H7.19223V4.61523H9.30748V2.49998H10.8075Z",fill:"currentColor"})),check:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.54983 17.6537L4.21533 12.3192L5.28433 11.25L9.54983 15.5155L18.7153 6.34998L19.7843 7.41923L9.54983 17.6537Z",fill:"currentColor"}))};function P(e,t){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var I={error:null},N=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state=I,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,P(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var n=t.prototype;return n.reset=function(){this.setState(I)},n.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},n.componentDidUpdate=function(e,t){var n,r,i,o,a=this.state.error,l=this.props.resetKeys;null!==a&&null!==t.error&&(void 0===(i=e.resetKeys)&&(i=[]),void 0===(o=l)&&(o=[]),i.length!==o.length||i.some(function(e,t){return!Object.is(e,o[t])}))&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,l),this.reset())},n.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,r=t.FallbackComponent,o=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(i.isValidElement(o))return o;if("function"==typeof n)return n(a);if(r)return i.createElement(r,a);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(i.Component);function R({children:e,onError:t}){return(0,s.jsx)(N,{fallback:(0,s.jsx)("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:e})}let L=({children:e})=>{let t=(0,r.Lm)(a.st),n=i.useMemo(()=>[t,(0,l.LI)(null,S.c)],[t]);return i.createElement(l.YK.Provider,{value:n},e)},D=()=>{let e=(0,a.$G)(),t=(0,r.Np)(a.TD),[n,o,l,s,u,c,d]=(0,r.Or)(a.iw,a.Bo,a.L_,a.NQ,a.ph,a.jh,a.W6);return i.createElement(i.Fragment,null,s.map((e,t)=>i.createElement(e,{key:t})),i.createElement(H,{wrappers:u},i.createElement("div",{className:k(A.ZP.rootContentEditableWrapper,"mdxeditor-root-contenteditable")},i.createElement(x,{contentEditable:i.createElement("div",{ref:e=>{t({current:e})}},i.createElement(m,{className:k(A.ZP.contentEditable,n),ariaLabel:e("contentArea.editableMarkdown","editable markdown"),spellCheck:o})),placeholder:i.createElement("div",{className:k(A.ZP.contentEditable,A.ZP.placeholder,n)},i.createElement("p",null,c)),ErrorBoundary:R}))),l.map((e,t)=>i.createElement(e,{key:t})),d.map((e,t)=>i.createElement(e,{key:t})))},M={listItemIndent:"one"},F=e=>O[e];function B(e,t,n={}){let r=t;for(let[e,t]of Object.entries(n))r=r.replaceAll(`{{${e}}}`,String(t));return r}let H=({wrappers:e,children:t})=>{if(0===e.length)return i.createElement(i.Fragment,null,t);let n=e[0];return i.createElement(n,null,i.createElement(H,{wrappers:e.slice(1)},t))},U=({children:e,className:t,overlayContainer:n})=>{let o=i.useRef(null),l=(0,r.Np)(a.rH);return i.useEffect(()=>{let e=document.createElement("div");e.classList.add("mdxeditor-popup-container",A.ZP.editorRoot,A.ZP.popupContainer,...(t??"").trim().split(" ").filter(
35Boolean));let r=n??document.body;return r.appendChild(e),o.current=e,l(o),()=>{e.remove()}},[t,o,n,l]),i.createElement("div",{className:k("mdxeditor",A.ZP.editorRoot,A.ZP.editorWrapper,t)},e)},j=({mdxRef:e})=>{let t=(0,r.PL)();return i.useImperativeHandle(e,()=>({getMarkdown:()=>"source"===t.getValue(a.G)?t.getValue(a.zv):t.getValue(a.J9),setMarkdown:e=>{t.pub(a.H6,e)},insertMarkdown:e=>{t.pub(a.sc,e)},focus:(e,n)=>{var r;null==(r=t.getValue(a.st))||r.focus(e,n)}}),[t]),null},V=i.forwardRef((e,t)=>i.createElement(o.F,{plugins:[(0,a.m6)({contentEditableClassName:e.contentEditableClassName??"",spellCheck:e.spellCheck??!0,initialMarkdown:e.markdown,onChange:e.onChange??w.ZT,onBlur:e.onBlur??w.ZT,toMarkdownOptions:e.toMarkdownOptions??M,autoFocus:e.autoFocus??!1,placeholder:e.placeholder??"",readOnly:!!e.readOnly,iconComponentFor:e.iconComponentFor??F,suppressHtmlProcessing:e.suppressHtmlProcessing??!1,onError:e.onError??w.ZT,translation:e.translation??B,trim:e.trim??!0,lexicalTheme:e.lexicalTheme}),...e.plugins??[]]},i.createElement(U,{className:e.className,overlayContainer:e.overlayContainer},i.createElement(L,null,i.createElement(D,null))),i.createElement(j,{mdxRef:t})))},36903:function(e,t,n){"use strict";n.d(t,{F:function(){return l},n:function(){return a}});var r=n(2265),i=n(95393),o=n(32535);function a(e){return function(t){return{init:n=>{var r;return null==(r=e.init)?void 0:r.call(e,n,t)},postInit:n=>{var r;return null==(r=e.postInit)?void 0:r.call(e,n,t)},update:n=>{var r;return null==(r=e.update)?void 0:r.call(e,n,t)}}}}function l({children:e,plugins:t}){let n=r.useMemo(()=>(0,o.bw)(new i.B_,e=>{var n,r;for(let r of t)null==(n=r.init)||n.call(r,e);for(let n of t)null==(r=n.postInit)||r.call(n,e)}),[]);return r.useEffect(()=>{var e;for(let r of t)null==(e=r.update)||e.call(r,n)}),r.createElement(i.Wi.Provider,{value:n},e)}},75178:function(e,t,n){"use strict";n.d(t,{vH:function(){return ih},g8:function(){return rO},zY:function(){return rI},$s:function(){return iL},_g:function(){return iD},lT:function(){return iC},X4:function(){return iE},aB:function(){return it},ON:function(){return r8},QB:function(){return r6},kS:function(){return iA},UA:function(){return i_},It:function(){return rj},W6:function(){return ix},Ck:function(){return r3},L_:function(){return ib},iw:function(){return rN},TD:function(){return r7},aY:function(){return iP},m6:function(){return iB},xj:function(){return iy},mf:function(){return ig},OZ:function(){return rB},pb:function(){return rV},rH:function(){return r9},ph:function(){return ik},_s:function(){return iw},wh:function(){return ip},XU:function(){return iI},sc:function(){return ia},J9:function(){return rG},zv:function(){return iR},jh:function(){return rD},gY:function(){return rL},st:function(){return rP},H6:function(){return io},Bo:function(){return rR},NQ:function(){return iT},$G:function(){return iH},G:function(){return iN}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return nW},contentInitial:function(){return nH},disable:function(){return n$},document:function(){return nB},flow:function(){return nj},flowInitial:function(){return nU},insideSpan:function(){return nG},string:function(){return nV},text:function(){return nz}});var i=n(36903),o=n(97067),a=n(73324);function l(e){e.undoStack=[],e.redoStack=[],e.current=null}function s(){return{current:null,redoStack:[],undoStack:[]}}var u=n(5266),c=n(31531),d=n(95393);function f(e,t,n,r){let i;let o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}m(/[A-Za-z]/),m(/[\dA-Za-z]/),m(/[#-'*+\--9=?A-Z^-~]/),m(/\d/),m(/[\dA-Fa-f]/),m(/[!-/:-@[-`{-~]/);let p=m(/\p{P}|\p{S}/u),h=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function g(e){return null===e||null!==e&&(e<0||32===e)||h(e)?1:p(e)?2:void 0}let y=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function v(e){this.enter({type:"delete",children:[]},e)}function b(e){this.exit(e)}function E(e,t,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"})+i.move("~~"),o(),a}function T(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}E.peek=function(){return"~"};var _=n(4835);let x=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
35h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],C={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};function k(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function S(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function A(e){return function(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||k(e)}var w=n(63034);let O=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"],P=/["&'<>`]/g,I=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,N=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,R=/[|\\{}()[\]^$+*?.]/g,L=new WeakMap;function D(e){return"&#x"+e.toString(16).toUpperCase()+";"}function M(e){return e&&"object"==typeof e?"position"in e||"type"in e?B(e.position):"start"in e||"end"in e?B(e):"line"in e||"column"in e?F(e):"":""}function F(e){return H(e&&e.line)+":"+H(e&&e.column)}function B(e){return F(e&&e.start)+"-"+F(e&&e.end)}function H(e){return e&&"number"==typeof e?e:1}class U extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=M(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}function j(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function V(e){return" ".repeat(e)}function z(){return"<"}U.prototype.file="",U.prototype.name="",U.prototype.reason="",U.prototype.message="",U.prototype.stack="",U.prototype.column=void 0,U.prototype.line=void 0,U.prototype.ancestors=void 0,U.prototype.cause=void 0,U.prototype.fatal=void 0,U.prototype.place=void 0,U.prototype.ruleId=void 0,U.prototype.source=void 0;let G=/[$_\p{ID_Start}]/u,W=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,$=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,Z={};function Y(e){return!!e&&G.test(String.fromCodePoint(e))}function q(e,t){let n=(t||Z).jsx?$:W;return!!e&&n.test(String.fromCodePoint(e))}function K(e){return null!==e&&e<-2}function X(e){return -2===e||-1===e||32===e}function J(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}J(/[A-Za-z]/),J(/[\dA-Za-z]/),J(/[#-'*+\--9=?A-Z^-~]/),J(/\d/),J(/[\dA-Fa-f]/),J(/[!-/:-@[-`{-~]/),J(/\p{P}|\p{S}/u),J(/\s/);let Q={}.hasOwnProperty,ee=Symbol("continue"),et=Symbol("exit"),en=Symbol("skip");function er(e){return Array.isArray(e)?e:"number"==typeof e?[ee,e]:[e]}function ei(e){return!!(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}function eo(e){return el(e&&e.line)+":"+el(e&&e.column)}function ea(e){return eo(e&&e.start)+"-"+eo(e&&e.end)}function el(e){return e&&"number"==typeof e?e:1}
35class es extends Error{constructor(e,t,n){var r;super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},a=!1;if(t&&(o="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!o.cause&&e&&(a=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){let e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}let l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=((r=o.place)&&"object"==typeof r?"position"in r||"type"in r?ea(r.position):"start"in r||"end"in r?ea(r):"line"in r||"column"in r?eo(r):"":"")||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}function eu(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function ec(e){let t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],i=ed(n.start,r[0]||t.start),o=ed(n.end,r[1]||t.end);if(i&&o)return{start:i,end:o}}function ed(e,t){if(e&&"object"==typeof e){let n="line"in e?ef(e.line):void 0,r="column"in e?ef(e.column):void 0;if(n&&void 0!==r)return{line:n,column:r+1,offset:ef(t)}}}function ef(e){return"number"==typeof e&&e>-1?e:void 0}function ep(e){return em(e&&e.line)+":"+em(e&&e.column)}function eh(e){return ep(e&&e.start)+"-"+ep(e&&e.end)}function em(e){return e&&"number"==typeof e?e:1}es.prototype.file="",es.prototype.name="",es.prototype.reason="",es.prototype.message="",es.prototype.stack="",es.prototype.column=void 0,es.prototype.line=void 0,es.prototype.ancestors=void 0,es.prototype.cause=void 0,es.prototype.fatal=void 0,es.prototype.place=void 0,es.prototype.ruleId=void 0,es.prototype.source=void 0;class eg extends Error{constructor(e,t,n){var r;super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},a=!1;if(t&&(o="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!o.cause&&e&&(a=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){let e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}let l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=((r=o.place)&&"object"==typeof r?"position"in r||"type"in r?eh(r.position):"start"in r||"end"in r?eh(r):"line"in r||"column"in r?ep(r):"":"")||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}eg.prototype.file="",eg.prototype.name="",eg.prototype.reason="",eg.prototype.message="",eg.prototype.stack="",eg.prototype.column=void 0,eg.prototype.line=void 0,eg.prototype.ancestors=void 0,eg.prototype.cause=void 0,eg.prototype.fatal=void 0,eg.prototype.place=void 0,eg.prototype.ruleId=void 0,eg.prototype.source=void 0;let ey="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",ev="#unexpected-type-in-code-expected-an-object-spread-spread";function eb(e,t,n,r,i,o,a,l,s,u,c){let d,f;let p=this,h=this.events.length+3,m=0;return function(t){return e.enter(n),e.enter(r),e.consume(t),e.exit(r),d=p.now(),g};function g(c){if(null===c){if(f)throw f;let e=new eg("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:p.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=ey+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if(K(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),v;if(125===c&&0===m){let m=o?eE.call(p,o,a,i,h,d,u||!1,s||!1):{type:"ok",estree:void 0};if("ok"===m.type){e.enter(r),e.consume(c),e.exit(r);let i=e.exit(n);return l&&m.estree&&Object.assign(i,{estree:m.estree}),t}return f=m.message,e.enter(i),e.consume(c),y}return e.enter(i),y(c)}function y(t){return 125===t&&0===m||null===t||K(t)?(e.exit(i),g(t)):(123!==t||o?125===t&&(m-=1):m+=1,e.consume(t),y)}function v(t){let n=p.now();if(n.line!==d.line&&!c&&p.parser.lazy[n.line]){let e=new eg("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:p.now(),ruleId:"unex
35pected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=ey+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return X(t)?(function(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return X(r)?(e.enter(n),function r(a){return X(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}})(e,g,"linePrefix",3)(t):g(t)}}function eE(e,t,n,r,i,o,a){let l=function(e,t){let n,r;let i=t.prefix||"",o=t.suffix||"",a=Object.assign({},t.acornOptions),l=[],s=[],u=a.onComment,c=a.onToken,d=!1,f=Object.assign({},a,{onComment:l,preserveParens:!0});c&&(f.onToken=s);let p=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r<e.length;){let i=e[r];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n<e.length;){let i;let o=e[n];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=" ";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(o)}t=-2===o,r.push(i)}return r.join("")}(e);n.stops.push([n.value.length,i[1].start]),n.value+=t,n.stops.push([n.value.length,i[1].end])}}}return n}(e,t.tokenTypes),h=p.value,m=i+h+o,g=t.expression&&eu(h);if(g&&!t.allowEmpty)throw new es("Unexpected empty expression",{place:E(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{n=t.expression&&!g?t.acorn.parseExpressionAt(m,0,f):t.acorn.parse(m,f)}catch(t){let e=E(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,d=t.raisedAt>=i.length+h.length||"Unterminated comment"===t.message}if(n&&t.expression&&!g){if(eu(m.slice(n.end,m.length-o.length)))n={type:"Program",start:0,end:i.length+h.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:i.length+h.length}],sourceType:"module",comments:[]};else{let e=E(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,n=void 0}}if(n){var y,v;let e,t;if(n.comments=l,y=n,"function"==typeof(v=function(e,t,n,r){let i=r[r.length-1],o=t;"ParenthesizedExpression"===e.type&&i&&o&&("number"==typeof n&&(i=i[o],o=n),i[o]=e.expression),b(e)})&&(e=v),(function n(r,i,o,a){return ei(r)&&(l.displayName="node ("+r.type+")"),l;function l(){let l=e?er(e(r,i,o,a)):[];if(l[0]===et)return l;if(l[0]!==en){let e;for(e in r)if(Q.call(r,e)&&r[e]&&"object"==typeof r[e]&&"data"!==e&&"position"!==e){let t=a.concat(r),i=r[e];if(Array.isArray(i)){let r=0;for(;r>-1&&r<i.length;){let o=i[r];if(ei(o)){let i=n(o,e,r,t)();if(i[0]===et)return i;r="number"==typeof i[1]?i[1]:r+1}else r++}}else if(ei(i)){let r=n(i,e,void 0,t)();if(r[0]===et)return r}}}return t?er(t(r,i,o,a)):l}})(y,void 0,void 0,[])(),Array.isArray(u))u.push(...l);else if("function"==typeof u)for(let e of l)u("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of s)e.end<=i.length||e.start-i.length>=h.length||(b(e),Array.isArray(c)?c.push(e):c(e))}return{estree:n,error:r,swallow:d};function b(e){let t=E(e.start),n=E(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function E(e){let n=e-i.length;n<0?n=0:n>h.length&&(n=h.length);let r=function(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(0===n)return;let[r,i]=e[n-1],o=t-r;return{line:i.line,column:i.column+o,offset:i.offset+o}}(p.stops,n);return r||(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:o,prefix:a?"({":"",suffix:a?"})":""}),s=l.estree;if(a&&s){let e=s.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=ec(e),n=new eg("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=ey+ev,n}if(e.expression.properties[1]){let t=ec(e.expression.properties[1]),n=new eg("Unexpected extra content in spread: only a single spread is supported",{place:t.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw n.url=ey+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",n}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=ec(e.expression.properties[0]),n=new eg("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=ey+ev,n}}if(l.error){let e=new eg("Could not parse expression with acorn",{cause:l.error,place:{line:l.error.loc.line,column:l.error.loc.column+1,offset:l.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=ey+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:s}}function eT(e){return null!==e&&e<-2}function e_(e){return null!==e&&(e<0||32===e)}function ex(e){return -2===e||-1===e||32===e}ek(/[A-Za-z]/),ek(/[\dA-Za-z]/),ek(/[#-'*+\--9=?A-Z^-~]/),ek(/\d/),ek(/[\dA-Fa-f]/),ek(/[!-/:-@[-`{-~]/),ek(/\p{P}|\p{S}/u);
35let eC=ek(/\s/);function ek(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function eS(e){return ew(e&&e.line)+":"+ew(e&&e.column)}function eA(e){return eS(e&&e.start)+"-"+eS(e&&e.end)}function ew(e){return e&&"number"==typeof e?e:1}class eO extends Error{constructor(e,t,n){var r;super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},a=!1;if(t&&(o="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!o.cause&&e&&(a=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){let e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}let l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=((r=o.place)&&"object"==typeof r?"position"in r||"type"in r?eA(r.position):"start"in r||"end"in r?eA(r):"line"in r||"column"in r?eS(r):"":"")||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}eO.prototype.file="",eO.prototype.name="",eO.prototype.reason="",eO.prototype.message="",eO.prototype.stack="",eO.prototype.column=void 0,eO.prototype.line=void 0,eO.prototype.ancestors=void 0,eO.prototype.cause=void 0,eO.prototype.fatal=void 0,eO.prototype.place=void 0,eO.prototype.ruleId=void 0,eO.prototype.source=void 0;let eP="https://github.com/micromark/micromark-extension-mdx-jsx";function eI(e,t,n,r,i,o,a,l,s,u,c,d,f,p,h,m,g,y,v,b,E,T,_,x,C,k,S,A,w,O,P,I){let N,R;let L=this;return function(t){return e.enter(l),e.enter(s),e.consume(t),e.exit(s),D};function D(e){return e_(e)?n(e):(N=M,eo(e))}function M(t){return 47===t?(e.enter(u),e.consume(t),e.exit(u),N=F,eo):62===t?ei(t):null!==t&&t>=0&&Y(t)?(e.enter(d),e.enter(f),e.consume(t),B):void el(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function F(t){return 62===t?ei(t):null!==t&&t>=0&&Y(t)?(e.enter(d),e.enter(f),e.consume(t),B):void el(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function B(t){return null!==t&&t>=0&&q(t,{jsx:!0})?(e.consume(t),B):46===t||47===t||58===t||62===t||123===t||e_(t)||eC(t)?(e.exit(f),N=H,eo(t)):void el(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function H(t){return 46===t?(e.enter(p),e.consume(t),e.exit(p),N=U,eo):58===t?(e.enter(m),e.consume(t),e.exit(m),N=z,eo):47===t||62===t||123===t||null!==t&&t>=0&&Y(t)?(e.exit(d),$(t)):void el(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function U(t){if(null!==t&&t>=0&&Y(t))return e.enter(h),e.consume(t),j;el(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function j(t){return null!==t&&t>=0&&q(t,{jsx:!0})?(e.consume(t),j):46===t||47===t||62===t||123===t||e_(t)||eC(t)?(e.exit(h),N=V,eo(t)):void el(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function V(t){return 46===t?(e.enter(p),e.consume(t),e.exit(p),N=U,eo):47===t||62===t||123===t||null!==t&&t>=0&&Y(t)?(e.exit(d),$(t)):void el(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function z(t){if(null!==t&&t>=0&&Y(t))return e.enter(g),e.consume(t),G;el(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function G(t){return null!==t&&t>=0&&q(t,{jsx:!0})?(e.consume(t),G):47===t||62===t||123===t||e_(t)||eC(t)?(e.exit(g),N=W,eo(t)):void el(t,"in local name","a
35name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function W(t){if(47===t||62===t||123===t||null!==t&&t>=0&&Y(t))return e.exit(d),$(t);el(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function $(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),N=er,eo):62===t?ei(t):123===t?eb.call(L,e,Z,y,v,b,r,i,o,!0,!1,a)(t):null!==t&&t>=0&&Y(t)?(e.enter(E),e.enter(T),e.enter(_),e.consume(t),K):void el(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Z(e){return N=$,eo(e)}function K(t){return null!==t&&t>=0&&q(t,{jsx:!0})?(e.consume(t),K):47===t||58===t||61===t||62===t||123===t||e_(t)||eC(t)?(e.exit(_),N=X,eo(t)):void el(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function X(t){return 58===t?(e.enter(x),e.consume(t),e.exit(x),N=J,eo):61===t?(e.exit(T),e.enter(k),e.consume(t),e.exit(k),N=et,eo):47===t||62===t||123===t||e_(t)||eC(t)||null!==t&&t>=0&&Y(t)?(e.exit(T),e.exit(E),N=$,eo(t)):void el(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function J(t){if(null!==t&&t>=0&&Y(t))return e.enter(C),e.consume(t),Q;el(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Q(t){return null!==t&&t>=0&&q(t,{jsx:!0})?(e.consume(t),Q):47===t||61===t||62===t||123===t||e_(t)||eC(t)?(e.exit(C),e.exit(T),N=ee,eo(t)):void el(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function ee(t){return 61===t?(e.enter(k),e.consume(t),e.exit(k),N=et,eo):47===t||62===t||123===t||null!==t&&t>=0&&Y(t)?(e.exit(E),$(t)):void el(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function et(t){return 34===t||39===t?(e.enter(S),e.enter(A),e.consume(t),e.exit(A),R=t,function t(n){return(null===n&&el(n,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(R)+"`"),n===R)?(e.enter(A),e.consume(n),e.exit(A),e.exit(S),e.exit(E),R=void 0,N=$,eo):eT(n)?(N=t,eo(n)):(e.enter(w),function n(r){return null===r||r===R||eT(r)?(e.exit(w),t(r)):(e.consume(r),n)}(n))}):123===t?eb.call(L,e,en,O,P,I,r,i,o,!1,!1,a)(t):void el(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function en(t){return e.exit(E),N=$,eo(t)}function er(e){if(62===e)return ei(e);el(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function ei(n){return e.enter(s),e.consume(n),e.exit(s),e.exit(l),t}function eo(t){return eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ea):ex(t)||eC(t)?(e.enter("esWhitespace"),function t(n){return eT(n)?(e.exit("esWhitespace"),eo(n)):ex(n)||eC(n)?(e.consume(n),t):(e.exit("esWhitespace"),N(n))}(t)):N(t)}function ea(e){if(!a&&L.parser.lazy[L.now().line]){let e=new eO("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",L.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=eP+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return eo(e)}function el(e,t,n){let r=new eO("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` (U+"+e.toString(16).toUpperCase().padStart(4,"0")+")")+" "+t+", expected "+n,L.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=eP+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-ex
35pected-expect"),r}}var eN=n(86945);let eR={}.hasOwnProperty;function eL(e,t,n){return">"+(n?"":" ")+e}function eD(e,t){return eM(e,t.inConstruct,!0)&&!eM(e,t.notInConstruct,!1)}function eM(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function eF(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&eD(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function eB(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function eH(e,t,n){return(n?"":" ")+e}function eU(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function ej(e){return"&#x"+e.toString(16).toUpperCase()+";"}eG(/[A-Za-z]/),eG(/[\dA-Za-z]/),eG(/[#-'*+\--9=?A-Z^-~]/),eG(/\d/),eG(/[\dA-Fa-f]/),eG(/[!-/:-@[-`{-~]/);let eV=eG(/\p{P}|\p{S}/u),ez=eG(/\s/);function eG(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function eW(e){return null===e||null!==e&&(e<0||32===e)||ez(e)?1:eV(e)?2:void 0}function e$(e,t,n){let r=eW(e),i=eW(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function eZ(e,t,n,r){let i=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),o=n.enter("emphasis"),a=n.createTracker(r),l=a.move(i),s=a.move(n.containerPhrasing(e,{after:i,before:l,...a.current()})),u=s.charCodeAt(0),c=e$(r.before.charCodeAt(r.before.length-1),u,i);c.inside&&(s=ej(u)+s.slice(1));let d=s.charCodeAt(s.length-1),f=e$(r.after.charCodeAt(0),d,i);f.inside&&(s=s.slice(0,-1)+ej(d));let p=a.move(i);return o(),n.attentionEncodeSurroundingInfo={after:f.outside,before:c.outside},l+s+p}eZ.peek=function(e,t,n){return n.options.emphasis||"*"};let eY=function(e){if(null==e)return eK;if("function"==typeof e)return eq(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=eY(e[n]);return eq(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):eq(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return eq(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function eq(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function eK(){return!0}let eX=[],eJ={};function eQ(e,t){let n=t||eJ,r="boolean"!=typeof n.includeImageAlt||n.includeImageAlt,i="boolean"!=typeof n.includeHtml||n.includeHtml;
35return e0(e,r,i)}function e0(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return e1(e.children,t,n)}return Array.isArray(e)?e1(e,t,n):""}function e1(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=e0(e[i],t,n);return r.join("")}function e5(e,t){var n,r;let i,o,a,l=!1;return"function"==typeof(n=function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return l=!0,!1})&&"function"!=typeof r?(o=void 0,a=n,i=r):(o=n,a=r,i=void 0),function(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let o=eY(i),a=r?-1:1;(function e(i,l,s){let u=i&&"object"==typeof i?i:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;let c,d,f,p=eX;if((!t||o(i,l,s[s.length-1]||void 0))&&!1===(p=Array.isArray(u=n(i,s))?u:"number"==typeof u?[!0,u]:null==u?eX:[u])[0])return p;if("children"in i&&i.children&&i.children&&"skip"!==p[0])for(d=(r?i.children.length:-1)+a,f=s.concat(i);d>-1&&d<i.children.length;){let t=i.children[d];if(!1===(c=e(t,d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+a}return p}})(e,void 0,[])()}(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},i),!!((!e.depth||e.depth<3)&&eQ(e)&&(t.options.setext||l))}function e2(e){return e.value||""}function e3(e,t,n,r){let i=eU(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("image"),l=n.enter("label"),s=n.createTracker(r),u=s.move("![");return u+=s.move(n.safe(e.alt,{before:u,after:"]",...s.current()}))+s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()}))+s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=n.enter(`title${o}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()}))+s.move(i),l()),u+=s.move(")"),a(),u}function e9(e,t,n,r){let i=e.referenceType,o=n.enter("imageReference"),a=n.enter("label"),l=n.createTracker(r),s=l.move("!["),u=n.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();let c=n.stack;n.stack=[],a=n.enter("reference");let d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,o(),"full"!==i&&u&&u===d?"shortcut"===i?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function e7(e,t,n){let r=e.value||"",i="`",o=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let e;let t=n.unsafe[o],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}function e6(e,t){let n=eQ(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function e8(e,t,n,r){let i,o;let a=eU(n),l='"'===a?"Quote":"Apostrophe",s=n.createTracker(r);if(e6(e,n)){let t=n.stack;n.stack=[],i=n.enter("autolink");let r=s.move("<");return r+=s.move(n.containerPhrasing(e,{before:r,after:">",...s.current()}))+s.move(">"),i(),n.stack=t,r}i=n.enter("link"),o=n.enter("label");let u=s.move("[");return u+=s.move(n.containerPhrasing(e,{before:u,after:"](",...s.current()}))+s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()}))+s.move(">")):(o=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=n.enter(`title${l}`),u+=s.move(" "+a),u+=s.move(n.safe(e.title,{before:u,after:a,...s.current()}))+s.move(a),o()),u+=s.move(")"),i(),u}function e4(e,t,n,r){let i=e.referenceType,o=n.enter("linkReference"),a=n.enter("label"),l=n.createTracker(r),s=l.move("["),u=n.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),a();let c=n.stack;n.stack=[],a=n.enter("reference");let d=n.safe(n.associationId(e),{before:s,after:"]",...l.current()});return a(),n.stack=c,o(),"full"!==i&&u&&u===d?"shortcut"===i?s=s.slice(0,-1):s+=l.move("]"):s+=l.move(d+"]"),s}function te(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function tt(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}e2.peek=function(){return"<"},e3.peek=function(){return"!"},e9.peek=function(){return"!"},e7.peek=function(){return"`"},e8.peek=function(e,t,n){return e6(e,n)?"<":"["},e4.peek=function(){return"["};let tn=function(e){if(null==e)return ti;if("function"==typeof e)return tr(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tn(e[n]);return tr(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):tr(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return tr(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function tr(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function ti(){return!0}let to=tn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ta(e,t,n,r){let i=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),a=n.createTracker(r),l=a.move(i+i),s=a.move(n.containerPhrasing(e,{after:i,before:l,...a.current()})),u=s.charCodeAt(0),c=e$(r.before.charCodeAt(r.before.length-1),u,i);c.inside&&(s=ej(u)+s.slice(1));let d=s.charCodeAt(s.length-1),f=e$(r.after.charCodeAt(0),d,i);f.inside&&(s=s.slice(0,-1)+ej(d));let p=a.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:f.outside,before:c.outside},l+s+p}ta.peek=function(e,t,n){return n.options.strong||"*"};let tl={blockquote:function(e,t,n,r){let i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);let a=n.indentLines(n.containerFlow(e,o.current()),eL);return i(),a},break:eF,code:function(e,t,n,r){let i=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",a="`"===i?"GraveAccent":"Tilde";
35if(eB(e,n)){let e=n.enter("codeIndented"),t=n.indentLines(o,eH);return e(),t}let l=n.createTracker(r),s=i.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),i=r,o=0,a=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++o>a&&(a=o):o=1,i=r+t.length,r=n.indexOf(t,i);return a}(o,i)+1,3)),u=n.enter("codeFenced"),c=l.move(s);if(e.lang){let t=n.enter(`codeFencedLang${a}`);c+=l.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...l.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${a}`);c+=l.move(" "),c+=l.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...l.current()})),t()}return c+=l.move("\n"),o&&(c+=l.move(o+"\n")),c+=l.move(s),u(),c},definition:function(e,t,n,r){let i=eU(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("definition"),l=n.enter("label"),s=n.createTracker(r),u=s.move("[");return u+=s.move(n.safe(n.associationId(e),{before:u,after:"]",...s.current()}))+s.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()}))+s.move(">")):(l=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...s.current()}))),l(),e.title&&(l=n.enter(`title${o}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()}))+s.move(i),l()),a(),u},emphasis:eZ,hardBreak:eF,heading:function(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(e5(e,n)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let a="#".repeat(i),l=n.enter("headingAtx"),s=n.enter("phrasing");o.move(a+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(u)&&(u=ej(u.charCodeAt(0))+u.slice(1)),u=u?a+" "+u:a,n.options.closeAtx&&(u+=" "+a),s(),l(),u},html:e2,image:e3,imageReference:e9,inlineCode:e7,link:e8,linkReference:e4,list:function(e,t,n,r){let i=n.enter("list"),o=n.bulletCurrent,a=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):te(n),l=e.ordered?"."===a?")":".":function(e){let t=te(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),s=!!t&&!!n.bulletLastUsed&&a===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),tt(n)===a&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(a=l),n.bulletCurrent=a;let u=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),u},listItem:function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||te(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));let l=n.createTracker(r);l.move(o+" ".repeat(a-o.length)),l.shift(a);let s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?o:o+" ".repeat(a-o.length))+e});return s(),u},paragraph:function(e,t,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,r);return o(),i(),a},root:function(e,t,n,r){let i=e.children.some(function(e){return to(e)}),o=i?n.containerPhrasing:n.containerFlow;return o.call(n,e,r)},strong:ta,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(tt(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},ts=[function(e,t,n,r){if("code"===t.type&&eB(t,r)&&("list"===e.type||e.type===t.type&&eB(e,r)))return!1;
35if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&e5(t,r)))return;return n.spread?1:0}}],tu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],tc=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:tu},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:tu},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:tu},{atBreak:!0,character:"+",after:"(?:[ \r\n])"},{atBreak:!0,character:"-",after:"(?:[ \r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:tu},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:tu},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:tu},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:tu},{atBreak:!0,character:"~"}],td=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tf(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return function(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}(n.slice(t?2:1),t?16:10)}return(0,w.T)(n)||e}function tp(e){return e.label||!e.identifier?e.label||"":e.identifier.replace(td,tf)}function th(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}let tm=/\r?\n|\r/g;function tg(e,t){let n;let r=[],i=0,o=0;for(;n=tm.exec(e);)a(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return a(e.slice(i)),r.join("");function a(e){r.push(t(e,o,!e))}}function ty(e,t){return e-t}function tv(e,t){let n;let r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],a=e+t,l=-1,s=0;for(;n=r.exec(a);)i.push(n.index);for(;++l<i.length;)s!==i[l]&&o.push(e.slice(s,i[l])),o.push("\\"),s=i[l];return o.push(e.slice(s)),o.join("")}function tb(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){let t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function tE(e,t){let n={associationId:tp,containerPhrasing:tC,containerFlow:tk,createTracker:tb,compilePattern:th,enter:function(e){return n.stack.push(e),function(){n.stack.pop()}},handlers:{...tl},handle:void 0,indentLines:tg,indexStack:[],join:[...ts],options:{},safe:tS,stack:[],unsafe:[...tc]};!function e(t,n){var r,i,o,a;let l,s=-1;if(n.extensions)for(;++s<n.extensions.length;)e(t,n.extensions[s]);
35for(l in n)if(eR.call(n,l))switch(l){case"extensions":break;case"unsafe":case"join":r=t[l],(i=n[l])&&r.push(...i);break;case"handlers":o=t[l],(a=n[l])&&Object.assign(o,a);break;default:t.options[l]=n[l]}return t}(n,t||{}),n.options.tightDefinitions&&n.join.push(tx),n.handle=(0,eN.z)("type",{invalid:tT,unknown:t_,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),r}function tT(e){throw Error("Cannot handle value `"+e+"`, expected node")}function t_(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function tx(e,t){if("definition"===e.type&&e.type===t.type)return 0}function tC(e,t){return function(e,t,n){let r;let i=t.indexStack,o=e.children||[],a=[],l=-1,s=n.before;i.push(-1);let u=t.createTracker(n);for(;++l<o.length;){let c;let d=o[l];if(i[i.length-1]=l,l+1<o.length){let n=t.handle.handlers[o[l+1].type];n&&n.peek&&(n=n.peek),c=n?n(o[l+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else c=n.after;a.length>0&&("\r"===s||"\n"===s)&&"html"===d.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" ",(u=t.createTracker(n)).move(a.join("")));let f=t.handle(d,e,t,{...u.current(),after:c,before:s});r&&r===f.slice(0,1)&&(f=ej(r.charCodeAt(0))+f.slice(1));let p=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,r=void 0,p&&(a.length>0&&p.before&&s===a[a.length-1].slice(-1)&&(a[a.length-1]=a[a.length-1].slice(0,-1)+ej(s.charCodeAt(0))),p.after&&(r=c)),u.move(f),a.push(f),s=f.slice(-1)}return i.pop(),a.join("")}(e,this,t)}function tk(e,t){return function(e,t,n){let r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[],l=-1;for(r.push(-1);++l<i.length;){let n=i[l];r[r.length-1]=l,a.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),l<i.length-1&&a.push(o.move(function(e,t,n,r){let i=r.join.length;for(;i--;){let o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n<!---->\n\n"}return"\n\n"}(n,i[l+1],e,t)))}return r.pop(),a.join("")}(e,this,t)}function tS(e,t){return function(e,t,n){let r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={},l=-1;for(;++l<e.unsafe.length;){let t;let n=e.unsafe[l];if(!eD(e.stack,n))continue;let o=e.compilePattern(n);for(;t=o.exec(r);){let e="before"in n||!!n.atBreak,r="after"in n,o=t.index+(e?t[1].length:0);i.includes(o)?(a[o].before&&!e&&(a[o].before=!1),a[o].after&&!r&&(a[o].after=!1)):(i.push(o),a[o]={before:e,after:r})}}i.sort(ty);let s=n.before?n.before.length:0,u=r.length-(n.after?n.after.length:0);for(l=-1;++l<i.length;){let e=i[l];!(e<s)&&!(e>=u)&&(!(e+1<u)||i[l+1]!==e+1||!a[e].after||a[e+1].before||a[e+1].after)&&(i[l-1]!==e-1||!a[e].before||a[e-1].before||a[e-1].after)&&(s!==e&&o.push(tv(r.slice(s,e),"\\")),s=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push(ej(r.charCodeAt(e))),s++):o.push("\\"))}return o.push(tv(r.slice(s,u),n.after)),o.join("")}(this,e,t)}let tA=["mdxJsxTextElement","mdxJsxFlowElement"];function tw(e){return tA.includes(e.type)&&tO.includes(e.name.toLowerCase())}let tO=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","input","ins","kbd","label","legend","li","link","main","map","mark","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function tP(e){let t={},n=e.split(";").filter(e=>""!==e.trim());
35return n.forEach(e=>{let[n,r]=e.split(":").map(e=>e.trim());t[n]=r}),t}let tI=/\s+$/,tN=/^\s+/,tR={};function tL(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return tD(e.children,t,n)}return Array.isArray(e)?tD(e,t,n):""}function tD(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=tL(e[i],t,n);return r.join("")}function tM(e,t,n,r){let i;let o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function tF(e,t){return e.length>0?(tM(e,e.length,0,t),e):t}class tB{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&tH(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),tH(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),tH(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);tH(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);tH(this.left,t.reverse())}}}}function tH(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function tU(e){let t,n,r,i,o,a,l;let s={},u=-1,c=new tB(e);for(;++u<c.length;){for(;(u in s);)u=s[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r;let i=e.get(t)[1],o=e.get(t)[2],a=t-1,l=[],s=i._tokenizer;!s&&(s=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._c
35ontentTypeTextTrailing=!0));let u=s.events,c=[],d={},f=-1,p=i,h=0,m=0,g=[m];for(;p;){for(;e.get(++a)[1]!==p;);l.push(a),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=u.slice(g[f],g[f+1]),n=l.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)d[h+c[f][0]]=h+c[f][1],h+=c[f][1]-c[f][0]-1;return d}(c,u)),u=s[u],l=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return tM(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}let tj={}.hasOwnProperty,tV=t0(/[A-Za-z]/),tz=t0(/[\dA-Za-z]/),tG=t0(/[#-'*+\--9=?A-Z^-~]/);function tW(e){return null!==e&&(e<32||127===e)}let t$=t0(/\d/),tZ=t0(/[\dA-Fa-f]/),tY=t0(/[!-/:-@[-`{-~]/);function tq(e){return null!==e&&e<-2}function tK(e){return null!==e&&(e<0||32===e)}function tX(e){return -2===e||-1===e||32===e}let tJ=t0(/\p{P}|\p{S}/u),tQ=t0(/\s/);function t0(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function t1(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return tX(r)?(e.enter(n),function r(a){return tX(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let t5={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),t1(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return tq(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},t2={tokenize:function(e){let t,n,r;let i=this,o=[],a=0;return l;function l(t){if(a<o.length){let n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,s,u)(t)}return u(t)}function s(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}g(a);let l=r;
35for(;l<i.events.length;)i.events[l][1].end={...n},l++;return tM(i.events,o+1,0,i.events.slice(r)),i.events.length=l,u(e)}return l(e)}function u(n){if(a===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(t3,c,d)(n)}function c(e){return t&&y(),g(a),f(e)}function d(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,h(e)}function f(t){return i.containerState={},e.attempt(t3,p,h)(t)}function p(e){return a++,o.push([i.currentConstruct,i.containerState]),f(e)}function h(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return tq(n)?(e.consume(n),m(e.exit("chunkFlow")),a=0,i.interrupt=void 0,l):(e.consume(n),t)}(r)}function m(e,o){let l=i.sliceStream(e);if(o&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let l=i.events.length,s=l;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){n=i.events[s][1].end;break}e=!0}for(g(a),o=l;o<i.events.length;)i.events[o][1].end={...n},o++;tM(i.events,s+1,0,i.events.slice(l)),i.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},t3={tokenize:function(e,t,n){return t1(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},t9={partial:!0,tokenize:function(e,t,n){return function(t){return tX(t)?t1(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||tq(e)?t(e):n(e)}}},t7={resolve:function(e){return tU(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):tq(t)?e.check(t6,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},t6={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),t1(e,i,"linePrefix")};function i(i){if(null===i||tq(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},t8={tokenize:function(e){let t=this,n=e.attempt(t9,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,t1(e,e.attempt(this.parser.constructs.flow,r,e.attempt(t7,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},t4={resolveAll:nr()},ne=nn("string"),nt=nn("text");function nn(e){return{resolveAll:nr("text"===e?ni:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return s(e)?i(e):a(e)}function a(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function nr(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ni(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],o=t.sliceStream(i),a=o.length,l=-1,s=0;for(;a--;){let e=o[a];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let o={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:i.start._bufferIndex+l,_index:i.start._index+a,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let no={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){return e.enter("thematicBreak"),r=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),tX(n)?t1(e,o,"whitespace")(n):o(n))}
35(a)):i>=3&&(null===a||tq(a))?(e.exit("thematicBreak"),t(a)):n(a)}(o)}}},na={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(t9,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,t1(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!tX(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ns,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,t1(e,e.attempt(na,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:t$(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(no,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return t$(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(t9,r.interrupt?n:s,e.attempt(nl,c,u))}
35function s(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return tX(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},nl={partial:!0,tokenize:function(e,t,n){let r=this;return t1(e,function(e){let i=r.events[r.events.length-1];return!tX(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ns={partial:!0,tokenize:function(e,t,n){let r=this;return t1(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},nu={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return tX(t)?t1(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(nu,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return tX(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function nc(e,t,n,r,i,o,a,l,s){let u=s||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||tW(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||tq(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(i){return!c&&(null===i||41===i||tK(i))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||tW(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function nd(e,t,n,r,i,o){let a;let l=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return s>999||null===d||91===d||93===d&&!a||94===d&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):tq(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||tq(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!tX(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function nf(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===a?(e.exit(o),l(a)):null===t?n(t):tq(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),t1(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||tq(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function np(e,t){let n;return function r(i){return tq(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):tX(i)?t1(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function nh(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let nm={partial:!0,tokenize:function(e,t,n){return function(t){return tK(t)?np(e,r)(t):n(t)};function r(t){return nf(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return tX(t)?t1(e,o,"whitespace")(t):o(t)}function o(e){return null===e||tq(e)?t(e):n(e)}}},ng={name:"codeIndented",tokenize:function(e,t,n){let r=this;
35return function(t){return e.enter("codeIndented"),t1(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):tq(n)?e.attempt(ny,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||tq(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},ny={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):tq(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):t1(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):tq(e)?i(e):n(e)}}},nv={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){let r;let i=this;return function(t){let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),tX(n)?t1(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||tq(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},nb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],nE=["pre","script","style","textarea"],nT={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(t9,t,n)}}},n_={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return tq(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},nx={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},nC={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),tX(t)?t1(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),tX(i)?t1(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||tq(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,l=0;return function(t){return function(t){let o=i.events[i.events.length-1];return a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),tX(i)?t1(e,s,"whitespace")(i):s(i))}(t)}(t)};function s(o){return null===o||tq(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(nx,c,h)(o)):(e.enter("co
35deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tq(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):tX(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),t1(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||tq(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tq(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&tX(t)?t1(e,p,"linePrefix",a+1)(t):p(t)}function p(t){return null===t||tq(t)?e.check(nx,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||tq(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},nk={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=tz,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=tZ,u):(e.enter("characterReferenceValue"),r=7,i=t$,u(t))}function u(l){if(59===l&&a){let r=e.exit("characterReferenceValue");return i!==tz||(0,w.T)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++<r?(e.consume(l),u):n(l)}}},nS={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return tY(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},nA={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t1(e,t,"linePrefix")}}};function nw(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let nO={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&tM(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,a=e.length,l=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(i=a);let s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+l+2][1].end},end:{...e[i-2][1].start}};return o=tF(o=[["enter",s,t],["enter",u,t]],e.slice(r+1,r+l+3)),o=tF(o,[["enter",c,t]]),o=tF(o,nw(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),o=tF(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=tF(o,e.slice(i+1)),o=tF(o,[["exit",s,t]]),tM(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i;let o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(nh(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(nP,u,i?u:c)(t):91===t?e.attempt(nI,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(nN,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},nP={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return tK(t)?np(e,i)(t):i(t)}function i(t){return 41===t?u(t):nc(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return tK(t)?np(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?nf(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return tK(t)?np(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},nI={tokenize:function(e,t,n){let r=this;return function(t){return nd.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};
35function i(e){return r.parser.defined.includes(nh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},nN={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},nR={name:"labelStartImage",resolveAll:nO.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function nL(e){return null===e||tK(e)||tQ(e)?1:tJ(e)?2:void 0}let nD={name:"attention",resolveAll:function(e,t){let n,r,i,o,a,l,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d={...e[n][1].end},f={...e[c][1].start};nM(d,-l),nM(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:l>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[c][1].start={...a.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=tF(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=tF(s,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),s=tF(s,nw(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=tF(s,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=tF(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,tM(e,n-1,c-n+3,s),c=n+s.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=nL(i);return function(a){return n=a,e.enter("attentionSequence"),function a(l){if(l===n)return e.consume(l),a;let s=e.exit("attentionSequence"),u=nL(l),c=!u||2===u&&o||r.includes(l),d=!o||2===o&&u||r.includes(i);return s._open=!!(42===n?c:c&&(o||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(l)}(a)}}};function nM(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let nF={name:"labelStartLink",resolveAll:nO.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},nB={42:na,43:na,45:na,48:na,49:na,50:na,51:na,52:na,53:na,54:na,55:na,56:na,57:na,62:nu},nH={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),nd.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=nh(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return tK(t)?np(e,l)(t):l(t)}function l(t){return nc(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(nm,u,u)(t)}function u(t){return tX(t)?t1(e,c,"whitespace")(t):c(t)}function c(o){return null===o||tq(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},nU={[-2]:ng,[-1]:ng,32:ng},nj={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},tM(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||tK(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||tq(r)?(e.exit("atxHeading"),t(r)):tX(r)?t1(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||tK(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}}},42:no,45:[nv,no],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,a,l;let s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,p):63===a?(e.consume(a),r=3,s.interrupt?t:N):tV(a)?(e.consume(a),o=String.fromCharCode(a),h):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,f):tV(i)?(e.consume(i),r=4,s.interrupt?t:N):n(i)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:N):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?s.interrupt?t:C:f:n(r)}function p(t){return tV(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}
35function h(a){if(null===a||47===a||62===a||tK(a)){let l=47===a,u=o.toLowerCase();return!l&&!i&&nE.includes(u)?(r=1,s.interrupt?t(a):C(a)):nb.includes(o.toLowerCase())?(r=6,l)?(e.consume(a),m):s.interrupt?t(a):C(a):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):i?function t(n){return tX(n)?(e.consume(n),t):_(n)}(a):g(a))}return 45===a||tz(a)?(e.consume(a),o+=String.fromCharCode(a),h):n(a)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),_):58===t||95===t||tV(t)?(e.consume(t),y):tX(t)?(e.consume(t),g):_(t)}function y(t){return 45===t||46===t||58===t||95===t||tz(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):tX(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,E):tX(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||tK(n)?v(n):(e.consume(n),t)}(t)}function E(t){return t===l?(e.consume(t),l=null,T):null===t||tq(t)?n(t):(e.consume(t),E)}function T(e){return 47===e||62===e||tX(e)?g(e):n(e)}function _(t){return 62===t?(e.consume(t),x):n(t)}function x(t){return null===t||tq(t)?C(t):tX(t)?(e.consume(t),x):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),w):60===t&&1===r?(e.consume(t),O):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),N):93===t&&5===r?(e.consume(t),I):tq(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(nT,L,k)(t)):null===t||tq(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),C)}function k(t){return e.check(n_,S,L)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||tq(t)?k(t):(e.enter("htmlFlowData"),C(t))}function w(t){return 45===t?(e.consume(t),N):C(t)}function O(t){return 47===t?(e.consume(t),o="",P):C(t)}function P(t){if(62===t){let n=o.toLowerCase();return nE.includes(n)?(e.consume(t),R):C(t)}return tV(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):C(t)}function I(t){return 93===t?(e.consume(t),N):C(t)}function N(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),N):C(t)}function R(t){return null===t||tq(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),R)}function L(n){return e.exit("htmlFlow"),t(n)}}},61:nv,95:no,96:nC,126:nC},nV={38:nk,92:nS},nz={[-5]:nA,[-4]:nA,[-3]:nA,33:nR,38:nk,42:nD,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return tV(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(t){return 43===t||45===t||46===t||tz(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||tz(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||tW(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),s):tG(t)?(e.consume(t),l):n(t)}function s(i){return tz(i)?function i(o){return 46===o?(e.consume(o),r=0,s):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||tz(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),E):63===t?(e.consume(t),v):tV(t)?(e.consume(t),_):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):tV(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):tq(t)?(o=c,P(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?O(e):45===e?d(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):tq(t)?(o=h,P(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?O(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?O(t):tq(t)?(o=y,P(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):tq(t)?(o=v,P(t)):(e.consume(t),v)}function b(e){return 62===e?O(e):v(e)}function E(t){return tV(t)?(e.consume(t),T):n(t)}function T(t){return 45===t||tz(t)?(e.consume(t),T):function t(n){return tq(n)?(o=t,P(n)):tX(n)?(e.consume(n),t):O(n)}(t)}function _(t){return 45===t||tz(t)?(e.consume(t),_):47===t||62===t||tK(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),O):58===t||95===t||tV(t)?(e.consume(t),C):tq(t)?(o=x,P(t)):tX(t)?(e.consume(t),x):O(t)}function C(t){return 45===t||46===t||58===t||95===t||tz(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),k):tq(n)?(o=t,P(n)):tX(n)?(e.consume(n),t):x(n)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):tq(t)?(o=k,P(t)):tX(t)?(e.consume(t),k):(e.consume(t),A)}function S(t){return t===r?(e.consume(t),r=void 0,w):null===t?n(t):tq(t)?(o=S,P(t)):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tK(t)?x(t):(e.consume(t),A)}function w(e){return 47===e||62===e||tK(e)?x(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function P(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return tX(t)?t1(e,N,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),o(t)}}}],91:nF,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return tq(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},nS],93:nO,95:nD,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;
35return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),a):96===s?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",l(a))}(s)):tq(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||tq(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}}}},nG={null:[nD,t4]},nW={null:[42,95]},n$={null:[]},nZ=/[\0\t\n\r]/g;function nY(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let nq=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nK(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return nY(n.slice(t?2:1),t?16:10)}return(0,w.T)(n)||e}function nX(e){return e&&"object"==typeof e?"position"in e||"type"in e?nQ(e.position):"start"in e||"end"in e?nQ(e):"line"in e||"column"in e?nJ(e):"":""}function nJ(e){return n0(e&&e.line)+":"+n0(e&&e.column)}function nQ(e){return nJ(e&&e.start)+"-"+nJ(e&&e.end)}function n0(e){return e&&"number"==typeof e?e:1}let n1={}.hasOwnProperty;function n5(e){return{line:e.line,column:e.column,offset:e.offset}}function n2(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+nX({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+nX({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+nX({start:t.start,end:t.end})+") is still open")}function n3(e){return e.children instanceof Array}class n9 extends Error{constructor(e,t){super(e),this.name="MarkdownParseError",this.cause=t}}class n7 extends Error{constructor(e){super(e),this.name="UnrecognizedMarkdownConstructError"}}var n6=n(32535),n8=Object.defineProperty,n4=(e,t,n)=>t in e?n8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,re=(e,t,n)=>(n4(e,"symbol"!=typeof t?t+"":t,n),n);let rt="generic-html";class rn extends a.HX${constructor(e,t,n,r){super(r),re(this,"__tag"),re(this,"__nodeType"),re(this,"__attributes"),this.__tag=e,this.__nodeType=t,this.__attributes=n}static getType(){return rt}static clone(e){return new rn(e.__tag,e.__nodeType,e.__attributes,e.__key)}getTag(){return this.__tag}getNodeType(){return this.__nodeType}getAttributes(){return this.__attributes}updateAttributes(e){let t=this.getWritable();t.__attributes=e}getStyle(){var e;return null==(e=this.__attributes.find(e=>"style"===e.name))?void 0:e.value}createDOM(){let e=this.__tag,t=document.createElement(e);return this.__attributes.forEach(e=>{t.setAttribute(e.name,e.value)}),t}updateDOM(){return!1}static importDOM(){return{}}exportDOM(e){let{element:t}=super.exportDOM(e);return{element:t}}static importJSON(e){let t=rr(e.tag,e.mdxType,e.attributes);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),attributes:this.__attributes,mdxType:this.__nodeType,type:rt,version:1}}extractWithChild(){return!0}isInline(){return"mdxJsxTextElement"===this.__nodeType}}function rr(e,t,n){return(0,a.U2B)(new rn(e,t,n))}let ri={testLexicalNode:function(e){return e instanceof rn},visitLexicalNode({actions:e,lexicalNode:t}){e.addAndStepInto("mdxJsxTextElement",{name:t.getTag(),type:t.getNodeType(),attributes:t.getAttributes()})},priority:-100},ro={testLexicalNode:a.A3A,visitLexicalNode:({mdastParent:e,actions:t})=>{t.appendToParent(e,{type:"text",value:"\n"})}},ra={testLexicalNode:a.Rlh,visitLexicalNode:({actions:e})=>{e.addAndStepInto("paragraph")}},rl={testLexicalNode:a.wdB,visitLexicalNode:({actions:e})=>{e.addAndStepInto("root")}};var rs=n(6767);function ru(e){return"text"===e.type}let rc=["u","span","sub","sup"],rd={shouldJoin:(e,t)=>["text","emphasis","strong"].includes(e.type)?e.type===t.type:!!("mdxJsxTextElement"===e.type&&"mdxJsxTextElement"===t.type&&rc.includes(t.name))&&e.name===t.name&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes),join:(e,t)=>ru(e)&&ru(t)?{type:"text",value:e.value+t.value}:{...e,children:[...e.children,...t.children]},testLexicalNode:a.Gg4,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getPreviousSibling(),i=(0,a.Gg4)(r)?r.getFormat():0,o=e.getTextContent(),l=e.getFormat(),s=e.getStyle(),u=t;if(s&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"span",children:[],attributes:[{type:"mdxJsxAttribute",name:"style",value:s}]})),i&l&rs.A8&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"u",children:[],attributes:[]})),i&l&rs.ql&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"sup",children:[],attributes:[]})),i&l&rs.h&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"sub",children:[],attributes:[]})),i&l&rs.UW&&(u=n.appendToParent(u,{type:"emphasis",children:[]})),i&l&rs.Dh&&(u=n.appendToParent(u,{type:"strong",children:[]})),i&l&rs.IK&&(u=n.appendToParent(u,{type:"delete",children:[]})),l&rs.A8&&!(i&rs.A8)&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"u",children:[],attributes:[]})),l&rs.ql&&!(i&rs.ql)&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"sup",children:[],attributes:[]})),l&rs.h&&!(i&rs.h)&&(u=n.appendToParent(u,{type:"mdxJsxTextElement",name:"sub",children:[],attributes:[]})),l&rs.UW&&!(i&rs.UW)&&(u=n.appendToParent(u,{type:"emphasis",children:[]})),l&rs.Dh&&!(i&rs.Dh)&&(u=n.appendToParent(u,{type:"strong",children:[]})),l&rs.IK&&!(i&rs.IK)&&(u=n.appendToParent(u,{type:"delete",children:[]})),l&rs.pQ){n.appendToParent(u,{type:"inlineCode",value:o});return}n.appendToParent(u,{type:"text",value:o})}},rf={testNode:"break",visitNode:function({lexicalParent:e}){e.append((0,a.Tav)())}};function rp(e,t){return[{testNode:t=>"mdxJsxTextElement"===t.type&&t.name===e,visitNode({actions:e,mdastNode:n,lexicalParent:r}){e.addFormatting(t),e.visitChildren(n,r)}},{testNode:t=>"html"===t.type&&t.value===`<${e}>`,visitNode({actions:e,mdastParent:n}){e.addFormatting(t,n)}},{testNode:t=>"html"===t.type&&t.value===`</${e}>`,visitNode({actions:e,mdastParent:n}){e.removeFormatting(t,n)}}]}let rh=[{testNode:"emphasis",visitNode({mdastNode:e,actions:t,lexicalParent:n}
35){t.addFormatting(rs.UW),t.visitChildren(e,n)}},{testNode:"strong",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(rs.Dh),t.visitChildren(e,n)}},...rp("u",rs.A8),...rp("code",rs.pQ),{testNode:"inlineCode",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,a.MXo)(e.value).setFormat(t.getParentFormatting()|rs.pQ))}},{testNode:"delete",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(rs.IK),t.visitChildren(e,n)}},...rp("sup",rs.ql),...rp("sub",rs.h)],rm={testNode:tw,visitNode:function({mdastNode:e,actions:t,lexicalParent:n}){"span"===e.name&&1===e.attributes.length&&"mdxJsxAttribute"===e.attributes[0].type&&"style"===e.attributes[0].name?(t.addStyle(e.attributes[0].value,e),t.visitChildren(e,n)):t.addAndStepInto(rr(e.name,e.type,e.attributes))},priority:-100},rg=["listitem","quote","admonition"],ry={testNode:"paragraph",visitNode:function({mdastNode:e,lexicalParent:t,actions:n}){rg.includes(t.getType())?n.visitChildren(e,t):n.addAndStepInto((0,a.BEw)())}},rv={testNode:"root",visitNode({actions:e,mdastNode:t,lexicalParent:n}){e.visitChildren(t,n)}},rb={testNode:"text",visitNode({mdastNode:e,actions:t}){let n=(0,a.MXo)(e.value);n.setFormat(t.getParentFormatting());let r=t.getParentStyle();""!==r&&n.setStyle(r),t.addAndStepInto(n)}};var rE=n(8553),rT=n(2265);function r_({delay:e,externalHistoryState:t}){let[n]=(0,rE.g)();return function(e,t,n=1e3){let r=(0,rT.useMemo)(()=>t||s(),[t]);(0,rT.useEffect)(()=>(function(e,t,n){let r,i;let s=(r=Date.now(),i=0,(t,o,l,s,u,c)=>{let d=Date.now();if(c.has("historic"))return i=0,r=d,2;let f=function(e,t,n,r,i){if(null===e||0===n.size&&0===r.size&&!i)return 0;let o=t._selection,l=e._selection;if(i)return 1;if(!((0,a.OPZ)(o)&&(0,a.OPZ)(l)&&l.isCollapsed()&&o.isCollapsed()))return 0;let s=function(e,t,n){let r=e._nodeMap,i=[];for(let e of t){let t=r.get(e);void 0!==t&&i.push(t)}for(let[e,t]of n){if(!t)continue;let n=r.get(e);void 0===n||(0,a.wdB)(n)||i.push(n)}return i}(t,n,r);if(0===s.length)return 0;if(s.length>1){let n=t._nodeMap,r=n.get(o.anchor.key),i=n.get(l.anchor.key);return r&&i&&!e._nodeMap.has(r.__key)&&(0,a.Gg4)(r)&&1===r.__text.length&&1===o.anchor.offset?2:0}let u=s[0],c=e._nodeMap.get(u.__key);if(!(0,a.Gg4)(c)||!(0,a.Gg4)(u)||c.__mode!==u.__mode)return 0;let d=c.__text,f=u.__text;if(d===f)return 0;let p=o.anchor,h=l.anchor;if(p.key!==h.key||"text"!==p.type)return 0;let m=p.offset,g=h.offset,y=f.length-d.length;return 1===y&&g===m-1?2:-1===y&&g===m+1?3:-1===y&&g===m?4:0}(t,o,s,u,e.isComposing()),p=(()=>{let p=null===l||l.editor===e,h=c.has("history-push");if(!h&&p&&c.has("history-merge"))return 0;if(null===t)return 1;let m=o._selection;return s.size>0||u.size>0?!1===h&&0!==f&&f===i&&d<r+n&&p||1===s.size&&function(e,t,n){let r=t._nodeMap.get(e),i=n._nodeMap.get(e),o=t._selection,l=n._selection;return!((0,a.OPZ)(o)&&(0,a.OPZ)(l)&&"element"===o.anchor.type&&"element"===o.focus.type&&"text"===l.anchor.type&&"text"===l.focus.type||!(0,a.Gg4)(r)||!(0,a.Gg4)(i)||r.__parent!==i.__parent)&&JSON.stringify(t.read(()=>r.exportJSON()))===JSON.stringify(n.read(()=>i.exportJSON()))}(Array.from(s)[0],t,o)?0:1:null!==m?0:2})();return r=d,i=f,p}),u=(0,o.qV)(e.registerCommand(a.$le,()=>((function(e,t){let n=t.redoStack,r=t.undoStack;if(0!==r.length){let i=t.current,o=r.pop();null!==i&&(n.push(i),e.dispatchCommand(a.r04,!0)),0===r.length&&e.dispatchCommand(a.ynn,!1),t.current=o||null,o&&o.editor.setEditorState(o.editorState,{tag:"historic"})}})(e,t),!0),a.VNZ),e.registerCommand(a.zqW,()=>((function(e,t){let n=t.redoStack,r=t.undoStack;if(0!==n.length){let i=t.current;null!==i&&(r.push(i),e.dispatchCommand(a.ynn,!0));let o=n.pop();0===n.length&&e.dispatchCommand(a.r04,!1),t.current=o||null,o&&o.editor.setEditorState(o.editorState,{tag:"historic"})}})(e,t),!0),a.VNZ),e.registerCommand(a.BM6,()=>(l(t),!1),a.VNZ),e.registerCommand(a.Nrv,()=>(l(t),e.dispatchCommand(a.r04,!1),e.dispatchCommand(a.ynn,!1),!0),a.VNZ),e.registerUpdateListener(({editorState:n,prevEditorState:r,dirtyLeaves:i,dirtyElements:o,tags:l})=>{let u=t.current,c=t.redoStack,d=t.undoStack,f=null===u?null:u.editorState;if(null!==u&&n===f)return;let p=s(r,n,u,i,o,l);if(1===p)0!==c.length&&(t.redoStack=[],e.dispatchCommand(a.r04,!1)),null!==u&&(d.push({...u}),e.dispatchCommand(a.ynn,!0));else if(2===p)return;t.current={editor:e,editorState:n}}));return u})(e,r,n),[n,e,r])}(n,t,e),null}let rx=()=>rT.createElement(r_,{externalHistoryState:(0,d.Lm)(iw)}),rC={eof:null,exclamationMark:33,dash:45,greaterThan:62},rk={data:"data",lineEnding:"lineEnding",linePrefix:"linePrefix"},rS=(e,t,n)=>{return function(t){return e.enter("comment"),e.consume(t),r};function r(t){return t===rC.exclamationMark?(e.consume(t),i):n(t)}function i(t){return t===rC.dash?(e.consume(t),o):n(t)}function o(t){return t===rC.dash?(e.consume(t),a):n(t)}function a(t){return t===rC.greaterThan?n(t):tq(t)?u(t):(e.enter(rk.data),t===rC.dash)?(e.consume(t),l):s(t)}function l(e){return e===rC.greaterThan?n(e):s(e)}function s(t){return t===rC.eof?n(t):t===rC.dash?(e.consume(t),d):tq(t)?(e.exit(rk.data),u(t)):(e.consume(t),s)}function u(t){return e.enter(rk.lineEnding),e.consume(t),e.exit(rk.lineEnding),t1(e,c,rk.linePrefix)}function c(t){return tq(t)?u(t):(e.enter(rk.data),s(t))}function d(t){return t===rC.dash?(e.consume(t),f):s(t)}function f(n){return n===rC.greaterThan?(e.exit(rk.data),e.enter("commentEnd"),e.consume(n),e.exit("commentEnd"),e.exit("comment"),t(n)):n===rC.dash?(e.consume(n),f):s(n)}},rA={flow:{60:{tokenize:rS,concrete:!0}},text:{60:{tokenize:rS}}};var rw=n(82917);let rO=(0,a.fAf)("NESTED_EDITOR_UPDATED_COMMAND"),rP=(0,d.bL)(null),rI=(0,d.bL)(null),rN=(0,d.bL)(""),rR=(0,d.bL)(!0),rL=(0,d.bL)(!1,e=>{e.sub(e.pipe(rL,(0,d.Mm)(rP)),([e,t])=>{null==t||t.setEditable(!e)})}),rD=(0,d.bL)(""),rM=(0,d.bL)(!1),rF=(0,d.bL)(!1),rB=(0,d.bL)(0),rH=(0,d.bL)(null),rU=(0,d.MZ)(e=>{e.link(e.pipe(rH,(0,d.hX)(e=>null!==e)),rU)}),rj=(0,d.MZ)(e=>{e.sub(e.pipe(rj,(0,d.Mm)(rI)),([e,t])=>
35{null==t||t.dispatchCommand(a.Ewg,e)})}),rV=(0,d.bL)(null,e=>{e.sub(e.pipe(rV,(0,d.Mm)(rI)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),i="root"===r.getKey()?r:(0,o.$s)(r,e=>{let t=e.getParent();return null!==t&&(0,a._vQ)(t)});null===i&&(i=r.getTopLevelElementOrThrow());let l=i.getKey(),s=n.getElementByKey(l);if(null!==s){let t=(0,u.rc)(i)?i.getTag():i.getType();e.pub(iO,t)}})}),rz=(0,d.bL)(""),rG=(0,d.bL)(""),rW=(0,d.bL)(!1),r$=(0,d.MZ)(e=>{e.link(rG,r$),e.sub(rz,t=>{e.pubIn({[rW]:!0,[rG]:t})})}),rZ=(0,d.MZ)(e=>{e.link(e.pipe(r$,(0,d.Mm)(ii),(0,d.hX)(([,e])=>!e),(0,d.UI)(([e])=>e)),rZ)}),rY=(0,d.bL)([]),rq=(0,d.bL)([]),rK=(0,d.bL)([]),rX=(0,d.bL)([]),rJ=(0,d.bL)([]),rQ=(0,d.bL)([]),r0=(0,d.bL)({}),r1=(0,d.bL)(!1),r5=(0,d.bL)([]),r2=(0,d.bL)([]),r3=(0,d.bL)([]),r9=(0,d.bL)(null),r7=(0,d.bL)(null),r6=ih(rq),r8=ih(rY),r4=ih(rK),ie=ih(rX),it=ih(rJ),ir=ih(rQ),ii=(0,d.bL)(!1),io=(0,d.MZ)(e=>{e.sub(e.pipe(io,(0,d.Mm)(rG,rP,rF),(0,d.hX)(([e,t])=>e.trim()!==t.trim())),([t,,n,r])=>{e.pub(ii,!0),null==n||n.update(()=>{(0,a.GvG)().clear(),iv(e,(0,a.GvG)(),t),r?n.focus():(0,a.oqs)(null)},{onUpdate:()=>{e.pub(ii,!1)}})})}),ia=(0,d.MZ)(e=>{e.sub(e.pipe(ia,(0,d.Mm)(rI,rF)),([t,n,r])=>{null==n||n.update(()=>{let i=(0,a.dL7)();if(null!==i){let n={children:[],append(e){this.children.push(e)},getType:()=>i.getNodes()[0].getType()};iv(e,n,t),(0,a.odo)(n.children)}r?n.focus():(0,a.oqs)(null)})})});function il(){return(0,d.Rp)((e,[t,n])=>(e.forEach(e=>{if(!e)throw Error("You have a subscription that does not return a teardown");e()}),n?t.map(e=>e(n)):[]),[])}let is=(0,d.bL)([],e=>{e.pipe(e.combine(is,rI),il())}),iu=(0,d.bL)([],e=>{e.pipe(e.combine(iu,rP),il())}),ic=(0,d.bL)(null),id=(0,d.MZ)(),ip=(0,d.bL)(e=>{throw Error(`No icon component for ${e}`)});function ih(e,t){return(0,d.MZ)((n,r)=>{n.changeWith(e,r,(e,t)=>{Array.isArray(t)||(t=[t]);let n=e;for(let r of t)e.includes(r)||(n=[...n,r]);return n}),null==t||t(n,r)})}function im(e){let t=(0,a.dL7)();(0,a.OPZ)(t)&&e.pubIn({[rV]:t,[rB]:t.format})}let ig=ih(iu,(e,t)=>{e.pub(t,[t=>t.registerCommand(a.ojF,(t,n)=>(e.pubIn({[rI]:n,[rF]:!0}),null===n._parentEditor&&n.getEditorState().read(()=>{e.pub(ic,{rootNode:(0,a.GvG)(),editorType:"lexical"})}),im(e),!1),a.jwz),t=>t.registerUpdateListener(({dirtyElements:n,dirtyLeaves:r,editorState:i})=>{let o;let l=e.getValue(rH);null===l&&(0!==n.size||0!==r.size)&&(i.read(()=>{let n=(0,a.GvG)().getLastChild();n instanceof a.Ijf&&t.update(()=>{(0,a.GvG)().append((0,a.BEw)())},{discrete:!0}),o=function({root:e,toMarkdownOptions:t,toMarkdownExtensions:n,visitors:r,jsxComponentDescriptors:i,jsxIsAvailable:o}){return tE(function({root:e,visitors:t,jsxComponentDescriptors:n,jsxIsAvailable:r,addImportStatements:i=!0}){let o=null,l=new Set,s=new Map;function u(e,t){l.add(e),t&&s.set(e,{...t})}function c(e,n){if(null===o)return o=n;if(!(e.children instanceof Array))throw Error("Attempting to append children to a non-parent");let r=e.children,i=r.at(-1);if(i){let e=t.find(e=>{var t;return null==(t=e.shouldJoin)?void 0:t.call(e,i,n)});if(e){let t=e.join(i,n);return r.splice(r.length-1,1,t),t}}return r.push(n),n}
35function d(e,t){e.getChildren().forEach(e=>{f(e,t)})}function f(e,n){var r;let i=t.find(t=>{var n;return null==(n=t.testLexicalNode)?void 0:n.call(t,e)});if(!i)throw Error(`no lexical visitor found for ${e.getType()}`,{cause:e});null==(r=i.visitLexicalNode)||r.call(i,{lexicalNode:e,mdastParent:n,actions:{addAndStepInto(t,r={},i=!0){let o={type:t,...r,...i?{children:[]}:{}};c(n,o),(0,a.F7b)(e)&&i&&d(e,o)},appendToParent:c,visitChildren:d,visit:f,registerReferredComponent:u}})}if(t=t.sort((e,t)=>(t.priority??0)-(e.priority??0)),f(e,null),null===o)throw Error("traversal ended with no root element");let p=new Map,h=new Map;for(let e of l){let t=n.find(t=>t.name===e)??s.get(e)??n.find(e=>"*"===e.name);if(!t)throw Error(`Component ${e} is used but not imported`);if(t.source){if(t.defaultExport)h.set(e,t.source);else{let{source:n}=t,r=p.get(n);r?r.push(e):p.set(n,[e])}}}if(!i){for(let[e,t]of p.entries()){let n=t.filter(e=>s.has(e));n.length>0?p.set(e,n):p.delete(e)}for(let e of h.keys())s.has(e)||h.delete(e)}let m=Array.from(p).map(([e,t])=>({type:"mdxjsEsm",value:`import { ${t.join(", ")} } from '${e}'`}));m.push(...Array.from(h).map(([e,t])=>({type:"mdxjsEsm",value:`import ${e} from '${t}'`})));let g=o,y=g.children.find(e=>"yaml"===e.type);return y?g.children.splice(g.children.indexOf(y)+1,0,...m):g.children.unshift(...m),function e(t,n){if("strong"===t.type||"emphasis"===t.type){let r=t.children.at(-1);if((null==r?void 0:r.type)==="text"){let i=r.value.match(tI);if(i){r.value=r.value.replace(tI,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t)+1,0,{type:"text",value:i[0]}),e(o,n.slice(0,-1)))}}let i=t.children.at(0);if((null==i?void 0:i.type)==="text"){let r=i.value.match(tN);if(r){i.value=i.value.replace(tN,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t),0,{type:"text",value:r[0]}),e(o,n.slice(0,-1)))}}}"children"in t&&t.children.length>0&&t.children.forEach(r=>{e(r,[...n,t])})}(g,[]),function e(t){if("children"in t&&t.children.length>0){if(tw(t)&&1===t.children.length){let e=t.children[0];"mdxJsxTextElement"===e.type&&"span"===e.name&&(e.attributes.forEach(e=>{if("mdxJsxAttribute"===e.type){let n=t.attributes.find(t=>"mdxJsxAttribute"===t.type&&t.name===e.name);if(n){if("className"===e.name){let t=new Set([...n.value.split(" "),...e.value.split(" ")]);n.value=Array.from(t).join(" ")}else"style"===e.name&&(n.value=function(e,t){let n=tP(e),r=tP(t),i={...n,...r},o=Object.entries(i).map(([e,t])=>`${e}: ${t}`).join("; ");return o}(n.value,e.value))}else t.attributes.push(e)}}),t.children=e.children)}t.children.forEach(t=>{e(t)})}}(g),r||function e(t){if(Object.hasOwn(t,"children")){let n=[];t.children.forEach(t=>{"mdxJsxTextElement"===t.type&&"u"===t.name?n.push(...[{type:"html",value:"<u>"},...t.children,{type:"html",value:"</u>"}]):(n.push(t),e(t))}),t.children=n}}(g),g}({root:e,visitors:r,jsxComponentDescriptors:i,jsxIsAvailable:o}),{extensions:n,...t})+"\n"}({root:(0,a.GvG)(),visitors:e.getValue(rJ),jsxComponentDescriptors:e.getValue(r5),toMarkdownExtensions:e.getValue(rQ),toMarkdownOptions:e.getValue(r0),jsxIsAvailable:e.getValue(r1)})}),e.pub(rG,o.trim()),e.pub(rW,!1))}),t=>t.registerCommand(a.m$w,()=>(e.pub(rF,!0),!1),a.jwz)])}),iy=ih(is,(e,t)=>{e.pub(t,[t=>t.registerUpdateListener(({editorState:t})=>{t.read(()=>{im(e)})}),t=>t.registerCommand(a.GqL,t=>{var n;let r=e.getValue(rP);if(r){let i=!(null==(n=r.getRootElement())?void 0:n.contains(t.relatedTarget));i&&e.pubIn({[rF]:!1,[id]:t})}return!1},a.jwz)])});function iv(e,t,n){try{!function({root:e,markdown:t,visitors:n,syntaxExtensions:i,mdastExtensions:o,...a}){var l,s,u;let c;try{let e,n,a,l;s={extensions:i,mdastExtensions:o},"string"!=typeof s&&(u=s,s=void 0),c=(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:u,htmlText:r(g,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:a(),autolinkEmail:function(e){c.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=nY(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=(0,w.T)(n);t=e}let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=n5(e.end)},codeFenced:a(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:c,codeIndented:a(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:c,data:c,definition:a(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nh(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:a(),hardBreakEscape:a(d),hardBreakTrailing:a(d),htmlFlow:a(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:c,htmlText:a(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:c,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(nq,nK),n.identifier=nh(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=n5(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
35ype)&&(u.call(this,e),c.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nh(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};(function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(n1.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}})(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},a={stack:[r],tokenStack:[],config:t,enter:o,exit:l,buffer:i,resume:s,data:n},u=[],c=-1;for(;++c<e.length;)if("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type){if("enter"===e[c][0])u.push(c);else{let t=u.pop();c=function(e,t,n){let r,i,o,a,l=t-1,s=-1,u=!1;for(;++l<=n;){let t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||s||o||(o=l),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=l;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",r,t[2]]),l++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(l,0,["enter",i,t[2]]),l++,n++,o=void 0,a=!0}}}return e[t][1]._spread=u,n}(e,t,c)}}for(c=-1;++c<e.length;){let n=t[e[c][0]];n1.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},a),e[c][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1],t=e[1]||n2;t.call(a,void 0,e[0])}for(r.position={start:n5(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:n5(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){let r=this.stack[this.stack.length-1],i=r.children;i.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:n5(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r){if(r[0].type!==e.type){if(t)t.call(this,e,r[0]);else{let t=r[1]||n2;t.call(this,e,r[0])}}}else throw Error("Cannot close `"+e.type+"` ("+nX({start:e.start,end:e.end})+"): itâs not open");n.position.end=n5(e.end)}function s(){return function(e,t){let n="boolean"!=typeof tR.includeImageAlt||tR.includeImageAlt,r="boolean"!=typeof tR.includeHtml||tR.includeHtml;return tL(e,n,r)}(this.stack.pop())}function u(e){let t=this.stack[this.stack.length-1],n=t.children,r=n[n.length-1];r&&"text"===r.type||((r={type:"text",value:""}).position={start:n5(e.start),end:void 0},n.push(r)),this.stack.push(r)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=n5(e.end)}function d(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function h(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(u)(function(e){for(;!tU(e););return e}((function(e){let t=function(e){let t={},n=-1;for(;++n<e.length;)(function(e,t){let n;for(n in t){let r;let i=tj.call(e,n)?e[n]:void 0,o=i||(e[n]={}),a=t[n];if(a)for(r in a){tj.call(o,r)||(o[r]=[]);let e=a[r];(function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);tM(e,0,0,r)})(o[r],Array.isArray(e)?e:e?[e]:[])}}})(t,e[n]);return t}([r,...(e||{}).extensions||[]]),n={constructs:t,content:i(t5),defined:[],document:i(t2),flow:i(t8),lazy:{},string:i(ne),text:i(nt)};return n;function i(e){return function(t){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
35olumn:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],a=[],l=[],s={attempt:h(function(e,t){m(e,t.from)}),check:h(p),consume:function(e){tq(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=f(),u.events.push(["exit",t,u]),t},interrupt:h(p,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o;let a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(a=tF(a,e),function(){let e;for(;r._index<a.length;){var t;let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)t=n.charCodeAt(r._bufferIndex),c=c(t);else c=c(n)}}(),null!==a[a.length-1])?[]:(m(t,0),u.events=nw(o,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function p(e,t){t.restore()}function h(e,t){return function(n,i,o){let a,c,d,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,i=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return h(i)(e)};function h(e){return(a=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(p=function(){let e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(l);return{from:i,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,l=o,g()}}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,y,v)(n)}}function y(t){return e(d,p),i}function v(e){return(p.restore(),++c<a.length)?m(a[c]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&tM(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(n,e,t)}}})(u).document().write((n=1,a="",l=!0,function(t,r,i){let o,s,u,c,d;let f=[];for(t=a+("string"==typeof t?t.toString():new TextDecoder(r||void 0).decode(t)),u=0,a="",l&&(65279===t.charCodeAt(0)&&u++,l=void 0);u<t.length;){if(nZ.lastIndex=u,c=(o=nZ.exec(t))&&void 0!==o.index?o.index:t.length,d=t.charCodeAt(c),!o){a=t.slice(u);break}if(10===d&&u===c&&e)f.push(-3),e=void 0;else switch(e&&(f.push(-5),e=void 0),u<c&&(f.push(t.slice(u,c)),n+=c-u),d){case 0:f.push(65533),n++;break;case 9:for(s=4*Math.ceil(n/4),f.push(-2);n++<s;)f.push(-1);break;case 10:f.push(-4),n=1;break;default:e=!0,n=1}u=c+1}return i&&(e&&f.push(-5),a&&f.push(a),f.push(null)),f})(t,s,!0))))}catch(e){if(e instanceof Error)throw new n9(`Error parsing markdown: ${e.message}`,e);throw new n9(`Error parsing markdown: ${e}`,e)}0===c.children.length&&c.children.push({type:"paragraph",children:[]}),(null==(l=c.children.at(-1))?void 0:l.type)!=="paragraph"&&c.children.push({type:"paragraph",children:[]}),function({root:e,mdastRoot:t,visitors:n,...r}){let i=new WeakMap,o=new WeakMap,a=function(e){let t=new Map;if("root"!==e.type)return{importDeclarations:{}};let n=e.children.filter(e=>"mdxjsEsm"===e.type).filter(e=>e.value.startsWith("import "));
35return n.forEach(e=>{var n,r;((null==(r=null==(n=e.data)?void 0:n.estree)?void 0:r.body)??[]).forEach(e=>{"ImportDeclaration"===e.type&&e.specifiers.forEach(n=>{t.set(n.local.name,{source:`${e.source.value}`,defaultExport:"ImportDefaultSpecifier"===n.type})})})}),{importDeclarations:Object.fromEntries(t.entries())}}(t);function l(e,t){if(!n3(e))throw Error("Attempting to visit children of a non-parent");e.children.forEach(n=>{s(n,t,e)})}function s(e,t,s){let u=n.find(t=>"string"==typeof t.testNode?t.testNode===e.type:t.testNode(e,r));if(!u)try{throw new n7(`Unsupported markdown syntax: ${tE(e)}`)}catch(t){throw new n7(`Parsing of the following markdown structure failed: ${JSON.stringify({type:e.type,name:"name"in e?e.name:"N/A"})}`)}u.visitNode({mdastNode:e,lexicalParent:t,mdastParent:s,descriptors:r,metaData:a,actions:{visitChildren:l,addAndStepInto(n){t.append(n),n3(e)&&l(e,n)},addFormatting(t,n){!n&&n3(e)&&(n=e),n&&i.set(n,t|(i.get(s)??0))},removeFormatting(t,n){!n&&n3(e)&&(n=e),n&&i.set(n,t^(i.get(s)??0))},getParentFormatting:()=>i.get(s)??0,addStyle(t,n){!n&&n3(e)&&(n=e),n&&o.set(n,t)},getParentStyle:()=>o.get(s)??""}})}n=n.sort((e,t)=>(t.priority??0)-(e.priority??0)),s(t,e,null)}({root:e,mdastRoot:c,visitors:n,...a})}({root:t,visitors:e.getValue(rY),mdastExtensions:e.getValue(rX),markdown:n,syntaxExtensions:e.getValue(rK),jsxComponentDescriptors:e.getValue(r5),directiveDescriptors:e.getValue(r2),codeBlockEditorDescriptors:e.getValue(r3)}),e.pub(rH,null)}catch(t){if(t instanceof n9||t instanceof n7)e.pubIn({[rG]:n,[rH]:{error:t.message,source:n}});else throw t}}let ib=(0,d.bL)([]),iE=ih(ib),iT=(0,d.bL)([]),i_=ih(iT),ix=(0,d.bL)([]),iC=ih(ix),ik=(0,d.bL)([]);ih(ik);let iS=(0,d.bL)([]),iA=ih(iS),iw=(0,d.bL)(s()),iO=(0,d.bL)("");(0,d.MZ)();let iP=(0,d.MZ)(e=>{e.sub(e.pipe(iP,(0,d.Mm)(rI)),([e,t])=>{null==t||t.update(()=>{let n=(0,a.dL7)();(0,a.OPZ)(n)&&((0,c.Hz)(n,e),setTimeout(()=>{t.focus()}))})})}),iI=(0,d.MZ)(e=>{e.sub(e.pipe(iI,(0,d.Mm)(rI)),([e,t])=>{null==t||t.focus(()=>{t.getEditorState().read(()=>{let n=(0,a.dL7)();(0,a.OPZ)(n)&&(t.update(()=>{let t=e();t.isInline()?((0,a.odo)([t]),(0,a._vQ)(t.getParentOrThrow())&&(0,o.JB)(t,a.BEw).selectEnd()):(0,o.z8)(t),setTimeout(()=>{"select"in t&&"function"==typeof t.select&&t.select()})}),setTimeout(()=>{t.dispatchCommand(rO,void 0)}))})},{defaultSelection:"rootEnd"})})}),iN=(0,d.bL)("rich-text",e=>{function t(){return(0,d.Rp)((e,t)=>({current:e.next,next:t}),{current:"rich-text",next:"rich-text"})}e.sub(e.pipe(iN,t(),(0,d.Mm)(iR)),([{current:t},n])=>{("source"===t||"diff"===t)&&e.pub(io,n)}),e.sub(e.pipe(iN,t(),(0,d.hX)(e=>"rich-text"===e.current),(0,d.Mm)(rI)),([,e])=>{null==e||e.dispatchCommand(rO,void 0)})}),iR=(0,d.bL)("",e=>{e.link(rG,iR),e.link(iR,r$)}),iL=(0,d.bL)([]),iD=ih(iL),iM=(0,d.bL)(()=>{throw Error("No translation function provided")}),iF=(0,d.bL)(rw.c),iB=(0,i.n)({init(e,t){let n=(null==t?void 0:t.initialMarkdown)??"";if(e.register(ig),e.register(iy),e.register(r$),e.pubIn({[rz]:(null==t?void 0:t.trim)?n.trim():n,[ip]:null==t?void 0:t.iconComponentFor,[r8]:[rv,ry,rb,rf,...rh],[r6]:[a.CKy,a.R2r,rn],[it]:[rl,ra,rd,ro,ri],[iE]:rx,[rN]:null==t?void 0:t.contentEditableClassName,[rR]:null==t?void 0:t.spellCheck,[r0]:null==t?void 0:t.toMarkdownOptions,[rM]:null==t?void 0:t.autoFocus,[rD]:null==t?void 0:t.placeholder,[rL]:null==t?void 0:t.readOnly,[iM]:null==t?void 0:t.translation,[ie]:{canContainEols:["delete"],enter:{strikethrough:v},exit:{strikethrough:b}},[r4]:function(e){let t={}.singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,o=this.events,a=0;return function(l){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(l):(e.enter("strikethroughSequenceTemporary"),function o(l){let s=g(i);if(126===l)return a>1?r(l):(e.consume(l),a++,o);if(a<2&&!t)return r(l);let u=e.exit("strikethroughSequenceTemporary"),c=g(l);return u._open=!c||2===c&&!!s,u._close=!s||2===s&&!!c,n(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],l=t.parser.constructs.insideSpan.null;l&&f(a,a.length,0,function(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}(l,e.slice(r+1,n),t)),f(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),f(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(),[ir]:[function(e){let t={},n=t.quote||'"',r=t.quoteSmart||!1,i=t.tightSelfClosing||!1,o=t.printWidth||Number.POSITIVE_INFINITY,a='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return l.peek=z,{handlers:{mdxJsxFlowElement:l,mdxJsxTextElement:l},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0}
35;function l(e,t,l,s){let u="mdxJsxFlowElement"===e.type,c=!!e.name&&(!e.children||0===e.children.length),d=j(l),f=V(d),p=l.createTracker(s),h=l.createTracker(s),m=[],g=(u?f:"")+"<"+(e.name||""),y=l.enter(e.type);if(p.move(g),h.move(g),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){let i;let o=e.attributes[t];if("mdxJsxExpressionAttribute"===o.type)i="{"+(o.value||"")+"}";else{if(!o.name)throw Error("Cannot serialize attribute w/o name");let e=o.value,t=o.name,l="";if(null==e);else if("object"==typeof e)l="{"+(e.value||"")+"}";else{let t=r&&T(e,n)>T(e,a)?a:n;l=t+function(e,t){if(e=e.replace(t.subset?function(e){let t=L.get(e);return t||(t=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(R,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(e),L.set(e,t)),t}(t.subset):P,n),t.subset||t.escapeOnly)return e;return e.replace(I,function(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}).replace(N,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}(e,Object.assign({format:D},{subset:[t]}))+t}i=t+(l?"=":"")+l}m.push(i)}}let v=!1,b=m.join(" ");u&&(/\r?\n|\r/.test(b)||p.current().now.column+b.length+(c?i?2:3:1)>o)&&(v=!0);let E=p,_=g;if(v){E=h;let e=-1;for(;++e<m.length;)m[e]=f+" "+m[e];_+=E.move("\n"+m.join("\n")+"\n"+f)}else b&&(_+=E.move(" "+b));return c&&(_+=E.move((i||v?"":" ")+"/")),_+=E.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?_+=E.move(l.containerPhrasing(e,{...E.current(),before:">",after:"<"})):(E.shift(2),_+=E.move("\n")+E.move(function(e,t,n){let r=t.indexStack,i=e.children,o=t.createTracker(n),a=V(j(t)),l=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s;let u={before:"\n",after:"\n",...o.current()},c=t.handle(n,e,t,u),d="mdxJsxFlowElement"===n.type?c:t.indentLines(c,function(e,t,n){return(n?"":a)+e});l.push(o.move(d)),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&l.push(o.move("\n\n"))}return r.pop(),l.join("")}(e,l,E.current()))+E.move("\n"))),c||(_+=E.move((u?f:"")+"</"+(e.name||"")+">")),y(),_}}(),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:y}],handlers:{delete:E}}],[iF]:(null==t?void 0:t.lexicalTheme)??rw.c}),e.singletonSub(rU,null==t?void 0:t.onError),e.singletonSub(rZ,n=>{null==t||t.onChange(n,e.getValue(rW))}),e.singletonSub(id,null==t?void 0:t.onBlur),!(null==t?void 0:t.suppressHtmlProcessing)){var r;e.pubIn({[ie]:[function(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:d,mdxJsxFlowTagExpressionAttribute:f,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:a,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:d,mdxJsxTextTagExpressionAttribute:f,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:a},exit:{mdxJsxFlowTagClosingMarker:l,mdxJsxFlowTagNamePrimary:s,mdxJsxFlowTagNameMember:u,mdxJsxFlowTagNameLocal:c,mdxJsxFlowTagExpressionAttribute:p,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:h,mdxJsxFlowTagAttributeNameLocal:m,mdxJsxFlowTagAttributeValueLiteral:g,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:y,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:v,mdxJsxFlowTag:b,mdxJsxTextTagClosingMarker:l,mdxJsxTextTagNamePrimary:s,mdxJsxTextTagNameMember:u,mdxJsxTextTagNameLocal:c,mdxJsxTextTagExpressionAttribute:p,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:h,mdxJsxTextTagAttributeNameLocal:m,mdxJsxTextTagAttributeValueLiteral:g,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:y,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:v,mdxJsxTextTag:b}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function i(e){let t=this.data.mdxJsxTagStack;if((0,_.ok)(t,"expected `mdxJsxTagStack`"),0===t.length)throw new U("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function o(e){let t=this.data.mdxJsxTag;if((0,_.ok)(t,"expected `mdxJsxTag`"),t.close)throw new U("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function a(e){let t=this.data.mdxJsxTag;if((0,_.ok)(t,"expected `mdxJsxTag`"),t.close)throw new U("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function l(){let e=this.data.mdxJsxTag;(0,_.ok)(e,"expected `mdxJsxTag`"),e.close=!0}function s(e){let t=this.data.mdxJsxTag;(0,_.ok)(t,"expected `mdxJsxTag`"),t.name=this.sliceSerialize(e)}function u(e){let t=this.data.mdxJsxTag;(0,_.ok)(t,"expected `mdxJsxTag`"),t.name+="."+this.sliceSerialize(e)}function c(e){let t=this.data.mdxJsxTag;(0,_.ok)(t,"expected `mdxJsxTag`"),t.name+=":"+this.sliceSerialize(e)}function d(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`"),o.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function f(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`"),o.call(this,e),n.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function p(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,_.ok)("mdxJsxExpressionAttribute"===r.type);let i=e.estree;r.value=this.resume(),(0,_.ok)(void 0!==r.position),r.position.end=t(e.end),i&&(r.data={estree:i})}function h(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,_.ok)("mdxJsxAttribute"===r.type),r.name=this.sliceSerialize(e),(0,_.ok)(void 0!==r.position),r.position.end=t(e.end)}function m(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,_.ok)("mdxJsxAttribute"===r.type),r.name+=":"+this.sliceSerialize(e),(0,_.ok)(void 0!==r.position),r.position.end=t(e.end)}function g(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];r.value=function(e,t){let n,r,i;let o=t||{},a="string"==typeof o.additional?o.additional.charCodeAt(0):o.additional,l=[],s=0,u=-1,c="";o.position&&("start"in o.position||"indent"in o.position?(r=o.position.indent,n=o.position.start):n=o.position);let d=(n?n.line:0)||1,f=(n?n.column:0)||1,p=g();for(s--;++s<=e.length;)if(10===i&&(f=(r?r[u]:0)||1),38===(i=e.charCodeAt(s))){let t;let n=e.charCodeAt(s+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||a&&n===a){c+=String.fromCharCode(i),f++;continue}let r=s+1,u=r,d=r;if(35===n){d=++u;let n=e.charCodeAt(d);88===n||120===n?(t="hexadecimal",d=++u):t="decimal"}else t="named";let b="",E="",T="",_="named"===t?A:"decimal"===t?k:S;for(d--;++d<=e.length;){let n=e.charCodeAt(d);if(!_(n))break;T+=String.fromCharCode(n),"named"===t&&x.includes(T)&&(b=T,E=(0,w.T)(T))}let O=59===e.charCodeAt(d);if(O){d++;let e="named"===t&&(0,w.T)(T);e&&(b=T,E=e)}let P=1+d-r,I="";if(O||!1!==o.nonTerminated){if(T){if("named"===t){if(O&&!E)y(5,1);else if(b!==T&&(P=1+(d=u+b.length)-u,O=!1),!O){let t=b?1:3;if(o.attribute){let n=e.charCodeAt(d);61===n?(y(t,P),E=""):A(n)?E="":y(t,P)}else y(t,P)}I=E}else{var h,m;O||y(2,P);let e=Number.parseInt(T,"hexadecimal"===t?16:10);if((h=e)>=55296&&h<=57343||h>1114111)y(7,P),I=String.fromCharCode(65533);else if(e in C)y(6,P),I=C[e];else{let t="";((m=e)>=1&&m<=8||11===m||m>=13&&m<=31||m>=127&&m<=159||m>=64976&&m<=65007||(65535&m)==65535||(65535&m)==65534)&&y(6,P),e>
3565535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),I=t+String.fromCharCode(e)}}}else"named"!==t&&y(4,P)}if(I){v(),p=g(),s=d-1,f+=d-r+1,l.push(I);let t=g();t.offset++,o.reference&&o.reference.call(o.referenceContext||void 0,I,{start:p,end:t},e.slice(r-1,d)),p=t}else T=e.slice(r-1,d),c+=T,f+=T.length,s=d-1}else 10===i&&(d++,u++,f=0),Number.isNaN(i)?v():(c+=String.fromCharCode(i),f++);return l.join("");function g(){return{line:d,column:f,offset:s+((n?n.offset:0)||0)}}function y(e,t){let n;o.warning&&(n=g(),n.column+=t,n.offset+=t,o.warning.call(o.warningContext||void 0,O[e],n,e))}function v(){c&&(l.push(c),o.text&&o.text.call(o.textContext||void 0,c,{start:p,end:g()}),c="")}}(this.resume(),{nonTerminated:!1}),(0,_.ok)(void 0!==r.position),r.position.end=t(e.end)}function y(e){let n=this.data.mdxJsxTag;(0,_.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,_.ok)("mdxJsxAttribute"===r.type);let i={type:"mdxJsxAttributeValueExpression",value:this.resume()},o=e.estree;o&&(i.data={estree:o}),r.value=i,(0,_.ok)(void 0!==r.position),r.position.end=t(e.end)}function v(){let e=this.data.mdxJsxTag;(0,_.ok)(e,"expected `mdxJsxTag`"),e.selfClosing=!0}function b(e){let t=this.data.mdxJsxTag;(0,_.ok)(t,"expected `mdxJsxTag`");let n=this.data.mdxJsxTagStack;(0,_.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];if(t.close&&r.name!==t.name)throw new U("Unexpected closing tag `"+P(t)+"`, expected corresponding closing tag for `"+P(r)+"` ("+M(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,E),t.selfClosing||t.close?this.exit(e,T):n.push(t)}function E(e,t){let n=this.data.mdxJsxTagStack;(0,_.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];(0,_.ok)(r,"expected `mdxJsxTag`");let i=e?" before the end of `"+e.type+"`":"",o=e?{start:e.start,end:e.end}:void 0;throw new U("Expected a closing tag for `"+P(r)+"` ("+M({start:t.start,end:t.end})+")"+i,o,"mdast-util-mdx-jsx:end-tag-mismatch")}function T(e,t){let n=this.data.mdxJsxTag;throw(0,_.ok)(n,"expected `mdxJsxTag`"),new U("Expected the closing tag `"+P(n)+"` either after the end of `"+t.type+"` ("+M(t.end)+") or another opening tag after the start of `"+t.type+"` ("+M(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function P(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}(),(r={ast:!1},{canContainEols:["comment"],enter:{comment(e){this.buffer()}},exit:{comment(e){let t=this.resume();r.ast&&(this.enter({type:"comment",value:"",commentValue:t.slice(0,-2)},e),this.exit(e))}}})],[r4]:[function(e){var t,n,r,i;let o;let a={},l=a.acorn;if(l){if(!l.parse||!l.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");o=Object.assign({ecmaVersion:2024,sourceType:"module"},a.acornOptions,{locations:!0})}else if(a.acornOptions||a.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:(t=l||void 0,n={acornOptions:o,addResult:a.addResult||void 0},{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(e,r,i){let o=this;return function(e){return a(e)};function a(r){return eI.call(o,e,l,i,t,n.acornOptions,n.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function l(t){return ex(t)?(function(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return ex(r)?(e.enter(n),function r(a){return ex(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}})(e,s,"whitespace")(t):s(t)}function s(t){let n;let l=o.parser.constructs.flow[123],u=Array.isArray(l)?l:l?[l]:[];for(let e of u)if("mdxFlowExpression"===e.name){n=e;break}return 60===t?a(t):123===t&&n?e.attempt(n,s,i)(t):null===t||eT(t)?r(t):i(t)}}})},text:{60:(r=l||void 0,i={acornOptions:o,addResult:a.addResult||void 0},{name:"mdxJsxTextTag",tokenize:function(e,t,n){return eI.call(this,e,t,n,r,i.acornOptions,i.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}})}}}(),{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}},rA],[r8]:rm})}},postInit(e,t){let n=(0,a.JhQ)({editable:(null==t?void 0:t.readOnly)!==!0,namespace:"MDXEditor",nodes:e.getValue(rq),onError:e=>{throw e},theme:e.getValue(iF)});n.update(()=>{let r=(null==t?void 0:t.initialMarkdown.trim())??"";iv(e,(0,a.GvG)(),r);
35let i=null==t?void 0:t.autoFocus;if(i){if(!0===i){setTimeout(()=>{n.focus(n6.ZT,{defaultSelection:"rootStart"})});return}setTimeout(()=>{n.focus(n6.ZT,{defaultSelection:i.defaultSelection??"rootStart"})})}}),e.pub(rP,n),e.pub(rI,n)},update(e,t){e.pubIn({[rN]:null==t?void 0:t.contentEditableClassName,[rR]:null==t?void 0:t.spellCheck,[r0]:null==t?void 0:t.toMarkdownOptions,[rM]:null==t?void 0:t.autoFocus,[rD]:null==t?void 0:t.placeholder,[rL]:null==t?void 0:t.readOnly}),e.singletonSub(rZ,n=>{null==t||t.onChange(n,e.getValue(rW))}),e.singletonSub(id,null==t?void 0:t.onBlur),e.singletonSub(rU,null==t?void 0:t.onError)}});function iH(){return(0,d.Lm)(iM)}},20420:function(e,t,n){"use strict";let r;n.d(t,{VN:function(){return ra},bN:function(){return rc},WC:function(){return rp},lC:function(){return ri},BB:function(){return rd},l4:function(){return rr},$r:function(){return ru},Ob:function(){return rs},Ss:function(){return rl},P1:function(){return ro}});var i,o,a,l,s,u,c=n(49294),d=n(95393),f=n(73324),p=n(36903),h=n(64080),m=n(31531);function g(e){let t=(0,f.dL7)(),n=window.getSelection(),r=document.activeElement,i=e.getRootElement();if(null!==t&&null!==n&&null!==i&&i.contains(n.anchorNode)&&e.isEditable()){let e;let t=n.getRangeAt(0);if(n.isCollapsed){let t=n.anchorNode;(null==t?void 0:t.nodeType)==3&&(t=t.parentNode),(e=t.getBoundingClientRect()).width=0}else if(n.anchorNode===i){let t=i;for(;null!=t.firstElementChild;)t=t.firstElementChild;e=t.getBoundingClientRect()}else e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),width:Math.round(e.width),height:Math.round(e.height)}}return r&&r.className,null}var y=n(75178),v=n(2265),b=n.t(v,2);function E(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function T(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function _(...e){return t=>{let n=!1,r=e.map(e=>{let r=T(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():T(e[t],null)}}}}function x(...e){return v.useCallback(_(...e),e)}var C=n(57437),k=n(11001),S=0;function A(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function w(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function O(...e){return t=>{let n=!1,r=e.map(e=>{let r=w(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():w(e[t],null)}}}}n(54887);var P=Symbol("radix.slottable");function I(e){return v.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===P}var N=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=v.forwardRef((e,t)=>{let{children:n,...r}=e;if(v.isValidElement(n)){let e,i;let o=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==v.Fragment&&(a.ref=t?O(t,o):o),v.cloneElement(n,a)}return v.Children.count(n)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=v.forwardRef((e,n)=>{let{children:r,...i}=e,o=v.Children.toArray(r),a=o.find(I);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:v.Children.count(e)>1?v.Children.only(null):v.isValidElement(e)?e.props.children:null);return(0,C.jsx)(t,{...i,ref:n,children:v.isValidElement(e)?v.cloneElement(e,void 0,r):null})}return(0,C.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=v.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{});function R(e){let t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...e)=>t.current?.(...e),[])}var L="focusScope.autoFocusOnMount",D="focusScope.autoFocusOnUnmount",M={bubbles:!1,cancelable:!0},F=v.forwardRef((e,t)=>
35{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[l,s]=v.useState(null),u=R(i),c=R(o),d=v.useRef(null),f=function(...e){return v.useCallback(O(...e),e)}(t,e=>s(e)),p=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(r){let e=function(e){if(p.paused||!l)return;let t=e.target;l.contains(t)?d.current=t:U(d.current,{select:!0})},t=function(e){if(p.paused||!l)return;let t=e.relatedTarget;null===t||l.contains(t)||U(d.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&U(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,p.paused]),v.useEffect(()=>{if(l){j.add(p);let e=document.activeElement,t=l.contains(e);if(!t){let t=new CustomEvent(L,M);l.addEventListener(L,u),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(U(r,{select:t}),document.activeElement!==n)return}(B(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&U(l))}return()=>{l.removeEventListener(L,u),setTimeout(()=>{let t=new CustomEvent(D,M);l.addEventListener(D,c),l.dispatchEvent(t),t.defaultPrevented||U(e??document.body,{select:!0}),l.removeEventListener(D,c),j.remove(p)},0)}}},[l,u,c,p]);let h=v.useCallback(e=>{if(!n&&!r||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=function(e){let t=B(e),n=H(t,e),r=H(t.reverse(),e);return[n,r]}(t),a=r&&o;a?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&U(o,{select:!0})):(e.preventDefault(),n&&U(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,p.paused]);return(0,C.jsx)(N.div,{tabIndex:-1,...a,ref:f,onKeyDown:h})});function B(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function H(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function U(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}F.displayName="FocusScope";var j=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=V(r,e)).unshift(e)},remove(e){r=V(r,e),r[0]?.resume()}});function V(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var z=globalThis?.document?v.useLayoutEffect:()=>{},G=b[" useId ".trim().toString()]||(()=>void 0),W=0,$=n(87305),Z=n(20814),Y=n(97295);function q(e){let t=function(e){let t=v.forwardRef((e,t)=>{let{children:n,...r}=e;if(v.isValidElement(n)){let e,i;let o=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==v.Fragment&&(a.ref=t?_(t,o):o),v.cloneElement(n,a)}return v.Children.count(n)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=v.forwardRef((e,n)=>{let{children:r,...i}=e,o=v.Children.toArray(r),a=o.find(X);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:v.Children.count(e)>1?v.Children.only(null):v.isValidElement(e)?e.props.children:null);return(0,C.jsx)(t,{...i,ref:n,children:v.isValidElement(e)?v.cloneElement(e,void 0,r):null})}return(0,C.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var K=Symbol("radix.slottable");function X(e){return v.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===K}var J=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
35{let n=q(`Primitive.${t}`),Node=v.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,C.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{}),Q=b[" useInsertionEffect ".trim().toString()]||z;Symbol("RADIX:SYNC_STATE");var ee=new WeakMap,et=new WeakMap,en={},er=0,ei=function(e){return e&&(e.host||ei(e.parentNode))},eo=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=ei(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});en[n]||(en[n]=new WeakMap);var o=en[n],a=[],l=new Set,s=new Set(i),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,s=(ee.get(e)||0)+1,u=(o.get(e)||0)+1;ee.set(e,s),o.set(e,u),a.push(e),1===s&&i&&et.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),l.clear(),er++,function(){a.forEach(function(e){var t=ee.get(e)-1,i=o.get(e)-1;ee.set(e,t),o.set(e,i),t||(et.has(e)||e.removeAttribute(r),et.delete(e)),i||e.removeAttribute(n)}),--er||(ee=new WeakMap,ee=new WeakMap,et=new WeakMap,en={})}},ea=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),eo(r,i,n,"aria-hidden")):function(){return null}},el=function(){return(el=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function es(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}"function"==typeof SuppressedError&&SuppressedError;var eu="right-scroll-bar-position",ec="width-before-scroll-bar";function ed(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ef="undefined"!=typeof window?v.useLayoutEffect:v.useEffect,ep=new WeakMap,eh=(void 0===i&&(i={}),(void 0===o&&(o=function(e){return e}),a=[],l=!1,s={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,l);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){l=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=el({async:!0,ssr:!1},i),s),em=function(){},eg=v.forwardRef(function(e,t){var n,r,i,o,a=v.useRef(null),l=v.useState({onScrollCapture:em,onWheelCapture:em,onTouchMoveCapture:em}),s=l[0],u=l[1],c=e.forwardProps,d=e.children,f=e.className,p=e.removeScrollBar,h=e.enabled,m=e.shards,g=e.sideCar,y=e.noIsolation,b=e.inert,E=e.allowPinchZoom,T=e.as,_=e.gapMode,x=es(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(n=[a,t],r=function(e){return n.forEach(function(t){return ed(t,e)})},(i=(0,v.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,ef(function(){var e=ep.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||ed(e,null)}),r.forEach(function(e){t.has(e)||ed(e,i)})}ep.set(o,n)},[n]),o),k=el(el({},x),s);return v.createElement(v.Fragment,null,h&&v.createElement(g,{sideCar:eh,removeScrollBar:p,shards:m,noIsolation:y,inert:b,setCallbacks:u,allowPinchZoom:!!E,lockRef:a,gapMode:_}),c?v.cloneElement(v.Children.only(d),el(el({},k),{ref:C})):v.createElement(void 0===T?"div":T,el({},k,{className:f,ref:C}),d))});eg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eg.classNames={fullWidth:ec,zeroRight:eu};var ey=function(e){var t=e.sideCar,n=es(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return v.createElement(r,el({},n))};
35ey.isSideCarExport=!0;var ev=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eb=function(){var e=ev();return function(t,n){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eE=function(){var e=eb();return function(t){return e(t.styles,t.dynamic),null}},eT={left:0,top:0,right:0,gap:0},e_=function(e){return parseInt(e||"",10)||0},ex=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[e_(n),e_(r),e_(i)]},eC=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return eT;var t=ex(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ek=eE(),eS="data-scroll-locked",eA=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(eS,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(eu," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(ec," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(eu," .").concat(eu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(ec," .").concat(ec," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(eS,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},ew=function(){var e=parseInt(document.body.getAttribute(eS)||"0",10);return isFinite(e)?e:0},eO=function(){v.useEffect(function(){return document.body.setAttribute(eS,(ew()+1).toString()),function(){var e=ew()-1;e<=0?document.body.removeAttribute(eS):document.body.setAttribute(eS,e.toString())}},[])},eP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;eO();var o=v.useMemo(function(){return eC(i)},[i]);return v.createElement(ek,{styles:eA(o,!t,i,n?"":"!important")})},eI=!1;if("undefined"!=typeof window)try{var eN=Object.defineProperty({},"passive",{get:function(){return eI=!0,!0}});window.addEventListener("test",eN,eN),window.removeEventListener("test",eN,eN)}catch(e){eI=!1}var eR=!!eI&&{passive:!1},eL=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},eD=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),eM(e,r)){var i=eF(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},eM=function(e,t){return"v"===e?eL(t,"overflowY"):eL(t,"overflowX")},eF=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eB=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),l=a*r,s=n.target,u=t.contains(s),c=!1,d=l>0,f=0,p=0;do{var h=eF(e,s),m=h[0],g=h[1]-h[2]-a*m;(m||g)&&eM(e,s)&&(f+=g,p+=m),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(i&&1>Math.abs(f)||!i&&l>f)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-l>p)&&(c=!0),c},eH=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eU=function(e){return[e.deltaX,e.deltaY]},ej=function(e){return e&&"current"in e?e.current:e},eV=0,ez=[],eG=(eh.useMedium(function(e){var t=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),i=v.useState(eV++)[0],o=v.useState(eE)[0],a=v.useRef(e);v.useEffect(function(){a.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
35)([e.lockRef.current],(e.shards||[]).map(ej),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=v.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=eH(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-o[0],u="deltaY"in e?e.deltaY:l[1]-o[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=eD(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=eD(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=i),!i)return!0;var p=r.current||i;return eB(p,t,e,"h"===p?s:u,!0)},[]),s=v.useCallback(function(e){if(ez.length&&ez[ez.length-1]===o){var n="deltaY"in e?eU(e):eH(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(ej).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=v.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=v.useCallback(function(e){n.current=eH(e),r.current=void 0},[]),d=v.useCallback(function(t){u(t.type,eU(t),t.target,l(t,e.lockRef.current))},[]),f=v.useCallback(function(t){u(t.type,eH(t),t.target,l(t,e.lockRef.current))},[]);v.useEffect(function(){return ez.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,eR),document.addEventListener("touchmove",s,eR),document.addEventListener("touchstart",c,eR),function(){ez=ez.filter(function(e){return e!==o}),document.removeEventListener("wheel",s,eR),document.removeEventListener("touchmove",s,eR),document.removeEventListener("touchstart",c,eR)}},[]);var p=e.removeScrollBar,h=e.inert;return v.createElement(v.Fragment,null,h?v.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?v.createElement(eP,{gapMode:e.gapMode}):null)}),ey),eW=v.forwardRef(function(e,t){return v.createElement(eg,el({},e,{ref:t,sideCar:eG}))});eW.classNames=eg.classNames;var e$="Popover",[eZ,eY]=function(e,t=[]){let n=[],r=()=>{let t=n.map(e=>v.createContext(e));return function(n){let r=n?.[e]||t;return v.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=v.createContext(r),o=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,l=n?.[e]?.[o]||i,s=v.useMemo(()=>a,Object.values(a));return(0,C.jsx)(l.Provider,{value:s,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let l=a?.[e]?.[o]||i,s=v.useContext(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}(e$,[$.D7]),eq=(0,$.D7)(),[eK,eX]=eZ(e$),eJ=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!1}=e,l=eq(t),s=v.useRef(null),[u,c]=v.useState(!1),[d,f]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,a]=function({defaultProp:e,onChange:t}){let[n,r]=v.useState(e),i=v.useRef(n),o=v.useRef(t);return Q(()=>{o.current=t},[t]),v.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i;{let t=v.useRef(void 0!==e);v.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}let u=v.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else o(t)},[l,e,o,a]);return[s,u]}({prop:r,defaultProp:i??!1,onChange:o,caller:e$});return(0,C.jsx)($.fC,{...l,children:(0,C.jsx)(eK,{scope:t,contentId:function(e){let[t,n]=v.useState(G());return z(()=>{e||n(e=>e??String(W++))},[e]),e||(t?`radix-${t}`:"")}(),triggerRef:s,open:d,onOpenChange:f,onOpenToggle:v.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:u,onCustomAnchorAdd:v.useCallback(()=>c(!0),[]),onCustomAnchorRemove:v.useCallback(()=>c(!1),[]),modal:a,children:n})})};eJ.displayName=e$;var eQ="PopoverAnchor",e0=v.forwardRef((e,t)=>
35{let{__scopePopover:n,...r}=e,i=eX(eQ,n),o=eq(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(a(),()=>l()),[a,l]),(0,C.jsx)($.ee,{...o,...r,ref:t})});e0.displayName=eQ;var e1="PopoverTrigger";v.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eX(e1,n),o=eq(n),a=x(t,i.triggerRef),l=(0,C.jsx)(J.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ti(i.open),...r,ref:a,onClick:E(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:(0,C.jsx)($.ee,{asChild:!0,...o,children:l})}).displayName=e1;var e5="PopoverPortal",[e2,e3]=eZ(e5,{forceMount:void 0}),e9=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=eX(e5,t);return(0,C.jsx)(e2,{scope:t,forceMount:n,children:(0,C.jsx)(Y.z,{present:n||o.open,children:(0,C.jsx)(Z.h,{asChild:!0,container:i,children:r})})})};e9.displayName=e5;var e7="PopoverContent",e6=v.forwardRef((e,t)=>{let n=e3(e7,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=eX(e7,e.__scopePopover);return(0,C.jsx)(Y.z,{present:r||o.open,children:o.modal?(0,C.jsx)(e4,{...i,ref:t}):(0,C.jsx)(te,{...i,ref:t})})});e6.displayName=e7;var e8=q("PopoverContent.RemoveScroll"),e4=v.forwardRef((e,t)=>{let n=eX(e7,e.__scopePopover),r=v.useRef(null),i=x(t,r),o=v.useRef(!1);return v.useEffect(()=>{let e=r.current;if(e)return ea(e)},[]),(0,C.jsx)(eW,{as:e8,allowPinchZoom:!0,children:(0,C.jsx)(tt,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:E(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:E(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:E(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),te=v.forwardRef((e,t)=>{let n=eX(e7,e.__scopePopover),r=v.useRef(!1),i=v.useRef(!1);return(0,C.jsx)(tt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let o=t.target,a=n.triggerRef.current?.contains(o);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),tt=v.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:c,...d}=e,f=eX(e7,n),p=eq(n);return v.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??A()),document.body.insertAdjacentElement("beforeend",e[1]??A()),S++,()=>{1===S&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),S--}},[]),(0,C.jsx)(F,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,C.jsx)(k.XB,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:(0,C.jsx)($.VY,{"data-state":ti(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tn="PopoverClose";v.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eX(tn,n);return(0,C.jsx)(J.button,{type:"button",...r,ref:t,onClick:E(e.onClick,()=>i.onOpenChange(!1))})}).displayName=tn;var tr=v.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=eq(n);return(0,C.jsx)($.Eh,{...i,...r,ref:t})});function ti(e){return e?"open":"closed"}tr.displayName="PopoverArrow";var to=n(22376);function ta(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var tl=n(13428),ts=n(74275),tu=n.n(ts);n(25291);let tc=e=>"object"==typeof e&&null!=e&&1===e.nodeType,td=(e,t)=>
35(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,tf=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return td(r.overflowY,t)||td(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},tp=(e,t,n,r,i,o,a,l)=>o<e&&a>t||o>e&&a<t?0:o<=e&&l<=n||a>=t&&l>=n?o-e-r:a>t&&l<n||o<e&&l>n?a-t+i:0,th=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var tm=(e,t)=>{var n,r,i,o,a,l;if("undefined"==typeof document)return[];let{scrollMode:s,block:u,inline:c,boundary:d,skipOverflowHiddenElements:f}=t,p="function"==typeof d?d:e=>e!==d;if(!tc(e))throw TypeError("Invalid target");let h=document.scrollingElement||document.documentElement,m=[],g=e;for(;tc(g)&&p(g);){if((g=th(g))===h){m.push(g);break}null!=g&&g===document.body&&tf(g)&&!tf(document.documentElement)||null!=g&&tf(g,f)&&m.push(g)}let y=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,v=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,b=null!=(a=window.scrollX)?a:pageXOffset,E=null!=(l=window.scrollY)?l:pageYOffset,{height:T,width:_,top:x,right:C,bottom:k,left:S}=e.getBoundingClientRect(),A="start"===u||"nearest"===u?x:"end"===u?k:x+T/2,w="center"===c?S+_/2:"end"===c?C:S,O=[];for(let e=0;e<m.length;e++){let t=m[e],{height:n,width:r,top:i,right:o,bottom:a,left:l}=t.getBoundingClientRect();if("if-needed"===s&&x>=0&&S>=0&&k<=v&&C<=y&&x>=i&&k<=a&&S>=l&&C<=o)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),p=parseInt(d.borderTopWidth,10),g=parseInt(d.borderRightWidth,10),P=parseInt(d.borderBottomWidth,10),I=0,N=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-g:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-P:0,D="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)I="start"===u?A:"end"===u?A-v:"nearest"===u?tp(E,E+v,v,p,P,E+A,E+A+T,T):A-v/2,N="start"===c?w:"center"===c?w-y/2:"end"===c?w-y:tp(b,b+y,y,f,g,b+w,b+w+_,_),I=Math.max(0,I+E),N=Math.max(0,N+b);else{I="start"===u?A-i-p:"end"===u?A-a+P+L:"nearest"===u?tp(i,a,n,p,P+L,A,A+T,T):A-(i+n/2)+L/2,N="start"===c?w-l-f:"center"===c?w-(l+r/2)+R/2:"end"===c?w-o+g+R:tp(l,o,r,f,g+R,w,w+_,_);let{scrollLeft:e,scrollTop:s}=t;I=Math.max(0,Math.min(s+I/M,t.scrollHeight-n/M+L)),N=Math.max(0,Math.min(e+N/D,t.scrollWidth-r/D+R)),A+=s-I,w+=e-N}O.push({el:t,top:I,left:N})}return O},tg=0;function ty(){}function tv(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function tb(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout(function(){n=null,e.apply(void 0,o)},t)}return i.cancel=r,i}function tE(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some(function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function tT(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function t_(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=void 0!==t[r]?t[r]:e[r],n},{})}function tx(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return -1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);var l=tC(e,a,n,r,i);return -1===l?t>=n?-1:t:l}function tC(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a<n;a++)if(!r(a).hasAttribute("disabled"))return a}else for(var l=t-1;l>=0;l--)if(!r(l).hasAttribute("disabled"))return l;return i?e>0?tC(1,0,n,r,!1):tC(-1,n-1,n,r,!1):-1}function tk(e,t,n,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(tv(t,e,n)||r&&tv(t,n.document.activeElement,n))})}var tS=tb(function(e){tA(e).textContent=""},500);function tA(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}var tw=["isInitialMount","highlightedIndex","items","environment"],tO={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},tP=tb(function(e,t){var n,r,i;n=e(),i=tA(r=t),n&&(i.textContent=n,tS(r))},200),tI="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?v.useLayoutEffect:v.useEffect;function tN(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function tR(e){var t=(0,v.useRef)(e);return t.current=e,t}function tL(e,t,n){var r=(0,v.useRef)(),i=(0,v.useRef)(),o=(0,v.useCallback)(function(t,n){i.current=n;var r=e(t=t_(t,n.props),n);return n.props.stateReducer(t,(0,tl.Z)({},n,{changes:r}))},[e]),a=(0,v.useReducer)(o,t),l=a[0],s=a[1],u=tR(n),c=(0,v.useCallback)(function(e){return s((0,tl.Z)({props:u.current},e))},[u]),d=i.current;return(0,v.useEffect)(function(){if(d&&r.current&&r.current!==l){var e,t,n,i;e=t_(r.current,d.props),t=d.props,n=d.type,i={},Object.keys(e).forEach(function(t){var n,r,o;n=d.props,r=d.type,n[o="on"+tN(t)+"Change"]&&void 0!==l[t]&&l[t]!==e[t]&&n[o]((0,tl.Z)({type:r},l)),l[t]!==e[t]&&(i[t]=l[t])}),t.onStateChange&&Object.keys(i).length&&t.onStateChange((0,tl.Z)({type:n},i))}r.current=l},[l,n,d]),[l,c]}var tD={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){e&&tm(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}
35).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})},environment:"undefined"==typeof window?{}:window};function tM(e,t,n){void 0===n&&(n=tO);var r=e["default"+tN(t)];return void 0!==r?r:n[t]}function tF(e,t,n){void 0===n&&(n=tO);var r=e[t];if(void 0!==r)return r;var i=e["initial"+tN(t)];return void 0!==i?i:tM(e,t,n)}function tB(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=t.selectedItem,l=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&l===i?i:void 0!==o?o:a?r.indexOf(a):0===n?-1:n<0?r.length-1:0}function tH(e,t,n){var r=n.isInitialMount,i=n.highlightedIndex,o=n.items,a=n.environment,l=ta(n,tw);(0,v.useEffect)(function(){r||tP(function(){return e((0,tl.Z)({highlightedIndex:i,highlightedItem:o[i],resultCount:o.length},l))},a.document)},t)}function tU(e,t,n){void 0===n&&(n=!0);var r,i=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,tl.Z)({isOpen:!1,highlightedIndex:-1},i&&(0,tl.Z)({selectedItem:e.items[t],isOpen:tM(e,"isOpen"),highlightedIndex:tM(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function tj(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:tB(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:tB(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:tM(o,"highlightedIndex"),isOpen:tM(o,"isOpen"),selectedItem:tM(o,"selectedItem"),inputValue:tM(o,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return(0,tl.Z)({},e,r)}tu().array.isRequired,tu().func,tu().func,tu().func,tu().number,tu().number,tu().number,tu().bool,tu().bool,tu().bool,tu().any,tu().any,tu().any,tu().string,tu().string,tu().string,tu().func,tu().string,tu().func,tu().func,tu().func,tu().func,tu().func,tu().shape({addEventListener:tu().func,removeEventListener:tu().func,document:tu().shape({getElementById:tu().func,activeElement:tu().any,body:tu().any})}),el(el({},tD),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});var tV=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21}),tz=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});tu().array.isRequired,tu().func,tu().func,tu().func,tu().func,tu().number,tu().number,tu().number,tu().bool,tu().bool,tu().bool,tu().any,tu().any,tu().any,tu().string,tu().string,tu().string,tu().string,tu().string,tu().string,tu().func,tu().string,tu().string,tu().func,tu().func,tu().func,tu().func,tu().func,tu().func,tu().shape({addEventListener:tu().func,removeEventListener:tu().func,document:tu().shape({getElementById:tu().func,activeElement:tu().any,body:tu().any})});var tG=(0,tl.Z)({},tD,{selectedItemChanged:function(e,t){return e!==t}
35,getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}});function tW(e,t){var n,r,i=t.type,o=t.props,a=t.altKey;switch(i){case 13:r={isOpen:tM(o,"isOpen"),highlightedIndex:tM(o,"highlightedIndex"),selectedItem:o.items[t.index],inputValue:o.itemToString(o.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:tx(1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:a&&null==e.selectedItem?-1:tB(o,e,1,t.getItemNodeFromIndex),isOpen:o.items.length>=0};break;case 1:r=e.isOpen?a?tU(o,e.highlightedIndex):{highlightedIndex:tx(-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:tB(o,e,-1,t.getItemNodeFromIndex),isOpen:o.items.length>=0};break;case 7:r=tU(o,e.highlightedIndex);break;case 2:r=(0,tl.Z)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:tx(-10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case 6:r={highlightedIndex:tx(10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case 3:r={highlightedIndex:tC(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:r={highlightedIndex:tC(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1)};break;case 9:r=(0,tl.Z)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&t.selectItem&&{selectedItem:o.items[e.highlightedIndex],inputValue:o.itemToString(o.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:tM(o,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!0,highlightedIndex:tB(o,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:o.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return tj(e,t,tz)}return(0,tl.Z)({},e,r)}var t$=["onMouseLeave","refKey","ref"],tZ=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],tY=["onClick","onPress","refKey","ref"],tq=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function tK(e){void 0===e&&(e={});var t,n,r,i,o,a,l,s,u,c,d,f,p,h,m,g,y,b,E,T,_,x,C,k,S,A,w,O,P,I,N,R,L,D=(0,tl.Z)({},tG,e),M=D.initialIsOpen,F=D.defaultIsOpen,B=D.items,H=D.scrollIntoView,U=D.environment,j=D.getA11yStatusMessage,V=D.getA11ySelectionMessage,z=D.itemToString,G=(O=(m=tF(h=D,"selectedItem"),g=tF(h,"isOpen"),y=tF(h,"highlightedIndex"),b=tF(h,"inputValue"),w={highlightedIndex:y<0&&m&&g?h.items.indexOf(m):y,isOpen:g,selectedItem:m,inputValue:b}).selectedItem,""===(P=w.inputValue)&&O&&void 0===D.defaultInputValue&&void 0===D.initialInputValue&&void 0===D.inputValue&&(P=D.itemToString(O)),(0,tl.Z)({},w,{inputValue:P})),W=(I=(0,v.useRef)(),R=(N=tL(tW,G,D))[0],L=N[1],(0,v.useEffect)(function(){void 0!==D.selectedItem&&(D.selectedItemChanged(I.current,D.selectedItem)&&L({type:22,inputValue:D.itemToString(D.selectedItem)}),I.current=R.selectedItem===I.current?D.selectedItem:R.selectedItem)},[R.selectedItem,D.selectedItem]),[t_(R,D),L]),$=W[0],Z=W[1],Y=$.isOpen,q=$.highlightedIndex,K=$.selectedItem,X=$.inputValue,J=(0,v.useRef)(null),Q=(0,v.useRef)({}),ee=(0,v.useRef)(null),et=(0,v.useRef)(null),en=(0,v.useRef)(!0),er=(_=void 0===(T=(E=D).id)?"downshift-"+String(tg++):T,x=E.labelId,C=E.menuId,k=E.getItemId,S=E.toggleButtonId,A=E.inputId,(0,v.useRef)({labelId:x||_+"-label",menuId:C||_+"-menu",getItemId:k||function(e){return _+"-item-"+e},toggleButtonId:S||_+"-toggle-button",inputId:A||_+"-input"}).current),ei=(0,v.useRef)(),eo=tR({state:$,props:D}),ea=(0,v.useCallback)(function(e){return Q.current[er.getItemId(e)]},[er]);tH(j,[Y,q,X,B],(0,tl.Z)({isInitialMount:en.current,previousResultCount:ei.current,items:B,environment:U,itemToString:z},$)),tH(V,[K],(0,tl.Z)({isInitialMount:en.current,previousResultCount:ei.current,items:B,environment:U,itemToString:z},$));var el=(n=(t={menuElement:J.current,highlightedIndex:q,isOpen:Y,itemRefs:Q,scrollIntoView:H,getItemNodeFromIndex:ea}).highlightedIndex,r=t.isOpen,i=t.itemRefs,o=t.getItemNodeFromIndex,a=t.menuElement,l=t.scrollIntoView,s=(0,v.useRef)(!0),tI(function(){!(n<0)&&r&&Object.keys(i.current).length&&(!1===s.current?s.current=!0:l(o(n),a))},[n]),s);en.current,(0,v.useEffect)(function(){(M||F||Y)&&ee.current&&ee.current.focus()},[]),(0,v.useEffect)(function(){en.current||(ei.current=B.length)});var es=(u=Y,c=[ee,J,et],d=U,f=function(){Z({type:9,selectItem:!1})},p=(0,v.useRef)({isMouseDown:!1,isTouchMove:!1}),(0,v.useEffect)(function(){if((null==d?void 0:d.addEventListener)!=null){var e=function(){p.current.isMouseDown=!0},t=function(e){p.current.isMouseDown=!1,u&&!tk(e.target,c.map(function(e){return e.current}),d)&&f()},n=function(){p.current.isTouchMove=!1},r=function(){p.current.isTouchMove=!0},i=function(e){!u||p.current.isTouchMove||tk(e.target,c.map(function(e){return e.current}),d,!1)||f()};return d.addEventListener("mousedown",e),d.addEventListener("mouseup",t),d.addEventListener("touchstart",n),d.addEventListener("touchmove",r),d.addEventListener("touchend",i),function(){d.removeEventListener("mousedown",e),d.removeEventListener("mouseup",t),d.removeEventListener("touchstart",n),d.removeEventListener("touchmove",r),d.removeEventListener("touchend",i)}}},[u,d]),p),eu=ty;(0,v.useEffect)(function(){return en.current=!1,function(){en.current=!0}},[]),(0,v.useEffect)(function(){var e,t;Y?(null==(e=U.document)?void 0:e.activeElement)!==ee.current&&(null==ee||null==(t=ee.current)||t.focu
35s()):Q.current={}},[Y,U]);var ec=(0,v.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),Z({type:0,altKey:e.altKey,getItemNodeFromIndex:ea})},ArrowUp:function(e){e.preventDefault(),Z({type:1,altKey:e.altKey,getItemNodeFromIndex:ea})},Home:function(e){eo.current.state.isOpen&&(e.preventDefault(),Z({type:3,getItemNodeFromIndex:ea}))},End:function(e){eo.current.state.isOpen&&(e.preventDefault(),Z({type:4,getItemNodeFromIndex:ea}))},Escape:function(e){var t=eo.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),Z({type:2}))},Enter:function(e){eo.current.state.isOpen&&229!==e.which&&(e.preventDefault(),Z({type:7,getItemNodeFromIndex:ea}))},PageUp:function(e){eo.current.state.isOpen&&(e.preventDefault(),Z({type:5,getItemNodeFromIndex:ea}))},PageDown:function(e){eo.current.state.isOpen&&(e.preventDefault(),Z({type:6,getItemNodeFromIndex:ea}))}}},[Z,eo,ea]),ed=(0,v.useCallback)(function(e){return(0,tl.Z)({id:er.labelId,htmlFor:er.inputId},e)},[er]),ef=(0,v.useCallback)(function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,l=r.ref,s=ta(r,t$),u=(void 0===t?{}:t).suppressRefError;return eu("getMenuProps",void 0!==u&&u,a,J),(0,tl.Z)(((n={})[a]=tT(l,function(e){J.current=e}),n.id=er.menuId,n.role="listbox",n["aria-labelledby"]=s&&s["aria-label"]?void 0:""+er.labelId,n.onMouseLeave=tE(i,function(){Z({type:11})}),n),s)},[Z,eu,er]),ep=(0,v.useCallback)(function(e){var t,n,r=void 0===e?{}:e,i=r.item,o=r.index,a=r.refKey,l=r.ref,s=r.onMouseMove,u=r.onMouseDown,c=r.onClick;r.onPress;var d=r.disabled,f=ta(r,tZ),p=eo.current,h=p.props,m=p.state,g=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(i,o,h.items,"Pass either item or index to getItemProps!")[1];return(0,tl.Z)(((t={})[void 0===a?"ref":a]=tT(l,function(e){e&&(Q.current[er.getItemId(g)]=e)}),t.disabled=d,t.role="option",t["aria-selected"]=""+(g===m.highlightedIndex),t.id=er.getItemId(g),t),!d&&((n={}).onClick=tE(c,function(){Z({type:13,index:g})}),n),{onMouseMove:tE(s,function(){g!==m.highlightedIndex&&(el.current=!1,Z({type:12,index:g,disabled:d}))}),onMouseDown:tE(u,function(e){return e.preventDefault()})},f)},[Z,eo,el,er]),eh=(0,v.useCallback)(function(e){var t,n=void 0===e?{}:e,r=n.onClick;n.onPress;var i=n.refKey,o=n.ref,a=ta(n,tY),l=eo.current.state;return(0,tl.Z)(((t={})[void 0===i?"ref":i]=tT(o,function(e){et.current=e}),t["aria-controls"]=er.menuId,t["aria-expanded"]=l.isOpen,t.id=er.toggleButtonId,t.tabIndex=-1,t),!a.disabled&&(0,tl.Z)({},{onClick:tE(r,function(){Z({type:14})})}),a)},[Z,eo,er]),em=(0,v.useCallback)(function(e,t){var n,r,i=void 0===e?{}:e,o=i.onKeyDown,a=i.onChange,l=i.onInput,s=i.onFocus,u=i.onBlur;i.onChangeText;var c=i.refKey,d=void 0===c?"ref":c,f=i.ref,p=ta(i,tq),h=(void 0===t?{}:t).suppressRefError;eu("getInputProps",void 0!==h&&h,d,ee);var m=eo.current.state,g={};return p.disabled||((r={}).onChange=tE(a,l,function(e){Z({type:8,inputValue:e.target.value})}),r.onKeyDown=tE(o,function(e){var t,n,r,i=(n=(t=e).key,(r=t.keyCode)>=37&&r<=40&&0!==n.indexOf("Arrow")?"Arrow"+n:n);i&&ec[i]&&ec[i](e)}),r.onBlur=tE(u,function(e){m.isOpen&&!es.current.isMouseDown&&Z({type:9,selectItem:!(null===e.relatedTarget&&U.document.activeElement!==U.document.body)})}),r.onFocus=tE(s,function(){m.isOpen||Z({type:10})}),g=r),(0,tl.Z)(((n={})[d]=tT(f,function(e){ee.current=e}),n["aria-activedescendant"]=m.isOpen&&m.highlightedIndex>-1?er.getItemId(m.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=er.menuId,n["aria-expanded"]=m.isOpen,n["aria-labelledby"]=p&&p["aria-label"]?void 0:""+er.labelId,n.autoComplete="off",n.id=er.inputId,n.role="combobox",n.value=m.inputValue,n),g,p)},[eu,eo,er,ec,Z,es,U]),eg=(0,v.useCallback)(function(){Z({type:15})},[Z]),ey=(0,v.useCallback)(function(){Z({type:17})},[Z]),ev=(0,v.useCallback)(function(){Z({type:16})},[Z]),eb=(0,v.useCallback)(function(e){Z({type:18,highlightedIndex:e})},[Z]),eE=(0,v.useCallback)(function(e){Z({type:19,selectedItem:e})}
35,[Z]);return{getItemProps:ep,getLabelProps:ed,getMenuProps:ef,getInputProps:em,getToggleButtonProps:eh,toggleMenu:eg,openMenu:ev,closeMenu:ey,setHighlightedIndex:eb,setInputValue:(0,v.useCallback)(function(e){Z({type:20,inputValue:e})},[Z]),selectItem:eE,reset:(0,v.useCallback)(function(){Z({type:21})},[Z]),highlightedIndex:q,isOpen:Y,selectedItem:K,inputValue:X}}tK.stateChangeTypes=tz;var tX={activeIndex:-1,selectedItems:[]};tu().array,tu().array,tu().array,tu().func,tu().func,tu().func,tu().number,tu().number,tu().number,tu().func,tu().func,tu().string,tu().string,tu().shape({addEventListener:tu().func,removeEventListener:tu().func,document:tu().shape({getElementById:tu().func,activeElement:tu().any,body:tu().any})}),tD.itemToString,tD.stateReducer,tD.environment;var tJ=e=>"checkbox"===e.type,tQ=e=>e instanceof Date,t0=e=>null==e;let t1=e=>"object"==typeof e;var t5=e=>!t0(e)&&!Array.isArray(e)&&t1(e)&&!tQ(e),t2=e=>t5(e)&&e.target?tJ(e.target)?e.target.checked:e.target.value:e,t3=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,t9=(e,t)=>e.has(t3(t)),t7=e=>{let t=e.constructor&&e.constructor.prototype;return t5(t)&&t.hasOwnProperty("isPrototypeOf")},t6="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function t8(e){let t;let n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(t6&&(e instanceof Blob||e instanceof FileList))&&(n||t5(e))))return e;else if(t=n?[]:{},n||t7(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=t8(e[n]));else t=e;return t}var t4=e=>Array.isArray(e)?e.filter(Boolean):[],ne=e=>void 0===e,nt=(e,t,n)=>{if(!t||!t5(e))return n;let r=t4(t.split(/[,[\].]+?/)).reduce((e,t)=>t0(e)?e:e[t],e);return ne(r)||r===e?ne(e[t])?n:e[t]:r};let nn={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},nr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ni={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},no=v.createContext(null),na=()=>v.useContext(no);var nl=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(i,o,{get:()=>(t._proxyFormState[o]!==nr.all&&(t._proxyFormState[o]=!r||nr.all),n&&(n[o]=!0),e[o])});return i},ns=e=>t5(e)&&!Object.keys(e).length,nu=(e,t,n,r)=>{n(e);let{name:i,...o}=e;return ns(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||nr.all))},nc=e=>Array.isArray(e)?e:[e],nd=(e,t,n)=>n&&t?e===t:!e||!t||e===t||nc(e).some(e=>e&&(e.startsWith(t)||t.startsWith(e)));function nf(e){let t=v.useRef(e);t.current=e,v.useEffect(()=>{let n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}var np=e=>"string"==typeof e,nh=(e,t,n,r,i)=>np(e)?(r&&t.watch.add(e),nt(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),nt(n,e))):(r&&(t.watchAll=!0),n),nm=e=>/^\w*$/.test(e),ng=e=>t4(e.replace(/["|']|\]/g,"").split(/\.|\[/));function ny(e,t,n){let r=-1,i=nm(t)?[t]:ng(t),o=i.length,a=o-1;for(;++r<o;){let t=i[r],o=n;if(r!==a){let n=e[t];o=t5(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}e[t]=o,e=e[t]}return e}let nv=e=>e.render(function(e){let t=na(),{name:n,control:r=t.control,shouldUnregister:i}=e,o=t9(r._names.array,n),a=function(e){let t=na(),{control:n=t.control,name:r,defaultValue:i,disabled:o,exact:a}=e||{},l=v.useRef(r);l.current=r,nf({disabled:o,subject:n._subjects.values,next:e=>{nd(l.current,e.name,a)&&u(t8(nh(l.current,n._names,e.values||n._formValues,!1,i)))}});let[s,u]=v.useState(n._getWatch(r,i));return v.useEffect(()=>n._removeUnmounted()),s}({control:r,name:n,defaultValue:nt(r._formValues,n,nt(r._defaultValues,n,e.defaultValue)),exact:!0}),l=function(e){let t=na(),{control:n=t.control,disabled:r,name:i,exact:o}=e||{},[a,l]=v.useState(n._formState),s=v.useRef(!0),u=v.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=v.useRef(i);return c.current=i,nf({disabled:r,next:e=>s.current&&nd(c.current,e.name,o)&&nu(e,u.current,n._updateFormState)&&l({...n._formState,...e}),subject:n._subjects.state}),v.useEffect(()=>
35(s.current=!0,u.current.isValid&&n._updateValid(!0),()=>{s.current=!1}),[n]),nl(a,n,u.current,!1)}({control:r,name:n}),s=v.useRef(r.register(n,{...e.rules,value:a}));return s.current=r.register(n,e.rules),v.useEffect(()=>{let e=r._options.shouldUnregister||i,t=(e,t)=>{let n=nt(r._fields,e);n&&(n._f.mount=t)};if(t(n,!0),e){let e=t8(nt(r._options.defaultValues,n));ny(r._defaultValues,n,e),ne(nt(r._formValues,n))&&ny(r._formValues,n,e)}return()=>{(o?e&&!r._state.action:e)?r.unregister(n):t(n,!1)}},[n,r,o,i]),{field:{name:n,value:a,onChange:v.useCallback(e=>s.current.onChange({target:{value:t2(e),name:n},type:nn.CHANGE}),[n]),onBlur:v.useCallback(()=>s.current.onBlur({target:{value:nt(r._formValues,n),name:n},type:nn.BLUR}),[n,r]),ref:e=>{let t=nt(r._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!nt(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!nt(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!nt(l.touchedFields,n)},error:{enumerable:!0,get:()=>nt(l.errors,n)}})}}(e));var nb=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{};let nE=(e,t,n)=>{for(let r of n||Object.keys(e)){let n=nt(e,r);if(n){let{_f:e,...r}=n;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else t5(r)&&nE(r,t)}}};var nT=e=>({isOnSubmit:!e||e===nr.onSubmit,isOnBlur:e===nr.onBlur,isOnChange:e===nr.onChange,isOnAll:e===nr.all,isOnTouch:e===nr.onTouched}),n_=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),nx=(e,t,n)=>{let r=t4(nt(e,n));return ny(r,"root",t[n]),ny(e,n,r),e},nC=e=>"boolean"==typeof e,nk=e=>"file"===e.type,nS=e=>"function"==typeof e,nA=e=>{if(!t6)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},nw=e=>np(e),nO=e=>"radio"===e.type,nP=e=>e instanceof RegExp;let nI={value:!1,isValid:!1},nN={value:!0,isValid:!0};var nR=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ne(e[0].attributes.value)?ne(e[0].value)||""===e[0].value?nN:{value:e[0].value,isValid:!0}:nN:nI}return nI};let nL={isValid:!1,value:null};var nD=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,nL):nL;function nM(e,t,n="validate"){if(nw(e)||Array.isArray(e)&&e.every(nw)||nC(e)&&!e)return{type:n,message:nw(e)?e:"",ref:t}}var nF=e=>t5(e)&&!nP(e)?e:{value:e,message:""},nB=async(e,t,n,r,i)=>{let{ref:o,refs:a,required:l,maxLength:s,minLength:u,min:c,max:d,pattern:f,validate:p,name:h,valueAsNumber:m,mount:g,disabled:y}=e._f,v=nt(t,h);if(!g||y)return{};let b=a?a[0]:o,E=e=>{r&&b.reportValidity&&(b.setCustomValidity(nC(e)?"":e||""),b.reportValidity())},T={},_=nO(o),x=tJ(o),C=(m||nk(o))&&ne(o.value)&&ne(v)||nA(o)&&""===o.value||""===v||Array.isArray(v)&&!v.length,k=nb.bind(null,h,n,T),S=(e,t,n,r=ni.maxLength,i=ni.minLength)=>{let a=e?t:n;T[h]={type:e?r:i,message:a,ref:o,...k(e?r:i,a)}};if(i?!Array.isArray(v)||!v.length:l&&(!(_||x)&&(C||t0(v))||nC(v)&&!v||x&&!nR(a).isValid||_&&!nD(a).isValid)){let{value:e,message:t}=nw(l)?{value:!!l,message:l}:nF(l);if(e&&(T[h]={type:ni.required,message:t,ref:b,...k(ni.required,t)},!n))return E(t),T}if(!C&&(!t0(c)||!t0(d))){let e,t;let r=nF(d),i=nF(c);if(t0(v)||isNaN(v)){let n=o.valueAsDate||new Date(v),a=e=>new Date(new Date().toDateString()+" "+e),l="time"==o.type,s="week"==o.type;np(r.value)&&v&&(e=l?a(v)>a(r.value):s?v>r.value:n>new Date(r.value)),np(i.value)&&v&&(t=l?a(v)<a(i.value):s?v<i.value:n<new Date(i.value))}else{let n=o.valueAsNumber||(v?+v:v);t0(r.value)||(e=n>r.value),t0(i.value)||(t=n<i.value)}if((e||t)&&(S(!!e,r.message,i.message,ni.max,ni.min),!n))return E(T[h].message),T}if((s||u)&&!C&&(np(v)||i&&Array.isArray(v))){let e=nF(s),t=nF(u),r=!t0(e.value)&&v.length>+e.value,i=!t0(t.value)&&v.length<+t.value;if((r||i)&&(S(r,e.message,t.message),!n))return E(T[h].message),T}if(f&&!C&&np(v)){let{value:e,message:t}=nF(f);if(nP(e)&&!v.match(e)&&(T[h]={type:ni.pattern,message:t,ref:o,...k(ni.pattern,t)},!n))return E(t),T}
35if(p){if(nS(p)){let e=await p(v,t),r=nM(e,b);if(r&&(T[h]={...r,...k(ni.validate,r.message)},!n))return E(r.message),T}else if(t5(p)){let e={};for(let r in p){if(!ns(e)&&!n)break;let i=nM(await p[r](v,t),b,r);i&&(e={...i,...k(r,i.message)},E(i.message),n&&(T[h]=e))}if(!ns(e)&&(T[h]={ref:b,...e},!n))return T}}return E(!0),T};function nH(e,t){let n=Array.isArray(t)?t:nm(t)?[t]:ng(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=ne(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(t5(r)&&ns(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!ne(e[t]))return!1;return!0}(r))&&nH(e,n.slice(0,-1)),e}function nU(){let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var nj=e=>t0(e)||!t1(e);function nV(e,t){if(nj(e)||nj(t))return e===t;if(tQ(e)&&tQ(t))return e.getTime()===t.getTime();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n){let n=e[i];if(!r.includes(i))return!1;if("ref"!==i){let e=t[i];if(tQ(n)&&tQ(e)||t5(n)&&t5(e)||Array.isArray(n)&&Array.isArray(e)?!nV(n,e):n!==e)return!1}}return!0}var nz=e=>"select-multiple"===e.type,nG=e=>nO(e)||tJ(e),nW=e=>nA(e)&&e.isConnected,n$=e=>{for(let t in e)if(nS(e[t]))return!0;return!1};function nZ(e,t={}){let n=Array.isArray(e);if(t5(e)||n)for(let n in e)Array.isArray(e[n])||t5(e[n])&&!n$(e[n])?(t[n]=Array.isArray(e[n])?[]:{},nZ(e[n],t[n])):t0(e[n])||(t[n]=!0);return t}var nY=(e,t)=>(function e(t,n,r){let i=Array.isArray(t);if(t5(t)||i)for(let i in t)Array.isArray(t[i])||t5(t[i])&&!n$(t[i])?ne(n)||nj(r[i])?r[i]=Array.isArray(t[i])?nZ(t[i],[]):{...nZ(t[i])}:e(t[i],t0(n)?{}:n[i],r[i]):r[i]=!nV(t[i],n[i]);return r})(e,t,nZ(t)),nq=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>ne(e)?e:t?""===e?NaN:e?+e:e:n&&np(e)?new Date(e):r?r(e):e;function nK(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:nk(t)?t.files:nO(t)?nD(e.refs).value:nz(t)?[...t.selectedOptions].map(({value:e})=>e):tJ(t)?nR(e.refs).value:nq(ne(t.value)?e.ref.value:t.value,e)}var nX=(e,t,n,r)=>{let i={};for(let n of e){let e=nt(t,n);e&&ny(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},nJ=e=>ne(e)?e:nP(e)?e.source:t5(e)?nP(e.value)?e.value.source:e.value:e,nQ=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function n0(e,t,n){let r=nt(e,n);if(r||nm(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),o=nt(t,r),a=nt(e,r);if(o&&!Array.isArray(o)&&n!==r)break;if(a&&a.type)return{name:r,error:a};i.pop()}return{name:n}}var n1=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),n5=(e,t)=>!t4(nt(e,t)).length&&nH(e,t);let n2={mode:nr.onSubmit,reValidateMode:nr.onChange,shouldFocusError:!0};var n3=n(80365);let n9=e=>e.suggestions.length>0?v.createElement(n7,{...e}):v.createElement("input",{className:n3.ZP.textInput,size:40,autoFocus:!0,...e.register(e.inputName)}),n7=({autofocus:e,suggestions:t,control:n,inputName:r,placeholder:i,initialInputValue:o,setValue:a})=>{let[l,s]=v.useState(t.slice(0,20)),u=(0,d.Lm)(y.wh),c=t.length>0,{isOpen:f,getToggleButtonProps:p,getMenuProps:h,getInputProps:m,highlightedIndex:g,getItemProps:b,selectedItem:E}=tK({initialInputValue:o,onInputValueChange({inputValue:e=""}){a(r,e),e=e.toLowerCase()||"";let n=[];for(let r of t)if(r.toLowerCase().includes(e)&&(n.push(r),n.length>=20))break;s(n)},items:l,itemToString:e=>e??""}),T=f&&l.length>0;return v.createElement("div",{className:n3.ZP.downshiftAutocompleteContainer},v.createElement("div",{"data-visible-dropdown":T,className:n3.ZP.downshiftInputWrapper},v.createElement(nv,{name:r,control:n,render:({field:t})=>{let n=m();return v.createElement("input",{...n,name:t.name,placeholder:i,className:n3.ZP.downshiftInput,size:30,"data-editor-dialog":!0,autoFocus:e})}}),c&&v.createElement("button",{"aria-label":"toggle menu",type:"button",...p()},u("arrow_drop_down"))),v.createElement("div",{className:n3.ZP.downshiftAutocompleteContainer},v.createElement("ul",{...h(),"data-visible":T},l.map((e,t)=>v.createElement("li",{"data-selected":E===e,"data-highlighted":g===t,key:`${e}${t}`,...b({item:e,index:t})},e)))))};var n6=n(54440);function n8({url:e,title:t,onSubmit:n,onCancel:r,linkAutocompleteSuggestions:i}){let{register:o,handleSubmit:a,control:l,setValue:s,reset:u}=function(e={}){let t=v.useRef(),n=v.useRef(),[r,i]=v.useState({isDirty:!1,isValidating:!1,isLoading:nS(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:nS(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let n,r={...n2,...e},i={submitCount:0,isDirty:!1,isLoading:nS(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},o={},a=(t5(r.defaultValues)||t5(r.values))&&t8(r.defaultValues||r.values)||{},l=r.shouldUnregister?{}:t8(a),s={action:!1,mount:!1,watch:!1},u={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0,d={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:nU(),array:nU(),state:nU()},p=e.resetOptions&&e.resetOptions.keepDirtyValues,h=nT(r.mode),m=nT(r.reValidateMode),g=r.criteriaMode===nr.all,y=e=>t=>{clearTimeout(c),c=setTimeout(e,t)},v=async e=>{if(d.isValid||e){let e=r.resolver?ns((await C()).errors):await S(o,!0);e!==i.isValid&&f.state.next({isValid:e})}},b=e=>d.isValidating&&f.state.next({isValidating:e}),E=(e,t)=>{ny(i.errors,e,t),f.state.next({errors:i.errors})},T=(e,t,n,r)=>{let i=nt(o,e);if(i){let o=nt(l,e,ne(n)?nt(a,e):n);ne(o)||r&&r.defaultChecked||t?ny(l,e,t?o:nK(i._f)):O(e,o),s.mount&&v()}},_=(e,t,n,r,o)=>{let l=!1,s=!1,u={name:e};if(!n||r){d.isDirty&&(s=i.isDirty,i.isDirty=u.isDirty=A(),l=s!==u.isDirty);let n=nV(nt(a,e),t);s=nt(i.dirtyFields,e),n?nH(i.dirtyFields,e):ny(i.dirtyFields,e,!0),u.dirtyFields=i.dirtyFields,l=l||d.dirtyFields&&!n!==s}if(n){let t=nt(i.touchedFields,e);t||(ny(i.touchedFields,e,n),u.touchedFields=i.touchedFields,l=l||d.touchedFields&&t!==n)}return l&&o&&f.state.next(u),l?u:{}},x=(t,r,o,a)=>{let l=nt(i.errors,t),s=d.isValid&&nC(r)&&i.isValid!==r;if(e.delayError&&o?(n=y(()=>E(t,o)))(e.delayError):(clearTimeout(c),n=null,o?ny(i.errors,t,o):nH(i.errors,t)),(o?!nV(l,o):l)||!ns(a)||s){let e={...a,...s&&nC(r)?{isValid:r}:{},errors:i.errors,name:t};i={...i,...e},f.state.next(e)}b(!1)},C=async e=>r.resolver(l,r.context,nX(e||u.mount,o,r.criteriaMode,r.shouldUseNativeValidation)),k=async e=>{let{errors:t}=await C();if(e)for(let n of e){let e=nt(t,n);e?ny(i.errors,n,e):nH(i.errors,n)}else i.errors=t;return t},S=async(e,t,n={valid:!0})=>{for(let o in e){let a=e[o];if(a){let{_f:e,...o}=a;if(e){let o=u.array.has(e.name),s=await nB(a,l,g,r.shouldUseNativeValidation&&!t,o);if(s[e.name]&&(n.valid=!1,t))break;t||(nt(s,e.name)?o?nx(i.errors,s,e.name):ny(i.errors,e.name,s[e.name]):nH(i.errors,e.name))}o&&await S(o,t,n)}}return n.valid},A=(e,t)=>
35(e&&t&&ny(l,e,t),!nV(L(),a)),w=(e,t,n)=>nh(e,u,{...s.mount?l:ne(t)?a:np(e)?{[e]:t}:t},n,t),O=(e,t,n={})=>{let r=nt(o,e),i=t;if(r){let n=r._f;n&&(n.disabled||ny(l,e,nq(t,n)),i=nA(n.ref)&&t0(t)?"":t,nz(n.ref)?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?tJ(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):n.refs[0]&&(n.refs[0].checked=!!i):n.refs.forEach(e=>e.checked=e.value===i):nk(n.ref)?n.ref.value="":(n.ref.value=i,n.ref.type||f.values.next({name:e,values:{...l}})))}(n.shouldDirty||n.shouldTouch)&&_(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&R(e)},P=(e,t,n)=>{for(let r in t){let i=t[r],a=`${e}.${r}`,l=nt(o,a);!u.array.has(e)&&nj(i)&&(!l||l._f)||tQ(i)?O(a,i,n):P(a,i,n)}},I=(e,n,r={})=>{let c=nt(o,e),p=u.array.has(e),h=t8(n);ny(l,e,h),p?(f.array.next({name:e,values:{...l}}),(d.isDirty||d.dirtyFields)&&r.shouldDirty&&f.state.next({name:e,dirtyFields:nY(a,l),isDirty:A(e,h)})):!c||c._f||t0(h)?O(e,h,r):P(e,h,r),n_(e,u)&&f.state.next({...i}),f.values.next({name:e,values:{...l}}),s.mount||t()},N=async e=>{let t=e.target,a=t.name,s=!0,c=nt(o,a);if(c){let p,y;let E=t.type?nK(c._f):t2(e),T=e.type===nn.BLUR||e.type===nn.FOCUS_OUT,k=!nQ(c._f)&&!r.resolver&&!nt(i.errors,a)&&!c._f.deps||n1(T,nt(i.touchedFields,a),i.isSubmitted,m,h),A=n_(a,u,T);ny(l,a,E),T?(c._f.onBlur&&c._f.onBlur(e),n&&n(0)):c._f.onChange&&c._f.onChange(e);let w=_(a,E,T,!1),O=!ns(w)||A;if(T||f.values.next({name:a,type:e.type,values:{...l}}),k)return d.isValid&&v(),O&&f.state.next({name:a,...A?{}:w});if(!T&&A&&f.state.next({...i}),b(!0),r.resolver){let{errors:e}=await C([a]),t=n0(i.errors,o,a),n=n0(e,o,t.name||a);p=n.error,a=n.name,y=ns(e)}else p=(await nB(c,l,g,r.shouldUseNativeValidation))[a],(s=isNaN(E)||E===nt(l,a,E))&&(p?y=!1:d.isValid&&(y=await S(o,!0)));s&&(c._f.deps&&R(c._f.deps),x(a,y,p,w))}},R=async(e,t={})=>{let n,a;let l=nc(e);if(b(!0),r.resolver){let t=await k(ne(e)?e:l);n=ns(t),a=e?!l.some(e=>nt(t,e)):n}else e?((a=(await Promise.all(l.map(async e=>{let t=nt(o,e);return await S(t&&t._f?{[e]:t}:t)}))).every(Boolean))||i.isValid)&&v():a=n=await S(o);return f.state.next({...!np(e)||d.isValid&&n!==i.isValid?{}:{name:e},...r.resolver||!e?{isValid:n}:{},errors:i.errors,isValidating:!1}),t.shouldFocus&&!a&&nE(o,e=>e&&nt(i.errors,e),e?l:u.mount),a},L=e=>{let t={...a,...s.mount?l:{}};return ne(e)?t:np(e)?nt(t,e):e.map(e=>nt(t,e))},D=(e,t)=>({invalid:!!nt((t||i).errors,e),isDirty:!!nt((t||i).dirtyFields,e),isTouched:!!nt((t||i).touchedFields,e),error:nt((t||i).errors,e)}),M=(e,t,n)=>{let r=(nt(o,e,{_f:{}})._f||{}).ref;ny(i.errors,e,{...t,ref:r}),f.state.next({name:e,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},F=(e,t={})=>{for(let n of e?nc(e):u.mount)u.mount.delete(n),u.array.delete(n),t.keepValue||(nH(o,n),nH(l,n)),t.keepError||nH(i.errors,n),t.keepDirty||nH(i.dirtyFields,n),t.keepTouched||nH(i.touchedFields,n),r.shouldUnregister||t.keepDefaultValue||nH(a,n);f.values.next({values:{...l}}),f.state.next({...i,...t.keepDirty?{isDirty:A()}:{}}),t.keepIsValid||v()},B=(e,t={})=>{let n=nt(o,e),i=nC(t.disabled);return ny(o,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),u.mount.add(e),n?i&&ny(l,e,t.disabled?void 0:nt(l,e,nK(n._f))):T(e,!0,t.value),{...i?{disabled:t.disabled}:{},...r.progressive?{required:!!t.required,min:nJ(t.min),max:nJ(t.max),minLength:nJ(t.minLength),maxLength:nJ(t.maxLength),pattern:nJ(t.pattern)}:{},name:e,onChange:N,onBlur:N,ref:i=>{if(i){B(e,t),n=nt(o,e);let r=ne(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,l=nG(r),s=n._f.refs||[];(l?s.find(e=>e===r):r===n._f.ref)||(ny(o,e,{_f:{...n._f,...l?{refs:[...s.filter(nW),r,...Array.isArray(nt(a,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),T(e,!1,void 0,r))}else(n=nt(o,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(t9(u.array,e)&&s.action)&&u.unMount.add(e)}}},H=()=>r.shouldFocusError&&nE(o,e=>e&&nt(i.errors,e),u.mount),U=(e,t)=>async n=>{n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let a=t8(l);if(f.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await C();i.errors=e,a=t}else await S(o);nH(i.errors,"root"),ns(i.errors)?(f.state.next({errors:{}}),await e(a,n)):(t&&await t({...i.errors},n),H(),setTimeout(H)),f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ns(i.errors),submitCount:i.submitCount+1,errors:i.errors})},j=(n,r={})=>{let c=n||a,h=t8(c),m=n&&!ns(n)?h:a;if(r.keepDefaultValues||(a=c),!r.keepValues){if(r.keepDirtyValues||p)for(let e of u.mount)nt(i.dirtyFields,e)?ny(m,e,nt(l,e)):I(e,nt(m,e));else{if(t6&&ne(n))for(let e of u.mount){let t=nt(o,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(nA(e)){let t=e.closest("form");if(t){t.reset();break}}}}o={}}l=e.shouldUnregister?r.keepDefaultValues?t8(a):{}:t8(m),f.array.next({values:{...m}}),f.values.next({values:{...m}})}u={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount||t(),s.mount=!d.isValid||!!r.keepIsValid,s.watch=!!e.shouldUnregister,f.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:r.keepDirty?i.isDirty:!!(r.keepDefaultValues&&!nV(n,a)),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:r.keepDirtyValues?i.dirtyFields:r.keepDefaultValues&&n?nY(a,n):{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},V=(e,t)=>j(nS(e)?e(l):e,t);return{control:{register:B,unregister:F,getFieldState:D,handleSubmit:U,setError:M,_executeSchema:C,_getWatch:w,_getDirty:A,_updateV
35alid:v,_removeUnmounted:()=>{for(let e of u.unMount){let t=nt(o,e);t&&(t._f.refs?t._f.refs.every(e=>!nW(e)):!nW(t._f.ref))&&F(e)}u.unMount=new Set},_updateFieldArray:(e,t=[],n,r,u=!0,c=!0)=>{if(r&&n){if(s.action=!0,c&&Array.isArray(nt(o,e))){let t=n(nt(o,e),r.argA,r.argB);u&&ny(o,e,t)}if(c&&Array.isArray(nt(i.errors,e))){let t=n(nt(i.errors,e),r.argA,r.argB);u&&ny(i.errors,e,t),n5(i.errors,e)}if(d.touchedFields&&c&&Array.isArray(nt(i.touchedFields,e))){let t=n(nt(i.touchedFields,e),r.argA,r.argB);u&&ny(i.touchedFields,e,t)}d.dirtyFields&&(i.dirtyFields=nY(a,l)),f.state.next({name:e,isDirty:A(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else ny(l,e,t)},_getFieldArray:t=>t4(nt(s.mount?l:a,t,e.shouldUnregister?nt(a,t,[]):[])),_reset:j,_resetDefaultValues:()=>nS(r.defaultValues)&&r.defaultValues().then(e=>{V(e,r.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:e=>{i={...i,...e}},_subjects:f,_proxyFormState:d,get _fields(){return o},get _formValues(){return l},get _state(){return s},set _state(value){s=value},get _defaultValues(){return a},get _names(){return u},set _names(value){u=value},get _formState(){return i},set _formState(value){i=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:R,register:B,handleSubmit:U,watch:(e,t)=>nS(e)?f.values.subscribe({next:n=>e(w(void 0,t),n)}):w(e,t,!0),setValue:I,getValues:L,reset:V,resetField:(e,t={})=>{nt(o,e)&&(ne(t.defaultValue)?I(e,nt(a,e)):(I(e,t.defaultValue),ny(a,e,t.defaultValue)),t.keepTouched||nH(i.touchedFields,e),t.keepDirty||(nH(i.dirtyFields,e),i.isDirty=t.defaultValue?A(e,nt(a,e)):A()),!t.keepError&&(nH(i.errors,e),d.isValid&&v()),f.state.next({...i}))},clearErrors:e=>{e&&nc(e).forEach(e=>nH(i.errors,e)),f.state.next({errors:e?i.errors:{}})},unregister:F,setError:M,setFocus:(e,t={})=>{let n=nt(o,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:D}}(e,()=>i(e=>({...e}))),formState:r});let o=t.current.control;return o._options=e,nf({subject:o._subjects.state,next:e=>{nu(e,o._proxyFormState,o._updateFormState,!0)&&i({...o._formState})}}),v.useEffect(()=>{e.values&&!nV(e.values,n.current)?(o._reset(e.values,o._options.resetOptions),n.current=e.values):o._resetDefaultValues()},[e.values,o]),v.useEffect(()=>
35{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=nl(r,o),t.current}({values:{url:e,title:t}}),c=(0,y.$G)();return v.createElement("form",{onSubmit:e=>{a(n)(e),e.stopPropagation(),e.preventDefault()},onReset:e=>{e.stopPropagation(),r()},className:n6(n3.ZP.multiFieldForm,n3.ZP.linkDialogEditForm)},v.createElement("div",{className:n3.ZP.formField},v.createElement("label",{htmlFor:"link-url"},c("createLink.url","URL")),v.createElement(n9,{register:o,initialInputValue:e,inputName:"url",suggestions:i,setValue:s,control:l,placeholder:c("createLink.urlPlaceholder","Select or paste an URL"),autofocus:!0})),v.createElement("div",{className:n3.ZP.formField},v.createElement("label",{htmlFor:"link-title"},c("createLink.title","Title")),v.createElement("input",{id:"link-title",className:n3.ZP.textInput,size:40,...o("title")})),v.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},v.createElement("button",{type:"submit",title:c("createLink.saveTooltip","Set URL"),"aria-label":c("createLink.saveTooltip","Set URL"),className:n6(n3.ZP.primaryButton)},c("dialogControls.save","Save")),v.createElement("button",{type:"reset",title:c("createLink.cancelTooltip","Cancel change"),"aria-label":c("createLink.cancelTooltip","Cancel change"),className:n6(n3.ZP.secondaryButton)},c("dialogControls.cancel","Cancel"))))}(0,f.fAf)();let n4=()=>{let[e,t,n,r,i,o]=(0,d.Or)(y.rH,y.zY,y.wh,ri,rc,rd),a=(0,d.Np)(rr),l=(0,d.Np)(ro),s=(0,d.Np)(ra),u=(0,d.Np)(rl),c=(0,d.Np)(rs);v.useEffect(()=>{let e=()=>{null==t||t.getEditorState().read(()=>{a(!0)})};return window.addEventListener("resize",e),window.addEventListener("scroll",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[t,a]);let[f,p]=v.useState(!1),h=(0,y.$G)();if("inactive"===r.type)return null;let m=r.rectangle,g="preview"===r.type&&r.url.startsWith("http");return v.createElement(eJ,{open:!0},v.createElement(e0,{"data-visible":"edit"===r.type,className:n3.ZP.linkDialogAnchor,style:{to
35p:`${m.top}px`,left:`${m.left}px`,width:`${m.width}px`,height:`${m.height}px`}}),v.createElement(e9,{container:null==e?void 0:e.current},v.createElement(e6,{className:n6(n3.ZP.linkDialogPopoverContent),sideOffset:5,onOpenAutoFocus:e=>{e.preventDefault()},key:r.linkNodeKey},"edit"===r.type&&v.createElement(n8,{url:r.url,title:r.title,onSubmit:l,onCancel:s.bind(null),linkAutocompleteSuggestions:i}),"preview"===r.type&&v.createElement(v.Fragment,null,v.createElement("a",{className:n3.ZP.linkDialogPreviewAnchor,href:r.url,...g?{target:"_blank",rel:"noreferrer"}:{},onClick:e=>{null!==o&&(e.preventDefault(),o(r.url))},title:g?h("linkPreview.open","Open {{url}} in new window",{url:r.url}):r.url},v.createElement("span",null,r.url),g&&n("open_in_new")),v.createElement(re,{onClick:()=>{u()},title:h("linkPreview.edit","Edit link URL"),"aria-label":h("linkPreview.edit","Edit link URL")},n("edit")),v.createElement(to.zt,null,v.createElement(to.fC,{open:f},v.createElement(to.xz,{asChild:!0},v.createElement(re,{title:h("linkPreview.copyToClipboard","Copy to clipboard"),"aria-label":h("linkPreview.copyToClipboard","Copy to clipboard"),onClick:()=>{window.navigator.clipboard.writeText(r.url).then(()=>{p(!0),setTimeout(()=>{p(!1)},1e3)})}},n(f?"check":"content_copy"))),v.createElement(to.h_,{container:null==e?void 0:e.current},v.createElement(to.VY,{className:n6(n3.ZP.tooltipContent),sideOffset:5},h("linkPreview.copied","Copied!"),v.createElement(to.Eh,null))))),v.createElement(re,{title:h("linkPreview.remove","Remove link"),"aria-label":h("linkPreview.remove","Remove link"),onClick:()=>{c()}},n("link_off"))),v.createElement(tr,{className:n3.ZP.popoverArrow}))))},re=v.forwardRef(({className:e,...t},n)=>v.createElement("button",{className:n6(n3.ZP.actionButton,e),ref:n,...t}));var rt=n(97067);function rn(e){if(!e)return null;let t=function(e){try{let t=e.anchor,n=e.focus,r=e.anchor.getNode(),i=e.focus.getNode();if(r===i)return r;let o=e.isBackward();if(o)return(0,m.P4)(n)?r:i;return(0,m.P4)(t)?r:i}catch(e){return null}}(e);if(null===t)return null;let n=t.getParent();return(0,c.Pq)(n)?n:(0,c.Pq)(t)?t:null}let rr=(0,d.MZ)(),ri=(0,d.bL)({type:"inactive"},e=>{e.pub(y.xj,t=>t.registerCommand(f.ZqX,()=>{let t=e.getValue(ri);return"preview"===t.type&&(e.pub(ri,{type:"inactive"}),!0)},f.KB)),e.sub(e.pipe(y.G),t=>{"rich-text"!==t&&e.pub(ri,{type:"inactive"})}),e.pub(y.xj,t=>t.registerCommand(f.ybQ,t=>{if("k"===t.key&&(h.jB?t.metaKey:t.ctrlKey)&&!e.getValue(y.gY)){let n=(0,f.dL7)();if((0,f.OPZ)(n))return e.pub(ru),t.stopPropagation(),t.preventDefault(),!0}return!1},f.Eot)),e.link(e.pipe(rl,(0,d.Mm)(ri),(0,d.UI)(([,e])=>{if("preview"===e.type)return{type:"edit",initialUrl:e.url,url:e.url,title:e.title,linkNodeKey:e.linkNodeKey,rectangle:e.rectangle};throw Error("Cannot switch to edit mode when not in preview mode")})),ri),e.sub(e.pipe(ro,(0,d.Mm)(y.zY,ri,y.pb)),([t,n,r,i])=>{var o,a;let l=(null==(o=t.url)?void 0:o.trim())??"",s=(null==(a=t.title)?void 0:a.trim())??"";if(""!==l){if(null==i?void 0:i.isCollapsed()){let e=s||l;null==n||n.update(()=>{let t=rn(i);if(t)t.setURL(l),t.setTitle(s);else{let t=(0,c.zV)(l,{title:s});t.append((0,f.MXo)(e)),(0,f.odo)([t]),t.select()}},{discrete:!0})}else null==n||n.dispatchCommand(c.k0,{url:l,title:s});e.pub(ri,{type:"preview",linkNodeKey:r.linkNodeKey,rectangle:r.rectangle,title:s,url:l})}else"edit"===r.type&&""!==r.initialUrl&&(null==n||n.dispatchCommand(c.k0,null)),e.pub(ri,{type:"inactive"})}),e.link(e.pipe(ra,(0,d.Mm)(ri,y.zY),(0,d.UI)(([,e,t])=>{if("edit"===e.type)return(null==t||t.focus(),""===e.initialUrl)?{type:"inactive"}:{type:"preview",url:e.initialUrl,linkNodeKey:e.linkNodeKey,rectangle:e.rectangle};throw Error("Cannot cancel edit when not in edit mode")})),ri),e.link(e.pipe(e.combine(y.pb,rr),(0,d.Mm)(y.zY,ri,y.gY),(0,d.UI)(([[e],t,n,r])=>{if(!(0,f.OPZ)(e)||!t||r)return{type:"inactive"};{let n=rn(e);if(!n)return{type:"inactive"};{let e=g(t);return e?{type:"preview",url:n.getURL(),linkNodeKey:n.getKey(),title:n.getTitle(),rectangle:e}:{type:"inactive"}}}})),ri)}),ro=(0,d.MZ)(),ra=(0,d.aU)();(0,d.aU)();let rl=(0,d.aU)(),rs=(0,d.aU)(e=>{e.sub(e.pipe(rs,(0,d.Mm)(y.zY)),([,e])=>{null==e||e.dispatchCommand(c.k0,null)})}),ru=(0,d.aU)(e=>{e.sub(e.pipe(ru,(0,d.Mm)(y.pb,y.zY),(0,d.hX)(([,e])=>(0,f.OPZ)(e))),([,t,n])=>{null==n||n.focus(()=>{setTimeout(()=>{n.getEditorState().read(()=>{let r=rn(t),i=g(n);r?e.pub(ri,{type:"edit",initialUrl:r.getURL(),initialTitle:r.getTitle()??"",url:r.getURL(),title:r.getTitle()??"",linkNodeKey:r.getKey(),rectangle:i}):e.pub(ri,{type:"edit",initialUrl:"",initialTitle:"",title:"",url:"",linkNodeKey:"",rectangle:i})})})})})}),rc=(0,d.bL)([]),rd=(0,d.bL)(null),rf=(0,d.bL)(null,e=>{e.pub(y.xj,t=>{function n(n){let[r,i]=e.getValues([y.gY,rf]);r&&null!==i&&t.update(()=>{let e=(0,f.Xod)(n.target);if(null!==e){let t=(0,rt.$s)(e,e=>e instanceof c.GR);
35null!==t&&i(n,t,t.getURL())}})}return t.registerRootListener((e,t)=>{e&&e.addEventListener("click",n),t&&t.removeEventListener("click",n)})})}),rp=(0,p.n)({init(e,t){e.pub(y.X4,(null==t?void 0:t.LinkDialog)??n4),e.pub(rd,(null==t?void 0:t.onClickLinkCallback)??null),e.pub(rf,(null==t?void 0:t.onReadOnlyClickLinkCallback)??null)},update(e,t={}){e.pub(rc,t.linkAutocompleteSuggestions??[])}})},33405:function(e,t,n){"use strict";n.d(t,{a:function(){return A}});var r=n(2265),i=n(49294);let o={testNode:"link",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,i.zV)(e.url,{title:e.title}))}},a={testLexicalNode:i.Pq,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("link",{url:e.getURL(),title:e.getTitle()})}};var l=n(8553),s=n(97067),u=n(73324);function c({validateUrl:e,attributes:t}){let[n]=(0,l.g)();return(0,r.useEffect)(()=>{if(!n.hasNodes([i.GR]))throw Error("LinkPlugin: LinkNode not registered on editor");return(0,s.qV)(n.registerCommand(i.k0,n=>{if(null===n)return(0,i.Rf)(n),!0;if("string"==typeof n)return!(void 0!==e&&!e(n))&&((0,i.Rf)(n,t),!0);{let{url:e,target:r,rel:o,title:a}=n;return(0,i.Rf)(e,{...t,rel:o,target:r,title:a}),!0}},u.KB),void 0!==e?n.registerCommand(u.A1,r=>{let o=(0,u.dL7)();if(!(0,u.OPZ)(o)||o.isCollapsed()||!(0,s.nh)(r,ClipboardEvent)||null===r.clipboardData)return!1;let a=r.clipboardData.getData("text");return!!e(a)&&!o.getNodes().some(e=>(0,u.F7b)(e))&&(n.dispatchCommand(i.k0,{...t,url:a}),r.preventDefault(),!0)},u.KB):()=>{})},[n,e,t]),null}function d(e,t=e=>e){return n=>{let r=e.exec(n);return null===r?null:{index:r.index,length:r[0].length,text:r[0],url:t(r[0])}}}function f(e,t){for(let n=0;n<t.length;n++){let r=t[n](e);if(r)return r}return null}let p=/[.,;\s]/;function h(e){return p.test(e)}function m(e){return h(e[e.length-1])}function g(e){let t=e.getPreviousSibling();return(0,u.F7b)(t)&&(t=t.getLastDescendant()),null===t||(0,u.A3A)(t)||(0,u.Gg4)(t)&&m(t.getTextContent())}function y(e){let t=e.getNextSibling();return(0,u.F7b)(t)&&(t=t.getFirstDescendant()),null===t||(0,u.A3A)(t)||(0,u.Gg4)(t)&&h(t.getTextContent()[0])}function v(e,t,n){let r=e.getChildren(),i=r.length;for(let t=0;t<i;t++){let i=r[t];if(!(0,u.Gg4)(i)||!i.isSimpleText())return b(e),void n(null,e.getURL())}let o=e.getTextContent(),a=f(o,t);if(null===a||a.text!==o||!g(e)||!y(e))return b(e),void n(null,e.getURL());let l=e.getURL();if(l!==a.url&&(e.setURL(a.url),n(a.url,l)),a.attributes){let t=e.getRel();t!==a.attributes.rel&&(e.setRel(a.attributes.rel||null),n(a.attributes.rel||null,t));let r=e.getTarget();r!==a.attributes.target&&(e.setTarget(a.attributes.target||null),n(a.attributes.target||null,r))}}function b(e){let t=e.getChildren();for(let n=t.length-1;n>=0;n--)e.insertAfter(t[n]);return e.remove(),t.map(e=>e.getLatest())}function E({matchers:e,onChange:t}){let[n]=(0,l.g)();return(0,r.useEffect)(()=>{n.hasNodes([i.qp])||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(77);let r=(e,n)=>{t&&t(e,n)};return(0,s.qV)(n.registerNodeTransform(u.R2r,t=>{let n=t.getParentOrThrow(),o=t.getPreviousSibling();if((0,i.Xp)(n)&&!n.getIsUnlinked())v(n,e,r);else if(!(0,i.Pq)(n)){if(t.isSimpleText()&&(h(t.getTextContent()[0])||!(0,i.Xp)(o))){let n=function(e){let t=[e],n=e.getNextSibling();for(;null!==n&&(0,u.Gg4)(n)&&n.isSimpleText()&&(t.push(n),!/[\s]/.test(n.getTextContent()));)n=n.getNextSibling();return t}(t);!function(e,t,n){let r=[...e],o=r.map(e=>e.getTextContent()).join(""),a,l=o,s=0;for(;(a=f(l,t))&&null!==a;){var c,d,p;let e=a.index,t=e+a.length;if(c=s+e,d=s+t,p=r,(c>0?!!h(o[c-1]):!!g(p[0]))&&(d<o.length?h(o[d]):y(p[p.length-1]))){let[o,,l,c]=function(e,t,n){let r=[],i=[],o=[],a=0,l=0,s=[...e];for(;s.length>0;){let e=s[0],u=e.getTextContent().length,c=l;l+u<=t?(r.push(e),a+=u):c>=n?o.push(e):i.push(e),l+=u,s.shift()}return[a,r,i,o]}(r,s+e,s+t),d=function(e,t,n,r){let o=(0,i.Ol)(r.url,r.attributes);if(1===e.length){let i,a=e[0];0===t?[i,a]=a.splitText(n):[,i,a]=a.splitText(t,n);let l=(0,u.MXo)(r.text);return l.setFormat(i.getFormat()),l.setDetail(i.getDetail()),l.setStyle(i.getStyle()),o.append(l),i.replace(o),a}if(e.length>1){let r;let i=e[0],a,l=i.getTextContent().length;0===t?a=i:[,a]=i.splitText(t);let s=[];for(let t=1;t<e.length;t++){let i=e[t],o=i.getTextContent().length,a=l;if(a<n){if(l+o<=n)s.push(i);else{let[e,t]=i.splitText(n-a);s.push(e),r=t}}l+=o}let c=(0,u.dL7)(),d=c?c.getNodes().find(u.Gg4):void 0,f=(0,u.MXo)(a.getTextContent());return f.setFormat(a.getFormat()),f.setDetail(a.getDetail()),f.setStyle(a.getStyle()),o.append(f,...s),d&&d===a&&((0,u.OPZ)(c)?f.select(c.anchor.offset,c.focus.offset):(0,u.iOo)(c)&&f.select(0,f.getTextContent().length)),a.replace(o),r}}(l,s+e-o,s+t-o,a);r=d?[d,...c]:c,n(a.url,null),s=0}else s+=t;l=l.substring(t)}}(n,e,r)}!function(e,t,n){let r=e.getPreviousSibling(),o=e.getNextSibling(),a=e.getTextContent();!(0,i.Xp)(r)||r.getIsUnlinked()||h(a[0])&&!(r.isEmailURI()?/^\.[a-zA-Z]{2,}/.test(a):/^\.[a-zA-Z0-9]{1,}/.test(a))||(r.append(e),v(r,t,n),n(null,r.getURL())),!(0,i.Xp)(o)||o.getIsUnlinked()||m(a)||(b(o),v(o,t,n),n(null,o.getURL()))}(t,e,r)}}),n.registerCommand(i.k0,e=>{let t=(0,u.dL7)();
35return!!(null===e&&(0,u.OPZ)(t))&&(t.extract().forEach(e=>{let t=e.getParent();if((0,i.Xp)(t))return t.setIsUnlinked(!t.getIsUnlinked()),t.markDirty(),!0}),!1)},u.KB))},[n,e,t]),null}let T=[d(/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,e=>e.startsWith("http")?e:`https://${e}`),d(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,e=>`mailto:${e}`)],_=()=>r.createElement(E,{matchers:T});var x=n(95393),C=n(36903),k=n(75178);let S=(0,x.bL)(!1),A=(0,C.n)({init(e,t){let n=!!(null==t?void 0:t.disableAutoLink),l=(null==t?void 0:t.validateUrl)?{validateUrl:t.validateUrl}:{};e.pubIn({[k._g]:"link",[k.ON]:o,[k.QB]:[i.GR,i.qp],[k.aB]:a,[S]:n,[k.X4]:()=>r.createElement(r.Fragment,null,r.createElement(c,{...l}),n?null:r.createElement(_,null))})}})},12989:function(e,t,n){"use strict";n.d(t,{O:function(){return eX}});var r=n(73324),i=n(97067);function o(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function a(e){return g(e)&&x(e.getFirstChild())}function l(e){return m().append(e)}function s(e,t){e.splice(e.getChildrenSize(),0,t)}function u(e,t){let n=e.getLastChild(),r=t.getFirstChild();n&&r&&a(n)&&a(r)&&(u(n.getFirstChild(),r.getFirstChild()),r.remove());let i=t.getChildren();i.length>0&&e.append(...i),t.remove()}function c(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}class d extends r.HX${static getType(){return"listitem"}static clone(e){return new d(e.__value,e.__checked,e.__key)}constructor(e,t,n){super(n),this.__value=void 0===e?1:e,this.__checked=t}createDOM(e){let t=document.createElement("li"),n=this.getParent();x(n)&&"check"===n.getListType()&&p(t,this,null),t.value=this.__value,f(t,e.theme,this);let r=this.__style||this.__textStyle;return r&&(t.style.cssText=r),t}updateDOM(e,t,n){let r=this.getParent();x(r)&&"check"===r.getListType()&&p(t,this,e),t.value=this.__value,f(t,n.theme,this);let i=e.__style||e.__textStyle,o=this.__style||this.__textStyle;return i!==o&&(t.style.cssText=o,""===o&&t.removeAttribute("style")),!1}static transform(){return e=>
35{if(g(e)||o(144),null==e.__checked)return;let t=e.getParent();x(t)&&"check"!==t.getListType()&&null!=e.getChecked()&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:h,priority:0})}}static importJSON(e){return m().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked)}exportDOM(e){let t=this.createDOM(e._config);t.style.textAlign=this.getFormatType();let n=this.getDirection();return n&&(t.dir=n),{element:t}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),value:this.getValue()}}append(...e){for(let t=0;t<e.length;t++){let n=e[t];if((0,r.F7b)(n)&&this.canMergeWith(n)){let e=n.getChildren();this.append(...e),n.remove()}else super.append(n)}return this}replace(e,t){if(g(e))return super.replace(e);this.setIndent(0);let n=this.getParentOrThrow();if(!x(n))return e;if(n.__first===this.getKey())n.insertBefore(e);else if(n.__last===this.getKey())n.insertAfter(e);else{let t=_(n.getListType()),r=this.getNextSibling();for(;r;){let e=r;r=r.getNextSibling(),t.append(e)}n.insertAfter(e),e.insertAfter(t)}
35return t&&((0,r.F7b)(e)||o(139),this.getChildren().forEach(t=>{e.append(t)})),this.remove(),0===n.getChildrenSize()&&n.remove(),e}insertAfter(e,t=!0){let n=this.getParentOrThrow();if(x(n)||o(39),g(e))return super.insertAfter(e,t);let r=this.getNextSiblings();if(n.insertAfter(e,t),0!==r.length){let i=_(n.getListType());r.forEach(e=>i.append(e)),e.insertAfter(i,t)}return e}remove(e){let t=this.getPreviousSibling(),n=this.getNextSibling();super.remove(e),t&&n&&a(t)&&a(n)&&(u(t.getFirstChild(),n.getFirstChild()),n.remove())}insertNewAfter(e,t=!0){let n=m().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked()&&void 0);return this.insertAfter(n,t),n}collapseAtStart(e){let t=(0,r.BEw)();this.getChildren().forEach(e=>t.append(e));let n=this.getParentOrThrow(),i=n.getParentOrThrow(),o=g(i);if(1===n.getChildrenSize()){if(o)n.remove(),i.select();else{n.insertBefore(t),n.remove();let r=e.anchor,i=e.focus,o=t.getKey();"element"===r.type&&r.getNode().is(this)&&r.set(o,r.offset,"element"),"element"===i.type&&i.getNode().is(this)&&i.set(o,i.offset,"element")}}else n.insertBefore(t),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){let t=this.getWritable();return t.__value=e,t}getChecked(){let e;let t=this.getLatest(),n=this.getParent();return x(n)&&(e=n.getListType()),"check"===e?!!t.__checked:void 0}setChecked(e){let t=this.getWritable();return t.__checked=e,t}toggleChecked(){let e=this.getWritable();return e.setChecked(!e.__checked)}getIndent(){let e=this.getParent();if(null===e||!this.isAttached())return this.getLatest().__indent;let t=e.getParentOrThrow(),n=0;for(;g(t);)t=t.getParentOrThrow().getParentOrThrow(),n++;return n}setIndent(e){"number"!=typeof e&&o(117),(e=Math.floor(e))>=0||o(199);let t=this.getIndent();for(;t!==e;)t<e?(function(e){let t=new Set;if(a(e)||t.has(e.getKey()))return;let n=e.getParent(),r=e.getNextSibling(),i=e.getPreviousSibling();if(a(r)&&a(i)){let n=i.getFirstChild();if(x(n)){n.append(e);let i=r.getFirstChild();x(i)&&(s(n,i.getChildren()),r.remove(),t.add(r.getKey()))}}else if(a(r)){let t=r.getFirstChild();if(x(t)){let n=t.getFirstChild();null!==n&&n.insertBefore(e)}}else if(a(i)){let t=i.getFirstChild();x(t)&&t.append(e)}else if(x(n)){let t=m().setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle()),o=_(n.getListType()).setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle());t.append(o),o.append(e),i?i.insertAfter(t):r?r.insertBefore(t):n.append(t)}}(this),t++):(function(e){if(a(e))return;let t=e.getParent(),n=t?t.getParent():void 0;if(x(n?n.getParent():void 0)&&g(n)&&x(t)){let r=t?t.getFirstChild():void 0,i=t?t.getLastChild():void 0;if(e.is(r))n.insertBefore(e),t.isEmpty()&&n.remove();else if(e.is(i))n.insertAfter(e),t.isEmpty()&&n.remove();else{let r=t.getListType(),i=m(),o=_(r);
35i.append(o),e.getPreviousSiblings().forEach(e=>o.append(e));let a=m(),l=_(r);a.append(l),s(l,e.getNextSiblings()),n.insertBefore(i),n.insertAfter(a),n.replace(e)}}}(this),t--);return this}canInsertAfter(e){return g(e)}canReplaceWith(e){return g(e)}canMergeWith(e){return g(e)||(0,r.Rlh)(e)}extractWithChild(e,t){if(!(0,r.OPZ)(t))return!1;let n=t.anchor.getNode(),i=t.focus.getNode();return this.isParentOf(n)&&this.isParentOf(i)&&this.getTextContent().length===t.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return _("bullet")}canMergeWhenEmpty(){return!0}}function f(e,t,n){let r;let o=[],a=[],l=t.list,s=l?l.listitem:void 0;if(l&&l.nested&&(r=l.nested.listitem),void 0!==s&&o.push(...c(s)),l){let e=n.getParent(),t=x(e)&&"check"===e.getListType(),r=n.getChecked();t&&!r||a.push(l.listitemUnchecked),t&&r||a.push(l.listitemChecked),t&&o.push(r?l.listitemChecked:l.listitemUnchecked)}if(void 0!==r){let e=c(r);n.getChildren().some(e=>x(e))?o.push(...e):a.push(...e)}a.length>0&&(0,i.PS)(e,...a),o.length>0&&(0,i.Yo)(e,...o)}function p(e,t,n,r){x(t.getFirstChild())?(e.removeAttribute("role"),e.removeAttribute("tabIndex"),e.removeAttribute("aria-checked")):(e.setAttribute("role","checkbox"),e.setAttribute("tabIndex","-1"),n&&t.__checked===n.__checked||e.setAttribute("aria-checked",t.getChecked()?"true":"false"))}function h(e){if(e.classList.contains("task-list-item")){for(let t of e.children)if("INPUT"===t.tagName)return"checkbox"!==t.getAttribute("type")?{node:null}:{node:m(t.hasAttribute("checked"))}}let t=e.getAttribute("aria-checked");return{node:m("true"===t||"false"!==t&&void 0)}}function m(e){return(0,r.U2B)(new d(void 0,e))}function g(e){return e instanceof d}class y extends r.HX${static getType(){return"list"}static clone(e){let t=e.__listType||T[e.__tag];return new y(t,e.__start,e.__key)}constructor(e="number",t=1,n){super(n);let r=T[e]||e;this.__listType=r,this.__tag="number"===r?"ol":"ul",this.__start=t}getTag(){return this.__tag}setListType(e){let t=this.getWritable();return t.__listType=e,t.__tag="number"===e?"ol":"ul",t}getListType(){return this.__listType}getStart(){return this.__start}setStart(e){let t=this.getWritable();return t.__start=e,t}createDOM(e,t){let n=this.__tag,r=document.createElement(n);return 1!==this.__start&&r.setAttribute("start",String(this.__start)),r.__lexicalListType=this.__listType,v(r,e.theme,this),r}updateDOM(e,t,n){return e.__tag!==this.__tag||(v(t,n.theme,this),!1)}static transform(){return e=>{x(e)||o(163),function(e){let t=e.getNextSibling();x(t)&&e.getListType()===t.getListType()&&u(e,t)}(e),function(e){let t="check"!==e.getListType(),n=e.getStart();for(let r of e.getChildren())g(r)&&(r.getValue()!==n&&r.setValue(n),t&&null!=r.getLatest().__checked&&r.setChecked(void 0),x(r.getFirstChild())||n++)}(e)}}static importDOM(){return{ol:()=>({conversion:E,priority:0}),ul:()=>({conversion:E,priority:0})}}static importJSON(e){return _().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setListType(e.listType).setStart(e.start)}exportDOM(e){let t=this.createDOM(e._config,e);return(0,r.Ret)(t)&&(1!==this.__start&&t.setAttribute("start",String(this.__start)),"check"===this.__listType&&t.setAttribute("__lexicalListType","check")),{element:t}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag()}}canBeEmpty(){return!1}canIndent(){return!1}append(...e){for(let t=0;t<e.length;t++){let n=e[t];if(g(n))super.append(n);else{let e=m();if(x(n))e.append(n);else if((0,r.F7b)(n)){if(n.isInline())e.append(n);else{let t=(0,r.MXo)(n.getTextContent());e.append(t)}}else e.append(n);super.append(e)}}return this}extractWithChild(e){return g(e)}}function v(e,t,n){let r=[],a=[],l=t.list;if(void 0!==l){let e;let t=l[`${n.__tag}Depth`]||[],i=function(e){let t=1,n=e.getParent();for(;null!=n;){if(g(n)){let e=n.getParent();if(x(e)){t++,n=e.getParent();continue}o(40)}break}return t}(n)-1,s=i%t.length,u=t[s],d=l[n.__tag],f=l.nested,p=l.checklist;if(void 0!==f&&f.list&&(e=f.list),void 0!==d&&r.push(d),void 0!==p&&"check"===n.__listType&&r.push(p),void 0!==u){r.push(...c(u));for(let e=0;e<t.length;e++)e!==s&&a.push(n.__tag+e)}if(void 0!==e){let t=c(e);i>1?r.push(...t):a.push(...t)}}a.length>0&&(0,i.PS)(e,...a),r.length>0&&(0,i.Yo)(e,...r)}function b(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(g(r)){t.push(r);let e=r.getChildren();e.length>
351&&e.forEach(e=>{x(e)&&t.push(l(e))})}else t.push(l(r))}return t}function E(e){let t=e.nodeName.toLowerCase(),n=null;return"ol"===t?n=_("number",e.start):"ul"===t&&(n=!function(e){if("check"===e.getAttribute("__lexicallisttype")||e.classList.contains("contains-task-list"))return!0;for(let t of e.childNodes)if((0,r.Ret)(t)&&t.hasAttribute("aria-checked"))return!0;return!1}(e)?_("bullet"):_("check")),{after:b,node:n}}let T={ol:"number",ul:"bullet"};function _(e="number",t=1){return(0,r.U2B)(new y(e,t))}function x(e){return e instanceof y}(0,r.fAf)("INSERT_UNORDERED_LIST_COMMAND"),(0,r.fAf)("INSERT_ORDERED_LIST_COMMAND"),(0,r.fAf)("INSERT_CHECK_LIST_COMMAND"),(0,r.fAf)("REMOVE_LIST_COMMAND");var C=n(5266);n(2686),n(95237),n(23800),n(65513),n(12832),n(64842),n(38728),n(7585),n(13181),n(95553),n(12010),n(4716),n(62957),n(89094),n(79292),n(46792);let k=globalThis.Prism||window.Prism,S=e=>{try{return!!e&&k.languages.hasOwnProperty(e)}catch(e){return!1}},A="data-language",w="data-highlight-language";class O extends r.HX${static getType(){return"code"}static clone(e){return new O(e.__language,e.__key)}constructor(e,t){super(t),this.__language=e||void 0,this.__isSyntaxHighlightSupported=S(e)}createDOM(e){let t=document.createElement("code");(0,i.Yo)(t,e.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();return n&&(t.setAttribute(A,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(w,n)),t}updateDOM(e,t,n){let r=this.__language,i=e.__language;return r?r!==i&&(t.setAttribute(A,r),this.__isSyntaxHighlightSupported&&t.setAttribute(w,r)):i&&(t.removeAttribute(A),e.__isSyntaxHighlightSupported&&t.removeAttribute(w)),!1}exportDOM(e){let t=document.createElement("pre");(0,i.Yo)(t,e._config.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();return n&&(t.setAttribute(A,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(w,n)),{element:t}}static importDOM(){return{code:e=>null!=e.textContent&&(/\r?\n/.test(e.textContent)||function e(t,n){for(let i of t.childNodes){if((0,r.Ret)(i)&&i.tagName===n)return!0;e(i,n)}return!1}(e,"BR"))?{conversion:N,priority:1}:null,div:()=>({conversion:R,priority:1}),pre:()=>({conversion:N,priority:0}),table:e=>F(e)?{conversion:L,priority:3}:null,td:e=>{let t=e.closest("table");return e.classList.contains("js-file-line")||t&&F(t)?{conversion:D,priority:3}:null},tr:e=>{let t=e.closest("table");return t&&F(t)?{conversion:D,priority:3}:null}}}static importJSON(e){return P().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setLanguage(e.language)}exportJSON(){return{...super.exportJSON(),language:this.getLanguage()}}insertNewAfter(e,t=!0){let n=this.getChildren(),o=n.length;if(o>=2&&"\n"===n[o-1].getTextContent()&&"\n"===n[o-2].getTextContent()&&e.isCollapsed()&&e.anchor.key===this.__key&&e.anchor.offset===o){n[o-1].remove(),n[o-2].remove();let e=(0,r.BEw)();return this.insertAfter(e,t),e}let{anchor:a,focus:l}=e,s=(a.isBefore(l)?a:l).getNode();if((0,r.Gg4)(s)){let e=function(e,t){let n=e;for(let o=(0,r.UW)(e,t);o&&(j(o.origin)||(0,r.rcC)(o.origin));o=(0,i.ne)(o))n=o.origin;return n}(s,"previous"),t=[];for(;;)if((0,r.rcC)(e))t.push((0,r.S3L)()),e=e.getNextSibling();else{if(!j(e))break;{let n=0,r=e.getTextContent(),i=e.getTextContentSize();for(;n<i&&" "===r[n];)n++;if(0!==n&&t.push(U(" ".repeat(n))),n!==i)break;e=e.getNextSibling()}}let n=s.splitText(a.offset)[0],o=0===a.offset?0:1,l=n.getIndexWithinParent()+o,u=s.getParentOrThrow(),c=[(0,r.Tav)(),...t];u.splice(l,0,c);let d=t[t.length-1];d?d.select():0===a.offset?n.selectPrevious():n.getNextSibling().selectNext(0,0)}if(I(s)){let{offset:t}=e.anchor;s.splice(t,0,[(0,r.Tav)()]),s.select(t+1,t+1)}return null}canIndent(){return!1}collapseAtStart(){let e=(0,r.BEw)();
35return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}setLanguage(e){let t=this.getWritable();return t.__language=e||void 0,t.__isSyntaxHighlightSupported=S(e),t}getLanguage(){return this.getLatest().__language}getIsSyntaxHighlightSupported(){return this.getLatest().__isSyntaxHighlightSupported}}function P(e){return(0,r.U2B)(new O(e))}function I(e){return e instanceof O}function N(e){return{node:P(e.getAttribute(A))}}function R(e){let t=M(e);return t||function(e){let t=e.parentElement;for(;null!==t;){if(M(t))return!0;t=t.parentElement}return!1}(e)?{node:t?P():null}:{node:null}}function L(){return{node:P()}}function D(){return{node:null}}function M(e){return null!==e.style.fontFamily.match("monospace")}function F(e){return e.classList.contains("js-file-line-container")}class B extends r.R2r{constructor(e="",t,n){super(e,n),this.__highlightType=t}static getType(){return"code-highlight"}static clone(e){return new B(e.__text,e.__highlightType||void 0,e.__key)}getHighlightType(){return this.getLatest().__highlightType}setHighlightType(e){let t=this.getWritable();return t.__highlightType=e||void 0,t}canHaveFormat(){return!1}createDOM(e){let t=super.createDOM(e),n=H(e.theme,this.__highlightType);return(0,i.Yo)(t,n),t}updateDOM(e,t,n){let r=super.updateDOM(e,t,n),o=H(n.theme,e.__highlightType),a=H(n.theme,this.__highlightType);return o!==a&&(o&&(0,i.PS)(t,o),a&&(0,i.Yo)(t,a)),r}static importJSON(e){return U().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setHighlightType(e.highlightType)}exportJSON(){return{...super.exportJSON(),highlightType:this.getHighlightType()}}setFormat(e){return this}isParentRequired(){return!0}createParentElementNode(){return P()}}function H(e,t){return t&&e&&e.codeHighlight&&e.codeHighlight[t]}function U(e="",t){return(0,r.U2B)(new B(e,t))}function j(e){return e instanceof B}var V=n(49294);function z(e,t){let n={};for(let r of e){let e=t(r);e&&(n[e]?n[e].push(r):n[e]=[r])}return n}let G=/[!-/:-@[-`{-~\s]/,W="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,$=W&&"documentMode"in document?document.documentMode:null;function Z(e,t,n){let r=n.length;for(let i=t;i>=r;i--){let t=i-r;if(Y(e,t,n,0,r)&&" "!==e[t+r])return t}return -1}function Y(e,t,n,r,i){for(let o=0;o<i;o++)if(e[t+o]!==n[r+o])return!1;return!0}W&&"InputEvent"in window&&!$&&new window.InputEvent("input"),W&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),W&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,W&&/^(?=.*Chrome).*/i.test(navigator.userAgent),W&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent);let q=e=>(t,n,r)=>{let i=e(r);i.append(...n),t.replace(i),i.select(0,0)},K=e=>(t,n,r)=>{let i=t.getPreviousSibling(),o=t.getNextSibling(),a=m("check"===e?"x"===r[3]:void 0);if(x(o)&&o.getListType()===e){let e=o.getFirstChild();null!==e?e.insertBefore(a):o.append(a),t.remove()}else if(x(i)&&i.getListType()===e)i.append(a),t.remove();else{let n=_(e,"number"===e?Number(r[2]):void 0);n.append(a),t.replace(n)}a.append(...n),a.select(0,0);let l=function(e){let t=e.match(/\t/g),n=e.match(/ /g),r=0;return t&&(r+=t.length),n&&(r+=Math.floor(n.length/4)),r}(r[1]);l&&a.setIndent(l)},X=(e,t,n)=>{let r=[],i=e.getChildren(),o=0;for(let a of i)if(g(a)){if(1===a.getChildrenSize()){let e=a.getFirstChild();if(x(e)){r.push(X(e,t,n+1));continue}}let i=" ".repeat(4*n),l=e.getListType(),s="number"===l?`${e.getStart()+o}. `:"check"===l?`- [${a.getChecked()?"x":" "}] `:"- ";r.push(i+s+t(a)),o++}return r.join("\n")},J={dependencies:[C.c2],export:(e,t)=>{if(!(0,C.rc)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:/^(#{1,6})\s/,replace:q(e=>{let t="h"+e[1].length;return(0,C.V1)(t)}),type:"element"},Q={dependencies:[C.rT],export:(e,t)=>{if(!(0,C.O)(e))return null;let n=t(e).split("\n"),r=[];for(let e of n)r.push("> "+e);return r.join("\n")},regExp:/^>\s/,replace:(e,t,n,i)=>{if(i){let n=e.getPreviousSibling();if((0,C.O)(n))return n.splice(n.getChildrenSize(),0,[(0,r.Tav)(),...t]),n.select(0,0),void e.remove()}let o=(0,C.Z1)();o.append(...t),e.replace(o),o.select(0,0)},type:"element"},ee={dependencies:[O],export:e=>{if(!I(e))return null;let t=e.getTextContent();return"```"+(e.getLanguage()||"")+(t?"\n"+t:"")+"\n```"},regExpEnd:{optional:!0,regExp:/[ \t]*```$/},regExpStart:/^[ \t]*```(\w+)?/,replace:(e,t,n,i,o,a)=>{let l,s;if(!t&&o){if(1===o.length)i?(l=P(),s=n[1]+o[0]):(l=P(n[1]),s=o[0].startsWith(" ")?o[0].slice(1):o[0]);else{if(l=P(n[1]),0===o[0].trim().length)for(;o.length>0&&!o[0].length;)o.shift();else o[0]=o[0].startsWith(" ")?o[0].slice(1):o[0];for(;o.length>0&&!o[o.length-1].length;)o.pop();s=o.join("\n")}let t=(0,r.MXo)(s);l.append(t),e.append(l)}else t&&q(e=>P(e?e[1]:void 0))(e,t,n,a)},type:"multiline-element"},et={dependencies:[y,d],export:(e,t)=>x(e)?X(e,t,0):null,regExp:/^(\s*)[-*+]\s/,replace:K("bullet"),type:"element"}
35,en={dependencies:[y,d],export:(e,t)=>x(e)?X(e,t,0):null,regExp:/^(\s*)(?:-\s)?\s?(\[(\s|x)?\])\s/i,replace:K("check"),type:"element"},er={dependencies:[y,d],export:(e,t)=>x(e)?X(e,t,0):null,regExp:/^(\s*)(\d{1,})\.\s/,replace:K("number"),type:"element"},ei={format:["code"],tag:"`",type:"text-format"},eo={format:["bold","italic"],tag:"***",type:"text-format"},ea={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},el={format:["bold"],tag:"**",type:"text-format"},es={format:["bold"],intraword:!1,tag:"__",type:"text-format"},eu={format:["italic"],tag:"*",type:"text-format"},ec={format:["italic"],intraword:!1,tag:"_",type:"text-format"},ed={dependencies:[V.GR],export:(e,t,n)=>{if(!(0,V.Pq)(e))return null;let r=e.getTitle(),i=t(e);return r?`[${i}](${e.getURL()} "${r}")`:`[${i}](${e.getURL()})`},importRegExp:/(?:\[([^[]+)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))/,regExp:/(?:\[([^[]+)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))$/,replace:(e,t)=>{let[,n,i,o]=t,a=(0,V.zV)(i,{title:o}),l=(0,r.MXo)(n);return l.setFormat(e.getFormat()),a.append(l),e.replace(a),l},trigger:")",type:"text-match"},ef=[J,Q,et,er],ep=[ee],eh=[ed],em=[...ef,...ep,ei,eo,ea,el,es,{format:["highlight"],tag:"==",type:"text-format"},eu,ec,{format:["strikethrough"],tag:"~~",type:"text-format"},...eh];var eg=n(8553),ey=n(2265);function ev(e,t){return e.getEditorState().read(()=>{let e=(0,r.gID)(t);return null!==e&&e.isSelected()})}var eb=n(57437);function eE({nodeKey:e}){let[t]=(0,eg.g)(),[n,o,a]=function(e){let[t]=(0,eg.g)(),[n,i]=(0,ey.useState)(()=>ev(t,e));return(0,ey.useEffect)(()=>{let n=!0,r=t.registerUpdateListener(()=>{n&&i(ev(t,e))});return()=>{n=!1,r()}},[t,e]),[n,(0,ey.useCallback)(n=>{t.update(()=>{let t=(0,r.dL7)();(0,r.iOo)(t)||(t=(0,r.h5h)(),(0,r.oqs)(t)),(0,r.iOo)(t)&&(n?t.add(e):t.delete(e))})},[t,e]),(0,ey.useCallback)(()=>{t.update(()=>{let e=(0,r.dL7)();(0,r.iOo)(e)&&e.clear()})},[t])]}(e),l=(0,ey.useCallback)(e=>{let t=(0,r.dL7)();return n&&(0,r.iOo)(t)&&(e.preventDefault(),t.getNodes().forEach(e=>{eC(e)&&e.remove()})),!1},[n]);return(0,ey.useEffect)(()=>(0,i.qV)(t.registerCommand(r.Kr$,r=>{let i=t.getElementByKey(e);return r.target===i&&(r.shiftKey||a(),o(!n),!0)},r.KB),t.registerCommand(r.MKI,l,r.KB),t.registerCommand(r.aRb,l,r.KB)),[a,t,n,e,l,o]),(0,ey.useEffect)(()=>{let r=t.getElementByKey(e),o=t._config.theme.hrSelected??"selected";null!==r&&(n?(0,i.Yo)(r,o):(0,i.PS)(r,o))},[t,n,e]),null}(0,r.fAf)("INSERT_HORIZONTAL_RULE_COMMAND");class eT extends r.Ijf{static getType(){return"horizontalrule"}static clone(e){return new eT(e.__key)}static importJSON(e){return ex().updateFromJSON(e)}static importDOM(){return{hr:()=>({conversion:e_,priority:0})}}exportDOM(){return{element:document.createElement("hr")}}createDOM(e){let t=document.createElement("hr");return(0,i.Yo)(t,e.theme.hr),t}getTextContent(){return"\n"}isInline(){return!1}updateDOM(){return!1}decorate(){return(0,eb.jsx)(eE,{nodeKey:this.__key})}}function e_(){return{node:ex()}}function ex(){return(0,r.U2B)(new eT)}function eC(e){return e instanceof eT}let ek=[{dependencies:[eT],export:e=>eC(e)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=ex();r||null!=e.getNextSibling()?e.replace(i):e.insertBefore(i),i.selectNext()},type:"element"},...em];function eS({transformers:e=ek}){let[t]=(0,eg.g)();return(0,ey.useEffect)(()=>(function(e,t=em){let n=function(e){let t=z(e,e=>e.type);return{element:t.element||[],multilineElement:t["multiline-element"]||[],textFormat:t["text-format"]||[],textMatch:t["text-match"]||[]}}(t),i=z(n.textFormat,({tag:e})=>e[e.length-1]),o=z(n.textMatch,({trigger:e})=>e);for(let n of t){let t=n.type;if("element"===t||"text-match"===t||"multiline-element"===t){let t=n.dependencies;for(let n of t)e.hasNode(n)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(173,n.getType())}}let a=(e,t,a)=>{(function(e,t,n,i){let o=e.getParent();if(!(0,r._vQ)(o)||e.getFirstChild()!==t)return!1;let a=t.getTextContent();if(" "!==a[n-1])return!1;for(let{regExp:r,replace:o}of i){let i=a.match(r);if(i&&i[0].length===(i[0].endsWith(" ")?n:n-1)){let r=t.getNextSiblings(),[a,l]=t.splitText(n);if(a.remove(),!1!==o(e,l?[l,...r]:r,i,!1))return!0}}return!1})(e,t,a,n.element)||function(e,t,n,i){let o=e.getParent();if(!(0,r._vQ)(o)||e.getFirstChild()!==t)return!1;let a=t.getTextContent();if(" "!==a[n-1])return!1;for(let{regExpStart:r,replace:o,regExpEnd:l}of i){if(l&&!("optional"in l)||l&&"optional"in l&&!l.optional)continue;let i=a.match(r);if(i&&i[0].length===(i[0].endsWith(" ")?n:n-1)){let r=t.getNextSiblings(),[a,l]=t.splitText(n);if(a.remove(),!1!==o(e,l?[l,...r]:r,i,null,null,!1))return!0}}return!1}(e,t,a,n.multilineElement)||function(e,t,n){let r=e.getTextContent(),i=n[r[t-1]];if(null==i)return!1;for(let n of(t<r.length&&(r=r.slice(0,t)),i)){let t;if(!n.replace||!n.regExp)continue;let i=r.match(n.regExp);if(null===i)continue;let o=i.index||0,a=o+i[0].length;return 0===o?[t]=e.splitText(a):[,t]=e.splitText(o,a),t.selectNext(0,0),n.replace(t,i),!0}return!1}(t,a,o)||function(e,t,n){let i=e.getTextContent(),o=t-1,a=i[o],l=n[a];if(l)for(let t of l){let{tag:n}=t,l=n.length,s=o-l+1;if(l>1&&!Y(i,s,n,0,l)||" "===i[s-1])continue;let u=i[o+1];if(!1===t.intraword&&u&&!G.test(u))continue;let c=e,d=Z(i,s,n),f=c;for(;d<0&&(f=f.getPreviousSibling())&&!(0,r.A3A)(f);)if((0,r.Gg4)(f)){let e=f.getTextContent();c=f,d=Z(e,e.length,n)}if(d<0||c===e&&d+l===s)continue;let p=c.getTextContent();if(d>0&&p[d-1]===a)continue;let h=p[d-1];if(!1===t.intraword&&h&&!G.test(h))continue;let m=e.getTextContent(),g=m.slice(0,s)+m.slice(o+1);e.setTextContent(g);let y=c===e?g:p;c.setTextContent(y.slice(0,d)+y.slice(d+l));let v=(0,r.dL7)(),b=(0,r.vNz)();(0,r.oqs)(b);let E=o-l*(c===e?2:1)+1;for(let n of(b.anchor.set(c.__key,d,"text"),b.focus.set(e.__key,E,"text"),t.format))b.hasFormat(n)||b.formatText(n);
35for(let e of(b.anchor.set(b.focus.key,b.focus.offset,b.focus.type),t.format))b.hasFormat(e)&&b.toggleFormat(e);return(0,r.OPZ)(v)&&(b.format=v.format),!0}}(t,a,i)};return e.registerUpdateListener(({tags:t,dirtyLeaves:n,editorState:i,prevEditorState:o})=>{if(t.has("collaboration")||t.has("historic")||e.isComposing())return;let l=i.read(r.dL7),s=o.read(r.dL7);if(!(0,r.OPZ)(s)||!(0,r.OPZ)(l)||!l.isCollapsed()||l.is(s))return;let u=l.anchor.key,c=l.anchor.offset,d=i._nodeMap.get(u);(0,r.Gg4)(d)&&n.has(u)&&(1===c||!(c>s.anchor.offset+1))&&e.update(()=>{if(!(0,r.Gg4)(d)||d.hasFormat("code"))return;let e=d.getParent();null===e||I(e)||a(e,d,l.anchor.offset)})})})(t,e),[t,e]),null}var eA=n(36903),ew=n(95393);let eO={testLexicalNode:function(e){return e instanceof eB},visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("code",{value:e.getCode(),lang:e.getLanguage(),meta:e.getMeta()})}},eP={testNode:(e,{codeBlockEditorDescriptors:t})=>{if("code"===e.type){let n=t.find(t=>t.match(e.lang,e.meta));return void 0!==n}return!1},visitNode({mdastNode:e,actions:t}){t.addAndStepInto(eV({code:e.value,language:e.lang,meta:e.meta}))}};var eI=n(75178);let eN=(0,ew.bL)(""),eR=(0,ew.MZ)(e=>{e.link(e.pipe(eR,(0,ew.Mm)(eN),(0,ew.UI)(([e,t])=>()=>eV({language:t,...e}))),eI.XU)});(0,eI.vH)(eI.Ck),(0,eA.n)({update(e,t){e.pub(eN,(null==t?void 0:t.defaultCodeBlockLanguage)??"")},init(e,t){e.pubIn({[eI._g]:"codeblock",[eI.Ck]:(null==t?void 0:t.codeBlockEditorDescriptors)??[],[eI.ON]:eP,[eI.QB]:eB,[eI.aB]:eO})}});var eL=n(32535),eD=Object.defineProperty,eM=(e,t,n)=>t in e?eD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eF=(e,t,n)=>(eM(e,"symbol"!=typeof t?t+"":t,n),n);class eB extends r.Ijf{constructor(e,t,n,r){let i;super(r),eF(this,"__code"),eF(this,"__meta"),eF(this,"__language"),eF(this,"__focusEmitter",(i=eL.ZT,{publish:()=>{i()},subscribe:e=>{i=e}})),eF(this,"setCode",e=>{e!==this.__code&&(this.getWritable().__code=e)}),eF(this,"setMeta",e=>{e!==this.__meta&&(this.getWritable().__meta=e)}),eF(this,"setLanguage",e=>{e!==this.__language&&(this.getWritable().__language=e)}),eF(this,"select",()=>{this.__focusEmitter.publish()}),this.__code=e,this.__meta=n,this.__language=t}static getType(){return"codeblock"}static clone(e){return new eB(e.__code,e.__language,e.__meta,e.__key)}static importJSON(e){let{code:t,meta:n,language:r}=e;return eV({code:t,language:r,meta:n})}static importDOM(){return{pre:()=>({conversion:ez,priority:3})}}exportJSON(){return{code:this.getCode(),language:this.getLanguage(),meta:this.getMeta(),type:"codeblock",version:1}}createDOM(e){return document.createElement("div")}updateDOM(){return!1}getCode(){return this.__code}getMeta(){return this.__meta}getLanguage(){return this.__language}decorate(e){return ey.createElement(ej,{parentEditor:e,code:this.getCode(),meta:this.getMeta(),language:this.getLanguage(),codeBlockNode:this,nodeKey:this.getKey(),focusEmitter:this.__focusEmitter})}isInline(){return!1}}let eH=ey.createContext(null),eU=({parentEditor:e,lexicalNode:t,children:n})=>{let r=ey.useMemo(()=>({lexicalNode:t,parentEditor:e,setCode:n=>{e.update(()=>{t.setCode(n),setTimeout(()=>{e.dispatchCommand(eI.g8,void 0)}
35,0)})},setLanguage:n=>{e.update(()=>{t.setLanguage(n)})},setMeta:n=>{e.update(()=>{t.setMeta(n)})}}),[t,e]);return ey.createElement(eH.Provider,{value:r},n)},ej=e=>{let t=(0,ew.Lm)(eI.Ck),n=(0,ew.Lm)(eN),r=t.sort((e,t)=>t.priority-e.priority).find(t=>t.match(e.language||"",e.meta||""));if(r||(r=t.find(t=>t.match(n||"",e.meta||""))),!r)throw Error(`No CodeBlockEditor registered for language=${e.language} meta=${e.meta}`);let i=r.Editor,{codeBlockNode:o,parentEditor:a,...l}=e;return ey.createElement(eU,{parentEditor:e.parentEditor,lexicalNode:e.codeBlockNode},ey.createElement(i,{...l}))};function eV(e){let{code:t="",language:n="",meta:r=""}=e;return new eB(t,n,r)}function ez(e){let t=e.textContent??"",n=e.getAttribute("class")??"",r=e.getAttribute("data-language")??"",i=n.match(/language-(\w+)/),o=i?i[1]:r,a=e.getAttribute("data-meta")??"";return{node:eV({code:t,language:o,meta:a})}}var eG=n(64080);let eW={testLexicalNode:C.rc,visitLexicalNode:({lexicalNode:e,actions:t})=>{let n=parseInt(e.getTag()[1],10);t.addAndStepInto("heading",{depth:n})}},e$={testNode:"heading",visitNode:function({mdastNode:e,actions:t}){t.addAndStepInto((0,C.V1)(`h${e.depth}`))}},eZ=[48,49,50,51,52,53,54],eY=[1,2,3,4,5,6],eq={49:1,50:2,51:3,52:4,53:5,54:6},eK=(0,ew.bL)(eY,e=>{e.pub(eI.mf,t=>t.registerCommand(r.iGI,n=>{let{keyCode:i,ctrlKey:o,metaKey:a,altKey:l}=n;return!!(eZ.includes(i)&&(0,eG.ZA)(a,o))&&!!l&&(n.preventDefault(),t.update(()=>{if(48===i)e.pub(eI.aY,()=>(0,r.BEw)());else{let t=e.getValue(eK),n=eq[i];t.includes(n)||e.pub(eI.aY,()=>(0,C.V1)(`h${n}`))}}),!0)},r.KB))});(0,eA.n)({init(e){e.pubIn({[eI._g]:"headings",[eI.ON]:e$,[eI.QB]:C.c2,[eI.aB]:eW})},update(e,t){e.pub(eK,(null==t?void 0:t.allowedHeadingLevels)??eY)}});let eX=(0,eA.n)({init(e){let t=e.getValue(eI.$s),n=t.includes("headings")?e.getValue(eK):[],r=function(e,t){let n=[eo,ea,el,es,ei,eu,ec];if(e.includes("headings")){let e=RegExp(`^(#{${Math.min(...t)},${Math.max(...t)}})\\s`),r={dependencies:[C.c2],export:(e,t)=>{if(!(0,C.rc)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:e,replace:eJ(e=>{let t=`h${e[1].length}`;return(0,C.V1)(t)}),type:"element"};n.push(r)}if(e.includes("thematicBreak")&&n.push(eQ),e.includes("quote")&&n.push(Q),e.includes("link")&&n.push(ed),e.includes("lists")&&n.push(er,et,en),e.includes("codeblock")){let e={...ee,dependencies:[eB],replace:(e,t,n)=>{let r=eV({code:"",language:n[1]??"",meta:""});e.replace(r),setTimeout(()=>{r.select()},80)}};n.push(e)}return n}(t,n);e.pubIn({[eI.X4]:()=>ey.createElement(eS,{transformers:r}),[eI.kS]:()=>ey.createElement(eS,{transformers:r})})}}),eJ=e=>(t,n,r)=>{let i=e(r);i.append(...n),t.replace(i),i.select(0,0)},eQ={dependencies:[eT],export:e=>eC(e)?"***":null,regExp:/^(---|\*\*\*|___)?/,replace:e=>{let t=ex();e.replace(t)},type:"element"}},45195:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var r=n(75178),i=n(95393),o=n(2265),a=n(6767),l=n(83517),s=n(80365);let u=({format:e,addTitle:t,removeTitle:n,icon:a,formatName:s})=>{let[u,c]=(0,i.Or)(r.OZ,r.wh),d=(0,i.Np)(r.It),f=(u&e)!=0;return o.createElement(l.X8,{title:f?n:t,on:f,onValueChange:()=>{d(s)}},c(a))},c=({options:e})=>{let t=(0,r.$G)(),n=void 0===e;return o.createElement("div",{className:s.ZP.toolbarGroupOfGroups},n||e.includes("Bold")?o.createElement(u,{format:a.Dh,addTitle:t("toolbar.bold","Bold"),removeTitle:t("toolbar.removeBold","Remove bold"),icon:"format_bold",formatName:"bold"}):null,n||e.includes("Italic")?o.createElement(u,{format:a.UW,addTitle:t("toolbar.italic","Italic"),removeTitle:t("toolbar.removeItalic","Remove italic"),icon:"format_italic",formatName:"italic"}):null,n||e.includes("Underline")?o.createElement(u,{format:a.A8,addTitle:t("toolbar.underline","Underline"),removeTitle:t("toolbar.removeUnderline","Remove underline"),icon:"format_underlined",formatName:"underline"}):null)}},1202:function(e,t,n){"use strict";n.d(t,{c:function(){return s}});var r=n(2265),i=n(83517),o=n(20420),a=n(95393),l=n(75178);let s=()=>{let e=(0,a.Np)(o.$r),t=(0,a.Lm)(l.wh),n=(0,l.$G)();return r.createElement(i.g$,{"aria-label":n("toolbar.link","Create link"),title:n("toolbar.link","Create link"),onClick:t=>{e()}},t("link"))}},27293:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(97067),i=n(95393),o=n(73324),a=n(2265),l=n(64080),s=n(75178),u=n(83517);let c=()=>{let[e,t]=(0,i.Or)(s.wh,s.zY),[n,c]=a.useState(!1),[d,f]=a.useState(!1),p=(0,s.$G)();return a.useEffect(()=>{if(t)return(0,r.qV)(t.registerCommand(o.ynn,e=>(c(e),!1),o.jwz),t.registerCommand(o.r04,e=>(f(e),!1),o.jwz))},[t]),a.createElement(u.N_,{items:[{title:p("toolbar.undo","Undo {{shortcut}}",{shortcut:l.jB?"âZ":"Ctrl+Z"}),disabled:!n,contents:e("undo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(o.$le,void 0)},{title:p("toolbar.redo","Redo {{shortcut}}",{shortcut:l.jB?"âY":"Ctrl+Y"}),disabled:!d,contents:e("redo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(o.zqW,void 0)}]})}},52220:function(e,t,n){"use strict";n.d(t,{N2:function(){return d}});var r=n(36903),i=n(95393),o=n(2265),a=n(75178),l=n(83517);let s=(0,i.bL)(()=>null),u=(0,i.bL)(""),c=()=>"This is an empty toolbar. Pass `{toolbarContents: () => { return <>toolbar components</> }}` to the toolbarPlugin to customize it.",d=(0,r.n)({init(e,t){let n=(null==t?void 0:t.toolbarPosition)==="bottom"?a.lT:a.UA;e.pubIn({[s]:(null==t?void 0:t.toolbarContents)??c,[u]:(null==t?void 0:t.toolbarClassName)??"",[n]:()=>{let[e,t,n]=(0,i.Or)(s,a.gY,u);return o.createElement(l.fC,{className:n,readOnly:t},e())}})},update(e,t){e.pub(s,(null==t?void 0:t.toolbarContents)??c),e.pub(u,(null==t?void 0:t.toolbarClassName)??"")}})},83517:function(e,t,n){"use strict";n.d(t,{g$:function(){return eE},N_:function(){return ex},fC:function(){return ev},Z0:function(){return eC},X8:function(){return e_}});var r=n(13428),i=n(2265),o=n.t(i,2);function a(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function l(e,t=[]){let n=[],r=()=>{let t=n.map(e=>(0,i.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,i.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=(0,i.createContext)(r),a=n.length;function l(t){let{scope:n,children:r,...l}
35=t,s=(null==n?void 0:n[e][a])||o,u=(0,i.useMemo)(()=>l,Object.values(l));return(0,i.createElement)(s.Provider,{value:u},r)}return n=[...n,r],l.displayName=t+"Provider",[l,function(n,l){let s=(null==l?void 0:l[e][a])||o,u=(0,i.useContext)(s);if(u)return u;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return(0,i.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var s=n(42210),u=n(67256);let c=(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:()=>{},d=o["useId".toString()]||(()=>void 0),f=0;n(54887);let p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let Node=(0,i.forwardRef)((e,n)=>{let{asChild:o,...a}=e,l=o?u.g7:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(l,(0,r.Z)({},a,{ref:n}))});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{});function h(e){let t=(0,i.useRef)(e);return(0,i.useEffect)(()=>{t.current=e}),(0,i.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function m({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=function({defaultProp:e,onChange:t}){let n=(0,i.useState)(e),[r]=n,o=(0,i.useRef)(r),a=h(t);return(0,i.useEffect)(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,l=a?e:r,s=h(n),u=(0,i.useCallback)(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else o(t)},[a,e,o,s]);return[l,u]}let g=(0,i.createContext)(void 0);function y(e){let t=(0,i.useContext)(g);return e||t||"ltr"}let v="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},E="RovingFocusGroup",[T,_,x]=function(e){let t=e+"CollectionProvider",[n,r]=l(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",d=i.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=a(c,n),l=(0,s.e)(t,o.collectionRef);return i.createElement(u.g7,{ref:l},r)}),f=e+"CollectionItemSlot",p="data-radix-collection-item",h=i.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,l=i.useRef(null),c=(0,s.e)(t,l),d=a(f,n);return i.useEffect(()=>(d.itemMap.set(l,{ref:l,...o}),()=>void d.itemMap.delete(l))),i.createElement(u.g7,{[p]:"",ref:c},r)});return[{Provider:e=>{let{scope:t,children:n}=e,r=i.useRef(null),a=i.useRef(new Map).current;return i.createElement(o,{scope:t,itemMap:a,collectionRef:r},n)},Slot:d,ItemSlot:h},function(t){let n=a(e+"CollectionConsumer",t),r=i.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`)),r=Array.from(n.itemMap.values()),i=r.sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current));return i},[n.collectionRef,n.itemMap]);return r},r]}(E),[C,k]=l(E,[x]),[S,A]=C(E),w=(0,i.forwardRef)((e,t)=>(0,i.createElement)(T.Provider,{scope:e.__scopeRovingFocusGroup},(0,i.createElement)(T.Slot,{scope:e.__scopeRovingFocusGroup},(0,i.createElement)(O,(0,r.Z)({},e,{ref:t}))))),O=(0,i.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:o,loop:l=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:f,onEntryFocus:g,...E}=e,T=(0,i.useRef)(null),x=(0,s.e)(t,T),C=y(u),[k=null,A]=m({prop:c,defaultProp:d,onChange:f}),[w,O]=(0,i.useState)(!1),P=h(g),I=_(n),R=(0,i.useRef)(!1),[L,D]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=T.current;if(e)return e.addEventListener(v,P),()=>e.removeEventListener(v,P)},[P]),(0,i.createElement)(S,{scope:n,orientation:o,dir:C,loop:l,currentTabStopId:k,onItemFocus:(0,i.useCallback)(e=>A(e),[A]),onItemShiftTab:(0,i.useCallback)(()=>O(!0),[]),onFocusableItemAdd:(0,i.useCallback)(()=>D(e=>e+1),[]),onFocusableItemRemove:(0,i.useCallback)(()=>D(e=>e-1),[])},(0,i.createElement)(p.div,(0,r.Z)({tabIndex:w||0===L?-1:0,"data-orientation":o},E,{ref:x,style:{outline:"none",...e.style},onMouseDown:a(e.onMouseDown,()=>{R.current=!0}),onFocus:a(e.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!w){let t=new CustomEvent(v,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>
35e.focusable),t=e.find(e=>e.active),n=e.find(e=>e.id===k),r=[t,n,...e].filter(Boolean),i=r.map(e=>e.ref.current);N(i)}}R.current=!1}),onBlur:a(e.onBlur,()=>O(!1))})))}),P=(0,i.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:o=!0,active:l=!1,tabStopId:s,...u}=e,h=function(e){let[t,n]=i.useState(d());return c(()=>{e||n(e=>null!=e?e:String(f++))},[e]),e||(t?`radix-${t}`:"")}(),m=s||h,g=A("RovingFocusGroupItem",n),y=g.currentTabStopId===m,v=_(n),{onFocusableItemAdd:b,onFocusableItemRemove:E}=g;return(0,i.useEffect)(()=>{if(o)return b(),()=>E()},[o,b,E]),(0,i.createElement)(T.ItemSlot,{scope:n,id:m,focusable:o,active:l},(0,i.createElement)(p.span,(0,r.Z)({tabIndex:y?0:-1,"data-orientation":g.orientation},u,{ref:t,onMouseDown:a(e.onMouseDown,e=>{o?g.onItemFocus(m):e.preventDefault()}),onFocus:a(e.onFocus,()=>g.onItemFocus(m)),onKeyDown:a(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return I[i]}(e,g.orientation,g.dir);if(void 0!==t){e.preventDefault();let i=v().filter(e=>e.focusable),o=i.map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=g.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>N(o))}})})))}),I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function N(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let R="horizontal",L=["horizontal","vertical"],D=(0,i.forwardRef)((e,t)=>{let{decorative:n,orientation:o=R,...a}=e,l=M(o)?o:R;return(0,i.createElement)(p.div,(0,r.Z)({"data-orientation":l},n?{role:"none"}:{"aria-orientation":"vertical"===l?l:void 0,role:"separator"},a,{ref:t}))});function M(e){return L.includes(e)}D.propTypes={orientation(e,t,n){let r=e[t],i=String(r);return r&&!M(r)?Error(`Invalid prop \`orientation\` of value \`${i}\` supplied to \`${n}\`, expected one of: 36 - horizontal 37 - vertical 38 39Defaulting to \`${R}\`.`):null}};let F=(0,i.forwardRef)((e,t)=>
39{let{pressed:n,defaultPressed:o=!1,onPressedChange:l,...s}=e,[u=!1,c]=m({prop:n,onChange:l,defaultProp:o});return(0,i.createElement)(p.button,(0,r.Z)({type:"button","aria-pressed":u,"data-state":u?"on":"off","data-disabled":e.disabled?"":void 0},s,{ref:t,onClick:a(e.onClick,()=>{e.disabled||c(!u)})}))}),B="ToggleGroup",[H,U]=l(B,[k]),j=k(),V=i.forwardRef((e,t)=>{let{type:n,...o}=e;if("single"===n)return i.createElement(W,(0,r.Z)({},o,{ref:t}));if("multiple"===n)return i.createElement($,(0,r.Z)({},o,{ref:t}));throw Error(`Missing prop \`type\` expected on \`${B}\``)}),[z,G]=H(B),W=i.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:a=()=>{},...l}=e,[s,u]=m({prop:n,defaultProp:o,onChange:a});return i.createElement(z,{scope:e.__scopeToggleGroup,type:"single",value:s?[s]:[],onItemActivate:u,onItemDeactivate:i.useCallback(()=>u(""),[u])},i.createElement(q,(0,r.Z)({},l,{ref:t})))}),$=i.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:a=()=>{},...l}=e,[s=[],u]=m({prop:n,defaultProp:o,onChange:a}),c=i.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=i.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return i.createElement(z,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:c,onItemDeactivate:d},i.createElement(q,(0,r.Z)({},l,{ref:t})))}),[Z,Y]=H(B),q=i.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:o=!1,rovingFocus:a=!0,orientation:l,dir:s,loop:u=!0,...c}=e,d=j(n),f=y(s),h={role:"group",dir:f,...c};return i.createElement(Z,{scope:n,rovingFocus:a,disabled:o},a?i.createElement(w,(0,r.Z)({asChild:!0},d,{orientation:l,dir:f,loop:u}),i.createElement(p.div,(0,r.Z)({},h,{ref:t}))):i.createElement(p.div,(0,r.Z)({},h,{ref:t})))}),K="ToggleGroupItem",X=i.forwardRef((e,t)=>{let n=G(K,e.__scopeToggleGroup),o=Y(K,e.__scopeToggleGroup),a=j(e.__scopeToggleGroup),l=n.value.includes(e.value),s=o.disabled||e.disabled,u={...e,pressed:l,disabled:s},c=i.useRef(null);return o.rovingFocus?i.createElement(P,(0,r.Z)({asChild:!0},a,{focusable:!s,active:l,ref:c}),i.createElement(J,(0,r.Z)({},u,{ref:t}))):i.createElement(J,(0,r.Z)({},u,{ref:t}))}),J=i.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:o,...a}=e,l=G(K,n),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},u="single"===l.type?s:void 0;return i.createElement(F,(0,r.Z)({},u,a,{ref:t,onPressedChange:e=>{e?l.onItemActivate(o):l.onItemDeactivate(o)}}))}),Q="Toolbar",[ee,et]=l(Q,[k,U]),en=k(),er=U(),[ei,eo]=ee(Q),ea=(0,i.forwardRef)((e,t)=>{let{__scopeToolbar:n,orientation:o="horizontal",dir:a,loop:l=!0,...s}=e,u=en(n),c=y(a);return(0,i.createElement)(ei,{scope:n,orientation:o,dir:c},(0,i.createElement)(w,(0,r.Z)({asChild:!0},u,{orientation:o,dir:c,loop:l}),(0,i.createElement)(p.div,(0,r.Z)({role:"toolbar","aria-orientation":o,dir:c},s,{ref:t}))))}),el=(0,i.forwardRef)((e,t)=>{let{__scopeToolbar:n,...o}=e,a=eo("ToolbarSeparator",n);return(0,i.createElement)(D,(0,r.Z)({orientation:"horizontal"===a.orientation?"vertical":"horizontal"},o,{ref:t}))}),es=(0,i.forwardRef)((e,t)=>{let{__scopeToolbar:n,...o}=e,a=en(n);return(0,i.createElement)(P,(0,r.Z)({asChild:!0},a,{focusable:!e.disabled}),(0,i.createElement)(p.button,(0,r.Z)({type:"button"},o,{ref:t})))}),eu=(0,i.forwardRef)((e,t)=>{let{__scopeToolbar:n,...o}=e,a=eo("ToolbarToggleGroup",n),l=er(n);return(0,i.createElement)(V,(0,r.Z)({"data-orientation":a.orientation,dir:a.dir},l,o,{ref:t,rovingFocus:!1}))}),ec=(0,i.forwardRef)((e,t)=>{let{__scopeToolbar:n,...o}=e,a=er(n),l={__scopeToolbar:e.__scopeToolbar};return(0,i.createElement)(es,(0,r.Z)({asChild:!0},l),(0,i.createElement)(X,(0,r.Z)({},a,o,{ref:t})))});var ed=n(54440),ef=n(80365),ep=n(22376),eh=n(95393),em=n(75178);let eg=i.forwardRef(({title:e,children:t},n)=>{let r=(0,eh.Lm)(em.rH);return i.createElement(ep.zt,{delayDuration:100},i.createElement(ep.fC,null,i.createElement(ep.xz,{ref:n,asChild:!0},i.createElement("span",{className:ef.ZP.tooltipTrigger},t)),i.createElement(ep.h_,{container:null==r?void 0:r.current},i.createElement(ep.VY,{className:ed(ef.ZP.tooltipContent),sideOffset:10},e))))});function ey(e,t){return i.forwardRef((n,r)=>{let o=ed(t.className,n.className);return i.createElement(e,{...t,...n,className:o,ref:r})})}let ev=({readOnly:e,children:t,className:n})=>i.createElement(ea,{className:ed("mdxeditor-toolbar",ef.ZP.toolbarRoot,{[ef.ZP.readOnlyToolbarRoot]:e},n),...e?{tabIndex:-1}:{}},t),eb=ey(es,{className:ef.ZP.toolbarButton,"data-toolbar-item":!0}),eE=({title:e,children:t,...n})=>i.createElement(eb,{...n},i.createElement(eg,{title:e},t)),eT=ey(ec,{className:ef.ZP.toolbarToggleItem,"data-toolbar-item":!0});ey(eu,{type:"single",className:ef.ZP.toolbarToggleSingleGroup});let e_=i.forwardRef(({on:e,title:t,children:n,disabled:r,...o},a)=>i.createElement(eu,{type:"single",className:ef.ZP.toolbarToggleSingleGroup,...o,value:e?"on":"off",ref:a},i.createElement(eT,{"aria-label":t,value:"on",disabled:r},i.createElement(eg,{title:t},n)))),ex=({items:e})=>i.createElement("div",{className:ef.ZP.toolbarGroupOfGroups},e.map((e,t)=>i.createElement(e_,{key:t,title:e.title,on:e.active,onValueChange:t=>{e.onChange("on"===t)},disabled:e.disabled},e.contents))),eC=el},82917:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});let r={bold:"_bold_1tncs_10",italic:"_italic_1tncs_14",underline:"_underline_1tncs_18",strikethrough:"_str
39ikethrough_1tncs_34",underlineStrikethrough:"_underlineStrikethrough_1tncs_38",subscript:"_subscript_1tncs_42",superscript:"_superscript_1tncs_47",code:"_code_1tncs_52",nestedListItem:"_nestedListItem_1tncs_59",listitem:"_listitem_1tncs_69",listItemChecked:"_listItemChecked_1tncs_73",listItemUnchecked:"_listItemUnchecked_1tncs_74",admonitionDanger:"_admonitionDanger_1tncs_151",admonitionInfo:"_admonitionInfo_1tncs_152",admonitionNote:"_admonitionNote_1tncs_153",admonitionTip:"_admonitionTip_1tncs_154",admonitionCaution:"_admonitionCaution_1tncs_155"},i={text:{bold:r.bold,italic:r.italic,underline:r.underline,code:r.code,strikethrough:r.strikethrough,subscript:r.subscript,superscript:r.superscript,underlineStrikethrough:r.underlineStrikethrough},list:{listitem:r.listitem,listitemChecked:r.listItemChecked,listitemUnchecked:r.listItemUnchecked,nested:{listitem:r.nestedListItem}},admonition:{danger:r.admonitionDanger,info:r.admonitionInfo,note:r.admonitionNote,tip:r.admonitionTip,caution:r.admonitionCaution}}},80365:function(e,t,n){"use strict";n.d(t,{ZP:function(){return r}});let r={editorRoot:"_editorRoot_uazmk_53",editorWrapper:"_editorWrapper_uazmk_154",nestedListItem:"_nestedListItem_uazmk_156",toolbarRoot:"_toolbarRoot_uazmk_160",readOnlyToolbarRoot:"_readOnlyToolbarRoot_uazmk_187",toolbarModeSwitch:"_toolbarModeSwitch_uazmk_196",toolbarToggleItem:"_toolbarToggleItem_uazmk_206",toolbarGroupOfGroups:"_toolbarGroupOfGroups_uazmk_217",toolbarToggleSingleGroup:"_toolbarToggleSingleGroup_uazmk_222",toolbarButton:"_toolbarButton_uazmk_237",activeToolbarButton:"_activeToolbarButton_uazmk_274",toolbarNodeKindSelectContainer:"_toolbarNodeKindSelectContainer_uazmk_284",toolbarButtonDropdownContainer:"_toolbarButtonDropdownContainer_uazmk_285",toolbarCodeBlockLanguageSelectContent:"_toolbarCodeBlockLanguageSelectContent_uazmk_286",selectContainer:"_selectContainer_uazmk_287",selectItem:"_selectItem_uazmk_300",toolbarNodeKindSelectTrigger:"_toolbarNodeKindSelectTrigger_uazmk_305",toolbarButtonSelectTrigger:"_toolbarButtonSelectTrigger_uazmk_306",selectTrigger:"_selectTrigger_uazmk_307",toolbarCodeBlockLanguageSelectTrigger:"_toolbarCodeBlockLanguageSelectTrigger_uazmk_342",toolbarNodeKindSelectItem:"_toolbarNodeKindSelectItem_uazmk_347",toolbarNodeKindSelectDropdownArrow:"_toolbarNodeKindSelectDropdownArrow_uazmk_372",selectDropdownArrow:"_selectDropdownArrow_uazmk_373",contentEditable:"_contentEditable_uazmk_379",codeMirrorWrapper:"_codeMirrorWrapper_uazmk_391",sandPackWrapper:"_sandPackWrapper_uazmk_400",codeMirrorToolbar:"_codeMirrorToolbar_uazmk_408",frontmatterWrapper:"_frontmatterWrapper_uazmk_412",frontmatterToggleButton:"_frontmatterToggleButton_uazmk_422",propertyPanelTitle:"_propertyPanelTitle_uazmk_430",propertyEditorTable:"_propertyEditorTable_uazmk_438",iconButton:"_iconButton_uazmk_456",readOnlyColumnCell:"_readOnlyColumnCell_uazmk_461",propertyEditorLabelCell:"_propertyEditorLabelCell_uazmk_466",buttonsFooter:"_buttonsFooter_uazmk_474",propertyEditorInput:"_propertyEditorInput_uazmk_480",primaryButton:"_primaryButton_uazmk_506",secondaryButton:"_secondaryButton_uazmk_507",smallButton:"_smallButton_uazmk_522",dialogForm:"_dialogForm_uazmk_534",linkDialogEditForm:"_linkDialogEditForm_uazmk_540",linkDialogInputContainer:"_linkDialogInputContainer_uazmk_548",linkDialogInputWrapper:"_linkDialogInputWrapper_uazmk_554",linkDialogInput:"_linkDialogInput_uazmk_548",dialogInput:"_dialogInput_uazmk_575",linkDialogAnchor:"_linkDialogAnchor_uazmk_586",linkDialogPopoverContent:"_linkDialogPopoverContent_uazmk_600",tableColumnEditorPopoverContent:"_tableColumnEditorPopoverContent_uazmk_601",dialogContent:"_dialogContent_uazmk_602",largeDialogContent:"_largeDialogContent_uazmk_614",dialogTitle:"_dialogTitle_uazmk_624",dialogCloseButton:"_dialogCloseButton_uazmk_630",popoverContent:"_popoverContent_uazmk_637",popoverArrow:"_popoverArrow_uazmk_649",linkDialogPreviewAnchor:"_linkDialogPreviewAnchor_uazmk_653",tooltipTrigger:"_tooltipTrigger_uazmk_676",tooltipContent:"_tooltipContent_uazmk_680",actionButton:"_actionButton_uazmk_694",primaryActionButton:"_primaryActionButton_uazmk_701",tableEditor:"_tableEditor_uazmk_713",toolCell:"_toolCell_uazmk_724",tableColumnEditorTrigger:"_tableColumnEditorTrigger_uazmk_743",tableRowEditorTrigger:"_tableRowEditorTrigger_uazmk_744",addRowButton:"_addRowButton_uazmk_745",addColumnButton:"_addColumnButton_uazmk_746",tableColumnEditorToolbar:"_tableColumnEditorToolbar_uazmk_789",toggleGroupRoot:"_toggleGroupRoot_uazmk_803",tableToolsColumn:"_tableToolsColumn_uazmk_821",leftAlignedCell:"_leftAlignedCell_uazmk_830",rightAlignedCell:"_rightAlignedCell_uazmk_834",centeredCell:"_centeredCell_uazmk_838",dialogOverlay:"_dialogOverlay_uazmk_871",overlayShow:"_overlayShow_uazmk_1",contentShow:"_contentShow_uazmk_1",focusedImage:"_focusedImage_uazmk_918",imageWrapper:"_imageWrapper_uazmk_922",editImageToolbar:"_editImageToolbar_uazmk_935",editImageButton:"_editImageButton_uazmk_939",inlineEditor:"_inlineEditor_uazmk_945",blockEditor:"_blockEditor_uazmk_954",nestedEditor:"_nestedEditor_uazmk_963",genericComponentName:"_genericComponentName_uazmk_982",diffSourceToggle:"_diffSourceToggle_uazmk_988",selectWithLabel:"_selectWithLabel_uazmk_1002",toolbarTitleMode:"_toolbarTitleMode_uazmk_1017",imageControlWrapperResizing:"_imageControlWrapperResizing_uazmk_1023",imageResizer:"_imageResizer_uazmk_1027",imageResizerN:"_imageResizerN_uazmk_1036",imageResizerNe:"_imageResizerNe_uazmk_1042",imageResizerE:"_imageResizerE_uazmk_1048",imageResizerSe:"_imageResizerSe_uazmk_1054",imageResizerS:"_imageResizerS_uazmk_1054",imageResizerSw:"_imageResizerSw_uazmk_1066",imageResizerW
39:"_imageResizerW_uazmk_1072",imageResizerNw:"_imageResizerNw_uazmk_1078",placeholder:"_placeholder_uazmk_1084",rootContentEditableWrapper:"_rootContentEditableWrapper_uazmk_1097",downshiftContainer:"_downshiftContainer_uazmk_1103",downshiftInputWrapper:"_downshiftInputWrapper_uazmk_1109",downshiftInput:"_downshiftInput_uazmk_1109",downshiftAutocompleteContainer:"_downshiftAutocompleteContainer_uazmk_1140",textInput:"_textInput_uazmk_1186",multiFieldForm:"_multiFieldForm_uazmk_1194",formField:"_formField_uazmk_1200",markdownParseError:"_markdownParseError_uazmk_1211",popupContainer:"_popupContainer_uazmk_1220",inputSizer:"_inputSizer_uazmk_1225"}},64080:function(e,t,n){"use strict";n.d(t,{ZA:function(){return o},jB:function(){return i}});let r="undefined"!=typeof window&&void 0!==window.document.createElement,i=r&&/Mac|iPod|iPhone|iPad/.test(navigator.platform);function o(e,t){return i?e:t}},32535:function(e,t,n){"use strict";function r(e,t){return t(e),e}function i(){}n.d(t,{ZT:function(){return i},bw:function(){return r}})},95393:function(e,t,n){"use strict";let r;n.d(t,{B_:function(){return h},Lm:function(){return E},MZ:function(){return g},Mm:function(){return C},Np:function(){return _},Or:function(){return T},PL:function(){return b},Rp:function(){return S},UI:function(){return x},Wi:function(){return v},aU:function(){return y},bL:function(){return m},hX:function(){return k}});var i=n(2265);n(57437);var o=Object.defineProperty,a=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t,n)=>a(e,"symbol"!=typeof t?t+"":t,n);class s{constructor(e=new Map){this.map=e}clone(){return new s(new Map(this.map))}increment(e){let t=this.map.get(e)??0;this.map.set(e,t+1)}decrement(e,t){let n=this.map.get(e);void 0!==n&&(n-=1,this.map.set(e,n),0===n&&t())}}class u{constructor(){l(this,"map",new Map)}getOrCreate(e){let t=this.map.get(e);return void 0===t&&(t=new Set,this.map.set(e,t)),t}get(e){return this.map.get(e)}use(e,t){let n=this.get(e);void 0!==n&&t(n)}delete(e){return this.map.delete(e)}}function c(){}let d="cell";function f(e,t){return e===t}let p=new Map;class h{constructor(e={}){for(let t of(l(this,"subscriptions",new u),l(this,"singletonSubscriptions",new Map),l(this,"graph",new u),l(this,"state",new Map),l(this,"distinctNodes",new Map),l(this,"executionMaps",new Map),l(this,"definitionRegistry",new Set),Object.getOwnPropertySymbols(e)))this.state.set(t,e[t])}cellInstance(e,t=!0,n=Symbol()){return this.state.has(n)||this.state.set(n,e),!1===t||this.distinctNodes.has(n)||this.distinctNodes.set(n,!0===t?f:t),n}signalInstance(e=!0,t=Symbol()){return!1!==e&&this.distinctNodes.set(t,!0===e?f:e),t}sub(e,t){this.register(e);let n=this.subscriptions.getOrCreate(e);return n.add(t),()=>n.delete(t)}singletonSub(e,t){return this.register(e),void 0===t?this.singletonSubscriptions.delete(e):this.singletonSubscriptions.set(e,t),()=>this.singletonSubscriptions.delete(e)}resetSingletonSubs(){this.singletonSubscriptions.clear()}subMultiple(e,t){let n=this.signalInstance();return this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),this.sub(n,t)}pubIn(e){var t;let n=Reflect.ownKeys(e),r=this.getExecutionMap(n),i=r.refCount.clone(),o=r.participatingNodes.slice(),a=new Map(this.state),l=e=>{this.graph.use(e,t=>{for(let{sources:n,sink:r}of t)n.has(e)&&i.decrement(r,()=>{o.splice(o.indexOf(r),1),l(r)})})};for(;;){let n=o.shift();if(void 0===n)break;let i=!1,s=e=>{let t=this.distinctNodes.get(n);if(null!=t&&t(a.get(n),e)){i=!1;return}i=!0,a.set(n,e),this.state.has(n)&&this.state.set(n,e)};if(Object.prototype.hasOwnProperty.call(e,n)?s(e[n]):r.projections.use(n,e=>{for(let t of e){let e=[...Array.from(t.sources),...Array.from(t.pulls)].map(e=>a.get(e));t.map(s)(...e)}}),i){let e=a.get(n);this.inContext(()=>{this.subscriptions.use(n,t=>{for(let n of t)n(e)})}),null==(t=this.singletonSubscriptions.get(n))||t(e)}else l(n)}}connect({sources:e,pulls:t=[],map:n,sink:r}){let i={map:n,pulls:new Set(t),sink:this.register(r),sources:new Set(e)};for(let n of[...e,...t])this.register(n),this.graph.getOrCreate(n).add(i);this.executionMaps.clear()}pub(e,t){this.pubIn({[e]:t})}pipe(e,...t){return this.combineOperators(...t)(e)}transformer(...e){return t=>{var n,r;return r=n=this.signalInstance(),this.link(this.pipe(r,...e),t),n}}link(e,t){this.connect({map:e=>t=>{e(t)},sink:t,sources:[e]})}combine(...e){var t;return(t=>{this.connect({map:e=>(...t)=>{e(t)},sink:t,sources:e})})(t=this.signalInstance()),t}combineCells(...e){var t;return(t=>{this.connect({map:e=>(...t)=>{e(t)},sink:t,sources:e})})(t=this.cellInstance(e.map(e=>this.getValue(e)),!0)),t}getValue(e){return this.register(e),this.state.get(e)}getValues(e){return e.map(e=>this.getValue(e))}register(e){var t;let n=p.get(e);return void 0===n||this.definitionRegistry.has(e)?e:(this.definitionRegistry.add(e),(e=>{this.inContext(()=>{n.init(this,e)})})(t=n.type===d?this.cellInstance(n.initial,n.distinct,e):this.signalInstance(n.distinct,e)),t)}inContext(e){let t=r;r=this;let n=e();return r=t,n}changeWith(e,t,n){this.connect({sources:[t],pulls:[e],sink:e,map:e=>(t,r)=>
39{e(n(r,t))}})}calculateExecutionMap(e){let t=[],n=new Set,r=new u,i=new s,o=new u,a=(e,l=0)=>{i.increment(e),n.has(e)||(this.register(e),r.use(e,e=>{l=Math.max(...Array.from(e).map(e=>t.indexOf(e)))+1}),this.graph.use(e,t=>{for(let n of t)n.sources.has(e)?(o.getOrCreate(n.sink).add(n),a(n.sink,l)):r.getOrCreate(n.sink).add(e)}),n.add(e),t.splice(l,0,e))};return e.forEach(a),{participatingNodes:t,pendingPulls:r,projections:o,refCount:i}}getExecutionMap(e){let t=e;if(1===e.length){t=e[0];let n=this.executionMaps.get(t);if(void 0!==n)return n}else for(let[t,n]of this.executionMaps.entries())if(Array.isArray(t)&&t.length===e.length&&t.every(t=>e.includes(t)))return n;let n=this.calculateExecutionMap(e);return this.executionMaps.set(t,n),n}combineOperators(...e){return t=>{for(let n of e)t=n(t,this);return t}}}function m(e,t=c,n=!0){var r,i;return i=r=Symbol(),p.set(i,{type:d,distinct:n,initial:e,init:t}),r}function g(e=c,t=!1){var n,r;return r=n=Symbol(),p.set(r,{type:"signal",distinct:t,init:e}),n}function y(e=c){var t,n;return n=t=Symbol(),p.set(n,{type:"signal",distinct:!1,init:e}),t}let v=i.createContext(null);function b(){let e=i.useContext(v);if(null===e)throw Error("useRealm must be used within a RealmContextProvider");return e}function E(e){let t=b();t.register(e);let n=i.useCallback(n=>t.sub(e,n),[t,e]);return i.useSyncExternalStore(n,()=>t.getValue(e),()=>t.getValue(e))}function T(...e){let t=b();return E(t.combineCells.apply(t,e))}function _(e){let t=b();return t.register(e),i.useCallback(n=>{t.pub(e,n)},[t,e])}function x(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{t(e(n))},sink:r,sources:[t]}),r}}function C(...e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:e=>(...t)=>{e(t)},pulls:e,sink:r,sources:[t]}),r}}function k(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{e(n)&&t(n)},sink:r,sources:[t]}),r}}function S(e,t){return(n,r)=>{let i=r.signalInstance();return r.connect({map:n=>r=>{n(t=e(t,r))},sink:i,sources:[n]}),i}}},42210:function(e,t,n){"use strict";n.d(t,{F:function(){return i},e:function(){return o}});var r=n(2265);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return(0,r.useCallback)(i(...e),e)}},11001:function(e,t,n){"use strict";n.d(t,{XB:function(){return y}});var r,i=n(2265);function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var a=n(54887);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let n=!1,r=e.map(e=>{let r=l(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():l(e[t],null)}}}}function u(...e){return i.useCallback(s(...e),e)}var c=n(57437),d=Symbol("radix.slottable");function f(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:n,...r}=e;if(i.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==i.Fragment&&(l.ref=t?s(t,a):a),i.cloneElement(n,l)}return i.Children.count(n)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=i.forwardRef((e,n)=>{let{children:r,...o}=e,a=i.Children.toArray(r),l=a.find(f);if(l){let e=l.props.children,r=a.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,c.jsx)(t,{...o,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,c.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=i.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{});function h(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>t.current?.(...e),[])}var m="dismissableLayer.update",g=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y=i.forwardRef((e,t)=>
39{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:d,onDismiss:f,...y}=e,E=i.useContext(g),[T,_]=i.useState(null),x=T?.ownerDocument??globalThis?.document,[,C]=i.useState({}),k=u(t,e=>_(e)),S=Array.from(E.layers),[A]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),w=S.indexOf(A),O=T?S.indexOf(T):-1,P=E.layersWithOutsidePointerEventsDisabled.size>0,I=O>=w,N=function(e,t=globalThis?.document){let n=h(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){b("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!I||n||(l?.(e),d?.(e),e.defaultPrevented||f?.())},x),R=function(e,t=globalThis?.document){let n=h(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&b("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));n||(s?.(e),d?.(e),e.defaultPrevented||f?.())},x);return!function(e,t=globalThis?.document){let n=function(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>t.current?.(...e),[])}(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{let t=O===E.layers.size-1;t&&(a?.(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))},x),i.useEffect(()=>{if(T)return n&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(T)),E.layers.add(T),v(),()=>{n&&1===E.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=r)}},[T,x,n,E]),i.useEffect(()=>()=>{T&&(E.layers.delete(T),E.layersWithOutsidePointerEventsDisabled.delete(T),v())},[T,E]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,c.jsx)(p.div,{...y,ref:k,style:{pointerEvents:P?I?"auto":"none":void 0,...e.style},onFocusCapture:o(e.onFocusCapture,R.onFocusCapture),onBlurCapture:o(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:o(e.onPointerDownCapture,N.onPointerDownCapture)})});function v(){let e=new CustomEvent(m);document.dispatchEvent(e)}function b(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&i.addEventListener(e,t,{once:!0}),r)?i&&a.flushSync(()=>i.dispatchEvent(o)):i.dispatchEvent(o)}y.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(g),r=i.useRef(null),o=u(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(p.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},87305:function(e,t,n){"use strict";n.d(t,{ee:function(){return e5},Eh:function(){return e3},VY:function(){return e2},fC:function(){return e1},D7:function(){return eH}});var r=n(2265);let i=["top","right","bottom","left"],o=Math.min,a=Math.max,l=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function y(e){return["top","bottom"].includes(p(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>d[e])}function b(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function T(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function _(e,t,n){let r,{reference:i,floating:o}=e,a=y(t),l=m(y(t)),s=g(l),u=p(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,v=i[s]/2-o[s]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[l]-=v*(n&&c?-1:1);break;case"end":r[l]+=v*(n&&c?-1:1)}return r}let x=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}
39=n,l=o.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=_(u,r,s),f=r,p={},h=0;for(let n=0;n<l.length;n++){let{name:o,fn:m}=l[n],{x:g,y:y,data:v,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=y?y:d,p={...p,[o]:{...p[o],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=_(u,f,s)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}};async function C(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(t,e),m=E(h),g=l[p?"floating"===d?"reference":"floating":d],y=T(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),_=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=T(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:s}):v);return{top:(y.top-x.top+m.top)/_.y,bottom:(x.bottom-y.bottom+m.bottom)/_.y,left:(y.left-x.left+m.left)/_.x,right:(x.right-y.right+m.right)/_.x}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return i.some(t=>e[t]>=0)}async function A(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=p(n),l=h(n),s="y"===y(n),u=["left","top"].includes(a)?-1:1,c=o&&s?-1:1,d=f(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof v&&(g="end"===l?-1*v:v),s?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function w(){return"undefined"!=typeof window}function O(e){return N(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function I(e){var t;return null==(t=(N(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function N(e){return!!w()&&(e instanceof Node||e instanceof P(e).Node)}function R(e){return!!w()&&(e instanceof Element||e instanceof P(e).Element)}function L(e){return!!w()&&(e instanceof HTMLElement||e instanceof P(e).HTMLElement)}function D(e){return!!w()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof P(e).ShadowRoot)}function M(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=j(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function F(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function B(e){let t=H(),n=R(e)?j(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function H(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function U(e){return["html","body","#document"].includes(O(e))}function j(e){return P(e).getComputedStyle(e)}function V(e){return R(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function z(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||D(e)&&e.host||I(e);return D(t)?t.host:t}function G(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=z(t);return U(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&M(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=P(i);if(o){let e=W(a);
39return t.concat(a,a.visualViewport||[],M(i)?i:[],e&&n?G(e):[])}return t.concat(i,G(i,[],n))}function W(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $(e){let t=j(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=L(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Z(e){return R(e)?e:e.contextElement}function Y(e){let t=Z(e);if(!L(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=$(t),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let q=u(0);function K(e){let t=P(e);return H()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:q}function X(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=Z(e),l=u(1);t&&(r?R(r)&&(l=Y(r)):l=Y(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===P(a))&&i)?K(a):u(0),c=(o.left+s.x)/l.x,d=(o.top+s.y)/l.y,f=o.width/l.x,p=o.height/l.y;if(a){let e=P(a),t=r&&R(r)?P(r):r,n=e,i=W(n);for(;i&&r&&t!==n;){let e=Y(i),t=i.getBoundingClientRect(),r=j(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,p*=e.y,c+=o,d+=a,i=W(n=P(i))}}return T({width:f,height:p,x:c,y:d})}function J(e,t){let n=V(e).scrollLeft;return t?t.left+n:X(I(e)).left+n}function Q(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:J(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function ee(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=P(e),r=I(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;let e=H();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){let t=I(e),n=V(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+J(e),s=-n.scrollTop;return"rtl"===j(r).direction&&(l+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:s}}(I(e));else if(R(t))r=function(e,t){let n=X(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=L(e)?Y(e):u(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y,s=i*o.x,c=r*o.y;return{width:a,height:l,x:s,y:c}}(t,n);else{let n=K(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return T(r)}function et(e){return"static"===j(e).position}function en(e,t){if(!L(e)||"fixed"===j(e).position)return null;if(t)return t(e);let n=e.offsetParent;return I(e)===n&&(n=n.ownerDocument.body),n}function er(e,t){let n=P(e);if(F(e))return n;if(!L(e)){let t=z(e);for(;t&&!U(t);){if(R(t)&&!et(t))return t;t=z(t)}return n}let r=en(e,t);for(;r&&["table","td","th"].includes(O(r))&&et(r);)r=en(r,t);return r&&U(r)&&et(r)&&!B(r)?n:r||function(e){let t=z(e);for(;L(t)&&!U(t);){if(B(t))return t;if(F(t))break;t=z(t)}return null}(e)||n}let ei=async function(e){let t=this.getOffsetParent||er,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=L(t),i=I(t),o="fixed"===n,a=X(e,!0,o,t),l={scrollLeft:0,scrollTop:0},s=u(0);if(r||!r&&!o){if(("body"!==O(t)||M(i))&&(l=V(t)),r){let e=X(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=J(i))}let c=!i||r||o?u(0):Q(i,l),d=a.left+l.scrollLeft-s.x-c.x,f=a.top+l.scrollTop-s.y-c.y;return{x:d,y:f,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=I(r),l=!!t&&F(t.floating);if(r===a||l&&o)return n;let s={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=L(r);if((f||!f&&!o)&&(("body"!==O(r)||M(a))&&(s=V(r)),L(r))){let e=X(r);c=Y(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=!a||f||o?u(0):Q(a,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-s.scrollTop*c.y+d.y+p.y}},getDocumentElement:I,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}
39=e,l="clippingAncestors"===n?F(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=G(e,[],!1).filter(e=>R(e)&&"body"!==O(e)),i=null,o="fixed"===j(e).position,a=o?z(e):e;for(;R(a)&&!U(a);){let t=j(a),n=B(a);n||"fixed"!==t.position||(i=null);let l=o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||M(a)&&!n&&function e(t,n){let r=z(t);return!(r===n||!R(r)||U(r))&&("fixed"===j(r).position||e(r,n))}(e,a);l?r=r.filter(e=>e!==a):i=t,a=z(a)}return t.set(e,r),r}(t,this._c):[].concat(n),s=[...l,r],u=s[0],c=s.reduce((e,n)=>{let r=ee(t,n,i);return e.top=a(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=a(r.left,e.left),e},ee(t,u,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:er,getElementRects:ei,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=$(e);return{width:t,height:n}},getScale:Y,isElement:R,isRTL:function(e){return"rtl"===j(e).direction}};function ea(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let el=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:l,platform:s,elements:u,middlewareData:c}=t,{element:d,padding:p=0}=f(e,t)||{};if(null==d)return{};let v=E(p),b={x:n,y:r},T=m(y(i)),_=g(T),x=await s.getDimensions(d),C="y"===T,k=C?"clientHeight":"clientWidth",S=l.reference[_]+l.reference[T]-b[T]-l.floating[_],A=b[T]-l.reference[T],w=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),O=w?w[k]:0;O&&await (null==s.isElement?void 0:s.isElement(w))||(O=u.floating[k]||l.floating[_]);let P=O/2-x[_]/2-1,I=o(v[C?"top":"left"],P),N=o(v[C?"bottom":"right"],P),R=O-x[_]-N,L=O/2-x[_]/2+(S/2-A/2),D=a(I,o(L,R)),M=!c.arrow&&null!=h(i)&&L!==D&&l.reference[_]/2-(L<I?I:N)-x[_]/2<0,F=M?L<I?L-I:L-R:0;return{[T]:b[T]+F,data:{[T]:D,centerOffset:L-D-F,...M&&{alignmentOffset:F}},reset:M}}}),es=(e,t,n)=>{let r=new Map,i={platform:eo,...n},o={...i.platform,_c:r};return x(e,t,{...i,platform:o})};var eu=n(54887),ec="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function ed(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ed(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ed(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ef(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function ep(e,t){let n=ef(e);return Math.round(t*n)/n}function eh(e){let t=r.useRef(e);return ec(()=>{t.current=e}),t}let em=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?el({element:n.current,padding:r}).fn(t):{}:n?el({element:n,padding:r}).fn(t):{}}}),eg=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:a,middlewareData:l}=e,s=await A(e,n);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}),options:[e,t]}},ey=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(n,e),d={x:t,y:r},h=await C(e,c),g=y(p(i)),v=m(g),b=d[v],E=d[g];if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+h[e],r=b-h[t];b=a(n,o(b,r))}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=E+h[e],r=E-h[t];E=a(n,o(E,r))}let T=u.fn({...e,[v]:b,[g]:E});return{...T,data:{x:T.x-t,y:T.y-r,enabled:{[v]:l,[g]:s}}}}}),options:[e,t]}},ev=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:a}=e,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}
39=f(n,e),c={x:t,y:r},d=y(i),h=m(d),g=c[h],v=c[d],b=f(l,e),E="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(s){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+E.mainAxis,n=o.reference[h]+o.reference[e]-E.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var T,_;let e="y"===h?"width":"height",t=["top","left"].includes(p(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(T=a.offset)?void 0:T[d])||0)+(t?0:E.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(_=a.offset)?void 0:_[d])||0)-(t?E.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:g,[d]:v}}}),options:[e,t]}},eb=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:c,platform:d,elements:E}=e,{mainAxis:T=!0,crossAxis:_=!0,fallbackPlacements:x,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:A=!0,...w}=f(n,e);if(null!=(t=s.arrow)&&t.alignmentOffset)return{};let O=p(l),P=y(c),I=p(c)===c,N=await (null==d.isRTL?void 0:d.isRTL(E.floating)),R=x||(I||!A?[b(c)]:function(e){let t=b(e);return[v(e),t,v(t)]}(c)),L="none"!==S;!x&&L&&R.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(v)))),o}(c,A,S,N));let D=[c,...R],M=await C(e,w),F=[],B=(null==(r=s.flip)?void 0:r.overflows)||[];if(T&&F.push(M[O]),_){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=m(y(e)),o=g(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=b(a)),[a,b(a)]}(l,u,N);F.push(M[e[0]],M[e[1]])}if(B=[...B,{placement:l,overflows:F}],!F.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=D[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(o=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(k){case"bestFit":{let e=null==(a=B.filter(e=>{if(L){let t=y(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(l!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eE=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let i,l;let{placement:s,rects:u,platform:c,elements:d}=e,{apply:m=()=>{},...g}=f(n,e),v=await C(e,g),b=p(s),E=h(s),T="y"===y(s),{width:_,height:x}=u.floating;"top"===b||"bottom"===b?(i=b,l=E===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(l=b,i="end"===E?"top":"bottom");let k=x-v.top-v.bottom,S=_-v.left-v.right,A=o(x-v[i],k),w=o(_-v[l],S),O=!e.middlewareData.shift,P=A,I=w;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(I=S),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=k),O&&!E){let e=a(v.left,0),t=a(v.right,0),n=a(v.top,0),r=a(v.bottom,0);T?I=_-2*(0!==e||0!==t?e+t:a(v.left,v.right)):P=x-2*(0!==n||0!==r?n+r:a(v.top,v.bottom))}await m({...e,availableWidth:I,availableHeight:P});let N=await c.getDimensions(d.floating);return _!==N.width||x!==N.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eT=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...i}=f(n,e);switch(r){case"referenceHidden":{let n=await C(e,{...i,elementContext:"reference"}),r=k(n,t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:S(r)}}}case"escaped":{let n=await C(e,{...i,altBoundary:!0}),r=k(n,t.floating);return{data:{escapedOffsets:r,escaped:S(r)}}}default:return{}}}}),options:[e,t]}},e_=(e,t)=>({...em(e),options:[e,t]});function ex(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var eC=n(57437),ek=Symbol("radix.slottable");function eS(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===ek}var eA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
39{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(l.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=ex(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():ex(e[t],null)}}}}(t,a):a),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),l=a.find(eS);if(l){let e=l.props.children,i=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eC.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eC.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eC.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{}),ew=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eC.jsx)(eA.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eC.jsx)("polygon",{points:"0,0 30,0 15,10"})})});function eO(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eP(...e){return t=>{let n=!1,r=e.map(e=>{let r=eO(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():eO(e[t],null)}}}}function eI(...e){return r.useCallback(eP(...e),e)}ew.displayName="Arrow";var eN=Symbol("radix.slottable");function eR(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eN}var eL=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(l.ref=t?eP(t,a):a),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),l=a.find(eR);if(l){let e=l.props.children,i=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eC.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eC.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eC.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{}),eD=globalThis?.document?r.useLayoutEffect:()=>{},eM=globalThis?.document?r.useLayoutEffect:()=>{},eF="Popper",[eB,eH]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),a=n.length;n=[...n,i];let l=t=>{let{scope:n,children:i,...l}
39=t,s=n?.[e]?.[a]||o,u=r.useMemo(()=>l,Object.values(l));return(0,eC.jsx)(s.Provider,{value:u,children:i})};return l.displayName=t+"Provider",[l,function(n,l){let s=l?.[e]?.[a]||o,u=r.useContext(s);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}(eF),[eU,ej]=eB(eF),eV=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eC.jsx)(eU,{scope:t,anchor:i,onAnchorChange:o,children:n})};eV.displayName=eF;var ez="PopperAnchor",eG=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,a=ej(ez,n),l=r.useRef(null),s=eI(t,l);return r.useEffect(()=>{a.onAnchorChange(i?.current||l.current)}),i?null:(0,eC.jsx)(eL.div,{...o,ref:s})});eG.displayName=ez;var eW="PopperContent",[e$,eZ]=eB(eW),eY=r.forwardRef((e,t)=>{let{__scopePopper:n,side:i="bottom",sideOffset:l=0,align:u="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:f=!0,collisionBoundary:p=[],collisionPadding:h=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:v,...b}=e,E=ej(eW,n),[T,_]=r.useState(null),x=eI(t,e=>_(e)),[C,k]=r.useState(null),S=function(e){let[t,n]=r.useState(void 0);return eM(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(C),A=S?.width??0,w=S?.height??0,O="number"==typeof h?h:{top:0,right:0,bottom:0,left:0,...h},P=Array.isArray(p)?p:[p],N=P.length>0,R={padding:O,boundary:P.filter(eJ),altBoundary:N},{refs:L,floatingStyles:D,placement:M,isPositioned:F,middlewareData:B}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);ed(p,i)||h(i);let[m,g]=r.useState(null),[y,v]=r.useState(null),b=r.useCallback(e=>{e!==x.current&&(x.current=e,g(e))},[]),E=r.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),T=a||m,_=l||y,x=r.useRef(null),C=r.useRef(null),k=r.useRef(d),S=null!=u,A=eh(u),w=eh(o),O=eh(c),P=r.useCallback(()=>{if(!x.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};w.current&&(e.platform=w.current),es(x.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};I.current&&!ed(k.current,t)&&(k.current=t,eu.flushSync(()=>{f(t)}))})},[p,t,n,w,O]);ec(()=>{!1===c&&k.current.isPositioned&&(k.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let I=r.useRef(!1);ec(()=>(I.current=!0,()=>{I.current=!1}),[]),ec(()=>{if(T&&(x.current=T),_&&(C.current=_),T&&_){if(A.current)return A.current(T,_,P);P()}},[T,_,P,A,S]);let N=r.useMemo(()=>({reference:x,floating:C,setReference:b,setFloating:E}),[b,E]),R=r.useMemo(()=>({reference:T,floating:_}),[T,_]),L=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=ep(R.floating,d.x),r=ep(R.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...ef(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,R.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:P,refs:N,elements:R,floatingStyles:L}),[d,P,N,R,L])}({strategy:"fixed",placement:i+("center"!==u?"-"+u:""),whileElementsMounted:(...e)=>{let t=function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=Z(e),h=l||u?[...p?G(p):[],...G(t)]:[];
39h.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&d?function(e,t){let n,r=null,i=I(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=f;if(c||t(),!m||!g)return;let y=s(h),v=s(i.clientWidth-(p+m)),b=s(i.clientHeight-(h+g)),E=s(p),T={rootMargin:-y+"px "+-v+"px "+-b+"px "+-E+"px",threshold:a(0,o(1,d))||1},_=!0;function x(t){let r=t[0].intersectionRatio;if(r!==d){if(!_)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ea(f,e.getBoundingClientRect())||u(),_=!1}try{r=new IntersectionObserver(x,{...T,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,T)}r.observe(e)}(!0),l}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!f&&y.observe(p),y.observe(t));let v=f?X(e):null;return f&&function t(){let r=X(e);v&&!ea(v,r)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(i)}}(...e,{animationFrame:"always"===y});return t},elements:{reference:E.anchor},middleware:[eg({mainAxis:l+w,alignmentAxis:c}),f&&ey({mainAxis:!0,crossAxis:!1,limiter:"partial"===m?ev():void 0,...R}),f&&eb({...R}),eE({...R,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),C&&e_({element:C,padding:d}),eQ({arrowWidth:A,arrowHeight:w}),g&&eT({strategy:"referenceHidden",...R})]}),[H,U]=e0(M),j=function(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}(v);eD(()=>{F&&j?.()},[F,j]);let V=B.arrow?.x,z=B.arrow?.y,W=B.arrow?.centerOffset!==0,[$,Y]=r.useState();return eD(()=>{T&&Y(window.getComputedStyle(T).zIndex)},[T]),(0,eC.jsx)("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:F?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eC.jsx)(e$,{scope:n,placedSide:H,onArrowChange:k,arrowX:V,arrowY:z,shouldHideArrow:W,children:(0,eC.jsx)(eL.div,{"data-side":H,"data-align":U,...b,ref:x,style:{...b.style,animation:F?void 0:"none"}})})})});eY.displayName=eW;var eq="PopperArrow",eK={top:"bottom",right:"left",bottom:"top",left:"right"},eX=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eZ(eq,n),o=eK[i.placedSide];return(0,eC.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eC.jsx)(ew,{...r,ref:t,style:{...r.style,display:"block"}})})});function eJ(e){return null!==e}eX.displayName=eq;var eQ=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[s,u]=e0(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,f=(i.arrow?.y??0)+l/2,p="",h="";return"bottom"===s?(p=o?c:`${d}px`,h=`${-l}px`):"top"===s?(p=o?c:`${d}px`,h=`${r.floating.height+l}px`):"right"===s?(p=`${-l}px`,h=o?c:`${f}px`):"left"===s&&(p=`${r.floating.width+l}px`,h=o?c:`${f}px`),{data:{x:p,y:h}}}});function e0(e){let[t,n="center"]=e.split("-");return[t,n]}var e1=eV,e5=eG,e2=eY,e3=eX},20814:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var r=n(2265),i=n(54887);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var a=n(57437),l=Symbol("radix.slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
39{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,a;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(s.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}(t,l):l),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),u=l.find(s);if(u){let e=u.props.children,i=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,l=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(l,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{}),c=globalThis?.document?r.useLayoutEffect:()=>{},d=r.forwardRef((e,t)=>{let{container:n,...o}=e,[l,s]=r.useState(!1);c(()=>s(!0),[]);let d=n||l&&globalThis?.document?.body;return d?i.createPortal((0,a.jsx)(u.div,{...o,ref:t}),d):null});d.displayName="Portal"},97295:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(2265);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var o=globalThis?.document?r.useLayoutEffect:()=>{},a=e=>{let t,n;let{present:a,children:s}=e,u=function(e){var t;let[n,i]=r.useState(),a=r.useRef(null),s=r.useRef(e),u=r.useRef("none"),c=e?"mounted":"unmounted",[d,f]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return r??e},c));return r.useEffect(()=>{let e=l(a.current);u.current="mounted"===d?e:"none"},[d]),o(()=>{let t=a.current,n=s.current,r=n!==e;if(r){let r=u.current,i=l(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),o(()=>{if(n){let e;let t=n.ownerDocument.defaultView??window,r=r=>{let i=l(a.current),o=i.includes(r.animationName);if(r.target===n&&o&&(f("ANIMATION_END"),!s.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},i=e=>{e.target===n&&(u.current=l(a.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}f("ANIMATION_END")},[n,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}(a),c="function"==typeof s?s({present:u.isPresent}):r.Children.only(s),d=function(...e){return r.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}(...e),e)}(u.ref,(t=Object.getOwnPropertyDescriptor(c.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?c.ref:(t=Object.getOwnPropertyDescriptor(c,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?c.props.ref:c.props.ref||c.ref),f="function"==typeof s;return f||u.isPresent?r.cloneElement(c,{ref:d}):null};function l(e){return e?.animationName||"none"}a.displayName="Presence"},67256:function(e,t,n){"use strict";n.d(t,{g7:function(){return a}});var r=n(13428),i=n(2265),o=n(42210);let a=(0,i.forwardRef)((e,t)=>{let{children:n,...o}=e,a=i.Children.toArray(n),s=a.find(u);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(l,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(l,(0,r.Z)({},o,{ref:t}),n)});a.displayName="Slot";let l=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}
39:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,o.F)(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});l.displayName="SlotClone";let s=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function u(e){return(0,i.isValidElement)(e)&&e.type===s}},22376:function(e,t,n){"use strict";n.d(t,{Eh:function(){return eo},VY:function(){return ei},h_:function(){return er},zt:function(){return ee},fC:function(){return et},xz:function(){return en}});var r=n(2265),i=n.t(r,2);function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():a(e[t],null)}}}}function s(...e){return r.useCallback(l(...e),e)}var u=n(57437),c=n(11001),d=globalThis?.document?r.useLayoutEffect:()=>{},f=i[" useId ".trim().toString()]||(()=>void 0),p=0,h=n(87305),m=n(20814),g=n(97295);n(54887);var y=Symbol("radix.slottable");function v(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===y}var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(s.ref=t?l(t,a):a),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),l=a.find(v);if(l){let e=l.props.children,i=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,u.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,u.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{}),E=i[" useInsertionEffect ".trim().toString()]||d;function T(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}Symbol("RADIX:SYNC_STATE");var _=Symbol("radix.slottable");function x(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===_}var C=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],a=/^on[A-Z]/.test(r);a?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(l.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=T(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():T(e[t],null)}}}}(t,a):a),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}
39(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),l=a.find(x);if(l){let e=l.props.children,i=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,u.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,u.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),Node=r.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(a,{...o,ref:r})});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{}),k=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),S=r.forwardRef((e,t)=>(0,u.jsx)(C.span,{...e,ref:t,style:{...k,...e.style}}));S.displayName="VisuallyHidden";var[A,w]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),a=n.length;n=[...n,i];let l=t=>{let{scope:n,children:i,...l}=t,s=n?.[e]?.[a]||o,c=r.useMemo(()=>l,Object.values(l));return(0,u.jsx)(s.Provider,{value:c,children:i})};return l.displayName=t+"Provider",[l,function(n,l){let s=l?.[e]?.[a]||o,u=r.useContext(s);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e),o=i[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}("Tooltip",[h.D7]),O=(0,h.D7)(),P="TooltipProvider",I="tooltip.open",[N,R]=A(P),L=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:a}=e,l=r.useRef(!0),s=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,u.jsx)(N,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),l.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:s,onPointerInTransitChange:r.useCallback(e=>{s.current=e},[]),disableHoverableContent:o,children:a})};L.displayName=P;var D="Tooltip",[M,F]=A(D),B=e=>{let{__scopeTooltip:t,children:n,open:i,defaultOpen:o,onOpenChange:a,disableHoverableContent:l,delayDuration:s}=e,c=R(D,e.__scopeTooltip),m=O(t),[g,y]=r.useState(null),v=function(e){let[t,n]=r.useState(f());return d(()=>{e||n(e=>e??String(p++))},[e]),e||(t?`radix-${t}`:"")}(),b=r.useRef(0),T=l??c.disableHoverableContent,_=s??c.delayDuration,x=r.useRef(!1),[C,k]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[o,a,l]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),o=r.useRef(n),a=r.useRef(t);return E(()=>{a.current=t},[t]),r.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,i,a]}({defaultProp:t,onChange:n}),s=void 0!==e,u=s?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,i])}let c=r.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else a(t)},[s,e,a,l]);return[u,c]}({prop:i,defaultProp:o??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(I))):c.onClose(),a?.(e)},caller:D}),S=r.useMemo(()=>C?x.current?"delayed-open":"instant-open":"closed",[C]),A=r.useCallback(()=>{window.clearTimeout(b.current),b.current=0,x.current=!1,k(!0)},[k]),w=r.useCallback(()=>{window.clearTimeout(b.current),b.current=0,k(!1)},[k]),P=r.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{x.current=!0,k(!0),b.current=0},_)},[_,k]);return r.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),(0,u.jsx)(h.fC,{...m,children:(0,u.jsx)(M,{scope:t,contentId:v,open:C,stateAttribute:S,trigger:g,onTriggerChange:y,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?P():A()},[c.isOpenDelayedRef,P,A]),onTriggerLeave:r.useCallback(()=>{T?w():(window.clearTimeout(b.current),b.current=0)},[w,T]),onOpen:A,onClose:w,disableHoverableContent:T,children:n})})};B.displayName=D;var H="TooltipTrigger",U=r.forwardRef((e,t)=>
39{let{__scopeTooltip:n,...i}=e,a=F(H,n),l=R(H,n),c=O(n),d=r.useRef(null),f=s(t,d,a.onTriggerChange),p=r.useRef(!1),m=r.useRef(!1),g=r.useCallback(()=>p.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,u.jsx)(h.ee,{asChild:!0,...c,children:(0,u.jsx)(b.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...i,ref:f,onPointerMove:o(e.onPointerMove,e=>{"touch"===e.pointerType||m.current||l.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0)}),onPointerLeave:o(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:o(e.onPointerDown,()=>{a.open&&a.onClose(),p.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:o(e.onFocus,()=>{p.current||a.onOpen()}),onBlur:o(e.onBlur,a.onClose),onClick:o(e.onClick,a.onClose)})})});U.displayName=H;var j="TooltipPortal",[V,z]=A(j,{forceMount:void 0}),G=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=F(j,t);return(0,u.jsx)(V,{scope:t,forceMount:n,children:(0,u.jsx)(g.z,{present:n||o.open,children:(0,u.jsx)(m.h,{asChild:!0,container:i,children:r})})})};G.displayName=j;var W="TooltipContent",$=r.forwardRef((e,t)=>{let n=z(W,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=F(W,e.__scopeTooltip);return(0,u.jsx)(g.z,{present:r||a.open,children:a.disableHoverableContent?(0,u.jsx)(X,{side:i,...o,ref:t}):(0,u.jsx)(Z,{side:i,...o,ref:t})})}),Z=r.forwardRef((e,t)=>{let n=F(W,e.__scopeTooltip),i=R(W,e.__scopeTooltip),o=r.useRef(null),a=s(t,o),[l,c]=r.useState(null),{trigger:d,onClose:f}=n,p=o.current,{onPointerInTransitChange:h}=i,m=r.useCallback(()=>{c(null),h(!1)},[h]),g=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect()),o=function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,i),a=function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect()),l=function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...o,...a]);c(l),h(!0)},[h]);return r.useEffect(()=>()=>m(),[m]),r.useEffect(()=>{if(d&&p){let e=e=>g(e,p),t=e=>g(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,g,m]),r.useEffect(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=d?.contains(t)||p?.contains(t),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e],l=t[o],s=a.x,u=a.y,c=l.x,d=l.y,f=u>r!=d>r&&n<(c-s)*(r-u)/(d-u)+s;f&&(i=!i)}return i}(n,l);r?m():i&&(m(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,l,f,m]),(0,u.jsx)(X,{...e,ref:a})}),[Y,q]=A(D,{isInside:!1}),K=function(e){let t=({children:e})=>(0,u.jsx)(u.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=y,t}("TooltipContent"),X=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:i,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:l,...s}=e,d=F(W,n),f=O(n),{onClose:p}=d;return r.useEffect(()=>(document.addEventListener(I,p),()=>document.removeEventListener(I,p)),[p]),r.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;t?.contains(d.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,p]),(0,u.jsx)(c.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,u.jsxs)(h.VY,{"data-state":d.stateAttribute,...f,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,u.jsx)(K,{children:i}),(0,u.jsx)(Y,{scope:n,isInside:!0,children:(0,u.jsx)(S,{id:d.contentId,role:"tooltip",children:o||i})})]})})});$.displayName=W;var J="TooltipArrow",Q=r.forwardRef((e,t)=>
39{let{__scopeTooltip:n,...r}=e,i=O(n),o=q(J,n);return o.isInside?null:(0,u.jsx)(h.Eh,{...i,...r,ref:t})});Q.displayName=J;var ee=L,et=B,en=U,er=G,ei=$,eo=Q},39213:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r},o=(e,t)=>n=>{var o;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:l}=t,s=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],i=null==l?void 0:l[e];if(null===t)return null;let o=r(t)||r(i);return a[e][o]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),c=null==t?void 0:null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...u}[t]):({...l,...u})[t]===n})?[...e,n,r]:e},[]);return i(e,s,c,null==n?void 0:n.class,null==n?void 0:n.className)}},21223:function(e,t,n){"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);let e=n.slice(i,r).trim();(e||!o)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},63034:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});let r=document.createElement("i");function i(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},4835:function(e,t,n){"use strict";function r(){}n.d(t,{ok:function(){return r}})},78371:function(e,t,n){"use strict";n.d(t,{y:function(){return et}});var r=n(26977);let i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function o(e,t,n,o){if(e===t&&n===o)return r.Z;let a=t=>(function(e,t,n,r,o){let a,l;let s=0;do(a=i(l=t+(n-t)/2,r,o)-e)>0?n=l:t=l;while(Math.abs(a)>1e-7&&++s<12);return l})(t,0,1,e,n);return e=>0===e||1===e?e:i(a(e),t,o)}let a=o(.42,0,1,1),l=o(0,0,.58,1),s=o(.42,0,.58,1),u=e=>Array.isArray(e)&&"number"!=typeof e[0];var c=n(46567),d=n(927),f=n(90933),p=n(30484);let h=o(.33,1.53,.69,.99),m=(0,p.M)(h),g=(0,f.o)(m),y={linear:r.Z,easeIn:a,easeInOut:s,easeOut:l,circIn:d.Z7,circInOut:d.X7,circOut:d.Bn,backIn:m,backInOut:g,backOut:h,anticipate:e=>(e*=2)<1?.5*m(e):.5*(2-Math.pow(2,-10*(e-1)))},v=e=>{if(Array.isArray(e)){(0,c.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return o(t,n,r,i)}return"string"==typeof e?((0,c.k)(void 0!==y[e],`Invalid easing type '${e}'`),y[e]):e};var b=n(2199),E=n(43021),T=n(40007);function _(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var x=n(93257),C=n(72808),k=n(26002);let S=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},A=[x.$,C.m,k.J],w=e=>A.find(t=>t.test(e));function O(e){let t=w(e);(0,c.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===k.J&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,l=2*n-r;i=_(l,r,e+1/3),o=_(l,r,e),a=_(l,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let P=(e,t)=>{let n=O(e),r=O(t),i={...n};return e=>(i.red=S(n.red,r.red,e),i.green=S(n.green,r.green,e),i.blue=S(n.blue,r.blue,e),i.alpha=(0,T.C)(n.alpha,r.alpha,e),C.m.transform(i))};var I=n(44694),N=n(89155);let R=(e,t)=>n=>`${n>0?t:e}`;function L(e,t){return"number"==typeof e?n=>(0,T.C)(e,t,n):b.$.test(e)?P(e,t):e.startsWith("var(")?R(e,t):F(e,t)}let D=(e,t)=>{let n=[...e],r=n.length,i=e.map((e,n)=>L(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},M=(e,t)=>{let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=L(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}},F=(e,t)=>{let n=N.P.createTransformer(t),r=(0,N.V)(e),i=(0,N.V)(t),o=r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers;return o?(0,I.z)(D(r.values,i.values),n):((0,c.K)(!0,`Complex values '${e}' and '${t}
39' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),R(e,t))};var B=n(42868);let H=(e,t)=>n=>(0,T.C)(e,t,n);function U(e,t,{clamp:n=!0,ease:i,mixer:o}={}){let a=e.length;if((0,c.k)(a===t.length,"Both input and output ranges must be the same length"),1===a)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,n){let i=[],o=n||function(e){if("number"==typeof e);else if("string"==typeof e)return b.$.test(e)?P:F;else if(Array.isArray(e))return D;else if("object"==typeof e)return M;return H}(e[0]),a=e.length-1;for(let n=0;n<a;n++){let a=o(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||r.Z:t;a=(0,I.z)(e,a)}i.push(a)}return i}(t,i,o),s=l.length,u=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=(0,B.Y)(e[n],e[n+1],t);return l[n](r)};return n?t=>u((0,E.u)(e[0],e[a-1],t)):u}function j({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=u(r)?r.map(v):v(r),o={done:!1,value:t[0]},a=(n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=(0,B.Y)(0,t,r);e.push((0,T.C)(n,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),l=U(a,t,{ease:Array.isArray(i)?i:t.map(()=>i||s).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}var V=n(81356),z=n(69815);function G(e,t,n){let r=Math.max(t-5,0);return(0,z.R)(n-e(r),t-r)}function W(e,t){return e*Math.sqrt(1-t*t)}let $=["duration","bounce"],Z=["stiffness","damping","mass"];function Y(e,t){return t.some(t=>void 0!==e[t])}function q({keyframes:e,restDelta:t,restSpeed:n,...r}){let i;let o=e[0],a=e[e.length-1],l={done:!1,value:o},{stiffness:s,damping:u,mass:d,velocity:f,duration:p,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Y(e,Z)&&Y(e,$)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;(0,c.K)(e<=(0,V.w)(10),"Spring duration must be 10 seconds or less");let a=1-t;a=(0,E.u)(.05,1,a),e=(0,E.u)(.01,10,(0,V.X)(e)),a<1?(i=t=>{let r=t*a,i=r*e,o=W(t,a);return .001-(r-n)/o*Math.exp(-i)},o=t=>{let r=t*a,o=r*e,l=Math.pow(a,2)*Math.pow(t,2)*e,s=W(Math.pow(t,2),a),u=-i(t)+.001>0?-1:1;return u*((o*n+n-l)*Math.exp(-o))/s}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return -.001+r*i},o=t=>{let r=Math.exp(-t*e),i=(n-t)*(e*e);return r*i});let l=5/e,s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,l);if(e=(0,V.w)(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(r),m=f?-(0,V.X)(f):0,g=u/(2*Math.sqrt(s*d)),y=a-o,v=(0,V.X)(Math.sqrt(s/d)),b=5>Math.abs(y);if(n||(n=b?.01:2),t||(t=b?.005:.5),g<1){let e=W(v,g);i=t=>{let n=Math.exp(-g*v*t);return a-n*((m+g*v*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}}else if(1===g)i=e=>a-Math.exp(-v*e)*(y+(m+v*y)*e);else{let e=v*Math.sqrt(g*g-1);i=t=>{let n=Math.exp(-g*v*t),r=Math.min(e*t,300);return a-n*((m+g*v*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}return{calculatedDuration:h&&p||null,next:e=>{let r=i(e);if(h)l.done=e>=p;else{let o=m;0!==e&&(o=g<1?G(i,e,r):0);let s=Math.abs(o)<=n,u=Math.abs(a-r)<=t;l.done=s&&u}return l.value=l.done?a:r,l}}}function K({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:s,restDelta:u=.5,restSpeed:c}){let d,f;let p=e[0],h={done:!1,value:p},m=e=>void 0!==l&&e<l||void 0!==s&&e>s,g=e=>void 0===l?s:void 0===s?l:Math.abs(l-e)<Math.abs(s-e)?l:s,y=n*t,v=p+y,b=void 0===a?v:a(v);b!==v&&(y=b-p);let E=e=>-y*Math.exp(-e/r),T=e=>b+E(e),_=e=>{let t=E(e),n=T(e);h.done=Math.abs(t)<=u,h.value=h.done?b:n},x=e=>{m(h.value)&&(d=e,f=q({keyframes:[h.value,g(h.value)],velocity:G(T,e,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,_(e),x(e)),void 0!==d&&e>d)?f.next(e-d):(t||_(e),h)}}}var X=n(72363);let J=e=>{let t=({timestamp:t})=>e(t);return{start:()=>X.Wi.update(t,!0),stop:()=>
39(0,X.Pn)(t),now:()=>X.frameData.isProcessing?X.frameData.timestamp:performance.now()}};function Q(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let ee={decay:K,inertia:K,tween:j,keyframes:j,spring:q};function et({autoplay:e=!0,delay:t=0,driver:n=J,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",onPlay:s,onStop:u,onComplete:c,onUpdate:d,...f}){let p,h,m,g,y,v=1,b=!1,T=()=>{h=new Promise(e=>{p=e})};T();let _=ee[i]||j;_!==j&&"number"!=typeof r[0]&&(g=U([0,100],r,{clamp:!1}),r=[0,100]);let x=_({...f,keyframes:r});"mirror"===l&&(y=_({...f,keyframes:[...r].reverse(),velocity:-(f.velocity||0)}));let C="idle",k=null,S=null,A=null;null===x.calculatedDuration&&o&&(x.calculatedDuration=Q(x));let{calculatedDuration:w}=x,O=1/0,P=1/0;null!==w&&(P=(O=w+a)*(o+1)-a);let I=0,N=e=>{if(null===S)return;v>0&&(S=Math.min(S,e)),v<0&&(S=Math.min(e-P/v,S)),I=null!==k?k:Math.round(e-S)*v;let n=I-t*(v>=0?1:-1),i=v>=0?n<0:n>P;I=Math.max(n,0),"finished"===C&&null===k&&(I=P);let s=I,u=x;if(o){let e=I/O,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);let r=!!(t%2);r&&("reverse"===l?(n=1-n,a&&(n-=a/O)):"mirror"===l&&(u=y));let i=(0,E.u)(0,1,n);I>P&&(i="reverse"===l&&r?1:0),s=i*O}let c=i?{done:!1,value:r[0]}:u.next(s);g&&(c.value=g(c.value));let{done:f}=c;i||null===w||(f=v>=0?I>=P:I<=0);let p=null===k&&("finished"===C||"running"===C&&f);return d&&d(c.value),p&&D(),c},R=()=>{m&&m.stop(),m=void 0},L=()=>{C="idle",R(),p(),T(),S=A=null},D=()=>{C="finished",c&&c(),R(),p()},M=()=>{if(b)return;m||(m=n(N));let e=m.now();s&&s(),null!==k?S=e-k:S&&"finished"!==C||(S=e),"finished"===C&&T(),A=S,k=null,C="running",m.start()};e&&M();let F={then:(e,t)=>h.then(e,t),get time(){return(0,V.X)(I)},set time(newTime){I=newTime=(0,V.w)(newTime),null===k&&m&&0!==v?S=m.now()-newTime/v:k=newTime},get duration(){let e=null===x.calculatedDuration?Q(x):x.calculatedDuration;return(0,V.X)(e)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!m)return;v=newSpeed,F.time=(0,V.X)(I)},get state(){return C},play:M,pause:()=>{C="paused",k=I},stop:()=>{b=!0,"idle"!==C&&(C="idle",u&&u(),L())},cancel:()=>{null!==A&&N(A),L()},complete:()=>{C="finished"},sample:e=>(S=0,N(e))};return F}},62167:function(e,t,n){"use strict";n.d(t,{M:function(){return g}});var r=n(2265),i=n(538);function o(){let e=(0,r.useRef)(!1);return(0,i.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var a=n(72363),l=n(38243),s=n(10961);class u extends r.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let n=(0,r.useId)(),i=(0,r.useRef)(null),o=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{let{width:e,height:r,top:a,left:l}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;let s=document.createElement("style");return document.head.appendChild(s),s.sheet&&s.sheet.insertRule(` 40 [data-motion-pop-id="${n}"] { 41 position: absolute !important; 42 width: ${e}px !important; 43 height: ${r}px !important; 44 top: ${a}px !important; 45 left: ${l}px !important; 46 } 47 `),()=>{document.head.removeChild(s)}},[t]),r.createElement(u,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}let d=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:u})=>{let d=(0,s.h)(f),p=(0,r.useId)(),h=(0,r.useMemo)(()=>({id:p,initial:t,isPresent:n,custom:o,onExitComplete:e=>{for(let t of(d.set(e,!0),d.values()))if(!t)return;i&&i()},register:e=>(d.set(e,!1),()=>d.delete(e))}),a?void 0:[n]);return(0,r.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[n]),r.useEffect(()=>{n||d.size||!i||i()},[n]),"popLayout"===u&&(e=r.createElement(c,{isPresent:n},e)),r.createElement(l.O.Provider,{value:h},e)};function f(){return new Map}var p=n(781),h=n(46567);let m=e=>e.key||"",g=({children:e,custom:t,initial:n=!0,onExitComplete:l,exitBeforeEnter:s,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var f;(0,h.k)(!s,"Replace exitBeforeEnter with mode='wait'");let g=(0,r.useContext)(p.p).forceRender||function(){let e=o(),[t,n]=(0,r.useState)(0),i=(0,r.useCallback)(()=>{e.current&&n(t+1)},[t]),l=(0,r.useCallback)(()=>a.Wi.postRender(i),[i]);return[l,t]}()[0],y=o(),v=function(e){let t=[];
47return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}(e),b=v,E=(0,r.useRef)(new Map).current,T=(0,r.useRef)(b),_=(0,r.useRef)(new Map).current,x=(0,r.useRef)(!0);if((0,i.L)(()=>{x.current=!1,function(e,t){e.forEach(e=>{let n=m(e);t.set(n,e)})}(v,_),T.current=b}),f=()=>{x.current=!0,_.clear(),E.clear()},(0,r.useEffect)(()=>()=>f(),[]),x.current)return r.createElement(r.Fragment,null,b.map(e=>r.createElement(d,{key:m(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:c},e)));b=[...b];let C=T.current.map(m),k=v.map(m),S=C.length;for(let e=0;e<S;e++){let t=C[e];-1!==k.indexOf(t)||E.has(t)||E.set(t,void 0)}return"wait"===c&&E.size&&(b=[]),E.forEach((e,n)=>{if(-1!==k.indexOf(n))return;let i=_.get(n);if(!i)return;let o=C.indexOf(n),a=e;a||(a=r.createElement(d,{key:m(i),isPresent:!1,onExitComplete:()=>{_.delete(n),E.delete(n);let e=T.current.findIndex(e=>e.key===n);if(T.current.splice(e,1),!E.size){if(T.current=v,!1===y.current)return;g(),l&&l()}},custom:t,presenceAffectsLayout:u,mode:c},i),E.set(n,a)),b.splice(o,0,a)}),b=b.map(e=>{let t=e.key;return E.has(t)?e:r.createElement(d,{key:m(e),isPresent:!0,presenceAffectsLayout:u,mode:c},e)}),r.createElement(r.Fragment,null,E.size?b:b.map(e=>(0,r.cloneElement)(e)))}},781:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(2265);let i=(0,r.createContext)({})},45968:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(2265);let i=(0,r.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},38243:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(2265);let i=(0,r.createContext)(null)},927:function(e,t,n){"use strict";n.d(t,{Bn:function(){return a},X7:function(){return l},Z7:function(){return o}});var r=n(90933),i=n(30484);let o=e=>1-Math.sin(Math.acos(e)),a=(0,i.M)(o),l=(0,r.o)(a)},90933:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},30484:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r=e=>t=>1-e(1-t)},72363:function(e,t,n){"use strict";n.d(t,{Pn:function(){return l},Wi:function(){return a},frameData:function(){return s},S6:function(){return u}});var r=n(26977);class i{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["prepare","read","update","preRender","render","postRender"],{schedule:a,cancel:l,state:s,steps:u}=function(e,t){let n=!1,r=!0,a={delta:0,timestamp:0,isProcessing:!1},l=o.reduce((e,t)=>(e[t]=function(e){let t=new i,n=new i,r=0,o=!1,a=!1,l=new WeakSet,s={schedule:(e,i=!1,a=!1)=>{let s=a&&o,u=s?t:n;return i&&l.add(e),u.add(e)&&s&&o&&(r=t.order.length),e},cancel:e=>{n.remove(e),l.delete(e)},process:i=>{if(o){a=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length)for(let n=0;n<r;n++){let r=t.order[n];r(i),l.has(r)&&(s.schedule(r),e())}o=!1,a&&(a=!1,s.process(i))}};return s}(()=>n=!0),e),{}),s=e=>l[e].process(a),u=()=>{let i=performance.now();n=!1,a.delta=r?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,o.forEach(s),a.isProcessing=!1,n&&t&&(r=!1,e(u))},c=()=>{n=!0,r=!0,a.isProcessing||e(u)},d=o.reduce((e,t)=>{let r=l[t];return e[t]=(e,t=!1,i=!1)=>(n||c(),r.schedule(e,t,i)),e},{});return{schedule:d,cancel:e=>o.forEach(t=>l[t].cancel(e)),state:a,steps:l}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},92113:function(e,t,n){"use strict";let r;n.d(t,{E:function(){return rN}});var i,o,a=n(2265),l=n(45968);let s=(0,a.createContext)({});var u=n(38243),c=n(538);let d=(0,a.createContext)({strict:!1});function f(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function p(e){return"string"==typeof e||Array.isArray(e)}function h(e){return"object"==typeof e&&"function"==typeof e.start}let m=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],g=["initial",...m];function y(e){return h(e.animate)||g.some(t=>p(e[t]))}function v(e){return!!(y(e)||e.variants)}function b(e){return Array.isArray(e)?e.join(" "):e}let E={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},T={};for(let e in E)T[e]={isEnabled:t=>E[e].some(e=>!!t[e])};var _=n(16613),x=n(781);let C=(0,a.createContext)({}),k=Symbol.for("motionComponentSymbol"),S=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function A(e){if("string"!=typeof e||e.includes("-"));else if(S.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let w={},O=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],P=new Set(O);function I(e,{layout:t,layoutId:n}){return P.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!w[e]||"opacity"===e)}var N=n(65735);let R={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},L=O.length;var D=n(80417);let M=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var F=n(2980),B=n(43681);let H={...F.Rx,transform:Math.round},U={borderWidth:B.px,borderTopWidth:B.px,borderRightWidth:B.px,borderBottomWidth:B.px,borderLeftWidth:B.px,borderRadius:B.px,radius:B.px,borderTopLeftRadius:B.px,borderTopRightRadius:B.px,borderBottomRightRadius:B.px,borderBottomLeftRadius:B.px,width:B.px,maxWidth:B.px,height:B.px,maxHeight:B.px,size:B.px,top:B.px,right:B.px,bottom:B.px,left:B.px,padding:B.px,paddingTop:B.px,paddingRight:B.px,paddingBottom:B.px,paddingLeft:B.px,margin:B.px,marginTop:B.px,marginRight:B.px,marginBottom:B.px,marginLeft:B.px,rotate:B.RW,rotateX:B.RW,rotateY:B.RW,rotateZ:B.RW,scale:F.bA,scaleX:F.bA,scaleY:F.bA,scaleZ:F.bA,skew:B.RW,skewX:B.RW,skewY:B.RW,distance:B.px,translateX:B.px,translateY:B.px,translateZ:B.px,x:B.px,y:B.px,z:B.px,perspective:B.px,transformPerspective:B.px,opacity:F.Fq,originX:B.$C,originY:B.$C,originZ:B.px,zIndex:H,fillOpacity:F.Fq,strokeOpacity:F.Fq,numOctaves:H};function j(e,t,n,r){let{style:i,vars:o,transform:a,transformOrigin:l}
47=e,s=!1,u=!1,c=!0;for(let e in t){let n=t[e];if((0,D.f9)(e)){o[e]=n;continue}let r=U[e],d=M(n,r);if(P.has(e)){if(s=!0,a[e]=d,!c)continue;n!==(r.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,l[e]=d):i[e]=d}if(!t.transform&&(s||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<L;t++){let n=O[t];if(void 0!==e[n]){let t=R[n]||n;o+=`${t}(${e[n]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,c,r):i.transform&&(i.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:n=0}=l;i.transformOrigin=`${e} ${t} ${n}`}}let V=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function z(e,t,n){for(let r in t)(0,N.i)(t[r])||I(r,n)||(e[r]=t[r])}function G(e,t,n){let r={},i=function(e,t,n){let r=e.style||{},i={};return z(i,r,e),Object.assign(i,function({transformTemplate:e},t,n){return(0,a.useMemo)(()=>{let r=V();return j(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}let W=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function $(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||W.has(e)}let Z=e=>!$(e);try{(i=require("@emotion/is-prop-valid").default)&&(Z=e=>e.startsWith("on")?!$(e):i(e))}catch(e){}function Y(e,t,n){return"string"==typeof e?e:B.px.transform(t+n*e)}let q={offset:"stroke-dashoffset",array:"stroke-dasharray"},K={offset:"strokeDashoffset",array:"strokeDasharray"};function X(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:l=1,pathOffset:s=0,...u},c,d,f){if(j(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){let r=Y(t,e.x,e.width),i=Y(n,e.y,e.height);return`${r} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==r&&(p.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?q:K;e[o.offset]=B.px.transform(-r);let a=B.px.transform(t),l=B.px.transform(n);e[o.array]=`${a} ${l}`}(p,a,l,s,!1)}let J=()=>({...V(),attrs:{}}),Q=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ee(e,t,n,r){let i=(0,a.useMemo)(()=>{let n=J();return X(n,t,{enableHardwareAcceleration:!1},Q(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};z(t,e.style,e),i.style={...t,...i.style}}return i}let et=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function en(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}let er=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ei(e,t,n,r){for(let n in en(e,t,void 0,r),t.attrs)e.setAttribute(er.has(n)?n:et(n),t.attrs[n])}function eo(e,t){let{style:n}=e,r={};for(let i in n)((0,N.i)(n[i])||t.style&&(0,N.i)(t.style[i])||I(i,e))&&(r[i]=n[i]);return r}function ea(e,t){let n=eo(e,t);for(let r in e)if((0,N.i)(e[r])||(0,N.i)(t[r])){let t=-1!==O.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[t]=e[r]}return n}function el(e,t,n,r={},i={}
47){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}var es=n(10961);let eu=e=>Array.isArray(e),ec=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),ed=e=>eu(e)?e[e.length-1]||0:e;function ef(e){let t=(0,N.i)(e)?e.get():e;return ec(t)?t.toValue():t}let ep=e=>(t,n)=>{let r=(0,a.useContext)(s),i=(0,a.useContext)(u.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let a={latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=ef(o[e]);let{initial:a,animate:l}=e,s=y(e),u=v(e);t&&u&&!s&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let c=!!n&&!1===n.initial;c=c||!1===a;let d=c?l:a;if(d&&"boolean"!=typeof d&&!h(d)){let t=Array.isArray(d)?d:[d];t.forEach(t=>{let n=el(e,t);if(!n)return;let{transitionEnd:r,transition:o,...a}=n;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in r)i[e]=r[e]})}return i}(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a})(e,t,r,i);return n?o():(0,es.h)(o)};var eh=n(72363);let em={useVisualState:ep({scrapeMotionValuesFromProps:ea,createRenderState:J,onMount:(e,t,{renderState:n,latestValues:r})=>{eh.Wi.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),eh.Wi.render(()=>{X(n,r,{enableHardwareAcceleration:!1},Q(t.tagName),e.transformTemplate),ei(t,n)})}})},eg={useVisualState:ep({scrapeMotionValuesFromProps:eo,createRenderState:V})};function ey(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let ev=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eb(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let eE=e=>t=>ev(t)&&e(t,eb(t));function eT(e,t,n,r){return ey(e,t,eE(n),r)}var e_=n(44694);function ex(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eC=ex("dragHorizontal"),ek=ex("dragVertical");function eS(e){let t=!1;if("y"===e)t=ek();else if("x"===e)t=eC();else{let e=eC(),n=ek();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function eA(){let e=eS(!0);return!e||(e(),!1)}class ew{constructor(e){this.isMounted=!1,this.node=e}update(){}}function eO(e,t){let n="onHover"+(t?"Start":"End");return eT(e.current,"pointer"+(t?"enter":"leave"),(r,i)=>{if("touch"===r.type||eA())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[n]&&eh.Wi.update(()=>o[n](r,i))},{passive:!e.getProps()[n]})}class eP extends ew{mount(){this.unmount=(0,e_.z)(eO(this.node,!0),eO(this.node,!1))}unmount(){}}class eI extends ew{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,e_.z)(ey(this.node.current,"focus",()=>this.onFocus()),ey(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eN=(e,t)=>!!t&&(e===t||eN(e,t.parentElement));var eR=n(26977);function eL(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,eb(n))}class eD extends ew{constructor(){super(...arguments),this.removeStartListeners=eR.Z,this.removeEndListeners=eR.Z,this.removeAccessibleListeners=eR.Z,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let n=this.node.getProps(),r=eT(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r}=this.node.getProps();eh.Wi.update(()=>{eN(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=eT(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,e_.z)(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=ey(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=ey(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&eL("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&eh.Wi.update(()=>n(e,t))})}),eL("down",(e,t)=>{this.startPress(e,t)}))}),t=ey(this.node.current,"blur",()=>{this.isPressing&&eL("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,e_.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&eh.Wi.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let e=this.node.getProps();return e.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eA()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&eh.Wi.update(()=>n(e,t))}mount(){let e=this.node.getProps(),t=eT(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ey(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,e_.z)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eM=new WeakMap,eF=new WeakMap,eB=e=>{let t=eM.get(e.target);t&&t(e)},eH=e=>{e.forEach(eB)},eU={some:0,all:1};class ej extends ew{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:eU[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;eF.has(n)||eF.set(n,{});let r=eF.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(eH,{root:e,...t})),r[i]}(t);return eM.set(e,n),r.observe(e),()=>{eM.delete(e),r.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node,n=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t));n&&this.startObserver()}unmount(){}}function eV(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function ez(e,t,n){let r=e.getProps();return el(r,t,void 0!==n?n:r.custom,function(e){let t={};
47return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}let eG="data-"+et("framerAppearId");var eW=n(46567),e$=n(81356);let eZ={current:!1},eY=e=>Array.isArray(e)&&"number"==typeof e[0],eq=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,eK={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eq([0,.65,.55,1]),circOut:eq([.55,0,1,.45]),backIn:eq([.31,.01,.66,-.59]),backOut:eq([.33,1.53,.69,.99])};var eX=n(78371);let eJ=(o=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===r&&(r=o()),r)),eQ=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),e0=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&eK[t]||eY(t)||Array.isArray(t)&&t.every(e))}(t.ease),e1={type:"spring",stiffness:500,damping:25,restSpeed:10},e5=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),e2={type:"keyframes",duration:.8},e3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e9=(e,{keyframes:t})=>t.length>2?e2:P.has(e)?e.startsWith("scale")?e5(t[1]):e1:e3;var e7=n(89155);let e6=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(e7.P.test(t)||"0"===t)&&!t.startsWith("url("));var e8=n(2038);let e4=new Set(["brightness","contrast","saturate","opacity"]);function te(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(e8.KP)||[];if(!r)return e;let i=n.replace(r,""),o=e4.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}let tt=/([a-z-]*)\(.*?\)/g,tn={...e7.P,getAnimatableNone:e=>{let t=e.match(tt);return t?t.map(te).join(" "):e}};var tr=n(2199);let ti={...U,color:tr.$,backgroundColor:tr.$,outlineColor:tr.$,fill:tr.$,stroke:tr.$,borderColor:tr.$,borderTopColor:tr.$,borderRightColor:tr.$,borderBottomColor:tr.$,borderLeftColor:tr.$,filter:tn,WebkitFilter:tn},to=e=>ti[e];function ta(e,t){let n=to(e);return n!==tn&&(n=e7.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let tl=e=>/^0[^.\s]+$/.test(e);function ts(e,t){return e[t]||e.default||e}let tu=(e,t,n,r={})=>i=>{let o=ts(r,e)||{},a=o.delay||r.delay||0,{elapsed:l=0}=r;l-=(0,e$.w)(a);let s=function(e,t,n,r){let i,o;let a=e6(t,n);i=Array.isArray(n)?[...n]:[null,n];let l=void 0!==r.from?r.from:e.get(),s=[];for(let e=0;e<i.length;e++){var u;null===i[e]&&(i[e]=0===e?l:i[e-1]),("number"==typeof(u=i[e])?0===u:null!==u?"none"===u||"0"===u||tl(u):void 0)&&s.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(o=i[e])}if(a&&s.length&&o)for(let e=0;e<s.length;e++){let n=s[e];i[n]=ta(t,o)}return i}(t,e,n,o),u=s[0],c=s[s.length-1],d=e6(e,u),f=e6(e,c);(0,eW.K)(d===f,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let p={keyframes:s,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:l,from:s,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(p={...p,...e9(e,p)}),p.duration&&(p.duration=(0,e$.w)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,e$.w)(p.repeatDelay)),!d||!f||eZ.current||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){let i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:eR.Z,pause:eR.Z,stop:eR.Z,then:e=>(e(),Promise.resolve()),cancel:eR.Z,complete:eR.Z});return t?(0,eX.y)({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(eZ.current?{...p,delay:0}:p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let n=function(e,t,{onUpdate:n,onComplete:r,...i}){let o,a;let l=eJ()&&eQ.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type;if(!l)return!1;let s=!1,u=()=>{a=new Promise(e=>{o=e})};u();let{keyframes:c,duration:d=300,ease:f,times:p}=i;if(e0(t,i)){let e=(0,eX.y)({...i,repeat:0,delay:0}),t={done:!1,value:c[0]},n=[],r=0;for(;!t.done&&r<2e4;
47)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,d=r-10,f="linear"}let h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:l,times:s}={}){let u={[t]:n};s&&(u.offset=s);let c=function e(t){if(t)return eY(t)?eq(t):Array.isArray(t)?t.map(e):eK[t]}(l);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:d,ease:f,times:p});i.syncStart&&(h.startTime=eh.frameData.isProcessing?eh.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());let m=()=>h.cancel(),g=()=>{eh.Wi.update(m),o(),u()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){let r=t&&"loop"!==n&&t%2==1?0:e.length-1;return e[r]}(c,i)),r&&r(),g()},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(h.timeline=e,h.onfinish=null,eR.Z),get time(){return(0,e$.X)(h.currentTime||0)},set time(newTime){h.currentTime=(0,e$.w)(newTime)},get speed(){return h.playbackRate},set speed(newSpeed){h.playbackRate=newSpeed},get duration(){return(0,e$.X)(d)},play:()=>{s||(h.play(),(0,eh.Pn)(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;let{currentTime:t}=h;if(t){let n=(0,eX.y)({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>h.finish(),cancel:g}}(t,e,p);if(n)return n}return(0,eX.y)(p)};function tc(e){return!!((0,N.i)(e)&&e.add)}let td=e=>/^\-?\d*\.?\d+$/.test(e);var tf=n(74101);let tp=e=>t=>t.test(e),th=[F.Rx,B.px,B.aQ,B.RW,B.vw,B.vh,{test:e=>"auto"===e,parse:e=>e}],tm=e=>th.find(tp(e)),tg=[...th,tr.$,e7.P],ty=e=>tg.find(tp(e));function tv(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=e.makeTargetAnimatable(t),s=e.getValue("willChange");r&&(o=r);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let r=e.getValue(t),i=l[t];if(!r||void 0===i||c&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(c,t))continue;let a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){let n=e.getProps()[eG];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,eh.Wi),a.syncStart=!0)}r.start(tu(t,r,i,e.shouldReduceMotion&&P.has(t)?{type:!1}:a));let d=r.animation;tc(s)&&(s.add(t),d.then(()=>s.remove(t))),u.push(d)}return a&&Promise.all(u).then(()=>{a&&function(e,t){let n=ez(e,t),{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};for(let t in o={...o,...r}){let n=ed(o[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,tf.BX)(n))}}(e,a)}),u}function tb(e,t,n={}){let r=ez(e,t,n.custom),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(tv(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:l}=i;return function(e,t,n=0,r=0,i=1,o){let a=[],l=(e.variantChildren.size-1)*r,s=1===i?(e=0)=>e*r:(e=0)=>l-e*r;return Array.from(e.variantChildren).sort(tE).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(tb(e,t,{...o,delay:n+s(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,l,n)}:()=>Promise.resolve(),{when:l}=i;if(!l)return Promise.all([o(),a(n.delay)]);{let[e,t]="beforeChildren"===l?[o,a]:[a,o];return e().then(()=>t())}}function tE(e,t){return e.sortNodePosition(t)}let tT=[...m].reverse(),t_=m.length;function tx(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class tC extends ew{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){let i=t.map(t=>tb(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=tb(e,t,n);else{let i="function"==typeof t?ez(e,t,n.custom):t;r=Promise.all(tv(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))})(e,t,n))),n={animate:tx(!0),whileInView:tx(),whileHover:tx(),whileTap:tx(),whileDrag:tx(),whileFocus:tx(),exit:tx()},r=!0,i=(t,n)=>{let r=ez(e,n);if(r){let{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){let l=e.getProps(),s=e.getVariantContext(!0)||{},u=[],c=new Set,d={},f=1/0;for(let t=0;t<t_;t++){var m;let g=tT[t],y=n[g],v=void 0!==l[g]?l[g]:s[g],b=p(v),E=g===a?y.isActive:null;!1===E&&(f=t);let T=v===s[g]&&v!==l[g]&&b;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),y.protectedKeys={...d},!y.isActive&&null===E||!v&&!y.prevProp||h(v)||"boolean"==typeof v)continue;let _=(m=y.prevProp,"string"==typeof v?v!==m:!!Array.isArray(v)&&!eV(v,m)),x=_||g===a&&y.isActive&&!T&&b||t>f&&b,C=Array.isArray(v)?v:[v],k=C.reduce(i,{});!1===E&&(k={});let{prevResolvedValues:S={}}=y,A={...S,...k},w=e=>{x=!0,c.delete(e),y.needsAnimating[e]=!0};for(let e in A){let t=k[e],n=S[e];d.hasOwnProperty(e)||(t!==n?eu(t)&&eu(n)?!eV(t,n)||_?w(e):y.protectedKeys[e]=!0:void 0!==t?w(e):c.add(e):void 0!==t&&c.has(e)?w(e):y.protectedKeys[e]=!0)}y.prevProp=v,y.prevResolvedValues=k,y.isActive&&(d={...d,...k}),r&&e.blockInitialAnimation&&(x=!1),x&&!T&&u.push(...C.map(e=>({animation:e,options:{type:g,...o}})))}if(c.size){let t={};
47c.forEach(n=>{let r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),u.push({animation:t})}let g=!!u.length;return r&&!1===l.initial&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let l=o(i,t);for(let e in n)n[e].protectedKeys={};return l},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),h(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let tk=0;class tS extends ew{constructor(){super(...arguments),this.id=tk++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let tA=(e,t)=>Math.abs(e-t);class tw{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=tI(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){let n=tA(e.x,t.x),r=tA(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=eh.frameData;this.history.push({...r,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=tO(t,this.transformPagePoint),eh.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:n,onSessionEnd:r}=this.handlers,i=tI("pointercancel"===e.type?this.lastMoveEventInfo:tO(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!ev(e))return;this.handlers=t,this.transformPagePoint=n;let r=eb(e),i=tO(r,this.transformPagePoint),{point:o}=i,{timestamp:a}=eh.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,tI(i,this.history)),this.removeListeners=(0,e_.z)(eT(window,"pointermove",this.handlePointerMove),eT(window,"pointerup",this.handlePointerUp),eT(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,eh.Pn)(this.updatePoint)}}function tO(e,t){return t?{point:t(e.point)}:e}function tP(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tI({point:e},t){return{point:e,delta:tP(e,tN(t)),offset:tP(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=tN(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,e$.w)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,e$.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function tN(e){return e[e.length-1]}var tR=n(42868),tL=n(40007);function tD(e){return e.max-e.min}function tM(e,t=0,n=.01){return Math.abs(e-t)<=n}function tF(e,t,n,r=.5){e.origin=r,e.originPoint=(0,tL.C)(t.min,t.max,e.origin),e.scale=tD(n)/tD(t),(tM(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,tL.C)(n.min,n.max,e.origin)-e.originPoint,(tM(e.translate)||isNaN(e.translate))&&(e.translate=0)}function tB(e,t,n,r){tF(e.x,t.x,n.x,r?r.originX:void 0),tF(e.y,t.y,n.y,r?r.originY:void 0)}function tH(e,t,n){e.min=n.min+t.min,e.max=e.min+tD(t)}function tU(e,t,n){e.min=t.min-n.min,e.max=e.min+tD(t)}function tj(e,t,n){tU(e.x,t.x,n.x),tU(e.y,t.y,n.y)}
47var tV=n(43021);function tz(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function tG(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function tW(e,t,n){return{min:t$(e,t),max:t$(e,n)}}function t$(e,t){return"number"==typeof e?e:e[t]||0}let tZ=()=>({translate:0,scale:1,origin:0,originPoint:0}),tY=()=>({x:tZ(),y:tZ()}),tq=()=>({min:0,max:0}),tK=()=>({x:tq(),y:tq()});function tX(e){return[e("x"),e("y")]}function tJ({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function tQ(e){return void 0===e||1===e}function t0({scale:e,scaleX:t,scaleY:n}){return!tQ(e)||!tQ(t)||!tQ(n)}function t1(e){return t0(e)||t5(e)||e.z||e.rotate||e.rotateX||e.rotateY}function t5(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function t2(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function t3(e,t=0,n=1,r,i){e.min=t2(e.min,t,n,r,i),e.max=t2(e.max,t,n,r,i)}function t9(e,{x:t,y:n}){t3(e.x,t.translate,t.scale,t.originPoint),t3(e.y,n.translate,n.scale,n.originPoint)}function t7(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function t6(e,t){e.min=e.min+t,e.max=e.max+t}function t8(e,t,[n,r,i]){let o=void 0!==t[i]?t[i]:.5,a=(0,tL.C)(e.min,e.max,o);t3(e,t[n],t[r],a,t.scale)}let t4=["x","scaleX","originX"],ne=["y","scaleY","originY"];function nt(e,t){t8(e.x,t,t4),t8(e.y,t,ne)}function nn(e,t){return tJ(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let nr=new WeakMap;class ni{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tK(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;n&&!1===n.isPresent||(this.panSession=new tw(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(eb(e,"page").point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eS(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tX(e=>{let t=this.getAxisMotionValue(e).get()||0;if(B.aQ.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=tD(r);t=e*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&eh.Wi.update(()=>i(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&eh.Wi.update(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!no(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,tL.C)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,tL.C)(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&f(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:tz(e.x,n,i),y:tz(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:tW(e,"left","right"),y:tW(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&tX(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!f(t))return!1;let r=t.current;(0,eW.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=nn(e,n),{scroll:i}=t;return i&&(t6(r.x,i.offset.x),t6(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a={x:tG((e=i.layout.layoutBox).x,o.x),y:tG(e.y,o.y)};if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=tJ(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},s=tX(a=>{if(!no(a,t,this.currentDirection))return;let s=l&&l[a]||{};o&&(s={min:0,max:0});let u={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...s};return this.startAxisValueAnimation(a,u)});return Promise.all(s).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(tu(e,n,0,t))}stopAnimation(){tX(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){tX(t=>{let{drag:n}=this.getProps();if(!no(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-(0,tL.C)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!f(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};tX(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();r[e]=function(e,t){let n=.5,r=tD(e),i=tD(t);return i>r?n=(0,tR.Y)(t.min,t.max-r,e.min):r>i&&(n=(0,tR.Y)(e.min,e.max-i,t.min)),(0,tV.u)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),tX(t=>{if(!no(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set((0,tL.C)(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;nr.set(this.visualElement,this);let e=this.visualElement.current,t=eT(e,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
47=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();f(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();let o=ey(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(tX(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function no(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class na extends ew{constructor(e){super(e),this.removeGroupControls=eR.Z,this.removeListeners=eR.Z,this.controls=new ni(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eR.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let nl=e=>(t,n)=>{e&&eh.Wi.update(()=>e(t,n))};class ns extends ew{constructor(){super(...arguments),this.removePointerDownListener=eR.Z}onPointerDown(e){this.session=new tw(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:nl(e),onStart:nl(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&eh.Wi.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=eT(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nd={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!B.px.test(e))return e;e=parseFloat(e)}let n=nc(e,t.target.x),r=nc(e,t.target.y);return`${n}% ${r}%`}};class nf extends a.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(w,nh),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||eh.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function np(e){let[t,n]=function(){let e=(0,a.useContext)(u.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,a.useId)();return(0,a.useEffect)(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=(0,a.useContext)(x.p);return a.createElement(nf,{...e,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(C),isPresent:t,safeToRemove:n})}let nh={borderRadius:{...nd,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nd,borderTopRightRadius:nd,borderBottomLeftRadius:nd,borderBottomRightRadius:nd,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e7.P.parse(e);if(r.length>5)return e;let i=e7.P.createTransformer(e),o="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+o]/=a,r[1+o]/=l;let s=(0,tL.C)(a,l,.5);return"number"==typeof r[2+o]&&(r[2+o]/=s),"number"==typeof r[3+o]&&(r[3+o]/=s),i(r)}}};var nm=n(27026),ng=n(927);let ny=["TopLeft","TopRight","BottomLeft","BottomRight"],nv=ny.length,nb=e=>"string"==typeof e?parseFloat(e):e,nE=e=>"number"==typeof e||B.px.test(e);function nT(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let n_=nC(0,.5,ng.Bn),nx=nC(.5,.95,eR.Z);function nC(e,t,n){return r=>r<e?0:r>t?1:n((0,tR.Y)(e,t,r))}function nk(e,t){e.min=t.min,e.max=t.max}function nS(e,t){nk(e.x,t.x),nk(e.y,t.y)}function nA(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}
47function nw(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(B.aQ.test(t)){t=parseFloat(t);let e=(0,tL.C)(a.min,a.max,t/100);t=e-a.min}if("number"!=typeof t)return;let l=(0,tL.C)(o.min,o.max,r);e===o&&(l-=t),e.min=nA(e.min,t,n,l,i),e.max=nA(e.max,t,n,l,i)}(e,t[n],t[r],t[i],t.scale,o,a)}let nO=["x","scaleX","originX"],nP=["y","scaleY","originY"];function nI(e,t,n,r){nw(e.x,t,nO,n?n.x:void 0,r?r.x:void 0),nw(e.y,t,nP,n?n.y:void 0,r?r.y:void 0)}function nN(e){return 0===e.translate&&1===e.scale}function nR(e){return nN(e.x)&&nN(e.y)}function nL(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function nD(e){return tD(e.x)/tD(e.y)}var nM=n(77081);class nF{constructor(){this.members=[]}add(e){(0,nM.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,nM.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}
47function nB(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}let nH=(e,t)=>e.depth-t.depth;class nU{constructor(){this.children=[],this.isDirty=!1}add(e){(0,nM.y4)(this.children,e),this.isDirty=!0}remove(e){(0,nM.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nH),this.isDirty=!1,this.children.forEach(e)}}let nj=["","X","Y","Z"],nV=0,nz={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function nG({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=null==t?void 0:t()){this.id=nV++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{nz.totalNodes=nz.resolvedTargetDeltas=nz.recalculatedProjection=0,this.nodes.forEach(nZ),this.nodes.forEach(n0),this.nodes.forEach(n1),this.nodes.forEach(nY),window.MotionDebug&&window.MotionDebug.record(nz)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new nU)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new nm.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=performance.now(),r=({timestamp:i})=>{let o=i-n;o>=t&&((0,eh.Pn)(r),e(o-t))};return eh.Wi.read(r,!0),()=>(0,eh.Pn)(r)}(r,250),nu.hasAnimatedSinceResize&&(nu.hasAnimatedSinceResize=!1,this.nodes.forEach(nQ))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||n6,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=o.getProps(),s=!this.targetLayout||!nL(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(s||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...ts(i,"layout"),onPlay:a,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||nQ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,eh.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
47h(n5),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;let e=this.isUpdateBlocked();if(e){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nK);return}this.isUpdating||this.nodes.forEach(nX),this.isUpdating=!1,this.nodes.forEach(nJ),this.nodes.forEach(nW),this.nodes.forEach(n$),this.clearAllSnapshots();let t=performance.now();eh.frameData.delta=(0,tV.u)(0,1e3/60,t-eh.frameData.timestamp),eh.frameData.timestamp=t,eh.frameData.isProcessing=!0,eh.S6.update.process(eh.frameData),eh.S6.preRender.process(eh.frameData),eh.S6.render.process(eh.frameData),eh.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(nq),this.sharedNodes.forEach(n2)}scheduleUpdateProjection(){eh.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){eh.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){let t=this.path[e];t.updateScroll()}let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tK(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!nR(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||t1(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),re((t=r).x),re(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return tK();let t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(t6(t.x,n.offset.x),t6(t.y,n.offset.y)),t}removeElementScroll(e){let t=tK();nS(t,e);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){nS(t,e);let{scroll:n}=this.root;n&&(t6(t.x,-n.offset.x),t6(t.y,-n.offset.y))}t6(t.x,i.offset.x),t6(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){let n=tK();nS(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&nt(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),t1(r.latestValues)&&nt(n,r.latestValues)}return t1(this.latestValues)&&nt(n,this.latestValues),n}removeTransform(e){let t=tK();nS(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!t1(n.latestValues))continue;t0(n.latestValues)&&n.updateSnapshot();let r=tK(),i=n.measurePageBox();
47nS(r,i),nI(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return t1(this.latestValues)&&nI(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eh.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,n,r,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==o,l=!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(l)return;let{layout:s,layoutId:u}=this.options;if(this.layout&&(s||u)){if(this.resolvedRelativeTargetAt=eh.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tK(),this.relativeTargetOrigin=tK(),tj(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nS(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=tK(),this.targetWithTransforms=tK()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,tH(n.x,r.x,i.x),tH(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nS(this.target,this.layout.layoutBox),t9(this.target,this.targetDelta)):nS(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tK(),this.relativeTargetOrigin=tK(),tj(this.relativeTargetOrigin,this.target,e.target),nS(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nz.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||t0(this.parent.latestValues)||t5(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eh.frameData.timestamp&&(r=!1),r)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;nS(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,l=this.treeScale.y;!function(e,t,n,r=!1){let i,o;let a=n.length;if(a){t.x=t.y=1;for(let l=0;l<a;l++){o=(i=n[l]).projectionDelta;let a=i.instance;(!a||!a.style||"contents"!==a.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&nt(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,t9(e,o)),r&&t1(i.latestValues)&&nt(e,i.latestValues))}t.x=t7(t.x),t.y=t7(t.y)}}(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox);let{target:s}=t;if(!s){this.projectionTransform&&(this.projectionDelta=tY(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=tY(),this.projectionDeltaWithTransform=tY());let u=this.projectionTransform;tB(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=nB(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==l)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),nz.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},a=tY();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=tK(),s=r?r.source:void 0,u=this.layout?this.layout.source:void 0,c=s!==u,d=this.getStack(),f=!d||d.members.length<=1,p=!!(c&&!f&&!0===this.options.crossfade&&!this.path.some(n7));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(n3(a.x,e.x,r),n3(a.y,e.y,r),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var s,u,d,h;tj(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,h=this.relativeTargetOrigin,n9(d.x,h.x,l.x,r),n9(d.y,h.y,l.y,r),n&&(s=this.relativeTarget,u=n,s.x.min===u.x.min&&s.x.max===u.x.max&&s.y.min===u.y.min&&s.y.max===u.y.max)&&(this.isProjectionDirty=!1),n||(n=tK()),nS(n,this.relativeTarget)}c&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=(0,tL.C)(0,void 0!==n.opacity?n.opacity:1,n_(r)),e.o
47pacityExit=(0,tL.C)(void 0!==t.opacity?t.opacity:1,0,nx(r))):o&&(e.opacity=(0,tL.C)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<nv;i++){let o=`border${ny[i]}Radius`,a=nT(t,o),l=nT(n,o);if(void 0===a&&void 0===l)continue;a||(a=0),l||(l=0);let s=0===a||0===l||nE(a)===nE(l);s?(e[o]=Math.max((0,tL.C)(nb(a),nb(l),r),0),(B.aQ.test(l)||B.aQ.test(a))&&(e[o]+="%")):e[o]=l}(t.rotate||n.rotate)&&(e.rotate=(0,tL.C)(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,p,f)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eh.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eh.Wi.update(()=>{nu.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=(0,N.i)(e)?e:(0,tf.BX)(e);return r.start(tu("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&rt(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||tK();let t=tD(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=tD(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}nS(t,n),nt(t,i),tB(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nF);let n=this.sharedNodes.get(e);n.add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;let r={};for(let t=0;t<nj.length;t++){let i="rotate"+nj[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}for(let t in e.render(),r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ef(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ef(e.pointerEvents)||""),this.hasProjected&&!t1(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=nB(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));let{x:l,y:s}=this.projectionDelta;for(let e in r.transformOrigin=`${100*l.origin}% ${100*s.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,w){if
47(void 0===a[e])continue;let{correct:t,applyTo:n}=w[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?ef(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(nK),this.root.sharedNodes.clear()}}}function nW(e){e.updateLayout()}function n$(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?tX(e=>{let r=o?n.measuredBox[e]:n.layoutBox[e],i=tD(r);r.min=t[e].min,r.max=r.min+i}):rt(i,n.layoutBox,t)&&tX(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],a=tD(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});let a=tY();tB(a,t,n.layoutBox);let l=tY();o?tB(l,e.applyTransform(r,!0),n.measuredBox):tB(l,t,n.layoutBox);let s=!nR(a),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let a=tK();tj(a,n.layoutBox,i.layoutBox);let l=tK();tj(l,t,o.layoutBox),nL(a,l)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:s,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nZ(e){nz.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nY(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nq(e){e.clearSnapshot()}function nK(e){e.clearMeasurements()}function nX(e){e.isLayoutDirty=!1}function nJ(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nQ(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n0(e){e.resolveTargetDelta()}function n1(e){e.calcProjection()}function n5(e){e.resetRotation()}function n2(e){e.removeLeadSnapshot()}function n3(e,t,n){e.translate=(0,tL.C)(t.translate,0,n),e.scale=(0,tL.C)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function n9(e,t,n,r){e.min=(0,tL.C)(t.min,n.min,r),e.max=(0,tL.C)(t.max,n.max,r)}function n7(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let n6={duration:.45,ease:[.4,0,.1,1]},n8=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),n4=n8("applewebkit/")&&!n8("chrome/")?Math.round:eR.Z;function re(e){e.min=n4(e.min),e.max=n4(e.max)}function rt(e,t,n){return"position"===e||"preserve-aspect"===e&&!tM(nD(t),nD(n),.2)}let rn=nG({attachResizeListener:(e,t)=>ey(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rr={current:void 0},ri=nG({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rr.current){let e=new rn({});e.mount(window),e.setOptions({layoutScroll:!0}),rr.current=e}return rr.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),ro=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ra(e,t,n=1){(0,eW.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=function(e){let t=ro.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]}(e);if(!r)return;let o=window.getComputedStyle(t).getPropertyValue(r);if(o){let e=o.trim();return td(e)?parseFloat(e):e}return(0,D.tm)(i)?ra(i,t,n+1):i}
47let rl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rs=e=>rl.has(e),ru=e=>Object.keys(e).some(rs),rc=e=>e===F.Rx||e===B.px,rd=(e,t)=>parseFloat(e.split(", ")[t]),rf=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return rd(i[1],t);{let t=r.match(/^matrix\((.+)\)$/);return t?rd(t[1],e):0}},rp=new Set(["x","y","z"]),rh=O.filter(e=>!rp.has(e)),rm={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:rf(4,13),y:rf(5,14)};rm.translateX=rm.x,rm.translateY=rm.y;let rg=(e,t,n)=>{let r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,l={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{l[e]=rm[e](r,o)}),t.render();let s=t.measureViewportBox();return n.forEach(n=>{let r=t.getValue(n);r&&r.jump(l[n]),e[n]=rm[n](s,o)}),e},ry=(e,t,n={},r={})=>{t={...t},r={...r};let i=Object.keys(t).filter(rs),o=[],a=!1,l=[];
47if(i.forEach(i=>{let s;let u=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],d=tm(c),f=t[i];if(eu(f)){let e=f.length,t=null===f[0]?1:0;d=tm(c=f[t]);for(let n=t;n<e&&null!==f[n];n++)s?(0,eW.k)(tm(f[n])===s,"All keyframes must be of the same type"):(s=tm(f[n]),(0,eW.k)(s===d||rc(d)&&rc(s),"Keyframes must be of the same dimension as the current value"))}else s=tm(f);if(d!==s){if(rc(d)&&rc(s)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof f?t[i]=parseFloat(f):Array.isArray(f)&&s===B.px&&(t[i]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==s?void 0:s.transform)&&(0===c||0===f)?0===c?u.set(s.transform(c)):t[i]=d.transform(f):(a||(o=function(e){let t=[];return rh.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),l.push(i),r[i]=void 0!==r[i]?r[i]:t[i],u.jump(f))}}),!l.length)return{target:t,transitionEnd:r};{let n=l.indexOf("height")>=0?window.pageYOffset:null,i=rg(t,e,l);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),_.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},rv=(e,t,n,r)=>{var i,o;let a=function(e,{...t},n){let r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};for(let i in n&&(n={...n}),e.values.forEach(e=>{let t=e.get();if(!(0,D.tm)(t))return;let n=ra(t,r);n&&e.set(n)}),t){let e=t[i];if(!(0,D.tm)(e))continue;let o=ra(e,r);o&&(t[i]=o,n||(n={}),void 0===n[i]&&(n[i]=e))}return{target:t,transitionEnd:n}}(e,t,r);return t=a.target,r=a.transitionEnd,i=t,o=r,ru(i)?ry(e,i,n,o):{target:i,transitionEnd:o}},rb={current:null},rE={current:!1},rT=new WeakMap,r_=Object.keys(T),rx=r_.length,rC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rk=g.length;class rS{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eh.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=y(t),this.isVariantNode=v(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:s,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==a[e]&&(0,N.i)(t)&&(t.set(a[e],!1),tc(s)&&s.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,rT.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),rE.current||function(){if(rE.current=!0,_.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rb.current=e.matches;e.addListener(t),t()}else rb.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rb.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in rT.delete(this.current),this.projection&&this.projection.unmount(),(0,eh.Pn)(this.notifyUpdate),(0,eh.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let n=P.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eh.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;for(let e=0;e<rx;e++){let n=r_[e],{isEnabled:r,Feature:i,ProjectionNode:l,MeasureLayout:s}=T[n];l&&(o=l),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),s&&(a=s))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:s}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:!!r||a&&f(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:s})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];
47t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tK()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rC.length;t++){let n=rC[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){let{willChange:r}=t;for(let i in t){let o=t[i],a=n[i];if((0,N.i)(o))e.addValue(i,o),tc(r)&&r.add(i);else if((0,N.i)(a))e.addValue(i,(0,tf.BX)(o,{owner:e})),tc(r)&&r.remove(i);else if(a!==o){if(e.hasValue(i)){let t=e.getValue(i);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,(0,tf.BX)(void 0!==t?t:o,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<rk;e++){let n=g[e],r=this.props[n];(p(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,tf.BX)(t,{owner:this}),this.addValue(e,n)),n}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=el(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,N.i)(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new nm.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class rA extends rS{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){let r={};for(let i in e){let e=function(e,t){if(!t)return;let n=t[e]||t.default||t;return n.from}(i,t);if(void 0!==e)r[i]=e;else{let e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let l=0;l<a;l++){let a=o[l],s=t[a],u=null;Array.isArray(s)&&(u=s[0]),null===u&&(u=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=u&&("string"==typeof u&&(td(u)||tl(u))?u=parseFloat(u):!ty(u)&&e7.P.test(s)&&(u=ta(a,s)),e.addValue(a,(0,tf.BX)(u,{owner:e})),void 0===n[a]&&(n[a]=u),null!==u&&e.setBaseTarget(a,u))}}(this,n,o);let e=rv(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class rw extends rA{readValueFromInstance(e,t){if(P.has(t)){let e=to(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,D.f9)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return nn(e,t)}build(e,t,n,r){j(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return eo(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,N.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){en(e,t,n,r)}}class rO extends rA{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(P.has(t)){let e=to(t);return e&&e.default||0}return t=er.has(t)?t:et(t),e.getAttribute(t)}measureInstanceViewportBox(){return tK()}scrapeMotionValuesFromProps(e,t){return ea(e,t)}build(e,t,n,r){X(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){ei(e,t,n,r)}mount(e){this.isSVGTag=Q(e.tagName),super.mount(e)}}let rP=(e,t)=>A(e)?new rO(t,{enableHardwareAcceleration:!1}):new rw(t,{enableHardwareAcceleration:!0}),rI={animation:{Feature:tC},exit:{Feature:tS},inView:{Feature:ej},tap:{Feature:eD},focus:{Feature:eI},hover:{Feature:eP},pan:{Feature:ns},drag:{Feature:na,ProjectionNode:ri,MeasureLayout:np},layout:{ProjectionNode:ri,MeasureLayout:np}},rN=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&function(e){for(let t in e)T[t]={...T[t],...e[t]}}(e);let o=(0,a.forwardRef)(function(o,h){var m;let g;let v={...(0,a.useContext)(l._),...o,layoutId:function({layoutId:e}){let t=(0,a.useContext)(x.p).id;return t&&void 0!==e?t+"-"+e:e}(o)},{isStatic:E}=v,T=function(e){let{initial:t,animate:n}=function(e,t){if(y(e)){let{initial:t,animate:n}=e;return{initial:!1===t||p(t)?t:void 0,animate:p(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(s));return(0,a.useMemo)(()=>({initial:t,animate:n}),[b(t),b(n)])}(o),k=r(o,E);if(!E&&_.j){T.visualElement=function(e,t,n,r){let{visualElement:i}=(0,a.useContext)(s),o=(0,a.useContext)(d),f=(0,a.useContext)(u.O),p=(0,a.useContext)(l._).reducedMotion,h=(0,a.useRef)();r=r||o.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:i,props:n,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:p}));let m=h.current;(0,a.useInsertionEffect)(()=>{m&&m.update(n,f)});let g=(0,a.useRef)(!!window.HandoffAppearAnimations);return(0,c.L)(()=>{m&&(m.render(),g.current&&m.animationState&&m.animationState.animateChanges())}),(0,a.useEffect)(()=>{m&&(m.updateFeatures(),!g.current&&m.animationState&&m.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,g.current=!1)}),m}(i,k,v,t);let n=(0,a.useContext)(C),r=(0,a.useContext)(d).strict;T.visualElement&&(g=T.visualElement.loadFeatures(v,r,e,n))}return a.createElement(s.Provider,{value:T},g&&T.visualElement?a.createElement(g,{visualElement:T.visualElement,...v}):null,n(i,o,(m=T.visualElement,(0,a.useCallback)(e=>{e&&k.mount&&k.mount(e),m&&(e?m.mount(e):m.unmount()),h&&("function"==typeof h?h(e):f(h)&&(h.current=e))},[m])),k,E,T.visualElement))});return o[k]=i,o}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},n,r){let i=A(e)?em:eg;return{...i,preloadedFeatures:n,useRender:function(e=!1){return(t,n,r,{latestValues:i},o)=>{let l=A(t)?ee:G,s=l(n,i,o,t),u=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(Z(i)||!0===n&&$(i)||!t&&!$(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),c={...u,...s,ref:r},{children:d}=n,f=(0,a.useMemo)(()=>(0,N.i)(d)?d.get():d,[d]);return(0,a.createElement)(t,{...c,children:f})}}(t),createVisualElement:r,Component:e}})(e,t,rI,rP))},80417:function(e,t,n){"use strict";n.d(t,{Xp:function(){return a},f9:function(){return i},tm:function(){return o}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),a=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?
47:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},77081:function(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return i},y4:function(){return r}})},43021:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});let r=(e,t,n)=>Math.min(Math.max(n,e),t)},46567:function(e,t,n){"use strict";n.d(t,{K:function(){return i},k:function(){return o}});var r=n(26977);let i=r.Z,o=r.Z},16613:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r="undefined"!=typeof document},40007:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=(e,t,n)=>-n*e+n*t+e},26977:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e},44694:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},42868:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}},27026:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(77081);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.y4)(this.subscriptions,e),()=>(0,r.cl)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},81356:function(e,t,n){"use strict";n.d(t,{X:function(){return i},w:function(){return r}});let r=e=>1e3*e,i=e=>e/1e3},10961:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(2265);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},86165:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var r=n(2265),i=n(46567);let o={some:0,all:1};function a(e,{root:t,margin:n,amount:a,once:l=!1}={}){let[s,u]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current||l&&s)return;let r={root:t&&t.current||void 0,margin:n,amount:a};return function(e,t,{root:n,margin:r,amount:a="some"}={}){let l=function(e,t,n){var r;if("string"==typeof e){let o=document;t&&((0,i.k)(!!t.current,"Scope provided, but no element detected."),o=t.current),n?(null!==(r=n[e])&&void 0!==r||(n[e]=o.querySelectorAll(e)),e=n[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}(e),s=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let n=s.get(e.target);if(!!n!==e.isIntersecting){if(e.isIntersecting){let n=t(e);"function"==typeof n?s.set(e.target,n):u.unobserve(e.target)}else n&&(n(e),s.delete(e.target))}})},{root:n,rootMargin:r,threshold:"number"==typeof a?a:o[a]});return l.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(u(!0),l?void 0:()=>u(!1)),r)},[t,e,n,l]),s}},538:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2265),i=n(16613);let o=i.j?r.useLayoutEffect:r.useEffect},69815:function(e,t,n){"use strict";function r(e,t){return t?e*(1e3/t):0}n.d(t,{R:function(){return r}})},74101:function(e,t,n){"use strict";n.d(t,{BX:function(){return u}});var r=n(27026),i=n(69815),o=n(72363);let a=e=>!isNaN(parseFloat(e)),l={current:void 0};class s{constructor(e,t={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:r}=o.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,o.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=a(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
47setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new s(e,t)}},93257:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(72808),i=n(50686);let o={test:(0,i.i)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},26002:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(2980),i=n(43681),o=n(2038),a=n(50686);let l={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:a=1})=>"hsla("+Math.round(e)+", "+i.aQ.transform((0,o.Nw)(t))+", "+i.aQ.transform((0,o.Nw)(n))+", "+(0,o.Nw)(r.Fq.transform(a))+")"}},2199:function(e,t,n){"use strict";n.d(t,{$:function(){return l}});var r=n(2038),i=n(93257),o=n(26002),a=n(72808);let l={test:e=>a.m.test(e)||i.$.test(e)||o.J.test(e),parse:e=>a.m.test(e)?a.m.parse(e):o.J.test(e)?o.J.parse(e):i.$.parse(e),transform:e=>(0,r.HD)(e)?e:e.hasOwnProperty("red")?a.m.transform(e):o.J.transform(e)}},72808:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var r=n(43021),i=n(2980),o=n(2038),a=n(50686);let l=e=>(0,r.u)(0,255,e),s={...i.Rx,transform:e=>Math.round(l(e))},u={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+s.transform(e)+", "+s.transform(t)+", "+s.transform(n)+", "+(0,o.Nw)(i.Fq.transform(r))+")"}},50686:function(e,t,n){"use strict";n.d(t,{d:function(){return o},i:function(){return i}});var r=n(2038);let i=(e,t)=>n=>!!((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),o=(e,t,n)=>i=>{if(!(0,r.HD)(i))return i;let[o,a,l,s]=i.match(r.KP);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(l),alpha:void 0!==s?parseFloat(s):1}}},89155:function(e,t,n){"use strict";n.d(t,{P:function(){return g},V:function(){return f}});var r=n(80417),i=n(26977),o=n(2199),a=n(2980),l=n(2038);let s={regex:r.Xp,countKey:"Vars",token:"${v}",parse:i.Z},u={regex:l.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},c={regex:l.KP,countKey:"Numbers",token:"${n}",parse:a.Rx.parse};function d(e,{regex:t,countKey:n,token:r,parse:i}){let o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function f(e){let t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&d(n,s),d(n,u),d(n,c),n}function p(e){return f(e).values}function h(e){let{values:t,numColors:n,numVars:r,tokenised:i}=f(e),a=t.length;return e=>{let t=i;for(let i=0;i<a;i++)t=i<r?t.replace(s.token,e[i]):i<r+n?t.replace(u.token,o.$.transform(e[i])):t.replace(c.token,(0,l.Nw)(e[i]));return t}}let m=e=>"number"==typeof e?0:e,g={test:function(e){var t,n;return isNaN(e)&&(0,l.HD)(e)&&((null===(t=e.match(l.KP))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(l.dA))||void 0===n?void 0:n.length)||0)>0},parse:p,createTransformer:h,getAnimatableNone:function(e){let t=p(e),n=h(e);return n(t.map(m))}}},2980:function(e,t,n){"use strict";n.d(t,{Fq:function(){return o},Rx:function(){return i},bA:function(){return a}});var r=n(43021);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.u)(0,1,e)},a={...i,default:1}},43681:function(e,t,n){"use strict";n.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return a},px:function(){return l},vh:function(){return s},vw:function(){return u}});var r=n(2038);let i=e=>({test:t=>(0,r.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=i("deg"),a=i("%"),l=i("px"),s=i("vh"),u=i("vw"),c={...a,parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)}},2038:function(e,t,n){"use strict";n.d(t,{HD:function(){return l},KP:function(){return i},Nw:function(){return r},dA:function(){return o},mj:function(){return a}});let r=e=>
47Math.round(1e5*e)/1e5,i=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function l(e){return"string"==typeof e}},20609:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=n(2265),i=n(74101),o=n(45968),a=n(10961);function l(e){let t=(0,a.h)(()=>(0,i.BX)(e)),{isStatic:n}=(0,r.useContext)(o._);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},93622:function(e,t,n){"use strict";n.d(t,{q:function(){return d}});var r=n(2265),i=n(65735),o=n(20609),a=n(45968),l=n(538),s=n(78371),u=n(81356),c=n(72363);function d(e,t={}){let{isStatic:n}=(0,r.useContext)(a._),d=(0,r.useRef)(null),f=(0,o.c)((0,i.i)(e)?e.get():e),p=()=>{d.current&&d.current.stop()};return(0,r.useInsertionEffect)(()=>f.attach((e,r)=>{if(n)return r(e);if(p(),d.current=(0,s.y)({keyframes:[f.get(),e],velocity:f.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:r}),!c.frameData.isProcessing){let e=performance.now()-c.frameData.timestamp;e<30&&(d.current.time=(0,u.X)(e))}return f.get()},p),[JSON.stringify(t)]),(0,l.L)(()=>{if((0,i.i)(e))return e.on("change",e=>f.set(parseFloat(e)))},[f]),f}},65735:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)},73324:function(e,t,n){"use strict";function r(e,...t){let n=new URL("https://lexical.dev/docs/error"),i=new URLSearchParams;for(let n of(i.append("code",e),t))i.append("v",n);throw n.search=i.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}n.d(t,{$le:function(){return eR},A1:function(){return ew},A3A:function(){return tL},B3k:function(){return ig},BEw:function(){return n8},BM6:function(){return e9},CKy:function(){return n7},DNT:function(){return nm},Eot:function(){return rn},Ewg:function(){return eN},F7b:function(){return nK},GAf:function(){return ru},GdB:function(){return iQ},Gg4:function(){return tX},GqL:function(){return te},GvG:function(){return rO},HX$:function(){return nq},HrV:function(){return e3},Ijf:function(){return nJ},Inp:function(){return ie},JhQ:function(){return ro},K0p:function(){return eS},KB:function(){return rt},Kr$:function(){return ex},LVk:function(){return e5},MKI:function(){return e$},MXo:function(){return tK},MkX:function(){return iB},MtH:function(){return eC},NmO:function(){return eM},Nrv:function(){return e7},OPZ:function(){return t6},PUH:function(){return eq},R2r:function(){return tV},RGD:function(){return n9},RJi:function(){return eO},ROy:function(){return eJ},Ret:function(){return ii},Rlh:function(){return n4},S3L:function(){return t0},S9_:function(){return U},Tav:function(){return tR},U2B:function(){return r7},ULO:function(){return rW},ULs:function(){return ia},UW:function(){return iI},VNZ:function(){return re},WAA:function(){return iy},WHp:function(){return ek},XIO:function(){return eQ},XN4:function(){return eV},Xod:function(){return rS},Y7p:function(){return ez},Zbz:function(){return ej},ZqX:function(){return eW},_0$:function(){return eU},_vQ:function(){return r9},aRb:function(){return eG},aff:function(){return rc},bgD:function(){return ir},cAC:function(){return eY},cj1:function(){return eP},cs7:function(){return nt},czB:function(){return eK},dB:function(){return eZ},dL7:function(){return nh},dR_:function(){return e2},ekx:function(){return nu},fAf:function(){return eE},fLx:function(){return rq},gID:function(){return rx},h5h:function(){return nf},iGI:function(){return eD},iOo:function(){return t4},jvp:function(){return i5},jwz:function(){return rr},k$I:function(){return nQ},kEj:function(){return e0},kkM:function(){return iu},lvZ:function(){return is},m$w:function(){return e4},mJV:function(){return id},n23:function(){return eI},oCe:function(){return nH},odo:function(){return nT},ojF:function(){return eT},oqs:function(){return rI},r04:function(){return e6},rcC:function(){return t1},u$Z:function(){return eB},u8R:function(){return il},uFG:function(){return io},v0F:function(){return iA},vJ0:function(){return iW},vNz:function(){return nd},wdB:function(){return n1},yFl:function(){return eA},ybQ:function(){return tt},ynn:function(){return e8},z90:function(){return it},zDz:function(){return eX},zqW:function(){return eL},zrb:function(){return e_}});let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,o=i&&"documentMode"in document?document.documentMode:null,a=i&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),l=i&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),s=!(!i||!("InputEvent"in window)||o)&&"getTargetRanges"in new window.InputEvent("input"),u=i&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),c=i&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,d=i&&/Android/.test(navigator.userAgent),f=i&&/^(?=.*Chrome).*/i.test(navigator.userAgent),p=i&&d&&f,h=i&&/AppleWeb
47Kit\/[\d.]+/.test(navigator.userAgent)&&!f;function m(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}let g=u||c||h?"\xa0":"â",y=l?"\xa0":g,v="Ö-ß¿ï¬-﷽ﹰ-ﻼ",b="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿",E=RegExp("^[^"+b+"]*["+v+"]"),T=RegExp("^[^"+v+"]*["+b+"]"),_={bold:1,capitalize:1024,code:16,highlight:128,italic:2,lowercase:256,strikethrough:4,subscript:32,superscript:64,underline:8,uppercase:512},x={directionless:1,unmergeable:2},C={center:2,end:6,justify:4,left:1,right:3,start:5},k={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},S={normal:0,segmented:2,token:1},A={0:"normal",2:"segmented",1:"token"},w=!1,O=0;function P(e){O=e.timeStamp}function I(e,t,n){let r="BR"===e.nodeName,i=t.__lexicalLineBreak;return i&&(e===i||r&&e.previousSibling===i)||r&&void 0!==rk(e,n)}function N(e,t,n){w=!0;let r=performance.now()-O>100;try{n$(e,()=>{let i=nh()||e.getEditorState().read(()=>{let e=nh();return null!==e?e.clone():null}),o=new Map,a=e.getRootElement(),s=e._editorState,u=e._blockCursorElement,c=!1,d="";for(let n=0;n<t.length;n++){let f=t[n],p=f.type,h=f.target,m=function(e,t,n,r){var i;for(let o=e;o&&(i=o,!0!==i.__lexicalUnmanaged);o=r0(o)){let e=rk(o,t);if(void 0!==e){let t=rx(e,n);if(t)return nQ(t)||!ii(o)?void 0:[o,t]}else if(o===r)return[r,rP(n)]}}(h,e,s,a);if(!m)continue;let[g,y]=m;if("characterData"===p)r&&tX(y)&&rm(h)&&function(e,t,n){if(t6(e)){let t=e.anchor.getNode();if(t.is(n)&&e.format!==t.getFormat())return!1}return rm(t)&&n.isAttached()}(i,h,y)&&function(e,t,n){let r=ie(r3(n)),i=null,o=null;null!==r&&r.anchorNode===e&&(i=r.anchorOffset,o=r.focusOffset);let a=e.nodeValue;null!==a&&rH(t,a,i,o,!1)}(h,y,e);else if("childList"===p){c=!0;let t=f.addedNodes;for(let n=0;n<t.length;n++){let r=t[n],i=rC(r),o=r.parentNode;if(null!=o&&r!==u&&null===i&&!I(r,o,e)){if(l){let e=(ii(r)?r.innerText:null)||r.nodeValue;e&&(d+=e)}o.removeChild(r)}}let n=f.removedNodes,r=n.length;if(r>0){let t=0;for(let i=0;i<r;i++){let r=n[i];(I(r,h,e)||u===r)&&(h.appendChild(r),t++)}r!==t&&o.set(g,y)}}}if(o.size>0)for(let[t,n]of o)n.reconcileObservedMutation(t,e);let f=n.takeRecords();if(f.length>0){for(let t=0;t<f.length;t++){let n=f[t],r=n.addedNodes,i=n.target;for(let t=0;t<r.length;t++){let n=r[t],o=n.parentNode;null==o||"BR"!==n.nodeName||I(n,i,e)||o.removeChild(n)}}n.takeRecords()}null!==i&&(c&&rI(i),l&&rK(e)&&i.insertRawText(d))})}finally{w=!1}}function R(e){let t=e._observer;null!==t&&N(e,t.takeRecords(),t)}function L(e){0===O&&r3(e).addEventListener("textInput",P,!0),e._observer=new MutationObserver((t,n)=>{N(e,t,n)})}class D{constructor(e,t=new Map,n,r=new Map,i){this.node=e,this.sharedConfigMap=t,this.unknownState=n,this.knownState=r;let o=void 0!==i?i:function(e,t,n){let r=n.size;if(t)for(let i in t){let t=e.get(i);t&&n.has(t)||r++}return r}(t,n,r);this.size=o}getValue(e){let t=this.knownState.get(e);if(void 0!==t)return t;this.sharedConfigMap.set(e.key,e);let n=e.defaultValue;if(this.unknownState&&e.key in this.unknownState){let t=this.unknownState[e.key];void 0!==t&&(n=e.parse(t)),this.updateFromKnown(e,n)}return n}getInternalState(){return[this.unknownState,this.knownState]}toJSON(){let e={...this.unknownState};for(let[t,n]of this.knownState)t.isEqual(n,t.defaultValue)?delete e[t.key]:e[t.key]=t.unparse(n);return M(e)?{$:e}:{}}getWritable(e){var t;if(this.node===e)return this;let n=new Map(this.knownState),r=M(t=this.unknownState)&&{...t};if(r)for(let e of n.keys())delete r[e.key];return new D(e,this.sharedConfigMap,M(r),n,this.size)}updateFromKnown(e,t){let n=e.key;this.sharedConfigMap.set(n,e);let{knownState:r,unknownState:i}=this;r.has(e)||i&&n in i||this.size++,r.set(e,t)}updateFromUnknown(e,t){let n=this.sharedConfigMap.get(e);n?this.updateFromKnown(n,n.parse(t)):(this.unknownState=this.unknownState||{},e in this.unknownState||this.size++,this.unknownState[e]=t)}updateFromJSON(e){let{knownState:t}=this;for(let e of t.keys())t.set(e,e.defaultValue);if(this.size=t.size,this.unknownState={},e)for(let[t,n]of Object.entries(e))this.updateFromUnknown(t,n);this.unknownState=M(this.unknownState)}}function M(e){if(e)for(let t in e)return e}function F(e,t){let n=e.__mode,r=e.__format,i=e.__style,o=t.__mode,a=t.__format,l=t.__style,s=e.__state,u=t.__state;return(null===n||n===o)&&(null===r||r===a)&&(null===i||i===l)&&(null===e.__state||s===u||function(e,t){if(e===t)return!0;
47if(e&&t&&e.size!==t.size)return!1;let n=new Set,r=(e,t)=>{for(let[r,i]of e.knownState){if(n.has(r.key))continue;n.add(r.key);let e=t?t.getValue(r):r.defaultValue;if(e!==i&&!r.isEqual(e,i))return!0}return!1},i=(e,t)=>{let{unknownState:r}=e,i=t?t.unknownState:void 0;if(r){for(let[e,t]of Object.entries(r))if(!n.has(e)&&(n.add(e),t!==(i?i[e]:void 0)))return!0}return!1};return!(e&&r(e,t)||t&&r(t,e)||e&&i(e,t)||t&&i(t,e))}(s,u))}function B(e,t){let n=e.mergeWithSibling(t),r=nL()._normalizedNodes;return r.add(e.__key),r.add(t.__key),n}function H(e){let t,n,r=e;if(""!==r.__text||!r.isSimpleText()||r.isUnmergeable()){for(;null!==(t=r.getPreviousSibling())&&tX(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(""!==t.__text){F(t,r)&&(r=B(t,r));break}t.remove()}for(;null!==(n=r.getNextSibling())&&tX(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){F(r,n)&&(r=B(r,n));break}n.remove()}}else r.remove()}function U(e){return j(e.anchor),j(e.focus),e}function j(e){for(;"element"===e.type;){let t,n;let r=e.getNode(),i=e.offset;if(i===r.getChildrenSize()?(t=r.getChildAtIndex(i-1),n=!0):(t=r.getChildAtIndex(i),n=!1),tX(t)){e.set(t.__key,n?t.getTextContentSize():0,"text",!0);break}if(!nK(t))break;e.set(t.__key,n?t.getChildrenSize():0,"element",!0)}}let V,z,G,W,$,Z,Y,q,K,X,J="",Q="",ee=null,et="",en="",er=!1,ei=!1,eo=null;function ea(e,t){let n=Y.get(e);if(null!==t){let n=eb(e);n.parentNode===t&&t.removeChild(n)}if(q.has(e)||z._keyToDOMMap.delete(e),nK(n)){let e=eg(n,Y);el(e,0,e.length-1,null)}void 0!==n&&rZ(X,G,W,n,"destroyed")}function el(e,t,n,r){let i=t;for(;i<=n;++i){let t=e[i];void 0!==t&&ea(t,r)}}function es(e,t){e.setProperty("text-align",t)}function eu(e,t){let n=V.theme.indent;if("string"==typeof n){let r=e.classList.contains(n);t>0&&!r?e.classList.add(n):t<1&&r&&e.classList.remove(n)}let r=getComputedStyle(e).getPropertyValue("--lexical-indent-base-value")||"40px";e.style.setProperty("padding-inline-start",0===t?"":`calc(${t} * ${r})`)}function ec(e,t){let n=e.style;0===t?es(n,""):1===t?es(n,"left"):2===t?es(n,"center"):3===t?es(n,"right"):4===t?es(n,"justify"):5===t?es(n,"start"):6===t&&es(n,"end")}function ed(e,t){let n=q.get(e);void 0===n&&r(60);let i=n.createDOM(V,z);if(function(e,t,n){let r=n._keyToDOMMap;(function(e,t,n){let r=`__lexicalKey_${t._key}`;e[r]=n})(t,n,e),r.set(e,t)}(e,i,z),tX(n)?i.setAttribute("data-lexical-text","true"):nQ(n)&&i.setAttribute("data-lexical-decorator","true"),nK(n)){let e=n.__indent,t=n.__size;0!==e&&eu(i,e),0!==t&&function(e,t,n,r){let i=Q;Q="",ef(e,n,0,t,n.getDOMSlot(r)),em(n,r),Q=i}(eg(n,q),t-1,n,i);let r=n.__format;0!==r&&ec(i,r),n.isInline()||eh(null,n,i),rJ(n)&&(J+="\n\n",en+="\n\n")}else{let t=n.getTextContent();if(nQ(n)){let t=n.decorate(z,V);null!==t&&ey(e,t),i.contentEditable="false"}else tX(n)&&(n.isDirectionless()||(Q+=t));J+=t,en+=t}return null!==t&&t.insertChild(i),rZ(X,G,W,n,"created"),i}function ef(e,t,n,r,i){let o=J;J="";let a=n;for(;a<=r;++a){ed(e[a],i);let t=q.get(e[a]);null!==t&&tX(t)&&(null===ee&&(ee=t.getFormat()),""===et&&(et=t.getStyle()))}rJ(t)&&(J+="\n\n"),i.element.__lexicalTextContent=J,J=o+J}function ep(e,t){if(e){let n=e.__last;if(n){let e=t.get(n);if(e)return tL(e)?"line-break":nQ(e)&&e.isInline()?"decorator":null}return"empty"}return null}function eh(e,t,n){let r=ep(e,Y),i=ep(t,q);r!==i&&t.getDOMSlot(n).setManagedLineBreak(i)}function em(e,t){let n=t.__lexicalDirTextContent||"",r=t.__lexicalDir||"";if(n!==Q||r!==eo){var i;let n=""===Q,o=n?eo:(i=Q,E.test(i)?"rtl":T.test(i)?"ltr":null);if(o!==r){let i=t.classList,a=V.theme,l=null!==r?a[r]:void 0,s=null!==o?a[o]:void 0;if(void 0!==l){if("string"==typeof l){let e=m(l);l=a[r]=e}i.remove(...l)}if(null===o||n&&"ltr"===o)t.removeAttribute("dir");else{if(void 0!==s){if("string"==typeof s){let e=m(s);s=a[o]=e}void 0!==s&&i.add(...s)}t.dir=o}ei||(e.getWritable().__dir=o)}eo=o,t.__lexicalDirTextContent=Q,t.__lexicalDir=o}}function eg(e,t){let n=[],i=e.__first;for(;null!==i;){let e=t.get(i);void 0===e&&r(101),n.push(i),i=e.__next}return n}function ey(e,t){let n=z._pendingDecorators,r=z._decorators;if(null===n){if(r[e]===t)return;n=rA(z)}n[e]=t}function ev(e){let t=e.nextSibling;return null!==t&&t===z._blockCursorElement&&(t=t.nextSibling),t}function eb(e){let t=K.get(e);return void 0===t&&r(75,e),t}function eE(e){return{}}let eT={},e_={},ex={},eC={},ek={},eS={},eA={},ew={},eO={},eP={},eI={},eN={},eR={},eL={},eD={},eM={},eF={},eB={},eH={},eU={},ej={},eV={},ez={},eG={},eW={},e$={},eZ={},eY={},eq={},eK={},eX={},eJ={},eQ={},e0={},e1={},e5={},e2={},e3={},e9={},e7={},e6={},e8={},e4={},te={},tt={},tn=Object.freeze({}),tr=[["keydown",function(e,t){if(ti=e.timeStamp,to=e.key,t.isComposing())return;let{key:n,shiftKey:r,ctrlKey:i,metaKey:o,altKey:s}=e;if(!rX(t,eD,e)&&null!=n){if(tp&&rV(to))return n$(t,()=>{tx(t,th)}),tp=!1,void(th="");
47if(!rj(n)||i||o||s){if(rj(n)&&!s&&!r&&(i||o))rX(t,eF,e);else if(!rU(n)||i||o||s){if(rU(n)&&!s&&!r&&(i||o))rX(t,eH,e);else if("ArrowUp"!==n||i||o){if("ArrowDown"!==n||i||o){if("Enter"===n&&r)td=!0,rX(t,eV,e);else if(" "===n)rX(t,ez,e);else if(a&&i&&"o"===n.toLowerCase())e.preventDefault(),td=!0,rX(t,ek,!0);else if("Enter"!==n||r){if(a?!s&&!o&&(rV(n)||"h"===n.toLowerCase()&&i):!i&&!s&&!o&&rV(n))rV(n)?rX(t,eG,e):(e.preventDefault(),rX(t,eC,!0));else if("Escape"===n)rX(t,eW,e);else if(a?!(r||s||o)&&(rz(n)||"d"===n.toLowerCase()&&i):!i&&!s&&!o&&rz(n))rz(n)?rX(t,e$,e):(e.preventDefault(),rX(t,eC,!1));else if(rV(n)&&(a?s:i))e.preventDefault(),rX(t,eP,!0);else if(rz(n)&&(a?s:i))e.preventDefault(),rX(t,eP,!1);else if(a&&o&&rV(n))e.preventDefault(),rX(t,eI,!0);else if(a&&o&&rz(n))e.preventDefault(),rX(t,eI,!1);else if("b"===n.toLowerCase()&&!s&&(a?o:i))e.preventDefault(),rX(t,eN,"bold");else if("u"===n.toLowerCase()&&!s&&(a?o:i))e.preventDefault(),rX(t,eN,"underline");else if("i"===n.toLowerCase()&&!s&&(a?o:i))e.preventDefault(),rX(t,eN,"italic");else if("Tab"!==n||s||i||o){if("z"===n.toLowerCase()&&!r&&(a?o:i))e.preventDefault(),rX(t,eR,void 0);else if(a?"z"===n.toLowerCase()&&o&&r:"y"===n.toLowerCase()&&i||"z"===n.toLowerCase()&&i&&r)e.preventDefault(),rX(t,eL,void 0);else{let s=t._editorState._selection;null===s||t6(s)?!l&&rG(n,o,i)&&(e.preventDefault(),rX(t,e3,e)):!r&&"c"===n.toLowerCase()&&(a?o:i)?(e.preventDefault(),rX(t,e5,e)):!r&&"x"===n.toLowerCase()&&(a?o:i)?(e.preventDefault(),rX(t,e2,e)):rG(n,o,i)&&(e.preventDefault(),rX(t,e3,e))}}else rX(t,eZ,e)}else td=!1,rX(t,eV,e)}else rX(t,ej,e)}else rX(t,eU,e)}else rX(t,eB,e)}else rX(t,eM,e);(i||r||s||o)&&rX(t,tt,e)}}],["pointerdown",function(e,t){let n=e.target,r=e.pointerType;io(n)&&"touch"!==r&&0===e.button&&n$(t,()=>{nQ(rS(n))||(tc=!0)})}],["compositionstart",function(e,t){n$(t,()=>{let n=nh();if(t6(n)&&!t.isComposing()){let r=n.anchor,i=n.anchor.getNode();rT(r.key),(e.timeStamp<ti+30||"element"===r.type||!n.isCollapsed()||i.getFormat()!==n.format||tX(i)&&i.getStyle()!==n.style)&&rX(t,eA,y)}})}],["compositionend",function(e,t){l?tf=!0:!c&&(u||h)?(tp=!0,th=e.data):n$(t,()=>{tx(t,e.data)})}],["input",function(e,t){e.stopPropagation(),n$(t,()=>{let n=nh(),r=e.data,i=t_(e);if(null!=r&&t6(n)&&ty(n,i,r,e.timeStamp,!1)){tf&&(tx(t,r),tf=!1);let i=n.anchor.getNode(),o=ie(r3(t));if(null===o)return;let a=n.isBackward(),d=a?n.anchor.offset:n.focus.offset,f=a?n.focus.offset:n.anchor.offset;s&&!n.isCollapsed()&&tX(i)&&null!==o.anchorNode&&i.getTextContent().slice(0,d)+r+i.getTextContent().slice(d+f)===rF(o.anchorNode)||rX(t,eA,r);let p=r.length;l&&p>1&&"insertCompositionText"===e.inputType&&!t.isComposing()&&(n.anchor.offset-=p),u||c||h||!t.isComposing()||(ti=0,rT(null))}else rB(!1,t,null!==r?r:void 0),tf&&(tx(t,r||void 0),tf=!1);!function(){nI();let e=nL();R(e)}()},{event:e}),tl=null}],["click",function(e,t){n$(t,()=>{let n=nh(),r=ie(r3(t)),i=nm();if(r){if(t6(n)){let t=n.anchor,o=t.getNode();if("element"===t.type&&0===t.offset&&n.isCollapsed()&&!n1(o)&&1===rO().getChildrenSize()&&o.getTopLevelElementOrThrow().isEmpty()&&null!==i&&n.is(i))r.removeAllRanges(),n.dirty=!0;else if(3===e.detail&&!n.isCollapsed()&&o!==n.focus.getNode()){let e=function(e,t){let n=e;for(;n!==rO()&&null!=n;){if(t(n))return n;n=n.getParent()}return null}(o,e=>nK(e)&&!e.isInline());nK(e)&&e.select(0)}}else if("touch"===e.pointerType){let n=r.anchorNode;(ii(n)||rm(n))&&rI(np(i,r,t,e))}}rX(t,ex,e)})}],["cut",tn],["copy",tn],["dragstart",tn],["dragover",tn],["dragend",tn],["paste",t
47n],["focus",tn],["blur",tn],["drop",tn]];s&&tr.push(["beforeinput",(e,t)=>(function(e,t){let n=e.inputType,i=t_(e);"deleteCompositionText"===n||l&&rK(t)||"insertCompositionText"===n||n$(t,()=>{var o;let a=nh();if("deleteContentBackward"===n){if(null===a){let e=nm();if(!t6(e))return;rI(e.clone())}if(t6(a)){let n=a.anchor.key===a.focus.key;if(o=e.timeStamp,"MediaLast"===to&&o<ti+30&&t.isComposing()&&n){if(rT(null),ti=0,setTimeout(()=>{n$(t,()=>{rT(null)})},30),t6(a)){let e=a.anchor.getNode();e.markDirty(),tX(e)||r(142),tT(a,e)}}else{rT(null),e.preventDefault();let r=a.anchor.getNode(),i=r.getTextContent(),o=r.canInsertTextAfter(),l=0===a.anchor.offset&&a.focus.offset===i.length,s=p&&n&&!l&&o;if(s&&a.isCollapsed()&&(s=!nQ(rq(a.anchor,!0))),!s){rX(t,eC,!0);let e=nh();p&&t6(e)&&e.isCollapsed()&&(tm=e,setTimeout(()=>tm=null))}}return}}if(!t6(a))return;let l=e.data;null!==tl&&rB(!1,t,tl),a.dirty&&null===tl||!a.isCollapsed()||n1(a.anchor.getNode())||null===i||a.applyDOMRange(i),tl=null;let s=a.anchor,u=a.focus,d=s.getNode(),f=u.getNode();if("insertText"!==n&&"insertTranspose"!==n)switch(e.preventDefault(),n){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":rX(t,eA,e);break;case"insertFromComposition":rT(null),rX(t,eA,e);break;case"insertLineBreak":rT(null),rX(t,ek,!1);break;case"insertParagraph":rT(null),td&&!c?(td=!1,rX(t,ek,!1)):rX(t,eS,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":rX(t,ew,e);break;case"deleteByComposition":(d!==f||nK(d)||nK(f)||!d.isToken()||!f.isToken())&&rX(t,eO,e);break;case"deleteByDrag":case"deleteByCut":rX(t,eO,e);break;case"deleteContent":rX(t,eC,!1);break;case"deleteWordBackward":rX(t,eP,!0);break;
47case"deleteWordForward":rX(t,eP,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":rX(t,eI,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":rX(t,eI,!1);break;case"formatStrikeThrough":rX(t,eN,"strikethrough");break;case"formatBold":rX(t,eN,"bold");break;case"formatItalic":rX(t,eN,"italic");break;case"formatUnderline":rX(t,eN,"underline");break;case"historyUndo":rX(t,eR,void 0);break;case"historyRedo":rX(t,eL,void 0)}else{if("\n"===l)e.preventDefault(),rX(t,ek,!1);else if("\n\n"===l)e.preventDefault(),rX(t,eS,void 0);else if(null==l&&e.dataTransfer){let t=e.dataTransfer.getData("text/plain");e.preventDefault(),a.insertRawText(t)}else null!=l&&ty(a,i,l,e.timeStamp,!0)?(e.preventDefault(),rX(t,eA,l)):tl=l;ta=e.timeStamp}})})(e,t)]);let ti=0,to=null,ta=0,tl=null,ts=new WeakMap,tu=!1,tc=!1,td=!1,tf=!1,tp=!1,th="",tm=null,tg=[0,"",0,"root",0];function ty(e,t,n,r,i){let o=e.anchor,a=e.focus,l=o.getNode(),u=nL(),c=ie(r3(u)),d=null!==c?c.anchorNode:null,f=o.key,p=u.getElementByKey(f),h=n.length;return f!==a.key||!tX(l)||(!i&&(!s||ta<r+50)||l.isDirty()&&h<2||rL(n))&&o.offset!==a.offset&&!l.isComposing()||rh(l)||l.isDirty()&&h>1||(i||!s)&&null!==p&&!l.isComposing()&&d!==rg(p)||null!==c&&null!==t&&(!t.collapsed||t.startContainer!==c.anchorNode||t.startOffset!==c.anchorOffset)||l.getFormat()!==e.format||l.getStyle()!==e.style||function(e,t){if(t.isSegmented())return!0;if(!e.isCollapsed())return!1;let n=e.anchor.offset,r=t.getParentOrThrow(),i=t.isToken();return 0===n?!t.canInsertTextBefore()||!r.canInsertTextBefore()&&!t.isComposing()||i||function(e){let t=e.getPreviousSibling();return(tX(t)||nK(t)&&t.isInline())&&!t.canInsertTextAfter()}(t):n===t.getTextContentSize()&&(!t.canInsertTextAfter()||!r.canInsertTextAfter()&&!t.isComposing()||i)}(e,l)}function tv(e,t){return rm(e)&&null!==e.nodeValue&&0!==t&&t!==e.nodeValue.length}function tb(e,t,n){let{anchorNode:i,anchorOffset:o,focusNode:a,focusOffset:l}=e;tu&&(tu=!1,tv(i,o)&&tv(a,l)&&!tm)||n$(t,()=>{if(!n)return void rI(null);if(!rc(t,i,a))return;let s=nh();if(tm&&t6(s)&&s.isCollapsed()){let e=s.anchor,t=tm.anchor;(e.key===t.key&&e.offset===t.offset+1||1===e.offset&&t.getNode().is(e.getNode().getPreviousSibling()))&&rI(s=tm.clone())}if(tm=null,t6(s)){let n=s.anchor,i=n.getNode();if(s.isCollapsed()){"Range"===e.type&&e.anchorNode===e.focusNode&&(s.dirty=!0);let o=r3(t).event,a=o?o.timeStamp:performance.now(),[l,u,c,d,f]=tg,p=rO(),h=!1===t.isComposing()&&""===p.getTextContent();if(a<f+200&&n.offset===c&&n.key===d)tE(s,l,u);else if("text"===n.type)tX(i)||r(141),tT(s,i);else if("element"===n.type&&!h){nK(i)||r(259);let e=n.getNode();e.isEmpty()?function(e,t){let n=t.getTextFormat(),r=t.getTextStyle();tE(e,n,r)}(s,e):tE(s,0,"")}}else{let e=n.key,t=s.focus.key,r=s.getNodes(),i=r.length,a=s.isBackward(),u=a?l:o,c=a?o:l,d=a?t:e,f=a?e:t,p=2047,h=!1;for(let e=0;e<i;e++){let t=r[e],n=t.getTextContentSize();if(tX(t)&&0!==n&&!(0===e&&t.__key===d&&u===n||e===i-1&&t.__key===f&&0===c)&&(h=!0,0==(p&=t.getFormat())))break}s.format=h?p:0}}rX(t,eT,void 0)})}function tE(e,t,n){e.format===t&&e.style===n||(e.format=t,e.style=n,e.dirty=!0)}function tT(e,t){tE(e,t.getFormat(),t.getStyle())}function t_(e){if(!e.getTargetRanges)return null;let t=e.getTargetRanges();return 0===t.length?null:t[0]}function tx(e,t){let n=e._compositionKey;if(rT(null),null!==n&&null!=t){if(""===t){let t=rx(n),r=rg(e.getElementByKey(n));return void(null!==r&&null!==r.nodeValue&&tX(t)&&rH(t,r.nodeValue,null,null,!0))}if("\n"===t[t.length-1]){let t=nh();if(t6(t)){let n=t.focus;return t.anchor.set(n.key,n.offset,n.type),void rX(e,eV,null)}}}rB(!0,e,t)}function tC(e){let t=e.__lexicalEventHandles;return void 0===t&&(t=[],e.__lexicalEventHandles=t),t}let tk=new Map;function tS(e){let t=function(e){let t=r2(e);return t?t.getSelection():null}(e.target);if(null===t)return;let n=rf(t.anchorNode);if(null===n)return;tc&&(tc=!1,n$(n,()=>{let r=nm(),i=t.anchorNode;(ii(i)||rm(i))&&rI(np(r,t,n,e))}));let r=rD(n),i=r[r.length-1],o=i._key,a=tk.get(o),l=a||i;l!==n&&tb(t,l,!1),tb(t,n,!0),n!==i?tk.set(o,n):a&&tk.delete(o)}function tA(e){e._lexicalHandled=!0}function tw(e){return!0===e._lexicalHandled}function tO(e,t,n){nI();let r=e.__key,i=e.getParent();if(null===i)return;let o=function(e){let t=nh();if(!t6(t)||!nK(e))return t;let{anchor:n,focus:r}=t,i=n.getNode(),o=r.getNode();return r5(i,e)&&n.set(e.__key,0,"element"),r5(o,e)&&r.set(e.__key,0,"element"),t}(e),a=!1;
47if(t6(o)&&t){let t=o.anchor,n=o.focus;t.key===r&&(nv(t,e,i,e.getPreviousSibling(),e.getNextSibling()),a=!0),n.key===r&&(nv(n,e,i,e.getPreviousSibling(),e.getNextSibling()),a=!0)}else t4(o)&&t&&e.isSelected()&&e.selectPrevious();if(t6(o)&&t&&!a){let t=e.getIndexWithinParent();rb(e),ng(o,i,t,-1)}else rb(e);n||r9(i)||i.canBeEmpty()||!i.isEmpty()||tO(i,t),t&&n1(i)&&i.isEmpty()&&i.selectEnd()}class tP{static getType(){r(64,this.name)}static clone(e){r(65,this.name)}afterCloneFrom(e){this.__parent=e.__parent,this.__next=e.__next,this.__prev=e.__prev,this.__state=e.__state}constructor(e){this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,Object.defineProperty(this,"__state",{configurable:!0,enumerable:!1,value:void 0,writable:!0}),rv(this,e)}getType(){return this.__type}isInline(){r(137,this.constructor.name)}isAttached(){let e=this.__key;for(;null!==e;){if("root"===e)return!0;let t=rx(e);if(null===t)break;e=t.__parent}return!1}isSelected(e){let t=e||nh();if(null==t)return!1;let n=t.getNodes().some(e=>e.__key===this.__key);if(tX(this))return n;if(t6(t)&&"element"===t.anchor.type&&"element"===t.focus.type){if(t.isCollapsed())return!1;let e=this.getParent();if(nQ(this)&&this.isInline()&&e){let n=t.isBackward()?t.focus:t.anchor;if(e.is(n.getNode())&&n.offset===e.getChildrenSize()&&this.is(e.getLastChild()))return!1}}return n}getKey(){return this.__key}getIndexWithinParent(){let e=this.getParent();if(null===e)return -1;let t=e.getFirstChild(),n=0;for(;null!==t;){if(this.is(t))return n;n++,t=t.getNextSibling()}return -1}getParent(){let e=this.getLatest().__parent;return null===e?null:rx(e)}getParentOrThrow(){let e=this.getParent();return null===e&&r(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){let t=e.getParent();if(r9(t))return nK(e)||e===this&&nQ(e)||r(194),e;e=t}return null}getTopLevelElementOrThrow(){let e=this.getTopLevelElement();return null===e&&r(67,this.__key),e}getParents(){let e=[],t=this.getParent();for(;null!==t;)e.push(t),t=t.getParent();return e}getParentKeys(){let e=[],t=this.getParent();for(;null!==t;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){let e=this.getLatest().__prev;return null===e?null:rx(e)}getPreviousSiblings(){let e=[],t=this.getParent();if(null===t)return e;let n=t.getFirstChild();for(;null!==n&&!n.is(this);)e.push(n),n=n.getNextSibling();return e}getNextSibling(){let e=this.getLatest().__next;return null===e?null:rx(e)}getNextSiblings(){let e=[],t=this.getNextSibling();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){let t=nK(this)?this:this.getParent(),n=nK(e)?e:e.getParent(),r=t&&n?iG(t,n):null;return r?r.commonAncestor:null}is(e){return null!=e&&this.__key===e.__key}isBefore(e){let t=iG(this,e);return null!==t&&("descendant"===t.type||("branch"===t.type?-1===iV(t):("same"!==t.type&&"ancestor"!==t.type&&r(279),!1)))}isParentOf(e){let t=iG(this,e);return null!==t&&"ancestor"===t.type}getNodesBetween(e){let t=this.isBefore(e),n=[],i=new Set,o=this;for(;null!==o;){let a=o.__key;if(i.has(a)||(i.add(a),n.push(o)),o===e)break;let l=nK(o)?t?o.getFirstChild():o.getLastChild():null;if(null!==l){o=l;continue}let s=t?o.getNextSibling():o.getPreviousSibling();if(null!==s){o=s;continue}let u=o.getParentOrThrow();if(i.has(u.__key)||n.push(u),u===e)break;let c=null,d=u;do{if(null===d&&r(68),c=t?d.getNextSibling():d.getPreviousSibling(),null===(d=d.getParent()))break;null!==c||i.has(d.__key)||n.push(d)}while(null===c);o=c}return t||n.reverse(),n}isDirty(){let e=nL()._dirtyLeaves;return null!==e&&e.has(this.__key)}getLatest(){let e=rx(this.__key);return null===e&&r(113),e}getWritable(){nI();let e=nR(),t=nL(),n=e._nodeMap,r=this.__key,i=this.getLatest(),o=t._cloneNotNeeded,a=nh();if(null!==a&&a.setCachedNodes(null),o.has(r))return rE(i),i;let l=ig(i);return o.add(r),rE(l),n.set(r,l),l}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(e,t){r(70)}updateDOM(e,t,n){r(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){let e=this.__state?this.__state.toJSON():void 0;return{type:this.__type,version:1,...e}}static importJSON(e){r(18,this.name)}updateFromJSON(e){return function(e,t){let n=e.getWritable();return(t||n.__state)&&(function(e){let t=e.getWritable(),n=t.__state?t.__state.getWritable(t):new D(t);return t.__state=n,n})(e).updateFromJSON(t),n}(this,e.$)}static transform(){return null}remove(e){tO(this,!0,e)}replace(e,t){nI();let n=nh();null!==n&&(n=n.clone()),r6(this,e);let i=this.getLatest(),o=this.__key,a=e.__key,l=e.getWritable(),s=this.getParentOrThrow().getWritable(),u=s.__size;rb(l);let c=i.getPreviousSibling(),d=i.getNextSibling(),f=i.__prev,p=i.__next,h=i.__parent;if((tO(i,!1,!0),null===c)?s.__first=a:c.getWritable().__next=a,(l.__prev=f,null===d)?s.__last=a:d.getWritable().__prev=a,l.__next=p,l.__parent=h,s.__size=u,t&&(nK(this)&&nK(l)||r(139),this.getChildren().forEac
47h(e=>{l.append(e)})),t6(n)){rI(n);let e=n.anchor,t=n.focus;e.key===o&&t9(e,l),t.key===o&&t9(t,l)}return r_()===o&&rT(a),l}insertAfter(e,t=!0){nI(),r6(this,e);let n=this.getWritable(),r=e.getWritable(),i=r.getParent(),o=nh(),a=!1,l=!1;if(null!==i){let t=e.getIndexWithinParent();if(rb(r),t6(o)){let e=i.__key,n=o.anchor,r=o.focus;a="element"===n.type&&n.key===e&&n.offset===t+1,l="element"===r.type&&r.key===e&&r.offset===t+1}}let s=this.getNextSibling(),u=this.getParentOrThrow().getWritable(),c=r.__key,d=n.__next;if(null===s?u.__last=c:s.getWritable().__prev=c,u.__size++,n.__next=c,r.__next=d,r.__prev=n.__key,r.__parent=n.__parent,t&&t6(o)){let e=this.getIndexWithinParent();ng(o,u,e+1);let t=u.__key;a&&o.anchor.set(t,e+2,"element"),l&&o.focus.set(t,e+2,"element")}return e}insertBefore(e,t=!0){nI(),r6(this,e);let n=this.getWritable(),r=e.getWritable(),i=r.__key;rb(r);let o=this.getPreviousSibling(),a=this.getParentOrThrow().getWritable(),l=n.__prev,s=this.getIndexWithinParent();null===o?a.__first=i:o.getWritable().__next=i,a.__size++,n.__prev=i,r.__prev=l,r.__next=n.__key,r.__parent=n.__parent;let u=nh();return t&&t6(u)&&ng(u,this.getParentOrThrow(),s),e}isParentRequired(){return!1}createParentElementNode(){return n8()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(e,t){nI();let n=this.getPreviousSibling(),r=this.getParentOrThrow();if(null===n)return r.select(0,0);if(nK(n))return n.select();if(!tX(n)){let e=n.getIndexWithinParent()+1;return r.select(e,e)}return n.select(e,t)}selectNext(e,t){nI();let n=this.getNextSibling(),r=this.getParentOrThrow();if(null===n)return r.select();if(nK(n))return n.select(0,0);if(!tX(n)){let e=n.getIndexWithinParent();return r.select(e,e)}return n.select(e,t)}markDirty(){this.getWritable()}reconcileObservedMutation(e,t){this.markDirty()}}class tI extends tP{static getType(){return"linebreak"}static clone(e){return new tI(e.__key)}constructor(e){super(e)}getTextContent(){return"\n"}createDOM(){return document.createElement("br")}updateDOM(){return!1}isInline(){return!0}static importDOM(){return{br:e=>(function(e){let t=e.parentElement;if(null!==t&&is(t)){let n=t.firstChild;if(n===e||n.nextSibling===e&&tD(n)){let n=t.lastChild;if(n===e||n.previousSibling===e&&tD(n))return!0}}return!1})(e)||function(e){let t=e.parentElement;if(null!==t&&is(t)){let n=t.firstChild;if(n===e||n.nextSibling===e&&tD(n))return!1;let r=t.lastChild;if(r===e||r.previousSibling===e&&tD(r))return!0}return!1}(e)?null:{conversion:tN,priority:0}}}static importJSON(e){return tR().updateFromJSON(e)}}function tN(e){return{node:tR()}}function tR(){return r7(new tI)}function tL(e){return e instanceof tI}function tD(e){return rm(e)&&/^( |\t|\r?\n)+$/.test(e.textContent||"")}function tM(e,t){return 16&t?"code":128&t?"mark":32&t?"sub":64&t?"sup":null}function tF(e,t){return 1&t?"strong":2&t?"em":"span"}function tB(e,t,n,r,i){let o=r.classList,a=r$(i,"base");void 0!==a&&o.add(...a),a=r$(i,"underlineStrikethrough");let l=!1,s=8&t&&4&t;for(let e in void 0!==a&&(8&n&&4&n?(l=!0,s||o.add(...a)):s&&o.remove(...a)),_){let r=_[e];if(void 0!==(a=r$(i,e))){if(n&r){if(l&&("underline"===e||"strikethrough"===e)){t&r&&o.remove(...a);continue}t&r&&(!s||"underline"!==e)&&"strikethrough"!==e||o.add(...a)}else t&r&&o.remove(...a)}}}function tH(e,t,n){let r=t.firstChild,i=n.isComposing(),o=e+(i?g:"");if(null==r)t.textContent=o;else{let e=r.nodeValue;if(e!==o){if(i||l){let[t,n,i]=function(e,t){let n=e.length,r=t.length,i=0,o=0;for(;i<n&&i<r&&e[i]===t[i];)i++;for(;o+i<n&&o+i<r&&e[n-o-1]===t[r-o-1];)o++;return[i,n-i-o,t.slice(i,r-o)]}(e,o);0!==n&&r.deleteData(t,n),r.insertData(t,i)}else r.nodeValue=o}}}function tU(e,t,n,r,i,o){tH(i,e,t);let a=o.theme.text;void 0!==a&&tB(0,0,r,e,a)}function tj(e,t){let n=document.createElement(t);return n.appendChild(e),n}class tV extends tP{static getType(){return"text"}static clone(e){return new tV(e.__text,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__text=e.__text,this.__format=e.__format,this.__style=e.__style,this.__mode=e.__mode,this.__detail=e.__detail}constructor(e="",t){super(t),this.__text=e,this.__format=0,this.__style="",this.__mode=0,this.__detail=0}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){let e=this.getLatest();return A[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===r_()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){let t=_[e];return!!(this.getFormat()&t)}isSimpleText(){return"text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return ry(this.getLatest().__format,e,t)}canHaveFormat(){return!0}isInline(){return!0}createDOM(e,t){let n=this.__format,r=tM(0,n),i=tF(0,n),o=null===r?i:r,a=document.createElement(o),l=a;
47this.hasFormat("code")&&a.setAttribute("spellcheck","false"),null!==r&&(l=document.createElement(i),a.appendChild(l)),tU(l,this,0,n,this.__text,e);let s=this.__style;return""!==s&&(a.style.cssText=s),a}updateDOM(e,t,n){let i=this.__text,o=e.__format,a=this.__format,l=tM(0,o),s=tM(0,a),u=tF(0,o),c=tF(0,a);if((null===l?u:l)!==(null===s?c:s))return!0;if(l===s&&u!==c){let e=t.firstChild;null==e&&r(48);let o=document.createElement(c);return tU(o,this,0,a,i,n),t.replaceChild(o,e),!1}let d=t;null!==s&&null!==l&&null==(d=t.firstChild)&&r(49),tH(i,d,this);let f=n.theme.text;void 0!==f&&o!==a&&tB(0,o,a,d,f);let p=e.__style,h=this.__style;return p!==h&&(t.style.cssText=h),!1}static importDOM(){return{"#text":()=>({conversion:t$,priority:0}),b:()=>({conversion:tG,priority:0}),code:()=>({conversion:tq,priority:0}),em:()=>({conversion:tq,priority:0}),i:()=>({conversion:tq,priority:0}),mark:()=>({conversion:tq,priority:0}),s:()=>({conversion:tq,priority:0}),span:()=>({conversion:tz,priority:0}),strong:()=>({conversion:tq,priority:0}),sub:()=>({conversion:tq,priority:0}),sup:()=>({conversion:tq,priority:0}),u:()=>({conversion:tq,priority:0})}}static importJSON(e){return tK().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTextContent(e.text).setFormat(e.format).setDetail(e.detail).setMode(e.mode).setStyle(e.style)}
47exportDOM(e){let{element:t}=super.exportDOM(e);return ii(t)||r(132),t.style.whiteSpace="pre-wrap",this.hasFormat("bold")&&(t=tj(t,"b")),this.hasFormat("italic")&&(t=tj(t,"i")),this.hasFormat("strikethrough")&&(t=tj(t,"s")),this.hasFormat("underline")&&(t=tj(t,"u")),{element:t}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),...super.exportJSON()}}selectionTransform(e,t){}setFormat(e){let t=this.getWritable();return t.__format="string"==typeof e?_[e]:e,t}setDetail(e){let t=this.getWritable();return t.__detail="string"==typeof e?x[e]:e,t}setStyle(e){let t=this.getWritable();return t.__style=e,t}toggleFormat(e){let t=ry(this.getFormat(),e,null);return this.setFormat(t)}toggleDirectionless(){let e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){let e=this.getWritable();return e.__detail^=2,e}setMode(e){let t=S[e];if(this.__mode===t)return this;let n=this.getWritable();return n.__mode=t,n}setTextContent(e){if(this.__text===e)return this;let t=this.getWritable();return t.__text=e,t}select(e,t){nI();let n=e,r=t,i=nh(),o=this.getTextContent(),a=this.__key;if("string"==typeof o){let e=o.length;void 0===n&&(n=e),void 0===r&&(r=e)}else n=0,r=0;if(!t6(i))return nc(a,n,a,r,"text","text");{let e=r_();e!==i.anchor.key&&e!==i.focus.key||rT(a),i.setTextNodeRange(this,n,this,r)}return i}selectStart(){return this.select(0,0)}selectEnd(){let e=this.getTextContentSize();return this.select(e,e)}spliceText(e,t,n,r){let i=this.getWritable(),o=i.__text,a=n.length,l=e;l<0&&(l=a+l)<0&&(l=0);let s=nh();if(r&&t6(s)){let t=e+a;s.setTextNodeRange(i,t,i,t)}let u=o.slice(0,l)+n+o.slice(l+t);return i.__text=u,i}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){let t;nI();let n=this.getLatest(),r=n.getTextContent();if(""===r)return[];let i=n.__key,o=r_(),a=r.length;e.sort((e,t)=>e-t),e.push(a);let l=[],s=e.length;for(let t=0,n=0;t<a&&n<=s;n++){let i=e[n];i>t&&(l.push(r.slice(t,i)),t=i)}let u=l.length;if(1===u)return[n];let c=l[0],d=n.getParent(),f=n.getFormat(),p=n.getStyle(),h=n.__detail,m=!1,g=null,y=null,v=nh();if(t6(v)){let[e,t]=v.isBackward()?[v.focus,v.anchor]:[v.anchor,v.focus];"text"===e.type&&e.key===i&&(g=e),"text"===t.type&&t.key===i&&(y=t)}n.isSegmented()?((t=tK(c)).__format=f,t.__style=p,t.__detail=h,m=!0):(t=n.getWritable()).__text=c;let b=[t];for(let e=1;e<u;e++){let t=tK(l[e]);t.__format=f,t.__style=p,t.__detail=h;let n=t.__key;o===i&&rT(n),b.push(t)}let E=g?g.offset:null,T=y?y.offset:null,_=0;for(let e of b){if(!g&&!y)break;let t=_+e.getTextContentSize();if(null!==g&&null!==E&&E<=t&&E>=_&&(g.set(e.getKey(),E-_,"text"),E<t&&(g=null)),null!==y&&null!==T&&T<=t&&T>=_){y.set(e.getKey(),T-_,"text");break}_=t}if(null!==d){!function(e){let t=e.getPreviousSibling(),n=e.getNextSibling();null!==t&&rE(t),null!==n&&rE(n)}(this);let e=d.getWritable(),t=this.getIndexWithinParent();m?(e.splice(t,0,b),this.remove()):e.splice(t,1,b),t6(v)&&ng(v,d,t,u-1)}return b}mergeWithSibling(e){let t=e===this.getPreviousSibling();t||e===this.getNextSibling()||r(50);let n=this.__key,i=e.__key,o=this.__text,a=o.length;r_()===i&&rT(n);let l=nh();if(t6(l)){let r=l.anchor,o=l.focus;null!==r&&r.key===i&&nb(r,t,n,e,a),null!==o&&o.key===i&&nb(o,t,n,e,a)}let s=e.__text,u=t?s+o:o+s;this.setTextContent(u);let c=this.getWritable();return e.remove(),c}isTextEntity(){return!1}}function tz(e){return{forChild:tJ(e.style),node:null}}function tG(e){let t="normal"===e.style.fontWeight;return{forChild:tJ(e.style,t?void 0:"bold"),node:null}}let tW=new WeakMap;function t$(e){null===e.parentElement&&r(129);let t=e.textContent||"";if(null!==function(e){let t,n=e.parentNode,r=[e];for(;null!==n&&void 0===(t=tW.get(n))&&!function(e){if(!ii(e))return!1;if("PRE"===e.nodeName)return!0;let t=e.style.whiteSpace;return"string"==typeof t&&t.startsWith("pre")}(n);)r.push(n),n=n.parentNode;let i=void 0===t?n:t;for(let e=0;e<r.length;e++)tW.set(r[e],i);return i}(e)){let e=t.split(/(\r?\n|\t)/),n=[],r=e.length;for(let t=0;t<r;t++){let r=e[t];"\n"===r||"\r\n"===r?n.push(tR()):" "===r?n.push(t0()):""!==r&&n.push(tK(r))}return{node:n}}if(""===(t=t.replace(/\r/g,"").replace(/[ \t\n]+/g," ")))return{node:null};if(" "===t[0]){let n=e,r=!0;for(;null!==n&&null!==(n=tZ(n,!1));){let e=n.textContent||"";if(e.length>
470){/[ \t\n]$/.test(e)&&(t=t.slice(1)),r=!1;break}}r&&(t=t.slice(1))}if(" "===t[t.length-1]){let n=e,r=!0;for(;null!==n&&null!==(n=tZ(n,!0));)if((n.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){r=!1;break}r&&(t=t.slice(0,t.length-1))}return""===t?{node:null}:{node:tK(t)}}function tZ(e,t){let n=e;for(;;){let e;for(;null===(e=t?n.nextSibling:n.previousSibling);){let e=n.parentElement;if(null===e)return null;n=e}if(ii(n=e)){let e=n.style.display;if(""===e&&!il(n)||""!==e&&!e.startsWith("inline"))return null}let r=n;for(;null!==(r=t?n.firstChild:n.lastChild);)n=r;if(rm(n))return n;if("BR"===n.nodeName)return null}}let tY={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function tq(e){let t=tY[e.nodeName.toLowerCase()];return void 0===t?{node:null}:{forChild:tJ(e.style,t),node:null}}function tK(e=""){return r7(new tV(e))}function tX(e){return e instanceof tV}function tJ(e,t){let n=e.fontWeight,r=e.textDecoration.split(" "),i="700"===n||"bold"===n,o=r.includes("line-through"),a="italic"===e.fontStyle,l=r.includes("underline"),s=e.verticalAlign;return e=>(tX(e)&&(i&&!e.hasFormat("bold")&&e.toggleFormat("bold"),o&&!e.hasFormat("strikethrough")&&e.toggleFormat("strikethrough"),a&&!e.hasFormat("italic")&&e.toggleFormat("italic"),l&&!e.hasFormat("underline")&&e.toggleFormat("underline"),"sub"!==s||e.hasFormat("subscript")||e.toggleFormat("subscript"),"super"!==s||e.hasFormat("superscript")||e.toggleFormat("superscript"),t&&!e.hasFormat(t)&&e.toggleFormat(t)),e)}class tQ extends tV{static getType(){return"tab"}static clone(e){return new tQ(e.__key)}constructor(e){super(" ",e),this.__detail=2}static importDOM(){return null}createDOM(e){let t=super.createDOM(e),n=r$(e.theme,"tab");return void 0!==n&&t.classList.add(...n),t}static importJSON(e){return t0().updateFromJSON(e)}setTextContent(e){return" "!==e&&""!==e&&r(126),super.setTextContent(e)}setDetail(e){return 2!==e&&r(127),this}setMode(e){return"normal"!==e&&r(128),this}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function t0(){return r7(new tQ)}function t1(e){return e instanceof tQ}class t5{constructor(e,t,n){this._selection=null,this.key=e,this.offset=t,this.type=n}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){return this.key===e.key?this.offset<e.offset:0>ij(iJ(iW(this,"next")),iJ(iW(e,"next")))}getNode(){let e=rx(this.key);return null===e&&r(20),e}set(e,t,n,r){let i=this._selection,o=this.key;r&&this.key===e&&this.offset===t&&this.type===n||(this.key=e,this.offset=t,this.type=n,nP()||(r_()===o&&rT(e),null!==i&&(i.setCachedNodes(null),i.dirty=!0)))}}function t2(e,t,n){return new t5(e,t,n)}function t3(e,t){let n=t.__key,r=e.offset,i="element";if(tX(t)){i="text";let e=t.getTextContentSize();r>e&&(r=e)}else if(!nK(t)){let e=t.getNextSibling();if(tX(e))n=e.__key,r=0,i="text";else{let e=t.getParent();e&&(n=e.__key,r=t.getIndexWithinParent()+1)}}e.set(n,r,i)}function t9(e,t){if(nK(t)){let n=t.getLastDescendant();nK(n)||tX(n)?t3(e,n):t3(e,t)}else t3(e,t)}class t7{constructor(e){this._cachedNodes=null,this._nodes=e,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){if(!t4(e))return!1;let t=this._nodes,n=e._nodes;return t.size===n.size&&Array.from(t).every(e=>n.has(e))}isCollapsed(){return!1}isBackward(){return!1}getStartEndPoints(){return null}add(e){this.dirty=!0,this._nodes.add(e),this._cachedNodes=null}delete(e){this.dirty=!0,this._nodes.delete(e),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(e){return this._nodes.has(e)}clone(){return new t7(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(e){}insertText(){}insertNodes(e){let t;let n=this.getNodes(),r=n.length,i=n[r-1];if(tX(i))t=i.select();else{let e=i.getIndexWithinParent()+1;t=i.getParentOrThrow().select(e,e)}t.insertNodes(e);for(let e=0;e<r;e++)n[e].remove()}getNodes(){let e=this._cachedNodes;if(null!==e)return e;let t=this._nodes,n=[];for(let e of t){let t=rx(e);null!==t&&n.push(t)}return nP()||(this._cachedNodes=n),n}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}}function t6(e){return e instanceof t8}class t8{constructor(e,t,n,r){this.anchor=e,this.focus=t,e._selection=this,t._selection=this,this._cachedNodes=null,this.format=n,this.style=r,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){return!!t6(e)&&this.anchor.is(e.anchor)&&this.focus.is(e.focus)&&this.format===e.format&&this.style===e.style}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){let e=this._cachedNodes;if(null!==e)return e;let t=function(e){let t=[],[n,r]=e.getTextSlices();
47n&&t.push(n.caret.origin);let i=new Set,o=new Set;for(let n of e)if(iA(n)){let{origin:e}=n;0===t.length?i.add(e):(o.add(e),t.push(e))}else{let{origin:e}=n;nK(e)&&o.has(e)||t.push(e)}if(r&&t.push(r.caret.origin),iS(e.focus)&&nK(e.focus.origin)&&null===e.focus.getNodeAtCaret())for(let n=iL(e.focus.origin,"previous");iA(n)&&i.has(n.origin)&&!n.origin.isEmpty()&&n.origin.is(t[t.length-1]);n=iD(n))i.delete(n.origin),t.pop();for(;t.length>1;){let e=t[t.length-1];if(!nK(e)||o.has(e)||e.isEmpty()||i.has(e))break;t.pop()}if(0===t.length&&e.isCollapsed()){let n=iJ(e.anchor),r=iJ(e.anchor.getFlipped()),i=e=>ik(e)?e.origin:e.getNodeAtCaret(),o=i(n)||i(r)||(e.anchor.getNodeAtCaret()?n.origin:r.origin);t.push(o)}return t}(i1(iY(this),"next"));return nP()||(this._cachedNodes=t),t}setTextNodeRange(e,t,n,r){this.anchor.set(e.__key,t,"text"),this.focus.set(n.__key,r,"text")}getTextContent(){let e=this.getNodes();if(0===e.length)return"";let t=e[0],n=e[e.length-1],r=this.anchor,i=this.focus,o=r.isBefore(i),[a,l]=nt(this),s="",u=!0;for(let c=0;c<e.length;c++){let d=e[c];if(nK(d)&&!d.isInline())u||(s+="\n"),u=!d.isEmpty();else if(u=!1,tX(d)){let e=d.getTextContent();d===t?d===n?"element"===r.type&&"element"===i.type&&i.offset!==r.offset||(e=a<l?e.slice(a,l):e.slice(l,a)):e=o?e.slice(a):e.slice(l):d===n&&(e=o?e.slice(0,l):e.slice(0,a)),s+=e}else!nQ(d)&&!tL(d)||d===n&&this.isCollapsed()||(s+=d.getTextContent())}return s}applyDOMRange(e){let t=nL(),n=t.getEditorState()._selection,r=ns(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,n);if(null===r)return;let[i,o]=r;this.anchor.set(i.key,i.offset,i.type,!0),this.focus.set(o.key,o.offset,o.type,!0),U(this)}clone(){let e=this.anchor,t=this.focus;return new t8(t2(e.key,e.offset,e.type),t2(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=ry(this.format,e,null),this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){let t=_[e];return!!(this.format&t)}insertRawText(e){let t=e.split(/(\r?\n|\t)/),n=[],r=t.length;for(let e=0;e<r;e++){let r=t[e];"\n"===r||"\r\n"===r?n.push(tR()):" "===r?n.push(t0()):n.push(tK(r))}this.insertNodes(n)}insertText(e){let t=this.anchor,n=this.focus,i=this.format,o=this.style,a=t,l=n;!this.isCollapsed()&&n.isBefore(t)&&(a=n,l=t),"element"===a.type&&function(e,t,n,r){let i=e.getNode(),o=i.getChildAtIndex(e.offset),a=tK(),l=n1(i)?n8().append(a):a;a.setFormat(n),a.setStyle(r),null===o?i.append(l):o.insertBefore(l),e.is(t)&&t.set(a.__key,0,"text"),e.set(a.__key,0,"text")}(a,l,i,o),"element"===l.type&&i$(l,iJ(iW(l,"next")));let s=a.offset,u=l.offset,c=this.getNodes(),d=c.length,f=c[0];tX(f)||r(26);let p=f.getTextContent().length,h=f.getParentOrThrow(),m=c[d-1];if(1===d&&"element"===l.type&&(u=p,l.set(a.key,u,"text")),this.isCollapsed()&&s===p&&(f.isSegmented()||f.isToken()||!f.canInsertTextAfter()||!h.canInsertTextAfter()&&null===f.getNextSibling())){let t=f.getNextSibling();if(tX(t)&&t.canInsertTextBefore()&&!rh(t)||((t=tK()).setFormat(i),t.setStyle(o),h.canInsertTextAfter()?f.insertAfter(t):h.insertAfter(t)),t.select(0,0),f=t,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===s&&(f.isSegmented()||f.isToken()||!f.canInsertTextBefore()||!h.canInsertTextBefore()&&null===f.getPreviousSibling())){let t=f.getPreviousSibling();if(tX(t)&&!rh(t)||((t=tK()).setFormat(i),h.canInsertTextBefore()?f.insertBefore(t):h.insertBefore(t)),t.select(),f=t,""!==e)return void this.insertText(e)}else if(f.isSegmented()&&s!==p){let e=tK(f.getTextContent());e.setFormat(i),f.replace(e),f=e}else if(!this.isCollapsed()&&""!==e){let t=m.getParent();if(!h.canInsertTextBefore()||!h.canInsertTextAfter()||nK(t)&&(!t.canInsertTextBefore()||!t.canInsertTextAfter()))return this.insertText(""),nl(this.anchor,this.focus,null),void this.insertText(e)}if(1===d){if(f.isToken()){let t=tK(e);return t.select(),void f.replace(t)}let t=f.getFormat(),n=f.getStyle();if(s!==u||t===i&&n===o){if(t1(f)){let t=tK(e);return t.setFormat(i),t.setStyle(o),t.select(),void f.replace(t)}}else{if(""!==f.getTextContent()){let t=tK(e);if(t.setFormat(i),t.setStyle(o),t.select(),0===s)f.insertBefore(t,!1);else{let[e]=f.splitText(s);e.insertAfter(t,!1)}return void(t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length))}f.setFormat(i),f.setStyle(o)}let r=u-s;""===(f=f.spliceText(s,r,e,!0)).getTextContent()?f.remove():"text"===this.anchor.type&&(f.isComposing()?this.anchor.offset-=e.length:(this.format=t,this.style=n))}else{let t=new Set([...f.getParentKeys(),...m.getParentKeys()]),n=nK(f)?f:f.getParentOrThrow(),r=nK(m)?m:m.getParentOrThrow(),i=m;if(!n.is(r)&&r.isInline())do i=r,r=r.getParentOrThrow();while(r.isInline());if("text"===l.type&&(0!==u||""===m.getTextContent())||"element"===l.type&&m.getIndexWithinParent()<u){if(tX(m)&&!m.isToken()&&u!==m.getTextContentSize()){if(m.isSegmented()){let e=tK(m.getTextContent());m.replace(e),m=e}n1(l.getNode())||"text"!==l.type||(m=m.spliceText(0,u,"")),t.add(m.__key)}else{let e=m.getParentOrThrow();e.canBeEmpty()||1!==e.getChildrenSize()?m.remove():e.remove()}}else t.add(m.__key);let o=r.getChildren(),a=new Set(c),h=n.is(r),g=n.isInline()&&null===f.getNextSibling()?n:f;for(let e=o.length-1;e>=0;
47e--){let t=o[e];if(t.is(f)||nK(t)&&t.isParentOf(f))break;t.isAttached()&&(!a.has(t)||t.is(i)?h||g.insertAfter(t,!1):t.remove())}if(!h){let e=r,n=null;for(;null!==e;){let r=e.getChildren(),i=r.length;(0===i||r[i-1].is(n))&&(t.delete(e.__key),n=e),e=e.getParent()}}if(f.isToken()){if(s===p)f.select();else{let t=tK(e);t.select(),f.replace(t)}}else""===(f=f.spliceText(s,p-s,e,!0)).getTextContent()?f.remove():f.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length);for(let e=1;e<d;e++){let n=c[e],r=n.__key;t.has(r)||n.remove()}}}removeText(){let e=nh()===this;iZ(this,function(e,t="removeEmptySlices"){let n,i;if(e.isCollapsed())return e;let o="root",a="next",l=t,s=i1(e,a),u=iK(s.anchor,o),c=iK(s.focus.getFlipped(),o),d=new Set,f=[];for(let e of s.iterNodeCarets(o))if(iA(e))d.add(e.origin.getKey());else if(iS(e)){let{origin:t}=e;nK(t)&&!d.has(t.getKey())||f.push(t)}for(let e of f)e.remove();for(let e of s.getTextSlices()){if(!e)continue;let{origin:t}=e.caret,n=t.getTextContentSize(),r=iq(iI(t,a)),i=t.getMode();if(Math.abs(e.distance)===n&&"removeEmptySlices"===l||"token"===i&&0!==e.distance)r.remove();else if(0!==e.distance){l="removeEmptySlices";let t=e.removeTextSlice(),n=e.caret.origin;if("segmented"===i){let e=t.origin,n=tK(e.getTextContent()).setStyle(e.getStyle()).setFormat(e.getFormat());r.replaceOrInsert(n),t=iN(n,a,t.offset)}n.is(u[0].origin)&&(u[0]=t),n.is(c[0].origin)&&(c[0]=t.getFlipped())}}for(let e of u)if(iX(e)){n=iJ(e);break}for(let e of c)if(iX(e)){i=iJ(e);break}let p=function(e,t,n){let r;if(!e||!t)return null;let i=e.getParentAtCaret(),o=t.getParentAtCaret();if(!i||!o)return null;let a=i.getParents().reverse();a.push(i);let l=o.getParents().reverse();l.push(o);let s=Math.min(a.length,l.length);for(r=0;r<s&&a[r]===l[r];r++);let u=(e,t)=>{let n;for(let i=r;i<e.length;i++){let r=e[i];if(r9(r))return;!n&&t(r)&&(n=r)}return n},c=u(a,iu),d=c&&u(l,e=>n.has(e.getKey())&&iu(e));return c&&d?[c,d]:null}(n,i,d);if(p){let[e,t]=p;iL(e,"previous").splice(0,t.getChildren()),t.remove()}let h=[n,i,...u,...c].find(iX);if(h){let t=i0(iJ(h),e.direction);return iH(t,t)}r(269,JSON.stringify(u.map(e=>e.origin.__key)))}(iY(this))),e&&nh()!==this&&rI(this)}formatText(e,t=null){if(this.isCollapsed())return this.toggleFormat(e),void rT(null);let n=this.getNodes(),r=[];for(let e of n)tX(e)&&r.push(e);let i=t=>{n.forEach(n=>{if(nK(n)){let r=n.getFormatFlags(e,t);n.setTextFormat(r)}})},o=r.length;if(0===o)return this.toggleFormat(e),rT(null),void i(t);let a=this.anchor,l=this.focus,s=this.isBackward(),u=s?l:a,c=s?a:l,d=0,f=r[0],p="element"===u.type?0:u.offset;if("text"===u.type&&p===f.getTextContentSize()&&(d=1,f=r[1],p=0),null==f)return;let h=f.getFormatFlags(e,t);i(h);let m=o-1,g=r[m],y="text"===c.type?c.offset:g.getTextContentSize();if(f.is(g)){if(p===y)return;if(rh(f)||0===p&&y===f.getTextContentSize())f.setFormat(h);else{let e=f.splitText(p,y),t=0===p?e[0]:e[1];t.setFormat(h),"text"===u.type&&u.set(t.__key,0,"text"),"text"===c.type&&c.set(t.__key,y-p,"text")}return void(this.format=h)}0===p||rh(f)||([,f]=f.splitText(p),p=0),f.setFormat(h);let v=g.getFormatFlags(e,h);y>0&&(y===g.getTextContentSize()||rh(g)||([g]=g.splitText(y)),g.setFormat(v));for(let t=d+1;t<m;t++){let n=r[t],i=n.getFormatFlags(e,v);n.setFormat(i)}"text"===u.type&&u.set(f.__key,p,"text"),"text"===c.type&&c.set(g.__key,y,"text"),this.format=h|v}insertNodes(e){var t;if(0===e.length)return;if(this.isCollapsed()||this.removeText(),"root"===this.anchor.key){this.insertParagraph();let t=nh();return t6(t)||r(134),t.insertNodes(e)}let n=(this.isBackward()?this.focus:this.anchor).getNode(),i=ic(n,iu),o=e[e.length-1];if(nK(i)&&"__language"in i){if("__language"in e[0])this.insertText(e[0].getTextContent());else{let t=n_(this);i.splice(t,0,e),o.selectEnd()}return}if(!e.some(e=>(nK(e)||nQ(e))&&!e.isInline())){nK(i)||r(211,n.constructor.name,n.getType());let t=n_(this);return i.splice(t,0,e),void o.selectEnd()}let a=function(e){let t=n8(),n=null;for(let r=0;r<e.length;r++){let i=e[r],o=tL(i);if(o||nQ(i)&&i.isInline()||nK(i)&&i.isInline()||tX(i)||i.isParentRequired()){if
47(null===n&&(n=i.createParentElementNode(),t.append(n),o))continue;null!==n&&n.append(i)}else t.append(i),n=null}return t}(e),l=a.getLastDescendant(),s=a.getChildren(),u=nK(i)&&i.isEmpty()?null:this.insertParagraph(),c=s[s.length-1],d=s[0];nK(t=d)&&iu(t)&&!t.isEmpty()&&nK(i)&&(!i.isEmpty()||i.canMergeWhenEmpty())&&(nK(i)||r(211,n.constructor.name,n.getType()),i.append(...d.getChildren()),d=s[1]),d&&(null===i&&r(212,n.constructor.name,n.getType()),function(e,t,n){let i=t.getParentOrThrow().getLastChild(),o=t,a=[t];for(;o!==i;)o.getNextSibling()||r(140),a.push(o=o.getNextSibling());let l=e;for(let e of a)l=l.insertAfter(e)}(i,d));let f=ic(l,iu);u&&nK(f)&&(u.canMergeWhenEmpty()||iu(c))&&(f.append(...u.getChildren()),u.remove()),nK(i)&&i.isEmpty()&&i.remove(),l.selectEnd();let p=nK(i)?i.getLastChild():null;tL(p)&&f!==i&&p.remove()}insertParagraph(){if("root"===this.anchor.key){let e=n8();return rO().splice(this.anchor.offset,0,[e]),e.select(),e}let e=n_(this),t=ic(this.anchor.getNode(),iu);nK(t)||r(213);let n=t.getChildAtIndex(e),i=n?[n,...n.getNextSiblings()]:[],o=t.insertNewAfter(this,!1);return o?(o.append(...i),o.selectStart(),o):null}insertLineBreak(e){let t=tR();if(this.insertNodes([t]),e){let e=t.getParentOrThrow(),n=t.getIndexWithinParent();e.select(n,n)}}extract(){let e=this.getNodes(),t=e.length,n=t-1,r=this.anchor,i=this.focus,o=e[0],a=e[n],[l,s]=nt(this);if(0===t)return[];if(1===t){if(tX(o)&&!this.isCollapsed()){let e=l>s?s:l,t=o.splitText(e,l>s?l:s),n=0===e?t[0]:t[1];return null!=n?[n]:[]}return[o]}let u=r.isBefore(i);if(tX(o)){let t=u?l:s;t===o.getTextContentSize()?e.shift():0!==t&&([,o]=o.splitText(t),e[0]=o)}if(tX(a)){let t=a.getTextContent().length,r=u?s:l;0===r?e.pop():r!==t&&([a]=a.splitText(r),e[n]=a)}return e}modify(e,t,n){if(nx(this,e,t,n))return;let r="move"===e,i=nL(),o=ie(r3(i));if(!o)return;let a=i._blockCursorElement,l=i._rootElement,s=this.focus.getNode();if(null===l||null===a||!nK(s)||s.isInline()||s.canBeEmpty()||r4(a,i,l),this.dirty){let e=rQ(i,this.anchor.key),t=rQ(i,this.focus.key);"text"===this.anchor.type&&(e=rg(e)),"text"===this.focus.type&&(t=rg(t)),e&&t&&nE(o,e,this.anchor.offset,t,this.focus.offset)}if(function(e,t,n,r){e.modify(t,n,r)}(o,e,t?"backward":"forward",n),o.rangeCount>0){let e=o.getRangeAt(0),n=this.anchor.getNode(),i=n1(n)?n:function(e){let t=e.getParentOrThrow();for(;null!==t&&!r9(t);)t=t.getParentOrThrow();return t}(n);if(this.applyDOMRange(e),this.dirty=!0,!r){let n=this.getNodes(),r=[],a=!1;for(let e=0;e<n.length;e++){let t=n[e];r5(t,i)?r.push(t):a=!0}if(a&&r.length>0){if(t){let e=r[0];nK(e)?e.selectStart():e.getParentOrThrow().selectStart()}else{let e=r[r.length-1];nK(e)?e.selectEnd():e.getParentOrThrow().selectEnd()}}o.anchorNode===e.startContainer&&o.anchorOffset===e.startOffset||function(e){let t=e.focus,n=e.anchor,r=n.key,i=n.offset,o=n.type;n.set(t.key,t.offset,t.type,!0),t.set(r,i,o,!0)}(this)}}"lineboundary"===n&&nx(this,e,t,n,"decorators")}forwardDeletion(e,t,n){if(!n&&("element"===e.type&&nK(t)&&e.offset===t.getChildrenSize()||"text"===e.type&&e.offset===t.getTextContentSize())){let e=t.getParent(),n=t.getNextSibling()||(null===e?null:e.getNextSibling());if(nK(n)&&n.isShadowRoot())return!0}return!1}deleteCharacter(e){let t=this.isCollapsed();if(this.isCollapsed()){let t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;let r=iB(iW(t,e?"previous":"next"));if(r.getTextSlices().every(e=>null===e||0===e.distance)){let e={type:"initial"};for(let t of r.iterNodeCarets("shadowRoot"))if(iA(t)){if(t.origin.isInline());else{if(t.origin.isShadowRoot()){if("merge-block"===e.type)break;if(nK(r.anchor.origin)&&r.anchor.origin.isEmpty()){let e=iJ(t);iZ(this,iH(e,e)),r.anchor.origin.remove()}return}"merge-next-block"!==e.type&&"merge-block"!==e.type||(e={block:e.block,caret:t,type:"merge-block"})}}else{if("merge-block"===e.type)break;if(iS(t)){if(nK(t.origin)){if(t.origin.isInline()){if(!t.origin.isParentOf(r.anchor.origin))break}else e={block:t.origin,type:"merge-next-block"};continue}if(nQ(t.origin)){if(t.origin.isIsolated());else if("merge-next-block"===e.type&&(t.origin.isKeyboardSelectable()||!t.origin.isInline())&&nK(r.anchor.origin)&&r.anchor.origin.isEmpty()){r.anchor.origin.remove();let e=nf();e.add(t.origin.getKey()),rI(e)}else t.origin.remove();return}break}}if("merge-block"===e.type){let{caret:t,block:n}=e;return iZ(this,iH(!t.origin.isEmpty()&&n.isEmpty()?iq(iI(n,t.direction)):r.anchor,t)),this.removeText()}}let i=this.focus;if(this.modify("extend",e,"character"),this.isCollapsed()){if(e&&0===t.offset&&nn(this,t.getNode()))return}else{let r="text"===i.type?i.getNode():null;if(n="text"===t.type?t.getNode():null,null!==r&&r.isSegmented()){let t=i.offset,o=r.getTextContentSize();if(r.is(n)||e&&t!==o||!e&&0!==t)return void ni(r,e,t)}else if(null!==n&&n.isSegmented()){let i=t.offset,o=n.getTextContentSize();if(n.is(r)||e&&0!==i||!e&&i!==o)return void ni(n,e,i)}!function(e,t){let n=e.anchor,r=e.focus,i=n.getNode(),o=r.getNode();if(i===o&&"text"===n.type&&"text"===r.type){let e=n.offset,o=r.offset,l=e<o,s=l?e:o,u=l?o:e,c=u-1;if(s!==c){var a;rL(a=i.getTextContent().slice(s,u))||nr(a)||(t?r.set(r.key,c,r.type):n.set(n.key,c,n.type))}}}(this,e)}}if(this.removeText(),e&&!t&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset){let e=this.anchor.getNode();e.isEmpty()&&n1(e.getParent())&&null===e.getPreviousSibling()&&nn(this,e)}}deleteLine(e){this.isCollapsed()&&this.modify("extend",e,"lineboundary"),this.isCollapsed()?this.deleteCharacter(e):this.removeText()}
47deleteWord(e){if(this.isCollapsed()){let t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;this.modify("extend",e,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function t4(e){return e instanceof t7}function ne(e){let t=e.offset;if("text"===e.type)return t;let n=e.getNode();return t===n.getChildrenSize()?n.getTextContent().length:0}function nt(e){let t=e.getStartEndPoints();if(null===t)return[0,0];let[n,r]=t;return"element"===n.type&&"element"===r.type&&n.key===r.key&&n.offset===r.offset?[0,0]:[ne(n),ne(r)]}function nn(e,t){for(let n=t;n;n=n.getParent()){if(nK(n)){if(n.collapseAtStart(e))return!0;if(r9(n))break}if(n.getPreviousSibling())break}return!1}let nr=(()=>{try{let e=RegExp("\\p{Emoji}","u"),t=e.test.bind(e);if(t("â¤ï¸")&&t("#ï¸â£")&&t("\uD83D\uDC4D"))return t}catch(e){}return()=>!1})();function ni(e,t,n){let r=e.getTextContent().split(/(?=\s)/g),i=r.length,o=0,a=0;for(let e=0;e<i;e++){let l=e===i-1;if(a=o,o+=r[e].length,t&&o===n||o>n||l){r.splice(e,1),l&&(a=void 0);break}}let l=r.join("").trim();""===l?e.remove():(e.setTextContent(l),e.select(a,a))}function no(e,t,n,i){let o,a=t;if(ii(e)){let l=!1,s=e.childNodes,u=s.length,c=i._blockCursorElement;a===u&&(l=!0,a=u-1);let d=s[a],f=!1;if(d===c)d=s[a+1],f=!0;else if(null!==c){let n=c.parentNode;e===n&&t>Array.prototype.indexOf.call(n.children,c)&&a--}if(tX(o=rN(d)))a=rR(o,l);else{let s=rN(e);if(null===s)return null;if(nK(s)){let u=i.getElementByKey(s.getKey());null===u&&r(214);let c=s.getDOMSlot(u);[s,a]=c.resolveChildIndex(s,u,e,t),nK(s)||r(215),l&&a>=s.getChildrenSize()&&(a=Math.max(0,s.getChildrenSize()-1));let d=s.getChildAtIndex(a);if(nK(d)&&function(e,t,n){let r=e.getParent();return null===n||null===r||!r.canBeEmpty()||r!==n.getNode()}(d,0,n)){let e=l?d.getLastDescendant():d.getFirstDescendant();s=null===e?d:nK(d=e)?d:d.getParentOrThrow(),a=0}tX(d)?(o=d,s=null,a=rR(d,l)):d!==s&&l&&!f&&(nK(s)||r(216),a=Math.min(s.getChildrenSize(),a+1))}else{let n=s.getIndexWithinParent();a=0===t&&nQ(s)&&rN(e)===s?n:n+1,s=s.getParentOrThrow()}if(nK(s))return t2(s.__key,a,"element")}}else o=rN(e);return tX(o)?t2(o.__key,a,"text"):null}function na(e,t,n){let r=e.offset,i=e.getNode();if(0===r){let r=i.getPreviousSibling(),o=i.getParent();if(t){if((n||!t)&&null===r&&nK(o)&&o.isInline()){let t=o.getPreviousSibling();tX(t)&&e.set(t.__key,t.getTextContent().length,"text")}}else nK(r)&&!n&&r.isInline()?e.set(r.__key,r.getChildrenSize(),"element"):tX(r)&&e.set(r.__key,r.getTextContent().length,"text")}else if(r===i.getTextContent().length){let r=i.getNextSibling(),o=i.getParent();if(t&&nK(r)&&r.isInline())e.set(r.__key,0,"element");else if((n||t)&&null===r&&nK(o)&&o.isInline()&&!o.canInsertTextAfter()){let t=o.getNextSibling();tX(t)&&e.set(t.__key,0,"text")}}}function nl(e,t,n){if("text"===e.type&&"text"===t.type){let r=e.isBefore(t),i=e.is(t);na(e,r,i),na(t,!r,i),i&&t.set(e.key,e.offset,e.type);let o=nL();if(o.isComposing()&&o._compositionKey!==e.key&&t6(n)){let r=n.anchor,i=n.focus;e.set(r.key,r.offset,r.type,!0),t.set(i.key,i.offset,i.type,!0)}}}function ns(e,t,n,r,i,o){if(null===e||null===n||!rc(i,e,n))return null;let a=no(e,t,t6(o)?o.anchor:null,i);if(null===a)return null;let l=no(n,r,t6(o)?o.focus:null,i);if(null===l)return null;if("element"===a.type&&"element"===l.type){let t=rN(e),r=rN(n);if(nQ(t)&&nQ(r))return null}return nl(a,l,o),[a,l]}function nu(e){return nK(e)&&!e.isInline()}function nc(e,t,n,r,i,o){let a=nR(),l=new t8(t2(e,t,i),t2(n,r,o),0,"");return l.dirty=!0,a._selection=l,l}function nd(){let e=t2("root",0,"element"),t=t2("root",0,"element");return new t8(e,t,0,"")}function nf(){return new t7(new Set)}function np(e,t,n,r){let i,o,a,l;let s=n._window;if(null===s)return null;let u=r||s.event,c=u?u.type:void 0,d="selectionchange"===c,f=!w&&(d||"beforeinput"===c||"compositionstart"===c||"compositionend"===c||"click"===c&&u&&3===u.detail||"drop"===c||void 0===c);if(t6(e)&&!f)return e.clone();if(null===t)return null;if(i=t.anchorNode,o=t.focusNode,a=t.anchorOffset,l=t.focusOffset,d&&t6(e)&&!rc(n,i,o))return e.clone();let p=ns(i,a,o,l,n,e);if(null===p)return null;let[h,m]=p;return new t8(h,m,t6(e)?e.format:0,t6(e)?e.style:"")}function nh(){return nR()._selection}function nm(){return nL()._editorState._selection}function ng(e,t,n,r=1){let i=e.anchor,o=e.focus,a=i.getNode(),l=o.getNode();if(!t.is(a)&&!t.is(l))return;let s=t.__key;if(e.isCollapsed()){let t=i.offset;if(n<=t&&r>0||n<t&&r<0){let n=Math.max(0,t+r);i.set(s,n,"element"),o.set(s,n,"element"),ny(e)}}else{let a=e.isBackward(),l=a?o:i,u=l.getNode(),c=a?i:o,d=c.getNode();if(t.is(u)){let e=l.offset;(n<=e&&r>0||n<e&&r<0)&&l.set(s,Math.max(0,e+r),"element")}if(t.is(d)){let e=c.offset;(n<=e&&r>0||n<e&&r<0)&&c.set(s,Math.max(0,e+r),"element")}}ny(e)}function ny(e){let t=e.anchor,n=t.offset,r=e.focus,i=r.offset,o=t.getNode(),a=r.getNode();if(e.isCollapsed()){if(!nK(o))return;let e=o.getChildrenSize(),i=n>=e,a=i?o.getChildAtIndex(e-1):o.getChildAtIndex(n);if(tX(a)){let e=0;i&&(e=a.getTextContentSize()),t.set(a.__key,e,"text"),r.set(a.__key,e,"text")}}else{if(nK(o)){let e=o.getChildrenSize(),r=n>=e,i=r?o.getChildAtIndex(e-1):o.getChildAtIndex(n);if(tX(i)){let e=0;r&&(e=i.getTextContentSize()),t.set(i.__key,e,"text")}}if(nK(a)){let e=a.getChildrenSize(),t=i>=e,n=t?a.getChildAtIndex(e-1):a.getChildAtIndex(i);if(tX(n)){let e=0;t&&(e=n.getTextContentSize()),r.set(n.__key,e,"text")}}}}function nv(e,t,n,r,i){let o=null,a=0,l=null;null!==r?(o=r.__key,tX(r)?(a=r.getTextContentSize(),l="text"):nK(r)&&(a=r.getChildrenSize(),l="element")):null!==i&&(o=i.__key,tX(i)?l="text":nK(i)&&(l="element")),null!==o&&null!==l?e.set(o,a,l):(-1===(a=t.getIndexWithinParent())&&(a=n.getChildrenSize()),e.set(n.__key,a,"element"))}function nb(e,t,n,r,i){"text"===e.type?e.set(n,e.offset+(t?0:i),"text"):e.offset>r.getIndexWithinParent()&&e.set(e.key,e.offset-1,"element")}function nE(e,t,n,r,i){try{e.setBaseAndExtent(t,n,r,i)}catch(e){}}function nT(e){let t=nh()||nm();
47null===t&&(t=rO().selectEnd()),t.insertNodes(e)}function n_(e){let t=e;e.isCollapsed()||t.removeText();let n=nh();t6(n)&&(t=n),t6(t)||r(161);let i=t.anchor,o=i.getNode(),a=i.offset;for(;!iu(o);){let e=o;if([o,a]=function(e,t){let n=e.getParent();if(!n){let e=n8();return rO().append(e),e.select(),[rO(),0]}if(tX(e)){let r=e.splitText(t);if(0===r.length)return[n,e.getIndexWithinParent()];let i=0===t?0:1;return[n,r[0].getIndexWithinParent()+i]}if(!nK(e)||0===t)return[n,e.getIndexWithinParent()];let r=e.getChildAtIndex(t);if(r){let n=new t8(t2(e.__key,t,"element"),t2(e.__key,t,"element"),0,""),i=e.insertNewAfter(n);i&&i.append(r,...r.getNextSiblings())}return[n,e.getIndexWithinParent()+1]}(o,a),e.is(o))break}return a}function nx(e,t,n,r,i="decorators-and-blocks"){if("move"===t&&"character"===r&&!e.isCollapsed()){let[t,r]=n===e.isBackward()?[e.focus,e.anchor]:[e.anchor,e.focus];return r.set(t.key,t.offset,t.type),!0}let o=iW(e.focus,n?"previous":"next"),a="lineboundary"===r,l="move"===t,s=o,u="decorators-and-blocks"===i;if(!iQ(s)){for(let e of s){u=!1;let{origin:t}=e;if(!nQ(t)||t.isIsolated()||(s=e,!a||!t.isInline()))break}if(u)for(let e of iB(o).iterNodeCarets("extend"===t?"shadowRoot":"root")){if(iA(e))e.origin.isInline()||(s=e);else{if(nK(e.origin))continue;nQ(e.origin)&&!e.origin.isInline()&&(s=e)}break}}if(s===o)return!1;if(l&&!a&&nQ(s.origin)&&s.origin.isKeyboardSelectable()){let e=nf();return e.add(s.origin.getKey()),rI(e),!0}return s=iJ(s),l&&i$(e.anchor,s),i$(e.focus,s),u||!a}let nC=null,nk=null,nS=!1,nA=!1,nw=0,nO={characterData:!0,childList:!0,subtree:!0};function nP(){return nS||null!==nC&&nC._readOnly}function nI(){nS&&r(13)}function nN(){nw>99&&r(14)}function nR(){return null===nC&&r(195,nD()),nC}function nL(){return null===nk&&r(196,nD()),nk}function nD(){let e=0,t=new Set,n=ra.version;if("undefined"!=typeof window)for(let r of document.querySelectorAll("[contenteditable]")){let i=rp(r);if(rd(i))e++;else if(i){let e=String(i.constructor.version||"<0.17.1");e===n&&(e+=" (separately built, likely a bundler configuration issue)"),t.add(e)}}let r=` Detected on the page: ${e} compatible editor(s) with version ${n}`;return t.size&&(r+=` and incompatible editors with versions ${Array.from(t).join(", ")}`),r}function nM(e,t,n){let i=t.__type,o=function(e,t){let n=e._nodes.get(t);return void 0===n&&r(30,t),n}(e,i),a=n.get(i);void 0===a&&(a=Array.from(o.transforms),n.set(i,a));let l=a.length;for(let e=0;e<l&&(a[e](t),t.isAttached());e++);}function nF(e,t){return void 0!==e&&e.__key!==t&&e.isAttached()}function nB(e,t){if(!t)return;let n=e._updateTags,r=t;for(let e of(Array.isArray(t)||(r=[t]),r))n.add(e)}function nH(e){return nU(e,nL()._nodes)}function nU(e,t){let n=e.type,i=t.get(n);void 0===i&&r(17,n);let o=i.klass;e.type!==o.getType()&&r(18,o.name);let a=o.importJSON(e),l=e.children;if(nK(a)&&Array.isArray(l))for(let e=0;e<l.length;e++){let n=nU(l[e],t);a.append(n)}return a}function nj(e,t,n){let r=nC,i=nS,o=nk;nC=t,nS=!0,nk=e;try{return n()}finally{nC=r,nS=i,nk=o}}function nV(e,t){let n=e._pendingEditorState,i=e._rootElement,o=e._headless||null===i;if(null===n)return;let a=e._editorState,l=a._selection,s=n._selection,u=0!==e._dirtyType,c=nC,d=nS,f=nk,p=e._updating,h=e._observer,g=null;if(e._pendingEditorState=null,e._editorState=n,!o&&u&&null!==h){nk=e,nC=n,nS=!1,e._updating=!0;try{let t=e._dirtyType,i=e._dirtyElements,o=e._dirtyLeaves;h.disconnect(),g=function(e,t,n,i,o,a){J="",en="",Q="",er=2===i,eo=null,z=n,V=n._config,G=n._nodes,W=z._listeners.mutation,$=o,Z=a,Y=e._nodeMap,q=t._nodeMap,ei=t._readOnly,K=new Map(n._keyToDOMMap);let l=new Map;return X=l,function e(t,n){let i=Y.get(t),o=q.get(t);void 0!==i&&void 0!==o||r(61);let a=er||Z.has(t)||$.has(t),l=rQ(z,t);if(i===o&&!a){if(nK(i)){let e=l.__lexicalTextContent;void 0!==e&&(J+=e,en+=e);let t=l.__lexicalDirTextContent;void 0!==t&&(Q+=t)}else{let e=i.getTextContent();tX(i)&&!i.isDirectionless()&&(Q+=e),en+=e,J+=e}return l}if(i!==o&&a&&rZ(X,G,W,o,"updated"),o.updateDOM(i,l,V)){let e=ed(t,null);return null===n&&r(62),n.replaceChild(e,l),ea(t,null),e}
47if(nK(i)&&nK(o)){let t=o.__indent;t!==i.__indent&&eu(l,t);let n=o.__format;n!==i.__format&&ec(l,n),a&&(function(t,n,i){let o=Q;Q="",ee=null,et="",function(t,n,i){let o=J,a=t.__size,l=n.__size;J="";let s=i.element;if(1===a&&1===l){let r=t.__first,i=n.__first;if(r===i)e(r,s);else{let e=eb(r),t=ed(i,null);try{s.replaceChild(t,e)}catch(n){if("object"==typeof n&&null!=n){let o=`${n.toString()} Parent: ${s.tagName}, new child: {tag: ${t.tagName} key: ${i}}, old child: {tag: ${e.tagName}, key: ${r}}.`;throw Error(o)}throw n}ea(r,null)}let o=q.get(i);tX(o)&&(null===ee&&(ee=o.getFormat()),""===et&&(et=o.getStyle()))}else{let o=eg(t,Y),u=eg(n,q);if(o.length!==a&&r(227),u.length!==l&&r(228),0===a)0!==l&&ef(u,n,0,l-1,i);else if(0===l){if(0!==a){let e=null==i.after&&null==i.before&&null==i.element.__lexicalLineBreak;el(o,0,a-1,e?null:s),e&&(s.textContent="")}}else!function(t,n,r,i,o,a){let l=i-1,s=o-1,u,c,d=a.getFirstChild(),f=0,p=0;for(;f<=l&&p<=s;){let t=n[f],i=r[p];if(t===i)d=ev(e(i,a.element)),f++,p++;else{void 0===u&&(u=new Set(n)),void 0===c&&(c=new Set(r));let o=c.has(t),l=u.has(i);if(o){if(l){let t=rQ(z,i);t===d?d=ev(e(i,a.element)):(a.withBefore(d).insertChild(t),e(i,a.element)),f++,p++}else ed(i,a.withBefore(d)),p++}else d=ev(eb(t)),ea(t,a.element),f++}let o=q.get(i);null!==o&&tX(o)&&(null===ee&&(ee=o.getFormat()),""===et&&(et=o.getStyle()))}let h=f>l,m=p>s;if(h&&!m){let e=r[s+1],n=void 0===e?null:z.getElementByKey(e);ef(r,t,p,s,a.withBefore(n))}else m&&!h&&el(n,f,l,a.element)}(n,o,u,a,l,i)}rJ(n)&&(J+="\n\n"),s.__lexicalTextContent=J,J=o+J}(t,n,n.getDOMSlot(i)),em(n,i),null==ee||ee===n.__textFormat||ei||n.setTextFormat(ee),""===et||et===n.__textStyle||ei||n.setTextStyle(et),Q=o}(i,o,l),n1(o)||o.isInline()||eh(i,o,l)),rJ(o)&&(J+="\n\n",en+="\n\n")}else{let e=o.getTextContent();if(nQ(o)){let e=o.decorate(z,V);null!==e&&ey(t,e)}else tX(o)&&!o.isDirectionless()&&(Q+=e);J+=e,en+=e}if(!ei&&n1(o)&&o.__cachedText!==en){let e=o.getWritable();e.__cachedText=en,o=e}return l}("root",null),z=void 0,G=void 0,$=void 0,Z=void 0,Y=void 0,q=void 0,V=void 0,K=void 0,X=void 0,l}(a,n,e,t,i,o)}catch(t){if(t instanceof Error&&e._onError(t),nA)throw t;return ri(e,null,i,n),L(e),e._dirtyType=2,nA=!0,nV(e,a),void(nA=!1)}finally{h.observe(i,nO),e._updating=p,nC=c,nS=d,nk=f}}n._readOnly||(n._readOnly=!0);let y=e._dirtyLeaves,v=e._dirtyElements,b=e._normalizedNodes,E=e._updateTags,T=e._deferred;u&&(e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements=new Map,e._normalizedNodes=new Set,e._updateTags=new Set),function(e,t){let n;let r=e._decorators,i=e._pendingDecorators||r,o=t._nodeMap;for(n in i)o.has(n)||(i===r&&(i=rA(e)),delete i[n])}(e,n);let _=o?null:ie(r3(e));if(e._editable&&null!==_&&(u||null===s||s.dirty)&&null!==i&&!E.has("skip-dom-selection")){nk=e,nC=n;try{if(null!==h&&h.disconnect(),u||null===s||s.dirty){let t=e._blockCursorElement;null!==t&&r4(t,e,i),function(e,t,n,r,i,o,a){let l=r.anchorNode,s=r.focusNode,u=r.anchorOffset,c=r.focusOffset,d=document.activeElement;if(i.has("collaboration")&&d!==o||null!==d&&ru(d))return;if(!t6(t))return void(null!==e&&rc(n,l,s)&&r.removeAllRanges());let f=t.anchor,p=t.focus,h=f.key,m=p.key,g=rQ(n,h),y=rQ(n,m),v=f.offset,b=p.offset,E=t.format,T=t.style,_=t.isCollapsed(),x=g,C=y,k=!1;if("text"===f.type){x=rg(g);let e=f.getNode();k=e.getFormat()!==E||e.getStyle()!==T}else t6(e)&&"text"===e.anchor.type&&(k=!0);if("text"===p.type&&(C=rg(y)),null!==x&&null!==C&&(_&&(null===e||k||t6(e)&&(e.format!==E||e.style!==T))&&(tg=[E,T,v,h,performance.now()]),u!==v||c!==b||l!==x||s!==C||"Range"===r.type&&_||(null!==d&&o.contains(d)||o.focus({preventScroll:!0}),"element"===f.type))){if(nE(r,x,v,C,b),!i.has("skip-scroll-into-view")&&t.isCollapsed()&&null!==o&&o===document.activeElement){let e=t6(t)&&"element"===t.anchor.type?x.childNodes[v]||null:r.rangeCount>0?r.getRangeAt(0):null;if(null!==e){let t;if(e instanceof Text){let n=document.createRange();n.selectNode(e),t=n.getBoundingClientRect()}else t=e.getBoundingClientRect();!function(e,t,n){let r=r1(n),i=r2(r);if(null===r||null===i)return;let{top:o,bottom:a}=t,l=0,s=0,u=n;for(;null!==u;){let t=u===r.body;if(t)l=0,s=r3(e).innerHeight;else{let e=u.getBoundingClientRect();l=e.top,s=e.bottom}let n=0;if(o<l?n=-(l-o):a>s&&(n=a-s),0!==n){if(t)i.scrollBy(0,n);else{let e=u.scrollTop;u.scrollTop+=n;let t=u.scrollTop-e;o-=t,a-=t}}if(t)break;u=r0(u)}}(n,t,o)}}tu=!0}}(l,s,e,_,E,i)}!function(e,t,n){let r=e._blockCursorElement;if(t6(n)&&n.isCollapsed()&&"element"===n.anchor.type&&t.contains(document.activeElement)){let i=n.anchor,o=i.getNode(),a=i.offset,l=!1,s=null;if(a===o.getChildrenSize())r8(o.getChildAtIndex(a-1))&&(l=!0);else{let t=o.getChildAtIndex(a);if(null!==t&&r8(t)){let n=t.getPreviousSibling();(null===n||r8(n))&&(l=!0,s=e.getElementByKey(t.__key))}}if(l){let n=e.getElementByKey(o.__key);return null===r&&(e._blockCursorElement=r=function(e){let t=e.theme,n=document.createElement("div");n.contentEditable="false",n.setAttribute("data-lexical-cursor","true");let r=t.blockCursor;if(void 0!==r){if("string"==typeof r){let e=m(r);r=t.blockCursor=e}void 0!==r&&n.classList.add(...r)}return n}(e._config)),t.style.caretColor="transparent",void(null===s?n.appendChild(r):n.insertBefore(r,
47s))}}null!==r&&r4(r,e,t)}(e,i,s)}finally{null!==h&&h.observe(i,nO),nk=f,nC=c}}null!==g&&function(e,t,n,r,i){let o=Array.from(e._listeners.mutation),a=o.length;for(let e=0;e<a;e++){let[a,l]=o[e],s=t.get(l);void 0!==s&&a(s,{dirtyLeaves:r,prevEditorState:i,updateTags:n})}}(e,g,E,y,a),t6(s)||null===s||null!==l&&l.is(s)||e.dispatchCommand(eT,void 0);let x=e._pendingDecorators;null!==x&&(e._decorators=x,e._pendingDecorators=null,nz("decorator",e,!0,x)),function(e,t,n){let r=rw(t),i=rw(n);r!==i&&nz("textcontent",e,!0,i)}(e,t||a,n),nz("update",e,!0,{dirtyElements:v,dirtyLeaves:y,editorState:n,normalizedNodes:b,prevEditorState:t||a,tags:E}),function(e,t){if(e._deferred=[],0!==t.length){let n=e._updating;e._updating=!0;try{for(let e=0;e<t.length;e++)t[e]()}finally{e._updating=n}}}(e,T),function(e){let t=e._updates;if(0!==t.length){let n=t.shift();if(n){let[t,r]=n;nW(e,t,r)}}}(e)}function nz(e,t,n,...r){let i=t._updating;t._updating=n;try{let n=Array.from(t._listeners[e]);for(let e=0;e<n.length;e++)n[e].apply(null,r)}finally{t._updating=i}}function nG(e,t){let n=e._updates,i=t||!1;for(;0!==n.length;){let t=n.shift();if(t){let n;let[o,a]=t;if(void 0!==a){if(n=a.onUpdate,a.skipTransforms&&(i=!0),a.discrete){let t=e._pendingEditorState;null===t&&r(191),t._flushSync=!0}n&&e._deferred.push(n),nB(e,a.tag)}o()}}return i}function nW(e,t,n){let i=e._updateTags,o,a=!1,l=!1;void 0!==n&&(o=n.onUpdate,nB(e,n.tag),a=n.skipTransforms||!1,l=n.discrete||!1),o&&e._deferred.push(o);let s=e._editorState,u=e._pendingEditorState,c=!1;(null===u||u._readOnly)&&(u=e._pendingEditorState=n5(u||s),c=!0),u._flushSync=l;let d=nC,f=nS,p=nk,h=e._updating;nC=u,nS=!1,e._updating=!0,nk=e;let m=e._headless||null===e.getRootElement();try{c&&(m?null!==s._selection&&(u._selection=s._selection.clone()):u._selection=function(e,t){let n=e.getEditorState()._selection,r=ie(r3(e));return t6(n)||null==n?np(n,r,e,t):n.clone()}(e,n&&n.event||null));let i=e._compositionKey;t(),a=nG(e,a),function(e,t){let n=t.getEditorState()._selection,r=e._selection;if(t6(r)){let e;let t=r.anchor,i=r.focus;if("text"===t.type&&(e=t.getNode()).selectionTransform(n,r),"text"===i.type){let t=i.getNode();e!==t&&t.selectionTransform(n,r)}}}(u,e),0!==e._dirtyType&&(a?function(e,t){let n=t._dirtyLeaves,r=e._nodeMap;for(let e of n){let t=r.get(e);tX(t)&&t.isAttached()&&t.isSimpleText()&&!t.isUnmergeable()&&H(t)}}(u,e):function(e,t){let n=t._dirtyLeaves,r=t._dirtyElements,i=e._nodeMap,o=r_(),a=new Map,l=n,s=l.size,u=r,c=u.size;for(;s>0||c>0;){if(s>0){for(let e of(t._dirtyLeaves=new Set,l)){let r=i.get(e);tX(r)&&r.isAttached()&&r.isSimpleText()&&!r.isUnmergeable()&&H(r),void 0!==r&&nF(r,o)&&nM(t,r,a),n.add(e)}if((s=(l=t._dirtyLeaves).size)>0){nw++;continue}}for(let e of(t._dirtyLeaves=new Set,t._dirtyElements=new Map,u)){let n=e[0],l=e[1];if("root"!==n&&!l)continue;let s=i.get(n);void 0!==s&&nF(s,o)&&nM(t,s,a),r.set(n,l)}s=(l=t._dirtyLeaves).size,c=(u=t._dirtyElements).size,nw++}t._dirtyLeaves=n,t._dirtyElements=r}(u,e),nG(e),function(e,t,n,r){let i=e._nodeMap,o=t._nodeMap,a=[];for(let[e]of r){let t=o.get(e);void 0!==t&&(t.isAttached()||(nK(t)&&function e(t,n,r,i,o,a){let l=t.getFirstChild();for(;null!==l;){let t=l.__key;l.__parent===n&&(nK(l)&&e(l,t,r,i,o,a),r.has(t)||a.delete(t),o.push(t)),l=l.getNextSibling()}}(t,e,i,o,a,r),i.has(e)||r.delete(e),a.push(e)))}for(let e of a)o.delete(e);for(let e of n){let t=o.get(e);void 0===t||t.isAttached()||(i.has(e)||n.delete(e),o.delete(e))}}(s,u,e._dirtyLeaves,e._dirtyElements)),i!==e._compositionKey&&(u._flushSync=!0);let o=u._selection;if(t6(o)){let e=u._nodeMap,t=o.anchor.key,n=o.focus.key;void 0!==e.get(t)&&void 0!==e.get(n)||r(19)}else t4(o)&&0===o._nodes.size&&(u._selection=null)}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=s,e._dirtyType=2,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void nV(e)}finally{nC=d,nS=f,nk=p,e._updating=h,nw=0}let g=0!==e._dirtyType||e._deferred.length>0||function(e,t){let n=t.getEditorState()._selection,r=e._selection;if(null!==r){if(r.dirty||!r.is(n))return!0}else if(null!==n)return!0;return!1}(u,e);g?u._flushSync?(u._flushSync=!1,nV(e)):c&&rs(()=>{nV(e)}):(u._flushSync=!1,c&&(i.clear(),e._deferred=[],e._pendingEditorState=null))}function n$(e,t,n){e._updating?nk===e?t():e._updates.push([t,n]):nW(e,t,n)}class nZ{constructor(e,t,n){this.element=e,this.before=t||null,this.after=n||null}withBefore(e){return new nZ(this.element,e,this.after)}withAfter(e){return new nZ(this.element,this.before,e)}withElement(e){return new nZ(e,this.before,this.after)}insertChild(e){let t=this.before||this.getManagedLineBreak();return null!==t&&t.parentElement!==this.element&&r(222),this.element.insertBefore(e,t),this}removeChild(e){return e.parentElement!==this.element&&r(223),this.element.removeChild(e),this}replaceChild(e,t){return t.parentElement!==this.element&&r(224),this.element.replaceChild(e,t),this}getFirstChild(){let e=this.after?this.after.nextSibling:this.element.firstChild;return e===this.before||e===this.getManagedLineBreak()?null:e}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(e){null===e?this.removeManagedLineBreak():this.insertManagedLineBreak("decorator"===e&&(c||u))}removeManagedLineBreak(){let e=this.getManagedLineBreak();if(e){let t=this.element,n="IMG"===e.nodeName?e.nextSibling:null;n&&t.removeChild(n),t.removeChild(e),t.__lexicalLineBreak=void 0}}insertManagedLineBreak(e){let t=this.getManagedLineBreak();if(t){if(e===("IMG"===t.nodeName))return;this.removeManagedLineBreak()}let n=this.element,r=this.before,i=document.createElement("br");if(n.insertBefore(i,r),e){let e=document.createElement("img");e.setAttribute("data-lexical-linebreak","true"),e.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",e.alt="",n.insertBefore(e,i),n.__lexicalLineBreak=e}else n.__lexicalLineBreak=i}getFirstChildOffset(){let e=0;for(let t=this.after;null!==t;t=t.previousSibling)e++;return e}resolveChildIndex(e,t,n,r){if(n===this.element){let t=this.getFirstChildOffset();return[e,Math.min(t+e.getChildrenSize(),Math.max(t,r))]}let i=nY(t,n);i.push(r);let o=nY(t,this.element),a=e.getIndexWithinParent();for(let e=0;e<o.length;e++){let t=i[e],n=o[e];if(void 0===t||t<n)break;if(t>n){a+=1;break}}return[e.getParentOrThrow(),a]}}function nY(e,t){let n=[],i=t;for(;i!==e&&null!==i;i=t.parentNode){let e=0;for(let t=i.previousSibling;null!==t;t=t.previousSibling)e++;n.push(e)}return i!==e&&r(225),n.reverse()}class nq extends tP{constructor(e){super(e),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null,this.__textFormat=0,this.__textStyle=""}afterCloneFrom(e){super.afterCloneFrom(e),this.__first=e.__first,this.__last=e.__last,this.__size=e.__size,this.__indent=e.__indent,this.__format=e.__format,this.__style=e.__style,this.__dir=e.__dir,this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}getFormat(){return this.getLatest().__format}getFormatType(){let e=this.getFormat();return k[e]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){let e=nL()._dirtyElements;return null!==e&&e.has(this.__key)}isLastChild(){let e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return null!==t&&t.is(e)}getAllTextNodes(){let e=[],t=this.getFirstChild();for(;null!==t;){if(tX(t)&&e.push(t),nK(t)){let n=t.getAllTextNodes();e.push(...n)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;nK(e);){let t=e.getFirstChild();if(null===t)break;e=t}return e}getLastDescendant(){let e=this.getLastChild();for(;nK(e);){let t=e.getLastChild();if(null===t)break;e=t}return e}getDescendantByIndex(e){let t=this.getChildren(),n=t.length;if(e>=n){let e=t[n-1];return nK(e)&&e.getLastDescendant()||e||null}let r=t[e];return nK(r)&&r.getFirstDescendant()||r||null}getFirstChild(){let e=this.getLatest().__first;return null===e?null:rx(e)}getFirstChildOrThrow(){let e=this.getFirstChild();return null===e&&r(45,this.__key),e}getLastChild(){let e=this.getLatest().__last;return null===e?null:rx(e)}getLastChildOrThrow(){let e=this.getLastChild();return null===e&&r(96,this.__key),e}getChildAtIndex(e){let t,n;let r=this.getChildrenSize();if(e<r/2){for(t=this.getFirstChild(),n=0;null!==t&&n<=e;){if(n===e)return t;t=t.getNextSibling(),n++}return null}for(t=this.getLastChild(),n=r-1;null!==t&&n>=e;){if(n===e)return t;t=t.getPreviousSibling(),n--}return null}getTextContent(){let e="",t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let i=t[r];e+=i.getTextContent(),nK(i)&&r!==n-1&&!i.isInline()&&(e+="\n\n")}return e}getTextContentSize(){let e=0,t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let i=t[r];e+=i.getTextContentSize(),nK(i)&&r!==n-1&&!i.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}getTextFormat(){return this.getLatest().__textFormat}hasFormat(e){if(""!==e){let t=C[e];return!!(this.getFormat()&t)}return!1}hasTextFormat(e){let t=_[e];return!!(this.getTextFormat()&t)}getFormatFlags(e,t){return ry(this.getLatest().__textFormat,e,t)}getTextStyle(){return this.getLatest().__textStyle}select(e,t){nI();let n=nh(),r=e,i=t,o=this.getChildrenSize();if(!this.canBeEmpty()){if(0===e&&0===t){let e=this.getFirstChild();if(tX(e)||nK(e))return e.select(0,0)}else if(!(void 0!==e&&e!==o||void 0!==t&&t!==o)){let e=this.getLastChild();if(tX(e)||nK(e))return e.select()}}void 0===r&&(r=o),void 0===i&&(i=o);let a=this.__key;
47return t6(n)?(n.anchor.set(a,r,"element"),n.focus.set(a,i,"element"),n.dirty=!0,n):nc(a,r,a,i,"element","element")}selectStart(){let e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){let e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){let e=this.getWritable();return this.getChildren().forEach(e=>e.remove()),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){let t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=""!==e?C[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setTextFormat(e){let t=this.getWritable();return t.__textFormat=e,t}setTextStyle(e){let t=this.getWritable();return t.__textStyle=e,t}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,n){let i=n.length,o=this.getChildrenSize(),a=this.getWritable();e+t<=o||r(226,String(e),String(t),String(o));let l=a.__key,s=[],u=[],c=this.getChildAtIndex(e+t),d=null,f=o-t+i;if(0!==e){if(e===o)d=this.getLastChild();else{let t=this.getChildAtIndex(e);null!==t&&(d=t.getPreviousSibling())}}if(t>0){let e=null===d?this.getFirstChild():d.getNextSibling();for(let n=0;n<t;n++){null===e&&r(100);let t=e.getNextSibling(),n=e.__key;rb(e.getWritable()),u.push(n),e=t}}let p=d;for(let e=0;e<i;e++){let t=n[e];null!==p&&t.is(p)&&(d=p=p.getPreviousSibling());let i=t.getWritable();i.__parent===l&&f--,rb(i);let o=t.__key;if(null===p)a.__first=o,i.__prev=null;else{let e=p.getWritable();e.__next=o,i.__prev=e.__key}t.__key===l&&r(76),i.__parent=l,s.push(o),p=t}if(e+t===o)null!==p&&(p.getWritable().__next=null,a.__last=p.__key);else if(null!==c){let e=c.getWritable();if(null!==p){let t=p.getWritable();e.__prev=p.__key,t.__next=c.__key}else e.__prev=null}if(a.__size=f,u.length){let e=nh();if(t6(e)){let t=new Set(u),n=new Set(s),{anchor:r,focus:i}=e;nX(r,t,n)&&nv(r,r.getNode(),this,d,c),nX(i,t,n)&&nv(i,i.getNode(),this,d,c),0!==f||this.canBeEmpty()||r9(this)||this.remove()}}return a}getDOMSlot(e){return new nZ(e)}exportDOM(e){let{element:t}=super.exportDOM(e);if(ii(t)){let e=this.getIndent();e>0&&(t.style.paddingInlineStart=40*e+"px");let n=this.getDirection();n&&(t.dir=n)}return{element:t}}exportJSON(){let e={children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),...super.exportJSON()},t=this.getTextFormat(),n=this.getTextStyle();return 0!==t&&(e.textFormat=t),""!==n&&(e.textStyle=n),e}updateFromJSON(e){return super.updateFromJSON(e).setFormat(e.format).setIndent(e.indent).setDirection(e.direction).setTextFormat(e.textFormat||0).setTextStyle(e.textStyle||"")}insertNewAfter(e,t){return null}canIndent(){return!0}collapseAtStart(e){return!1}excludeFromCopy(e){return!1}canReplaceWith(e){return!0}canInsertAfter(e){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(e){return!1}extractWithChild(e,t,n){return!1}canMergeWhenEmpty(){return!1}reconcileObservedMutation(e,t){let n=this.getDOMSlot(e),r=n.getFirstChild();for(let e=this.getFirstChild();e;e=e.getNextSibling()){let i=t.getElementByKey(e.getKey());null!==i&&(null==r?(n.insertChild(i),r=i):r!==i&&n.replaceChild(i,r),r=r.nextSibling)}}}function nK(e){return e instanceof nq}function nX(e,t,n){let r=e.getNode();for(;r;){let e=r.__key;if(t.has(e)&&!n.has(e))return!0;r=r.getParent()}return!1}class nJ extends tP{decorate(e,t){r(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function nQ(e){return e instanceof nJ}class n0 extends nq{static getType(){return"root"}static clone(){return new n0}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){r(51)}getTextContent(){let e=this.__cachedText;return(nP()||0===nL()._dirtyType)&&null!==e?e:super.getTextContent()}remove(){r(52)}replace(e){r(53)}insertBefore(e){r(54)}insertAfter(e){r(55)}updateDOM(e,t){return!1}append(...e){for(let t=0;t<e.length;t++){let n=e[t];nK(n)||nQ(n)||r(56)}return super.append(...e)}static importJSON(e){return rO().updateFromJSON(e)}collapseAtStart(){return!0}}function n1(e){return e instanceof n0}function n5(e){return new n3(new Map(e._nodeMap))}function n2(){return new n3(new Map([["root",new n0]]))}class n3{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(e,t){return nj(t&&t.editor||null,this,e)}clone(e){let t=new n3(this._nodeMap,void 0===e?this._selection:e);return t._readOnly=!0,t}toJSON(){return nj(null,this,()=>({root:function e(t){let n=t.exportJSON(),i=t.constructor;if(n.type!==i.getType()&&r(130,i.name),nK(t)){let o=n.children;Array.isArray(o)||r(59,i.name);let a=t.getChildren();for(let t=0;t<a.length;t++){let n=e(a[t]);o.push(n)}}return n}(rO())}))}}class n9 extends nq{static getType(){return"artificial"}createDOM(e){return document.createElement("div")}}class n7 extends nq{static getType(){return"paragraph"}static clone(e){return new n7(e.__key)}createDOM(e){let t=document.createElement("p"),n=r$(e.theme,"paragraph");return void 0!==n&&t.classList.add(...n),t}updateDOM(e,t,n){return!1}static importDOM(){return{p:e=>({conversion:n6,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if(ii(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();t.style.textAlign=e}return{element:t}}static importJSON(e){return n8().updateFromJSON(e)}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}insertNewAfter(e,t){let n=n8();n.setTextFormat(e.format),n.setTextStyle(e.style);let r=this.getDirection();return n.setDirection(r),n.setFormat(this.getFormatType()),n.setStyle(this.getStyle()),this.insertAfter(n,t),n}collapseAtStart(){let e=this.getChildren();if(0===e.length||tX(e[0])&&""===e[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return!1}}function n6(e){let t=n8();return e.style&&(t.setFormat(e.style.textAlign),iy(e,t)),{node:t}}function n8(){return r7(new n7)}function n4(e){return e instanceof n7}let re=0,rt=1,rn=3,rr=4;function ri(e,t,n,r){let i=e._keyToDOMMap;i.clear(),e._editorState=n2(),e._pendingEditorState=r,e._compositionKey=null,e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),e._normalizedNodes=new Set,e._updateTags=new Set,e._updates=[],e._blockCursorElement=null;let o=e._observer;null!==o&&(o.disconnect(),e._observer=null),null!==t&&(t.textContent=""),null!==n&&(n.textContent="",i.set("root",n))}function ro(e){let t;let n=e||{},r=nk,i=n.theme||{},o=void 0===e?r:n.parentEditor||null,a=n.disableEvents||!1,l=n2(),s=n.namespace||(null!==o?o._config.namespace:rM()),u=n.editorState,c=[n0,tV,tI,tQ,n7,n9,...n.nodes||[]],{onError:d,html:f}=n,p=void 0===n.editable||n.editable;if(void 0===e&&null!==r)t=r._nodes;else{t=new Map;for(let e=0;e<c.length;e++){let n=c[e],r=null,i=null;if("function"!=typeof n){let e=n;n=e.replace,r=e.with,i=e.withKlass||null}let o=n.getType(),a=n.transform(),l=new Set;null!==a&&l.add(a),t.set(o,{exportDOM:f&&f.export?f.export.get(n):void 0,klass:n,replace:r,replaceWithKlass:i,transforms:l})}}let h=new ra(l,o,t,{disableEvents:a,namespace:s,theme:i},d||console.error,function(e,t){let n=new Map,r=new Set,i=e=>{Object.keys(e).forEach(t=>{let r=n.get(t);void 0===r&&(r=[],n.set(t,r)),r.push(e[t])})};
47return e.forEach(e=>{let t=e.klass.importDOM;if(null==t||r.has(t))return;r.add(t);let n=t.call(e.klass);null!==n&&i(n)}),t&&i(t),n}(t,f?f.import:void 0),p);return void 0!==u&&(h._pendingEditorState=u,h._dirtyType=2),h}class ra{constructor(e,t,n,r,i,o,a){this._parentEditor=t,this._rootElement=null,this._editorState=e,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=rM(),this._onError=i,this._htmlConversions=o,this._editable=a,this._headless=null!==t&&t._headless,this._window=null,this._blockCursorElement=null}isComposing(){return null!=this._compositionKey}registerUpdateListener(e){let t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){let t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){let t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){let t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){let t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,n){void 0===n&&r(35);let i=this._commands;i.has(e)||i.set(e,[new Set,new Set,new Set,new Set,new Set]);let o=i.get(e);void 0===o&&r(36,String(e));let a=o[n];return a.add(t),()=>{a.delete(t),o.every(e=>0===e.size)&&i.delete(e)}}registerMutationListener(e,t,n){let r=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(e)).klass,i=this._listeners.mutation;i.set(t,r);let o=n&&n.skipInitialization;return void 0!==o&&o||this.initializeMutationListener(t,r),()=>{i.delete(t)}}getRegisteredNode(e){let t=this._nodes.get(e.getType());return void 0===t&&r(37,e.name),t}resolveRegisteredNodeAfterReplacements(e){for(;e.replaceWithKlass;)e=this.getRegisteredNode(e.replaceWithKlass);return e}initializeMutationListener(e,t){let n=this._editorState,r=im(n).get(t.getType());if(!r)return;let i=new Map;for(let e of r.keys())i.set(e,"created");i.size>0&&e(i,{dirtyLeaves:new Set,prevEditorState:n,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(e,t){let n=this.getRegisteredNode(e);return n.transforms.add(t),n}registerNodeTransform(e,t){let n=this.registerNodeTransformToKlass(e,t),r=[n],i=n.replaceWithKlass;if(null!=i){let e=this.registerNodeTransformToKlass(i,t);r.push(e)}return function(e,t){let n=im(e.getEditorState()),r=[];for(let e of t){let t=n.get(e);t&&r.push(t)}0!==r.length&&e.update(()=>{for(let e of r)for(let t of e.keys()){let e=rx(t);e&&e.markDirty()}},null===e._pendingEditorState?{tag:"history-merge"}:void 0)}(this,r.map(e=>e.klass.getType())),()=>{r.forEach(e=>e.transforms.delete(t))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return rX(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){let t=this._rootElement;if(e!==t){let n=r$(this._config.theme,"root"),i=this._pendingEditorState||this._editorState;if(this._rootElement=e,ri(this,t,e,i),null!==t&&(this._config.disableEvents||function(e){let t=e.ownerDocument,n=ts.get(t);void 0===n&&r(162);let i=n-1;i>=0||r(164),ts.set(t,i),0===i&&t.removeEventListener("selectionchange",tS);let o=rp(e);rd(o)?(function(e){if(null!==e._parentEditor){let t=rD(e),n=t[t.length-1]._key;tk.get(n)===e&&tk.delete(n)}else tk.delete(e._key)}(o),e.__lexicalEditor=null):o&&r(198);let a=tC(e);for(let e=0;e<a.length;e++)a[e]();e.__lexicalEventHandles=[]}(t),null!=n&&t.classList.remove(...n)),null!==e){let t=r2(e),r=e.style;r.userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=t,this._dirtyType=2,L(this),this._updateTags.add("history-merge"),nV(this),this._config.disableEvents||function(e,t){let n=e.ownerDocument,r=ts.get(n);(void 0===r||r<1)&&n.addEventListener("selectionchange",tS),ts.set(n,(r||0)+1),e.__lexicalEditor=t;let i=tC(e);for(let n=0;n<tr.length;n++){let[r,o]=tr[n],a="function"==typeof o?e=>{tw(e)||(tA(e),(t.isEditable()||"click"===r)&&o(e,t))}:e=>{if(tw(e))return;tA(e);let n=t.isEditable();switch(r){case"cut":return n&&rX(t,e2,e);case"copy":return rX(t,e5,e);case"paste":return n&&rX(t,ew,e);case"dragstart":return n&&rX(t,eQ,e);case"dragover":return n&&rX(t,e0,e);case"dragend":return n&&rX(t,e1,e);case"focus":return n&&rX(t,e4,e);case"blur":return n&&rX(t,te,e);case"drop":return n&&rX(t,eX,e)}};e.addEventListener(r,a),i.push(()=>{e.removeEventListener(r,a)})}}(e,this),null!=n&&e.classList.add(...n)}else this._window=null,this._updateTags.add("history-merge"),nV(this);nz("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&r(38);let n=e;n._readOnly&&((n=n5(e))._selection=e._selection?e._selection.clone():null),R(this);
47let i=this._pendingEditorState,o=this._updateTags,a=void 0!==t?t.tag:null;null===i||i.isEmpty()||(null!=a&&o.add(a),nV(this)),this._pendingEditorState=n,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=a&&o.add(a),this._updating||nV(this)}parseEditorState(e,t){return function(e,t,n){let r=n2(),i=nC,o=nS,a=nk,l=t._dirtyElements,s=t._dirtyLeaves,u=t._cloneNotNeeded,c=t._dirtyType;t._dirtyElements=new Map,t._dirtyLeaves=new Set,t._cloneNotNeeded=new Set,t._dirtyType=0,nC=r,nS=!1,nk=t;try{let i=t._nodes;nU(e.root,i),n&&n(),r._readOnly=!0}catch(e){e instanceof Error&&t._onError(e)}finally{t._dirtyElements=l,t._dirtyLeaves=s,t._cloneNotNeeded=u,t._dirtyType=c,nC=i,nS=o,nk=a}return r}("string"==typeof e?JSON.parse(e):e,this,t)}read(e){return nV(this),this.getEditorState().read(e,{editor:this})}update(e,t){this._updating?this._updates.push([e,t]):nW(this,e,t)}focus(e,t={}){let n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),n$(this,()=>{let r=nh(),i=rO();null!==r?r.dirty=!0:0!==i.getChildrenSize()&&("rootStart"===t.defaultSelection?i.selectStart():i.selectEnd()),nI(),nL()._updateTags.add("focus"),nI(),nL()._deferred.push(()=>{n.removeAttribute("autocapitalize"),e&&e()})}),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"))}blur(){let e=this._rootElement;null!==e&&e.blur();let t=ie(this._window);null!==t&&t.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,nz("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}ra.version="0.27.2+prod.esm";let rl=1,rs="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)};function ru(e){let t=document.activeElement;if(!ii(t))return!1;let n=t.nodeName;return nQ(rS(e))&&("INPUT"===n||"TEXTAREA"===n||"true"===t.contentEditable&&null==rp(t))}function rc(e,t,n){let r=e.getRootElement();try{return null!==r&&r.contains(t)&&r.contains(n)&&null!==t&&!ru(t)&&rf(t)===e}catch(e){return!1}}function rd(e){return e instanceof ra}function rf(e){let t=e;for(;null!=t;){let e=rp(t);if(rd(e))return e;t=r0(t)}return null}function rp(e){return e?e.__lexicalEditor:null}function rh(e){return e.isToken()||e.isSegmented()}function rm(e){return io(e)&&3===e.nodeType}function rg(e){let t=e;for(;null!=t;){if(rm(t))return t;t=t.firstChild}return null}function ry(e,t,n){let r=_[t];if(null!==n&&(e&r)==(n&r))return e;let i=e^r;return"subscript"===t?i&=~_.superscript:"superscript"===t?i&=~_.subscript:"lowercase"===t?(i&=~_.uppercase,i&=~_.capitalize):"uppercase"===t?(i&=~_.lowercase,i&=~_.capitalize):"capitalize"===t&&(i&=~_.lowercase,i&=~_.uppercase),i}function rv(e,t){if(null!=t)return void(e.__key=t);nI(),nN();let n=nL(),r=nR(),i=""+rl++;r._nodeMap.set(i,e),nK(e)?n._dirtyElements.set(i,!0):n._dirtyLeaves.add(i),n._cloneNotNeeded.add(i),n._dirtyType=1,e.__key=i}function rb(e){let t=e.getParent();if(null!==t){let n=e.getWritable(),r=t.getWritable(),i=e.getPreviousSibling(),o=e.getNextSibling();if(null===i){if(null!==o){let e=o.getWritable();r.__first=o.__key,e.__prev=null}else r.__first=null}else{let e=i.getWritable();if(null!==o){let t=o.getWritable();t.__prev=e.__key,e.__next=t.__key}else e.__next=null;n.__prev=null}if(null===o){if(null!==i){let e=i.getWritable();r.__last=i.__key,e.__next=null}else r.__last=null}else{let e=o.getWritable();if(null!==i){let t=i.getWritable();t.__next=e.__key,e.__prev=t.__key}else e.__prev=null;n.__next=null}r.__size--,n.__parent=null}}function rE(e){nN();let t=e.getLatest(),n=t.__parent,r=nR(),i=nL(),o=r._nodeMap,a=i._dirtyElements;null!==n&&function(e,t,n){let r=e;for(;null!==r;){if(n.has(r))return;let e=t.get(r);if(void 0===e)break;n.set(r,!1),r=e.__parent}}(n,o,a);let l=t.__key;i._dirtyType=1,nK(e)?a.set(l,!0):i._dirtyLeaves.add(l)}function rT(e){nI();let t=nL(),n=t._compositionKey;if(e!==n){if(t._compositionKey=e,null!==n){let e=rx(n);null!==e&&e.getWritable()}if(null!==e){let t=rx(e);null!==t&&t.getWritable()}}}function r_(){return nP()?null:nL()._compositionKey}function rx(e,t){let n=(t||nR())._nodeMap.get(e);return void 0===n?null:n}function rC(e,t){let n=rk(e,nL());return void 0!==n?rx(n,t):null}function rk(e,t){return e[`__lexicalKey_${t._key}`]}function rS(e,t){let n=e;for(;null!=n;){let e=rC(n,t);if(null!==e)return e;n=r0(n)}return null}function rA(e){let t=e._decorators,n=Object.assign({},t);return e._pendingDecorators=n,n}function rw(e){return e.read(()=>rO().getTextContent())}function rO(){return rP(nR())}function rP(e){return e._nodeMap.get("root")}function rI(e){nI();let t=nR();
47null!==e&&(e.dirty=!0,e.setCachedNodes(null)),t._selection=e}function rN(e){let t=nL(),n=function(e,t){let n=e;for(;null!=n;){let e=rk(n,t);if(void 0!==e)return e;n=r0(n)}return null}(e,t);return null===n?e===t.getRootElement()?rx("root"):null:rx(n)}function rR(e,t){return t?e.getTextContentSize():0}function rL(e){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(e)}function rD(e){let t=[],n=e;for(;null!==n;)t.push(n),n=n._parentEditor;return t}function rM(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function rF(e){return rm(e)?e.nodeValue:null}function rB(e,t,n){let r=ie(r3(t));if(null===r)return;let i=r.anchorNode,{anchorOffset:o,focusOffset:a}=r;if(null!==i){let t=rF(i),r=rS(i);if(null!==t&&tX(r)){if(t===g&&n){let e=n.length;t=n,o=e,a=e}null!==t&&rH(r,t,o,a,e)}}}function rH(e,t,n,r,i){let o=e;if(o.isAttached()&&(i||!o.isDirty())){let a=o.isComposing(),l=t;(a||i)&&t[t.length-1]===g&&(l=t.slice(0,-1));let s=o.getTextContent();if(i||l!==s){if(""===l){if(rT(null),u||c||h)o.remove();else{let e=nL();setTimeout(()=>{e.update(()=>{o.isAttached()&&o.remove()})},20)}return}let t=o.getParent(),i=nm(),s=o.getTextContentSize(),d=r_(),f=o.getKey();if(o.isToken()||null!==d&&f===d&&!a||t6(i)&&(null!==t&&!t.canInsertTextBefore()&&0===i.anchor.offset||i.anchor.key===e.__key&&0===i.anchor.offset&&!o.canInsertTextBefore()&&!a||i.focus.key===e.__key&&i.focus.offset===s&&!o.canInsertTextAfter()&&!a))return void o.markDirty();let p=nh();if(!t6(p)||null===n||null===r)return void o.setTextContent(l);if(p.setTextNodeRange(o,n,o,r),o.isSegmented()){let e=tK(o.getTextContent());o.replace(e),o=e}o.setTextContent(l)}}}function rU(e){return"ArrowLeft"===e}function rj(e){return"ArrowRight"===e}function rV(e){return"Backspace"===e}function rz(e){return"Delete"===e}function rG(e,t,n){return"a"===e.toLowerCase()&&(a?t:n)}function rW(e){let t=rO();if(t6(e)){let t=e.anchor,n=e.focus,r=t.getNode().getTopLevelElementOrThrow().getParentOrThrow();return t.set(r.getKey(),0,"element"),n.set(r.getKey(),r.getChildrenSize(),"element"),U(e),e}{let e=t.select(0,t.getChildrenSize());return rI(U(e)),e}}function r$(e,t){void 0===e.__lexicalClassNameCache&&(e.__lexicalClassNameCache={});let n=e.__lexicalClassNameCache,r=n[t];if(void 0!==r)return r;let i=e[t];if("string"==typeof i){let e=m(i);return n[t]=e,e}return i}function rZ(e,t,n,i,o){if(0===n.size)return;let a=i.__type,l=i.__key,s=t.get(a);void 0===s&&r(33,a);let u=s.klass,c=e.get(u);void 0===c&&(c=new Map,e.set(u,c));let d=c.get(l),f="destroyed"===d&&"created"===o;(void 0===d||f)&&c.set(l,f?"updated":o)}function rY(e,t,n){let r=e.getParent(),i=n,o=e;return null!==r&&(t&&0===n?(i=o.getIndexWithinParent(),o=r):t||n!==o.getChildrenSize()||(i=o.getIndexWithinParent()+1,o=r)),o.getChildAtIndex(t?i-1:i)}function rq(e,t){let n=e.offset;if("element"===e.type)return rY(e.getNode(),t,n);{let r=e.getNode();if(t&&0===n||!t&&n===r.getTextContentSize()){let e=t?r.getPreviousSibling():r.getNextSibling();return null===e?rY(r.getParentOrThrow(),t,r.getIndexWithinParent()+(t?0:1)):e}}return null}function rK(e){let t=r3(e).event,n=t&&t.inputType;return"insertFromPaste"===n||"insertFromPasteAsQuotation"===n}function rX(e,t,n){return function e(t,n,r){if(!1===t._updating||nk!==t){let i=!1;return t.update(()=>{i=e(t,n,r)}),i}let i=rD(t);for(let e=4;e>=0;e--)for(let o=0;o<i.length;o++){let a=i[o]._commands.get(n);if(void 0!==a){let n=a[e];if(void 0!==n){let e=Array.from(n),i=e.length;for(let n=0;n<i;n++)if(!0===e[n](r,t))return!0}}}return!1}(e,t,n)}function rJ(e){return!n1(e)&&!e.isLastChild()&&!e.isInline()}function rQ(e,t){let n=e._keyToDOMMap.get(t);return void 0===n&&r(75,t),n}function r0(e){let t=e.assignedSlot||e.parentElement;return ia(t)?t.host:t}function r1(e){return io(e)&&9===e.nodeType?e:ii(e)?e.ownerDocument:null}function r5(e,t){let n=e.getParent();for(;null!==n;){if(n.is(t))return!0;n=n.getParent()}return!1}function r2(e){let t=r1(e);return t?t.defaultView:null}function r3(e){let t=e._window;return null===t&&r(78),t}function r9(e){return n1(e)||nK(e)&&e.isShadowRoot()}function r7(e){let t=nL(),n=e.constructor.getType(),i=t._nodes.get(n);void 0===i&&r(200,e.constructor.name,n);let{replace:o,replaceWithKlass:a}=i;
47if(null!==o){let t=o(e),i=t.constructor;return null!==a?t instanceof a||r(201,a.name,a.getType(),i.name,i.getType(),e.constructor.name,n):t instanceof e.constructor&&i!==e.constructor||r(202,i.name,i.getType(),e.constructor.name,n),t.__key===e.__key&&r(203,e.constructor.name,n,i.name,i.getType()),t}return e}function r6(e,t){!n1(e.getParent())||nK(t)||nQ(t)||r(99)}function r8(e){return(nQ(e)||nK(e)&&!e.canBeEmpty())&&!e.isInline()}function r4(e,t,n){n.style.removeProperty("caret-color"),t._blockCursorElement=null;let r=e.parentElement;null!==r&&r.removeChild(e)}function ie(e){return i?(e||window).getSelection():null}function it(e,t){let n=e.getChildAtIndex(t);null==n&&(n=e),r9(e)&&r(102);let i=e=>{let t=e.getParentOrThrow(),o=r9(t),a=e!==n||o?function(e){let t=e.constructor.clone(e);return rv(t,null),t}(e):e;if(o)return nK(e)&&nK(a)||r(133),e.insertAfter(a),[e,a,a];{let[n,r,o]=i(t),l=e.getNextSiblings();return o.append(a,...l),[n,r,a]}},[o,a]=i(n);return[o,a]}function ir(e){return ii(e)&&"A"===e.tagName}function ii(e){return io(e)&&1===e.nodeType}function io(e){return"object"==typeof e&&null!==e&&"nodeType"in e&&"number"==typeof e.nodeType}function ia(e){return io(e)&&11===e.nodeType}function il(e){let t=RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|mark|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/,"i");return null!==e.nodeName.match(t)}function is(e){let t=RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return null!==e.nodeName.match(t)}function iu(e){if(nQ(e)&&!e.isInline())return!0;if(!nK(e)||r9(e))return!1;let t=e.getFirstChild(),n=null===t||tL(t)||tX(t)||t.isInline();return!e.isInline()&&!1!==e.canBeEmpty()&&n}function ic(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}function id(){return nL()}let ip=new WeakMap,ih=new Map;function im(e){if(!e._readOnly&&e.isEmpty())return ih;e._readOnly||r(192);let t=ip.get(e);return t||(t=function(e){let t=new Map;for(let[n,r]of e._nodeMap){let e=r.__type,i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)}return t}(e),ip.set(e,t)),t}function ig(e){let t=e.constructor.clone(e);return t.afterCloneFrom(e),t}function iy(e,t){let n=(parseInt(e.style.paddingInlineStart,10)||0)/40;t.setIndent(n)}let iv={next:"previous",previous:"next"};class ib{constructor(e){this.origin=e}[Symbol.iterator](){return iU({hasNext:iS,initial:this.getAdjacentCaret(),map:e=>e,step:e=>e.getAdjacentCaret()})}getAdjacentCaret(){return iI(this.getNodeAtCaret(),this.direction)}getSiblingCaret(){return iI(this.origin,this.direction)}remove(){let e=this.getNodeAtCaret();return e&&e.remove(),this}replaceOrInsert(e,t){let n=this.getNodeAtCaret();return e.is(this.origin)||e.is(n)||(null===n?this.insert(e):n.replace(e,t)),this}splice(e,t,n="next"){let i=n===this.direction?t:Array.from(t).reverse(),o=this,a=this.getParentAtCaret(),l=new Map;for(let t=o.getAdjacentCaret();null!==t&&l.size<e;t=t.getAdjacentCaret()){let e=t.origin.getWritable();l.set(e.getKey(),e)}for(let e of i){if(l.size>0){let t=o.getNodeAtCaret();if(t){if(l.delete(t.getKey()),l.delete(e.getKey()),t.is(e)||o.origin.is(e));else{let n=e.getParent();n&&n.is(a)&&e.remove(),t.replace(e)}}else null===t&&r(263,Array.from(l).join(" "))}else o.insert(e);o=iI(e,this.direction)}for(let e of l.values())e.remove();return this}}class iE extends ib{type="child";getLatest(){let e=this.origin.getLatest();return e===this.origin?this:iL(e,this.direction)}getParentCaret(e="root"){return iI(i_(this.getParentAtCaret(),e),this.direction)}getFlipped(){var e;let t=iv[this.direction];return iI(this.getNodeAtCaret(),t)||iL(this.origin,t)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(e){return e instanceof iE&&this.direction===e.direction&&this.origin.is(e.origin)}isSamePointCaret(e){return this.isSameNodeCaret(e)}}let iT={root:n1,shadowRoot:r9};function i_(e,t="root"){return iT[t](e)?null:e}class ix extends ib{type="sibling";getLatest(){let e=this.origin.getLatest();return e===this.origin?this:iI(e,this.direction)}getSiblingCaret(){return this}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return nK(this.origin)?iL(this.origin,this.direction):null}getParentCaret(e="root"){return iI(i_(this.getParentAtCaret(),e),this.direction)}getFlipped(){let e=iv[this.direction];return iI(this.getNodeAtCaret(),e)||iL(this.origin.getParentOrThrow(),e)}isSamePointCaret(e){return e instanceof ix&&this.direction===e.direction&&this.origin.is(e.origin)}isSameNodeCaret(e){return(e instanceof ix||e instanceof iC)&&this.direction===e.direction&&this.origin.is(e.origin)}}class iC extends ib{type="text";constructor(e,t){super(e),this.offset=t}getLatest(){let e=this.origin.getLatest();return e===this.origin?this:iN(e,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(e="root"){return iI(i_(this.getParentAtCaret(),e),this.direction)}getFlipped(){return iN(this.origin,iv[this.direction],this.offset)}isSamePointCaret(e){return e instanceof iC&&this.direction===e.direction&&this.origin.is(e.origin)&&this.offset===e.offset}isSameNodeCaret(e){return(e instanceof ix||e instanceof iC)&&this.direction===e.direction&&this.origin.is(e.origin)}getSiblingCaret(){return iI(this.origin,this.direction)}}function ik(e){return e instanceof iC}function iS(e){return e instanceof ix}function iA(e){return e instanceof iE}let iw={next:class extends iC{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(e){return this.origin.insertAfter(e),this}},previous:class extends iC{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(e){return this.origin.insertBefore(e),this}}},iO={next:class extends ix{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(e){return this.origin.insertAfter(e),this}},previous:class extends ix{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(e){return this.origin.insertBefore(e),this}}},iP={next:class extends iE{direction="next";getNodeAtCaret(){return this.origin.getFirstChild()}insert(e){return this.origin.splice(0,0,[e]),this}},previous:class extends iE{direction="previous";getNodeAtCaret(){return this.origin.getLastChild()}insert(e){return this.origin.splice(this.origin.getChildrenSize(),0,[e]),this}}};function iI(e,t){return e?new iO[t](e):null}function iN(e,t,n){return e?new iw[t](e,iR(e,n)):null}function iR(e,t){let n=e.getTextContentSize(),i="next"===t?n:"previous"===t?0:t;return i>
47=0&&i<=n||r(274,String(t),String(n)),i}function iL(e,t){return nK(e)?new iP[t](e):null}function iD(e){var t;return e&&((t=e.getAdjacentCaret())&&t.getChildCaret()||t)}class iM{type="node-caret-range";constructor(e,t,n){this.anchor=e,this.focus=t,this.direction=n}getLatest(){let e=this.anchor.getLatest(),t=this.focus.getLatest();return e===this.anchor&&t===this.focus?this:new iM(e,t,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){let e=e=>{let t=this[e].getLatest();return ik(t)?function(e,t){let{direction:n,origin:r}=e,i=iR(r,"focus"===t?iv[n]:n);return new iF(e,i-e.offset)}(t,e):null},t=e("anchor"),n=e("focus");if(t&&n){let{caret:e}=t,{caret:r}=n;if(e.isSameNodeCaret(r))return[new iF(e,r.offset-e.offset),null]}return[t,n]}iterNodeCarets(e="root"){let t=ik(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),n=this.focus.getLatest(),r=ik(n),i=t=>t.isSameNodeCaret(n)?null:iD(t)||t.getParentCaret(e);return iU({hasNext:e=>null!==e&&!(r&&n.isSameNodeCaret(e)),initial:t.isSameNodeCaret(n)?null:i(t),map:e=>e,step:i})}[Symbol.iterator](){return this.iterNodeCarets("root")}}class iF{type="slice";constructor(e,t){this.caret=e,this.distance=t}getSliceIndices(){let{distance:e,caret:{offset:t}}=this,n=t+e;return n<t?[n,t]:[t,n]}getTextContent(){let[e,t]=this.getSliceIndices();return this.caret.origin.getTextContent().slice(e,t)}getTextContentSize(){return Math.abs(this.distance)}removeTextSlice(){let{caret:{origin:e,direction:t}}=this,[n,r]=this.getSliceIndices(),i=e.getTextContent();return iN(e.setTextContent(i.slice(0,n)+i.slice(r)),t,n)}}function iB(e){return iH(e,iI(rO(),e.direction))}function iH(e,t){return e.direction!==t.direction&&r(265),new iM(e,t,e.direction)}function iU(e){let{initial:t,hasNext:n,step:r,map:i}=e,o=t;return{[Symbol.iterator](){return this},next(){if(!n(o))return{done:!0,value:void 0};let e={done:!1,value:i(o)};return o=r(o),e}}}function ij(e,t){let n=iG(e.origin,t.origin);switch(null===n&&r(275,e.origin.getKey(),t.origin.getKey()),n.type){case"same":{let n="text"===e.type,r="text"===t.type;return n&&r?Math.sign(e.offset-t.offset):e.type===t.type?0:n?-1:r?1:"child"===e.type?-1:1}case"ancestor":return"child"===e.type?-1:1;case"descendant":return"child"===t.type?1:-1;case"branch":return iV(n)}}function iV(e){let{a:t,b:n}=e,r=t.__key,i=n.__key,o=t,a=n;for(;o&&a;o=o.getNextSibling(),a=a.getNextSibling()){if(o.__key===i)return -1;if(a.__key===r)return 1}return null===o?1:-1}function iz(e){return nK(e)?[e.getLatest(),null]:[e.getParent(),e.getLatest()]}function iG(e,t){if(e.is(t))return{commonAncestor:e,type:"same"};let n=new Map;for(let[t,r]=iz(e);t;r=t,t=t.getParent())n.set(t,r);for(let[i,o]=iz(t);i;o=i,i=i.getParent()){let a=n.get(i);if(void 0!==a)return null===a?(i.is(e)||r(276),{commonAncestor:i,type:"ancestor"}):null===o?(i.is(t)||r(277),{commonAncestor:i,type:"descendant"}):((nK(a)||a.is(e))&&(nK(o)||o.is(t))&&i.is(a.getParent())&&i.is(o.getParent())||r(278),{a:a,b:o,commonAncestor:i,type:"branch"})}return null}function iW(e,t){let{type:n,key:i,offset:o}=e,a=function(e){let t=rx(e);return null===t&&r(63,e),t}(e.key);return"text"===n?(tX(a)||r(266,a.getType(),i),iN(a,t,o)):(nK(a)||r(267,a.getType(),i),i5(a,e.offset,t))}function i$(e,t){let{origin:n,direction:i}=t,o="next"===i;ik(t)?e.set(n.getKey(),t.offset,"text"):iS(t)?tX(n)?e.set(n.getKey(),iR(n,i),"text"):e.set(n.getParentOrThrow().getKey(),n.getIndexWithinParent()+(o?1:0),"element"):(iA(t)&&nK(n)||r(268),e.set(n.getKey(),o?0:n.getChildrenSize(),"element"))}function iZ(e,t){i$(e.anchor,t.anchor),i$(e.focus,t.focus)}function iY(e){let{anchor:t,focus:n}=e,r=iW(t,"next"),i=iW(n,"next"),o=0>=ij(r,i)?"next":"previous";return iH(i0(r,o),i0(i,o))}function iq(e){let{direction:t,origin:n}=e,r=iI(n,iv[t]).getNodeAtCaret();return r?iI(r,t):iL(n.getParentOrThrow(),t)}function iK(e,t="root"){let n=[e];for(let r=iA(e)?e.getParentCaret(t):e.getSiblingCaret();null!==r;r=r.getParentCaret(t))n.push(iq(r));return n}function iX(e){return!!e&&e.origin.isAttached()}function iJ(e){let t=function(e){let t=e;for(;iA(t);){let e=iD(t);if(!iA(e))break;t=e}return t}(e.getLatest()),{direction:n}=t;if(tX(t.origin))return ik(t)?t:iN(t.origin,n,n);let r=t.getAdjacentCaret();return iS(r)&&tX(r.origin)?iN(r.origin,n,iv[n]):t}function iQ(e){return ik(e)&&e.offset!==iR(e.origin,e.direction)}function i0(e,t){return e.direction===t?e:e.getFlipped()}function i1(e,t){return e.direction===t?e:iH(i0(e.focus,t),i0(e.anchor,t))}
47function i5(e,t,n){let r=iL(e,"next");for(let e=0;e<t;e++){let e=r.getAdjacentCaret();if(null===e)break;r=e}return i0(r,n)}},34207:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});let r=(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}},19874:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ee}});var r,i,o,a,l=n(2265),s=n(57437),u=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,m=Math.pow,g=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&g(e,n,t[n]);if(f)for(var n of f(t))h.call(t,n)&&g(e,n,t[n]);return e},v=(e,t)=>c(e,d(t)),b=(e,t,n)=>{let[r,i]=(0,l.useState)(),o=(0,l.useRef)(n);return(0,l.useEffect)(()=>{o.current=n},[n]),(0,l.useEffect)(()=>{let n=null==e?void 0:e.current,r=null==t?void 0:t.current;if(!window.IntersectionObserver||!n||!r)return;let a=new IntersectionObserver(e=>{e.forEach(e=>{i(e),o.current(e)})},{threshold:[.05,.95],root:r});return a.observe(n),()=>a.disconnect()},[e,t]),r},E=(e,t)=>`${t?100/(3*e):100/e}%`,T=(e,t,n,r,i,o,a,l,s,u,c)=>{let d=null!=c?c:E(e,r),f="auto";return s&&(f=u?"100%":n?"auto":"0"),{width:d,height:f,padding:`0 ${i?i/2:0}px`,transition:o?`${a||("fade"===o?200:500)}ms ease 0s`:void 0,transform:"zoom"===o?`scale(${t&&n?1:l||.85})`:void 0,opacity:"fade"===o?n?1:0:1}},_=(e,t,n)=>"prev-cloned"===n?e-t:"next-cloned"===n?e+t:e,x=({count:e,children:t,index:n,isCurrentSlide:r,typeOfSlide:i,wrapAround:o,cellSpacing:a,slideWidth:u,animation:c,speed:d,zoomScale:f,onVisibleSlideHeightChange:p,adaptiveHeight:h,initializedAdaptiveHeight:m,updateIOEntry:g,id:E,carouselRef:x})=>{var C;let k=o?_(n,e,i):n,S=(0,l.useRef)(null),A=b(S,x,e=>{g(E,(null==e?void 0:e.intersectionRatio)>=.95)}),w=!!(null==A?void 0:A.isIntersecting),O=(null!=(C=null==A?void 0:A.intersectionRatio)?C:1)>=.95,P=(0,l.useRef)(!1);(0,l.useEffect)(()=>{var e;let t=S.current;if(t){let n=null==(e=t.getBoundingClientRect())?void 0:e.height,r=P.current;w&&!r?p(k,n):!w&&r&&p(k,null),P.current=w}},[k,w,p]);let I=r&&O?" slide-current":"";return(0,s.jsx)("div",v(y({ref:S},{inert:O?void 0:"true"}),{className:`slide${I}${i?` ${i}`:""}${O?" slide-visible":""}`,style:T(e,r,O,o,a,c,d,f,h,m,u),children:t}))},C={position:"absolute",width:"1px",height:"1px",overflow:"hidden",padding:0,margin:"-1px",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},k=({message:e,ariaLive:t="polite"})=>(0,s.jsx)("div",{"aria-live":t,"aria-atomic":"true",style:C,tabIndex:-1,children:e}),S=((r=S||{}).Center="center",r.Right="right",r.Left="left",r),A=((i=A||{}).Next="next",i.Prev="prev",i.Up="up",i.Down="down",i),w=((o=w||{}).TopLeft="TopLeft",o.TopCenter="TopCenter",o.TopRight="TopRight",o.CenterLeft="CenterLeft",o.CenterCenter="CenterCenter",o.CenterRight="CenterRight",o.BottomLeft="BottomLeft",o.BottomCenter="BottomCenter",o.BottomRight="BottomRight",o),O=((a=O||{}).page="page",a.remainder="remainder",a),P=(e,t,n,r,i,o,a)=>t?n+i:n>=r-1||"left"===a&&n>=r-o?n:"remainder"===e&&"left"===a?Math.min(n+i,r-o):Math.min(n+i,r-1),I=(e,t,n,r,i,o)=>t?n-r:n<=0||"right"===o&&n<=i-1?n:"remainder"===e&&"right"===o?Math.max(n-r,i-1):Math.max(n-r,0),N=(e,t,n,r,i,o,a)=>{if(void 0!==e)return e;let l=H(t,r,a,n,!1,i);return o?l[l.length-1]:l[0]},R=(e,t)=>(e%t+t)%t,L=e=>({border:0,background:"rgba(0,0,0,0.4)",color:"white",padding:10,textTransform:"uppercase",opacity:e?.3:1,cursor:e?"not-allowed":"pointer"}),D=({cellAlign:e,currentSlide:t,slidesToShow:n,wrapAround:r})=>!r&&(0===t||"right"===e&&t<=n-1),M=({previousSlide:e,defaultControlsConfig:{prevButtonClassName:t,prevButtonStyle:n={},prevButtonText:r,prevButtonOnClick:i},onUserNavigation:o,previousDisabled:a})=>(0,s.jsx)("button",{className:t,style:y(y({},L(a)),n),disabled:a,onClick:t=>{null==i||i(t),t.defaultPrevented||(o(t),t.preventDefault(),e())},"aria-label":"previous",type:"button",children:r||"Prev"}),F=({cellAlign:e,currentSlide:t,slideCount:n,slidesToShow:r,wrapAround:i}
47)=>!i&&(t>=n-1||"left"===e&&t>=n-r),B=({nextSlide:e,defaultControlsConfig:{nextButtonClassName:t,nextButtonStyle:n={},nextButtonText:r,nextButtonOnClick:i},nextDisabled:o,onUserNavigation:a})=>(0,s.jsx)("button",{className:t,style:y(y({},L(o)),n),disabled:o,onClick:t=>{null==i||i(t),t.defaultPrevented||(a(t),t.preventDefault(),e())},"aria-label":"next",type:"button",children:r||"Next"}),H=(e,t,n,r,i,o)=>{let a=[],l=t<=0?1:t;if(i){for(let t=0;t<e;t+=l)a.push(t);return a}if("center"===o){for(let t=0;t<e-1;t+=l)a.push(t);return e>0&&a.push(e-1),a}if("left"===o){if(r>=e)return[0];let t=e-r;for(let e=0;e<t;e+=l)a.push(e);return"remainder"===n?a.push(t):a.push(a[a.length-1]+l),a}if("right"===o){if(r>=e)return[e-1];let t=r-1;if("remainder"===n){for(let n=t;n<e-1;n+=l)a.push(n);a.push(e-1)}else{for(let n=e-1;n>t;n-=l)a.push(n);a.push(a[a.length-1]-l),a.reverse()}}return a},U=({pagingDotsIndices:e,defaultControlsConfig:{pagingDotsContainerClassName:t,pagingDotsClassName:n,pagingDotsStyle:r={},pagingDotsOnClick:i},currentSlide:o,onUserNavigation:a,slideCount:u,goToSlide:c})=>{let d=(0,l.useCallback)(e=>({cursor:"pointer",opacity:e?1:.5,background:"transparent",border:"none",fill:"black"}),[]),f=R(o,u);return(0,s.jsx)("ul",{className:t,style:{position:"relative",top:-10,display:"flex",margin:0,padding:0,listStyleType:"none"},children:e.map((t,o)=>{let l=f===t||f<t&&(0===o||f>e[o-1]);return(0,s.jsx)("li",{className:l?"paging-item active":"paging-item",children:(0,s.jsx)("button",{className:n,type:"button",style:y(y({},d(l)),r),onClick:e=>{null==i||i(e),e.defaultPrevented||(a(e),c(t))},"aria-label":`slide ${t+1} bullet`,"aria-selected":l,children:(0,s.jsx)("svg",{className:"paging-dot",width:"6",height:"6","aria-hidden":"true",focusable:"false",viewBox:"0 0 6 6",children:(0,s.jsx)("circle",{cx:"3",cy:"3",r:"3"})})})},t)})})},j=(e,t,n,r)=>{let[i,o]=(0,l.useState)(1),a=(0,l.useRef)(Date.now()),s=(0,l.useRef)(),u=(0,l.useRef)(!0),c=(0,l.useRef)(null),d=null===c.current||c.current===n||r?i:0;return(0,l.useEffect)(()=>{if(c.current=n,u.current){u.current=!1;return}if(r)return;a.current=Date.now(),o(0);let t=()=>{s.current=requestAnimationFrame(()=>{let n=Date.now(),r=Math.min(1,(n-a.current)/e);o(r),r<1?t():s.current=void 0})};return t(),()=>{void 0!==s.current&&(cancelAnimationFrame(s.current),o(1))}},[n,e,r]),{isAnimating:1!==d,value:t(d)}},V=(e,t,n,r,i)=>{let o=i?3*t:t,a=100/o,l=i?-100/3:0;return"right"===r&&n>1&&(l+=a*(n-1)),"center"===r&&n>1&&(l+=a*((n-1)/2)),l-100/o*e},z=l.forwardRef(({animation:e,animationDistance:t,cellAlign:n,children:r,currentSlide:i,disableAnimation:o,disableEdgeSwiping:a,draggedOffset:u,easing:c,edgeEasing:d,isDragging:f,scrollMode:p,slideCount:h,slidesToScroll:m,slidesToShow:g,speed:y,wrapAround:v,slideWidth:b,setIsAnimating:E},T)=>{let _;let x=v?3*h:h,C=b?`calc(${b} * ${x})`:`${100*x/g}%`,k=[h,g,n,v],S=H(h,m,p,g,v,n),A=`${u}px`;if(f&&a&&!v){let e=[S[0],S[S.length-1]].map(e=>V(e,...k));A=`clamp(${e[1]}%, ${u}px, ${e[0]}%)`}let w=V(i,...k),O=!a&&!v&&(i===S[0]&&t<0||i===S[S.length-1]&&t>0),{value:P,isAnimating:I}=j(y,O?d:c,i+t,f||o||"fade"===e);if(f||0!==w||I){if(f)_=`translateX(${A})`;else{let e=I?(1-P)*t:0;_=`translateX(calc(${w}% - ${e}px))`}}return(0,l.useEffect)(()=>{E(I)},[I,E]),(0,s.jsx)("div",{ref:T,className:"slider-list",style:{width:C,textAlign:"left",userSelect:"auto",transform:_,display:"flex"},children:r})});z.displayName="SliderList";var G={position:"absolute",display:"flex",zIndex:1,top:0,left:0,bottom:0,right:0},W=e=>{let t,n;switch(e){case"TopLeft":case"TopCenter":case"TopRight":t="flex-start";break;case"CenterLeft":case"CenterCenter":case"CenterRight":t="center";break;case"BottomLeft":case"BottomCenter":case"BottomRight":t="flex-end"}switch(e){case"TopLeft":case"CenterLeft":case"BottomLeft":n="flex-start";break;case"TopCenter":case"CenterCenter":case"BottomCenter":n="center";break;case"TopRight":case"CenterRight":case"BottomRight":n="flex-end"}return{alignItems:t,justifyContent:n}},$=e=>y(y({},W(e)),G),Z=[{funcName:"renderTopLeftControls",key:"TopLeft"},{funcName:"renderTopCenterControls",key:"TopCenter"},{funcName:"renderTopRightControls",key:"TopRight"},{funcName:"renderCenterLeftControls",key:"CenterLeft"},{funcName:"renderCenterCenterControls",key:"CenterCenter"},{funcName:"renderCenterRightControls",key:"CenterRight"},{funcName:"renderBottomLeftControls",key:"BottomLeft"},{funcName:"renderBottomCenterControls",key:"BottomCenter"},{funcName:"renderBottomRightControls",key:"BottomRight"}],Y=(e,t,n,r,i,o,a)=>
47{if(e.withoutControls)return null;let u=v(y({},e),{currentSlide:n,slideCount:t}),c=F(u),d=D(u),f=H(t,a,e.scrollMode,e.slidesToShow,e.wrapAround,e.cellAlign);return Z.map(u=>{var p;return e[u.funcName]&&"function"==typeof e[u.funcName]?(0,s.jsx)("div",{style:v(y({},$(u.key)),{pointerEvents:"none"}),children:(0,s.jsx)("div",{className:[`slider-control-${u.key.toLowerCase()}`,e.defaultControlsConfig.containerClassName||""].join(" ").trim(),style:{pointerEvents:"auto"},children:null==(p=e[u.funcName])?void 0:p.call(e,{cellAlign:e.cellAlign,cellSpacing:e.cellSpacing,currentSlide:n,defaultControlsConfig:e.defaultControlsConfig||{},pagingDotsIndices:f,goToSlide:r,nextDisabled:c,nextSlide:i,onUserNavigation:e.onUserNavigation,previousDisabled:d,previousSlide:o,scrollMode:e.scrollMode,slideCount:t,slidesToScroll:a,slidesToShow:e.slidesToShow||1,vertical:e.vertical,wrapAround:e.wrapAround})})},u.funcName):(0,s.jsx)(l.Fragment,{},u.funcName)})},q=e=>m(e-1,3)+1,K={adaptiveHeight:!1,adaptiveHeightAnimation:!0,afterSlide:()=>{},autoplay:!1,autoplayInterval:3e3,autoplayReverse:!1,beforeSlide:()=>{},cellAlign:"left",cellSpacing:0,defaultControlsConfig:{},disableAnimation:!1,disableEdgeSwiping:!1,dragging:!0,dragThreshold:.5,easing:q,edgeEasing:q,enableKeyboardControls:!1,frameAriaLabel:"carousel-slider",keyCodeConfig:{nextSlide:[39,68,38,87],previousSlide:[37,65,40,83],firstSlide:[81],lastSlide:[69],pause:[32]},onDragStart:()=>{},onDrag:()=>{},onDragEnd:()=>{},onUserNavigation:()=>{},pauseOnHover:!0,renderAnnounceSlideMessage:({currentSlide:e,count:t})=>`Slide ${e+1} of ${t}`,renderBottomCenterControls:e=>(0,s.jsx)(U,y({},e)),renderCenterLeftControls:e=>(0,s.jsx)(M,y({},e)),renderCenterRightControls:e=>(0,s.jsx)(B,y({},e)),scrollMode:"page",slidesToScroll:1,slidesToShow:1,speed:500,style:{},swiping:!0,vertical:!1,withoutControls:!1,wrapAround:!1,children:(0,s.jsx)(s.Fragment,{})},X=e=>{let[t,n]=(0,l.useState)(e),r=(0,l.useRef)(e),i=(0,l.useCallback)(e=>{r.current=e,n(e)},[]);return[t,i,r]},J=(e,t,n)=>{let[r,i,o]=X([]),[a,s]=(0,l.useState)(!1),u=(0,l.useCallback)((e,r)=>{let a;let l=o.current;i(a=null===r?l.filter(t=>t.slideIndex!==e):[...l,{slideIndex:e,height:r}]),a.length>=Math.min(n,Math.ceil(t))&&s(!0)},[n,i,t,o]),c=(0,l.useMemo)(()=>{if(!e)return"auto";{if(!a)return"auto";let e=Math.max(0,...r.map(e=>e.height));return`${e}px`}},[e,a,r]);return{handleVisibleSlideHeightChange:u,frameHeight:c,initializedAdaptiveHeight:a}},Q=e=>{let t=(0,l.useRef)(null);return(0,l.useEffect)(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},ee=l.forwardRef((e,t)=>{let{adaptiveHeight:n,adaptiveHeightAnimation:r,afterSlide:i,animation:o,autoplay:a,autoplayInterval:u,autoplayReverse:c,beforeSlide:d,cellAlign:f,cellSpacing:p,children:h,className:m,disableAnimation:g,dragging:v,dragThreshold:b,enableKeyboardControls:E,frameAriaLabel:T,keyCodeConfig:_,onDrag:C,onDragEnd:S,onDragStart:A,onUserNavigation:w,pauseOnHover:O,renderAnnounceSlideMessage:L,scrollMode:D,slideIndex:M,slidesToScroll:F,slidesToShow:B,slideWidth:U,speed:j,style:G,swiping:W,wrapAround:$,zoomScale:Z}=e,q=l.Children.toArray(h).filter(Boolean),K=q.length,X=U||"auto"===F?"left":f,ee="auto"===F?"remainder":D,[et,en]=(0,l.useState)(new Map),er=Array.from(et).filter(([,e])=>e).length,[ei,eo]=(0,l.useState)(er),ea=U?ei:B,el="fade"===o?ea:"auto"===F?Math.max(ei,1):F,[es,eu]=(0,l.useState)(()=>N(M,K,ea,el,X,c,ee)),[ec,ed]=(0,l.useState)(!1),[ef,ep]=(0,l.useState)(!1),[eh,em]=(0,l.useState)(0),[eg,ey]=(0,l.useState)(0),[ev,eb]=(0,l.useState)(!1),eE=(0,l.useCallback)((e,t)=>{!!et.get(e)!==t&&en(n=>{let r=new Map(n);return r.set(e,t),r})},[et]),eT=(0,l.useRef)(!1);(0,l.useEffect)(()=>{ef&&(eT.current=!0),ef||ev||(eT.current||eo(er),eT.current=!1)},[ev,ef,er]);let e_=(0,l.useRef)(null),ex=(0,l.useRef)(0),eC=(0,l.useRef)(null),ek=(0,l.useRef)(null),eS=(0,l.useRef)(),eA=(0,l.useRef)(null),ew=(0,l.useRef)(!0),eO=(0,l.useCallback)(e=>{e&&e.querySelectorAll(".slider-list img").forEach(e=>e.setAttribute("draggable","false")),eC.current=e},[]);(0,l.useEffect)(()=>(ew.current=!0,()=>{ew.current=!1}),[]);let eP=Q(t),eI=eP||ek,eN=(0,l.useCallback)(e=>{if(!eC.current||!eI.current)return;
47let t=R(e,K),n=e!==es;n&&d(es,t);let r=eC.current.getBoundingClientRect().left-eI.current.getBoundingClientRect().left,o=eC.current.offsetWidth,a=V(t,K,ea,X,$)/100*o;if($){let t=o/3;e<0&&(a+=t),e>=K&&(a-=t)}if(ey(a-r),n){eu(t);let e=g?40:j||500;setTimeout(()=>{ew.current&&i(t)},e)}},[i,d,eI,X,es,g,j,K,ea,$]),eR=(0,l.useCallback)(()=>{let e=P(ee,$,es,K,el,ea,X);es!==e&&eN(e)},[X,es,eN,el,ee,K,ea,$]),eL=(0,l.useCallback)(()=>{let e=I(ee,$,es,el,ea,X);es!==e&&eN(e)},[X,es,eN,el,ee,ea,$]),eD=(0,l.useRef)(M);(0,l.useEffect)(()=>{void 0===M||M===eD.current||c||(eN(M),eD.current=M)},[M,c,eN]),(0,l.useEffect)(()=>{let e=null;return ec&&(e=Date.now()),()=>{null!==e&&null!==eA.current&&(eA.current+=Date.now()-e)}},[ec]),(0,l.useEffect)(()=>{if(a&&!ec){let e=null!==eA.current?u-(Date.now()-eA.current):u;eS.current=setTimeout(()=>{eA.current=Date.now(),c?eL():eR()},e)}return a&&ec&&clearTimeout(eS.current),()=>{clearTimeout(eS.current)}},[ec,a,u,c,eL,eR]);let eM=(0,l.useRef)([]),eF=e=>{if(!ef||!eI.current)return;ep(!1);let t=0;if(eM.current.length>1){let e=eM.current[0],n=eM.current[eM.current.length-1],r=n.time-e.time,i=9*Math.abs((n.pos-e.pos)/r),o=i;for(;Math.abs(o)>1;)t+=o,o*=.92}eM.current=[];let n=Math.abs(eh)+Math.abs(t);S(e),e_.current=null,em(0);let r=eI.current.offsetWidth*Math.min(1,el/ea),i=r*b;if(n<i){eN(es);return}let o=ea>=2*el,a=o?1+Math.floor((n-i)/r):1,l=es;for(let e=0;e<a;e+=1)l=eh>0?P(ee,$,l,K,el,ea,X):I(ee,$,l,el,ea,X);l!==es&&w(e),eN(l)},eB=(0,l.useCallback)(e=>{W&&eC.current&&eI.current&&(ep(!0),ex.current=eC.current.getBoundingClientRect().left-eI.current.getBoundingClientRect().left,A(e))},[eI,A,W]),eH=(0,l.useCallback)(e=>{if(!ef)return;let t=null===e_.current,n=null!==e_.current?e-e_.current:0,r=eh+n,i=Date.now();for(;eM.current.length>0&&!(i-eM.current[0].time<=100);)eM.current.shift();eM.current.push({pos:r,time:i}),t||em(r),e_.current=e},[ef,eh]),eU=(0,l.useCallback)(e=>{if(!ef||!eI.current)return;A(e);let t=eI.current.offsetWidth-e.touches[0].pageX;eH(t)},[ef,eI,eH,A]),ej=(0,l.useCallback)(e=>{v&&eC.current&&eI.current&&(ep(!0),ex.current=eC.current.getBoundingClientRect().left-eI.current.getBoundingClientRect().left,A(e))},[eI,v,A]),eV=(0,l.useCallback)(e=>{if(!ef||!eI.current)return;C(e);let t=e.clientX-eI.current.getBoundingClientRect().left,n=eI.current.offsetWidth-t;eH(n)},[eI,ef,eH,C]),ez=e=>{e.preventDefault(),eF(e)},eG=(0,l.useCallback)(()=>{O&&ed(!0)},[O]),eW=(0,l.useCallback)(()=>{O&&ed(!1)},[O]),{frameHeight:e$,handleVisibleSlideHeightChange:eZ,initializedAdaptiveHeight:eY}=J(n,ea,K),eq=e=>{let t=q.map((t,r)=>(0,s.jsx)(x,{id:`${e}-${r}`,count:K,index:r,isCurrentSlide:es===r,typeOfSlide:e,wrapAround:$,cellSpacing:p,animation:o,speed:j,zoomScale:Z,onVisibleSlideHeightChange:eZ,slideWidth:U,updateIOEntry:eE,adaptiveHeight:n,initializedAdaptiveHeight:eY,carouselRef:eI,children:t},`${e}-${r}`));return t};return(0,s.jsxs)("div",{className:"slider-container",style:{position:"relative"},onMouseEnter:eG,onMouseLeave:eW,children:[(0,s.jsx)(k,{ariaLive:a&&!ec?"off":"polite",message:L({currentSlide:es,count:K})}),Y(e,K,es,eN,eR,eL,el),(0,s.jsx)("div",{className:["slider-frame",m||""].join(" ").trim(),style:y({overflow:"hidden",width:"100%",position:"relative",outline:"none",touchAction:"pan-y",height:e$,transition:r?"height 300ms ease-in-out":void 0,willChange:"height",userSelect:"none"},G),"aria-label":T,role:"region",tabIndex:E?0:-1,onKeyDown:E?e=>{let t=null;if(Object.keys(_).forEach(n=>{var r;(null==(r=_[n])?void 0:r.includes(e.keyCode))&&(t=n)}),null!==t)switch(e.preventDefault(),e.stopPropagation(),t){case"nextSlide":w(e),eR();break;case"previousSlide":w(e),eL();break;case"firstSlide":case"lastSlide":{w(e);let n=H(K,el,ee,ea,$,X);"firstSlide"===t?eN(n[0]):eN(n[n.length-1]);break}case"pause":ed(e=>!e)}}:void 0,ref:eI,onMouseUp:ez,onMouseDown:ej,onMouseMove:eV,onMouseLeave:ez,onTouchStart:eB,onTouchEnd:eF,onTouchMove:eU,children:(0,s.jsxs)(z,{animationDistance:eg,cellAlign:X,currentSlide:es,disableEdgeSwiping:e.disableEdgeSwiping,draggedOffset:ex.current-eh,disableAnimation:g,easing:e.easing,edgeEasing:e.edgeEasing,isDragging:ef,ref:eO,scrollMode:ee,animation:o,slideCount:K,slidesToScroll:el,slidesToShow:ea,speed:j,slideWidth:U,wrapAround:$,setIsAnimating:eb,children:[$?eq("prev-cloned"):null,eq(),$?eq("next-cloned"):null]})})]})});
47ee.defaultProps=K,ee.displayName="Carousel"},66501:function(e,t){"use strict";let n={captionContent:".pswp-caption-content",type:"auto",horizontalEdgeThreshold:20,mobileCaptionOverlapRatio:.3,mobileLayoutBreakpoint:600,verticallyCenterImage:!1};class r{constructor(e,t){this.options={...n,...t},this.lightbox=e,this.lightbox.on("init",()=>{this.pswp=this.lightbox.pswp,this.initCaption()})}initCaption(){let{pswp:e}=this;e.on("change",()=>{this.showCaption(this.pswp.currSlide)}),e.on("calcSlideSize",e=>this.onCalcSlideSize(e)),e.on("slideDestroy",e=>{e.slide.dynamicCaption&&(e.slide.dynamicCaption.element&&e.slide.dynamicCaption.element.remove(),delete e.slide.dynamicCaption)}),e.on("zoomPanUpdate",({slide:t})=>{if(e.opener.isOpen&&t.dynamicCaption){if(t.currZoomLevel>t.zoomLevels.initial?this.hideCaption(t):this.showCaption(t),t.dynamicCaption.element){let e=0;if(t.currZoomLevel<=t.zoomLevels.initial){let n=t.pan.y-t.bounds.center.y;Math.abs(n)>1&&(e=n)}this.setCaptionYOffset(t.dynamicCaption.element,e)}this.adjustPanArea(t,t.currZoomLevel)}}),e.on("beforeZoomTo",t=>{this.adjustPanArea(e.currSlide,t.destZoomLevel)}),e.on("tapAction",e=>{e.originalEvent.target.closest(".pswp__dynamic-caption")&&e.preventDefault()})}adjustPanArea(e,t){e.dynamicCaption&&e.dynamicCaption.adjustedPanAreaSize&&(t>e.zoomLevels.initial?(e.panAreaSize.x=e.dynamicCaption.originalPanAreaSize.x,e.panAreaSize.y=e.dynamicCaption.originalPanAreaSize.y):(e.panAreaSize.x=e.dynamicCaption.adjustedPanAreaSize.x,e.panAreaSize.y=e.dynamicCaption.adjustedPanAreaSize.y))}useMobileLayout(){let{mobileLayoutBreakpoint:e}=this.options;return"function"==typeof e?e.call(this):"number"==typeof e&&window.innerWidth<e}hideCaption(e){if(e.dynamicCaption&&!e.dynamicCaption.hidden){let t=e.dynamicCaption.element;t&&(e.dynamicCaption.hidden=!0,t.classList.add("pswp__dynamic-caption--faded"),e.captionFadeTimeout&&clearTimeout(e.captionFadeTimeout),e.captionFadeTimeout=setTimeout(()=>{t.style.visibility="hidden",delete e.captionFadeTimeout},400))}}setCaptionYOffset(e,t){e.style.transform=`translateY(${t}px)`}showCaption(e){if(e.dynamicCaption&&e.dynamicCaption.hidden){let t=e.dynamicCaption.element;t&&(e.dynamicCaption.hidden=!1,t.style.visibility="visible",clearTimeout(e.captionFadeTimeout),e.captionFadeTimeout=setTimeout(()=>{t.classList.remove("pswp__dynamic-caption--faded"),delete e.captionFadeTimeout},50))}}setCaptionPosition(e,t,n){let r=t<=this.options.horizontalEdgeThreshold;e.classList[r?"add":"remove"]("pswp__dynamic-caption--on-hor-edge"),e.style.left=t+"px",e.style.top=n+"px"}setCaptionWidth(e,t){t?e.style.width=t+"px":e.style.removeProperty("width")}setCaptionType(e,t){let n=e.dataset.pswpCaptionType;t!==n&&(e.classList.add("pswp__dynamic-caption--"+t),e.classList.remove("pswp__dynamic-caption--"+n),e.dataset.pswpCaptionType=t)}updateCaptionPosition(e){if(!e.dynamicCaption||!e.dynamicCaption.type||!e.dynamicCaption.element)return;if("mobile"===e.dynamicCaption.type){this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),e.dynamicCaption.element.style.removeProperty("left"),e.dynamicCaption.element.style.removeProperty("top"),this.setCaptionWidth(e.dynamicCaption.element,!1);return}let t=e.zoomLevels.initial,n=Math.ceil(e.width*t),r=Math.ceil(e.height*t);this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),"aside"===e.dynamicCaption.type?(this.setCaptionPosition(e.dynamicCaption.element,e.bounds.center.x+n,e.bounds.center.y),this.setCaptionWidth(e.dynamicCaption.element,!1)):"below"===e.dynamicCaption.type&&(this.setCaptionPosition(e.dynamicCaption.element,e.bounds.center.x,e.bounds.center.y+r),this.setCaptionWidth(e.dynamicCaption.element,n))}onCalcSlideSize(e){let t,n;let{slide:r}=e;if(!r.dynamicCaption){r.dynamicCaption={element:void 0,type:!1,hidden:!1};let e=this.getCaptionHTML(r);if(!e)return;r.dynamicCaption.element=document.createElement("div"),r.dynamicCaption.element.className="pswp__dynamic-caption pswp__hide-on-close",r.dynamicCaption.element.innerHTML=e,this.pswp.dispatch("dynamicCaptionUpdateHTML",{captionElement:r.dynamicCaption.element,slide:r}),r.holderElement.appendChild(r.dynamicCaption.element)}if(!r.dynamicCaption.element)return;this.storeOriginalPanAreaSize(r),r.bounds.update(r.zoomLevels.initial),this.useMobileLayout()?(r.dynamicCaption.type="mobile",n=!0):"auto"===this.options.type?r.bounds.center.x>r.bounds.center.y?r.dynamicCaption.type="aside":r.dynamicCaption.type="below":r.dynamicCaption.type=this.options.type;let i=Math.ceil(r.width*r.zoomLevels.initial),o=Math.ceil(r.height*r.zoomLevels.initial);if(this.setCaptionType(r.dynamicCaption.element,r.dynamicCaption.type),"aside"===r.dynamicCaption.type){this.setCaptionWidth(r.dynamicCaption.element,!1),t=this.measureCaptionSize(r.dynamicCaption.element,e.slide);
47let n=t.x,o=i+r.bounds.center.x,a=r.panAreaSize.x-o;a<=n&&(r.panAreaSize.x-=n,this.recalculateZoomLevelAndBounds(r))}else if("below"===r.dynamicCaption.type||n){this.setCaptionWidth(r.dynamicCaption.element,n?this.pswp.viewportSize.x:i),t=this.measureCaptionSize(r.dynamicCaption.element,e.slide);let a=t.y;if(this.options.verticallyCenterImage)r.panAreaSize.y-=a,this.recalculateZoomLevelAndBounds(r);else{let e=o+r.bounds.center.y,t=r.panAreaSize.y-e,i=r.panAreaSize.y;if(t<=a){r.panAreaSize.y-=Math.min((a-t)*2,a),this.recalculateZoomLevelAndBounds(r);let e=r.panAreaSize.x*this.options.mobileCaptionOverlapRatio/2;n&&r.bounds.center.x>e&&(r.panAreaSize.y=i,this.recalculateZoomLevelAndBounds(r))}}}this.storeAdjustedPanAreaSize(r),this.updateCaptionPosition(r)}measureCaptionSize(e,t){let n=e.getBoundingClientRect(),r=this.pswp.dispatch("dynamicCaptionMeasureSize",{captionEl:e,slide:t,captionSize:{x:n.width,y:n.height}});return r.captionSize}recalculateZoomLevelAndBounds(e){e.zoomLevels.update(e.width,e.height,e.panAreaSize),e.bounds.update(e.zoomLevels.initial)}storeAdjustedPanAreaSize(e){e.dynamicCaption&&(e.dynamicCaption.adjustedPanAreaSize||(e.dynamicCaption.adjustedPanAreaSize={}),e.dynamicCaption.adjustedPanAreaSize.x=e.panAreaSize.x,e.dynamicCaption.adjustedPanAreaSize.y=e.panAreaSize.y)}storeOriginalPanAreaSize(e){e.dynamicCaption&&(e.dynamicCaption.originalPanAreaSize||(e.dynamicCaption.originalPanAreaSize={}),e.dynamicCaption.originalPanAreaSize.x=e.panAreaSize.x,e.dynamicCaption.originalPanAreaSize.y=e.panAreaSize.y)}getCaptionHTML(e){if("function"==typeof this.options.captionContent)return this.options.captionContent.call(this,e);let t=e.data.element,n="";if(t){let e=t.querySelector(this.options.captionContent);if(e)n=e.innerHTML;else{let e=t.querySelector("img");e&&(n=e.getAttribute("alt"))}}return n}}t.Z=r},31891:function(e,t,n){"use strict";/*! 48 * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com 49 * (c) 2024 Dmytro Semenov 50 */function r(e,t,n){let r=document.createElement(t);return e&&(r.className=e),n&&n.appendChild(r),r}function i(e,t,n){e.style.width="number"==typeof t?`${t}px`:t,e.style.height="number"==typeof n?`${n}px`:n}n.d(t,{Z:function(){return g}});let o={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function a(e,t,n=document){let r=[];if(e instanceof Element)r=[e];else if(e instanceof NodeList||Array.isArray(e))r=Array.from(e);else{let i="string"==typeof e?e:t;i&&(r=Array.from(n.querySelectorAll(i)))}return r}function l(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class s{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}}class u{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,n=100){var r,i,o;this._filters[e]||(this._filters[e]=[]),null===(r=this._filters[e])||void 0===r||r.push({fn:t,priority:n}),null===(i=this._filters[e])||void 0===i||i.sort((e,t)=>e.priority-t.priority),null===(o=this.pswp)||void 0===o||o.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(e=>e.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var n;return null===(n=this._filters[e])||void 0===n||n.forEach(e=>{t[0]=e.fn.apply(this,t)}),t[0]}on(e,t){var n,r;this._listeners[e]||(this._listeners[e]=[]),null===(n=this._listeners[e])||void 0===n||n.push(t),null===(r=this.pswp)||void 0===r||r.on(e,t)}off(e,t){var n;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(e=>t!==e)),null===(n=this.pswp)||void 0===n||n.off(e,t)}dispatch(e,t){var n;if(this.pswp)return this.pswp.dispatch(e,t);let r=new s(e,t);return null===(n=this._listeners[e])||void 0===n||n.forEach(e=>{e.call(this,r)}),r}}class c{constructor(e,t){if(this.element=r("pswp__img pswp__img--placeholder",e?"img":"div",t),e){let t=this.element;t.decoding="async",t.alt="",t.src=e,t.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){if(this.element){if("IMG"===this.element.tagName){var n;let t;i(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=(t="translate3d(0px,0px,0)",n=e/250,t+=` scale3d(${n},${n},1)`)}else i(this.element,e,t)}}destroy(){var e;null!==(e=this.element)&&void 0!==e&&e.parentNode&&this.element.remove(),this.element=null}}class d{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=o.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.t
50ype="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder()){if(this.placeholder){let e=this.placeholder.element;e&&!e.parentElement&&this.slide.container.prepend(e)}else{let e=this.instance.applyFilters("placeholderSrc",!!this.data.msrc&&!!this.slide.isFirstSlide&&this.data.msrc,this);this.placeholder=new c(e,this.slide.container)}}(!this.element||t)&&!this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented&&(this.isImageContent()?(this.element=r("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=r("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;let r=this.element;this.updateSrcsetSizes(),this.data.srcset&&(r.srcset=this.data.srcset),r.src=null!==(t=this.data.src)&&void 0!==t?t:"",r.alt=null!==(n=this.data.alt)&&void 0!==n?n:"",this.state=o.LOADING,r.complete?this.onLoaded():(r.onload=()=>{this.onLoaded()},r.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=o.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===o.LOADED||this.state===o.ERROR)&&this.removePlaceholder())}onError(){this.state=o.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===o.LOADING,this)}isError(){return this.state===o.ERROR}isImageContent(){return"image"===this.type}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(i(this.element,e,t),this.isImageContent()&&!this.isError()))){let n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==o.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let n=r("pswp__error-msg","div");n.innerText=null!==(e=null===(t=this.instance.options)||void 0===t?void 0:t.errorMsg)&&void 0!==e?e:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=r("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===o.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;let e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||l())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){!this.instance.dispatch("contentActivate",{content:this}).defaultPrevented&&this.slide&&(this.isImageContent()&&this.isDecoding&&!l()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&!this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented&&(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===o.LOADED||this.state===o.ERROR)&&this.removePlaceholder())}}function f(e,t,n,r,i){let o=0;if(t.paddingFn)o=t.paddingFn(n,r,i)[e];else if(t.padding)o=t.padding[e];else{let n="padding"+e[0].toUpperCase()+e.slice(1);t[n]&&(o=t[n])}return Number(o)||0}class p{constructor(e,t,n,r){this.pswp=r,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){let r={x:e,y:t};this.elementSize=r,this.panAreaSize=n;let i=n.x/r.x,o=n.y/r.y;this.fit=Math.min(1,i<o?i:o),this.fill=Math.min(1,i>o?i:o),this.vFill=Math.min(1,o),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){let t=this.options[e+"ZoomLevel"];return t?"function"==typeof t?t(this):"fill"===t?this.fill:"fit"===t?this.fit:Number(t):void 0}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,3*this.fit),this.elementSize&&e*this.elementSize.x>4e3&&(e=4e3/this.elementSize.x)),e}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,4*this.fit)}}function h(e,t,n){let r;let i=t.createContentFromData(e,n),{options:o}=t;if(o){let a;r=new p(o,e,-1),a=t.pswp?t.pswp.viewportSize:function(e,t){if(e.getViewportSizeFn){let n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}(o,t);
50let l={x:a.x-f("left",o,a,e,n)-f("right",o,a,e,n),y:a.y-f("top",o,a,e,n)-f("bottom",o,a,e,n)};r.update(i.width,i.height,l)}return i.lazyLoad(),r&&i.setDisplayedSize(Math.ceil(i.width*r.initial),Math.ceil(i.height*r.initial)),i}class m extends u{getNumItems(){var e;let t=0,n=null===(e=this.options)||void 0===e?void 0:e.dataSource;n&&"length"in n?t=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(t=n.items.length));let r=this.dispatch("numItems",{dataSource:n,numItems:t});return this.applyFilters("numItems",r.numItems,n)}createContentFromData(e,t){return new d(e,this,t)}getItemData(e){var t;let n=null===(t=this.options)||void 0===t?void 0:t.dataSource,r={};Array.isArray(n)?r=n[e]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),r=n.items[e]);let i=r;i instanceof Element&&(i=this._domElementToItemData(i));let o=this.dispatch("itemData",{itemData:i||{},index:e});return this.applyFilters("itemData",o.itemData,e)}_getGalleryDOMElements(e){var t,n;return null!==(t=this.options)&&void 0!==t&&t.children||null!==(n=this.options)&&void 0!==n&&n.childSelector?a(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){let t={element:e},n="A"===e.tagName?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);let i=e.querySelector("img");if(i){var r;t.msrc=i.currentSrc||i.src,t.alt=null!==(r=i.getAttribute("alt"))&&void 0!==r?r:""}(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return h(e,this,t)}}class g extends m{constructor(e){super(),this.options=e||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){a(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(e){if("button"in e&&1===e.button||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||window.pswp)return;let t={x:e.clientX,y:e.clientY};t.x||t.y||(t=null);let n=this.getClickedIndex(e);n=this.applyFilters("clickedIndex",n,e,this);let r={gallery:e.currentTarget};n>=0&&(e.preventDefault(),this.loadAndOpen(n,r,t))}getClickedIndex(e){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,e);let t=e.target,n=a(this.options.children,this.options.childSelector,e.currentTarget),r=n.findIndex(e=>e===t||e.contains(t));return -1!==r?r:this.options.children||this.options.childSelector?-1:0}loadAndOpen(e,t,n){if(window.pswp||!this.options)return!1;if(!t&&this.options.gallery&&this.options.children){let e=a(this.options.gallery);e[0]&&(t={gallery:e[0]})}return this.options.index=e,this.options.initialPointerPos=n,this.shouldOpen=!0,this.preload(e,t),!0}preload(e,t){var n;let{options:r}=this;t&&(r.dataSource=t);let i=[],o=typeof r.pswpModule;if("function"==typeof(n=r.pswpModule)&&n.prototype&&n.prototype.goTo)i.push(Promise.resolve(r.pswpModule));else if("string"===o)throw Error("pswpModule as string is no longer supported");else if("function"===o)i.push(r.pswpModule());else throw Error("pswpModule is not valid");"function"==typeof r.openPromise&&i.push(r.openPromise()),!1!==r.preloadFirstSlide&&e>=0&&(this._preloadedContent=function(e,t){let n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return h(n,t,e)}(e,this));let a=++this._uid;Promise.all(i).then(e=>{if(this.shouldOpen){let t=e[0];this._openPhotoswipe(t,a)}})}_openPhotoswipe(e,t){if(t!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;let n="object"==typeof e?new e.default(this.options):new e(this.options);this.pswp=n,window.pswp=n,Object.keys(this._listeners).forEach(e=>{var t;null===(t=this._listeners[e])||void 0===t||t.forEach(t=>{n.on(e,t)})}
50),Object.keys(this._filters).forEach(e=>{var t;null===(t=this._filters[e])||void 0===t||t.forEach(t=>{n.addFilter(e,t.fn,t.priority)})}),this._preloadedContent&&(n.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),n.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),n.init()}destroy(){var e;null===(e=this.pswp)||void 0===e||e.destroy(),this.shouldOpen=!1,this._listeners={},a(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.removeEventListener("click",this.onThumbnailsClick,!1)})}}},90764:function(e,t,n){"use strict";n.d(t,{dy:function(){return v},YP:function(){return b}});class r{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function i(e,t){let n={},i={},o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(i,e[o].normal);return new r(n,i,t)}r.prototype.property={},r.prototype.normal={},r.prototype.space=null;var o=n(96719),a=n(49893);let l={}.hasOwnProperty;function s(e){let t;let n={},i={};for(t in e.properties)if(l.call(e.properties,t)){let r=e.properties[t],l=new a.I(t,e.transform(e.attributes||{},t),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(l.mustUseProperty=!0),n[t]=l,i[(0,o.F)(t)]=t,i[(0,o.F)(l.attribute)]=t}return new r(n,i,e.space)}let u=s({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),c=s({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function f(e,t){return d(e,t.toLowerCase())}let p=s({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:f,properties:{xmlns:null,xmlnsXLink:null}});var h=n(21584);let m=s({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:h.booleanish,ariaAutoComplete:null,ariaBusy:h.booleanish,ariaChecked:h.booleanish,ariaColCount:h.number,ariaColIndex:h.number,ariaColSpan:h.number,ariaControls:h.spaceSeparated,ariaCurrent:null,ariaDescribedBy:h.spaceSeparated,ariaDetails:null,ariaDisabled:h.booleanish,ariaDropEffect:h.spaceSeparated,ariaErrorMessage:null,ariaExpanded:h.booleanish,ariaFlowTo:h.spaceSeparated,ariaGrabbed:h.booleanish,ariaHasPopup:null,ariaHidden:h.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h.spaceSeparated,ariaLevel:h.number,ariaLive:null,ariaModal:h.booleanish,ariaMultiLine:h.booleanish,ariaMultiSelectable:h.booleanish,ariaOrientation:null,ariaOwns:h.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:h.number,ariaPressed:h.booleanish,ariaReadOnly:h.booleanish,ariaRelevant:null,ariaRequired:h.booleanish,ariaRoleDescription:h.spaceSeparated,ariaRowCount:h.number,ariaRowIndex:h.number,ariaRowSpan:h.number,ariaSelected:h.booleanish,ariaSetSize:h.number,ariaSort:null,ariaValueMax:h.number,ariaValueMin:h.number,ariaValueNow:h.number,ariaValueText:null,role:null}}),g=s({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:f,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h.commaSeparated,acceptCharset:h.spaceSeparated,accessKey:h.spaceSeparated,action:null,allow:null,allowFullScreen:h.boolean,allowPaymentRequest:h.boolean,allowUserMedia:h.boolean,alt:null,as:null,async:h.boolean,autoCapitalize:null,autoComplete:h.spaceSeparated,autoFocus:h.boolean,autoPlay:h.boolean,capture:h.boolean,charSet:null,checked:h.boolean,cite:null,className:h.spaceSeparated,cols:h.number,colSpan:null,content:null,contentEditable:h.booleanish,controls:h.boolean,controlsList:h.spaceSeparated,coords:h.number|h.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h.boolean,defer:h.boolean,dir:null,dirName:null,disabled:h.boolean,download:h.overloadedBoolean,draggable:h.booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h.boolean,formTarget:null,headers:h.spaceSeparated,height:h.number,hidden:h.boolean,high:h.number,href:null,hrefLang:null,htmlFor:h.spaceSeparated,httpEquiv:h.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:h.boolean,itemId:null,itemProp:h.spaceSeparated,itemRef:h.spaceSeparated,itemScope:h.boolean,itemType:h.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h.boolean,low:h.number,manifest:null,max:null,maxLength:h.number,media:null,method:null,min:null,minLength:h.number,multiple:h.boolean,muted:h.boolean,name:null,nonce:null,noModule:h.boolean,noValidate:h.boolean,onAbort:null,onAfterPrint:null,onAuxCl
50ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:h.boolean,optimum:h.number,pattern:null,ping:h.spaceSeparated,placeholder:null,playsInline:h.boolean,poster:null,preload:null,readOnly:h.boolean,referrerPolicy:null,rel:h.spaceSeparated,required:h.boolean,reversed:h.boolean,rows:h.number,rowSpan:h.number,sandbox:h.spaceSeparated,scope:null,scoped:h.boolean,seamless:h.boolean,selected:h.boolean,shape:null,size:h.number,sizes:null,slot:null,span:h.number,spellCheck:h.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h.number,step:null,style:null,tabIndex:h.number,target:null,title:null,translate:null,type:null,typeMustMatch:h.boolean,useMap:null,value:h.booleanish,width:h.number,wrap:null,align:null,aLink:null,archive:h.spaceSeparated,axis:null,background:null,bgColor:null,border:h.number,borderColor:null,bottomMargin:h.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h.boolean,declare:h.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:h.number,leftMargin:h.number,link:null,longDesc:null,lowSrc:null,marginHeight:h.number,marginWidth:h.number,noResize:h.boolean,noHref:h.boolean,noShade:h.boolean,noWrap:h.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:h.number,rules:null,scheme:null,scrolling:h.booleanish,standby:null,summary:null,text:null,topMargin:h.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h.boolean,disableRemotePlayback:h.boolean,prefix:null,property:null,results:h.number,security:null,unselectable:null}}),y=s({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
50-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:h.commaOrSpaceSeparated,accentHeight:h.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h.number,amplitude:h.number,arabicForm:null,ascent:h.number,attributeName:null,attributeType:null,azimuth:h.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h.number,by:null,calcMode:null,capHeight:h.number,className:h.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h.number,diffuseConstant:h.number,direction:null,display:null,dur:null,divisor:h.number,dominantBaseline:null,download:h.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:h.number,enableBackgroun
50d:null,end:null,event:null,exponent:h.number,externalResourcesRequired:null,fill:null,fillOpacity:h.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h.commaSeparated,g2:h.commaSeparated,glyphName:h.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h.number,horizOriginX:h.number,horizOriginY:h.number,id:null,ideographic:h.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h.number,k:h.number,k1:h.number,k2:h.number,k3:h.number,k4:h.number,kernelMatrix:h.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h.number,overlineThickness:h.number,paintOrder:null,panose1:null,path:null,pathLength:h.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:h.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h.number,pointsAtY:h.number,pointsAtZ:h.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:h.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:h.commaOrSpaceSeparated,rev:h.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:h.commaOrSpaceSeparated,requiredFeatures:h.commaOrSpaceSeparated,requiredFonts:h.commaOrSpaceSeparated,requiredFormats:h.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h.number,specularExponent:h.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h.number,strikethroughThickness:h.number,string:null,stroke:null,strokeDashArray:h.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h.number,strokeOpacity:h.number,strokeWidth:null,style:null,surfaceScale:h.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:h.commaOrSpaceSeparated,tabIndex:h.number,tableValues:null,target:null,targetX:h.number,targetY:h.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:h.commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:h.number,underlineThickness:h.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h.number,values:null,vAlphabetic:h.number,vMathematical:h.number,vectorEffect:null,vHanging:h.number,vIdeographic:h.number,version:null,vertAdvY:h.number,vertOriginX:h.number,vertOriginY:h.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),v=i([c,u,p,m,g],"html"),b=i([c,u,p,m,y],"svg")},34678:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(96719),i=n(49893),o=n(28352);let a=/^data[-\w.:]+$/i,l=/-[a-z]/g,s=/[A-Z]/g;function u(e,t){let n=(0,r.F)(t),u=t,f=o.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&a.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(l,d);u="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!l.test(e)){let n=e.replace(s,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}f=i.I}return new f(u,t)}function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},96719:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},49893:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var r=n(28352),i=n(21584);let o=Object.keys(i);class a extends r.k{constructor(e,t,n,r){var a,l;let s=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++s<o.length;){let e=o[s];a=o[s],(l=(n&i[e])===i[e])&&(this[a]=l)}}}a.prototype.defined=!0},28352:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});
50class r{constructor(e,t){this.property=e,this.attribute=t}}r.prototype.space=null,r.prototype.boolean=!1,r.prototype.booleanish=!1,r.prototype.overloadedBoolean=!1,r.prototype.number=!1,r.prototype.commaSeparated=!1,r.prototype.spaceSeparated=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.mustUseProperty=!1,r.prototype.defined=!1},21584:function(e,t,n){"use strict";n.r(t),n.d(t,{boolean:function(){return i},booleanish:function(){return o},commaOrSpaceSeparated:function(){return c},commaSeparated:function(){return u},number:function(){return l},overloadedBoolean:function(){return a},spaceSeparated:function(){return s}});let r=0,i=d(),o=d(),a=d(),l=d(),s=d(),u=d(),c=d();function d(){return 2**++r}},61678:function(e,t,n){"use strict";n.d(t,{D:function(){return tB}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return eJ},contentInitial:function(){return e$},disable:function(){return eQ},document:function(){return eW},flow:function(){return eY},flowInitial:function(){return eZ},insideSpan:function(){return eX},string:function(){return eq},text:function(){return eK}});var i=n(2265),o=n(69934);function a(e){return e&&"object"==typeof e?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?l(e):"":""}function l(e){return u(e&&e.line)+":"+u(e&&e.column)}function s(e){return l(e&&e.start)+"-"+l(e&&e.end)}function u(e){return e&&"number"==typeof e?e:1}class c extends Error{constructor(e,t,n){let r=[null,null],i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=a(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;let d={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');f(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(i=o):(l=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(f(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){let t;f(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let l=e.charCodeAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)f(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){f(e);let t=47===e.charCodeAt(0),n=function(e,t){let n,r,i="",o=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else if(47===n)break;else n=47;if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=s,l=0;continue}}else if(i.length>0){i="",o=0,a=s,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),o=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}
50return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function p(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let h=["history","path","basename","stem","extname","dirname"];class m{constructor(e){let t,n;t=e?"string"==typeof e||o(e)?{value:e}:p(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/",this.value,this.stored,this.result,this.map;let r=-1;for(;++r<h.length;){let e=h[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)h.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){p(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!p(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){let e=t.charCodeAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),y(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?d.dirname(this.path):void 0}set dirname(e){v(this.basename,"dirname"),this.path=d.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?d.basename(this.path):void 0}set basename(e){y(e,"basename"),g(e,"basename"),this.path=d.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?d.extname(this.path):void 0}set extname(e){if(g(e,"extname"),v(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=d.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?d.basename(this.path,this.extname):void 0}set stem(e){y(e,"stem"),g(e,"stem"),this.path=d.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new c(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}}function g(e,t){if(e&&e.includes(d.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+d.sep+"`")}function y(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function v(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function b(e){if(e)throw e}var E=n(55379);function T(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let _=(function e(){let t;let n=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let l=e[++n],s=-1;if(o){r(o);return}for(;++s<t.length;)(null===a[s]||void 0===a[s])&&(a[s]=t[s]);t=a,l?(function(e,t){let n;return function(...t){let o;let a=e.length>t.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o instanceof Promise?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(l,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],i={},a=-1;return l.data=function(e,n){return"string"==typeof e?2==arguments.length?(A("data",t),i[e]=n,l):x.call(i,e)&&i[e]||null:e?(A("data",t),i=e,l):i},l.Parser=void 0,l.Compiler=void 0,l.freeze=function(){if(t)return l;for(;++a<r.length;){let[e,...t]=r[a];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let i=e.call(l,...t);"function"==typeof i&&n.use(i)}return t=!0,a=Number.POSITIVE_INFINITY,l},l.attachers=r,l.use=function(e,...n){let o;if(A("use",t),null==e);else if("function"==typeof e)u(e,...n);
50else if("object"==typeof e)Array.isArray(e)?s(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return o&&(i.settings=Object.assign(i.settings||{},o)),l;function a(e){s(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function s(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){let n=e[t];!function(e){if("function"==typeof e)u(e);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;u(t,...n)}else a(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function u(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(T(n[1])&&T(t)&&(t=E(!0,n[1],t)),n[1]=t):r.push([...arguments])}},l.parse=function(e){l.freeze();let t=P(e),n=l.Parser;return(k("parse",n),C(n,"parse"))?new n(String(t),t).parse():n(String(t),t)},l.stringify=function(e,t){l.freeze();let n=P(t),r=l.Compiler;return(S("stringify",r),w(e),C(r,"compile"))?new r(e,n).compile():r(e,n)},l.run=function(e,t,r){if(w(e),l.freeze(),r||"function"!=typeof t||(r=t,t=void 0),!r)return new Promise(i);function i(i,o){n.run(e,P(t),function(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)})}i(null,r)},l.runSync=function(e,t){let n,r;return l.run(e,t,function(e,t){b(e),n=t,r=!0}),O("runSync","run",r),n},l.process=function(e,t){if(l.freeze(),k("process",l.Parser),S("process",l.Compiler),!t)return new Promise(n);function n(n,r){let i=P(e);function a(e,i){e||!i?r(e):n?n(i):t(null,i)}l.run(l.parse(i),i,(e,t,n)=>{if(!e&&t&&n){let r=l.stringify(t,n);null==r||("string"==typeof r||o(r)?n.value=r:n.result=r),a(e,n)}else a(e)})}n(null,t)},l.processSync=function(e){let t;l.freeze(),k("processSync",l.Parser),S("processSync",l.Compiler);let n=P(e);return l.process(n,function(e){t=!0,b(e)}),O("processSync","process",t),n},l;function l(){let t=e(),n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(E(!0,{},i)),t}})().freeze(),x={}.hasOwnProperty;function C(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(x.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function k(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Parser`")}function S(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Compiler`")}function A(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function w(e){if(!T(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function O(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function P(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new m(e)}let I={};function N(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return R(e.children,t,n)}return Array.isArray(e)?R(e,t,n):""}function R(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=N(e[i],t,n);return r.join("")}function L(e,t,n,r){let i;let o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function D(e,t){return e.length>0?(L(e,e.length,0,t),e):t}let M={}.hasOwnProperty,F=q(/[A-Za-z]/),B=q(/[\dA-Za-z]/),H=q(/[#-'*+\--9=?A-Z^-~]/);function U(e){return null!==e&&(e<32||127===e)}let j=q(/\d/),V=q(/[\dA-Fa-f]/),z=q(/[!-/:-@[-`{-~]/);function G(e){return null!==e&&e<-2}function W(e){return null!==e&&(e<0||32===e)}function $(e){return -2===e||-1===e||32===e}let Z=q(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),Y=q(/\s/);function q(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function K(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return $(r)?(e.enter(n),function r(a){return $(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let X={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),K(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return G(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},J={tokenize:function(e){let t,n,r;let i=this,o=[],a=0;return l;function l(t){if(a<o.length){let n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,s,u)(t)}return u(t)}function s(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}g(a);let l=r;
50for(;l<i.events.length;)i.events[l][1].end=Object.assign({},n),l++;return L(i.events,o+1,0,i.events.slice(r)),i.events.length=l,u(e)}return l(e)}function u(n){if(a===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(Q,c,d)(n)}function c(e){return t&&y(),g(a),f(e)}function d(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,h(e)}function f(t){return i.containerState={},e.attempt(Q,p,h)(t)}function p(e){return a++,o.push([i.currentConstruct,i.containerState]),f(e)}function h(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return G(n)?(e.consume(n),m(e.exit("chunkFlow")),a=0,i.interrupt=void 0,l):(e.consume(n),t)}(r)}function m(e,o){let l=i.sliceStream(e);if(o&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let l=i.events.length,s=l;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){n=i.events[s][1].end;break}e=!0}for(g(a),o=l;o<i.events.length;)i.events[o][1].end=Object.assign({},n),o++;L(i.events,s+1,0,i.events.slice(l)),i.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},Q={tokenize:function(e,t,n){return K(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},ee={tokenize:function(e,t,n){return function(t){return $(t)?K(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||G(e)?t(e):n(e)}},partial:!0};function et(e){let t,n,r,i,o,a,l;let s={},u=-1;for(;++u<e.length;){for(;(u in s);)u=s[u];if(t=e[u],u&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[u-1][1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r;let i=e[t][1],o=e[t][2],a=t-1,l=[],s=i._tokenizer||o.parser[i.contentType](i.start),u=s.events,c=[],d={},f=-1,p=i,h=0,m=0,g=[m];for(;p;){for(;e[++a][1]!==p;);l.push(a),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=u.slice(g[f],g[f+1]),n=l.pop();c.unshift([n,n+t.length-1]),L(e,n,2,t)}for(f=-1;++f<c.length;)d[h+c[f][0]]=h+c[f][1],h+=c[f][1]-c[f][0]-1;return d}(e,u)),u=s[u],l=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=e[r])[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},e[n][1].start),(o=e.slice(n,u)).unshift(t),L(e,n,u-n+1,o))}}return!l}let en={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):G(t)?e.check(er,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return et(e),e}},er={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),K(e,i,"linePrefix")};function i(i){if(null===i||G(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},ei={tokenize:function(e){let t=this,n=e.attempt(ee,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,K(e,e.attempt(this.parser.constructs.flow,r,e.attempt(en,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},eo={resolveAll:eu()},ea=es("string"),el=es("text");function es(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return s(e)?i(e):a(e)}function a(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:eu("text"===e?ec:void 0)}}function eu(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ec(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],o=t.sliceStream(i),a=o.length,l=-1,s=0;for(;a--;){let e=o[a];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{a++;break}}if(s){let o={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-s,offset:i.end.offset-s,_index:i.start._index+a,_bufferIndex:a?l:i.start._bufferIndex+l},end:Object.assign({},i.end)};i.end=Object.assign({},o.start),i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function ed(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let ef={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){return e.enter("thematicBreak"),r=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),$(n)?K(e,o,"whitespace")(n):o(n))}
50(a)):i>=3&&(null===a||G(a))?(e.exit("thematicBreak"),t(a)):n(a)}(o)}}},ep={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:j(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ef,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return j(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ee,r.interrupt?n:s,e.attempt(eh,c,u))}
50function s(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return $(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ee,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,K(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!$(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(em,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,K(e,e.attempt(ep,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},eh={tokenize:function(e,t,n){let r=this;return K(e,function(e){let i=r.events[r.events.length-1];return!$(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},em={tokenize:function(e,t,n){let r=this;return K(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eg={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return $(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return $(t)?K(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eg,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ey(e,t,n,r,i,o,a,l,s){let u=s||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||U(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||G(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(i){return!c&&(null===i||41===i||W(i))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||U(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function ev(e,t,n,r,i,o){let a;let l=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return s>999||null===d||91===d||93===d&&!a||94===d&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):G(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||G(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!$(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eb(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===a?(e.exit(o),l(a)):null===t?n(t):G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),K(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||G(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function eE(e,t){let n;return function r(i){return G(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):$(i)?K(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function eT(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let e_={tokenize:function(e,t,n){return function(t){return W(t)?eE(e,r)(t):n(t)};function r(t){return eb(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return $(t)?K(e,o,"whitespace")(t):o(t)}function o(e){return null===e||G(e)?t(e):n(e)}},partial:!0},ex={name:"codeIndented",tokenize:function(e,t,n){let r=this;
50return function(t){return e.enter("codeIndented"),K(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):G(n)?e.attempt(eC,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||G(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},eC={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):K(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):G(e)?i(e):n(e)}},partial:!0},ek={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),$(n)?K(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||G(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},eS=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eA=["pre","script","style","textarea"],ew={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ee,t,n)}},partial:!0},eO={tokenize:function(e,t,n){let r=this;return function(t){return G(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eP={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eI={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),$(t)?K(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),$(i)?K(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||G(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a=0,l=0;return function(t){return function(t){let o=i.events[i.events.length-1];return a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),$(i)?K(e,s,"whitespace")(i):s(i))}(t)}(t)};function s(o){return null===o||G(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(eP,c,h)(o)):(e.enter("co
50deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||G(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):$(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),K(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||G(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||G(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&$(t)?K(e,p,"linePrefix",a+1)(t):p(t)}function p(t){return null===t||G(t)?e.check(eP,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||G(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eN=n(63034);let eR={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=B,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=V,u):(e.enter("characterReferenceValue"),r=7,i=j,u(t))}function u(l){if(59===l&&a){let r=e.exit("characterReferenceValue");return i!==B||(0,eN.T)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++<r?(e.consume(l),u):n(l)}}},eL={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return z(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},eD={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),K(e,t,"linePrefix")}}},eM={name:"labelEnd",tokenize:function(e,t,n){let r,i;let o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(eT(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(t){return 40===t?e.attempt(eF,u,i?u:c)(t):91===t?e.attempt(eB,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(eH,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,l=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(i=a);let s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=D(o=[["enter",s,t],["enter",u,t]],e.slice(r+1,r+l+3)),o=D(o,[["enter",c,t]]),o=D(o,ed(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),o=D(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=D(o,e.slice(i+1)),o=D(o,[["exit",s,t]]),L(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];("labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},eF={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return W(t)?eE(e,i)(t):i(t)}function i(t){return 41===t?u(t):ey(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return W(t)?eE(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?eb(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return W(t)?eE(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},eB={tokenize:function(e,t,n){let r=this;return function(t){return ev.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(eT(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},eH={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},eU={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eM.resolveAll};function ej(e){return null===e||W(e)||Y(e)?1:Z(e)?2:void 0}let eV={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=ej(i);return function(a){return n=a,e.enter("attentionSequence"),function a(l){if(l===n)return e.consume(l),a;let s=e.exit("attentionSequence"),u=ej(l),c=!u||2===u&&o||r.includes(l),d=!o||2===o&&u||r.includes(i);return s._open=!!(42===n?c:c&&(o||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(l)}(a)}},resolveAll:function(e,t){let n,r,i,o,a,l,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
50n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);ez(d,-l),ez(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=D(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=D(s,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),s=D(s,ed(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=D(s,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=D(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,L(e,n-1,c-n+3,s),c=n+s.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function ez(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eG={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:eM.resolveAll},eW={42:ep,43:ep,45:ep,48:ep,49:ep,50:ep,51:ep,52:ep,53:ep,54:ep,55:ep,56:ep,57:ep,62:eg},e$={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),ev.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=eT(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return W(t)?eE(e,l)(t):l(t)}function l(t){return ey(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(e_,u,u)(t)}function u(t){return $(t)?K(e,c,"whitespace")(t):c(t)}function c(o){return null===o||G(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},eZ={[-2]:ex,[-1]:ex,32:ex},eY={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||W(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||G(r)?(e.exit("atxHeading"),t(r)):$(r)?K(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||W(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},L(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:ef,45:[ek,ef],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,a,l;let s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,p):63===a?(e.consume(a),r=3,s.interrupt?t:N):F(a)?(e.consume(a),o=String.fromCharCode(a),h):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,f):F(i)?(e.consume(i),r=4,s.interrupt?t:N):n(i)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:N):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?s.interrupt?t:C:f:n(r)}function p(t){return F(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}
50function h(a){if(null===a||47===a||62===a||W(a)){let l=47===a,u=o.toLowerCase();return!l&&!i&&eA.includes(u)?(r=1,s.interrupt?t(a):C(a)):eS.includes(o.toLowerCase())?(r=6,l)?(e.consume(a),m):s.interrupt?t(a):C(a):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):i?function t(n){return $(n)?(e.consume(n),t):_(n)}(a):g(a))}return 45===a||B(a)?(e.consume(a),o+=String.fromCharCode(a),h):n(a)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),_):58===t||95===t||F(t)?(e.consume(t),y):$(t)?(e.consume(t),g):_(t)}function y(t){return 45===t||46===t||58===t||95===t||B(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):$(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,E):$(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||W(n)?v(n):(e.consume(n),t)}(t)}function E(t){return t===l?(e.consume(t),l=null,T):null===t||G(t)?n(t):(e.consume(t),E)}function T(e){return 47===e||62===e||$(e)?g(e):n(e)}function _(t){return 62===t?(e.consume(t),x):n(t)}function x(t){return null===t||G(t)?C(t):$(t)?(e.consume(t),x):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),w):60===t&&1===r?(e.consume(t),O):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),N):93===t&&5===r?(e.consume(t),I):G(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ew,L,k)(t)):null===t||G(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),C)}function k(t){return e.check(eO,S,L)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||G(t)?k(t):(e.enter("htmlFlowData"),C(t))}function w(t){return 45===t?(e.consume(t),N):C(t)}function O(t){return 47===t?(e.consume(t),o="",P):C(t)}function P(t){if(62===t){let n=o.toLowerCase();return eA.includes(n)?(e.consume(t),R):C(t)}return F(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):C(t)}function I(t){return 93===t?(e.consume(t),N):C(t)}function N(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),N):C(t)}function R(t){return null===t||G(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),R)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:ek,95:ef,96:eI,126:eI},eq={38:eR,92:eL},eK={[-5]:eD,[-4]:eD,[-3]:eD,33:eU,38:eR,42:eV,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return F(t)?(e.consume(t),o):l(t)}function o(t){return 43===t||45===t||46===t||B(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||B(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||U(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),s):H(t)?(e.consume(t),l):n(t)}function s(i){return B(i)?function i(o){return 46===o?(e.consume(o),r=0,s):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||B(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),E):63===t?(e.consume(t),v):F(t)?(e.consume(t),_):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,p):F(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):G(t)?(o=c,P(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?O(e):45===e?d(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):G(t)?(o=h,P(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?O(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?O(t):G(t)?(o=y,P(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):G(t)?(o=v,P(t)):(e.consume(t),v)}function b(e){return 62===e?O(e):v(e)}function E(t){return F(t)?(e.consume(t),T):n(t)}function T(t){return 45===t||B(t)?(e.consume(t),T):function t(n){return G(n)?(o=t,P(n)):$(n)?(e.consume(n),t):O(n)}(t)}function _(t){return 45===t||B(t)?(e.consume(t),_):47===t||62===t||W(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),O):58===t||95===t||F(t)?(e.consume(t),C):G(t)?(o=x,P(t)):$(t)?(e.consume(t),x):O(t)}function C(t){return 45===t||46===t||58===t||95===t||B(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),k):G(n)?(o=t,P(n)):$(n)?(e.consume(n),t):x(n)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):G(t)?(o=k,P(t)):$(t)?(e.consume(t),k):(e.consume(t),A)}function S(t){return t===r?(e.consume(t),r=void 0,w):null===t?n(t):G(t)?(o=S,P(t)):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||W(t)?x(t):(e.consume(t),A)}function w(e){return 47===e||62===e||W(e)?x(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function P(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return $(t)?K(e,N,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),o(t)}}}],91:eG,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return G(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eL],93:eM,95:eV,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;
50return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),a):96===s?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",l(a))}(s)):G(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||G(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},eX={null:[eV,eo]},eJ={null:[42,95]},eQ={null:[]},e0=/[\0\t\n\r]/g;function e1(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}let e5=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e2(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return e1(n.slice(t?2:1),t?16:10)}return(0,eN.T)(n)||e}let e3={}.hasOwnProperty,e9=function(e,t,n){let i,o,l,s;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(E),autolinkProtocol:f,autolinkEmail:f,atxHeading:o(y),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:o(g),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(g,l),codeText:o(function(){return{type:"inlineCode",value:""}},l),codeTextData:f,data:f,codeFlowValue:f,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(v),hardBreakTrailing:o(v),htmlFlow:o(b,l),htmlFlowData:f,htmlText:o(b,l),htmlTextData:f,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:o(E),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(n.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0}},listOrdered:o(T,function(){n.expectingFirstListItemValue=!0}),listUnordered:o(T),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(y),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:u(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:u(),autolinkEmail:function(e){p.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:u(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t;let r=this.sliceSerialize(e),i=n.characterReferenceType;if(i)t=e1(r,"characterReferenceMarkerNumeric"===i?10:16),n.characterReferenceType=void 0;else{let e=(0,eN.T)(r);t=e}let o=this.stack.pop();o.value+=t,o.position.end=e7(e.end)},codeFenced:u(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:p,codeIndented:u(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:u(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:p,data:p,definition:u(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=eT(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:u(),hardBreakEscape:u(h),hardBreakTrailing:u(h),htmlFlow:u(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:p,htmlText:u(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:p,image:u(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(n.inReference=!0,"link"===r.type){let t=e.children;r.children=t}else r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e5,e2),n.identifier=eT(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(n.atHardBreak){let t=r.children[r.children.length-1];t.position.end=e7(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(f.call(this,e),p.call(this,e))},link:u(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=eT(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){n.inReference=void 0},setextHeading:u(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:u(),thematicBreak:u()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(e3.call(t,n)){if("canContainEols"===n){let r=t[n];r&&e[n].push(...r)}else if("transforms"===n){let r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let n={type:"root",children:[]},o={stack:[n],tokenStack:[],config:t,enter:s,exit:c,buffer:l,resume:d,setData:r,getData:i},a=[],u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type){if("enter"===e[u][0])a.push(u);else{let t=a.pop();u=function(e,t,n){let r,i,o,a,l=t-1,s=-1,u=!1;for(;++l<=n;){let t=e[l];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?s++:s--,a=void 0):"lineEndingBlank"===t[1].type?"enter"
50===t[0]&&(!r||a||s||o||(o=l),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=l;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",r,t[2]]),l++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(l,0,["enter",r,t[2]]),l++,n++,o=void 0,a=!0)}}return e[t][1]._spread=u,n}(e,t,u)}}for(u=-1;++u<e.length;){let n=t[e[u][0]];e3.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1],t=e[1]||e6;t.call(o,void 0,e[0])}for(n.position={start:e7(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e7(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)n=t.transforms[u](n)||n;return n};function r(e,t){n[e]=t}function i(e){return n[e]}function o(e,t){return function(n){s.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){let r=this.stack[this.stack.length-1];return r.children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:e7(t.start)},e}function u(e){return function(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r){if(r[0].type!==e.type){if(t)t.call(this,e,r[0]);else{let t=r[1]||e6;t.call(this,e,r[0])}}}else throw Error("Cannot close `"+e.type+"` ("+a({start:e.start,end:e.end})+"): itâs not open");return n.position.end=e7(e.end),n}function d(){return function(e,t){let n="boolean"!=typeof I.includeImageAlt||I.includeImageAlt,r="boolean"!=typeof I.includeHtml||I.includeHtml;return N(e,n,r)}(this.stack.pop())}function f(e){let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:e7(e.start)},t.children.push(n)),this.stack.push(n)}function p(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=e7(e.end)}function h(){n.atHardBreak=!0}function m(e){var t;t=e.type,n.characterReferenceType=t}function g(){return{type:"code",lang:null,meta:null,value:""}}function y(){return{type:"heading",depth:void 0,children:[]}}function v(){return{type:"break"}}function b(){return{type:"html",value:""}}function E(){return{type:"link",title:null,url:"",children:[]}}function T(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!et(e););return e}((function(e){let t=function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r;let i=M.call(e,n)?e[n]:void 0,o=i||(e[n]={}),a=t[n];if(a)for(r in a){M.call(o,r)||(o[r]=[]);let e=a[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);L(e,0,0,r)}(o[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:i(X),document:i(J),flow:i(ei),string:i(ea),text:i(el)};return n;function i(e){return function(t){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],a=[],l=[],s={consume:function(e){G(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:h(function(e,t){m(e,t.from)}),check:h(p),interrupt:h(p,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o;let a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(d(e),t)}
50,now:f,defineSkip:function(e){i[e.line]=e.column,g()},write:function(e){return(a=D(a,e),function(){let e;for(;r._index<a.length;){var t;let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)t=n.charCodeAt(r._bufferIndex),c=c(t);else c=c(n)}}(),null!==a[a.length-1])?[]:(m(t,0),u.events=ed(o,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function p(e,t){t.restore()}function h(e,t){return function(n,i,o){let a,c,d,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,i=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return h(i)(e)};function h(e){return(a=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(p=function(){let e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(l);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,l=o,g()},from:i}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,y,v)(n)}}function y(t){return e(d,p),i}function v(e){return(p.restore(),++c<a.length)?m(a[c]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&L(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(n,e,t)}}})(n).document().write((o=1,l="",s=!0,function(e,t,n){let r,a,u,c,d;let f=[];for(e=l+e.toString(t),u=0,l="",s&&(65279===e.charCodeAt(0)&&u++,s=void 0);u<e.length;){if(e0.lastIndex=u,c=(r=e0.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){l=e.slice(u);break}if(10===d&&u===c&&i)f.push(-3),i=void 0;else switch(i&&(f.push(-5),i=void 0),u<c&&(f.push(e.slice(u,c)),o+=c-u),d){case 0:f.push(65533),o++;break;case 9:for(a=4*Math.ceil(o/4),f.push(-2);o++<a;)f.push(-1);break;case 10:f.push(-4),o=1;break;default:i=!0,o=1}u=c+1}return n&&(i&&f.push(-5),l&&f.push(l),f.push(null)),f})(e,t,!0))))};function e7(e){return{line:e.line,column:e.column,offset:e.offset}}function e6(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+a({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+a({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+a({start:t.start,end:t.end})+") is still open")}function e8(e){Object.assign(this,{Parser:t=>{let n=this.data("settings");return e9(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function e4(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(37===o&&B(e.charCodeAt(n+1))&&B(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}var te=n(37462);let tt=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),(0,te.S4)(e,t,function(e,t){let r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},tn=ti("start"),tr=ti("end");function ti(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let to={}.hasOwnProperty;function ta(e){return String(e||"").toUpperCase()}function tl(e,t){let n;let r=String(t.identifier).toUpperCase(),i=e4(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);let a=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function ts(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function tu(e){let t=e.spread;return null==t?e.children.length>1:t}
50function tc(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let td={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:tl,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},tl(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return ts(e,t);let r={src:e4(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:e4(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return ts(e,t);let r={href:e4(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:e4(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tu(n[r])}return t}(n):tu(t),o={},a=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let e=r[l];(i||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}let s=r[r.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=tn(t.children[1]),a=tr(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{}
50,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=r?r.indexOf(t):1,o=0===i?"th":"td",a=n&&"table"===n.type?n.align:void 0,l=a?a.length:t.children.length,s=-1,u=[];for(;++s<l;){let n=t.children[s],r={},i=a?a[s]:void 0;i&&(r.align=i);let l={type:"element",tagName:o,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(t,l)),u.push(l)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(tc(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(tc(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tf,yaml:tf,definition:tf,footnoteDefinition:tf};function tf(){return null}let tp={}.hasOwnProperty;function th(e,t){e.position&&(t.position={start:tn(e),end:tr(e)})}function tm(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tg(e,t,n){let r=t&&t.type;if(!r)throw Error("Expected node, got `"+t+"`");return tp.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:ty(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){let n=t.data||{},r="value"in t&&!(tp.call(n,"hProperties")||tp.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:ty(e,t)};return e.patch(t,r),e.applyData(t,r)}(e,t)}function ty(e,t){let n=[];if("children"in t){let r=t.children,i=-1;for(;++i<r.length;){let o=tg(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){let e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function tv(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tb(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...td,...n.handlers},a.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return tt(e,"definition",e=>{let n=ta(e.identifier);n&&!to.call(t,n)&&(t[n]=e)}),function(e){let n=ta(e);return n&&to.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=th,a.applyData=tm,a.one=function(e,t){return tg(a,e,t)},a.all=function(e){return ty(a,e)},a.wrap=tv,a.augment=o,tt(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();tp.call(i,t)||(i[t]=e)}),a;function o(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column||(t.position={start:tn(n),end:tr(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){let t=[],n=-1;for(;++n<e.footnoteOrder.length;){let r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;let i=e.all(r),o=String(r.identifier).toUpperCase(),a=e4(o.toLowerCase()),l=0,s=[];for(;++l<=e.footnoteCounts[o];){let t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"â©"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}let u=i[i.length-1];if(u&&"element"===u.type&&"p"===u.tagName){let e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);let c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a}
50,children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var tE=function(e,t){var n;return e&&"run"in e?(n,r,i)=>{e.run(tb(n,t),r,e=>{i(e)})}:(n=e||t,e=>tb(e,n))},tT=n(74275),t_=n(90764);function tx(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{tt(t,"element",(t,n,r)=>{let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tC=n(51991),tk=n(34678);let tS={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tA=n(96538),tw=n(21223),tO=n(48699);let tP=["http","https","mailto","tel"];function tI(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<tP.length;){let e=tP[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return -1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}let tN={}.hasOwnProperty,tR=new Set(["table","thead","tbody","tfoot","tr"]);function tL(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function tD(e,t){return t.toUpperCase()}let tM={}.hasOwnProperty,tF={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function tB(e){for(let t in tF)if(tM.call(tF,t)&&tM.call(e,t)){let e=tF[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete tF[t]}let t=_().use(e8).use(e.remarkPlugins||[]).use(tE,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(tx,e),n=new m;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},function e(t,n){let r;let o=[],a=-1;for(;++a<n.children.length;)"element"===(r=n.children[a]).type?o.push(function(t,n,r,o){let a;let l=t.options,s=void 0===l.transformLinkUri?tI:l.transformLinkUri,u=t.schema,c=n.tagName,d={},f=u;if("html"===u.space&&"svg"===c&&(f=t_.YP,t.schema=f),n.properties)for(a in n.properties)tN.call(n.properties,a)&&function(e,t,n,r){let i=(0,tk.s)(r.schema,t),o=n;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?(0,tw.P)(o):(0,tA.P)(o)),"style"===i.property&&"string"==typeof o&&(o=function(e){let t={};try{tO(e,function(e,n){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,tD)]=n})}catch{}return t}(o)),i.space&&i.property?e[tN.call(tS,i.property)?tS[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}(d,a,n.properties[a],t);("ol"===c||"ul"===c)&&t.listDepth++;let p=e(t,n);("ol"===c||"ul"===c)&&t.listDepth--,t.schema=u;let h=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=l.components&&tN.call(l.components,c)?l.components[c]:c,g="string"==typeof m||m===i.Fragment;if(!tC.isValidElementType(m))throw TypeError(`Component for name \`${c}\` not defined or is not renderable`);if(d.key=r,"a"===c&&l.linkTarget&&(d.target="function"==typeof l.linkTarget?l.linkTarget(String(d.href||""),n.children,"string"==typeof d.title?d.title:null):l.linkTarget),"a"===c&&s&&(d.href=s(String(d.href||""),n.children,"string"==typeof d.title?d.title:null)),g||"code"!==c||"element"!==o.type||"pre"===o.tagName||(d.inline=!0),g||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(d.level=Number.parseInt(c.charAt(1),10)),"img"===c&&l.transformImageUri&&(d.src=l.transformImageUri(String(d.src||""),String(d.alt||""),"string"==typeof d.title?d.title:null)),!g&&"li"===c&&"element"===o.type){let e=function(e){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(n);d.checked=e&&e.properties?!!e.properties.checked:null,d.index=tL(o,n),d.ordered="ol"===o.tagName}return g||"ol"!==c&&"ul"!==c||(d.ordered="ol"===c,d.depth=t.listDepth),"td"!==c&&"th"!==c||(d.align&&(d.style||(d.style={}),d.style.textAlign=d.align,delete d.align),g||(d.isHeader="th"===c)),g||"tr"!==c||"element"!==o.type||(d.isHeader="thead"===o.tagName),l.sourcePos&&(d["data-sourcepos"]=[h.start.line,":",h.start.column,"-",h.end.line,":",h.end.column].map(String).join("")),!g&&l.rawSourcePos&&(d.sourcePosition=n.position),!g&&l.includeElementIndex&&(d.index=tL(o,n),d.siblingCount=tL(o)),g||(d.node=n),p.length>0?i.createElement(m,d,p):i.createElement(m,d)}(t,r,a,n)):"text"===r.type?"element"===n.type&&tR.has(n.tagName)&&function(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}(r)||o.push(r.value):"raw"!==r.type||t.options.skipHtml||o.push(r.value);return o}({options:e,schema:t_.dy,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}tB.propTypes={children:tT.string,className:tT.string,allowElement:tT.func,allowedElements:tT.arrayOf(tT.string),disallowedElements:tT.arrayOf(tT.string),unwrapDisallowed:tT.bool,remarkPlugins:tT.arrayOf(tT.oneOfType([tT.object,tT.func,tT.arrayOf(tT.oneOfType([tT.bool,tT.string,tT.object,tT.func,tT.arrayOf(tT.any)]))])),rehypePlugins:tT.arrayOf(tT.oneOfType([tT.object,tT.func,tT.arrayOf(tT.oneOfType([tT.bool,tT.string,tT.object,tT.func,tT.arrayOf(tT.any)]))])),sourcePos:tT.bool,rawSourcePos:tT.bool,ski
50pHtml:tT.bool,includeElementIndex:tT.bool,transformLinkUri:tT.oneOfType([tT.func,tT.bool]),linkTarget:tT.oneOfType([tT.func,tT.string]),transformImageUri:tT.func,components:tT.object}},57683:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(2265);function i(e){let[,t]=e;return"string"==typeof t&&t.length>0}function o([e,t]){return Array.isArray(t)?[e,t.join(",")]:[e,t]}function a({bcc:e=[],body:t="",cc:n=[],children:a,email:l,subject:s="",...u}){let[c,d]=(0,r.useState)(!1),f=new URL(`mailto:${l}`);function p(){d(!0)}f.search=Object.entries({bcc:e,body:t,cc:n,subject:s}).map(o).filter(i).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join("&");let h=a||l,m=a||function(e){let[t,n]=e.split("@");return r.createElement(r.Fragment,null,r.createElement("style",{dangerouslySetInnerHTML:{__html:` 51 a>span.roe::after { 52 content: "@"; 53 } 54 `}}),t,r.createElement("span",{className:"roe"}),n)}(l);return r.createElement("a",{href:c?f.href:"#",onFocus:p,onMouseOver:p,...u},c?h:m)}},89207:function(e,t,n){"use strict";n.d(t,{Z:function(){return rv}});var r,i,o,a,l,s,u,c,d,f,p,h,m,g,y,v,b,E,T,_,x,C,k,S,A,w,O,P,I,N,R,L={};n.r(L),n.d(L,{boolean:function(){return J},booleanish:function(){return Q},commaOrSpaceSeparated:function(){return ei},commaSeparated:function(){return er},number:function(){return et},overloadedBoolean:function(){return ee},spaceSeparated:function(){return en}});var D={};n.r(D),n.d(D,{boolean:function(){return eM},booleanish:function(){return eF},commaOrSpaceSeparated:function(){return eV},commaSeparated:function(){return ej},number:function(){return eH},overloadedBoolean:function(){return eB},spaceSeparated:function(){return eU}});let M="object"==typeof self?self:globalThis,F=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[o,a]=t[i];switch(o){case 0:case -1:return n(a,i);case 1:{let e=n([],i);for(let t of a)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),i);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of a)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of a)e.add(r(t));return e}case 7:{let{name:e,message:t}=a;return n(new M[e](t),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new M[o](a),i)};return r},B=e=>F(new Map,e)(0),{toString:H}={},{keys:U}=Object,j=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=H.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},V=([e,t])=>0===e&&("function"===t||"symbol"===t),z=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,l]=j(r);switch(a){case 0:{let t=r;switch(l){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+l);t=null;break;case"undefined":return i([-1],r)}return i([a,t],r)}case 1:{if(l){let e=r;return"DataView"===l?e=new Uint8Array(r.buffer):"ArrayBuffer"===l&&(e=new Uint8Array(r)),i([l,[...e]],r)}let e=[],t=i([a,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(l)switch(l){case"BigInt":return i([l,r.toString()],r);case"Boolean":case"Number":case"String":return i([l,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],s=i([a,n],r);for(let t of U(r))(e||!V(j(r[t])))&&n.push([o(t),o(r[t])]);return s}case 3:return i([a,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([a,{source:e,flags:t}],r)}case 5:{let t=[],n=i([a,t],r);for(let[n,i]of r)(e||!(V(j(n))||V(j(i))))&&t.push([o(n),o(i)]);return n}case 6:{let t=[],n=i([a,t],r);for(let n of r)(e||!V(j(n)))&&t.push(o(n));return n}}let{message:s}=r;return i([a,{name:l,message:s}],r)};return o},G=(e,{json:t,lossy:n}={})=>{let r=[];return z(!(t||n),!!t,new Map,r)(e),r};
54var W="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?B(G(e,t)):structuredClone(e):(e,t)=>B(G(e,t)),$=n(4835);class Z{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function Y(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Z(n,r,t)}function q(e){return e.toLowerCase()}Z.prototype.normal={},Z.prototype.property={},Z.prototype.space=void 0;class K{constructor(e,t){this.attribute=t,this.property=e}}K.prototype.attribute="",K.prototype.booleanish=!1,K.prototype.boolean=!1,K.prototype.commaOrSpaceSeparated=!1,K.prototype.commaSeparated=!1,K.prototype.defined=!1,K.prototype.mustUseProperty=!1,K.prototype.number=!1,K.prototype.overloadedBoolean=!1,K.prototype.property="",K.prototype.spaceSeparated=!1,K.prototype.space=void 0;let X=0,J=eo(),Q=eo(),ee=eo(),et=eo(),en=eo(),er=eo(),ei=eo();function eo(){return 2**++X}let ea=Object.keys(L);class el extends K{constructor(e,t,n,r){var i,o;let a=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++a<ea.length;){let e=ea[a];i=ea[a],(o=(n&L[e])===L[e])&&(this[i]=o)}}}function es(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new el(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[q(r)]=r,n[q(o.attribute)]=r}return new Z(t,n,e.space)}el.prototype.defined=!0;let eu=es({properties:{ariaActiveDescendant:null,ariaAtomic:Q,ariaAutoComplete:null,ariaBusy:Q,ariaChecked:Q,ariaColCount:et,ariaColIndex:et,ariaColSpan:et,ariaControls:en,ariaCurrent:null,ariaDescribedBy:en,ariaDetails:null,ariaDisabled:Q,ariaDropEffect:en,ariaErrorMessage:null,ariaExpanded:Q,ariaFlowTo:en,ariaGrabbed:Q,ariaHasPopup:null,ariaHidden:Q,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:en,ariaLevel:et,ariaLive:null,ariaModal:Q,ariaMultiLine:Q,ariaMultiSelectable:Q,ariaOrientation:null,ariaOwns:en,ariaPlaceholder:null,ariaPosInSet:et,ariaPressed:Q,ariaReadOnly:Q,ariaRelevant:null,ariaRequired:Q,ariaRoleDescription:en,ariaRowCount:et,ariaRowIndex:et,ariaRowSpan:et,ariaSelected:Q,ariaSetSize:et,ariaSort:null,ariaValueMax:et,ariaValueMin:et,ariaValueNow:et,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function ec(e,t){return t in e?e[t]:t}function ed(e,t){return ec(e,t.toLowerCase())}let ef=es({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:er,acceptCharset:en,accessKey:en,action:null,allow:null,allowFullScreen:J,allowPaymentRequest:J,allowUserMedia:J,alt:null,as:null,async:J,autoCapitalize:null,autoComplete:en,autoFocus:J,autoPlay:J,blocking:en,capture:null,charSet:null,checked:J,cite:null,className:en,cols:et,colSpan:null,content:null,contentEditable:Q,controls:J,controlsList:en,coords:et|er,crossOrigin:null,data:null,dateTime:null,decoding:null,default:J,defer:J,dir:null,dirName:null,disabled:J,download:ee,draggable:Q,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:J,formTarget:null,headers:en,height:et,hidden:ee,high:et,href:null,hrefLang:null,htmlFor:en,httpEquiv:en,id:null,imageSizes:null,imageSrcSet:null,inert:J,inputMode:null,integrity:null,is:null,isMap:J,itemId:null,itemProp:en,itemRef:en,itemScope:J,itemType:en,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:J,low:et,manifest:null,max:null,maxLength:et,media:null,method:null,min:null,minLength:et,multiple:J,muted:J,name:null,nonce:null,noModule:J,noValidate:J,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:J,optimum:et,pattern:null,ping:en,placeholder:null,playsInl
54ine:J,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:J,referrerPolicy:null,rel:en,required:J,reversed:J,rows:et,rowSpan:et,sandbox:en,scope:null,scoped:J,seamless:J,selected:J,shadowRootClonable:J,shadowRootDelegatesFocus:J,shadowRootMode:null,shape:null,size:et,sizes:null,slot:null,span:et,spellCheck:Q,src:null,srcDoc:null,srcLang:null,srcSet:null,start:et,step:null,style:null,tabIndex:et,target:null,title:null,translate:null,type:null,typeMustMatch:J,useMap:null,value:Q,width:et,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:en,axis:null,background:null,bgColor:null,border:et,borderColor:null,bottomMargin:et,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:J,declare:J,event:null,face:null,frame:null,frameBorder:null,hSpace:et,leftMargin:et,link:null,longDesc:null,lowSrc:null,marginHeight:et,marginWidth:et,noResize:J,noHref:J,noShade:J,noWrap:J,object:null,profile:null,prompt:null,rev:null,rightMargin:et,rules:null,scheme:null,scrolling:Q,standby:null,summary:null,text:null,topMargin:et,valueType:null,version:null,vAlign:null,vLink:null,vSpace:et,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:J,disableRemotePlayback:J,prefix:null,property:null,results:et,security:null,unselectable:null},space:"html",transform:ed}),ep=es({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
54-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ei,accentHeight:et,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:et,amplitude:et,arabicForm:null,ascent:et,attributeName:null,attributeType:null,azimuth:et,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:et,by:null,calcMode:null,capHeight:et,className:en,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:et,diffuseConstant:et,direction:null,display:null,dur:null,divisor:et,dominantBaseline:null,download:J,dx:null,dy:null,edgeMode:null,editable:null,elevation:et,enableBackground:null,end:null,event:null,exponent:et,externalResourcesRequired:null,fill:null,fillOpacity:et,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:er,g2:er,glyphName:er,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:et,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:et,horizOriginX:et,horizOriginY:et,id:null,ideographic:et,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:et,k:et,k1:et,k2:et,k3:et,k4:et,kernelMatrix:ei,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:et,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:et,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
54Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:et,overlineThickness:et,paintOrder:null,panose1:null,path:null,pathLength:et,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:en,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:et,pointsAtY:et,pointsAtZ:et,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ei,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ei,rev:ei,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ei,requiredFeatures:ei,requiredFonts:ei,requiredFormats:ei,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:et,specularExponent:et,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:et,strikethroughThickness:et,string:null,stroke:null,strokeDashArray:ei,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:et,strokeOpacity:et,strokeWidth:null,style:null,surfaceScale:et,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ei,tabIndex:et,tableValues:null,target:null,targetX:et,targetY:et,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ei,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:et,underlineThickness:et,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:et,values:null,vAlphabetic:et,vMathematical:et,vectorEffect:null,vHanging:et,vIdeographic:et,version:null,vertAdvY:et,vertOriginX:et,vertOriginY:et,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:et,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ec}),eh=es({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),em=es({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ed}),eg=es({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ey=Y([eu,ef,eh,em,eg],"html"),ev=Y([eu,ep,eh,em,eg],"svg");var eb=n(21223);let eE=/[#.]/g,eT=/[A-Z]/g,e_=/-[a-z]/g,ex=/^data[-\w.:]+$/i;function eC(e){return"-"+e.toLowerCase()}function ek(e){return e.charAt(1).toUpperCase()}var eS=n(96538);function eA(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i,...o){let a;if(null==n)a={type:"root",children:[]},o.unshift(i);else{a=function(e,t){let n,r;let i=e||"",o={},a=0;for(;a<i.length;){eE.lastIndex=a;let e=eE.exec(i),t=i.slice(a,e?e.index:i.length);t&&(n?"#"===n?o.id=t:Array.isArray(o.className)?o.className.push(t):o.className=[t]:r=t,a+=t.length),e&&(n=e[0],a++)}return{type:"element",tagName:r||t||"div",properties:o,children:[]}}(n,t);let l=a.tagName.toLowerCase(),s=r?r.get(l):void 0;if(a.tagName=s||l,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))o.unshift(i);else for(let[t,n]of Object.entries(i))!function(e,t,n,r){let i;let o=function(e,t){let n=q(t),r=t,i=K;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&ex.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(e_,ek);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!e_.test(e)){let n=e.replace(eT,eC);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=el}return new i(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?(0,eS.Q)(r):o.commaSeparated?(0,eb.Q)(r):o.commaOrSpaceSeparated?(0,eS.Q)((0,eb.Q)(r).join(" ")):ew(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){let e=[];for(let t of i)e.push(ew(o,o.property,t));i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}(e,a.properties,t,n)}for(let e of o)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}
54function ew(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||q(n)===q(t)))return!0}return n}let eO=eA(ey,"div"),eP=eA(ev,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);class eI{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function eN(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new eI(n,r,t)}function eR(e){return e.toLowerCase()}eI.prototype.normal={},eI.prototype.property={},eI.prototype.space=void 0;class eL{constructor(e,t){this.attribute=t,this.property=e}}eL.prototype.attribute="",eL.prototype.booleanish=!1,eL.prototype.boolean=!1,eL.prototype.commaOrSpaceSeparated=!1,eL.prototype.commaSeparated=!1,eL.prototype.defined=!1,eL.prototype.mustUseProperty=!1,eL.prototype.number=!1,eL.prototype.overloadedBoolean=!1,eL.prototype.property="",eL.prototype.spaceSeparated=!1,eL.prototype.space=void 0;let eD=0,eM=ez(),eF=ez(),eB=ez(),eH=ez(),eU=ez(),ej=ez(),eV=ez();function ez(){return 2**++eD}let eG=Object.keys(D);class eW extends eL{constructor(e,t,n,r){var i,o;let a=-1;if(super(e,t),r&&(this.space=r),"number"==typeof n)for(;++a<eG.length;){let e=eG[a];i=eG[a],(o=(n&D[e])===D[e])&&(this[i]=o)}}}function e$(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new eW(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[eR(r)]=r,n[eR(o.attribute)]=r}return new eI(t,n,e.space)}eW.prototype.defined=!0;let eZ=e$({properties:{ariaActiveDescendant:null,ariaAtomic:eF,ariaAutoComplete:null,ariaBusy:eF,ariaChecked:eF,ariaColCount:eH,ariaColIndex:eH,ariaColSpan:eH,ariaControls:eU,ariaCurrent:null,ariaDescribedBy:eU,ariaDetails:null,ariaDisabled:eF,ariaDropEffect:eU,ariaErrorMessage:null,ariaExpanded:eF,ariaFlowTo:eU,ariaGrabbed:eF,ariaHasPopup:null,ariaHidden:eF,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:eU,ariaLevel:eH,ariaLive:null,ariaModal:eF,ariaMultiLine:eF,ariaMultiSelectable:eF,ariaOrientation:null,ariaOwns:eU,ariaPlaceholder:null,ariaPosInSet:eH,ariaPressed:eF,ariaReadOnly:eF,ariaRelevant:null,ariaRequired:eF,ariaRoleDescription:eU,ariaRowCount:eH,ariaRowIndex:eH,ariaRowSpan:eH,ariaSelected:eF,ariaSetSize:eH,ariaSort:null,ariaValueMax:eH,ariaValueMin:eH,ariaValueNow:eH,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function eY(e,t){return t in e?e[t]:t}function eq(e,t){return eY(e,t.toLowerCase())}let eK=e$({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ej,acceptCharset:eU,accessKey:eU,action:null,allow:null,allowFullScreen:eM,allowPaymentRequest:eM,allowUserMedia:eM,alt:null,as:null,async:eM,autoCapitalize:null,autoComplete:eU,autoFocus:eM,autoPlay:eM,blocking:eU,capture:null,charSet:null,checked:eM,cite:null,className:eU,cols:eH,colSpan:null,content:null,contentEditable:eF,controls:eM,controlsList:eU,coords:eH|ej,crossOrigin:null,data:null,dateTime:null,decoding:null,default:eM,defer:eM,dir:null,dirName:null,disabled:eM,download:eB,draggable:eF,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:eM,formTarget:null,headers:eU,height:eH,hidden:eB,high:eH,href:null,hrefLang:null,htmlFor:eU,httpEquiv:eU,id:null,imageSizes:null,imageSrcSet:null,inert:eM,inputMode:null,integrity:null,is:null,isMap:eM,itemId:null,itemProp:eU,itemRef:eU,itemScope:eM,itemType:eU,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:eM,low:eH,manifest:null,max:null,maxLength:eH,media:null,method:null,min:null,minLength:eH,multiple:eM,muted:eM,name:null,nonce:null,noModule:eM,noValidate:eM,onAbort:null,onAfterPrint:null,onAuxCl
54ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:eM,optimum:eH,pattern:null,ping:eU,placeholder:null,playsInline:eM,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:eM,referrerPolicy:null,rel:eU,required:eM,reversed:eM,rows:eH,rowSpan:eH,sandbox:eU,scope:null,scoped:eM,seamless:eM,selected:eM,shadowRootClonable:eM,shadowRootDelegatesFocus:eM,shadowRootMode:null,shape:null,size:eH,sizes:null,slot:null,span:eH,spellCheck:eF,src:null,srcDoc:null,srcLang:null,srcSet:null,start:eH,step:null,style:null,tabIndex:eH,target:null,title:null,translate:null,type:null,typeMustMatch:eM,useMap:null,value:eF,width:eH,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:eU,axis:null,background:null,bgColor:null,border:eH,borderColor:null,bottomMargin:eH,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:eM,declare:eM,event:null,face:null,frame:null,frameBorder:null,hSpace:eH,leftMargin:eH,link:null,longDesc:null,lowSrc:null,marginHeight:eH,marginWidth:eH,noResize:eM,noHref:eM,noShade:eM,noWrap:eM,object:null,profile:null,prompt:null,rev:null,rightMargin:eH,rules:null,scheme:null,scrolling:eF,standby:null,summary:null,text:null,topMargin:eH,valueType:null,version:null,vAlign:null,vLink:null,vSpace:eH,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:eM,disableRemotePlayback:eM,prefix:null,property:null,results:eH,security:null,unselectable:null},space:"html",transform:eq}),eX=e$({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
54-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:eV,accentHeight:eH,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:eH,amplitude:eH,arabicForm:null,ascent:eH,attributeName:null,attributeType:null,azimuth:eH,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:eH,by:null,calcMode:null,capHeight:eH,className:eU,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:eH,diffuseConstant:eH,direction:null,display:null,dur:null,divisor:eH,dominantBaseline:null,download:eM,dx:null,dy:null,edgeMode:null,editable:null,elevation:eH,enableBackground:null,end:null,event:null,exponent:eH,externalResourcesRequired:null,fill:null,fillOpacity:eH,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ej,g2:ej,glyphName:ej,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:eH,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:eH,horizOriginX:eH,horizOriginY:eH,id:null,ideographic:eH,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:eH,k:eH,k1:eH,k2:eH,k3:eH,k4:eH,kernelMatrix:eV,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:eH,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:eH,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
54Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:eH,overlineThickness:eH,paintOrder:null,panose1:null,path:null,pathLength:eH,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:eU,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:eH,pointsAtY:eH,pointsAtZ:eH,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:eV,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:eV,rev:eV,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:eV,requiredFeatures:eV,requiredFonts:eV,requiredFormats:eV,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:eH,specularExponent:eH,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:eH,strikethroughThickness:eH,string:null,stroke:null,strokeDashArray:eV,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:eH,strokeOpacity:eH,strokeWidth:null,style:null,surfaceScale:eH,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:eV,tabIndex:eH,tableValues:null,target:null,targetX:eH,targetY:eH,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:eV,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:eH,underlineThickness:eH,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:eH,values:null,vAlphabetic:eH,vMathematical:eH,vectorEffect:null,vHanging:eH,vIdeographic:eH,version:null,vertAdvY:eH,vertOriginX:eH,vertOriginY:eH,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:eH,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eY}),eJ=e$({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),eQ=e$({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:eq}),e0=e$({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),e1=eN([eZ,eK,eJ,eQ,e0],"html"),e5=eN([eZ,eX,eJ,eQ,e0],"svg"),e2=/[A-Z]/g,e3=/-[a-z]/g,e9=/^data[-\w.:]+$/i;function e7(e){return"-"+e.toLowerCase()}function e6(e){return e.charAt(1).toUpperCase()}function e8(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n<r?n:r}let e4={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},te={}.hasOwnProperty,tt=Object.prototype;function tn(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},ti(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:tr(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t=String(e.file),r=function(e){let t=String(e),n=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=e8(t,e),i=-1===r?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(void 0===i){let e=e8(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),i=r.toPoint(0),o=r.toPoint(t.length);(0,$.ok)(i,"expected `start`"),(0,$.ok)(o,"expected `end`"),n.position={start:i,end:o}}return n}case"#documentType":return ti(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},ti(e,t,n),n;
54default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===e4.svg?e5:e1;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;te.call(tt,n)||(i[n]=e.value)}let o="svg"===e.schema.space?eP:eO,a=o(t.tagName,i,tr(e,t.childNodes));if(ti(e,t,a),"template"===a.tagName){let n=t.sourceCodeLocation,r=n&&n.startTag&&to(n.startTag),i=n&&n.endTag&&to(n.endTag),o=tn(e,t.content);r&&i&&e.file&&(o.position={start:r.end,end:i.start}),a.content=o}return e.schema=n,a}(e,t)}}function tr(e,t){let n=-1,r=[];for(;++n<t.length;){let i=tn(e,t[n]);r.push(i)}return r}function ti(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,n){let r=to(n);if("element"===t.type){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r;let i={};if(n.attrs)for(r in n.attrs)te.call(n.attrs,r)&&(i[function(e,t){let n=eR(t),r=t,i=eL;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&e9.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(e3,e6);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!e3.test(e)){let n=e.replace(e2,e7);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=eW}return new i(r,t)}(e.schema,r).property]=to(n.attrs[r]));(0,$.ok)(n.startTag,"a start tag should exist");let o=to(n.startTag),a=n.endTag?to(n.endTag):void 0,l={opening:o};a&&(l.closing=a),l.properties=i,t.data={position:l}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function to(e){let t=ta({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=ta({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function ta(e){return e.line&&e.column?e:void 0}var tl=n(90764),ts=n(34678),tu=n(86945);let tc={},td={}.hasOwnProperty,tf=(0,tu.z)("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=tp(e.children,n,t),th(e,n),n},element:function(e,t){let n;let r=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(r=tl.YP);let i=[];if(e.properties){for(n in e.properties)if("children"!==n&&td.call(e.properties,n)){let t=function(e,t,n){let r=(0,ts.s)(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?(0,eb.P)(n):(0,eS.P)(n));let i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=e4[r.space]}return i}(r,n,e.properties[n]);t&&i.push(t)}}let o=r.space;(0,$.ok)(o);let a={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:e4[o],childNodes:[],parentNode:null};return a.childNodes=tp(e.children,a,r),th(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){let n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=tp(e.children,n,t),th(e,n),n}(e.content,r)),a},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return th(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return th(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return th(e,t),t}}});function tp(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let o=tf(e[r],n);o.parentNode=t,i.push(o)}return i}function th(e,t){let n=e.position;n&&n.start&&n.end&&((0,$.ok)("number"==typeof n.start.offset),(0,$.ok)("number"==typeof n.end.offset),t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}let tm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],tg=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(r=v=v||(v={}))[r.EOF=-1]="EOF",r[r.NULL=0]="NULL",r[r.TABULATION=9]="TABULATION",r[r.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",r[r.LINE_FEED=10]="LINE_FEED",r[r.FORM_FEED=12]="FORM_FEED",r[r.SPACE=32]="SPACE",r[r.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",r[r.QUOTATION_MARK=34]="QUOTATION_MARK",r[r.NUMBER_SIGN=35]="NUM
54BER_SIGN",r[r.AMPERSAND=38]="AMPERSAND",r[r.APOSTROPHE=39]="APOSTROPHE",r[r.HYPHEN_MINUS=45]="HYPHEN_MINUS",r[r.SOLIDUS=47]="SOLIDUS",r[r.DIGIT_0=48]="DIGIT_0",r[r.DIGIT_9=57]="DIGIT_9",r[r.SEMICOLON=59]="SEMICOLON",r[r.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",r[r.EQUALS_SIGN=61]="EQUALS_SIGN",r[r.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",r[r.QUESTION_MARK=63]="QUESTION_MARK",r[r.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",r[r.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",r[r.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",r[r.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",r[r.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",r[r.GRAVE_ACCENT=96]="GRAVE_ACCENT",r[r.LATIN_SMALL_A=97]="LATIN_SMALL_A",r[r.LATIN_SMALL_F=102]="LATIN_SMALL_F",r[r.LATIN_SMALL_X=120]="LATIN_SMALL_X",r[r.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",r[r.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER";let ty={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function tv(e){return e>=55296&&e<=57343}function tb(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function tE(e){return e>=64976&&e<=65007||tg.has(e)}(i=b=b||(b={})).controlCharacterInInputStream="control-character-in-input-stream",i.noncharacterInInputStream="noncharacter-in-input-stream",i.surrogateInInputStream="surrogate-in-input-stream",i.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",i.endTagWithAttributes="end-tag-with-attributes",i.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",i.unexpectedSolidusInTag="unexpected-solidus-in-tag",i.unexpectedNullCharacter="unexpected-null-character",i.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",i.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",i.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",i.missingEndTagName="missing-end-tag-name",i.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",i.unknownNamedCharacterReference="unknown-named-character-reference",i.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",i.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",i.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",i.eofBeforeTagName="eof-before-tag-name",i.eofInTag="eof-in-tag",i.missingAttributeValue="missing-attribute-value",i.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",i.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",i.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",i.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",i.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",i.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",i.missingDoctypePublicIdentifier="missing-doctype-public-identifier",i.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",i.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",i.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",i.cdataInHtmlContent="cdata-in-html-content",i.incorrectlyOpenedComment="incorrectly-opened-comment",i.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",i.eofInDoctype="eof-in-doctype",i.nestedComment="nested-comment",i.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",i.eofInComment="eof-in-comment",i.incorrectlyClosedComment="incorrectly-closed-comment",i.eofInCdata="eof-in-cdata",i.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",i.nullCharacterReference="null-character-reference",i.surrogateCharacterReference="surrogate-character-reference",i.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",i.controlCharacterReference="control-character-reference",i.noncharacterCharacterReference="noncharacter-character-reference",i.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",i.missingDoctypeName="missing-doctype-name",i.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",i.duplicateAttribute="duplicate-attribute",i.nonConformingDoctype="non-conforming-doctype",i.missingDoctype="missing-doctype",i.misplacedDoctype="misplaced-doctype",i.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",i.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",i.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",i.openElementsLeftAfterEof="open-elements-left-after-eof",i.abandonedHeadElementChild="abandoned-head-element-child",i.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",i.nestedNoscriptInHead="nested-noscript-in-head",i.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class tT{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(b.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++){let n=32|this.html.charCodeAt(this.pos+t);if(n!==e.charCodeAt(t))return!1}return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let n=this.html.charCodeAt(t);return n===v.CARRIAGE_RETURN?v.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let e=this.html.charCodeAt(this.pos);if(e===v.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,v.LINE_FEED;if(e===v.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,tv(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===v.LINE_FEED||e===v.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){tb(e)?this._err(b.controlCharacterInInputStream):tE(e)&&this._err(b.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function t_(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(o=E=E||(E={}))[o.CHARACTER=0]="CHARACTER",o[o.NULL_CHARACTER=1]="NULL_CHARACTER",o[o.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",o[o.START_TAG=3]="START_TAG",o[o.END_TAG=4]="END_TAG",o[o.COMMENT=5]="COMMENT",o[o.DOCTYPE=6]="DOCTYPE",o[o.EOF=7]="EOF",o[o.HIBERNATION=8]="HIBERNATION";var tx=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\x00\x00\x00\x00\x00\x00á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\ud835\udd04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\ud835\udd38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\ud835\udc9cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\ud835\udd05pf;ì\ud835\udd39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\ud835\udc9epÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\ud835\udd07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\x00\x00\x00ÍÍ\x00Ð
f;ì\ud835\udd3bÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\x00\x00Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\x00\x00ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\x00Ñ\x00ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\x00ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\ud835\udc9frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\ud835\udd08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\x00\x00ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\ud835\udd3csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\ud835\udd09lledÉÖ\x00\x00Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\x00Ö¿\x00\x00×f;ì\ud835\udd3dAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\ud835\udd0a;æpf;ì\ud835\udd3eeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\ud835\udca2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\x00Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\x00Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\ud835\udd40a;äcr;æilde;ä¨Ç«Þ\x00Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\ud835\udd0dpf;ì\ud835\udd41Ç£ß\x00ßr;ì\ud835\udca5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\ud835\udd0epf;ì\ud835\udd42cr;ì\ud835\udca6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\x00à£bleBracket;æ¦nÇà£\x00à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\ud835\udd0fÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\ud835\udd43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\ud835\udd10nusPlus;æpf;ì\ud835\udd44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\ud835\udd11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\ud835\udca9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\ud835\udd12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\ud835\udd46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\ud835\udcaaashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
54æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\ud835\udd13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\ud835\udcab;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\ud835\udd14pf;æcr;ì\ud835\udcacØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\x00á
bleBracket;æ§nÇá\x00áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\ud835\udd16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\ud835\udd4aɲá
\x00\x00á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\ud835\udcaear;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\ud835\udd17Äeiá»áDzá\x00áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\ud835\udd4bipleDot;æÄctáár;ì\ud835\udcafrok;ä
¦à«¡á·ááá¦\x00á¬á±\x00\x00\x00\x00\x00á¸á½á·á
\x00á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\x00áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\ud835\udd18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\ud835\udd4cÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\ud835\udcb0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\ud835\udd19pf;ì\ud835\udd4dcr;ì\ud835\udcb1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\ud835\udd1apf;ì\ud835\udd4ecr;ì\ud835\udcb2Èfiosáááár;ì\ud835\udd1b;äpf;ì\ud835\udd4fcr;ì\ud835\udcb3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\ud835\udd1cpf;ì\ud835\udd50cr;ì\ud835\udcb4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\x00áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\ud835\udcb5௡ááá\x00á°á¶á¿\x00\x00\x00\x00ááá«áá\x00ááá²á¹\x00á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\ud835\udd1eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\x00\x00áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\ud835\udd52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\ud835\udcb6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\ud835\udd1fgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\x00\x00á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\x00á ³Æ²á ¯\x00á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\ud835\udd53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\ud835\udcb7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\x00᧨á¨á¨á¨²\x00ᨷá©\x00\x00᪴\x00\x00á«\x00\x00ᬡᬮáá\x00᯽\x00á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\x00᧸s;æ©on;
54ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\ud835\udd20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\x00\x00áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\x00á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\x00\x00á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\x00á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\ud835\udd54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\ud835\udcb8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\x00\x00áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\x00\x00á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\ud835\udd21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\x00\x00á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\ud835\udd55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\x00\x00á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\ud835\udcb9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\ud835\udd22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\ud835\udd56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\x00\x00á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\x00á¾\x00ᾡᾧ\x00\x00á¿á¿\x00á¿\x00ῦῪâ\x00ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\x00\x00á¾½g;èï¬ig;èï¬;ì\ud835\udd23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\x00ῳf;ì\ud835\udd57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\x00âβâ¢â¥â§âªâ¬\x00â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\x00â¶;æ
;æ
Ê´â¾â\x00\x00âè»\xbeä¾;æ
;æ
5;æ
ƶâ\x00â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\ud835\udcbbà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\ud835\udd24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\ud835\udd58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\x00âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\ud835\udd25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\ud835\udd59bar;æÆcltâ¯â´â¸r;ì\ud835\udcbdas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\x00âª\x00â¸â
â\x00ââ³\x00\x00â¸â¢â§â¢â¿\x00ââªâ´cuteè»\xedäÆ;
54iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\ud835\udd26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\ud835\udd5aa;ä¹uestè»\xbfä¿Äciââr;ì\ud835\udcbenÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\x00â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\ud835\udd27ath;ä·pf;ì\ud835\udd5bÇ£â¬\x00â±r;ì\ud835\udcbfrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\ud835\udd28reen;ä¸cy;ä
cy;äpf;ì\ud835\udd5ccr;ì\ud835\udcc0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\x00âª\x00â±\x00\x00\x00\x00\x00âµâº\x00âââ\x00â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
54ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\ud835\udd29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\ud835\udd5dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\ud835\udcc1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\ud835\udd2ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\ud835\udd5eÄct⣸⣽r;ì\ud835\udcc2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\x00â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\x00â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\ud835\udd2bÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\ud835\udd5fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\ud835\udcc3ortÉâ¬
\x00\x00â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00â´\x00â´¸âµâµ ⵥ⵲â¶á¬\x00\x00â¶â¶«\x00â·â·\x00â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\ud835\udd2cͯ⵹\x00\x00âµ¼\x00â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\ud835\udd60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\x00â¹½\x00âºâº\x00⺢⺹\x00\x00â»àº\x00â¼\x00\x00⼫⾼\x00â¿rÈ;
54astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\x00\x00â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\ud835\udd2dÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\ud835\udd61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\ud835\udcc5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\ud835\udd2epf;ì\ud835\udd62rime;æcr;ì\ud835\udcc6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\ud835\udd2fÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\ud835\udd63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\ud835\udcc7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\x00ãºã¤\x00\x00ã¬ã°\x00ã¨ãããã±ãã±\x00ã\x00\x00ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\x00ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\ud835\udd30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\x00\x00ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\ud835\udd64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\ud835\udcc8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\x00ã¾ã\x00\x00\x00\x00\x00ãã\x00ãã¬\x00\x00\x00ãɲã\x00\x00ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\ud835\udd31Èeikoãããµã¼Ç²ã\x00ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
54aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\ud835\udd65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\ud835\udcc9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\x00ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\ud835\udd32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\x00\x00ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\ud835\udd66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\x00\x00ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\ud835\udccaÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\ud835\udd33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\ud835\udd67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\ud835\udccbÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\ud835\udd34pf;ì\ud835\udd68Ä;eá¹ã©¦at\xe8á¹cr;ì\ud835\udcccà«£áãª\x00ãª\x00ãªãª\x00\x00ãªãª¨ãª«ãª¯\x00\x00ã«ã«\x00ã«áátr\xe9ár;ì\ud835\udd35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\ud835\udd69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\ud835\udccdÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\ud835\udd36cy;äpf;ì\ud835\udd6acr;ì\ud835\udcceÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\ud835\udd37cy;ä¶grarr;æpf;ì\ud835\udd6bcr;ì\ud835\udccfÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),tC=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\x00\x00\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0)));let tk=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),tS=null!==(T=String.fromCodePoint)&&void 0!==T?T:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function tA(e){return e>=_.ZERO&&e<=_.NINE}(a=_||(_={}))[a.NUM=35]="NUM",a[a.SEMI=59]="SEMI",a[a.EQUALS=61]="EQUALS",a[a.ZERO=48]="ZERO",a[a.NINE=57]="NINE",a[a.LOWER_A=97]="LOWER_A",a[a.LOWER_F=102]="LOWER_F",a[a.LOWER_X=120]="LOWER_X",a[a.LOWER_Z=122]="LOWER_Z",a[a.UPPER_A=65]="UPPER_A",a[a.UPPER_F=70]="UPPER_F",a[a.UPPER_Z=90]="UPPER_Z",(l=x||(x={}))[l.VALUE_LENGTH=49152]="VALUE_LENGTH",l[l.BRANCH_LENGTH=16256]="BRANCH_LENGTH",l[l.JUMP_TABLE=127]="JUMP_TABLE",(s=C||(C={}))[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity",(u=k||(k={}))[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute";class tw{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=C.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=k.Strict}startEntity(e){this.decodeMode=e,this.state=C.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case C.EntityStart:if(e.charCodeAt(t)===_.NUM)return this.state=C.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=C.NamedEntity,this.stateNamedEntity(e,t);case C.NumericStart:return this.stateNumericStart(e,t);case C.NumericDecimal:return this.stateNumericDecimal(e,t);case C.NumericHex:return this.stateNumericHex(e,t);case C.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===_.LOWER_X?(this.state=C.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=C.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;
54this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let i=e.charCodeAt(t);if(!tA(i)&&(!((r=i)>=_.UPPER_A)||!(r<=_.UPPER_F))&&(!(r>=_.LOWER_A)||!(r<=_.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!tA(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,i;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===_.SEMI)this.consumed+=1;else if(this.decodeMode===k.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!==(i=tk.get(r))&&void 0!==i?i:r,this.consumed),this.errors&&(e!==_.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&x.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let o=e.charCodeAt(t);if(this.treeIndex=tP(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===k.Attribute&&(0===i||function(e){var t;return e===_.EQUALS||(t=e)>=_.UPPER_A&&t<=_.UPPER_Z||t>=_.LOWER_A&&t<=_.LOWER_Z||tA(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&x.VALUE_LENGTH)>>14)){if(o===_.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==k.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&x.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~x.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case C.NamedEntity:return 0!==this.result&&(this.decodeMode!==k.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case C.NumericDecimal:return this.emitNumericEntity(0,2);case C.NumericHex:return this.emitNumericEntity(0,3);case C.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case C.EntityStart:return 0}}}function tO(e){let t="",n=new tw(e,e=>t+=tS(e));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);let a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}let a=t+e.slice(i);return t="",a}}function tP(e,t,n,r){let i=(t&x.BRANCH_LENGTH)>>7,o=t&x.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){let t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,l=a+i-1;for(;a<=l;){let t=a+l>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];l=t-1}}return -1}tO(tx),tO(tC),(c=S=S||(S={})).HTML="http://www.w3.org/1999/xhtml",c.MATHML="http://www.w3.org/1998/Math/MathML",c.SVG="http://www.w3.org/2000/svg",c.XLINK="http://www.w3.org/1999/xlink",c.XML="http://www.w3.org/XML/1998/namespace",c.XMLNS="http://www.w3.org/2000/xmlns/",(d=A=A||(A={})).TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size",(f=w=w||(w={})).NO_QUIRKS="no-quirks",f.QUIRKS="quirks",f.LIMITED_QUIRKS="limited-quirks",(p=O=O||(O={})).A="a",p.ADDRESS="address",p.ANNOTATION_XML="annotation-xml",p.APPLET="applet",p.AREA="area",p.ARTICLE="article",p.ASIDE="aside",p.B="b",p.BASE="base",p.BASEFONT="basefont",p.BGSOUND="bgsound",p.BIG="big",p.BLOCKQUOTE="blockquote",p.BODY="body",p.BR="br",p.BUTTON="button",p.CAPTION="caption",p.CENTER="center",p.CODE="code",p.COL="col",p.COLGROUP="colgroup",p.DD="dd",p.DESC="desc",p.DETAILS="details",p.DIALOG="dialog",p.DIR="dir",p.DIV="div",p.DL="dl",p.DT="dt",p.EM="em",p.EMBED="embed",p.FIELDSET="fieldset",p.FIGCAPTION="figcaption",p.FIGURE="figure",p.FONT="font",p.FOOTER="footer",p.FOREIGN_OBJECT="foreignObject",p.FORM="form",p.FRAME="frame",p.FRAMESET="frameset",p.H1="h1",p.H2="h2",p.H3="h3",p.H4="h4",p.H5="h5",p.H6="h6",p.HEAD="head",p.HEADER="header",p.HGROUP="hgroup",p.HR="hr",p.HTML="html",p.I="i",p.IMG="img",p.IMAGE="image",p.INPUT="input",p.IFRAME="iframe",p.KEYGEN="keygen",p.LABEL="label",p.LI="li",p.LINK="link",p.LISTING="listing",p.MAIN="main",p.MALIGNMARK="malignmark",p.MARQUEE="marquee",p.MATH="math",p.MENU="menu",p.META="meta",p.MGLYPH="mglyph",p.MI="mi",p.MO="mo",p.MN="mn",p.MS="ms",p.MTEXT="mtext",p.NAV="nav",p.NOBR="nobr",p.NOFRAMES="noframes",p.NOEMBED="noembed",p.NOSCRIPT="noscript",p.OBJ
54ECT="object",p.OL="ol",p.OPTGROUP="optgroup",p.OPTION="option",p.P="p",p.PARAM="param",p.PLAINTEXT="plaintext",p.PRE="pre",p.RB="rb",p.RP="rp",p.RT="rt",p.RTC="rtc",p.RUBY="ruby",p.S="s",p.SCRIPT="script",p.SECTION="section",p.SELECT="select",p.SOURCE="source",p.SMALL="small",p.SPAN="span",p.STRIKE="strike",p.STRONG="strong",p.STYLE="style",p.SUB="sub",p.SUMMARY="summary",p.SUP="sup",p.TABLE="table",p.TBODY="tbody",p.TEMPLATE="template",p.TEXTAREA="textarea",p.TFOOT="tfoot",p.TD="td",p.TH="th",p.THEAD="thead",p.TITLE="title",p.TR="tr",p.TRACK="track",p.TT="tt",p.U="u",p.UL="ul",p.SVG="svg",p.VAR="var",p.WBR="wbr",p.XMP="xmp",(h=P=P||(P={}))[h.UNKNOWN=0]="UNKNOWN",h[h.A=1]="A",h[h.ADDRESS=2]="ADDRESS",h[h.ANNOTATION_XML=3]="ANNOTATION_XML",h[h.APPLET=4]="APPLET",h[h.AREA=5]="AREA",h[h.ARTICLE=6]="ARTICLE",h[h.ASIDE=7]="ASIDE",h[h.B=8]="B",h[h.BASE=9]="BASE",h[h.BASEFONT=10]="BASEFONT",h[h.BGSOUND=11]="BGSOUND",h[h.BIG=12]="BIG",h[h.BLOCKQUOTE=13]="BLOCKQUOTE",h[h.BODY=14]="BODY",h[h.BR=15]="BR",h[h.BUTTON=16]="BUTTON",h[h.CAPTION=17]="CAPTION",h[h.CENTER=18]="CENTER",h[h.CODE=19]="CODE",h[h.COL=20]="COL",h[h.COLGROUP=21]="COLGROUP",h[h.DD=22]="DD",h[h.DESC=23]="DESC",h[h.DETAILS=24]="DETAILS",h[h.DIALOG=25]="DIALOG",h[h.DIR=26]="DIR",h[h.DIV=27]="DIV",h[h.DL=28]="DL",h[h.DT=29]="DT",h[h.EM=30]="EM",h[h.EMBED=31]="EMBED",h[h.FIELDSET=32]="FIELDSET",h[h.FIGCAPTION=33]="FIGCAPTION",h[h.FIGURE=34]="FIGURE",h[h.FONT=35]="FONT",h[h.FOOTER=36]="FOOTER",h[h.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",h[h.FORM=38]="FORM",h[h.FRAME=39]="FRAME",h[h.FRAMESET=40]="FRAMESET",h[h.H1=41]="H1",h[h.H2=42]="H2",h[h.H3=43]="H3",h[h.H4=44]="H4",h[h.H5=45]="H5",h[h.H6=46]="H6",h[h.HEAD=47]="HEAD",h[h.HEADER=48]="HEADER",h[h.HGROUP=49]="HGROUP",h[h.HR=50]="HR",h[h.HTML=51]="HTML",h[h.I=52]="I",h[h.IMG=53]="IMG",h[h.IMAGE=54]="IMAGE",h[h.INPUT=55]="INPUT",h[h.IFRAME=56]="IFRAME",h[h.KEYGEN=57]="KEYGEN",h[h.LABEL=58]="LABEL",h[h.LI=59]="LI",h[h.LINK=60]="LINK",h[h.LISTING=61]="LISTING",h[h.MAIN=62]="MAIN",h[h.MALIGNMARK=63]="MALIGNMARK",h[h.MARQUEE=64]="MARQUEE",h[h.MATH=65]="MATH",h[h.MENU=66]="MENU",h[h.META=67]="META",h[h.MGLYPH=68]="MGLYPH",h[h.MI=69]="MI",h[h.MO=70]="MO",h[h.MN=71]="MN",h[h.MS=72]="MS",h[h.MTEXT=73]="MTEXT",h[h.NAV=74]="NAV",h[h.NOBR=75]="NOBR",h[h.NOFRAMES=76]="NOFRAMES",h[h.NOEMBED=77]="NOEMBED",h[h.NOSCRIPT=78]="NOSCRIPT",h[h.OBJECT=79]="OBJECT",h[h.OL=80]="OL",h[h.OPTGROUP=81]="OPTGROUP",h[h.OPTION=82]="OPTION",h[h.P=83]="P",h[h.PARAM=84]="PARAM",h[h.PLAINTEXT=85]="PLAINTEXT",h[h.PRE=86]="PRE",h[h.RB=87]="RB",h[h.RP=88]="RP",h[h.RT=89]="RT",h[h.RTC=90]="RTC",h[h.RUBY=91]="RUBY",h[h.S=92]="S",h[h.SCRIPT=93]="SCRIPT",h[h.SECTION=94]="SECTION",h[h.SELECT=95]="SELECT",h[h.SOURCE=96]="SOURCE",h[h.SMALL=97]="SMALL",h[h.SPAN=98]="SPAN",h[h.STRIKE=99]="STRIKE",h[h.STRONG=100]="STRONG",h[h.STYLE=101]="STYLE",h[h.SUB=102]="SUB",h[h.SUMMARY=103]="SUMMARY",h[h.SUP=104]="SUP",h[h.TABLE=105]="TABLE",h[h.TBODY=106]="TBODY",h[h.TEMPLATE=107]="TEMPLATE",h[h.TEXTAREA=108]="TEXTAREA",h[h.TFOOT=109]="TFOOT",h[h.TD=110]="TD",h[h.TH=111]="TH",h[h.THEAD=112]="THEAD",h[h.TITLE=113]="TITLE",h[h.TR=114]="TR",h[h.TRACK=115]="TRACK",h[h.TT=116]="TT",h[h.U=117]="U",h[h.UL=118]="UL",h[h.SVG=119]="SVG",h[h.VAR=120]="VAR",h[h.WBR=121]="WBR",h[h.XMP=122]="XMP";let tI=new Map([[O.A,P.A],[O.ADDRESS,P.ADDRESS],[O.ANNOTATION_XML,P.ANNOTATION_XML],[O.APPLET,P.APPLET],[O.AREA,P.AREA],[O.ARTICLE,P.ARTICLE],[O.ASIDE,P.ASIDE],[O.B,P.B],[O.BASE,P.BASE],[O.BASEFONT,P.BASEFONT],[O.BGSOUND,P.BGSOUND],[O.BIG,P.BIG],[O.BLOCKQUOTE,P.BLOCKQUOTE],[O.BODY,P.BODY],[O.BR,P.BR],[O.BUTTON,P.BUTTON],[O.CAPTION,P.CAPTION],[O.CENTER,P.CENTER],[O.CODE,P.CODE],[O.COL,P.COL],[O.COLGROUP,P.COLGROUP],[O.DD,P.DD],[O.DESC,P.DESC],[O.DETAILS,P.DETAILS],[O.DIALOG,P.DIALOG],[O.DIR,P.DIR],[O.DIV,P.DIV],[O.DL,P.DL],[O.DT,P.DT],[O.EM,P.EM],[O.EMBED,P.EMBED],[O.FIELDSET,P.FIELDSET],[O.FIGCAPTION,P.FIGCAPTION],[O.FIGURE,P.FIGURE],[O.FONT,P.FONT],[O.FOOTER,P.FOOTER],[O.FOREIGN_OBJECT,P.FOREIGN_OBJECT],[O.FORM,P.FORM],[O.FRAME,P.FRAME],[O.FRAMESET,P.FRAMESET],[O.H1,P.H1],[O.H2,P.H2],[O.H3,P.H3],[O.H4,P.H4],[O.H5,P.H5],[O.H6,P.H6],[O.HEAD,P.HEAD],[O.HEADER,P.HEADER],[O.HGROUP,P.HGROUP],[O.HR,P.HR],[O.HTML,P.HTML],[O.I,P.I],[O.IMG,P.IMG],[O.IMAGE,P.IMAGE],[O.INPUT,P.INPUT],[O.IFRAME,P.IFRAME],[O.KEYGEN,P.KEYGEN],[O.LABEL,P.LABEL],[O.LI,P.LI],[O.LINK,P.LINK],[O.LISTING,P.LISTING],[O.MAIN,P.MAIN],[O.MALIGNMARK,P.MALIGNMARK],[O.MARQUEE,P.MARQUEE],[O.MATH,P.MATH],[O.MENU,P.MENU],[O.META,P.META],[O.MGLYPH,P.MGLYPH],[O.MI,P.MI],[O.MO,P.MO],[O.MN,P.MN],[O.MS,P.MS],[O.MTEXT,P.MTEXT],[O.NAV,P.NAV],[O.NOBR,P.NOBR],[O.NOFRAMES,P.NOFRAMES],[O.NOEMBED,P.NOEMBED],[O.NOSCRIPT,P.NOSCRIPT],[O.OBJECT,P.OBJECT],[O.OL,P.OL],[O.OPTGROUP,P.OPTGROUP],[O.OPTION,P.OPTION],[O.P,P.P],[O.PARAM,P.PARAM],[O.PLAINTEXT,P.PLAINTEXT],[O.PRE,P.PRE],[O.RB,P.RB],[O.RP,P.RP],[O.RT,P.RT],[O.RTC,P.RTC],[O.RUBY,P.RUBY],[O.S,P.S],[O.SCRIPT,P.SCRIPT],[O.SECTION,P.SECTION],[O.SELECT,P.SELECT],[O.SOURCE,P.SOURCE],[O.SMALL,P.SMALL],[O.SPAN,P.SPAN],[O.STRIKE,P.STRIKE],[O.STRONG,P.STRONG],[O.STYLE,P.STYLE],[O.SUB,P.SUB],[O.SUMMARY,P.SUMMARY],[O.SUP,P.SUP],[O.TABLE,P.TABLE],[O.TBODY,P.TBODY],[O.TEMPLATE,P.TEMPLATE],[O.TEXTAREA,P.TEXTAREA],[O.TFOOT,P.TFOOT],[O.TD,P.TD],[O.TH,P.TH],[O.THEAD,P.THEAD],[O.TITLE,P.TITLE],[O.TR,P.TR],[O.TRACK,P.TRACK],[O.TT,P.TT],[O.U,P.U],[O.UL,P.UL],[O.SVG,P.SVG],[O.VAR,P.VAR],[O.WBR,P.WBR],[O.XMP,P.XMP]]);function tN(e){var t;return null!==(t=tI.get(e))&&void 0!==t?t:P.UNKNOWN}let tR=P,tL={[S.HTML]:new Set([tR.ADDRESS,tR.APPLET,tR.AREA,tR.ARTICLE,tR.ASIDE,tR.BASE,tR.BASEFONT,tR.BGSOUND,tR.BLOCKQUOTE,tR.BODY,tR.BR,tR.BUTTON,tR.CAPTION,tR.CENTER,tR.COL,tR.COLGROUP,tR.DD,tR.DETAILS,tR.DIR,tR.DIV,tR.DL,tR.DT,tR.EMBED,tR.FIELDSET,tR.FIGCAPTION,tR.FIGURE,tR.FOOTER,tR.FORM,tR.FRAME,tR.FRAMESET,tR.H1,tR.H2,tR.H3,tR.H4,tR.H5,tR.H6,tR.HEAD,tR.HEADER,tR.HGROUP,tR.HR,tR.HTML,tR.IFRAME,tR.IMG,tR.INPUT,tR.LI,tR.LINK,tR.LISTING,tR.MAIN,tR.MARQUEE,tR.MENU,tR.META,tR.NAV,tR.NOEMBED,tR.NOFRAMES,tR.NOSCRIPT,tR.OBJECT,tR.OL,tR.P,tR.PARAM,tR.PLAINTEXT,tR.PRE,tR.SCRIPT,tR.SECTION,tR.SELECT,tR.SOURCE,tR.STYLE,tR.SUM
54MARY,tR.TABLE,tR.TBODY,tR.TD,tR.TEMPLATE,tR.TEXTAREA,tR.TFOOT,tR.TH,tR.THEAD,tR.TITLE,tR.TR,tR.TRACK,tR.UL,tR.WBR,tR.XMP]),[S.MATHML]:new Set([tR.MI,tR.MO,tR.MN,tR.MS,tR.MTEXT,tR.ANNOTATION_XML]),[S.SVG]:new Set([tR.TITLE,tR.FOREIGN_OBJECT,tR.DESC]),[S.XLINK]:new Set,[S.XML]:new Set,[S.XMLNS]:new Set};function tD(e){return e===tR.H1||e===tR.H2||e===tR.H3||e===tR.H4||e===tR.H5||e===tR.H6}O.STYLE,O.SCRIPT,O.XMP,O.IFRAME,O.NOEMBED,O.NOFRAMES,O.PLAINTEXT;let tM=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(m=I||(I={}))[m.DATA=0]="DATA",m[m.RCDATA=1]="RCDATA",m[m.RAWTEXT=2]="RAWTEXT",m[m.SCRIPT_DATA=3]="SCRIPT_DATA",m[m.PLAINTEXT=4]="PLAINTEXT",m[m.TAG_OPEN=5]="TAG_OPEN",m[m.END_TAG_OPEN=6]="END_TAG_OPEN",m[m.TAG_NAME=7]="TAG_NAME",m[m.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",m[m.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",m[m.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",m[m.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",m[m.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",m[m.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",m[m.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",m[m.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",m[m.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",m[m.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",m[m.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",m[m.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",m[m.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",m[m.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",m[m.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",m[m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",m[m.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",m[m.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",m[m.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",m[m.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",m[m.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",m[m.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",m[m.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",m[m.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",m[m.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",m[m.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",m[m.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",m[m.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",m[m.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",m[m.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",m[m.BOGUS_COMMENT=40]="BOGUS_COMMENT",m[m.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",m[m.COMMENT_START=42]="COMMENT_START",m[m.COMMENT_START_DASH=43]="COMMENT_START_DASH",m[m.COMMENT=44]="COMMENT",m[m.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",m[m.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",m[m.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",m[m.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",m[m.COMMENT_END_DASH=49]="COMMENT_END_DASH",m[m.COMMENT_END=50]="COMMENT_END",m[m.COMMENT_END_BANG=51]="COMMENT_END_BANG",m[m.DOCTYPE=52]="DOCTYPE",m[m.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",m[m.DOCTYPE_NAME=54]="DOCTYPE_NAME",m[m.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",m[m.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",m[m.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",m[m.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",m[m.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",m[m.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",m[m.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",m[m.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",m[m.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",m[m.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",m[m.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",m[m.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",m[m.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",m[m.CDATA_SECTION=68]="CDATA_SECTION",m[m.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",m[m.CDATA_SECTION_END=70]="CDATA_SECTION_END",m[m.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",m[m.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",m[m.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",m[m.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",m[m.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",m[m.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",m[m.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",m[m.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let tF={DATA:I.DATA,RCDATA:I.RCDATA,RAWTEXT:I.RAWTEXT,SCRIPT_DATA:I.SCRIPT_DATA,PLAINTEXT:I.PLAINTEXT,CDATA_SECTION:I.CDATA_SECTION};function tB(e){return e>=v.DIGIT_0&&e<=v.DIGIT_9}function tH(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_Z}function tU(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_Z||tH(e)}function tj(e){return tU(e)||tB(e)}function tV(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_F}function tz(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_F}function tG(e){return e===v.SPACE||e===v.LINE_FEED||e===v.TABULATION||e===v.FORM_FEED}function tW(e){return tG(e)||e===v.SOLIDUS||e===v.GREATER_THAN_SIGN}class t${constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=I.DATA,this.returnState=I.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new tT(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:E.START_TAG,tagName:"",tagID:P.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:E.END_TAG,tagName:"",tagID:P.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:E.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:E.DOCTYPE,name:e,forceQuirks:!1,publicId:null,
54systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;if(null===t_(n,this.currentAttr.name)){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){let r=null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(b.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=tN(e.tagName),e.type===E.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(b.endTagWithAttributes),e.selfClosing&&this._err(b.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case E.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case E.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case E.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:E.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=tG(e)?E.WHITESPACE_CHARACTER:e===v.NULL?E.NULL_CHARACTER:E.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(E.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let o=0,a=tx[0];o>=0&&!((o=tP(tx,a,o+1,e))<0);e=this._consume()){n+=1,a=tx[o];let l=a&x.VALUE_LENGTH;if(l){var i;let a=(l>>14)-1;if(e!==v.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((i=this.preprocessor.peek(1))===v.EQUALS_SIGN||tj(i))?(t=[v.AMPERSAND],o+=a):(t=0===a?[tx[o]&~x.VALUE_LENGTH]:1===a?[tx[++o]]:[tx[++o],tx[++o]],n=0,r=e!==v.SEMICOLON),0===a){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(b.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===I.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===I.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===I.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case I.DATA:this._stateData(e);break;case I.RCDATA:this._stateRcdata(e);break;case I.RAWTEXT:this._stateRawtext(e);break;case I.SCRIPT_DATA:this._stateScriptData(e);break;case I.PLAINTEXT:this._statePlaintext(e);break;case I.TAG_OPEN:this._stateTagOpen(e);break;case I.END_TAG_OPEN:this._stateEndTagOpen(e);break;case I.TAG_NAME:this._stateTagName(e);break;case I.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case I.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case I.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case I.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case I.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case I.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case I.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case I.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case I.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case I.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case I.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case I.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case I.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case I.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case I.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 5,567 bytes, line 54
54Start(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case I.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case I.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case I.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case I.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case I.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case I.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case I.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case I.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case I.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case I.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case I.BOGUS_COMMENT:this._stateBogusComment(e);break;case I.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case I.COMMENT_START:this._stateCommentStart(e);break;case I.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case I.COMMENT:this._stateComment(e);break;case I.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case I.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case I.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case I.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case I.COMMENT_END:this._stateCommentEnd(e);break;case I.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case I.DOCTYPE:this._stateDoctype(e);break;case I.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case I.DOCTYPE_NAME:this._stateDoctypeName(e);break;case I.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case I.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case I.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case I.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case I.CDATA_SECTION:this._stateCdataSection(e);break;case I.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case I.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case I.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case I.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case I.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case I.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case I.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case I.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case I.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case I.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case v.LESS_THAN_SIGN:this.state=I.TAG_OPEN;break;case v.AMPERSAND:this.returnState=I.DATA,this.state=I.CHARACTER_REFERENCE;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitCodePoint(e);break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case v.AMPERSAND:this.returnState=I.RCDATA,this.state=I.CHARACTER_REFERENCE;break;case v.LESS_THAN_SIGN:this.state=I.RCDATA_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case v.LESS_THAN_SIGN:this.state=I.RAWTEXT_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(tU(e))this._createStartTagToken(),this.state=I.TAG_NAME,this._stateTagName(e);else switch(e){case v.EXCLAMATION_MARK:this.state=I.MARKUP_DECLARATION_OPEN;break;
vendor: 5,349 bytes, line 54
54case v.SOLIDUS:this.state=I.END_TAG_OPEN;break;case v.QUESTION_MARK:this._err(b.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=I.BOGUS_COMMENT,this._stateBogusComment(e);break;case v.EOF:this._err(b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=I.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(tU(e))this._createEndTagToken(),this.state=I.TAG_NAME,this._stateTagName(e);else switch(e){case v.GREATER_THAN_SIGN:this._err(b.missingEndTagName),this.state=I.DATA;break;case v.EOF:this._err(b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(b.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=I.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_ATTRIBUTE_NAME;break;case v.SOLIDUS:this.state=I.SELF_CLOSING_START_TAG;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentTagToken();break;case v.NULL:this._err(b.unexpectedNullCharacter),t.tagName+="�";break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(tH(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===v.SOLIDUS?this.state=I.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=I.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){tU(e)?(this.state=I.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=I.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;t.tagName=this.lastStartTagName;let n=this.preprocessor.peek(this.lastStartTagName.length);switch(n){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=I.BEFORE_ATTRIBUTE_NAME,!1;case v.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=I.SELF_CLOSING_START_TAG,!1;case v.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=I.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===v.SOLIDUS?this.state=I.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=I.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){tU(e)?(this.state=I.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=I.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case v.SOLIDUS:this.state=I.SCRIPT_DATA_END_TAG_OPEN;break;case v.EXCLAMATION_MARK:this.state=I.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=I.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){tU(e)?(this.state=I.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===v.HYPHEN_MINUS?(this.state=I.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===v.HYPHEN_MINUS?(this.state=I.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=I.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case v.HYPHEN_MINUS:this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.GREATER_THAN_SIGN:this.state=I.SCRIPT_DATA,this._emitChars(">");break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===v.SOLIDUS?this.state=I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:tU(e)?(this._emitChars("<"),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscape
vendor: 16,853 bytes, line 54
54Start(e)):(this._emitChars("<"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){tU(e)?(this.state=I.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(ty.SCRIPT,!1)&&tW(this.preprocessor.peek(ty.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<ty.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=I.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.NULL:this._err(b.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case v.HYPHEN_MINUS:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case v.HYPHEN_MINUS:this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.GREATER_THAN_SIGN:this.state=I.SCRIPT_DATA,this._emitChars(">");break;case v.NULL:this._err(b.unexpectedNullCharacter),this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===v.SOLIDUS?(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ty.SCRIPT,!1)&&tW(this.preprocessor.peek(ty.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<ty.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=I.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=I.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:this.state=I.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case v.EQUALS_SIGN:this._err(b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=I.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=I.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:this._leaveAttrName(),this.state=I.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case v.EQUALS_SIGN:this._leaveAttrName(),this.state=I.BEFORE_ATTRIBUTE_VALUE;break;case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:this._err(b.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(tH(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:this.state=I.SELF_CLOSING_START_TAG;break;case v.EQUALS_SIGN:this.state=I.BEFORE_ATTRIBUTE_VALUE;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=I.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:this.state=I.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case v.APOSTROPHE:this.state=I.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingAttributeValue),this.state=I.DATA,this.emitCurrentTagToken();break;default:this.state=I.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case v.QUOTATION_MARK:this.state=I.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case v.AMPERSAND:this.returnState=I.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=I.CHARACTER_REFERENCE;break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case v.APOSTROPHE:this.state=I.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case v.AMPERSAND:this.returnState=I.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=I.CHARACTER_REFERENCE;break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this._leaveAttrValue(),this.state=I.BEFORE_ATTRIBUTE_NAME;break;case v.AMPERSAND:this.returnState=I.ATTRIBUTE_VALUE_UNQUOTED,this.state=I.CHARACTER_REFERENCE;break;case v.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=I.DATA,this.emitCurrentTagToken();break;case v.NULL:this._err(b.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:case v.EQUALS_SIGN:case v.GRAVE_ACCENT:this._err(b.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this._leaveAttrValue(),this.state=I.BEFORE_ATTRIBUTE_NAME;break;case v.SOLIDUS:this._leaveAttrValue(),this.state=I.SELF_CLOSING_START_TAG;break;case v.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=I.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.missingWhitespaceBetweenAttributes),this.state=I.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case v.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=I.DATA,this.emitCurrentTagToken();break}case v.EOF:this._err(b.eofInTag),this._emitEOFToken();break;default:this._err(b.unexpectedSolidusInTag),this.state=I.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentComment(t);break;case v.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case v.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(ty.DASH_DASH,!0)?(this._createCommentToken(ty.DASH_DASH.length+1),this.state=I.COMMENT_START):this._consumeSequenceIfMatch(ty.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ty.DOCTYPE.length+1),this.state=I.DOCTYPE):this._consumeSequenceIfMatch(ty.CDATA_START,!0)?this.inForeignNode?this.state=I.CDATA_SECTION:(this._err(b.cdataInHtmlContent),this._createCommentToken(ty.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=I.BOGUS_COMMENT):this._ensureHibernation()||(this._err(b.incorrectlyOpenedComment),this._createCommentToken(2),this.state=I.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_START_DASH;break;case v.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=I.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=I.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_END;break;case v.GREATER_THAN_SIGN:this._err(b.abruptClosingOfEmptyComment),this.state=I.DATA,this.emitCurrentComment(t);break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=I.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_END_DASH;break;case v.LESS_THAN_SIGN:t.data+="<",this.state=I.COMMENT_LESS_THAN_SIGN;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.data+="�";break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case v.EXCLAMATION_MARK:t.data+="!",this.state=I.COMMENT_LESS_THAN_SIGN_BANG;break;case v.LESS_THAN_SIGN:t.data+="<";break;default:this.state=I.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===v.HYPHEN_MINUS?this.state=I.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=I.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===v.HYPHEN_MINUS?this.state=I.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=I.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==v.GREATER_THAN_SIGN&&e!==v.EOF&&this._err(b.nestedComment),this.state=I.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=I.COMMENT_END;break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=I.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentComment(t);break;case v.EXCLAMATION_MARK:this.state=I.COMMENT_END_BANG;break;case v.HYPHEN_MINUS:t.data+="-";break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=I.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:t.data+="--!",this.state=I.COMMENT_END_DASH;break;case v.GREATER_THAN_SIGN:this._err(b.incorrectlyClosedComment),this.state=I.DATA,this.emitCurrentComment(t);break;case v.EOF:this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=I.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:this.state=I.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case v.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBeforeDoctypeName),this.state=I.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(tH(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=I.DOCTYPE_NAME;else switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.NULL:this._err(b.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=I.DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:{this._err(b.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=I.DATA;break}case v.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=I.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.AFTER_DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.NULL:this._err(b.unexpectedNullCharacter),t.name+="�";break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(tH(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(ty.PUBLIC,!1)?this.state=I.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ty.SYSTEM,!1)?this.state=I.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(b.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.publicId="",this.state=I.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case v.QUOTATION_MARK:this.state=I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case v.APOSTROPHE:this.state=I.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.publicId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case v.GREATER_THAN_SIGN:this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.QUOTATION_MARK:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 8,214 bytes, line 54
54default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.QUOTATION_MARK:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=I.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.QUOTATION_MARK:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.systemId="",this.state=I.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case v.QUOTATION_MARK:this.state=I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case v.APOSTROPHE:this.state=I.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.NULL:this._err(b.unexpectedNullCharacter),t.systemId+="�";break;case v.GREATER_THAN_SIGN:this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.EOF:this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(b.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=I.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=I.DATA;break;case v.NULL:this._err(b.unexpectedNullCharacter);break;case v.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case v.RIGHT_SQUARE_BRACKET:this.state=I.CDATA_SECTION_BRACKET;break;case v.EOF:this._err(b.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===v.RIGHT_SQUARE_BRACKET?this.state=I.CDATA_SECTION_END:(this._emitChars("]"),this.state=I.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case v.GREATER_THAN_SIGN:this.state=I.DATA;break;case v.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=I.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===v.NUMBER_SIGN?this.state=I.NUMERIC_CHARACTER_REFERENCE:tj(e)?(this.state=I.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this.state=I.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){tj(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===v.SEMICOLON&&this._err(b.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===v.LATIN_SMALL_X||e===v.LATIN_CAPITAL_X?this.state=I.HEXADEMICAL_CHARACTER_REFERENCE_START:tB(e)?(this.state=I.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(b.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(v.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){tB(e)||tV(e)||tz(e)?(this.state=I.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(b.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(v.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){tV(e)?this.charRefCode=16*this.charRefCode+e-55:tz(e)?this.charRefCode=16*this.charRefCode+e-87:tB(e)?this.charRefCode=16*this.charRefCode+e-48:e===v.SEMICOLON?this.state=I.NUMERIC_CHARACTER_REFERENCE_END:(this._err(b.missingSemicolonAfterCharacterReference),this.state=I.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){tB(e)?this.charRefCode=10*this.charRefCode+e-48:e===v.SEMICOLON?this.state=I.NUMERIC_CHARACTER_REFERENCE_END:(this._err(b.missingSemicolonAfterCharacterReference),this.state=I.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===v.NULL)this._err(b.nullCharacterReference),this.charRefCode=v.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(b.characterReferenceOutsideUnicodeRange),this.charRefCode=v.REPLACEMENT_CHARACTER;else if(tv(this.charRefCode))this._err(b.surrogateCharacterReference),this.charRefCode=v.REPLACEMENT_CHARACTER;else if(tE(this.charRefCode))this._err(b.noncharacterCharacterReference);else if(tb(this.charRefCode)||this.charRefCode===v.CARRIAGE_RETURN){this._err(b.controlCharacterReference);let e=tM.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let tZ=new Set([P.DD,P.DT,P.LI,P.OPTGROUP,P.OPTION,P.P,P.RB,P.RP,P.RT,P.RTC]),tY=new Set([...tZ,P.CAPTION,P.COLGROUP,P.TBODY,P.TD,P.TFOOT,P.TH,P.THEAD,P.TR]),tq=new Map([[P.APPLET,S.HTML],[P.CAPTION,S.HTML],[P.HTML,S.HTML],[P.MARQUEE,S.HTML],[P.OBJECT,S.HTML],[P.TABLE,S.HTML],[P.TD,S.HTML],[P.TEMPLATE,S.HTML],[P.TH,S.HTML],[P.ANNOTATION_XML,S.MATHML],[P.MI,S.MATHML],[P.MN,S.MATHML],[P.MO,S.MATHML],[P.MS,S.MATHML],[P.MTEXT,S.MATHML],[P.DESC,S.SVG],[P.FOREIGN_OBJECT,S.SVG],[P.TIT
vendor: 4,258 bytes, line 54
54LE,S.SVG]]),tK=[P.H1,P.H2,P.H3,P.H4,P.H5,P.H6],tX=[P.TR,P.TEMPLATE,P.HTML],tJ=[P.TBODY,P.TFOOT,P.THEAD,P.TEMPLATE,P.HTML],tQ=[P.TABLE,P.TEMPLATE,P.HTML],t0=[P.TD,P.TH];class t1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=P.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===P.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===S.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==S.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(tK,S.HTML)}popUntilTableCellPopped(){this.popUntilPopped(t0,S.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(tQ,S.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tJ,S.HTML)}clearBackToTableRowContext(){this.clearBackTo(tX,S.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===P.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===P.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===S.HTML)break;if(tq.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(tD(t)&&n===S.HTML)break;if(tq.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===S.HTML)break;if((n===P.UL||n===P.OL)&&r===S.HTML||tq.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===S.HTML)break;if(n===P.BUTTON&&r===S.HTML||tq.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===S.HTML){if(n===e)break;if(n===P.TABLE||n===P.TEMPLATE||n===P.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===S.HTML){if(t===P.TBODY||t===P.THEAD||t===P.TFOOT)break;
54if(t===P.TABLE||t===P.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===S.HTML){if(n===e)break;if(n!==P.OPTION&&n!==P.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;tZ.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;tY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&tY.has(this.currentTagId);)this.pop()}}(g=N=N||(N={}))[g.Marker=0]="Marker",g[g.Element=1]="Element";let t5={type:N.Marker};class t2{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===N.Marker)break;let{element:a}=t;if(this.treeAdapter.getTagName(a)===i&&this.treeAdapter.getNamespaceURI(a)===o){let t=this.treeAdapter.getAttrList(a);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(t5)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:N.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:N.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(t5);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===N.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===N.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===N.Element&&t.element===e)}}function t3(e){return{nodeName:"#text",value:e,parentNode:null}}let t9={createDocument:()=>({nodeName:"#document",mode:w.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):t9.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(t9.isTextNode(n)){n.value+=t;return}}t9.appendChild(e,t3(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&t9.isTextNode(r)?r.value+=t:t9.insertBefore(e,t3(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},t7="html",t6=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],t8=[...t6,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],t4=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ne=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],nt=[...ne,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function nn(e,t){return t.some(t=>e.startsWith(t))}let nr={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},ni=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),no=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:S.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:S.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:S.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:S.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:S.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:S.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:S.XLINK}
54],["xml:base",{prefix:"xml",name:"base",namespace:S.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:S.XML}],["xml:space",{prefix:"xml",name:"space",namespace:S.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:S.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:S.XMLNS}]]),na=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),nl=new Set([P.B,P.BIG,P.BLOCKQUOTE,P.BODY,P.BR,P.CENTER,P.CODE,P.DD,P.DIV,P.DL,P.DT,P.EM,P.EMBED,P.H1,P.H2,P.H3,P.H4,P.H5,P.H6,P.HEAD,P.HR,P.I,P.IMG,P.LI,P.LISTING,P.MENU,P.META,P.NOBR,P.OL,P.P,P.PRE,P.RUBY,P.S,P.SMALL,P.SPAN,P.STRONG,P.STRIKE,P.SUB,P.SUP,P.TABLE,P.TT,P.U,P.UL,P.VAR]);function ns(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function nu(e){for(let t=0;t<e.attrs.length;t++){let n=ni.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function nc(e){for(let t=0;t<e.attrs.length;t++){let n=no.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}(y=R||(R={}))[y.INITIAL=0]="INITIAL",y[y.BEFORE_HTML=1]="BEFORE_HTML",y[y.BEFORE_HEAD=2]="BEFORE_HEAD",y[y.IN_HEAD=3]="IN_HEAD",y[y.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",y[y.AFTER_HEAD=5]="AFTER_HEAD",y[y.IN_BODY=6]="IN_BODY",y[y.TEXT=7]="TEXT",y[y.IN_TABLE=8]="IN_TABLE",y[y.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",y[y.IN_CAPTION=10]="IN_CAPTION",y[y.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",y[y.IN_TABLE_BODY=12]="IN_TABLE_BODY",y[y.IN_ROW=13]="IN_ROW",y[y.IN_CELL=14]="IN_CELL",y[y.IN_SELECT=15]="IN_SELECT",y[y.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",y[y.IN_TEMPLATE=17]="IN_TEMPLATE",y[y.AFTER_BODY=18]="AFTER_BODY",y[y.IN_FRAMESET=19]="IN_FRAMESET",y[y.AFTER_FRAMESET=20]="AFTER_FRAMESET",y[y.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",y[y.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let nd={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},nf=new Set([P.TABLE,P.TBODY,P.TFOOT,P.THEAD,P.TR]),np={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:t9,onParseError:null};class nh{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=R.INITIAL,this.originalInsertionMode=R.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...np,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new t$(this.options,this),this.activeFormattingElements=new t2(this.treeAdapter),this.fragmentContextID=n?tN(this.treeAdapter.getTagName(n)):P.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new t1(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...np,...t};null!=e||(e=n.treeAdapter.createElement(O.TEMPLATE,S.HTML,[]));let r=n.treeAdapter.createElement("documentmock",S.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===P.TEMPLATE&&i.tmplInsertionModeStack.unshift(R.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;let i=null!==(r=e.location)&&void 0!==r?r:nd,o={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}
54onItemPush(e,t,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===S.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,S.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=R.TEXT}switchToPlaintextParsing(){this.insertionMode=R.TEXT,this.originalInsertionMode=R.IN_BODY,this.tokenizer.state=tF.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===O.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===S.HTML)switch(this.fragmentContextID){case P.TITLE:case P.TEXTAREA:this.tokenizer.state=tF.RCDATA;break;case P.STYLE:case P.XMP:case P.IFRAME:case P.NOEMBED:case P.NOFRAMES:case P.NOSCRIPT:this.tokenizer.state=tF.RAWTEXT;break;case P.SCRIPT:this.tokenizer.state=tF.SCRIPT_DATA;break;case P.PLAINTEXT:this.tokenizer.state=tF.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,S.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,S.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(O.HTML,S.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,P.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,o=r[i-1],a=this.treeAdapter.getNodeSourceCodeLocation(o);if(a){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===E.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==P.SVG||this.treeAdapter.getTagName(t)!==O.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==S.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===P.MGLYPH||e.tagID===P.MALIGNMARK)&&!this._isIntegrationPoint(n,t,S.HTML)))}_processToken(e){switch(e.type){case E.CHARACTER:this.onCharacter(e);break;case E.NULL_CHARACTER:this.onNullCharacter(e);break;case E.COMMENT:this.onComment(e);break;case E.DOCTYPE:this.onDoctype(e);break;case E.START_TAG:this._processStartTag(e);break;case E.END_TAG:this.onEndTag(e);break;case E.EOF:this.onEof(e);break;case E.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===S.HTML)&&function(e,t,n){if(t===S.MATHML&&e===P.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===A.ENCODING){let t=n[e].value.toLowerCase();return t===nr.TEXT_HTML||t===nr.APPLICATION_XML}}return t===S.SVG&&(e===P.FOREIGN_OBJECT||e===P.DESC||e===P.TITLE)}(e,r,i)||(!n||n===S.MATHML)&&r===S.MATHML&&(e===P.MI||e===P.MO||e===P.MN||e===P.MS||e===P.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===N.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=R.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(P.P),this.openElements.popUntilTagNamePopped(P.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case P.TR:this.insertionMode=R.IN_ROW;return;case P.TBODY:case P.THEAD:case P.TFOOT:this.insertionMode=R.IN_TABLE_BODY;return;case P.CAPTION:this.insertionMode=R.IN_CAPTION;return;case P.COLGROUP:this.insertionMode=R.IN_COLUMN_GROUP;return;case P.TABLE:this.insertionMode=R.IN_TABLE;return;case P.BODY:this.insertionMode=R.IN_BODY;return;case P.FRAMESET:this.insertionMode=R.IN_FRAMESET;return;case P.SELECT:this._resetInsertionModeForSelect(e);return;case P.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case P.HTML:this.insertionMode=this.headElement?R.AFTER_HEAD:R.BEFORE_HEAD;return;case P.TD:case P.TH:if(e>0){this.insertionMode=R.IN_CELL;return}break;case P.HEAD:if(e>0){this.insertionMode=R.IN_HEAD;return}}this.insertionMode=R.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===P.TEMPLATE)break;if(e===P.TABLE){this.insertionMode=R.IN_SELECT_IN_TABLE;return}}this.insertionMode=R.IN_SELECT}_isElementCausesFosterParenting(e){return nf.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case P.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===S.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case P.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return tL[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case R.INITIAL:nv(this,e);break;case R.BEFORE_HTML:nb(this,e);break;case R.BEFORE_HEAD:nE(this,e);break;case R.IN_HEAD:nx(this,e);break;case R.IN_HEAD_NO_SCRIPT:nC(this,e);break;case R.AFTER_HEAD:nk(this,e);break;case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:nw(this,e);break;case R.TEXT:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:nF(this,e);break;case R.IN_TABLE_TEXT:nV(this,e);break;case R.IN_COLUMN_GROUP:n$(this,e);break;case R.AFTER_BODY:n1(this,e);break;case R.AFTER_AFTER_BODY:n5(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case R.INITIAL:nv(this,e);break;case R.BEFORE_HTML:nb(this,e);break;case R.BEFORE_HEAD:nE(this,e);break;case R.IN_HEAD:nx(this,e);break;case R.IN_HEAD_NO_SCRIPT:nC(this,e);break;case R.AFTER_HEAD:nk(this,e);break;case R.TEXT:this._insertCharacters(e);break;case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:nF(this,e);break;case R.IN_COLUMN_GROUP:n$(this,e);break;case R.AFTER_BODY:n1(this,e);break;case R.AFTER_AFTER_BODY:n5(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){ng(this,e);return}switch(this.insertionMode){case R.INITIAL:case R.BEFORE_HTML:case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_TEMPLATE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:ng(this,e);break;case R.IN_TABLE_TEXT:nz(this,e);break;case R.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case R.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?w.QUIRKS:function(e){if(e.name!==t7)return w.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return w.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),t4.has(n))return w.QUIRKS;let e=null===t?t8:t6;if(nn(n,e))return w.QUIRKS;if(nn(n,e=null===t?ne:nt))return w.LIMITED_QUIRKS}return w.NO_QUIRKS}(t);t.name===t7&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,b.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=R.BEFORE_HTML}(this,e);break;case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:this._err(e,b.misplacedDoctype);break;case R.IN_TABLE_TEXT:nz(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===P.FONT&&e.attrs.some(({name:e})=>e===A.COLOR||e===A.SIZE||e===A.FACE);return n||nl.has(t)}(t))n2(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===S.MATHML?ns(t):r===S.SVG&&(function(e){let t=na.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=tN(e.tagName))}(t),nu(t)),nc(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case R.INITIAL:nv(this,e);break;case R.BEFORE_HTML:e.tagID===P.HTML?(this._insertElement(e,S.HTML),this.insertionMode=R.BEFORE_HEAD):nb(this,e);break;case R.BEFORE_HEAD:!function(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.HEAD:e._insertElement(t,S.HTML),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD;break;default:nE(e,t)}}(this,e);break;case R.IN_HEAD:nT(this,e);break;case R.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;
vendor: 1,870 bytes, line 54
54case P.BASEFONT:case P.BGSOUND:case P.HEAD:case P.LINK:case P.META:case P.NOFRAMES:case P.STYLE:nT(e,t);break;case P.NOSCRIPT:e._err(t,b.nestedNoscriptInHead);break;default:nC(e,t)}}(this,e);break;case R.AFTER_HEAD:!function(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.BODY:e._insertElement(t,S.HTML),e.framesetOk=!1,e.insertionMode=R.IN_BODY;break;case P.FRAMESET:e._insertElement(t,S.HTML),e.insertionMode=R.IN_FRAMESET;break;case P.BASE:case P.BASEFONT:case P.BGSOUND:case P.LINK:case P.META:case P.NOFRAMES:case P.SCRIPT:case P.STYLE:case P.TEMPLATE:case P.TITLE:e._err(t,b.abandonedHeadElementChild),e.openElements.push(e.headElement,P.HEAD),nT(e,t),e.openElements.remove(e.headElement);break;case P.HEAD:e._err(t,b.misplacedStartTagForHeadElement);break;default:nk(e,t)}}(this,e);break;case R.IN_BODY:nR(this,e);break;case R.IN_TABLE:nB(this,e);break;case R.IN_TABLE_TEXT:nz(this,e);break;case R.IN_CAPTION:!function(e,t){let n=t.tagID;nG.has(n)?e.openElements.hasInTableScope(P.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(P.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,nB(e,t)):nR(e,t)}(this,e);break;case R.IN_COLUMN_GROUP:nW(this,e);break;case R.IN_TABLE_BODY:nZ(this,e);break;case R.IN_ROW:nq(this,e);break;case R.IN_CELL:!function(e,t){let n=t.tagID;nG.has(n)?(e.openElements.hasInTableScope(P.TD)||e.openElements.hasInTableScope(P.TH))&&(e._closeTableCell(),nq(e,t)):nR(e,t)}(this,e);break;case R.IN_SELECT:nX(this,e);break;case R.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===P.CAPTION||n===P.TABLE||n===P.TBODY||n===P.TFOOT||n===P.THEAD||n===P.TR||n===P.TD||n===P.TH?(e.openElements.popUntilTagNamePopped(P.SELECT),e._resetInsertionMode(),e._processStartTag(t)):nX(e,t)}(this,e);break;case R.IN_TEMPLATE:!function(e,t){switch(t.tagID){case P.BASE:case P.BASE
54FONT:case P.BGSOUND:case P.LINK:case P.META:case P.NOFRAMES:case P.SCRIPT:case P.STYLE:case P.TEMPLATE:case P.TITLE:nT(e,t);break;case P.CAPTION:case P.COLGROUP:case P.TBODY:case P.TFOOT:case P.THEAD:e.tmplInsertionModeStack[0]=R.IN_TABLE,e.insertionMode=R.IN_TABLE,nB(e,t);break;case P.COL:e.tmplInsertionModeStack[0]=R.IN_COLUMN_GROUP,e.insertionMode=R.IN_COLUMN_GROUP,nW(e,t);break;case P.TR:e.tmplInsertionModeStack[0]=R.IN_TABLE_BODY,e.insertionMode=R.IN_TABLE_BODY,nZ(e,t);break;case P.TD:case P.TH:e.tmplInsertionModeStack[0]=R.IN_ROW,e.insertionMode=R.IN_ROW,nq(e,t);break;default:e.tmplInsertionModeStack[0]=R.IN_BODY,e.insertionMode=R.IN_BODY,nR(e,t)}}(this,e);break;case R.AFTER_BODY:e.tagID===P.HTML?nR(this,e):n1(this,e);break;case R.IN_FRAMESET:!function(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.FRAMESET:e._insertElement(t,S.HTML);break;case P.FRAME:e._appendElement(t,S.HTML),t.ackSelfClosing=!0;break;case P.NOFRAMES:nT(e,t)}}(this,e);break;case R.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.NOFRAMES:nT(e,t)}}(this,e);break;case R.AFTER_AFTER_BODY:e.tagID===P.HTML?nR(this,e):n5(this,e);break;case R.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.NOFRAMES:nT(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===P.P||t.tagID===P.BR){n2(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===S.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case R.INITIAL:nv(this,e);break;case R.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===P.HTML||n===P.HEAD||n===P.BODY||n===P.BR)&&nb(e,t)}(this,e);break;case R.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===P.HEAD||n===P.BODY||n===P.HTML||n===P.BR?nE(e,t):e._err(t,b.endTagWithoutMatchingOpenElement)}(this,e);break;case R.IN_HEAD:!function(e,t){switch(t.tagID){case P.HEAD:e.openElements.pop(),e.insertionMode=R.AFTER_HEAD;break;case P.BODY:case P.BR:case P.HTML:nx(e,t);break;case P.TEMPLATE:n_(e,t);break;default:e._err(t,b.endTagWithoutMatchingOpenElement)}}(this,e);break;case R.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case P.NOSCRIPT:e.openElements.pop(),e.insertionMode=R.IN_HEAD;break;case P.BR:nC(e,t);break;default:e._err(t,b.endTagWithoutMatchingOpenElement)}}(this,e);break;case R.AFTER_HEAD:!function(e,t){switch(t.tagID){case P.BODY:case P.HTML:case P.BR:nk(e,t);break;case P.TEMPLATE:n_(e,t);break;default:e._err(t,b.endTagWithoutMatchingOpenElement)}}(this,e);break;case R.IN_BODY:nD(this,e);break;case R.TEXT:e.tagID===P.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case R.IN_TABLE:nH(this,e);break;case R.IN_TABLE_TEXT:nz(this,e);break;case R.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case P.CAPTION:case P.TABLE:e.openElements.hasInTableScope(P.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(P.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,n===P.TABLE&&nH(e,t));break;case P.BODY:case P.COL:case P.COLGROUP:case P.HTML:case P.TBODY:case P.TD:case P.TFOOT:case P.TH:case P.THEAD:case P.TR:break;default:nD(e,t)}}(this,e);break;case R.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case P.COLGROUP:e.openElements.currentTagId===P.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE);break;case P.TEMPLATE:n_(e,t);break;case P.COL:break;default:n$(e,t)}}(this,e);break;case R.IN_TABLE_BODY:nY(this,e);break;case R.IN_ROW:nK(this,e);break;case R.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case P.TD:case P.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_ROW);break;case P.TABLE:case P.TBODY:case P.TFOOT:case P.THEAD:case P.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),nK(e,t));break;case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:break;default:nD(e,t)}}(this,e);break;case R.IN_SELECT:nJ(this,e);break;case R.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===P.CAPTION||n===P.TABLE||n===P.TBODY||n===P.TFOOT||n===P.THEAD||n===P.TR||n===P.TD||n===P.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(P.SELECT),e._resetInsertionMode(),e.onEndTag(t)):nJ(e,t)}(this,e);break;case R.IN_TEMPLATE:e.tagID===P.TEMPLATE&&n_(this,e);break;case R.AFTER_BODY:n0(this,e);break;case R.IN_FRAMESET:e.tagID!==P.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===P.FRAMESET||(this.insertionMode=R.AFTER_FRAMESET));break;case R.AFTER_FRAMESET:e.tagID===P.HTML&&(this.insertionMode=R.AFTER_AFTER_FRAMESET);break;case R.AFTER_AFTER_BODY:n5(this,e)}}onEof(e){switch(this.insertionMode){case R.INITIAL:nv(this,e);break;case R.BEFORE_HTML:nb(this,e);break;case R.BEFORE_HEAD:nE(this,e);break;case R.IN_HEAD:nx(this,e);break;case R.IN_HEAD_NO_SCRIPT:nC(this,e);break;case R.AFTER_HEAD:nk(this,e);break;case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:nM(this,e);break;case R.TEXT:this._err(e,b.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case R.IN_TABLE_TEXT:nz(this,e);break;case R.IN_TEMPLATE:nQ(this,e);break;case R.AFTER_BODY:case R.IN_FRAMESET:case R.AFTER_FRAMESET:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:ny(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
54deAt(0)===v.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.TEXT:case R.IN_COLUMN_GROUP:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:this._insertCharacters(e);break;case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:case R.AFTER_BODY:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:nA(this,e);break;case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:nF(this,e);break;case R.IN_TABLE_TEXT:nj(this,e)}}}function nm(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):nL(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);let n=e.activeFormattingElements.getElementEntry(a),l=n&&o>=3,s=!n||l;s?(l&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}(e,r,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),o&&function(e,t,n){let r=e.treeAdapter.getTagName(t),i=tN(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);i===P.TEMPLATE&&r===S.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,o,i),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o,i.tagID)}(e,r,n)}}function ng(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function ny(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function nv(e,t){e._err(t,b.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,w.QUIRKS),e.insertionMode=R.BEFORE_HTML,e._processToken(t)}function nb(e,t){e._insertFakeRootElement(),e.insertionMode=R.BEFORE_HEAD,e._processToken(t)}function nE(e,t){e._insertFakeElement(O.HEAD,P.HEAD),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD,e._processToken(t)}function nT(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;
54case P.BASE:case P.BASEFONT:case P.BGSOUND:case P.LINK:case P.META:e._appendElement(t,S.HTML),t.ackSelfClosing=!0;break;case P.TITLE:e._switchToTextParsing(t,tF.RCDATA);break;case P.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,tF.RAWTEXT):(e._insertElement(t,S.HTML),e.insertionMode=R.IN_HEAD_NO_SCRIPT);break;case P.NOFRAMES:case P.STYLE:e._switchToTextParsing(t,tF.RAWTEXT);break;case P.SCRIPT:e._switchToTextParsing(t,tF.SCRIPT_DATA);break;case P.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=R.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(R.IN_TEMPLATE);break;case P.HEAD:e._err(t,b.misplacedStartTagForHeadElement);break;default:nx(e,t)}}function n_(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==P.TEMPLATE&&e._err(t,b.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(P.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,b.endTagWithoutMatchingOpenElement)}function nx(e,t){e.openElements.pop(),e.insertionMode=R.AFTER_HEAD,e._processToken(t)}function nC(e,t){let n=t.type===E.EOF?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=R.IN_HEAD,e._processToken(t)}function nk(e,t){e._insertFakeElement(O.BODY,P.BODY),e.insertionMode=R.IN_BODY,nS(e,t)}function nS(e,t){switch(t.type){case E.CHARACTER:nw(e,t);break;case E.WHITESPACE_CHARACTER:nA(e,t);break;case E.COMMENT:ng(e,t);break;case E.START_TAG:nR(e,t);break;case E.END_TAG:nD(e,t);break;case E.EOF:nM(e,t)}}function nA(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function nw(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function nO(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,S.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function nP(e){let t=t_(e,A.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function nI(e,t){e._switchToTextParsing(t,tF.RAWTEXT)}function nN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML)}function nR(e,t){switch(t.tagID){case P.I:case P.S:case P.B:case P.U:case P.EM:case P.TT:case P.BIG:case P.CODE:case P.FONT:case P.SMALL:case P.STRIKE:case P.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case P.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(O.A);n&&(nm(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case P.H1:case P.H2:case P.H3:case P.H4:case P.H5:case P.H6:e.openElements.hasInButtonScope(P.P)&&e._closePElement(),tD(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,S.HTML);break;case P.P:case P.DL:case P.OL:case P.UL:case P.DIV:case P.DIR:case P.NAV:case P.MAIN:case P.MENU:case P.ASIDE:case P.CENTER:case P.FIGURE:case P.FOOTER:case P.HEADER:case P.HGROUP:case P.DIALOG:case P.DETAILS:case P.ADDRESS:case P.ARTICLE:case P.SECTION:case P.SUMMARY:case P.FIELDSET:case P.BLOCKQUOTE:case P.FIGCAPTION:e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._insertElement(t,S.HTML);break;case P.LI:case P.DD:case P.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===P.LI&&r===P.LI||(n===P.DD||n===P.DT)&&(r===P.DD||r===P.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==P.ADDRESS&&r!==P.DIV&&r!==P.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._insertElement(t,S.HTML)}(e,t);break;case P.BR:case P.IMG:case P.WBR:case P.AREA:case P.EMBED:case P.KEYGEN:nO(e,t);break;case P.HR:e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._appendElement(t,S.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case P.RB:case P.RTC:e.openElements.hasInScope(P.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,S.HTML);break;case P.RT:case P.RP:e.openElements.hasInScope(P.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(P.RTC),e._insertElement(t,S.HTML);break;case P.PRE:case P.LISTING:e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._insertElement(t,S.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case P.XMP:e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,tF.RAWTEXT);break;case P.SVG:e._reconstructActiveFormattingElements(),nu(t),nc(t),t.selfClosing?e._appendElement(t,S.SVG):e._insertElement(t,S.SVG),t.ackSelfClosing=!0;break;case P.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case P.BASE:case P.LINK:case P.META:case P.STYLE:case P.TITLE:case P.SCRIPT:case P.BGSOUND:case P.BASE
54FONT:case P.TEMPLATE:nT(e,t);break;case P.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case P.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._insertElement(t,S.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case P.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(P.NOBR)&&(nm(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,S.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case P.MATH:e._reconstructActiveFormattingElements(),ns(t),nc(t),t.selfClosing?e._appendElement(t,S.MATHML):e._insertElement(t,S.MATHML),t.ackSelfClosing=!0;break;case P.TABLE:e.treeAdapter.getDocumentMode(e.document)!==w.QUIRKS&&e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._insertElement(t,S.HTML),e.framesetOk=!1,e.insertionMode=R.IN_TABLE;break;case P.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,S.HTML),nP(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case P.PARAM:case P.TRACK:case P.SOURCE:e._appendElement(t,S.HTML),t.ackSelfClosing=!0;break;case P.IMAGE:t.tagName=O.IMG,t.tagID=P.IMG,nO(e,t);break;case P.BUTTON:e.openElements.hasInScope(P.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(P.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.framesetOk=!1;break;case P.APPLET:case P.OBJECT:case P.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case P.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,tF.RAWTEXT);break;case P.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===R.IN_TABLE||e.insertionMode===R.IN_CAPTION||e.insertionMode===R.IN_TABLE_BODY||e.insertionMode===R.IN_ROW||e.insertionMode===R.IN_CELL?R.IN_SELECT_IN_TABLE:R.IN_SELECT;break;case P.OPTION:case P.OPTGROUP:e.openElements.currentTagId===P.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,S.HTML);break;case P.NOEMBED:nI(e,t);break;case P.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();
54e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,S.HTML),e.insertionMode=R.IN_FRAMESET)}(e,t);break;case P.TEXTAREA:e._insertElement(t,S.HTML),e.skipNextNewLine=!0,e.tokenizer.state=tF.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=R.TEXT;break;case P.NOSCRIPT:e.options.scriptingEnabled?nI(e,t):nN(e,t);break;case P.PLAINTEXT:e.openElements.hasInButtonScope(P.P)&&e._closePElement(),e._insertElement(t,S.HTML),e.tokenizer.state=tF.PLAINTEXT;break;case P.COL:case P.TH:case P.TD:case P.TR:case P.HEAD:case P.FRAME:case P.TBODY:case P.TFOOT:case P.THEAD:case P.CAPTION:case P.COLGROUP:break;default:nN(e,t)}}function nL(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],o=e.openElements.tagIDs[t];if(r===o&&(r!==P.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,o))break}}function nD(e,t){switch(t.tagID){case P.A:case P.B:case P.I:case P.S:case P.U:case P.EM:case P.TT:case P.BIG:case P.CODE:case P.FONT:case P.NOBR:case P.SMALL:case P.STRIKE:case P.STRONG:nm(e,t);break;case P.P:e.openElements.hasInButtonScope(P.P)||e._insertFakeElement(O.P,P.P),e._closePElement();break;case P.DL:case P.UL:case P.OL:case P.DIR:case P.DIV:case P.NAV:case P.PRE:case P.MAIN:case P.MENU:case P.ASIDE:case P.BUTTON:case P.CENTER:case P.FIGURE:case P.FOOTER:case P.HEADER:case P.HGROUP:case P.DIALOG:case P.ADDRESS:case P.ARTICLE:case P.DETAILS:case P.SECTION:case P.SUMMARY:case P.LISTING:case P.FIELDSET:case P.BLOCKQUOTE:case P.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case P.LI:e.openElements.hasInListItemScope(P.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(P.LI),e.openElements.popUntilTagNamePopped(P.LI));break;case P.DD:case P.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case P.H1:case P.H2:case P.H3:case P.H4:case P.H5:case P.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case P.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(O.BR,P.BR),e.openElements.pop(),e.framesetOk=!1;break;case P.BODY:!function(e,t){if(e.openElements.hasInScope(P.BODY)&&(e.insertionMode=R.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case P.HTML:e.openElements.hasInScope(P.BODY)&&(e.insertionMode=R.AFTER_BODY,n0(e,t));break;case P.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(P.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(P.FORM):n&&e.openElements.remove(n))}(e);break;case P.APPLET:case P.OBJECT:case P.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case P.TEMPLATE:n_(e,t);break;default:nL(e,t)}}function nM(e,t){e.tmplInsertionModeStack.length>0?nQ(e,t):ny(e,t)}function nF(e,t){if(nf.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=R.IN_TABLE_TEXT,t.type){case E.CHARACTER:nV(e,t);break;case E.WHITESPACE_CHARACTER:nj(e,t)}else nU(e,t)}function nB(e,t){switch(t.tagID){case P.TD:case P.TH:case P.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(O.TBODY,P.TBODY),e.insertionMode=R.IN_TABLE_BODY,nZ(e,t);break;case P.STYLE:case P.SCRIPT:case P.TEMPLATE:nT(e,t);break;case P.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(O.COLGROUP,P.COLGROUP),e.insertionMode=R.IN_COLUMN_GROUP,nW(e,t);break;case P.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,S.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case P.TABLE:e.openElements.hasInTableScope(P.TABLE)&&(e.openElements.popUntilTagNamePopped(P.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case P.TBODY:case P.TFOOT:case P.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,S.HTML),e.insertionMode=R.IN_TABLE_BODY;break;case P.INPUT:nP(t)?e._appendElement(t,S.HTML):nU(e,t),t.ackSelfClosing=!0;break;case P.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,S.HTML),e.insertionMode=R.IN_CAPTION;break;case P.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,S.HTML),e.insertionMode=R.IN_COLUMN_GROUP;break;default:nU(e,t)}}function nH(e,t){switch(t.tagID){case P.TABLE:e.openElements.hasInTableScope(P.TABLE)&&(e.openElements.popUntilTagNamePopped(P.TABLE),e._resetInsertionMode());break;case P.TEMPLATE:n_(e,t);break;case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:case P.TBODY:case P.TD:case P.TFOOT:case P.TH:case P.THEAD:case P.TR:break;default:nU(e,t)}}function nU(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,nS(e,t),e.fosterParentingEnabled=n}
vendor: 4,969 bytes, line 54
54function nj(e,t){e.pendingCharacterTokens.push(t)}function nV(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function nz(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)nU(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let nG=new Set([P.CAPTION,P.COL,P.COLGROUP,P.TBODY,P.TD,P.TFOOT,P.TH,P.THEAD,P.TR]);function nW(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.COL:e._appendElement(t,S.HTML),t.ackSelfClosing=!0;break;case P.TEMPLATE:nT(e,t);break;default:n$(e,t)}}function n$(e,t){e.openElements.currentTagId===P.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE,e._processToken(t))}function nZ(e,t){switch(t.tagID){case P.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,S.HTML),e.insertionMode=R.IN_ROW;break;case P.TH:case P.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(O.TR,P.TR),e.insertionMode=R.IN_ROW,nq(e,t);break;case P.CAPTION:case P.COL:case P.COLGROUP:case P.TBODY:case P.TFOOT:case P.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,nB(e,t));break;default:nB(e,t)}}function nY(e,t){let n=t.tagID;switch(t.tagID){case P.TBODY:case P.TFOOT:case P.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE);break;case P.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,nH(e,t));break;case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:case P.TD:case P.TH:case P.TR:break;default:nH(e,t)}}function nq(e,t){switch(t.tagID){case P.TH:case P.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,S.HTML),e.insertionMode=R.IN_CELL,e.activeFormattingElements.insertMarker();break;case P.CAPTION:case P.COL:case P.COLGROUP:case P.TBODY:case P.TFOOT:case P.THEAD:case P.TR:e.openElements.hasInTableScope(P.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,nZ(e,t));break;default:nB(e,t)}}function nK(e,t){switch(t.tagID){case P.TR:e.openElements.hasInTableScope(P.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY);break;case P.TABLE:e.openElements.hasInTableScope(P.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,nY(e,t));break;case P.TBODY:case P.TFOOT:case P.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(P.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,nY(e,t));break;case P.BODY:case P.CAPTION:case P.COL:case P.COLGROUP:case P.HTML:case P.TD:case P.TH:break;default:nH(e,t)}}function nX(e,t){switch(t.tagID){case P.HTML:nR(e,t);break;case P.OPTION:e.openElements.currentTagId===P.OPTION&&e.openElements.pop(),e._insertElement(t,S.HTML);break;case P.OPTGROUP:e.openElements.currentTagId===P.OPTION&&e.openElements.pop(),e.openElements.currentTagId===P.OPTGROUP&&e.openElements.pop(),e._insertElement(t,S.HTML);break;case P.INPUT:case P.KEYGEN:case P.TEXTAREA:case P.SELECT:e.openElements.hasInSelectScope(P.SELECT)&&(e.openElements.popUntilTagNamePopped(P.SELECT),e._resetInsertionMode(),t.tagID!==P.SELECT&&e._processStartTag(t));break;case P.SCRIPT:case P.TEMPLATE:nT(e,t)}}function nJ(e,t){switch(t.tagID){case P.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===P.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===P.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===P.OPTGROUP&&e.openElements.pop();break;case P.OPTION:e.openElements.currentTagId===P.OPTION&&e.openElements.pop();break;case P.SELECT:e.openElements.hasInSelectScope(P.SELECT)&&(e.openElements.popUntilTagNamePopped(P.SELECT),e._resetInsertionMode());break;case P.TEMPLATE:n_(e,t)}}function nQ(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(P.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ny(e,t)}function n0(e,t){var n;if(t.tagID===P.HTML){if(e.fragmentContext||(e.insertionMode=R.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===P.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else n1(e,t)}function n1(e,t){e.insertionMode=R.IN_BODY,nS(e,t)}function n5(e,t){e.insertionMode=R.IN_BODY,nS(e,t)}function n2(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==S.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
54penElements.current);)e.openElements.pop()}let n3=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n9(e,t){return function(n){let r;let i=0,o="";for(;r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}null!=String.prototype.codePointAt||((e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),n9(/[&<>'"]/g,n3),n9(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),n9(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),O.AREA,O.BASE,O.BASEFONT,O.BGSOUND,O.BR,O.COL,O.EMBED,O.FRAME,O.HR,O.IMG,O.INPUT,O.KEYGEN,O.LINK,O.META,O.PARAM,O.SOURCE,O.TRACK,O.WBR;let n7=n8("end"),n6=n8("start");function n8(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}let n4=function(e){if(null==e)return rt;if("function"==typeof e)return re(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=n4(e[n]);return re(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):re(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return re(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function re(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function rt(){return!0}let rn=[],rr=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ri=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ro={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function ra(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=(0,tu.z)("type",{handlers:{root:rs,element:ru,text:rc,comment:rf,doctype:rd,raw:rp},unknown:rh}),i={parser:n?new nh(ro):nh.getFragmentParser(void 0,ro),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),rm(i,n6());let o=n?i.parser.document:i.parser.getFragment(),a=function(e,t){let n=t||{};return tn({file:n.file||void 0,location:!1,schema:"svg"===n.space?e5:e1,verbose
54:n.verbose||!1},e)}(o,{file:i.options.file});if(i.stitches){let e;e=function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}},function(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let o=n4(i),a=r?-1:1;(function e(i,l,s){let u=i&&"object"==typeof i?i:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;let c,d,f,p=rn;if((!t||o(i,l,s[s.length-1]||void 0))&&!1===(p=Array.isArray(u=n(i,s))?u:"number"==typeof u?[!0,u]:null==u?rn:[u])[0])return p;if("children"in i&&i.children&&i.children&&"skip"!==p[0])for(d=(r?i.children.length:-1)+a,f=s.concat(i);d>-1&&d<i.children.length;){let t=i.children[d];if(!1===(c=e(t,d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+a}return p}})(e,void 0,[])()}(a,"comment",function(t,n){let r=n[n.length-1],i=r?r.children.indexOf(t):void 0;return e(t,i,r)},void 0)}return"root"===a.type&&1===a.children.length&&a.children[0].type===e.type?a.children[0]:a}function rl(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function rs(e,t){rl(e.children,t)}function ru(e,t){(function(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===tF.PLAINTEXT)return;rm(t,n6(e));let r=t.parser.openElements.current,i="namespaceURI"in r?r.namespaceURI:e4.html;i===e4.html&&"svg"===n&&(i=e4.svg);let o=function(e,t){let n=(t||tc).space;return tf(e,"svg"===n?tl.YP:tl.dy)}({...e,children:[]},{space:i===e4.svg?"svg":"html"}),a={type:E.START_TAG,tagName:n,tagID:tN(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:ry(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n})(e,t),rl(e.children,t),function(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&tm.includes(n)||t.parser.tokenizer.state===tF.PLAINTEXT)return;rm(t,n7(e));let r={type:E.END_TAG,tagName:n,tagID:tN(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:ry(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===tF.RCDATA||t.parser.tokenizer.state===tF.RAWTEXT||t.parser.tokenizer.state===tF.SCRIPT_DATA)&&(t.parser.tokenizer.state=tF.DATA)}(e,t)}function rc(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:E.CHARACTER,chars:e.value,location:ry(e)};rm(t,n6(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rd(e,t){let n={type:E.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ry(e)};rm(t,n6(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rf(e,t){let n=e.value,r={type:E.COMMENT,data:n,location:ry(e)};rm(t,n6(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rp(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,rg(t,n6(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(rr,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function rh(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?W({...e,children:[]}):W(e);if("children"in e&&"children"in n){let r=ra({type:"root",children:e.children},t.options);n.children=r.children}rf({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw ri.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow i
54dea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function rm(e,t){rg(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=tF.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function rg(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function ry(e){let t=n6(e)||{line:void 0,column:void 0,offset:void 0},n=n7(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function rv(e){return function(t,n){let r=ra(t,{...e,file:n});return r}}},2740:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(37462),i=n(54e3);let o={}.hasOwnProperty,a=function(e,t,n,a){let u,c;"string"==typeof t||t instanceof RegExp?(c=[[t,n]],u=a):(c=t,u=n),u||(u={});let d=(0,i.O)(u.ignore||[]),f=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([l(e[n][0]),s(e[n][1])])}else{let n;for(n in e)o.call(e,n)&&t.push([l(n),s(e[n])])}return t}(c),p=-1;for(;++p<f.length;)(0,r.S4)(e,"text",h);return e;function h(e,t){let n,r=-1;for(;++r<t.length;){let e=t[r];if(d(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=f[p][0],i=f[p][1],o=0,a=n.children.indexOf(e),l=!1,s=[];r.lastIndex=0;let u=r.exec(e.value);for(;u;){let n=u.index,a={index:u.index,input:u.input,stack:[...t,e]},c=i(...u,a);if("string"==typeof c&&(c=c.length>0?{type:"text",value:c}:void 0),!1!==c&&(o!==n&&s.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(c)?s.push(...c):c&&s.push(c),o=n+u[0].length,l=!0),!r.global)break;u=r.exec(e.value)}return l?(o<e.value.length&&s.push({type:"text",value:e.value.slice(o)}),n.children.splice(a,1,...s)):s=[e],a+s.length}(e,t)}};function l(e){return"string"==typeof e?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function s(e){return"function"==typeof e?e:()=>e}function u(e){a(e,/\r?\n|\r/g,c)}function c(){return{type:"break"}}function d(){return u}},96538:function(e,t,n){"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},23986:function(e,t,n){"use strict";n.d(t,{m:function(){return R}});var r=/^\[(.+)\]$/;function i(e,t){var n=e;return t.split("-").forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}var o=/\s+/;function a(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){if("string"==typeof t)return t;for(var n,r="",i=0;i<t.length;i++)t[i]&&(n=e(t[i]))&&(r&&(r+=" "),r+=n);return r}(e))&&(r&&(r+=" "),r+=t);return r}function l(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var s=/^\[(?:([a-z-]+):)?(.+)\]$/i,u=/^\d+\/\d+$/,c=new Set(["px","full","screen"]),d=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,f=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,p=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function h(e){return E(e)||c.has(e)||u.test(e)||m(e)}function m(e){return A(e,"length",w)}function g(e){return A(e,"size",O)}function y(e){return A(e,"position",O)}function v(e){return A(e,"url",P)}function b(e){return A(e,"number",E)}function E(e){return!Number.isNaN(Number(e))}function T(e){return e.endsWith("%")&&E(e.slice(0,-1))}function _(e){return I(e)||A(e,"number",I)}function x(e){return s.test(e)}function C(){return!0}function k(e){return d.test(e)}function S(e){return A(e,"",N)}function A(e,t,n){var r=s.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function w(e){return f.test(e)}function O(){return!1}function P(e){return e.startsWith("url(")}function I(e){return Number.isInteger(Number(e))}function N(e){return p.test(e)}var R=function(){for(var e,t,n,l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];var c=function(o){var a=s[0];return t=(e=function(e){var t,n,o,a,l,s,u,c,d,f,p;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(n=1===(t=e.separator||":").length,o=t[0],a=t.length,function(e){for(var r,i=[],l=0,s=0,u=0;u<e.length;u++){var c=e[u];if(0===l){if(c===o&&(n||e.slice(u,u+a)===t)){i.push(e.slice(s,u)),s=u+a;continue}if("/"===c){r=u;continue}}"["===c?l++:"]"===c&&l--}var d=0===i.length?e:e.substring(s),f=d.startsWith("!"),p=f?d.substring(1):d;return{modifiers:i,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:r&&r>s?r-s:void 0}}),...(c=e.theme,d=e.prefix,f={nextPart:new Map,validators:[]},(p=Object.entries(e.classGroups),d?p.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?d+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[d+e[0],e[1]]})):e})]}
54):p).forEach(function(e){var t=e[0];(function e(t,n,r,o){t.forEach(function(t){if("string"==typeof t){(""===t?n:i(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(o),n,r,o);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(function(t){var a=t[0];e(t[1],i(n,a),r,o)})})})(e[1],f,t,c)}),l=e.conflictingClassGroups,u=void 0===(s=e.conflictingClassGroupModifiers)?{}:s,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,n){if(0===t.length)return n.classGroupId;var r=t[0],i=n.nextPart.get(r),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0!==n.validators.length){var a=t.join("-");return n.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(t,f)||function(e){if(r.test(e)){var t=r.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var n=l[e]||[];return t&&u[e]?[].concat(n,u[e]):n}})}}(s.slice(1).reduce(function(e,t){return t(e)},a()))).cache.get,n=e.cache.set,c=d,d(o)};function d(r){var i,a,l,s,u,c=t(r);if(c)return c;var d=(a=(i=e).splitModifiers,l=i.getClassGroupId,s=i.getConflictingClassGroupIds,u=new Set,r.trim().split(o).map(function(e){var t=a(e),n=t.modifiers,r
54=t.hasImportantModifier,i=t.baseClassName,o=t.maybePostfixModifierPosition,s=l(o?i.substring(0,o):i),u=!!o;if(!s){if(!o||!(s=l(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t})(n).join(":");return{isTailwindClass:!0,modifierId:r?c+"!":c,classGroupId:s,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,i=t+n;return!u.has(i)&&(u.add(i),s(n,r).forEach(function(e){return u.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return n(r,d),d}return function(){return c(a.apply(null,arguments))}}(function(){var e=l("colors"),t=l("spacing"),n=l("blur"),r=l("brightness"),i=l("borderColor"),o=l("borderRadius"),a=l("borderSpacing"),s=l("borderWidth"),u=l("contrast"),c=l("grayscale"),d=l("hueRotate"),f=l("invert"),p=l("gap"),A=l("gradientColorStops"),w=l("gradientColorStopPositions"),O=l("inset"),P=l("margin"),I=l("opacity"),N=l("padding"),R=l("saturate"),L=l("scale"),D=l("sepia"),M=l("skew"),F=l("space"),B=l("translate"),H=function(){return["auto","contain","none"]},U=function(){return["auto","hidden","clip","visible","scroll"]},j=function(){return["auto",x,t]},V=function(){return[x,t]},z=function(){return["",h]},G=function(){return["auto",E,x]},W=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},$=function(){return["solid","dashed","dotted","double","none"]},Z=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},Y=function(){return["start","end","center","between","around","evenly","stretch"]},q=function(){return["","0",x]},K=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},X=function(){return[E,b]},J=function(){return[E,x]};return{cacheSize:500,theme:{colors:[C],spacing:[h],blur:["none","",k,x],brightness:X(),borderColor:[e],borderRadius:["none","","full",k,x],borderSpacing:V(),borderWidth:z(),contrast:X(),grayscale:q(),hueRotate:J(),invert:q(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[T,m],inset:j(),margin:j(),opacity:X(),padding:V(),saturate:X(),scale:X(),sepia:q(),skew:J(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(W(),[x])}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[O]}],"inset-x":[{"inset-x":[O]}],"inset-y":[{"inset-y":[O]}],start:[{start:[O]}],end:[{end:[O]}],top:[{top:[O]}],right:[{right:[O]}],bottom:[{bottom:[O]}],left:[{left:[O]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",x]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",_]}],"grid-cols":[{"grid-cols":[C]}],"col-start-end":[{col:["auto",{span:["full",_]},x]}],"col-start":[{"col-start":G()}
vendor: 4,942 bytes, line 54
54],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[C]}],"row-start-end":[{row:["auto",{span:[_]},x]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",x]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",x]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(Y())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(Y(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(Y(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",x,t]}],"min-w":[{"min-w":["min","max","fit",x,h]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[k]},k,x]}],h:[{h:[x,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",x,h]}],"max-h":[{"max-h":[x,t,"min","max","fit"]}],"font-size":[{text:["base",k,m]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",b]}],"font-family":[{font:[C]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",x]}],"line-clamp":[{"line-clamp":["none",E,b]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,h]}],"list-image":[{"list-image":["none",x]}],"list-style-type":[{list:["none","disc","decimal",x]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat($(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",h]}],"underline-offset":[{"underline-offset":["auto",x,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",x]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(W(),[y])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",g]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},v]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}
vendor: 4,175 bytes, line 54
54],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[].concat($(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:$()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat($())}],"outline-offset":[{"outline-offset":[x,h]}],"outline-w":[{outline:[h]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[h]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,S]}],"shadow-color":[{shadow:[C]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":Z()}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,x]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[R]}],sepia:[{sepia:[D]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",x]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[_,x]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",x]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",x]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
54],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",x]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[h,b]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},54e3:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=function(e){if(null==e)return o;if("string"==typeof e)return i(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):i(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("function"==typeof e)return i(e);throw Error("Expected function, string, or object as test")};function i(e){return function(t,...n){return!!(t&&"object"==typeof t&&"type"in t&&e.call(this,t,...n))}}function o(){return!0}},37462:function(e,t,n){"use strict";n.d(t,{S4:function(){return i}});var r=n(54e3);let i=function(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null);let o=(0,r.O)(t),a=i?-1:1;(function e(r,l,s){let u=r&&"object"==typeof r?r:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;let c,d,f,p=[];if((!t||o(r,l,s[s.length-1]||null))&&!1===(p=Array.isArray(u=n(r,s))?u:"number"==typeof u?[!0,u]:[u])[0])return p;if(r.children&&"skip"!==p[0])for(d=(i?r.children.length:-1)+a,f=s.concat(r);d>-1&&d<r.children.length;){if(!1===(c=e(r.children[d],d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+a}return p}})(e,void 0,[])()}},86945:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let o=i.invalid,a=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);o=r.call(a,n)?a[n]:i.unknown}if(o)return o.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.