PageSourceSearch

https://www.suffolk.gov.uk/_MhbRBA_829a4046-614e-48e6-ae16-7779eae…/modern/js/1849.78e0146c603a845ec755.mjs

js suffolk.gov.uk collected 2026-10-01 09:18:32 UTC 213,913 bytes, 71 lines download raw bytes

1"use strict";var rs=Object.defineProperty,is=Object.defineProperties;var os=Object.getOwnPropertyDescriptors;var Sr=Object.getOwnPropertySymbols;var co=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable;var po=Math.pow,uo=(Ie,te,V)=>te in Ie?rs(Ie,te,{enumerable:!0,configurable:!0,writable:!0,value:V}):Ie[te]=V,re=(Ie,te)=>{for(var V in te||(te={}))co.call(te,V)&&uo(Ie,V,te[V]);if(Sr)for(var V of Sr(te))fo.call(te,V)&&uo(Ie,V,te[V]);return Ie},ln=(Ie,te)=>is(Ie,os(te));var Er=(Ie,te)=>{var V={};for(var k in Ie)co.call(Ie,k)&&te.indexOf(k)<0&&(V[k]=Ie[k]);if(Ie!=null&&Sr)for(var k of Sr(Ie))te.indexOf(k)<0&&fo.call(Ie,k)&&(V[k]=Ie[k]);return V};var mn=(Ie,te,V)=>new Promise((k,Ve)=>{var Be=ke=>{try{Ae(V.next(ke))}catch(ze){Ve(ze)}},we=ke=>{try{Ae(V.throw(ke))}catch(ze){Ve(ze)}},Ae=ke=>ke.done?k(ke.value):Promise.resolve(ke.value).then(Be,we);Ae((V=V.apply(Ie,te)).next())});(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1849],{14310:(Ie,te,V)=>{V.d(te,{ZP:()=>xt});const k=-1,Ve=0,Be=1,we=2,Ae=3,ke=4,ze=5,X=6,B=7,ue=8,ge=typeof self=="object"?self:globalThis,ct=(Se,ye)=>{const Z=(R,ie)=>(Se.set(ie,R),R),tt=R=>{if(Se.has(R))return Se.get(R);const[ie,$]=ye[R];switch(ie){case Ve:case k:return Z($,R);case Be:{const S=Z([],R);for(const z of $)S.push(tt(z));return S}case we:{const S=Z({},R);for(const[z,Oe]of $)S[tt(z)]=tt(Oe);return S}case Ae:return Z(new Date($),R);case ke:{const{source:S,flags:z}=$;return Z(new RegExp(S,z),R)}case ze:{const S=Z(new Map,R);for(const[z,Oe]of $)S.set(tt(z),tt(Oe));return S}case X:{const S=Z(new Set,R);for(const z of $)S.add(tt(z));return S}case B:{const{name:S,message:z}=$;return Z(new ge[S](z),R)}case ue:return Z(BigInt($),R);case"BigInt":return Z(Object(BigInt($)),R)}return Z(new ge[ie]($),R)};return tt},_e=Se=>ct(new Map,Se)(0),Ne="",{toString:ve}={},{keys:pt}=Object,Ye=Se=>{const ye=typeof Se;if(ye!=="object"||!Se)return[Ve,ye];const Z=ve.call(Se).slice(8,-1);switch(Z){case"Array":return[Be,Ne];case"Object":return[we,Ne];case"Date":return[Ae,Ne];case"RegExp":return[ke,Ne];case"Map":return[ze,Ne];case"Set":return[X,Ne]}return Z.includes("Array")?[Be,Z]:Z.includes("Error")?[B,Z]:[we,Z]},et=([Se,ye])=>Se===Ve&&(ye==="function"||ye==="symbol"),kt=(Se,ye,Z,tt)=>{const R=($,S)=>{const z=tt.push($)-1;return Z.set(S,z),z},ie=$=>{if(Z.has($))return Z.get($);let[S,z]=Ye($);switch(S){case Ve:{let Q=$;switch(z){case"bigint":S=ue,Q=$.toString();break;case"function":case"symbol":if(Se)throw new TypeError("unable to serialize "+z);Q=null;break;case"undefined":return R([k],$)}return R([S,Q],$)}case Be:{if(z)return R([z,[...$]],$);const Q=[],nt=R([S,Q],$);for(const Ze of $)Q.push(ie(Ze));return nt}case we:{if(z)switch(z){case"BigInt":return R([z,$.toString()],$);case"Boolean":case"Number":case"String":return R([z,$.valueOf()],$)}if(ye&&"toJSON"in $)return ie($.toJSON());const Q=[],nt=R([S,Q],$);for(const Ze of pt($))(Se||!et(Ye($[Ze])))&&Q.push([ie(Ze),ie($[Ze])]);return nt}case Ae:return R([S,$.toISOString()],$);case ke:{const{source:Q,flags:nt}=$;return R([S,{source:Q,flags:nt}],$)}case ze:{const Q=[],nt=R([S,Q],$);for(const[Ze,E]of $)(Se||!(et(Ye(Ze))||et(Ye(E))))&&Q.push([ie(Ze),ie(E)]);return nt}case X:{const Q=[],nt=R([S,Q],$);for(const Ze of $)(Se||!et(Ye(Ze)))&&Q.push(ie(Ze));return nt}}const{message:Oe}=$;return R([S,{name:z,message:Oe}],$)};return ie},It=(Se,{json:ye,lossy:Z}={})=>{const tt=[];return kt(!(ye||Z),!!ye,new Map,tt)(Se),tt},xt=typeof structuredClone=="function"?(Se,ye)=>ye&&("json"in ye||"lossy"in ye)?_e(It(Se,ye)):structuredClone(Se):(Se,ye)=>_e(It(Se,ye))},94470:Ie=>{var te=Object.prototype.hasOwnProperty,V=Object.prototype.toString,k=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,Be=function(X){return typeof Array.isArray=="function"?Array.isArray(X):V.call(X)==="[object Array]"},we=function(X){if(!X||V.call(X)!=="[object Object]")return!1;var B=te.call(X,"constructor"),ue=X.constructor&&X.constructor.prototype&&te.call(X.constructor.prototype,"isPrototypeOf");if(X.constructor&&!B&&!ue)return!1;var ge;for(ge in X);return typeof ge=="undefined"||te.call(X,ge)},Ae=function(X,B){k&&B.name==="__proto__"?k(X,B.name,{enumerable:!0,configurable:!0,value:B.newValue,writable:!0}):X[B.name]=B.newValue},ke=function(X,B){if(B==="__proto__")if(te.call(X,B)){if(Ve)return Ve(X,B).value}else return;return X[B]};Ie.exports=function ze(){var X,B,ue,ge,ct,_e,Ne=arguments[0],ve=1,pt=arguments.length,Ye=!1;for(typeof Ne=="boolean"&&(Ye=Ne,Ne=arguments[1]||{},ve=2),(Ne==null||typeof Ne!="object"&&typeof Ne!="function")&&(Ne={});ve<pt;++ve)if(X=arguments[ve],X!=null)for(B in X)ue=ke(Ne,B),ge=ke(X,B),Ne!==ge&&(Ye&&ge&&(we(ge)||(ct=Be(ge)))?(ct?(ct=!1,_e=ue&&Be(ue)?ue:[]):_e=ue&&we(ue)?ue:{},Ae(Ne,{name:B,newValue:ze(Ye,_e,ge)})):typeof ge!="undefined"&&Ae(Ne,{name:B,newValue:ge}));return Ne}},8264:(Ie,te,V)=>{V.d(te,{O:()=>Gr});var k=V(67294),Ve=V(73935),Be=function(){return Be=Object.assign||function(a){for(var u,f=1,b=arguments.length;f<b;f++)for(var v in u=arguments[f])Object.prototype.hasOwnProperty.call(u,v)&&(a[v]=u[v]);return a},Be.apply(this,arguments)},we,Ae=function(a){var u;a?function(f){if(f)for(;f.lastChild;)f.lastChild.remove()}
1(typeof a=="string"?document.getElementById(a):a):(u=document.querySelector(".grecaptcha-badge"))&&u.parentNode&&document.body.removeChild(u.parentNode)},ke=function(a,u){Ae(u),window.___grecaptcha_cfg=void 0;var f=document.querySelector("#"+a);f&&f.remove(),function(){var b=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');b&&b.remove()}()},ze=function(a){var u=a.render,f=a.onLoadCallbackName,b=a.language,v=a.onLoad,g=a.useRecaptchaNet,A=a.useEnterprise,O=a.scriptProps,_=O===void 0?{}:O,D=_.nonce,T=D===void 0?"":D,Y=_.defer,Te=Y!==void 0&&Y,G=_.async,Re=G!==void 0&&G,ce=_.id,De=ce===void 0?"":ce,lt=_.appendTo,We=De||"google-recaptcha-v3";if(function(Fe){return!!document.querySelector("#"+Fe)}(We))v();else{var it=function(Fe){return"https://www."+(Fe.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(Fe.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:A,useRecaptchaNet:g}),Ue=document.createElement("script");Ue.id=We,Ue.src=it+"?render="+u+(u==="explicit"?"&onload="+f:"")+(b?"&hl="+b:""),T&&(Ue.nonce=T),Ue.defer=!!Te,Ue.async=!!Re,Ue.onload=v,(lt==="body"?document.body:document.getElementsByTagName("head")[0]).appendChild(Ue)}},X=function(a){typeof process<"u"&&process.env&&!1||console.warn(a)};(function(a){a.SCRIPT_NOT_AVAILABLE="Recaptcha script is not available"})(we||(we={}));var B=(0,k.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});B.Consumer;function ue(a){var u=a.reCaptchaKey,f=a.useEnterprise,b=f!==void 0&&f,v=a.useRecaptchaNet,g=v!==void 0&&v,A=a.scriptProps,O=a.language,_=a.container,D=a.children,T=(0,k.useState)(null),Y=T[0],Te=T[1],G=(0,k.useRef)(u),Re=JSON.stringify(A),ce=JSON.stringify(_==null?void 0:_.parameters);(0,k.useEffect)(function(){if(u){var We=(A==null?void 0:A.id)||"google-recaptcha-v3",it=(A==null?void 0:A.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[it]=function(){var Ue=b?window.grecaptcha.enterprise:window.grecaptcha,Fe=Be({badge:"inline",size:"invisible",sitekey:u},(_==null?void 0:_.parameters)||{});G.current=Ue.render(_==null?void 0:_.element,Fe)},ze({render:_!=null&&_.element?"explicit":u,onLoadCallbackName:it,useEnterprise:b,useRecaptchaNet:g,scriptProps:A,language:O,onLoad:function(){if(window&&window.grecaptcha){var Ue=b?window.grecaptcha.enterprise:window.grecaptcha;Ue.ready(function(){Te(Ue)})}else X("<GoogleRecaptchaProvider /> "+we.SCRIPT_NOT_AVAILABLE)}}),function(){ke(We,_==null?void 0:_.element)}}X("<GoogleReCaptchaProvider /> recaptcha key not provided")},[b,g,Re,ce,O,u,_==null?void 0:_.element]);var De=(0,k.useCallback)(function(We){if(!Y||!Y.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return Y.execute(G.current,{action:We})},[Y,G]),lt=(0,k.useMemo)(function(){return{executeRecaptcha:Y?De:void 0,container:_==null?void 0:_.element}},[De,Y,_==null?void 0:_.element]);return k.createElement(B.Provider,{value:lt},D)}var ge=function(){return(0,k.useContext)(B)};function ct(a,u){return a(u={exports:{}},u.exports),u.exports}var _e=typeof Symbol=="function"&&Symbol.for,Ne=_e?Symbol.for("react.element"):60103,ve=_e?Symbol.for("react.portal"):60106,pt=_e?Symbol.for("react.fragment"):60107,Ye=_e?Symbol.for("react.strict_mode"):60108,et=_e?Symbol.for("react.profiler"):60114,kt=_e?Symbol.for("react.provider"):60109,It=_e?Symbol.for("react.context"):60110,xt=_e?Symbol.for("react.async_mode"):60111,Se=_e?Symbol.for("react.concurrent_mode"):60111,ye=_e?Symbol.for("react.forward_ref"):60112,Z=_e?Symbol.for("react.suspense"):60113,tt=_e?Symbol.for("react.suspense_list"):60120,R=_e?Symbol.for("react.memo"):60115,ie=_e?Symbol.for("react.lazy"):60116,$=_e?Symbol.for("react.block"):60121,S=_e?Symbol.for("react.fundamental"):60117,z=_e?Symbol.for("react.responder"):60118,Oe=_e?Symbol.for("react.scope"):60119;function Q(a){if(typeof a=="object"&&a!==null){var u=a.$$typeof;switch(u){case Ne:switch(a=a.type){case xt:case Se:case pt:case et:case Ye:case Z:return a;default:switch(a=a&&a.$$typeof){case It:case ye:case ie:case R:case kt:return a;default:return u}}case ve:return u}}}function nt(a){return Q(a)===Se}var Ze={AsyncMode:xt,ConcurrentMode:Se,ContextConsumer:It,ContextProvider:kt,Element:Ne,ForwardRef:ye,Fragment:pt,Lazy:ie,Memo:R,Portal:ve,Profiler:et,StrictMode:Ye,Suspense:Z,isAsyncMode:function(a){return nt(a)||Q(a)===xt},isConcurrentMode:nt,isContextConsumer:function(a){return Q(a)===It},isContextProvider:function(a){return Q(a)===kt},isElement:function(a){return typeof a=="object"&&a!==null&&a.$$typeof===Ne},isForwardRef:function(a){return Q(a)===ye},isFragment:function(a){return Q(a)===pt},isLazy:function(a){return Q(a)===ie},isMemo:function(a){return Q(a)===R},isPortal:function(a){return Q(a)===ve},isProfiler:function(a){return Q(a)===et},isStrictMode:function(a){return Q(a)===Ye},isSuspense:function(a){return Q(a)===Z}
1,isValidElementType:function(a){return typeof a=="string"||typeof a=="function"||a===pt||a===Se||a===et||a===Ye||a===Z||a===tt||typeof a=="object"&&a!==null&&(a.$$typeof===ie||a.$$typeof===R||a.$$typeof===kt||a.$$typeof===It||a.$$typeof===ye||a.$$typeof===S||a.$$typeof===z||a.$$typeof===Oe||a.$$typeof===$)},typeOf:Q},E=ct(function(a,u){}),J=(E.AsyncMode,E.ConcurrentMode,E.ContextConsumer,E.ContextProvider,E.Element,E.ForwardRef,E.Fragment,E.Lazy,E.Memo,E.Portal,E.Profiler,E.StrictMode,E.Suspense,E.isAsyncMode,E.isConcurrentMode,E.isContextConsumer,E.isContextProvider,E.isElement,E.isForwardRef,E.isFragment,E.isLazy,E.isMemo,E.isPortal,E.isProfiler,E.isStrictMode,E.isSuspense,E.isValidElementType,E.typeOf,ct(function(a){a.exports=Ze})),U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},le={};le[J.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},le[J.Memo]=U;var je=(0,k.createContext)(null),me=function(a){var u=a.children,f=a.baseUrl,b=f===void 0?"http://rag-api.insytful.com/api/v1":f,v=a.config,g=a.recaptchaSiteKey,A=k.createElement(je.Provider,{value:{config:v,baseUrl:b,recaptchaSiteKey:g}},u);return g?k.createElement(ue,{reCaptchaKey:g,scriptProps:{async:!0,defer:!0,appendTo:"head"}},A):A},Lt=function(){var a=(0,k.useContext)(je);if(!a)throw new Error("useRAGConfig must be used within RAGProvider");return a};function $t(a,u,f,b){return new(f||(f=Promise))(function(v,g){function A(D){try{_(b.next(D))}catch(T){g(T)}}function O(D){try{_(b.throw(D))}catch(T){g(T)}}function _(D){var T;D.done?v(D.value):(T=D.value,T instanceof f?T:new f(function(Y){Y(T)})).then(A,O)}_((b=b.apply(a,[])).next())})}function rt(a,u){var f,b,v,g={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]},A=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return A.next=O(0),A.throw=O(1),A.return=O(2),typeof Symbol=="function"&&(A[Symbol.iterator]=function(){return this}),A;function O(_){return function(D){return function(T){if(f)throw new TypeError("Generator is already executing.");for(;A&&(A=0,T[0]&&(g=0)),g;)try{if(f=1,b&&(v=2&T[0]?b.return:T[0]?b.throw||((v=b.return)&&v.call(b),0):b.next)&&!(v=v.call(b,T[1])).done)return v;switch(b=0,v&&(T=[2&T[0],v.value]),T[0]){case 0:case 1:v=T;break;case 4:return g.label++,{value:T[1],done:!1};case 5:g.label++,b=T[1],T=[0];continue;case 7:T=g.ops.pop(),g.trys.pop();continue;default:if(v=g.trys,!((v=v.length>0&&v[v.length-1])||T[0]!==6&&T[0]!==2)){g=0;continue}if(T[0]===3&&(!v||T[1]>v[0]&&T[1]<v[3])){g.label=T[1];break}if(T[0]===6&&g.label<v[1]){g.label=v[1],v=T;break}if(v&&g.label<v[2]){g.label=v[2],g.ops.push(T);break}v[2]&&g.ops.pop(),g.trys.pop();continue}T=u.call(a,g)}catch(Y){T=[6,Y],b=0}finally{f=v=0}if(5&T[0])throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}([_,D])}}}function dt(a,u,f){if(f||arguments.length===2)for(var b,v=0,g=u.length;v<g;v++)!b&&v in u||(b||(b=Array.prototype.slice.call(u,0,v)),b[v]=u[v]);return a.concat(b||Array.prototype.slice.call(u))}var vt=function(a,u,f){var b=(0,k.useState)([]),v=b[0],g=b[1],A=(0,k.useState)(!1),O=A[0],_=A[1],D=(0,k.useState)(null),T=D[0],Y=D[1],Te=(0,k.useCallback)(function(G,Re){return $t(void 0,void 0,void 0,function(){var ce,De,lt,We,it,Ue,Fe,se,ot,gt,Tt,Ct,bt,I,N,j,ne,ae,xe,ee,Ee,fe;return rt(this,function(Le){switch(Le.label){case 0:if(ce=null,!f)return[3,5];Le.label=1;case 1:return Le.trys.push([1,4,,5]),(De=ge().executeRecaptcha)?[4,De("rag_search")]:[3,3];case 2:ce=Le.sent(),Le.label=3;case 3:return[3,5];case 4:return Le.sent(),console.warn("reCAPTCHA skipped: no provider found"),[3,5];case 5:g(function(st){return dt(dt([],st,!0),[{role:"user",content:G}],!1)}),_(!0),Y(null),Le.label=6;case 6:return Le.trys.push([6,17,,18]),lt=new URLSearchParams({question:G,config:a,history:String(!0),stream:String(!0)}),Re&&(Re==null?void 0:Re.length)>=1&&lt.set("sections",Re.join(",")),We=lt.toString(),it=new Headers({Accept:"text/event-stream"}),ce&&it.append("X-Recaptcha-Token",ce),(Ue=localStorage.getItem("rag-session-id"))&&it.append("X-Session-Id",Ue),[4,fetch("".concat(u,"/query-collection?").concat(We),{method:"GET",headers:it})];case 7:if((Fe=Le.sent()).ok)return[3,13];se="Request failed (".concat(Fe.status,")"),Le.label=8;case 8:return Le.trys.push([8,10,,12]),[4,Fe.json()];case 9:return ee=Le.sent(),se=(fe=ee==null?void 0:ee.message)!==null&&fe!==void 0?fe:se,[3,12];case 10:return Le.sent(),[4,Fe.text()];case 11:return(ot=Le.sent())&&(se=ot),[3,12];case 12:throw new Error(se);case 13:if(Fe.headers.has("X-Session-Id")&&localStorage.setItem("rag-session-id",Fe.headers.get("X-Session-Id")),!Fe.body)throw new Error("No response body");gt=Fe.body.getReader(),Tt=new TextDecoder("utf-8"),Ct="",bt="",g(function(st){return dt(dt([],st,!0),[{role:"assistant",content:""}],!1)}),Le.label=14;case 14:return[4,gt.read()];
1case 15:if(I=Le.sent(),N=I.value,I.done)return[3,16];for(Ct+=Tt.decode(N,{stream:!0}),j=Ct.split(`
2
3`),Ct=j.pop()||"",ne=0,ae=j;ne<ae.length;ne++){if((xe=ae[ne]).startsWith("event: done"))return _(!1),[2];if(xe.startsWith("data:"))try{(ee=JSON.parse(xe.replace("data: ","")))!=null&&ee.content&&(bt+=ee.content,g(function(st){var yt=dt([],st,!0);return yt[yt.length-1]={role:"assistant",content:bt},yt}))}catch(st){console.error("Failed to parse SSE chunk",st,xe)}}return[3,14];case 16:return _(!1),[3,18];case 17:return Ee=Le.sent(),console.error(Ee),Y(Ee.message||"Something went wrong"),_(!1),[3,18];case 18:return[2]}})})},[a,u]);return{messages:v,loading:O,error:T,ask:Te}},_t=function(){var a=Lt(),u=a.config,f=a.baseUrl,b=a.recaptchaSiteKey;return vt(u,f,b)};function Ft(a){const u=(0,k.createContext)(null);function f(v){const g=(0,k.useContext)(u);if(g===null)throw new Error(`<${v}> must be used within <${a}>`);return g}function b(){return(0,k.useContext)(u)}return[u.Provider,f,b]}const[St,Qe]=Ft("Search.Root"),[Pt,nn,qt]=Ft("Search.Modes");function gn({prop:a,defaultProp:u,onChange:f}){const b=a!==void 0,[v,g]=(0,k.useState)(u),A=b?a:v,O=(0,k.useRef)(f);(0,k.useEffect)(()=>{O.current=f},[f]);const _=(0,k.useRef)(A);(0,k.useEffect)(()=>{_.current=A},[A]);const D=(0,k.useCallback)(T=>{var Te;const Y=typeof T=="function"?T(_.current):T;b||g(Y),(Te=O.current)==null||Te.call(O,Y)},[b]);return[A,D]}var qn=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],En=qn.join(","),Gn=typeof Element>"u",Zt=Gn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,yn=!Gn&&Element.prototype.getRootNode?function(a){var u;return a==null||(u=a.getRootNode)===null||u===void 0?void 0:u.call(a)}:function(a){return a==null?void 0:a.ownerDocument},xn=function(a,u){var f;u===void 0&&(u=!0);var b=a==null||(f=a.getAttribute)===null||f===void 0?void 0:f.call(a,"inert"),v=b===""||b==="true",g=v||u&&a&&(typeof a.closest=="function"?a.closest("[inert]"):xn(a.parentNode));return g},Yn=function(a){var u,f=a==null||(u=a.getAttribute)===null||u===void 0?void 0:u.call(a,"contenteditable");return f===""||f==="true"},Cn=function(a,u,f){if(xn(a))return[];var b=Array.prototype.slice.apply(a.querySelectorAll(En));return u&&Zt.call(a,En)&&b.unshift(a),b=b.filter(f),b},In=function(a,u,f){for(var b=[],v=Array.from(a);v.length;){var g=v.shift();if(!xn(g,!1))if(g.tagName==="SLOT"){var A=g.assignedElements(),O=A.length?A:g.children,_=In(O,!0,f);f.flatten?b.push.apply(b,_):b.push({scopeParent:g,candidates:_})}else{var D=Zt.call(g,En);D&&f.filter(g)&&(u||!a.includes(g))&&b.push(g);var T=g.shadowRoot||typeof f.getShadowRoot=="function"&&f.getShadowRoot(g),Y=!xn(T,!1)&&(!f.shadowRootFilter||f.shadowRootFilter(g));if(T&&Y){var Te=In(T===!0?g.children:T.children,!0,f);f.flatten?b.push.apply(b,Te):b.push({scopeParent:g,candidates:Te})}else v.unshift.apply(v,g.children)}}return b},Wn=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},jt=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||Yn(a))&&!Wn(a)?0:a.tabIndex},Xn=function(a,u){var f=jt(a);return f<0&&u&&!Wn(a)?0:f},Kn=function(a,u){return a.tabIndex===u.tabIndex?a.documentOrder-u.documentOrder:a.tabIndex-u.tabIndex},ht=function(a){return a.tagName==="INPUT"},_n=function(a){return ht(a)&&a.type==="hidden"},Cr=function(a){var u=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(f){return f.tagName==="SUMMARY"});return u},Ir=function(a,u){for(var f=0;f<a.length;f++)if(a[f].checked&&a[f].form===u)return a[f]}
vendor: 15,967 bytes, lines 3-5
3,_r=function(a){if(!a.name)return!0;var u=a.form||yn(a),f=function(g){return u.querySelectorAll('input[type="radio"][name="'+g+'"]')},b;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")b=f(window.CSS.escape(a.name));else try{b=f(a.name)}catch(g){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",g.message),!1}var v=Ir(b,a.form);return!v||v===a},Nr=function(a){return ht(a)&&a.type==="radio"},Zn=function(a){return Nr(a)&&!_r(a)},Tr=function(a){var u,f=a&&yn(a),b=(u=f)===null||u===void 0?void 0:u.host,v=!1;if(f&&f!==a){var g,A,O;for(v=!!((g=b)!==null&&g!==void 0&&(A=g.ownerDocument)!==null&&A!==void 0&&A.contains(b)||a!=null&&(O=a.ownerDocument)!==null&&O!==void 0&&O.contains(a));!v&&b;){var _,D,T;f=yn(b),b=(_=f)===null||_===void 0?void 0:_.host,v=!!((D=b)!==null&&D!==void 0&&(T=D.ownerDocument)!==null&&T!==void 0&&T.contains(b))}}return v},Nn=function(a){var u=a.getBoundingClientRect(),f=u.width,b=u.height;return f===0&&b===0},Ar=function(a,u){var f=u.displayCheck,b=u.getShadowRoot;if(f==="full-native"&&"checkVisibility"in a){var v=a.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!v}if(getComputedStyle(a).visibility==="hidden")return!0;var g=Zt.call(a,"details>summary:first-of-type"),A=g?a.parentElement:a;if(Zt.call(A,"details:not([open]) *"))return!0;if(!f||f==="full"||f==="full-native"||f==="legacy-full"){if(typeof b=="function"){for(var O=a;a;){var _=a.parentElement,D=yn(a);if(_&&!_.shadowRoot&&b(_)===!0)return Nn(a);a.assignedSlot?a=a.assignedSlot:!_&&D!==a.ownerDocument?a=D.host:a=_}a=O}if(Tr(a))return!a.getClientRects().length;if(f!=="legacy-full")return!0}else if(f==="non-zero-area")return Nn(a);return!1},Pr=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var u=a.parentElement;u;){if(u.tagName==="FIELDSET"&&u.disabled){for(var f=0;f<u.children.length;f++){var b=u.children.item(f);if(b.tagName==="LEGEND")return Zt.call(u,"fieldset[disabled] *")?!0:!b.contains(a)}return!0}u=u.parentElement}return!1},bn=function(a,u){return!(u.disabled||_n(u)||Ar(u,a)||Cr(u)||Pr(u))},Tn=function(a,u){return!(Zn(u)||jt(u)<0||!bn(a,u))},zr=function(a){var u=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(u)||u>=0)},Qn=function(a){var u=[],f=[];return a.forEach(function(b,v){var g=!!b.scopeParent,A=g?b.scopeParent:b,O=Xn(A,g),_=g?Qn(b.candidates):A;O===0?g?u.push.apply(u,_):u.push(A):f.push({documentOrder:v,tabIndex:O,item:b,isScope:g,content:_})}),f.sort(Kn).reduce(function(b,v){return v.isScope?b.push.apply(b,v.content):b.push(v.content),b},[]).concat(u)},Jn=function(a,u){u=u||{};var f;return u.getShadowRoot?f=In([a],u.includeContainer,{filter:Tn.bind(null,u),flatten:!1,getShadowRoot:u.getShadowRoot,shadowRootFilter:zr}):f=Cn(a,u.includeContainer,Tn.bind(null,u)),Qn(f)},An=function(a,u){u=u||{};var f;return u.getShadowRoot?f=In([a],u.includeContainer,{filter:bn.bind(null,u),flatten:!0,getShadowRoot:u.getShadowRoot}):f=Cn(a,u.includeContainer,bn.bind(null,u)),f},rn=function(a,u){if(u=u||{},!a)throw new Error("No node provided");return Zt.call(a,En)===!1?!1:Tn(u,a)},Rr=qn.concat("iframe:not([inert]):not([inert] *)").join(","),Pn=function(a,u){if(u=u||{},!a)throw new Error("No node provided");return Zt.call(a,Rr)===!1?!1:bn(u,a)};function zn(a,u){(u==null||u>a.length)&&(u=a.length);for(var f=0,b=Array(u);f<u;f++)b[f]=a[f];return b}function Rn(a){if(Array.isArray(a))return zn(a)}function er(a,u){var f=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!f){if(Array.isArray(a)||(f=Or(a))||u){f&&(a=f);var b=0,v=function(){};return{s:v,n:function(){return b>=a.length?{done:!0}:{done:!1,value:a[b++]}},e:function(_){throw _},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g,A=!0,O=!1;return{s:function(){f=f.call(a)},n:function(){var _=f.next();return A=_.done,_},e:function(_){O=!0,g=_},f:function(){try{A||f.return==null||f.return()}finally{if(O)throw g}}}}function Lr(a,u,f){return(u=Fn(u))in a?Object.defineProperty(a,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):a[u]=f,a}function tr(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function sn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nr(a,u){var f=Object.keys(a);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(a);u&&(b=b.filter(function(v){return Object.getOwnPropertyDescriptor(a,v).enumerable})),f.push.apply(f,b)}return f}function rr(a){for(var u=1;u<arguments.length;u++){var f=arguments[u]!=null?arguments[u]:{};u%2?nr(Object(f),!0).forEach(function(b){Lr(a,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(f)):nr(Object(f)).forEach(function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(f,b))})}return a}function Fr(a){return Rn(a)||tr(a)||Or(a)||sn()}function Ln(a,u){if(typeof a!="object"||!a)return a;var f=a[Symbol.toPrimitive];if(f!==void 0){var b=f.call(a,u);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(a)}function Fn(a){var u=Ln(a,"string");return typeof u=="symbol"?u:u+""}function Or(a,u){if(a){if(typeof a=="string")return zn(a,u);var f={}.toString.call(a).slice(8,-1);return f==="Object"&&a.constructor&&(f=a.constructor.name),f==="Map"||f==="Set"?Array.from(a):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?zn(a,u):void 0}}var Ht={getActiveTrap:function(a){return(a==null?void 0:a.length)>0?a[a.length-1]:null},activateTrap:function(a,u){var f=Ht.getActiveTrap(a);u!==f&&Ht.pauseTrap(a);var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var f=a.indexOf(u);f!==-1&&a.splice(f,1),Ht.unpauseTrap(a)},pauseTrap:function(a){var u=Ht.getActiveTrap(a);u==null||u._setPausedState(!0)},unpauseTrap:function(a){var u=Ht.getActiveTrap(a);u&&!u._isManuallyPaused()&&u._setPausedState(!1)}},Dr=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},ir=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},on=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Mr=function(a){return on(a)&&!a.shiftKey},Ot=function(a){return on(a)&&a.shiftKey},Nt=function(a){return setTimeout(a,0)},un=function(a){for(var u=arguments.length,f=new Array(u>1?u-1:0),b=1;b<u;b++)f[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,f):a},Gt=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},or=[],Br=function(a,u){var f=(u==null?void 0:u.document)||document,b=(u==null?void 0:u.trapStack)||or,v=rr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:Mr,isKeyBackward:Ot},u),g={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},A,O=function(I,N,j){return I&&I[N]!==void 0?I[N]:v[j||N]},_=function(I,N){var j=typeof(N==null?void 0:N.composedPath)=="function"?N.composedPath():void 0;return g.containerGroups.findIndex(function(ne){var ae=ne.container,xe=ne.tabbableNodes;return ae.contains(I)||(j==null?void 0:j.includes(ae))||xe.find(function(ee){return ee===I})})},D=function(I){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=N.hasFallback,ne=j===void 0?!1:j,ae=N.params,xe=ae===void 0?[]:ae,ee=v[I];if(typeof ee=="function"&&(ee=ee.apply(void 0,Fr(xe))),ee===!0&&(ee=void 0),!ee){if(ee===void 0||ee===!1)return ee;throw new Error("`".concat(I,"` was specified but was not a node, or did not return a node"))}var Ee=ee;if(typeof ee=="string"){try{Ee=f.querySelector(ee)}catch(fe){throw new Error("`".concat(I,'` appears to be an invalid selector; error="').concat(fe.message,'"'))}if(!Ee&&!ne)throw new Error("`".concat(I,"` as selector refers to no known node"))}return Ee},T=function(){var I=D("initialFocus",{hasFallback:!0});if(I===!1)return!1;if(I===void 0||I&&!Pn(I,v.tabbableOptions))if(_(f.activeElement)>=0)I=f.activeElement;else{var N=g.tabbableGroups[0],j=N&&N.firstTabbableNode;I=j||D("fallbackFocus")}else I===null&&(I=D("fallbackFocus"));if(!I)throw new Error("Your focus-trap needs to have at least one focusable element");return I},Y=function(){if(g.containerGroups=g.containers.map(function(I){var N=Jn(I,v.tabbableOptions),j=An(I,v.tabbableOptions),ne=N.length>0?N[0]:void 0,ae=N.length>0?N[N.length-1]:void 0,xe=j.find(function(fe){return rn(fe)}),ee=j.slice().reverse().find(function(fe){return rn(fe)}),Ee=!!N.find(function(fe){return jt(fe)>0});return{container:I,tabbableNodes:N,focusableNodes:j,posTabIndexesFound:Ee,firstTabbableNode:ne,lastTabbableNode:ae,firstDomTabbableNode:xe,lastDomTabbableNode:ee,nextTabbableNode:function(fe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,st=N.indexOf(fe);return st<0?Le?j.slice(j.indexOf(fe)+1).find(function(yt){return rn(yt)}):j.slice(0,j.indexOf(fe)).reverse().find(function(yt){return rn(yt)}):N[st+(Le?1:-1)]}}}),g.tabbableGroups=g.containerGroups.filter(function(I){return I.tabbableNodes.length>0}),g.tabbableGroups.length<=0&&!D("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(g.containerGroups.find(function(I){return I.posTabIndexesFound})&&g.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},Te=function(I){var N=I.activeElement;if(N)return N.shadowRoot&&N.shadowRoot.activeElement!==null?Te(N.shadowRoot):N},G=function(I){if(I!==!1&&I!==Te(document)){if(!I||!I.focus){G(T());return}I.focus({preventScroll:!!v.preventScroll}),g.mostRecentlyFocusedNode=I,Dr(I)&&I.select()}},Re=function(I){var N=D("setReturnFocus",{params:[I]});return N||(N===!1?!1:I)},ce=function(I){var N=I.target,j=I.event,ne=I.isBackward,ae=ne===void 0?!1:ne;N=N||Gt(j),Y();var xe=null;if(g.tabbableGroups.length>0){var ee=_(N,j),Ee=ee>=0?g.containerGroups[ee]:void 0;if(ee<0)ae?xe=g.tabbableGroups[g.tabbableGroups.length-1].lastTabbableNode:xe=g.tabbableGroups[0].firstTabbableNode;else if(ae){var fe=g.tabbableGroups.findIndex(function(jn){var kn=jn.firstTabbableNode;return N===kn});if(fe<0&&(Ee.container===N||Pn(N,v.tabbableOptions)&&!rn(N,v.tabbableOptions)&&!Ee.nextTabbableNode(N,!1))&&(fe=ee),fe>=0){var Le=fe===0?g.tabbableGroups.length-1:fe-1,st=g.tabbableGroups[Le];xe=jt(N)>=0?st.lastTabbableNode:st.lastDomTabbableNode}else on(j)||(xe=Ee.nextTabbableNode(N,!1))}else{var yt=g.tabbableGroups.findIndex(function(jn){var kn=jn.lastTabbableNode;return N===kn});if(yt<0&&(Ee.container===N||Pn(N,v.tabbableOptions)&&!rn(N,v.tabbableOptions)&&!Ee.nextTabbableNode(N))&&(yt=ee),yt>=0){var Bn=yt===g.tabbableGroups.length-1?0:yt+1,Wt=g.tabbableGroups[Bn];xe=jt(N)>=0?Wt.firstTabbableNode:Wt.firstDomTabbableNode}else on(j)||(xe=Ee.nextTabbableNode(N))}}else xe=D("fallbackFocus");return xe},De=function(I){var N=Gt(I);if(!(_(N,I)>=0)){if(un(v.clickOutsideDeactivates,I)){A.deactivate({returnFocus:v.returnFocusOnDeactivate});return}un(v.allowOutsideClick,I)||I.preventDefault()}},lt=function(I){var N=Gt(I),j=_(N,I)>=0;if(j||N instanceof Document)j&&(g.mostRecentlyFocusedNode=N);else{I.stopImmediatePropagation();var ne,ae=!0;if(g.mostRecentlyFocusedNode)if(jt(g.mostRecentlyFocusedNode)>0){var xe=_(g.mostRecentlyFocusedNode),ee=g.containerGroups[xe].tabbableNodes;if(ee.length>0){var Ee=ee.findIndex(function(fe){return fe===g.mostRecentlyFocusedNode});Ee>=0&&(v.isKeyForward(g.recentNavEvent)?Ee+1<ee.length&&(ne=ee[Ee+1],ae=!1):Ee-1>=0&&(ne=ee[Ee-1],ae=!1))}}else g.containerGroups.some(function(fe){return fe.tabbableNodes.some(function(Le){return jt(Le)>0})})||(ae=!1);else ae=!1;ae&&(ne=ce({target:g.mostRecentlyFocusedNode,isBackward:v.isKeyBackward(g.recentNavEvent)})),G(ne||g.mostRecentlyFocusedNode||T())}g.recentNavEvent=void 0},We=function(I){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;g.recentNavEvent=I;var j=ce({event:I,isBackward:N});j&&(on(I)&&I.preventDefault(),G(j))},it=function(I){(v.isKeyForward(I)||v.isKeyBackward(I))&&We(I,v.isKeyBackward(I))},Ue=function(I){ir(I)&&un(v.escapeDeactivates,I)!==!1&&(I.preventDefault(),A.deactivate())},Fe=function(I){var N=Gt(I);_(N,I)>=0||un(v.clickOutsideDeactivates,I)||un(v.allowOutsideClick,I)||(I.preventDefault(),I.stopImmediatePropagation())},se=function(){if(g.active)return Ht.activateTrap(b,A),g.delayInitialFocusTimer=v.delayInitialFocus?Nt(function(){G(T())}):G(T()),f.addEventListener("focusin",lt,!0),f.addEventListener("mousedown",De,{capture:!0,passive:!1}),f.addEventListener("touchstart",De,{capture:!0,passive:!1}),f.addEventListener("click",Fe,{capture:!0,passive:!1}),f.addEventListener("keydown",it,{capture:!0,passive:!1}),f.addEventListener("keydown",Ue),A},ot=function(I){g.active&&!g.paused&&A._setSubtreeIsolation(!1),g.adjacentElements.clear(),g.alreadySilent.clear();var N=new Set,j=new Set,ne=er(I),ae;try{for(ne.s();!(ae=ne.n()).done;){var xe=ae.value;N.add(xe);for(var ee=typeof ShadowRoot<"u"&&xe.getRootNode()instanceof ShadowRoot,Ee=xe;Ee;){N.add(Ee);var fe=Ee.parentElement,Le=[];fe?Le=fe.children:!fe&&ee&&(Le=Ee.getRootNode().children,fe=Ee.getRootNode().host,ee=typeof ShadowRoot<"u"&&fe.getRootNode()instanceof ShadowRoot);var st=er(Le),yt;try{for(st.s();!(yt=st.n()).done;){var Bn=yt.value;j.add(Bn)}}catch(Wt){st.e(Wt)}finally{st.f()}Ee=fe}}}catch(Wt){ne.e(Wt)}finally{ne.f()}N.forEach(function(Wt){j.delete(Wt)}),g.adjacentElements=j},gt=function(){if(g.active)return f.removeEventListener("focusin",lt,!0),f.removeEventListener("mousedown",De,!0),f.removeEventListener("touchstart",De,!0),f.removeEventListener("click",Fe,!0),f.removeEventListener("keydown",it,!0),f.removeEventListener("keydown",Ue),A},Tt=function(I){var N=I.some(function(j){var ne=Array.from(j.removedNodes);return ne.some(function(ae){return ae===g.mostRecentlyFocusedNode})});N&&G(T())},Ct=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Tt):void 0,bt=function(){Ct&&(Ct.disconnect(),g.active&&!g.paused&&g.containers.map(function(I){Ct.observe(I,{subtree:!0,childList:!0})}))};return A={get active(){return g.active},get paused(){return g.paused},activate:function(I){if(g.active)return this;var N=O(I,"onActivate"),j=O(I,"onPostActivate"),ne=O(I,"checkCanFocusTrap"),ae=Ht.getActiveTrap(b),xe=!1;if(ae&&!ae.paused){var ee;(ee=ae._setSubtreeIsolation)===null||ee===void 0||ee.call(ae,!1),xe=!0}try{ne||Y(),g.active=!0,g.paused=!1,g.nodeFocusedBeforeActivation=Te(f),N==null||N();var Ee=function(){ne&&Y(),se(),bt(),v.isolateSubtrees&&A._setSubtreeIsolation(!0),j==null||j()};if(ne)return ne(g.containers.concat()).then(Ee,Ee),this;Ee()}catch(Le){if(ae===Ht.getActiveTrap(b)&&xe){var fe;(fe=ae._setSubtreeIsolation)===null||fe===void 0||fe.call(ae,!0)}throw Le}return this},deactivate:function(I){if(!g.active)return this;var N=rr({onDeactivate:v.onDeactivate,onPostDeactivate:v.onPostDeactivate,checkCanReturnFocus:v.checkCanReturnFocus},I);clearTimeout(g.delayInitialFocusTimer),g.delayInitialFocusTimer=void 0,g.paused||A._setSubtreeIsolation(!1),g.alreadySilent.clear(),gt(),g.active=!1,g.paused=!1,bt(),Ht.deactivateTrap(b,A);var j=O(N,"onDeactivate"),ne=O(N,"onPostDeactivate"),ae=O(N,"checkCanReturnFocus"),xe=O(N,"returnFocus","returnFocusOnDeactivate");j==null||j();
5var ee=function(){Nt(function(){xe&&G(Re(g.nodeFocusedBeforeActivation)),ne==null||ne()})};return xe&&ae?(ae(Re(g.nodeFocusedBeforeActivation)).then(ee,ee),this):(ee(),this)},pause:function(I){return g.active?(g.manuallyPaused=!0,this._setPausedState(!0,I)):this},unpause:function(I){return g.active?(g.manuallyPaused=!1,b[b.length-1]!==this?this:this._setPausedState(!1,I)):this},updateContainerElements:function(I){var N=[].concat(I).filter(Boolean);return g.containers=N.map(function(j){return typeof j=="string"?f.querySelector(j):j}),v.isolateSubtrees&&ot(g.containers),g.active&&(Y(),v.isolateSubtrees&&!g.paused&&A._setSubtreeIsolation(!0)),bt(),this}},Object.defineProperties(A,{_isManuallyPaused:{value:function(){return g.manuallyPaused}},_setPausedState:{value:function(I,N){if(g.paused===I)return this;if(g.paused=I,I){var j=O(N,"onPause"),ne=O(N,"onPostPause");j==null||j(),gt(),bt(),A._setSubtreeIsolation(!1),ne==null||ne()}else{var ae=O(N,"onUnpause"),xe=O(N,"onPostUnpause");ae==null||ae(),A._setSubtreeIsolation(!0),Y(),se(),bt(),xe==null||xe()}return this}},_setSubtreeIsolation:{value:function(I){v.isolateSubtrees&&g.adjacentElements.forEach(function(N){var j;I?v.isolateSubtrees==="aria-hidden"?((N.ariaHidden==="true"||((j=N.getAttribute("aria-hidden"))===null||j===void 0?void 0:j.toLowerCase())==="true")&&g.alreadySilent.add(N),N.setAttribute("aria-hidden","true")):((N.inert||N.hasAttribute("inert"))&&g.alreadySilent.add(N),N.setAttribute("inert",!0)):g.alreadySilent.has(N)||(v.isolateSubtrees==="aria-hidden"?N.removeAttribute("aria-hidden"):N.removeAttribute("inert"))})}}}),A.updateContainerElements(a),A};function jr(a,u){const f=(0,k.useRef)(null),b=(0,k.useRef)(null),v=(0,k.useRef)(null),g=(0,k.useRef)(a),A=(0,k.useRef)(u);return(0,k.useEffect)(()=>{g.current=a},[a]),(0,k.useEffect)(()=>{A.current=u},[u]),(0,k.useEffect)(()=>{if(!u||!f.current)return;b.current=document.activeElement;const O=Br(f.current,{fallbackFocus:f.current,initialFocus:()=>{var _,D;return(D=(_=f.current)==null?void 0:_.querySelector("textarea"))!=null?D:f.current},escapeDeactivates:!0,allowOutsideClick:!0,clickOutsideDeactivates:_=>!_.target.closest("[data-insytful-toggle]"),onDeactivate:()=>{A.current&&g.current(!1)},returnFocusOnDeactivate:!1});return v.current=O,O.activate(),()=>{var _;O.deactivate(),v.current=null,(_=b.current)==null||_.focus()}},[u]),{elModalRef:f}}
5const On=(a,u=!1)=>{const f=window.fetch;return window.fetch=(b,v)=>mn(void 0,null,function*(){if((typeof b=="string"?b:b.toString()).startsWith(a)){let O;const g=[`# Heading 1
6
7`,"Second-level"," heading"," paragraph"," text"," under"," H1.",`
8
9`,`# Heading 2
10
11`,"Second-level"," heading"," paragraph"," text"," under"," H2.",`
12
13`,`## Heading 3
14
15`,"Some"," more"," paragraph"," text"," under"," H3.",`
16
17`,`### Heading 4
18
19`,"Example"," paragraph"," for"," H4.",`
20
21`,`#### Heading 5
22
23`,"Example"," paragraph"," for"," H5.",`
24
25`,`##### Heading 6
26
27`,"Example"," paragraph"," for"," H6.",`
28
29`,"Regular"," paragraph"," text"," with"," some"," inline"," `code`"," and"," a"," [link](https://example.com).",`
30
31`,"> This"," is"," a"," blockquote"," example.",`
32
33`,"- First"," unordered"," list",` item
34`,"- Second"," unordered"," list",` item
35`,"- Third"," unordered"," list",` item
36
37`,"1. First"," ordered"," list",` item
38`,"2. Second"," ordered"," list",` item
39`,"3. Third"," ordered"," list",` item
40
41`,"```javascript\n",`console.log("Hello, AI Search!");
42`,"```\n\n","End"," of"," mock"," response.",`
43`],A=new ReadableStream({start(_){return mn(this,null,function*(){const D=new TextEncoder;u&&(yield new Promise(T=>setTimeout(T,3e3)));for(const T of g){const Y=`data: ${JSON.stringify({content:T})}
44
45`;_.enqueue(D.encode(Y)),yield new Promise(Te=>setTimeout(Te,30))}_.enqueue(D.encode(`event: done
46data: {}
47
48`)),_.close()})}});return new Response(A,{status:200,headers:{"Content-Type":"text/event-stream"}})}return f(b,v)}),()=>{window.fetch=f}},Hr=(a=!1,u)=>{(0,k.useEffect)(()=>{if(a)return On(u,a)},[a,u])},Ur=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}
48button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-\\[-2px\\]{left:-2px;right:-2px}.-bottom-\\[10px\\]{bottom:-10px}.bottom-0{bottom:0}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[16px\\]{left:16px}.right-0{right:0}.right-\\[8px\\]{right:8px}.top-1\\/2{top:50%}.top-\\[14px\\]{top:14px}.top-\\[18px\\]{top:18px}.top-\\[2px\\]{top:2px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.float-left{float:left}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mb-3{margin-bottom:.75rem}.mr-\\[12px\\]{margin-right:12px}.mt-2{margin-top:.5rem}.mt-6{margin-top:1.5rem}.mt-\\[8px\\]{margin-top:8px}.mt-auto{margin-top:auto}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-\\[40px\\]{height:40px}.h-\\[42px\\]{height:42px}.h-\\[88px\\]{height:88px}.h-full{height:100%}.max-h-\\[240px\\]{max-height:240px}.min-h-0{min-height:0px}.min-h-\\[48px\\]{min-height:48px}.min-h-\\[500px\\]{min-height:500px}.min-h-\\[62px\\]{min-height:62px}.min-h-screen{min-height:100vh}.w-\\[40px\\]{width:40px}.w-\\[42px\\]{width:42px}.w-\\[70\\%\\]{width:70%}.w-\\[90\\%\\]{width:90%}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\\[42px\\]{min-width:42px}.max-w-\\[1920px\\]{max-width:1920px}.max-w-\\[784px\\]{max-width:784px}.max-w-\\[var\\(--insytful-modal-max-width\\)\\]{max-width:var(--insytful-modal-max-width)}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:300% 0}}.animate-skeleton-shimmer{animation:skeleton-shimmer 1.5s ease-in-out infinite}@keyframes slide-to-bounce-animate{0%,40%{transform:translateY(0)}50%{transform:translateY(8px)}60%{transform:translateY(-2px)}70%,to{transform:translateY(0)}}.animate-slide-to-bounce-animate{animation:slide-to-bounce-animate 2s ease-in-out infinite}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-\\[10px\\]{gap:10px}.gap-\\[12px\\]{gap:12px}.gap-\\[16px\\]{gap:16px}.gap-\\[24px\\]{gap:24px}.gap-\\[2px\\]{gap:2px}.gap-\\[32px\\]{gap:32px}.gap-\\[8px\\]{gap:8px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\\[12px\\]{border-radius:12px}
48.rounded-\\[16px\\]{border-radius:16px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.rounded-\\[var\\(--insytful-btn-prompt-radius\\)\\]{border-radius:var(--insytful-btn-prompt-radius)}.rounded-\\[var\\(--insytful-callout-error-cta-border-radius\\)\\]{border-radius:var(--insytful-callout-error-cta-border-radius)}.rounded-\\[var\\(--insytful-input-card-radius\\)\\]{border-radius:var(--insytful-input-card-radius)}.rounded-full{border-radius:9999px}.rounded-none{border-radius:0}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-l-\\[4px\\]{border-left-width:4px}.border-none{border-style:none}.border-\\[\\#acbeef\\]{--tw-border-opacity: 1;border-color:rgb(172 190 239 / var(--tw-border-opacity, 1))}.border-\\[var\\(--insytful-callout-error-border\\)\\]{border-color:var(--insytful-callout-error-border)}.border-\\[var\\(--insytful-input-card-border\\)\\]{border-color:var(--insytful-input-card-border)}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-\\[\\#F2EFF8\\]{--tw-bg-opacity: 1;background-color:rgb(242 239 248 / var(--tw-bg-opacity, 1))}.bg-\\[var\\(--insytful-btn-icon-search-bg-default\\)\\]{background-color:var(--insytful-btn-icon-search-bg-default)}.bg-\\[var\\(--insytful-btn-prompt-bg-default\\)\\]{background-color:var(--insytful-btn-prompt-bg-default)}.bg-\\[var\\(--insytful-callout-error-bg\\)\\]{background-color:var(--insytful-callout-error-bg)}.bg-\\[var\\(--insytful-callout-error-cta-bg\\)\\]{background-color:var(--insytful-callout-error-cta-bg)}.bg-\\[var\\(--insytful-input-card-bg\\)\\]{background-color:var(--insytful-input-card-bg)}.bg-\\[var\\(--insytful-modal-bg\\)\\]{background-color:var(--insytful-modal-bg)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-\\[var\\(--insytful-semantic-search-field-ai-gradient-start\\)\\]{--tw-gradient-from: var(--insytful-semantic-search-field-ai-gradient-start) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[var\\(--insytful-semantic-search-field-ai-gradient-end\\)\\]{--tw-gradient-to: var(--insytful-semantic-search-field-ai-gradient-end) var(--tw-gradient-to-position)}.p-0{padding:0}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[16px\\]{padding:16px}.p-\\[4px\\]{padding:4px}.p-\\[8px\\]{padding:8px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[8px\\]{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\\[12px\\]{padding-top:12px;padding-bottom:12px}.py-\\[16px\\]{padding-top:16px;padding-bottom:16px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[8px\\]{padding-top:8px;padding-bottom:8px}.pb-0{padding-bottom:0}.pb-3{padding-bottom:.75rem}.pb-6{padding-bottom:1.5rem}.pb-\\[12px\\]{padding-bottom:12px}.pb-\\[24px\\]{padding-bottom:24px}.pl-6{padding-left:1.5rem}.pl-\\[32px\\]{padding-left:32px}.pl-\\[48px\\]{padding-left:48px}.pr-\\[48px\\]{padding-right:48px}.pr-\\[64px\\]{padding-right:64px}.pt-3{padding-top:.75rem}.pt-\\[12px\\]{padding-top:12px}.pt-\\[32px\\]{padding-top:32px}.text-center{text-align:center}.font-\\[\\'Inter\\'\\,sans-serif\\]{font-family:Inter,sans-serif}.font-\\[\\'Source_Sans_3\\'\\,sans-serif\\]{font-family:"Source Sans 3",sans-serif}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-\\[1em\\]{font-size:1em}.text-\\[24px\\]{font-size:24px}.text-\\[44px\\]{font-size:44px}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-6{line-height:1.5rem}.leading-\\[24px\\]{line-height:24px}.leading-\\[2\\]{line-height:2}.leading-\\[32px\\]{line-height:32px}.leading-\\[52px\\]{line-height:52px}.tracking-\\[-0\\.54px\\]{letter-spacing:-.54px}.tracking-\\[-1\\.32px\\]{letter-spacing:-1.32px}.text-\\[\\#222\\]{--tw-text-opacity: 1;color:rgb(34 34 34 / var(--tw-text-opacity, 1))}.text-\\[\\#333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}
48.text-\\[\\#6b6b6b\\]{--tw-text-opacity: 1;color:rgb(107 107 107 / var(--tw-text-opacity, 1))}.text-\\[var\\(--insytful-btn-prompt-text\\)\\]{color:var(--insytful-btn-prompt-text)}.text-\\[var\\(--insytful-callout-error-cta-text\\)\\]{color:var(--insytful-callout-error-cta-text)}.text-\\[var\\(--insytful-callout-error-text\\)\\]{color:var(--insytful-callout-error-text)}.text-\\[var\\(--insytful-disclaimer-text\\)\\]{color:var(--insytful-disclaimer-text)}.text-\\[var\\(--insytful-text-default\\)\\]{color:var(--insytful-text-default)}.text-\\[var\\(--insytful-typing-indicator-text\\)\\]{color:var(--insytful-typing-indicator-text)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
48--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_2px_8px_0_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow: 0 2px 8px 0 rgba(0,0,0,.15);--tw-shadow-colored: 0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_24px_32px_0px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\]{--tw-shadow: 0px 24px 32px 0px rgba(0,0,0,.08);--tw-shadow-colored: 0px 24px 32px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur-\\[14px\\]{--tw-blur: blur(14px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\\[-webkit-mask-image\\:linear-gradient\\(to_bottom\\,black_0\\%\\,black_90\\%\\,rgba\\(0\\,0\\,0\\,0\\.3\\)_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to bottom,black 0%,black 90%,rgba(0,0,0,.3) 100%)}.\\[mask-image\\:linear-gradient\\(to_bottom\\,black_0\\%\\,black_90\\%\\,rgba\\(0\\,0\\,0\\,0\\.3\\)_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to bottom,black 0%,black 90%,rgba(0,0,0,.3) 100%);mask-image:linear-gradient(to bottom,#000 0% 90%,#0000004d)}:host,:root,.insytful-root{font-size:var(--insytful-base-font-size, 1rem);line-height:1.5;font-family:var(--insytful-font-family);--insytful-font-family: system-ui, -apple-system, sans-serif;--insytful-text-default: #333333;--insytful-text-muted: #6c6c6c;--insytful-text-link-default: #1d70b8;--insytful-text-link-hover: #184b76;--insytful-brand-primary: #195491;--insytful-modal-bg: #ffffff;--insytful-modal-max-width: 784px;--insytful-modal-radius: 0px;--insytful-btn-prompt-bg-default: #e2eefa;--insytful-btn-prompt-bg-hover: #c8daec;--insytful-btn-prompt-text: #333333;--insytful-btn-prompt-radius: 12px;--insytful-btn-prompt-focus: var(--insytful-semantic-focus-ring);--insytful-input-card-bg: #ffffff;--insytful-input-card-radius: 16px;--insytful-input-card-border: var(--insytful-semantic-search-field-stroke);--insytful-input-card-border-width: 1px;--insytful-btn-icon-search-bg-default: #2e3339;--insytful-btn-icon-search-bg-hover: #3c444d;--insytful-btn-icon-search-bg-disabled: #e7e7e7;--insytful-btn-icon-search-icon: #ffffff;--insytful-btn-close-bg: transparent;--insytful-btn-close-bg-hover: #f2f2f2;--insytful-btn-close-icon: var(--insytful-text-default);--insytful-btn-close-size: 40px;--insytful-typing-indicator-text: var(--insytful-text-muted);--insytful-disclaimer-text: var(--insytful-text-muted);--insytful-skeleton-bg: #e8e8e8;--insytful-skeleton-shimmer: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);--insytful-callout-error-border: #d93025;--insytful-callout-error-bg: #fce8e6;--insytful-callout-error-text: #333333;--insytful-callout-error-cta-bg: #2e3339;--insytful-callout-error-cta-text: #ffffff;--insytful-callout-error-cta-border-radius: 4px;--insytful-semantic-search-field-stroke: #333333;--insytful-semantic-search-field-ai-gradient-start: #35d2c5;--insytful-semantic-search-field-ai-gradient-end: #1d70b8;--insytful-semantic-search-field-focus: #35d2c5;--insytful-semantic-focus-ring: var(--insytful-semantic-search-field-focus);--insytful-search-transition-duration: .2s;--insytful-search-transition-easing: ease;--insytful-search-transition-duration-dev: 5s}.insytful-search-close{position:absolute;top:12px;right:12px;width:var(--insytful-btn-close-size);height:var(--insytful-btn-close-size);display:flex;align-items:center;justify-content:center;background:var(--insytful-btn-close-bg);color:var(--insytful-btn-close-icon);border:none;border-radius:9999px;cursor:pointer;padding:0;z-index:10}.insytful-search-close:hover{background:var(--insytful-btn-close-bg-hover)}.insytful-search-close:focus{outline:2px solid var(--insytful-semantic-focus-ring);outline-offset:2px}.insytful-search-close svg{width:20px;height:20px;stroke:currentColor;fill:none}.insytful-search-dialog-outer:has(.insytful-search-close) .insytful-search-dialog-inner{padding-top:60px}.insytful-search-message-input-textarea:focus{outline:2px solid var(--insytful-semantic-focus-ring);outline-offset:2px}.insytful-search-message-input:has(.insytful-search-message-input-bg) .insytful-search-message-input-textarea:focus{outline:none}.insytful-search-message-input:has(.insytful-search-message-input-textarea:focus) .insytful-search-message-input-bg{outline:2px solid var(--insytful-semantic-focus-ring);outline-offset:2px}.insytful-search-message-input-btn:focus{outline:2px solid var(--insytful-semantic-focus-ring);outline-offset:2px}.insytful-search-error-callout-btn:focus,.insytful-search-error-callout-cta:focus{outline:2px solid var(--insytful-semantic-focus-ring);outline-offset:2px}.insytful-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.insytful-search-message-content h2{font-size:1.5em;font-weight:600;line-height:1.333;color:var(--insytful-text-default);margin-top:0;margin-bottom:.5em}.insytful-search-message-content h3{font-size:1.25em;font-weight:600;line-height:1.4;color:var(--insytful-text-default);margin-top:1em;margin-bottom:.4em}.insytful-search-message-content h4{font-size:1.125em;font-weight:600;line-height:1.333;color:var(--insytful-text-default);margin-top:.875em;margin-bottom:.5em}.insytful-search-message-content p{margin-bottom:1em;line-height:1.75;color:var(--insytful-text-default)}.insytful-search-message-content a{color:var(--insytful-text-link-default);text-decoration:underline;font-weight:500}.insytful-search-message-content a:hover{color:var(--insytful-text-link-hover);text-decoration:none}.insytful-search-message-content a:focus{outline:2px solid var(--insytful-semantic-focus-ring);outline-offset:2px}.insytful-search-message-content ul{list-style-type:disc;margin-left:1.5em;margin-bottom:1em}.insytful-search-message-content ol{list-style-type:decimal;margin-left:1.5em;margin-bottom:1em}.insytful-search-message-content li{margin-bottom:.5em;line-height:1.6;padding-left:.25em}.insytful-search-message-content strong{font-weight:700}.insytful-search-message-content em{font-style:italic}.insytful-search-message-content code{background-color:#f7fafc;border:1px solid #e2e8f0;border-radius:4px;padding:2px 6px;font-family:monospace;font-size:.875em}.insytful-search-message-content pre{background-color:#2d3748;color:#e2e8f0;border-radius:8px;padding:1em;overflow-x:auto;margin-bottom:1em}.insytful-search-message-content pre code{background:transparent;border:none;color:inherit;padding:0}.insytful-search-message-content blockquote{border-left:4px solid var(--insytful-brand-primary);padding:.75em 1em;margin:1em 0;font-style:italic;color:var(--insytful-text-muted);background-color:#f7fafc;border-radius:0 4px 4px 0}.insytful-search-message-content blockquote p{margin:0}.insytful-search-message-content hr{margin-top:1.5em;margin-bottom:1.5em}.insytful-search-dialog-inner:has(.insytful-search-suggestions-outer[data-position=below])>.insytful-search-message-input{order:1}.insytful-search-dialog-inner:has(.insytful-search-suggestions-outer[data-position=below])>.insytful-search-disclaimer-inner{order:3}.insytful-search-skeleton-bar{background:var(--insytful-skeleton-bg);background-size:200% 100%;border-radius:4px;
48height:1em}.insytful-search-skeleton-bar.animate-skeleton-shimmer{background-image:var(--insytful-skeleton-shimmer)}.insytful-search-skeleton span{font-size:.875em;color:var(--insytful-text-muted);margin-top:.5em}.insytful-search-messages-inner{position:relative}.insytful-search-response-wrapper{position:relative;width:100%}.insytful-search-skeleton{position:absolute;top:0;left:0;right:0;z-index:1;margin:0;opacity:1}.insytful-search-skeleton.fade-out{animation:skeleton-fade-out var(--insytful-search-transition-duration) var(--insytful-search-transition-easing) forwards}@keyframes skeleton-fade-out{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){:host,:root,.insytful-root{--insytful-search-transition-duration: 0ms}.insytful-search-dialog-outer,.insytful-search-mode-transition{transition-duration:0ms!important}.insytful-search-messages-icon,.insytful-search-skeleton-bar{animation:none!important}}@keyframes dot-animate{0%{content:"."}25%{content:".."}50%{content:"..."}75%{content:"."}to{content:".."}}.after\\:animate-dot-animate:after{content:var(--tw-content);animation:dot-animate 1.5s steps(1,end) infinite}.hover\\:bg-\\[var\\(--insytful-btn-icon-search-bg-hover\\)\\]:hover{background-color:var(--insytful-btn-icon-search-bg-hover)}.hover\\:bg-\\[var\\(--insytful-btn-prompt-bg-hover\\)\\]:hover{background-color:var(--insytful-btn-prompt-bg-hover)}.hover\\:text-\\[\\#333\\]:hover{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}.hover\\:text-blue-900:hover{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity, 1))}.hover\\:no-underline:hover{text-decoration-line:none}.hover\\:opacity-90:hover{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
48dow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-\\[var\\(--insytful-btn-prompt-focus\\)\\]:focus{--tw-ring-color: var(--insytful-btn-prompt-focus)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\\:opacity-60{opacity:.6}.group:focus-within .group-focus-within\\:opacity-80{opacity:.8}@media(min-width:768px){.md\\:mt-auto{margin-top:auto}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:justify-center{justify-content:center}.md\\:gap-0{gap:0px}.md\\:gap-\\[16px\\]{gap:16px}.md\\:gap-\\[24px\\]{gap:24px}.md\\:gap-\\[32px\\]{gap:32px}.md\\:px-\\[16px\\]{padding-left:16px;padding-right:16px}.md\\:py-\\[12px\\]{padding-top:12px;padding-bottom:12px}.md\\:text-\\[1\\.25em\\]{font-size:1.25em}.md\\:text-\\[14px\\]{font-size:14px}.md\\:text-\\[18px\\]{font-size:18px}.md\\:text-\\[20px\\]{font-size:20px}.md\\:text-\\[56px\\]{font-size:56px}.md\\:leading-\\[32px\\]{line-height:32px}.md\\:leading-\\[64px\\]{line-height:64px}}@media(min-width:1024px){.lg\\:mx-auto{margin-left:auto;margin-right:auto}.lg\\:mt-16{margin-top:4rem}.lg\\:mt-6{margin-top:1.5rem}.lg\\:mt-auto{margin-top:auto}.lg\\:h-\\[120px\\]{height:120px}.lg\\:max-w-\\[1000px\\]{max-width:1000px}.lg\\:max-w-\\[610px\\]{max-width:610px}.lg\\:gap-10{gap:2.5rem}.lg\\:gap-4{gap:1rem}.lg\\:rounded-\\[16px\\]{border-radius:16px}.lg\\:py-\\[200px\\]{padding-top:200px;padding-bottom:200px}.lg\\:text-\\[18px\\]{font-size:18px}.lg\\:text-\\[88px\\]{font-size:88px}.lg\\:leading-\\[26px\\]{line-height:26px}.lg\\:leading-\\[96px\\]{line-height:96px}.lg\\:tracking-\\[-0\\.72px\\]{letter-spacing:-.72px}.lg\\:tracking-\\[-2\\.64px\\]{letter-spacing:-2.64px}}`;if(typeof window<"u")try{localStorage.removeItem("rag-session-id")}catch(a){}let Vr=0;const ar=typeof k.useId=="function"?a=>`${a}-${k.useId()}`:a=>{const[u]=(0,k.useState)(()=>`${a}-${++Vr}`);return u};function lr({children:a,options:u,open:f,defaultOpen:b=!1,onOpenChange:v,theme:g,renderMarkdown:A,logo:O,isDevMode:_=!1,offsets:D}){const[T,Y]=gn({prop:f,defaultProp:b,onChange:v}),Te=ar("insytful-search-heading"),G=ar("insytful-search-description"),Re=(0,k.useMemo)(()=>u,[u.config,u.baseUrl]),ce=(0,k.useMemo)(()=>D,[D==null?void 0:D.top,D==null?void 0:D.left,D==null?void 0:D.right]);return k.createElement(me,{key:Re.config||"default",config:Re.config||"",baseUrl:Re.baseUrl},k.createElement(Dt,{open:T,setOpen:Y,titleId:Te,descriptionId:G,options:Re,theme:g,renderMarkdown:A,logo:O,isDevMode:_,offsets:ce},a))}lr.displayName="Search.Root";function Dt({children:a,open:u,setOpen:f,titleId:b,descriptionId:v,options:g,theme:A,renderMarkdown:O,logo:_,isDevMode:D,offsets:T}){var Fe;const{messages:Y,loading:Te,error:G,ask:Re}=_t();Hr(D,(Fe=g.baseUrl)!=null?Fe:"");const ce=(0,k.useRef)(""),De=(0,k.useRef)(""),lt=(0,k.useRef)(0);(0,k.useEffect)(()=>{if(!(typeof window>"u")){if(u){lt.current=window.scrollY,ce.current=document.body.style.overflow,De.current=document.body.style.paddingRight;const se=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight=`${se}px`,window.scrollTo(0,0)}else document.body.style.overflow=ce.current,document.body.style.paddingRight=De.current,window.scrollTo(0,lt.current);return()=>{document.body.style.overflow=ce.current,document.body.style.paddingRight=De.current}}},[u]);const[We,it]=(0,k.useState)(0);(0,k.useEffect)(()=>{if(typeof window>"u"||!u)return;const se=document.querySelectorAll("[data-insytful-modal-offset]"),ot=()=>{let Tt=0;se.forEach(Ct=>Tt+=Ct.offsetHeight),it(Tt)};ot();const gt=new ResizeObserver(ot);return se.forEach(Tt=>gt.observe(Tt)),()=>gt.disconnect()},[u]);const Ue=(0,k.useMemo)(()=>({open:u,onOpenChange:f,titleId:b,descriptionId:v,options:g,messages:Y,loading:Te,error:G,onSend:Re,renderMarkdown:O,logo:_,isDevMode:D,theme:A,offsets:T,computedOffsetHeight:We}),[u,f,b,v,g,Y,Te,G,Re,O,_,D,A,T,We]);return k.createElement(St,{value:Ue},a)}function Et({children:a}){var lt;const u=Qe("Search.Portal"),{open:f,titleId:b,descriptionId:v,theme:g,offsets:A,computedOffsetHeight:O}=u,{elModalRef:_}=jr(u.onOpenChange,f),D=ar("insytful-ai-modal-portal"),T=(0,k.useRef)(null),Y=(0,k.useRef)(null),[Te,G]=(0,k.useState)(!1);(0,k.useEffect)(()=>
48{if(typeof window>"u")return;const We=document.createElement("div");We.id=D;const it=We.attachShadow({mode:"open"}),Ue=document.createElement("style");Ue.textContent=Ur;const Fe=document.createElement("style");g&&(Fe.textContent=g);const se=document.createElement("div");return se.className="insytful-root",it.append(Ue,Fe,se),document.body.appendChild(We),T.current=se,Y.current=Fe,G(!0),()=>{We.parentNode&&document.body.removeChild(We)}},[]),(0,k.useEffect)(()=>{Y.current&&(Y.current.textContent=g!=null?g:"")},[g]);const{left:Re=0,right:ce=0}=A||{},De=(lt=A==null?void 0:A.top)!=null?lt:O;return!Te||!T.current?null:Ve.createPortal(k.createElement("div",ln(re({tabIndex:-1,id:"insytful-search-dialog",ref:_,role:"dialog","aria-modal":f||void 0,"aria-labelledby":b,"aria-describedby":v},f?{}:{inert:""}),{className:`insytful-search-dialog-outer fixed flex flex-col bg-[var(--insytful-modal-bg)] overflow-hidden pb-0 ${f?"insytful-search-dialog-open":"insytful-search-dialog-closed"}`,style:{zIndex:"var(--insytful-z-index, 999)",top:typeof De=="number"?`${De}px`:De,left:Re,right:ce,bottom:0,opacity:f?1:0,pointerEvents:f?"auto":"none",transition:"opacity var(--insytful-search-transition-duration, 200ms) var(--insytful-search-transition-easing, ease)"}}),k.createElement("div",{className:"insytful-search-dialog-inner min-h-[500px] px-4 w-full mx-auto flex flex-col h-full justify-start md:justify-center gap-[24px] md:gap-[32px] pt-[32px]"},a)),T.current)}Et.displayName="Search.Portal";const sr=(0,k.forwardRef)(function(g,v){var A=g,{children:a,asChild:u=!1,onClick:f}=A,b=Er(A,["children","asChild","onClick"]);const{open:O,onOpenChange:_}=Qe("Search.Trigger"),D=re({"data-insytful-toggle":"","aria-expanded":O,"data-state":O?"open":"closed",onClick:T=>{f==null||f(T),T.defaultPrevented||_(!O)}},b);if(u&&k.isValidElement(a)){const T=a.props.onClick;return k.cloneElement(a,ln(re({},D),{onClick:Y=>{T==null||T(Y),Y.defaultPrevented||_(!O)},ref:v}))}return k.createElement("button",re({ref:v,type:"button"},D),a)});sr.displayName="Search.Trigger";function Dn(){return k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false"},k.createElement("path",{d:"M18 6 6 18M6 6l12 12"}))}const wn=(0,k.forwardRef)(function(A,g){var O=A,{children:a,asChild:u=!1,onClick:f,className:b}=O,v=Er(O,["children","asChild","onClick","className"]);var Y,Te;const{onOpenChange:_}=Qe("Search.Close"),D=G=>{f==null||f(G),G.defaultPrevented||_(!1)},T=re({"aria-label":(Y=v["aria-label"])!=null?Y:"Close search",onClick:D},v);if(u&&k.isValidElement(a)){const G=a,Re=G.props.onClick,ce=(Te=G.props.className)!=null?Te:"";return k.cloneElement(G,ln(re({},T),{className:`${ce} ${b!=null?b:""}`.trim()||void 0,onClick:De=>{Re==null||Re(De),De.defaultPrevented||_(!1)},ref:g}))}return k.createElement("button",re({ref:g,type:"button",className:`insytful-search-close ${b!=null?b:""}`.trim()},T),a!=null?a:k.createElement(Dn,null))});wn.displayName="Search.Close";function ur({children:a,className:u}){const{titleId:f}=Qe("Search.Title");return k.createElement("h1",{id:f,className:`insytful-search-empty-state-title text-[var(--insytful-text-default)] text-[24px] leading-[32px] font-bold md:text-[56px] md:leading-[64px] text-center ${u!=null?u:""}`},a)}ur.displayName="Search.Title";function cr({children:a,className:u}){const{descriptionId:f}=Qe("Search.Description");return k.createElement("p",{id:f,className:`insytful-search-empty-state-text text-[var(--insytful-text-default)] text-[14px] leading-[24px] font-normal md:text-[20px] md:leading-[32px] text-center ${u!=null?u:""}`},a)}cr.displayName="Search.Description";function K({className:a,embedded:u=!1,placeholder:f,onSubmit:b}){const{onSend:v,loading:g,messages:A}=Qe("Search.Input"),O=qt(),_=O?O.mode!=="ai":!1,[D,T]=(0,k.useState)(""),Y=A.length>0,Te=()=>mn(this,null,function*(){const G=D.trim();if(G){if(T(""),b){b(G);return}try{yield v(G)}catch(Re){T(G)}}});return k.createElement("form",{onSubmit:G=>{G.stopPropagation(),G.preventDefault(),Te()},className:`insytful-search-message-input w-full relative flex ${u?"":"max-w-[var(--insytful-modal-max-width)] mx-auto"} ${a!=null?a:""}`},_?k.createElement("div",{className:`insytful-search-message-input-icon absolute ${u?"top-[14px] left-0":"top-[18px] left-[16px]"} z-20`},k.createElement("svg",{focusable:"false","aria-hidden":"true",role:"presentation",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},k.createElement("path",{fill:"var(--insytful-text-default)",d:"M11.27 18.54c1.613-.001 3.18-.541 4.45-1.535L19.715 21 21 19.715l-3.995-3.995a7.225 7.225 0 0 0 1.535-4.45C18.54 7.26 15.279 4 11.27 4 7.262 4 4 7.261 4 11.27c0 4.008 3.262 7.27 7.27 7.27Zm0-12.723a5.458 5.458 0 0 1 5.453 5.453 5.458 5.458 0 0 1-5.453 5.452 5.458 5.458 0 0 1-5.452-5.452 5.458 5.458 0 0 1 5.452-5.453Z"}))):k.createElement("div",{className:`insytful-search-message-input-icon absolute ${u?"top-[14px] left-0":"top-[18px] left-[16px]"} z-20`},k.createElement("svg",{focusable:"false","aria-hidden":"true",role:"presentation",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},k.createElement("path",{fill:"var(--insytful-text-default)",d:"M10.6 9.6 9 15 7.4 9.6 2 8l5.4-1.6L9 1l1.6 5.4L16 8l-5.4 1.6Zm6.4 4.6 4-2.2-2.2 4 2.2 4-4-2.2-4 2.2 2.2-4-2.2-4 4 2.2ZM10 16l-1.7 3 1.7 3-3-1.7L4 22l1.7-3L4 16l3 1.7 3-1.7Z"}))),!_&&!u&&k.createElement("div",{className:"insytful-search-message-input-bg absolute inset-0 h-full w-full max-w-[var(--insytful-modal-max-width)] rounded-[var(--insytful-input-card-radius)] group-focus-within:opacity-80"},k.createElement("div",{className:`pointer-events-none absolute inset-x-[-2px] top-[2px] -bottom-[10px] rounded-[var(--insytful-input-card-radius)] opacity-50 blur-[14px] transition-opacity z-0 ${Y?"":"bg-gradient-to-b from-[var(--insytful-semantic-search-field-ai-gradient-start)] to-[var(--insytful-semantic-search-field-ai-gradient-end)]"}`,"aria-hidden":"true"})),k.createElement("textarea",{rows:1,value:D,disabled:g,placeholder:f!=null?f:_?"Search":"Ask a question","aria-label":_?"Search":"Ask a question",onChange:G=>T(G.target.value),onKeyDown:G=>{G.key==="Enter"&&!G.shiftKey&&(G.preventDefault(),G.stopPropagation(),Te())},className:`insytful-search-message-input-textarea relative z-10 w-full resize-none bg-[var(--insytful-input-card-bg)] max-h-[240px] overflow-y-auto ${u?"py-[12px] min-h-[48px] border-0 rounded-none pr-[48px] pl-[32px]":"py-[16px] min-h-[62px] pl-[48px] pr-[64px] rounded-[var(--insytful-input-card-radius)] border border-[var(--insytful-input-card-border)]"}`}),k.createElement("button",{type:"submit",disabled:g,className:`insytful-search-message-input-btn z-20 absolute ${u?"right-0":"right-[8px]"}
48 top-1/2 -translate-y-1/2 w-[40px] h-[40px] rounded-full flex items-center justify-center bg-[var(--insytful-btn-icon-search-bg-default)] text-white border-none cursor-pointer hover:bg-[var(--insytful-btn-icon-search-bg-hover)] disabled:cursor-not-allowed disabled:opacity-50`,"aria-label":_?"Search":"Send message"},k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16"},k.createElement("g",{clipPath:"url(#a)"},k.createElement("path",{fill:"var(--insytful-btn-icon-search-icon)",d:"M15.991 8a1.606 1.606 0 0 0-.543-1.2L7.996.24a.96.96 0 0 0-1.267 1.442l5.758 5.067a.166.166 0 0 1 .046.183.167.167 0 0 1-.156.108H.967a.96.96 0 1 0 0 1.92h11.408a.167.167 0 0 1 .11.292l-5.758 5.067a.96.96 0 1 0 1.267 1.44L15.448 9.2A1.606 1.606 0 0 0 15.99 8Z"})),k.createElement("defs",null,k.createElement("clipPath",{id:"a"},k.createElement("path",{fill:"var(--insytful-btn-icon-search-icon)",d:"M0 0h16v16H0z"}))))))}K.displayName="Search.Input";function mt(a){let u=0;for(let f=0;f<a.length;f++)u=(u<<5)-u+a.charCodeAt(f),u|=0;return u.toString()}const Pe=({searchingText:a="Generating response..."})=>k.createElement("div",{className:"insytful-search-skeleton-content flex flex-col gap-[8px] w-full"},k.createElement("div",{className:"insytful-search-skeleton-bar animate-skeleton-shimmer w-full"}),k.createElement("div",{className:"insytful-search-skeleton-bar animate-skeleton-shimmer w-[90%]"}),k.createElement("div",{className:"insytful-search-skeleton-bar animate-skeleton-shimmer w-[70%]"}),k.createElement("span",{className:"insytful-search-skeleton-text"},a));function fr(a){return a.replace(/^(#{1,5})\s/gm,(u,f)=>`${f}# `)}function $r({message:a,logo:u,renderContent:f,showSkeleton:b,searchingText:v}){const g=a.role==="user",A=(0,k.useMemo)(()=>a.content.split(`
49
50`),[a.content]);return k.createElement("li",{className:`insytful-search-message flex items-start gap-[24px] w-full max-w-full ${g?"flex-row-reverse":"flex-row"}`,"data-role":a.role},u&&!g&&k.createElement("div",{className:"insytful-search-message-logo flex-shrink-0 hidden md:block"},u),g?k.createElement("div",{style:{overflowWrap:"anywhere",wordBreak:"break-word"},className:"insytful-search-message-content-outer text-[1em] md:text-[1.25em] leading-[2] rounded-[16px] flex flex-col justify-center items-end px-[16px] py-[12px] gap-[10px] bg-[var(--insytful-btn-prompt-bg-default)] text-[var(--insytful-text-default)]"},a.content):k.createElement("div",{style:{overflowWrap:"anywhere",wordBreak:"break-word"},className:"insytful-search-message-content-outer w-full text-[1em] md:text-[1.25em] leading-[2] rounded-[16px] text-[var(--insytful-text-default)]"},k.createElement("div",{className:"insytful-search-message-content-inner flex items-start gap-[12px] md:block md:gap-0"},u&&k.createElement("div",{className:"insytful-search-message-logo flex-shrink-0 md:hidden"},u),b?k.createElement(Pe,{searchingText:v}):k.createElement("div",{className:"insytful-search-message-content"},f?f(fr(A[0])):A[0])),!b&&A.slice(1).map((O,_)=>k.createElement("div",{key:`${_}-${mt(O)}`,className:"insytful-search-message-content mt-[8px]"},f?f(fr(O)):O))))}function Yt(a,u,f){f.style.transition="none",f.style.height=`${a.clientHeight}px`,requestAnimationFrame(()=>{requestAnimationFrame(()=>{const b=u.getBoundingClientRect(),v=a.getBoundingClientRect(),g=a.scrollTop+(b.top-v.top);a.scrollTo({top:g,behavior:"smooth"})})})}function He({title:a="Something went wrong",text:u="Failed to fetch",cta:f,onSwitchClassic:b}){return k.createElement("div",{className:"insytful-search-error-callout-inner flex items-start flex-col gap-[12px] p-[16px] border-l-[4px] border-[var(--insytful-callout-error-border)] bg-[var(--insytful-callout-error-bg)] rounded-r-lg max-w-full w-full"},k.createElement("div",{className:"insytful-search-error-callout-content flex-1 gap-[8px] flex flex-col"},k.createElement("p",{className:"insytful-search-error-callout-title font-semibold text-[var(--insytful-callout-error-text)] m-0"},a),k.createElement("p",{className:"insytful-search-error-callout-text text-[var(--insytful-callout-error-text)] m-0"},u)),f?(()=>{const v=f.path.startsWith("https://www");return k.createElement("a",ln(re({href:f.path},v?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:"insytful-search-error-callout-cta inline-flex items-center justify-center rounded-[var(--insytful-callout-error-cta-border-radius)] bg-[var(--insytful-callout-error-cta-bg)] px-[16px] py-[8px] text-[14px] font-medium text-[var(--insytful-callout-error-cta-text)] no-underline transition-opacity hover:opacity-90"}),f.text,v&&k.createElement("span",{className:"insytful-sr-only"}," (opens in a new tab)"))})():b?k.createElement("button",{onClick:b,className:"insytful-search-error-callout-btn underline text-[var(--insytful-callout-error-text)] hover:text-[var(--insytful-callout-error-text)]/80 hover:no-underline text-[14px] font-medium"},"Try classic?"):null)}function pr({className:a,searchingText:u,children:f}){var Fe;const{messages:b,loading:v,error:g,renderMarkdown:A,logo:O,open:_}=Qe("Search.Messages"),D=(0,k.useRef)(null),T=(0,k.useRef)(null),[Y,Te]=(0,k.useState)(!1),[G,Re]=(0,k.useState)(!1),ce=(0,k.useRef)(0);(0,k.useEffect)(()=>{const se=D.current;if(!se)return;const ot=()=>{const I=se.scrollHeight>se.clientHeight;Te(N=>N===I?N:I)},gt=()=>{ot();const I=se.scrollTop+se.clientHeight>=se.scrollHeight-40,N=Date.now()-ce.current<800;I&&!N&&se.scrollHeight>se.clientHeight&&Re(!0)};ot(),se.addEventListener("scroll",gt),window.addEventListener("resize",ot);const Tt=se.querySelector(".insytful-search-messages-inner");let Ct=0;const bt=Tt?new ResizeObserver(()=>{cancelAnimationFrame(Ct),Ct=requestAnimationFrame(ot)}):null;return bt&&Tt&&bt.observe(Tt),()=>{se.removeEventListener("scroll",gt),window.removeEventListener("resize",ot),bt&&bt.disconnect(),cancelAnimationFrame(Ct)}},[b.length]);const De=(0,k.useMemo)(()=>v&&(b.length===0||b[b.length-1].role==="user")?[...b,{role:"assistant",content:""}]:b,[b,v]),lt=!!((Fe=[...De].reverse().find(se=>se.role==="assistant"))!=null&&Fe.content),We=v&&!lt&&!g,it=(0,k.useRef)(0);(0,k.useEffect)(()=>
50{if(b.length===0||!_)return;const se=D.current;if(b.length>it.current&&b[b.length-1].role==="user"&&(Re(!1),it.current>0&&se&&T.current)){const ot=se.querySelectorAll(".insytful-search-message[data-role='user']"),gt=ot[ot.length-1];gt&&(ce.current=Date.now(),Yt(se,gt,T.current))}it.current=b.length},[b.length,_]),(0,k.useEffect)(()=>{(!v||g)&&T.current&&(T.current.style.transition=g?"none":"height 500ms ease-out",T.current.style.height="0px")},[v,g]);const Ue=Y&&!G&&!We;return(!b||b.length===0)&&!v?null:k.createElement("div",{className:`flex-1 min-h-0 relative w-full max-w-full ${a!=null?a:""}`},k.createElement("div",{ref:D,className:`overflow-y-auto insytful-search-messages-container-scroll h-full w-full ${Ue?"[mask-image:linear-gradient(to_bottom,black_0%,black_90%,rgba(0,0,0,0.3)_100%)] [-webkit-mask-image:linear-gradient(to_bottom,black_0%,black_90%,rgba(0,0,0,0.3)_100%)]":""}`},k.createElement("div",{className:"insytful-search-messages-outer w-full max-w-[var(--insytful-modal-max-width)] mx-auto"},k.createElement("ul",{className:"insytful-search-messages-inner flex flex-col gap-[32px] max-w-full w-full p-0 m-0 list-none"},De.map((se,ot)=>{const gt=ot===De.length-1&&se.role==="assistant";return k.createElement($r,{key:`${ot}-${mt(se.content)}`,renderContent:A,logo:O,message:se,showSkeleton:gt&&We,searchingText:u})})),f,k.createElement("div",{ref:T,className:"insytful-search-scroll-spacer","aria-hidden":"true"}))),Ue&&k.createElement("div",{className:"w-full max-w-[var(--insytful-modal-max-width)] mx-auto absolute left-1/2 -translate-x-1/2 bottom-0 flex flex-col justify-center items-center"},k.createElement("div",{key:`slide-icon-${b.length}`,className:"insytful-search-messages-icon min-w-[42px] h-[42px] w-[42px] rounded-full border border-gray-200 flex items-center justify-center p-[8px] shadow-[0_2px_8px_0_rgba(0,0,0,0.15)] animate-slide-to-bounce-animate bg-white z-20"},k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},k.createElement("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 5v14M19 12l-7 7-7-7"})))))}pr.displayName="Search.Messages";function dr({items:a,className:u,position:f="above"}){const{onSend:b}=Qe("Search.Suggestions");if(!a||a.length<=0)return null;const v=f==="below"?{order:2}:void 0;return k.createElement("div",{"data-position":f,style:v,className:`insytful-search-suggestions-outer w-full overflow-hidden self-stretch ${u!=null?u:""}`},k.createElement("ul",{className:"insytful-search-suggestions-inner flex gap-[16px] w-full min-w-0 flex-wrap justify-center p-0 m-0 list-none"},a.map((g,A)=>k.createElement("li",{key:`${A}-${mt(g)}`,className:"insytful-search-suggestions-item"},k.createElement("button",{type:"button",onClick:()=>b(g),className:"insytful-search-suggestions-item-btn bg-[var(--insytful-btn-prompt-bg-default)] text-[var(--insytful-btn-prompt-text)] whitespace-nowrap transition-colors hover:bg-[var(--insytful-btn-prompt-bg-hover)] py-[8px] px-[8px] md:py-[12px] md:px-[16px] text-[14px] md:text-[18px] leading-[24px] rounded-[var(--insytful-btn-prompt-radius)] focus:outline-none focus:ring-2 focus:ring-inset focus:ring-[var(--insytful-btn-prompt-focus)]"},g)))))}dr.displayName="Search.Suggestions";function hr({children:a,className:u}){return k.createElement("div",{className:`insytful-search-disclaimer-inner text-sm leading-6 font-normal text-center text-[var(--insytful-disclaimer-text)] ${u!=null?u:""}`},a)}hr.displayName="Search.Disclaimer";function Mn({children:a,value:u,defaultValue:f="ai",onValueChange:b}){const[v,g]=gn({prop:u,defaultProp:f,onChange:b}),A=(0,k.useMemo)(()=>({mode:v,onSwitchMode:g}),[v,g]);return k.createElement(Pt,{value:A},a)}Mn.displayName="Search.Modes";function mr({children:a,name:u,path:f,onNavigate:b}){const{mode:v}=nn("Search.Mode"),{onOpenChange:g}=Qe("Search.Mode"),A=v===u,O=!!f,_=(0,k.useCallback)(D=>mn(this,null,function*(){if(!f)return;const T=encodeURIComponent(D);try{if(new URL(`${f}${T}`,window.location.origin).origin!==window.location.origin){console.error("[Insytful] Navigation blocked: path must be same-origin");return}}
50catch(Y){console.error("[Insytful] Navigation blocked: invalid path");return}g(!1),b?b(`${f}${T}`):window.location.href=`${f}${T}`}),[f,b,g]);return A?O?k.createElement(qr,{onSend:_},a):k.createElement(k.Fragment,null,a):null}mr.displayName="Search.Mode";function qr({children:a,onSend:u}){const f=Qe("Search.Mode"),b=(0,k.useMemo)(()=>ln(re({},f),{onSend:u}),[f,u]);return k.createElement(St,{value:b},a)}function cn({children:a}){const{mode:u,onSwitchMode:f}=nn("Search.ModeSwitch");return typeof a=="function"?k.createElement(k.Fragment,null,a({mode:u,onSwitch:f})):k.createElement(k.Fragment,null,a)}cn.displayName="Search.ModeSwitch";const Gr=Object.freeze(Object.defineProperty({__proto__:null,Close:wn,Description:cr,Disclaimer:hr,ErrorCallout:He,Input:K,Messages:pr,Mode:mr,ModeSwitch:cn,Modes:Mn,Portal:Et,Root:lr,Suggestions:dr,Title:ur,Trigger:sr,useModeContext:nn,useModeContextSafe:qt,useSearchContext:Qe},Symbol.toStringTag,{value:"Module"}))},99725:(Ie,te,V)=>{V.d(te,{UG:()=>Wl});var k={};V.r(k),V.d(k,{boolean:()=>R,booleanish:()=>ie,commaOrSpaceSeparated:()=>Q,commaSeparated:()=>Oe,number:()=>S,overloadedBoolean:()=>$,spaceSeparated:()=>z});var Ve={};V.r(Ve),V.d(Ve,{attentionMarkers:()=>la,contentInitial:()=>ta,disable:()=>sa,document:()=>ea,flow:()=>ra,flowInitial:()=>na,insideSpan:()=>aa,string:()=>ia,text:()=>oa});function Be(e){return e}function we(){}function Ae(){}function ke(){}function ze(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const l=n.slice(o,r).trim();(l||!i)&&t.push(l),o=r+1,r=n.indexOf(",",o)}return t}function X(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const B=/[$_\p{ID_Start}]/u,ue=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,ge=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,ct=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ne={};function ve(e){return e?B.test(String.fromCodePoint(e)):!1}function pt(e,t){const r=(t||Ne).jsx?ge:ue;return e?r.test(String.fromCodePoint(e)):!1}function Ye(e,t){return((t||Ne).jsx?_e:ct).test(e)}const et=/[ \t\n\f\r]/g;function kt(e){return typeof e=="object"?e.type==="text"?It(e.value):!1:It(e)}function It(e){return e.replace(et,"")===""}class xt{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}xt.prototype.normal={},xt.prototype.property={},xt.prototype.space=void 0;function Se(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new xt(n,r,t)}function ye(e){return e.toLowerCase()}class Z{constructor(t,n){this.attribute=n,this.property=t}}Z.prototype.attribute="",Z.prototype.booleanish=!1,Z.prototype.boolean=!1,Z.prototype.commaOrSpaceSeparated=!1,Z.prototype.commaSeparated=!1,Z.prototype.defined=!1,Z.prototype.mustUseProperty=!1,Z.prototype.number=!1,Z.prototype.overloadedBoolean=!1,Z.prototype.property="",Z.prototype.spaceSeparated=!1,Z.prototype.space=void 0;let tt=0;const R=nt(),ie=nt(),$=nt(),S=nt(),z=nt(),Oe=nt(),Q=nt();function nt(){return po(2,++tt)}const Ze=Object.keys(k);class E extends Z{constructor(t,n,r,o){let i=-1;if(super(t,n),J(this,"space",o),typeof r=="number")for(;++i<Ze.length;){const l=Ze[i];J(this,Ze[i],(r&k[l])===k[l])}}}E.prototype.defined=!0;function J(e,t,n){n&&(e[t]=n)}function U(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new E(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ye(r)]=r,n[ye(i.attribute)]=r}return new xt(t,n,e.space)}const le=U({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:S,ariaColIndex:S,ariaColSpan:S,ariaControls:z,ariaCurrent:null,ariaDescribedBy:z,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:z,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:z,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:z,ariaLevel:S,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:z,ariaPlaceholder:null,ariaPosInSet:S,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:z,ariaRowCount:S,ariaRowIndex:S,ariaRowSpan:S,ariaSelected:ie,ariaSetSize:S,ariaSort:null,ariaValueMax:S,ariaValueMin:S,ariaValueNow:S,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function je(e,t){return t in e?e[t]:t}function me(e,t){return je(e,t.toLowerCase())}const Lt=U({attributes:{acceptcharset:"accept-charset",classname:"
50class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Oe,acceptCharset:z,accessKey:z,action:null,allow:null,allowFullScreen:R,allowPaymentRequest:R,allowUserMedia:R,alpha:R,alt:null,as:null,async:R,autoCapitalize:null,autoComplete:z,autoFocus:R,autoPlay:R,blocking:z,capture:null,charSet:null,checked:R,cite:null,className:z,closedBy:null,colorSpace:null,cols:S,colSpan:S,command:null,commandFor:null,content:null,contentEditable:ie,controls:R,controlsList:z,coords:S|Oe,crossOrigin:null,data:null,dateTime:null,decoding:null,default:R,defer:R,dir:null,dirName:null,disabled:R,download:$,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:R,formTarget:null,headers:z,height:S,hidden:$,high:S,href:null,hrefLang:null,htmlFor:z,httpEquiv:z,id:null,imageSizes:null,imageSrcSet:null,inert:R,inputMode:null,integrity:null,is:null,isMap:R,itemId:null,itemProp:z,itemRef:z,itemScope:R,itemType:z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:R,low:S,manifest:null,max:null,maxLength:S,media:null,method:null,min:null,minLength:S,multiple:R,muted:R,name:null,nonce:null,noModule:R,noValidate:R,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:R,optimum:S,pattern:null,ping:z,placeholder:null,playsInline:R,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:R,referrerPolicy:null,rel:z,required:R,reversed:R,rows:S,rowSpan:S,sandbox:z,scope:null,scoped:R,seamless:R,selected:R,shadowRootClonable:R,shadowRootCustomElementRegistry:R,shadowRootDelegatesFocus:R,shadowRootMode:null,shadowRootSerializable:R,shape:null,size:S,sizes:null,slot:null,span:S,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:S,step:null,style:null,tabIndex:S,target:null,title:null,translate:null,type:null,typeMustMatch:R,useMap:null,value:ie,width:S,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:z,axis:null,background:null,bgColor:null,border:S,borderColor:null,bottomMargin:S,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:R,declare:R,event:null,face:null,frame:null,frameBorder:null,hSpace:S,leftMargin:S,link:null,longDesc:null,lowSrc:null,marginHeight:S,marginWidth:S,noResize:R,noHref:R,noShade:R,noWrap:R,object:null,profile:null,prompt:null,rev:null,rightMargin:S,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:S,valueType:null,version:null,vAlign:null,vLink:null,vSpace:S,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:R,disablePictureInPicture:R,disableRemotePlayback:R,exportParts:Oe,part:z,prefix:null,property:null,results:S,security:null,unselectable:null},space:"html",transform:me}),$t=U({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",colorRen
50dering:"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",maskType:"mask-type",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
50-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:Q,accentHeight:S,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:S,amplitude:S,arabicForm:null,ascent:S,attributeName:null,attributeType:null,azimuth:S,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:S,by:null,calcMode:null,capHeight:S,className:z,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:S,diffuseConstant:S,direction:null,display:null,dur:null,divisor:S,dominantBaseline:null,download:R,dx:null,dy:null,edgeMode:null,editable:null,elevation:S,enableBackground:null,end:null,event:null,exponent:S,externalResourcesRequired:null,fill:null,fillOpacity:S,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:Oe,g2:Oe,glyphName:Oe,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:S,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:S,horizOriginX:S,horizOriginY:S,id:null,ideographic:S,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:S,k:S,k1:S,k2:S,k3:S,k4:S,kernelMatrix:Q,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:S,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:S,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
vendor: 4,367 bytes, line 50
50Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:S,overlineThickness:S,paintOrder:null,panose1:null,path:null,pathLength:S,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:z,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:S,pointsAtY:S,pointsAtZ:S,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Q,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Q,rev:Q,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Q,requiredFeatures:Q,requiredFonts:Q,requiredFormats:Q,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:S,specularExponent:S,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:S,strikethroughThickness:S,string:null,stroke:null,strokeDashArray:Q,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:S,strokeOpacity:S,strokeWidth:null,style:null,surfaceScale:S,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Q,tabIndex:S,tableValues:null,target:null,targetX:S,targetY:S,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Q,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:S,underlineThickness:S,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:S,values:null,vAlphabetic:S,vMathematical:S,vectorEffect:null,vHanging:S,vIdeographic:S,version:null,vertAdvY:S,vertOriginX:S,vertOriginY:S,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:S,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:je}),rt=U({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),dt=U({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:me}),vt=U({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),_t=Se([le,Lt,rt,dt,vt],"html"),Ft=Se([le,$t,rt,dt,vt],"svg"),St=/[A-Z]/g,Qe=/-[a-z]/g,Pt=/^data[-\w.:]+$/i;function nn(e,t){const n=ye(t);let r=t,o=Z;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Pt.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Qe,gn);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Qe.test(i)){let l=i.replace(St,qt);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}o=E}return new o(r,t)}function qt(e){return"-"+e.toLowerCase()}function gn(e){return e.charAt(1).toUpperCase()}const qn={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"};function En(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Gn(e){return e.join(" ").trim()}var Zt=V(41476),yn=V.n(Zt);const xn=Cn("end"),Yn=Cn("start");function Cn(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function In(e){const t=Yn(e),n=xn(e);if(t&&n)return{start:t,end:n}}function Wn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Xn(e.position):"start"in e||"end"in e?Xn(e):"line"in e||"column"in e?jt(e):""}function jt(e){return Kn(e&&e.line)+":"+Kn(e&&e.column)}function Xn(e){return jt(e&&e.start)+"-"+jt(e&&e.end)}function Kn(e){return e&&typeof e=="number"?e:1}
vendor: 7,149 bytes, line 50
50class ht extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",i={},l=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i=re({},n)),typeof t=="string"?o=t:!i.cause&&t&&(l=!0,o=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const p=r.indexOf(":");p===-1?i.ruleId=r:(i.source=r.slice(0,p),i.ruleId=r.slice(p+1))}if(!i.place&&i.ancestors&&i.ancestors){const p=i.ancestors[i.ancestors.length-1];p&&(i.place=p.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=s?s.line:void 0,this.name=Wn(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=l&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ht.prototype.file="",ht.prototype.name="",ht.prototype.reason="",ht.prototype.message="",ht.prototype.stack="",ht.prototype.column=void 0,ht.prototype.line=void 0,ht.prototype.ancestors=void 0,ht.prototype.cause=void 0,ht.prototype.fatal=void 0,ht.prototype.place=void 0,ht.prototype.ruleId=void 0,ht.prototype.source=void 0;const _n={}.hasOwnProperty,Cr=new Map,Ir=/[A-Z]/g,_r=new Set(["table","tbody","thead","tfoot","tr"]),Nr=new Set(["td","th"]),Zn="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Tr(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Rr(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=rn(n,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ft:_t,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Nn(o,e,void 0);return i&&typeof i!="string"?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function Nn(e,t,n){if(t.type==="element")return Ar(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Pr(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Tn(e,t,n);if(t.type==="mdxjsEsm")return bn(e,t);if(t.type==="root")return zr(e,t,n);if(t.type==="text")return Qn(e,t)}function Ar(e,t,n){const r=e.schema;let o=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(o=Ft,e.schema=o),e.ancestors.push(t);const i=tr(e,t.tagName,!1),l=Pn(e,t);let s=Rn(e,t);return _r.has(t.tagName)&&(s=s.filter(function(p){return typeof p=="string"?!kt(p):!0})),Jn(e,l,i,t),An(l,s),e.ancestors.pop(),e.schema=r,e.create(t,i,l,n)}function Pr(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}sn(e,t.position)}function bn(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sn(e,t.position)}function Tn(e,t,n){const r=e.schema;let o=r;t.name==="svg"&&r.space==="html"&&(o=Ft,e.schema=o),e.ancestors.push(t);const i=t.name===null?e.Fragment:tr(e,t.name,!0),l=zn(e,t),s=Rn(e,t);return Jn(e,l,i,t),An(l,s),e.ancestors.pop(),e.schema=r,e.create(t,i,l,n)}function zr(e,t,n){const r={};return An(r,Rn(e,t)),e.create(t,e.Fragment,r,n)}function Qn(e,t){return t.value}function Jn(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function An(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function rn(e,t,n){return r;function r(o,i,l,s){const h=Array.isArray(l.children)?n:t;return s?h(i,l,s):h(i,l)}}function Rr(e,t){return n;function n(r,o,i,l){const s=Array.isArray(i.children),p=Yn(r);return t(o,i,l,s,{columnNumber:p?p.column-1:void 0,fileName:e,lineNumber:p?p.line:void 0},void 0)}}function Pn(e,t){const n={};let r,o;for(o in t.properties)if(o!=="children"&&_n.call(t.properties,o)){const i=er(e,o,t.properties[o]);if(i){const[l,s]=i;e.tableCellAlignToStyle&&l==="align"&&typeof s=="string"&&Nr.has(t.tagName)?r=s:n[l]=s}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function zn(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const l=i.expression;l.type;const s=l.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else sn(e,t.position);else{const o=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,i=e.evaluater.evaluateExpression(s.expression)}else sn(e,t.position);else i=r.value===null?!0:r.value;n[o]=i}return n}function Rn(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:Cr;for(;++r<t.children.length;){const i=t.children[r];let l;if(e.passKeys){const p=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(p){const h=o.get(p)||0;l=p+"-"+h,o.set(p,h+1)}}const s=Nn(e,i,l);s!==void 0&&n.push(s)}return n}function er(e,t,n){const r=nn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?X(n):Gn(n)),r.property==="style"){let o=typeof n=="object"?n:Lr(e,String(n));return e.stylePropertyNameCase==="css"&&(o=nr(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&r.space?qn[r.property]||r.property:r.attribute,n]}}function Lr(e,t){try{return yn()(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,o=new ht("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=Zn+"#cannot-parse-style-attribute",o}}function tr(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let i=-1,l;for(;++i<o.length;){const s=Ye(o[i])?{type:"Identifier",name:o[i]}:{type:"Literal",value:o[i]};l=l?{type:"MemberExpression",object:l,property:s,computed:Boolean(i&&s.type==="Literal"),optional:!1}:s}r=l}else r=Ye(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const o=r.value;return _n.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(r);sn(e)}function sn(e,t){const n=new ht("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Zn+"#cannot-handle-mdx-estrees-without-createevaluater",n}function nr(e){const t={};let n;
vendor: 4,283 bytes, line 50
50for(n in e)_n.call(e,n)&&(t[rr(n)]=e[n]);return t}function rr(e){let t=e.replace(Ir,Fr);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Fr(e){return"-"+e.toLowerCase()}const Ln={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Fn=V(85893),Or=V(67294);const Ht={};function Dr(e,t){const n=t||Ht,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return ir(e,r,o)}function ir(e,t,n){if(Mr(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return on(e.children,t,n)}return Array.isArray(e)?on(e,t,n):""}function on(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=ir(e[o],t,n);return r.join("")}function Mr(e){return Boolean(e&&typeof e=="object")}function Ot(e,t,n,r){const o=e.length;let i=0,l;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);i<r.length;)l=r.slice(i,i+1e4),l.unshift(t,0),e.splice(...l),i+=1e4,t+=1e4}function Nt(e,t){return e.length>0?(Ot(e,e.length,0,t),e):t}class un{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n==null?Number.POSITIVE_INFINITY:n;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const o=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&Gt(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Gt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Gt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Gt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Gt(this.left,n.reverse())}}}function Gt(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 or(e){const t={};let n=-1,r,o,i,l,s,p,h;const c=new un(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(p=r[1]._tokenizer.events,i=0,i<p.length&&p[i][1].type==="lineEndingBlank"&&(i+=2),i<p.length&&p[i][1].type==="content"))for(;++i<p.length&&p[i][1].type!=="content";)p[i][1].type==="chunkText"&&(p[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Br(c,n)),n=t[n],h=!0);else if(r[1]._container){for(i=n,o=void 0;i--;)if(l=c.get(i),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(o&&(c.get(o)[1].type="lineEndingBlank"),l[1].type="lineEnding",o=i);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;o&&(r[1].end=re({},c.get(o)[1].start),s=c.slice(o,n),s.unshift(r),c.splice(o,n-o+1,s))}}return Ot(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!h}function Br(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const s=l.events,p=[],h={};let c,x,w=-1,d=n,M=0,H=0;const pe=[H];for(;d;){for(;e.get(++o)[1]!==d;);i.push(o),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),x&&l.defineSki
vendor: 6,728 bytes, line 50
50p(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),x=d,d=d.next}for(d=n;++w<s.length;)s[w][0]==="exit"&&s[w-1][0]==="enter"&&s[w][1].type===s[w-1][1].type&&s[w][1].start.line!==s[w][1].end.line&&(H=w+1,pe.push(H),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):pe.pop(),w=pe.length;w--;){const L=s.slice(pe[w],pe[w+1]),de=i.pop();p.push([de,de+L.length-1]),e.splice(de,2,L)}for(p.reverse(),w=-1;++w<p.length;)h[M+p[w][0]]=M+p[w][1],M+=p[w][1]-p[w][0]-1;return h}function jr(e){for(;!or(e););return e}const On={}.hasOwnProperty;function Hr(e){const t={};let n=-1;for(;++n<e.length;)Ur(t,e[n]);return t}function Ur(e,t){let n;for(n in t){const o=(On.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let l;if(i)for(l in i){On.call(o,l)||(o[l]=[]);const s=i[l];Vr(o[l],Array.isArray(s)?s:s?[s]:[])}}}function Vr(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ot(e,0,0,r)}function ar(e){const t={};let n=-1;for(;++n<e.length;)lr(t,e[n]);return t}function lr(e,t){let n;for(n in t){const o=(On.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let l;if(i)for(l in i)o[l]=i[l]}}const Dt=Yt(/[A-Za-z]/),Et=Yt(/[\dA-Za-z]/),sr=Yt(/[#-'*+\--9=?A-Z^-~]/);function Dn(e){return e!==null&&(e<32||e===127)}const wn=Yt(/\d/),ur=Yt(/[\dA-Fa-f]/),cr=Yt(/[!-/:-@[-`{-~]/);function K(e){return e!==null&&e<-2}function mt(e){return e!==null&&(e<0||e===32)}function Pe(e){return e===-2||e===-1||e===32}const fr=Yt(new RegExp("\\p{P}|\\p{S}","u")),$r=Yt(/\s/);function Yt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function He(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return l;function l(p){return Pe(p)?(e.enter(n),s(p)):t(p)}function s(p){return Pe(p)&&i++<o?(e.consume(p),s):(e.exit(n),t(p))}}const pr={tokenize:dr};function dr(e){const t=e.attempt(this.parser.constructs.contentInitial,r,o);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),He(e,t,"linePrefix")}function o(s){return e.enter("paragraph"),i(s)}function i(s){const p=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=p),n=p,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return K(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),l)}}const hr={tokenize:mr},Mn={tokenize:qr};function mr(e){const t=this,n=[];let r=0,o,i,l;return s;function s(q){if(r<n.length){const Xe=n[r];return t.containerState=Xe[1],e.attempt(Xe[0].continuation,p,h)(q)}return h(q)}function p(q){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&de();const Xe=t.events.length;let Je=Xe,P;for(;Je--;)if(t.events[Je][0]==="exit"&&t.events[Je][1].type==="chunkFlow"){P=t.events[Je][1].end;break}L(r);let Ge=Xe;for(;Ge<t.events.length;)t.events[Ge][1].end=re({},P),Ge++;return Ot(t.events,Je+1,0,t.events.slice(Xe)),t.events.length=Ge,h(q)}return s(q)}function h(q){if(r===n.length){if(!o)return w(q);if(o.currentConstruct&&o.currentConstruct.concrete)return M(q);t.interrupt=Boolean(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Mn,c,x)(q)}function c(q){return o&&de(),L(r),w(q)}function x(q){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,M(q)}function w(q){return t.containerState={},e.attempt(Mn,d,M)(q)}function d(q){return r++,n.push([t.currentConstruct,t.containerState]),w(q)}function M(q){if(q===null){o&&de(),L(0),e.consume(q);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:i}),H(q)}function H(q){if(q===null){pe(e.exit("chunkFlow"),!0),L(0),e.consume(q);return}return K(q)?(e.consume(q),pe(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(q),H)}function pe(q,Xe){const Je=t.sliceStream(q);if(Xe&&Je.push(null),q.previous=i,i&&(i.next=q),i=q,o.defineSkip(q.start),o.write(Je),t.parser.lazy[q.start.line]){let P=o.events.length;for(;P--;)if(o.events[P][1].start.offset<l&&(!o.events[P][1].end||o.events[P][1].end.offset>l))return;const Ge=t.events.length;let ut=Ge,Me,Ke;for(;ut--;)if(t.events[ut][0]==="exit"&&t.events[ut][1].type==="chunkFlow"){if(Me){Ke=t.events[ut][1].end;break}Me=!0}for(L(r),P=Ge;P<t.events.length;)t.events[P][1].end=re({},Ke),P++;Ot(t.events,ut+1,0,t.events.slice(Ge)),t.events.length=P}}function L(q){let Xe=n.length;for(;Xe-- >q;){const Je=n[Xe];t.containerState=Je[1],Je[0].exit.call(t,e)}n.length=q}function de(){o.write([null]),i=void 0,o=void 0,t.containerState._closeFlow=void 0}}function qr(e,t,n){return He(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const cn={partial:!0,tokenize:Gr};function Gr(e,t,n){return r;function r(i){return Pe(i)?He(e,o,"linePrefix")(i):o(i)}function o(i){return i===null||K(i)?t(i):n(i)}}const a={resolve:f,tokenize:b},u={partial:!0,tokenize:v};function f(e){return or(e),e}function b(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(s)}function o(s){return s===null?i(s):K(s)?e.check(u,l,i)(s):(e.consume(s),o)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function l(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function v(e,t,n){const r=this;return o;function o(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),He(e,i,"linePrefix")}function i(l){if(l===null||K(l))return n(l);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}const g={tokenize:A};function A(e){const t=this,n=e.attempt(cn,r,e.attempt(this.parser.constructs.flowInitial,o,He(e,e.attempt(this.parser.constructs.flow,o,e.attempt(a,o)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const O={resolveAll:Y()},_=T("string"),D=T("text");function T(e){return{resolveAll:Y(e==="text"?Te:void 0),tokenize:t};function t(n){const r=this,o=this.parser.constructs[e],i=n.attempt(o,l,s);return l;function l(c){return h(c)?i(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),p}
vendor: 2,708 bytes, line 50
50function p(c){return h(c)?(n.exit("data"),i(c)):(n.consume(c),p)}function h(c){if(c===null)return!0;const x=o[c];let w=-1;if(x)for(;++w<x.length;){const d=x[w];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function Y(e){return t;function t(n,r){let o=-1,i;for(;++o<=n.length;)i===void 0?n[o]&&n[o][1].type==="data"&&(i=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==i+2&&(n[i][1].end=n[o-1][1].end,n.splice(i+2,o-i-2),o=i+2),i=void 0);return e?e(n,r):n}}function Te(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],o=t.sliceStream(r);let i=o.length,l=-1,s=0,p;for(;i--;){const h=o[i];if(typeof h=="string"){for(l=h.length;h.charCodeAt(l-1)===32;)s++,l--;if(l)break;l=-1}else if(h===-2)p=!0,s++;else if(h!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const h={type:n===e.length||p||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?l:r.start._bufferIndex+l,_index:r.start._index+i,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:re({},r.end)};r.end=re({},h.start),r.start.offset===r.end.offset?Object.assign(r,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const G={name:"thematicBreak",tokenize:Re};function Re(e,t,n){let r=0,o;return i;function i(h){return e.enter("thematicBreak"),l(h)}function l(h){return o=h,s(h)}function s(h){return h===o?(e.enter("thematicBreakSequence"),p(h)):r>=3&&(h===null||K(h))?(e.exit("thematicBreak"),t(h)):n(h)}function p(h){return h===o?(e.consume(h),r++,p):(e.exit("thematicBreakSequence"),Pe(h)?He(e,s,"whitespace")(h):s(h))}}const ce={continuation:{tokenize:it},exit:Fe,name:"list",tokenize:We},De={partial:!0,tokenize:se},lt={partial:!0,tokenize:Ue};function We(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,l=0;return s;function s(d){const M=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(M==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:wn(d)){if(r.containerState.type||(r.containerState.type=M,e.enter(M,{_container:!0})),M==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(G,n,h)(d):h(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(d)}return n(d)}function p(d){return wn(d)&&++l<10?(e.consume(d),p):(!r.interrupt||l<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),h(d)):n(d)}function h(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(cn,r.interrupt?n:c,e.attempt(De,w,x))}
vendor: 14,691 bytes, line 50
50function c(d){return r.containerState.initialBlankLine=!0,i++,w(d)}function x(d){return Pe(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),w):n(d)}function w(d){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function it(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(cn,o,i);function o(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,He(e,t,"listItemIndent",r.containerState.size+1)(s)}function i(s){return r.containerState.furtherBlankLines||!Pe(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(lt,t,l)(s))}function l(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,He(e,e.attempt(ce,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Ue(e,t,n){const r=this;return He(e,o,"listItemIndent",r.containerState.size+1);function o(i){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(i):n(i)}}function Fe(e){e.exit(this.containerState.type)}function se(e,t,n){const r=this;return He(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function o(i){const l=r.events[r.events.length-1];return!Pe(i)&&l&&l[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const ot={continuation:{tokenize:Tt},exit:Ct,name:"blockQuote",tokenize:gt};function gt(e,t,n){const r=this;return o;function o(l){if(l===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),i}return n(l)}function i(l){return Pe(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function Tt(e,t,n){const r=this;return o;function o(l){return Pe(l)?He(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):i(l)}function i(l){return e.attempt(ot,t,n)(l)}}function Ct(e){e.exit("blockQuote")}function bt(e,t,n,r,o,i,l,s,p){const h=p||Number.POSITIVE_INFINITY;let c=0;return x;function x(L){return L===60?(e.enter(r),e.enter(o),e.enter(i),e.consume(L),e.exit(i),w):L===null||L===32||L===41||Dn(L)?n(L):(e.enter(r),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),H(L))}function w(L){return L===62?(e.enter(i),e.consume(L),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(L))}function d(L){return L===62?(e.exit("chunkString"),e.exit(s),w(L)):L===null||L===60||K(L)?n(L):(e.consume(L),L===92?M:d)}function M(L){return L===60||L===62||L===92?(e.consume(L),d):d(L)}function H(L){return!c&&(L===null||L===41||mt(L))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(r),t(L)):c<h&&L===40?(e.consume(L),c++,H):L===41?(e.consume(L),c--,H):L===null||L===32||L===40||Dn(L)?n(L):(e.consume(L),L===92?pe:H)}function pe(L){return L===40||L===41||L===92?(e.consume(L),H):H(L)}}function I(e,t,n,r,o,i){const l=this;let s=0,p;return h;function h(d){return e.enter(r),e.enter(o),e.consume(d),e.exit(o),e.enter(i),c}function c(d){return s>999||d===null||d===91||d===93&&!p||d===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):d===93?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):K(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),x(d))}function x(d){return d===null||d===91||d===93||K(d)||s++>999?(e.exit("chunkString"),c(d)):(e.consume(d),p||(p=!Pe(d)),d===92?w:x)}function w(d){return d===91||d===92||d===93?(e.consume(d),s++,x):x(d)}}function N(e,t,n,r,o,i){let l;return s;function s(w){return w===34||w===39||w===40?(e.enter(r),e.enter(o),e.consume(w),e.exit(o),l=w===40?41:w,p):n(w)}function p(w){return w===l?(e.enter(o),e.consume(w),e.exit(o),e.exit(r),t):(e.enter(i),h(w))}function h(w){return w===l?(e.exit(i),p(l)):w===null?n(w):K(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),He(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===l||w===null||K(w)?(e.exit("chunkString"),h(w)):(e.consume(w),w===92?x:c)}function x(w){return w===l||w===92?(e.consume(w),c):c(w)}}function j(e,t){let n;return r;function r(o){return K(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Pe(o)?He(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function ne(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ae={name:"definition",tokenize:ee},xe={partial:!0,tokenize:Ee};function ee(e,t,n){const r=this;let o;return i;function i(d){return e.enter("definition"),l(d)}function l(d){return I.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function s(d){return o=ne(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),p):n(d)}function p(d){return mt(d)?j(e,h)(d):h(d)}function h(d){return bt(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(xe,x,x)(d)}function x(d){return Pe(d)?He(e,w,"whitespace")(d):w(d)}function w(d){return d===null||K(d)?(e.exit("definition"),r.parser.defined.push(o),t(d)):n(d)}}function Ee(e,t,n){return r;function r(s){return mt(s)?j(e,o)(s):n(s)}function o(s){return N(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return Pe(s)?He(e,l,"whitespace")(s):l(s)}function l(s){return s===null||K(s)?t(s):n(s)}}const fe={name:"codeIndented",tokenize:st},Le={partial:!0,tokenize:yt};function st(e,t,n){const r=this;return o;function o(h){return e.enter("codeIndented"),He(e,i,"linePrefix",4+1)(h)}function i(h){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?l(h):n(h)}function l(h){return h===null?p(h):K(h)?e.attempt(Le,l,p)(h):(e.enter("codeFlowValue"),s(h))}function s(h){return h===null||K(h)?(e.exit("codeFlowValue"),l(h)):(e.consume(h),s)}function p(h){return e.exit("codeIndented"),t(h)}}function yt(e,t,n){const r=this;return o;function o(l){return r.parser.lazy[r.now().line]?n(l):K(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):He(e,i,"linePrefix",4+1)(l)}function i(l){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):K(l)?o(l):n(l)}}const Bn={name:"headingAtx",resolve:Wt,tokenize:jn};function Wt(e,t){let n=e.length-2,r=3,o,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ot(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])),e}function jn(e,t,n){let r=0;return o;function o(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&r++<6?(e.consume(c),l):c===null||mt(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),p(c)):c===null||K(c)?(e.exit("atxHeading"),t(c)):Pe(c)?He(e,s,"whitespace")(c):(e.enter("atxHeadingText"),h(c))}function p(c){return c===35?(e.consume(c),p):(e.exit("atxHeadingSequence"),s(c))}function h(c){return c===null||c===35||mt(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),h)}}const kn={name:"setextUnderline",resolveTo:ho,tokenize:mo};function ho(e,t){let n=e.length,r,o,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const l={type:"setextHeading",start:re({},e[r][1].start),end:re({},e[e.length-1][1].end)};return e[o][1].type="setextHeadingText",i?(e.splice(o,0,["enter",l,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=re({},e[i][1].end)):e[r][1]=l,e.push(["exit",l,t]),e}function mo(e,t,n){const r=this;let o;return i;function i(h){let c=r.events.length,x;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){x=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||x)?(e.enter("setextHeadingLine"),o=h,l(h)):n(h)}function l(h){return e.enter("setextHeadingLineSequence"),s(h)}function s(h){return h===o?(e.consume(h),s):(e.exit("setextHeadingLineSequence"),Pe(h)?He(e,p,"lineSuffix")(h):p(h))}function p(h){return h===null||K(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const go=["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"],xi=["pre","script","style","textarea"],yo={concrete:!0,name:"htmlFlow",resolveTo:wo,tokenize:ko},xo={partial:!0,tokenize:So},bo={partial:!0,tokenize:vo};function wo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(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}function ko(e,t,n){const r=this;let o,i,l,s,p;return h;function h(y){return c(y)}function c(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),x}function x(y){return y===33?(e.consume(y),w):y===47?(e.consume(y),i=!0,H):y===63?(e.consume(y),o=3,r.interrupt?t:m):Dt(y)?(e.consume(y),l=String.fromCharCode(y),pe):n(y)}function w(y){return y===45?(e.consume(y),o=2,d):y===91?(e.consume(y),o=5,s=0,M):Dt(y)?(e.consume(y),o=4,r.interrupt?t:m):n(y)}function d(y){return y===45?(e.consume(y),r.interrupt?t:m):n(y)}function M(y){const zt="CDATA[";return y===zt.charCodeAt(s++)?(e.consume(y),s===zt.length?r.interrupt?t:$e:M):n(y)}function H(y){return Dt(y)?(e.consume(y),l=String.fromCharCode(y),pe):n(y)}function pe(y){if(y===null||y===47||y===62||mt(y)){const zt=y===47,pn=l.toLowerCase();return!zt&&!i&&xi.includes(pn)?(o=1,r.interrupt?t(y):$e(y)):go.includes(l.toLowerCase())?(o=6,zt?(e.consume(y),L):r.interrupt?t(y):$e(y)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):i?de(y):q(y))}return y===45||Et(y)?(e.consume(y),l+=String.fromCharCode(y),pe):n(y)}function L(y){return y===62?(e.consume(y),r.interrupt?t:$e):n(y)}function de(y){return Pe(y)?(e.consume(y),de):Ke(y)}function q(y){return y===47?(e.consume(y),Ke):y===58||y===95||Dt(y)?(e.consume(y),Xe):Pe(y)?(e.consume(y),q):Ke(y)}function Xe(y){return y===45||y===46||y===58||y===95||Et(y)?(e.consume(y),Xe):Je(y)}function Je(y){return y===61?(e.consume(y),P):Pe(y)?(e.consume(y),Je):q(y)}function P(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),p=y,Ge):Pe(y)?(e.consume(y),P):ut(y)}function Ge(y){return y===p?(e.consume(y),p=null,Me):y===null||K(y)?n(y):(e.consume(y),Ge)}function ut(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||mt(y)?Je(y):(e.consume(y),ut)}function Me(y){return y===47||y===62||Pe(y)?q(y):n(y)}function Ke(y){return y===62?(e.consume(y),Mt):n(y)}function Mt(y){return y===null||K(y)?$e(y):Pe(y)?(e.consume(y),Mt):n(y)}function $e(y){return y===45&&o===2?(e.consume(y),at):y===60&&o===1?(e.consume(y),ft):y===62&&o===4?(e.consume(y),Bt):y===63&&o===3?(e.consume(y),m):y===93&&o===5?(e.consume(y),Kt):K(y)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(xo,Qt,W)(y)):y===null||K(y)?(e.exit("htmlFlowData"),W(y)):(e.consume(y),$e)}function W(y){return e.check(bo,be,Qt)(y)}function be(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),he}function he(y){return y===null||K(y)?W(y):(e.enter("htmlFlowData"),$e(y))}function at(y){return y===45?(e.consume(y),m):$e(y)}function ft(y){return y===47?(e.consume(y),l="",Ut):$e(y)}function Ut(y){if(y===62){const zt=l.toLowerCase();return xi.includes(zt)?(e.consume(y),Bt):$e(y)}return Dt(y)&&l.length<8?(e.consume(y),l+=String.fromCharCode(y),Ut):$e(y)}function Kt(y){return y===93?(e.consume(y),m):$e(y)}function m(y){return y===62?(e.consume(y),Bt):y===45&&o===2?(e.consume(y),m):$e(y)}function Bt(y){return y===null||K(y)?(e.exit("htmlFlowData"),Qt(y)):(e.consume(y),Bt)}function Qt(y){return e.exit("htmlFlow"),t(y)}}function vo(e,t,n){const r=this;return o;function o(l){return K(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):n(l)}function i(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function So(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(cn,t,n)}}const bi={partial:!0,tokenize:Co},wi={concrete:!0,name:"codeFenced",tokenize:Eo};function Eo(e,t,n){const r=this,o={partial:!0,tokenize:Je};let i=0,l=0,s;return p;function p(P){return h(P)}function h(P){const Ge=r.events[r.events.length-1];return i=Ge&&Ge[1].type==="linePrefix"?Ge[2].sliceSerialize(Ge[1],!0).length:0,s=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(P)}function c(P){return P===s?(l++,e.consume(P),c):l<3?n(P):(e.exit("codeFencedFenceSequence"),Pe(P)?He(e,x,"whitespace")(P):x(P))}function x(P){return P===null||K(P)?(e.exit("codeFencedFence"),r.interrupt?t(P):e.check(bi,H,Xe)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),w(P))}function w(P){return P===null||K(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),x(P)):Pe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),He(e,d,"whitespace")(P)):P===96&&P===s?n(P):(e.consume(P),w)}function d(P){return P===null||K(P)?x(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),M(P))}function M(P){return P===null||K(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),x(P)):P===96&&P===s?n(P):(e.consume(P),M)}function H(P){return e.attempt(o,Xe,pe)(P)}function pe(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),L}function L(P){return i>0&&Pe(P)?He(e,de,"linePrefix",i+1)(P):de(P)}function de(P){return P===null||K(P)?e.check(bi,H,Xe)(P):(e.enter("co
50deFlowValue"),q(P))}function q(P){return P===null||K(P)?(e.exit("codeFlowValue"),de(P)):(e.consume(P),q)}function Xe(P){return e.exit("codeFenced"),t(P)}function Je(P,Ge,ut){let Me=0;return Ke;function Ke(he){return P.enter("lineEnding"),P.consume(he),P.exit("lineEnding"),Mt}function Mt(he){return P.enter("codeFencedFence"),Pe(he)?He(P,$e,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(he):$e(he)}function $e(he){return he===s?(P.enter("codeFencedFenceSequence"),W(he)):ut(he)}function W(he){return he===s?(Me++,P.consume(he),W):Me>=l?(P.exit("codeFencedFenceSequence"),Pe(he)?He(P,be,"whitespace")(he):be(he)):ut(he)}function be(he){return he===null||K(he)?(P.exit("codeFencedFence"),Ge(he)):ut(he)}}}function Co(e,t,n){const r=this;return o;function o(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i)}function i(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const ki=document.createElement("i");function Yr(e){const t="&"+e+";";ki.innerHTML=t;const n=ki.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const vi={name:"characterReference",tokenize:Io};function Io(e,t,n){const r=this;let o=0,i,l;return s;function s(x){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),p}function p(x){return x===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(x),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),i=31,l=Et,c(x))}function h(x){return x===88||x===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(x),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,l=ur,c):(e.enter("characterReferenceValue"),i=7,l=wn,c(x))}
50function c(x){if(x===59&&o){const w=e.exit("characterReferenceValue");return l===Et&&!Yr(r.sliceSerialize(w))?n(x):(e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(x)&&o++<i?(e.consume(x),c):n(x)}}const Si={name:"characterEscape",tokenize:_o};function _o(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),o}function o(i){return cr(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Wr={name:"lineEnding",tokenize:No};function No(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),He(e,t,"linePrefix")}}function Xr(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Kr={name:"labelEnd",resolveAll:zo,resolveTo:Ro,tokenize:Lo},To={tokenize:Fo},Ao={tokenize:Oo},Po={tokenize:Do};function zo(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const o=r.type==="labelImage"?4:2;r.type="data",t+=o}}return e.length!==n.length&&Ot(e,0,e.length,n),e}function Ro(e,t){let n=e.length,r=0,o,i,l,s;for(;n--;)if(o=e[n][1],i){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(i=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(l=n);const p={type:e[i][1].type==="labelLink"?"link":"image",start:re({},e[i][1].start),end:re({},e[e.length-1][1].end)},h={type:"label",start:re({},e[i][1].start),end:re({},e[l][1].end)},c={type:"labelText",start:re({},e[i+r+2][1].end),end:re({},e[l-2][1].start)};return s=[["enter",p,t],["enter",h,t]],s=Nt(s,e.slice(i+1,i+r+3)),s=Nt(s,[["enter",c,t]]),s=Nt(s,Xr(t.parser.constructs.insideSpan.null,e.slice(i+r+4,l-3),t)),s=Nt(s,[["exit",c,t],e[l-2],e[l-1],["exit",h,t]]),s=Nt(s,e.slice(l+1)),s=Nt(s,[["exit",p,t]]),Ot(e,i,e.length,s),e}function Lo(e,t,n){const r=this;let o=r.events.length,i,l;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){i=r.events[o][1];break}return s;function s(w){return i?i._inactive?x(w):(l=r.parser.defined.includes(ne(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(w),e.exit("labelMarker"),e.exit("labelEnd"),p):n(w)}function p(w){return w===40?e.attempt(To,c,l?c:x)(w):w===91?e.attempt(Ao,c,l?h:x)(w):l?c(w):x(w)}function h(w){return e.attempt(Po,c,x)(w)}function c(w){return t(w)}function x(w){return i._balanced=!0,n(w)}}
vendor: 8,664 bytes, line 50
50function Fo(e,t,n){return r;function r(x){return e.enter("resource"),e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),o}function o(x){return mt(x)?j(e,i)(x):i(x)}function i(x){return x===41?c(x):bt(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function l(x){return mt(x)?j(e,p)(x):c(x)}function s(x){return n(x)}function p(x){return x===34||x===39||x===40?N(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(x):c(x)}function h(x){return mt(x)?j(e,c)(x):c(x)}function c(x){return x===41?(e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),e.exit("resource"),t):n(x)}}function Oo(e,t,n){const r=this;return o;function o(s){return I.call(r,e,i,l,"reference","referenceMarker","referenceString")(s)}function i(s){return r.parser.defined.includes(ne(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function l(s){return n(s)}}function Do(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),o}function o(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const Mo={name:"labelStartImage",resolveAll:Kr.resolveAll,tokenize:Bo};function Bo(e,t,n){const r=this;return o;function o(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),l):n(s)}function l(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}function Ei(e){if(e===null||mt(e)||$r(e))return 1;if(fr(e))return 2}const Zr={name:"attention",resolveAll:jo,tokenize:Ho};function jo(e,t){let n=-1,r,o,i,l,s,p,h,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;p=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const x=re({},e[r][1].end),w=re({},e[n][1].start);Ci(x,-p),Ci(w,p),l={type:p>1?"strongSequence":"emphasisSequence",start:x,end:re({},e[r][1].end)},s={type:p>1?"strongSequence":"emphasisSequence",start:re({},e[n][1].start),end:w},i={type:p>1?"strongText":"emphasisText",start:re({},e[r][1].end),end:re({},e[n][1].start)},o={type:p>1?"strong":"emphasis",start:re({},l.start),end:re({},s.end)},e[r][1].end=re({},l.start),e[n][1].start=re({},s.end),h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=Nt(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=Nt(h,[["enter",o,t],["enter",l,t],["exit",l,t],["enter",i,t]]),h=Nt(h,Xr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=Nt(h,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,h=Nt(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Ot(e,r-1,n-r+3,h),n=r+h.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Ho(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Ei(r);let i;return l;function l(p){return i=p,e.enter("attentionSequence"),s(p)}function s(p){if(p===i)return e.consume(p),s;const h=e.exit("attentionSequence"),c=Ei(p),x=!c||c===2&&o||n.includes(p),w=!o||o===2&&c||n.includes(r);return h._open=Boolean(i===42?x:x&&(o||!w)),h._close=Boolean(i===42?w:w&&(c||!x)),t(p)}}function Ci(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Uo={name:"autolink",tokenize:Vo};function Vo(e,t,n){let r=0;return o;function o(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(d){return Dt(d)?(e.consume(d),l):d===64?n(d):h(d)}function l(d){return d===43||d===45||d===46||Et(d)?(r=1,s(d)):h(d)}function s(d){return d===58?(e.consume(d),r=0,p):(d===43||d===45||d===46||Et(d))&&r++<32?(e.consume(d),s):(r=0,h(d))}function p(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Dn(d)?n(d):(e.consume(d),p)}function h(d){return d===64?(e.consume(d),c):sr(d)?(e.consume(d),h):n(d)}function c(d){return Et(d)?x(d):n(d)}function x(d){return d===46?(e.consume(d),r=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):w(d)}function w(d){if((d===45||Et(d))&&r++<63){const M=d===45?w:x;return e.consume(d),M}return n(d)}}const $o={name:"htmlText",tokenize:qo};function qo(e,t,n){const r=this;let o,i,l;return s;function s(m){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(m),p}function p(m){return m===33?(e.consume(m),h):m===47?(e.consume(m),Je):m===63?(e.consume(m),q):Dt(m)?(e.consume(m),ut):n(m)}function h(m){return m===45?(e.consume(m),c):m===91?(e.consume(m),i=0,M):Dt(m)?(e.consume(m),de):n(m)}function c(m){return m===45?(e.consume(m),d):n(m)}function x(m){return m===null?n(m):m===45?(e.consume(m),w):K(m)?(l=x,ft(m)):(e.consume(m),x)}function w(m){return m===45?(e.consume(m),d):x(m)}function d(m){return m===62?at(m):m===45?w(m):x(m)}function M(m){const Bt="CDATA[";return m===Bt.charCodeAt(i++)?(e.consume(m),i===Bt.length?H:M):n(m)}function H(m){return m===null?n(m):m===93?(e.consume(m),pe):K(m)?(l=H,ft(m)):(e.consume(m),H)}function pe(m){return m===93?(e.consume(m),L):H(m)}function L(m){return m===62?at(m):m===93?(e.consume(m),L):H(m)}function de(m){return m===null||m===62?at(m):K(m)?(l=de,ft(m)):(e.consume(m),de)}function q(m){return m===null?n(m):m===63?(e.consume(m),Xe):K(m)?(l=q,ft(m)):(e.consume(m),q)}function Xe(m){return m===62?at(m):q(m)}function Je(m){return Dt(m)?(e.consume(m),P):n(m)}function P(m){return m===45||Et(m)?(e.consume(m),P):Ge(m)}function Ge(m){return K(m)?(l=Ge,ft(m)):Pe(m)?(e.consume(m),Ge):at(m)}function ut(m){return m===45||Et(m)?(e.consume(m),ut):m===47||m===62||mt(m)?Me(m):n(m)}function Me(m){return m===47?(e.consume(m),at):m===58||m===95||Dt(m)?(e.consume(m),Ke):K(m)?(l=Me,ft(m)):Pe(m)?(e.consume(m),Me):at(m)}function Ke(m){return m===45||m===46||m===58||m===95||Et(m)?(e.consume(m),Ke):Mt(m)}function Mt(m){return m===61?(e.consume(m),$e):K(m)?(l=Mt,ft(m)):Pe(m)?(e.consume(m),Mt):Me(m)}function $e(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),o=m,W):K(m)?(l=$e,ft(m)):Pe(m)?(e.consume(m),$e):(e.consume(m),be)}function W(m){return m===o?(e.consume(m),o=void 0,he):m===null?n(m):K(m)?(l=W,ft(m)):(e.consume(m),W)}function be(m){return m===null||m===34||m===39||m===60||m===61||m===96?n(m):m===47||m===62||mt(m)?Me(m):(e.consume(m),be)}function he(m){return m===47||m===62||mt(m)?Me(m):n(m)}function at(m){return m===62?(e.consume(m),e.exit("htmlTextData"),e.exit("htmlText"),t):n(m)}function ft(m){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Ut}function Ut(m){return Pe(m)?He(e,Kt,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m):Kt(m)}function Kt(m){return e.enter("htmlTextData"),l(m)}}const Go={name:"labelStartLink",resolveAll:Kr.resolveAll,tokenize:Yo};function Yo(e,t,n){const r=this;return o;function o(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),i}function i(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const Wo={name:"hardBreakEscape",tokenize:Xo};function Xo(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),o}function o(i){return K(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Ko={name:"codeText",previous:Qo,resolve:Zo,tokenize:Jo};function Zo(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function Qo(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Jo(e,t,n){const r=this;let o=0,i,l;return s;
vendor: 6,168 bytes, lines 50-52
50function s(w){return e.enter("codeText"),e.enter("codeTextSequence"),p(w)}function p(w){return w===96?(e.consume(w),o++,p):(e.exit("codeTextSequence"),h(w))}function h(w){return w===null?n(w):w===32?(e.enter("space"),e.consume(w),e.exit("space"),h):w===96?(l=e.enter("codeTextSequence"),i=0,x(w)):K(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),h):(e.enter("codeTextData"),c(w))}function c(w){return w===null||w===32||w===96||K(w)?(e.exit("codeTextData"),h(w)):(e.consume(w),c)}function x(w){return w===96?(e.consume(w),i++,x):i===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(w)):(l.type="codeTextData",c(w))}}const ea={[42]:ce,[43]:ce,[45]:ce,[48]:ce,[49]:ce,[50]:ce,[51]:ce,[52]:ce,[53]:ce,[54]:ce,[55]:ce,[56]:ce,[57]:ce,[62]:ot},ta={[91]:ae},na={[-2]:fe,[-1]:fe,[32]:fe},ra={[35]:Bn,[42]:G,[45]:[kn,G],[60]:yo,[61]:kn,[95]:G,[96]:wi,[126]:wi},ia={[38]:vi,[92]:Si},oa={[-5]:Wr,[-4]:Wr,[-3]:Wr,[33]:Mo,[38]:vi,[42]:Zr,[60]:[Uo,$o],[91]:Go,[92]:[Wo,Si],[93]:Kr,[95]:Zr,[96]:Ko},aa={null:[Zr,O]},la={null:[42,95]},sa={null:[]};function ua(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let l=[],s=[],p=!0;const h={attempt:Me(Ge),check:Me(ut),consume:Xe,enter:Je,exit:P,interrupt:Me(ut,{interrupt:!0})},c={code:null,containerState:{},defineSkip:L,events:[],now:pe,parser:e,previous:null,sliceSerialize:M,sliceStream:H,write:d};let x=t.tokenize.call(c,h),w;return t.resolveAll&&i.push(t),c;function d(W){return l=Nt(l,W),de(),l[l.length-1]!==null?[]:(Ke(t,0),c.events=Xr(i,c.events,c),c.events)}function M(W,be){return fa(H(W),be)}function H(W){return ca(l,W)}function pe(){const{_bufferIndex:W,_index:be,line:he,column:at,offset:ft}=r;return{_bufferIndex:W,_index:be,line:he,column:at,offset:ft}}function L(W){o[W.line]=W.column,$e()}function de(){let W;for(;r._index<l.length;){const be=l[r._index];if(typeof be=="string")for(W=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===W&&r._bufferIndex<be.length;)q(be.charCodeAt(r._bufferIndex));else q(be)}}function q(W){p=void 0,w=W,x=x(W)}function Xe(W){K(W)?(r.line++,r.column=1,r.offset+=W===-3?2:1,$e()):W!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=W,p=!0}function Je(W,be){const he=be||{};return he.type=W,he.start=pe(),c.events.push(["enter",he,c]),s.push(he),he}function P(W){const be=s.pop();return be.end=pe(),c.events.push(["exit",be,c]),be}function Ge(W,be){Ke(W,be.from)}function ut(W,be){be.restore()}function Me(W,be){return he;function he(at,ft,Ut){let Kt,m,Bt,Qt;return Array.isArray(at)?zt(at):"tokenize"in at?zt([at]):y(at);function y(wt){return Un;function Un(Jt){const dn=Jt!==null&&wt[Jt],vn=Jt!==null&&wt.null,yi=[...Array.isArray(dn)?dn:dn?[dn]:[],...Array.isArray(vn)?vn:vn?[vn]:[]];return zt(yi)(Jt)}}function zt(wt){return Kt=wt,m=0,wt.length===0?Ut:pn(wt[m])}function pn(wt){return Un;function Un(Jt){return Qt=Mt(),Bt=wt,wt.partial||(c.currentConstruct=wt),wt.name&&c.parser.constructs.disable.null.includes(wt.name)?vr(Jt):wt.tokenize.call(be?Object.assign(Object.create(c),be):c,h,gi,vr)(Jt)}}function gi(wt){return p=!0,W(Bt,Qt),ft}function vr(wt){return p=!0,Qt.restore(),++m<Kt.length?pn(Kt[m]):Ut}}}function Ke(W,be){W.resolveAll&&!i.includes(W)&&i.push(W),W.resolve&&Ot(c.events,be,c.events.length-be,W.resolve(c.events.slice(be),c)),W.resolveTo&&(c.events=W.resolveTo(c.events,c))}function Mt(){const W=pe(),be=c.previous,he=c.currentConstruct,at=c.events.length,ft=Array.from(s);return{from:at,restore:Ut};function Ut(){r=W,c.previous=be,c.currentConstruct=he,c.events.length=at,s=ft,$e()}}function $e(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function ca(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let l;if(n===o)l=[e[n].slice(r,i)];else{if(l=e.slice(n,o),r>-1){const s=l[0];typeof s=="string"?l[0]=s.slice(r):l.shift()}i>0&&l.push(e[o].slice(0,i))}return l}function fa(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let l;if(typeof i=="string")l=i;else switch(i){case-5:{l="\r";break}case-4:{l=`
51`;break}case-3:{l=`\r
52`;break}case-2:{l=t?" ":"	";break}case-1:{if(!t&&o)continue;l=" ";break}default:l=String.fromCharCode(i)}o=i===-2,r.push(l)}return r.join("")}function pa(e){const r={constructs:Hr([Ve,...(e||{}).extensions||[]]),content:o(pr),defined:[],document:o(hr),flow:o(g),lazy:{},string:o(_),text:o(D)};return r;function o(i){return l;function l(s){return ua(r,i,s)}}}const Ii=/[\0\t\n\r]/g;function da(){let e=1,t="",n=!0,r;return o;function o(i,l,s){const p=[];let h,c,x,w,d;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(l||void 0).decode(i)),x=0,t="",n&&(i.charCodeAt(0)===65279&&x++,n=void 0);x<i.length;){if(Ii.lastIndex=x,h=Ii.exec(i),w=h&&h.index!==void 0?h.index:i.length,d=i.charCodeAt(w),!h){t=i.slice(x);break}if(d===10&&x===w&&r)p.push(-3),r=void 0;else switch(r&&(p.push(-5),r=void 0),x<w&&(p.push(i.slice(x,w)),e+=w-x),d){case 0:{p.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,p.push(-2);e++<c;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:r=!0,e=1}x=w+1}return s&&(r&&p.push(-5),t&&p.push(t),p.push(null)),p}}function _i(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}const ha=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ma(e){return e.replace(ha,ga)}function ga(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),i=o===120||o===88;return _i(n.slice(i?2:1),i?16:10)}return Yr(n)||e}function gr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ni(e.position):"start"in e||"end"in e?Ni(e):"line"in e||"column"in e?Qr(e):""}function Qr(e){return Ti(e&&e.line)+":"+Ti(e&&e.column)}function Ni(e){return Qr(e&&e.start)+"-"+Qr(e&&e.end)}function Ti(e){return e&&typeof e=="number"?e:1}const Ai={}.hasOwnProperty;function ya(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),xa(n)(jr(pa(n).document().write(da()(e,t,!0))
vendor: 10,244 bytes, line 52
52))}function xa(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(lo),autolinkProtocol:Me,autolinkEmail:Me,atxHeading:i(io),blockQuote:i(Jt),characterEscape:Me,characterReference:Me,codeFenced:i(dn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:i(dn,l),codeText:i(vn,l),codeTextData:Me,data:Me,codeFlowValue:Me,definition:i(yi),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:i(Kl),hardBreakEscape:i(oo),hardBreakTrailing:i(oo),htmlFlow:i(ao,l),htmlFlowData:Me,htmlText:i(ao,l),htmlTextData:Me,image:i(Zl),label:l,link:i(lo),listItem:i(Ql),listItemValue:w,listOrdered:i(so,x),listUnordered:i(so),paragraph:i(Jl),reference:y,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:i(io),strong:i(es),thematicBreak:i(ns)},exit:{atxHeading:p(),atxHeadingSequence:Je,autolink:p(),autolinkEmail:Un,autolinkProtocol:wt,blockQuote:p(),characterEscapeValue:Ke,characterReferenceMarkerHexadecimal:pn,characterReferenceMarkerNumeric:pn,characterReferenceValue:gi,characterReference:vr,codeFenced:p(pe),codeFencedFence:H,codeFencedFenceInfo:d,codeFencedFenceMeta:M,codeFlowValue:Ke,codeIndented:p(L),codeText:p(he),codeTextData:Ke,data:Ke,definition:p(),definitionDestinationString:Xe,definitionLabelString:de,definitionTitleString:q,emphasis:p(),hardBreakEscape:p($e),hardBreakTrailing:p($e),htmlFlow:p(W),htmlFlowData:Ke,htmlText:p(be),htmlTextData:Ke,image:p(ft),label:Kt,labelText:Ut,lineEnding:Mt,link:p(at),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:zt,resourceDestinationString:m,resourceTitleString:Bt,resource:Qt,setextHeading:p(ut),setextHeadingLineSequence:Ge,setextHeadingText:P,strong:p(),thematicBreak:p()}};Pi(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(C){let F={type:"root",children:[]};const oe={stack:[F],tokenStack:[],config:t,enter:s,exit:h,buffer:l,resume:c,data:n},Ce=[];let qe=-1;for(;++qe<C.length;)if(C[qe][1].type==="listOrdered"||C[qe][1].type==="listUnordered")if(C[qe][0]==="enter")Ce.push(qe);else{const Vt=Ce.pop();qe=o(C,Vt,qe)}for(qe=-1;++qe<C.length;){const Vt=t[C[qe][0]];Ai.call(Vt,C[qe][1].type)&&Vt[C[qe][1].type].call(Object.assign({sliceSerialize:C[qe][2].sliceSerialize},oe),C[qe][1])}if(oe.tokenStack.length>0){const Vt=oe.tokenStack[oe.tokenStack.length-1];(Vt[1]||zi).call(oe,void 0,Vt[0])}for(F.position={start:an(C.length>0?C[0][1].start:{line:1,column:1,offset:0}),end:an(C.length>0?C[C.length-2][1].end:{line:1,column:1,offset:0})},qe=-1;++qe<t.transforms.length;)F=t.transforms[qe](F)||F;return F}function o(C,F,oe){let Ce=F-1,qe=-1,Vt=!1,hn,en,Vn,$n;for(;++Ce<=oe;){const Rt=C[Ce];switch(Rt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Rt[0]==="enter"?qe++:qe--,$n=void 0;break}case"lineEndingBlank":{Rt[0]==="enter"&&(hn&&!$n&&!qe&&!Vn&&(Vn=Ce),$n=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:$n=void 0}if(!qe&&Rt[0]==="enter"&&Rt[1].type==="listItemPrefix"||qe===-1&&Rt[0]==="exit"&&(Rt[1].type==="listUnordered"||Rt[1].type==="listOrdered")){if(hn){let Sn=Ce;for(en=void 0;Sn--;){const tn=C[Sn];if(tn[1].type==="lineEnding"||tn[1].type==="lineEndingBlank"){if(tn[0]==="exit")continue;en&&(C[en][1].type="lineEndingBlank",Vt=!0),tn[1].type="lineEnding",en=Sn}else if(!(tn[1].type==="linePrefix"||tn[1].type==="blockQuotePrefix"||tn[1].type==="blockQuotePrefixWhitespace"||tn[1].type==="blockQuoteMarker"||tn[1].type==="listItemIndent"))break}Vn&&(!en||Vn<en)&&(hn._spread=!0),hn.end=Object.assign({},en?C[en][1].start:Rt[1].end),C.splice(en||Ce,0,["exit",hn,Rt[2]]),Ce++,oe++}if(Rt[1].type==="listItemPrefix"){const Sn={type:"listItem",_spread:!1,start:Object.assign({},Rt[1].start),end:void 0};hn=Sn,C.splice(Ce,0,["enter",Sn,Rt[2]]),Ce++,oe++,Vn=void 0,$n=!0}}}return C[F][1]._spread=Vt,oe}function i(C,F){return oe;function oe(Ce){s.call(this,C(Ce),Ce),F&&F.call(this,Ce)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(C,F,oe){this.stack[this.stack.length-1].children.push(C),this.stack.push(C),this.tokenStack.push([F,oe||void 0]),C.position={start:an(F.start),end:void 0}}function p(C){return F;function F(oe){C&&C.call(this,oe),h.call(this,oe)}}function h(C,F){const oe=this.stack.pop(),Ce=this.tokenStack.pop();if(Ce)Ce[0].type!==C.type&&(F?F.call(this,C,Ce[0]):(Ce[1]||zi).call(this,C,Ce[0]));else throw new Error("Cannot close `"+C.type+"` ("+gr({start:C.start,end:C.end})+"): it\u2019s not open");oe.position.end=an(C.end)}function c(){return Dr(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function w(C){if(this.data.expectingFirstListItemValue){const F=this.stack[this.stack.length-2];F.start=Number.parseInt(this.sliceSerialize(C),10),this.data.expectingFirstListItemValue=void 0}}function d(){const C=this.resume(),F=this.stack[this.stack.length-1];F.lang=C}function M(){const C=this.resume(),F=this.stack[this.stack.length-1];F.meta=C}function H(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function pe(){const C=this.resume(),F=this.stack[this.stack.length-1];F.value=C.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function L(){const C=this.resume(),F=this.stack[this.stack.length-1];F.value=C.replace(/(\r?\n|\r)$/g,"")}function de(C){const F=this.resume(),oe=this.stack[this.stack.length-1];oe.label=F,oe.identifier=ne(this.sliceSerialize(C)).toLowerCase()}function q(){const C=this.resume(),F=this.stack[this.stack.length-1];F.title=C}function Xe(){const C=this.resume(),F=this.stack[this.stack.length-1];F.url=C}function Je(C){const F=this.stack[this.stack.length-1];if(!F.depth){const oe=this.sliceSerialize(C).length;F.depth=oe}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function Ge(C){const F=this.stack[this.stack.length-1];F.depth=this.sliceSerialize(C).codePointAt(0)===61?1:2}function ut(){this.data.setextHeadingSlurpLineEnding=void 0}function Me(C){const oe=this.stack[this.stack.length-1].children;let Ce=oe[oe.length-1];(!Ce||Ce.type!=="text")&&(Ce=ts(),Ce.position={start:an(C.start),end:void 0},oe.push(Ce)),this.stack.push(Ce)}function Ke(C){const F=this.stack.pop();F.value+=this.sliceSerialize(C),F.position.end=an(C.end)}function Mt(C){const F=this.stack[this.stack.length-1];if(this.data.atHardBreak){const oe=F.children[F.children.length-1];oe.position.end=an(C.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(F.type)&&(Me.call(this,C),Ke.call(this,C))}function $e(){this.data.atHardBreak=!0}function W(){const C=this.resume(),F=this.stack[this.stack.length-1];F.value=C}function be(){const C=this.resume(),F=this.stack[this.stack.length-1];F.value=C}function he(){const C=this.resume(),F=this.stack[this.stack.length-1];F.value=C}function at(){const C=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=F,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function ft(){const C=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";C.type+="Reference",C.referenceType=F,delete C.url,delete C.title}else delete C.identifier,delete C.label;this.data.referenceType=void 0}function Ut(C){const F=this.sliceSerialize(C),oe=this.stack[this.stack.length-2];oe.label=ma(F),oe.identifier=ne(F).toLowerCase()}function Kt(){const C=this.stack[this.stack.length-1],F=this.resume(),oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,oe.type==="link"){const Ce=C.children;oe.children=Ce}else oe.alt=F}function m(){const C=this.resume(),F=this.stack[this.stack.length-1];F.url=C}function Bt(){const C=this.resume(),F=this.stack[this.stack.length-1];F.title=C}function Qt(){this.data.inReference=void 0}function y(){this.data.referenceType="collapsed"}function zt(C){const F=this.resume(),oe=this.stack[this.stack.length-1];oe.label=F,oe.identifier=ne(this.sliceSerialize(C)).toLowerCase(),this.data.referenceType="full"}function pn(C){this.data.characterReferenceType=C.type}function gi(C){const F=this.sliceSerialize(C),oe=this.data.characterReferenceType;let Ce;oe?(Ce=_i(F,oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ce=Yr(F);const qe=this.stack[this.stack.length-1];qe.value+=Ce}function vr(C){const F=this.stack.pop();F.position.end=an(C.end)}function wt(C){Ke.call(this,C);const F=this.stack[this.stack.length-1];F.url=this.sliceSerialize(C)}function Un(C){Ke.call(this,C);const F=this.stack[this.stack.length-1];F.url="mailto:"+this.sliceSerialize(C)}function Jt(){return{type:"blockquote",children:[]}}function dn(){return{type:"code",lang:null,meta:null,value:""}}function vn(){return{type:"inlineCode",value:""}}function yi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Kl(){return{type:"emphasis",children:[]}}function io(){return{type:"heading",depth:0,children:[]}}function oo(){return{type:"break"}}function ao(){return{type:"html",value:""}}function Zl(){return{type:"image",title:null,url:"",alt:null}}function lo(){return{type:"link",title:null,url:"",children:[]}}function so(C){return{type:"list",ordered:C.type==="listOrdered",start:null,spread:C._spread,children:[]}}function Ql(C){return{type:"listItem",spread:C._spread,checked:null,children:[]}}function Jl(){return{type:"paragraph",children:[]}}function es(){return{type:"strong",children:[]}}function ts(){return{type:"text",value:""}}function ns(){return{type:"thematicBreak"}}}function an(e){return{line:e.line,column:e.column,offset:e.offset}}function Pi(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Pi(e,r):ba(e,r)}}function ba(e,t){let n;for(n in t)if(Ai.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function zi(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+gr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+gr({start:t.start,end:t.end}
52)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+gr({start:t.start,end:t.end})+") is still open")}function wa(e){const t=this;t.parser=n;function n(r){return ya(r,ln(re(re({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}var yr=V(14310);function as(e,t){const n=encode(fn(e||""));if(!t)return n;const r=n.indexOf(":"),o=n.indexOf("?"),i=n.indexOf("#"),l=n.indexOf("/");return r<0||l>-1&&r>l||o>-1&&r>o||i>-1&&r>i||t.test(n.slice(0,r))?n:""}function fn(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let l="";if(i===37&&Et(e.charCodeAt(n+1))&&Et(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(l=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(l=String.fromCharCode(i,s),o=1):l="\uFFFD"}else l=String.fromCharCode(i);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+o+1,l=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function ka(e,t){const n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function va(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Sa(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ka,r=e.options.footnoteBackLabel||va,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let p=-1;for(;++p<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[p]);if(!h)continue;const c=e.all(h),x=String(h.identifier).toUpperCase(),w=fn(x.toLowerCase());let d=0;const M=[],H=e.footnoteCounts.get(x);for(;H!==void 0&&++d<=H;){M.length>0&&M.push({type:"text",value:" "});let de=typeof n=="string"?n:n(p,d);typeof de=="string"&&(de={type:"text",value:de}),M.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+w+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(p,d),className:["data-footnote-backref"]},children:Array.isArray(de)?de:[de]})}const pe=c[c.length-1];if(pe&&pe.type==="element"&&pe.tagName==="p"){const de=pe.children[pe.children.length-1];de&&de.type==="text"?de.value+=" ":pe.children.push({type:"text",value:" "}),pe.children.push(...M)}else c.push(...M);const L={type:"element",tagName:"li",properties:{id:t+"fn-"+w},children:e.wrap(c,!0)};e.patch(h,L),s.push(L)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:ln(re({},(0,yr.ZP)(l)),{id:"footnote-label"}),children:[{type:"text",value:o}]},{type:"text",value:`
53`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
54`}]}}const Ea=function(e,t,n,r,o){const i=Jr(t);if(n!=null&&(typeof n!="number"||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(r!=null&&(!Ea(r)||!r.children))throw new Error("Expected parent node");if(r==null!=(n==null))throw new Error("Expected both parent and index");return Ri(e)?i.call(o,e,n,r):!1},Jr=function(e){if(e==null)return Na;if(typeof e=="function")return xr(e);
vendor: 5,591 bytes, lines 54-56
54if(typeof e=="object")return Array.isArray(e)?Ca(e):Ia(e);if(typeof e=="string")return _a(e);throw new Error("Expected function, string, or object as test")};function Ca(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Jr(e[n]);return xr(r);function r(...o){let i=-1;for(;++i<t.length;)if(t[i].apply(this,o))return!0;return!1}}function Ia(e){const t=e;return xr(n);function n(r){const o=r;let i;for(i in e)if(o[i]!==t[i])return!1;return!0}}function _a(e){return xr(t);function t(n){return n&&n.type===e}}function xr(e){return t;function t(n,r,o){return Boolean(Ri(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function Na(){return!0}function Ri(e){return e!==null&&typeof e=="object"&&"type"in e}function ls(e){return e}const Li=[],Ta=!0,Fi=!1,Aa="skip";function Pa(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const i=Jr(o),l=r?-1:1;s(e,void 0,[])();function s(p,h,c){const x=p&&typeof p=="object"?p:{};if(typeof x.type=="string"){const d=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(w,"name",{value:"node ("+(p.type+(d?"<"+d+">":""))+")"})}return w;function w(){let d=Li,M,H,pe;if((!t||i(p,h,c[c.length-1]||void 0))&&(d=za(n(p,c)),d[0]===Fi))return d;if("children"in p&&p.children){const L=p;if(L.children&&d[0]!==Aa)for(H=(r?L.children.length:-1)+l,pe=c.concat(L);H>-1&&H<L.children.length;){const de=L.children[H];if(M=s(de,H,pe)(),M[0]===Fi)return M;H=typeof M[1]=="number"?M[1]:H+l}}return d}}}function za(e){return Array.isArray(e)?e:typeof e=="number"?[Ta,e]:e==null?Li:[e]}function Ra(e,t,n,r){let o,i,l;typeof t=="function"&&typeof n!="function"?(i=void 0,l=t,o=n):(i=t,l=n,o=r),Pa(e,i,s,o);function s(p,h){const c=h[h.length-1],x=c?c.children.indexOf(p):void 0;return l(p,x,c)}}const Oi=Mi("end"),Di=Mi("start");function Mi(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function La(e){const t=Di(e),n=Oi(e);if(t&&n)return{start:t,end:n}}function Fa(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Oa(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
55`}]}function Da(e,t){const n=t.value?t.value+`
56`:"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Ma(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ba(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ja(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=fn(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let l,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=i+1,s+=1,e.footnoteCounts.set(r,s);const p={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,p);const h={type:"element",tagName:"sup",properties:{},children:[p]};return e.patch(t,h),e.applyData(t,h)}function Ha(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ua(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Bi(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const l=o[o.length-1];return l&&l.type==="text"?l.value+=r:o.push({type:"text",value:r}),o}function Va(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Bi(e,t);const o={src:fn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)}function $a(e,t){const n={src:fn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function qa(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Ga(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Bi(e,t);const o={href:fn(r.url||"")};r.title!==null&&r.title!==void 0&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Ya(e,t){const n={href:fn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Wa(e,t,n){const r=e.all(t),o=n?Xa(n):ji(t),i={},l=[];
vendor: 6,486 bytes, lines 56-62
56if(typeof t.checked=="boolean"){const c=r[0];let x;c&&c.type==="element"&&c.tagName==="p"?x=c:(x={type:"element",tagName:"p",properties:{},children:[]},r.unshift(x)),x.children.length>0&&x.children.unshift({type:"text",value:" "}),x.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const c=r[s];(o||s!==0||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
57`}),c.type==="element"&&c.tagName==="p"&&!o?l.push(...c.children):l.push(c)}const p=r[r.length-1];p&&(o||p.type!=="element"||p.tagName!=="p")&&l.push({type:"text",value:`
58`});const h={type:"element",tagName:"li",properties:i,children:l};return e.patch(t,h),e.applyData(t,h)}function Xa(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=ji(n[r])}return t}function ji(e){const t=e.spread;return t==null?e.children.length>1:t}function Ka(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const l=r[o];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function Za(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Qa(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ja(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function el(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),o.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=Di(t.children[1]),p=Oi(t.children[t.children.length-1]);s&&p&&(l.position={start:s,end:p}),o.push(l)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)}function tl(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,s=l?l.length:t.children.length;let p=-1;const h=[];for(;++p<s;){const x=t.children[p],w={},d=l?l[p]:void 0;d&&(w.align=d);let M={type:"element",tagName:i,properties:w,children:[]};x&&(M.children=e.all(x),e.patch(x,M),M=e.applyData(x,M)),h.push(M)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,c),e.applyData(t,c)}function nl(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Hi=9,Ui=32;function rl(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Vi(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Vi(t.slice(o),o>0,!1)),i.join("")}function Vi(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===Hi||i===Ui;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===Hi||i===Ui;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function il(e,t){const n={type:"text",value:rl(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function ol(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const al={blockquote:Fa,break:Oa,code:Da,delete:Ma,emphasis:Ba,footnoteReference:ja,heading:Ha,html:Ua,imageReference:Va,image:$a,inlineCode:qa,linkReference:Ga,link:Ya,listItem:Wa,list:Ka,paragraph:Za,root:Qa,strong:Ja,table:el,tableCell:nl,tableRow:tl,text:il,thematicBreak:ol,toml:br,yaml:br,definition:br,footnoteDefinition:br};function br(){}const ei={}.hasOwnProperty,ll={};function sl(e,t){const n=t||ll,r=new Map,o=new Map,i=new Map,l=re(re({},al),n.handlers),s={all:h,applyData:cl,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:l,one:p,options:n,patch:ul,wrap:pl};return Ra(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const x=c.type==="definition"?r:o,w=String(c.identifier).toUpperCase();x.has(w)||x.set(w,c)}}),s;function p(c,x){const w=c.type,d=s.handlers[w];if(ei.call(s.handlers,w)&&d)return d(s,c,x);if(s.options.passThrough&&s.options.passThrough.includes(w)){if("children"in c){const H=c,{children:pe}=H,L=Er(H,["children"]),de=(0,yr.ZP)(L);return de.children=s.all(c),de}return(0,yr.ZP)(c)}return(s.options.unknownHandler||fl)(s,c,x)}function h(c){const x=[];if("children"in c){const w=c.children;let d=-1;for(;++d<w.length;){const M=s.one(w[d],c);if(M){if(d&&w[d-1].type==="break"&&(!Array.isArray(M)&&M.type==="text"&&(M.value=$i(M.value)),!Array.isArray(M)&&M.type==="element")){const H=M.children[0];H&&H.type==="text"&&(H.value=$i(H.value))}Array.isArray(M)?x.push(...M):x.push(M)}}}return x}}function ul(e,t){e.position&&(t.position=La(e))}function cl(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&i&&Object.assign(n.properties,(0,yr.ZP)(i)),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function fl(e,t){const n=t.data||{},r="value"in t&&!(ei.call(n,"hProperties")||ei.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function pl(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
59`});++r<e.length;)r&&n.push({type:"text",value:`
60`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
61`}),n}function $i(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function qi(e,t){const n=sl(e,t),r=n.one(e,void 0),o=Sa(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&("children"in i,i.children.push({type:"text",value:`
62`},o)),i}function dl(e,t){return e&&"run"in e?function(n,r){return mn(this,null,function*(){const o=qi(n,re({file:r},t));yield e.run(o,r)})}:function(n,r){return qi(n,re({file:r},e||t))}}function Gi(e){if(e)throw e}var hl=V(94470),ti=V.n(hl);function ni(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);
vendor: 4,811 bytes, line 62
62return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ml(){const e=[],t={run:n,use:r};return t;function n(...o){let i=-1;const l=o.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);s(null,...o);function s(p,...h){const c=e[++i];let x=-1;if(p){l(p);return}for(;++x<o.length;)(h[x]===null||h[x]===void 0)&&(h[x]=o[x]);o=h,c?gl(c,s)(...h):l(null,...h)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function gl(e,t){let n;return r;function r(...l){const s=e.length>l.length;let p;s&&l.push(o);try{p=e.apply(this,l)}catch(h){const c=h;if(s&&n)throw c;return o(c)}s||(p&&p.then&&typeof p.then=="function"?p.then(i,o):p instanceof Error?o(p):i(p))}function o(l,...s){n||(n=!0,t(l,...s))}function i(l){o(null,l)}}function yl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Yi(e.position):"start"in e||"end"in e?Yi(e):"line"in e||"column"in e?ri(e):""}function ri(e){return Wi(e&&e.line)+":"+Wi(e&&e.column)}function Yi(e){return ri(e&&e.start)+"-"+ri(e&&e.end)}function Wi(e){return e&&typeof e=="number"?e:1}class At extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",i={},l=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i=re({},n)),typeof t=="string"?o=t:!i.cause&&t&&(l=!0,o=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const p=r.indexOf(":");p===-1?i.ruleId=r:(i.source=r.slice(0,p),i.ruleId=r.slice(p+1))}if(!i.place&&i.ancestors&&i.ancestors){const p=i.ancestors[i.ancestors.length-1];p&&(i.place=p.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=s?s.line:void 0,this.name=yl(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=l&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}At.prototype.file="",At.prototype.name="",At.prototype.reason="",At.prototype.message="",At.prototype.stack="",At.prototype.column=void 0,At.prototype.line=void 0,At.prototype.ancestors=void 0,At.prototype.cause=void 0,At.prototype.fatal=void 0,At.prototype.place=void 0,At.prototype.ruleId=void 0,At.prototype.source=void 0;const Xt={basename:xl,dirname:bl,extname:wl,join:kl,sep:"/"};function xl(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Hn(e);let n=0,r=-1,o=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(i){n=o+1;break}}else r<0&&(i=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,s=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(i){n=o+1;break}}else l<0&&(i=!0,l=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(r=o):(s=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function bl(e){if(Hn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function wl(e){Hn(e);let t=e.length,n=-1,r=0,o=-1,i=0,l;for(;t--;){const s=e.codePointAt(t);if(s===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),s===46?o<0?o=t:i!==1&&(i=1):o>-1&&(i=-1)}return o<0||n<0||i===0||i===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function kl(...e){let t=-1,n;for(;++t<e.length;)Hn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":vl(n)}function vl(e){Hn(e);const t=e.codePointAt(0)===47;let n=Sl(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Sl(e,t){let n="",r=0,o=-1,i=0,l=-1,s,p;for(;++l<=e.length;){if(l<e.length)s=e.codePointAt(l);else{if(s===47)break;s=47}if(s===47){if(!(o===l-1||i===1))if(o!==l-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(p=n.lastIndexOf("/"),p!==n.length-1){p<0?(n="",r=0):(n=n.slice(0,p),r=n.length-1-n.lastIndexOf("/")),o=l,i=0;continue}}else if(n.length>0){n="",r=0,o=l,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,l):n=e.slice(o+1,l),r=l-o-1;o=l,i=0}else s===46&&i>-1?i++:i=-1}return n}function Hn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const El={cwd:Cl};function Cl(){return"/"}function ii(e){return Boolean(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}
vendor: 4,090 bytes, line 62
62function Il(e){if(typeof e=="string")e=new URL(e);else if(!ii(e)){const t=new 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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return _l(e)}function _l(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const oi=["history","path","basename","stem","extname","dirname"];class Xi{constructor(t){let n;t?ii(t)?n={path:t}:typeof t=="string"||Nl(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":El.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<oi.length;){const i=oi[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let o;for(o in n)oi.includes(o)||(this[o]=n[o])}get basename(){return typeof this.path=="string"?Xt.basename(this.path):void 0}set basename(t){li(t,"basename"),ai(t,"basename"),this.path=Xt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Xt.dirname(this.path):void 0}set dirname(t){Ki(this.basename,"dirname"),this.path=Xt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Xt.extname(this.path):void 0}set extname(t){if(ai(t,"extname"),Ki(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Xt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ii(t)&&(t=Il(t)),li(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Xt.basename(this.path,this.extname):void 0}set stem(t){li(t,"stem"),ai(t,"stem"),this.path=Xt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const o=this.message(t,n,r);throw o.fatal=!0,o}info(t,n,r){const o=this.message(t,n,r);return o.fatal=void 0,o}message(t,n,r){const o=new At(t,n,r);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function ai(e,t){if(e&&e.includes(Xt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Xt.sep+"`")}function li(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ki(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Nl(e){return Boolean(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Tl=function(e){const r=this.constructor.prototype,o=r[e],i=function(){return o.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},Al={}.hasOwnProperty;class si extends Tl{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ml()}copy(){const t=new si;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(ti()(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(fi("data",this.frozen),this.namespace[t]=n,this):Al.call(this.namespace,t)&&this.namespace[t]||void 0:t?(fi("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const o=n.call(t,...r);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();
62const n=wr(t),r=this.parser||this.Parser;return ui("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),ui("process",this.parser||this.Parser),ci("process",this.compiler||this.Compiler),n?o(void 0,n):new Promise(o);function o(i,l){const s=wr(t),p=r.parse(s);r.run(p,s,function(c,x,w){if(c||!x||!w)return h(c);const d=x,M=r.stringify(d,w);Rl(M)?w.value=M:w.result=M,h(c,w)});function h(c,x){c||!x?l(c):i?i(x):n(void 0,x)}}}processSync(t){let n=!1,r;return this.freeze(),ui("processSync",this.parser||this.Parser),ci("processSync",this.compiler||this.Compiler),this.process(t,o),Qi("processSync","process",n),r;function o(i,l){n=!0,Gi(i),r=l}}run(t,n,r){Zi(t),this.freeze();const o=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(l,s){const p=wr(n);o.run(t,p,h);function h(c,x,w){const d=x||t;c?s(c):l?l(d):r(void 0,d,w)}}}runSync(t,n){let r=!1,o;return this.run(t,n,i),Qi("runSync","run",r),o;function i(l,s){Gi(l),o=s,r=!0}}stringify(t,n){this.freeze();const r=wr(n),o=this.compiler||this.Compiler;return ci("stringify",o),Zi(t),o(t,r)}use(t,...n){const r=this.attachers,o=this.namespace;if(fi("use",this.frozen),t!=null)if(typeof t=="function")p(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(h){if(typeof h=="function")p(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[c,...x]=h;p(c,x)}else l(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function l(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(h.plugins),h.settings&&(o.settings=ti()(!0,o.settings,h.settings))}function s(h){let c=-1;if(h!=null)if(Array.isArray(h))for(;++c<h.length;){const x=h[c];i(x)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function p(h,c){let x=-1,w=-1;for(;++x<r.length;)if(r[x][0]===h){w=x;break}if(w===-1)r.push([h,...c]);else if(c.length>0){let[d,...M]=c;const H=r[w][1];ni(H)&&ni(d)&&(d=ti()(!0,H,d)),r[w]=[h,d,...M]}}}}const Pl=new si().freeze();function ui(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ci(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function fi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Zi(e){if(!ni(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Qi(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function wr(e){return zl(e)?e:new Xi(e)}function zl(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Rl(e){return typeof e=="string"||Ll(e)}function Ll(e){return Boolean(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Fl=function(e,t,n,r,o){const i=pi(t);if(n!=null&&(typeof n!="number"||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(r!=null&&(!Fl(r)||!r.children))throw new Error("Expected parent node");if(r==null!=(n==null))throw new Error("Expected both parent and index");return Ji(e)?i.call(o,e,n,r):!1},pi=function(e){if(e==null)return Bl;if(typeof e=="function")return kr(e);if(typeof e=="object")return Array.isArray(e)?Ol(e):Dl(e);if(typeof e=="string")return Ml(e);throw new Error("Expected function, string, or object as test")};function Ol(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=pi(e[n]);return kr(r);function r(...o){let i=-1;for(;++i<t.length;)if(t[i].apply(this,o))return!0;return!1}}function Dl(e){const t=e;return kr(n);function n(r){const o=r;let i;for(i in e)if(o[i]!==t[i])return!1;return!0}}function Ml(e){return kr(t);function t(n){return n&&n.type===e}}function kr(e){return t;function t(n,r,o){return Boolean(Ji(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function Bl(){return!0}function Ji(e){return e!==null&&typeof e=="object"&&"type"in e}function ss(e){return e}const eo=[],jl=!0,to=!1,Hl="skip";function Ul(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const i=pi(o),l=r?-1:1;s(e,void 0,[])();function s(p,h,c){const x=p&&typeof p=="object"?p:{};if(typeof x.type=="string"){const d=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(w,"name",{value:"node ("+(p.type+(d?"<"+d+">":""))+")"})}return w;function w(){let d=eo,M,H,pe;if((!t||i(p,h,c[c.length-1]||void 0))&&(d=Vl(n(p,c)),d[0]===to))return d;if("children"in p&&p.children){const L=p;if(L.children&&d[0]!==Hl)for(H=(r?L.children.length:-1)+l,pe=c.concat(L);H>-1&&H<L.children.length;){const de=L.children[H];if(M=s(de,H,pe)(),M[0]===to)return M;H=typeof M[1]=="number"?M[1]:H+l}}return d}}}function Vl(e){return Array.isArray(e)?e:typeof e=="number"?[jl,e]:e==null?eo:[e]}function $l(e,t,n,r){let o,i,l;typeof t=="function"&&typeof n!="function"?(i=void 0,l=t,o=n):(i=t,l=n,o=r),Ul(e,i,s,o);function s(p,h){const c=h[h.length-1],x=c?c.children.indexOf(p):void 0;return l(p,x,c)}}const ql="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",no=[],ro={allowDangerousHtml:!0},Gl=/^(https?|ircs?|mailto|xmpp)$/i,Yl=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Wl(e){const t=di(e),n=hi(e);return mi(t.runSync(t.parse(n),n),e)}function us(e){return mn(this,null,function*(){const t=di(e),n=hi(e),r=yield t.run(t.parse(n),n);return mi(r,e)})}function cs(e){const t=di(e),[n,r]=useState(void 0),[o,i]=useState(void 0);if(useEffect(function(){let l=!1;const s=hi(e);return t.run(t.parse(s),s,function(p,h){l||(r(p),i(h))}),function(){l=!0}},[e.children,e.rehypePlugins,e.remarkPlugins,e.remarkRehypeOptions]),n)throw n;return o?mi(o,e):e.fallback}function di(e){const t=e.rehypePlugins||no,n=e.remarkPlugins||no,r=e.remarkRehypeOptions?re(re({},e.remarkRehypeOptions),ro):ro;return Pl().use(wa).use(n).use(dl,r).use(t)}function hi(e){const t=e.children||"",n=new Xi;return typeof t=="string"?n.value=t:(""+t,void 0),n}function mi(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,l=t.skipHtml,s=t.unwrapDisallowed,p=t.urlTransform||Xl;for(const c of Yl)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+ql+c.id,void 0);return n&&i&&void 0,$l(e,h),Tr(e,{Fragment:Fn.Fragment,components:o,ignoreInvalidStyle:!0,jsx:Fn.jsx,jsxs:Fn.jsxs,passKeys:!0,passNode:!0});function h(c,x,w){if(c.type==="raw"&&w&&typeof x=="number")return l?w.children.splice(
62x,1):w.children[x]={type:"text",value:c.value},x;if(c.type==="element"){let d;for(d in Ln)if(Object.hasOwn(Ln,d)&&Object.hasOwn(c.properties,d)){const M=c.properties[d],H=Ln[d];(H===null||H.includes(c.tagName))&&(c.properties[d]=p(String(M||""),d,c))}}if(c.type==="element"){let d=n?!n.includes(c.tagName):i?i.includes(c.tagName):!1;if(!d&&r&&typeof x=="number"&&(d=!r(c,x,w)),d&&w&&typeof x=="number")return s&&c.children?w.children.splice(x,1,...c.children):w.children.splice(x,1),x}}}function Xl(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t===-1||o!==-1&&t>o||n!==-1&&t>n||r!==-1&&t>r||Gl.test(e.slice(0,t))?e:""}},75251:(Ie,te,V)=>{/**
63 * @license React
64 * react-jsx-runtime.production.min.js
65 *
66 * Copyright (c) Facebook, Inc. and its affiliates.
67 *
68 * This source code is licensed under the MIT license found in the
69 * LICENSE file in the root directory of this source tree.
70 */var k=V(67294),Ve=Symbol.for("react.element"),Be=Symbol.for("react.fragment"),we=Object.prototype.hasOwnProperty,Ae=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ke={key:!0,ref:!0,__self:!0,__source:!0};function ze(X,B,ue){var ge,ct={},_e=null,Ne=null;ue!==void 0&&(_e=""+ue),B.key!==void 0&&(_e=""+B.key),B.ref!==void 0&&(Ne=B.ref);for(ge in B)we.call(B,ge)&&!ke.hasOwnProperty(ge)&&(ct[ge]=B[ge]);if(X&&X.defaultProps)for(ge in B=X.defaultProps,B)ct[ge]===void 0&&(ct[ge]=B[ge]);return{$$typeof:Ve,type:X,key:_e,ref:Ne,props:ct,_owner:Ae.current}}te.Fragment=Be,te.jsx=ze,te.jsxs=ze},85893:(Ie,te,V)=>{Ie.exports=V(75251)},49515:(Ie,te,V)=>{V.d(te,{Z:()=>nt});var k=V(14310);const Ve=function(E,J,U,le,je){const me=Be(J);if(U!=null&&(typeof U!="number"||U<0||U===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(le!=null&&(!le.type||!le.children))throw new Error("Expected valid `parent`");if(U==null!=(le==null))throw new Error("Expected both `index` and `parent`");return X(E)?me.call(je,E,U,le):!1},Be=function(E){if(E==null)return ze;if(typeof E=="string")return Ae(E);if(typeof E=="object")return we(E);if(typeof E=="function")return ke(E);throw new Error("Expected function, string, or array as `test`")};function we(E){const J=[];let U=-1;for(;++U<E.length;)J[U]=Be(E[U]);return ke(le);function le(...je){let me=-1;for(;++me<J.length;)if(J[me].apply(this,je))return!0;return!1}}function Ae(E){return ke(J);function J(U){return U.tagName===E}}function ke(E){return J;function J(U,le,je){return Boolean(X(U)&&E.call(this,U,typeof le=="number"?le:void 0,je||void 0))}}function ze(E){return Boolean(E&&typeof E=="object"&&"type"in E&&E.type==="element"&&"tagName"in E&&typeof E.tagName=="string")}function X(E){return E!==null&&typeof E=="object"&&"type"in E&&"tagName"in E}const B=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,ue=/^[a-zA-Z]:\\/;function ge(E){if(typeof E!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof E}\``);return ue.test(E)?!1:B.test(E)}function ct(E){const J=String(E||"").trim();return J?J.split(/[ \t\n\r\f]+/g):[]}function _e(E){return E.join(" ").trim()}const Ne=function(E,J,U,le,je){const me=ve(J);if(U!=null&&(typeof U!="number"||U<0||U===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(le!=null&&(!Ne(le)||!le.children))throw new Error("Expected parent node");if(le==null!=(U==null))throw new Error("Expected both parent and index");return xt(E)?me.call(je,E,U,le):!1},ve=function(E){if(E==null)return It;if(typeof E=="function")return kt(E);if(typeof E=="object")return Array.isArray(E)?pt(E):Ye(E);if(typeof E=="string")return et(E);throw new Error("Expected function, string, or object as test")};function pt(E){const J=[];let U=-1;for(;++U<E.length;)J[U]=ve(E[U]);return kt(le);function le(...je){let me=-1;for(;++me<J.length;)if(J[me].apply(this,je))return!0;return!1}}function Ye(E){const J=E;return kt(U);function U(le){const je=le;let me;for(me in E)if(je[me]!==J[me])return!1;return!0}}function et(E){return kt(J);function J(U){return U&&U.type===E}}function kt(E){return J;function J(U,le,je){return Boolean(xt(U)&&E.call(this,U,typeof le=="number"?le:void 0,je||void 0))}}function It(){return!0}function xt(E){return E!==null&&typeof E=="object"&&"type"in E}function Se(E){return E}const ye=[],Z=!0,tt=!1,R="skip";function ie(E,J,U,le){let je;
70typeof J=="function"&&typeof U!="function"?(le=U,U=J):je=J;const me=ve(je),Lt=le?-1:1;$t(E,void 0,[])();function $t(rt,dt,vt){const _t=rt&&typeof rt=="object"?rt:{};if(typeof _t.type=="string"){const St=typeof _t.tagName=="string"?_t.tagName:typeof _t.name=="string"?_t.name:void 0;Object.defineProperty(Ft,"name",{value:"node ("+(rt.type+(St?"<"+St+">":""))+")"})}return Ft;function Ft(){let St=ye,Qe,Pt,nn;if((!J||me(rt,dt,vt[vt.length-1]||void 0))&&(St=$(U(rt,vt)),St[0]===tt))return St;if("children"in rt&&rt.children){const qt=rt;if(qt.children&&St[0]!==R)for(Pt=(le?qt.children.length:-1)+Lt,nn=vt.concat(qt);Pt>-1&&Pt<qt.children.length;){const gn=qt.children[Pt];if(Qe=$t(gn,Pt,nn)(),Qe[0]===tt)return Qe;Pt=typeof Qe[1]=="number"?Qe[1]:Pt+Lt}}return St}}}function $(E){return Array.isArray(E)?E:typeof E=="number"?[Z,E]:E==null?ye:[E]}function S(E,J,U,le){let je,me,Lt;typeof J=="function"&&typeof U!="function"?(me=void 0,Lt=J,je=U):(me=J,Lt=U,je=le),ie(E,me,$t,je);function $t(rt,dt){const vt=dt[dt.length-1],_t=vt?vt.children.indexOf(rt):void 0;return Lt(rt,_t,vt)}}const z=["http","https"],Oe=["nofollow"],Q={};function nt(E){const J=E||Q,U=J.protocols||z,le=Be(J.test);return function(je){S(je,"element",function(me,Lt,$t){if(me.tagName==="a"&&typeof me.properties.href=="string"&&le(me,Lt,$t)){const rt=me.properties.href;if(ge(rt)?U.includes(rt.slice(0,rt.indexOf(":"))):rt.startsWith("//")){const dt=Ze(J.content,me),vt=dt&&!Array.isArray(dt)?[dt]:dt,_t=Ze(J.rel,me)||Oe,Ft=typeof _t=="string"?ct(_t):_t,St=Ze(J.target,me),Qe=Ze(J.properties,me);if(Qe&&Object.assign(me.properties,(0,k.ZP)(Qe)),Ft.length>0&&(me.properties.rel=[...Ft]),St&&(me.properties.target=St),vt){const Pt=Ze(J.contentProperties,me)||{};me.children.push({type:"element",tagName:"span",properties:(0,k.ZP)(Pt),children:(0,k.ZP)(vt)})}}}})}}function Ze(E,J){return typeof E=="function"?E(J):E}},41476:function(Ie,te,V){var k=this&&this.__importDefault||function(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}},Ve=k(V(17214)),Be=V(26678);function we(Ae,ke){var ze={};return!Ae||typeof Ae!="string"||(0,Ve.default)(Ae,function(X,B){X&&B&&(ze[(0,Be.camelCase)(X,ke)]=B)}),ze}we.default=we,Ie.exports=we},26678:(Ie,te)=>{Object.defineProperty(te,"__esModule",{value:!0}),te.camelCase=void 0;var V=/^--[a-zA-Z0-9_-]+$/,k=/-([a-z])/g,Ve=/^[^-]+$/,Be=/^-(webkit|moz|ms|o|khtml)-/,we=/^-(ms)-/,Ae=function(B){return!B||Ve.test(B)||V.test(B)},ke=function(B,ue){return ue.toUpperCase()},ze=function(B,ue){return"".concat(ue,"-")},X=function(B,ue){return ue===void 0&&(ue={}),Ae(B)?B:(B=B.toLowerCase(),ue.reactCompat?B=B.replace(we,ze):B=B.replace(Be,ze),B.replace(k,ke))};te.camelCase=X},3582:Ie=>{var te=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,V=/\n/g,k=/^\s*/,Ve=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Be=/^:\s*/,we=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ae=/^[;\s]*/,ke=/^\s+|\s+$/g,ze=`
71`,X="/",B="*",ue="",ge="comment",ct="declaration";function _e(ve,pt){if(typeof ve!="string")throw new TypeError("First argument must be a string");if(!ve)return[];pt=pt||{};var Ye=1,et=1;function kt(S){var z=S.match(V);z&&(Ye+=z.length);var Oe=S.lastIndexOf(ze);et=~Oe?S.length-Oe:et+S.length}function It(){var S={line:Ye,column:et};return function(z){return z.position=new xt(S),Z(),z}}function xt(S){this.start=S,this.end={line:Ye,column:et},this.source=pt.source}xt.prototype.content=ve;function Se(S){var z=new Error(pt.source+":"+Ye+":"+et+": "+S);if(z.reason=S,z.filename=pt.source,z.line=Ye,z.column=et,z.source=ve,!pt.silent)throw z}function ye(S){var z=S.exec(ve);if(z){var Oe=z[0];return kt(Oe),ve=ve.slice(Oe.length),z}}function Z(){ye(k)}function tt(S){var z;for(S=S||[];z=R();)z!==!1&&S.push(z);return S}function R(){var S=It();if(!(X!=ve.charAt(0)||B!=ve.charAt(1))){for(var z=2;ue!=ve.charAt(z)&&(B!=ve.charAt(z)||X!=ve.charAt(z+1));)++z;if(z+=2,ue===ve.charAt(z-1))return Se("End of comment missing");var Oe=ve.slice(2,z-2);return et+=2,kt(Oe),ve=ve.slice(z),et+=2,S({type:ge,comment:Oe})}}function ie(){var S=It(),z=ye(Ve);if(z){if(R(),!ye(Be))return Se("property missing ':'");var Oe=ye(we),Q=S({type:ct,property:Ne(z[0].replace(te,ue)),value:Oe?Ne(Oe[0].replace(te,ue)):ue});return ye(Ae),Q}}function $(){var S=[];tt(S);for(var z;z=ie();)z!==!1&&(S.push(z),tt(S));return S}return Z(),$()}function Ne(ve){return ve?ve.replace(ke,ue):ue}Ie.exports=_e},17214:function(Ie,te,V){var k=this&&this.__importDefault||function(we){return we&&we.__esModule?we:{default:we}};
71Object.defineProperty(te,"__esModule",{value:!0}),te.default=Be;const Ve=k(V(3582));function Be(we,Ae){let ke=null;if(!we||typeof we!="string")return ke;const ze=(0,Ve.default)(we),X=typeof Ae=="function";return ze.forEach(B=>{if(B.type!=="declaration")return;const{property:ue,value:ge}=B;X?Ae(ue,ge,B):ge&&(ke=ke||{},ke[ue]=ge)}),ke}}}]);

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.