1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[540],{113:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},240:(e,t,n)=>{"use strict";let r=n(44764),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n(36706),{safeRe:s,t:a}=n(82404),l=n(74371),{compareIdentifiers:u}=n(34747);class c{constructor(e,t){if(t=l(t),e instanceof c)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else e=e.version;else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!n)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<o)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return(e instanceof c||(e=new c(e,this.options)),this.major<e.major)?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:+(this.patch>e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return -1;else if(n===i)continue;else return u(n,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("build compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return -1;else if(n===i)continue;else return u(n,i)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw Error("invalid increment argument: identifier is empty");if(t){let e=`-${t}`.match(this.options.loose?s[a.PRERELEASELOOSE]:s[a.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=+!!Number(n);if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}
1e.exports=c},363:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(21408),i=n(78419),o=n(25030),s=n(9525);let a=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],l=(0,i._C)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,r.GS)(s.jf,"setTimeout",u),t.setInterval&&(0,r.GS)(s.jf,"setInterval",u),t.requestAnimationFrame&&(0,r.GS)(s.jf,"requestAnimationFrame",c),t.XMLHttpRequest&&"XMLHttpRequest"in s.jf&&(0,r.GS)(XMLHttpRequest.prototype,"send",d);let e=t.eventTarget;e&&(Array.isArray(e)?e:a).forEach(f)}}});function u(e){return function(...t){let n=t[0];return t[0]=(0,s.LV)(n,{mechanism:{data:{function:(0,o.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function c(e){return function(t){return e.apply(this,[(0,s.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,o.qQ)(e)},handled:!1,type:"instrument"}})])}}function d(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,r.GS)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,o.qQ)(t)},handled:!1,type:"instrument"}},i=(0,r.sp)(t);return i&&(n.mechanism.data.handler=(0,o.qQ)(i)),(0,s.LV)(t,n)})}),e.apply(this,t)}}function f(e){let t=s.jf[e],n=t&&t.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.GS)(n,"addEventListener",function(t){return function(n,r,i){try{var a;a=r,"function"==typeof a.handleEvent&&(r.handleEvent=(0,s.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,o.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,(0,s.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,o.qQ)(r),target:e},handled:!1,type:"instrument"}}),i])}}),(0,r.GS)(n,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}},580:e=>{function t(e,t,n){function r(){var u=Date.now()-a;u<t&&u>=0?i=setTimeout(r,t-u):(i=null,n||(l=e.apply(s,o),s=o=null))}null==t&&(t=100);var i,o,s,a,l,u=function(){s=this,o=arguments,a=Date.now();var u=n&&!i;return i||(i=setTimeout(r,t)),u&&(l=e.apply(s,o),s=o=null),l};return u.clear=function(){i&&(clearTimeout(i),i=null)},u.flush=function(){i&&(l=e.apply(s,o),s=o=null,clearTimeout(i),i=null)},u}t.debounce=t,e.exports=t},679:(e,t,n)=>{"use strict";n.d(t,{TM:()=>u,sC:()=>c,zR:()=>l});var r,i=n(88945);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));var o=function(e){return e},s="beforeunload",a="popstate";function l(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,l=n.history;function u(){var e=n.location,t=e.pathname,r=e.search,i=e.hash,s=l.state||{};return[s.idx,o({pathname:t,search:r,hash:i,state:s.usr||null,key:s.key||"default"})]}var c=null;n.addEventListener(a,function(){if(c)_.call(c),c=null;else{var e=r.Pop,t=u(),n=t[0],i=t[1];if(_.length){if(null!=n){var o=b-n;o&&(c={action:e,location:i,retry:function(){C(-1*o)}},C(o))}}else S(e)}});var d=r.Pop,y=u(),b=y[0],v=y[1],w=h(),_=h();function x(e){return"string"==typeof e?e:g(e)}function k(e,t){return void 0===t&&(t=null),o((0,i.A)({pathname:v.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function E(e,t){return[{usr:e.state,key:e.key,idx:t},x(e)]}function A(e,t,n){return!_.length||(_.call({action:e,location:t,retry:n}),!1)}function S(e){d=e;var t=u();b=t[0],v=t[1],w.call({action:d,location:v})}function C(e){l.go(e)}return null==b&&(b=0,l.replaceState((0,i.A)({},l.state,{idx:b}),"")),{get action(){return d},get location(){return v},createHref:x,push:function e(t,i){var o=r.Push,s=k(t,i);if(A(o,s,function(){e(t,i)})){var a=E(s,b+1),u=a[0],c=a[1];try{l.pushState(u,"",c)}catch(e){n.location.assign(c)}S(o)}},replace:function e(t,n){var i=r.Replace,o=k(t,n);if(A(i,o,function(){e(t,n)})){var s=E(o,b),a=s[0],u=s[1];l.replaceState(a,"",u),S(i)}},go:C,back:function(){C(-1)},forward:function(){C(1)},listen:function(e){return w.push(e)},block:function(e){var t=_.push(e);return 1===_.length&&n.addEventListener(s,f),function(){t(),_.length||n.removeEventListener(s,f)}}}}function u(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,l=n.history;function u(){var e=m(n.location.hash.substr(1)),t=e.pathname,r=e.search,i=e.hash,s=l.state||{};return[s.idx,o({pathname:void 0===t?"/":t,search:void 0===r?"":r,hash:void 0===i?"":i,state:s.usr||null,key:s.key||"default"})]}var c=null;function d(){if(c)x.call(c),c=null;else{var e=r.Pop,t=u(),n=t[0],i=t[1];if(x.length){if(null!=n){var o=v-n;o&&(c={action:e,location:i,retry:function(){I(-1*o)}},I(o))}}else C(e)}}n.addEventListener(a,d),n.addEventListener("hashchange",function(){g(u()[1])!==g(w)&&d()});var y=r.Pop,b=u(),v=b[0],w=b[1],_=h(),x=h();function k(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var r=n.location.href,i=r.indexOf("#");t=-1===i?r:r.slice(0,i)}return t}()+"#"+("string"==typeof e?e:g(e))}function E(e,t){return void 0===t&&(t=null),o((0,i.A)({pathname:w.pathname,hash:"",search:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function A(e,t){return[{usr:e.state,key:e.key,idx:t},k(e)]}function S(e,t,n){return!x.length||(x.call({action:e,location:t,retry:n}),!1)}function C(e){y=e;var t=u();v=t[0],w=t[1],_.call({action:y,location:w})}function I(e){l.go(e)}return null==v&&(v=0,l.replaceState((0,i.A)({},l.state,{idx:v}),"")),{get action(){return y},get location(){return w},createHref:k,push:function e(t,i){var o=r.Push,s=E(t,i);if(S(o,s,function(){e(t,i)})){var a=A(s,v+1),u=a[0],c=a[1];try{l.pushState(u,"",c)}catch(e){n.location.assign(c)}C(o)}},replace:function e(t,n){var i=r.Replace,o=E(t,n);if(S(i,o,function(){e(t,n)})){var s=A(o,v),a=s[0],u=s[1];l.replaceState(a,"",u),C(i)}},go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(e){return _.push(e)},block:function(e){var t=x.push(e);return 1===x.length&&n.addEventListener(s,f),function(){t(),x.length||n.removeEventListener(s,f)}}}}function c(e){void 0===e&&(e={});var t=e,n=t.initialEntries,s=t.initialIndex,a=(void 0===n?["/"]:n).map(function(e){return o((0,i.A)({pathname:"/",search:"",hash:"",state:null,key:p()},"string"==typeof e?m(e):e))}),l=d(null==s?a.length-1:s,0,a.length-1),u=r.Pop,c=a[l],f=h(),y=h();function b(e,t){return void 0===t&&(t=null),o((0,i.A)({pathname:c.pathname,search:"",hash:""},"string"==typeof e?m(e):e,{state:t,key:p()}))}function v(e,t,n){return!y.length||(y.call({action:e,location:t,retry:n}),!1)}function w(e,t){u=e,c=t,f.call({action:u,location:c})}function _(e){var t=d(l+e,0,a.length-1),n=r.Pop,i=a[t];v(n,i,function(){_(e)})&&(l=t,w(n,i))}return{get index(){return l},get action(){return u},get location(){return c},createHref:function(e){return"string"==typeof e?e:g(e)},push:function e(t,n){var i=r.Push,o=b(t,n);v(i,o,function(){e(t,n)})&&(l+=1,a.splice(l,a.length,o),w(i,o))},replace:function e(t,n){var i=r.Replace,o=b(t,n);v(i,o,function(){e(t,n)})&&(a[l]=o,w(i,o))},go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(e){return f.push(e)},block:function(e){return y.push(e)}}}function d(e,t,n){return Math.min(Math.max(e,t),n)}function f(e){e.preventDefault(),e.returnValue=""}function h(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}}
1,call:function(t){e.forEach(function(e){return e&&e(t)})}}}function p(){return Math.random().toString(36).substr(2,8)}function g(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,s=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),s&&"#"!==s&&(n+="#"===s.charAt(0)?s:"#"+s),n}function m(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}},812:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in).getDay();return 0===n||6===n}},1180:(e,t,n)=>{"use strict";n.d(t,{l$:()=>er,$x:()=>en});var r=n(33193),i=n(3254);let o=Object.prototype.toString;function s(e){switch(o.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}return null===e?"null":void 0===e?"undefined":e&&"object"==typeof e&&"nodeType"in e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}function a(e,t){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}let l=["pre","textarea","code"],u="normal",c=Object.freeze({_type:"block",markDefs:[],style:u}),d=Object.freeze({_type:"span",marks:[]}),f={p:c,blockquote:{...c,style:"blockquote"}},h={span:{object:"text"}},p={ol:{object:null},ul:{object:null}},g={h1:{...c,style:"h1"},h2:{...c,style:"h2"},h3:{...c,style:"h3"},h4:{...c,style:"h4"},h5:{...c,style:"h5"},h6:{...c,style:"h6"}},m={br:{...c,style:u}},y={b:"strong",strong:"strong",i:"em",em:"em",u:"underline",s:"strike-through",strike:"strike-through",del:"strike-through",code:"code",sup:"sup",sub:"sub",ins:"ins",mark:"mark",small:"small"},b={li:{...c,style:u,level:1,listItem:"bullet"}};function v(e){if(e&&"tagName"in e)return e.tagName.toLowerCase()}function w(e){return"span"===e._type}function _(e){return"block"===e._type}function x(e){return"__decorator"===e._type}function k(e){return"__annotation"===e._type}function E(e){return 1===e.nodeType}[...new Set(Object.values({...f,...h,...p,...b,...g,...m}).filter(e=>"style"in e).map(e=>e.style))],[...new Set(Object.values(y))];var A={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},S={0:8203,1:8204,2:8205,3:65279},C={0:String.fromCodePoint(S[0]),1:String.fromCodePoint(S[1]),2:String.fromCodePoint(S[2]),3:String.fromCodePoint(S[3])};[,,,,].fill(String.fromCodePoint(S[0])).join(""),Object.fromEntries(Object.entries(C).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(A).map(e=>e.reverse()));var I=`${Object.values(A).map(e=>`\\u{${e.toString(16)}}`).join("")}`,T=RegExp(`[${I}]{4,}`,"gu");function O(){var e;return e=12,(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,t)=>e+R[t],"").slice(0,e)}let R=[];for(let e=0;e<256;++e)R[e]=(e+256).toString(16).slice(1);function D(e){return!!E(e)&&"span"===v(e)&&e.classList.contains("NormalTextRun")}function j(e){return!!E(e)&&"span"===v(e)&&e.classList.contains("TextRun")&&!e.classList.contains("NormalTextRun")&&!e.classList.contains("EOP")}function M(e){let t=e.getAttribute("style")??"";return e.classList.contains("MacChromeBold")||/font-weight\s*:\s*bold/.test(t)}function N(e){let t=e.getAttribute("style")??"";return/font-style\s*:\s*italic/.test(t)}function F(e){let t=e.getAttribute("style")??"";return e.classList.contains("Underlined")||/text-decoration\s*:\s*underline/.test(t)}function $(e){let t=e.getAttribute("style")??"";return e.classList.contains("Strikethrough")||/text-decoration\s*:\s*line-through/.test(t)}function P(e){return M(e)||N(e)||F(e)||$(e)}function L(e){let t=e.getAttribute("data-ccp-parastyle");if(t)return t;if("span"===v(e)&&e.classList.contains("TextRun")){let t=Array.from(e.querySelectorAll(".NormalTextRun"));if(t.length>0){let e=t[0].getAttribute("data-ccp-parastyle");if(e&&t.every(t=>t.getAttribute("data-ccp-parastyle")===e))return e}}}let z={BOOLEAN_TYPE:3,ORDERED_NODE_ITERATOR_TYPE:5,UNORDERED_NODE_SNAPSHOT_TYPE:6},U=["/html/text()","/html/head/text()","/html/body/text()","/html/body/ul/text()","/html/body/ol/text()","//comment()","//style","//xml","//script","//meta","//link"],B=["body","table","tbody","thead","tfoot","tr","ul","ol"],q=/(class="?Mso|style=(?:"|')[^"]*?\bmso-|w:WordDocument|<o:\w+>|<\/font>)/,V=["//o:p","//span[@style='mso-list:Ignore']","//span[@style='mso-list: Ignore']"],H=["//p[@class='MsoTocHeading']","//p[@class='MsoTitle']","//p[@class='MsoToaHeading']","//p[@class='MsoSubtitle']","//span[@class='MsoSubtleEmphasis']","//span[@class='MsoIntenseEmphasis']"],G={MsoTocHeading:["h3"],MsoTitle:["h1"],MsoToaHeading:["h2"],MsoSubtitle:["h5"],MsoSubtleEmphasis:["span","em"],MsoIntenseEmphasis:["span","em","strong"]}
1,W=[function(e,t){return function e(t){if(t.nodeType!==z.BOOLEAN_TYPE||l.includes(t.parentElement?.tagName.toLowerCase()||""))for(let n=t.childNodes.length-1;n>=0;n--)e(t.childNodes[n]);else{let e=t.textContent?.replace(/\s\s+/g," ").replace(/[\r\n]+/g," ")||"",n=t.parentElement?.tagName.toLowerCase();n&&B.includes(n)&&""===e.trim()?t.parentNode?.removeChild(t):t.textContent=e}}(t.body),t},function(e,t){if(e.match(/<!-- notionvc:.*?-->/g)){let e=t.evaluate("//*",t,null,z.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let t=e.snapshotLength-1;t>=0;t--)e.snapshotItem(t)?.setAttribute("data-is-notion","true")}return t},function(e,t){if(!q.test(e))return t;let n=t.evaluate(V.join("|"),t,e=>"o"===e?"urn:schemas-microsoft-com:office:office":null,z.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let e=n.snapshotLength-1;e>=0;e--){let t=n.snapshotItem(e);t?.parentNode&&t.parentNode.removeChild(t)}let r=t.evaluate(H.join("|"),t,null,z.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let e=r.snapshotLength-1;e>=0;e--){let n=r.snapshotItem(e),i=G[n.className],o=t.createTextNode(n.textContent||"");if(!i)continue;let s=t.createElement(i[0]),a=s,l=s;i.slice(1).forEach(e=>{l=t.createElement(e),a.appendChild(l),a=l}),l.appendChild(o),n?.parentNode?.replaceChild(s,n)}return t},function(e,t){if(!(/class="(?:TextRun|NormalTextRun)[^"]*SCXW\d+[^"]*BCX\d+/.test(e)||/class="EOP[^"]*SCXW\d+/.test(e)))return t;for(let e of Array.from(t.querySelectorAll('p.Paragraph[role="heading"]'))){let n=e.getAttribute("aria-level");if(n){let r=t.createElement("word-online-block");r.setAttribute("data-parastyle",`heading ${n}`);let i=e.parentNode;if(i){for(i.insertBefore(r,e);e.firstChild;)r.appendChild(e.firstChild);i.removeChild(e)}}}let n=t.body.firstChild;for(;n;){let e=n.nextSibling;if(!E(n)||!v(n)?.includes("span")){n=e;continue}let r=L(n);if(!r){n=e;continue}let i=[n],o=e;for(;o&&!(!E(o)||L(o)!==r);)i.push(o),o=o.nextSibling;let s=t.createElement("word-online-block");for(let e of(s.setAttribute("data-parastyle",r),t.body.insertBefore(s,n),i))s.appendChild(e);n=o}for(let e of Array.from(t.body.querySelectorAll("span")).filter(j))for(let n of Array.from(e.childNodes).filter(D)){let r=!0;for(;r;){let i=Array.from(n.childNodes),o=i.findIndex(e=>E(e)&&"span"===v(e)&&""===e.textContent.trim());if(-1===o){r=!1;break}let s=i.at(o);if(!s){r=!1;break}let a=s.textContent?.replace(/\u00a0/g," ")??"",l=!i.slice(0,o).some(e=>3===e.nodeType);if(n.removeChild(s),l){let e=Array.from(n.childNodes).find(e=>3===e.nodeType);if(e)e.textContent=a+(e.textContent||"");else{let e=t.createTextNode(a);n.insertBefore(e,n.firstChild)}}else{let r=e.nextSibling,i=P(e);if(r&&E(r)&&j(r)){let e=P(r);if(i&&!e){let e=Array.from(r.childNodes).find(D);if(e&&E(e)){let n=e.firstChild;if(n&&3===n.nodeType)n.textContent=a+(n.textContent??"");else{let n=t.createTextNode(a);e.insertBefore(n,e.firstChild)}}}else{let e=Array.from(n.childNodes).find(e=>3===e.nodeType);if(e)e.textContent=(e.textContent??"")+a;else{let e=t.createTextNode(a);n.appendChild(e)}}}else{let e=Array.from(n.childNodes).find(e=>3===e.nodeType);if(e)e.textContent=(e.textContent??"")+a;else{let e=t.createTextNode(a);n.appendChild(e)}}}}}return t},function(e,t){let n=t.evaluate('//*[@id and contains(@id, "docs-internal-guid")]',t,null,z.ORDERED_NODE_ITERATOR_TYPE,null).iterateNext();if(n){let e="b"===v(n);e||(n=t.body);let r=t.evaluate("//*",t,null,z.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let i=r.snapshotLength-1;i>=0;i--){let o=r.snapshotItem(i);o?.setAttribute("data-is-google-docs","true"),o?.parentElement!==n&&(e||o.parentElement!==t.body)||(o?.setAttribute("data-is-root-node","true"),v(o)),"li"===v(o)&&o.firstChild&&"img"===v(o?.firstChild)&&o.removeChild(o.firstChild)}return e&&t.body.firstElementChild?.replaceWith(...Array.from(n.childNodes)),t}return t},function(e,t){let n=t.evaluate("/html/body/text()",t,null,z.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let e=n.snapshotLength-1;e>=0;e--){let r=n.snapshotItem(e),i=r.textContent||"";if(i.replace(/[^\S\n]+$/g,"")){let e=t.createElement("span");e.appendChild(t.createTextNode(i)),r.parentNode?.replaceChild(e,r)}else r.parentNode?.removeChild(r)}let r=t.evaluate(U.join("|"),t,null,z.UNORDERED_NODE_SNAPSHOT_TYPE,null);for(let e=r.snapshotLength-1;e>=0;e--){let t=r.snapshotItem(e);t&&t.parentNode?.removeChild(t)}return t}];function Y(e,t){let n={"heading 1":"h1","heading 2":"h2","heading 3":"h3","heading 4":"h4","heading 5":"h5","heading 6":"h6",Quote:"blockquote"}[t]??"normal";return e.styles.find(e=>e.name===n)?.name}let K=Object.keys(p);function Z(e){return E(e)&&!!e.getAttribute("data-is-google-docs")}let X={...f,...g},J={deserialize:e=>"#text"===e.nodeName&&function(e){let t=3===e.nodeType&&" "===(e.textContent||"").replace(/[\r\n]/g," ").replace(/\s\s+/g," "),n=e.nextSibling&&3!==e.nextSibling.nodeType&&e.previousSibling&&3!==e.previousSibling.nodeType,r=e.parentNode&&"span"===v(e.parentNode)&&!e.nextSibling&&!e.previousSibling&&e.parentNode.previousSibling&&3!==e.parentNode.previousSibling.nodeType&&e.parentNode.nextSibling&&3!==e.parentNode.nextSibling.nodeType;return(t&&(n||r)||" "!==e.textContent)&&"body"!==v(e.parentNode)}(e)?{...d,marks:[],text:(e.textContent??"").replace(/\s\s+/g," ")}:void 0};function Q(e,t){return!(!(0,i.zS)(e,t)||t.children.some(t=>!(0,i.bl)(e,t)||""!==t.text.trim()))}function ee(e){return["\xa0"," "].includes(e)}class et{keyGenerator;schema;rules;parseHtml;whitespaceMode;_markDefs=[];constructor(e,t={}){let{rules:n=[],unstable_whitespaceOnPasteMode:r="preserve"}=t,i=function(e,t){return[{deserialize(e,t){let n=v(e);if(("p"===n||g[n||""])&&function(e){if(!E(e))return!1;if(e.className&&("MsoListParagraphCxSpFirst"===e.className||"MsoListParagraphCxSpMiddle"===e.className||"MsoListParagraphCxSpLast"===e.className))return!0;let t=e.getAttribute("style");return!!(t&&/mso-list:\s*l\d+\s+level\d+\s+lfo\d+/.test(t))}(e)){let n=function(e){let t=v(e);if(t&&g[t])return g[t]?.style}(e);return{...c,listItem:function(e){let t=E(e)&&e.getAttribute("style");if(t&&t.match(/lfo\d+/))return t.match("lfo1")?"number":"bullet"}(e),level:function(e){let t=E(e)&&e.getAttribute("style");if(!t)return;let n=t.match(/level\d+/);if(!n)return;let[r]=n[0].match(/\d/)||[];return(r?Number.parseInt(r,10):1)||1}(e),style:n||u,children:t(e.childNodes)}}}},{deserialize(n){if(!E(n)||"img"!==v(n))return;let r=n.className,i="";if("string"==typeof r?i=r:r&&"object"==typeof r&&(i=r.baseVal||""),!i.includes("WACImage"))return;let o=n.getAttribute("src")??void 0,s=n.getAttribute("alt")??void 0,a=Object.fromEntries(Array.from(n.attributes).map(e=>[e.name,e.value])),l=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??O},props:{...a,...o?{src:o}:{},...s?{alt:s}:{}}});if(l)return{_type:"__block",block:l}}},{deserialize(n){if(!E(n))return;let r=n.className,i="";if("string"==typeof r?i=r:r&&"object"==typeof r&&(i=r.baseVal||""),!i.includes("WACImageContainer"))return;let o=n.querySelector("img");if(!o)return;let s=o.getAttribute("src")??void 0,a=o.getAttribute("alt")??void 0,l=Object.fromEntries(Array.from(o.attributes).map(e=>[e.name,e.value])),u=null!==n.closest("li");if(null===n.closest("p")||u){let n=t.matchers?.inlineImage?.({context:{schema:e,keyGenerator:t.keyGenerator??O},props:{...l,...s?{src:s}:{},...a?{alt:a}:{}}});if(n)return n}let c=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??O},props:{...l,...s?{src:s}:{},...a?{alt:a}:{}}});if(c)return{_type:"__block",block:c}}},{deserialize(t,n){if(!E(t)||"li"!==v(t))return;let r=t.getAttribute("data-aria-level");if(!r)return;let i="ol"===v(t.parentNode)?"number":"bullet",o=t.childNodes,s="normal";if(1===t.childNodes.length&&t.firstChild&&E(t.firstChild)){let n=v(t.firstChild);if(n&&(f[n]||g[n]||"word-online-block"===n)){if("word-online-block"===n){let n=t.firstChild.getAttribute("data-parastyle"),r=n?Y(e,n):void 0;r&&(s=r)}o=t.firstChild.childNodes}}
1let a=n(o),l=Array.isArray(a)?a:[a].filter(Boolean);for(;l.length>0;){let e=l[l.length-1];if(e&&"object"==typeof e&&"text"in e){let t=e.text.trimEnd();if(""===t)l=l.slice(0,-1);else if(t!==e.text){e.text=t;break}else break}else break}return{_type:e.block.name,children:l,markDefs:[],style:s,listItem:i,level:parseInt(r,10)}}},{deserialize(t,n){if(!E(t))return;let r=t.getAttribute("data-parastyle"),i=r?Y(e,r):void 0;if(!i)return;let o=n(t.childNodes);return{_type:e.block.name,style:i,markDefs:[],children:Array.isArray(o)?o:o?[o]:[]}}},{deserialize(e){if(E(e)&&"span"===v(e)&&e.classList.contains("TextRun")&&!e.classList.contains("EOP")){if(!E(e)||!e.textContent)return;let t=Array.from(e.childNodes).filter(e=>D(e)||!!E(e)&&"span"===v(e)&&e.classList.contains("FindHit")).map(e=>E(e)?e.textContent??"":"").join("");if(!t)return;let n={...d,marks:[],text:t};if(M(e)&&n.marks.push("strong"),!N(e)||function(e){let t=e;for(;t;){if(E(t)&&"word-online-block"===v(t)&&/^heading \d$/.test(t.getAttribute("data-parastyle")??""))return!0;t=t.parentNode}return!1}(e)||function(e){let t=e;for(;t;){if(E(t)&&"word-online-block"===v(t)&&"Quote"===t.getAttribute("data-parastyle"))return!0;t=t.parentNode}return!1}(e)||n.marks.push("em"),F(e))if(E(e)&&e.parentElement&&"a"===v(e.parentElement)){let t=e.parentElement;if(t){let e=t.previousSibling,r=t.nextSibling,i=e&&E(e)&&F(e),o=r&&E(r)&&F(r);(i||o)&&n.marks.push("underline")}}else n.marks.push("underline");return $(e)&&n.marks.push("strike-through"),n}}},{deserialize(e){var t;if(E(e)&&"span"===v(e)&&E(t=e)&&t.getAttribute("data-is-notion")){let t={...d,marks:[],text:e.textContent};return function(e){let t=E(e)&&e.getAttribute("style");return/font-weight:700/.test(t||"")||/font-weight:600/.test(t||"")}(e)&&t.marks.push("strong"),function(e){let t=E(e)&&e.getAttribute("style");return/text-decoration:underline/.test(t||"")}(e)&&t.marks.push("underline"),function(e){let t=E(e)&&e.getAttribute("style");return/font-style:italic/.test(t||"")}(e)&&t.marks.push("em"),t}}},{deserialize(e,t){if(E(e)&&"span"===v(e)&&Z(e)){if(!e.textContent)return e.previousSibling||e.nextSibling||e.setAttribute("data-lonely-child","true"),t(e.childNodes);let n={...d,marks:[],text:e.textContent};return function(e){let t=E(e)&&e.getAttribute("style");return/font-weight\s*:\s*700/.test(t||"")}(e)&&n.marks.push("strong"),function(e){if(!E(e)||"a"===v(e.parentNode))return!1;let t=E(e)&&e.getAttribute("style");return/text-decoration\s*:\s*underline/.test(t||"")}(e)&&n.marks.push("underline"),function(e){let t=E(e)&&e.getAttribute("style");return/text-decoration\s*:\s*(?:.*line-through.*;)/.test(t||"")}(e)&&n.marks.push("strike-through"),function(e){let t=E(e)&&e.getAttribute("style");return/font-style\s*:\s*italic/.test(t||"")}(e)&&n.marks.push("em"),n}}},{deserialize(t,n){if("li"===v(t)&&Z(t))return{...c,listItem:function(e){let t=v(e.parentNode);if(!(t&&!K.includes(t)))return"ul"===v(e.parentNode)?"bullet":"number"}(t),level:function(e){let t=0;if("li"===v(e)){let n=e.parentNode;for(;n;){let e=v(n);e&&K.includes(e)&&t++,n=n.parentNode}}else t=1;return t}(t),style:function(e,t){let n=v(t.firstChild),r=n&&X[n];return r&&e.styles.some(e=>e.name===r.style)?r.style:u}(e,t),children:n(t.firstChild?.childNodes||[])}}},{deserialize(e){var t;if("br"===v(e)&&Z(e)&&E(e)&&e.classList.contains("apple-interchange-newline")||"br"===v(e)&&Z(e)&&E(e)&&e?.parentNode?.textContent===""||"br"===v(e)&&Z(e)&&E(e)&&E(t=e)&&t.getAttribute("data-is-root-node"))return{...d,text:""}}},J,{deserialize(t){if("pre"!==v(t))return;let n=e.styles.some(e=>"code"===e.name);return{_type:"block",style:"normal",markDefs:[],children:[{...d,marks:n?["code"]:[],text:t.textContent||""}]}}},{deserialize(e,t){if("blockquote"!==v(e))return;let n={...f,...g};delete n.blockquote;let r=Object.keys(n),i=[];return e.childNodes.forEach((t,n)=>{if(e.ownerDocument)if(1===t.nodeType&&r.includes(t.localName.toLowerCase())){let r=e.ownerDocument.createElement("span"),o=i[i.length-1];o&&3===o.nodeType&&o.textContent?.trim()&&r.appendChild(e.ownerDocument.createTextNode("\r")),t.childNodes.forEac
1h(e=>{r.appendChild(e.cloneNode(!0))}),n!==e.childNodes.length&&r.appendChild(e.ownerDocument.createTextNode("\r")),i.push(r)}else i.push(t)}),{_type:"block",style:"blockquote",markDefs:[],children:t(i)}}},{deserialize(t,n){let r={...f,...g},i=v(t),o=i?r[i]:void 0;if(!o)return;if(t.parentNode&&"li"===v(t.parentNode))return n(t.childNodes);let s=o.style;return e.styles.some(e=>e.name===s)||(o=c),{...o,children:n(t.childNodes)}}},{deserialize(e,t){let n=v(e);if(!(!n||!(n in h)))return t(e.childNodes)}},{deserialize(e,t){if("div"===v(e))return t(e.childNodes)}},{deserialize(e,t){let n=v(e);if(!(!n||!(n in p)))return t(e.childNodes)}},{deserialize(e){if("br"===v(e))return{...d,text:` 2`}}},{deserialize(t,n,r){let i=v(t),o=i?b[i]:void 0;if(!o)return;let s=v(t.parentNode)||"",a=p[s]?s:"ul",l="ul"===a&&e.lists.some(e=>"bullet"===e.name)?"bullet":"ol"===a&&e.lists.some(e=>"number"===e.name)?"number":void 0;return l?(o.listItem=l,{...o,children:n(t.childNodes)}):r({_type:"block",children:n(t.childNodes)})}},{deserialize(t,n){let r=y[v(t)||""];if(!(!r||!e.decorators.some(e=>e.name===r)))return{_type:"__decorator",name:r,children:n(t.childNodes)}}},{deserialize(n,r){if("a"!==v(n))return;let i=e.annotations.some(e=>"link"===e.name),o=E(n)&&n.getAttribute("href");return o?i?{_type:"__annotation",markDef:{_key:t.keyGenerator?t.keyGenerator():O(),_type:"link",href:o},children:r(n.childNodes)}:n.appendChild(n.ownerDocument.createTextNode(` (${o})`))&&r(n.childNodes):r(n.childNodes)}},{deserialize(e,t){if(E(e)&&("td"===v(e)||"th"===v(e)))return{...c,children:t(e.childNodes)}}},{deserialize(n){if(E(n)&&"img"===v(n)){let r=n.getAttribute("src")??void 0,i=n.getAttribute("alt")??void 0,o=Object.fromEntries(Array.from(n.attributes).map(e=>[e.name,e.value])),s=n?.parentElement?.parentElement?.getAttribute("data-lonely-child"),a=null!==n.closest("li");if(s&&!a){let n=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??O},props:{...o,...r?{src:r}:{},...i?{alt:i}:{}}});if(n)return{_type:"__block",block:n}}let l=t.matchers?.inlineImage?.({context:{schema:e,keyGenerator:t.keyGenerator??O},props:{...o,...r?{src:r}:{},...i?{alt:i}:{}}});if(l)return l;let u=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??O},props:{...o,...r?{src:r}:{},...i?{alt:i}:{}}});if(u)return{_type:"__block",block:u}}}}]}(e,{keyGenerator:t.keyGenerator,matchers:t.matchers});this.schema=e,this.keyGenerator=t.keyGenerator??O,this.rules=[...n,...i],this.whitespaceMode=r;let o=t.parseHtml||function(){if("undefined"===s(DOMParser))throw Error("The native `DOMParser` global which the `Html` deserializer uses by default is not present in this environment. You must supply the `options.parseHtml` function instead.");return e=>new DOMParser().parseFromString(e,"text/html")}();this.parseHtml=e=>{let t=function(e){var t,n;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(T,""),encoded:(null==(n=t.match(T))?void 0:n[0])||""}.cleaned)}(e),n=o(t);for(let e of W)e(t,n);return n.body}}deserialize=e=>{this._markDefs=[];let{parseHtml:t}=this,n=Array.from(t(e).childNodes),r=function(e,t,n){let r=[],o=0;for(let s of n){let n=(0,i.zS)(e,s)?function(e){let t=0;for(let n of e.children){if(!w(n)){t++;continue}let r=function(e,t){let n=e.children[t+1];return n&&"span"===n._type?n:null}(e,t),i=function(e,t){let n=e.children[t-1];return n&&"span"===n._type?n:null}(e,t);0===t&&(n.text=n.text.replace(/^[^\S\n]+/g,"")),t===e.children.length-1&&(n.text=n.text.replace(/[^\S\n]+$/g,"")),/\s/.test(n.text.slice(Math.max(0,n.text.length-1)))&&r&&w(r)&&/\s/.test(r.text.slice(0,1))&&(n.text=n.text.replace(/[^\S\n]+$/g,"")),/\s/.test(n.text.slice(0,1))&&i&&w(i)&&/\s/.test(i.text.slice(Math.max(0,i.text.length-1)))&&(n.text=n.text.replace(/^[^\S\n]+/g,"")),n.text||e.children.splice(t,1),i&&Array.isArray(i.marks)&&a(i.marks,n.marks)&&ee(n.text)?(i.text+=" ",e.children.splice(t,1)):r&&Array.isArray(r.marks)&&a(r.marks,n.marks)&&ee(n.text)&&(r.text=` ${r.text}`,e.children.splice(t,1)),t++}return e}(s):s;if("preserve"===t){r.push(n);continue}if("remove"===t){if(Q(e,n))continue;r.push(n);continue}if("normalize"===t){if(Q(e,n)){1==++o&&r.push(n);continue}r.push(n),o=0}}return r}({schema:this.schema},this.whitespaceMode,function e(t,n){return n.flatMap(n=>{var r,o,s,a;if("__block"===(r=n)._type&&(s=o=r.block)&&("object"==typeof s||"function"==typeof s)&&"string"==typeof o._type)return e(t,[n.block]);if((0,i.zS)(t,n)){let r=n.children.some(e=>
2t.schema.blockObjects.some(t=>t.name===e._type)),o=n.children.some(e=>"__block"===e._type||"block"===e._type);if(r||o){let r=(a=t,n.children.reduce((e,t)=>{let n=a.schema.inlineObjects.some(e=>e.name===t._type),r=a.schema.blockObjects.some(e=>e.name===t._type),o=e.pop();return(0,i.bl)(a,t)||n||!r?"__block"===t._type?[...e,...o?[o]:[],{type:"block object",block:t.block}]:"block"===t._type?[...e,...o?[o]:[],{type:"block",block:t}]:o&&"children"===o.type?[...e,{type:"children",children:[...o.children,t]}]:[...e,...o?[o]:[],{type:"children",children:[t]}]:[...e,...o?[o]:[],{type:"block object",block:t}]},[]));return 1===r.length&&"children"===r[0].type&&function e(t,n){if(t===n||Object.is(t,n))return!0;if("object"!=typeof t||"object"!=typeof n||null===t||null===n||Object.getPrototypeOf(t)!==Object.getPrototypeOf(n))return!1;if(Array.isArray(t)){var r=t,i=n;if(r.length!==i.length)return!1;for(let[t,n]of r.entries())if(!e(n,i[t]))return!1;return!0}if(t instanceof Map){var o=t,s=n;if(o.size!==s.size)return!1;for(let[t,n]of o.entries())if(!s.has(t)||!e(n,s.get(t)))return!1;return!0}if(t instanceof Set){var a=t,l=n;if(a.size!==l.size)return!1;let r=[...l];for(let t of a){let n=!1;for(let[i,o]of r.entries())if(e(t,o)){n=!0,r.splice(i,1);break}if(!n)return!1}return!0}if(t instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp)return t.toString()===n.toString();if(Object.keys(t).length!==Object.keys(n).length)return!1;for(let[r,i]of Object.entries(t))if(!(r in n)||!e(i,n[r]))return!1;return!0}(r[0].children,n.children)?[n]:r.flatMap(r=>"block object"===r.type?[r.block]:"block"===r.type?e(t,[r.block]):r.children.length>0?r.children.every(e=>(0,i.bl)(t,e)&&""===e.text.trim())?[]:e(t,[{...n,children:r.children}]):[])}}return[n]})}({schema:this.schema},function(e,t){return t.reduce((t,n,r,o)=>{if("block"===n._type)return t.push(n),t;if("__block"===n._type)return t.push(n.block),t;let s=t[t.length-1];if(r>0&&!(0,i.zS)({schema:e},o[r-1])&&(0,i.zS)({schema:e},s))return s.children.push(n),t;let a={...c,children:[n]};return t.push(a),t},[])}(this.schema,this.deserializeElements(n))));return this._markDefs.length>0&&r.filter(e=>(0,i.zS)({schema:this.schema},e)).forEach(e=>{e.markDefs=e.markDefs||[],e.markDefs=e.markDefs.concat(this._markDefs.filter(t=>e.children.flatMap(e=>e.marks||[]).includes(t._key)))}),r.map(e=>("block"===e._type&&(e._type=this.schema.block.name),e))};deserializeElements=(e=[])=>{let t=[];return e.forEach(e=>{t=t.concat(this.deserializeElement(e))}),t};deserializeElement=e=>{let t,n=e=>"[object NodeList]"===Object.prototype.toString.call(e)?this.deserializeElements(Array.from(e)):Array.isArray(e)?this.deserializeElements(e):e?this.deserializeElement(e):void 0,r=e=>({_type:"__block",block:e});for(let i=0;i<this.rules.length;i++){let o=this.rules[i];if(!o.deserialize)continue;let a=o.deserialize(e,n,r),l=s(a);if("array"!==l&&"object"!==l&&"null"!==l&&"undefined"!==l)throw Error(`A rule returned an invalid deserialized representation: "${t}".`);if(void 0!==a){if(null===a)throw Error("Deserializer rule returned `null`");if(t=Array.isArray(a)?a:x(a)?this.deserializeDecorator(a):k(a)?this.deserializeAnnotation(a):a,a&&!Array.isArray(a)&&_(a)&&"listItem"in a){let t=e.parentNode?.parentNode;for(;t&&"li"===v(t);)t=t.parentNode?.parentNode,a.level=a.level?a.level+1:1}a&&!Array.isArray(a)&&_(a)&&"blockquote"===a.style&&a.children.forEach((e,t)=>{w(e)&&"\r"===e.text&&(e.text=` 3`,(0===t||t===a.children.length-1)&&a.children.splice(t,1))});break}}return t||n(e.childNodes)||[]};deserializeDecorator=e=>{let{name:t}=e,n=e=>x(e)?this.deserializeDecorator(e):(w(e)?(e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t)):"children"in e&&Array.isArray(e.children)&&(e.children=e.children.map(n)),e);return e.children.reduce((e,t)=>{let r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)},[])};deserializeAnnotation=e=>{let{markDef:t}=e;this._markDefs.push(t);let n=e=>k(e)?this.deserializeAnnotation(e):(w(e)?(e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t._key)):"children"in e&&Array.isArray(e.children)&&(e.children=e.children.map(n)),e);return e.children.reduce((e,t)=>
3{let r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)},[])}}function en(e,t={}){let n={block:{name:t.blockTypeName||"block"},span:{name:"span"},styles:[],lists:[],decorators:[],annotations:[],blockObjects:[],inlineObjects:[]};if(e._type!==(t.blockTypeName||"block"))return"_key"in e?e:{...e,_key:t.keyGenerator?t.keyGenerator():O()};let r={_key:t.keyGenerator?t.keyGenerator():O(),children:[],markDefs:[],...e},o=r.children[r.children.length-1];if(!o)return r.children=[{_type:"span",_key:t.keyGenerator?t.keyGenerator():O(),text:"",marks:[]}],r;let s=[],l=!!(t.allowedDecorators&&Array.isArray(t.allowedDecorators))&&t.allowedDecorators;return r.children=r.children.reduce((e,t)=>{let s=e[e.length-1];return s&&(0,i.bl)({schema:n},t)&&(0,i.bl)({schema:n},s)&&a(s.marks,t.marks)?o&&o===t&&""===t.text&&r.children.length>1||(s.text+=t.text):e.push(t),e},[]).map(e=>{if(!e)throw Error("missing child");return e._key=t.keyGenerator?t.keyGenerator():O(),(0,i.bl)({schema:n},e)&&(e.marks?l&&(e.marks=e.marks.filter(e=>{let t=l.includes(e),n=r.markDefs?.some(t=>t._key===e);return t||n})):e.marks=[],s.push(...e.marks)),e}),r.markDefs=(r.markDefs||[]).filter(e=>s.includes(e._key)),r}function er(e,t,n={}){return new et(t.hasOwnProperty("jsonType")?(0,r.Wz)(t):t,n).deserialize(e).map(e=>en(e,{keyGenerator:n.keyGenerator}))}},1185:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t)=>r(e,t,!0)},1190:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(79375);function i(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}function o(e){e.register(r.A),e.register(i),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),t)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>
3+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""},a=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===s(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:s(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=s(i);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=s(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=s(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&a(i.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&a(e.tokens)})}(e)}i.displayName="markup",i.aliases=["atom","html","mathml","rss","ssml","svg","xml"],o.displayName="jsx",o.aliases=[]},1407:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(20613);let i=function(e){return null==e?"":(0,r.A)(e)}},1807:(e,t,n)=>{var r=n(82455),i=n(42493),o=n(31326),s=n(76917);e.exports=function(e){return o(e)?r(s(e)):i(e)}},1893:(e,t,n)=>{"use strict";let r;n.d(t,{xC:()=>w,r9:()=>g,Bd:()=>v});var i=n(39860);n(30055),Object.create(null);let o={},s=(e,t,n,r)=>{c(n)&&o[n]||(c(n)&&(o[n]=new Date),((e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);c(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)})(e,t,n,r))},a=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},l=(e,t,n)=>{e.loadNamespaces(t,a(e,n))},u=(e,t,n,r)=>{if(c(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return l(e,n,r);n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,a(e,r))},c=e=>"string"==typeof e,d=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"â¦","…":"â¦","/":"/","/":"/"},h=e=>f[e],p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(d,h)},g={type:"3rdParty",init(e){((e={})=>{p={...p,...e}})(e.options.react),r=e}},m=(0,i.createContext)();class y{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let b=(e,t,n,r)=>e.getFixedT(t,n,r),v=(e,t={})=>{let{i18n:n}=t,{i18n:o,defaultNS:a}=(0,i.useContext)(m)||{},d=n||o||r;if(d&&!d.reportNamespaces&&(d.reportNamespaces=new y),!d){s(d,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>
3c(t)?t:(e=>"object"==typeof e&&null!==e)(t)&&c(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}d.options.react?.wait&&s(d,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let f={...p,...d.options.react,...t},{useSuspense:h,keyPrefix:g}=f,v=e||a||d.options?.defaultNS;v=c(v)?[v]:v||["translation"],d.reportNamespaces.addUsedNamespaces?.(v);let w=(d.isInitialized||d.initializedStoreOnce)&&v.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(s(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,d,f)),_=((e,t,n,r)=>(0,i.useCallback)(b(e,t,n,r),[e,t,n,r]))(d,t.lng||null,"fallback"===f.nsMode?v:v[0],g),x=()=>_,k=()=>b(d,t.lng||null,"fallback"===f.nsMode?v:v[0],g),[E,A]=(0,i.useState)(x),S=v.join();t.lng&&(S=`${t.lng}${S}`);let C=((e,t)=>{let n=(0,i.useRef)();return(0,i.useEffect)(()=>{n.current=t?n.current:e},[e,t]),n.current})(S),I=(0,i.useRef)(!0);(0,i.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=f;I.current=!0,w||h||(t.lng?u(d,t.lng,v,()=>{I.current&&A(k)}):l(d,v,()=>{I.current&&A(k)})),w&&C&&C!==S&&I.current&&A(k);let r=()=>{I.current&&A(k)};return e&&d?.on(e,r),n&&d?.store.on(n,r),()=>{I.current=!1,d&&e&&e?.split(" ").forEach(e=>d.off(e,r)),n&&d&&n.split(" ").forEach(e=>d.store.off(e,r))}},[d,S]),(0,i.useEffect)(()=>{I.current&&w&&A(x)},[d,g,w]);let T=[E,d,w];if(T.t=E,T.i18n=d,T.ready=w,w||!w&&!h)return T;throw new Promise(e=>{t.lng?u(d,t.lng,v,()=>e()):l(d,v,()=>e())})};function w({i18n:e,defaultNS:t,children:n}){let r=(0,i.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,i.createElement)(m.Provider,{value:r},n)}},2145:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1407),i=n(46199);let o=function(e){return(0,i.A)((0,r.A)(e).toLowerCase())}},2552:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let r=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r};var i=n(72936);let o=function(e,t,n,r){return(0,i.A)(e,function(e,i,o){t(r,e,n(e),o)}),r};var s=n(75130),a=n(64536);let l=function(e,t){return function(n,i){var l=(0,a.A)(n)?r:o,u=t?t():{};return l(n,e,(0,s.A)(i,2),u)}}},2836:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r=n(88816),i=n(62749);let o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var s=n(52810);let a=function(e,t,n,r,a,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,g=!0,m=2&n?new i.A:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var y=e[p],b=t[p];if(r)var v=u?r(b,y,p,t,e,l):r(y,b,p,e,t,l);if(void 0!==v){if(v)continue;g=!1;break}if(m){if(!o(t,function(e,t){if(!(0,s.A)(m,t)&&(y===e||a(y,e,n,r,l)))return m.push(t)})){g=!1;break}}else if(!(y===b||a(y,b,n,r,l))){g=!1;break}}return l.delete(e),l.delete(t),g};var l=n(63e3),u=n(4573),c=n(37537),d=n(14308),f=n(78646),h=l.A?l.A.prototype:void 0,p=h?h.valueOf:void 0;let g=function(e,t,n,r,i,o,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!o(new u.A(e),new u.A(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,c.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=d.A;case"[object Set]":var h=1&r;if(l||(l=f.A),e.size!=t.size&&!h)break;var g=s.get(e);if(g)return g==t;r|=2,s.set(e,t);var m=a(l(e),l(t),r,i,o,s);return s.delete(e),m;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1};var m=n(22275),y=Object.prototype.hasOwnProperty;let b=function(e,t,n,r,i,o){var s=1&n,a=(0,m.A)(e),l=a.length;if(l!=(0,m.A)(t).length&&!s)return!1;for(var u=l;u--;){var c=a[u];if(!(s?c in t:y.call(t,c)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var h=!0;o.set(e,t),o.set(t,e);for(var p=s;++u<l;){var g=e[c=a[u]],b=t[c];if(r)var v=s?r(b,g,c,t,e,o):r(g,b,c,e,t,o);if(!(void 0===v?g===b||i(g,b,n,r,o):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return o.delete(e),o.delete(t),h};var v=n(94485),w=n(64536),_=n(82092),x=n(67822),k="[object Arguments]",E="[object Array]",A="[object Object]",S=Object.prototype.hasOwnProperty;let C=function(e,t,n,i,o,s){var l=(0,w.A)(e),u=(0,w.A)(t),c=l?E:(0,v.A)(e),d=u?E:(0,v.A)(t);c=c==k?A:c,d=d==k?A:d;var f=c==A,h=d==A,p=c==d;if(p&&(0,_.A)(e)){if(!(0,_.A)(t))return!1;l=!0,f=!1}if(p&&!f)return s||(s=new r.A),l||(0,x.A)(e)?a(e,t,n,i,o,s):g(e,t,c,n,i,o,s);if(!(1&n)){var m=f&&S.call(e,"__wrapped__"),y=h&&S.call(t,"__wrapped__");
3if(m||y){var C=m?e.value():e,I=y?t.value():t;return s||(s=new r.A),o(C,I,n,i,s)}}return!!p&&(s||(s=new r.A),b(e,t,n,i,o,s))};var I=n(11331);let T=function e(t,n,r,i,o){return t===n||(null!=t&&null!=n&&((0,I.A)(t)||(0,I.A)(n))?C(t,n,r,i,e,o):t!=t&&n!=n)}},3175:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(113),i=n(63e3),o=n(14875),s=n(64536),a=i.A?i.A.isConcatSpreadable:void 0;let l=function(e){return(0,s.A)(e)||(0,o.A)(e)||!!(a&&e&&e[a])},u=function e(t,n,i,o,s){var a=-1,u=t.length;for(i||(i=l),s||(s=[]);++a<u;){var c=t[a];n>0&&i(c)?n>1?e(c,n-1,i,o,s):(0,r.A)(s,c):o||(s[s.length]=c)}return s}},3177:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(82192);function i(e,t){return(0,r.k)(e,{...t,weekStartsOn:1})}},3254:(e,t,n)=>{"use strict";function r(e){let t=(e.styles??[]).map(e=>({...e,value:e.name})),n=[];if(e.block?.fields)for(let t of e.block.fields){if("_type"===t.name||"_key"===t.name||"children"===t.name||"markDefs"===t.name||"style"===t.name||"listItem"===t.name||"level"===t.name){console.warn(`"${t.name}" is a reserved field name on Portable Text blocks`);continue}n.push(t)}return{block:{name:e.block?.name??"block",...n.length>0?{fields:n}:{}},span:{name:"span"},styles:t.some(e=>"normal"===e.value)?t:[{value:"normal",name:"normal",title:"Normal"},...t],lists:(e.lists??[]).map(e=>({...e,value:e.name})),decorators:(e.decorators??[]).map(e=>({...e,value:e.name})),annotations:(e.annotations??[]).map(e=>({...e,fields:e.fields??[]})),blockObjects:(e.blockObjects??[]).map(e=>({...e,fields:e.fields??[]})),inlineObjects:(e.inlineObjects??[]).map(e=>({...e,fields:e.fields??[]}))}}function i(e){return e}function o(e){var t;return!!(t=e)&&("object"==typeof t||"function"==typeof t)&&"string"==typeof e._type}function s(e,t){return!(!o(t)||t._type!==e.schema.block.name||!Array.isArray(t.children))}function a(e,t){return!(!o(t)||t._type!==e.schema.span.name||"string"!=typeof t.text)}n.d(t,{Fc:()=>r,Jo:()=>i,bl:()=>a,zS:()=>s})},3283:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>_,H7:()=>l,Hj:()=>x,J8:()=>i,Jo:()=>g,Kk:()=>y,OL:()=>C,RJ:()=>T,SV:()=>v,WV:()=>u,XE:()=>c,_Q:()=>m,aR:()=>p,eX:()=>a,fr:()=>A,iL:()=>h,lV:()=>E,m4:()=>f,qX:()=>d,rT:()=>w,u3:()=>o,wE:()=>s,wr:()=>k});var r=n(3254);function i({context:e,block:t}){if((0,r.zS)(e,t.node)){let n=t.node.children[t.node.children.length-1];if(n)return{path:[...t.path,"children",{_key:n._key}],offset:(0,r.bl)(e,n)?n.text.length:0}}return{path:t.path,offset:0}}function o({context:e,block:t}){if((0,r.zS)(e,t.node)){let e=t.node.children[0];return{path:[...t.path,"children",{_key:e?._key??""}],offset:0}}return{path:t.path,offset:0}}function s(e){return"object"==typeof e&&null!==e&&"_key"in e}function a(e,t){return e===t||void 0!==e&&void 0!==t&&(("string"==typeof e||"number"==typeof e)&&("string"==typeof t||"number"==typeof t)?e===t:s(e)&&s(t)?e._key===t._key:!!(Array.isArray(e)&&Array.isArray(t))&&e[0]===t[0]&&e[1]===t[1])}function l(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!a(e[n],t[n]))return!1;return!0}function u(e){return!!e&&l(e.anchor.path,e.focus.path)&&e.anchor.offset===e.focus.offset}function c(e){let t=e.path.at(0);if(s(t))return t._key}function d(e){let t=e.path.at(2);if(s(t))return t._key}function f({context:e,blockOffset:t,direction:n}){let i=t.offset,o,s=!1;for(let a of e.value)if(a._key===t.path[0]._key&&(0,r.zS)(e,a))for(let l of a.children){if("forward"===n){if(!(0,r.bl)(e,l))continue;if(i<=l.text.length){o={path:[...t.path,"children",{_key:l._key}],offset:i};break}i-=l.text.length;continue}if(!(0,r.bl)(e,l)){s=!0;continue}if(0===i&&o&&!s){s&&(o={path:[...t.path,"children",{_key:l._key}],offset:0});break}if(i>l.text.length){i-=l.text.length;continue}if(i<=l.text.length&&(o={path:[...t.path,"children",{_key:l._key}],offset:i},0!=(i-=l.text.length)))break}return o}function h({context:e,selectionPoint:t}){let n=0,i=c(t),o=d(t);if(!(!i||!o)){for(let s of e.value)if(s._key===i&&(0,r.zS)(e,s)){for(let i of s.children)if((0,r.bl)(e,i)){if(i._key===o)return{path:[{_key:s._key}],offset:n+t.offset};n+=i.text.length}}}}
3function p(e){return e?e.backward?e.anchor:e.focus:null}function g(e){return e?e.backward?e.focus:e.anchor:null}function m(e,t){return e.offset===t.offset&&l(e.path,t.path)}function y(e){return b(e)&&"string"==typeof e._type}function b(e){return!!e&&("object"==typeof e||"function"==typeof e)}function v({context:e,blocks:t,options:n}){return Array.isArray(t)?t.flatMap(t=>{let r=w({context:e,block:t,options:n});return r?[r]:[]}):[]}function w({context:e,block:t,options:n}){return function({block:e,context:t,options:n}){if(!y(e))return;let i={};for(let r of Object.keys(e))"_type"===r||"_key"===r||"children"===r||"markDefs"===r||"style"===r||"listItem"===r||"level"===r||(n.validateFields?t.schema.block.fields?.some(e=>e.name===r)&&(i[r]=e[r]):i[r]=e[r]);if(e._type!==t.schema.block.name)return;let o="string"==typeof e._key?e._key:t.keyGenerator(),{markDefs:s,markDefKeyMap:a}=x({context:t,markDefs:e.markDefs,options:n}),l=(Array.isArray(e.children)?e.children:[]).map(e=>(function({child:e,context:t,markDefKeyMap:n,options:r}){return k({span:e,context:t,markDefKeyMap:n,options:r})??E({inlineObject:e,context:t,options:r})})({child:e,context:t,markDefKeyMap:a,options:n})).filter(e=>void 0!==e),u=l.flatMap(e=>e.marks??[]),c=l.length>0?l:[{_key:t.keyGenerator(),_type:t.schema.span.name,text:"",marks:[]}],d=n.normalize?c.reduce((e,n,i)=>{if((0,r.bl)(t,n))return[...e,n];let o=e.at(-1);return o&&(0,r.bl)(t,o)?[...e,n]:[...e,{_key:t.keyGenerator(),_type:t.schema.span.name,text:"",marks:[]},n,...i===c.length-1?[{_key:t.keyGenerator(),_type:t.schema.span.name,text:"",marks:[]}]:[]]},[]):c,f={_type:t.schema.block.name,_key:o,children:d,...i};return"object"==typeof e.markDefs&&null!==e.markDefs&&(f.markDefs=n.removeUnusedMarkDefs?s.filter(e=>u.includes(e._key)):s),"string"==typeof e.style&&t.schema.styles.find(t=>t.name===e.style)&&(f.style=e.style),"string"==typeof e.listItem&&t.schema.lists.find(t=>t.name===e.listItem)&&(f.listItem=e.listItem),"number"==typeof e.level&&(f.level=e.level),f}({block:t,context:e,options:n})??function({blockObject:e,context:t,options:n}){if(!y(e))return;let r=t.schema.blockObjects.find(({name:t})=>t===e._type);if(r)return S({object:e,context:{keyGenerator:t.keyGenerator,schemaType:r},options:n})}({blockObject:t,context:e,options:n})}function _(e,t){return(0,r.zS)(e,t)&&void 0!==t.level&&void 0!==t.listItem}function x({context:e,markDefs:t,options:n}){let r=Array.isArray(t)?t:[],i=new Map;return{markDefs:r.flatMap(t=>{if(!y(t))return[];let r=e.schema.annotations.find(({name:e})=>e===t._type);if(!r||"string"!=typeof t._key)return[];let o=S({object:t,context:{schemaType:r,keyGenerator:e.keyGenerator},options:n});return o?(i.set(t._key,o._key),[o]):[]}),markDefKeyMap:i}}function k({span:e,context:t,markDefKeyMap:n,options:r}){if(!b(e))return;let i={};for(let t of Object.keys(e))"_type"!==t&&"_key"!==t&&"text"!==t&&"marks"!==t&&(i[t]=e[t]);let o=(Array.isArray(e.marks)?e.marks:[]).flatMap(e=>{if("string"!=typeof e)return[];let r=n.get(e);return void 0!==r?[r]:t.schema.decorators.some(t=>t.name===e)?[e]:[]});if("string"!=typeof e._type||e._type===t.schema.span.name)return"string"!=typeof e._type?"string"==typeof e.text?{_type:t.schema.span.name,_key:"string"==typeof e._key?e._key:t.keyGenerator(),text:e.text,marks:o,...r.validateFields?{}:i}:void 0:{_type:t.schema.span.name,_key:"string"==typeof e._key?e._key:t.keyGenerator(),text:"string"==typeof e.text?e.text:"",marks:o,...r.validateFields?{}:i}}function E({inlineObject:e,context:t,options:n}){if(!y(e))return;let r=t.schema.inlineObjects.find(({name:t})=>t===e._type);if(r)return S({object:e,context:{keyGenerator:t.keyGenerator,schemaType:r},options:n})}function A({annotation:e,context:t,options:n}){if(!y(e))return;let r=t.schema.annotations.find(({name:t})=>t===e._type);if(r)return S({object:e,context:{keyGenerator:t.keyGenerator,schemaType:r},options:n})}function S({object:e,context:t,options:n}){let{_type:r,_key:i,...o}=e,s=n.validateFields?t.schemaType.fields.reduce((t,n)=>{let r=e[n.name];return void 0!==r&&(t[n.name]=r),t},{}):o;return{_type:t.schemaType.name,_key:"string"==typeof e._key?e._key:t.keyGenerator(),...s}}let C=()=>(function(e){let t=I();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,n)=>e+t[n],"").slice(0,e)})(12),I=(()=>{let e;return()=>{if(e)return e;e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).slice(1);return e}})();function T({context:e,blocks:t}){let n,i,o=[];if(!e.selection)return o;let s=[],a=g(e.selection),l=p(e.selection),u=c(a),f=d(a),h=c(l),m=d(l);if(!u||!h)return o;for(let o of t){if(!(0,r.zS)(e,o)&&o._key===u&&o._key===h){n=o;break}if(o._key===u){if(!(0,r.zS)(e,o)){n=o;continue}if(f){for(let t of o.children){if(t._key===f){if((0,r.bl)(e,t)){let e=t._key===m?t.text.slice(a.offset,l.offset):t.text.slice(a.offset);n={...o,children:[{...t,text:e}]}}else n={...o,children:[t]};if(o._key===h&&f===m)break;continue}
3if(n&&(0,r.zS)(e,n)&&(m&&t._key===m&&(0,r.bl)(e,t)?n.children.push({...t,text:t.text.slice(0,l.offset)}):n.children.push(t),o._key===h&&m&&t._key===m))break}if(u===h)break;continue}if(n=o,u===h)break}if(o._key===h){if(!(0,r.zS)(e,o)){i=o;break}if(m){for(let t of(i={...o,children:[]},o.children))if(i&&(0,r.zS)(e,i)){if(t._key===m&&(0,r.bl)(e,t)){i.children.push({...t,text:t.text.slice(0,l.offset)});break}if(i.children.push(t),m&&t._key===m)break}break}i=o;break}n&&s.push(w({context:{schema:e.schema,keyGenerator:e.keyGenerator??C},block:o,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}})??o)}let y=n?w({context:{schema:e.schema,keyGenerator:e.keyGenerator??C},block:n,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}}):void 0,b=i?w({context:{schema:e.schema,keyGenerator:e.keyGenerator??C},block:i,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}}):void 0;return[...y?[y]:[],...s,...b?[b]:[]]}},3472:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(46778),i=n(92729),o=r.A?function(e,t){return(0,r.A)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:i.A,s=Date.now;let a=function(e){var t=0,n=0;return function(){var r=s(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(o)},3516:(e,t,n)=>{"use strict";n.d(t,{N:()=>l});var r=n(31536),i=n(8286),o=n(96948),s=n(45037),a={connector:function(){return new r.B}};function l(e,t){void 0===t&&(t=a);var n=t.connector;return(0,o.N)(function(t,r){var o=n();(0,i.Tg)(e(new s.c(function(e){return o.subscribe(e)}))).subscribe(r),r.add(t.subscribe(o))})}},3518:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(113),i=n(79614),o=n(30329),s=n(17896);let a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,r.A)(t,(0,o.A)(e)),e=(0,i.A)(e);return t}:s.A},3679:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92729),i=n(25844),o=n(3472);let s=function(e,t){return(0,o.A)((0,i.A)(e,t,r.A),e+"")}},4159:(e,t,n)=>{"use strict";n.d(t,{Wm:()=>l,Yr:()=>c,hZ:()=>d,jo:()=>u,wC:()=>f,yl:()=>a});var r=n(37121);let i="before",o="after";function s(...e){return e.reduce((e,t)=>e.concat(t),[])}function a(e,t){return t.reduce(function e(t,n){var a;return Array.isArray(t)?function(t,n){let r=t.slice();if(0===n.path.length){if("setIfMissing"===n.type){if(!Array.isArray(n.value))throw Error("Cannot set value of an array to a non-array");return void 0===t?n.value:t}if("set"===n.type){if(!Array.isArray(n.value))throw Error("Cannot set value of an array to a non-array");return n.value}if("unset"===n.type)return;throw Error(`Invalid array operation: ${n.type}`)}let[a,...l]=n.path,u=function(e,t){if("number"==typeof t)return t;if("object"==typeof t&&null!==t&&"_key"in t){let n=e.findIndex(e=>e._key===t._key);return -1!==n&&n}return!1}(t,a);if(!1===u)return r;if(0===l.length){if("insert"===n.type){let{position:e,items:r}=n;return function(e,t,n,...r){if(t!==i&&t!==o)throw Error(`Invalid position "${t}", must be either ${i} or ${o}`);let a=s(...r);if(0===e.length)return a;let l=e.length,u=Math.abs((l+n)%l)%l,c=e.slice();return c.splice("after"===t?u+1:u,0,...s(a)),c}(t,e,u,r)}else if("unset"===n.type){if("number"!=typeof u)throw Error(`Expected array index to be a number, instead got "${u}"`);return r.splice(u,1),r}}return r[u]=e(r[u],{...n,path:l}),r}(t,n):"string"==typeof t?function(e,t){if(t.path.length>0)throw Error(`Cannot apply deep operations on string values. Received patch with type "${t.type}" and path "${t.path.join(".")} that targeted the value "${JSON.stringify(e)}"`);if("diffMatchPatch"===t.type){let[n]=(0,r.$i)((0,r.iz)(t.value),e,{allowExceedingIndices:!0});return n}if("setIfMissing"===t.type)return void 0===e?t.value:e;if("set"===t.type)return t.value;if("unset"!==t.type)throw Error(`Received patch of unsupported type: "${JSON.stringify(t.type)}" for string. This is most likely a bug.`)}(t,n):"object"!=typeof(a=t)||null===a||Array.isArray(a)?"number"==typeof t?function(e,t){if(t.path.length>0)throw Error(`Cannot apply deep operations on primitive values. Received patch with type "${t.type}" and path "${t.path.map(e=>JSON.stringify(e)).join(".")} that targeted the value "${JSON.stringify(e)}"`);if("set"===t.type)return t.value;if("setIfMissing"===t.type)return void 0===e?t.value:e;if("unset"!==t.type){if("inc"===t.type){if("number"!=typeof t.value)throw Error("Cannot increment with a non-number");return e+t.value}if("dec"===t.type){if("number"!=typeof t.value)throw Error("Cannot decrement with a non-number");return e-t.value}throw Error(`Received patch of unsupported type: "${JSON.stringify(t.type)}" for number. This is most likely a bug.`)}}(t,n):function(e,t){if(t.path.length>0)throw Error(`Cannot apply deep operations on primitive values. Received patch with type "${t.type}" and path "${t.path.map(e=>JSON.stringify(e)).join(".")} that targeted the value "${JSON.stringify(e)}"`);if("set"===t.type)return t.value;if("setIfMissing"===t.type)return void 0===e?t.value:e;if("unset"!==t.type)throw Error(`Received patch of unsupported type: "${JSON.stringify(t.type)}" for primitives. This is most likely a bug.`)}(t,n):function(t,n){let r={...t};if(0===n.path.length){if("set"===n.type){if("object"==typeof n.value&&null!==n.value&&!Array.isArray(n.value))return n.value;throw Error("Cannot set value of an object to a non-object")}if("setIfMissing"===n.type){if("object"==typeof n.value&&null!==n.value&&!Array.isArray(n.value))return t;throw Error("Cannot setIfMissing value of an object to a non-object")}if("unset"===n.type)return;throw Error(`Invalid object operation: ${n.type}`)}let[i,...o]=n.path;if("string"!=typeof i)throw Error(`Expected field name to be a string, instead got: ${i}`);if(0===o.length&&"unset"===n.type){let{[i]:e,...t}=r;return t}return(i in r||!(o.length>0))&&(r[i]=e(r[i],{...n,path:o})),r}(t,n)},e)}function l(e,t=[]){return{type:"setIfMissing",path:t,value:e}}function u(e,t,n=[]){let i=(0,r.jW)(e,t);return{type:"diffMatchPatch",path:n,value:(0,r.w1)(i)}}function c(e,t,n=[]){return{type:"insert",path:n,position:t,items:e}}function d(e,t=[]){return{type:"set",path:t,value:e}}function f(e=[]){return{type:"unset",path:e}}},4168:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(9180);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},4170:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(92118);function i(e,t){return(0,r.a)(e,null==t?void 0:t.in).getMinutes()}}
3,4202:(e,t,n)=>{"use strict";n.d(t,{Un:()=>l,cd:()=>s});var r=n(63056),i=n(39860),o=n(70469);function s(e){let t,n,s=(0,r.c)(4),l=(0,o.h)();return s[0]!==l||s[1]!==e.behaviors?(t=()=>{let t=e.behaviors.map(e=>l.registerBehavior({behavior:e}));return()=>{t.forEach(a)}},n=[l,e.behaviors],s[0]=l,s[1]=e.behaviors,s[2]=t,s[3]=n):(t=s[2],n=s[3]),(0,i.useEffect)(t,n),null}function a(e){e()}function l(e){let t,n,s=(0,r.c)(4),a=(0,o.h)();return s[0]!==a||s[1]!==e.on?(t=()=>{let t=a.on("*",e.on);return()=>{t.unsubscribe()}},n=[a,e.on],s[0]=a,s[1]=e.on,s[2]=t,s[3]=n):(t=s[2],n=s[3]),(0,i.useEffect)(t,n),null}i.forwardRef((e,t)=>{let n,s,a=(0,r.c)(2),l=(0,o.h)(),u=i.useRef(l);return a[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>u.current,s=[],a[0]=n,a[1]=s):(n=a[0],s=a[1]),i.useImperativeHandle(t,n,s),null}).displayName="EditorRefPlugin"},4573:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(62308).A.Uint8Array},4816:(e,t,n)=>{var r=n(66126);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},4831:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(75130),i=n(69271);let o=function(e,t){return e&&e.length?(0,i.A)(e,(0,r.A)(t,2)):[]}},5358:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(113),i=n(64536);let o=function(e,t,n){var o=t(e);return(0,i.A)(e)?o:(0,r.A)(o,n(e))}},5372:(e,t,n)=>{"use strict";n.d(t,{U:()=>d});var r=n(63056),i=n(70469),o=n(57433),s=n(74853),a=n(3254),l=n(84623),u=n(39860);let c=[(0,o.Ke)({on:"insert.break",guard:({snapshot:e})=>!!(e.context.selection&&s.gR(e))&&{selection:e.context.selection},actions:[(e,{selection:t})=>[(0,o.xl)({type:"delete",at:t})]]}),(0,o.Ke)({on:"insert.break",actions:[]}),(0,o.Ke)({on:"insert.block",guard:({event:e})=>"before"===e.placement||"after"===e.placement,actions:[]}),(0,o.Ke)({on:"insert.block",guard:({snapshot:e,event:t})=>!!s.hH(e)&&!!a.zS(e.context,t.block)&&("auto"!==t.placement||"end"!==t.select),actions:[({event:e})=>[(0,o.xl)({type:"insert.block",block:e.block,placement:"auto",select:"end"})]]}),(0,o.Ke)({on:"insert.block",guard:({snapshot:e,event:t})=>!s.hH(e)||!a.zS(e.context,t.block),actions:[]}),(0,o.Ke)({on:"insert.blocks",guard:({snapshot:e,event:t})=>{let n=t.blocks.filter(t=>a.zS(e.context,t));return 0!==n.length&&n.reduce((t,n)=>l.Y4({context:e.context,targetBlock:t,incomingBlock:n}))},actions:[(e,t)=>[(0,o.xl)({type:"insert.block",block:t,placement:"auto"})]]}),(0,o.Ke)({on:"insert.blocks",actions:[]})];function d(){let e,t,n=(0,r.c)(3),o=(0,i.h)();return n[0]!==o?(e=()=>{let e=c.map(e=>o.registerBehavior({behavior:e}));return()=>{for(let t of e)t()}},t=[o],n[0]=o,n[1]=e,n[2]=t):(e=n[1],t=n[2]),(0,u.useEffect)(e,t),null}},5553:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1407),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);let s=function(e){return(e=(0,r.A)(e))&&o.test(e)?e.replace(i,"\\$&"):e}},6407:(e,t,n)=>{var r=n(16815);e.exports=n(24567)(r)},6460:(e,t,n)=>{"use strict";n.d(t,{QG:()=>a,xj:()=>T});var r=n(74853),i=n(57348),o=n(9784),s=n(63056);function a(e){return({snapshot:t,event:n})=>{let i=e.decorators({context:{schema:t.context.schema}}),o=t.context.schema.decorators.flatMap(e=>i.includes(e.name)?[]:[e.name]);if(0===o.length)return!0;let s=n.matches.flatMap(e=>(0,r.l$)({...t,context:{...t.context,selection:e.selection}})),a=!1;for(let e of o)if((0,r.Y1)(e)(t)||s.some(t=>t.node.marks?.includes(e))){a=!0;break}return!a}}let l=(0,i.pE)({on:/--/,transform:()=>"â"}),u=(0,i.pE)({on:/\.\.\./,transform:()=>"â¦"}),c=(0,i.pE)({on:RegExp(`(?:^|(?<=[\\s{[(<'"\\u2018\\u201C]))"`,"g"),transform:()=>"â"}),d=(0,i.pE)({on:/"/g,transform:()=>"â"}),f=(0,i.pE)({on:RegExp(`(?:^|(?<=[\\s{[(<'"\\u2018\\u201C]))'`,"g"),transform:()=>"â"}),h=(0,i.pE)({on:/'/g,transform:()=>"â"}),p=(0,i.pE)({on:/<-/,transform:()=>"â"}),g=(0,i.pE)({on:/->/,transform:()=>"â"}),m=(0,i.pE)({on:/\(c\)/,transform:()=>"\xa9"}),y=(0,i.pE)({on:/\(sm\)/,transform:()=>"â "}),b=(0,i.pE)({on:/\(tm\)/,transform:()=>"â¢"}),v=(0,i.pE)({on:/\(r\)/,transform:()=>"\xae"}),w=(0,i.pE)({on:/(?:^|\s)(1\/2)\s/,transform:()=>"\xbd"}),_=(0,i.pE)({on:/\+\/-/,transform:()=>"\xb1"}),x=(0,i.pE)({on:/!=/,transform:()=>"â "}),k=(0,i.pE)({on:/<</,transform:()=>"\xab"}),E=(0,i.pE)({on:/>>/,transform:()=>"\xbb"}),A=(0,i.pE)({on:/\d+\s?([*x])\s?\d+/,transform:()=>"\xd7"}),S=(0,i.pE)({on:/\^2/,transform:()=>"\xb2"}),C=(0,i.pE)({on:/\^3/,transform:()=>"\xb3"}),I=[{name:"emDash",rule:l,state:"on"},{name:"ellipsis",rule:u,state:"on"},{name:"openingDoubleQuote",rule:c,state:"on"},{name:"closingDoubleQuote",rule:d,state:"on"},{name:"openingSingleQuote",rule:f,state:"on"},{name:"closingSingleQuote",rule:h,state:"on"},{name:"leftArrow",rule:p,state:"on"},{name:"rightArrow",rule:g,state:"on"},{name:"copyright",rule:m,state:"on"},{name:"trademark",rule:b,state:"on"},{name:"servicemark",rule:y,state:"on"},{name:"registeredTrademark",rule:v,state:"on"},{name:"oneHalf",rule:w,state:"off"},{name:"plusMinus",rule:_,state:"off"},{name:"laquo",rule:k,state:"off"},{name:"notEqual",rule:x,state:"off"},{name:"raquo",rule:E,state:"off"},{name:"multiplication",rule:A,state:"off"},{name:"superscriptTwo",rule:S,state:"off"},{name:"superscriptThree",rule:C,state:"off"},{name:"oneQuarter",rule:(0,i.pE)({on:/(?:^|\s)(1\/4)\s/,transform:()=>"\xbc"}),state:"off"},{name:"threeQuarters",rule:(0,i.pE)({on:/(?:^|\s)(3\/4)\s/,transform:()=>"\xbe"}),state:"off"}];
3function T(e){let t,n,r,a,l,u=(0,s.c)(13),{preset:c,enable:d,disable:f,guard:h}=e,p=void 0===c?"default":c;u[0]!==d?(t=void 0===d?[]:d,u[0]=d,u[1]=t):t=u[1];let g=t;u[2]!==f?(n=void 0===f?[]:f,u[2]=f,u[3]=n):n=u[3];let m=n;if(u[4]!==m||u[5]!==g||u[6]!==p){if(r=new Set,"all"===p)for(let e of I)r.add(e.name);else if("default"===p)for(let e of I)"on"===e.state&&r.add(e.name);for(let e of g)r.add(e);for(let e of m)r.delete(e);u[4]=m,u[5]=g,u[6]=p,u[7]=r}else r=u[7];u[8]!==r||u[9]!==h?(a=I.flatMap(e=>r.has(e.name)?[{...e.rule,guard:h??O}]:[]),u[8]=r,u[9]=h,u[10]=a):a=u[10];let y=a;return u[11]!==y?(l=(0,o.jsx)(i.wS,{rules:y}),u[11]=y,u[12]=l):l=u[12],l}function O(){return!0}},6502:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3175),i=n(13680),o=n(3679),s=n(49881);let a=(0,o.A)(function(e,t){if(null==e)return[];var n=t.length;return n>1&&(0,s.A)(e,t[0],t[1])?t=[]:n>2&&(0,s.A)(t[0],t[1],t[2])&&(t=[t[0]]),(0,i.A)(e,(0,r.A)(t,1),[])})},6563:(e,t,n)=>{"use strict";let r=n(240),i=n(52376),{ANY:o}=i,s=n(76353),a=n(16088),l=n(18252),u=n(81947),c=n(68226),d=n(67199);e.exports=(e,t,n,f)=>{let h,p,g,m,y;switch(e=new r(e,f),t=new s(t,f),n){case">":h=l,p=c,g=u,m=">",y=">=";break;case"<":h=u,p=d,g=l,m="<",y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,f))return!1;for(let n=0;n<t.set.length;++n){let r=t.set[n],s=null,a=null;if(r.forEach(e=>{e.semver===o&&(e=new i(">=0.0.0")),s=s||e,a=a||e,h(e.semver,s.semver,f)?s=e:g(e.semver,a.semver,f)&&(a=e)}),s.operator===m||s.operator===y||(!a.operator||a.operator===m)&&p(e,a.semver)||a.operator===y&&g(e,a.semver))return!1}return!0}},6745:(e,t,n)=>{var r=n(70300);e.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},6915:(e,t,n)=>{"use strict";n.d(t,{H7:()=>m,K8:()=>u,qv:()=>g,u:()=>p});var r=n(27627),i=n(83696),o=n(56819),s=n(30391),a=n(94181),l=n(21408);function u(e,t){let n=d(e,t),r={type:function(e){let t=e&&e.name;return!t&&h(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:h(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function c(e,t){return{exception:{values:[u(e,t)]}}}function d(e,t){var n,r;let i=t.stacktrace||t.stack||"",o=(n=t)&&f.test(n.message)?1:0,s="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,o,s)}catch(e){}return[]}let f=/Minified React error #\d+;/i;function h(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function p(e,t,n,r){let i=m(e,t,n&&n.syntheticException||void 0,r);return(0,s.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,a.XW)(i)}function g(e,t,n="info",r,i){let o=y(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,a.XW)(o)}function m(e,t,n,a,f){let h;if((0,o.T2)(t)&&t.error)return c(e,t.error);if((0,o.BD)(t)||(0,o.W6)(t)){if("stack"in t)h=c(e,t);else{let r=t.name||((0,o.BD)(t)?"DOMError":"DOMException"),i=t.message?`${r}: ${t.message}`:r;h=y(e,i,n,a),(0,s.gO)(h,i)}return"code"in t&&(h.tags={...h.tags,"DOMException.code":`${t.code}`}),h}return(0,o.bJ)(t)?c(e,t):((0,o.Qd)(t)||(0,o.xH)(t)?h=function(e,t,n,s){let a=(0,r.KU)(),c=a&&a.getOptions().normalizeDepth,f=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),h={__serialized__:(0,i.cd)(t,c)};if(f)return{exception:{values:[u(e,f)]},extra:h};let p={exception:{values:[{type:(0,o.xH)(t)?t.constructor.name:s?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,l.HF)(e),r=t?"promise rejection":"exception";if((0,o.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,o.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:s})}]},extra:h};if(n){let t=d(e,n);t.length&&(p.exception.values[0].stacktrace={frames:t})}return p}(e,t,n,f):(h=y(e,t,n,a),(0,s.gO)(h,`${t}`,void 0)),(0,s.M6)(h,{synthetic:!0}),h)}function y(e,t,n,r){let i={};if(r&&n){let r=d(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,s.M6)(i,{synthetic:!0})}
3if((0,o.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}},7262:(e,t,n)=>{"use strict";let r;n.d(t,{RM:()=>M});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));let a=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();var a=e,l=n;let u=(a=a||{}).random??a.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)}();if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((l=l||0)<0||l+16>t.length)throw RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[l+e]=u[e];return t}return function(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}(u)};var l=n(40609),u=n(90848),c=n(26035),d=n(46674),f=n(24933),h=n(78242),p=n(34438),g=n(63704),m=n(89577),y=n(42764),b=n(71450),v=n(96948),w=n(28400),_=n(12668),x=n(54560),k=n(16433),E=n(47211),A=n(43279);let S=e=>({context:t})=>{let{count:n,include:r,exclude:i,responseType:o="message.received"}=e;return{count:n,domain:t.domain,from:t.connectTo,include:r?Array.isArray(r)?r:[r]:[],exclude:i?Array.isArray(i)?i:[i]:[],responseType:o,target:t.target,to:t.name}},C=(0,h.v)(()=>(0,p.R)(window,"message")),I="comlink/response",T="comlink/heartbeat",O="comlink/disconnect",R="comlink/handshake/syn",D="comlink/handshake/ack";(0,l.SP)(({sendBack:e,input:t})=>{let n=()=>{e(t.event)};t.immediate&&n();let r=setInterval(n,t.interval);return()=>{clearInterval(r)}});let j=()=>(0,u.mj)({types:{},actors:{requestMachine:(0,u.mj)({types:{},actors:{listen:(0,l.OX)(({input:e})=>{let t,n=e.signal?(0,p.R)(e.signal,"abort").pipe((t=`Request ${e.requestId} aborted`,e=>e.pipe((0,k.s)(1),(0,g.T)(()=>{throw Error(t)})))):E.w;return(0,p.R)(window,"message").pipe((0,y.p)(t=>t.data?.type===I&&t.data?.responseTo===e.requestId&&!!t.source&&e.sources.has(t.source)),(0,k.s)(e.sources.size),(0,A.Q)(n))})},actions:{"send message":({context:e},t)=>{let{sources:n,targetOrigin:r}=e,{message:i}=t;n.forEach(e=>{e.postMessage(i,{targetOrigin:r})})},"on success":(0,c.s)(({context:e})=>e.parentRef,({context:e,self:t})=>(e.response&&e.resolvable?.resolve(e.response),{type:"request.success",requestId:t.id,response:e.response,responseTo:e.responseTo})),"on fail":(0,c.s)(({context:e})=>e.parentRef,({context:e,self:t})=>(e.suppressWarnings||console.warn(`[@sanity/comlink] Received no response to message '${e.type}' on client '${e.from}' (ID: '${e.id}').`),e.resolvable?.reject(Error("No response received")),{type:"request.failed",requestId:t.id})),"on abort":(0,c.s)(({context:e})=>e.parentRef,({context:e,self:t})=>(e.resolvable?.reject(Error("Request aborted")),{type:"request.aborted",requestId:t.id}))},guards:{expectsResponse:({context:e})=>e.expectResponse},delays:{initialTimeout:0,responseTimeout:({context:e})=>e.responseTimeout??3e3}}).createMachine({context:({input:e})=>({channelId:e.channelId,data:e.data,domain:e.domain,expectResponse:e.expectResponse??!1,from:e.from,id:`msg-${a()}`,parentRef:e.parentRef,resolvable:e.resolvable,response:null,responseTimeout:e.responseTimeout,responseTo:e.responseTo,signal:e.signal,sources:e.sources instanceof Set?e.sources:new Set([e.sources]),suppressWarnings:e.suppressWarnings,targetOrigin:e.targetOrigin,to:e.to,type:e.type}),initial:"idle",on:{abort:".aborted"},states:{idle:{after:{initialTimeout:[{target:"sending"}]}},sending:{entry:{type:"send message",params:({context:e})=>{let{channelId:t,data:n,domain:r,from:i,id:o,responseTo:s,to:a,type:l}=e;return{message:{channelId:t,data:n,domain:r,from:i,id:o,to:a,type:l,responseTo:s}}}},always:[{guard:"expectsResponse",target:"awaiting"},"success"]},awaiting:{invoke:{id:"listen for response",src:"listen",input:({context:e})=>({requestId:e.id,sources:e.sources,signal:e.signal}),onError:"aborted"},after:{responseTimeout:"failed"},on:{message:{actions:(0,d.a)({response:({event:e})=>e.data.data,responseTo:({event:e})=>e.data.responseTo}),target:"success"}}},failed:{type:"final",entry:"on fail"},success:{type:"final",entry:"on success"},aborted:{type:"final",entry:"on abort"}},output:({context:e,self:t})=>({requestId:t.id,response:e.response,responseTo:e.responseTo})}),listen:(e=>(0,l.OX)(({input:t})=>{let n;return C.pipe(e?(0,g.T)(e):(0,m.F)(),(0,y.p)((e=>t=>{let{data:n}=t;
3return(!e.include.length||e.include.includes(n.type))&&(!e.exclude.length||!e.exclude.includes(n.type))&&n.domain===e.domain&&n.from===e.from&&n.to===e.to&&(!e.target||t.source===e.target)})(t)),(0,g.T)((n=t.responseType,e=>({type:n,message:e}))),t.count?(0,m.F)(function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,(0,v.N)(function(n,r){var i=[],o=0;n.subscribe((0,w._)(r,function(n){var s,a,l,u,c=null;o++%t==0&&i.push([]);try{for(var d=(0,b.Ju)(i),f=d.next();!f.done;f=d.next()){var h=f.value;h.push(n),e<=h.length&&(c=null!=c?c:[]).push(h)}}catch(e){s={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(s)throw s.error}}if(c)try{for(var p=(0,b.Ju)(c),g=p.next();!g.done;g=p.next()){var h=g.value;(0,_.o)(i,h),r.next(h)}}catch(e){l={error:e}}finally{try{g&&!g.done&&(u=p.return)&&u.call(p)}finally{if(l)throw l.error}}},function(){var e,t;try{for(var n=(0,b.Ju)(i),o=n.next();!o.done;o=n.next()){var s=o.value;r.next(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}r.complete()},void 0,function(){i=null}))})}(t.count),(0,x.H)(e=>e),(0,k.s)(t.count)):(0,m.F)())}))()},actions:{"buffer handshake":(0,d.a)({handshakeBuffer:({event:e,context:t})=>((0,u.DT)(e,"message.received"),[...t.handshakeBuffer,e])}),"buffer message":(0,c.e)(({enqueue:e})=>{e.assign({buffer:({event:e,context:t})=>((0,u.DT)(e,"post"),[...t.buffer,{data:e.data,resolvable:e.resolvable,options:e.options}])}),e.emit(({event:e})=>((0,u.DT)(e,"post"),{type:"buffer.added",message:e.data}))}),"create request":(0,d.a)({requests:({context:e,event:t,self:n,spawn:r})=>{(0,u.DT)(t,"request");let i=(Array.isArray(t.data)?t.data:[t.data]).map(t=>r("requestMachine",{id:`req-${a()}`,input:{channelId:e.channelId,data:t.data,domain:e.domain,expectResponse:t.expectResponse,from:e.name,parentRef:n,resolvable:t.resolvable,responseTimeout:t.options?.responseTimeout,responseTo:t.responseTo,signal:t.options?.signal,sources:e.target,suppressWarnings:t.options?.suppressWarnings,targetOrigin:e.targetOrigin,to:e.connectTo,type:t.type}}));return[...e.requests,...i]}}),"emit heartbeat":(0,c.a)(()=>({type:"heartbeat"})),"emit received message":(0,c.e)(({enqueue:e})=>{e.emit(({event:e})=>((0,u.DT)(e,"message.received"),{type:"message",message:e.message.data}))}),"emit status":(0,c.a)((e,t)=>({type:"status",status:t.status})),"post message":(0,f.r)(({event:e})=>((0,u.DT)(e,"post"),{type:"request",data:{data:e.data.data,expectResponse:!!e.resolvable,type:e.data.type,resolvable:e.resolvable,options:e.options}})),"process pending handshakes":(0,c.e)(({context:e,enqueue:t})=>{e.handshakeBuffer.forEach(e=>t.raise(e)),t.assign({handshakeBuffer:[]})}),"remove request":(0,c.e)(({context:e,enqueue:t,event:n})=>{(0,u.DT)(n,["request.success","request.failed","request.aborted"]),(0,f.s)(n.requestId),t.assign({requests:e.requests.filter(({id:e})=>e!==n.requestId)})}),"send response":(0,f.r)(({event:e})=>((0,u.DT)(e,["message.received","heartbeat.received"]),{type:"request",data:{type:I,responseTo:e.message.data.id,data:void 0}})),"send handshake syn ack":(0,f.r)({type:"request",data:{type:"comlink/handshake/syn-ack"}}),"send pending messages":(0,c.e)(({enqueue:e})=>{e.raise(({context:e})=>({type:"request",data:e.buffer.map(({data:e,resolvable:t,options:n})=>({data:e.data,type:e.type,expectResponse:!!t,resolvable:t,options:n}))})),e.emit(({context:e})=>({type:"buffer.flushed",messages:e.buffer.map(({data:e})=>e)})),e.assign({buffer:[]})}),"set connection config":(0,d.a)({channelId:({event:e})=>((0,u.DT)(e,"handshake.syn"),e.message.data.channelId),target:({event:e})=>((0,u.DT)(e,"handshake.syn"),e.message.source||void 0),targetOrigin:({event:e})=>((0,u.DT)(e,"handshake.syn"),e.message.origin)})},guards:{hasSource:({context:e})=>null!==e.target}}).createMachine({id:"node",context:({input:e})=>({buffer:[],channelId:null,connectTo:e.connectTo,domain:e.domain??"sanity/comlink",handshakeBuffer:[],name:e.name,requests:[],target:void 0,targetOrigin:null}),invoke:{id:"listen for handshake syn",src:"listen",input:S({include:R,responseType:"handshake.syn"})},on:{"request.success":{actions:"remove request"},"request.failed":{actions:"remove request"},"request.aborted":{actions:"remove request"},"handshake.syn":{actions:"set connection config",target:".handshaking"}}
3,initial:"idle",states:{idle:{entry:[{type:"emit status",params:{status:"idle"}}],on:{post:{actions:"buffer message"}}},handshaking:{guard:"hasSource",entry:["send handshake syn ack",{type:"emit status",params:{status:"handshaking"}}],invoke:[{id:"listen for handshake ack",src:"listen",input:S({include:D,count:1,responseType:"handshake.complete"}),onDone:"connected"},{id:"listen for disconnect",src:"listen",input:S({include:O,count:1,responseType:"disconnect"})},{id:"listen for messages",src:"listen",input:S({exclude:[O,R,D,T,I]})}],on:{request:{actions:"create request"},post:{actions:"buffer message"},"message.received":{actions:"buffer handshake"},disconnect:{target:"idle"}}},connected:{entry:["process pending handshakes","send pending messages",{type:"emit status",params:{status:"connected"}}],invoke:[{id:"listen for messages",src:"listen",input:S({exclude:[O,R,D,T,I]})},{id:"listen for heartbeat",src:"listen",input:S({include:T,responseType:"heartbeat.received"})},{id:"listen for disconnect",src:"listen",input:S({include:O,count:1,responseType:"disconnect"})}],on:{request:{actions:"create request"},post:{actions:"post message"},disconnect:{target:"idle"},"message.received":{actions:["send response","emit received message"]},"heartbeat.received":{actions:["send response","emit heartbeat"]}}}}}),M=(e,t=j())=>{let n,r=(0,f.c)(t,{input:e}),i=new Map,o=new Map;r.on("message",({message:e})=>{let t=i.get(e.type);if(t)return void t.forEach(t=>t(e.data));let n=o.get(e.type);n?n.add(e):o.set(e.type,new Set([e]))});let s=()=>{r.stop()};return{actor:r,fetch:(e,t,n)=>{let{responseTimeout:i=1e4,signal:o,suppressWarnings:s}=n||{},a=function(){let e,t;return"function"==typeof Promise.withResolvers?Promise.withResolvers():{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}();return r.send({type:"post",data:{type:e,data:t},resolvable:a,options:{responseTimeout:i,signal:o,suppressWarnings:s}}),a.promise},machine:t,on:(e,t,n)=>{let r=i.get(e)||new Set;i.has(e)||i.set(e,r),r.add(t);let s=o.get(e);if(s){let r=n?.replay??1;Array.from(s).slice(-r).forEach(({data:e})=>t(e)),o.delete(e)}return()=>{r.delete(t)}},onStatus:(e,t)=>{let i=r.on("status",r=>{n=r.status,t&&r.status!==t||e(r.status)});return n&&e(n),()=>i.unsubscribe()},post:(e,t)=>{r.send({type:"post",data:{type:e,data:t}})},start:()=>(r.start(),s),stop:s}}},7291:(e,t,n)=>{var r=n(69079),i=n(15834),o=n(29101);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},7603:(e,t,n)=>{var r=n(92638).ExifReader;e.exports=function(e){var t=new r;t.load(e);var n=t.getAllTags(),i={};for(var o in n)i[o.replace(/([A-Z][a-z])|([a-z][A-Z])|([A-Z])/g,function(e){return 1==e.length?e.toLowerCase():e[0]==e[0].toUpperCase()?" "+e.toLowerCase():e[0]+" "+e[1].toLowerCase()}).replace(/^\s+|\s+$/g,"")]=n[o].description;return i}},7622:(e,t,n)=>{"use strict";n.d(t,{FE:()=>f});var r=n(71179);let i=["http","https","mailto","tel"],o={"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#x27"};function s(e){return e.replace(/[&<>"']/g,e=>`&${o[e]};`).replace(/ {2,}/g,e=>`${" ".repeat(e.length-1)} `)}let a=(e,t)=>`Unknown ${e}, specify a component for it in the \`components.${t}\` option`,l=e=>a(`block type "${e}"`,"types");function u(e){console.warn(e)}let c={types:{},block:{normal:({children:e})=>`<p>${e}</p>`,blockquote:({children:e})=>`<blockquote>${e}</blockquote>`,h1:({children:e})=>`<h1>${e}</h1>`,h2:({children:e})=>`<h2>${e}</h2>`,h3:({children:e})=>`<h3>${e}</h3>`,h4:({children:e})=>`<h4>${e}</h4>`,h5:({children:e})=>`<h5>${e}</h5>`,h6:({children:e})=>`<h6>${e}</h6>`},marks:{em:({children:e})=>`<em>${e}</em>`,strong:({children:e})=>`<strong>${e}</strong>`,code:({children:e})=>`<code>${e}</code>`,underline:({children:e})=>`<span style="text-decoration:underline">${e}</span>`,"strike-through":({children:e})=>`<del>${e}</del>`,link:({children:e,value:t})=>{let n=t?.href||"";return!function(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return!0;let r=t.indexOf(":");if(-1===r)return!0;let o=t.slice(0,r).toLowerCase();if(-1!==i.indexOf(o))return!0;let s=t.indexOf("?");if(-1!==s&&r>s)return!0;let a=t.indexOf("#");return -1!==a&&r>a}(n)?e:`<a href="${s(n)}">${e}</a>`}},list:{number:({children:e})=>`<ol>${e}</ol>`,bullet:({children:e})=>`<ul>${e}</ul>`},listItem:({children:e})=>`<li>${e}</li>`,hardBreak:()=>"<br/>",escapeHTML:s,unknownType:({value:e,isInline:t})=>{let n=l(e._type);return t?`<span style="display:none">${n}</span>`:`<div style="display:none">${n}</div>`},unknownMark:({markType:e,children:t})=>`<span class="unknown__pt__mark__${e}">${t}</span>`,unknownList:({children:e})=>`<ul>${e}</ul>`,unknownListItem:({children:e})=>`<li>${e}</li>`,unknownBlockStyle:({children:e})=>`<p>${e}</p>`};function d(e,t,n){let r=t[n],i=e[n];return"function"==typeof r?r:r?"function"==typeof i?r:{...i,...r}:i}function f(e,t={}){let{components:n,onMissingComponent:i=u}=t,o=(0,r.iS)(Array.isArray(e)?e:[e],"html"),s=h(n?function(e,t){let{block:n,list:r,listItem:i,marks:o,types:s,...a}=t;return{...e,block:d(e,t,"block"),list:d(e,t,"list"),listItem:d(e,t,"listItem"),marks:d(e,t,"marks"),types:d(e,t,"types"),...a}}(c,n):c,i||g);return o.map((e,t)=>s({node:e,index:t,isInline:!1,renderNode:s})).join("")}let h=(e,t)=>function n(i){var o,s,u;
3let c,{node:d,index:f,isInline:h}=i;return(0,r.zp)(d)?function(r,i){let o=r.children.map((e,t)=>n({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1,renderNode:n})),s=e.list,l=("function"==typeof s?s:s[r.listItem])||e.unknownList;if(l===e.unknownList){let e=r.listItem||"bullet";t(a(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return l({value:r,index:i,isInline:!1,renderNode:n,children:o.join("")})}(d,f):(0,r.n2)(d)?function(r,i){let o=p({node:r,index:i,isInline:!1,renderNode:n}),s=e.listItem,l=("function"==typeof s?s:s[r.listItem])||e.unknownListItem;if(l===e.unknownListItem){let e=r.listItem||"bullet";t(a(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let u=o.children;if(r.style&&"normal"!==r.style){let{listItem:e,...t}=r;u=n({node:t,index:i,isInline:!1,renderNode:n})}return l({value:r,index:i,isInline:!1,renderNode:n,children:u})}(d,f):(0,r.tO)(d)?function(i){let{markDef:o,markType:s,markKey:l}=i,u=e.marks[s]||e.unknownMark,c=i.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return u===e.unknownMark&&t(a(`mark type "${s}"`,"marks"),{nodeType:"mark",type:s}),u({text:(0,r.fg)(i),value:o,markType:s,markKey:l,renderNode:n,children:c.join("")})}(d):(0,r.IG)(d)?function(r,i,o){let{_key:s,...l}=p({node:r,index:i,isInline:o,renderNode:n}),u=l.node.style||"normal",c=("function"==typeof e.block?e.block:e.block[u])||e.unknownBlockStyle;return c===e.unknownBlockStyle&&t(a(`block style "${u}"`,"block"),{nodeType:"blockStyle",type:u}),c({...l,value:l.node,renderNode:n})}(d,f,h):(0,r.YA)(d)?function(t){if("\n"===t.text){let t=e.hardBreak;return t?t():"\n"}return e.escapeHTML(t.text)}(d):(o=d,s=f,u=h,(c=e.types[o._type])||t(l(o._type),{nodeType:"block",type:o._type}),(c||e.unknownType)({value:o,isInline:u,index:s,renderNode:n}))};function p(e){let{node:t,index:n,isInline:i,renderNode:o}=e,s=(0,r.Pq)(t).map((e,t)=>o({node:e,isInline:!0,index:t,renderNode:o}));return{_key:t._key||`block-${n}`,children:s.join(""),index:n,isInline:i,node:t}}function g(){}},7745:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},7818:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}},7966:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(45240),i=n(97263),o=n(16429),s=n(92118);function a(e,t,n){let[a,l,u]=(0,r.x)(null==n?void 0:n.in,e,e,t),c=(0,i.z)(l,u),d=Math.abs(function(e,t,n){let[i,o]=(0,r.x)(void 0,e,t);return 12*(i.getFullYear()-o.getFullYear())+(i.getMonth()-o.getMonth())}(l,u));if(d<1)return 0;1===l.getMonth()&&l.getDate()>27&&l.setDate(30),l.setMonth(l.getMonth()-c*d);let f=(0,i.z)(l,u)===-c;(function(e,t){let n=(0,s.a)(e,void 0);return+(0,o.D)(n,void 0)==+function(e,t){let n=(0,s.a)(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}(n,t)})(a)&&1===d&&1===(0,i.z)(a,u)&&(f=!1);let h=c*(d-f);return 0===h?0:h}},8082:(e,t,n)=>{var r=n(83642),i=n(98134),o=n(74633),s=n(31326),a=n(76462),l=n(29101),u=n(76917);e.exports=function(e,t){return s(e)&&a(t)?l(u(e),t):function(n){var s=i(n,e);return void 0===s&&s===t?o(n,e):r(t,s,3)}}},8286:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>g});var r=n(71450),i=n(82241),o=n(73694),s=n(45037),a=n(99455),l=n(74073),u=n(50933),c=n(45907),d=n(31590),f=n(39097),h=n(55180),p=n(60488);function g(e){if(e instanceof s.c)return e;if(null!=e){var t,n,g,y,b;if((0,a.l)(e)){return t=e,new s.c(function(e){var n=t[p.s]();if((0,f.T)(n.subscribe))return n.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if((0,i.X)(e)){return n=e,new s.c(function(e){for(var t=0;t<n.length&&!e.closed;t++)e.next(n[t]);e.complete()})}if((0,o.y)(e)){return g=e,new s.c(function(e){g.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,h.m)})}if((0,l.T)(e))return m(e);if((0,c.x)(e)){return y=e,new s.c(function(e){var t,n;try{for(var i=(0,r.Ju)(y),o=i.next();!o.done;o=i.next()){var s=o.value;if(e.next(s),e.closed)return}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}e.complete()})}if((0,d.U)(e)){return b=e,m((0,d.C)(b))}}throw(0,u.L)(e)}function m(e){return new s.c(function(t){(function(e,t){var n,i,o,s;return(0,r.sH)(this,void 0,void 0,function(){var a;return(0,r.YH)(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=(0,r.xN)(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(a=i.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return o={error:l.sent()},[3,11];case 6:if(l.trys.push([6,,9,10]),!(i&&!i.done&&(s=n.return)))return[3,8];return[4,s.call(n)];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];
3case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}},8524:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},8828:(e,t,n)=>{"use strict";e.exports=n(83654)},8983:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(50811),i=n(33476);let o=function(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw TypeError("Expected a function");return(0,i.A)(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),(0,r.A)(e,t,{leading:o,maxWait:t,trailing:s})}},9045:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{li:()=>A,mG:()=>E});var s=n(26552),a=n(27627),l=n(61571),u=n(56819),c=n(96939),d=n(94181),f=n(35336),h=n(31246),p=n(30391),g=n(83696),m=n(90730),y=n(61406),b=n(15364),v=n(21408),w=n(76871),_=n(48869);function x(e,t){let{extra:n,tags:r,user:i,contexts:o,level:s,sdkProcessingMetadata:a,breadcrumbs:l,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:f,transactionName:h,span:p}=t;k(e,"extra",n),k(e,"tags",r),k(e,"user",i),k(e,"contexts",o),e.sdkProcessingMetadata=(0,w.h)(e.sdkProcessingMetadata,a,2),s&&(e.level=s),h&&(e.transactionName=h),p&&(e.span=p),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function k(e,t,n){e[t]=(0,w.h)(e[t],n,1)}function E(e,t,n,w,k,E){var A,S,C,I,T,O;let{normalizeDepth:R=3,normalizeMaxBreadth:D=1e3}=e,j={...t,event_id:t.event_id||n.event_id||(0,p.eJ)(),timestamp:t.timestamp||(0,y.lu)()},M=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:o=250}=t;e.environment=e.environment||n||s.U,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i),e.message&&(e.message=(0,m.xv)(e.message,o));let a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=(0,m.xv)(a.value,o));let l=e.request;l&&l.url&&(l.url=(0,m.xv)(l.url,o))})(j,e),A=j,(S=M).length>0&&(A.sdk=A.sdk||{},A.sdk.integrations=[...A.sdk.integrations||[],...S]),k&&k.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=h.O._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return o&&n.length===i?o:(i=n.length,o=n.reduce((n,i)=>{r||(r={});let o=r[i];if(o)n[o[0]]=o[1];else{let o=e(i);for(let e=o.length-1;e>=0;e--){let s=o[e],a=s&&s.filename,l=t[i];if(a&&l){n[a]=l,r[i]=[a,l];break}}}return n},{}))}(t);try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{n&&e.filename&&(e.debug_id=n[e.filename])})})}catch(e){}}(j,e.stackParser);let N=function(e,t){if(!t)return e;let n=e?e.clone():new f.H;return n.update(t),n}(w,n.captureContext);n.mechanism&&(0,p.M6)(j,n.mechanism);let F=k?k.getEventProcessors():[],$=(0,a.m6)().getScopeData();E&&x($,E.getScopeData()),N&&x($,N.getScopeData());let P=[...n.attachments||[],...$.attachments];P.length&&(n.attachments=P);let{fingerprint:L,span:z,breadcrumbs:U,sdkProcessingMetadata:B}=$;return function(e,t){let{extra:n,tags:r,user:i,contexts:o,level:s,transactionName:a}=t,l=(0,v.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=(0,v.Ce)(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=(0,v.Ce)(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=(0,v.Ce)(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),s&&(e.level=s),a&&"transaction"!==e.type&&(e.transaction=a)}(j,$),z&&function(e,t){e.contexts={trace:(0,_.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,b.k1)(t),...e.sdkProcessingMetadata};let n=(0,_.zU)(t),r=(0,_.et)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(j,z),C=j,I=L,C.fingerprint=C.fingerprint?Array.isArray(C.fingerprint)?C.fingerprint:[C.fingerprint]:[],I&&(C.fingerprint=C.fingerprint.concat(I)),C.fingerprint&&!C.fingerprint.length&&delete C.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(j,U),T=j,O=B,T.sdkProcessingMetadata={...T.sdkProcessingMetadata,...O},(function e(t,n,r,i=0){return new d.T2((o,s)=>{let a=t[i];if(null===n||"function"!=typeof a)o(n);else{let d=a({...n},r);l.T&&a.id&&null===d&&c.vF.log(`Event processor "${a.id}" dropped event`),(0,u.Qg)(d)?d.then(n=>e(t,n,r,i+1).then(o)).then(null,s):e(t,d,r,i+1).then(o).then(null,s)}})})([...F,...$.eventProcessors],j,n).then(e=>(e&&function(e){let t={};
3try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof R&&R>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,g.S8)(e.data,t,n)}}))},...e.user&&{user:(0,g.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,g.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,g.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,g.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,g.S8)(e.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=(0,g.S8)(e.contexts.flags,3,n)),r}(e,R,D):e)}function A(e){if(e){var t;return(t=e)instanceof f.H||"function"==typeof t||Object.keys(e).some(e=>S.includes(e))?{captureContext:e}:e}}let S=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},9142:(e,t,n)=>{var r=n(21187),i=n(25902),o=n(25411),s=n(70637),a=n(35206),l=n(76917);e.exports=function(e,t,n){t=r(t,e);for(var u=-1,c=t.length,d=!1;++u<c;){var f=l(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&a(c)&&s(f,c)&&(o(e)||i(e))}},9180:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>o,F6:()=>u,Nw:()=>l,_P:()=>c,_m:()=>a,my:()=>r,s0:()=>s,w4:()=>i});let r=6048e5,i=864e5,o=6e4,s=36e5,a=1e3,l=43200,u=1440,c=Symbol.for("constructDateFrom")},9357:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});let r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:i,P:(e,t)=>{let n,o=e.match(/(P+)(p+)?/)||[],s=o[1],a=o[2];if(!a)return r(e,t);switch(s){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(s,t)).replace("{{time}}",i(a,t))}}},9403:(e,t,n)=>{var r=n(36772),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,s,a){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var f=u[d];if(!(l?f in t:i.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var m=l;++d<c;){var y=e[f=u[d]],b=t[f];if(o)var v=l?o(b,y,f,t,e,a):o(y,b,f,e,t,a);if(!(void 0===v?y===b||s(y,b,n,o,a):v)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return a.delete(e),a.delete(t),g}},9525:(e,t,n)=>{"use strict";n.d(t,{LV:()=>function e(t,n={}){if("function"!=typeof t)return t;try{let e=t.__sentry_wrapped__;if(e)if("function"==typeof e)return e;else return t;if((0,i.sp)(t))return t}catch(e){return t}let r=function(...r){try{let i=r.map(t=>e(t,n));return t.apply(this,i)}catch(e){throw u++,setTimeout(()=>{u--}),(0,o.v4)(t=>{t.addEventProcessor(e=>(n.mechanism&&((0,s.gO)(e,void 0,void 0),(0,s.M6)(e,n.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,a.Cp)(e)}),e}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}catch(e){}(0,i.pO)(r,t),(0,i.my)(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>t.name})}catch(e){}return r},jN:()=>c,jf:()=>l});var r=n(31246),i=n(21408),o=n(27627),s=n(30391),a=n(27122);let l=r.O,u=0;function c(){return u>0}},9618:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(61270),i=n(95868),o=n(96948);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,i.lI)(e);
3return(0,o.N)(function(t,i){(n?(0,r.x)(e,t,n):(0,r.x)(e,t)).subscribe(i)})}},10086:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(96948),i=n(28400),o=n(34793),s=n(8286);function a(e,t){return(0,r.N)(function(n,r){var a=new Set;n.subscribe((0,i._)(r,function(t){var n=e?e(t):t;a.has(n)||(a.add(n),r.next(t))})),t&&(0,s.Tg)(t).subscribe((0,i._)(r,function(){return a.clear()},o.l))})}},10344:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(62308).A.isFinite;let i=function(e){return"number"==typeof e&&r(e)}},10454:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return function(n){return e(t(n))}}},10664:(e,t,n)=>{"use strict";let r;n.d(t,{UL:()=>z,jN:()=>ea,Uh:()=>ef,Yh:()=>es,hF:()=>er,i6:()=>e0});let i=[0x428a2f98,0x71374491,-0x4a3f0431,-0x164a245b,0x3956c25b,0x59f111f1,-0x6dc07d5c,-0x54e3a12b,-0x27f85568,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,-0x7f214e02,-0x6423f959,-0x3e640e8c,-0x1b64963f,-0x1041b87a,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,-0x67c1aeae,-0x57ce3993,-0x4ffcd838,-0x40a68039,-0x391ff40d,-0x2a586eb9,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,-0x7e3d36d2,-0x6d8dd37b,-0x5d40175f,-0x57e599b5,-0x3db47490,-0x3893ae5d,-0x2e6d17e7,-0x2966f9dc,-0xbf1ca7b,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,-0x7b3787ec,-0x7338fdf8,-0x6f410006,-0x5baf9315,-0x41065c09,-0x398e870e];class o{constructor(){this.A=0x6a09e667,this.B=-0x4498517b,this.C=0x3c6ef372,this.D=-0x5ab00ac6,this.E=0x510e527f,this.F=-0x64fa9774,this.G=0x1f83d9ab,this.H=0x5be0cd19,this._size=0,this._sp=0,(!r||a>=8e3)&&(r=new ArrayBuffer(8e3),a=0),this._byte=new Uint8Array(r,a,80),this._word=new Int32Array(r,a,20),a+=80}update(e){if("string"==typeof e)return this._utf8(e);if(null==e)throw TypeError("Invalid type: "+typeof e);let t=e.byteOffset,n=e.byteLength,r=n/64|0,i=0;if(r&&!(3&t)&&!(this._size%64)){let n=new Int32Array(e.buffer,t,16*r);for(;r--;)this._int32(n,i>>2),i+=64;this._size+=i}if(1!==e.BYTES_PER_ELEMENT&&e.buffer){let r=new Uint8Array(e.buffer,t+i,n-i);return this._uint8(r)}return i===n?this:this._uint8(e,i)}_uint8(e,t){let{_byte:n,_word:r}=this,i=e.length;for(t|=0;t<i;){let o=this._size%64,s=o;for(;t<i&&s<64;)n[s++]=e[t++];s>=64&&this._int32(r),this._size+=s-o}return this}_utf8(e){let{_byte:t,_word:n}=this,r=e.length,i=this._sp;for(let o=0;o<r;){let s=this._size%64,a=s;for(;o<r&&a<64;){let n=0|e.charCodeAt(o++);n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<55296||n>57343?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):i?(n=((1023&i)<<10)+(1023&n)+65536,t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n,i=0):i=n}a>=64&&(this._int32(n),n[0]=n[16]),this._size+=a-s}return this._sp=i,this}_int32(e,t){let{A:n,B:r,C:o,D:a,E:l,F:m,G:y,H:b}=this,v=0;for(t|=0;v<16;)s[v++]=u(e[t++]);for(v=16;v<64;v++)s[v]=g(s[v-2])+s[v-7]+p(s[v-15])+s[v-16]|0;for(v=0;v<64;v++){let e=b+h(l)+c(l,m,y)+i[v]+s[v]|0,t=f(n)+d(n,r,o)|0;b=y,y=m,m=l,l=a+e|0,a=o,o=r,r=n,n=e+t|0}this.A=n+this.A|0,this.B=r+this.B|0,this.C=o+this.C|0,this.D=a+this.D|0,this.E=l+this.E|0,this.F=m+this.F|0,this.G=y+this.G|0,this.H=b+this.H|0}digest(e){let{_byte:t,_word:n}=this,r=this._size%64|0;for(t[r++]=128;3&r;)t[r++]=0;if((r>>=2)>14){for(;r<16;)n[r++]=0;r=0,this._int32(n)}for(;r<16;)n[r++]=0;let i=8*this._size,o=(0|i)>>>0,s=(i-o)/0x100000000;return s&&(n[14]=u(s)),o&&(n[15]=u(o)),this._int32(n),"hex"===e?this._hex():this._bin()}_hex(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:s,H:a}=this;return l(e)+l(t)+l(n)+l(r)+l(i)+l(o)+l(s)+l(a)}_bin(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:s,H:a,_byte:l,_word:c}=this;return c[0]=u(e),c[1]=u(t),c[2]=u(n),c[3]=u(r),c[4]=u(i),c[5]=u(o),c[6]=u(s),c[7]=u(a),l.slice(0,32)}}let s=new Int32Array(64),a=0,l=e=>(e+0x100000000).toString(16).substr(-8),u=254===new Uint8Array(new Uint16Array([65279]).buffer)[0]?e=>e:e=>e<<24&0xff000000|e<<8&0xff0000|e>>8&65280|e>>24&255,c=(e,t,n)=>n^e&(t^n),d=(e,t,n)=>e&t|n&(e|t),f=e=>(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),h=e=>(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7),p=e=>(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3,g=e=>(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10;function m(e,t){for(let n=0;n<e.length;n++){if(e[n]<t[n])return -1;if(e[n]>t[n])return 1}return 0}function y(e){for(let t=0;t<e.length;t++)if(0!=e[t])return!1;return!0}class b{hash=new o;buffer=new ArrayBuffer(4);rewriteMap;uint8=new Uint8Array(this.buffer);uint8_byte=new Uint8Array(this.buffer,0,1);int32=new Int32Array(this.buffer);constructor(e){this.rewriteMap=e}encodeByte(e){this.uint8_byte[0]=e,this.hash.update(this.uint8_byte)}encodeString(e){this.hash.update(e,"utf8")}encodeInt32(e){if(this.int32[0]=e,this.int32[0]!==e)throw Error("Only 32-bit numbers can be encoded as descriptors");this.hash.update(this.uint8)}encodeValue(e){let t=this.rewriteMap.get(e);if(t){let n=this.encodeValue(t);return n!==t&&this.rewriteMap.set(e,n),n}if(null===e)return this.encodeByte(110),e;if(!0===e)return this.encodeByte(116),e;if(!1===e)return this.encodeByte(102),e;if("string"==typeof e)return this.encodeByte(115),this.encodeString(e),e;if(Array.isArray(e)){let t;this.encodeByte(97);let n=0;for(let r of e){let i=this.encodeValue(r);t?t.push(i):i!==r&&(t=e.slice(0,n)).push(i),n++}return this.encodeByte(65),t||e}{let t=[],n,r=0,i=Object.entries(e);for(let[e,o]of i){if(void 0===o){r++;continue}let s=new b(this.rewriteMap);s.encodeString(e);let a=s.encodeValue(o);if(t.push(s.getDigest()),n)n[e]=a;else if(a!==o){for(let[e,t]of(n={},i.slice(0,r)))n[e]=t;n[e]=a}r++}for(let e of(t.sort((e,t)=>
3m(e,t)),this.encodeByte(111),t))this.hash.update(e);return this.encodeByte(79),n||e}}encodeObjectWithType(e,t){let n={type:e},r=[];for(let[e,i]of Object.entries(t)){if(void 0===i)continue;let t=new b(this.rewriteMap);t.encodeString(e),n[e]=t.encodeValue(i),r.push(t.getDigest())}let i=new b(this.rewriteMap);for(let t of(i.encodeString("type"),i.encodeValue(e),r.push(i.getDigest()),r.sort((e,t)=>m(e,t)),this.encodeByte(111),r))this.hash.update(t);return this.encodeByte(79),n}getDigest(){return this.hash.digest()}}let v=new Map;function w(e,t,n){let r=new b(n?.rewriteMap||v),i=r.encodeObjectWithType(e,t),o=r.getDigest();return n?.withDigest&&n.withDigest(o),{id:function(e,t=""){let n=t;for(let t=0;t<e.length;t++)n+=String.fromCharCode(e[t]);return"u"+globalThis.btoa(n).replaceAll("+","-").replaceAll("/","_").replaceAll("=","")}(o,"\x12 "),...i}}class _{arr;byteSize;numBuckets;constructor(e,t){if(t>=31)throw Error("numBuckets must be less than 31");this.byteSize=e,this.numBuckets=t,this.arr=new Uint8Array(this.byteSize*this.numBuckets)}toggle(e,t){for(let n=0;n<3;n++){let r=e[n]%this.numBuckets;t&&t(r);let i=r*this.byteSize;for(let t=0;t<this.byteSize;t++)this.arr[i+t]^=e[t]}}toggleAll(e){for(let t=0;t<this.arr.length;t++)this.arr[t]^=e.arr[t]}copy(){let e=new _(this.byteSize,this.numBuckets);for(let t=0;t<this.arr.length;t++)e.arr[t]=this.arr[t];return e}decode(){let e=2*this.numBuckets,t=new x(this.byteSize,e),n=new k(this.numBuckets),r=0;for(;!n.isEmpty();){let i=n.pop();if(this.looksPure(i)){if(r>=e)return null;let o=i*this.byteSize,s=this.arr.slice(o,o+this.byteSize);t.toggle(s),this.toggle(s,e=>{e!==i&&n.set(e)}),r++}}return y(this.arr)?t:null}looksPure(e){let t=e*this.byteSize,n=this.arr.subarray(t,t+this.byteSize);if(y(n))return!1;let r=0;for(let t=0;t<3;t++)n[t]%this.numBuckets===e&&r++;return r%2==1}}class x{arr;byteSize;length;capacity;constructor(e,t){this.arr=new Uint8Array(e*t),this.byteSize=e,this.length=0,this.capacity=t}toggle(e){for(let t=0;t<this.length;t++){let n=t*this.byteSize,r=this.arr.subarray(n,n+this.byteSize);if(function(e,t){for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}(e,r)){if(t!=this.length-1){let e=(this.length-1)*this.byteSize;for(let t=0;t<this.byteSize;t++)r[t]=this.arr[e+t]}this.length--;return}}if(this.length===this.capacity)throw Error("BufferSet is full");let t=this.length*this.byteSize;for(let n=0;n<this.byteSize;n++)this.arr[t+n]=e[n];this.length++}forEach(e){for(let t=0;t<this.length;t++){let n=t*this.byteSize;e(this.arr.subarray(n,n+this.byteSize))}}toJSON(){let e=[];return this.forEach(t=>{e.push(Array.from(t))}),e.sort((e,t)=>m(e,t)),e}}class k{bitset;queue;constructor(e){this.bitset=(1<<e)-1,this.queue=Array.from({length:e},(e,t)=>t)}set(e){let t=1<<e;this.bitset&t||(this.queue.push(e),this.bitset|=t)}isEmpty(){return 0===this.bitset}pop(){let e=this.queue.shift();return this.bitset&=~(1<<e),e}}class E{objectValues={};setValues={};keys=[];sketch=new _(32,8);rewriteMap;constructor({rewriteMap:e}={}){this.rewriteMap=e}addObject(e,t){let n=w(e,t,{withDigest:e=>{this.sketch.toggle(e)},rewriteMap:this.rewriteMap});this.objectValues[n.id]=n,this.keys.push(n.id)}addSet(e){this.setValues[e.set.id]=e,this.sketch.toggle(e.digest),this.keys.push(e.set.id)}build(e){let t;return this.keys.sort(),{set:w(e,{keys:this.keys},{withDigest:e=>{t=e}}),digest:t,objectValues:this.objectValues,setValues:this.setValues,sketch:this.sketch}}}var A=n(33476),S=n(63285),C=n(92940),I=n(43291),T=n(17485),O=n(58526),R=n(92571),D=n(15356),j=n(77058),M=n(87450),N=n(32027),F=n(67251),$=n(33457);class P{#e=[];#t;constructor(e){this.#t=performance.now(),this.#e=e}async map(e,t){let n=[];for(let r of e){let e=this._tryPause();e&&await e,n.push(t(r))}return n}async forEach(e,t){for(let n of e){let e=this._tryPause();e&&await e,t(n)}}async forEachIter(e,t){for(let n of e){let e=this._tryPause();e&&await e,t(n)}}end(){this.#e.push(performance.now()-this.#t)}_tryPause(){let e=performance.now()-this.#t;if(!(e<8.333333333333334))return this.#e.push(e),new Promise(e=>{let t=()=>{this.#t=performance.now(),e()};"function"==typeof requestIdleCallback?requestIdleCallback(t,{timeout:1}):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t,0)})}}let L={map:async(e,t)=>e.map(t),forEach:async(e,t)=>e.forEach(t),async forEachIter(e,t){for(let n of e)t(n)}};class z{cache=new WeakMap;async get(e,t){let n,r=this.cache.get(e);if(r)return r;let i=t?.scheduler||(t?.pauseDurations?n=new P(t.pauseDurations):L),o={fields:new Map,duplicateFields:new Map,arrayElements:new Map,duplicateArrayElements:new Map},s=await i.map(e.getLocalTypeNames(),t=>{let n=function e(t,n,r){let i=function(t,n,r){var i;let o,s,a,l,u=M.kH in t?t[M.kH]:t;Array.isArray(u.fields)&&(o=u.fields.map(t=>{var i;let o=`${n}.${t.name}`,s=r.fields.get(t);if(s){let e=r.duplicateFields.get(s);return(!e||en(o,e))&&r.duplicateFields.set(s,o),s}let{name:a,group:l,fieldset:u,type:c}
3=t,d={name:a,typeDef:e(c,o,r),groups:"string"==typeof(i=l)?[i]:Array.isArray(i)?i.filter(e=>"string"==typeof e):void 0,fieldset:u};return r.fields.set(t,d),d})),Array.isArray(u.fieldsets)&&(s=V("name",u.fieldsets.map(({name:e,title:t,description:n,group:r,hidden:i,readOnly:o,options:s})=>({name:e,title:U(t),description:U(n),group:U(r),hidden:q(i),readOnly:q(o),options:Z(s)})))),Array.isArray(u.groups)&&(a=V("name",u.groups.map(({name:e,title:t,hidden:n,default:r,i18n:i})=>({name:e,title:U(t),hidden:q(n),default:B(r),i18n:ee(i)}))));let c=u.deprecated?.reason;return Array.isArray(u.orderings)&&(l=u.orderings.map(et).filter(e=>void 0!==e)),{title:U(u.title),description:function(e){if("string"==typeof e)return e;if((0,A.A)(e)&&"$$typeof"in e&&"type"in e&&"props"in e){let{type:t,props:n}=e,r="function"==typeof t?t.name:t;return"string"!=typeof r?void 0:{__type:"jsx",type:r,props:Z(n)}}}(u.description),readOnly:q(u.readOnly),hidden:q(u.hidden),liveEdit:B(u.liveEdit),options:Z(u.options),initialValue:Z(u.initialValue),deprecated:"string"==typeof c?{reason:c}:void 0,placeholder:U(u.placeholder),rows:"number"==typeof(i=u.rows)?i.toString():void 0,fields:o,fieldsets:s,groups:a,validation:function(e){if(!(0,A.A)(e)||!("type"in e))return;let t=[];switch("options"in e&&(0,A.A)(e.options)&&"list"in e.options&&Array.isArray(e.options.list)&&t.push({type:"enum",values:e.options.list.map(t=>{var n,r;return Z((n=t,"object"===(r=e).jsonType&&function e(t){return!!t&&"object"==typeof t&&("fields"in t?!!Array.isArray(t.fields)&&t.fields.some(e=>"value"===e.name):"type"in t&&!!t.type&&e(t.type))}(r)?n:(0,A.A)(n)&&"value"in n&&n.value?n.value:n))}).filter(e=>void 0!==e)}),e.type){case"url":t.push({type:"uri",allowRelative:!1});break;case"slug":t.push({type:"custom"});break;case"reference":t.push({type:"reference"});break;case"email":t.push({type:"email"})}if(!("validation"in e)||!e.validation)return t.length>0?[{level:"error",rules:t}]:void 0;let n=[];for(let r of Array.isArray(e.validation)?e.validation:[e.validation]){let e=function e(t){if(t){if("function"==typeof t)try{let n=t(new M.jO);if(X(n))return e(n);throw Error("failed to convert to plain rule")}catch{return{level:"error",rules:[{type:"custom",name:"function"}]}}if(X(t)){let n=t._level||"error",r=function(e){if("string"==typeof e)return e;if(!(0,A.A)(e)||Array.isArray(e))return;let t={};for(let[n,r]of Object.entries(e))"string"!=typeof n||"string"!=typeof r||(t[n]=r);return Object.keys(t).length>0?t:void 0}(t._message),i=[];for(let n of t._rules||[]){let r=function(t,n){if(!(0,A.A)(t)||!("flag"in t))return;let r="constraint"in t?t.constraint:void 0;switch(t.flag){case"integer":return{type:"integer"};case"email":return{type:"email"};case"unique":return{type:"uniqueItems"};case"reference":return{type:"reference"};case"assetRequired":return{type:"assetRequired"};case"stringCasing":return"uppercase"===r?{type:"uppercase"}:"lowercase"===r?{type:"lowercase"}:void 0;case"all":if(Array.isArray(r)){let t=r.map(t=>e(t)).filter(e=>void 0!==e);if(t.length>0)return{type:"allOf",children:t}}return;case"either":if(Array.isArray(r)){let t=r.map(t=>e(t)).filter(e=>void 0!==e);if(t.length>0)return{type:"anyOf",children:t}}return;case"valid":return Array.isArray(r)?{type:"enum",values:r.map(e=>Z(e)).filter(e=>void 0!==e)}:void 0;case"min":return{type:"minimum",value:J(r)};case"max":return{type:"maximum",value:J(r)};case"length":return{type:"length",value:J(r)};case"precision":return{type:"precision",value:J(r)};case"lessThan":return{type:"exclusiveMaximum",value:J(r)};case"greaterThan":return{type:"exclusiveMinimum",value:J(r)};case"regex":if((0,A.A)(r)&&"pattern"in r){let{pattern:e}=r,t="invert"in r?Q(r.invert):void 0;if(e instanceof RegExp)return{type:"regex",pattern:e.source,...t&&{invert:!0}}}return;case"uri":{let e=(0,A.A)(r)&&"options"in r&&(0,A.A)(r.options)&&"allowRelative"in r.options?Q(r.options.allowRelative):void 0;return{type:"uri",...void 0!==e&&{allowRelative:e}}}case"custom":return{type:"custom",...n&&{optional:n}};case"media":return{type:"custom",name:"media"};case"type":default:return;case"presence":return"required"===r?{type:"required"}:void 0}}(n,"optional"===t._required||void 0);void 0!==r&&(i.some(e=>(0,S.A)(e,r))||i.push(r))}return 0===i.length?void 0:{level:n,rules:i,...r&&{message:r}}}}}(r);if(void 0===e)continue;let i=t.filter(t=>!e.rules.some(e=>(0,S.A)(e,t)));i.length>0&&e.rules.unshift(...i),n.some(t=>(0,S.A)(t,e))||n.push(e)}return n.length>0?n:void 0}(u),orderings:l}}(t,n,r);if(!t.type)return{extends:null,jsonType:t.jsonType,...i};switch(t.type.name){case"array":return{extends:"array",of:t.of.map((t,i)=>{let o=`${n}.${t.name}`,s=r.arrayElements.get(t);if(s){let e=r.duplicateArrayElements.get(s);return(!e||en(o,e))&&r.duplicateArrayElements.set(s,o),s}let a={name:t.name,typeDef:e(t,`${n}.${t.name}`,r)};return r.arrayElements.set(t,a),a}),...i};case"reference":case"globalDocumentReference":case"crossDatasetReference":return{extends:t.type.name,to:V("name",t.to.map(e=>({name:e.name||e.type?.name||e.type}))),...i};default:return{extends:t.type.name,...i}}}(e.get(t),t,o);return{name:t,typeDef:n}}),a=new Map;for(let[e,t]of o.duplicateFields.entries())a.set(e,{__type:"hoisted",key:t});for(let[e,t]of o.duplicateArrayElements.entries())a.set(e,{__type:"hoisted",key:t});let l=new E({rewriteMap:a});
3return await i.forEachIter(o.duplicateFields.entries(),([e,t])=>{l.addObject("sanity.schema.hoisted",{key:t,value:{...e}})}),await i.forEachIter(o.duplicateArrayElements.entries(),([e,t])=>{l.addObject("sanity.schema.hoisted",{key:t,value:{...e}})}),await i.forEach(s,e=>{l.addObject("sanity.schema.namedType",e)}),e.parent&&l.addSet(await this.get(e.parent,{scheduler:i})),r=l.build("sanity.schema.registry"),this.cache.set(e,r),n&&n.end(),r}}function U(e){return"string"==typeof e?e:void 0}function B(e){return!0===e||void 0}function q(e){return"function"==typeof e?H:B(e)}function V(e,t){return t.filter(t=>"string"==typeof t[e])}let H={__type:"function"},G={__type:"unknown"},W={__type:"undefined"},Y={__type:"cyclic"},K={__type:"maxDepth"};function Z(e,t=new Set,n=5){if(0===n)return K;if("string"==typeof e||"boolean"==typeof e||null==e)return e;if("number"==typeof e)return{__type:"number",value:e.toString()};if("function"==typeof e)return H;if(t.has(e))return Y;if(t.add(e),(0,A.A)(e)){if(Array.isArray(e))return e.map(e=>{let r=Z(e,t,n-1);return void 0===r?W:r});if("$$typeof"in e&&"type"in e&&"props"in e){let{type:r,props:i}=e,o="function"==typeof r?r.name:r;return"string"!=typeof o?void 0:{__type:"jsx",type:o,props:Z(i,t,n-1)}}let r=!1,i={};for(let[o,s]of Object.entries(e))"__type"===o&&(r=!0),i[o]=Z(s,t,n-1);return r?{__type:"object",value:i}:i}return G}function X(e){return(0,A.A)(e)&&"_rules"in e}function J(e){return(0,A.A)(e)&&"type"in e&&"path"in e&&e.type&&e.path?{type:"fieldReference",path:Array.isArray(e.path)?e.path:[e.path]}:String(e)}function Q(e){if("boolean"==typeof e)return e}function ee(e){if(!(0,A.A)(e)||Array.isArray(e))return;let t={};for(let n of Object.entries(e))if(function(e){let[t,n]=e;return"string"==typeof t&&!!n&&"object"==typeof n&&"key"in n&&"ns"in n&&"string"==typeof n.key&&"string"==typeof n.ns}(n)){let[e,r]=n;t[e]={ns:r.ns,key:r.key}}return Object.keys(t).length>0?t:void 0}function et(e){if(!(0,A.A)(e)||Array.isArray(e))return;let t="name"in e&&"string"==typeof e.name?e.name:void 0;if(void 0===t)return;let n="title"in e&&"string"==typeof e.title?e.title:t,r="by"in e&&Array.isArray(e.by)?e.by:[],i=[];for(let e of r){let t=function(e){if(!(0,A.A)(e)||Array.isArray(e))return;let t="field"in e&&"string"==typeof e.field?e.field:void 0,n="direction"in e&&("asc"===e.direction||"desc"===e.direction)?e.direction:void 0;if(!(!t||!n))return{field:t,direction:n}}(e);t&&i.push(t)}if(0===i.length)return;let o="i18n"in e?ee(e.i18n):void 0;return{name:t,title:n,by:i,...o&&{i18n:o}}}function en(e,t){return e.length<t.length||e.length===t.length&&e<t}function er(e,t){let n=e.set.id;if(!t)return{id:n};if("complete"===t.type)return null;let r=[];for(let n of t.missingIds){let t=function e(t,n){if(t.set.id===n)return t.set;let r=t.objectValues[n];if(r)return r;for(let r of Object.values(t.setValues)){let t=e(r,n);if(t)return t}return null}(e,n);if(!t)throw Error("Synchronization server is requested an unknonwn descriptor");r.push(t)}return{id:n,descriptors:r}}let ei="__experimental_actions",eo=["create","update","delete","publish"],es=(e,t)=>(e=>((e,t)=>{if(!Array.isArray(t))throw Error(`The value of <type>.${ei} should be an array with any of the actions ${eo.join(", ")}`);let n=(0,C.A)(t,eo);if(n.length>0)throw Error(`Invalid action${n.length>1?"s":""} configured for schema type "${e}": ${n.join(", ")}. Valid actions are: ${eo.join(", ")}`);return t})(e.name,(e=>ei in e?e[ei]:eo)(e)))(e).includes(t),ea=[{name:"sanity.assetSourceData",title:"Asset Source Data",type:"object",fields:[{name:"name",title:"Source name",description:"A canonical name for the source this asset is originating from",type:"string"},{name:"id",title:"Asset Source ID",description:"The unique ID for the asset within the originating source so you can programatically find back to it",type:"string"},{name:"url",title:"Asset information URL",description:"A URL to find more information about this asset in the originating source",type:"string"}]},{title:"Slug",name:"slug",type:"object",fields:[{name:"current",title:"Current slug",type:"string",validation:e=>e.required()},{name:"source",title:"Source field",type:"string",hidden:!0}]},{title:"Geographical Point",name:"geopoint",type:"object",fields:[{name:"lat",type:"number",title:"Latitude"},{name:"lng",type:"number",title:"Longitude"},{name:"alt",type:"number",title:"Altitude"}]},{name:"sanity.imageAsset",title:"Image",type:"document",fieldsets:[{name:"system",title:"System fields",description:"These fields are managed by the system and not editable"}],fields:[{name:"originalFilename",type:"string",title:"Original file name",readOnly:!0},{name:"label",type:"string",title:"Label"},{name:"title",type:"string",title:"Title"},{name:"description",type:"string",title:"Description"},{name:"altText",type:"string",title:"Alternative text"},{name:"sha1hash",type:"string",title:"SHA1 hash",readOnly:!0,fieldset:"system"},{name:"extension",type:"string",readOnly:!0,title:"File extension",fieldset:"system"},{name:"mimeType",type:"string",readOnly:!0,title:"Mime type",fieldset:"system"},{name:"size",type:"number",title:"File size in bytes",readOnly:!0,fieldset:"system"},{name:"assetId",type:"string",title:"Asset ID",readOnly:!0,fieldset:"system"},{name:"uploadId",type:"string",readOnly:!0,hidden:!0,fieldset:"system"},{name:"path",type:"string",title:"Path",readOnly:!0,fieldset:"system"},{name:"url",type:"string",title:"Url",readOnly:!0,fieldset:"system"},{name:"metadata",type:"sanity.imageMetadata",title:"Metadata"},{name:"source",type:"sanity.assetSourceData",title:"Source",readOnly:!0,fieldset:"system"}],preview:{select:{id:"_id",title:"originalFilename",mimeType:"mimeType",size:"size",media:"media"},prepare:e=>({title:e.title||"string"==typeof e.path&&e.path.split("/").slice(-1)[0],media:{asset:{_ref:e.id},...e.media?{media:e.media}:{}},subtitle:`${e.mimeType} (${(Number(e.size)/1024/1024).toFixed(2)} MB)`})},orderings:[{title:"File size",name:"fileSizeDesc",by:[{field:"size",direction:"desc"}]}]},{name:"sanity.fileAsset",title:"File",type:"document",fieldsets:[{name:"system",title:"System fields",description:"These fields are managed by the system and not editable"}],fields:[{name:"originalFilename",type:"string",title:"Original file name",readOnly:!0},{name:"label",type:"string",title:"Label"},{name:"title",type:"string",title:"Title"},{name:"description",type:"string",title:"Description"},{name:"altText",type:"string",title:"Alternative text"},{name:"sha1hash",type:"string",title:"SHA1 hash",readOnly:!0,fieldset:"system"},{name:"extension",type:"string",title:"File extension",readOnly:!0,fieldset:"system"},{name:"mimeType",type:"string",title:"Mime type",readOnly:!0,fieldset:"system"},{name:"size",type:"number",title:"File size in bytes",readOnly:!0,fieldset:"system"},{name:"assetId",type:"string",title:"Asset ID",readOnly:!0,fieldset:"system"},{name:"uploadId",type:"string",readOnly:!0,hidden:!0,fieldset:"system"},{name:"path",type:"string",title:"Path",readOnly:!0,fieldset:"system"},{name:"url",type:"string",title:"Url",readOnly:!0,fieldset:"system"},{name:"source",type:"sanity.assetSourceData",title:"Source",readOnly:!0,fieldset:"system"}],preview:{select:{title:"originalFilename",path:"path",mimeType:"mimeType",size:"size"},prepare:e=>({title:e.title||e.path.split("/").slice(-1)[0],subtitle:`${e.mimeType} (${(e.size/1024/1024).toFixed(2)} MB)`})},orderings:[{title:"File size",name:"fileSizeDesc",by:[{field:"size",direction:"desc"}]}]},{name:"sanity.imageCrop",title:"Image crop",type:"object",fields:[{name:"top",type:"number",validation:e=>e.required()},{name:"bottom",type:"number",validation:e=>e.required()},{name:"left",type:"number",validation:e=>e.required()},{name:"right",type:"number",validation:e=>e.required()}]},{name:"sanity.imageHotspot",title:"Image hotspot",type:"object",fields:[{name:"x",type:"number",validation:e=>e.required()},{name:"y",type:"number",validation:e=>e.required()},{name:"height",type:"number",validation:e=>e.required()},{name:"width",type:"number",validation:e=>e.required()}]},{name:"sanity.imageMetadata",title:"Image metadata",type:"object",fieldsets:[{name:"extra",title:"Extra metadataâ¦",options:{collapsable:!0}}],fields:[{name:"location",type:"geopoint"},{name:"dimensions",title:"Dimensions",type:"sanity.imageDimensions",fieldset:"extra"},{name:"palette",type:"sanity.imagePalette",title:"Palette",fieldset:"extra"},{name:"lqip",title:"LQIP (Low-Quality Image Placeholder)",type:"string",readOnly:!0}
3,{name:"blurHash",title:"BlurHash",type:"string",readOnly:!0},{name:"thumbHash",title:"ThumbHash",type:"string",readOnly:!0},{name:"hasAlpha",title:"Has alpha channel",type:"boolean",readOnly:!0},{name:"isOpaque",title:"Is opaque",type:"boolean",readOnly:!0}]},{name:"sanity.imageDimensions",type:"object",title:"Image dimensions",fields:[{name:"height",type:"number",title:"Height",readOnly:!0,validation:e=>e.required()},{name:"width",type:"number",title:"Width",readOnly:!0,validation:e=>e.required()},{name:"aspectRatio",type:"number",title:"Aspect ratio",readOnly:!0,validation:e=>e.required()}]},{name:"sanity.imagePalette",title:"Image palette",type:"object",fields:[{name:"darkMuted",type:"sanity.imagePaletteSwatch",title:"Dark Muted"},{name:"lightVibrant",type:"sanity.imagePaletteSwatch",title:"Light Vibrant"},{name:"darkVibrant",type:"sanity.imagePaletteSwatch",title:"Dark Vibrant"},{name:"vibrant",type:"sanity.imagePaletteSwatch",title:"Vibrant"},{name:"dominant",type:"sanity.imagePaletteSwatch",title:"Dominant"},{name:"lightMuted",type:"sanity.imagePaletteSwatch",title:"Light Muted"},{name:"muted",type:"sanity.imagePaletteSwatch",title:"Muted"}]},{name:"sanity.imagePaletteSwatch",title:"Image palette swatch",type:"object",fields:[{name:"background",type:"string",title:"Background",readOnly:!0},{name:"foreground",type:"string",title:"Foreground",readOnly:!0},{name:"population",type:"number",title:"Population",readOnly:!0},{name:"title",type:"string",title:"String",readOnly:!0}]}],el={TYPE_INVALID:"schema-type-invalid",TYPE_IS_ESM_MODULE:"schema-type-is-esm-module",TYPE_NAME_RESERVED:"schema-type-name-reserved",TYPE_MISSING_NAME:"schema-type-missing-name-or-type",TYPE_MISSING_TYPE:"schema-type-missing-name-or-type",TYPE_TITLE_RECOMMENDED:"schema-type-title-is-recommended",TYPE_TITLE_INVALID:"schema-type-title-is-recommended",OBJECT_FIELDS_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_NOT_UNIQUE:"schema-object-fields-invalid",OBJECT_FIELD_NAME_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_DEFINITION_INVALID_TYPE:"schema-object-fields-invalid",ARRAY_PREDEFINED_CHOICES_INVALID:"schema-predefined-choices-invalid",ARRAY_OF_ARRAY:"schema-array-of-array",ARRAY_OF_INVALID:"schema-array-of-invalid",ARRAY_OF_NOT_UNIQUE:"schema-array-of-invalid",ARRAY_OF_DUPLICATE_PRIMITIVE_JSON_TYPE:"schema-array-of-duplicate-primitive-json-type",ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT:"schema-array-of-type-global-type-conflict",ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT:"schema-array-of-type-builtin-type-conflict",REFERENCE_TO_INVALID:"schema-reference-to-invalid",REFERENCE_TO_NOT_UNIQUE:"schema-reference-to-invalid",REFERENCE_INVALID_OPTIONS:"schema-reference-invalid-options",REFERENCE_INVALID_OPTIONS_LOCATION:"schema-reference-options-nesting",REFERENCE_INVALID_FILTER_PARAMS_COMBINATION:"schema-reference-filter-params-combination",SLUG_SLUGIFY_FN_RENAMED:"slug-slugifyfn-renamed",ASSET_METADATA_FIELD_INVALID:"asset-metadata-field-invalid",CROSS_DATASET_REFERENCE_INVALID:"cross-dataset-reference-invalid",GLOBAL_DOCUMENT_REFERENCE_INVALID:"global-document-reference-invalid",DEPRECATED_BLOCKEDITOR_KEY:"schema-deprecated-blockeditor-key",STANDALONE_BLOCK_TYPE:"schema-standalone-block-type",FIELD_TYPE_IS_DOCUMENT:"schema-field-type-is-document"};function eu(e,t,n){if(n&&!Object.keys(el).some(e=>el[e]===n))throw Error(`Used the unknown helpId "${n}", please add it to the array in createValidationResult.js`);return{severity:e,message:t,helpId:n}}let ec=(e,t)=>eu("error",e,t),ed=(e,t)=>eu("warning",e,t);function ef(e){return(0,I.A)(e.map(e=>e_(e))).filter(e=>e.problems.length>0)}function eh(e,t=t=>(0,T.A)(t,e)){return function(n,r){let i=[...r,{kind:"type",type:n.type,name:n.name}],o=t(n)||[],s=Array.isArray(o)?o.map(t=>e_(t,[...i,{kind:"property",name:e}])):[[{path:i,problems:[ec(`Member declaration (${e}) is not an array`)]}]];return[{path:i,problems:n._problems||[]},...(0,I.A)(s)]}}let ep=eh("fields"),eg=eh("fields"),em=eh("fields"),ey=eh("of"),eb=eh("to",e=>"to"in e?(e=>Array.isArray(e)?e:typeof e>"u"&&[]||[e])(e.to):[]),ev=eh("marks.annotations"),ew=eh("of");function e_(e,t=[]){switch(e.type){case"object":case"document":return ep(e,t);case"array":return ey(e,t);case"reference":return eb(e,t);case"block":return[...ev(e,t),...ew(e,t)];case"image":return eg(e,t);case"file":return em(e,t);default:return function(e,t=[]){return[{path:[...t,{kind:"type",type:e.type,name:e.name}],problems:e._problems||[]}]}(e,t)}}function ex(e,t=e=>e){let n=e.reduce((e,n)=>{let r=t(n);return e[r]||(e[r]=[]),e[r].push(n),e},{});return Object.keys(n).map(e=>n[e].length>
31?n[e]:null).filter(Boolean)}let ek={name:"type",type:null},eE=["any","time","date"],eA=[{name:"array",jsonType:"array",type:"type"},{name:"block",jsonType:"object",type:"type"},{name:"boolean",jsonType:"boolean",type:"type"},{name:"datetime",jsonType:"string",type:"type"},{name:"date",jsonType:"string",type:"type"},{name:"document",jsonType:"object",type:"type"},{name:"email",jsonType:"string",type:"type"},{name:"file",jsonType:"object",type:"type"},{name:"geopoint",jsonType:"object",type:"type"},{name:"image",jsonType:"object",type:"type"},{name:"number",jsonType:"number",type:"type"},{name:"object",jsonType:"object",type:"type"},{name:"reference",jsonType:"object",type:"type"},{name:"crossDatasetReference",jsonType:"object",type:"type"},{name:"globalDocumentReference",jsonType:"object",type:"type"},{name:"slug",jsonType:"object",type:"type"},{name:"span",jsonType:"object",type:"type"},{name:"string",jsonType:"string",type:"type"},{name:"telephone",jsonType:"string",type:"type"},{name:"text",jsonType:"string",type:"type"},{name:"url",jsonType:"string",type:"type"}],eS=eA.map(e=>e.name);function eC(e){return"string"===e||"number"===e||"boolean"===e}function eI(e){return`"${e}"`}function eT(e,t="s"){return 1===e.length?"":t}function eO(e){return Array.isArray(e)?`array with ${e.length} entries`:"object"==typeof e&&null!==e?`object with keys ${N(Object.keys(e).map(eI))}`:eI(e)}let eR=e=>Array.isArray(e)?"array":typeof e,eD=e=>`"${e}"`,ej=["components","lists","marks","name","of","options","styles","title","type","validation"],eM=["decorators","annotations"],eN=["blockEditor","title","value","icon","component"],eF=["blockEditor","title","value","icon","component","i18nTitleKey"],e$=["title","value","icon","component"],eP=["file","image","object","reference","crossDatasetReference","globalDocumentReference"],eL=e=>`"${e}"`;var ez=(e,t)=>({...e,_problems:[...function(e,t){let n=t.getTypeNames();if(!e)return[ec("Type is missing a type.",el.TYPE_MISSING_TYPE)];if("string"!=typeof e)return[ec('Type has an invalid "type"-property - should be a string.',el.TYPE_MISSING_TYPE)];if(!n.includes(e)){let t=n.map(t=>[F(e,t),t]).filter(([e])=>e<3).map(([e,t])=>t),r=t.length>0?` Did you mean ${N(t.map(eL),{conjunction:"or"})}?`:"";return[ec(`Unknown type: ${e}.${r}`)]}return[]}(e.type,t),...function(e,t){if(!("fields"in e))return[];let n=e;for(;n&&!n.jsonType;)n=t.getType(n.type);return n&&"object"!==n.jsonType?[ec('Type has propery "fields", but is not an object/document type.')]:[]}(e,t),...function(e){let t=[];return e?.inputComponent&&t.push(ed('The "inputComponent" property is deprecated. Use "components.input" instead.')),e?.preview?.component&&t.push(ed('The "preview.component" property is deprecated. Use "components.preview" instead.')),e?.diffComponent&&t.push(ed('The "diffComponent" property is deprecated. Use "components.diff" instead.')),e?.options?.editModal&&t.push(ed('The "options.editModal" property is deprecated. Use "options.modal" instead.')),e?.options?.isHighlighted&&t.push(ed('The "options.isHighlighted" property is deprecated. You can put fields behind a collapsed fieldset if you want to hide them from plain sight.')),t}(e)].filter(Boolean)});let eU=/^[a-z0-9~][-_a-z0-9]+$/,eB=/^Symbol\(react\..+\)$/;function eq(e){return"function"==typeof e||"symbol"==typeof e?.$$typeof&&eB.test(String(e?.$$typeof))}function eV(e){let t="components"in e&&e.components;if(!t)return[];let n=[];return t.input&&!eq(t.input)&&n.push(ed(`The \`components.input\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.input)}). If you have imported a custom input component, please verify that you have imported the correct named/default export.`)),t.field&&!eq(t.field)&&n.push(ed(`The \`components.field\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.field)}). If you have imported a custom field component, please verify that you have imported the correct named/default export.`)),t.item&&!eq(t.item)&&n.push(ed(`The \`components.item\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.item)}). If you have imported a custom item component, please verify that you have imported the correct named/default export.`)),t.preview&&!eq(t.preview)&&n.push(ed(`The \`components.preview\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.preview)}). If you have imported a custom preview component, please verify that you have imported the correct named/default export.`)),n}let eH=/^[A-Za-z]+[0-9A-Za-z_]*$/,eG=/^[A-Za-z_]+[0-9A-Za-z_]*$/;function eW(e,t){var n;if(!(0,j.A)(e))return[ec(`Incorrect type for field definition - should be an object, saw ${$(e)}
3`,el.OBJECT_FIELD_DEFINITION_INVALID_TYPE)];let r=[];return r.push(..."name"in e?"string"!=typeof(n=e.name)?[ec(`Field names must be strings. Saw "${$(n)}"`,el.OBJECT_FIELD_NAME_INVALID)]:n.startsWith("_")?[ec(`Invalid field name "${n}". Field names cannot start with underscores "_" as it's reserved for system fields.`,el.OBJECT_FIELD_NAME_INVALID)]:eH.test(n)?eG.test(n)?[]:[ed("Thats an interesting field name for sure! But it is... how to put it... a bit... unconventional? It may be wise to keep special characters out of field names for easier access later on."),el.OBJECT_FIELD_NAME_INVALID]:[ec(`Invalid field name: "${n}". Fields can only contain characters from A-Z, numbers and underscores and should not start with a number (must pass the regular expression ${String(eH)}).`,el.OBJECT_FIELD_NAME_INVALID)]:[ec("Missing field name",el.OBJECT_FIELD_NAME_INVALID)]),r.push(...eV(e)),e.type&&"string"==typeof e.type&&t.getType(e.type)?.type==="document"&&r.push(ed(`The type "${e.type}" is a document type and should not be used as a field type directly. Use a "reference" if you want to create a link to the document, or use "object" if you want to embed fields inline.`,el.FIELD_TYPE_IS_DOCUMENT)),r}function eY(e,t={allowEmpty:!1}){let n=[];if(!Array.isArray(e))return[ec(`The "fields" property must be an array of fields. Instead saw "${typeof e}"`,el.OBJECT_FIELDS_INVALID)];(function(e){let t={};return e.forEach(e=>{t[e.name]||(t[e.name]=[]),t[e.name].push(e)}),Object.keys(t).map(e=>t[e].length>1?t[e]:null).filter(Boolean)})(e.filter(e=>"string"==typeof e.name)).forEach(e=>{n.push(ec(`Found ${e.length} fields with name "${e[0].name}" in object`,el.OBJECT_FIELD_NOT_UNIQUE))}),0!==e.length||t.allowEmpty||n.push(ec("Object should have at least one field",el.OBJECT_FIELDS_INVALID));let r=e.filter(e=>"block"===e.type).map(e=>`"${e.name}"`);if(r.length>0){let e=r.join(", ");n.push(ec(`Invalid standalone block field(s) ${e}. Block content must be defined as an array of blocks`,el.STANDALONE_BLOCK_TYPE))}return n}var eK=(e,t)=>{let n=eY(e.fields),r=e.preview;if(r){let t=function(e){return(0,j.A)(e)?"u">typeof e.prepare&&"function"!=typeof e.prepare?[ec(`The "preview.prepare" property must be a function, instead saw "${typeof e.prepare}"`)]:e.select?(0,j.A)(e.select)?Object.keys(e.select).reduce((t,n)=>"string"==typeof e.select[n]?t:t.concat(ec(`The key "${n}" of "preview.select" must be a string, instead saw "${typeof e.select[n]}"`)),[]):[ec(`The "preview.select" property must be an object, instead saw "${typeof e.prepare}"`)]:[]:[ec(`The "preview" property must be an object, instead saw "${typeof e}"`)]}(e.preview);n=n.concat(t),r=t.some(e=>"error"===e.severity)?{}:r}return"document"!==e.type&&"object"!==e.type&&"u">typeof e.initialValue&&n.push(ec('The "initialValue" property is currently only supported for document & object types.')),{...e,preview:r,fields:(Array.isArray(e.fields)?e.fields:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...s}=t.visit(i,n);return{name:r,...s,_problems:eW(e,t).concat(o||[])}}),_problems:n}};let eZ=["dimensions","hasAlpha","isOpaque"];var eX=(e,t)=>{let n=!!e.name;if(!n&&1===Object.keys(e).length)return{...e,_problems:[ec("Invalid/undefined type declaration, check declaration or the import/export of the schema type.",el.TYPE_INVALID)]};let r=[];return!function(e){return!e.name&&e.default&&(e.default.name||e.default.title)}(e)?n?t.isReserved(e.name)&&r.push(ec(`Invalid type name: "${e.name}" is a reserved name.`,el.TYPE_NAME_RESERVED)):r.push(ec("Missing type name",el.TYPE_MISSING_NAME)):r.push(ec("Type appears to be an ES6 module imported through CommonJS require - use an import statement or access the `.default` property",el.TYPE_IS_ESM_MODULE)),t.isDuplicate(e.name)&&r.push(ec(`Invalid type name: A type with name "${e.name}" is already defined in the schema.`)),r.push(...eV(e)),"title"in e&&"string"!=typeof e.title&&r.push(ed("Type title is not a string.",el.TYPE_TITLE_INVALID)),{...e,_problems:r}};let eJ={array:(e,t)=>{let n=Array.isArray(e.of);if(n){let n=e.of.reduce((e,n,r)=>{if("string"==typeof n.name&&n.name!==n.type&&eS.includes(n.name))return e.concat(ec(`Found array member declaration with the same type name as a built-in type ("${n.name}"). Array members can not be given the same name as a built-in type.`,el.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT));if("object"===n.type&&n.name&&t.getType(n.name))return e.concat(ed(`Found array member declaration with the same name as the global schema type "${n.name}". It's recommended to use a unique name to avoid possibly incompatible data types that shares the same name.`,el.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT));if("array"===n.type)return e.concat(ec('Found array member declaration of type "array" - multidimensional arrays are not currently supported by Sanity',el.ARRAY_OF_ARRAY));if(n)return e;let i=`Found ${null===n?"null":typeof n}, expected member declaration`;return e.concat(ec(`Found invalid type member declaration in array at index ${r}: ${i}`,el.ARRAY_OF_INVALID))},[]);if(n.length>0)return{...e,of:[],_problems:n}}let r=(0,I.A)([n?ex(e.of,e=>`${e.name};${e.type}`).map(e=>ec(`Found ${e.length} members with same type, but not unique names "${e[0].type}" in array. This makes it impossible to tell their values apart and you should consider naming them`,el.ARRAY_OF_NOT_UNIQUE)):ec('The array type is missing or having an invali
3d value for the required "of" property',el.ARRAY_OF_INVALID)]),i=n?e.of:[],o=i.some(e=>"object"===e.type&&typeof e.name>"u");i.some(e=>"block"===e.type)&&o&&r.push(ec("The array type's 'of' property can't have an object type without a 'name' property as member, when the 'block' type is also a member of that array.",el.ARRAY_OF_INVALID));let[s,a]=(0,R.A)(i,e=>eC(e.type)||eC(t.getType(e.type)?.jsonType)),l=s.length>0&&a.length>0;if(l){let e=s.map(e=>e.type),t=a.map(e=>e.type);r.push(ec(`The array type's 'of' property can't have both object types and primitive types (found primitive type ${eT(e)} ${N(e.map(eI))} and object type${eT(t)} ${N(t.map(eI))})`,el.ARRAY_OF_INVALID))}if(s.length>1){let e=new Map;for(let n of s){let r=function e(t,n){if("jsonType"in t)return t.jsonType;let r=n.getType(t.type);if(r)return e(r,n)}(n,t);if(r&&eC(r)){let t=e.get(r)||[];t.push(n),e.set(r,t)}}for(let[t,n]of e)if(n.length>1){let e=n.map(e=>e.name||e.type);r.push(ed(`Array cannot contain multiple members with JSON type "${t}" (${N(e.map(eI))}) as there is no way to distinguish between them`,el.ARRAY_OF_DUPLICATE_PRIMITIVE_JSON_TYPE))}}let u=e?.options?.list;return!l&&Array.isArray(u)&&(s.length>0?u.forEach(e=>{let n=e?.value??e;if(!s.some(e=>typeof n===t.getType(e.type).jsonType)){let e=N(s.map(e=>e.name||e.type),{conjunction:"or"});r.push(ec(`An invalid entry found in options.list: ${eO(n)}. Must be either a value of type ${e}, or an object with {title: string, value: ${e}}`,el.ARRAY_PREDEFINED_CHOICES_INVALID))}}):u.forEach(e=>{let t=e._type||"object";a.some(e=>(function(e,t){return("string"==typeof t.name?t.name:t.type)===e})(t,e))||r.push(ec(`An invalid entry found in options.list: ${eO(e)}. Must be an object with "_type" set to ${N(a.map(e=>e.name||e.type).map(e=>"object"===e?"undefined":eI(e)),{conjunction:"or"})}`,el.ARRAY_PREDEFINED_CHOICES_INVALID))})),e?.options?.list&&e?.options?.layout==="tags"&&r.push(ed("Found array member declaration with both tags layout and a list of predefined values. If you want to display a list of predefined values, remove the tags layout from `options`.")),{...e,of:i.map((e,n)=>{let r=t.visit(e,n);return e.type&&"string"==typeof e.type&&t.getType(e.type)?.type==="document"?{...r,_problems:[...r._problems||[],ed(`The type "${e.type}" is a document type and should not be used as a field type directly. Use a "reference" if you want to create a link to the document, or use "object" if you want to embed fields inline.`,el.FIELD_TYPE_IS_DOCUMENT)]}:r}),_problems:r}},object:eK,slug:(e,t)=>{let n=[];return e.options&&e.options.slugifyFn&&(n.push(ed('Heads up! The "slugifyFn" option has been renamed to "slugify".',el.SLUG_SLUGIFY_FN_RENAMED)),e.options.slugify=e.options.slugifyFn),{...e,_problems:n}},file:(e,t)=>{let n=[],r=e.fields;r&&n.push(...eY(r,{allowEmpty:!0}));let i=Array.isArray(r)?r?.filter(e=>"asset"===e.name):[];return e.options&&"u">typeof e.options.metadata&&!Array.isArray(e.options.metadata)?n.push(ec("Invalid type for file `metadata` field - must be an array of strings",el.ASSET_METADATA_FIELD_INVALID)):i.length>0&&n.push(ec("The name `asset` is not a valid field name for type `file`.")),{...e,fields:(Array.isArray(r)?r:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...s}=t.visit(i,n);return{name:r,...s,_problems:eW(e,t).concat(o||[])}}),_problems:n}},image:(e,t)=>{let n=[],r=e.fields;r&&n.push(...eY(r,{allowEmpty:!0}));let i=e.options,o=i?.metadata,s=Array.isArray(o)?o.filter(e=>eZ.includes(e)):[],a=["asset","hotspot","crop"],l=Array.isArray(r)?r?.filter(e=>a.includes(e.name)):[];return"u">typeof o&&!Array.isArray(o)?n.push(ec("Invalid type for image `metadata` field - must be an array of strings",el.ASSET_METADATA_FIELD_INVALID)):s.length>0?(n.push(ed(`Image \`metadata\` field contains superfluous properties (they are always included): ${s.join(", ")}`)),i={...i,metadata:o.filter(e=>!eZ.includes(e))}):l.length>0&&n.push(ec(`The names \`${a.join("`, `")}\` are invalid field names for type \`image\`.`)),{...e,options:i,fields:(Array.isArray(r)?r:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...s}=t.visit(i,n);return{name:r,...s,_problems:eW(e,t).concat(o||[])}}),_problems:n}},block:function(e,t){var n,r,i,o,s,a,l,u,c;let d=[],f=e.styles,h=e.lists,p=e.marks,g=e.of,m=Object.keys(e).filter(e=>!ej.includes(e)&&!e.startsWith("_"));return m.length>0&&d.push(ec(`Found unknown properties for block declaration: ${N(m.map(eD))}`)),p&&(p=function(e,t,n){var r,i,o,s,a,l;let u=e.decorators,c=e.annotations;if(!(0,j.A)(e))return n.push(ec(`"marks" declaration should be an object, got ${eR(e)}`)),n;let d=Object.keys(e).filter(e=>!eM.includes(e)&&!e.startsWith("_"));return d.length>0&&n.push(ec(`Found unknown properties for block declaration: ${N(d.map(eD))}`)),u&&!Array.isArray(u)?n.push(ec(`"marks.decorators" declaration should be an array, got ${eR(u)}`)):u&&(u.filter(e=>
3!!e.blockEditor).forEach(e=>{e.icon=e.blockEditor.icon,e.component=e.blockEditor.render}),r=u,i=0,o=n,r.forEach((e,t)=>{if(!(0,j.A)(e))return void o.push(ec(`Annotation must be an object, got ${eR(e)}`));let n=e.value||`#${t}`,r=Object.keys(e).filter(e=>!eF.includes(e)&&!e.startsWith("_"));r.length>0&&o.push(ec(`Found unknown properties for decorator ${n}: ${N(r.map(eD))}`)),e.value?"string"!=typeof e.value?o.push(ec(`Decorator #${t} has an invalid "value" property, expected string, got ${eR(e.value)}`)):e.title||o.push(ed(`Decorator ${n} is missing recommended "title" property`)):o.push(ec(`Decorator #${t} is missing required "value" property`)),"u">typeof e.blockEditor&&(o.push(ed(`Decorator "${n}" has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.`,el.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,e.component=e.component||e.blockEditor.render)}),u=r),c&&!Array.isArray(c)?n.push(ec(`"marks.annotations" declaration should be an array, got ${eR(c)}`)):c&&(s=c,a=t,l=n,c=s.map(e=>{if(!(0,j.A)(e))return{...e,_problems:[ec(`Annotation must be an object, got ${eR(e)}`)]};let{_problems:t}=a.visit(e,a),n=e.type&&a.getType(e.type);return n&&("jsonType"in n||"type"in n)&&!function e(t,n,r){if("jsonType"in t)return t.jsonType===n;let i=r.getType(t.type);if(!i)throw Error(`Could not resolve jsonType of ${t.name}. No parent type found`);return e(i,n,r)}(n,"object",a)&&t.push(ec(`Annotation cannot have type "${e.type}" - annotation types must inherit from object`)),"u">typeof e.blockEditor&&(l.push(ed('Annotation has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',el.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,e.blockEditor?.render&&!e.components?.annotation&&(e.components=e.components||{},e.components.annotation=e.components.annotation||e.blockEditor.render)),{...e,_problems:t}})),{...e,decorators:u,annotations:c}}(e.marks,t,d)),f&&(n=f,r=0,i=d,f=Array.isArray(n)?(n.forEach((e,t)=>{if(!(0,j.A)(e))return void i.push(ec(`Style must be an object, got ${eR(e)}`));let n=e.value||`#${t}`,r=Object.keys(e).filter(e=>!eN.includes(e)&&!e.startsWith("_"));r.length>0&&i.push(ec(`Found unknown properties for style ${n}: ${N(r.map(eD))}`)),e.value?"string"!=typeof e.value?i.push(ec(`Style #${t} has an invalid "value" property, expected string, got ${eR(e.value)}`)):e.title||i.push(ed(`Style ${n} is missing recommended "title" property`)):i.push(ec(`Style #${t} is missing required "value" property`)),"u">typeof e.blockEditor&&(i.push(ed('Style has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',el.DEPRECATED_BLOCKEDITOR_KEY)),e.component=e.component||e.blockEditor.render)}),n):(i.push(ec(`"styles" declaration should be an array, got ${eR(n)}`)),i)),h&&(o=h,s=0,a=d,h=Array.isArray(o)?(o.forEach((e,t)=>{if(!(0,j.A)(e))return void a.push(ec(`List must be an object, got ${eR(e)}`));let n=e.value||`#${t}`,r=Object.keys(e).filter(e=>!e$.includes(e)&&!e.startsWith("_"));r.length>0&&a.push(ec(`Found unknown properties for list ${n}: ${N(r.map(eD))}`)),e.value?"string"!=typeof e.value?a.push(ec(`List type #${t} has an invalid "value" property, expected string, got ${eR(e.value)}`)):e.title||a.push(ed(`List type ${n} is missing recommended "title" property`)):a.push(ec(`List #${t} is missing required "value" property`))}),o):(a.push(ec(`"lists" declaration should be an array, got ${eR(o)}`)),a)),g&&(l=g,u=t,c=d,g=Array.isArray(l)?l.map(e=>{let{_problems:t}=u.visit(e,u);if("object"===e.type&&e.name&&u.getType(e.name))return{...e,_problems:[ed(`Found array member declaration with the same name as the global schema type "${e.name}". It's recommended to use a unique name to avoid possibly incompatible data types that shares the same name.`,el.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT)]};let n=e;for(;n&&!n.jsonType;)n=u.getType(n.type);let r=eS.filter(e=>!eP.includes(e));return n&&"object"!==n.jsonType||r.some(t=>t===e.type)?{...e,_problems:[ec(`Block member types must be a supported object-like type. The following built-in types are supported: '${eP.join("', '")}'. You can also use shorthands for previously defined object types like {type: 'myObjectType'}`,el.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT)]}:{...e,_problems:t}}):void c.push(ec(`"of" declaration should be an array, got ${eR(l)}
3`))),{...(0,D.A)(e,m),marks:p,styles:f,name:e.name||e.type,of:g,_problems:d}},document:(e,t)=>{let n=eK(e,t),{initialValue:r,initialValues:i}=n;return"u">typeof r&&!(0,j.A)(r)&&"function"!=typeof r&&n._problems.push(ec('The "initialValue" property must be either a plain object or a function')),"u">typeof i&&n._problems.push(ec('Found property "initialValues" - did you mean "initialValue"?')),n},reference:(e,t)=>{let n=Array.isArray(e.to)||(0,j.A)(e.to),r=function(e){return Array.isArray(e.to)?e.to:e.to?[e.to]:e.to}(e),i=(0,I.A)([n?ex(r,e=>`${e.name};${e.type}`).map(e=>ec(`Found ${e.length} members with same type, but not unique names "${e[0].type}" in reference. This makes it impossible to tell their values apart and you should consider naming them`,el.REFERENCE_TO_INVALID)):ec('The reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',el.REFERENCE_TO_INVALID)]);return n&&0===r.length&&i.push(ec('The reference type should define at least one accepted type. Please check the "to" property.',el.REFERENCE_TO_INVALID)),i.push(...function(e){let{options:t}=e,n=[];return n.push(...["filter","filterParams"].filter(t=>t in e).map(e=>ec(`\`${e}\` is not allowed on a reference type definition - did you mean \`options.${e}\`?`,el.REFERENCE_INVALID_OPTIONS_LOCATION))),t?(0,j.A)(t)?"function"==typeof t.filter&&"u">typeof t.filterParams?n.concat(ec("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",el.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof t.filter&&(t.filter||t.filterParams)?"string"!=typeof t.filter?n.concat(ec(`If set, \`filter\` must be a string. Got ${typeof t.filter}`)):"u">typeof t.filterParams&&!(0,j.A)(t.filterParams)?n.concat(ec("If set, `filterParams` must be an object.")):t.filterParams?n.concat(Object.keys(t.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>ec(`Filter parameter cannot be prefixed with "$" or "__". Got ${e}".`))):n:n:n.concat(ec("The reference type expects `options` to be an object",el.REFERENCE_INVALID_OPTIONS)):n}(e)),{...e,to:(n?r:[]).map(t.visit),_problems:i}},crossDatasetReference:(e,t)=>{let n=Array.isArray(e.to)||(0,j.A)(e.to),r=function(e){return Array.isArray(e.to)?e.to:e.to?[e.to]:e.to}(e),i=(0,I.A)([n?ex(r,e=>`${e.name};${e.type}`).map(e=>ec(`Found ${e.length} members with same type, but not unique names "${e[0].type}" in reference. This makes it impossible to tell their values apart and you should consider naming them`,el.CROSS_DATASET_REFERENCE_INVALID)):ec('The cross dataset reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',el.CROSS_DATASET_REFERENCE_INVALID)]);if(n&&0===r.length&&i.push(ec('The cross dataset reference type should define at least one referenced type. Please check the "to" property.',el.CROSS_DATASET_REFERENCE_INVALID)),r.forEach((e,t)=>{e.type||i.push(ec(`The referenced type at index ${t} must be named. Specify the name of the type you want to create references to.`,el.CROSS_DATASET_REFERENCE_INVALID)),(0,j.A)(e.preview)||i.push(ec(`Missing required preview config for the referenced type "${e.type||"<unknown type>"}"`,el.CROSS_DATASET_REFERENCE_INVALID))}),"string"==typeof e.dataset){let t=function(e){return e.length>=2&&e.toLowerCase()===e&&eU.test(e)||`The provided dataset "${e}" doesn't look like a valid dataset. Dataset names must be more than 2 characters, can only contain lowercase characters, numbers, underscores and dashes and can not start with a dash or an underscore`}(e.dataset);!0!==t&&i.push(ec(t,el.CROSS_DATASET_REFERENCE_INVALID))}else i.push(ec("A cross dataset reference must specify a `dataset`",el.CROSS_DATASET_REFERENCE_INVALID));return e.studioUrl&&"function"!=typeof e.studioUrl&&i.push(ec('The "studioUrl" property on a cross dataset reference must be a function taking "{id, type}" as argument and returning a studio url.',el.CROSS_DATASET_REFERENCE_INVALID)),i.push(...function(e){let{options:t}=e,n=[];return n.push(...["filter","filterParams"].filter(t=>t in e).map(e=>ec(`\`${e}\` is not allowed on a reference type definition - did you mean \`options.${e}\`?`,el.REFERENCE_INVALID_OPTIONS_LOCATION))),t?(0,j.A)(t)?"function"==typeof t.filter&&"u">typeof t.filterParams?n.concat(ec("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",el.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof t.filter&&(t.filter||t.filterParams)?"string"!=typeof t.filter?n.concat(ec(`If set, \`filter\` must be a string. Got ${typeof t.filter}`)):"u">typeof t.filterParams&&!(0,j.A)(t.filterParams)?n.concat(ec("If set, `filterParams` must be an object.")):t.filterParams?n.concat(Object.keys(t.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>ec(`Filter parameter cannot be prefixed with "$" or "__". Got ${e}".`))):n:n:n.concat(ec("The reference type expects `options` to be an object",el.REFERENCE_INVALID_OPTIONS)):n}(e)),{...e,_problems:i}},globalDocumentReference:(e,t)=>{let n=Array.isArray(e.to)||(0,j.A)(e.to),r=function(e){return Array.isArray(e.to)?e.to:e.to?[e.to]:[]}(e),i=(0,I.A)([n?ex(r,e=>`${e.name};${e.type}`).map(e=>ec(`Found ${e.length} members with same type, but not unique names "${e[0].type}" in reference. This makes it impossible to tell their values apart and you should consider naming them`,el.GLOBAL_DOCUMENT_REFERENCE_INVALID)):ec('The global document reference type is missing or having an invali
3d value for the required "to" property. It should be an array of accepted types.',el.GLOBAL_DOCUMENT_REFERENCE_INVALID)]);if(n&&0===r.length&&i.push(ec('The global document reference type should define at least one referenced type. Please check the "to" property.',el.GLOBAL_DOCUMENT_REFERENCE_INVALID)),r.forEach((e,t)=>{e.type||i.push(ec(`The referenced type at index ${t} must be named. Specify the name of the type you want to create references to.`,el.GLOBAL_DOCUMENT_REFERENCE_INVALID)),(0,j.A)(e.preview)||i.push(ec(`Missing required preview config for the referenced type "${e.type||"<unknown type>"}"`,el.GLOBAL_DOCUMENT_REFERENCE_INVALID))}),"string"==typeof e.resourceType){let t=function(e){return e?"media-library"==e||"dataset"==e||'The resource type must be either "media-library" or "dataset"':"The resource type must be a non-empty string"}(e.resourceType);!0!==t&&i.push(ec(t,el.GLOBAL_DOCUMENT_REFERENCE_INVALID))}else i.push(ec("A global document reference must specify a `resourceType`",el.GLOBAL_DOCUMENT_REFERENCE_INVALID));if("string"==typeof e.resourceId){let t=function(e,t){return t?"dataset"===e?2===t.split(".").length||'The resource ID for a dataset reference must be on the form "<projectId>.<datasetName>"':"media-library"===e||`Cannot validate resource ID for resource type: ${e}`:"The resource ID must be a non-empty string"}(e.resourceType,e.resourceId);!0!==t&&i.push(ec(t,el.GLOBAL_DOCUMENT_REFERENCE_INVALID))}else i.push(ec("A global document reference must specify a `resourceId`",el.GLOBAL_DOCUMENT_REFERENCE_INVALID));return e.studioUrl&&"function"!=typeof e.studioUrl&&"string"!=typeof e.studioUrl&&i.push(ec('The "studioUrl" property on a global document reference must either be a function taking "{id, type}" as argument and returning a studio url, or a string being the base url pointing to a studio.',el.GLOBAL_DOCUMENT_REFERENCE_INVALID)),i.push(...function(e){let{options:t}=e,n=[];return n.push(...["filter","filterParams"].filter(t=>t in e).map(e=>ec(`\`${e}\` is not allowed on a reference type definition - did you mean \`options.${e}\`?`,el.REFERENCE_INVALID_OPTIONS_LOCATION))),t?(0,j.A)(t)?"function"==typeof t.filter&&"u">typeof t.filterParams?n.concat(ec("`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",el.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof t.filter&&(t.filter||t.filterParams)?"string"!=typeof t.filter?n.concat(ec(`If set, \`filter\` must be a string. Got ${typeof t.filter}`)):"u">typeof t.filterParams&&!(0,j.A)(t.filterParams)?n.concat(ec("If set, `filterParams` must be an object.")):t.filterParams?n.concat(Object.keys(t.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>ec(`Filter parameter cannot be prefixed with "$" or "__". Got ${e}".`))):n:n:n.concat(ec("The reference type expects `options` to be an object",el.REFERENCE_INVALID_OPTIONS)):n}(e)),{...e,_problems:i}}};function eQ(...e){return(t,n)=>e.reduce((e,t)=>{let r=t(e,n);return{...r,_problems:e._problems.concat(r._problems)}},{_problems:[],...t})}function e0(e,{transformTypeVisitors:t=e=>e,transformCommonVisitors:n=e=>e}={}){return function(e=[],t=[],n=e=>e){let r=Object.create(null),i=Object.create(null),o=t.map(e=>e.name),s=eE.concat(o),a=e.map(e=>e&&e.name).filter(Boolean);function l(e){return"type"===e?ek:r[e]||i[e]||null}t.forEach(e=>{r[e.name]=e}),e.forEach((e,t)=>{i[e&&e.name||`__unnamed_${t}`]={}});let u=(0,O.A)((0,I.A)(ex(a)));function c(e){return u.includes(e)}function d(){return a.concat(o)}function f(e){return"type"===e||s.includes(e)}let h=e=>(t,r)=>n(t,{visit:h(!1),isRoot:e,getType:l,getTypeNames:d,isReserved:f,isDuplicate:c,index:r});return t.forEach(e=>{Object.assign(r[e.name],h(e))}),e.forEach((e,t)=>{Object.assign(i[e&&e.name||`__unnamed_${t}`],h(!0)(e,t))}),{get(e){let t=i[e]||r[e];if(t)return t;throw Error(`No such type: ${e}`)},has:e=>e in i||e in r,getTypeNames:()=>Object.keys(i),getTypes(){return this.getTypeNames().map(this.get)},toJSON(){return this.getTypes()}}}(e,eA,(e,r)=>{let i=e&&e.type&&t(eJ)[e.type]||(e=>({name:`<unnamed_type_@_index_${r.index}>`,...e,_problems:[]})),o=n([ez]);return r.isRoot?eQ(eX,...o,i)(e,r):eQ(...o,i)(e,r)})}M.Sj.compile({name:"studio",types:ea})}
3,10899:(e,t,n)=>{"use strict";function r(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:()=>r})},10993:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>u});var r=n(9784),i=n(853),o=n(39860);let s=(0,o.lazy)(()=>n.e(7256).then(n.bind(n,87256)));function a(e){return(0,r.jsx)(o.Suspense,{fallback:null,children:(0,r.jsx)(s,{...e})})}let l="https://core.sanity-cdn.com/bridge.js";function u(e){return(0,i.preloadModule)(l,{as:"script"}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{src:l,async:!0,type:"module","data-sanity-core":!0}),(0,r.jsx)(a,{...e})]})}},11331:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return null!=e&&"object"==typeof e}},11506:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(78419),i=n(61571),o=n(96939),s=n(25030);let a=(0,r._C)(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n,r;if(n=t,(r=e)&&(function(e,t){let n=e.message,r=t.message;return(!!n||!!r)&&(!n||!!r)&&(!!n||!r)&&n===r&&!!u(e,t)&&!!l(e,t)&&!0}(n,r)||function(e,t){let n=c(t),r=c(e);return!!n&&!!r&&n.type===r.type&&n.value===r.value&&!!u(e,t)&&!!l(e,t)}(n,r)))return i.T&&o.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}});function l(e,t){let n=(0,s.RV)(e),r=(0,s.RV)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function u(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function c(e){return e.exception&&e.exception.values&&e.exception.values[0]}},11747:function(e,t,n){var r=n(87358);(function(){var t,n,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=r&&r.hrtime?(e.exports=function(){return(t()-o)/1e6},n=r.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()-1e9*r.uptime()):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(this)},11748:(e,t,n)=>{"use strict";var r,i,o=Object.create,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))c.call(e,i)||i===n||s(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},f={};((e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})})(f,{$dispatcherGuard:()=>E,$makeReadOnly:()=>S,$reset:()=>A,$structuralCheck:()=>R,c:()=>v,clearRenderCounterRegistry:()=>I,renderCounterRegistry:()=>C,useRenderCounter:()=>T}),e.exports=d(s({},"__esModule",{value:!0}),f);var h=((e,t,n)=>(n=null!=e?o(u(e)):{},d(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)))(n(39860)),{useRef:p,useEffect:g,isValidElement:m}=h,y=null!=(r=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?r:h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=Symbol.for("react.memo_cache_sentinel"),v="function"==typeof(null==(i=h.__COMPILER_RUNTIME)?void 0:i.c)?h.__COMPILER_RUNTIME.c:function(e){return h.useMemo(()=>{let t=Array(e);for(let n=0;n<e;n++)t[n]=b;return t[b]=!0,t},[])},w={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{w[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var _=null;function x(e){return y.ReactCurrentDispatcher.current=e,y.ReactCurrentDispatcher.current}w.useMemoCache=e=>{if(null!=_)return _.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var k=[];function E(e){let t=y.ReactCurrentDispatcher.current;if(0===e){if(k.push(t),1===k.length&&(_=t),t===w)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");x(w)}else if(1===e){let e=k.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===k.length&&(_=null),x(e)}else if(2===e)k.push(t),x(_);else if(3===e){let e=k.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");x(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function A(e){for(let t=0;t<e.length;t++)e[t]=b}function S(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var C=new Map;
3function I(){for(let e of C.values())e.forEach(e=>{e.count=0})}function T(e){let t=p(null);null!=t.current&&(t.current.count+=1),g(()=>{if(null==t.current){let n,r={count:0};null==(n=C.get(e))&&(n=new Set,C.set(e,n)),n.add(r),t.current=r}return()=>{null!==t.current&&function(e,t){let n=C.get(e);null!=n&&n.delete(t)}(e,t.current)}})}var O=new Set;function R(e,t,n,r,i,o){function s(e,t,s,a){let l=`${r}:${o} [${i}] ${n}${s} changed from ${e} to ${t} at depth ${a}`;O.has(l)||(O.add(l),console.error(l))}!function e(t,n,r,i){if(!(i>2)){if(t!==n)if(typeof t!=typeof n)s(`type ${typeof t}`,`type ${typeof n}`,r,i);else if("object"==typeof t){let o=Array.isArray(t),a=Array.isArray(n);if(null===t&&null!==n)s("null",`type ${typeof n}`,r,i);else if(null===n)s(`type ${typeof t}`,"null",r,i);else if(t instanceof Map)if(n instanceof Map)if(t.size!==n.size)s(`Map instance with size ${t.size}`,`Map instance with size ${n.size}`,r,i);else for(let[o,a]of t)n.has(o)?e(a,n.get(o),`${r}.get(${o})`,i+1):s(`Map instance with key ${o}`,`Map instance without key ${o}`,r,i);else s("Map instance","other value",r,i);else if(n instanceof Map)s("other value","Map instance",r,i);else if(t instanceof Set)if(n instanceof Set)if(t.size!==n.size)s(`Set instance with size ${t.size}`,`Set instance with size ${n.size}`,r,i);else for(let e of n)t.has(e)||s(`Set instance without element ${e}`,`Set instance with element ${e}`,r,i);else s("Set instance","other value",r,i);else if(n instanceof Set)s("other value","Set instance",r,i);else if(o||a)if(o!==a)s(`type ${o?"array":"object"}`,`type ${a?"array":"object"}`,r,i);else if(t.length!==n.length)s(`array with length ${t.length}`,`array with length ${n.length}`,r,i);else for(let o=0;o<t.length;o++)e(t[o],n[o],`${r}[${o}]`,i+1);else if(m(t)||m(n))m(t)!==m(n)?s(`type ${m(t)?"React element":"object"}`,`type ${m(n)?"React element":"object"}`,r,i):t.type!==n.type?s(`React element of type ${t.type}`,`React element of type ${n.type}`,r,i):e(t.props,n.props,`[props of ${r}]`,i+1);else{for(let e in n)e in t||s(`object without key ${e}`,`object with key ${e}`,r,i);for(let o in t)o in n?e(t[o],n[o],`${r}.${o}`,i+1):s(`object with key ${o}`,`object without key ${o}`,r,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(n)?isNaN(t)!==isNaN(n)&&s(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(n)?"NaN":"non-NaN value"}`,r,i):t!==n&&s(t,n,r,i)}}}(e,t,"",0)}},11867:(e,t)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){return t}t.TS=function(e,t,o){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i;return function e(t,o,s,l){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,c=Array.isArray(s)?"array":null===s?"null":r(s);return"object"===c?function(t,r,o,s){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,u=n(a(t,r,o,s),2),c=u[0],d=u[1];return c?d:Object.keys(o).reduce(function(t,n){return e(t,r,o[n],s.concat(l(o[n],n,o)),l)},d)}(t,o,s,l,u):"array"===c?function(t,r,o,s){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,u=n(a(t,r,o,s),2),c=u[0],d=u[1];return c?d:o.reduce(function(t,n,i){return e(t,r,n,s.concat(l(n,i,o)),l)},d)}(t,o,s,l,u):n(a(t,o,s,l),2)[1]}(o,t,e,[],s)};var o={_:"SKIP_MARKER"};function s(e){return[o,e]}function a(e,t,n,r){var i=t(e,n,r);return i===s?[!0,e]:Array.isArray(i)&&i[0]===o?[!0,i[1]]:[!1,i]}},12668:(e,t,n)=>{"use strict";function r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:()=>r})},12718:(e,t,n)=>{"use strict";n.d(t,{E:()=>i,b:()=>o});var r=n(33421),i=new(n(44289)).q(r.R),o=i}
3,12948:(e,t,n)=>{"use strict";let r=n(95934);e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},13132:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},13348:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=Math.floor,i=Math.random;let o=function(e){var t,n=e.length;return n?e[t=n-1,0+r(i()*(t-0+1))]:void 0};var s=n(73308),a=n(64536);let l=function(e){return((0,a.A)(e)?o:function(e){return o((0,s.A)(e))})(e)}},13680:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(42557),i=n(70551),o=n(75130),s=n(34721);let a=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e};var l=n(35668),u=n(59027);let c=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=(0,u.A)(e),s=void 0!==t,a=null===t,l=t==t,c=(0,u.A)(t);if(!a&&!c&&!o&&e>t||o&&s&&l&&!a&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!l)return -1}return 0},d=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var l=c(i[r],o[r]);if(l){if(r>=a)return l;return l*("desc"==n[r]?-1:1)}}return e.index-t.index};var f=n(92729),h=n(64536);let p=function(e,t,n){t=t.length?(0,r.A)(t,function(e){return(0,h.A)(e)?function(t){return(0,i.A)(t,1===e.length?e[0]:e)}:e}):[f.A];var u=-1;return t=(0,r.A)(t,(0,l.A)(o.A)),a((0,s.A)(e,function(e,n,i){return{criteria:(0,r.A)(t,function(t){return t(e)}),index:++u,value:e}}),function(e,t){return d(e,t,n)})}},13774:e=>{"use strict";let{entries:t,setPrototypeOf:n,isFrozen:r,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object,{freeze:s,seal:a,create:l}=Object,{apply:u,construct:c}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),c||(c=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});let d=A(Array.prototype.forEach),f=A(Array.prototype.lastIndexOf),h=A(Array.prototype.pop),p=A(Array.prototype.push),g=A(Array.prototype.splice),m=A(String.prototype.toLowerCase),y=A(String.prototype.toString),b=A(String.prototype.match),v=A(String.prototype.replace),w=A(String.prototype.indexOf),_=A(String.prototype.trim),x=A(Object.prototype.hasOwnProperty),k=A(RegExp.prototype.test),E=(K=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(K,t)});function A(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return u(e,t,r)}}function S(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;n&&n(e,null);let o=t.length;for(;o--;){let n=t[o];if("string"==typeof n){let e=i(n);e!==n&&(r(t)||(t[o]=e),n=e)}e[n]=!0}return e}function C(e){let n=l(null);for(let[r,i]of t(e))x(e,r)&&(Array.isArray(i)?n[r]=function(e){for(let t=0;t<e.length;t++)x(e,t)||(e[t]=null);return e}(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=C(i):n[r]=i);return n}function I(e,t){for(;null!==e;){let n=o(e,t);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}e=i(e)}return function(){return null}}let T=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O
3=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),j=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=s(["#text"]),F=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),$=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
3subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\$\{[\w\W]*/gm),q=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),V=a(/^aria-[\-\w]+$/),H=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i);var K,Z=Object.freeze({__proto__:null,ARIA_ATTR:V,ATTR_WHITESPACE:W,CUSTOM_ELEMENT:a(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:q,DOCTYPE_NAME:Y,ERB_EXPR:U,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:z,TMPLIT_EXPR:B});let X={element:1,text:3,progressingInstruction:7,comment:8,document:9},J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Q=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};e.exports=function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.3.1",i.removed=[],!r||!r.document||r.document.nodeType!==X.document||!r.Element)return i.isSupported=!1,i;let{document:o}=r,a=o,u=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:A,Node:z,Element:U,NodeFilter:B,NamedNodeMap:q=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:V,DOMParser:G,trustedTypes:W}=r,K=U.prototype,ee=I(K,"cloneNode"),et=I(K,"remove"),en=I(K,"nextSibling"),er=I(K,"childNodes"),ei=I(K,"parentNode");if("function"==typeof A){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let eo="",{implementation:es,createNodeIterator:ea,createDocumentFragment:el,getElementsByTagName:eu}=o,{importNode:ec}=a,ed=Q();i.isSupported="function"==typeof t&&"function"==typeof ei&&es&&void 0!==es.createHTMLDocument;let{MUSTACHE_EXPR:ef,ERB_EXPR:eh,TMPLIT_EXPR:ep,DATA_ATTR:eg,ARIA_ATTR:em,IS_SCRIPT_OR_DATA:ey,ATTR_WHITESPACE:eb,CUSTOM_ELEMENT:ev}=Z,{IS_ALLOWED_URI:ew}=Z,e_=null,ex=S({},[...T,...O,...R,...j,...N]),ek=null,eE=S({},[...F,...$,...P,...L]),eA=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eS=null,eC=null,eI=Object.seal(l(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eT=!0,eO=!0,eR=!1,eD=!0,ej=!1,eM=!0,eN=!1,eF=!1,e$=!1,eP=!1,eL=!1,ez=!1,eU=!0,eB=!1,eq=!0,eV=!1,eH={},eG=null,eW=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eY=null,eK=S({},["audio","video","img","source","image","track"]),eZ=null,eX=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eJ="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",e0="http://www.w3.org/1999/xhtml",e1=e0,e2=!1,e3=null,e5=S({},[eJ,eQ,e0],y),e4=S({},["mi","mo","mn","ms","mtext"]),e6=S({},["annotation-xml"]),e8=S({},["title","style","font","a","script"]),e9=null,e7=["application/xhtml+xml","text/html"],te=null,tt=null,tn=o.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},ti=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tt||tt!==e){if(e&&"object"==typeof e||(e={}),e=C(e),te="application/xhtml+xml"===(e9=-1===e7.indexOf(e.PARSER_MEDIA_TYPE
3)?"text/html":e.PARSER_MEDIA_TYPE)?y:m,e_=x(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,te):ex,ek=x(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,te):eE,e3=x(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,y):e5,eZ=x(e,"ADD_URI_SAFE_ATTR")?S(C(eX),e.ADD_URI_SAFE_ATTR,te):eX,eY=x(e,"ADD_DATA_URI_TAGS")?S(C(eK),e.ADD_DATA_URI_TAGS,te):eK,eG=x(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,te):eW,eS=x(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,te):C({}),eC=x(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,te):C({}),eH=!!x(e,"USE_PROFILES")&&e.USE_PROFILES,eT=!1!==e.ALLOW_ARIA_ATTR,eO=!1!==e.ALLOW_DATA_ATTR,eR=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eD=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ej=e.SAFE_FOR_TEMPLATES||!1,eM=!1!==e.SAFE_FOR_XML,eN=e.WHOLE_DOCUMENT||!1,eP=e.RETURN_DOM||!1,eL=e.RETURN_DOM_FRAGMENT||!1,ez=e.RETURN_TRUSTED_TYPE||!1,e$=e.FORCE_BODY||!1,eU=!1!==e.SANITIZE_DOM,eB=e.SANITIZE_NAMED_PROPS||!1,eq=!1!==e.KEEP_CONTENT,eV=e.IN_PLACE||!1,ew=e.ALLOWED_URI_REGEXP||H,e1=e.NAMESPACE||e0,e4=e.MATHML_TEXT_INTEGRATION_POINTS||e4,e6=e.HTML_INTEGRATION_POINTS||e6,eA=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eA.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eA.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eA.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ej&&(eO=!1),eL&&(eP=!0),eH&&(e_=S({},N),ek=[],!0===eH.html&&(S(e_,T),S(ek,F)),!0===eH.svg&&(S(e_,O),S(ek,$),S(ek,L)),!0===eH.svgFilters&&(S(e_,R),S(ek,$),S(ek,L)),!0===eH.mathMl&&(S(e_,j),S(ek,P),S(ek,L))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?eI.tagCheck=e.ADD_TAGS:(e_===ex&&(e_=C(e_)),S(e_,e.ADD_TAGS,te))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?eI.attributeCheck=e.ADD_ATTR:(ek===eE&&(ek=C(ek)),S(ek,e.ADD_ATTR,te))),e.ADD_URI_SAFE_ATTR&&S(eZ,e.ADD_URI_SAFE_ATTR,te),e.FORBID_CONTENTS&&(eG===eW&&(eG=C(eG)),S(eG,e.FORBID_CONTENTS,te)),e.ADD_FORBID_CONTENTS&&(eG===eW&&(eG=C(eG)),S(eG,e.ADD_FORBID_CONTENTS,te)),eq&&(e_["#text"]=!0),eN&&S(e_,["html","head","body"]),e_.table&&(S(e_,["tbody"]),delete eS.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=J(W,u)),null!==n&&"string"==typeof eo&&(eo=n.createHTML(""));s&&s(e),tt=e}},to=S({},[...O,...R,...D]),ts=S({},[...j,...M]),ta=function(e){let t=ei(e);t&&t.tagName||(t={namespaceURI:e1,tagName:"template"});let n=m(e.tagName),r=m(t.tagName);return!!e3[e.namespaceURI]&&(e.namespaceURI===eQ?t.namespaceURI===e0?"svg"===n:t.namespaceURI===eJ?"svg"===n&&("annotation-xml"===r||e4[r]):!!to[n]:e.namespaceURI===eJ?t.namespaceURI===e0?"math"===n:t.namespaceURI===eQ?"math"===n&&e6[r]:!!ts[n]:e.namespaceURI===e0?(t.namespaceURI!==eQ||!!e6[r])&&(t.namespaceURI!==eJ||!!e4[r])&&!ts[n]&&(e8[n]||!to[n]):"application/xhtml+xml"===e9&&!!e3[e.namespaceURI])},tl=function(e){p(i.removed,{element:e});try{ei(e).removeChild(e)}catch(t){et(e)}},tu=function(e,t){try{p(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eP||eL)try{tl(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tc=function(e){let t=null,r=null;if(e$)e="<remove></remove>"+e;else{let t=b(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===e9&&e1===e0&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let i=n?n.createHTML(e):e;if(e1===e0)try{t=new G().parseFromString(i,e9)}catch(e){}if(!t||!t.documentElement){t=es.createDocument(e1,"template",null);try{t.documentElement.innerHTML=e2?eo:i}catch(e){}}let s=t.body||t.documentElement;return(e&&r&&s.insertBefore(o.createTextNode(r),s.childNodes[0]||null),e1===e0)?eu.call(t,eN?"html":"body")[0]:eN?t.documentElement:s},td=function(e){return ea.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},tf=function(e){return e instanceof V&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof q)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},th=function(e){return"function"==typeof z&&e instanceof z};function tp(e,t,n){d(e,e=>{e.call(i,t,n,tt)})}let tg=function(e){let t=null;if(tp(ed.beforeSanitizeElements,e,null),tf(e))return tl(e),!0;let n=te(e.nodeName);if(tp(ed.uponSanitizeElement,e,{tagName:n,allowedTags:e_}),eM&&e.hasChildNodes()&&!th(e.firstElementChild)&&k(/<[/\w!]/g,e.innerHTML)&&k(/<[/\w!]/g,e.textContent)||e.nodeType===X.progressingInstruction||eM&&e.nodeType===X.comment&&k(/<[/\w]/g,e.data))return tl(e),!0;if(!(eI.tagCheck instanceof Function&&eI.tagCheck(n))&&(!e_[n]||eS[n])){if(!eS[n]&&ty(n)&&(eA.tagNameCheck instanceof RegExp&&k(eA.tagNameCheck,n)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(n)))return!1;if(eq&&!eG[n]){let t=ei(e)||e.parentNode,n=er(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=ee(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,en(e))}}}return tl(e),!0}
3return e instanceof U&&!ta(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&k(/<\/no(script|embed|frames)/i,e.innerHTML)?(tl(e),!0):(ej&&e.nodeType===X.text&&(t=e.textContent,d([ef,eh,ep],e=>{t=v(t,e," ")}),e.textContent!==t&&(p(i.removed,{element:e.cloneNode()}),e.textContent=t)),tp(ed.afterSanitizeElements,e,null),!1)},tm=function(e,t,n){if(eU&&("id"===t||"name"===t)&&(n in o||n in tn))return!1;if(eO&&!eC[t]&&k(eg,t));else if(eT&&k(em,t));else if(eI.attributeCheck instanceof Function&&eI.attributeCheck(t,e));else if(!ek[t]||eC[t]){if(!(ty(e)&&(eA.tagNameCheck instanceof RegExp&&k(eA.tagNameCheck,e)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(e))&&(eA.attributeNameCheck instanceof RegExp&&k(eA.attributeNameCheck,t)||eA.attributeNameCheck instanceof Function&&eA.attributeNameCheck(t,e))||"is"===t&&eA.allowCustomizedBuiltInElements&&(eA.tagNameCheck instanceof RegExp&&k(eA.tagNameCheck,n)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(n))))return!1}else if(eZ[t]);else if(k(ew,v(n,eb,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(n,"data:")&&eY[e]);else if(eR&&!k(ey,v(n,eb,"")));else if(n)return!1;return!0},ty=function(e){return"annotation-xml"!==e&&b(e,ev)},tb=function(e){tp(ed.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||tf(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ek,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:s,namespaceURI:a,value:l}=t[o],u=te(s),c="value"===s?l:_(l);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,tp(ed.uponSanitizeAttribute,e,r),c=r.attrValue,eB&&("id"===u||"name"===u)&&(tu(s,e),c="user-content-"+c),eM&&k(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===u&&b(c,"href")){tu(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr||!eD&&k(/\/>/i,c)){tu(s,e);continue}ej&&d([ef,eh,ep],e=>{c=v(c,e," ")});let f=te(e.nodeName);if(!tm(f,u,c)){tu(s,e);continue}if(n&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(a);else switch(W.getAttributeType(f,u)){case"TrustedHTML":c=n.createHTML(c);break;case"TrustedScriptURL":c=n.createScriptURL(c)}if(c!==l)try{a?e.setAttributeNS(a,s,c):e.setAttribute(s,c),tf(e)?tl(e):h(i.removed)}catch(t){tu(s,e)}}tp(ed.afterSanitizeAttributes,e,null)},tv=function e(t){let n=null,r=td(t);for(tp(ed.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)tp(ed.uponSanitizeShadowNode,n,null),tg(n),tb(n),n.content instanceof c&&e(n.content);tp(ed.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,l=null;if((e2=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!th(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}else throw E("toString is not a function");if(!i.isSupported)return e;if(eF||ti(t),i.removed=[],"string"==typeof e&&(eV=!1),eV){if(e.nodeName){let t=te(e.nodeName);if(!e_[t]||eS[t])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof z)(o=(r=tc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType===X.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!eP&&!ej&&!eN&&-1===e.indexOf("<"))return n&&ez?n.createHTML(e):e;if(!(r=tc(e)))return eP?null:ez?eo:""}r&&e$&&tl(r.firstChild);let u=td(eV?e:r);for(;s=u.nextNode();)tg(s),tb(s),s.content instanceof c&&tv(s.content);if(eV)return e;if(eP){if(eL)for(l=el.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(ek.shadowroot||ek.shadowrootmode)&&(l=ec.call(a,l,!0)),l}let f=eN?r.outerHTML:r.innerHTML;return eN&&e_["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&k(Y,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),ej&&d([ef,eh,ep],e=>{f=v(f,e," ")}),n&&ez?n.createHTML(f):f},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ti(e),eF=!0},i.clearConfig=function(){tt=null,eF=!1},i.isValidAttribute=function(e,t,n){return tt||ti({}),tm(te(e),te(t),n)},i.addHook=function(e,t){"function"==typeof t&&p(ed[e],t)},i.removeHook=function(e,t){if(void 0!==t){let n=f(ed[e],t);return -1===n?void 0:g(ed[e],n,1)[0]}return h(ed[e])},i.removeHooks=function(e){ed[e]=[]},i.removeAllHooks=function(){ed=Q()},i}()}
3,13862:(e,t,n)=>{"use strict";n.d(t,{$:()=>p});var r,i=n(71450),o=n(33421),s=1,a={};function l(e){return e in a&&(delete a[e],!0)}var u={setImmediate:function(e){var t=s++;return a[t]=!0,r||(r=Promise.resolve()),r.then(function(){return l(t)&&e()}),t},clearImmediate:function(e){l(e)}},c=u.setImmediate,d=u.clearImmediate,f={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=f.delegate;return((null==n?void 0:n.setImmediate)||c).apply(void 0,(0,i.fX)([],(0,i.zs)(e)))},clearImmediate:function(e){var t=f.delegate;return((null==t?void 0:t.clearImmediate)||d)(e)},delegate:void 0},h=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,i.C6)(t,e),t.prototype.requestAsyncId=function(t,n,r){return(void 0===r&&(r=0),null!==r&&r>0)?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=f.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var i,o=t.actions;null!=n&&(null==(i=o[o.length-1])?void 0:i.id)!==n&&(f.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(o.R),p=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.flush=function(e){this._active=!0;var t,n=this._scheduled;this._scheduled=void 0;var r=this.actions;e=e||r.shift();do if(t=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,t){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw t}},t}(n(44289).q))(h)},14187:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(92118);function i(e,t){return+(0,r.a)(e)>+(0,r.a)(t)}},14192:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(71450),i={setTimeout:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,r.fX)([e,t],(0,r.zs)(n))):setTimeout.apply(void 0,(0,r.fX)([e,t],(0,r.zs)(n)))},clearTimeout:function(e){var t=i.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},14308:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},14344:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},14571:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(15041);let i=(0,n(2552).A)(function(e,t,n){(0,r.A)(e,n,t)})},14638:(e,t,n)=>{var r=n(21187),i=n(76917);e.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},14806:(e,t,n)=>{"use strict";e.exports=n(30125)},14875:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(35582),i=n(11331);let o=function(e){return(0,i.A)(e)&&"[object Arguments]"==(0,r.A)(e)};var s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable;let u=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},15041:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(46778);let i=function(e,t,n){"__proto__"==t&&r.A?(0,r.A)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},15198:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(96948),i=n(63820);function o(e,t,n){return void 0===t&&(t=1/0),t=1>(t||0)?1/0:t,(0,r.N)(function(r,o){return(0,i.h)(r,o,e,t,void 0,!0,n)})}},15356:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(42557),i=n(58016),o=n(53736),s=n(51947),a=n(70551),l=n(60361),u=n(62964),c=Object.prototype.hasOwnProperty;let d=function(e,t){t=(0,o.A)(t,e);var n,r=-1,i=t.length;if(!i)return!0;for(var d=null==e||"object"!=typeof e&&"function"!=typeof e;++r<i;){var f=t[r];if("string"==typeof f){if("__proto__"===f&&!c.call(e,"__proto__"))return!1;if("constructor"===f&&r+1<i&&"string"==typeof t[r+1]&&"prototype"===t[r+1]){if(d&&0===r)continue;return!1}}}var h=(n=t).length<2?e:(0,a.A)(e,(0,l.A)(n,0,-1));return null==h||delete h[(0,u.A)((0,s.A)(t))]};var f=n(69294),h=n(77058);let p=function(e){return(0,h.A)(e)?void 0:e};var g=n(45545),m=n(71916);let y=(0,g.A)(function(e,t){var n={};if(null==e)return n;var s=!1;t=(0,r.A)(t,function(t){return t=(0,o.A)(t,e),s||(s=t.length>1),t}),(0,f.A)(e,(0,m.A)(e),n),s&&(n=(0,i.A)(n,7,p));for(var a=t.length;a--;)d(n,t[a]);return n})}
3,15364:(e,t,n)=>{"use strict";n.d(t,{ao:()=>f,k1:()=>h});var r=n(26552),i=n(27627),o=n(88722),s=n(56819);let a=/^sentry-/;function l(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}var u=n(21408),c=n(48869);function d(e,t){let n=t.getOptions(),{publicKey:i}=t.getDsn()||{},o=(0,u.Ce)({environment:n.environment||r.U,release:n.release,public_key:i,trace_id:e});return t.emit("createDsc",o),o}function f(e,t){let n=t.getPropagationContext();return n.dsc||d(n.traceId,e)}function h(e){let t=(0,i.KU)();if(!t)return{};let n=(0,c.zU)(e),r=n._frozenDsc;if(r)return r;let u=n.spanContext().traceState,f=u&&u.get("sentry.dsc"),h=f&&function(e){let t=function(e){if(e&&((0,s.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(l(t)).forEach(([t,n])=>{e[t]=n}),e),{}):l(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(a)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(f);if(h)return h;let p=d(e.spanContext().traceId,t),g=(0,c.et)(n),m=g.data||{},y=m[o.sy];null!=y&&(p.sample_rate=`${y}`);let b=m[o.i_],v=g.description;return"url"!==b&&v&&(p.transaction=v),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=(0,i.KU)(),n=t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(p.sampled=String((0,c.pK)(n))),t.emit("createDsc",p,n),p}},15374:(e,t,n)=>{"use strict";n.d(t,{Cv:()=>r,D9:()=>d,ON:()=>s,OZ:()=>h,Ql:()=>o,V0:()=>i,Zp:()=>u,wL:()=>f,wm:()=>a,wv:()=>c,yW:()=>p,z1:()=>l});let r=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],i=["50","100","200","300","400","500","600","700","800","900","950"],o={title:"Black",hex:"#0d0e12"},s={title:"White",hex:"#ffffff"},a={50:{title:"Gray 50",hex:"#f6f6f8"},100:{title:"Gray 100",hex:"#eeeef1"},200:{title:"Gray 200",hex:"#e3e4e8"},300:{title:"Gray 300",hex:"#bbbdc9"},400:{title:"Gray 400",hex:"#9499ad"},500:{title:"Gray 500",hex:"#727892"},600:{title:"Gray 600",hex:"#515870"},700:{title:"Gray 700",hex:"#383d51"},800:{title:"Gray 800",hex:"#252837"},900:{title:"Gray 900",hex:"#1b1d27"},950:{title:"Gray 950",hex:"#13141b"}},l={50:{title:"Blue 50",hex:"#f5f8ff"},100:{title:"Blue 100",hex:"#e5edff"},200:{title:"Blue 200",hex:"#dbe5ff"},300:{title:"Blue 300",hex:"#a8bfff"},400:{title:"Blue 400",hex:"#7595ff"},500:{title:"Blue 500",hex:"#556bfc"},600:{title:"Blue 600",hex:"#4043e7"},700:{title:"Blue 700",hex:"#2927aa"},800:{title:"Blue 800",hex:"#192457"},900:{title:"Blue 900",hex:"#161a41"},950:{title:"Blue 950",hex:"#101228"}},u={50:{title:"Purple 50",hex:"#f8f5ff"},100:{title:"Purple 100",hex:"#f1ebff"},200:{title:"Purple 200",hex:"#ece1fe"},300:{title:"Purple 300",hex:"#ccb1fc"},400:{title:"Purple 400",hex:"#b087f7"},500:{title:"Purple 500",hex:"#8f57ef"},600:{title:"Purple 600",hex:"#721fe5"},700:{title:"Purple 700",hex:"#4c1a9e"},800:{title:"Purple 800",hex:"#2f1862"},900:{title:"Purple 900",hex:"#23173f"},950:{title:"Purple 950",hex:"#181128"}},c={50:{title:"Red 50",hex:"#fff6f5"},100:{title:"Red 100",hex:"#ffe7e5"},200:{title:"Red 200",hex:"#ffdedc"},300:{title:"Red 300",hex:"#fdada5"},400:{title:"Red 400",hex:"#f77769"},500:{title:"Red 500",hex:"#ef4434"},600:{title:"Red 600",hex:"#cc2819"},700:{title:"Red 700",hex:"#8b2018"},800:{title:"Red 800",hex:"#4d1714"},900:{title:"Red 900",hex:"#321615"},950:{title:"Red 950",hex:"#1e1011"}},d={50:{title:"Yellow 50",hex:"#fefae1"},100:{title:"Yellow 100",hex:"#fcf3bb"},200:{title:"Yellow 200",hex:"#f9e994"},300:{title:"Yellow 300",hex:"#f7d455"},400:{title:"Yellow 400",hex:"#f9bc15"},500:{title:"Yellow 500",hex:"#d28a04"},600:{title:"Yellow 600",hex:"#965908"},700:{title:"Yellow 700",hex:"#653a0b"},800:{title:"Yellow 800",hex:"#3b220c"},900:{title:"Yellow 900",hex:"#271a11"},950:{title:"Yellow 950",hex:"#181410"}},f={50:{title:"Green 50",hex:"#e7fef5"},100:{title:"Green 100",hex:"#c5fce8"},200:{title:"Green 200",hex:"#a9f9dc"},300:{title:"Green 300",hex:"#59f3ba"},400:{title:"Green 400",hex:"#0ff0a1"},500:{title:"Green 500",hex:"#04b97a"},600:{title:"Green 600",hex:"#01794f"},700:{title:"Green 700",hex:"#015133"},800:{title:"Green 800",hex:"#023120"},900:{title:"Green 900",hex:"#06231a"},950:{title:"Green 950",hex:"#071715"}},h={gray:a,blue:l,purple:u,magenta:{50:{title:"Magenta 50",hex:"#fef6f9"},100:{title:"Magenta 100",hex:"#fde8ef"},200:{title:"Magenta 200",hex:"#fcdee9"},300:{title:"Magenta 300",hex:"#f7abc5"},400:{title:"Magenta 400",hex:"#f0709b"},500:{title:"Magenta 500",hex:"#e72767"},600:{title:"Magenta 600",hex:"#b11651"},700:{title:"Magenta 700",hex:"#7c1342"},800:{title:"Magenta 800",hex:"#4b1130"},900:{title:"Magenta 900",hex:"#341325"},950:{title:"Magenta 950",hex:"#1f0f14"}},red:c,orange:{50:{title:"Orange 50",hex:"#fff7f0"},100:{title:"Orange 100",hex:"#ffeadb"},200:{title:"Orange 200",hex:"#ffddc7"},300:{title:"Orange 300",hex:"#ffb685"},400:{title:"Orange 400",hex:"#ff8e42"},500:{title:"Orange 500",hex:"#fa6400"},600:{title:"Orange 600",hex:"#b14802"},700:{title:"Orange 700",hex:"#7c3404"},800:{title:"Orange 800",hex:"#461e07"},900:{title:"Orange 900",hex:"#32160b"},950:{title:"Orange 950",hex:"#21120d"}},yellow:d,green:f,cyan:{50:{title:"Cyan 50",hex:"#e7fefe"},100:{title:"Cyan 100",hex:"#c5fcfc"},200:{title:"Cyan 200",hex:"#96f8f8"},300:{title:"Cyan 300",hex:"#62efef"},400:{title:"Cyan 400",hex:"#18e2e2"},500:{title:"Cyan 500",hex:"#04b8be"},600:{title:"Cyan 600",hex:"#037782"},700:{title:"Cyan 700",hex:"#024950"},800:{title:"Cyan 800",hex:"#042f34"},900:{title:"Cyan 900",hex:"#072227"},950:{title:"Cyan 950",hex:"#0d181c"}}},p={black:o,white:s,...h}},15440:(e,t,n)=>{"use strict";n.d(t,{T:()=>
3o});var r=n(36951),i=n(96948);function o(e,t){return(0,i.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},15668:(e,t,n)=>{var r=n(63431),i=n(28007),o=n(17719);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},15831:(e,t,n)=>{"use strict";let r=n(95934);e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null}},15834:(e,t,n)=>{var r=n(76462),i=n(91958);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],s=e[o];t[n]=[o,s,r(s)]}return t}},16088:(e,t,n)=>{"use strict";let r=n(76353);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},16405:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=/\s/;let i=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var o=/^\s+/;let s=function(e){return e?e.slice(0,i(e)+1).replace(o,""):e}},16429:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}},16433:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(47211),i=n(96948),o=n(28400);function s(e){return e<=0?function(){return r.w}:(0,i.N)(function(t,n){var r=0;t.subscribe((0,o._)(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},16645:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(50825),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;let s=function(e){var t=(0,r.A)(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t})},16769:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(4168),i=n(32186),o=n(92118);function s(e,t,n){let s=(0,o.a)(e,null==n?void 0:n.in);return isNaN(+s)?(0,r.w)((null==n?void 0:n.in)||e,NaN):(null!=t.year&&s.setFullYear(t.year),null!=t.month&&(s=(0,i.Z)(s,t.month)),null!=t.date&&s.setDate(t.date),null!=t.hours&&s.setHours(t.hours),null!=t.minutes&&s.setMinutes(t.minutes),null!=t.seconds&&s.setSeconds(t.seconds),null!=t.milliseconds&&s.setMilliseconds(t.milliseconds),s)}},16809:(e,t,n)=>{var r=n(38185);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},16815:(e,t,n)=>{var r=n(39089),i=n(91958);e.exports=function(e,t){return e&&r(e,t,i)}},16887:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(84051),i=n(3679),o=n(17098),s=n(3175),a=n(69271);let l=function(e,t,n){var r=e.length;if(r<2)return r?(0,a.A)(e[0]):[];for(var i=-1,l=Array(r);++i<r;)for(var u=e[i],c=-1;++c<r;)c!=i&&(l[i]=(0,o.A)(l[i]||u,e[c],t,n));return(0,a.A)((0,s.A)(l,1),t,n)};var u=n(50972);let c=(0,i.A)(function(e){return l((0,r.A)(e,u.A))})},17098:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(62749),i=n(66076),o=n(35856),s=n(42557),a=n(35668),l=n(52810);let u=function(e,t,n,u){var c=-1,d=i.A,f=!0,h=e.length,p=[],g=t.length;if(!h)return p;n&&(t=(0,s.A)(t,(0,a.A)(n))),u?(d=o.A,f=!1):t.length>=200&&(d=l.A,f=!1,t=new r.A(t));e:for(;++c<h;){var m=e[c],y=null==n?m:n(m);if(m=u||0!==m?m:0,f&&y==y){for(var b=g;b--;)if(t[b]===y)continue e;p.push(m)}else d(t,y,u)||p.push(m)}return p}},17485:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(70551);let i=function(e,t,n){var i=null==e?void 0:(0,r.A)(e,t);return void 0===i?n:i}},17719:(e,t,n)=>{e.exports=n(83558)(n(51483),"Map")},17787:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>e$,vL:()=>s,uN:()=>eo,AN:()=>ec,fp:()=>j,y$:()=>M,Sj:()=>L,Vy:()=>R,sl:()=>U,fF:()=>eU,PM:()=>ez,zM:()=>eq,MS:()=>E,FR:()=>A});var r,i,o,s,a,l,u,c,d,f,h=n(39860),p=n(853),g=n(27587);let m={display:"none"};function y(e){let{id:t,value:n}=e;return h.createElement("div",{id:t,style:m},n)}function b(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return h.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let v=(0,h.createContext)(null),w={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},_={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function x(e){let{announcements:t=_,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=w}=e,{announce:o,announcement:s}=function(){let[e,t]=(0,h.useState)("");return{announce:(0,h.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),a=(0,g.YG)("DndLiveRegion"),[l,u]=(0,h.useState)(!1);(0,h.useEffect)(()=>{u(!0)},[]);var c=(0,h.useMemo)(()=>({onDragStart(e){let{active:n}=e;o(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&o(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;o(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;o(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;
3o(t.onDragCancel({active:n,over:r}))}}),[o,t]);let d=(0,h.useContext)(v);if((0,h.useEffect)(()=>{if(!d)throw Error("useDndMonitor must be used within a children of <DndContext>");return d(c)},[c,d]),!l)return null;let f=h.createElement(h.Fragment,null,h.createElement(y,{id:r,value:i.draggable}),h.createElement(b,{id:a,announcement:s}));return n?(0,p.createPortal)(f,n):f}function k(){}function E(e,t){return(0,h.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function A(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,h.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(r||(r={}));let S=Object.freeze({x:0,y:0});function C(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function I(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function T(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function O(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function R(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function D(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let j=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=D(t,t.left,t.top),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=C(D(r),i);o.push({id:t,data:{droppableContainer:e,value:n}})}}return o.sort(I)},M=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=O(t),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=O(r),s=Number((i.reduce((e,t,r)=>e+C(n[r],t),0)/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:s}})}}return o.sort(I)},N=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,o=n.get(r);if(o){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height);if(r<i&&n<o){let s=t.width*t.height,a=e.width*e.height,l=(i-r)*(o-n);return Number((l/(s+a-l)).toFixed(4))}return 0}(o,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(T)};function F(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:S}let $=function(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}(1),P={ignoreTransform:!1};function L(e,t){void 0===t&&(t=P);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,g.zk)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;let{scaleX:i,scaleY:o,x:s,y:a}=r,l=e.left-s-(1-i)*parseFloat(n),u=e.top-a-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?e.width/i:e.width,d=o?e.height/o:e.height;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l}}(n,t,r))}let{top:r,left:i,width:o,height:s,bottom:a,right:l}=n;return{top:r,left:i,width:o,height:s,bottom:a,right:l}}function z(e){return L(e,{ignoreTransform:!0})}function U(e,t){let n=[];return e?function r(i){var o;if(null!=t&&n.length>=t||!i)return n;if((0,g.wz)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,g.sb)(i)||(0,g.xZ)(i)||n.includes(i))return n;let s=(0,g.zk)(e).getComputedStyle(i);return(i!==e&&function(e,t){void 0===t&&(t=(0,g.zk)(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(i,s)&&n.push(i),void 0===(o=s)&&(o=(0,g.zk)(i).getComputedStyle(i)),"fixed"===o.position)?n:r(i.parentNode)}(e):n}function B(e){let[t]=U(e,1);return null!=t?t:null}function q(e){return g.Sw&&e?(0,g.l6)(e)?e:(0,g.Ll)(e)?(0,g.wz)(e)||e===(0,g.TW)(e).scrollingElement?window:(0,g.sb)(e)?e:null:null:null}function V(e){return(0,g.l6)(e)?e.scrollX:e.scrollLeft}function H(e){return(0,g.l6)(e)?e.scrollY:e.scrollTop}function G(e){return{x:V(e),y:H(e)}}function W(e){return!!g.Sw&&!!e&&e===document.scrollingElement}function Y(e){let t={x:0,y:0},n=W(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x;return{isTop:i,isLeft:o,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(i||(i={}));let K={x:.2,y:.2};function Z(e){return e.reduce((e,t)=>
3(0,g.WQ)(e,G(t)),S)}let X=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+V(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+H(t),0)}]];class J{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=U(t),r=Z(n);for(let[t,i,o]of(this.rect={...e},this.width=e.width,this.height=e.height,X))for(let e of i)Object.defineProperty(this,e,{get:()=>{let i=o(n),s=r[t]-i;return this.rect[e]+s},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Q{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function ee(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function et(e){e.preventDefault()}function en(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(o||(o={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"}(s||(s={}));let er={start:[s.Space,s.Enter],cancel:[s.Esc],end:[s.Space,s.Enter,s.Tab]},ei=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case s.Right:return{...n,x:n.x+25};case s.Left:return{...n,x:n.x-25};case s.Down:return{...n,y:n.y+25};case s.Up:return{...n,y:n.y-25}}};class eo{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new Q((0,g.TW)(t)),this.windowListeners=new Q((0,g.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(o.Resize,this.handleCancel),this.windowListeners.add(o.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(o.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=L),!e)return;let{top:n,left:r,bottom:i,right:o}=t(e);B(e)&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(S)}handleKeyDown(e){if((0,g.kx)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=er,coordinateGetter:o=ei,scrollBehavior:a="smooth"}=r,{code:l}=e;if(i.end.includes(l))return void this.handleEnd(e);if(i.cancel.includes(l))return void this.handleCancel(e);let{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:S;this.referenceCoordinates||(this.referenceCoordinates=c);let d=o(e,{active:t,context:n.current,currentCoordinates:c});if(d){let t=(0,g.Re)(d,c),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:o,isRight:l,isLeft:u,isBottom:c,maxScroll:f,minScroll:h}=Y(n),p=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}(n),g={x:Math.min(i===s.Right?p.right-p.width/2:p.right,Math.max(i===s.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(i===s.Down?p.bottom-p.height/2:p.bottom,Math.max(i===s.Down?p.top:p.top+p.height/2,d.y))},m=i===s.Right&&!l||i===s.Left&&!u,y=i===s.Down&&!c||i===s.Up&&!o;if(m&&g.x!==d.x){let e=n.scrollLeft+t.x,o=i===s.Right&&e<=f.x||i===s.Left&&e>=h.x;if(o&&!t.y)return void n.scrollTo({left:e,behavior:a});o?r.x=n.scrollLeft-e:r.x=i===s.Right?n.scrollLeft-f.x:n.scrollLeft-h.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(y&&g.y!==d.y){let e=n.scrollTop+t.y,o=i===s.Down&&e<=f.y||i===s.Up&&e>=h.y;if(o&&!t.x)return void n.scrollTo({top:e,behavior:a});o?r.y=n.scrollTop-e:r.y=i===s.Down?n.scrollTop-f.y:n.scrollTop-h.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,(0,g.WQ)((0,g.Re)(d,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function es(e){return!!(e&&"distance"in e)}function ea(e){return!!(e&&"delay"in e)}eo.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=er,onActivation:i}=t,{active:o}=n,{code:s}=e.nativeEvent;
3if(r.start.includes(s)){let t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class el{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,g.zk)(e);return e instanceof t?e:(0,g.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=(0,g.TW)(o),this.documentListeners=new Q(this.document),this.listeners=new Q(n),this.windowListeners=new Q((0,g.zk)(o)),this.initialCoordinates=null!=(r=(0,g.e_)(i))?r:S,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(o.Resize,this.handleCancel),this.windowListeners.add(o.DragStart,et),this.windowListeners.add(o.VisibilityChange,this.handleCancel),this.windowListeners.add(o.ContextMenu,et),this.documentListeners.add(o.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ea(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(es(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(o.Click,en,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(o.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:s}}=i;if(!r)return;let a=null!=(t=(0,g.e_)(e))?t:S,l=(0,g.Re)(r,a);
3if(!n&&s){if(es(s)){if(null!=s.tolerance&&ee(l,s.tolerance))return this.handleCancel();if(ee(l,s.distance))return this.handleStart()}return ea(s)&&ee(l,s.tolerance)?this.handleCancel():void this.handlePending(s,l)}e.cancelable&&e.preventDefault(),o(a)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===s.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let eu={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ec extends el{constructor(e){let{event:t}=e;super(e,eu,(0,g.TW)(t.target))}}ec.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let ed={move:{name:"mousemove"},end:{name:"mouseup"}};!function(e){e[e.RightClick=2]="RightClick"}(a||(a={}));class ef extends el{constructor(e){super(e,ed,(0,g.TW)(e.event.target))}}ef.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==a.RightClick&&(null==r||r({event:n}),!0)}}];let eh={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ep extends el{constructor(e){super(e,eh)}static setup(){return window.addEventListener(eh.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(eh.move.name,e)};function e(){}}}ep.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(l||(l={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(u||(u={}));let eg={x:{[i.Backward]:!1,[i.Forward]:!1},y:{[i.Backward]:!1,[i.Forward]:!1}};!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(c||(c={})),(d||(d={})).Optimized="optimized";let em=new Map;function ey(e,t){return(0,g.KG)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function eb(e){let{callback:t,disabled:n}=e,r=(0,g._q)(t),i=(0,h.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,h.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function ev(e){return new J(L(e),e)}function ew(e,t,n){void 0===t&&(t=ev);let[r,i]=(0,h.useState)(null);function o(){i(r=>{if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let o=t(e);return JSON.stringify(r)===JSON.stringify(o)?r:o})}let s=function(e){let{callback:t,disabled:n}=e,r=(0,g._q)(t),i=(0,h.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,h.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){o();break}}}}),a=eb({callback:o});return(0,g.Es)(()=>{o(),e?(null==a||a.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==s||s.disconnect())},[e]),r}let e_=[];function ex(e,t){void 0===t&&(t=[]);let n=(0,h.useRef)(null);return(0,h.useEffect)(()=>{n.current=null},t),(0,h.useEffect)(()=>{let t=e!==S;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,g.Re)(e,n.current):S}function ek(e){return(0,h.useMemo)(()=>e?function(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}let eE=[],eA=[{sensor:ec,options:{}},{sensor:eo,options:{}}],eS={current:{}},eC={draggable:{measure:z},droppable:{measure:z,strategy:c.WhileDragging,frequency:d.Optimized},dragOverlay:{measure:L}};class eI extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eT={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eI,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:k},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eC,measureDroppableContainers:k,windowRect:null,measuringScheduled:!1},eO={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:k,draggableNodes:new Map,over:null,measureDroppableContainers:k},eR=(0,h.createContext)(eO),eD=(0,h.createContext)(eT);function ej(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eI}}}function eM(e,t){switch(t.type){case r.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case r.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case r.DragEnd:case r.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case r.RegisterDroppable:{let{element:n}=t,{id:r}
3=n,i=new eI(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case r.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;let s=new eI(e.droppable.containers);return s.set(n,{...o,disabled:i}),{...e,droppable:{...e.droppable,containers:s}}}case r.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let o=new eI(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function eN(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,h.useContext)(eR),o=(0,g.ZC)(r),s=(0,g.ZC)(null==n?void 0:n.id);return(0,h.useEffect)(()=>{if(!t&&!r&&o&&null!=s){if(!(0,g.kx)(o)||document.activeElement===o.target)return;let e=i.get(s);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,g.ag)(e);if(t){t.focus();break}}})}},[r,t,i,s,o]),null}let eF=(0,h.createContext)({...S,scaleX:1,scaleY:1});!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(f||(f={}));let e$=(0,h.memo)(function(e){var t,n,o,s,a,d;let{id:m,accessibility:y,autoScroll:b=!0,children:w,sensors:_=eA,collisionDetection:k=N,measuring:E,modifiers:A,...C}=e,[I,T]=(0,h.useReducer)(eM,void 0,ej),[O,D]=function(){let[e]=(0,h.useState)(()=>new Set),t=(0,h.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,h.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[j,M]=(0,h.useState)(f.Uninitialized),P=j===f.Initialized,{draggable:{active:z,nodes:V,translate:H},droppable:{containers:X}}=I,Q=null!=z?V.get(z):null,ee=(0,h.useRef)({initial:null,translated:null}),et=(0,h.useMemo)(()=>{var e;return null!=z?{id:z,data:null!=(e=null==Q?void 0:Q.data)?e:eS,rect:ee}:null},[z,Q]),en=(0,h.useRef)(null),[er,ei]=(0,h.useState)(null),[eo,es]=(0,h.useState)(null),ea=(0,g.YN)(C,Object.values(C)),el=(0,g.YG)("DndDescribedBy",m),eu=(0,h.useMemo)(()=>X.getEnabled(),[X]),ec=(0,h.useMemo)(()=>({draggable:{...eC.draggable,...null==E?void 0:E.draggable},droppable:{...eC.droppable,...null==E?void 0:E.droppable},dragOverlay:{...eC.dragOverlay,...null==E?void 0:E.dragOverlay}}),[null==E?void 0:E.draggable,null==E?void 0:E.droppable,null==E?void 0:E.dragOverlay]),{droppableRects:ed,measureDroppableContainers:ef,measuringScheduled:eh}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[o,s]=(0,h.useState)(null),{frequency:a,measure:l,strategy:u}=i,d=(0,h.useRef)(e),f=function(){switch(u){case c.Always:return!1;case c.BeforeDragging:return n;default:return!n}}(),p=(0,g.YN)(f),m=(0,h.useCallback)(function(e){void 0===e&&(e=[]),p.current||s(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[p]),y=(0,h.useRef)(null),b=(0,g.KG)(t=>{if(f&&!n)return em;if(!t||t===em||d.current!==e||null!=o){let t=new Map;for(let n of e){if(!n)continue;if(o&&o.length>0&&!o.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new J(l(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,o,n,f,l]);return(0,h.useEffect)(()=>{d.current=e},[e]),(0,h.useEffect)(()=>{f||m()},[n,f]),(0,h.useEffect)(()=>{o&&o.length>0&&s(null)},[JSON.stringify(o)]),(0,h.useEffect)(()=>{f||"number"!=typeof a||null!==y.current||(y.current=setTimeout(()=>{m(),y.current=null},a))},[a,f,m,...r]),{droppableRects:b,measureDroppableContainers:m,measuringScheduled:null!=o}}(eu,{dragging:P,dependencies:[H.x,H.y],config:ec.droppable}),ep=function(e,t){let n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,g.KG)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(V,z),ev=(0,h.useMemo)(()=>eo?(0,g.e_)(eo):null,[eo]),eI=function(){let e=(null==er?void 0:er.autoScrollEnabled)===!1,t="object"==typeof b?!1===b.enabled:!1===b,n=P&&!e&&!t;return"object"==typeof b?{...b,enabled:n}:{enabled:n}}(),eT=ey(ep,ec.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,o=(0,h.useRef)(!1),{x:s,y:a}="boolean"==typeof i?{x:i,y:i}:i;(0,g.Es)(()=>
3{if(!s&&!a||!t){o.current=!1;return}if(o.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=F(n(e),r);if(s||(i.x=0),a||(i.y=0),o.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=B(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,s,a,r,n])}({activeNode:null!=z?V.get(z):null,config:eI.layoutShiftCompensation,initialRect:eT,measure:ec.draggable.measure});let eO=ew(ep,ec.draggable.measure,eT),e$=ew(ep?ep.parentElement:null),eP=(0,h.useRef)({activatorEvent:null,active:null,activeNode:ep,collisionRect:null,collisions:null,droppableRects:ed,draggableNodes:V,draggingNode:null,draggingNodeRect:null,droppableContainers:X,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eL=X.getNodeFor(null==(t=eP.current.over)?void 0:t.id),ez=function(e){let{measure:t}=e,[n,r]=(0,h.useState)(null),i=eb({callback:(0,h.useCallback)(e=>{for(let{target:n}of e)if((0,g.sb)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),o=(0,h.useCallback)(e=>{let n=function(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,g.sb)(t)?t:e}(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),r(n?t(n):null)},[t,i]),[s,a]=(0,g.lk)(o);return(0,h.useMemo)(()=>({nodeRef:s,rect:n,setRef:a}),[n,s,a])}({measure:ec.dragOverlay.measure}),eU=null!=(n=ez.nodeRef.current)?n:ep,eB=P?null!=(o=ez.rect)?o:eO:null,eq=!!(ez.nodeRef.current&&ez.rect),eV=function(e){let t=ey(e);return F(e,t)}(eq?null:eO),eH=ek(eU?(0,g.zk)(eU):null),eG=function(e){let t=(0,h.useRef)(e),n=(0,g.KG)(n=>e?n&&n!==e_&&e&&t.current&&e.parentNode===t.current.parentNode?n:U(e):e_,[e]);return(0,h.useEffect)(()=>{t.current=e},[e]),n}(P?null!=eL?eL:ep:null),eW=function(e,t){void 0===t&&(t=L);let[n]=e,r=ek(n?(0,g.zk)(n):null),[i,o]=(0,h.useState)(eE);function s(){o(()=>e.length?e.map(e=>W(e)?r:new J(t(e),e)):eE)}let a=eb({callback:s});return(0,g.Es)(()=>{null==a||a.disconnect(),s(),e.forEach(e=>null==a?void 0:a.observe(e))},[e]),i}(eG),eY=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(A,{transform:{x:H.x-eV.x,y:H.y-eV.y,scaleX:1,scaleY:1},activatorEvent:eo,active:et,activeNodeRect:eO,containerNodeRect:e$,draggingNodeRect:eB,over:eP.current.over,overlayNodeRect:ez.rect,scrollableAncestors:eG,scrollableAncestorRects:eW,windowRect:eH}),eK=ev?(0,g.WQ)(ev,H):null,eZ=function(e){let[t,n]=(0,h.useState)(null),r=(0,h.useRef)(e),i=(0,h.useCallback)(e=>{let t=q(e.target);t&&n(e=>e?(e.set(t,G(t)),new Map(e)):null)},[]);return(0,h.useEffect)(()=>{let t=r.current;if(e!==t){o(t);let s=e.map(e=>{let t=q(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,G(t)]):null}).filter(e=>null!=e);n(s.length?new Map(s):null),r.current=e}return()=>{o(e),o(t)};function o(e){e.forEach(e=>{let t=q(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,h.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,g.WQ)(e,t),S):Z(e):S,[e,t])}(eG),eX=ex(eZ),eJ=ex(eZ,[eO]),eQ=(0,g.WQ)(eY,eX),e0=eB?$(eB,eY):null,e1=et&&e0?k({active:et,collisionRect:e0,droppableRects:ed,droppableContainers:eu,pointerCoordinates:eK}):null,e2=R(e1,"id"),[e3,e5]=(0,h.useState)(null),e4=(a=eq?eY:(0,g.WQ)(eY,eJ),d=null!=(s=null==e3?void 0:e3.rect)?s:null,{...a,scaleX:d&&eO?d.width/eO.width:1,scaleY:d&&eO?d.height/eO.height:1}),e6=(0,h.useRef)(null),e8=(0,h.useCallback)((e,t)=>{let{sensor:n,options:i}=t;if(null==en.current)return;let o=V.get(en.current);if(!o)return;let s=e.nativeEvent,a=new n({active:en.current,activeNode:o,event:s,options:i,context:eP,onAbort(e){if(!V.get(e))return;let{onDragAbort:t}=ea.current,n={id:e};null==t||t(n),O({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!V.get(e))return;let{onDragPending:i}=ea.current,o={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(o),O({type:"onDragPending",event:o})},onStart(e){let t=en.current;if(null==t)return;let n=V.get(t);if(!n)return;let{onDragStart:i}=ea.current,o={activatorEvent:s,active:{id:t,data:n.data,rect:ee}};(0,p.unstable_batchedUpdates)(()=>{null==i||i(o),M(f.Initializing),T({type:r.DragStart,initialCoordinates:e,active:t}),O({type:"onDragStart",event:o}),ei(e6.current),es(s)})},onMove(e){T({type:r.DragMove,coordinates:e})},onEnd:l(r.DragEnd),onCancel:l(r.DragCancel)});function l(e){return async function(){let{active:t,collisions:n,over:i,scrollAdjustedTranslate:o}=eP.current,a=null;if(t&&o){let{cancelDrop:l}=ea.current;a={activatorEvent:s,active:t,collisions:n,delta:o,over:i},e===r.DragEnd&&"function"==typeof l&&await Promise.resolve(l(a))&&(e=r.DragCancel)}en.current=null,(0,p.unstable_batchedUpdates)(()=>{T({type:e}),M(f.Uninitialized),e5(null),ei(null),es(null),e6.current=null;let t=e===r.DragEnd?"onDragEnd":"onDragCancel";if(a){let e=ea.current[t];null==e||e(a),O({type:t,event:a})}})}}e6.current=a},[V]),e9=(0,h.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,o=V.get(r);null!==en.current||!o||i.dndKit||i.defaultPrevented||!0===e(n,t.options,{active:o})&&(i.dndKit={capturedBy:t.sensor},en.current=r,e8(n,t))},[V,e8]),e7=(0,h.useMemo)(()=>_.reduce((e,t)=>
3{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:e9(e.handler,t)}))]},[]),[_,e9]);(0,h.useEffect)(()=>{if(!g.Sw)return;let e=_.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},_.map(e=>{let{sensor:t}=e;return t})),(0,g.Es)(()=>{eO&&j===f.Initializing&&M(f.Initialized)},[eO,j]),(0,h.useEffect)(()=>{let{onDragMove:e}=ea.current,{active:t,activatorEvent:n,collisions:r,over:i}=eP.current;if(!t||!n)return;let o={active:t,activatorEvent:n,collisions:r,delta:{x:eQ.x,y:eQ.y},over:i};(0,p.unstable_batchedUpdates)(()=>{null==e||e(o),O({type:"onDragMove",event:o})})},[eQ.x,eQ.y]),(0,h.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=eP.current;if(!e||null==en.current||!t||!i)return;let{onDragOver:o}=ea.current,s=r.get(e2),a=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:a};(0,p.unstable_batchedUpdates)(()=>{e5(a),null==o||o(l),O({type:"onDragOver",event:l})})},[e2]),(0,g.Es)(()=>{eP.current={activatorEvent:eo,active:et,activeNode:ep,collisionRect:e0,collisions:e1,droppableRects:ed,draggableNodes:V,draggingNode:eU,draggingNodeRect:eB,droppableContainers:X,over:e3,scrollableAncestors:eG,scrollAdjustedTranslate:eQ},ee.current={initial:eB,translated:e0}},[et,ep,e1,e0,V,eU,eB,ed,X,e3,eG,eQ]),function(e){let{acceleration:t,activator:n=l.Pointer,canScroll:r,draggingRect:o,enabled:s,interval:a=5,order:c=u.TreeOrder,pointerCoordinates:d,scrollableAncestors:f,scrollableAncestorRects:p,delta:m,threshold:y}=e,b=function(e){let{delta:t,disabled:n}=e,r=(0,g.ZC)(t);return(0,g.KG)(e=>{if(n||!r||!e)return eg;let o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[i.Backward]:e.x[i.Backward]||-1===o.x,[i.Forward]:e.x[i.Forward]||1===o.x},y:{[i.Backward]:e.y[i.Backward]||-1===o.y,[i.Forward]:e.y[i.Forward]||1===o.y}}},[n,t,r])}({delta:m,disabled:!s}),[v,w]=(0,g.$$)(),_=(0,h.useRef)({x:0,y:0}),x=(0,h.useRef)({x:0,y:0}),k=(0,h.useMemo)(()=>{switch(n){case l.Pointer:return d?{top:d.y,bottom:d.y,left:d.x,right:d.x}:null;case l.DraggableRect:return o}},[n,o,d]),E=(0,h.useRef)(null),A=(0,h.useCallback)(()=>{let e=E.current;if(!e)return;let t=_.current.x*x.current.x,n=_.current.y*x.current.y;e.scrollBy(t,n)},[]),S=(0,h.useMemo)(()=>c===u.TreeOrder?[...f].reverse():f,[c,f]);(0,h.useEffect)(()=>{if(!s||!f.length||!k)return void w();for(let e of S){if((null==r?void 0:r(e))===!1)continue;let n=p[f.indexOf(e)];if(!n)continue;let{direction:o,speed:s}=function(e,t,n,r,o){let{top:s,left:a,right:l,bottom:u}=n;void 0===r&&(r=10),void 0===o&&(o=K);let{isTop:c,isBottom:d,isLeft:f,isRight:h}=Y(e),p={x:0,y:0},g={x:0,y:0},m={height:t.height*o.y,width:t.width*o.x};return!c&&s<=t.top+m.height?(p.y=i.Backward,g.y=r*Math.abs((t.top+m.height-s)/m.height)):!d&&u>=t.bottom-m.height&&(p.y=i.Forward,g.y=r*Math.abs((t.bottom-m.height-u)/m.height)),!h&&l>=t.right-m.width?(p.x=i.Forward,g.x=r*Math.abs((t.right-m.width-l)/m.width)):!f&&a<=t.left+m.width&&(p.x=i.Backward,g.x=r*Math.abs((t.left+m.width-a)/m.width)),{direction:p,speed:g}}(e,n,k,t,y);for(let e of["x","y"])b[e][o[e]]||(s[e]=0,o[e]=0);if(s.x>0||s.y>0){w(),E.current=e,v(A,a),_.current=s,x.current=o;return}}_.current={x:0,y:0},x.current={x:0,y:0},w()},[t,A,r,w,s,a,JSON.stringify(k),JSON.stringify(b),v,f,S,p,JSON.stringify(y)])}({...eI,delta:H,draggingRect:e0,pointerCoordinates:eK,scrollableAncestors:eG,scrollableAncestorRects:eW});let te=(0,h.useMemo)(()=>({active:et,activeNode:ep,activeNodeRect:eO,activatorEvent:eo,collisions:e1,containerNodeRect:e$,dragOverlay:ez,draggableNodes:V,droppableContainers:X,droppableRects:ed,over:e3,measureDroppableContainers:ef,scrollableAncestors:eG,scrollableAncestorRects:eW,measuringConfiguration:ec,measuringScheduled:eh,windowRect:eH}),[et,ep,eO,eo,e1,e$,ez,V,X,ed,e3,ef,eG,eW,ec,eh,eH]),tt=(0,h.useMemo)(()=>({activatorEvent:eo,activators:e7,active:et,activeNodeRect:eO,ariaDescribedById:{draggable:el},dispatch:T,draggableNodes:V,over:e3,measureDroppableContainers:ef}),[eo,e7,et,eO,T,el,V,e3,ef]);return h.createElement(v.Provider,{value:D},h.createElement(eR.Provider,{value:tt},h.createElement(eD.Provider,{value:te},h.createElement(eF.Provider,{value:e4},w)),h.createElement(eN,{disabled:(null==y?void 0:y.restoreFocus)===!1})),h.createElement(x,{...y,hiddenTextDescribedById:el}))}),eP=(0,h.createContext)(null),eL="button";function ez(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,o=(0,g.YG)("Draggable"),{activators:s,activatorEvent:a,active:l,activeNodeRect:u,ariaDescribedById:c,draggableNodes:d,over:f}=(0,h.useContext)(eR),{role:p=eL,roleDescription:m="draggable",tabIndex:y=0}=null!=i?i:{},b=(null==l?void 0:l.id)===t,v=(0,h.useContext)(b?eF:eP),[w,_]=(0,g.lk)(),[x,k]=(0,g.lk)(),E=(0,h.useMemo)(()=>s.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[s,t]),A=(0,g.YN)(n);return(0,g.Es)(()=>(d.set(t,{id:t,key:o,node:w,activatorNode:x,data:A}),()=>{let e=d.get(t);e&&e.key===o&&d.delete(t)}),[d,t]),{active:l,activatorEvent:a,activeNodeRect:u,attributes:(0,h.useMemo)(()=>({role:p,tabIndex:y,"aria-disabled":r,"aria-pressed":!!b&&p===eL||void 0,"aria-roledescription":m,"aria-describedby":c.draggable}),[r,p,y,b,m,c.draggable]),isDragging:b,listeners:r?void 0:E,node:w,over:f,setNodeRef:_,setActivatorNodeRef:k,transform:v}}function eU(){return(0,h.useContext)(eD)}let eB={timeout:25};function eq(e){let{data:t,disabled:n=!1,id:i,resizeObserverConfig:o}=e,s=(0,g.YG)("Droppable"),{active:a,dispatch:l,over:u,measureDroppableContainers:c}=(0,h.useContext)(eR),d=(0,h.useRef)({disabled:n}),f=(0,h.useRef)(!1),p=(0,h.useRef)(null),m=(0,h.useRef)(null),{disabled:y,updateMeasurementsFor:b,timeout:v}={...eB,...o},w=(0,g.YN)(null!=b?b:i),_=eb({callback:(0,h.useCallback)(()=>
3{if(!f.current){f.current=!0;return}null!=m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{c(Array.isArray(w.current)?w.current:[w.current]),m.current=null},v)},[v]),disabled:y||!a}),x=(0,h.useCallback)((e,t)=>{_&&(t&&(_.unobserve(t),f.current=!1),e&&_.observe(e))},[_]),[k,E]=(0,g.lk)(x),A=(0,g.YN)(t);return(0,h.useEffect)(()=>{_&&k.current&&(_.disconnect(),f.current=!1,_.observe(k.current))},[k,_]),(0,h.useEffect)(()=>(l({type:r.RegisterDroppable,element:{id:i,key:s,disabled:n,node:k,rect:p,data:A}}),()=>l({type:r.UnregisterDroppable,key:s,id:i})),[i]),(0,h.useEffect)(()=>{n!==d.current.disabled&&(l({type:r.SetDroppableDisabled,id:i,key:s,disabled:n}),d.current.disabled=n)},[i,s,n,l]),{active:a,rect:p,isOver:(null==u?void 0:u.id)===i,node:k,over:u,setNodeRef:E}}},17896:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){return[]}},18135:(e,t,n)=>{var r=n(14344);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},18161:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(92118);function i(e,t){return(0,r.a)(e)-(0,r.a)(t)}},18252:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>r(e,t,n)>0},18362:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});var r=n(77163),i=n(96948),o=n(28400);function s(e,t){return void 0===t&&(t=r.D),e=null!=e?e:a,(0,i.N)(function(n,r){var i,s=!0;n.subscribe((0,o._)(r,function(n){var o=t(n);(s||!e(i,o))&&(s=!1,i=o,r.next(n))}))})}function a(e,t){return e===t}},18530:(e,t)=>{"use strict";function n(e){return e}t.L8=void 0,t.L8=function(e){return e?function(t){return e(t),t}:n}},18975:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{F:()=>D});var s=n(90570),a=n(21408),l=n(30391),u=n(38599);function c(){if(!u.j.document)return;let e=s.aj.bind(null,"dom"),t=d(e,!0);u.j.document.addEventListener("click",t,!1),u.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=u.j[t],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,a.GS)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){let r=d(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}}),(0,a.GS)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function d(e,t=!1){return n=>{var s;if(!n||n._sentryCaptured)return;let c=function(e){try{return e.target}catch(e){return null}}(n);if(s=n.type,"keypress"===s&&(!c||!c.tagName||"INPUT"!==c.tagName&&"TEXTAREA"!==c.tagName&&!c.isContentEditable&&1))return;(0,a.my)(n,"_sentryCaptured",!0),c&&!c._sentryId&&(0,a.my)(c,"_sentryId",(0,l.eJ)());let d="keypress"===n.type?"input":n.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch(e){}return!0}(n)&&(e({event:n,name:d,global:t}),i=n.type,o=c?c._sentryId:void 0),clearTimeout(r),r=u.j.setTimeout(()=>{o=void 0,i=void 0},1e3)}}var f=n(61406),h=n(56819);let p="__sentry_xhr_v3__";function g(){if(!u.j.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*(0,f.zf)(),o=(0,h.Kg)(n[0])?n[0].toUpperCase():void 0,a=function(e){if((0,h.Kg)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!o||!a)return e.apply(t,n);t[p]={method:o,url:a,request_headers:{}},"POST"===o&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let l=()=>{let e=t[p];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}let n={endTimestamp:1e3*(0,f.zf)(),startTimestamp:i,xhr:t,virtualError:r};(0,s.aj)("xhr",n)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,o=t[p];return o&&(0,h.Kg)(r)&&(0,h.Kg)(i)&&(o.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[p];if(!r)return e.apply(t,n);void 0!==n[0]&&(r.body=n[0]);let i={startTimestamp:1e3*(0,f.zf)(),xhr:t};return(0,s.aj)("xhr",i),e.apply(t,n)}})}var m=n(66714),y=n(96939),b=n(31246);
3function v(){"console"in b.O&&y.Ow.forEach(function(e){e in b.O.console&&(0,a.GS)(b.O.console,e,function(t){return y.Z9[e]=t,function(...t){(0,s.aj)("console",{args:t,level:e});let n=y.Z9[e];n&&n.apply(b.O.console,t)}})})}var w=n(65359);function _(e,t){return!!e&&"object"==typeof e&&!!e[t]}function x(e){return"string"==typeof e?e:e?_(e,"url")?e.url:e.toString?e.toString():"":""}var k=n(78419),E=n(27627);function A(e,t){let n=(0,E.KU)(),r=(0,E.rm)();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=n.getOptions();if(o<=0)return;let s={timestamp:(0,f.lu)(),...e},a=i?(0,y.pq)(()=>i(s,t)):s;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,o))}var S=n(20841),C=n(90730);function I(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function T(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}var O=n(86334),R=n(9525);let D=(0,k._C)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,i,o,u,d,k;t.console&&function(e){let t="console";(0,s.s5)(t,e),(0,s.AS)(t,v)}((n=e,function(e){var t;if((0,E.KU)()!==n)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:(0,C.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else r.message=`Assertion failed: ${(0,C.gt)(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1);A(r,{input:e.args,level:e.level})})),t.dom&&(r=e,i=t.dom,(0,s.s5)("dom",function(e){let t,n;if((0,E.KU)()!==r)return;let o="object"==typeof i?i.serializeAttribute:void 0,s="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;s&&s>1024&&(O.T&&y.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof o&&(o=[o]);try{var a;let r=e.event,i=(a=r)&&a.target?r.target:r;t=(0,S.Hd)(i,{keyAttrs:o,maxStringLength:s}),n=(0,S.xE)(i)}catch(e){t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),A(l,{event:e.event,name:e.name,global:e.global})}),(0,s.AS)("dom",c)),t.xhr&&(o=e,(0,s.s5)("xhr",function(e){if((0,E.KU)()!==o)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[p];if(!t||!n||!r)return;let{method:i,url:s,status_code:a,body:l}=r,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n};A({category:"xhr",data:{method:i,url:s,status_code:a},type:"http",level:I(a)},u)}),(0,s.AS)("xhr",g)),t.fetch&&function(e,t){let n="fetch";(0,s.s5)(n,e),(0,s.AS)(n,()=>(function(e,t=!1){(!t||(0,w.m7)())&&(0,a.GS)(b.O,"fetch",function(t){return function(...n){let r=Error(),{method:i,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:x(t),method:_(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:x(t),method:_(t,"method")?String(t.method).toUpperCase():"GET"}}(n),l={args:n,fetchData:{method:i,url:o},startTimestamp:1e3*(0,f.zf)(),virtualError:r};return e||(0,s.aj)("fetch",{...l}),t.apply(b.O,n).then(async t=>(e?e(t):(0,s.aj)("fetch",{...l,endTimestamp:1e3*(0,f.zf)(),response:t}),t),e=>{throw(0,s.aj)("fetch",{...l,endTimestamp:1e3*(0,f.zf)(),error:e}),(0,h.bJ)(e)&&void 0===e.stack&&(e.stack=r.stack,(0,a.my)(e,"framesToPop",1)),e})}})})(void 0,void 0))}((u=e,function(e){if((0,E.KU)()!==u)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error)A({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:t,endTimestamp:n});else{let r=e.response,i={...e.fetchData,status_code:r&&r.status},o={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s=I(i.status_code);A({category:"fetch",data:i,type:"http",level:s},o)}})),t.history&&(0,m._)((d=e,function(e){if((0,E.KU)()!==d)return;let t=e.from,n=e.to,r=T(R.jf.location.href),i=t?T(t):void 0,o=T(n);i&&i.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),A({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(k=e,function(e){(0,E.KU)()===k&&A({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,l.$X)(e)},{event:e})}))}}})}
3,19383:(e,t,n)=>{"use strict";function r(e,t,n){return Math.min(Math.max(e,n),t)}n.d(t,{Uv:()=>v,W0:()=>_,a:()=>w,e$:()=>m});class i extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function o(e){if("string"!=typeof e)throw new i(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=h.test(e)?function(e){let t=a[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new i(e);return`#${t}`}(e):e;let n=u.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(l(e,2),16)),parseInt(l(e[3]||"f",2),16)/255]}let o=c.exec(t);if(o){let e=Array.from(o).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let s=d.exec(t);if(s){let e=Array.from(s).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let p=f.exec(t);if(p){let[t,n,o,s]=Array.from(p).slice(1).map(parseFloat);if(r(0,100,n)!==n||r(0,100,o)!==o)throw new i(e);return[...g(t,n,o),Number.isNaN(s)?1:s]}throw new i(e)}let s=e=>parseInt(e.replace(/_/g,""),36),a="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let n=s(t.substring(0,3)),r=s(t.substring(3)).toString(16),i="";for(let e=0;e<6-r.length;e++)i+="0";return e[n]=`${i}${r}`,e},{}),l=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),u=RegExp(`^#${l("([a-f0-9])",3)}([a-f0-9])?$`,"i"),c=RegExp(`^#${l("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),d=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${l(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),f=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,h=/^[a-z]+$/i,p=e=>Math.round(255*e),g=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(p);let i=(e%360+360)%360/60,o=t/100*(1-Math.abs(2*r-1)),s=o*(1-Math.abs(i%2-1)),a=0,l=0,u=0;i>=0&&i<1?(a=o,l=s):i>=1&&i<2?(a=s,l=o):i>=2&&i<3?(l=o,u=s):i>=3&&i<4?(l=s,u=o):i>=4&&i<5?(a=s,u=o):i>=5&&i<6&&(a=o,u=s);let c=r-o/2;return[a+c,l+c,u+c].map(p)};function m(e,t){var n;let[i,s,a,l]=function(e){let[t,n,r,i]=o(e).map((e,t)=>3===t?e:e/255),s=Math.max(t,n,r),a=Math.min(t,n,r),l=(s+a)/2;if(s===a)return[0,0,l,i];let u=s-a;return[60*(t===s?(n-r)/u+6*(n<r):n===s?(r-t)/u+2:(t-n)/u+4),l>.5?u/(2-s-a):u/(s+a),l,i]}(e);return n=a-t,`hsla(${(i%360).toFixed()}, ${r(0,100,100*s).toFixed()}%, ${r(0,100,100*n).toFixed()}%, ${parseFloat(r(0,1,l).toFixed(3))})`}function y(e){if("transparent"===e)return 0;function t(e){let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}let[n,r,i]=o(e);return .2126*t(n)+.7152*t(r)+.0722*t(i)}let b={decorative:1.5,readable:3,aa:4.5,aaa:7};function v(e,t="aa",n="#fff"){return function(e,t){let n=y(e),r=y(t);return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}(e,n)<b[t]}function w(e,t){return m(e,-t)}function _(e){return y(e)>.179?"#000":"#fff"}},19397:(e,t,n)=>{"use strict";n.d(t,{D2:()=>v,EN:()=>w,GP:()=>x,t$:()=>E,qg:()=>k,WI:()=>u});var r=n(68877);class i extends Date{constructor(){super(),this.setTime(0==arguments.length?Date.now():1==arguments.length?"string"==typeof arguments[0]?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}}let o=/^(get|set)(?!UTC)/;
3Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(o.test(e)){let t=Date.prototype[e.replace(o,"$1UTC")];t&&(i.prototype[e]=t)}}),new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var s=n(92564),a=n(34334),l=n(26467);let u=e=>e.replace(/@posix$/,"");function c(e,t="long",n="en-US"){let r=u(n);return new Intl.DateTimeFormat(r,{month:t}).format(e)}function d(e,t="long",n="en-US"){let r=u(n);return new Intl.DateTimeFormat(r,{weekday:t}).format(e)}function f(e,t,n="en-US"){let r=u(n);return new Intl.DateTimeFormat(r,t).format(e)}function h(e,t){return String(e).padStart(t,"0")}function p(e){let t=e%10,n=e%100;return 1===t&&11!==n?`${e}st`:2===t&&12!==n?`${e}nd`:3===t&&13!==n?`${e}rd`:`${e}th`}function g(e){let t=e.getDay();return 0===t?7:t}function m(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=g(t);return t.setUTCDate(t.getUTCDate()-n+4),t.getUTCFullYear()}function y(e){let t=new Date(Date.UTC(e.getFullYear(),0,1));return Math.floor((e.valueOf()-t.valueOf()+(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5)+1}function b(e){let t=new Intl.DateTimeFormat(u("en-US"),{timeZoneName:"short"}).formatToParts(e).find(e=>"timeZoneName"===e.type);return t?t.value:""}let v="YYYY-MM-DD",w="HH:mm",_=Intl.DateTimeFormat().resolvedOptions().timeZone;function x(e,t,n={useUTC:!1,timeZone:void 0}){let{useUTC:o,timeZone:a}=n;return function(e,t){let n=[],r=t.replace(/\[([^\]]+)\]/g,(e,t)=>(n.push(t),"î")),i=e.getFullYear(),o=e.getMonth(),a=e.getDate(),l=e.getDay(),u=e.getHours(),v=e.getMinutes(),w=e.getSeconds(),_=function(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=g(t);t.setUTCDate(t.getUTCDate()-n+4);let r=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t.valueOf()-r.valueOf())/864e5+1)/7)}(e),x=m(e),k=m(e),E=e.getTime(),A=Math.floor(E/1e3),S=[{key:"YYYY",getValue:()=>String(i)},{key:"YY",getValue:()=>String(i).slice(-2)},{key:"Y",getValue:()=>String(i)},{key:"YYYYY",getValue:()=>h(i,5)},{key:"GGGG",getValue:()=>String(x)},{key:"GG",getValue:()=>String(x).slice(-2)},{key:"gggg",getValue:()=>String(k)},{key:"gg",getValue:()=>String(k).slice(-2)},{key:"Q",getValue:()=>String(Math.floor(o/3)+1)},{key:"Qo",getValue:()=>p(Math.floor(o/3)+1)},{key:"MMMM",getValue:()=>c(e,"long")},{key:"MMM",getValue:()=>c(e,"short")},{key:"MM",getValue:()=>h(o+1,2)},{key:"M",getValue:()=>String(o+1)},{key:"Mo",getValue:()=>p(o+1)},{key:"DD",getValue:()=>h(a,2)},{key:"D",getValue:()=>String(a)},{key:"Do",getValue:()=>p(a)},{key:"dddd",getValue:()=>d(e,"long")},{key:"ddd",getValue:()=>d(e,"short")},{key:"dd",getValue:()=>d(e,"short").slice(0,2)},{key:"d",getValue:()=>String(l)},{key:"do",getValue:()=>p(l+1)},{key:"DDDD",getValue:()=>h(y(e),3)},{key:"DDD",getValue:()=>String(y(e))},{key:"DDDo",getValue:()=>p(y(e))},{key:"E",getValue:()=>String(g(e))},{key:"w",getValue:()=>h(_,2)},{key:"wo",getValue:()=>p(_)},{key:"ww",getValue:()=>h(_,2)},{key:"WW",getValue:()=>h(_,2)},{key:"W",getValue:()=>String(_)},{key:"Wo",getValue:()=>p(_)},{key:"HH",getValue:()=>h(u,2)},{key:"H",getValue:()=>String(u)},{key:"hh",getValue:()=>h((u+11)%12+1,2)},{key:"h",getValue:()=>String((u+11)%12+1)},{key:"k",getValue:()=>String(u||24)},{key:"kk",getValue:()=>h(u||24,2)},{key:"mm",getValue:()=>h(v,2)},{key:"m",getValue:()=>String(v)},{key:"ss",getValue:()=>h(w,2)},{key:"s",getValue:()=>String(w)},{key:"A",getValue:()=>u<12?"AM":"PM"},{key:"a",getValue:()=>u<12?"am":"pm"},{key:"X",getValue:()=>String(A)},{key:"x",getValue:()=>String(E)},{key:"N",getValue:()=>i<0?"BC":"AD"},{key:"NN",getValue:()=>i<0?"BC":"AD"},{key:"NNN",getValue:()=>i<0?"BC":"AD"},{key:"NNNN",getValue:()=>i<0?"Before Christ":"Anno Domini"},{key:"NNNNN",getValue:()=>i<0?"BC":"AD"},{key:"z",getValue:()=>b(e)},{key:"zz",getValue:()=>b(e)},{key:"Z",getValue:()=>(0,s.GP)(e,"xxx")},{key:"ZZ",getValue:()=>(0,s.GP)(e,"xx")},{key:"LTS",getValue:()=>f(e,{timeStyle:"medium"})},{key:"LT",getValue:()=>f(e,{timeStyle:"short"})},{key:"LLLL",getValue:()=>f(e,{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"LLL",getValue:()=>f(e,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"LL",getValue:()=>f(e,{year:"numeric",month:"long",day:"numeric"})},{key:"L",getValue:()=>f(e,{year:"numeric",month:"2-digit",day:"2-digit"})},{key:"llll",getValue:()=>f(e,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"lll",getValue:()=>f(e,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"ll",getValue:()=>f(e,{year:"numeric",month:"short",day:"numeric"})},{key:"l",getValue:()=>f(e,{year:"numeric",month:"numeric",day:"numeric"})}];S.sort((e,t)=>
3t.key.length-e.key.length);let C=RegExp("(?<!LT)S{1,4}","g"),I=r.replace(C,t=>(function(e,t){let n=h(e.getMilliseconds(),3);return 1===t?n.slice(0,1):2===t?n.slice(0,2):3===t?n:`${n}0`})(e,t.length));for(let{key:e,getValue:t}of S){let n=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=RegExp(`(^|[^A-Z0-9a-z])(${n})(?![A-Z0-9a-z])`,"g");if(I.match(r)){let e=t();I=I.replace(r,`$1${e}`)}}return I.replace(RegExp("î","g"),()=>n.shift()||"")}(o?new i(e):a?new r.q(e,a||_):new Date(e),t)}function k(e,t,n){let i=t?function(e){let t={YYYY:"yyyy",YY:"yy",MMMM:"MMMM",MMM:"MMM",MM:"MM",M:"M",DD:"dd",D:"d",dddd:"EEEE",ddd:"EEE",HH:"HH",H:"H",hh:"hh",h:"h",mm:"mm",m:"m",ss:"ss",s:"s",A:"a",a:"a"};return Object.keys(t).reduce((e,n)=>e.replace(RegExp(n,"g"),t[n]),e)}(t):void 0,o=i?(0,a.qg)(e,i,new Date):(0,l.H)(e);if(o&&!isNaN(o.getTime())){let e=o;return n&&E(n)&&t?e=new r.q(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds(),n):n&&E(n)&&(e=new r.q(o,n)),{isValid:!0,date:e}}return{isValid:!1,error:`Invalid date. Must be on the format "${t}"`}}function E(e){return Intl.supportedValuesOf("timeZone").includes(e)}},20437:(e,t,n)=>{"use strict";function r(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}n.d(t,{N:()=>r})},20545:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var r=n(12718),i=n(42421),o=n(96948),s=n(8286),a=n(10899),l=n(28400),u=n(20437),c=(0,a.L)(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function d(e,t){var n=(0,i.v)(e)?{first:e}:"number"==typeof e?{each:e}:e,a=n.first,c=n.each,d=n.with,h=void 0===d?f:d,p=n.scheduler,g=void 0===p?null!=t?t:r.E:p,m=n.meta,y=void 0===m?null:m;if(null==a&&null==c)throw TypeError("No timeout provided.");return(0,o.N)(function(e,t){var n,r,i=null,o=0,d=function(e){r=(0,u.N)(t,g,function(){try{n.unsubscribe(),(0,s.Tg)(h({meta:y,lastValue:i,seen:o})).subscribe(t)}catch(e){t.error(e)}},e)};n=e.subscribe((0,l._)(t,function(e){null==r||r.unsubscribe(),o++,t.next(i=e),c>0&&d(c)},void 0,void 0,function(){(null==r?void 0:r.closed)||null==r||r.unsubscribe(),i=null})),o||d(null!=a?"number"==typeof a?a:a-g.now():c)})}function f(e){throw new c(e)}},20613:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(63e3),i=n(42557),o=n(64536),s=n(59027),a=1/0,l=r.A?r.A.prototype:void 0,u=l?l.toString:void 0;let c=function e(t){if("string"==typeof t)return t;if((0,o.A)(t))return(0,i.A)(t,e)+"";if((0,s.A)(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},20841:(e,t,n)=>{"use strict";n.d(t,{$N:()=>s,Hd:()=>o,xE:()=>a});var r=n(56819);let i=n(31246).O;function o(e,t={}){if(!e)return"<unknown>";try{let n,o=e,s=[],a=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&a++<5&&(n=function(e,t){let n=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let o=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o&&o.length)o.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&(0,r.Kg)(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(o,u),"html"!==n&&(!(a>1)||!(l+3*s.length+n.length>=c)));)s.push(n),l+=n.length,o=o.parentNode;return s.reverse().join(" > ")}catch(e){return"<unknown>"}}function s(){try{return i.document.location.href}catch(e){return""}}function a(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},20851:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(92381);function i(e,t,n){return(0,r.f)(e,7*t,n)}},20981:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(47948);function i(e,t){var n="object"==typeof t;return new Promise(function(i,o){var s,a=!1;e.subscribe({next:function(e){s=e,a=!0},error:o,complete:function(){a?i(s):n?i(t.defaultValue):o(new r.G)}})})}},21187:(e,t,n)=>{var r=n(25411),i=n(31326),o=n(81864),s=n(32438);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(s(e))}}
3,21383:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(71851),i=n(83119);let o=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,r.A)(e)}},21408:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>m,GS:()=>l,HF:()=>g,W4:()=>f,my:()=>u,pO:()=>c,sp:()=>d});var r=n(20841),i=n(95595),o=n(56819),s=n(96939),a=n(90730);function l(e,t,n){if(!(t in e))return;let r=e[t],o=n(r);"function"==typeof o&&c(o,r);try{e[t]=o}catch(n){i.T&&s.vF.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){i.T&&s.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function c(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,u(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function f(e){if((0,o.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if(!(0,o.xH)(e))return e;{let t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...p(e)};return"undefined"!=typeof CustomEvent&&(0,o.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function h(e){try{return(0,o.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function p(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function g(e,t=40){let n=Object.keys(f(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,a.xv)(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return(0,a.xv)(r,t)}}return""}function m(e){return function e(t,n){if(function(e){if(!(0,o.Qd)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.getOwnPropertyNames(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}},21457:e=>{e.exports=function(){return!1}},21836:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});class r extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}},22108:(e,t,n)=>{"use strict";n.d(t,{nX:()=>d,sH:()=>E,Jt:()=>h,n4:()=>m,$U:()=>y,p0:()=>g,Y7:()=>k,w1:()=>v,dI:()=>x,om:()=>_,Mr:()=>w});let r=/_key\s*==\s*['"](.*)['"]/,i=/^\d*:\d*$/;function o(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function s(e){return"string"==typeof e?r.test(e.trim()):"object"==typeof e&&"_key"in e}function a(e){if("string"==typeof e&&i.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}let l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/_key\s*==\s*['"](.*)['"]/,c=[],d="$",f=["true","false","null"];function h(e,t,n){let r="string"==typeof t?E(t):t;if(!Array.isArray(r))throw Error("Path must be an array or a string");let i=e;for(let e=0;e<r.length;e++){let t=r[e];if(o(t)){if(!Array.isArray(i))return n;i=i[t]}if(s(t)){if(!Array.isArray(i))return n;i=i.find(e=>e._key===t._key)}if("string"==typeof t&&(i="object"==typeof i&&null!==i?i[t]:void 0),typeof i>"u")return n}return i}let p=new Map;function g(e){if(0===e.length)return c;let t=x(e);return p.has(t)?p.get(t):(p.set(t,e),Object.freeze(e),e)}function m(e,t){return e.length===t.length&&e.every((e,n)=>b(e,t[n]))}function y(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)if(!b(e[r],t[r]))return r;return n}function b(e,t){return s(e)&&s(t)?e._key===t._key:o(e)?Number(e)===Number(t):a(e)&&a(t)?e[0]===t[0]&&e[1]===t[1]:e===t}function v(e,t){return e.every((e,n)=>b(e,t[n]))}function w(e,t){if(0===e.length||0===t.length)return t;let[n,...r]=e,[i,...o]=t;return b(n,i)?g(w(r,o)):t}function _(e,t){return v(e,t)?w(e,t):c}function x(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,n)=>{if("number"==typeof t)return`${e}[${t}]`;if("string"==typeof t)return 0===n?t:f.includes(t)?`${e}["${t}"]`:`${e}.${t}`;if(s(t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[n,r]=t;return`${e}[${n}:${r}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}function k(e,t){if(!Array.isArray(t))throw Error("Path is not an array");return g(function e(t,n){if(0===n.length)return n;let[r,...i]=n;if("number"==typeof r){if(!Array.isArray(t)||!(r in t))return[];let n=t[r];return["string"==typeof n?._key?{_key:n._key}:r,...e(n,i)]}let o=h(t,[r]);return[r,...e(o,i)]}(e,t))}function E(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(l);if(!t)throw Error("Invalid path string");return t.map(A)}function A(e){return o(e)?Number(e.replace(/[^\d]/g,"")):s(e)?{_key:e.match(u)[1]}:a(e)?function(e){let[t,n]=e.split(":").map(e=>""===e?e:Number(e));return[t,n]}(e):e}},22275:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5358),i=n(30329),o=n(29431);let s=function(e){return(0,r.A)(e,o.A,i.A)}},22644:(e,t,n)=>{"use strict";var r,i=n(87358),o=function(){function e(e,t){var n;if("function"!=typeof e)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: "+e+".");this._batchLoadFn=e,this._maxBatchSize=function(e){if(!(!e||!1!==e.batch))return 1;var t=e&&e.maxBatchSize;if(void 0===t)return 1/0;if("number"!=typeof t||t<1)throw TypeError("maxBatchSize must be a positive number: "+t);return t}(t),this._batchScheduleFn=function(e){var t=e&&e.batchScheduleFn;if(void 0===t)return s;if("function"!=typeof t)throw TypeError("batchScheduleFn must be a function: "+t);return t}(t),this._cacheKeyFn=function(e){var t=e&&e.cacheKeyFn;if(void 0===t)return function(e){return e};if("function"!=typeof t)throw TypeError("cacheKeyFn must be a function: "+t);return t}(t),this._cacheMap=function(e){if(!(!e||!1!==e.cache))return null;var t=e&&e.cacheMap;if(void 0===t)return new Map;if(null!==t){var n=["get","set","delete","clear"].filter(function(e){return t&&"function"!=typeof t[e]}
3);if(0!==n.length)throw TypeError("Custom cacheMap missing methods: "+n.join(", "))}return t}(t),this._batch=null,this.name=(n=t)&&n.name?n.name:null}var t=e.prototype;return t.load=function(e){if(null==e)throw TypeError("The loader.load() function must be called with a value, but got: "+String(e)+".");var t,n=function(e){var t=e._batch;if(null!==t&&!t.hasDispatched&&t.keys.length<e._maxBatchSize)return t;var n={hasDispatched:!1,keys:[],callbacks:[]};return e._batch=n,e._batchScheduleFn(function(){!function(e,t){var n;if(t.hasDispatched=!0,0===t.keys.length)return l(t);try{n=e._batchLoadFn(t.keys)}catch(n){return a(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: "+String(n)+"."))}if(!n||"function"!=typeof n.then)return a(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: "+String(n)+"."));n.then(function(e){if(!u(e))throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: "+String(e)+".");if(e.length!==t.keys.length)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\n\nKeys:\n"+String(t.keys)+"\n\nValues:\n"+String(e));l(t);for(var n=0;n<t.callbacks.length;n++){var r=e[n];r instanceof Error?t.callbacks[n].reject(r):t.callbacks[n].resolve(r)}}).catch(function(n){a(e,t,n)})}(e,n)}),n}(this),r=this._cacheMap;if(r){t=this._cacheKeyFn(e);var i=r.get(t);if(i){var o=n.cacheHits||(n.cacheHits=[]);return new Promise(function(e){o.push(function(){e(i)})})}}n.keys.push(e);var s=new Promise(function(e,t){n.callbacks.push({resolve:e,reject:t})});return r&&r.set(t,s),s},t.loadMany=function(e){if(!u(e))throw TypeError("The loader.loadMany() function must be called with Array<key> but got: "+e+".");for(var t=[],n=0;n<e.length;n++)t.push(this.load(e[n]).catch(function(e){return e}));return Promise.all(t)},t.clear=function(e){var t=this._cacheMap;if(t){var n=this._cacheKeyFn(e);t.delete(n)}return this},t.clearAll=function(){var e=this._cacheMap;return e&&e.clear(),this},t.prime=function(e,t){var n=this._cacheMap;if(n){var r,i=this._cacheKeyFn(e);void 0===n.get(i)&&(t instanceof Error?(r=Promise.reject(t)).catch(function(){}):r=Promise.resolve(t),n.set(i,r))}return this},e}(),s="object"==typeof i&&"function"==typeof i.nextTick?function(e){r||(r=Promise.resolve()),r.then(function(){i.nextTick(e)})}:"function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e)};function a(e,t,n){l(t);for(var r=0;r<t.keys.length;r++)e.clear(t.keys[r]),t.callbacks[r].reject(n)}function l(e){if(e.cacheHits)for(var t=0;t<e.cacheHits.length;t++)e.cacheHits[t]()}function u(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length&&(0===e.length||e.length>0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}e.exports=o},22806:(e,t,n)=>{"use strict";n.d(t,{A_:()=>f,nU:()=>h});var r=n(18530),i=n(85116);n(80276);let o=/^[a-z-A-Z0-9._-]+$/,s="drafts.",a="versions.";function l(e){if(0===e.length)throw Error("Must be a non-empty string");if(!o.test(e))throw Error(`Not a valid document ID: "${e}" \u2013 Must match the ${o} RegExp`);return e}function u(e){if(!e.startsWith(s))throw Error(`Not a valid draft ID: "${e}" \u2013 must start with "${s}"`);if(e.length===s.length)throw Error(`Not a valid draft ID: "${e}" \u2013 must have at least one character followed by "${s}"`);return e}function c(e){if(!e.startsWith(a))throw Error(`Not a valid version ID: "${e}" \u2013 must start with "${a}"`);if(e.length===a.length)throw Error(`Not a valid version ID: "${e}" \u2013 must have at least one character followed by "${a}"`);let[,t,...n]=e.split(".");if(!t||!o.test(t))throw Error(`Not a valid version ID: "${e}" \u2013 VERSION must match the ${o} RegExp in versions.[VERSION].id`);
3if(0===n.length)throw Error(`Not a valid version ID: "${e}" \u2013 missing document ID in versions.bundle.[ID]`);if("drafts"===t||"versions"===t)throw Error(`Not a valid version ID: "${e}" \u2013 invalid VERSION "${t}" in versions.[VERSION].id`);return e}function d(e){if(e.startsWith(s)||e.startsWith(a))throw Error(`Not a valid published ID: "${e}" \u2013 cannot start with "${s}" or "${a}"`);return e}function f(e){return e.startsWith(a)}function h(e){let[,t]=e.split(".");return t}(0,r.L8)(e=>{l(e);let[t,n]=i([d,u,c].map(t=>(function(e){try{var t;return t=e(),{success:!0,value:t}}catch(e){return{success:!1,error:e instanceof Error?e:Error(String(e))}}})(()=>t(e))),e=>e.success);if(t.length>0)return e;if(n.length>0)throw AggregateError(n.map(e=>e.error),`Invalid Document ID 4 - ${n.map(e=>e.error.message).join(` 5 - `)}`);return e}),(0,r.L8)(e=>{l(e),u(e)}),(0,r.L8)(e=>{l(e),d(e)}),(0,r.L8)(e=>{l(e),c(e)})},23307:(e,t,n)=>{"use strict";n.d(t,{B:()=>d});var r=n(26217),i=n(39781),o=n(35805),s=n(45240),a=n(97263),l=n(9180),u=n(7966),c=n(54732);function d(e,t,n){var d,f;let h,p=(0,i.q)(),g=null!=(f=null!=(d=null==n?void 0:n.locale)?d:p.locale)?f:r.c,m=(0,a.z)(e,t);if(isNaN(m))throw RangeError("Invalid time value");let y=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:m}),[b,v]=(0,s.x)(null==n?void 0:n.in,...m>0?[t,e]:[e,t]),w=(0,c.O)(v,b),_=Math.round((w-((0,o.G)(v)-(0,o.G)(b))/1e3)/60);if(_<2)if(null==n?void 0:n.includeSeconds)if(w<5)return g.formatDistance("lessThanXSeconds",5,y);else if(w<10)return g.formatDistance("lessThanXSeconds",10,y);else if(w<20)return g.formatDistance("lessThanXSeconds",20,y);else if(w<40)return g.formatDistance("halfAMinute",0,y);else if(w<60)return g.formatDistance("lessThanXMinutes",1,y);else return g.formatDistance("xMinutes",1,y);else if(0===_)return g.formatDistance("lessThanXMinutes",1,y);else return g.formatDistance("xMinutes",_,y);if(_<45)return g.formatDistance("xMinutes",_,y);if(_<90)return g.formatDistance("aboutXHours",1,y);if(_<l.F6){let e=Math.round(_/60);return g.formatDistance("aboutXHours",e,y)}if(_<2520)return g.formatDistance("xDays",1,y);else if(_<l.Nw){let e=Math.round(_/l.F6);return g.formatDistance("xDays",e,y)}else if(_<2*l.Nw)return h=Math.round(_/l.Nw),g.formatDistance("aboutXMonths",h,y);if((h=(0,u.W)(v,b))<12){let e=Math.round(_/l.Nw);return g.formatDistance("xMonths",e,y)}{let e=h%12,t=Math.trunc(h/12);return e<3?g.formatDistance("aboutXYears",t,y):e<9?g.formatDistance("overXYears",t,y):g.formatDistance("almostXYears",t+1,y)}}},23627:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,m:()=>o});var r=n(39860);function i(e){let t=o(e),[n,i]=(0,r.useState)(t),{defaultDpr:s,maxDpr:a,round:l}=e||{};return(0,r.useEffect)(()=>{if(!("undefined"!=typeof window&&"matchMedia"in window))return;let e=()=>i(o({defaultDpr:s,maxDpr:a,round:l})),t=window.matchMedia(`screen and (resolution: ${n}dppx)`);return t.addEventListener?t.addEventListener("change",e):t.addListener(e),()=>{t.removeEventListener?t.removeEventListener("change",e):t.removeListener(e)}},[n,s,a,l]),n}function o(e){let{defaultDpr:t=1,maxDpr:n=3,round:r=!0}=e||{},i="undefined"!=typeof window&&"number"==typeof window.devicePixelRatio?window.devicePixelRatio:t;return Math.min(Math.max(1,r?Math.floor(i):i),n)}},23726:(e,t,n)=>{"use strict";var r,i;r=n(99469),i=n(34373),r.version,t.F0=r.renderToString,t.qV=r.renderToStaticMarkup,i.renderToReadableStream,i.resume},23955:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(3175),i=n(42557),o=n(75130),s=n(34721),a=n(64536);let l=function(e,t){return(0,r.A)(((0,a.A)(e)?i.A:s.A)(e,(0,o.A)(t,3)),1)}},24402:(e,t,n)=>{e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},24567:(e,t,n)=>{var r=n(48908);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,s=t?o:-1,a=Object(n);(t?s--:++s<o)&&!1!==i(a[s],s,a););return n}}},24604:(e,t,n)=>{var r=n(69833),i=n(56507),o=n(84856),s=n(9403),a=n(42979),l=n(25411),u=n(48728),c=n(38055),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,y){var b=l(e),v=l(t),w=b?f:a(e),_=v?f:
5a(t);w=w==d?h:w,_=_==d?h:_;var x=w==h,k=_==h,E=w==_;if(E&&u(e)){if(!u(t))return!1;b=!0,x=!1}if(E&&!x)return y||(y=new r),b||c(e)?i(e,t,n,g,m,y):o(e,t,w,n,g,m,y);if(!(1&n)){var A=x&&p.call(e,"__wrapped__"),S=k&&p.call(t,"__wrapped__");if(A||S){var C=A?e.value():e,I=S?t.value():t;return y||(y=new r),m(C,I,n,g,y)}}return!!E&&(y||(y=new r),s(e,t,n,g,m,y))}},24617:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>l,fj:()=>s,qO:()=>a});var r=n(21408),i=n(61406),o=n(30391);function s(e){let t=(0,i.zf)(),n={sid:(0,o.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,(0,r.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}};return e&&a(n,e),n}function a(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)}},24933:(e,t,n)=>{"use strict";n.d(t,{$:()=>T,B:()=>w,C:()=>ei,D:()=>W,E:()=>k,F:()=>er,G:()=>ea,H:()=>en,I:()=>es,J:()=>eI,K:()=>X,L:()=>eM,M:()=>ee,N:()=>o,O:()=>function e(t,n,r,i){if("string"==typeof n){let e=ef(t,n).next(r,i);return e&&e.length?e:t.next(r,i)}if(1===Object.keys(n).length){let o=Object.keys(n),s=e(ef(t,o[0]),n[o[0]],r,i);return s&&s.length?s:t.next(r,i)}let o=[];for(let s of Object.keys(n)){let a=n[s];if(!a)continue;let l=e(ef(t,s),a,r,i);l&&o.push(...l)}return o.length?o:t.next(r,i)},P:()=>eE,Q:()=>p,R:()=>et,S:()=>i,T:()=>eh,U:()=>eF,V:()=>E,W:()=>a,X:()=>l,Y:()=>c,Z:()=>O,_:()=>eN,a:()=>F,b:()=>L,c:()=>j,d:()=>eA,e:()=>d,i:()=>ew,j:()=>G,m:()=>A,n:()=>V,p:()=>ep,r:()=>eL,s:()=>B,t:()=>y,w:()=>x,y:()=>m,z:()=>eo});class r{constructor(e){this._process=e,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(e){let t={value:e,next:null};if(this._current){this._last.next=t,this._last=t;return}this._current=t,this._last=t,this._active&&this.flush()}flush(){for(;this._current;){let e=this._current;this._process(e.value),this._current=e.next}this._last=null}}let i=".",o="",s="xstate.init",a="xstate.error",l="xstate.stop";function u(e,t){return{type:`xstate.done.state.${e}`,output:t}}function c(e,t){return{type:`xstate.error.actor.${e}`,error:t,actorId:e}}function d(e){return{type:s,input:e}}function f(e){setTimeout(()=>{throw e})}let h="function"==typeof Symbol&&Symbol.observable||"@@observable";function p(e){if(v(e))return e;let t=[],n="";for(let r=0;r<e.length;r++){switch(e.charCodeAt(r)){case 92:n+=e[r+1],r++;continue;case 46:t.push(n),n="";continue}n+=e[r]}return t.push(n),t}function g(e){var t;return(t=e)&&"object"==typeof t&&"machine"in t&&"value"in t?e.value:"string"!=typeof e?e:function(e){if(1===e.length)return e[0];let t={},n=t;for(let t=0;t<e.length-1;t++)if(t===e.length-2)n[e[t]]=e[t+1];else{let r=n;n={},r[e[t]]=n}return t}(p(e))}function m(e,t){let n={},r=Object.keys(e);for(let i=0;i<r.length;i++){let o=r[i];n[o]=t(e[o],o,e,i)}return n}function y(e){var t;return void 0===e?[]:v(t=e)?t:[t]}function b(e,t,n,r){return"function"==typeof e?e({context:t,event:n,self:r}):e}function v(e){return Array.isArray(e)}function w(e){var t;return(v(t=e)?t:[t]).map(e=>void 0===e||"string"==typeof e?{target:e}:e)}function _(e){if(void 0!==e&&""!==e)return y(e)}function x(e,t,n){let r="object"==typeof e,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}function k(e,t){return`${t}.${e}`}function E(e,t){let n=t.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[t];let[,r,i]=n,o=e.getStateNodeById(i).config.invoke;return(Array.isArray(o)?o[r]:o).src}function A(e,t){if(t===e||"*"===t)return!0;
5if(!t.endsWith(".*"))return!1;let n=t.split("."),r=e.split(".");for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if("*"===t)return e===n.length-1;if(t!==i)return!1}return!0}function S(e,t){return`${e.sessionId}.${t}`}let C=0,I=!1,T=1,O=function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped",e}({}),R={clock:{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class D{constructor(e,t){this.logic=e,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new r(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=O.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this.systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];let n={...R,...t},{clock:i,logger:o,parent:s,syncSnapshot:a,id:l,systemId:u,inspect:c}=n;this.system=s?s.system:function(e,t){let n=new Map,r=new Map,i=new WeakMap,o=new Set,s={},{clock:a,logger:l}=t,u={schedule:(e,t,n,r,i=Math.random().toString(36).slice(2))=>{let o={source:e,target:t,event:n,delay:r,id:i,startedAt:Date.now()},l=S(e,i);c._snapshot._scheduledEvents[l]=o;let u=a.setTimeout(()=>{delete s[l],delete c._snapshot._scheduledEvents[l],c._relay(e,t,n)},r);s[l]=u},cancel:(e,t)=>{let n=S(e,t),r=s[n];delete s[n],delete c._snapshot._scheduledEvents[n],void 0!==r&&a.clearTimeout(r)},cancelAll:e=>{for(let t in c._snapshot._scheduledEvents){let n=c._snapshot._scheduledEvents[t];n.source===e&&u.cancel(e,n.id)}}},c={_snapshot:{_scheduledEvents:(t?.snapshot&&t.snapshot.scheduler)??{}},_bookId:()=>`x:${C++}`,_register:(e,t)=>(n.set(e,t),e),_unregister:e=>{n.delete(e.sessionId);let t=i.get(e);void 0!==t&&(r.delete(t),i.delete(e))},get:e=>r.get(e),getAll:()=>Object.fromEntries(r.entries()),_set:(e,t)=>{let n=r.get(e);if(n&&n!==t)throw Error(`Actor with system ID '${e}' already exists.`);r.set(e,t),i.set(t,e)},inspect:e=>{let t=x(e);return o.add(t),{unsubscribe(){o.delete(t)}}},_sendInspectionEvent:t=>{if(!o.size)return;let n={...t,rootId:e.sessionId};o.forEach(e=>e.next?.(n))},_relay:(e,t,n)=>{c._sendInspectionEvent({type:"@xstate.event",sourceRef:e,actorRef:t,event:n}),t._send(n)},scheduler:u,getSnapshot:()=>({_scheduledEvents:{...c._snapshot._scheduledEvents}}),start:()=>{let e=c._snapshot._scheduledEvents;for(let t in c._snapshot._scheduledEvents={},e){let{source:n,target:r,event:i,delay:o,id:s}=e[t];u.schedule(n,r,i,o,s)}},_clock:a,_logger:l};return c}(this,{clock:i,logger:o}),c&&!s&&this.system.inspect(x(c)),this.sessionId=this.system._bookId(),this.id=l??this.sessionId,this.logger=t?.logger??this.system._logger,this.clock=t?.clock??this.system._clock,this._parent=s,this._syncSnapshot=a,this.options=n,this.src=n.src??e,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:e=>{this._deferred.push(e)},system:this.system,stopChild:e=>{if(e._parent!==this)throw Error(`Cannot stop child actor ${e.id} of ${this.id} because it is not a child`);e._stop()},emit:e=>{let t=this.eventListeners.get(e.type),n=this.eventListeners.get("*");if(t||n)for(let r of[...t?t.values():[],...n?n.values():[]])try{r(e)}catch(e){f(e)}},actionExecutor:e=>{let t=()=>{if(this._actorScope.system._sendInspectionEvent({type:"@xstate.action",actorRef:this,action:{type:e.type,params:e.params}}),!e.exec)return;let t=I;try{I=!0,e.exec(e.info,e.params)}finally{I=t}};this._processingStatus===O.Running?t():this._deferred.push(t)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),u&&(this.systemId=u,this.system._set(u,this)),this._initState(t?.snapshot??t?.state),u&&"active"!==this._snapshot.status&&this.system._unregister(this)}_initState(e){try{this._snapshot=e?this.logic.restoreSnapshot?this.logic.restoreSnapshot(e,this._actorScope):e:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(e){this._snapshot={status:"error",output:void 0,error:e}}}update(e,t){let n;for(this._snapshot=e;n=this._deferred.shift();)try{n()}catch(t){this._deferred.length=0,this._snapshot={...e,status:"error",error:t}}switch(this._snapshot.status){case"active":for(let t of this.observers)try{t.next?.(e)}catch(e){f(e)}break;case"done":var r;for(let t of this.observers)try{t.next?.(e)}catch(e){f(e)}this._stopProcedure(),this._complete(),this._doneEvent=(r=this.id,{type:`xstate.done.actor.${r}`,output:this._snapshot.output,actorId:r}),this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error)}this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:t,snapshot:e})}subscribe(e,t,n){let r=x(e,t,n);if(this._processingStatus!==O.Stopped)this.observers.add(r);else switch(this._snapshot.status){case"done":try{r.complete?.()}catch(e){f(e)}break;case"error":{let e=this._snapshot.error;if(r.error)try{r.error(e)}catch(e){f(e)}else f(e)}}return{unsubscribe:()=>{this.observers.delete(r)}}}on(e,t){let n=this.eventListeners.get(e);n||(n=new Set,this.eventListeners.set(e,n));let r=t.bind(void 0);return n.add(r),{unsubscribe:()=>{n.delete(r)}}}
5start(){if(this._processingStatus===O.Running)return this;this._syncSnapshot&&this.subscribe({next:e=>{"active"===e.status&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:e})},error:()=>{}}),this.system._register(this.sessionId,this),this.systemId&&this.system._set(this.systemId,this),this._processingStatus=O.Running;let e=d(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:e}),this._snapshot.status){case"done":return this.update(this._snapshot,e),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(e){return this._snapshot={...this._snapshot,status:"error",error:e},this._error(e),this}return this.update(this._snapshot,e),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(e){let t,n;try{t=this.logic.transition(this._snapshot,e,this._actorScope)}catch(e){n={err:e}}if(n){let{err:e}=n;this._snapshot={...this._snapshot,status:"error",error:e},this._error(e);return}this.update(t,e),e.type===l&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===O.Stopped||((this.mailbox.clear(),this._processingStatus===O.NotStarted)?this._processingStatus=O.Stopped:this.mailbox.enqueue({type:l})),this}stop(){if(this._parent)throw Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(let e of this.observers)try{e.complete?.()}catch(e){f(e)}this.observers.clear(),this.eventListeners.clear()}_reportError(e){if(!this.observers.size){this._parent||f(e),this.eventListeners.clear();return}let t=!1;for(let n of this.observers){let r=n.error;t||=!r;try{r?.(e)}catch(e){f(e)}}this.observers.clear(),this.eventListeners.clear(),t&&f(e)}_error(e){this._stopProcedure(),this._reportError(e),this._parent&&this.system._relay(this,this._parent,c(this.id,e))}_stopProcedure(){return this._processingStatus!==O.Running||(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new r(this._process.bind(this)),this._processingStatus=O.Stopped,this.system._unregister(this)),this}_send(e){this._processingStatus!==O.Stopped&&this.mailbox.enqueue(e)}send(e){this.system._relay(void 0,this,e)}attachDevTools(){let{devTools:e}=this.options;e&&("function"==typeof e?e:e=>{if("undefined"==typeof window)return;let t=function(){let e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void 0;if(e.__xstate__)return e.__xstate__}();t&&t.register(e)})(this)}toJSON(){return{xstate$$type:T,id:this.id}}getPersistedSnapshot(e){return this.logic.getPersistedSnapshot(this._snapshot,e)}[h](){return this}getSnapshot(){return this._snapshot}}function j(e,...[t]){return new D(e,t)}function M(e,t,n,r,{sendId:i}){return[t,{sendId:"function"==typeof i?i(n,r):i},void 0]}function N(e,t){e.defer(()=>{e.system.scheduler.cancel(e.self,t.sendId)})}function F(e){function t(e,t){}return t.type="xstate.cancel",t.sendId=e,t.resolve=M,t.execute=N,t}function $(e,t,n,r,{id:i,systemId:o,src:s,input:a,syncSnapshot:l}){let u,c,d="string"==typeof s?E(t.machine,s):s,f="function"==typeof i?i(n):i;return d&&(c="function"==typeof a?a({context:t.context,event:n.event,self:e.self}):a,u=j(d,{id:f,src:s,parent:e.self,syncSnapshot:l,systemId:o,input:c})),[eN(t,{children:{...t.children,[f]:u}}),{id:i,systemId:o,actorRef:u,src:s,input:c},void 0]}function P(e,{actorRef:t}){t&&e.defer(()=>{t._processingStatus!==O.Stopped&&t.start()})}function L(...[e,{id:t,systemId:n,input:r,syncSnapshot:i=!1}={}]){function o(e,t){}return o.type="xstate.spawnChild",o.id=t,o.systemId=n,o.src=e,o.input=r,o.syncSnapshot=i,o.resolve=$,o.execute=P,o}function z(e,t,n,r,{actorRef:i}){let o="function"==typeof i?i(n,r):i,s="string"==typeof o?t.children[o]:o,a=t.children;return s&&(a={...a},delete a[s.id]),[eN(t,{children:a}),s,void 0]}function U(e,t){if(t){if(!function e(t,n){let r=n.getSnapshot();if(r&&"children"in r)for(let n of Object.values(r.children))e(t,n);t.system._unregister(n)}(e,t),t._processingStatus!==O.Running)return void e.stopChild(t);e.defer(()=>{e.stopChild(t)})}}function B(e){function t(e,t){}return t.type="xstate.stopChild",t.actorRef=e,t.resolve=z,t.execute=U,t}function q(e,{context:t,event:n},{guards:r}){return!W(r[0],t,n,e)}function V(e){function t(e,t){return!1}return t.check=q,t.guards=[e],t}function H(e,{context:t,event:n},{guards:r}){return r.every(r=>W(r,t,n,e))}function G(e){function t(e,t){return!1}return t.check=H,t.guards=e,t}function W(e,t,n,r){let{machine:i}=r,o="function"==typeof e,s=o?e:i.implementations.guards["string"==typeof e?e:e.type];if(!o&&!s)throw Error(`Guard '${"string"==typeof e?e:e.type}' is not implemented.'.`);if("function"!=typeof s)return W(s,t,n,r);let a={context:t,event:n},l=o||"string"==typeof e?void 0:"params"in e?"function"==typeof e.params?e.params({context:t,event:n}):e.params:void 0;return"check"in s?s.check(r,a,s):s(a,l)}function Y(e){return"atomic"===e.type||"final"===e.type}function K(e){return Object.values(e.states).filter(e=>"history"!==e.type)}function Z(e,t){let n=[];if(t===e)return n;let r=e.parent;for(;r&&r!==t;)n.push(r),r=r.parent;return n}function X(e){let t=new Set(e),n=J(t);for(let e of t)if("compound"!==e.type||n.get(e)&&n.get(e).length){if("parallel"===e.type){for(let n of K(e))if("history"!==n.type&&!t.has(n))for(let e of ec(n))t.add(e)}}
5else ec(e).forEach(e=>t.add(e));for(let e of t){let n=e.parent;for(;n;)t.add(n),n=n.parent}return t}function J(e){let t=new Map;for(let n of e)t.has(n)||t.set(n,[]),n.parent&&(t.has(n.parent)||t.set(n.parent,[]),t.get(n.parent).push(n));return t}function Q(e,t){return function e(t,n){let r=n.get(t);if(!r)return{};if("compound"===t.type){let e=r[0];if(!e)return{};if(Y(e))return e.key}let i={};for(let t of r)i[t.key]=e(t,n);return i}(e,J(X(t)))}function ee(e,t){return"compound"===t.type?K(t).some(t=>"final"===t.type&&e.has(t)):"parallel"===t.type?K(t).every(t=>ee(e,t)):"final"===t.type}let et=e=>"#"===e[0];function en(e,t){return e.transitions.get(t)||[...e.transitions.keys()].filter(e=>A(t,e)).sort((e,t)=>t.length-e.length).flatMap(t=>e.transitions.get(t))}function er(e){let t=e.config.after;return t?Object.keys(t).flatMap(n=>{let r=t[n],i=Number.isNaN(+n)?n:+n,o=(t=>{var n;let r=(n=e.id,{type:`xstate.after.${t}.${n}`}),i=r.type;return e.entry.push(eL(r,{id:i,delay:t})),e.exit.push(F(i)),i})(i);return y("string"==typeof r?{target:r}:r).map(e=>({...e,event:o,delay:i}))}).map(t=>{let{delay:n}=t;return{...ei(e,t.event,t),delay:n}}):[]}function ei(e,t,n){let r=_(n.target),o=n.reenter??!1,s=function(e,t){if(void 0!==t)return t.map(t=>{if("string"!=typeof t)return t;if(et(t))return e.machine.getStateNodeById(t);let n=t[0]===i;if(n&&!e.parent)return eh(e,t.slice(1));let r=n?e.key+t:t;if(e.parent)try{return eh(e.parent,r)}catch(t){throw Error(`Invalid transition definition for state node '${e.id}': 6${t.message}`)}throw Error(`Invalid target: "${t}" is not a valid target from the root node. Did you mean ".${t}"?`)})}(e,r),a={...n,actions:y(n.actions),guard:n.guard,target:s,source:e,reenter
6:o,eventType:t,toJSON:()=>({...a,source:`#${e.id}`,target:s?s.map(e=>`#${e.id}`):void 0})};return a}function eo(e){let t=new Map;if(e.config.on)for(let n of Object.keys(e.config.on)){if(n===o)throw Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');let r=e.config.on[n];t.set(n,w(r).map(t=>ei(e,n,t)))}if(e.config.onDone){let n=`xstate.done.state.${e.id}`;t.set(n,w(e.config.onDone).map(t=>ei(e,n,t)))}for(let n of e.invoke){if(n.onDone){let r=`xstate.done.actor.${n.id}`;t.set(r,w(n.onDone).map(t=>ei(e,r,t)))}if(n.onError){let r=`xstate.error.actor.${n.id}`;t.set(r,w(n.onError).map(t=>ei(e,r,t)))}if(n.onSnapshot){let r=`xstate.snapshot.${n.id}`;t.set(r,w(n.onSnapshot).map(t=>ei(e,r,t)))}}for(let n of e.after){let e=t.get(n.eventType);e||(e=[],t.set(n.eventType,e)),e.push(n)}return t}function es(e){let t=[],n=r=>{Object.values(r).forEach(r=>{if(r.config.route&&r.config.id){let n=r.config.id,i=r.config.route.guard,o={...r.config.route,guard:(e,t)=>e.event.to===`#${n}`&&(!i||"function"!=typeof i||i(e,t)),target:`#${n}`};t.push(ei(e,"xstate.route",o))}r.states&&n(r.states)})};n(e.states),t.length>0&&e.transitions.set("xstate.route",t)}function ea(e,t){let n="string"==typeof t?e.states[t]:t?e.states[t.target]:void 0;if(!n&&t)throw Error(`Initial state node "${t}" not found on parent state node #${e.id}`);let r={source:e,actions:t&&"string"!=typeof t?y(t.actions):[],eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...r,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return r}function el(e){let t=_(e.config.target);return t?{target:t.map(t=>"string"==typeof t?eh(e.parent,t):t)}:e.parent.initial}function eu(e){return"history"===e.type}function ec(e){let t=ed(e);for(let n of t)for(let r of Z(n,e))t.add(r);return t}function ed(e){let t=new Set;return!function e(n){if(!t.has(n)){if(t.add(n),"compound"===n.type)e(n.initial.target[0]);else if("parallel"===n.type)for(let t of K(n))e(t)}}(e),t}function ef(e,t){if(et(t))return e.machine.getStateNodeById(t);if(!e.states)throw Error(`Unable to retrieve child state '${t}' from '${e.id}'; no child states exist.`);let n=e.states[t];if(!n)throw Error(`Child state '${t}' does not exist on '${e.id}'`);return n}function eh(e,t){if("string"==typeof t&&et(t))try{return e.machine.getStateNodeById(t)}catch{}let n=p(t).slice(),r=e;for(;n.length;){let e=n.shift();if(!e.length)break;r=ef(r,e)}return r}function ep(e,t){if("string"==typeof t){let n=e.states[t];if(!n)throw Error(`State '${t}' does not exist on '${e.id}'`);return[e,n]}let n=Object.keys(t),r=n.map(t=>ef(e,t)).filter(Boolean);return[e.machine.root,e].concat(r,n.reduce((n,r)=>{let i=ef(e,r);if(!i)return n;let o=ep(i,t[r]);return n.concat(o)},[]))}function eg(e,t){let n=e;for(;n.parent&&n.parent!==t;)n=n.parent;return n.parent===t}function em(e,t,n){let r=new Set;for(let i of e){let e=!1,o=new Set;for(let s of r)if(function(e,t){let n=new Set(e),r=new Set(t);for(let e of n)if(r.has(e))return!0;for(let e of r)if(n.has(e))return!0;return!1}(ev([i],t,n),ev([s],t,n)))if(eg(i.source,s.source))o.add(s);else{e=!0;break}if(!e){for(let e of o)r.delete(e);r.add(i)}}return Array.from(r)}function ey(e,t){if(!e.target)return[];let n=new Set;for(let r of e.target)if(eu(r))if(t[r.id])for(let e of t[r.id])n.add(e);else for(let e of ey(el(r),t))n.add(e);else n.add(r);return[...n]}function eb(e,t){let n=ey(e,t);if(!n)return;if(!e.reenter&&n.every(t=>t===e.source||eg(t,e.source)))return e.source;let r=function(e){let[t,...n]=e;for(let e of Z(t,void 0))if(n.every(t=>eg(t,e)))return e}(n.concat(e.source));return r||(e.reenter?void 0:e.source.machine.root)}function ev(e,t,n){let r=new Set;for(let i of e)if(i.target?.length){let e=eb(i,n);for(let n of(i.reenter&&i.source===e&&r.add(e),t))eg(n,e)&&r.add(n)}return[...r]}function ew(e,t,n,r,i){return e_([{target:[...ed(e)],source:e,reenter
6:!0,actions:[],eventType:null,toJSON:null}],t,n,r,!0,i)}function e_(e,t,n,r,i,o){let s=[];if(!e.length)return[t,s];let a=n.actionExecutor;n.actionExecutor=e=>{s.push(e),a(e)};try{let a=new Set(t._nodes),l=t.historyValue,c=em(e,a,l),d=t;i||([d,l]=function(e,t,n,r,i,o,s,a){let l,u=e,c=ev(r,i,o);for(let e of(c.sort((e,t)=>t.order-e.order),c))for(let t of function(e){return Object.keys(e.states).map(t=>e.states[t]).filter(e=>"history"===e.type)}(e)){let n;n="deep"===t.history?t=>Y(t)&&eg(t,e):t=>t.parent===e,(l??={...o})[t.id]=Array.from(i).filter(n)}for(let e of c)u=eE(u,t,n,[...e.exit,...e.invoke.map(e=>B(e.id))],s,void 0),i.delete(e);return[u,l||o]}(d,r,n,c,a,l,o,n.actionExecutor)),d=eE(d,r,n,c.flatMap(e=>e.actions),o,void 0),d=function(e,t,n,r,i,o,s,a){let l=e,c=new Set,d=new Set;(function(e,t,n,r){for(let i of e){let e=eb(i,t);for(let o of i.target||[])!eu(o)&&(i.source!==o||i.source!==e||i.reenter)&&(r.add(o),n.add(o)),ex(o,t,n,r);for(let o of ey(i,t)){let s=Z(o,e);e?.type==="parallel"&&s.push(e),ek(r,t,n,s,!i.source.parent&&i.reenter?void 0:e)}}})(r,s,d,c),a&&d.add(e.machine.root);let f=new Set;for(let e of[...c].sort((e,t)=>e.order-t.order)){i.add(e);let r=[];for(let t of(r.push(...e.entry),e.invoke))r.push(L(t.src,{...t,syncSnapshot:!!t.onSnapshot}));if(d.has(e)){let t=e.initial.actions;r.push(...t)}if(l=eE(l,t,n,r,o,e.invoke.map(e=>e.id)),"final"===e.type){let r=e.parent,s=r?.type==="parallel"?r:r?.parent,a=s||e;for(r?.type==="compound"&&o.push(u(r.id,void 0!==e.output?b(e.output,l.context,t,n.self):void 0));s?.type==="parallel"&&!f.has(s)&&ee(i,s);)f.add(s),o.push(u(s.id)),a=s,s=s.parent;if(s)continue;l=eN(l,{status:"done",output:function(e,t,n,r,i){if(void 0===r.output)return;let o=u(i.id,void 0!==i.output&&i.parent?b(i.output,e.context,t,n.self):void 0);return b(r.output,e.context,o,n.self)}(l,t,n,l.machine.root,a)})}}return l}(d,r,n,c,a,o,l,i);let f=[...a];"done"===d.status&&(d=eE(d,r,n,f.sort((e,t)=>t.order-e.order).flatMap(e=>e.exit),o,void 0));try{if(l===t.historyValue&&function(e,t){if(e.length!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(t._nodes,a))return[d,s];return[eN(d,{_nodes:f,historyValue:l}),s]}catch(e){throw e}}finally{n.actionExecutor=a}}function ex(e,t,n,r){var i,o,s,a;if(eu(e))if(t[e.id]){let s=t[e.id];for(let e of s)r.add(e),ex(e,t,n,r);for(let a of s){i=a,o=e.parent,ek(r,t,n,Z(i,o))}}else{let i=el(e);for(let o of i.target)r.add(o),i===e.parent?.initial&&n.add(e.parent),ex(o,t,n,r);for(let o of i.target){s=o,a=e.parent,ek(r,t,n,Z(s,a))}}else if("compound"===e.type){let[i]=e.initial.target;eu(i)||(r.add(i),n.add(i)),ex(i,t,n,r),ek(r,t,n,Z(i,e))}else if("parallel"===e.type)for(let i of K(e).filter(e=>!eu(e)))[...r].some(e=>eg(e,i))||(eu(i)||(r.add(i),n.add(i)),ex(i,t,n,r))}function ek(e,t,n,r,i){for(let o of r)if((!i||eg(o,i))&&e.add(o),"parallel"===o.type)for(let r of K(o).filter(e=>!eu(e)))[...e].some(e=>eg(e,r))||(e.add(r),ex(r,t,n,e))}function eE(e,t,n,r,i,o){let s=o?[]:void 0,a=function e(t,n,r,i,o,s){let{machine:a}=t,l=t;for(let t of i){var u;let i="function"==typeof t,c=i?t:(u="string"==typeof t?t:t.type,a.implementations.actions[u]),d={context:l.context,event:n,self:r.self,system:r.system},f=i||"string"==typeof t?void 0:"params"in t?"function"==typeof t.params?t.params({context:l.context,event:n}):t.params:void 0;if(!c||!("resolve"in c)){r.actionExecutor({type:"string"==typeof t?t:"object"==typeof t?t.type:t.name||"(anonymous)",info:d,params:f,exec:c});continue}let[h,p,g]=c.resolve(r,l,d,f,c,o);l=h,"retryResolve"in c&&s?.push([c,p]),"execute"in c&&r.actionExecutor({type:c.type,info:d,params:p,exec:c.execute.bind(null,r,p)}),g&&(l=e(l,n,r,g,o,s))}return l}(e,t,n,r,{internalQueue:i,deferredActorIds:o},s);return s?.forEach(([e,t])=>{e.retryResolve(n,a,t)}),a}function eA(e,t,n,r){let i=e,o=[];function a(e,t,r){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:t,snapshot:e[0],_transitions:r}),o.push(e)}if(t.type===l)return a([i=eN(eS(i,t,n),{status:"stopped"}),[]],t,[]),{snapshot:i,microsteps:o};let u=t;if(u.type!==s){let t=u,s=t.type.startsWith("xstate.error.actor"),l=eC(t,i);if(s&&!l.length)return a([i=eN(e,{status:"error",error:t.error}),[]],t,[]),{snapshot:i,microsteps:o};let c=e_(l,e,n,u,!1,r);i=c[0],a(c,t,l)}let c=!0;for(;"active"===i.status;){let e=c?function(e,t){let n=new Set;for(let r of e._nodes.filter(Y))t:for(let i of[r].concat(Z(r,void 0)))if(i.always){for(let r of i.always)if(void 0===r.guard||W(r.guard,e.context,t,e)){n.add(r);break t}}return em(Array.from(n),new Set(e._nodes),e.historyValue)}
6(i,u):[],t=e.length?i:void 0;if(!e.length){if(!r.length)break;e=eC(u=r.shift(),i)}let o=e_(e,i,n,u,!1,r);c=(i=o[0])!==t,a(o,u,e)}return"active"!==i.status&&eS(i,u,n),{snapshot:i,microsteps:o}}function eS(e,t,n){return eE(e,t,n,Object.values(e.children).map(e=>B(e)),[],void 0)}function eC(e,t){return t.machine.getTransitionData(t,e)}function eI(e,t){let n=X(ep(e,t));return Q(e,[...n])}let eT=function(e){return function e(t,n){let r=g(t),i=g(n);return"string"==typeof i?"string"==typeof r&&i===r:"string"==typeof r?r in i:Object.keys(r).every(t=>t in i&&e(r[t],i[t]))}(e,this.value)},eO=function(e){return this.tags.has(e)},eR=function(e){let t=this.machine.getTransitionData(this,e);return!!t?.length&&t.some(e=>void 0!==e.target||e.actions.length)},eD=function(){let{_nodes:e,tags:t,machine:n,getMeta:r,toJSON:i,can:o,hasTag:s,matches:a,...l}=this;return{...l,tags:Array.from(t)}},ej=function(){return this._nodes.reduce((e,t)=>(void 0!==t.meta&&(e[t.id]=t.meta),e),{})};function eM(e,t){return{status:e.status,output:e.output,error:e.error,machine:t,context:e.context,_nodes:e._nodes,value:Q(t.root,e._nodes),tags:new Set(e._nodes.flatMap(e=>e.tags)),children:e.children,historyValue:e.historyValue||{},matches:eT,hasTag:eO,can:eR,getMeta:ej,toJSON:eD}}function eN(e,t={}){return eM({...e,...t},e.machine)}function eF(e,t){let{_nodes:n,tags:r,machine:i,children:o,context:s,can:a,hasTag:l,matches:u,getMeta:c,toJSON:d,...f}=e,h={};for(let e in o){let n=o[e];h[e]={snapshot:n.getPersistedSnapshot(t),src:n.src,systemId:n.systemId,syncSnapshot:n._syncSnapshot}}return{...f,context:function e(t){let n;for(let r in t){let i=t[r];if(i&&"object"==typeof i)if("sessionId"in i&&"send"in i&&"ref"in i)(n??=Array.isArray(t)?t.slice():{...t})[r]={xstate$$type:T,id:i.id};else{let o=e(i);o!==i&&((n??=Array.isArray(t)?t.slice():{...t})[r]=o)}}return n??t}(s),children:h,historyValue:function(e){if("object"!=typeof e||null===e)return{};let t={};for(let n in e){let r=e[n];Array.isArray(r)&&(t[n]=r.map(e=>({id:e.id})))}return t}(f.historyValue)}}function e$(e,t,n,r,{event:i,id:o,delay:s},{internalQueue:a}){let l,u=t.machine.implementations.delays;if("string"==typeof i)throw Error(`Only event objects may be used with raise; use raise({ type: "${i}" }) instead`);let c="function"==typeof i?i(n,r):i;if("string"==typeof s){let e=u&&u[s];l="function"==typeof e?e(n,r):e}else l="function"==typeof s?s(n,r):s;return"number"!=typeof l&&a.push(c),[t,{event:c,id:o,delay:l},void 0]}function eP(e,t){let{event:n,delay:r,id:i}=t;if("number"==typeof r)return void e.defer(()=>{let t=e.self;e.system.scheduler.schedule(t,t,n,r,i)})}function eL(e,t){function n(e,t){}return n.type="xstate.raise",n.event=e,n.id=t?.id,n.delay=t?.delay,n.resolve=e$,n.execute=eP,n}},25023:(e,t,n)=>{var r=n(6407);e.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},25030:(e,t,n)=>{"use strict";n.d(t,{RV:()=>d,gd:()=>s,qQ:()=>c,vk:()=>a,yF:()=>r});let r="?",i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function s(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,s=0)=>{let a=[],u=e.split("\n");for(let e=n;e<u.length;e++){let n=u[e];if(n.length>1024)continue;let r=i.test(n)?n.replace(i,"$1"):n;if(!r.match(/\S*Error: /)){for(let e of t){let t=e(r);if(t){a.push(t);break}}if(a.length>=50+s)break}}var c=a.slice(s);if(!c.length)return[];let d=Array.from(c);return/sentryWrapped/.test(l(d).function||"")&&d.pop(),d.reverse(),o.test(l(d).function||"")&&(d.pop(),o.test(l(d).function||"")&&d.pop()),d.slice(0,50).map(e=>({...e,filename:e.filename||l(d).filename,function:e.function||r}))}}function a(e){return Array.isArray(e)?s(...e):e}function l(e){return e[e.length-1]||{}}let u="<anonymous>";function c(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch(e){return u}}function d(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}},25259:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var r=n(45037),i=n(12718),o=n(89526),s=n(42421);function a(e,t,n){void 0===e&&(e=0),void 0===n&&(n=i.b);var a=-1;return null!=t&&((0,o.m)(t)?n=t:a=t),new r.c(function(t){var r=(0,s.v)(e)?e-n.now():e;r<0&&(r=0);var i=0;return n.schedule(function(){t.closed||(t.next(i++),0<=a?this.schedule(void 0,a):t.complete())},r)})}},25411:e=>{e.exports=Array.isArray}
6,25828:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(12718),i=n(96948),o=n(28400);function s(e,t){return void 0===t&&(t=r.E),(0,i.N)(function(n,r){var i=null,s=null,a=null,l=function(){if(i){i.unsubscribe(),i=null;var e=s;s=null,r.next(e)}};function u(){var n=a+e,o=t.now();if(o<n){i=this.schedule(void 0,n-o),r.add(i);return}l()}n.subscribe((0,o._)(r,function(n){s=n,a=t.now(),i||(i=t.schedule(u,e),r.add(i))},function(){l(),r.complete()},void 0,function(){s=i=null}))})}},25844:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let r=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)};var i=Math.max;let o=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),l=Array(a);++s<a;)l[s]=o[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=o[s];return u[t]=n(l),r(e,this,u)}}},25902:(e,t,n)=>{var r=n(32598),i=n(26526),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable;e.exports=r(function(){return arguments}())?r:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")}},26035:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,e:()=>p,l:()=>y,s:()=>f});var r=n(24933),i=n(46674);function o(e,t,n,r,{event:i}){return[t,{event:"function"==typeof i?i(n,r):i},void 0]}function s(e,{event:t}){e.defer(()=>e.emit(t))}function a(e){function t(e,t){}return t.type="xstate.emit",t.event=e,t.resolve=o,t.execute=s,t}let l=function(e){return e.Parent="#_parent",e.Internal="#_internal",e}({});function u(e,t,n,r,{to:i,event:o,id:s,delay:a},u){let c,d,f=t.machine.implementations.delays;if("string"==typeof o)throw Error(`Only event objects may be used with sendTo; use sendTo({ type: "${o}" }) instead`);let h="function"==typeof o?o(n,r):o;if("string"==typeof a){let e=f&&f[a];c="function"==typeof e?e(n,r):e}else c="function"==typeof a?a(n,r):a;let p="function"==typeof i?i(n,r):i;if("string"==typeof p){if(!(d=p===l.Parent?e.self._parent:p===l.Internal?e.self:p.startsWith("#_")?t.children[p.slice(2)]:u.deferredActorIds?.includes(p)?p:t.children[p]))throw Error(`Unable to send event to actor '${p}' from machine '${t.machine.id}'.`)}else d=p||e.self;return[t,{to:d,targetId:"string"==typeof p?p:void 0,event:h,id:s,delay:c},void 0]}function c(e,t,n){"string"==typeof n.to&&(n.to=t.children[n.to])}function d(e,t){e.defer(()=>{let{to:n,event:i,delay:o,id:s}=t;if("number"==typeof o)return void e.system.scheduler.schedule(e.self,n,i,o,s);e.system._relay(e.self,n,i.type===r.W?(0,r.Y)(e.self.id,i.data):i)})}function f(e,t,n){function r(e,t){}return r.type="xstate.sendTo",r.to=e,r.event=t,r.id=n?.id,r.delay=n?.delay,r.resolve=u,r.retryResolve=c,r.execute=d,r}function h(e,t,n,o,{collect:s}){let u=[],c=function(e){u.push(e)};return c.assign=(...e)=>{u.push((0,i.a)(...e))},c.cancel=(...e)=>{u.push((0,r.a)(...e))},c.raise=(...e)=>{u.push((0,r.r)(...e))},c.sendTo=(...e)=>{u.push(f(...e))},c.sendParent=(...e)=>{u.push(function(e,t){return f(l.Parent,e,t)}(...e))},c.spawnChild=(...e)=>{u.push((0,r.b)(...e))},c.stopChild=(...e)=>{u.push((0,r.s)(...e))},c.emit=(...e)=>{u.push(a(...e))},s({context:n.context,event:n.event,enqueue:c,check:e=>(0,r.D)(e,t.context,n.event,t),self:e.self,system:e.system},o),[t,void 0,u]}function p(e){function t(e,t){}return t.type="xstate.enqueueActions",t.collect=e,t.resolve=h,t}function g(e,t,n,r,{value:i,label:o}){return[t,{value:"function"==typeof i?i(n,r):i,label:o},void 0]}function m({logger:e},{value:t,label:n}){n?e(n,t):e(t)}function y(e=({context:e,event:t})=>({context:e,event:t}),t){function n(e,t){}return n.type="xstate.log",n.value=e,n.label=t,n.resolve=g,n.execute=m,n}},26217:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});let r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function a(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;let a=s[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(a)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(a));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(a.length)}}}let u={code:"en-US",formatDistance:(e,t,n)=>{let i,o=r[e];if(i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+i;else return i+" ago";return i},formatLong:o,formatRelative:(e,t,n,r)=>s[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:a({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:a({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:a({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:a({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
6ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:a({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;let i=r[0],o=t.match(e.parsePattern);if(!o)return null;let s=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:s=n.valueCallback?n.valueCallback(s):s,rest:t.slice(i.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},26301:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>0===r(e,t,n)},26467:(e,t,n)=>{"use strict";n.d(t,{H:()=>s});var r=n(9180),i=n(4168),o=n(92118);function s(e,t){var n;let s,g,m=()=>(0,i.w)(null==t?void 0:t.in,NaN),y=null!=(n=null==t?void 0:t.additionalDigits)?n:2,b=function(e){let t,n={},r=e.split(a.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],a.timeZoneDelimiter.test(n.date)&&(n.date=e.split(a.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=a.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(b.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(b.date,y);s=function(e,t){var n,r,i,o,s,a,u;if(null===t)return new Date(NaN);let c=e.match(l);if(!c)return new Date(NaN);let f=!!c[4],g=d(c[1]),m=d(c[2])-1,y=d(c[3]),b=d(c[4]),v=d(c[5])-1;if(f){return(n=b,r=v,n>=1&&n<=53&&r>=0&&r<=6)?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-i)),r}(t,b,v):new Date(NaN)}{let e=new Date(0);return(i=t,o=m,s=y,o>=0&&o<=11&&s>=1&&s<=(h[o]||(p(i)?29:28))&&(a=t,(u=g)>=1&&u<=(p(a)?366:365)))?(e.setUTCFullYear(t,m,Math.max(g,y)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!s||isNaN(+s))return m();let v=+s,w=0;if(b.time&&isNaN(w=function(e){var t,n,i;let o=e.match(u);if(!o)return NaN;let s=f(o[1]),a=f(o[2]),l=f(o[3]);return(t=s,n=a,i=l,24===t?0===n&&0===i:i>=0&&i<60&&n>=0&&n<60&&t>
6=0&&t<25)?s*r.s0+a*r.Cg+1e3*l:NaN}(b.time)))return m();if(b.timezone){if(isNaN(g=function(e){var t;if("Z"===e)return 0;let n=e.match(c);if(!n)return 0;let i="+"===n[1]?-1:1,o=parseInt(n[2]),s=n[3]&&parseInt(n[3])||0;return(t=s)>=0&&t<=59?i*(o*r.s0+s*r.Cg):NaN}(b.timezone)))return m()}else{let e=new Date(v+w),n=(0,o.a)(0,null==t?void 0:t.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,o.a)(v+w+g,null==t?void 0:t.in)}let a={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,u=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function f(e){return e&&parseFloat(e.replace(",","."))||0}let h=[31,null,31,30,31,30,31,31,30,31,30,31];function p(e){return e%400==0||e%4==0&&e%100!=0}},26497:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var r=n(9784),i=n(39860),o=n(60296),s=n(94416),a=n(86553),l=n(59686),u=n(81402),c=n(53127);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,u.s)(e)&&e.offsetWidth||0,r=(0,u.s)(e)&&e.offsetHeight||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function h(e){var t,n;let{children:o,isPresent:s,anchorX:a,anchorY:l,root:u,pop:h}=e,p=(0,i.useId)(),g=(0,i.useRef)(null),m=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:y}=(0,i.useContext)(c.Q),b=function(...e){return i.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=d(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():d(e[t],null)}}}}(...e),e)}(g,null!=(n=null==(t=o.props)?void 0:t.ref)?n:null==o?void 0:o.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:r,right:i,bottom:o}=m.current;if(s||!1===h||!g.current||!e||!t)return;g.current.dataset.motionPopId=p;let c=document.createElement("style");y&&(c.nonce=y);let d=null!=u?u:document.head;return d.appendChild(c),c.sheet&&c.sheet.insertRule('\n [data-motion-pop-id="'.concat(p,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n ").concat("left"===a?"left: ".concat(r):"right: ".concat(i),"px !important;\n ").concat("bottom"===l?"bottom: ".concat(o):"top: ".concat(n),"px !important;\n }\n ")),()=>{d.contains(c)&&d.removeChild(c)}},[s]),(0,r.jsx)(f,{isPresent:s,childRef:g,sizeRef:m,pop:h,children:!1===h?o:i.cloneElement(o,{ref:b})})}let p=e=>{let{children:t,initial:n,isPresent:o,onExitComplete:a,custom:u,presenceAffectsLayout:c,mode:d,anchorX:f,anchorY:p,root:m}=e,y=(0,s.M)(g),b=(0,i.useId)(),v=!0,w=(0,i.useMemo)(()=>(v=!1,{id:b,initial:n,isPresent:o,custom:u,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;a&&a()},register:e=>(y.set(e,!1),()=>y.delete(e))}),[o,y,a]);return c&&v&&(w={...w}),(0,i.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[o]),i.useEffect(()=>{o||y.size||!a||a()},[o]),t=(0,r.jsx)(h,{pop:"popLayout"===d,isPresent:o,anchorX:f,anchorY:p,root:m,children:t}),(0,r.jsx)(l.t.Provider,{value:w,children:t})};function g(){return new Map}var m=n(75601);let y=e=>e.key||"";function b(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let v=e=>{let{children:t,custom:n,initial:l=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:d="sync",propagate:f=!1,anchorX:h="left",anchorY:g="top",root:v}=e,[w,_]=(0,m.xQ)(f),x=(0,i.useMemo)(()=>b(t),[t]),k=f&&!w?[]:x.map(y),E=(0,i.useRef)(!0),A=(0,i.useRef)(x),S=(0,s.M)(()=>new Map),C=(0,i.useRef)(new Set),[I,T]=(0,i.useState)(x),[O,R]=(0,i.useState)(x);(0,a.E)(()=>{E.current=!1,A.current=x;for(let e=0;e<O.length;e++){let t=y(O[e]);k.includes(t)?(S.delete(t),C.current.delete(t)):!0!==S.get(t)&&S.set(t,!1)}},[O,k.length,k.join("-")]);let D=[];if(x!==I){let e=[...x];for(let t=0;t<O.length;t++){let n=O[t],r=y(n);k.includes(r)||(e.splice(t,0,n),D.push(n))}return"wait"===d&&D.length&&(e=D),R(b(e)),T(x),null}let{forceRender:j}=(0,i.useContext)(o.L);return(0,r.jsx)(r.Fragment,{children:O.map(e=>{let t=y(e),i=(!f||!!w)&&(x===O||k.includes(t));return(0,r.jsx)(p,{isPresent:i,initial:(!E.current||!!l)&&void 0,custom:n,presenceAffectsLayout:c,mode:d,root:v,onExitComplete:i?void 0:()=>
6{if(C.current.has(t)||(C.current.add(t),!S.has(t)))return;S.set(t,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(null==j||j(),R(A.current),f&&(null==_||_()),u&&u())},anchorX:h,anchorY:g,children:e},t)})})}},26526:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},26552:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r="production"},26630:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},26660:(e,t,n)=>{e.exports=n(59955)(Object.keys,Object)},26719:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,o=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return i(n.overflowY,t)||i(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},s=(e,t,n,r,i,o,s,a)=>o<e&&s>t||o>e&&s<t?0:o<=e&&a<=n||s>=t&&a>=n?o-e-r:s>t&&a<n||o<e&&a>n?s-t+i:0,a=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var n,i,l,u;if("undefined"==typeof document)return[];let{scrollMode:c,block:d,inline:f,boundary:h,skipOverflowHiddenElements:p}=t,g="function"==typeof h?h:e=>e!==h;if(!r(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,y=[],b=e;for(;r(b)&&g(b);){if((b=a(b))===m){y.push(b);break}null!=b&&b===document.body&&o(b)&&!o(document.documentElement)||null!=b&&o(b,p)&&y.push(b)}let v=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,w=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:_,scrollY:x}=window,{height:k,width:E,top:A,right:S,bottom:C,left:I}=e.getBoundingClientRect(),{top:T,right:O,bottom:R,left:D}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),j="start"===d||"nearest"===d?A-T:"end"===d?C+R:A+k/2-T+R,M="center"===f?I+E/2-D+O:"end"===f?S+O:I-D,N=[];for(let e=0;e<y.length;e++){let t=y[e],{height:n,width:r,top:i,right:a,bottom:l,left:u}=t.getBoundingClientRect();if("if-needed"===c&&A>=0&&I>=0&&C<=w&&S<=v&&(t===m&&!o(t)||A>=i&&C<=l&&I>=u&&S<=a))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),b=parseInt(h.borderRightWidth,10),T=parseInt(h.borderBottomWidth,10),O=0,R=0,D="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-b:0,F="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-T:0,$="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)O="start"===d?j:"end"===d?j-w:"nearest"===d?s(x,x+w,w,g,T,x+j,x+j+k,k):j-w/2,R="start"===f?M:"center"===f?M-v/2:"end"===f?M-v:s(_,_+v,v,p,b,_+M,_+M+E,E),O=Math.max(0,O+x),R=Math.max(0,R+_);else{O="start"===d?j-i-g:"end"===d?j-l+T+F:"nearest"===d?s(i,l,n,g,T+F,j,j+k,k):j-(i+n/2)+F/2,R="start"===f?M-u-p:"center"===f?M-(u+r/2)+D/2:"end"===f?M-a+b+D:s(u,a,r,p,b+D,M,M+E,E);let{scrollLeft:e,scrollTop:o}=t;O=0===P?0:Math.max(0,Math.min(o+O/P,t.scrollHeight-n/P+F)),R=0===$?0:Math.max(0,Math.min(e+R/$,t.scrollWidth-r/$+D)),j+=o-O,M+=e-R}N.push({el:t,top:O,left:R})}return N};function u(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(l(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:o,left:s}of l(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=o-n.top+n.bottom,t=s-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}},26745:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},27122:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>l,Dp:()=>d,J0:()=>f,J5:()=>g,o:()=>c,r:()=>u});var r=n(26552),i=n(27627),o=n(24617),s=n(31246),a=n(9045);function l(e,t){return(0,i.o5)().captureException(e,(0,a.li)(t))}function u(e,t){return(0,i.o5)().captureEvent(e,t)}function c(e,t){(0,i.rm)().setContext(e,t)}function d(){return!!(0,i.KU)()}function f(e){let t=(0,i.KU)(),n=(0,i.rm)(),a=(0,i.o5)(),{release:l,environment:u=r.U}=t&&t.getOptions()||{},{userAgent:c}=s.O.navigator||{},d=(0,o.fj)({release:l,environment:u,user:a.getUser()||n.getUser(),...c&&{userAgent:c},...e}),f=n.getSession();return f&&"ok"===f.status&&(0,o.qO)(f,{status:"exited"}),h(),n.setSession(d),a.setSession(d),d}function h(){let e=(0,i.rm)(),t=(0,i.o5)(),n=t.getSession()||e.getSession();n&&(0,o.Vu)(n),p(),e.setSession(),t.setSession()}function p(){let e=(0,i.rm)(),t=(0,i.o5)(),n=(0,i.KU)(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function g(e=!1){if(e)return void h();p()}},27460:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var r=n(45240),i=n(97263);function o(e,t,n){let[o,s]=(0,r.x)(null==n?void 0:n.in,e,t),a=(0,i.z)(o,s),l=Math.abs(function(e,t,n){let[i,o]=(0,r.x)(void 0,e,t);return i.getFullYear()-o.getFullYear()}
6(o,s));o.setFullYear(1584),s.setFullYear(1584);let u=(0,i.z)(o,s)===-a,c=a*(l-u);return 0===c?0:c}},27467:(e,t,n)=>{var r=n(28007),i=n(17719),o=n(81495);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},27509:(e,t,n)=>{var r=n(18135);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},27563:(e,t,n)=>{"use strict";n.d(t,{k:()=>v});var r=n(9784),i=n(63056),o=n(70469),s=n(57433),a=n(3283),l=n(84623),u=n(43538),c=n(90848),d=n(40609),f=n(46674),h=n(74853),p=n(74824);function g(e){let t,n=(0,i.c)(4),r=(0,o.h)();return n[0]!==r||n[1]!==e.decorator||n[2]!==e.pair?(t={input:{editor:r,decorator:e.decorator,pair:e.pair}},n[0]=r,n[1]=e.decorator,n[2]=e.pair,n[3]=t):t=n[3],(0,u.qf)(m,t),null}let m=(0,c.mj)({types:{context:{},input:{},events:{}},actors:{"decorate listener":(0,d.SP)(({sendBack:e,input:t})=>t.editor.registerBehavior({behavior:function(e){e.pair.amount<1&&console.warn("The amount of characters in the pair should be greater than 0");let t=function(e,t){let n=`(?<!\\${e})`,r=`\\${e}`.repeat(Math.max(t,1)),i=`([^${e}\\n]+?)`,o=`\\${e}`.repeat(Math.max(t,1)),s=`(?!\\${e})`;return`${n}${r}(?!\\s)${i}(?<!\\s)${o}${s}`}(e.pair.char,e.pair.amount),n=RegExp(`(${t})$`);return(0,s.Ke)({on:"insert.text",guard:({snapshot:t,event:r})=>{if(e.pair.amount<1)return!1;let i=e.decorator({context:{schema:t.context.schema},schema:t.context.schema});if(void 0===i)return!1;let o=h.hH(t),s=h.Jo(t),u=s?a.iL({context:t.context,selectionPoint:s}):void 0;if(!o||!u)return!1;let c=`${p._M(t)}${r.text}`,d=c.match(n)?.at(0);if(void 0===d)return!1;let f={anchor:{path:o.path,offset:c.length-d.length},focus:{path:o.path,offset:c.length-d.length+e.pair.char.length*e.pair.amount}},g={anchor:{path:o.path,offset:u.offset+r.text.length-e.pair.char.length*e.pair.amount},focus:{path:o.path,offset:u.offset+r.text.length}};if(f.focus.offset-f.anchor.offset>1){let e=l.lv({context:t.context,offsets:f}),n=h.Uv({...t,context:{...t.context,selection:e?{anchor:e.focus,focus:e.focus}:null}}),r=n?l.GR({context:t.context,selectionPoint:{path:n.path,offset:0}}):void 0;if(r&&r.offset>f.anchor.offset&&r.offset<f.focus.offset)return!1}if(g.focus.offset-g.anchor.offset>1){let e=h.Uv(t),n=e?l.GR({context:t.context,selectionPoint:{path:e.path,offset:0}}):void 0;if(n&&n.offset>g.anchor.offset&&n.offset<g.focus.offset)return!1}return{prefixOffsets:f,suffixOffsets:g,decorator:i}},actions:[({event:e})=>[(0,s.sY)(e)],(t,{prefixOffsets:n,suffixOffsets:r,decorator:i})=>[(0,s.xl)({type:"decorator.add",decorator:i,at:{anchor:n.focus,focus:r.anchor}}),(0,s.xl)({type:"delete.text",at:r}),(0,s.xl)({type:"delete.text",at:n}),(0,s.xl)({type:"decorator.remove",decorator:i}),(0,s.QZ)(()=>{e.onDecorate({...r.anchor,offset:r.anchor.offset-(n.focus.offset-n.anchor.offset)})})]]})}({decorator:t.decorator,pair:t.pair,onDecorate:t=>{e({type:"decorator.add",blockOffset:t})}})})),"delete.backward listener":(0,d.SP)(({sendBack:e,input:t})=>t.editor.registerBehavior({behavior:(0,s.Ke)({on:"delete.backward",actions:[()=>[(0,s.xl)({type:"history.undo"}),(0,s.QZ)(()=>{e({type:"delete.backward"})})]]})})),"selection listener":(0,d.SP)(({sendBack:e,input:t})=>t.editor.registerBehavior({behavior:(0,s.Ke)({on:"select",guard:({snapshot:e,event:t})=>{if(!t.at)return{blockOffsets:void 0};let n=a.iL({context:e.context,selectionPoint:t.at.anchor}),r=a.iL({context:e.context,selectionPoint:t.at.focus});return n&&r?{blockOffsets:{anchor:n,focus:r}}:{blockOffsets:void 0}},actions:[({event:t},{blockOffsets:n})=>[{type:"effect",effect:()=>{e({type:"selection",blockOffsets:n})}},(0,s.sY)(t)]]})}))}}).createMachine({id:"decorator pair",context:({input:e})=>({decorator:e.decorator,editor:e.editor,pair:e.pair}),initial:"idle",states:{idle:{invoke:[{src:"decorate listener",input:({context:e})=>({decorator:e.decorator,editor:e.editor,pair:e.pair})}],on:{"decorator.add":{target:"decorator added",actions:(0,f.a)({offsetAfterDecorator:({event:e})=>e.blockOffset})}}},"decorator added":{exit:[(0,f.a)({offsetAfterDecorator:void 0})],invoke:[{src:"selection listener",input:({context:e})=>({editor:e.editor})},{src:"delete.backward listener",input:({context:e})=>({editor:e.editor})}],on:{selection:{target:"idle",guard:({context:e,event:t})=>!function(...e){return function(e,t,n){let r=e.length-t.length;if(0===r)return e(...t);if(1===r){var i;let n;return i=void 0,n=n=>e(n,...t),void 0===i?n:Object.assign(n,{lazy:i,lazyArgs:t})}throw Error("Wrong number of arguments")}(function e(t,n){if(t===n||Object.is(t,n))return!0;
6if("object"!=typeof t||"object"!=typeof n||null===t||null===n||Object.getPrototypeOf(t)!==Object.getPrototypeOf(n))return!1;if(Array.isArray(t)){var r=t,i=n;if(r.length!==i.length)return!1;for(let[t,n]of r.entries())if(!e(n,i[t]))return!1;return!0}if(t instanceof Map){var o=t,s=n;if(o.size!==s.size)return!1;for(let[t,n]of o.entries())if(!s.has(t)||!e(n,s.get(t)))return!1;return!0}if(t instanceof Set){var a=t,l=n;if(a.size!==l.size)return!1;let r=[...l];for(let t of a){let n=!1;for(let[i,o]of r.entries())if(e(t,o)){n=!0,r.splice(i,1);break}if(!n)return!1}return!0}if(t instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp)return t.toString()===n.toString();if(Object.keys(t).length!==Object.keys(n).length)return!1;for(let[r,i]of Object.entries(t))if(!(r in n)||!e(i,n[r]))return!1;return!0},e)}({anchor:e.offsetAfterDecorator,focus:e.offsetAfterDecorator},t.blockOffsets)},"delete.backward":{target:"idle"}}}}});var y=n(57348),b=n(39860);function v(e){let t,n,a,l,u,c,d,f,p,m=(0,i.c)(39),{blockquoteStyle:v,boldDecorator:w,codeDecorator:_,defaultStyle:x,headingStyle:k,horizontalRuleObject:E,linkObject:A,italicDecorator:S,orderedList:C,strikeThroughDecorator:I,unorderedList:T}=e,O=(0,o.h)();if(m[0]!==x||m[1]!==O?(t=()=>{var e;let t=(e={defaultStyle:x},[(0,s.Ke)({on:"clipboard.paste",guard:({snapshot:t,event:n})=>{let r=n.originEvent.dataTransfer.getData("text/plain"),i=r.match(/^(---)$|^(â-)$|^(___)$|^(\*\*\*)$/)?.[0],o=e.horizontalRuleObject?.({context:{schema:t.context.schema,keyGenerator:t.context.keyGenerator}}),s=h.gU(t),a=h.hH(t);return!!i&&!!o&&!!s&&{hrCharacters:i,hrObject:o,focusBlock:s,focusTextBlock:a}},actions:[(e,{hrCharacters:t})=>[(0,s.xl)({type:"insert.text",text:t})],({snapshot:e},{hrObject:t,focusBlock:n,focusTextBlock:r})=>r?[(0,s.xl)({type:"insert.block",block:{_type:e.context.schema.block.name,children:r.node.children},placement:"after"}),(0,s.xl)({type:"insert.block",block:t,placement:"after"}),(0,s.xl)({type:"delete.block",at:n.path})]:[(0,s.xl)({type:"insert.block",block:t,placement:"after"})]]}),(0,s.Ke)({on:"delete.backward",guard:({snapshot:t})=>{let n=h.WV(t),r=h.hH(t),i=h.d2(t);if(!n||!r||!i)return!1;let o=r.node.children[0]._key===i.node._key&&t.context.selection?.focus.offset===0,s=e.defaultStyle?.({context:{schema:t.context.schema},schema:t.context.schema});return!!o&&!!s&&r.node.style!==s&&{defaultStyle:s,focusTextBlock:r}},actions:[(e,{defaultStyle:t,focusTextBlock:n})=>[(0,s.xl)({type:"block.set",props:{style:t},at:n.path})]]})]).map(e=>O.registerBehavior({behavior:e}));return()=>{for(let e of t)e()}},n=[x,O],m[0]=x,m[1]=O,m[2]=t,m[3]=n):(t=m[2],n=m[3]),(0,b.useEffect)(t,n),m[4]!==v||m[5]!==k||m[6]!==E||m[7]!==A||m[8]!==C||m[9]!==T){var R,D,j,M,N,F;if(a=[],v){let e;m[11]!==v?(R={blockquoteStyle:v},e=(0,y.EJ)({on:/^> /,guard:({snapshot:e,event:t})=>{let n=R.blockquoteStyle({context:{schema:e.context.schema},schema:e.context.schema});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{style:n,match:r}},actions:[({event:e},{style:t,match:n})=>[(0,s.xl)({type:"block.unset",props:["listItem","level"],at:e.focu
6sBlock.path}),(0,s.xl)({type:"block.set",props:{style:t},at:e.focusBlock.path}),(0,s.xl)({type:"delete",at:n.targetOffsets})]]}),m[11]=v,m[12]=e):e=m[12],a.push(e)}if(k){let e;m[13]!==k?(D={headingStyle:k},e=(0,y.EJ)({on:/^#+ /,guard:({snapshot:e,event:t})=>{if((0,h.Uv)(e))return!1;let n=t.matches.at(0);if(!n)return!1;let r=n.text.length-1,i=D.headingStyle({context:{schema:e.context.schema},schema:e.context.schema,props:{level:r},level:r});return!!i&&{match:n,style:i}},actions:[({event:e},{match:t,style:n})=>[(0,s.xl)({type:"block.unset",props:["listItem","level"],at:e.focusBlock.path}),(0,s.xl)({type:"block.set",props:{style:n},at:e.focusBlock.path}),(0,s.xl)({type:"delete",at:t.targetOffsets})]]}),m[13]=k,m[14]=e):e=m[14],a.push(e)}if(E){let e;m[15]!==E?(j={horizontalRuleObject:E},e=(0,y.EJ)({on:/^(---)|^(â-)|^(___)|^(\*\*\*)/,guard:({snapshot:e,event:t})=>{let n=j.horizontalRuleObject({context:{schema:e.context.schema,keyGenerator:e.context.keyGenerator}});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{hrObject:n,match:r}},actions:[(e,{hrObject:t,match:n})=>[(0,s.xl)({type:"insert.block",block:t,placement:"before",select:"none"}),(0,s.xl)({type:"delete",at:n.targetOffsets})]]}),m[15]=E,m[16]=e):e=m[16],a.push(e)}if(A){let e;m[17]!==A?(M={linkObject:A},e=(0,y.EJ)({on:/\[([^[\]]+)]\((.+)\)/,actions:[({snapshot:e,event:t})=>{let n=t.textBefore+t.textInserted,r=0,i=[];for(let n of t.matches.reverse()){let t=n.groupMatches.at(0),o=n.groupMatches.at(1);if(void 0===t||void 0===o)continue;r-=n.targetOffsets.focus.offset-n.targetOffsets.anchor.offset-t.text.length;let a=M.linkObject({context:{schema:e.context.schema,keyGenerator:e.context.keyGenerator},props:{href:o.text}});if(!a)continue;let{_type:l,_key:u,...c}=a,d={anchor:n.targetOffsets.anchor,focus:t.targetOffsets.anchor},f={anchor:t.targetOffsets.focus,focus:n.targetOffsets.focus};i.push((0,s.xl)({type:"select",at:t.targetOffsets})),i.push((0,s.xl)({type:"annotation.add",annotation:{name:l,_key:u,value:c}})),i.push((0,s.xl)({type:"delete",at:f})),i.push((0,s.xl)({type:"delete",at:d}))}let o={path:t.focusBlock.path,offset:n.length- -1*r};return[...i,(0,s.xl)({type:"select",at:{anchor:o,focus:o}})]}]}),m[17]=A,m[18]=e):e=m[18],a.push(e)}if(C){let e;m[19]!==C?(N={orderedList:C},e=(0,y.EJ)({on:/^1\. /,guard:({snapshot:e,event:t})=>{let n=N.orderedList({context:{schema:e.context.schema},schema:e.context.schema});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{match:r,orderedList:n}},actions:[({event:e},{match:t,orderedList:n})=>
6[(0,s.xl)({type:"block.unset",props:["style"],at:e.focusBlock.path}),(0,s.xl)({type:"block.set",props:{listItem:n,level:e.focusBlock.node.level??1},at:e.focusBlock.path}),(0,s.xl)({type:"delete",at:t.targetOffsets})]]}),m[19]=C,m[20]=e):e=m[20],a.push(e)}if(T){let e;m[21]!==T?(F={unorderedList:T},e=(0,y.EJ)({on:/^(-|\*) /,guard:({snapshot:e,event:t})=>{let n=F.unorderedList({context:{schema:e.context.schema},schema:e.context.schema});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{match:r,unorderedList:n}},actions:[({event:e},{match:t,unorderedList:n})=>[(0,s.xl)({type:"block.unset",props:["style"],at:e.focusBlock.path}),(0,s.xl)({type:"block.set",props:{listItem:n,level:e.focusBlock.node.level??1},at:e.focusBlock.path}),(0,s.xl)({type:"delete",at:t.targetOffsets})]]}),m[21]=T,m[22]=e):e=m[22],a.push(e)}m[4]=v,m[5]=k,m[6]=E,m[7]=A,m[8]=C,m[9]=T,m[10]=a}else a=m[10];let $=a.length>0?a:null;return m[23]!==w?(l=w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{decorator:w,pair:{char:"*",amount:2}}),(0,r.jsx)(g,{decorator:w,pair:{char:"_",amount:2}})]}):null,m[23]=w,m[24]=l):l=m[24],m[25]!==_?(u=_?(0,r.jsx)(g,{decorator:_,pair:{char:"`",amount:1}}):null,m[25]=_,m[26]=u):u=m[26],m[27]!==S?(c=S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{decorator:S,pair:{char:"*",amount:1}}),(0,r.jsx)(g,{decorator:S,pair:{char:"_",amount:1}})]}):null,m[27]=S,m[28]=c):c=m[28],m[29]!==I?(d=I?(0,r.jsx)(g,{decorator:I,pair:{char:"~",amount:2}}):null,m[29]=I,m[30]=d):d=m[30],m[31]!==$?(f=$?(0,r.jsx)(y.wS,{rules:$}):null,m[31]=$,m[32]=f):f=m[32],m[33]!==l||m[34]!==u||m[35]!==c||m[36]!==d||m[37]!==f?(p=(0,r.jsxs)(r.Fragment,{children:[l,u,c,d,f]}),m[33]=l,m[34]=u,m[35]=c,m[36]=d,m[37]=f,m[38]=p):p=m[38],p}},27587:(e,t,n)=>{"use strict";n.d(t,{$$:()=>g,Es:()=>h,KG:()=>y,Ks:()=>C,Ll:()=>a,Re:()=>E,Sw:()=>o,TW:()=>f,WQ:()=>k,YG:()=>_,YN:()=>m,ZC:()=>v,_q:()=>p,ag:()=>T,e_:()=>S,jn:()=>i,kx:()=>A,l6:()=>s,lk:()=>b,sb:()=>c,wz:()=>u,xZ:()=>d,zk:()=>l});var r=n(39860);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}let o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function s(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function a(e){return"nodeType"in e}function l(e){var t,n;return e?s(e)?e:a(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function u(e){let{Document:t}=l(e);return e instanceof t}function c(e){return!s(e)&&e instanceof l(e).HTMLElement}function d(e){return e instanceof l(e).SVGElement}function f(e){return e?s(e)?e.document:a(e)?u(e)?e:c(e)||d(e)?e.ownerDocument:document:document:document}let h=o?r.useLayoutEffect:r.useEffect;function p(e){let t=(0,r.useRef)(e);return h(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function g(){let e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function m(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return h(()=>{n.current!==e&&(n.current=e)},t),n}function y(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function b(e){let t=p(e),n=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,i]}function v(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let w={};function _(e,t){return(0,r.useMemo)(()=>{if(t)return t;let n=null==w[e]?0:w[e]+1;return w[e]=n,e+"-"+n},[e,t])}function x(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{for(let[r,i]of Object.entries(n)){let n=t[r];null!=n&&(t[r]=n+e*i)}return t},{...t})}}let k=x(1),E=x(-1);function A(e){if(!e)return!1;let{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=l(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let C=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[C.Translate.toString(e),C.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),I="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function T(e){return e.matches(I)?e:e.querySelector(I)}},27627:(e,t,n)=>{"use strict";n.d(t,{KU:()=>w,o5:()=>m,m6:()=>b,rm:()=>y,vn:()=>_,v4:()=>v});var r=n(56633),i=n(31246);function o(){return s(i.O),i.O}function s(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r.M,t[r.M]=t[r.M]||{}}var a=n(35336),l=n(56819);class u{constructor(e,t){let n,r;n=e||new a.H,r=t||new a.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return(0,l.Qg)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}
6getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function c(){let e=s(o());return e.stack=e.stack||new u((0,i.B)("defaultCurrentScope",()=>new a.H),(0,i.B)("defaultIsolationScope",()=>new a.H))}function d(e){return c().withScope(e)}function f(e,t){let n=c();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function h(e){return c().withScope(()=>e(c().getIsolationScope()))}function p(e){let t=s(e);return t.acs?t.acs:{withIsolationScope:h,withScope:d,withSetScope:f,withSetIsolationScope:(e,t)=>h(t),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}var g=n(21408);function m(){return p(o()).getCurrentScope()}function y(){return p(o()).getIsolationScope()}function b(){return(0,i.B)("globalScope",()=>new a.H)}function v(...e){let t=p(o());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function w(){return m().getClient()}function _(e){let{traceId:t,spanId:n,parentSpanId:r}=e.getPropagationContext();return(0,g.Ce)({trace_id:t,span_id:n,parent_span_id:r})}},27754:(e,t,n)=>{"use strict";n.d(t,{Hb:()=>a,Jr:()=>l});var r=n(39860),i=n(9784),o=n(68555);let s=(0,r.createContext)(o.p8);function a(e){let{children:t,store:n}=e;return(0,r.useEffect)(()=>(0,o.Kc)(n.flush),[n.flush]),(0,r.useEffect)(()=>(0,o.T_)(n.endWithBeacon),[n.endWithBeacon]),(0,i.jsx)(s.Provider,{value:n.logger,children:t})}function l(){return(0,r.useContext)(s)}},27883:(e,t,n)=>{"use strict";n.d(t,{FF:()=>x,LG:()=>en,Y9:()=>k,YD:()=>R,nX:()=>D,o7:()=>q,oX:()=>E,ql:()=>et,r7:()=>er,vX:()=>V});let r="https://cdn.sanity.io",i=/^https:\/\/cdn\.sanity\./,o=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,s=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,a=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,l=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,u=/^image-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+$/,c=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,d=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,f="sanity.fileAsset",h={projectId:"a",dataset:"b"},p="upload-in-progress-placeholder",g="upload-in-progress";class m extends Error{constructor(e,t="Failed to resolve asset ID from source"){super(t),this.unresolvable=!0,this.input=e}}function y(e){return(...t)=>{try{return e(...t)}catch(e){if(e.unresolvable&&"input"in e)return;throw e}}}function b(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e}function v(e){return b(e)&&"string"==typeof e._ref}function w(e){return b(e)&&"string"==typeof e.path}function _(e){return b(e)&&"string"==typeof e.url}function x(e){return u.test(e)}function k(e){return a.test(e)}function E(e){return b(e)&&!!e.asset&&"object"==typeof e.asset}function A(e){return b(e)&&!!e._upload&&!("asset"in e)}function S(e){return i.test(e)||o.test(e)}let C=Object.freeze({left:0,top:0,bottom:0,right:0}),I=Object.freeze({x:.5,y:.5,height:1,width:1}),T=()=>({...C}),O=()=>({...I}),R=e=>{let{top:t,bottom:n,left:r,right:i}=e,{top:o,bottom:s,left:a,right:l}=C;return t===o&&n===s&&r===a&&i===l},D=e=>{let{x:t,y:n,width:r,height:i}=e,{x:o,y:s,width:a,height:l}=I;return t===o&&n===s&&r===a&&i===l};function j(e,t){let n=t?.projectId||e.projectId,r=t?.dataset||e.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for image");let i="metadata"in e?e.metadata.dimensions:{width:e.width,height:e.height},o="originalFilename"in e?e.originalFilename:void 0,{assetId:s,extension:a,vanityFilename:l}=e,{width:u,height:c}=i,d=L(o,l,t);return`images/${n}/${r}/${s}-${u}x${c}.${a}${d}`}function M(e,t){let n=t?.projectId||e.projectId,r=t?.dataset||e.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for file");let i="originalFilename"in e?e.originalFilename:void 0,{assetId:o,extension:s,vanityFilename:a}=e,l=L(i,a,t);return`files/${n}/${r}/${o}.${s}${l}`}function N(e){if(c.test(e))return e;
6if(!S(e))throw new m(`Failed to resolve path from URL "${e}"`);return new URL(e).pathname.replace(/^\/+/,"")}let F=y(N),$=y(function(e){let t=(F(e)||e).replace(/^(images|files)\/[a-z0-9]+\/[a-z0-9][-\w]\/*/,"");if(!P(t))throw new m(`Failed to resolve filename from URL "${e}"`);return t});function P(e){return s.test(e)||l.test(e)}function L(e,t,n){let r=t||e;return n?.useVanityName!==!1&&r?`/${r}`:""}function z(e){if(!a.test(e))throw Error(`Malformed file asset ID '${e}'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"`);let[,t,n]=e.split("-");return{type:"file",assetId:t,extension:n}}function U(e){let[,t,n,r]=e.split("-"),[i,o]=(n||"").split("x").map(Number);if(!t||!n||!r||!(i>0)||!(o>0))throw Error(`Malformed asset ID '${e}'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".`);return{type:"image",assetId:t,width:i,height:o,extension:r}}function B(e){if(!S(e))throw Error(`URL is not a valid Sanity asset URL: ${e}`);let t=new URL(e).pathname.replace(/^\/+/,""),[n,,r,i]=t.match(c)||[];if(!n||!r||!i)throw Error(`URL is not a valid Sanity asset URL: ${e}`);let[o,s]=t.slice(n.length).split("/");return{...function(e){let t=$(e)||"";if(!P(t))throw Error(`Invalid image/file asset filename: ${e}`);try{let e=l.test(t)?"image":"file",r=t.replace(/\.([a-z0-9+]+)$/i,"-$1");var n=`${e}-${r}`;if(u.test(n))return U(n);if(a.test(n))return z(n);throw Error(`Invalid image/file asset ID: ${n}`)}catch{throw Error(`Invalid image/file asset filename: ${e}`)}}(o),projectId:r,dataset:i,vanityFilename:s}}function q(e){let t=B(e);if("image"!==t.type)throw Error(`URL is not a valid Sanity image asset URL: ${e}`);return t}function V(e){if(A(e))return{width:0,height:0,aspectRatio:0};let{width:t,height:n}=U(K(e));return{width:t,height:n,aspectRatio:t/n}}function H(e,t){if(A(e))return{asset:{_id:p,_type:"sanity.imageAsset",assetId:g,extension:"tmp",url:"",path:"",metadata:{dimensions:{width:1,height:1,aspectRatio:1}}},crop:T(),hotspot:O()};let n=t||ee(e);return{asset:G(e,n),crop:e.crop||T(),hotspot:e.hotspot||O()}}function G(e,t){let n={...t||Q(e),useVanityName:!1},i=K(e),o=(e.asset||e).metadata||{},{assetId:s,width:a,height:l,extension:u}=U(i),c={...b(e)&&"sanity.imageAsset"===e._type?e:{},_id:i,_type:"sanity.imageAsset",assetId:s,extension:u,metadata:{...o,dimensions:{width:a,height:l,aspectRatio:a/l}},url:"",path:""};return{...c,path:j(c,n),url:`${n?.baseUrl||r}/${j(c,n)}`}}function W(e,t){if(A(e))return{asset:{_id:p,_type:f,assetId:g,extension:"tmp",url:"",path:"",metadata:{}}};let n=t||ee(e);return{asset:Y(e,n)}}function Y(e,t){if(A(e))return{assetId:g,_id:p,_type:f,extension:"tmp",metadata:{},url:"",path:""};let n={...t||Q(e),useVanityName:!1},i=K(e),o=e.asset||e,{assetId:s,extension:a}=z(i),l={...b(e)&&"sanity.fileAsset"===e._type?e:{},_id:i,_type:"sanity.fileAsset",assetId:s,extension:a,metadata:o.metadata||{},url:"",path:""};return{...l,path:M(l,n),url:`${n?.baseUrl||r}/${M(l,n)}`}}function K(e){if(A(e))return p;let t=E(e)?e.asset:e,n="";if("string"==typeof t?n=X(t):v(t)?n=t._ref:b(t)&&"string"==typeof t._id?n=t._id:w(t)?n=J(`${r}/${t.path}`):_(t)&&(n=J(t.url)),!(n&&d.test(n)))throw new m(e);return n}y(V),y(function(e){return A(e)?"tmp":et(e)?W(e,h).asset.extension:H(e,h).asset.extension}),y(H),y(G),y(W),y(Y);let Z=y(K);function X(e){var t,n;if(d.test(e))return e;let i=S(e)?new URL(e).pathname:e;if(0===i.indexOf("/images")||0===i.indexOf("/files"))return J(e);if(c.test(e))return J(`${r}/${e}`);if(t=e,s.test(t))return J(`${r}/files/a/b/${e}`);if(n=e,l.test(n))return J(`${r}/images/a/b/${e}`);throw new m(e)}function J(e){let[t,,,n]=N(e).split("/");return`${t.replace(/s$/,"")}-${n.replace(/\./g,"-")}`}function Q(e){let t=function e(t){if(E(t))return e(t.asset);if(!v(t)){if("string"==typeof t)return c.test(F(t)||"")?N(t):void 0;if(w(t))return t.path;if(_(t))return N(t.url)}}(e);if(!t)throw new m(e,"Failed to resolve project ID and dataset from source");let[,,n,r]=t.match(c)||[];if(!n||!r)throw new m(e,"Failed to resolve project ID and dataset from source");return{projectId:n,dataset:r}}y(X);let ee=y(Q);function et(e){let t=Z(e);return!!t&&t.startsWith("file-")}function en(e){let t=Z(e);return!!t&&t.startsWith("image-")}function er(e){return"image"===function(e){try{return B(e).type}catch{return!1}}(e)}},27887:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(42764),i=n(8286);function o(e,t,n){return[(0,r.p)(t,n)((0,i.Tg)(e)),(0,r.p)(function(e,r){return!t.call(n,e,r)})((0,i.Tg)(e))]}},28007:(e,t,n)=>{var r=n(55428),i=n(60044),o=n(27509),s=n(92441),a=n(72377);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l}
6,28138:(e,t,n)=>{"use strict";e.exports=n(95962)},28205:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(42764);function i(e){return(0,r.p)(function(t,n){return e<=n})}},28302:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;let r=Number(new Date);a.diff=r-(n||r),a.prev=n,a.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";i++;let o=t.formatters[r];if("function"==typeof o){let t=e[i];n=o.call(a,t),e.splice(i,1),i--}return n}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n):n++,r++;else{if(-1===i)return!1;r=i+1,n=++o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let n of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(let n of t.skips)if(i(e,n))return!1;for(let n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(49135),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t)|0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},28303:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(12718),i=n(90338),o=n(25259);function s(e,t,n){void 0===t&&(t=r.E);var s=(0,o.O)(e,t);return(0,i.n)(function(){return s},n)}},28400:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,_:()=>i});var r=n(71450);function i(e,t,n,r,i){return new o(e,t,n,r,i)}var o=function(e){function t(t,n,r,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,r.C6)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),n||null==(t=this.onFinalize)||t.call(this)}},t}(n(28786).vU)},28775:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(47948),i=n(28786);function o(e,t){var n="object"==typeof t;return new Promise(function(o,s){var a=new i.Ms({next:function(e){o(e),a.unsubscribe()},error:s,complete:function(){n?o(t.defaultValue):s(new r.G)}});e.subscribe(a)})}},28786:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>y,vU:()=>h});var r=n(71450),i=n(39097),o=n(41449),s=n(29846),a=n(55180),l=n(34793),u=c("C",void 0,void 0);function c(e,t,n){return{kind:e,value:t,error:n}}var d=n(14192),f=n(75968),h=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Uv)(t)&&t.add(n)):n.destination=w,n}return(0,r.C6)(t,e),t.create=function(e,t,n){return new y(e,t,n)},t.prototype.next=function(e){this.isStopped?v(c("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?v(c("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?v(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.yU),p=Function.prototype.bind;function g(e,t){return p.call(e,t)}var m=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){b(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){b(e)}else b(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){b(e)}},e}(),y=function(e){function t(t,n,r){var o,a,l=e.call(this)||this;return(0,i.T)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}
6:l&&s.$.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},o={next:t.next&&g(t.next,a),error:t.error&&g(t.error,a),complete:t.complete&&g(t.complete,a)}):o=t,l.destination=new m(o),l}return(0,r.C6)(t,e),t}(h);function b(e){s.$.useDeprecatedSynchronousErrorHandling?(0,f.l)(e):(0,a.m)(e)}function v(e,t){var n=s.$.onStoppedNotification;n&&d.f.setTimeout(function(){return n(e,t)})}var w={closed:!0,next:l.l,error:function(e){throw e},complete:l.l}},28951:(e,t,n)=>{"use strict";let r=n(6563);e.exports=(e,t,n)=>r(e,t,">",n)},29101:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},29279:(e,t,n)=>{"use strict";n.d(t,{M:()=>a});var r=n(39097),i=n(96948),o=n(28400),s=n(77163);function a(e,t,n){var a=(0,r.T)(e)||t||n?{next:e,error:t,complete:n}:e;return a?(0,i.N)(function(e,t){null==(n=a.subscribe)||n.call(a);var n,r=!0;e.subscribe((0,o._)(t,function(e){var n;null==(n=a.next)||n.call(a,e),t.next(e)},function(){var e;r=!1,null==(e=a.complete)||e.call(a),t.complete()},function(e){var n;r=!1,null==(n=a.error)||n.call(a,e),t.error(e)},function(){var e,t;r&&(null==(e=a.unsubscribe)||e.call(a)),null==(t=a.finalize)||t.call(a)}))}):s.D}},29396:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(96948);function i(e){return(0,r.N)(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}},29431:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(59584),i=n(51496),o=n(21383);let s=function(e){return(0,o.A)(e)?(0,r.A)(e):(0,i.A)(e)}},29514:(e,t,n)=>{e.exports=n(83558)(n(51483),"DataView")},29846:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},29894:(e,t,n)=>{"use strict";n.d(t,{rC:()=>O,GH:()=>T,g_:()=>R});var r,i="0123456789abcdefghjkmnpqrstvwxyz",o=new Uint8Array([255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,10,11,12,13,14,15,16,17,255,18,19,255,20,21,255,22,23,24,25,26,255,27,28,29,30,31,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]);function s(e){let t=Array(26).fill("");
6if(16!==e.length)throw Error("Invalid length");return t[0]=i[(224&e[0])>>5],t[1]=i[31&e[0]],t[2]=i[(248&e[1])>>3],t[3]=i[(7&e[1])<<2|(192&e[2])>>6],t[4]=i[(62&e[2])>>1],t[5]=i[(1&e[2])<<4|(240&e[3])>>4],t[6]=i[(15&e[3])<<1|(128&e[4])>>7],t[7]=i[(124&e[4])>>2],t[8]=i[(3&e[4])<<3|(224&e[5])>>5],t[9]=i[31&e[5]],t[10]=i[(248&e[6])>>3],t[11]=i[(7&e[6])<<2|(192&e[7])>>6],t[12]=i[(62&e[7])>>1],t[13]=i[(1&e[7])<<4|(240&e[8])>>4],t[14]=i[(15&e[8])<<1|(128&e[9])>>7],t[15]=i[(124&e[9])>>2],t[16]=i[(3&e[9])<<3|(224&e[10])>>5],t[17]=i[31&e[10]],t[18]=i[(248&e[11])>>3],t[19]=i[(7&e[11])<<2|(192&e[12])>>6],t[20]=i[(62&e[12])>>1],t[21]=i[(1&e[12])<<4|(240&e[13])>>4],t[22]=i[(15&e[13])<<1|(128&e[14])>>7],t[23]=i[(124&e[14])>>2],t[24]=i[(3&e[14])<<3|(224&e[15])>>5],t[25]=i[31&e[15]],t.join("")}function a(e){if(26!==e.length)throw Error("Invalid length");let t=new TextEncoder().encode(e);if(255===o[t[0]]||255===o[t[1]]||255===o[t[2]]||255===o[t[3]]||255===o[t[4]]||255===o[t[5]]||255===o[t[6]]||255===o[t[7]]||255===o[t[8]]||255===o[t[9]]||255===o[t[10]]||255===o[t[11]]||255===o[t[12]]||255===o[t[13]]||255===o[t[14]]||255===o[t[15]]||255===o[t[16]]||255===o[t[17]]||255===o[t[18]]||255===o[t[19]]||255===o[t[20]]||255===o[t[21]]||255===o[t[22]]||255===o[t[23]]||255===o[t[24]]||255===o[t[25]])throw Error("Invalid base32 character");let n=new Uint8Array(16);return n[0]=o[t[0]]<<5|o[t[1]],n[1]=o[t[2]]<<3|o[t[3]]>>2,n[2]=(3&o[t[3]])<<6|o[t[4]]<<1|o[t[5]]>>4,n[3]=(15&o[t[5]])<<4|o[t[6]]>>1,n[4]=(1&o[t[6]])<<7|o[t[7]]<<2|o[t[8]]>>3,n[5]=(7&o[t[8]])<<5|o[t[9]],n[6]=o[t[10]]<<3|o[t[11]]>>2,n[7]=(3&o[t[11]])<<6|o[t[12]]<<1|o[t[13]]>>4,n[8]=(15&o[t[13]])<<4|o[t[14]]>>1,n[9]=(1&o[t[14]])<<7|o[t[15]]<<2|o[t[16]]>>3,n[10]=(7&o[t[16]])<<5|o[t[17]],n[11]=o[t[18]]<<3|o[t[19]]>>2,n[12]=(3&o[t[19]])<<6|o[t[20]]<<1|o[t[21]]>>4,n[13]=(15&o[t[21]])<<4|o[t[22]]>>1,n[14]=(1&o[t[22]])<<7|o[t[23]]<<2|o[t[24]]>>3,n[15]=(7&o[t[24]])<<5|o[t[25]],n}var l=Math.pow,u="0123456789abcdef",c=class{constructor(e){if(this.bytes=e,16!==e.length)throw TypeError("not 128-bit length")}static fromFieldsV7(e,t,n,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||e<0||t<0||n<0||r<0||e>0xffffffffffff||t>4095||n>0x3fffffff||r>0xffffffff)throw RangeError("invalid field value");let i=new Uint8Array(16);return i[0]=e/l(2,40),i[1]=e/l(2,32),i[2]=e/l(2,24),i[3]=e/l(2,16),i[4]=e/l(2,8),i[5]=e,i[6]=112|t>>>8,i[7]=t,i[8]=128|n>>>24,i[9]=n>>>16,i[10]=n>>>8,i[11]=n,i[12]=r>>>24,i[13]=r>>>16,i[14]=r>>>8,i[15]=r,new c(i)}toString(){let e="";for(let t=0;t<this.bytes.length;t++)e+=u.charAt(this.bytes[t]>>>4),e+=u.charAt(15&this.bytes[t]),(3===t||5===t||7===t||9===t)&&(e+="-");return e}clone(){return new c(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(let t=0;t<16;t++){let n=this.bytes[t]-e.bytes[t];if(0!==n)return Math.sign(n)}return 0}},d=class{constructor(){this.timestamp=0,this.counter=0,this.random=new h}generate(){let e=this.generateOrAbort();return void 0!==e?e:(this.timestamp=0,this.generateOrAbort())}generateOrAbort(){let e=Date.now();if(e>this.timestamp)this.timestamp=e,this.resetCounter();else{if(!(e+1e4>this.timestamp))return;this.counter++,this.counter>0x3ffffffffff&&(this.timestamp++,this.resetCounter())}return c.fromFieldsV7(this.timestamp,Math.trunc(this.counter/l(2,30)),this.counter&l(2,30)-1,this.random.nextUint32())}resetCounter(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}},f=e=>{if("undefined"!=typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw Error("no cryptographically strong RNG available");for(let t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};"undefined"!=typeof crypto&&crypto.getRandomValues&&(f=e=>crypto.getRandomValues(e));var h=class{constructor(){this.buffer=new Uint32Array(8),this.cursor=99}nextUint32(){return this.cursor>=this.buffer.length&&(f(this.buffer),this.cursor=0),this.buffer[this.cursor++]}},p=class{constructor(e,t=""){if(this.prefix=e,this.suffix=t,!function(e){let t,n,r;if(e.length>63)return!1;for(n=0,r=e.length;n<r;n+=1)if(!((t=e.charCodeAt(n))>96&&t<123))return!1;return!0}(e))throw Error("Invalid prefix. Must be at most 63 ascii letters [a-z]");if(this.prefix=e,t)this.suffix=t;else{let e=(r||(r=new d)).generate();this.suffix=s(e.bytes)}if(26!==this.suffix.length)throw Error(`Invalid length. Suffix should have 26 characters, got ${t.length}`);if(this.suffix[0]>"7")throw Error("Invalid suffix. First character must be in the range [0-7]");
6a(this.suffix)}getType(){return this.prefix}getSuffix(){return this.suffix}asType(e){if(this.prefix!==e)throw Error(`Cannot convert TypeID of type ${this.prefix} to type ${e}`);return this}toUUIDBytes(){return a(this.suffix)}toUUID(){return new c(this.toUUIDBytes()).toString()}toString(){return""===this.prefix?this.suffix:`${this.prefix}_${this.suffix}`}static fromString(e){let t=e.split("_");if(1===t.length)return new p("",t[0]);if(2===t.length){if(""===t[0])throw Error(`Invalid TypeID. Prefix cannot be empty when there's a separator: ${e}`);return new p(t[0],t[1])}throw Error(`Invalid TypeID string: ${e}`)}static fromUUIDBytes(e,t){return new p(e,s(t))}static fromUUID(e,t){return new p(e,s(function(e){let t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/0x10000000000&255,n[11]=t/0x100000000&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}(t)))}};function g(e="",t=""){return new p(e,t)}var m=n(31536),y=n(45037),b=n(47211),v=n(99148),w=n(85755),_=n(60732),x=n(86238),k=n(77133),E=n(29279),A=n(63704),S=n(90338),C=n(54560),I=n(20981);function T(){return g("session").toString()}function O(e,t){var n;let r=function(e){let t=new m.B,n=new WeakMap;function r(n,r,i,o,s){t.next({sessionId:e,type:n,traceId:r,name:i.name,version:i.version,data:o,context:s,createdAt:new Date().toISOString()})}function i(n,r,i){t.next({sessionId:e,type:n,version:r.version,name:r.name,data:i,createdAt:new Date().toISOString()})}function o(e,t){if("number"==typeof e.maxSampleRate&&e.maxSampleRate>0){let r=n.get(e),o=new Date;(!r||o.getTime()-r.getTime()>e.maxSampleRate)&&(n.set(e,o),i("log",e,t))}else i("log",e,t)}return{events$:t.asObservable(),logger:{updateUserProperties(n){t.next({sessionId:e,type:"userProperties",properties:n,createdAt:new Date().toISOString()})},trace:(n,i)=>(function n(i,s,a){return{start(){r("trace.start",i,s,void 0,a)},newContext:e=>({trace:t=>n("".concat(i,".").concat(e),t,a),updateUserProperties(){},log:o}),log(e){r("trace.log",i,s,e,a)},complete(){r("trace.complete",i,s,void 0,a)},error(n){t.next({sessionId:e,type:"trace.error",traceId:i,name:s.name,version:s.version,data:{message:function(e){let t=e.indexOf("\n"),n=-1===t?1024:Math.min(t,1024),[r,i]=n<1?[e,""]:[e.substring(0,n),e.substring(n)];return r+(i?"⦠(+".concat(i.length,")"):"")}(n.message)},context:a,createdAt:new Date().toISOString()})},await(e,t){return this.start(),e.then(e=>(this.log(t||e),this.complete(),e),e=>{throw this.error(e),e}),e}}})(g("trace").toString(),n,i),log:o}}}(e),i=[];function o(){let e=i.slice();return i.length=0,e}function s(){let e=o();return 0===e.length?b.w:(0,v.z)([(0,w.of)(e),t.resolveConsent().catch(e=>({status:"undetermined"}))]).pipe((0,_.Z)(e=>{let[n,r]=e;return 0===n.length||"granted"!==r.status?b.w:(0,x.H)(t.sendEvents(n)).pipe((0,k.W)(e=>(i.unshift(...n),b.w)))}))}let a=null!=(n=t.flushInterval)?n:3e4;function l(){return(0,I.s)(s(),{defaultValue:void 0}).then(()=>{})}let u=r.events$.pipe((0,E.M)(e=>i.push(e)),(0,A.T)(()=>{}),(0,S.n)(()=>new y.c(e=>{let t=setTimeout(()=>{e.next(),e.complete()},a);return"function"==typeof t.unref&&t.unref(),()=>clearTimeout(t)}),{leading:!1,trailing:!0}),(0,C.H)(()=>s())).subscribe();function c(){return l().then(()=>{},()=>{}).finally(()=>{u.unsubscribe()})}return{end:c,endWithBeacon:function(){if(!t.sendBeacon)return c(),!0;let e=o();return u.unsubscribe(),!(e.length>0)||t.sendBeacon(e)},flush:l,logger:r.logger}}function R(e){return{type:"log",name:e.name,version:e.version,description:e.description,maxSampleRate:e.maxSampleRate,schema:void 0}}n(68555)},30055:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},30125:(e,t,n)=>{"use strict";var r=n(39860),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,s=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return a(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),s(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},30306:(e,t,n)=>{"use strict";n.d(t,{ZF:()=>o,el:()=>i});var r=n(30391);function i(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}}
6,30329:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(84051),i=n(17896),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;let a=s?function(e){return null==e?[]:(e=Object(e),(0,r.A)(s(e),function(t){return o.call(e,t)}))}:i.A},30338:(e,t,n)=>{"use strict";n.d(t,{Q_:()=>Y});let r=e=>"string"==typeof e,i=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},o=e=>null==e?"":""+e,s=/###/g,a=e=>e&&e.indexOf("###")>-1?e.replace(s,"."):e,l=e=>!e||r(e),u=(e,t,n)=>{let i=r(t)?t.split("."):t,o=0;for(;o<i.length-1;){if(l(e))return{};let t=a(i[o]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return l(e)?{}:{obj:e,k:a(i[o])}},c=(e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);if(void 0!==r||1===t.length){r[i]=n;return}let o=t[t.length-1],s=t.slice(0,t.length-1),a=u(e,s,Object);for(;void 0===a.obj&&s.length;)o=`${s[s.length-1]}.${o}`,(a=u(e,s=s.slice(0,s.length-1),Object))&&a.obj&&void 0!==a.obj[`${a.k}.${o}`]&&(a.obj=void 0);a.obj[`${a.k}.${o}`]=n},d=(e,t)=>{let{obj:n,k:r}=u(e,t);if(n)return n[r]},f=(e,t,n)=>{for(let i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?r(e[i])||e[i]instanceof String||r(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):f(e[i],t[i],n):e[i]=t[i]);return e},h=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var p={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let g=e=>r(e)?e.replace(/[&<>"'\/]/g,e=>p[e]):e;class m{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let y=[" ",",","?","!",";"],b=new m(20),v=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let r=t.split(n),i=e;for(let e=0;e<r.length;){let t;if(!i||"object"!=typeof i)return;let o="";for(let s=e;s<r.length;++s)if(s!==e&&(o+=n),o+=r[s],void 0!==(t=i[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&s<r.length-1)continue;e+=s-e+1;break}i=t}return i},w=e=>e&&e.replace("_","-"),_={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class x{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||_,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,i){return i&&!this.debug?null:(r(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new x(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new x(this.logger,e)}}var k=new x;class E{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])})}}class A extends E{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],n&&(Array.isArray(n)?i.push(...n):r(n)&&s?i.push(...n.split(s)):i.push(n)));let l=d(this.data,i);return(!l&&!t&&!n&&e.indexOf(".")>-1&&(e=i[0],t=i[1],n=i.slice(2).join(".")),!l&&a&&r(n))?v(this.data&&this.data[e]&&this.data[e][t],n,s):l}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=[e,t];
6n&&(s=s.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(s=e.split("."),r=t,t=s[1]),this.addNamespaces(t),c(this.data,s,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in n)(r(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});i.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),r=n,n=t,t=s[1]),this.addNamespaces(t);let a=d(this.data,s)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?f(a,n,i):a={...a,...n},c(this.data,s,a),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))}),t}};let C={};class I extends E{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
6i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=k.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],s=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,n)=>{t=t||"",n=n||"";let r=y.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let i=b.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,i);if(s&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:r(o)?[o]:o};let s=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(s[0])>-1)&&(o=s.shift()),e=s.join(i)}return{key:e,namespaces:r(o)?[o]:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:s,namespaces:a}=this.extractFromKey(e[e.length-1],t),l=a[a.length-1],u=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){let e=t.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${e}${s}`,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${s}`}return i?{res:s,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:s}let d=this.resolve(e,t),f=d&&d.res,h=d&&d.usedKey||s,p=d&&d.exactUsedKey||s,g=Object.prototype.toString.apply(f),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!r(f)&&"boolean"!=typeof f&&"number"!=typeof f;if(y&&f&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(g)&&!(r(m)&&Array.isArray(f))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...t,ns:a}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(o){let e=Array.isArray(f),n=e?[]:{},r=e?p:h;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:a}),n[e]===i&&(n[e]=f[e])}f=n}}else if(y&&r(m)&&Array.isArray(f))(f=f.join(m))&&(f=this.extendTranslation(f,e,t,n));else{let i=!1,a=!1,c=void 0!==t.count&&!r(t.count),h=I.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(u,t.count,t):"",g=t.ordinal&&c?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),y=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(f)&&h&&(i=!0,f=y),this.isValidLookup(f)||(a=!0,f=s);let b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:f,v=h&&y!==f&&this.options.updateMissing;if(a||i||v){if(this.logger.log(v?"updateKey":"missingKey",u,l,s,v?y:f),o){let e=this.resolve(s,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let r=(e,n,r)=>{let i=h&&r!==f?r:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,n,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,n,i,v,t),this.emit
6("missingKey",e,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach(e=>{let n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{r([e],s+n,t[`defaultValue${n}`]||y)})}):r(e,s,y))}f=this.extendTranslation(f,e,t,d,n),a&&f===s&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${s}`),(a||i)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${s}`:s,i?f:void 0):this.options.parseMissingKeyHandler(f))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(t),d):f}extendTranslation(e,t,n,i,o){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){let a;n.interpolation&&this.interpolator.init({...n,...{interpolation:{...this.options.interpolation,...n.interpolation}}});let l=r(e)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let u=n.replace&&!r(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,n.lng||this.language||i.usedLng,n),l){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(n.lng=this.language||i.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(s.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):s.translate(...r,t)},n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,l=r(a)?[a]:a;return null!=e&&l&&l.length&&!1!==n.applyPostProcessor&&(e=S.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,i,o,s,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,a),u=l.key;n=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=void 0!==a.count&&!r(a.count),f=d&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==a.context&&(r(a.context)||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);
6c.forEach(e=>{this.isValidLookup(t)||(s=e,!C[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(C[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let r;if(this.isValidLookup(t))return;o=n;let s=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,u,n,e,a);else{let e;d&&(e=this.pluralResolver.getSuffix(n,a.count,a));let t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(s.push(u+e),a.ordinal&&0===e.indexOf(r)&&s.push(u+e.replace(r,this.options.pluralSeparator)),f&&s.push(u+t)),h){let n=`${u}${this.options.contextSeparator}${a.context}`;s.push(n),d&&(s.push(n+e),a.ordinal&&0===e.indexOf(r)&&s.push(n+e.replace(r,this.options.pluralSeparator)),f&&s.push(n+t))}}for(;r=s.pop();)this.isValidLookup(t)||(i=r,t=this.getResource(n,e,r,a))}))})}),{res:t,usedKey:n,exactUsedKey:i,usedLng:o,usedNS:s}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&!r(e.replace),n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!t)for(let e of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}let T=e=>e.charAt(0).toUpperCase()+e.slice(1);class O{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}getScriptPartFromCode(e){if(!(e=w(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=w(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(r(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}let t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=T(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),r(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];
6return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return r(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):r(e)&&o(this.formatLanguageCode(e)),n.forEach(e=>{0>i.indexOf(e)&&o(this.formatLanguageCode(e))}),i}}let R=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],D={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(+(1!=e&&(e%10!=1||e%100==11))),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4)),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)},j=["v1","v2","v3"],M=["v4"],N={zero:0,one:1,two:2,few:3,many:4,other:5};class F{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=k.create("pluralResolver"),(!this.options.compatibilityJSON||M.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{let e={};return R.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:D[t.fc]}})}),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){let n,r=w("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{n=new Intl.PluralRules(r,{type:i})}catch(i){if(!e.match(/-|_/))return;let r=this.languageUtils.getLanguagePartFromCode(e);n=this.getRule(r,t)}return this.pluralRulesCache[o]=n,n}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
6return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>N[e]-N[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));let i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}
6shouldUseIntlApi(){return!j.includes(this.options.compatibilityJSON)}}let $=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],s=((e,t,n)=>{let r=d(e,n);return void 0!==r?r:d(t,n)})(e,t,n);return!s&&o&&r(n)&&void 0===(s=v(e,n,i))&&(s=v(t,n,i)),s},P=e=>e.replace(/\$/g,"$$$$");class L{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=k.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:s,suffixEscaped:a,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:y,maxReplaces:b,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?h(i):o||"{{",this.suffix=s?h(s):a||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?h(d):f||h("$t("),this.nestingSuffix=p?h(p):m||h(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,i){let s,a,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(0>e.indexOf(this.formatSeparator)){let r=$(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(r,void 0,n,{...i,...t,interpolationkey:e}):r}let r=e.split(this.formatSeparator),o=r.shift().trim(),s=r.join(this.formatSeparator).trim();return this.format($(t,u,o,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...i,...t,interpolationkey:o})};this.resetRegExp();let d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>P(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?P(this.escape(e)):P(e)}].forEach(t=>{for(l=0;s=t.regex.exec(e);){let n=s[1].trim();if(void 0===(a=c(n)))if("function"==typeof d){let t=d(e,s,i);a=r(t)?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,n))a="";else if(f){a=s[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a="";else r(a)||this.useRawValueToEscape||(a=o(a));let u=t.safeValue(a);if(e=e.replace(s[0],u),f?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=s[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t){let n,i,s,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(e,t)=>{let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0];let o=(i=this.interpolate(i,s)).match(/'/g),a=i.match(/"/g);(o&&o.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{s=JSON.parse(i),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let u=[];(s=(s={...a}).replace&&!r(s.replace)?s.replace:s).applyPostProcessor=!1,delete s.defaultValue;let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),u=e,c=!0}if((i=t(l.call(this,n[1].trim(),s),s))&&n[0]===e&&!r(i))return i;r(i)||(i=o(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}
6`),i=""),c&&(i=u.reduce((e,t)=>this.format(e,t,a.lng,{...a,interpolationkey:n[1].trim()}),i.trim())),e=e.replace(n[0],i),this.regexp.lastIndex=0}return e}}let z=e=>{let t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});let s=r+JSON.stringify(o),a=t[s];return a||(a=e(w(r),i),t[s]=a),a(n)}};class U{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=k.create("formatter"),this.options=e,this.formats={number:z((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:z((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:z((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:z((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:z((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=z(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{let s=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},a=s.locale||s.lng||r.locale||r.lng||n;t=this.formats[i](e,a,{...o,...r,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class B extends E{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=k.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let i={},o={},s={},a={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let s=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===o[s]&&(o[s]=!0):(this.state[s]=1,r=!1,void 0===o[s]&&(o[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===a[t]&&(a[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(e,t,n){let r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let s={};this.queue.forEach(n=>{((e,t,n,r)=>{let{obj:i,k:o}=u(e,t,Object);i[o]=i[o]||[],i[o].push(n)}
6)(n.loaded,[i],o),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{s[e]||(s[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===s[e][t]&&(s[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;let s=(s,a)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(s&&a&&r<this.maxRetries)return void setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,o)},i);o(s,a)},a=this.backend[n].bind(this.backend);if(2===a.length){try{let n=a(e,t);n&&"function"==typeof n.then?n.then(e=>s(null,e)).catch(s):s(null,n)}catch(e){s(e)}return}return a(e,t,s)}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();r(e)&&(e=this.languageUtils.toResolveHierarchy(e)),r(t)&&(t=[t]);let o=this.queueLoad(e,t,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=n&&""!==n){if(this.backend&&this.backend.create){let a={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,n,r,a):l(e,t,n,r))&&"function"==typeof i.then?i.then(e=>s(null,e)).catch(s):s(null,i)}catch(e){s(e)}else l(e,t,n,r,s,a)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}let q=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),r(e[1])&&(t.defaultValue=e[1]),r(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),V=e=>(r(e.ns)&&(e.ns=[e.ns]),r(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),r(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),H=()=>{};
6class G extends E{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=V(e),this.services={},this.logger=k,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(r(t.ns)?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let o=q();this.options={...o,...this.options,...V(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);let s=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?k.init(s(this.modules.logger),this.options):k.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=U);let n=new O(this.options);this.store=new A(this.options.resources,this.options);let r=this.services;r.logger=k,r.resourceStore=this.store,r.languageUtils=n,r.pluralResolver=new F(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(r.formatter=s(t),r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new L(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new B(s(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)}),this.modules.languageDetector&&(r.languageDetector=s(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=s(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new I(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=H),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let a=i(),l=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),a}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H,n=t,i=r(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e
6=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=i();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=H),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&S.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let o=i();this.emit("languageChanging",e);let s=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,r)=>{r?(s(r),this.translator.changeLanguage(r),this.isLanguageChangingTo=void 0,this.emit("languageChanged",r),this.logger.log("languageChanged",r)):this.isLanguageChangingTo=void 0,o.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},l=t=>{e||t||!this.services.languageDetector||(t=[]);let n=r(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||s(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{a(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),o}getFixedT(e,t,n){var i=this;let o=function(e,t){let r,s;if("object"!=typeof t){for(var a=arguments.length,l=Array(a>2?a-2:0),u=2;u<a;u++)l[u-2]=arguments[u];r=i.options.overloadTranslationOptionHandler([e,t].concat(l))}else r={...t};r.lng=r.lng||o.lng,r.lngs=r.lngs||o.lngs,r.ns=r.ns||o.ns,""!==r.keyPrefix&&(r.keyPrefix=r.keyPrefix||n||o.keyPrefix);let c=i.options.keySeparator||".";return s=r.keyPrefix&&Array.isArray(e)?e.map(e=>`${r.keyPrefix}${c}${e}`):r.keyPrefix?`${r.keyPrefix}${c}${e}`:e,i.t(s,r)};return r(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
6if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let o=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||0===n||2===n};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(n,e)&&(!r||o(i,e)))}loadNamespaces(e,t){let n=i();return this.options.ns?(r(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=i();r(e)&&(e=[e]);let o=this.options.preload||[],s=e.filter(e=>0>o.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return s.length?(this.options.preload=o.concat(s),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new O(q())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new G(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H,n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},i=new G(r);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new A(this.store.data,r),i.services.resourceStore=i.store),i.translator=new I(i.services,r),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let W=G.createInstance();W.createInstance=G.createInstance;let Y=W.createInstance;W.dir,W.init,W.loadResources,W.reloadResources,W.use,W.changeLanguage,W.getFixedT,W.t,W.exists,W.setDefaultNamespace,W.hasLoadedNamespace,W.loadNamespaces,W.loadLanguages},30391:(e,t,n)=>{"use strict";n.d(t,{$X:()=>a,GR:()=>c,M6:()=>u,eJ:()=>o,gO:()=>l});var r=n(21408),i=n(31246);function o(){let e=i.O,t=e.crypto||e.msCrypto,n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function a(e){let{message:t,event_id:n}=e;if(t)return t;let r=s(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function u(e,t){let n=s(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function c(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}},30536:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}},30563:(e,t,n)=>{"use strict";n.d(t,{Kv:()=>o,N4:()=>s});var r=n(39860),i=n(92273);function o(e,t){var n,i,o;return e?"function"==typeof(i=n=e)&&(()=>{let e=Object.getPrototypeOf(i);return e.prototype&&e.prototype.isReactComponent})()||"function"==typeof n||"object"==typeof(o=n)&&"symbol"==typeof o.$$typeof&&["react.memo","react.forward_ref"].includes(o.$$typeof.description)?r.createElement(e,t):e:null}function s(e){let t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=r.useState(()=>({current:(0,i.ZR)(t)})),[o,s]=r.useState(()=>n.current.initialState);return n.current.setOptions(t=>({...t,...e,state:{...o,...e.state},onStateChange:t=>{s(t),null==e.onStateChange||e.onStateChange(t)}
6})),n.current}},30827:(e,t,n)=>{"use strict";n.d(t,{U5:()=>a,jM:()=>u});var r=n(9784),i=n(15374),o=n(39860);let s="#0D0E12",a=(0,o.forwardRef)(function(e,t){let{dark:n,...o}=e,a=n?i.ON.hex:s;return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-logo",height:"1em",viewBox:"0 0 435 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,ref:t,children:[(0,r.jsx)("path",{d:"M44.883 52.4463C33.4181 43.7972 21.8121 37.1021 21.8121 27.3381C21.8121 21.482 26.9827 15.4851 34.1181 15.4851C46.983 15.4851 54.5302 28.8754 61.942 45.6103H66.5538V7.11182H34.3946C7.82952 7.11182 0 23.1543 0 35.7055C0 52.1647 13.5649 61.9287 28.9416 73.365C39.7064 81.3158 48.7948 88.7092 48.7948 97.2175C48.7948 106.424 42.5006 111.723 34.5299 111.723C26.0004 111.723 13.4178 100.562 4.60595 77.4137H0V120.096H36.777C59.4302 120.096 70.7539 102.24 71.1716 87.876C71.7304 71.1411 57.3302 61.7937 44.883 52.4463Z",fill:a}),(0,r.jsx)("path",{d:"M145.002 106.841V61.7878C145.002 42.2598 132.837 37.1021 115.219 37.1021H83.8952L84.0364 68.9054H89.2071C94.6601 55.3743 102.49 45.4754 110.878 45.4754C118.149 45.4754 121.366 51.7539 121.366 58.3082V64.4459C109.619 71.4227 78.301 77.2788 78.301 98.4791C78.301 110.754 86.8306 120.935 99.2778 120.935C110.043 120.935 117.454 113.958 121.231 105.732C121.931 112.568 126.402 120.096 136.614 120.096H152.696V113.958C147.525 113.958 145.008 110.473 145.008 106.847L145.002 106.841ZM120.949 99.8639C118.713 103.074 115.213 106.7 111.019 106.7C105.148 106.7 101.372 102.234 101.372 93.3096C101.372 83.129 115.072 76.5746 120.949 71.6926V99.8697V99.8639Z",fill:a}),(0,r.jsx)("path",{d:"M270.145 28.4529C279.092 28.4529 284.686 22.1744 284.686 14.0885C284.686 6.00274 279.092 0 270.145 0C261.198 0 255.462 5.99688 255.462 14.0885C255.462 22.1802 261.474 28.4529 270.145 28.4529Z",fill:a}),(0,r.jsx)("path",{d:"M409.135 37.102V43.2397C417.947 43.2397 420.459 47.84 416.129 60.2563L405.641 88.5683L392.217 54.1186C389.141 47.4234 390.817 43.2397 397.252 43.2397V37.102H330.557V9.20654H324.263C322.446 18.6889 312.516 37.102 295.598 37.102V43.2397H306.504V100.568C306.504 110.191 309.722 121.07 328.457 121.07H357.54V89.5482H352.37C350.269 96.9417 345.94 111.723 336.569 111.723C331.399 111.723 330.557 106.002 330.557 101.401V45.8861H357.264C360.481 45.8861 363.834 46.3027 365.511 50.2106L393.894 120.231C388.441 132.647 379.07 134.595 362.293 129.437V153.988C366.629 153.988 377.811 154.129 379.77 153.572C390.817 150.362 398.364 128.745 401.441 120.378L425.488 55.521C428.147 48.4092 430.382 43.2456 434.994 43.2456V37.1079H409.129L409.135 37.102Z",fill:a}),(0,r.jsx)("path",{d:"M237.703 106.841V59.2764C237.703 44.3546 230.574 35.4238 216.45 35.4238C204.009 35.4238 196.803 44.0319 191.279 52.0414V37.0961H159.396V43.2338C164.849 43.2338 167.226 46.5785 167.226 50.4864V106.835C167.226 110.602 164.432 113.947 159.396 113.947V120.084H199.109V113.947C194.073 113.947 191.279 110.602 191.279 106.835V59.646C194.503 55.3743 198.214 50.7681 204.42 50.7681C210.291 50.7681 213.65 55.5093 213.65 61.2303V106.841C213.65 110.608 210.856 113.952 205.82 113.952V120.09H245.533V113.952C240.497 113.952 237.703 110.608 237.703 106.841Z",fill:a}),(0,r.jsx)("path",{d:"M284.127 106.841V37.1021H252.245V43.2398C257.698 43.2398 260.074 46.5844 260.074 50.4923V106.841C260.074 110.608 257.28 113.952 252.245 113.952V120.09H291.957V113.952C286.922 113.952 284.127 110.608 284.127 106.841Z",fill:a})]})}),l={light:{bg:i.ON.hex,fg:s},dark:{bg:s,fg:i.ON.hex},default:{bg:"#FF5500",fg:s}},u=(0,o.forwardRef)(function(e,t){let{scheme:n="default",color:i,...o}=e,s=i?.bg1||l[n].bg,a=i?.fg||l[n].fg;return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-monogram",height:"1em",viewBox:"0 0 192 192",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,ref:t,children:[(0,r.jsx)("rect",{width:"192",height:"192",fill:s}),(0,r.jsx)("path",{d:"M160.077 112.697L154.865 103.629L129.659 118.981L157.655 83.3368L161.888 80.8533L160.841 79.2802L162.764 76.8232L153.929 69.4699L149.886 74.6225L68.2657 122.375L98.4429 86.0855L154.651 55.2759L149.311 44.953L118.696 61.7277L133.771 43.6096L125.134 36L91.2055 76.7966L57.5083 95.2771L83.307 61.1709L99.4731 52.757L94.3391 42.3192L47.2403 66.8361L60.0839 49.8405L51.1123 42.6551L24 78.5378L24.4207 78.8736L29.486 89.1877L59.543 73.5354L32.1474 109.745L36.6375 113.342L39.3075 118.504L70.9528 101.154L36.1052 143.065L44.742 150.674L46.4762 148.588L130.543 99.2454L102.632 134.792L103.088 135.172L103.045 135.199L108.831 145.265L145.954 122.649L131.659 145.716L141.24 152L164 115.278L160.077 112.697Z",fill:a})]})})}
6,31098:(e,t,n)=>{"use strict";let r=n(6563);e.exports=(e,t,n)=>r(e,t,"<",n)},31246:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,O:()=>i});var r=n(56633);let i=globalThis;function o(e,t,n){let o=n||i,s=o.__SENTRY__=o.__SENTRY__||{},a=s[r.M]=s[r.M]||{};return a[e]||(a[e]=t())}},31326:(e,t,n)=>{var r=n(25411),i=n(36702),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},31481:(e,t,n)=>{var r=n(81495),i=n(60656),o=n(43539);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,e.exports=s},31529:(e,t,n)=>{"use strict";n.d(t,{Jy:()=>h});var r=n(37121);let i=/^[A-Za-z_][A-Za-z0-9_]*$/;function o(e){return e.reduce((e,t,n)=>{var r;if(Array.isArray(t))return`${e}[${t.join(":")}]`;if("object"==typeof(r=t)&&"string"==typeof r._key)return`${e}[_key=="${t._key}"]`;if("number"==typeof t)return`${e}[${t}]`;if("string"==typeof t&&!i.test(t))return`${e}['${t}']`;if("string"==typeof t)return`${e}${0===n?"":"."}${t}`;throw Error(`Unsupported path segment "${t}"`)},"")}class s extends Error{path;value;serializedPath;constructor(e,t,n){let r=o(t);super(`${e} (at '${r}')`),this.path=t,this.serializedPath=r,this.value=n}}let a=/^[a-z0-9][a-z0-9_.-]+$/i,l=/^[a-zA-Z_][a-zA-Z0-9_-]*$/,u=/^[a-z_]/i;function c(e,t,n){if(!u.test(e))throw new s("Keys must start with a letter (a-z)",n.concat(e),t);if(!l.test(e))throw new s("Keys can only contain letters, numbers and underscores",n.concat(e),t);if("_key"===e||"_ref"===e||"_type"===e){if("string"!=typeof t)throw new s("Keys must be strings",n.concat(e),t);if(!a.test(t))throw new s("Invalid key - use less exotic characters",n.concat(e),t)}return e}let d=["_id","_type","_createdAt","_updatedAt","_rev"],f={hideWarnings:!1,diffMatchPatch:{enabled:!0,lengthThresholdAbsolute:30,lengthThresholdRelative:1.2}};function h(e,t,n=f,i=[],o=[]){if(e===t)return o;let a=Array.isArray(e)?"array":typeof e,l=Array.isArray(t)?"array":typeof t,u="undefined"===a,d="undefined"===l;if(u&&!d)return o.push({op:"set",path:i,value:t}),o;if(!u&&d)return o.push({op:"unset",path:i}),o;let w={...f,...n,diffMatchPatch:{...f.diffMatchPatch,...n.diffMatchPatch||{}}},_=u?l:a;return"object"===_||"array"===_?a!==l?(o.push({op:"set",path:i,value:t}),o):"array"===_?function(e,t,n,r,i){if(t.length>e.length&&i.push({op:"insert",after:r.concat([-1]),items:t.slice(e.length).map((e,t)=>b(e,r,t,n))}),t.length<e.length){let o=e.length-t.length==1,s=e.slice(t.length);n.ifRevisionID||!m(s)?i.push({op:"unset",path:r.concat([o?t.length:[t.length,""]])}):i.push(...s.map(e=>({op:"unset",path:r.concat({_key:e._key})})))}for(let e=0;e<t.length;e++)if(Array.isArray(t[e]))throw new s("Multi-dimensional arrays not supported",r.concat(e),t[e]);let o=Math.min(e.length,t.length),a=e.slice(0,o),l=t.slice(0,o);return m(a)&&m(l)?function(e,t,n,r,i){var o,s;let a=y(e),l=y(t);if(o=a.keys,s=l.keys,!(o.length===s.length&&o.every((e,t)=>s[t]===e)))return p(e,t,n,r,i);for(let e=0;e<l.keys.length;e++){let t=l.keys[e];h(a.index[t],b(l.index[t],r,e,n),n,r.concat({_key:t}),i)}return i}(a,l,n,r,i):p(a,l,n,r,i)}(e,t,w,i,o):function(e,t,n,r,i){let o=0===r.length,s=Object.keys(e).filter(o?g:v).map(t=>c(t,e[t],r)),a=s.length,l=Object.keys(t).filter(o?g:v).map(e=>c(e,t[e],r)),u=l.length;for(let e=0;e<a;e++){let n=s[e];n in t||i.push({op:"unset",path:r.concat(n)})}for(let o=0;o<u;o++){let s=l[o];h(e[s],t[s],n,r.concat([s]),i)}return i}(e,t,w,i,o):function(e,t,n,i,o){let s=function(e,t,n,i){let{enabled:o,lengthThresholdRelative:s,lengthThresholdAbsolute:a}=n.diffMatchPatch,l=i[i.length-1];if(!o||"string"!=typeof e||"string"!=typeof t||"string"==typeof l&&"_"===l[0]||t.length<a)return;let u="";try{let n=(0,r.iU)(e,t),i=(0,r.sw)(n);u=(0,r.w1)((0,r.jW)(i))}catch{return}return u.length>t.length*s?void 0:{op:"diffMatchPatch",path:i,value:u}}(e,t,n,i);return o.push(s||{op:"set",path:i,value:t}),o}(e,t,w,i,o)}function p(e,t,n,r,i){for(let o=0;o<e.length;o++)h(e[o],b(t[o],r,o,n),n,r.concat(o),i);return i}function g(e){return -1===d.indexOf(e)}function m(e){let t=[];for(let r=0;r<e.length;r++){var n;
6let i="object"==typeof(n=e[r])&&null!==n&&n._key;if(!i||-1!==t.indexOf(i))return!1;t.push(i)}return!0}function y(e){return e.reduce((e,t)=>(e.keys.push(t._key),e.index[t._key]=t,e),{keys:[],index:{}})}function b(e,t,n,r){if("u">typeof e)return e;if(!r.hideWarnings){let e=o(t.concat(n));console.warn(`undefined value in array converted to null (at '${e}')`)}return null}function v(e){return!0}},31536:(e,t,n)=>{"use strict";n.d(t,{B:()=>u});var r=n(71450),i=n(45037),o=n(41449),s=(0,n(10899).L)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),a=n(12668),l=n(75968),u=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,r.C6)(t,e),t.prototype.lift=function(e){var t=new c(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new s},t.prototype.next=function(e){var t=this;(0,l.Y)(function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=(0,r.Ju)(t.currentObservers),s=o.next();!s.done;s=o.next())s.value.next(e)}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;(0,l.Y)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,l.Y)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,r=this.isStopped,i=this.observers;return n||r?o.Kn:(this.currentObservers=null,i.push(e),new o.yU(function(){t.currentObservers=null,(0,a.o)(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new i.c;return e.source=this,e},t.create=function(e,t){return new c(e,t)},t}(i.c),c=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.C6)(t,e),t.prototype.next=function(e){var t,n;null==(n=null==(t=this.destination)?void 0:t.next)||n.call(t,e)},t.prototype.error=function(e){var t,n;null==(n=null==(t=this.destination)?void 0:t.error)||n.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!=(n=null==(t=this.source)?void 0:t.subscribe(e))?n:o.Kn},t}(u)},31590:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,U:()=>s});var r=n(71450),i=n(39097);function o(e){return(0,r.AQ)(this,arguments,function(){var t,n,i;return(0,r.YH)(this,function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,r.N3)(t.read())];case 3:if(i=(n=o.sent()).value,!n.done)return[3,5];return[4,(0,r.N3)(void 0)];case 4:return[2,o.sent()];case 5:return[4,(0,r.N3)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function s(e){return(0,i.T)(null==e?void 0:e.getReader)}},32027:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))throw TypeError("humanize-list expected an array");(t=t||{}).conjunction=t.conjunction||"and";var n=e.length;if(1===n)return e[0];if(t.skipConjunction)return e.join(", ");for(var r="",i=0;i<n;i++)i===n-1?(t.oxfordComma&&(r+=","),r+=" "+t.conjunction+" "):0!==i&&(r+=", "),r+=e[i];return r}},32159:(e,t,n)=>{"use strict";let r=n(93127);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},32186:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4168),i=n(92118);function o(e,t,n){let o=(0,i.a)(e,null==n?void 0:n.in),s=o.getFullYear(),a=o.getDate(),l=(0,r.w)((null==n?void 0:n.in)||e,0);l.setFullYear(s,t,15),l.setHours(0,0,0,0);let u=function(e,t){let n=(0,i.a)(e,void 0),o=n.getFullYear(),s=n.getMonth(),a=(0,r.w)(n,0);return a.setFullYear(o,s+1,0),a.setHours(0,0,0,0),a.getDate()}(l);return o.setMonth(t,Math.min(a,u)),o}},32198:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},32242:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(59027),i=Math.floor,o=Math.min;let s=function(e,t,n,s){var a=0,l=null==e?0:e.length;if(0===l)return 0;for(var u=(t=n(t))!=t,c=null===t,d=(0,r.A)(t),f=void 0===t;a<l;){var h=i((a+l)/2),p=n(e[h]),g=void 0!==p,m=null===p,y=p==p,b=(0,r.A)(p);if(u)var v=s||y;else v=f?y&&(s||g):c?y&&g&&(s||!m):d?y&&g&&!m&&(s||!b):!m&&!b&&(s?p<=t:p<t);v?a=h+1:l=h}return o(l,0xfffffffe)};var a=n(92729);let l=function(e,t,n){var i=0,o=null==e?i:e.length;if("number"==typeof t&&t==t&&o<=0x7fffffff){for(;i<o;){var l=i+o>>>1,u=e[l];null!==u&&!(0,r.A)(u)&&(n?u<=t:u<t)?i=l+1:o=l}return o}return s(e,t,a.A,n)},u=function(e,t){return l(e,t)}}
6,32438:(e,t,n)=>{var r=n(50030);e.exports=function(e){return null==e?"":r(e)}},32466:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r=n(81933),i=n(8286),o=n(47211),s=n(95868),a=n(86238);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,s.lI)(e),l=(0,s.R0)(e,1/0);return e.length?1===e.length?(0,i.Tg)(e[0]):(0,r.U)(l)((0,a.H)(e,n)):o.w}},32499:(e,t,n)=>{e.exports=n(83558)(n(51483),"WeakMap")},32528:(e,t,n)=>{"use strict";let r=n(95934);e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,u=!!a.prerelease.length;if(l.prerelease.length&&!u){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(a))return l.minor&&!l.patch?"minor":"patch"}let c=u?"pre":"";return n.major!==i.major?c+"major":n.minor!==i.minor?c+"minor":n.patch!==i.patch?c+"patch":"prerelease"}},32598:(e,t,n)=>{var r=n(80942),i=n(26526);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},32642:(e,t,n)=>{"use strict";n.d(t,{p:()=>c});var r=n(45037),i=n(69675),o=n(8286),s=n(95868),a=n(28400),l=n(59728),u=n(69530);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,s.ms)(e),c=(0,i.D)(e),d=c.args,f=c.keys,h=new r.c(function(e){var t=d.length;if(!t)return void e.complete();for(var n=Array(t),r=t,i=t,s=function(t){var s=!1;(0,o.Tg)(d[t]).subscribe((0,a._)(e,function(e){!s&&(s=!0,i--),n[t]=e},function(){return r--},void 0,function(){r&&s||(i||e.next(f?(0,u.e)(f,n):n),e.complete())}))},l=0;l<t;l++)s(l)});return n?h.pipe((0,l.I)(n)):h}},33011:(e,t,n)=>{var r=n(7291),i=n(8082),o=n(90176),s=n(25411),a=n(1807);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):r(e):a(e)}},33193:(e,t,n)=>{"use strict";n.d(t,{P$:()=>T,rV:()=>_,LI:()=>x,Wz:()=>k});var r=n(70421),i=n(17485),o=n(43291);n(92571),n(15356);var s=n(77058),a=n(67716),l=n(32027);n(67251);n(33457);let u=[{name:"sanity.assetSourceData",title:"Asset Source Data",type:"object",fields:[{name:"name",title:"Source name",description:"A canonical name for the source this asset is originating from",type:"string"},{name:"id",title:"Asset Source ID",description:"The unique ID for the asset within the originating source so you can programatically find back to it",type:"string"},{name:"url",title:"Asset information URL",description:"A URL to find more information about this asset in the originating source",type:"string"}]},{title:"Slug",name:"slug",type:"object",fields:[{name:"current",title:"Current slug",type:"string",validation:e=>e.required()},{name:"source",title:"Source field",type:"string",hidden:!0}]},{title:"Geographical Point",name:"geopoint",type:"object",fields:[{name:"lat",type:"number",title:"Latitude"},{name:"lng",type:"number",title:"Longitude"},{name:"alt",type:"number",title:"Altitude"}]},{name:"sanity.imageAsset",title:"Image",type:"document",fieldsets:[{name:"system",title:"System fields",description:"These fields are managed by the system and not editable"}],fields:[{name:"originalFilename",type:"string",title:"Original file name",readOnly:!0},{name:"label",type:"string",title:"Label"},{name:"title",type:"string",title:"Title"},{name:"description",type:"string",title:"Description"},{name:"altText",type:"string",title:"Alternative text"},{name:"sha1hash",type:"string",title:"SHA1 hash",readOnly:!0,fieldset:"system"},{name:"extension",type:"string",readOnly:!0,title:"File extension",fieldset:"system"},{name:"mimeType",type:"string",readOnly:!0,title:"Mime type",fieldset:"system"},{name:"size",type:"number",title:"File size in bytes",readOnly:!0,fieldset:"system"},{name:"assetId",type:"string",title:"Asset ID",readOnly:!0,fieldset:"system"},{name:"uploadId",type:"string",readOnly:!0,hidden:!0,fieldset:"system"},{name:"path",type:"string",title:"Path",readOnly:!0,fieldset:"system"},{name:"url",type:"string",title:"Url",readOnly:!0,fieldset:"system"},{name:"metadata",type:"sanity.imageMetadata",title:"Metadata"},{name:"source",type:"sanity.assetSourceData",title:"Source",readOnly:!0,fieldset:"system"}],preview:{select:{id:"_id",title:"originalFilename",mimeType:"mimeType",size:"size",media:"media"},prepare:e=>({title:e.title||"string"==typeof e.path&&e.path.split("/").slice(-1)[0],media:{asset:{_ref:e.id},...e.media?{media:e.media}:{}},subtitle:`${e.mimeType} (${(Number(e.size)/1024/1024).toFixed(2)} MB)`})},orderings:[{title:"File size",name:"fileSizeDesc",by:[{field:"size",direction:"desc"}]}]},{name:"sanity.fileAsset",title:"File",type:"document",fieldsets:[{name:"system",title:"System fields",description:"These fields are managed by the system and not editable"}],fields:[{name:"originalFilename",type:"string",title:"Original file name",readOnly:!0},{name:"label",type:"string",title:"Label"},{name:"title",type:"string",title:"Title"},{name:"description",type:"string",title:"Description"},{name:"altText",type:"string",title:"Alternative text"},{name:"sha1hash",type:"string",title:"SHA1 hash",readOnly:!0,fieldset:"system"},{name:"extension",type:"string",title:"File extension",readOnly:!0,fieldset:"system"},{name:"mimeType",type:"string",title:"Mime type",readOnly:!0,fieldset:"system"},{name:"size",type:"number",title:"File size in bytes",readOnly:!0,fieldset:"system"},{name:"assetId",type:"string",title:"Asset ID",readOnly:!0,fieldset:"system"},{name:"uploadId",type:"string",readOnly:!0,hidden:!0,fieldset:"system"},{name:"path",type:"string",title:"Path",readOnly:!0,fieldset:"system"},{name:"url",type:"string",title:"Url",readOnly:!0,fieldset:"system"},{name:"source",type:"sanity.assetSourceData",title:"Source",readOnly:!0,fieldset:"system"}],preview:{select:{title:"originalFilename",path:"path",mimeType:"mimeType",size:"size"},prepare:e=>({title:e.title||e.path.split("/").slice(-1)[0],subtitle:`${e.mimeType} (${(e.size/1024/1024).toFixed(2)} MB)`})},orderings:[{title:"File size",name:"fileSizeDesc",by:[{field:"size",direction:"desc"}]}]},{name:"sanity.imageCrop",title:"Image crop",type:"object",fields:[{name:"top",type:"number",validation:e=>e.required()},{name:"bottom",type:"number",validation:e=>e.required()},{name:"left",type:"number",validation:e=>e.required()},{name:"right",type:"number",validation:e=>e.required()}]},{name:"sanity.imageHotspot",title:"Image hotspot",type:"object",fields:[{name:"x",type:"number",validation:e=>e.required()},{name:"y",type:"number",validation:e=>e.required()},{name:"height",type:"number",validation:e=>e.required()},{name:"width",type:"number",validation:e=>e.required()}]},{name:"sanity.imageMetadata",title:"Image metadata",type:"object",fieldsets:[{name:"extra",title:"Extra metadataâ¦",options:{collapsable:!0}}],fields:[{name:"location",type:"geopoint"},{name:"dimensions",title:"Dimensions",type:"sanity.imageDimensions",fieldset:"extra"},{name:"palette",type:"sanity.imagePalette",title:"Palette",fieldset:"extra"},{name:"lqip",title:"LQIP (Low-Quality Image Placeholder)",type:"string",readOnly:!0}
6,{name:"blurHash",title:"BlurHash",type:"string",readOnly:!0},{name:"thumbHash",title:"ThumbHash",type:"string",readOnly:!0},{name:"hasAlpha",title:"Has alpha channel",type:"boolean",readOnly:!0},{name:"isOpaque",title:"Is opaque",type:"boolean",readOnly:!0}]},{name:"sanity.imageDimensions",type:"object",title:"Image dimensions",fields:[{name:"height",type:"number",title:"Height",readOnly:!0,validation:e=>e.required()},{name:"width",type:"number",title:"Width",readOnly:!0,validation:e=>e.required()},{name:"aspectRatio",type:"number",title:"Aspect ratio",readOnly:!0,validation:e=>e.required()}]},{name:"sanity.imagePalette",title:"Image palette",type:"object",fields:[{name:"darkMuted",type:"sanity.imagePaletteSwatch",title:"Dark Muted"},{name:"lightVibrant",type:"sanity.imagePaletteSwatch",title:"Light Vibrant"},{name:"darkVibrant",type:"sanity.imagePaletteSwatch",title:"Dark Vibrant"},{name:"vibrant",type:"sanity.imagePaletteSwatch",title:"Vibrant"},{name:"dominant",type:"sanity.imagePaletteSwatch",title:"Dominant"},{name:"lightMuted",type:"sanity.imagePaletteSwatch",title:"Light Muted"},{name:"muted",type:"sanity.imagePaletteSwatch",title:"Muted"}]},{name:"sanity.imagePaletteSwatch",title:"Image palette swatch",type:"object",fields:[{name:"background",type:"string",title:"Background",readOnly:!0},{name:"foreground",type:"string",title:"Foreground",readOnly:!0},{name:"population",type:"number",title:"Population",readOnly:!0},{name:"title",type:"string",title:"String",readOnly:!0}]}],c={TYPE_INVALID:"schema-type-invalid",TYPE_IS_ESM_MODULE:"schema-type-is-esm-module",TYPE_NAME_RESERVED:"schema-type-name-reserved",TYPE_MISSING_NAME:"schema-type-missing-name-or-type",TYPE_MISSING_TYPE:"schema-type-missing-name-or-type",TYPE_TITLE_RECOMMENDED:"schema-type-title-is-recommended",TYPE_TITLE_INVALID:"schema-type-title-is-recommended",OBJECT_FIELDS_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_NOT_UNIQUE:"schema-object-fields-invalid",OBJECT_FIELD_NAME_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_DEFINITION_INVALID_TYPE:"schema-object-fields-invalid",ARRAY_PREDEFINED_CHOICES_INVALID:"schema-predefined-choices-invalid",ARRAY_OF_ARRAY:"schema-array-of-array",ARRAY_OF_INVALID:"schema-array-of-invalid",ARRAY_OF_NOT_UNIQUE:"schema-array-of-invalid",ARRAY_OF_DUPLICATE_PRIMITIVE_JSON_TYPE:"schema-array-of-duplicate-primitive-json-type",ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT:"schema-array-of-type-global-type-conflict",ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT:"schema-array-of-type-builtin-type-conflict",REFERENCE_TO_INVALID:"schema-reference-to-invalid",REFERENCE_TO_NOT_UNIQUE:"schema-reference-to-invalid",REFERENCE_INVALID_OPTIONS:"schema-reference-invalid-options",REFERENCE_INVALID_OPTIONS_LOCATION:"schema-reference-options-nesting",REFERENCE_INVALID_FILTER_PARAMS_COMBINATION:"schema-reference-filter-params-combination",SLUG_SLUGIFY_FN_RENAMED:"slug-slugifyfn-renamed",ASSET_METADATA_FIELD_INVALID:"asset-metadata-field-invalid",CROSS_DATASET_REFERENCE_INVALID:"cross-dataset-reference-invalid",GLOBAL_DOCUMENT_REFERENCE_INVALID:"global-document-reference-invalid",DEPRECATED_BLOCKEDITOR_KEY:"schema-deprecated-blockeditor-key",STANDALONE_BLOCK_TYPE:"schema-standalone-block-type",FIELD_TYPE_IS_DOCUMENT:"schema-field-type-is-document"};function d(e,t,n){if(n&&!Object.keys(c).some(e=>c[e]===n))throw Error(`Used the unknown helpId "${n}", please add it to the array in createValidationResult.js`);return{severity:e,message:t,helpId:n}}let f=(e,t)=>d("error",e,t);function h(e,t=t=>(0,i.A)(t,e)){return function(n,r){let i=[...r,{kind:"type",type:n.type,name:n.name}],s=t(n)||[],a=Array.isArray(s)?s.map(t=>(function(e,t=[]){switch(e.type){case"object":case"document":return p(e,t);case"array":return y(e,t);case"reference":return b(e,t);case"block":return[...v(e,t),...w(e,t)];case"image":return g(e,t);case"file":return m(e,t);default:return function(e,t=[]){return[{path:[...t,{kind:"type",type:e.type,name:e.name}],problems:e._problems||[]}]}(e,t)}})(t,[...i,{kind:"property",name:e}])):[[{path:i,problems:[f(`Member declaration (${e}) is not an array`)]}]];return[{path:i,problems:n._problems||[]},...(0,o.A)(a)]}}let p=h("fields"),g=h("fields"),m=h("fields"),y=h("of"),b=h("to",e=>"to"in e?(e=>Array.isArray(e)?e:typeof e>"u"&&[]||[e])(e.to):[]),v=h("marks.annotations"),w=h("of");[{name:"array",jsonType:"array",type:"type"},{name:"block",jsonType:"object",type:"type"},{name:"boolean",jsonType:"boolean",type:"type"},{name:"datetime",jsonType:"string",type:"type"},{name:"date",jsonType:"string",type:"type"},{name:"document",jsonType:"object",type:"type"},{name:"email",jsonType:"string",type:"type"},{name:"file",jsonType:"object",type:"type"},{name:"geopoint",jsonType:"object",type:"type"},{name:"image",jsonType:"object",type:"type"},{name:"number",jsonType:"number",type:"type"},{name:"object",jsonType:"object",type:"type"},{name:"reference",jsonType:"object",type:"type"},{name:"crossDatasetReference",jsonType:"object",type:"type"},{name:"globalDocumentReference",jsonType:"object",type:"type"},{name:"slug",jsonType:"object",type:"type"},{name:"span",jsonType:"object",type:"type"},{name:"string",jsonType:"string",type:"type"},{name:"telephone",jsonType:"string",type:"type"},{name:"text",jsonType:"string",type:"type"},{name:"url",jsonType:"string",type:"type"}].map(e=>e.name);function _(e){if(!e)throw Error("Parameter 'portabletextType' missing (required)");let t=e.of?.find(function e(t){return t.type?e(t.type):"block"===t.name?t:null});if(!t)throw Error("Block type is not defined in this schema (required)");let n=t.fields?.find(e=>"children"===e.name);if(!n)throw Error("Children field for block type found in schema (required)");let r=n.type.of;if(!r)throw Error("Valid types for block children not found in schema (required)");let i=r.find(e=>"span"===e.name);if(!i)throw Error("Span type not found in schema (required)");let o=r.filter(e=>"span"!==e.name)||[],s=e.of?.filter(e=>e.name!==t.name)||[];return{styles:function(e){let t=e.fields?.find(e=>"style"===e.name);if(!t)throw Error("A field with name 'style' is not defined in the block type (required).");let n=t.type.options?.list&&t.type.options.list?.filter(e=>e.value);
6if(!n||0===n.length)throw Error("The style fields need at least one style defined. I.e: {title: 'Normal', value: 'normal'}.");return n}(t),decorators:i.decorators,lists:function(e){let t=e.fields?.find(e=>"listItem"===e.name);if(!t)throw Error("A field with name 'listItem' is not defined in the block type (required).");let n=t.type.options?.list&&t.type.options.list.filter(e=>e.value);if(!n)throw Error("The list field need at least to be an empty array");return n}(t),block:t,span:i,portableText:e,inlineObjects:o,blockObjects:s,annotations:i.annotations}}function x(e){return{annotations:e.annotations.map(e=>({name:e.name,fields:e.fields.map(e=>({name:e.name,type:e.type.jsonType,title:e.type.title})),title:e.title})),block:{name:e.block.name},blockObjects:e.blockObjects.map(e=>({name:e.name,fields:e.fields.map(e=>({name:e.name,type:e.type.jsonType,title:e.type.title})),title:e.title})),decorators:e.decorators.map(e=>({name:e.value,title:e.title,value:e.value})),inlineObjects:e.inlineObjects.map(e=>({name:e.name,fields:e.fields.map(e=>({name:e.name,type:e.type.jsonType,title:e.type.title})),title:e.title})),span:{name:e.span.name},styles:e.styles.map(e=>({name:e.value,title:e.title,value:e.value})),lists:e.lists.map(e=>({name:e.value,title:e.title,value:e.value}))}}function k(e){var t;return x(_(e.hasOwnProperty("jsonType")?e:(t=e,r.Sj.compile({name:"blockTypeSchema",types:[t,...u]}).get(t.name))))}a.Sj.compile({name:"studio",types:u});let E=()=>(function(e){let t=A();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,n)=>e+t[n],"").slice(0,e)})(12),A=(()=>{let e;return()=>{if(e)return e;e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).slice(1);return e}})();function S(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(/\s+/).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}let C={image:"Image",url:"URL"},I=new Set(["file","geopoint","image","slug","url"]);function T(e){let t=e?.blockObjects??[],n=e?.inlineObjects??[],i=new Set(t.map(e=>e.name)),o=new Set(n.map(e=>e.name)),s={},a={},l={},u={};for(let e of i)if(I.has(e)||o.has(e)){let t=`tmp-${E()}-${e}`;s[e]=t,l[t]=e}for(let e of o)if(I.has(e)||i.has(e)){let t=`tmp-${E()}-${e}`;a[e]=t,u[t]=e}let c=t.map(e=>({type:"object",name:s[e.name]??e.name,title:void 0===e.title?C[e.name]:e.title,fields:e.fields?.map(e=>({name:e.name,type:e.type,title:e.title??S(e.name)}))??[]})),d=n.map(e=>({type:"object",name:a[e.name]??e.name,title:void 0===e.title?C[e.name]:e.title,fields:e.fields?.map(e=>({name:e.name,type:e.type,title:e.title??S(e.name)}))??[]})),f={type:"array",name:"portable-text",of:[...c.map(e=>({type:e.name})),{type:"block",name:"block",of:d.map(e=>({type:e.name})),marks:{decorators:e?.decorators?.map(e=>({title:e.title??S(e.name),value:e.name}))??[],annotations:e?.annotations?.map(e=>({name:e.name,type:"object",title:e.title,fields:e.fields?.map(e=>({name:e.name,title:e.title??S(e.name),type:e.type}))??[]}))??[]},lists:e?.lists?.map(e=>({value:e.name,title:e.title??S(e.name)}))??[],styles:e?.styles?.map(e=>({value:e.name,title:e.title??S(e.name)}))??[]}]},h=_(r.Sj.compile({types:[f,...c,...d]}).get("portable-text"));for(let e of h.blockObjects){let t=l[e.name];void 0!==t&&(e.name=t,e.type&&(e.type={...e.type,name:t}))}for(let e of h.inlineObjects){let t=u[e.name];void 0!==t&&(e.name=t,e.type&&(e.type={...e.type,name:t}))}return h}},33341:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(73157),i=n(53385);let o=(0,n(45545).A)(function(e,t){return null==e?{}:(0,r.A)(e,t,function(t,n){return(0,i.A)(e,n)})})},33421:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var r=n(71450),i=function(e){function t(t,n){return e.call(this)||this}return(0,r.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(41449).yU),o={setInterval:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var s=o.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,(0,r.fX)([e,t],(0,r.zs)(n))):setInterval.apply(void 0,(0,r.fX)([e,t],(0,r.zs)(n)))},clearInterval:function(e){var t=o.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},s=n(12668),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;
6return r.scheduler=t,r.work=n,r.pending=!1,r}return(0,r.C6)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n,r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!=(n=this.id)?n:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),o.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.o)(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i)},33457:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,s=r&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=a&&l&&"function"==typeof l.get?l.get:null,c=a&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,x=RegExp.prototype.test,k=Array.prototype.concat,E=Array.prototype.join,A=Array.prototype.slice,S=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===O?"object":"symbol")?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var i=String(r),o=b.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var N=n(42634),F=N.custom,$=V(F)?F:null,P={__proto__:null,double:'"',single:"'"},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(e,t,n){var r=P[n.quoteStyle||t];return r+e+r}function U(e){return!R||!("object"==typeof e&&(R in e||void 0!==e[R]))}function B(e){return"[object Array]"===W(e)&&U(e)}function q(e){return"[object RegExp]"===W(e)&&U(e)}function V(e){if(O)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,i,a){var l,g,w,x,S,I=r||{};if(G(I,"quoteStyle")&&!G(P,I.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(G(I,"maxStringLength")&&("number"==typeof I.maxStringLength?I.maxStringLength<0&&I.maxStringLength!==1/0:null!==I.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var F=!G(I,"customInspect")||I.customInspect;if("boolean"!=typeof F&&"symbol"!==F)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
6if(G(I,"indent")&&null!==I.indent&&" "!==I.indent&&!(parseInt(I.indent,10)===I.indent&&I.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(I,"numericSeparator")&&"boolean"!=typeof I.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var H=I.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength;return e(b.call(t,0,n.maxStringLength),n)+("... "+r)+" more character"+(r>1?"s":"")}var i=L[n.quoteStyle||"single"];return i.lastIndex=0,z(v.call(v.call(t,i,"\\$1"),/[\x00-\x1f]/g,K),"single",n)}(t,I);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var et=String(t);return H?M(t,et):et}if("bigint"==typeof t){var en=String(t)+"n";return H?M(t,en):en}var er=void 0===I.depth?5:I.depth;if(void 0===i&&(i=0),i>=er&&er>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var ei=function(e,t){var n;if(" "===e.indent)n=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(I,i);if(void 0===a)a=[];else if(Y(a,t)>=0)return"[Circular]";function eo(t,n,r){if(n&&(a=A.call(a)).push(n),r){var o={depth:I.depth};return G(I,"quoteStyle")&&(o.quoteStyle=I.quoteStyle),e(t,o,i+1,a)}return e(t,I,i+1,a)}if("function"==typeof t&&!q(t)){var es=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ea=ee(t,eo);return"[Function"+(es?": "+es:" (anonymous)")+"]"+(ea.length>0?" { "+E.call(ea,", ")+" }":"")}if(V(t)){var el=O?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||O?el:Z(el)}if((eu=t)&&"object"==typeof eu&&("undefined"!=typeof HTMLElement&&eu instanceof HTMLElement||"string"==typeof eu.nodeName&&"function"==typeof eu.getAttribute)){for(var eu,ec,ed="<"+_.call(String(t.nodeName)),ef=t.attributes||[],eh=0;eh<ef.length;eh++){ed+=" "+ef[eh].name+"="+z((ec=ef[eh].value,v.call(String(ec),/"/g,""")),"double",I)}return ed+=">",t.childNodes&&t.childNodes.length&&(ed+="..."),ed+="</"+_.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var ep=ee(t,eo);return ei&&!function(e){for(var t=0;t<e.length;t++)if(Y(e[t],"\n")>=0)return!1;return!0}(ep)?"["+Q(ep,ei)+"]":"[ "+E.call(ep,", ")+" ]"}if("[object Error]"===W(l=t)&&U(l)){var eg=ee(t,eo);return"cause"in Error.prototype||!("cause"in t)||D.call(t,"cause")?0===eg.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(eg,", ")+" }":"{ ["+String(t)+"] "+E.call(k.call("[cause]: "+eo(t.cause),eg),", ")+" }"}if("object"==typeof t&&F){if($&&"function"==typeof t[$]&&N)return N(t,{depth:er-i});else if("symbol"!==F&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var em=[];return s&&s.call(t,function(e,n){em.push(eo(n,t,!0)+" => "+eo(e,t))}),J("Map",o.call(t),em,ei)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ey=[];return c&&c.call(t,function(e){ey.push(eo(e,t))}),J("Set",u.call(t),ey,ei)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if("[object Number]"===W(g=t)&&U(g))return Z(eo(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return Z(eo(C.call(t)));if("[object Boolean]"===W(w=t)&&U(w))return Z(p.call(t));if("[object String]"===W(x=t)&&U(x))return Z(eo(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!("[object Date]"===W(S=t)&&U(S))&&!q(t)){var eb=ee(t,eo),ev=j?j(t)===Object.prototype:t instanceof Object||t.constructor===Object,ew=t instanceof Object?"":"null prototype",e_=!ev&&R&&Object(t)===t&&R in t?b.call(W(t),8,-1):ew?"Object":"",ex=(ev||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(e_||ew?"["+E.call(k.
6call([],e_||[],ew||[]),": ")+"] ":"");return 0===eb.length?ex+"{}":ei?ex+"{"+Q(eb,ei)+"}":ex+"{ "+E.call(eb,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return H.call(e,t)}function W(e){return g.call(e)}function Y(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Z(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):E.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function ee(e,t){var n,r=B(e),i=[];if(r){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=G(e,o)?t(e[o],e):""}var s="function"==typeof I?I(e):[];if(O){n={};for(var a=0;a<s.length;a++)n["$"+s[a]]=s[a]}for(var l in e)if(G(e,l)&&(!r||String(Number(l))!==l||!(l<e.length)))if(O&&n["$"+l]instanceof Symbol)continue;else x.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e));if("function"==typeof I)for(var u=0;u<s.length;u++)D.call(e,s[u])&&i.push("["+t(s[u])+"]: "+t(e[s[u]],e));return i}},33476:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},33642:(e,t,n)=>{for(var r=n(11747),i="undefined"==typeof window?n.g:window,o=["moz","webkit"],s="AnimationFrame",a=i["request"+s],l=i["cancel"+s]||i["cancelRequest"+s],u=0;!a&&u<o.length;u++)a=i[o[u]+"Request"+s],l=i[o[u]+"Cancel"+s]||i[o[u]+"CancelRequest"+s];if(!a||!l){var c=0,d=0,f=[],h=1e3/60;a=function(e){if(0===f.length){var t=r(),n=Math.max(0,h-(t-c));c=n+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return a.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=a,e.cancelAnimationFrame=l}},33867:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(45240),i=n(20851),o=n(4168),s=n(82192);function a(e,t){var n;let{start:a,end:l}=function(e,t){let[n,i]=(0,r.x)(e,t.start,t.end);return{start:n,end:i}}(null==t?void 0:t.in,e),u=+a>+l,c=u?(0,s.k)(l,t):(0,s.k)(a,t),d=u?(0,s.k)(a,t):(0,s.k)(l,t);c.setHours(15),d.setHours(15);let f=+d.getTime(),h=c,p=null!=(n=null==t?void 0:t.step)?n:1;if(!p)return[];p<0&&(p=-p,u=!u);let g=[];for(;+h<=f;)h.setHours(0),g.push((0,o.w)(a,h)),(h=(0,i.J)(h,p)).setHours(15);return u?g.reverse():g}},33987:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(57386),i=n(53736),o=n(90904),s=n(33476),a=n(62964);let l=function(e,t,n,l){if(!(0,s.A)(e))return e;t=(0,i.A)(t,e);for(var u=-1,c=t.length,d=c-1,f=e;null!=f&&++u<c;){var h=(0,a.A)(t[u]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=(0,s.A)(g)?g:(0,o.A)(t[u+1])?[]:{})}(0,r.A)(f,h,p),f=f[h]}return e}},34030:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(78242);function i(e,t,n){return(0,r.v)(function(){return e()?t:n})}},34062:(e,t,n)=>{"use strict";n.d(t,{e:()=>u,r:()=>d});var r=n(9784),i=n(63056),o=n(64509),s=n(39860),a=n(1893),l=n(81220);function u(e){let t,n,s,a=(0,i.c)(16),{cancelButtonIcon:l,cancelButtonText:u,confirmButtonIcon:d,confirmButtonText:f,message:h,onCancel:p,onConfirm:g,open:m,referenceElement:y,tone:b,placement:v,fallbackPlacements:w}=e,_=void 0===b?"critical":b,x=void 0===v?"top":v;a[0]!==w?(t=void 0===w?["left","bottom"]:w,a[0]=w,a[1]=t):t=a[1];let k=t;return m?(a[2]!==l||a[3]!==u||a[4]!==d||a[5]!==f||a[6]!==h||a[7]!==p||a[8]!==g||a[9]!==_?(n=(0,r.jsx)(c,{cancelButtonIcon:l,cancelButtonText:u,confirmButtonIcon:d,confirmButtonText:f,message:h,onCancel:p,onConfirm:g,tone:_}),a[2]=l,a[3]=u,a[4]=d,a[5]=f,a[6]=h,a[7]=p,a[8]=g,a[9]=_,a[10]=n):n=a[10],a[11]!==k||a[12]!==x||a[13]!==y||a[14]!==n?(s=(0,r.jsx)(o.AM,{content:n,constrainSize:!0,fallbackPlacements:k,open:!0,placement:x,portal:!0,preventOverflow:!0,referenceElement:y}),a[11]=k,a[12]=x,a[13]=y,a[14]=n,a[15]=s):s=a[15],s):null}function c(e){let t,n,l,u,c,d,f,h,p,g,m,y=(0,i.c)(29),{cancelButtonIcon:b,cancelButtonText:v,confirmButtonIcon:w,confirmButtonText:_,message:x,onCancel:k,onConfirm:E,tone:A}=e,{t:S}=(0,a.Bd)(),{isTopLayer:C}=(0,o.Z4)(),I=(0,s.useRef)(null);
6return y[0]!==C||y[1]!==k?(t=e=>{"Escape"===e.key&&C&&k()},y[0]=C,y[1]=k,y[2]=t):t=y[2],(0,o.Pm)(t),y[3]===Symbol.for("react.memo_cache_sentinel")?(n=()=>[I.current],y[3]=n):n=y[3],(0,o.PR)(C&&k,n),y[4]===Symbol.for("react.memo_cache_sentinel")?(l={minWidth:280,maxWidth:350},y[4]=l):l=y[4],y[5]!==x?(u=(0,r.jsx)(o.az,{flex:1,overflow:"auto",padding:4,children:(0,r.jsx)(o.EY,{size:1,children:x})}),y[5]=x,y[6]=u):u=y[6],y[7]===Symbol.for("react.memo_cache_sentinel")?(c={borderTop:"1px solid var(--card-border-color)"},y[7]=c):c=y[7],y[8]!==v||y[9]!==S?(d=v||S("common.dialog.cancel-button.text"),y[8]=v,y[9]=S,y[10]=d):d=y[10],y[11]!==b||y[12]!==k||y[13]!==d?(f=(0,r.jsx)(o.$n,{"data-testid":"confirm-popover-cancel-button",icon:b,onClick:k,mode:"ghost",padding:2,text:d,size:1}),y[11]=b,y[12]=k,y[13]=d,y[14]=f):f=y[14],y[15]!==_||y[16]!==S?(h=_||S("common.dialog.confirm-button.text"),y[15]=_,y[16]=S,y[17]=h):h=y[17],y[18]!==w||y[19]!==E||y[20]!==h||y[21]!==A?(p=(0,r.jsx)(o.$n,{"data-testid":"confirm-popover-confirm-button",icon:w,onClick:E,padding:2,text:h,tone:A,size:1}),y[18]=w,y[19]=E,y[20]=h,y[21]=A,y[22]=p):p=y[22],y[23]!==f||y[24]!==p?(g=(0,r.jsx)(o.az,{paddingX:4,paddingY:3,style:c,children:(0,r.jsxs)(o.xA,{columns:2,gap:2,children:[f,p]})}),y[23]=f,y[24]=p,y[25]=g):g=y[25],y[26]!==g||y[27]!==u?(m=(0,r.jsxs)(o.so,{direction:"column",ref:I,style:l,children:[u,g]}),y[26]=g,y[27]=u,y[28]=m):m=y[28],m}let d=e=>{let t,n=(0,i.c)(8),{tooltipProps:s}=e;n[0]!==e?(t=(0,r.jsx)(o.rX,{...e,fontSize:1,padding:3}),n[0]=e,n[1]=t):t=n[1];let a=t;if(s){let e,t,i=s?.content;return n[2]!==a?(e=(0,r.jsx)("div",{children:a}),n[2]=a,n[3]=e):e=n[3],n[4]!==i||n[5]!==e||n[6]!==s?(t=(0,r.jsx)(l.m_,{content:i,portal:!0,...s,children:e}),n[4]=i,n[5]=e,n[6]=s,n[7]=t):t=n[7],t}return a}},34098:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(37305),i=n(77241);function o(e,t,n){var o,s,a,l,u=!1;return e&&"object"==typeof e?(l=void 0===(o=e.bufferSize)?1/0:o,t=void 0===(s=e.windowTime)?1/0:s,u=void 0!==(a=e.refCount)&&a,n=e.scheduler):l=null!=e?e:1/0,(0,i.u)({connector:function(){return new r.m(l,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},34113:(e,t,n)=>{"use strict";n.d(t,{L:()=>b,g:()=>d});var r=n(37121);function i(e,t,n){return delete e[t],e[t]=n,n}function o(e,t,n,r){let i=e.value,o=t.value;return r?{type:"array",action:"changed",isChanged:!0,fromValue:i,toValue:o,items:n,annotation:t.annotation}:{type:"array",action:"unchanged",isChanged:!1,fromValue:i,toValue:o,items:n}}function s(e,t,n){if(e.length!==t.length)return;let r=[];for(let i=0;i<e.length;i++){let o=d(e.at(i),t.at(i),n);if(o.isChanged)return;r.push({fromIndex:i,toIndex:i,hasMoved:!1,diff:o,annotation:t.annotationAt(i)})}return r}function a(e,t){if(void 0!==e.toIndex&&void 0!==t.toIndex)return e.toIndex-t.toIndex;if(void 0!==e.fromIndex&&void 0!==t.fromIndex)return e.fromIndex-t.fromIndex;if(void 0!==e.fromIndex&&void 0!==t.toIndex)return -1;if(void 0!==e.toIndex&&void 0!==t.fromIndex)return 1;throw Error("invalid item diff comparison")}function l(e,t,n){let r=e.get(t);(function(e,t){let n=e.indexOf(t);if(-1===n)throw Error("value not found");e.splice(n,1)})(r,n),0===r.length&&e.delete(t)}function u(e){let t=new Map,n=[],r=e.length;for(let i=0;i<r;i++){let r=e.at(i),o=null;switch(r.type){case"string":o=`s${r.value}`;break;case"number":case"boolean":o=r.value;break;case"null":o="n";break;case"object":{let e=r.get("_key");if(e&&"string"===e.type&&(o=`k${e.value}`,t.has(o)))return}}if(null===o)return;n.push(o);let s=t.get(o);s||(s=[],t.set(o,s)),s.push(i)}return{keys:n,index:t}}let c=new Set(["_id","_type","_createdAt","_updatedAt","_rev","_weak"]);function d(e,t,n={}){return e.type!==t.type?"null"===e.type?h(t,null):"null"===t.type?f(e,null):{type:"typeChange",action:"changed",isChanged:!0,fromType:e.type,fromValue:e.value,fromDiff:f(e,void 0),toType:t.type,toValue:t.value,toDiff:h(t,void 0),annotation:t.annotation}:function(e,t,n,p){switch(e){case"null":return{type:"null",action:"unchanged",isChanged:!1,toValue:null,fromValue:null};case"boolean":return function(e,t,n){let r=e.value,i=t.value,o=e.type;return r===i?{type:o,action:"unchanged",fromValue:r,toValue:i,isChanged:!1}:{type:e.type,action:"changed",isChanged:!0,fromValue:r,toValue:i,annotation:t.annotation}}(t,n);case"number":return function(e,t,n){let r=e.value,i=t.value,o=e.type;return r===i?{type:o,action:"unchanged",fromValue:r,toValue:i,isChanged:!1}:{type:e.type,action:"changed",isChanged:!0,fromValue:r,toValue:i,annotation:t.annotation}}(t,n);case"string":let g=t.value,m=n.value;return g===m?{type:"string",action:"unchanged",isChanged:!1,fromValue:g,toValue:m,segments:[{type:"stringSegment",action:"unchanged",text:g}]}:{type:"string",action:"changed",isChanged:!0,fromValue:g,toValue:m,annotation:n.annotation,get segments(){return i(this,"segments",function(e,t){let n=[],i=(0,r.Vx)((0,r.iU)(e.value,t.value)),o=0,s=0;for(let[a,l]of i)switch(a){case r.lw:n.push({type:"stringSegment",action:"unchanged",text:l}),o+=l.length,s+=l.length;break;case r.Cm:for(let t of e.sliceAnnotation(o,o+l.length))n.push({type:"stringSegment",action:"removed",text:t.text,annotation:t.annotation});o+=l.length;break;case r.Ug:for(let e of t.sliceAnnotation(s,s+l.length))n.push({type:"stringSegment",action:"added",text:e.text,annotation:e.annotation});s+=l.length;break;default:throw Error(`Unhandled diff-match-patch operation "${a}"`)}return n}(t,n))}};case"array":if(t===n)return{type:"array",action:"unchanged",isChanged:!1,fromValue:t.value,toValue:n.value,get items(){let e=s(t,n,p);if(!e)throw Error("invariant broken: equivalent input, but diff detected");return i(this,"items",e)}};let y=u(t),b=u(n);if(y&&b)return function(e,t,n,r,i){var s,u;
6let c=[],p=!1;function g(i,o,s,a){l(t.index,i,o),l(r.index,i,s);let u=d(e.at(o),n.at(s));c.push({fromIndex:o,toIndex:s,hasMoved:a,diff:u,annotation:n.annotationAt(s)}),(u.isChanged||o!==s)&&(p=!0)}let m=function(e,t,n){let r=t.length,i=n.length,o={sequence:[],prevIndices:[],nextIndices:[]};for(;0!==r&&0!==i;)t[r-1]===n[i-1]?(o.sequence.unshift(t[r-1]),o.prevIndices.unshift(r-1),o.nextIndices.unshift(i-1),--r,--i):e[r][i-1]>e[r-1][i]?--i:--r;return o}(function(e,t){let n=e.length,r=t.length,i=0,o=0,s=Array(n+1);for(i=0;i<n+1;i++)for(s[i]=[r+1],o=0;o<r+1;o++)s[i][o]=0;for(i=1;i<n+1;i++)for(o=1;o<r+1;o++)e[i-1]===t[o-1]?s[i][o]=s[i-1][o-1]+1:s[i][o]=Math.max(s[i-1][o],s[i][o-1]);return s}(s=t.keys,u=r.keys),s,u);for(let n=0;n<t.keys.length;n++){let i=t.keys[n],o=m.prevIndices.indexOf(n);if(-1!==o){g(i,n,m.nextIndices[o],!1);continue}let s=r.index.get(i),a=s&&s.find(e=>!m.nextIndices.includes(e));if(void 0!==a){g(i,n,a,!0);continue}let l=e.at(n);c.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:f(l,void 0),annotation:e.annotationAt(n)}),p=!0}for(let e of r.index.values()){for(let t of e){let e=n.at(t);c.push({fromIndex:void 0,toIndex:t,hasMoved:!1,diff:h(e,void 0),annotation:n.annotationAt(t)})}p=!0}return c.sort(a),o(e,n,c,p)}(t,y,n,b);let v=s(t,n,p);return v?o(t,n,v,!1):function(e,t,n){let r=[];for(let e=0;e<t.length;e++){let n=t.at(e);r.push({fromIndex:void 0,toIndex:e,hasMoved:!1,diff:h(n,void 0),annotation:n.annotation})}for(let t=0;t<e.length;t++){let n=e.at(t);r.push({fromIndex:t,toIndex:void 0,hasMoved:!1,diff:f(n,void 0),annotation:n.annotation})}return o(e,t,r,!0)}(t,n);case"object":return function(e,t,n){let r={},i=!1;for(let o of e.keys){if(c.has(o))continue;let s=e.get(o),a=t.get(o);if(a){let e=d(s,a,n);r[o]=e,e.isChanged&&(i=!0)}else r[o]=f(s,void 0),i=!0}for(let n of t.keys){if(c.has(n)||e.get(n))continue;let o=t.get(n);r[n]=h(o,void 0),i=!0}let o=e.value,s=t.value;return i?{type:"object",action:"changed",isChanged:!0,fromValue:o,toValue:s,fields:r,annotation:t.annotation}:{type:"object",action:"unchanged",isChanged:!1,fromValue:o,toValue:s,fields:r}}(t,n,p);default:throw Error(`Unhandled diff type "${e}"`)}}(e.type,e,t,n)}function f(e,t,n){switch(e.type){case"null":return{type:"null",action:"removed",isChanged:!0,fromValue:null,toValue:t,annotation:e.annotation};case"boolean":return{type:"boolean",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation};case"number":return{type:"number",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation};case"string":return{type:"string",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get segments(){return i(this,"segments",e.sliceAnnotation(0,e.value.length).map(e=>({type:"stringSegment",action:"removed",...e})))}};case"array":return{type:"array",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get items(){let t=[];for(let n=0;n<e.length;n++){let r=e.at(n);t.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:f(r,void 0),annotation:e.annotationAt(n)})}return i(this,"items",t)}};case"object":return{type:"object",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get fields(){let t={};for(let n of e.keys){let r=e.get(n);t[n]=f(r,void 0)}return i(this,"fields",t)}};default:throw Error("Unhandled diff type")}}function h(e,t,n){switch(e.type){case"null":return{type:"null",action:"added",isChanged:!0,fromValue:t,toValue:null,annotation:e.annotation};case"boolean":return{type:"boolean",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation};case"number":return{type:"number",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation};case"string":return{type:"string",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get segments(){return i(this,"segments",e.sliceAnnotation(0,e.value.length).map(e=>({type:"stringSegment",action:"added",...e})))}};case"array":return{type:"array",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get items(){let t=[];for(let n=0;n<e.length;n++){let r=e.at(n);t.push({fromIndex:void 0,toIndex:n,hasMoved:!1,diff:h(r,void 0),annotation:e.annotationAt(n)})}return i(this,"items",t)}};case"object":return{type:"object",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get fields(){let t={};for(let n of e.keys){let r=e.get(n);t[n]=h(r,void 0)}return i(this,"fields",t)}};default:throw Error("Unhandled diff type")}}class p{type="array";length;value;annotation;elements=[];constructor(e,t){this.annotation=t,this.value=e,this.length=e.length}at(e){if(e>=this.length)throw Error("out of bounds");return this.elements[e]||(this.elements[e]=b(this.value[e],this.annotation))}annotationAt(){return this.annotation}}class g{type;value;annotation;constructor(e,t,n){this.type=e,this.value=t,this.annotation=n}}class m{type="object";value;keys;annotation;fields={};constructor(e,t){this.value=Object.fromEntries(Object.entries(e).filter(([,e])=>"u">typeof e)),this.annotation=t,this.keys=Object.keys(this.value)}get(e){let t=this.fields[e];if(t)return t;if(!this.value.hasOwnProperty(e))return;let n=this.value[e];return this.fields[e]=b(n,this.annotation)}}class y{type="string";value;annotation;constructor(e,t){this.value=e,this.annotation=t}sliceAnnotation(e,t){return[{text:this.value.slice(e,t),annotation:this.annotation}]}}function b(e,t){if(Array.isArray(e))return new p(e,t);if(null===e)return new g("null",e,t);let n=typeof e;switch(n){case"number":case"boolean":return new g(n,e,t);case"object":return new m(e,t);case"string":return new y(e,t);default:throw Error(`cannot wrap value of type: ${n}`)}}},34334:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ev});var r=n(26217),i=n(9357),o=n(74136),s=n(4168),a=n(39781),l=n(92118);class u{validate(e,t){return!0}constructor(){this.subPriority=0}}class c extends u{validate(e,t){return this.validateValue(e,this.value,t)}
6set(e,t,n){return this.setValue(e,t,this.value,n)}constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}}class d extends u{set(e,t){return t.timestampIsSet?e:(0,s.w)(e,function(e,t){var n,r;let i="function"==typeof(n=t)&&(null==(r=n.prototype)?void 0:r.constructor)===n?new t(0):(0,s.w)(t,0);return i.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i}(e,this.context))}constructor(e,t){super(),this.priority=10,this.subPriority=-1,this.context=e||(e=>(0,s.w)(t,e))}}class f{run(e,t,n,r){let i=this.parse(e,t,n,r);return i?{setter:new c(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}class h extends f{parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var p=n(9180);let g={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},m={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function y(e,t){return e?{value:t(e.value),rest:e.rest}:e}function b(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function v(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:r*(i*p.s0+o*p.Cg+s*p._m),rest:t.slice(n[0].length)}}function w(e){return b(g.anyDigitsSigned,e)}function _(e,t){switch(e){case 1:return b(g.singleDigit,t);case 2:return b(g.twoDigits,t);case 3:return b(g.threeDigits,t);case 4:return b(g.fourDigits,t);default:return b(RegExp("^\\d{1,"+e+"}"),t)}}function x(e,t){switch(e){case 1:return b(g.singleDigitSigned,t);case 2:return b(g.twoDigitsSigned,t);case 3:return b(g.threeDigitsSigned,t);case 4:return b(g.fourDigitsSigned,t);default:return b(RegExp("^-?\\d{1,"+e+"}"),t)}}function k(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function E(e,t){let n,r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{let t=i+50;n=e+100*Math.trunc(t/100)-100*(e>=t%100)}return r?n:1-n}function A(e){return e%400==0||e%4==0&&e%100!=0}class S extends f{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return y(_(4,e),r);case"yo":return y(n.ordinalNumber(e,{unit:"year"}),r);default:return y(_(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=E(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var C=n(54964),I=n(82192);class T extends f{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return y(_(4,e),r);case"Yo":return y(n.ordinalNumber(e,{unit:"year"}),r);default:return y(_(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){let i=(0,C.h)(e,r);if(n.isTwoDigitYear){let t=E(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,I.k)(e,r)}let o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,I.k)(e,r)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var O=n(3177);class R extends f{parse(e,t){return"R"===t?x(4,e):x(t.length,e)}set(e,t,n){let r=(0,s.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,O.b)(r)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class D extends f{parse(e,t){return"u"===t?x(4,e):x(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class j extends f{parse(e,t,n){switch(t){case"Q":case"QQ":return _(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class M extends f{parse(e,t,n){switch(t){case"q":case"qq":return _(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class N extends f{parse(e,t,n){let r=e=>e-1;switch(t){case"M":return y(b(g.month,e),r);case"MM":return y(_(2,e),r);case"Mo":return y(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class F extends f{parse(e,t,n){let r=e=>e-1;switch(t){case"L":return y(b(g.month,e),r);case"LL":return y(_(2,e),r);case"Lo":return y(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var $=n(62898);class P extends f{parse(e,t,n){switch(t){case"w":return b(g.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return(0,I.k)(function(e,t,n){let r=(0,l.a)(e,null==n?void 0:n.in),i=(0,$.N)(r,n)-t;return r.setDate(r.getDate()-7*i),(0,l.a)(r,null==n?void 0:n.in)}(e,n,r),r)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var L=n(76716);class z extends f{parse(e,t,n){switch(t){case"I":return b(g.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,O.b)(function(e,t,n){let r=(0,l.a)(e,void 0),i=(0,L.s)(r,void 0)-t;return r.setDate(r.getDate()-7*i),r}(e,n))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let U=[31,28,31,30,31,30,31,31,30,31,30,31],B=[31,29,31,30,31,30,31,31,30,31,30,31];class q extends f{parse(e,t,n){switch(t){case"d":return b(g.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}validate(e,t){let n=A(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=B[r]:t>=1&&t<=U[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class V extends f{parse(e,t,n){switch(t){case"D":case"DD":return b(g.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}validate(e,t){return A(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}var H=n(92381);function G(e,t,n){var r,i,o,s,u,c,d,f;let h=(0,a.q)(),p=null!=(f=null!=(d=null!=(c=null!=(u=null==n?void 0:n.weekStartsOn)?u:null==n||null==(i=n.locale)||null==(r=i.options)?void 0:r.weekStartsOn)?c:h.weekStartsOn)?d:null==(s=h.locale)||null==(o=s.options)?void 0:o.weekStartsOn)?f:0,g=(0,l.a)(e,null==n?void 0:n.in),m=g.getDay(),y=7-p,b=t<0||t>6?t-(m+y)%7:((t%7+7)%7+y)%7-(m+y)%7;return(0,H.f)(g,b,n)}class W extends f{parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=G(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class Y extends f{parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return y(_(t.length,e),i);case"eo":return y(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=G(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class K extends f{parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return y(_(t.length,e),i);case"co":return y(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=G(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class Z extends f{parse(e,t,n){let r=e=>0===e?7:e;switch(t){case"i":case"ii":return _(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return y(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return y(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return y(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return y(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=function(e,t,n){let r=(0,l.a)(e,void 0),i=function(e,t){let n=(0,l.a)(e,null==t?void 0:t.in).getDay();return 0===n?7:n}(r,void 0);return(0,H.f)(r,t-i,n)}
6(e,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class X extends f{parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(k(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}class J extends f{parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(k(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class Q extends f{parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(k(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class ee extends f{parse(e,t,n){switch(t){case"h":return b(g.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class et extends f{parse(e,t,n){switch(t){case"H":return b(g.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class en extends f{parse(e,t,n){switch(t){case"K":return b(g.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class er extends f{parse(e,t,n){switch(t){case"k":return b(g.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class ei extends f{parse(e,t,n){switch(t){case"m":return b(g.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class eo extends f{parse(e,t,n){switch(t){case"s":return b(g.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class es extends f{parse(e,t){return y(_(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}var ea=n(35805);class el extends f{parse(e,t){switch(t){case"X":return v(m.basicOptionalMinutes,e);case"XX":return v(m.basic,e);case"XXXX":return v(m.basicOptionalSeconds,e);case"XXXXX":return v(m.extendedOptionalSeconds,e);default:return v(m.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,s.w)(e,e.getTime()-(0,ea.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class eu extends f{parse(e,t){switch(t){case"x":return v(m.basicOptionalMinutes,e);case"xx":return v(m.basic,e);case"xxxx":return v(m.basicOptionalSeconds,e);case"xxxxx":return v(m.extendedOptionalSeconds,e);default:return v(m.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,s.w)(e,e.getTime()-(0,ea.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class ec extends f{parse(e){return w(e)}set(e,t,n){return[(0,s.w)(e,1e3*n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class ed extends f{parse(e){return w(e)}set(e,t,n){return[(0,s.w)(e,n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let ef={G:new h,y:new S,Y:new T,R:new R,u:new D,Q:new j,q:new M,M:new N,L:new F,w:new P,I:new z,d:new q,D:new V,E:new W,e:new Y,c:new K,i:new Z,a:new X,b:new J,B:new Q,h:new ee,H:new et,K:new en,k:new er,m:new ei,s:new eo,S:new es,X:new el,x:new eu,t:new ec,T:new ed},eh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ep=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eg=/^'([^]*?)'?$/,em=/''/g,ey=/\S/,eb=/[a-zA-Z]/;function ev(e,t,n,u){var c,f,h,p,g,m,y,b,v,w,_,x,k,E,A,S,C,I;let T=()=>(0,s.w)((null==u?void 0:u.in)||n,NaN),O=Object.assign({},(0,a.q)()),R=null!=(w=null!=(v=null==u?void 0:u.locale)?v:O.locale)?w:r.c,D=null!=(E=null!=(k=null!=(x=null!=(_=null==u?void 0:u.firstWeekContainsDate)?_:null==u||null==(f=u.locale)||null==(c=f.options)?void 0:c.firstWeekContainsDate)?x:O.firstWeekContainsDate)?k:null==(p=O.locale)||null==(h=p.options)?void 0:h.firstWeekContainsDate)?E:1,j=null!=(I=null!=(C=null!=(S=null!=(A=null==u?void 0:u.weekStartsOn)?A:null==u||null==(m
6=u.locale)||null==(g=m.options)?void 0:g.weekStartsOn)?S:O.weekStartsOn)?C:null==(b=O.locale)||null==(y=b.options)?void 0:y.weekStartsOn)?I:0;if(!t)return e?T():(0,l.a)(n,null==u?void 0:u.in);let M={firstWeekContainsDate:D,weekStartsOn:j,locale:R},N=[new d(null==u?void 0:u.in,n)],F=t.match(ep).map(e=>{let t=e[0];return t in i.m?(0,i.m[t])(e,R.formatLong):e}).join("").match(eh),$=[];for(let n of F){!(null==u?void 0:u.useAdditionalWeekYearTokens)&&(0,o.xM)(n)&&(0,o.Ss)(n,t,e),!(null==u?void 0:u.useAdditionalDayOfYearTokens)&&(0,o.ef)(n)&&(0,o.Ss)(n,t,e);let r=n[0],i=ef[r];if(i){let{incompatibleTokens:t}=i;if(Array.isArray(t)){let e=$.find(e=>t.includes(e.token)||e.token===r);if(e)throw RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(n,"` at the same time"))}else if("*"===i.incompatibleTokens&&$.length>0)throw RangeError("The format string mustn't contain `".concat(n,"` and any other token at the same time"));$.push({token:r,fullToken:n});let o=i.run(e,n,R.match,M);if(!o)return T();N.push(o.setter),e=o.rest}else{if(r.match(eb))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=n.match(eg)[1].replace(em,"'")),0!==e.indexOf(n))return T();e=e.slice(n.length)}}if(e.length>0&&ey.test(e))return T();let P=N.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>N.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),L=(0,l.a)(n,null==u?void 0:u.in);if(isNaN(+L))return T();let z={};for(let e of P){if(!e.validate(L,M))return T();let t=e.set(L,z,M);Array.isArray(t)?(L=t[0],Object.assign(z,t[1])):L=t}return L}},34438:(e,t,n)=>{"use strict";n.d(t,{R:()=>function e(t,n,p,g){if((0,l.T)(p)&&(g=p,p=void 0),g)return e(t,n,p).pipe((0,u.I)(g));var m,y,b,v=(0,r.zs)((m=t,(0,l.T)(m.addEventListener)&&(0,l.T)(m.removeEventListener))?d.map(function(e){return function(r){return t[e](n,r,p)}}):(y=t,(0,l.T)(y.addListener)&&(0,l.T)(y.removeListener))?c.map(h(t,n)):(b=t,(0,l.T)(b.on)&&(0,l.T)(b.off))?f.map(h(t,n)):[],2),w=v[0],_=v[1];if(!w&&(0,a.X)(t))return(0,s.Z)(function(t){return e(t,n,p)})((0,i.Tg)(t));if(!w)throw TypeError("Invalid event target");return new o.c(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return w(t),function(){return _(t)}})}});var r=n(71450),i=n(8286),o=n(45037),s=n(60732),a=n(82241),l=n(39097),u=n(59728),c=["addListener","removeListener"],d=["addEventListener","removeEventListener"],f=["on","off"];function h(e,t){return function(n){return function(r){return e[n](t,r)}}}},34611:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(60361);let i=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:(0,r.A)(e,t,n)}},34613:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var r=n(4168),i=n(92381),o=n(75513);function s(e,t,n){var s,a,l;let{years:u=0,months:c=0,weeks:d=0,days:f=0,hours:h=0,minutes:p=0,seconds:g=0}=t,m=(s=c+12*u,a=(0,o.P)(e,-s,n),l=f+7*d,(0,i.f)(a,-l,n));return(0,r.w)((null==n?void 0:n.in)||e,m-1e3*(g+60*(p+60*h)))}},34659:(e,t,n)=>{"use strict";let r;n.d(t,{Ck:()=>G,IN:()=>T,fK:()=>q,rH:()=>z,zB:()=>O});class i{t;o=0;i=[];u(e){if(e.hadRecentInput)return;let t=this.i[0],n=this.i.at(-1);this.o&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),this.t?.(e)}}let o=()=>{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},s=e=>{if("loading"===document.readyState)return"loading";{let t=o();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}}return"complete"},a=e=>{let t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},l=e=>{let t="";try{for(;9!==e?.nodeType;){let n=e,r=n.id?"#"+n.id:[a(n),...Array.from(n.classList).sort()].join(".");if(t.length+r.length>99)return t||r;if(t=t?r+">"+t:r,n.id)break;e=n.parentNode}}catch{}return t},u=new WeakMap;function c(e,t){return u.get(e)||u.set(e,new t),u.get(e)}let d=-1,f=e=>{addEventListener("pageshow",t=>{t.persisted&&(d=t.timeStamp,e(t))},!0)},h=(e,t,n,r)=>{let i,o;return s=>{t.value>=0&&(s||r)&&((o=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t))}},p=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},g=()=>{let e=o();return e?.activationStart??0},m=(e,t=-1)=>{let n=o(),r="navigate";return d>=0?r="back-forward-cache":n&&(document.prerendering||g()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(0x82f79cd8fff*Math.random())+1e12}`,navigationType:r}},y=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},b=e=>{let t=!1;return()=>{t||(e(),t=!0)}},v=-1,w=new Set,_=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,x=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(let e of w)e();isFinite(v)||(v="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",x,!0))}},k=()=>
6{if(v<0){let e=g();v=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??_(),addEventListener("visibilitychange",x,!0),addEventListener("prerenderingchange",x,!0),f(()=>{setTimeout(()=>{v=_()})})}return{get firstHiddenTime(){return v},onHidden(e){w.add(e)}}},E=e=>{document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},A=[1800,3e3],S=(e,t={})=>{E(()=>{let n=k(),r,i=m("FCP"),o=y("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-g(),0),i.entries.push(t),r(!0)))});o&&(r=h(e,i,A,t.reportAllChanges),f(n=>{r=h(e,i=m("FCP"),A,t.reportAllChanges),p(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},C=[.1,.25],I=e=>e.find(e=>1===e.node?.nodeType)||e[0],T=(e,t={})=>{let n=c(t=Object.assign({},t),i),r=new WeakMap;n.t=e=>{if(e?.sources?.length){let n=I(e.sources),i=n?.node;if(i){let e=t.generateTarget?.(i)??l(i);r.set(n,e)}}},((e,t={})=>{let n=k();S(b(()=>{let r,o=m("CLS",0),s=c(t,i),a=e=>{for(let t of e)s.u(t);s.o>o.value&&(o.value=s.o,o.entries=s.i,r())},l=y("layout-shift",a);l&&(r=h(e,o,C,t.reportAllChanges),n.onHidden(()=>{a(l.takeRecords()),r(!0)}),f(()=>{s.o=0,r=h(e,o=m("CLS",0),C,t.reportAllChanges),p(()=>r())}),setTimeout(r))}))})(t=>{e((e=>{let t={};if(e.entries.length){let n=e.entries.reduce((e,t)=>e.value>t.value?e:t);if(n?.sources?.length){let e=I(n.sources);e&&(t={largestShiftTarget:r.get(e),largestShiftTime:n.startTime,largestShiftValue:n.value,largestShiftSource:e,largestShiftEntry:n,loadState:s(n.startTime)})}}return Object.assign(e,{attribution:t})})(t))},t)},O=(e,t={})=>{S(t=>{e((e=>{let t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:s(d)};if(e.entries.length){let n=o(),r=e.entries.at(-1);if(n){let i=n.activationStart||0,o=Math.max(0,n.responseStart-i);t={timeToFirstByte:o,firstByteToFCP:e.value-o,loadState:s(e.entries[0].startTime),navigationEntry:n,fcpEntry:r}}}return Object.assign(e,{attribution:t})})(t))},t)},R=0,D=1/0,j=0,M=e=>{for(let t of e)t.interactionId&&(D=Math.min(D,t.interactionId),R=(j=Math.max(j,t.interactionId))?(j-D)/7+1:0)},N=()=>r?R:performance.interactionCount??0,F=0;class ${l=[];h=new Map;m;p;v(){F=N(),this.l.length=0,this.h.clear()}M(){let e=Math.min(this.l.length-1,Math.floor((N()-F)/50));return this.l[e]}u(e){if(this.m?.(e),!e.interactionId&&"first-input"!==e.entryType)return;let t=this.l.at(-1),n=this.h.get(e.interactionId);if(n||this.l.length<10||e.duration>t.T){if(n?e.duration>n.T?(n.entries=[e],n.T=e.duration):e.duration===n.T&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],T:e.duration},this.h.set(n.id,n),this.l.push(n)),this.l.sort((e,t)=>t.T-e.T),this.l.length>10)for(let e of this.l.splice(10))this.h.delete(e.id);this.p?.(n)}}}let P=e=>{let t=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?e():(addEventListener("visibilitychange",e=b(e),{once:!0,capture:!0}),t(()=>{e(),removeEventListener("visibilitychange",e,{capture:!0})}))},L=[200,500],z=(e,t={})=>{let n=c(t=Object.assign({},t),$),i=[],o=[],a=0,u=new WeakMap,d=new WeakMap,p=!1,g=()=>{p||(P(b),p=!0)},b=()=>{let e=n.l.map(e=>u.get(e.entries[0])),t=o.length-50;o=o.filter((n,r)=>r>=t||e.includes(n));let r=new Set;for(let e of o)for(let t of v(e.startTime,e.processingEnd))r.add(t);let s=i.length-1-50;i=i.filter((e,t)=>e.startTime>a&&t>s||r.has(e)),p=!1};n.m=e=>{let t,n=e.startTime+e.duration;a=Math.max(a,e.processingEnd);for(let r=o.length-1;r>=0;r--){let i=o[r];if(8>=Math.abs(n-i.renderTime)){(t=i).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:n,entries:[e]},o.push(t)),(e.interactionId||"first-input"===e.entryType)&&u.set(e,t),g()},n.p=e=>{if(!d.get(e)){let n=e.entries[0].target;if(n){let r=t.generateTarget?.(n)??l(n);d.set(e,r)}}};let v=(e,t)=>
6{let n=[];for(let r of i)if(!(r.startTime+r.duration<e)){if(r.startTime>t)break;n.push(r)}return n};y("long-animation-frame",e=>{i=i.concat(e),g()}),((e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;let n=k();E(()=>{"interactionCount"in performance||r||(r=y("event",M,{type:"event",buffered:!0,durationThreshold:0}));let i,o=m("INP"),s=c(t,$),a=e=>{P(()=>{for(let t of e)s.u(t);let t=s.M();t&&t.T!==o.value&&(o.value=t.T,o.entries=t.entries,i())})},l=y("event",a,{durationThreshold:t.durationThreshold??40});i=h(e,o,L,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(l.takeRecords()),i(!0)}),f(()=>{s.v(),i=h(e,o=m("INP"),L,t.reportAllChanges)}))})})(t=>{e((e=>{let t=e.entries[0],r=u.get(t),i=t.processingStart,o=Math.max(t.startTime+t.duration,i),a=Math.min(r.processingEnd,o),l=r.entries.sort((e,t)=>e.processingStart-t.processingStart),c=v(t.startTime,a),f=n.h.get(t.interactionId),h={interactionTarget:d.get(f),interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:o,processedEventEntries:l,longAnimationFrameEntries:c,inputDelay:i-t.startTime,processingDuration:a-i,presentationDelay:o-a,loadState:s(t.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(e=>{if(!e.longAnimationFrameEntries?.length)return;let t=e.interactionTime,n=e.inputDelay,r=e.processingDuration,i,o,s=0,a=0,l=0,u=0;for(let l of e.longAnimationFrameEntries)for(let e of(a=a+l.startTime+l.duration-l.styleAndLayoutStart,l.scripts)){let l=e.startTime+e.duration;if(l<t)continue;let c=l-Math.max(t,e.startTime),d=e.duration?c/e.duration*e.forcedStyleAndLayoutDuration:0;s+=c-d,a+=d,c>u&&(o=e.startTime<t+n?"input-delay":e.startTime>=t+n+r?"presentation-delay":"processing-duration",i=e,u=c)}let c=e.longAnimationFrameEntries.at(-1),d=c?c.startTime+c.duration:0;d>=t+n+r&&(l=e.nextPaintTime-d),i&&o&&(e.longestScript={entry:i,subpart:o,intersectingDuration:u}),e.totalScriptDuration=s,e.totalStyleAndLayoutDuration=a,e.totalPaintDuration=l,e.totalUnattributedDuration=e.nextPaintTime-t-s-a-l})(h),Object.assign(e,{attribution:h})})(t))},t)};class U{m;u(e){this.m?.(e)}}let B=[2500,4e3],q=(e,t={})=>{let n=c(t=Object.assign({},t),U),r=new WeakMap;n.m=e=>{let n=e.element;if(n){let i=t.generateTarget?.(n)??l(n);r.set(e,i)}},((e,t={})=>{E(()=>{let n=k(),r,i=m("LCP"),o=c(t,U),s=e=>{for(let s of(t.reportAllChanges||(e=e.slice(-1)),e))o.u(s),s.startTime<n.firstHiddenTime&&(i.value=Math.max(s.startTime-g(),0),i.entries=[s],r())},a=y("largest-contentful-paint",s);if(a){r=h(e,i,B,t.reportAllChanges);let n=b(()=>{s(a.takeRecords()),a.disconnect(),r(!0)}),o=e=>{e.isTrusted&&(P(n),removeEventListener(e.type,o,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])addEventListener(e,o,{capture:!0});f(n=>{r=h(e,i=m("LCP"),B,t.reportAllChanges),p(()=>{i.value=performance.now()-n.timeStamp,r(!0)})})}})})(t=>{e((e=>{let t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){let n=o();if(n){let i=n.activationStart||0,o=e.entries.at(-1),s=o.url&&performance.getEntriesByType("resource").filter(e=>e.name===o.url)[0],a=Math.max(0,n.responseStart-i),l=Math.max(a,s?(s.requestStart||s.startTime)-i:0),u=Math.min(e.value,Math.max(l,s?s.responseEnd-i:0));t={target:r.get(o),timeToFirstByte:a,resourceLoadDelay:l-a,resourceLoadDuration:u-l,elementRenderDelay:e.value-u,navigationEntry:n,lcpEntry:o},o.url&&(t.url=o.url),s&&(t.lcpResourceEntry=s)}}return Object.assign(e,{attribution:t})})(t))},t)},V=[800,1800],H=e=>{document.prerendering?E(()=>H(e)):"complete"!==document.readyState?addEventListener("load",()=>H(e),!0):setTimeout(e)},G=(e,t={})=>{((e,t={})=>{let n=m("TTFB"),r=h(e,n,V,t.reportAllChanges);H(()=>{let i=o();i&&(n.value=Math.max(i.responseStart-g(),0),n.entries=[i],r(!0),f(()=>{(r=h(e,n=m("TTFB",0),V,t.reportAllChanges))(!0)}))})})(t=>{e((e=>
6{let t={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(e.entries.length){let n=e.entries[0],r=n.activationStart||0,i=Math.max((n.workerStart||n.fetchStart)-r,0),o=Math.max(n.domainLookupStart-r,0),s=Math.max(n.connectStart-r,0),a=Math.max(n.connectEnd-r,0);t={waitingDuration:i,cacheDuration:o-i,dnsDuration:s-o,connectionDuration:a-s,requestDuration:e.value-a,navigationEntry:n}}return Object.assign(e,{attribution:t})})(t))},t)}},34721:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(72936),i=n(21383);let o=function(e,t){var n=-1,o=(0,i.A)(e)?Array(e.length):[];return(0,r.A)(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},34747:e=>{"use strict";let t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:e<n?-1:1;let r=t.test(e),i=t.test(n);return r&&i&&(e*=1,n*=1),e===n?0:r&&!i?-1:i&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},34793:(e,t,n)=>{"use strict";function r(){}n.d(t,{l:()=>r})},35206:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},35336:(e,t,n)=>{"use strict";n.d(t,{H:()=>p});var r=n(24617),i=n(56819),o=n(96939),s=n(30391),a=n(30306),l=n(61406),u=n(76871),c=n(21408);let d="_sentrySpan";
6function f(e,t){t?(0,c.my)(e,d,t):delete e[d]}class h{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,a.el)(),spanId:(0,a.ZF)()}}clone(){let e=new h;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,f(e,this[d]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,r.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[n,r]=t instanceof p?[t.getScopeData(),t.getRequestSession()]:(0,i.Qd)(t)?[e,e.requestSession]:[],{tags:o,extra:s,user:a,contexts:l,level:u,fingerprint:c=[],propagationContext:d}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...s},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),c.length&&(this._fingerprint=c),d&&(this._propagationContext=d),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,f(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,a.el)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:(0,l.lu)(),...e};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[d]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,u.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:(0,a.ZF)(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:(0,s.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:(0,s.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:(0,s.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):o.vF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
6h(e=>{e(this)}),this._notifyingListeners=!1)}}let p=h},35347:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7818);let i=function(e){return e!=e},o=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1},s=function(e,t,n){return t==t?o(e,t,n):(0,r.A)(e,i,n)}},35405:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(45240),i=n(93366);function o(e,t,n){let[o,s]=(0,r.x)(null==n?void 0:n.in,e,t);return+(0,i.o)(o)==+(0,i.o)(s)}},35443:(e,t,n)=>{var r=n(73423),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},35504:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(4168),i=n(94716),o=n(35405);function s(e,t){return(0,o.r)((0,r.w)((null==t?void 0:t.in)||e,e),(0,i.A)((null==t?void 0:t.in)||e))}},35571:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=(0,n(44099).A)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},s.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},s.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)},s.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var a=n(85886),l=n(69790);let u=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},c=function(e,t){var n=e.__data__;return u(t)?n["string"==typeof t?"string":"hash"]:n.map};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(l.A||a.A),string:new s}},d.prototype.delete=function(e){var t=c(this,e).delete(e);return this.size-=!!t,t},d.prototype.get=function(e){return c(this,e).get(e)},d.prototype.has=function(e){return c(this,e).has(e)},d.prototype.set=function(e,t){var n=c(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this};let f=d},35582:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(63e3),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r.A?r.A.toStringTag:void 0;let l=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i};var u=Object.prototype.toString,c=r.A?r.A.toStringTag:void 0;let d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?l(e):u.call(e)}},35668:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return function(t){return e(t)}}},35805:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(92118);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},35856:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},36702:(e,t,n)=>{var r=n(80942),i=n(26526);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},36706:e=>{"use strict";e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||0x1fffffffffffff,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},36772:(e,t,n)=>{var r=n(78097),i=n(72374),o=n(91958);e.exports=function(e){return r(e,o,i)}},36951:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(28400);function i(e,t,n,i,o){return function(s,a){var l=n,u=t,c=0;s.subscribe((0,r._)(a,function(t){var n=c++;u=l?e(u,t,n):(l=!0,t),i&&a.next(u)},o&&function(){l&&a.next(u),a.complete()}
6))}}},37121:(e,t,n)=>{"use strict";function r(e){let[t,n]=e;return[t,n]}function i(e,t){let n=e,r=t,i=n.length,o=r.length;if(0===i||0===o)return 0;i>o?n=n.substring(i-o):i<o&&(r=r.substring(0,i));let s=Math.min(i,o);if(n===r)return s;let a=0,l=1;for(let e=0;-1!==e;){let t=n.substring(s-l);if(-1===(e=r.indexOf(t)))break;l+=e,(0===e||n.substring(s-l)===r.substring(0,l))&&(a=l,l++)}return a}function o(e,t){if(!e||!t||e[0]!==t[0])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(o,i)===t.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function s(e,t){if(!e||!t||e[e.length-1]!==t[t.length-1])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function a(e){let t=e.charCodeAt(0);return t>=56320&&t<=57343}function l(e,t,n,r,i){let o=e.substring(0,n),s=t.substring(0,r),a=e.substring(n),l=t.substring(r),u=v(o,s,{checkLines:!1,deadline:i}),c=v(a,l,{checkLines:!1,deadline:i});return u.concat(c)}function u(e,t,n){let r=e.slice(n,n+Math.floor(e.length/4)),i=-1,a="",l,u,c,d;for(;-1!==(i=t.indexOf(r,i+1));){let r=o(e.slice(n),t.slice(i)),f=s(e.slice(0,n),t.slice(0,i));a.length<f+r&&(a=t.slice(i-f,i)+t.slice(i,i+r),l=e.slice(0,n-f),u=e.slice(n+r),c=t.slice(0,i-f),d=t.slice(i+r))}return 2*a.length>=e.length?[l||"",u||"",c||"",d||"",a||""]:null}n.d(t,{$i:()=>G,Cm:()=>g,Ug:()=>m,Vx:()=>k,iU:()=>b,iz:()=>eo,jW:()=>et,lw:()=>y,sw:()=>R,w1:()=>ea});var c=Object.defineProperty,d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let g=-1,m=1,y=0;function b(e,t,n){if(null===e||null===t)throw Error("Null input. (diff)");let r=v(e,t,function(e){let t;var n,r={checkLines:!0,deadline:(n=e.timeout||1,t=1,"u">typeof n&&(t=n<=0?Number.MAX_VALUE:n),Date.now()+1e3*t)},i=e;for(var o in i||(i={}))f.call(i,o)&&p(r,o,i[o]);if(d)for(var o of d(i))h.call(i,o)&&p(r,o,i[o]);return r}(n||{}));return function(e){for(let t=0;t<e.length;t++){let[n,r]=e[t];if(0===r.length)continue;let i=r[0];(function(e){let t=e.charCodeAt(0);return t>=55296&&t<=56319})(r[r.length-1])&&n===y&&x(e,t,1),a(i)&&n===y&&x(e,t,-1)}for(let t=0;t<e.length;t++)0===e[t][1].length&&e.splice(t,1)}(r),r}function v(e,t,n){let r=e,i=t;if(r===i)return r?[[y,r]]:[];let a=o(r,i),c=r.substring(0,a);a=s(r=r.substring(a),i=i.substring(a));let d=r.substring(r.length-a),f=function(e,t,n){let r;if(!e)return[[m,t]];if(!t)return[[g,e]];let i=e.length>t.length?e:t,o=e.length>t.length?t:e,s=i.indexOf(o);if(-1!==s)return r=[[m,i.substring(0,s)],[y,o],[m,i.substring(s+o.length)]],e.length>t.length&&(r[0][0]=g,r[2][0]=g),r;if(1===o.length)return[[g,e],[m,t]];let a=function(e,t,n=1){let r,i,o,s,a;if(n<=0)return null;let l=e.length>t.length?e:t,c=e.length>t.length?t:e;if(l.length<4||2*c.length<l.length)return null;let d=u(l,c,Math.ceil(l.length/4)),f=u(l,c,Math.ceil(l.length/2));if(d&&f)r=d[4].length>f[4].length?d:f;else{if(!d&&!f)return null;f?d||(r=f):r=d}if(!r)throw Error("Unable to find a half match.");return e.length>t.length?(i=r[0],o=r[1],s=r[2],a=r[3]):(s=r[0],a=r[1],i=r[2],o=r[3]),[i,o,s,a,r[4]]}(e,t);if(a){let e=a[0],t=a[1],r=a[2],i=a[3],o=a[4],s=v(e,r,n),l=v(t,i,n);return s.concat([[y,o]],l)}return n.checkLines&&e.length>100&&t.length>100?function(e,t,n){let r=e,i=t,o=function(e,t){let n=[],r={};function i(e){let t="",i=0,s=-1,a=n.length;for(;s<e.length-1;){-1===(s=e.indexOf(` 7`,i))&&(s=e.length-1);let l=e.slice(i,s+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(a===o&&(l=e.slice(i),s=e.length),t+=String.fromCharCode(a),r[l]=a,n[a++]=l),i=s+1}return t}n[0]="";let o=4e4,s=i(e);return o=65535,{chars1:s,chars2:i(t),lineArray:n}}(r,i);r=o.chars1,i=o.chars2;let s=o.lineArray,a=v(r,i,{checkLines:!1,deadline:n.deadline});(function(e,t){for(let n=0;n<e.length;n++){let r=e[n][1],i=[];for(let e=0;e<r.length;e++)i[e]=t[r.charCodeAt(e)];e[n][1]=i.join("")}})(a,s),(a=k(a)).push([y,""]);let l=0,u=0,c=0,d="",f="";for(;l<a.length;){switch(a[l][0]){case m:c++,f+=a[l][1];break;case g:u++,d+=a[l][1];break;case y:if(u>=1&&c>=1){a.splice(l-u-c,u+c),l=l-u-c;let e=v(d,f,{checkLines:!1,deadline:n.deadline});for(let t=e.length-1;t>=0;t--)a.splice(l,0,e[t]);l+=e.length}c=0,u=0,d="",f="";break;default:throw Error("Unknown diff operation.")}l++}return a.pop(),a}(e,t,n):function(e,t,n){let r=e.length,i=t.length,o=Math.ceil((r+i)/2),s=2*o,a=Array(s),u=Array(s);for(let e=0;e<s;e++)a[e]=-1,u[e]=-1;a[o+1]=0,u[o+1]=0;let c=r-i,d=c%2!=0,f=0,h=0,p=0,y=0;for(let g=0;g<o&&!(Date.now()>n);g++){for(let p=-g+f;p<=g-h;p+=2){let m,y=o+p,b=(m=p===-g||p!==g&&a[y-1]<a[y+1]?a[y+1]:a[y-1]+1)-p;for(;m<r&&b<i&&e.charAt(m)===t.charAt(b);)m++,b++;if(a[y]=m,m>r)h+=2;else if(b>i)f+=2;else if(d){let i=o+c-p;if(i>=0&&i<s&&-1!==u[i]&&m>=r-u[i])return l(e,t,m,b,n)}}for(let f=-g+p;f<=g-y;f+=2){let h,m=o+f,b=(h=f===-g||f!==g&&u[m-1]<u[m+1]?u[m+1]:u[m-1]+1)-f;for(;h<r&&b<i&&e.charAt(r-h-1)===t.charAt(i-b-1);)h++,b++;if(u[m]=h,h>r)y+=2;else if(b>i)p+=2;else if(!d){let i=o+c-f;if(i>=0&&i<s&&-1!==a[i]){let s=a[i],u=o+s-i;if(s>
7=(h=r-h))return l(e,t,s,u,n)}}}}return[[g,e],[m,t]]}(e,t,n.deadline)}(r=r.substring(0,r.length-a),i=i.substring(0,i.length-a),n);return c&&f.unshift([y,c]),d&&f.push([y,d]),f=O(f)}function w(e,t,n){return 1===n?e+t:t+e}function _(e,t){return 1===t?[e.substring(0,e.length-1),e[e.length-1]]:[e.substring(1),e[0]]}function x(e,t,n){var r,i;let o=1===n?-1:1,s=null,a=null,l=t+n;for(;l>=0&&l<e.length&&(null===s||null===a);l+=n){let[r,i]=e[l];if(0!==i.length){if(r===m){null===s&&(s=l);continue}else if(r===g){null===a&&(a=l);continue}else if(r===y){if(null===s&&null===a){let[r,i]=_(e[t][1],n);e[t][1]=r,e[l][1]=w(e[l][1],i,o);return}break}}}if(null!==s&&null!==a&&(r=s,i=a,1===n?e[r][1][e[r][1].length-1]===e[i][1][e[i][1].length-1]:e[r][1][0]===e[i][1][0])){let[r,i]=_(e[s][1],o),[l]=_(e[a][1],o);e[s][1]=r,e[a][1]=l,e[t][1]=w(e[t][1],i,n);return}let[u,c]=_(e[t][1],n);e[t][1]=u,null===s?(e.splice(l,0,[m,c]),null!==a&&a>=l&&a++):e[s][1]=w(e[s][1],c,o),null===a?e.splice(l,0,[g,c]):e[a][1]=w(e[a][1],c,o)}function k(e){let t=e.map(e=>r(e)),n=!1,o=[],s=0,a=null,l=0,u=0,c=0,d=0,f=0;for(;l<t.length;)t[l][0]===y?(o[s++]=l,u=d,c=f,d=0,f=0,a=t[l][1]):(t[l][0]===m?d+=t[l][1].length:f+=t[l][1].length,a&&a.length<=Math.max(u,c)&&a.length<=Math.max(d,f)&&(t.splice(o[s-1],0,[g,a]),t[o[s-1]+1][0]=m,s--,l=--s>0?o[s-1]:-1,u=0,c=0,d=0,f=0,a=null,n=!0)),l++;for(n&&(t=O(t)),t=T(t),l=1;l<t.length;){if(t[l-1][0]===g&&t[l][0]===m){let e=t[l-1][1],n=t[l][1],r=i(e,n),o=i(n,e);r>=o?(r>=e.length/2||r>=n.length/2)&&(t.splice(l,0,[y,n.substring(0,r)]),t[l-1][1]=e.substring(0,e.length-r),t[l+1][1]=n.substring(r),l++):(o>=e.length/2||o>=n.length/2)&&(t.splice(l,0,[y,e.substring(0,o)]),t[l-1][0]=m,t[l-1][1]=n.substring(0,n.length-o),t[l+1][0]=g,t[l+1][1]=e.substring(o),l++),l++}l++}return t}let E=/[^a-zA-Z0-9]/,A=/\s/,S=/[\r\n]/,C=/\n\r?\n$/,I=/^\r?\n\r?\n/;function T(e){let t=e.map(e=>r(e));function n(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(E),o=r.match(E),s=i&&n.match(A),a=o&&r.match(A),l=s&&n.match(S),u=a&&r.match(S),c=l&&e.match(C),d=u&&t.match(I);return c||d?5:l||u?4:i&&!s&&a?3:s||a?2:i||o?1:0}let i=1;for(;i<t.length-1;){if(t[i-1][0]===y&&t[i+1][0]===y){let e=t[i-1][1],r=t[i][1],o=t[i+1][1],a=s(e,r);if(a){let t=r.substring(r.length-a);e=e.substring(0,e.length-a),r=t+r.substring(0,r.length-a),o=t+o}let l=e,u=r,c=o,d=n(e,r)+n(r,o);for(;r.charAt(0)===o.charAt(0);){e+=r.charAt(0),r=r.substring(1)+o.charAt(0),o=o.substring(1);let t=n(e,r)+n(r,o);t>=d&&(d=t,l=e,u=r,c=o)}t[i-1][1]!==l&&(l?t[i-1][1]=l:(t.splice(i-1,1),i--),t[i][1]=u,c?t[i+1][1]=c:(t.splice(i+1,1),i--))}i++}return t}function O(e){let t=e.map(e=>r(e));t.push([y,""]);let n=0,i=0,a=0,l="",u="",c;for(;n<t.length;)switch(t[n][0]){case m:a++,u+=t[n][1],n++;break;case g:i++,l+=t[n][1],n++;break;case y:i+a>1?(0!==i&&0!==a&&(0!==(c=o(u,l))&&(n-i-a>0&&t[n-i-a-1][0]===y?t[n-i-a-1][1]+=u.substring(0,c):(t.splice(0,0,[y,u.substring(0,c)]),n++),u=u.substring(c),l=l.substring(c)),0!==(c=s(u,l))&&(t[n][1]=u.substring(u.length-c)+t[n][1],u=u.substring(0,u.length-c),l=l.substring(0,l.length-c))),n-=i+a,t.splice(n,i+a),l.length&&(t.splice(n,0,[g,l]),n++),u.length&&(t.splice(n,0,[m,u]),n++),n++):0!==n&&t[n-1][0]===y?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,a=0,i=0,l="",u="";break;default:throw Error("Unknown diff operation")}""===t[t.length-1][1]&&t.pop();let d=!1;for(n=1;n<t.length-1;)t[n-1][0]===y&&t[n+1][0]===y&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)===t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),d=!0):t[n][1].substring(0,t[n+1][1].length)===t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),d=!0)),n++;return d&&(t=O(t)),t}function R(e,t=4){let n=e.map(e=>r(e)),i=!1,o=[],s=0,a=null,l=0,u=!1,c=!1,d=!1,f=!1;for(;l<n.length;)n[l][0]===y?(n[l][1].length<t&&(d||f)?(o[s++]=l,u=d,c=f,a=n[l][1]):(s=0,a=null),d=!1,f=!1):(n[l][0]===g?f=!0:d=!0,a&&(u&&c&&d&&f||a.length<t/2&&3===function(...e){return e.reduce((e,t)=>e+ +!!t,0)}
7(u,c,d,f))&&(n.splice(o[s-1],0,[g,a]),n[o[s-1]+1][0]=m,s--,a=null,u&&c?(d=!0,f=!0,s=0):(l=--s>0?o[s-1]:-1,d=!1,f=!1),i=!0)),l++;return i&&(n=O(n)),n}var D=Object.defineProperty,j=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||(t={}))M.call(t,n)&&F(e,n,t[n]);if(j)for(var n of j(t))N.call(t,n)&&F(e,n,t[n]);return e};let P={threshold:.5,distance:1e3};function L(e,t,n,r={}){if(null===e||null===t||null===n)throw Error("Null input. (match())");let i=Math.max(0,Math.min(n,e.length));return e===t?0:e.length?e.substring(i,i+t.length)===t?i:function(e,t,n,r={}){if(t.length>32)throw Error("Pattern too long for this browser.");let i=$($({},P),r),o=function(e){let t={};for(let n=0;n<e.length;n++)t[e.charAt(n)]=0;for(let n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t}(t);function s(e,r){let o=e/t.length,s=Math.abs(n-r);return i.distance?o+s/i.distance:s?1:o}let a=i.threshold,l=e.indexOf(t,n);-1!==l&&(a=Math.min(s(0,l),a),-1!==(l=e.lastIndexOf(t,n+t.length))&&(a=Math.min(s(0,l),a)));let u=1<<t.length-1;l=-1;let c,d,f=t.length+e.length,h=[];for(let r=0;r<t.length;r++){for(c=0,d=f;c<d;)s(r,n+d)<=a?c=d:f=d,d=Math.floor((f-c)/2+c);f=d;let i=Math.max(1,n-d+1),p=Math.min(n+d,e.length)+t.length,g=Array(p+2);g[p+1]=(1<<r)-1;for(let t=p;t>=i;t--){let c=o[e.charAt(t-1)];if(0===r?g[t]=(g[t+1]<<1|1)&c:g[t]=(g[t+1]<<1|1)&c|((h[t+1]|h[t])<<1|1)|h[t+1],g[t]&u){let e=s(r,t-1);if(e<=a)if(a=e,(l=t-1)>n)i=Math.max(1,2*n-l);else break}}if(s(r+1,n)>a)break;h=g}return l}(e,t,i,r):-1}function z(e){let t=[];for(let n=0;n<e.length;n++)e[n][0]!==m&&(t[n]=e[n][1]);return t.join("")}function U(e){let t=[];for(let n=0;n<e.length;n++)e[n][0]!==g&&(t[n]=e[n][1]);return t.join("")}function B(e,t){let n=0,r=0,i=0,o=0,s;for(s=0;s<e.length&&(e[s][0]!==m&&(n+=e[s][1].length),e[s][0]!==g&&(r+=e[s][1].length),!(n>t));s++)i=n,o=r;return e.length!==s&&e[s][0]===g?o:o+(t-i)}function q(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);if(typeof r>"u")throw Error("Failed to get codepoint");t+=V(r)}return t}function V(e){return e<=127?1:e<=2047?2:e<=65535?3:4}function H(e,t){return{diffs:[],start1:e,start2:t,utf8Start1:e,utf8Start2:t,length1:0,length2:0,utf8Length1:0,utf8Length2:0}}function G(e,t,n={}){if("string"==typeof e)throw Error("Patches must be an array - pass the patch to `parsePatch()` first");let i=t;if(0===e.length)return[i,[]];let o=function(e,t,n={}){let i=0,o=0;function s(e){for(;i<e;){let e=t.codePointAt(o);if(typeof e>"u")return o;i+=V(e),e>65535?o+=2:o+=1}if(!n.allowExceedingIndices&&i!==e)throw Error("Failed to determine byte offset");return o}let a=[];for(let t of e)a.push({diffs:t.diffs.map(e=>r(e)),start1:s(t.start1),start2:s(t.start2),utf8Start1:t.utf8Start1,utf8Start2:t.utf8Start2,length1:t.length1,length2:t.length2,utf8Length1:t.utf8Length1,utf8Length2:t.utf8Length2});return a}(e,i,{allowExceedingIndices:n.allowExceedingIndices}),s=n.margin||4,a=n.deleteThreshold||.4,l=function(e,t=4){let n="";for(let e=1;e<=t;e++)n+=String.fromCharCode(e);for(let n of e)n.start1+=t,n.start2+=t,n.utf8Start1+=t,n.utf8Start2+=t;let r=e[0],i=r.diffs;if(0===i.length||i[0][0]!==y)i.unshift([y,n]),r.start1-=t,r.start2-=t,r.utf8Start1-=t,r.utf8Start2-=t,r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[0][1].length){let e=i[0][1].length,o=t-e;i[0][1]=n.substring(e)+i[0][1],r.start1-=o,r.start2-=o,r.utf8Start1-=o,r.utf8Start2-=o,r.length1+=o,r.length2+=o,r.utf8Length1+=o,r.utf8Length2+=o}if(0===(i=(r=e[e.length-1]).diffs).length||i[i.length-1][0]!==y)i.push([y,n]),r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[i.length-1][1].length){let e=t-i[i.length-1][1].length;i[i.length-1][1]+=n.substring(0,e),r.length1+=e,r.length2+=e,r.utf8Length1+=e,r.utf8Length2+=e}return n}(o,s);i=l+i+l,function(e,t=4){for(let n=0;n<e.length;n++){if(e[n].length1<=32)continue;let r=e[n];e.splice(n--,1);let i=r.start1,o=r.start2,s="";for(;0!==r.diffs.length;){let a=H(i-s.length,o-s.length),l=!0;if(""!==s){let e=q(s);a.length1=s.length,a.utf8Length1=e,a.length2=s.length,a.utf8Length2=e,a.diffs.push([y,s])}for(;0!==r.diffs.length&&a.length1<32-t;){let e=r.diffs[0][0],n=r.diffs[0][1],s=q(n);if(e===m){a.length2+=n.length,a.utf8Length2+=s,o+=n.length;let e=r.diffs.shift();e&&a.diffs.push(e),l=!1}else e===g&&1===a.diffs.length&&a.diffs[0][0]===y&&n.length>64?(a.length1+=n.length,a.utf8Length1+=s,i+=n.length,l=!1,a.diffs.push([e,n]),r.diffs.shift()):(s=q(n=n.substring(0,32-a.length1-t)),a.length1+=n.length,a.utf8Length1+=s,i+=n.length,e===y?(a.length2+=n.length,a.utf8Length2+=s,o+=n.length):l=!1,a.diffs.push([e,n]),n===r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(n.length))}s=(s=U(a.diffs)).substring(s.length-t);let u=z(r.diffs).substring(0,t),c=q(u);""!==u&&(a.length1+=u.length,a.length2+=u.length,a.utf8Length1+=c,a.utf8Length2+=c,0!==a.diffs.length&&a.diffs[a.diffs.length-1][0]===y?a.diffs[a.diffs.length-1][1]+=u:a.diffs.push([y,u])),l||e.splice(++n,0,a)}}}(o,s);let u=0,c=[];for(let e=0;e<o.length;
7e++){let t=o[e].start2+u,n=z(o[e].diffs),r,s=-1;if(n.length>32?-1!==(r=L(i,n.substring(0,32),t))&&(-1===(s=L(i,n.substring(n.length-32),t+n.length-32))||r>=s)&&(r=-1):r=L(i,n,t),-1===r)c[e]=!1,u-=o[e].length2-o[e].length1;else{let l;if(c[e]=!0,u=r-t,l=-1===s?i.substring(r,r+n.length):i.substring(r,s+32),n===l)i=i.substring(0,r)+U(o[e].diffs)+i.substring(r+n.length);else{let t=b(n,l,{checkLines:!1});if(n.length>32&&function(e){let t=0,n=0,r=0;for(let i=0;i<e.length;i++){let o=e[i][0],s=e[i][1];switch(o){case m:n+=s.length;break;case g:r+=s.length;break;case y:t+=Math.max(n,r),n=0,r=0;break;default:throw Error("Unknown diff operation.")}}return t+Math.max(n,r)}(t)/n.length>a)c[e]=!1;else{t=T(t);let n=0,s=0;for(let a=0;a<o[e].diffs.length;a++){let l=o[e].diffs[a];l[0]!==y&&(s=B(t,n)),l[0]===m?i=i.substring(0,r+s)+l[1]+i.substring(r+s):l[0]===g&&(i=i.substring(0,r+s)+i.substring(r+B(t,n+l[1].length))),l[0]!==g&&(n+=l[1].length)}}}}}return[i=i.substring(l.length,i.length-l.length),c]}var W=Object.defineProperty,Y=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,X=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))K.call(t,n)&&X(e,n,t[n]);if(Y)for(var n of Y(t))Z.call(t,n)&&X(e,n,t[n]);return e};let Q={margin:4};function ee(e={}){return J(J({},Q),e)}function et(e,t,n){if("string"==typeof e&&"string"==typeof t){let r=b(e,t,{checkLines:!0});return r.length>2&&(r=R(r=k(r))),en(e,r,ee(n))}if(e&&Array.isArray(e)&&typeof t>"u")return en(z(e),e,ee(n));if("string"==typeof e&&t&&Array.isArray(t))return en(e,t,ee(n));throw Error("Unknown call format to make()")}function en(e,t,n){if(0===t.length)return[];let r=[],i=H(0,0),o=0,s=0,a=0,l=0,u=0,c=e,d=e;for(let e=0;e<t.length;e++){let f=t[e],[h,p]=f,b=p.length,v=q(p);switch(!o&&h!==y&&(i.start1=s,i.start2=a,i.utf8Start1=l,i.utf8Start2=u),h){case m:i.diffs[o++]=f,i.length2+=b,i.utf8Length2+=v,d=d.substring(0,a)+p+d.substring(a);break;case g:i.length1+=b,i.utf8Length1+=v,i.diffs[o++]=f,d=d.substring(0,a)+d.substring(a+b);break;case y:b<=2*n.margin&&o&&t.length!==e+1?(i.diffs[o++]=f,i.length1+=b,i.length2+=b,i.utf8Length1+=v,i.utf8Length2+=v):b>=2*n.margin&&o&&(er(i,c,n),r.push(i),i=H(-1,-1),o=0,c=d,s=a,l=u);break;default:throw Error("Unknown diff type")}h!==m&&(s+=b,l+=v),h!==g&&(a+=b,u+=v)}return o&&(er(i,c,n),r.push(i)),r}function er(e,t,n){if(0===t.length)return;let r=t.substring(e.start2,e.start2+e.length1),i=0;for(;t.indexOf(r)!==t.lastIndexOf(r)&&r.length<32-n.margin-n.margin;)i+=n.margin,r=t.substring(e.start2-i,e.start2+e.length1+i);i+=n.margin;let o=e.start2-i;o>=1&&a(t[o])&&o--;let s=t.substring(o,e.start2);s&&e.diffs.unshift([y,s]);let l=s.length,u=q(s),c=e.start2+e.length1+i;c<t.length&&a(t[c])&&c++;let d=t.substring(e.start2+e.length1,c);d&&e.diffs.push([y,d]);let f=d.length,h=q(d);e.start1-=l,e.start2-=l,e.utf8Start1-=u,e.utf8Start2-=u,e.length1+=l+f,e.length2+=l+f,e.utf8Length1+=u+h,e.utf8Length2+=u+h}let ei=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;function eo(e){if(!e)return[];let t=[],n=e.split(` 8`),r=0;for(;r<n.length;){let e=n[r].match(ei);if(!e)throw Error(`Invalid patch string: ${n[r]}`);let i=H(es(e[1]),es(e[3]));for(t.push(i),""===e[2]?(i.start1--,i.utf8Start1--,i.length1=1,i.utf8Length1=1):"0"===e[2]?(i.length1=0,i.utf8Length1=0):(i.start1--,i.utf8Start1--,i.utf8Length1=es(e[2]),i.length1=i.utf8Length1),""===e[4]?(i.start2--,i.utf8Start2--,i.length2=1,i.utf8Length2=1):"0"===e[4]?(i.length2=0,i.utf8Length2=0):(i.start2--,i.utf8Start2--,i.utf8Length2=es(e[4]),i.length2=i.utf8Length2),r++;r<n.length;){let e,t=n[r],o=t.charAt(0);if("@"===o)break;if(""===o){r++;continue}try{e=decodeURI(t.slice(1))}catch(e){throw Error(`Illegal escape in parse: ${t}`)}let s=q(e)-e.length;if("-"===o)i.diffs.push([g,e]),i.length1-=s;else if("+"===o)i.diffs.push([m,e]),i.length2-=s;else if(" "===o)i.diffs.push([y,e]),i.length1-=s,i.length2-=s;else throw Error(`Invalid patch mode "${o}" in: ${e}`);r++}}return t}function es(e){return parseInt(e,10)}function ea(e){return e.map(el).join("")}function el(e){let t,n,r,{utf8Length1:i,utf8Length2:o,utf8Start1:s,utf8Start2:a,diffs:l}=e;t=0===i?`${s},0`:1===i?`${s+1}`:`${s+1},${i}`,n=0===o?`${a},0`:1===o?`${a+1}`:`${a+1},${o}`;let u=[`@@ -${t} +${n} @@ 9`];for(let e=0;e<l.length;e++){switch(l[e][0]){case m:r="+";break;case g:r="-";break;case y:r=" ";break;default:throw Error("Unknown patch operation.")}u[e+1]=`${r+encodeURI(l[e][1])} 10`}return u.join("").replace(/%20/g," ")}},37183:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},37305:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(71450),i=n(31536),o=n(91239),s=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=o.U);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return(0,r.C6)(t,e),t.prototype.next=function(t){var n=this.isStopped,r=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!n&&(r.push(t),i||r.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},t}(i.B)}
10,37338:(e,t,n)=>{"use strict";let r=n(240),i=n(95934),{safeRe:o,t:s}=n(82404);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let r,i=t.includePrerelease?o[s.COERCERTLFULL]:o[s.COERCERTL];for(;(r=i.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i.lastIndex=r.index+r[1].length+r[2].length;i.lastIndex=-1}else n=e.match(t.includePrerelease?o[s.COERCEFULL]:o[s.COERCE]);if(null===n)return null;let a=n[2],l=n[3]||"0",u=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",d=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${a}.${l}.${u}${c}${d}`,t)}},37402:(e,t,n)=>{"use strict";let r=n(76353);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},37537:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return e===t||e!=e&&t!=t}},37713:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===o||e===c||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||void 0!==e.getModuleId)||!1}},37772:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(58016);let i=function(e){return(0,r.A)(e,4)}},37841:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(96948),i=n(28400);function o(e){return(0,r.N)(function(t,n){var r=!1;t.subscribe((0,i._)(n,function(e){r=!0,n.next(e)},function(){r||n.next(e),n.complete()}))})}},37849:(e,t,n)=>{"use strict";e.exports=n(68381)},37951:(e,t,n)=>{var r=n(80942),i=n(35206),o=n(26526),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[r(e)]}},37980:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(15440),i=n(96948),o=function(e,t){return e.push(t),e};function s(){return(0,i.N)(function(e,t){(0,r.T)(o,[])(e).subscribe(t)})}},37998:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},38055:(e,t,n)=>{var r=n(37951),i=n(99425),o=n(83903),s=o&&o.isTypedArray;e.exports=s?i(s):r},38185:(e,t,n)=>{var r=n(26630);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},38599:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});let r=n(31246).O},38698:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(56633);function i(e,t,n=[t],o="npm"){let s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${o}:@sentry/${e}`,version:r.M})),version:r.M}),e._metadata=s}},39058:(e,t,n)=>{var r=n(78363),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},39089:(e,t,n)=>{e.exports=n(55777)()},39097:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},39209:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var r=n(71450),i=n(41449),o=n(96948),s=n(28400),a=n(12668),l=n(12718),u=n(95868),c=n(20437);function d(e){for(var t,n,d=[],f=1;f<arguments.length;f++)d[f-1]=arguments[f];var h=null!=(t=(0,u.lI)(d))?t:l.E,p=null!=(n=d[0])?n:null,g=d[1]||1/0;return(0,o.N)(function(t,n){var o=[],l=!1,u=function(e){var t=e.buffer;e.subs.unsubscribe(),(0,a.o)(o,e),n.next(t),l&&d()},d=function(){if(o){var t=new i.yU;n.add(t);var r={buffer:[],subs:t};o.push(r),(0,c.N)(t,h,function(){return u(r)},e)}};null!==p&&p>=0?(0,c.N)(n,h,d,p,!0):l=!0,d();var f=(0,s._)(n,function(e){var t,n,i=o.slice();try{for(var s=(0,r.Ju)(i),a=s.next();!a.done;a=s.next()){var l=a.value,c=l.buffer;c.push(e),g<=c.length&&u(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}},function(){for(;null==o?void 0:o.length;)n.next(o.shift().buffer);null==f||f.unsubscribe(),n.complete(),n.unsubscribe()},void 0,function(){return o=null});t.subscribe(f)})}},39420:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(39860),i=((()=>{try{return!0}catch(e){return!1}})(),(()=>{try{return!1}catch(e){return!1}})());function o(e){if(i){var t;return t=e,void(0,r.useEffect)(()=>{},[t])}}},39781:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let r={};function i(){return r}},40073:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(63704);function i(e){return(0,r.T)(function(){return e})}},40234:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(96948),i=n(28400);function o(){return(0,r.N)(function(e,t){var n=null;e._refCount++;var r=(0,i._)(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){n=null;return}var r=e._connection,i=n;n=null,r&&(!i||r===i)&&r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},40426:(e,t,n)=>{"use strict";n.d(t,{A:()=>
10o});let r=function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n};var i=n(92729);let o=function(e){return e&&e.length?r(e,i.A):0}},40609:(e,t,n)=>{"use strict";n.d(t,{OX:()=>c,SP:()=>a});var r,i,o=n(24933);let s=new WeakMap;function a(e){return{config:e,start:(t,n)=>{let{self:r,system:i,emit:o}=n,a={receivers:void 0,dispose:void 0};s.set(r,a),a.dispose=e({input:t.input,system:i,self:r,sendBack:e=>{"stopped"!==r.getSnapshot().status&&r._parent&&i._relay(r,r._parent,e)},receive:e=>{a.receivers??=new Set,a.receivers.add(e)},emit:o})},transition:(e,t,n)=>{let r=s.get(n.self);return t.type===o.X?(e={...e,status:"stopped",error:void 0},s.delete(n.self),r.receivers?.clear(),r.dispose?.()):r.receivers?.forEach(e=>e(t)),e},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}let l="xstate.observable.error",u="xstate.observable.complete";function c(e){return{config:e,transition:(e,t)=>{if("active"!==e.status)return e;switch(t.type){case l:return{...e,status:"error",error:t.data,input:void 0,_subscription:void 0};case u:return{...e,status:"done",input:void 0,_subscription:void 0};case o.X:return e._subscription.unsubscribe(),{...e,status:"stopped",input:void 0,_subscription:void 0};default:return e}},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,context:void 0,input:t,_subscription:void 0}),start:(t,{self:n,system:r,emit:i})=>{"done"!==t.status&&(t._subscription=e({input:t.input,system:r,self:n,emit:i}).subscribe({next:e=>{n._parent&&r._relay(n,n._parent,e)},error:e=>{r._relay(n,n,{type:l,data:e})},complete:()=>{r._relay(n,n,{type:u})}}))},getPersistedSnapshot:({_subscription:e,...t})=>t,restoreSnapshot:e=>({...e,_subscription:void 0})}}new WeakMap,r=e=>void 0,i=0},40649:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>0!==r(e,t,n)},40712:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(45037),i=n(39097);function o(e,t){var n=(0,i.T)(e)?e:function(){return e},o=function(e){return e.error(n())};return new r.c(t?function(e){return t.schedule(o,0,e)}:o)}},40869:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===o||e===c||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||void 0!==e.getModuleId)||!1}},41220:(e,t,n)=>{"use strict";n.d(t,{XB:()=>nl,xk:()=>tH});var r,i,o,s,a,l,u,c={};n.r(c),n.d(c,{decode:()=>b,encode:()=>_,format:()=>x,parse:()=>j});var d={};n.r(d),n.d(d,{Any:()=>F,Cc:()=>$,Cf:()=>P,P:()=>M,S:()=>N,Z:()=>L});var f={};n.r(f),n.d(f,{arrayReplaceAt:()=>et,assign:()=>ee,escapeHtml:()=>eh,escapeRE:()=>eg,fromCodePoint:()=>er,has:()=>Q,isMdAsciiPunct:()=>ev,isPunctChar:()=>eb,isSpace:()=>em,isString:()=>X,isValidEntityCode:()=>en,isWhiteSpace:()=>ey,lib:()=>e_,normalizeReference:()=>ew,unescapeAll:()=>el,unescapeMd:()=>ea});var h={};n.r(h),n.d(h,{parseLinkDestination:()=>ek,parseLinkLabel:()=>ex,parseLinkTitle:()=>eE});var p=n(3254),g=n(71179);let m={};function y(e,t){"string"!=typeof t&&(t=y.defaultChars);let n=function(e){let t=m[e];if(t)return t;t=m[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){let o=parseInt(e.slice(r+1,r+3),16);if(o<128){t+=n[o];continue}if((224&o)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((192&n)==128){let e=o<<6&1984|63&n;e<128?t+="��":t+=String.fromCharCode(e),r+=3;continue}}if((240&o)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((192&n)==128&&(192&i)==128){let e=o<<12&61440|n<<6&4032|63&i;e<2048||e>=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),r+=6;continue}}if((248&o)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),s=parseInt(e.slice(r+10,r+12),16);if((192&n)==128&&(192&i)==128&&(192&s)==128){let e=o<<18&1835008|n<<12&258048|i<<6&4032|63&s;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}
10t+="�"}return t})}y.defaultChars=";/?:@&=+$,#",y.componentChars="";let b=y,v={};function w(e,t,n){"string"!=typeof t&&(n=t,t=w.defaultChars),void 0===n&&(n=!0);let r=function(e){let t=v[e];if(t)return t;t=v[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t),i="";for(let t=0,o=e.length;t<o;t++){let s=e.charCodeAt(t);if(n&&37===s&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&t+1<o){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}w.defaultChars=";/?:@&=+$,-_.!~*'()#",w.componentChars="-_.!~*'()";let _=w;function x(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}function k(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let E=/^([a-z0-9.+-]+:)/i,A=/:[0-9]*$/,S=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,C=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]))),I=["/","?","#"],T=/^[+a-z0-9A-Z_-]{0,63}$/,O=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,R={javascript:!0,"javascript:":!0},D={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};k.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){let e=S.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let s=E.exec(o);if(s&&(n=(s=s[0]).toLowerCase(),this.protocol=s,o=o.substr(s.length)),(t||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2))&&!(s&&R[s])&&(o=o.substr(2),this.slashes=!0),!R[s]&&(i||s&&!D[s])){let e,t,n=-1;for(let e=0;e<I.length;e++)-1!==(r=o.indexOf(I[e]))&&(-1===n||r<n)&&(n=r);-1!==(t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n))&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<C.length;e++)-1!==(r=o.indexOf(C[e]))&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;let i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";let s="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!s){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(T)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(T)){let r=e.slice(0,t),i=e.slice(t+1),s=n.match(O);s&&(r.push(s[1]),i.unshift(s[2])),i.length&&(o=i.join(".")+o),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));let l=o.indexOf("?");return -1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),D[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},k.prototype.parseHost=function(e){let t=A.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};let j=function(e,t){if(e&&e instanceof k)return e;let n=new k;return n.parse(e,t),n},M=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,N=/[\$\+<->
10\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,F=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,$=/[\0-\x1F\x7F-\x9F]/,P=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,L=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,z=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\ud835\udd04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\ud835\udd38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\ud835\udc9cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\ud835\udd05pf;ì\ud835\udd39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\ud835\udc9epÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\ud835\udd07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\ud835\udd3bÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\0\0Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\ud835\udc9frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\ud835\udd08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\ud835\udd3csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\ud835\udd09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\ud835\udd3dAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\ud835\udd0a;æpf;ì\ud835\udd3eeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\ud835\udca2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\ud835\udd40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\ud835\udd0dpf;ì\ud835\udd41Ç£ß\0ßr;ì\ud835\udca5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\ud835\udd0epf;ì\ud835\udd42cr;ì\ud835\udca6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\ud835\udd0fÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\ud835\udd43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\ud835\udd10nusPlus;æpf;ì\ud835\udd44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\ud835\udd11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\ud835\udca9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\ud835\udd12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\ud835\udd46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\ud835\udcaaashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
10æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\ud835\udd13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\ud835\udcab;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\ud835\udd14pf;æcr;ì\ud835\udcacØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\ud835\udd16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\ud835\udd4aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\ud835\udcaear;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\ud835\udd17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\ud835\udd4bipleDot;æÄctáár;ì\ud835\udcafrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\ud835\udd18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\ud835\udd4cÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\ud835\udcb0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\ud835\udd19pf;ì\ud835\udd4dcr;ì\ud835\udcb1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\ud835\udd1apf;ì\ud835\udd4ecr;ì\ud835\udcb2Èfiosáááár;ì\ud835\udd1b;äpf;ì\ud835\udd4fcr;ì\ud835\udcb3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\ud835\udd1cpf;ì\ud835\udd50cr;ì\ud835\udcb4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\ud835\udcb5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\ud835\udd1eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\ud835\udd52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\ud835\udcb6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\ud835\udd1fgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\ud835\udd53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\ud835\udcb7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;
10ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\ud835\udd20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\0á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\ud835\udd54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\ud835\udcb8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\ud835\udd21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\ud835\udd55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\ud835\udcb9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\ud835\udd22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\ud835\udd56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\0\0á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\ud835\udd23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\ud835\udd57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»\xbeä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\ud835\udcbbà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\ud835\udd24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\ud835\udd58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\ud835\udd25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\ud835\udd59bar;æÆcltâ¯â´â¸r;ì\ud835\udcbdas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»\xedäÆ;
10iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\ud835\udd26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\ud835\udd5aa;ä¹uestè»\xbfä¿Äciââr;ì\ud835\udcbenÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\ud835\udd27ath;ä·pf;ì\ud835\udd5bÇ£â¬\0â±r;ì\ud835\udcbfrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\ud835\udd28reen;ä¸cy;ä
cy;äpf;ì\ud835\udd5ccr;ì\ud835\udcc0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
10ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\ud835\udd29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\ud835\udd5dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\ud835\udcc1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\ud835\udd2ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\ud835\udd5eÄct⣸⣽r;ì\ud835\udcc2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\ud835\udd2bÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\ud835\udd5fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\ud835\udcc3ortÉâ¬
\0\0â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\ud835\udd2cͯ⵹\0\0âµ¼\0â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\ud835\udd60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
10astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\ud835\udd2dÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\ud835\udd61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\ud835\udcc5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\ud835\udd2epf;ì\ud835\udd62rime;æcr;ì\ud835\udcc6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\ud835\udd2fÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\ud835\udd63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\ud835\udcc7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\ud835\udd30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\ud835\udd64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\ud835\udcc8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\ud835\udd31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
10aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\ud835\udd65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\ud835\udcc9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\ud835\udd32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\ud835\udd66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\ud835\udccaÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\ud835\udd33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\ud835\udd67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\ud835\udccbÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\ud835\udd34pf;ì\ud835\udd68Ä;eá¹ã©¦at\xe8á¹cr;ì\ud835\udcccà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátr\xe9ár;ì\ud835\udd35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\ud835\udd69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\ud835\udccdÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\ud835\udd36cy;äpf;ì\ud835\udd6acr;ì\ud835\udcceÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\ud835\udd37cy;ä¶grarr;æpf;ì\ud835\udd6bcr;ì\ud835\udccfÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),U=new Uint16Array("Èaglq \x15\x18\x1bÉ\x0f\0\0\x12p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(e=>e.charCodeAt(0))),B=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),q=null!=(r=String.fromCodePoint)?r:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function V(e){return e>=i.ZERO&&e<=i.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(i||(i={})),!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(o||(o={})),!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(s||(s={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(a||(a={}));class H{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=s.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=a.Strict}startEntity(e){this.decodeMode=e,this.state=s.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case s.EntityStart:if(e.charCodeAt(t)===i.NUM)return this.state=s.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=s.NamedEntity,this.stateNamedEntity(e,t);case s.NumericStart:return this.stateNumericStart(e,t);case s.NumericDecimal:return this.stateNumericDecimal(e,t);case s.NumericHex:return this.stateNumericHex(e,t);case s.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===i.LOWER_X?(this.state=s.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=s.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;
10this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let o=e.charCodeAt(t);if(!V(o)&&(!((r=o)>=i.UPPER_A)||!(r<=i.UPPER_F))&&(!(r>=i.LOWER_A)||!(r<=i.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(o,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!V(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,o;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===i.SEMI)this.consumed+=1;else if(this.decodeMode===a.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!=(o=B.get(r))?o:r,this.consumed),this.errors&&(e!==i.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],s=(r&o.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let l=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,r){let i=(t&o.BRANCH_LENGTH)>>7,s=t&o.JUMP_TABLE;if(0===i)return 0!==s&&r===s?n:-1;if(s){let t=r-s;return t<0||t>=i?-1:e[n+t]-1}let a=n,l=a+i-1;for(;a<=l;){let t=a+l>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];l=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,s),l),this.treeIndex<0)return 0===this.result||this.decodeMode===a.Attribute&&(0===s||function(e){var t;return e===i.EQUALS||(t=e)>=i.UPPER_A&&t<=i.UPPER_Z||t>=i.LOWER_A&&t<=i.LOWER_Z||V(t)}(l))?0:this.emitNotTerminatedNamedEntity();if(0!=(s=((r=n[this.treeIndex])&o.VALUE_LENGTH)>>14)){if(l===i.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==a.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&o.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~o.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case s.NamedEntity:return 0!==this.result&&(this.decodeMode!==a.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case s.NumericDecimal:return this.emitNumericEntity(0,2);case s.NumericHex:return this.emitNumericEntity(0,3);case s.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case s.EntityStart:return 0}}}function G(e){let t="",n=new H(e,e=>t+=q(e));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);let s=n.write(e,o+1);if(s<0){i=o+n.end();break}i=o+s,o=0===s?i+1:i}let s=t+e.slice(i);return t="",s}}let W=G(z);function Y(e,t=a.Legacy){return W(e,t)}G(U);let K=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function Z(e,t){return function(n){let r,i=0,o="";for(;r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}function X(e){return"[object String]"===Object.prototype.toString.call(e)}null!=String.prototype.codePointAt||((e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),Z(/[&<>'"]/g,K),Z(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Z(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(l||(l={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(u||(u={}));let J=Object.prototype.hasOwnProperty;function Q(e,t){return J.call(e,t)}function ee(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function et(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function en(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)&&!0}function er(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}let ei=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,eo=RegExp(ei.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),es=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ea(e){return 0>e.indexOf("\\")?e:e.replace(ei,"$1")}function el(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(eo,function(e,t,n){if(t)return t;if(35===n.charCodeAt(0)&&es.test(n)){let t="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return en(t)?er(t):e}let r=Y(e);return r!==e?r:e})}let eu=/[&<>"]/,ec=/[&<>"]/g,ed={"&":"&","<":"<",">":">",'"':"""};function ef(e){return ed[e]}function eh(e){return eu.test(e)?e.replace(ec,ef):e}let ep=/[.?*+^$[\]\\(){}|-]/g;function eg(e){return e.replace(ep,"\\$&")}function em(e){switch(e){case 9:case 32:return!0}return!1}function ey(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eb(e){return M.test(e)||N.test(e)}function ev(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case
1061:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ew(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let e_={mdurl:c,ucmicro:d};function ex(e,t,n){let r,i,o,s,a=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<a;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(s=e.pos,e.md.inline.skipToken(e),91===o){if(s===e.pos-1)r++;else if(n)return e.pos=l,-1}}let u=-1;return i&&(u=e.pos),e.pos=l,u}function ek(e,t,n){let r,i=t,o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n&&10!==(r=e.charCodeAt(i))&&60!==r;){if(62===r){o.pos=i+1,o.str=el(e.slice(t+1,i)),o.ok=!0;break}if(92===r&&i+1<n){i+=2;continue}i++}return o}let s=0;for(;i<n&&32!==(r=e.charCodeAt(i))&&!(r<32)&&127!==r;){if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2;continue}if(40===r&&++s>32)return o;if(41===r){if(0===s)break;s--}i++}return t===i||0!==s||(o.str=el(e.slice(t,i)),o.pos=i,o.ok=!0),o}function eE(e,t,n,r){let i,o=t,s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)s.str=r.str,s.marker=r.marker;else{if(o>=n)return s;let r=e.charCodeAt(o);if(34!==r&&39!==r&&40!==r)return s;t++,o++,40===r&&(r=41),s.marker=r}for(;o<n;){if((i=e.charCodeAt(o))===s.marker)return s.pos=o+1,s.str+=el(e.slice(t,o)),s.ok=!0,s;if(40===i&&41===s.marker)return s;92===i&&o+1<n&&o++,o++}return s.can_continue=!0,s.str+=el(e.slice(t,o)),s}let eA={};function eS(){this.rules=ee({},eA)}function eC(){this.__rules__=[],this.__cache__=null}function eI(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function eT(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}eA.code_inline=function(e,t,n,r,i){let o=e[t];return"<code"+i.renderAttrs(o)+">"+eh(o.content)+"</code>"},eA.code_block=function(e,t,n,r,i){let o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+eh(e[t].content)+"</code></pre>\n"},eA.fence=function(e,t,n,r,i){let o,s=e[t],a=s.info?el(s.info).trim():"",l="",u="";if(a){let e=a.split(/(\s+)/g);l=e[0],u=e.slice(2).join("")}if(0===(o=n.highlight&&n.highlight(s.content,l,u)||eh(s.content)).indexOf("<pre"))return o+"\n";if(a){let e=s.attrIndex("class"),t=s.attrs?s.attrs.slice():[];return e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l),`<pre><code${i.renderAttrs({attrs:t})}>${o}</code></pre> 11`}return`<pre><code${i.renderAttrs(s)}>${o}</code></pre> 12`},eA.image=function(e,t,n,r,i){let o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},eA.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},eA.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},eA.text=function(e,t){return eh(e[t].content)},eA.html_block=function(e,t){return e[t].content},eA.html_inline=function(e,t){return e[t].content},eS.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(t=0,r="",n=e.attrs.length;t<n;t++)r+=" "+eh(e.attrs[t][0])+'="'+eh(e.attrs[t][1])+'"';return r},eS.prototype.renderToken=function(e,t,n){let r=e[t],i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&t+1<e.length)){let n=e[t+1];"inline"===n.type||n.hidden?o=!1:-1===n.nesting&&n.tag===r.tag&&(o=!1)}return i+(o?">\n":">")},eS.prototype.renderInline=function(e,t,n){let r="",i=this.rules;for(let o=0,s=e.length;o<s;o++){let s=e[o].type;void 0!==i[s]?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},eS.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},eS.prototype.render=function(e,t,n){let r="",i=this.rules;for(let o=0,s=e.length;o<s;o++){let s=e[o].type;"inline"===s?r+=this.renderInline(e[o].children,t,n):void 0!==i[s]?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r},eC.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},eC.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&0>n.alt.indexOf(t)||e.__cache__[t].push(n.fn))})})},eC.prototype.at=function(e,t,n){let r=this.__find__(e);
12if(-1===r)throw Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=(n||{}).alt||[],this.__cache__=null},eC.prototype.before=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},eC.prototype.after=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},eC.prototype.push=function(e,t,n){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(n||{}).alt||[]}),this.__cache__=null},eC.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},eC.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},eC.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},eC.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},eI.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return -1},eI.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},eI.prototype.attrSet=function(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},eI.prototype.attrGet=function(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},eI.prototype.attrJoin=function(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},eT.prototype.Token=eI;let eO=/\r\n?|\n/g,eR=/\0/g,eD=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,ej=/\((c|tm|r)\)/i,eM=/\((c|tm|r)\)/ig,eN={c:"\xa9",r:"\xae",tm:"â¢"};function eF(e,t){return eN[t.toLowerCase()]}let e$=/['"]/,eP=/['"]/g;
12function eL(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}let ez=[["normalize",function(e){let t;t=(t=e.src.replace(eO,"\n")).replace(eR,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){let t=e.tokens;if(e.md.options.linkify)for(let i=0,o=t.length;i<o;i++){if("inline"!==t[i].type||!e.md.linkify.pretest(t[i].content))continue;let o=t[i].children,s=0;for(let a=o.length-1;a>=0;a--){let l=o[a];if("link_close"===l.type){for(a--;o[a].level!==l.level&&"link_open"!==o[a].type;)a--;continue}if("html_inline"===l.type){var n,r;n=l.content,/^<a[>\s]/i.test(n)&&s>0&&s--,r=l.content,/^<\/a\s*>/i.test(r)&&s++}if(!(s>0)&&"text"===l.type&&e.md.linkify.test(l.content)){let n=l.content,r=e.md.linkify.match(n),s=[],u=l.level,c=0;r.length>0&&0===r[0].index&&a>0&&"text_special"===o[a-1].type&&(r=r.slice(1));for(let t=0;t<r.length;t++){let i=r[t].url,o=e.md.normalizeLink(i);if(!e.md.validateLink(o))continue;let a=r[t].text;a=r[t].schema?"mailto:"!==r[t].schema||/^mailto:/i.test(a)?e.md.normalizeLinkText(a):e.md.normalizeLinkText("mailto:"+a).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+a).replace(/^http:\/\//,"");let l=r[t].index;if(l>c){let t=new e.Token("text","",0);t.content=n.slice(c,l),t.level=u,s.push(t)}let d=new e.Token("link_open","a",1);d.attrs=[["href",o]],d.level=u++,d.markup="linkify",d.info="auto",s.push(d);let f=new e.Token("text","",0);f.content=a,f.level=u,s.push(f);let h=new e.Token("link_close","a",-1);h.level=--u,h.markup="linkify",h.info="auto",s.push(h),c=r[t].lastIndex}if(c<n.length){let t=new e.Token("text","",0);t.content=n.slice(c),t.level=u,s.push(t)}t[i].children=o=et(o,a,s)}}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(ej.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"!==r.type||t||(r.content=r.content.replace(eM,eF)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children),eD.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"===r.type&&!t&&eD.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"â¦").replace(/([?!])â¦/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1â").replace(/(^|\s)--(?=\s|$)/mg,"$1â").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1â")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&e$.test(e.tokens[t].content)&&function(e,t){let n,r=[];for(let i=0;i<e.length;i++){let o=e[i],s=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=s);n--);if(r.length=n+1,"text"!==o.type)continue;let a=o.content,l=0,u=a.length;n:for(;l<u;){eP.lastIndex=l;let c=eP.exec(a);if(!c)break;let d=!0,f=!0;l=c.index+1;let h="'"===c[0],p=32;if(c.index-1>=0)p=a.charCodeAt(c.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){p=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(l<u)g=a.charCodeAt(l);else for(n=i+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}let m=ev(p)||eb(String.fromCharCode(p)),y=ev(g)||eb(String.fromCharCode(g)),b=ey(p),v=ey(g);if(v?d=!1:y&&!(b||m)&&(d=!1),b?f=!1:m&&!(v||y)&&(f=!1),34===g&&'"'===c[0]&&p>=48&&p<=57&&(f=d=!1),d&&f&&(d=m,f=y),!d&&!f){h&&(o.content=eL(o.content,c.index,"â"));continue}if(f)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<s)break;if(d.single===h&&r[n].level===s){let s,f;d=r[n],h?(s=t.md.options.quotes[2],f=t.md.options.quotes[3]):(s=t.md.options.quotes[0],f=t.md.options.quotes[1]),o.content=eL(o.content,c.index,f),e[d.token].content=eL(e[d.token].content,d.pos,s),l+=f.length-1,d.token===i&&(l+=s.length-1),u=(a=o.content).length,r.length=n;continue n}}d?r.push({token:i,pos:c.index,single:h,level:s}):f&&h&&(o.content=eL(o.content,c.index,"â"))}}}(e.tokens[t].children,e)}],["text_join",function(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;let i=r[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function eU(){this.ruler=new eC;for(let e=0;e<ez.length;e++)this.ruler.push(ez[e][0],ez[e][1])}function eB(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,s=!1;t<o;t++){let a=i.charCodeAt(t);if(!s)if(em(a)){n++,9===a?r+=4-r%4:r++;continue}else s=!0;(10===a||t===o-1)&&(10!==a&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),s=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}function eq(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function eV(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),o=!1,s=0,a="";for(;r<n;)124===i&&(o?(a+=e.substring(s,r-1),s=r):(t.push(a+e.substring(s,r)),a="",s=r+1)),o=92===i,r++,i=e.charCodeAt(r);return t.push(a+e.substring(s)),t}function eH(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCo
12deAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!em(e.src.charCodeAt(r))?-1:r}function eG(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return -1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return -1;for(;;){if(i>=r)return -1;if((o=e.src.charCodeAt(i++))>=48&&o<=57){if(i-n>=10)return -1;continue}if(41===o||46===o)break;return -1}return i<r&&!em(o=e.src.charCodeAt(i))?-1:i}eU.prototype.process=function(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},eU.prototype.State=eT,eB.prototype.push=function(e,t,n){let r=new eI(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},eB.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eB.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},eB.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&em(this.src.charCodeAt(e));e++);return e},eB.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!em(this.src.charCodeAt(--e)))return e+1;return e},eB.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},eB.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eB.prototype.getLines=function(e,t,n,r){if(e>=t)return"";let i=Array(t-e);for(let o=0,s=e;s<t;s++,o++){let e,a=0,l=this.bMarks[s],u=l;for(e=s+1<t||r?this.eMarks[s]+1:this.eMarks[s];u<e&&a<n;){let e=this.src.charCodeAt(u);if(em(e))9===e?a+=4-(a+this.bsCount[s])%4:a++;else if(u-l<this.tShift[s])a++;else break;u++}a>n?i[o]=Array(a-n+1).join(" ")+this.src.slice(u,e):i[o]=this.src.slice(u,e)}return i.join("")},eB.prototype.Token=eI;let eW="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",eY="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",eK=RegExp("^(?:"+eW+"|"+eY+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),eZ=RegExp("^(?:"+eW+"|"+eY+")"),eX=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp("^</?(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)(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(eZ.source+"\\s*$"),/^$/,!1]],eJ=[["table",function(e,t,n,r){let i;if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let s=e.bMarks[o]+e.tShift[o];if(s>=e.eMarks[o])return!1;let a=e.src.charCodeAt(s++);if(124!==a&&45!==a&&58!==a||s>=e.eMarks[o])return!1;let l=e.src.charCodeAt(s++);if(124!==l&&45!==l&&58!==l&&!em(l)||45===a&&em(l))return!1;for(;s<e.eMarks[o];){let t=e.src.charCodeAt(s);if(124!==t&&45!==t&&58!==t&&!em(t))return!1;s++}let u=eq(e,t+1),c=u.split("|"),d=[];for(let e=0;e<c.length;e++){let t=c[e].trim();if(!t)if(0===e||e===c.length-1)continue;else return!1;if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?d.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?d.push("left"):d.push("")}if(-1===(u=eq(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;(c=eV(u)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let f=c.length;if(0===f||f!==d.length)return!1;if(r)return!0;let h=e.parentType;e.parentType="table";let p=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),m=[t,0];g.map=m,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){let n=e.push("th_open","th",1);d[t]&&(n.attrs=[["style","text-align:"+d[t]]]);let r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let r=!1;for(let t=0,i=p.length;t<i;t++)if(p[t](e,o,n,!0)){r=!0;break}if(r||!(u=eq(e,o).trim())||e.sCount[o]-e.blkIndent>=4||((c=eV(u)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(y+=f-c.length)>65536))break;o===t+2&&(e.push("tbody_open","tbody",1).map=i=[t+2,0]),e.push("tr_open","tr",1).map=[o,o+1];for(let t=0;t<f;t++){let n=e.push("td_open","td",1);d[t]&&(n.attrs=[["style","text-align:"+d[t]]]);let r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return i&&(e.push("tbody_close","tbody",-1),i[1]=o),e.push("table_close","table",-1),m[1]=o,e.parentType=h,e.line=o,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){i=++r;continue}break}e.line=i;let o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;
12let s=e.src.charCodeAt(i);if(126!==s&&96!==s)return!1;let a=i,l=(i=e.skipChars(i,s))-a;if(l<3)return!1;let u=e.src.slice(a,i),c=e.src.slice(i,o);if(96===s&&c.indexOf(String.fromCharCode(s))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;!(++d>=n)&&(!((i=a=e.bMarks[d]+e.tShift[d])<(o=e.eMarks[d]))||!(e.sCount[d]<e.blkIndent));){;if(!(e.src.charCodeAt(i)!==s||e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,s))-a<l)&&!((i=e.skipSpaces(i))<o)){f=!0;break}}l=e.sCount[t],e.line=d+ +!!f;let h=e.push("fence","code",0);return h.info=c,h.content=e.getLines(t+1,d,l,!0),h.markup=u,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i,o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(o))return!1;if(r)return!0;let l=[],u=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p=!1;for(i=t;i<n;i++){let t=e.sCount[i]<e.blkIndent;if((o=e.bMarks[i]+e.tShift[i])>=(s=e.eMarks[i]))break;if(62===e.src.charCodeAt(o++)&&!t){let t,n,r=e.sCount[i]+1;32===e.src.charCodeAt(o)?(o++,r++,n=!1,t=!0):9===e.src.charCodeAt(o)?(t=!0,(e.bsCount[i]+r)%4==3?(o++,r++,n=!1):n=!0):t=!1;let a=r;for(l.push(e.bMarks[i]),e.bMarks[i]=o;o<s;){let t=e.src.charCodeAt(o);if(em(t))9===t?a+=4-(a+e.bsCount[i]+ +!!n)%4:a++;else break;o++}p=o>=s,u.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+ +!!t,c.push(e.sCount[i]),e.sCount[i]=a-r,d.push(e.tShift[i]),e.tShift[i]=o-e.bMarks[i];continue}if(p)break;let r=!1;for(let t=0,o=f.length;t<o;t++)if(f[t](e,i,n,!0)){r=!0;break}if(r){e.lineMax=i,0!==e.blkIndent&&(l.push(e.bMarks[i]),u.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]-=e.blkIndent);break}l.push(e.bMarks[i]),u.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]=-1}let g=e.blkIndent;e.blkIndent=0;let m=e.push("blockquote_open","blockquote",1);m.markup=">";let y=[t,0];m.map=y,e.md.block.tokenize(e,t,i),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=h,y[1]=e.line;for(let n=0;n<d.length;n++)e.bMarks[n+t]=l[n],e.tShift[n+t]=d[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=u[n];return e.blkIndent=g,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],s=e.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o<i;){let t=e.src.charCodeAt(o++);if(t!==s&&!em(t))return!1;t===s&&a++}if(a<3)return!1;if(r)return!0;e.line=t+1;let l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(s)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,o,s,a,l,u,c,d=t,f=!0;if(e.sCount[d]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[d]-e.listIndent>=4&&e.sCount[d]<e.blkIndent)return!1;let h=!1;if(r&&"paragraph"===e.parentType&&e.sCount[d]>=e.blkIndent&&(h=!0),(c=eG(e,d))>=0){if(l=!0,s=e.bMarks[d]+e.tShift[d],u=Number(e.src.slice(s,c-1)),h&&1!==u)return!1}else{if(!((c=eH(e,d))>=0))return!1;l=!1}if(h&&e.skipSpaces(c)>=e.eMarks[d])return!1;if(r)return!0;let p=e.src.charCodeAt(c-1),g=e.tokens.length;l?(a=e.push("ordered_list_open","ol",1),1!==u&&(a.attrs=[["start",u]])):a=e.push("bullet_list_open","ul",1);let m=[d,0];a.map=m,a.markup=String.fromCharCode(p);let y=!1,b=e.md.block.ruler.getRules("list"),v=e.parentType;for(e.parentType="list";d<n;){let t;o=c,i=e.eMarks[d];let r=e.sCount[d]+c-(e.bMarks[d]+e.tShift[d]),u=r;for(;o<i;){let t=e.src.charCodeAt(o);if(9===t)u+=4-(u+e.bsCount[d])%4;else if(32===t)u++;else break;o++}let h=o;(t=h>=i?1:u-r)>4&&(t=1);let g=r+t;(a=e.push("list_item_open","li",1)).markup=String.fromCharCode(p);let m=[d,0];a.map=m,l&&(a.info=e.src.slice(s,c-1));let v=e.tight,w=e.tShift[d],_=e.sCount[d],x=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=g,e.tight=!0,e.tShift[d]=h-e.bMarks[d],e.sCount[d]=u,h>=i&&e.isEmpty(d+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,d,n,!0),(!e.tight||y)&&(f=!1),y=e.line-d>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[d]=w,e.sCount[d]=_,e.tight=v,(a=e.push("list_item_close","li",-1)).markup=String.fromCharCode(p),d=e.line,m[1]=d,d>=n||e.sCount[d]<e.blkIndent||e.sCount[d]-e.blkIndent>=4)break;let k=!1;for(let t=0,r=b.length;t<r;t++)if(b[t](e,d,n,!0)){k=!0;break}if(k)break;if(l){if((c=eG(e,d))<0)break;s=e.bMarks[d]+e.tShift[d]}else if((c=eH(e,d))<0)break;
12if(p!==e.src.charCodeAt(c-1))break}return(a=l?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(p),m[1]=d,e.line=d,e.parentType=v,f&&function(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i,o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(o))return!1;function l(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,s=r.length;i<s;i++)if(r[i](e,t,n,!0)){o=!0;break}if(e.parentType=i,o)return null}let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let u=e.src.slice(o,s+1);s=u.length;let c=-1;for(o=1;o<s;o++){let e=u.charCodeAt(o);if(91===e)return!1;if(93===e){c=o;break}if(10===e){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}else if(92===e&&++o<s&&10===u.charCodeAt(o)){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}}if(c<0||58!==u.charCodeAt(c+1))return!1;for(o=c+2;o<s;o++){let e=u.charCodeAt(o);if(10===e){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}else if(em(e));else break}let d=e.md.helpers.parseLinkDestination(u,o,s);if(!d.ok)return!1;let f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;let h=o=d.pos,p=a,g=o;for(;o<s;o++){let e=u.charCodeAt(o);if(10===e){let e=l(a);null!==e&&(u+=e,s=u.length,a++)}else if(em(e));else break}let m=e.md.helpers.parseLinkTitle(u,o,s);for(;m.can_continue;){let t=l(a);if(null===t)break;u+=t,o=s,s=u.length,a++,m=e.md.helpers.parseLinkTitle(u,o,s,m)}for(o<s&&g!==o&&m.ok?(i=m.str,o=m.pos):(i="",o=h,a=p);o<s&&em(u.charCodeAt(o));)o++;if(o<s&&10!==u.charCodeAt(o)&&i)for(i="",o=h,a=p;o<s&&em(u.charCodeAt(o));)o++;if(o<s&&10!==u.charCodeAt(o))return!1;let y=ew(u.slice(1,c));return!!y&&(!!r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[y]&&(e.env.references[y]={title:i,href:f}),e.line=a,!0))}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let s=e.src.slice(i,o),a=0;for(;a<eX.length&&!eX[a][0].test(s);a++);if(a===eX.length)return!1;if(r)return eX[a][2];let l=t+1;if(!eX[a][1].test(s)){for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],s=e.src.slice(i,o),eX[a][1].test(s)){0!==s.length&&l++;break}}e.line=l;let u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.src.charCodeAt(i);if(35!==s||i>=o)return!1;let a=1;for(s=e.src.charCodeAt(++i);35===s&&i<o&&a<=6;)a++,s=e.src.charCodeAt(++i);if(a>6||i<o&&!em(s))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);let l=e.skipCharsBack(o,35,i);l>i&&em(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;let u=e.push("heading_open","h"+String(a),1);u.markup="########".slice(0,a),u.map=[t,e.line];let c=e.push("inline","",0);return c.content=e.src.slice(i,o).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){let r,i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.parentType;e.parentType="paragraph";let s=0,a=t+1;for(;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let t=e.bMarks[a]+e.tShift[a],n=e.eMarks[a];if(t<n&&(45===(r=e.src.charCodeAt(t))||61===r)&&(t=e.skipChars(t,r),(t=e.skipSpaces(t))>=n)){s=61===r?1:2;break}}if(e.sCount[a]<0)continue;let t=!1;for(let r=0,o=i.length;r<o;r++)if(i[r](e,a,n,!0)){t=!0;break}if(t)break}if(!s)return!1;let l=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a+1;let u=e.push("heading_open","h"+String(s),1);u.markup=String.fromCharCode(r),u.map=[t,e.line];let c=e.push("inline","",0);return c.content=l,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(s),-1).markup=String.fromCharCode(r),e.parentType=
12o,!0}],["paragraph",function(e,t,n){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let t=!1;for(let i=0,s=r.length;i<s;i++)if(r[i](e,o,n,!0)){t=!0;break}if(t)break}let s=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];let a=e.push("inline","",0);return a.content=s,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function eQ(){this.ruler=new eC;for(let e=0;e<eJ.length;e++)this.ruler.push(eJ[e][0],eJ[e][1],{alt:(eJ[e][2]||[]).slice()})}function e0(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}eQ.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting,s=t,a=!1;for(;s<n&&(e.line=s=e.skipEmptyLines(s),!(s>=n)&&!(e.sCount[s]<e.blkIndent));){if(e.level>=o){e.line=n;break}let t=e.line,l=!1;for(let o=0;o<i;o++)if(l=r[o](e,s,n,!1)){if(t>=e.line)throw Error("block rule didn't increment state.line");break}if(!l)throw Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(s=e.line)<n&&e.isEmpty(s)&&(a=!0,e.line=++s)}},eQ.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},eQ.prototype.State=eB,e0.prototype.pushPending=function(){let e=new eI("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},e0.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new eI(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},e0.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;let s=o-e,a=o<n?this.src.charCodeAt(o):32,l=ev(i)||eb(String.fromCharCode(i)),u=ev(a)||eb(String.fromCharCode(a)),c=ey(i),d=ey(a),f=!d&&(!u||c||l),h=!c&&(!l||d||u);return{can_open:f&&(t||!h||l),can_close:h&&(t||!f||u),length:s}},e0.prototype.Token=eI;let e1=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,e2=[];for(let e=0;e<256;e++)e2.push(0);function e3(e,t){let n,r=[],i=t.length;for(let o=0;o<i;o++){let i=t[o];if(126!==i.marker||-1===i.end)continue;let s=t[i.end];(n=e.tokens[i.token]).type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",(n=e.tokens[s.token]).type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[s.token-1].type&&"~"===e.tokens[s.token-1].content&&r.push(s.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;t!==--i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){e2[e.charCodeAt(0)]=1});let e5={tokenize:function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||126!==r)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,s=String.fromCharCode(r);if(o<2)return!1;o%2&&(e.push("text","",0).content=s,o--);for(let t=0;t<o;t+=2)e.push("text","",0).content=s+s,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){let t=e.tokens_meta,n=e.tokens_meta.length;e3(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&e3(e,t[r].delimiters)}};function e4(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(95!==n.marker&&42!==n.marker||-1===n.end)continue;let i=t[n.end],o=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,s=String.fromCharCode(n.marker),a=e.tokens[n.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";let l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--)}}
12let e6={tokenize:function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||95!==r&&42!==r)return!1;let i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0},postProcess:function(e){let t=e.tokens_meta,n=e.tokens_meta.length;e4(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&e4(e,t[r].delimiters)}},e8=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,e9=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,e7=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,te=/^&([a-z][a-z0-9]{1,31});/i;function tt(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,o=[];for(let s=0;s<n;s++){let n=e[s];if(o.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=s),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let a=t[n.marker][3*!!n.open+n.length%3],l=r-o[r]-1,u=l;for(;l>a;l-=o[l]+1){let t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=l>0&&!e[l-1].open?o[l-1]+1:0;o[s]=s-l+r,o[l]=r,n.open=!1,t.end=s,t.close=!1,u=-1,i=-2;break}}}-1!==u&&(t[n.marker][3*!!n.open+(n.length||0)%3]=u)}}let tn=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;let r=e.pending.match(e1);if(!r)return!1;let i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!o)return!1;let s=o.url;if(s.length<=i.length)return!1;let a=s.length;for(;a>0&&42===s.charCodeAt(a-1);)a--;a!==s.length&&(s=s.slice(0,a));let l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let t=e.push("link_open","a",1);t.attrs=[["href",l]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=s.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&em(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos,r=e.posMax;if(92!==e.src.charCodeAt(n)||++n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&em(i=e.src.charCodeAt(n));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}let s="\\"+o;if(!t){let t=e.push("text_special","",0);i<256&&0!==e2[i]?t.content=o:t.content=s,t.markup=s,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n,r=e.pos;if(96!==e.src.charCodeAt(r))return!1;let i=r;r++;let o=e.posMax;for(;r<o&&96===e.src.charCodeAt(r);)r++;let s=e.src.slice(i,r),a=s.length;if(e.backticksScanned&&(e.backticks[a]||0)<=i)return t||(e.pending+=s),e.pos+=a,!0;let l=r;
12for(;-1!==(n=e.src.indexOf("`",l));){for(l=n+1;l<o&&96===e.src.charCodeAt(l);)l++;let i=l-n;if(i===a){if(!t){let t=e.push("code_inline","code",0);t.markup=s,t.content=e.src.slice(r,n).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[i]=n}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=a,!0}],["strikethrough",e5.tokenize],["emphasis",e6.tokenize],["link",function(e,t){let n,r,i,o,s="",a="",l=e.pos,u=!0;if(91!==e.src.charCodeAt(e.pos))return!1;let c=e.pos,d=e.posMax,f=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let p=h+1;if(p<d&&40===e.src.charCodeAt(p)){for(u=!1,p++;p<d&&(em(n=e.src.charCodeAt(p))||10===n);p++);if(p>=d)return!1;if(l=p,(i=e.md.helpers.parseLinkDestination(e.src,p,e.posMax)).ok){for(s=e.md.normalizeLink(i.str),e.md.validateLink(s)?p=i.pos:s="",l=p;p<d&&(em(n=e.src.charCodeAt(p))||10===n);p++);if(i=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&i.ok)for(a=i.str,p=i.pos;p<d&&(em(n=e.src.charCodeAt(p))||10===n);p++);}(p>=d||41!==e.src.charCodeAt(p))&&(u=!0),p++}if(u){if(void 0===e.env.references)return!1;if(p<d&&91===e.src.charCodeAt(p)?(l=p+1,(p=e.md.helpers.parseLinkLabel(e,p))>=0?r=e.src.slice(l,p++):p=h+1):p=h+1,r||(r=e.src.slice(f,h)),!(o=e.env.references[ew(r)]))return e.pos=c,!1;s=o.href,a=o.title}if(!t){e.pos=f,e.posMax=h;let t=e.push("link_open","a",1),n=[["href",s]];t.attrs=n,a&&n.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}],["image",function(e,t){let n,r,i,o,s,a,l,u,c="",d=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let h=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if((o=p+1)<f&&40===e.src.charCodeAt(o)){for(o++;o<f&&(em(n=e.src.charCodeAt(o))||10===n);o++);if(o>=f)return!1;for(u=o,(a=e.md.helpers.parseLinkDestination(e.src,o,e.posMax)).ok&&(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?o=a.pos:c=""),u=o;o<f&&(em(n=e.src.charCodeAt(o))||10===n);o++);if(a=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<f&&u!==o&&a.ok)for(l=a.str,o=a.pos;o<f&&(em(n=e.src.charCodeAt(o))||10===n);o++);else l="";if(o>=f||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<f&&91===e.src.charCodeAt(o)?(u=o+1,(o=e.md.helpers.parseLinkLabel(e,o))>=0?i=e.src.slice(u,o++):o=p+1):o=p+1,i||(i=e.src.slice(h,p)),!(s=e.env.references[ew(i)]))return e.pos=d,!1;c=s.href,l=s.title}if(!t){r=e.src.slice(h,p);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push("image","img",0),i=[["src",c],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=o,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}let o=e.src.slice(r+1,n);if(e9.test(o)){let n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(e8.test(o)){let n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(60!==e.src.charCodeAt(r)||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(33!==i&&63!==i&&47!==i&&!function(e){let t=32|e;return t>=97&&t<=122}(i))return!1;let o=e.src.slice(r).match(eK);if(!o)return!1;if(!t){var s,a;let t=e.push("html_inline","",0);t.content=o[0],s=t.content,/^<a[>\s]/i.test(s)&&e.linkLevel++,a=t.content,/^<\/a\s*>/i.test(a)&&e.linkLevel--}return e.pos+=o[0].length,!0}],["entity",function(e,t){let n=e.pos,r=e.posMax;
12if(38!==e.src.charCodeAt(n)||n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){let r=e.src.slice(n).match(e7);if(r){if(!t){let t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=en(t)?er(t):er(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(te);if(r){let n=Y(r[0]);if(n!==r[0]){if(!t){let t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],tr=[["balance_pairs",function(e){let t=e.tokens_meta,n=e.tokens_meta.length;tt(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&tt(t[e].delimiters)}],["strikethrough",e5.postProcess],["emphasis",e6.postProcess],["fragments_join",function(e){let t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function ti(){this.ruler=new eC;for(let e=0;e<tn.length;e++)this.ruler.push(tn[e][0],tn[e][1]);this.ruler2=new eC;for(let e=0;e<tr.length;e++)this.ruler2.push(tr[e][0],tr[e][1])}function to(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function ts(e){return Object.prototype.toString.call(e)}function ta(e){return"[object Function]"===ts(e)}function tl(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}ti.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t]){e.pos=o[t];return}let s=!1;if(e.level<i){for(let i=0;i<r;
12i++)if(e.level++,s=n[i](e,!0),e.level--,s){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!s&&e.pos++,o[t]=e.pos},ti.prototype.tokenize=function(e){let t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let o=e.pos,s=!1;if(e.level<i){for(let r=0;r<n;r++)if(s=t[r](e,!1)){if(o>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(s){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},ti.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let o=this.ruler2.getRules(""),s=o.length;for(let e=0;e<s;e++)o[e](i)},ti.prototype.State=e0;let tu={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},tc={"http:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.http||(n.re.http=RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r))?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){let r=e.slice(t);return(n.re.no_http||(n.re.no_http=RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.mailto||(n.re.mailto=RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r))?r.match(n.re.mailto)[0].length:0}}},td="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function tf(){return function(e,t){t.normalize(e)}}function th(e){let t=e.re=function(e){let t={};e=e||{},t.src_Any=F.source,t.src_Cc=$.source,t.src_Z=L.source,t.src_P=M.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");let n="[><ï½]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:
12/\\-_@])(?:[$+<=>^`|ï½]|"+t.src_ZPCc+"))((?![$+<=>^`|ï½])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+t.src_ZPCc+"))((?![$+<=>^`|ï½])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");let i=[];function o(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(null===n)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===ts(n)){if("[object RegExp]"===ts(n.validate)){var s;s=n.validate,r.validate=function(e,t){let n=e.slice(t);return s.test(n)?n.match(s)[0].length:0}}else ta(n.validate)?r.validate=n.validate:o(t,n);ta(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=tf();return}if("[object String]"===ts(n))return void i.push(t);o(t,n)}
12),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:tf()};let s=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(tl).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><ï½]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tp(e,t){let n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function tg(e,t){let n=new tp(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function tm(e,t){if(!(this instanceof tm))return new tm(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||tu.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=to({},tu,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=to({},tc,e),this.__compiled__={},this.__tlds__=td,this.__tlds_replaced__=!1,this.re={},th(this)}tm.prototype.add=function(e,t){return this.__schemas__[e]=t,th(this),this},tm.prototype.set=function(e){return this.__opts__=to(this.__opts__,e),this},tm.prototype.test=function(e){let t,n,r,i,o,s,a,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},tm.prototype.pretest=function(e){return this.re.pretest.test(e)},tm.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},tm.prototype.match=function(e){let t=[],n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(tg(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(tg(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},tm.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,tg(this,0)):null},tm.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),th(this),this},tm.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},tm.prototype.onCompile=function(){};let ty=/^xn--/,tb=/[^\0-\x7F]/,tv=/[\x2E\u3002\uFF0E\uFF61]/g,tw={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},t_=Math.floor,tx=String.fromCharCode;function tk(e){throw RangeError(tw[e])}function tE(e,t){let n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(tv,".")).split("."),t).join(".")}let tA=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},tS=function(e,t,n){let r=0;for(e=n?t_(e/700):e>>1,e+=t_(e/t);e>455;r+=36)e=t_(e/35);return t_(r+36*e/(e+38))},tC=function(e){let t=[],n=e.length,r=0,i=128,o=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n<s;++n)e.charCodeAt(n)>=128&&tk("not-basic"),t.push(e.charCodeAt(n));for(let l=s>0?s+1:0;l<n;){let s=r;for(let t=1,i=36;;i+=36){var a;l>=n&&tk("invalid-input");let s=(a=e.charCodeAt(l++))>=48&&a<58?26+(a-48):a>=65&&a<91?a-65:a>=97&&a<123?a-97:36;s>=36&&tk("invalid-input"),s>t_((0x7fffffff-r)/t)&&tk("overflow"),r+=s*t;let u=i<=o?1:i>=o+26?26:i-o;if(s<u)break;let c=36-u;t>t_(0x7fffffff/c)&&tk("overflow"),t*=c}let u=t.length+1;o=tS(r-s,u,0==s),t_(r/u)>0x7fffffff-i&&tk("overflow"),i+=t_(r/u),r%=u,t.splice(r++,0,i)}return String.fromCodePoint(...t)},tI=function(e){let t=[],n=(e=function(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(64512&r)==56320?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,r=128,i=0,o=72;for(let n of e)n<128&&t.push(tx(n));let s=t.length,a=s;for(s&&t.push("-");a<n;){let n=0x7fffffff;for(let t of e)t>=r&&t<n&&(n=t);let l=a+1;for(let u of(n-r>t_((0x7fffffff-i)/l)&&tk("overflow"),i+=(n-r)*l,r=n,e))if(u<r&&++i>0x7fffffff&&tk("overflow"),u===r){let e=i;for(let n=36;;n+=36){let r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;let i=e-r,s=36-r;t.push(tx(tA(r+i%s,0))),e=t_(i/s)}t.push(tx(tA(e,0))),o=tS(i,l,a===s),i=0,++a}++i,++r}return t.join("")},tT={toASCII:function(e){return tE(e,function(e){return tb.test(e)?"xn--"+tI(e):e})},toUnicode:function(e){return tE(e,function(e){return ty.test(e)?tC(e.slice(4).toLowerCase()):e})}},tO={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:100},components:{core:{},block:{}
12,inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tR=/^(vbscript|javascript|file|data):/,tD=/^data:image\/(gif|png|jpeg|webp);/;function tj(e){let t=e.trim().toLowerCase();return!tR.test(t)||tD.test(t)}let tM=["http:","https:","mailto:"];function tN(e){let t=j(e,!0);if(t.hostname&&(!t.protocol||tM.indexOf(t.protocol)>=0))try{t.hostname=tT.toASCII(t.hostname)}catch(e){}return _(x(t))}function tF(e){let t=j(e,!0);if(t.hostname&&(!t.protocol||tM.indexOf(t.protocol)>=0))try{t.hostname=tT.toUnicode(t.hostname)}catch(e){}return b(x(t),b.defaultChars+"%")}function t$(e,t){if(!(this instanceof t$))return new t$(e,t);t||X(e)||(t=e||{},e="default"),this.inline=new ti,this.block=new eQ,this.core=new eU,this.renderer=new eS,this.linkify=new tm,this.validateLink=tj,this.normalizeLink=tN,this.normalizeLinkText=tF,this.utils=f,this.helpers=ee({},h),this.options={},this.configure(e),t&&this.set(t)}function tP(){var e=12;let t=tL();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,n)=>e+t[n],"").slice(0,e)}t$.prototype.set=function(e){return ee(this.options,e),this},t$.prototype.configure=function(e){let t=this;if(X(e)){let t=e;if(!(e=tO[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[
12n].ruler2.enableOnly(e.components[n].rules2)}),this},t$.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},t$.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},t$.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},t$.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},t$.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},t$.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},t$.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};let tL=(()=>{let e;return()=>{if(e)return e;e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).slice(1);return e}})(),tz=(0,p.Fc)((0,p.Jo)({})),tU=({current:e,next:t})=>(0,g.n2)(e)&&(0,g.n2)(t)?` 13`:(0,g.IG)(e)&&(0,g.IG)(t)&&"blockquote"===e.style&&"blockquote"===t.style?` 14> 15`:` 16 17`;function tB(e){return e.replace(/([[\]\\])/g,"\\$1")}function tq(e){return e.replace(/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,"$1")}let tV={types:{},block:{normal:({children:e})=>e&&""!==e.trim()?e:"",blockquote:({children:e})=>e?e.split(` 18`).map(e=>`> ${e}`).join(` 19`):">",h1:({children:e})=>`# ${e}`,h2:({children:e})=>`## ${e}`,h3:({children:e})=>`### ${e}`,h4:({children:e})=>`#### ${e}`,h5:({children:e})=>`##### ${e}`,h6:({children:e})=>`###### ${e}`},marks:{em:({children:e})=>`_${e}_`,strong:({children:e})=>`**${e}**`,code:({children:e})=>`\`${e}\``,underline:({children:e})=>`<u>${e}</u>`,"strike-through":({children:e})=>`~~${e}~~`,link:({children:e,value:t})=>{let n=t?.href||"",r=t?.title||"";if(function(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return!0;let r=t.indexOf(":");if(-1===r||-1!==["http","https","mailto","tel"].indexOf(t.slice(0,r).toLowerCase()))return!0;let i=t.indexOf("?");if(-1!==i&&r>i)return!0;let o=t.indexOf("#");return -1!==o&&r>o}(n)){if(/["'][^"']*[<>]|[<>][^<>]*["']/.test(n)){let t=n.replace(/["<>() ]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`);return`[${tB(e)}](${t})`}return`[${tB(e)}](${n}${r?` "${r.replace(/([\\"])/g,"\\$1")}"`:""})`}return e}},listItem:({children:e,value:t,listIndex:n})=>{let r=t.listItem||"bullet",i=t.level||1;return"number"===r?`${" ".repeat(i-1)}${n??1}. ${e}`:`${" ".repeat(i-1)}- ${e}`},hardBreak:()=>` 20`,unknownType:({value:e,isInline:t})=>{let n=`\`\`\`json 21${JSON.stringify(e,null,2)} 22\`\`\``;return t?` 23${n} 24`:n},unknownMark:({children:e})=>e,unknownListItem:({children:e})=>`- ${e} 25`,unknownBlockStyle:({children:e})=>e??""};function tH(e,t={}){var n,r;let i={block:{...tV.block,...t.block},listItem:t.listItem??tV.listItem,marks:{...tV.marks,...t.marks},types:{...tV.types,...t.types},hardBreak:t.hardBreak??tV.hardBreak,unknownType:t.unknownType??tV.unknownType,unknownBlockStyle:t.unknownBlockStyle??tV.unknownBlockStyle,unknownListItem:t.unknownListItem??tV.unknownListItem,unknownMark:t.unknownMark??tV.unknownMark},o=t.blockSpacing??tU,s=(n=i,r=function(e){let t,n=new Map,r=new Map;for(let i=0;i<e.length;i++){let o=e.at(i);if(void 0===o)continue;if(o._key||(o._key=tP()),!(0,p.zS)({schema:tz},o)||void 0===o.listItem||void 0===o.level){n.clear(),t=void 0;continue}if(!t||t.listItem===o.listItem&&t.level<o.level){let e=n.get(o.listItem)??new Map;e.set(o.level,1),n.set(o.listItem,e),r.set(o._key,1),t={listItem:o.listItem,level:o.level};continue}n.forEach((e,t)=>{if(t===o.listItem)return;let n=[];e.forEach((e,t)=>{t>=o.level&&n.push(t)}
25),n.forEach(t=>{e.delete(t)})});let s=n.get(o.listItem)??new Map,a=s.get(o.level)??0;s.set(o.level,a+1),n.set(o.listItem,s),r.set(o._key,a+1),t={listItem:o.listItem,level:o.level}}return r}(e),function e(t){var i,o,s,a;let{node:l,index:u,isInline:c}=t;return(0,g.n2)(l)?function(t,i){let o=n.listItem,s=("function"==typeof o?o:o[t.listItem])||n.unknownListItem,a=(0,g.Pq)(t).map((t,n)=>e({node:t,isInline:!0,index:n})).join("");if(t.style&&"normal"!==t.style){let{listItem:n,...r}=t;a=(a=e({node:r,index:i,isInline:!1})).replace(/\n+$/,"")}return s({value:t,index:i,listIndex:t._key?r.get(t._key):void 0,isInline:!1,renderNode:e,children:a})}(l,u):(0,g.tO)(l)?function(t){let{markDef:r,markType:i,markKey:o}=t,s=n.marks[i]||n.unknownMark,a=t.children.map((t,n)=>e({node:t,index:n,isInline:!0}));return s({text:(0,g.fg)(t),value:r,markType:i,markKey:o,renderNode:e,children:a.join("")})}(l):(0,g.IG)(l)?function(t,r,i){let{_key:o,...s}=function(e){let{node:t,index:n,isInline:r,renderNode:i}=e,o=(0,g.Pq)(t).map((e,t)=>i({node:e,isInline:!0,index:t,renderNode:i}));return{_key:t._key||tP(),children:o.join(""),index:n,isInline:r,node:t}}({node:t,index:r,isInline:i,renderNode:e}),a=s.node.style||"normal";return(("function"==typeof n.block?n.block:n.block[a])||n.unknownBlockStyle)({...s,value:s.node,renderNode:e})}(l,u,c):(0,g.YA)(l)?(i=l).text===` 26`?n.hardBreak():i.text:(o=l,s=u,a=c,(n.types[o._type]??n.unknownType)({value:o,isInline:a,index:s,renderNode:e}))});return e.map((t,n)=>{let r=s({node:t,index:n,isInline:!1,renderNode:s});if(n===e.length-1)return r;let i=e.at(n+1);if(!i)return r;let a=o({current:t,next:i})??` 27 28`;return`${r}${a}`}).join("")}let tG={name:"normal"},tW={name:"h1"},tY={name:"h2"},tK={name:"h3"},tZ={name:"h4"},tX={name:"h5"},tJ={name:"h6"},tQ={name:"blockquote"},t0={name:"number"},t1={name:"bullet"},t2={name:"strong"},t3={name:"em"},t5={name:"code"},t4={name:"strike-through"},t6={name:"link",fields:[{name:"href",type:"string"},{name:"title",type:"string"}]},t8={name:"code",fields:[{name:"language",type:"string"},{name:"code",type:"string"}]},t9={name:"image",fields:[{name:"src",type:"string"},{name:"alt",type:"string"},{name:"title",type:"string"}]},t7={name:"horizontal-rule"},ne={name:"html",fields:[{name:"html",type:"string"}]},nt=(0,p.Fc)((0,p.Jo)({styles:[tG,tW,tY,tK,tZ,tX,tJ,tQ],lists:[t0,t1],decorators:[t2,t3,t5,t4],annotations:[t6],blockObjects:[t8,t7,t9,ne,{name:"table",fields:[{name:"headerRows",type:"number"},{name:"rows",type:"array"}]}],inlineObjects:[t9]}));function nn(e){return({context:t})=>{let n=t.schema.styles.find(t=>t.name===e.name);if(n)return n.name}}function nr(e){return({context:t})=>{let n=t.schema.lists.find(t=>t.name===e.name);if(n)return n.name}}function ni(e){return({context:t})=>{let n=t.schema.decorators.find(t=>t.name===e.name);if(n)return n.name}}function no(e){return({context:t,value:n,isInline:r})=>{let i=(r?t.schema.inlineObjects:t.schema.blockObjects).find(t=>t.name===e.name);if(!i)return;let o=i.fields.reduce((e,t)=>{let r=n[t.name];return void 0!==r&&(e[t.name]=r),e},{});return{_key:t.keyGenerator(),_type:i.name,...o}}}let ns={block:{normal:nn(tG),blockquote:nn(tQ),h1:nn(tW),h2:nn(tY),h3:nn(tK),h4:nn(tZ),h5:nn(tX),h6:nn(tJ)},listItem:{number:nr(t0),bullet:nr(t1)},marks:{strong:ni(t2),em:ni(t3),code:ni(t5),strikeThrough:ni(t4),link:({context:e,value:t})=>{let n=e.schema.annotations.find(e=>e.name===t6.name);if(!n)return;let r=n.fields.reduce((e,n)=>{let r=t[n.name];return void 0!==r&&(e[n.name]=r),e},{});return{_key:e.keyGenerator(),_type:n.name,...r}}},types:{code:({context:e,value:t,isInline:n})=>{let r=no(t8)({context:e,value:t,isInline:n});if(r&&"code"in r)return r},horizontalRule:no(t7),html:no(ne),image:({context:e,value:t,isInline:n})=>{let r=no(t9)({context:e,value:t,isInline:n});if(r&&"src"in r)return r}}};function na(e,t){for(let n of e.rows)for(let e of n.cells)for(let n of e.value)t.push(n)}function nl(e,t){let n={schema:t?.schema??nt,keyGenerator:t?.keyGenerator??tP,html:{inline:t?.html?.inline??"skip"},marks:{...ns.marks,...t?.marks},block:{...ns.block,...t?.block},listItem:{...ns.listItem,...t?.listItem},types:{...ns.types,...t?.types}},r=t$({html:!0,linkify:!0,typographer:!0}).enable(["strikethrough","table"]).parse(e,{}),i=[],o=null,s=[],a=[],l=[],u=null,c=!1,d=null,f=null,h=!1,g=e=>{m(),o={_type:"block",style:e,children:[],_key:n.keyGenerator(),markDefs:[]},l=[]},m=()=>
28{o&&(0===o.children.length&&o.children.push({_type:n.schema.span.name,_key:n.keyGenerator(),text:"",marks:[]}),o.markDefs=l,i.push(o),o=null,l=[])},y=e=>{if(0===e.length)return;if(!o){let e=u??n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal"))}if(!o)throw Error("Expected current block");let t=o.children.at(-1);(0,p.bl)({schema:n.schema},t)&&t.marks?.every(e=>a.includes(e))&&a.every(e=>t.marks?.includes(e))?t.text+=e:o.children.push({_type:n.schema.span.name,_key:n.keyGenerator(),text:e,marks:[...a]})},b=e=>{if(!o){let e=u??n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal"))}if(!o)throw Error("Expected current block");(o.listItem!==e||o.level!==s.length)&&(o.listItem=e,o.level=s.length)};for(let e of r)switch(e.type){case"paragraph_open":{if(c){if(!o){let e=s.at(-1);e&&b(e)}break}let e=u??n.block.normal({context:{schema:n.schema}});if(!e){console.warn('No default style found, using "normal"'),g("normal");break}g(e);break}case"paragraph_close":if(c)break;m();break;case"heading_open":{let t=Number(e?.tag?.slice(1)),r={1:n.block.h1,2:n.block.h2,3:n.block.h3,4:n.block.h4,5:n.block.h5,6:n.block.h6}[t],i=r?.({context:{schema:n.schema}})??n.block.normal({context:{schema:n.schema}});if(!i){console.warn('No heading style found, using "normal"'),g("normal");break}g(i);break}case"heading_close":m();break;case"blockquote_open":m(),u=n.block.blockquote({context:{schema:n.schema}})??n.block.normal({context:{schema:n.schema}})??"normal";break;case"blockquote_close":m(),u=null;break;case"bullet_list_open":{let e=n.listItem.bullet({context:{schema:n.schema}});if(!e){s.push(null);break}s.push(e);break}case"ordered_list_open":{let e=n.listItem.number({context:{schema:n.schema}});if(!e){s.push(null);break}s.push(e);break}case"bullet_list_close":case"ordered_list_close":s.pop();break;case"list_item_open":{let e=s.at(-1);if(void 0===e)throw Error("Expected an open list");if(o&&m(),null===e){let e=u??n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal")),c=!0;break}b(e),c=!0;break}case"list_item_close":c=!1,m();break;case"fence":{m();let t=e.info.trim()||void 0,r=e.content.replace(/\n$/,""),o=n.types.code({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{language:t,code:r},isInline:!1});if(!o){let e=n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal")),y(r),m();break}i.push(o);break}case"hr":{m();let e=n.types.horizontalRule({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{},isInline:!1});if(!e){let e=n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal")),y("---"),m();break}i.push(e);break}case"html_block":{m();let t=e.content.trim();if(!t)break;let r=n.types.html({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{html:t},isInline:!1});if(!r){let e=n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal")),y(t),m();break}i.push(r);break}case"code_block":{m();let t=e.content.replace(/\n$/,""),r=n.types.code({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{language:void 0,code:t},isInline:!1});if(r)i.push(r);else{let e=n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal")),y(t),m()}break}case"table_open":m(),d={rows:[],headerRows:0};break;case"table_close":if(!d)break;if(n.types.table){let e=n.types.table({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{rows:d.rows,headerRows:d.headerRows>0?d.headerRows:void 0},isInline:!1});e?i.push(e):na(d,i)}else na(d,i);d=null;break;case"thead_open":h=!0;break;case"thead_close":h=!1;break;case"tbody_open":case"tbody_close":break;case"tr_open":f=[];break;case"tr_close":d&&f&&(d.rows.push({_key:n.keyGenerator(),_type:"row",cells:f}),h&&d.headerRows++),f=null;break;case"th_open":case"td_open":{let e=n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal"));break}
28case"th_close":case"td_close":{m();let e=[];if(i.length>0){let t=i.at(-1);t&&"block"===t._type&&e.push(i.pop())}0===e.length&&e.push({_type:"block",style:n.block.normal({context:{schema:n.schema}})||"normal",children:[{_type:n.schema.span.name,_key:n.keyGenerator(),text:"",marks:[]}],_key:n.keyGenerator(),markDefs:[]});let t=e[0];if(1===e.length&&t&&"block"===t._type&&"children"in t&&Array.isArray(t.children)&&1===t.children.length){let r=t.children[0];"object"==typeof r&&null!==r&&"_type"in r&&r._type!==n.schema.span.name&&"image"===r._type&&(e[0]=r)}null!==f&&f.push({_type:"cell",_key:n.keyGenerator(),value:e});break}case"inline":{let t=null!==f;if(e.children?.length===1&&e.children[0]?.type==="image"){let r=e.children[0];if(!r)break;let a=r.attrs?.find(([e])=>"src"===e)?.at(1)||"",u=tq(r.content||""),d=r.attrs?.find(([e])=>"title"===e)?.at(1)||void 0,f=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:a,alt:u,title:d},isInline:!1});if(f){t?o&&"children"in o&&o.children.push(f):(o&&"children"in o&&o.children.length>0?m():(o=null,l=[]),i.push(f));break}let h=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:a,alt:u,title:d},isInline:!0});if(h){if(!o)if(c){let e=s.at(-1);e&&b(e)}else{let e=n.block.normal({context:{schema:n.schema}});e&&g(e)}o&&"children"in o&&o.children.push(h);break}y(``);break}for(let r of e.children??[])switch(r.type){case"text":y(r.content);break;case"softbreak":case"hardbreak":y(` 29`);break;case"code_inline":{let e=n.marks.code({context:{schema:n.schema}});if(!e){y(r.content);break}a.push(e),y(r.content);let t=a.lastIndexOf(e);-1!==t&&a.splice(t,1);break}case"strong_open":{let e=n.marks.strong({context:{schema:n.schema}});if(!e)break;a.push(e);break}case"strong_close":{let e=n.marks.strong({context:{schema:n.schema}});if(!e)break;let t=a.lastIndexOf(e);-1!==t&&a.splice(t,1);break}case"em_open":{let e=n.marks.em({context:{schema:n.schema}});if(!e)break;a.push(e);break}case"em_close":{let e=n.marks.em({context:{schema:n.schema}});if(!e)break;let t=a.lastIndexOf(e);-1!==t&&a.splice(t,1);break}case"s_open":{let e=n.marks.strikeThrough({context:{schema:n.schema}});if(!e)break;a.push(e);break}case"s_close":{let e=n.marks.strikeThrough({context:{schema:n.schema}});if(!e)break;let t=a.lastIndexOf(e);-1!==t&&a.splice(t,1);break}case"link_open":{let e=r.attrs?.find(([e])=>"href"===e)?.at(1);if(!e)break;let t=r.attrs?.find(([e])=>"title"===e)?.at(1),i=n.marks.link({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{href:e,title:t}});if(!i)break;l.push(i),a.push(i._key);break}
29case"link_close":{let e,t=new Set(l.map(e=>e._key));for(let n of a.reverse())if(t.has(n)){e=a.indexOf(n);break}if(void 0!==e){let t=a.length-1-e;a.splice(t,1)}break}case"image":{let e=r.attrs?.find(([e])=>"src"===e)?.at(1)||"",s=tq(r.content||""),a=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:e,alt:s,title:void 0},isInline:!0});if(a){if(!o){let e=n.block.normal({context:{schema:n.schema}});e?g(e):(console.warn('No default style found, using "normal"'),g("normal"))}if(!o)throw Error("Expected current block after startBlock");o.children.push(a);break}let l=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:e,alt:s,title:void 0},isInline:!1});if(!l){y(``);break}if(t){o&&"children"in o&&o.children.push(l);break}m(),i.push(l);let u=n.block.normal({context:{schema:n.schema}});u&&g(u);break}case"html_inline":"text"===n.html.inline&&y(r.content)}}}return m(),i}},41338:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(45037),i=n(8286),o=n(47211);function s(e,t){return new r.c(function(n){var r=e(),s=t(r);return(s?(0,i.Tg)(s):o.w).subscribe(n),function(){r&&r.unsubscribe()}})}},41413:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(47211),i=n(96948),o=n(28400),s=n(8286),a=n(25259);function l(e){var t,n,l=1/0;return null!=e&&("object"==typeof e?(l=void 0===(t=e.count)?1/0:t,n=e.delay):l=e),l<=0?function(){return r.w}:(0,i.N)(function(e,t){var r,i=0,u=function(){if(null==r||r.unsubscribe(),r=null,null!=n){var e="number"==typeof n?(0,a.O)(n):(0,s.Tg)(n(i)),l=(0,o._)(t,function(){l.unsubscribe(),c()});e.subscribe(l)}else c()},c=function(){var n=!1;r=e.subscribe((0,o._)(t,void 0,function(){++i<l?r?u():n=!0:t.complete()})),n&&u()};c()})}},41449:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>l,yU:()=>a,Uv:()=>u});var r=n(71450),i=n(39097),o=(0,n(10899).L)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}),s=n(12668),a=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,n,s,a,l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var u=(0,r.Ju)(l),d=u.next();!d.done;d=u.next())d.value.remove(this)}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}else l.remove(this);var f=this.initialTeardown;if((0,i.T)(f))try{f()}catch(e){a=e instanceof o?e.errors:[e]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var p=(0,r.Ju)(h),g=p.next();!g.done;g=p.next()){var m=g.value;try{c(m)}catch(e){a=null!=a?a:[],e instanceof o?a=(0,r.fX)((0,r.fX)([],(0,r.zs)(a)),(0,r.zs)(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(n)throw n.error}}}if(a)throw new o(a)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)c(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(n=this._finalizers)?n:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,s.o)(t,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&(0,s.o)(n,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),l=a.EMPTY;function u(e){return e instanceof a||e&&"closed"in e&&(0,i.T)(e.remove)&&(0,i.T)(e.add)&&(0,i.T)(e.unsubscribe)}function c(e){(0,i.T)(e)?e():e.unsubscribe()}},41789:(e,t,n)=>{"use strict";let r=n(240),i=n(76353),o=n(18252);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n)||(n=new r("0.0.0-0"),e.test(n)))return n;n=null;for(let t=0;t<e.set.length;++t){let i=e.set[t],s=null;i.forEach(e=>{let t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!s||o(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),s&&(!n||o(n,s))&&(n=s)}return n&&e.test(n)?n:null}},42120:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setSeconds(0,0),n}},42421:(e,t,n)=>{"use strict";function r(e){return e instanceof Date&&!isNaN(e)}n.d(t,{v:()=>r})}
29,42493:(e,t,n)=>{var r=n(14638);e.exports=function(e){return function(t){return r(t,e)}}},42557:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},42642:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}},42764:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(96948),i=n(28400);function o(e,t){return(0,r.N)(function(n,r){var o=0;n.subscribe((0,i._)(r,function(n){return e.call(t,n,o++)&&r.next(n)}))})}},42979:(e,t,n)=>{var r=n(29514),i=n(17719),o=n(69568),s=n(45645),a=n(32499),l=n(80942),u=n(37183),c="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",g=u(r),m=u(i),y=u(o),b=u(s),v=u(a),w=l;(r&&w(new r(new ArrayBuffer(1)))!=p||i&&w(new i)!=c||o&&w(o.resolve())!=d||s&&w(new s)!=f||a&&w(new a)!=h)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return p;case m:return c;case y:return d;case b:return f;case v:return h}return t}),e.exports=w},43161:(e,t,n)=>{var r=n(70300),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},43198:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(71450),i=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n.closed||t.next(this._value),n},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,n=this._value;if(e)throw t;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(31536).B)},43279:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(96948),i=n(28400),o=n(8286),s=n(34793);function a(e){return(0,r.N)(function(t,n){(0,o.Tg)(e).subscribe((0,i._)(n,function(){return n.complete()},s.l)),n.closed||t.subscribe(n)})}},43291:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3175);let i=function(e){return(null==e?0:e.length)?(0,r.A)(e,1):[]}},43409:(e,t,n)=>{"use strict";let r=n(95934);e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},43475:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(31536),i=function(e){return e};function o(e){void 0===e&&(e=i);var t=new r.B;return[t.pipe(e),function(e){return t.next(e)}]}},43538:(e,t,n)=>{"use strict";n.d(t,{qf:()=>l,d4:()=>c});var r=n(39860),i=r.useLayoutEffect,o=n(24933),s=n(8828);n(14806);let a=(e,t)=>{t(e);let n=e.getSnapshot().children;n&&Object.values(n).forEach(e=>{a(e,t)})};function l(e,...[t,n]){let s=function(e,...[t]){let[[n,s],a]=(0,r.useState)(()=>{let n=(0,o.c)(e,t);return[e.config,n]});if(e.config!==n){let n=(0,o.c)(e,{...t,snapshot:s.getPersistedSnapshot({__unsafeAllowInlineActors:!0})});a([e.config,n]),s=n}return i(()=>{s.logic.implementations=e.implementations}),s}(e,t);return(0,r.useEffect)(()=>{if(!n)return;let e=s.subscribe((0,o.w)(n));return()=>{e.unsubscribe()}},[n]),(0,r.useEffect)(()=>(s.start(),()=>{let e=[];a(s,t=>{e.push([t,t.getSnapshot()]),t.observers=new Set});let t=s.system.getSnapshot?.();s.stop(),s.system._snapshot=t,e.forEach(([e,t])=>{e._processingStatus=0,e._snapshot=t})}),[s]),s}function u(e,t){return e===t}function c(e,t,n=u){let i=(0,r.useCallback)(t=>{if(!e)return()=>{};let{unsubscribe:n}=e.subscribe(t);return n},[e]),o=(0,r.useCallback)(()=>e?.getSnapshot(),[e]);return(0,s.useSyncExternalStoreWithSelector)(i,o,o,t,n)}},43539:e=>{e.exports=function(e){return this.__data__.has(e)}},43734:(e,t,n)=>{"use strict";n.d(t,{ZC:()=>f,iD:()=>h,qm:()=>p,E6:()=>g,Yi:()=>m,VN:()=>b,_x:()=>y,RU:()=>v,fG:()=>w,ZU:()=>_,ki:()=>x,eP:()=>k,pn:()=>E,io:()=>A,lG:()=>S,AR:()=>C,F8:()=>I,Uc:()=>T,CZ:()=>O,DR:()=>R,Nj:()=>D,Pq:()=>j,HU:()=>M,YI:()=>N,k5:()=>F,Bk:()=>$,Fi:()=>P,YW:()=>L,pz:()=>z,Pc:()=>U,vV:()=>B,NU:()=>q,q4:()=>V,xh:()=>H,xP:()=>G,sj:()=>W,qL:()=>Y,RA:()=>K,pd:()=>Z,EM:()=>X,HP:()=>J,U6:()=>Q,dv:()=>ee,BY:()=>et,qT:()=>en,Eb:()=>er,OD:()=>ei,_U:()=>eo,l4:()=>ea,A3:()=>el,ht:()=>eu,rf:()=>ec,u2:()=>ed,UN:()=>ef,tt:()=>eh,rr:()=>eg,ov:()=>ep,cr:()=>em,DA:()=>ey,Re:()=>eb,JQ:()=>ev,Pn:()=>e_,DU:()=>ex,N8:()=>ek,Q$:()=>eE,HJ:()=>eA,zA:()=>eS,Nv:()=>eC,iS:()=>eI,Zk:()=>eO,Ng:()=>eT,qI:()=>eR,z_:()=>eD,o7:()=>ej,NI:()=>eM,Ni:()=>eN,oo:()=>eF,OP:()=>e$,KH:()=>eP,lH:()=>eL,DI:()=>ez,Zb:()=>eU,Gt:()=>ew,sF:()=>eB,JW:()=>eq,S$:()=>eV,b_:()=>eH,b1:()=>eG,vu:()=>eW,dY:()=>eY,hK:()=>eK,zp:()=>eZ,WB:()=>eX,SR:()=>eJ});var r=n(39860),i=n(63119);let o="https://www.sanity.io/help/missing-context-error";function s(e,t){let n=Symbol.for(e);
29if(typeof document>"u"||"u">typeof window&&"u">typeof window.navigator&&window.navigator.userAgent.includes("jsdom")){let n=(0,r.createContext)(t);return n.displayName=e,n}if(l[n]){if(l[n].version!==i.s)throw TypeError(`Duplicate instances of context "${e}" with incompatible versions detected: Expected ${i.s} but got ${l[n].version}. 30 31For more information, please visit ${o}`);a.has(i.s)||(console.warn(`Duplicate instances of context "${e}" detected. This is likely a mistake and may cause unexpected behavior. 32 33For more information, please visit ${o}`),a.add(i.s))}else l[n]={context:(0,r.createContext)(t),version:i.s};return l[n].context}let a=new Set,l=function(){if("u">typeof globalThis)return globalThis;if("u">typeof window)return window;if("u">typeof self)return self;if("u">typeof global)return global;throw Error("sanity: could not locate global scope")}();var u=n(43198),c=n(9784),d=n(63056);let f=s("sanity/_singletons/context/active-workspace-matcher",null),h=s("sanity/_singletons/context/addon-dataset",null),p=s("sanity/_singletons/context/app-id-cache",null),g=s("sanity/_singletons/context/asset-limit-upsell",null),m=s("sanity/_singletons/context/calendar",void 0),y=s("sanity/_singletons/context/change-indicator-tracker-store",null),b=s("sanity/_singletons/context/change-indicator-tracker-get-snapshot",null),v=s("sanity/_singletons/context/color-scheme-set-value",null),w=s("sanity/_singletons/context/color-scheme-value",null),_=s("sanity/_singletons/context/comment-input",null),x=s("sanity/_singletons/context/comments-authoring-path",null),k=s("sanity/_singletons/context/comments",null),E=s("sanity/_singletons/context/comments-enabled",{enabled:!1,mode:null}),A=s("sanity/_singletons/context/comments-intent",void 0),S=s("sanity/_singletons/context/comments-onboarding",null),C=s("sanity/_singletons/context/comments-selected-path",null),I=s("sanity/_singletons/context/comments-upsell",null),T=s("sanity/_singletons/context/copy-paste",null),O=s("sanity/_singletons/context/dialog-stack",null),R=s("sanity/_singletons/context/diff",{path:[]}),D=s("sanity/_singletons/context/document-action-props",void 0),j=s("sanity/_singletons/context/actions-state",null),M=s("sanity/_singletons/context/document-change",null),N=s("sanity/_singletons/context/document-field-actions",null),F=s("sanity/_singletons/context/document-id",null),$=s("sanity/_singletons/context/document-limit-upsell",null),P=s("sanity/_singletons/context/document-pane",null),L=s("sanity/_singletons/context/document-sheet-list",void 0),z=s("sanity/_singletons/context/enhanced-object-dialog-enabled",{enabled:!1,legacyEditing:!1}),U=s("sanity/_singletons/context/events",null),B=s("sanity/_singletons/context/field-actions",{actions:[],focused:!1,hovered:!1,__internal_slot:void 0,__internal_comments:void 0,onMouseEnter:()=>{},onMouseLeave:()=>{}}),q=s("sanity/_singletons/context/form-builder",null),V=s("sanity/_singletons/context/form-callbacks",null),H=s("sanity/_singletons/context/form-field-presence",[]),G=s("sanity/_singletons/context/form-value",null),W=s("sanity/_singletons/context/free-trial",void 0),Y=s("sanity/_singletons/context/fullscreen-pte",{getFullscreenPath:()=>{},setFullscreenPath:()=>{},hasAnyFullscreen:()=>!1,allFullscreenPaths:[]}),K=s("sanity/_singletons/context/get-form-value",null),Z=s("sanity/_singletons/context/hovered-field",{store:{subscribe:()=>()=>{},getSnapshot:()=>[]},onMouseEnter:()=>{},onMouseLeave:()=>{}}),X=s("sanity/_singletons/context/is-last-pane",!1),J=s("sanity/_singletons/context/live-user-application",{userApplication:void 0,isLoading:!0}),Q=s("sanity/_singletons/context/locale",void 0),ee=s("sanity/_singletons/context/media-library",null),et=s("sanity/_singletons/context/mention-user",null),en=s("sanity/_singletons/context/navbar",{onSearchFullscreenOpenChange:()=>"",onSearchOpenChange:()=>"",searchFullscreenOpen:!1,searchFullscreenPortalEl:null,searchOpen:!1}),er=s("sanity/_singletons/context/package-version-info",{isAutoUpdating:!1,checkForUpdates:()=>{},get currentVersion(){throw Error("PackageVersionInfoContext not provided")},versionCheckStatus:{lastCheckedAt:null,checking:!1}}),ei=s("sanity/_singletons/context/pane",null),eo=s("sanity/_singletons/context/pane-layout",null);function es(){throw Error("Pane is missing router context")}let ea=s("sanity/_singletons/context/pane-router",{index:0,groupIndex:0,siblingIndex:0,payload:void 0,params:{},hasGroupSiblings:!1,groupLength:0,routerPanesState:[],BackLink:()=>es(),ChildLink:()=>es(),ReferenceChildLink:()=>es(),handleEditReference:()=>es(),ParameterizedLink:()=>es(),replaceCurrent:()=>es(),closeCurrentAndAfter:()=>es(),closeCurrent:()=>es(),duplicateCurrent:()=>
33es(),setView:()=>es(),setParams:()=>es(),setPayload:()=>es(),navigateIntent:()=>es(),createPathWithParams:()=>es()}),el=s("sanity/_singletons/context/perspective-context",null),eu=s("sanity/_singletons/context/portable-text-markers",[]),ec=s("sanity/_singletons/context/portable-text-member-item-element-refs",new u.t({})),ed=s("sanity/_singletons/context/portable-text-member-items",[]),ef=s("sanity/_singletons/context/portable-text-member-schema-types",null),eh=s("sanity/_singletons/context/presence",[]),ep=s("sanity/_singletons/context/presence-tracker-store",null),eg=s("sanity/_singletons/context/presence-tracker-get-snapshot",null),em=(s("sanity/_singletons/context/presentation",null),s("sanity/_singletons/context/presentation/displayed-document",null),s("sanity/_singletons/context/presentation/document",null),s("sanity/_singletons/context/presentation/navigate",null),s("sanity/_singletons/context/presentation/panels",null),s("sanity/_singletons/context/presentation/params",null),s("sanity/_singletons/context/presentation/shared-state",null),s("sanity/_singletons/context/preview-card",{selected:!1})),ey=s("sanity/_singletons/context/reference-input-options",{}),eb=s("sanity/_singletons/context/reference-item-ref",null),ev=s("sanity/_singletons/context/releases-metadata",null),ew=s("sanity/_singletons/context/releases-table",null),e_=s("sanity/_singletons/context/releases-upsell",null),ex=s("sanity/_singletons/context/resolved-panes",null);function ek(e){let t,n=(0,d.c)(3),{children:r,value:i}=e;return n[0]!==r||n[1]!==i?(t=(0,c.jsx)(ex.Provider,{value:i,children:r}),n[0]=r,n[1]=i,n[2]=t):t=n[2],t}let eE=s("sanity/_singletons/context/resource-cache",null),eA=s("sanity/_singletons/context/review-changes",{onOpenReviewChanges:()=>{},onSetFocus:()=>{},isReviewChangesOpen:!1,isInteractive:!0}),eS=s("sanity/_singletons/context/router",null),eC=s("sanity/_singletons/context/router-history",null),eI=s("sanity/_singletons/context/start-in-create-enabled",{startInCreateEnabled:!1}),eT=s("sanity/_singletons/context/scheduled-publishing-enabled",{enabled:!1,mode:null,hasUsedScheduledPublishing:{used:!1,loading:!1}}),eO=s("sanity/_singletons/context/schedule-publish-upsell",{upsellData:null,handleOpenDialog:()=>null,handleClose:()=>null,upsellDialogOpen:!1,telemetryLogs:{dialogSecondaryClicked:()=>null,dialogPrimaryClicked:()=>null,panelViewed:()=>null,panelDismissed:()=>null,panelPrimaryClicked:()=>null,panelSecondaryClicked:()=>null}}),eR=s("sanity/_singletons/context/schedules",void 0),eD=s("sanity/_singletons/context/scroll",null),ej=s("sanity/_singletons/context/search",void 0),eM=s("sanity/_singletons/context/selected-annotations",null),eN=s("sanity/_singletons/context/single-doc-release-context",null),eF=s("sanity/_singletons/context/single-doc-release-enabled",{enabled:!1,mode:null}),e$=s("sanity/_singletons/context/single-doc-release-upsell",{upsellData:null,handleOpenDialog:()=>null,handleClose:()=>null,upsellDialogOpen:!1,telemetryLogs:{dialogSecondaryClicked:()=>null,dialogPrimaryClicked:()=>null,panelViewed:()=>null,panelDismissed:()=>null,panelPrimaryClicked:()=>null,panelSecondaryClicked:()=>null}}),eP=s("sanity/_singletons/context/sortable-item-id",null),eL=s("sanity/_singletons/context/source",null),ez=s("sanity/_singletons/context/structure-tool",null),eU=s("sanity/_singletons/context/studioAnnouncements",void 0),eB=s("sanity/_singletons/context/tasks",null),eq=s("sanity/_singletons/context/tasks-enabled",{enabled:!1,mode:null}),eV=s("sanity/_singletons/context/tasks-navigation",null),eH=s("sanity/_singletons/context/tasks-upsell",null),eG=s("sanity/_singletons/context/user-application-cache",null),eW=s("sanity/_singletons/context/user-color-manager",null),eY=s("sanity/_singletons/context/validation",[]),eK=s("sanity/_singletons/context/virtualizer-scroll-instance",null),eZ=s("sanity/_singletons/context/workspace",null),eX=s("sanity/_singletons/context/workspaces",null),eJ=s("sanity/_singletons/context/z-index",{navbar:200,navbarPopover:5e5,navbarDialog:500001,pane:100,paneHeader:[110,15e3],paneFooter:[120,2e4],paneResizer:[130,25e3],paneDialog:[140,5e3],popover:200,modal:200,movingItem:1e4,drawershade:1e6,drawer:1000001,fullscreen:12e5,toast:[100,11e3],portal:200,dropdown:200,navbarFixed:1010,fullscreenEdit:1050,popoverBackgroun
33d:1060,tooltip:200,modalBackground:2e3,spinner:3e3})},43756:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(45037),i=n(34793),o=new r.c(i.l)},43790:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>r(t,e,n)},43881:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1407),i=0;let o=function(e){var t=++i;return(0,r.A)(e)+t}},44092:(e,t,n)=>{"use strict";n.d(t,{T:()=>C});var r=n(27122),i=n(86001),o=n(54845),s=n(11506),a=n(96939),l=n(65359),u=n(25030),c=n(78419),d=n(27627),f=n(61571),h=n(58409),p=n(86334),g=n(9525),m=n(18975),y=n(363),b=n(66714);let v=(0,c._C)(()=>({name:"BrowserSession",setupOnce(){if(void 0===g.jf.document){p.T&&a.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,r.J0)({ignoreDuration:!0}),(0,r.J5)(),(0,b._)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())})}}));var w=n(45993),_=n(87267),x=n(49759),k=n(74449),E=n(71674),A=n(38698),S=n(39860);function C(e){let t={...e};return(0,A.K)(t,"react"),(0,r.o)("react",{version:S.version}),function(e={}){let t=function(e={}){let t={defaultIntegrations:function(e){let t=[(0,i.D)(),(0,o.Z)(),(0,y.G)(),(0,m.F)(),(0,w.L)(),(0,x.p)(),(0,s.s)(),(0,_.M)()];return!1!==e.autoSessionTracking&&t.push(v()),t}(e),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:g.jf.SENTRY_RELEASE&&g.jf.SENTRY_RELEASE.id?g.jf.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(!t.skipBrowserExtensionCheck&&function(){let e=void 0!==g.jf.window&&g.jf;if(!e)return!1;let t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,i=g.jf.location&&g.jf.location.href||"",o=!!r&&g.jf===g.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>i.startsWith(`${e}//`)),s=void 0!==e.nw;return!!r&&!o&&!s}())return void(0,a.pq)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});p.T&&!(0,l.vm)()&&a.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");let n={...t,stackParser:(0,u.vk)(t.stackParser||k.lG),integrations:(0,c.mH)(t),transport:t.transport||E._};var r,b=h.y;!0===n.debug&&(f.T?a.vF.enable():(0,a.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,d.o5)().update(n.initialScope);let A=new b(n);return r=A,(0,d.o5)().setClient(r),A.init(),A}(t)}},44099:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(71851),i=n(62308).A["__core-js_shared__"],o=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),s=n(33476),a=n(88216),l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let h=function(e){return!!(0,s.A)(e)&&(!o||!(o in e))&&((0,r.A)(e)?f:l).test((0,a.A)(e))},p=function(e,t){var n=null==e?void 0:e[t];return h(n)?n:void 0}},44289:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(71450),i=n(91239),o=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=i.U.now,e}(),s=function(e){function t(t,n){void 0===n&&(n=o.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return(0,r.C6)(t,e),t.prototype.flush=function(e){var t,n=this.actions;if(this._active)return void n.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,t){for(;e=n.shift();)e.unsubscribe();throw t}},t}(o)},44321:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(33476),i=Object.create;let o=function(){function e(){}return function(t){if(!(0,r.A)(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}()}
33,44333:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(91436),i=n(39097);function o(e,t){return(0,i.T)(t)?(0,r.n)(function(){return e},t):(0,r.n)(function(){return e})}},44764:(e,t,n)=>{"use strict";var r=n(87358);e.exports="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{}},45037:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var r=n(28786),i=n(41449),o=n(60488),s=n(89577),a=n(29846),l=n(39097),u=n(75968),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this,s=!function(e){return e&&e instanceof r.vU||e&&(0,l.T)(e.next)&&(0,l.T)(e.error)&&(0,l.T)(e.complete)&&(0,i.Uv)(e)}(e)?new r.Ms(e,t,n):e;return(0,u.Y)(function(){var e=o.operator,t=o.source;s.add(e?e.call(s,t):t?o._subscribe(s):o._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,i){var o=new r.Ms({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[o.s]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,s.m)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!=(t=null!=e?e:a.$.Promise)?t:Promise}},45240:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(4168);function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];let o=r.w.bind(null,e||n.find(e=>"object"==typeof e));return n.map(o)}},45443:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=Math.ceil,i=Math.max;let o=function(e,t,n,o){for(var s=-1,a=i(r((t-e)/(n||1)),0),l=Array(a);a--;)l[o?a:++s]=e,e+=n;return l};var s=n(49881),a=n(83001);let l=function(e,t,n){return n&&"number"!=typeof n&&(0,s.A)(e,t,n)&&(t=n=void 0),e=(0,a.A)(e),void 0===t?(t=e,e=0):t=(0,a.A)(t),n=void 0===n?e<t?1:-1:(0,a.A)(n),o(e,t,n,void 0)}},45545:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(43291),i=n(25844),o=n(3472);let s=function(e){return(0,o.A)((0,i.A)(e,void 0,r.A),e+"")}},45579:function(e,t){var n;!function(r){"use strict";var i={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"Ae",Ã
:"A",Ã:"AE",Ã:"C",Ã:"E",Ã:"E",Ã:"E",Ã:"E",Ã:"I",Ã:"I",Ã:"I",Ã:"I",Ã:"D",Ã:"N",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"Oe",Å:"O",Ã:"O",Ã:"U",Ã:"U",Ã:"U",Ã:"Ue",Ű:"U",Ã:"Y",Ã:"TH",Ã:"ss",à :"a",á:"a",â:"a",ã:"a",ä:"ae",Ã¥:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",Ã:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",Å:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y",áº:"SS",ا:"a",Ø£:"a",Ø¥:"i",Ø¢:"aa",ؤ:"u",ئ:"e",Ø¡:"a",ب:"b",ت:"t",Ø«:"th",ج:"j",Ø:"h",Ø®:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",Ø´:"sh",ص:"s",ض:"dh",Ø·:"t",ظ:"z",ع:"a",غ:"gh",Ù:"f",Ù:"q",Ù:"k",Ù:"l",Ù
:"m",Ù:"n",Ù:"h",Ù:"w",Ù:"y",Ù:"a",Ø©:"h",ï»»:"la",ï»·:"laa",ﻹ:"lai",ﻵ:"laa",Ú¯:"g",Ú:"ch",Ù¾:"p",Ú:"zh",Ú©:"k",Û:"y","Ù":"a","Ù":"an","Ù":"e","Ù":"en","Ù":"u","Ù":"on","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9",á:"k",á:"kh",á:"g",á:"ga",á:"ng",á
:"s",á:"sa",á:"z",á
á»:"za",á:"ny",á:"t",á:"ta",á:"d",á:"da",á:"na",á:"t",á:"ta",á:"d",á:"da",á:"n",á:"p",á:"pa",á:"b",á:"ba",á:"m",á:"y",á:"ya",á:"l",á:"w",á:"th",á:"h",á :"la",á¡:"a","á¼":"y","á»":"ya","á½":"w","á¼á½":"yw","á»á½":"ywa","á¾":"h",á§:"e","á":"-e",á£:"i",á¤:"-i",á:"u",á¦:"-u",á©:"aw",áá¼á±á¬:"aw",áª:"aw","á":"0","á":"1","á":"2","á":"3","á":"4","á
":"5","á":"6","á":"7","á":"8","á":"9","á¹":"","á·":"","á¸":"",Ä:"c",Ä:"d",Ä:"e",Å:"n",Å:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Ä:"C",Ä:"D",Ä:"E",Å:"N",Å:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z",Þ:"h",Þ:"sh",Þ:"n",Þ:"r",Þ:"b",Þ
:"lh",Þ:"k",Þ:"a",Þ:"v",Þ:"m",Þ:"f",Þ:"dh",Þ:"th",Þ:"l",Þ:"g",Þ:"gn",Þ:"s",Þ:"d",Þ:"z",Þ:"t",Þ:"y",Þ:"p",Þ:"j",Þ:"ch",Þ:"tt",
33Þ:"hh",Þ:"kh",Þ:"th",Þ:"z",Þ:"sh",Þ:"s",Þ:"d",Þ :"t",Þ¡:"z",Þ¢:"a",Þ£:"gh",Þ¤:"q",Þ¥:"w","Þ¦":"a","Þ§":"aa","Þ¨":"i","Þ©":"ee","Þª":"u","Þ«":"oo","Þ¬":"e","Þ":"ey","Þ®":"o","Þ¯":"oa","Þ°":"",á:"a",á:"b",á:"g",á:"d",á:"e",á:"v",á:"z",á:"t",á:"i",á:"k",á:"l",á:"m",á:"n",á:"o",á:"p",á:"zh",á :"r",á¡:"s",á¢:"t",á£:"u",á¤:"p",á¥:"k",á¦:"gh",á§:"q",á¨:"sh",á©:"ch",áª:"ts",á«:"dz",á¬:"ts",á:"ch",á®:"kh",á¯:"j",á°:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",Ï:"p",Ï:"r",Ï:"s",Ï:"t",Ï
:"y",Ï:"f",Ï:"x",Ï:"ps",Ï:"o",ά:"a",Î:"e",ί:"i",Ï:"o",Ï:"y",ή:"i",Ï:"o",Ï:"s",Ï:"i",ΰ:"y",Ï:"y",Î:"i",Î:"A",Î:"B",Î:"G",Î:"D",Î:"E",Î:"Z",Î:"I",Î:"TH",Î:"I",Î:"K",Î:"L",Î:"M",Î:"N",Î:"KS",Î:"O",Î :"P",Ρ:"R",Σ:"S",Τ:"T",Î¥:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Î:"A",Î:"E",Î:"I",Î:"O",Î:"Y",Î:"I",Î:"O",Ϊ:"I",Ϋ:"Y",Ä:"a",Ä:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",Å:"n",Å«:"u",Ä:"A",Ä:"E",Ä¢:"G",Ī:"I",Ķ:"k",Ä»:"L",Å
:"N",Ū:"U",Ð:"Kj",Ñ:"kj",Ð:"Lj",Ñ:"lj",Ð:"Nj",Ñ:"nj",ТÑ:"Ts",ÑÑ:"ts",Ä
:"a",Ä:"c",Ä:"e",Å:"l",Å:"n",Å:"s",ź:"z",ż:"z",Ä:"A",Ä:"C",Ä:"E",Å:"L",Å:"N",Å:"S",Ź:"Z",Å»:"Z",Ð:"Ye",Ð:"I",Ð:"Yi",Ò:"G",Ñ:"ye",Ñ:"i",Ñ:"yi",Ò:"g",Ä:"a",Ä:"A",È:"s",È:"S",È:"t",È:"T",Å£:"t",Å¢:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",Ñ:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",Ñ:"r",Ñ:"s",Ñ:"t",Ñ:"u",Ñ:"f",Ñ
:"kh",Ñ:"c",Ñ:"ch",Ñ:"sh",Ñ:"sh",Ñ:"",Ñ:"y",Ñ:"",Ñ:"e",Ñ:"yu",Ñ:"ya",Ð:"A",Ð:"B",Ð:"V",Ð:"G",Ð:"D",Ð:"E",Ð:"Yo",Ð:"Zh",Ð:"Z",Ð:"I",Ð:"I",Ð:"K",Ð:"L",Ð:"M",Ð:"N",Ð:"O",Ð:"P",Ð :"R",С:"S",Т:"T",У:"U",Ф:"F",Ð¥:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Ð:"E",Ю:"Yu",Я:"Ya",Ñ:"dj",Ñ:"j",Ñ:"c",Ñ:"dz",Ð:"Dj",Ð:"j",Ð:"C",Ð:"Dz",ľ:"l",ĺ:"l",Å:"r",Ľ:"L",Ĺ:"L",Å:"R",Å:"s",Å:"S",ı:"i",İ:"I",Ä:"g",Ä:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",Ä:"d",Ä:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",á»:"e",á»:"E",á»:"e",á»:"E",á»
:"e",á»:"E",á»:"e",á»:"E",á»:"o",á»:"o",á»:"o",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",á»:"o",á»:"O",Æ¡:"o",Æ :"O",á»:"o",á»:"O",á»:"o",á»:"O",ợ:"o",Ợ:"O",ỡ:"o",á» :"O",á»:"o",á»:"o",á»:"i",á»:"I",Ä©:"i",Ĩ:"I",á»:"i",á»:"i",á»§:"u",Ủ:"U",ụ:"u",Ụ:"U",Å©:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",á»±:"u",á»°:"U",ữ:"u",á»®:"U",á»:"u",Ử:"ư",á»·:"y",á»¶:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",á»´:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",áº:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","âª":"0","â ":"1","â¡":"2","â¢":"3","â£":"4","â¤":"5","â¥":"6","â¦":"7","â§":"8","â¨":"9","â©":"10","âª":"11","â«":"12","â¬":"13","â":"14","â®":"15","â¯":"16","â°":"17","â±":"18","â²":"18","â³":"18","âµ":"1","â¶":"2","â·":"3","â¸":"4","â¹":"5","âº":"6","â»":"7","â¼":"8","â½":"9","â¾":"10","â¿":"0","â«":"11","â¬":"12","â":"13","â®":"14","â¯":"15","â°":"16","â±":"17","â²":"18","â³":"19","â´":"20","â¶":"A","â·":"B","â¸":"C","â¹":"D","âº":"E","â»":"F","â¼":"G","â½":"H","â¾":"I","â¿":"J","â":"K","â":"L","â":"M","â":"N","â":"O","â
":"P","â":"Q","â":"R","â":"S","â":"T","â":"U","â":"V","â":"W","â":"X","â":"Y","â":"Z","â":"a","â":"b","â":"c","â":"d","â":"e","â":"f","â":"g","â":"h","â":"i","â":"j","â":"k","â":"l","â":"m","â":"n","â":"o","â":"p","â ":"q","â¡":"r","â¢":"s","â£":"t","â¤":"u","â¦":"v","â¥":"w","â§":"x","â¨":"y","â©":"z","â":'"',"â":'"',"â":"'","â":"'","â":"d",Æ:"f","â¢":"(TM)","\xa9":"(C)",Å:"oe",Å:"OE","\xae":"(R)","â ":"+","â ":"(SM)","â¦":"...","Ë":"o",º:"o",ª:"a","â¢":"*","á":",","á":".",$:"USD","â¬":"EUR","â¢":"BRN","â£":"FRF","\xa3":"GBP","â¤":"ITL","â¦":"NGN","â§":"ESP","â©":"KRW","âª":"ILS","â«":"VND","â":"LAK","â®":"MNT","â¯":"GRD","â±":"ARS","â²":"PYG","â³":"ARA","â´":"UAH","âµ":"GHS","\xa2":"cent","\xa5":"CNY",å
:"CNY",å:"YEN","ï·¼":"IRR","â ":"EWE","฿":"THB","â¨":"INR","â¹":"INR","â°":"PF","âº":"TRY","Ø":"AFN","â¼":"AZN",лв:"BGN","á":"KHR","â¡":"CRC","â¸"
33:"KZT",ден:"MKD",zÅ:"PLN","â½":"RUB","â¾":"GEL"},o=["áº","Þ°"],s={"á¬":"a","á«":"a","á±":"e","á²":"e","á":"i","á®":"i","áá¯":"o","á¯":"u","á°":"u","á±á«ááº":"aung","á±á¬":"aw","á±á¬áº":"aw","á±á«":"aw","á±á«áº":"aw","áº":"áº",ááº:"et","áá¯ááº":"aik","á±á¬ááº":"auk",ááº:"in","áá¯ááº":"aing","á±á¬ááº":"aung",á
áº:"it",ááº:"i",ááº:"at","áááº":"eik","á¯ááº":"ok","á½ááº":"ut","á±ááº":"it",ááº:"d","áá¯ááº":"ok","á¯ááº":"ait",ááº:"an","á¬ááº":"an","áááº":"ein","á¯ááº":"on","á½ááº":"un",ááº:"at","áááº":"eik","á¯ááº":"ok","á½ááº":"ut",ááºá¯ááº:"nub",ááº:"an","áááº":"ein","á¯ááº":"on","á½ááº":"un",ááº:"e","áá¯ááº":"ol",ááº:"in","á¶":"an","áá¶":"ein","á¯á¶":"on","Þ¦ÞÞ°":"ah","Þ¦ÞÞ°":"ah"},a={en:{},az:{ç:"c",É:"e",Ä:"g",ı:"i",ö:"o",Å:"s",ü:"u",Ã:"C",Æ:"E",Ä:"G",İ:"I",Ã:"O",Å:"S",Ã:"U"},cs:{Ä:"c",Ä:"d",Ä:"e",Å:"n",Å:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Ä:"C",Ä:"D",Ä:"E",Å:"N",Å:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z"},fi:{ä:"a",Ã:"A",ö:"o",Ã:"O"},hu:{ä:"a",Ã:"A",ö:"o",Ã:"O",ü:"u",Ã:"U",ű:"u",Ű:"U"},lt:{Ä
:"a",Ä:"c",Ä:"e",Ä:"e",į:"i",Å¡:"s",ų:"u",Å«:"u",ž:"z",Ä:"A",Ä:"C",Ä:"E",Ä:"E",Ä®:"I",Å :"S",Ų:"U",Ū:"U"},lv:{Ä:"a",Ä:"c",Ä:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",Å:"n",Å¡:"s",Å«:"u",ž:"z",Ä:"A",Ä:"C",Ä:"E",Ä¢:"G",Ī:"i",Ķ:"k",Ä»:"L",Å
:"N",Å :"S",Ū:"u",Ž:"Z"},pl:{Ä
:"a",Ä:"c",Ä:"e",Å:"l",Å:"n",ó:"o",Å:"s",ź:"z",ż:"z",Ä:"A",Ä:"C",Ä:"e",Å:"L",Å:"N",Ã:"O",Å:"S",Ź:"Z",Å»:"Z"},sv:{ä:"a",Ã:"A",ö:"o",Ã:"O"},sk:{ä:"a",Ã:"A"},sr:{Ñ:"lj",Ñ:"nj",Ð:"Lj",Ð:"Nj",Ä:"dj",Ä:"Dj"},tr:{Ã:"U",Ã:"O",ü:"u",ö:"o"}},l={ar:{"â":"delta","â":"la-nihaya","â¥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","â":"majmou","\xa4":"omla"},az:{},ca:{"â":"delta","â":"infinit","â¥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","â":"suma dels","\xa4":"moneda"},cs:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","â":"soucet","\xa4":"mena"},de:{"â":"delta","â":"unendlich","â¥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","â":"Summe von","\xa4":"Waehrung"},dv:{"â":"delta","â":"kolunulaa","â¥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","â":"jumula","\xa4":"faisaa"},en:{"â":"delta","â":"infinity","â¥":"love","&":"and","|":"or","<":"less than",">":"greater than","â":"sum","\xa4":"currency"},es:{"â":"delta","â":"infinito","â¥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","â":"suma de los","\xa4":"moneda"},fa:{"â":"delta","â":"bi-nahayat","â¥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","â":"majmooe","\xa4":"vahed"},fi:{"â":"delta","â":"aarettomyys","â¥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","â":"summa","\xa4":"valuutta"},fr:{"â":"delta","â":"infiniment","â¥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","â":"somme des","\xa4":"monnaie"},ge:{"â":"delta","â":"usasruloba","â¥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","â":"jami","\xa4":"valuta"},gr:{},hu:{"â":"delta","â":"vegtelen","â¥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","â":"szumma","\xa4":"penznem"},it:{"â":"delta","â":"infinito","â¥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","â":"somma","\xa4":"moneta"},lt:{"â":"delta","â":"begalybe","â¥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","â":"suma","\xa4":"valiuta"},lv:{"â":"delta","â":"bezgaliba","â¥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","â":"summa","\xa4":"valuta"},my:{"â":"kwahkhyaet","â":"asaonasme","â¥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","â":"paungld","\xa4":"ngwekye"},mk:{},nl:{"â":"delta","â":"oneindig","â¥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","â":"som","\xa4":"valuta"},pl:{"â":"delta","â":"nieskonczonosc","â¥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","â":"suma","\xa4":"waluta"},pt:{"â":"delta","â":"infinito","â¥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","â":"soma","\xa4":"moeda"},ro:{"â":"delta","â":"infinit","â¥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","â":"suma","\xa4":"valuta"},ru:{"â":"delta","â":"beskonechno","â¥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","â":"summa","\xa4":"valjuta"},sk:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","â":"sucet","\xa4":"mena"},sr:{},tr:{"â":"delta","â":"sonsuzluk","â¥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","â":"toplam","\xa4":"para birimi"},uk:{"â":"delta","â":"bezkinechnist","â¥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","â":"suma","\xa4":"valjuta"},vn:{"â":"delta","â":"vo cuc","â¥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","â":"tong","\xa4":"tien te"}},u=";?:@&=+$,/",c=";?:@&=+$,",d=function(e,t){var n,r,d,p,g,m,y,b,v,w,_,x,k,E,A="-",S="",C="",I=!0,T={},O="";if("string"!=typeof e)return"";if("string"==typeof t&&(A=t),y=l.en,b=a.en,"object"==typeof t)for(_ in n=t.maintainCase||!1,T=t.custom&&"object"==typeof t.custom?t.custom:T,d=+t.truncate>1&&t.truncate||!1,p=t.uric||!1,g=t.uricNoSlash||!1,m=t.mark||!1,I=!1!==t.symbols&&!1!==t.lang,A=t.separator||A,p&&(O+=u),g&&(O+=c),m&&(O+=".!~*'()"),y=t.lang&&l[t.lang]&&I?l[t.lang]:I?l.en:{},b=t.lang&&a[t.lang]?a[t.lang]:!1===t.lang||!0===t.lang?{}:a.en,t.titleCase&&"number"==typeof t.titleCase.length&&Array.prototype.toString.call(t.titleCase)?(t.titleCase.forEach(function(e){T[e+""]=e+""}),r=!0):r=!!t.titleCase,t.custom&&"number"==typeof t.custom.length&&Array.prototype.toString.call(t.custom)&&t.custom.forEach(function(e){T[e+""]=e+""}),Object.keys(T).forEach(function(t){var n;n=t.length>1?RegExp("\\b"+f(t)+"\\b","gi"):RegExp(f(t),"gi"),e=e.replace(n,T[t])}),T)O+=_;for(O+=A,O=f(O),e=e.replace(/(^\s+|\s+$)/g,""),k=!1,E=!1,w=0,x=e.length;w<x;w++)h(_=e[w],T)?k=!1:b[_]?(_=k&&b[_].match(/[A-Za-z0-9]/)?" "+b[_]:b[_],k=!1):_ in i?(w+1<x&&o.indexOf(e[w+1])>=0?(C+=_,_=""):!0===E?(_=s[C]+i[_],C=""):_=k&&i[_].match(/[A-Za-z0-9]/)?" "+i[_]:i[_],k=!1,E=!1):_ in s?(C+=_,_="",w===x-1&&(_=s[C]),E=!0):!y[_]||p&&-1!==u.indexOf(_)||g&&-1!==c.indexOf(_)?(!0===E?(_=s[C]+_,C="",E=!1):k&&(/[A-Za-z0-9]/.test(_)||S.substr(-1).match(/A-Za-z0-9]/))&&(_=" "+_),k=!1):(_=(k||S.substr(-1).match(/[A-Za-z0-9]/)?A+y[_]:y[_])+(void 0!==e[w+1]&&e[w+1].match(/[A-Za-z0-9]/)?A:""),k=!0),S+=_.replace(RegExp("[^\\w\\s"+O+"_-]","g"),A);return r&&(S=S.replace(/(\w)(\S*)/g,function(e,t,n){var r=t.toUpperCase()+(null!==n?n:"");return 0>Object.keys(T).indexOf(r.toLowerCase())?r:r.toLowerCase()})),S=S.replace(/\s+/g,A).replace(RegExp("\\"+A+"+","g"),A).replace(RegExp("(^\\"+A+"+|\\"+A+"+$)","g"),""),d&&S.length>d&&(v=S.charAt(d)===A,S=S.slice(0,d),v||(S=S.slice(0,S.lastIndexOf(A)))),n||r||(S=S.toLowerCase()),S},f=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},h=function(e,t){for(var n in t)if(t[n]===e)return!0};e.exports?(e.exports=d,e.exports.createSlug=function(e){return function(t){return d(t,e)}}):void 0===(n=(function(){return d}
33).apply(t,[]))||(e.exports=n)}(0)},45645:(e,t,n)=>{e.exports=n(83558)(n(51483),"Set")},45907:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(69899),i=n(39097);function o(e){return(0,i.T)(null==e?void 0:e[r.l])}},45993:(e,t,n)=>{"use strict";n.d(t,{L:()=>v});var r=n(78419),i=n(31246),o=n(90570);let s=null;function a(){s=i.O.onerror,i.O.onerror=function(e,t,n,r,i){return(0,o.aj)("error",{column:r,error:i,line:n,msg:e,url:t}),!!s&&s.apply(this,arguments)},i.O.onerror.__SENTRY_INSTRUMENTED__=!0}var l=n(27627),u=n(27122);let c=null;function d(){c=i.O.onunhandledrejection,i.O.onunhandledrejection=function(e){return(0,o.aj)("unhandledrejection",e),!c||c.apply(this,arguments)},i.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var f=n(56819),h=n(20841),p=n(25030),g=n(96939),m=n(86334),y=n(6915),b=n(9525);let v=(0,r._C)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){let t="error";(0,o.s5)(t,t=>{let{stackParser:n,attachStacktrace:r}=_();if((0,l.KU)()!==e||(0,b.jN)())return;let{msg:i,url:o,line:s,column:a,error:c}=t,d=function(e,t,n,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],u=(0,f.Kg)(t)&&t.length>0?t:(0,h.$N)();return 0===l.length&&l.push({colno:r,filename:u,function:p.yF,in_app:!0,lineno:n}),e}((0,y.H7)(n,c||i,void 0,r,!1),o,s,a);d.level="error",(0,u.r)(d,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}),(0,o.AS)(t,a)}(e),w("onerror")),t.onunhandledrejection&&(function(e){let t="unhandledrejection";(0,o.s5)(t,t=>{var n;let{stackParser:r,attachStacktrace:i}=_();if((0,l.KU)()!==e||(0,b.jN)())return;let o=function(e){if((0,f.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),s=(0,f.sO)(o)?(n=o,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}):(0,y.H7)(r,o,void 0,i,!0);s.level="error",(0,u.r)(s,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}),(0,o.AS)(t,d)}(e),w("onunhandledrejection"))}}});function w(e){m.T&&g.vF.log(`Global Handler attached: ${e}`)}function _(){let e=(0,l.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}},46161:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(42557),i=n(37998),o=n(64536),s=n(59027),a=n(16645),l=n(62964),u=n(1407);let c=function(e){return(0,o.A)(e)?(0,r.A)(e,l.A):(0,s.A)(e)?[e]:(0,i.A)((0,a.A)((0,u.A)(e)))}},46199:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(34611),i=n(53243),o=n(96371),s=n(1407);let a=function(e){e=(0,s.A)(e);var t=(0,i.A)(e)?(0,o.A)(e):void 0,n=t?t[0]:e.charAt(0),a=t?(0,r.A)(t,1).join(""):e.slice(1);return n.toUpperCase()+a}},46239:e=>{e.exports=function(e){return this.__data__.get(e)}},46548:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});class r{current=0;resolvers=[];max;constructor(e){this.max=e}ready=()=>this.max===1/0?Promise.resolve():this.current<this.max?(this.current++,Promise.resolve()):new Promise(e=>{this.resolvers.push(e)});release=()=>{if(this.max===1/0)return;let e=this.resolvers.shift();if(e)return void e();this.current=Math.max(0,this.current-1)}}},46674:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(24933);function i(e,t,n,i,{assignment:o}){if(!t.context)throw Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");let s={},a={context:t.context,event:n.event,spawn:function(e,{machine:t,context:n},i,o){return(s,a)=>{let l=((s,a)=>
33{if("string"!=typeof s)return(0,r.c)(s,{id:a?.id,parent:e.self,syncSnapshot:a?.syncSnapshot,input:a?.input,src:s,systemId:a?.systemId});{let l=(0,r.V)(t,s);if(!l)throw Error(`Actor logic '${s}' not implemented in machine '${t.id}'`);let u=(0,r.c)(l,{id:a?.id,parent:e.self,syncSnapshot:a?.syncSnapshot,input:"function"==typeof a?.input?a.input({context:n,event:i,self:e.self}):a?.input,src:s,systemId:a?.systemId});return o[u.id]=u,u}})(s,a);return o[l.id]=l,e.defer(()=>{l._processingStatus!==r.Z.Stopped&&l.start()}),l}}(e,t,n.event,s),self:e.self,system:e.system},l={};if("function"==typeof o)l=o(a,i);else for(let e of Object.keys(o)){let t=o[e];l[e]="function"==typeof t?t(a,i):t}let u=Object.assign({},t.context,l);return[(0,r._)(t,{context:u,children:Object.keys(s).length?{...t.children,...s}:t.children}),void 0,void 0]}function o(e){function t(e,t){}return t.type="xstate.assign",t.assignment=e,t.resolve=i,t}},46778:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(44099);let i=function(){try{var e=(0,r.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},46980:(e,t,n)=>{e.exports=window.DOMPurify||(window.DOMPurify=n(13774).default||n(13774))},47141:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(45240);function i(e,t,n){let[i,o]=(0,r.x)(null==n?void 0:n.in,e,t);return i.getFullYear()===o.getFullYear()&&i.getMonth()===o.getMonth()}},47211:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var r=new(n(45037)).c(function(e){return e.complete()})},47538:(e,t,n)=>{"use strict";function r(){let e=Object.create(null),t=0;return{publish:function(t){for(let n in e)e[n](t)},subscribe:function(n){let r=t++;return e[r]=n,function(){delete e[r]}}}}n.d(t,{A:()=>r})},47790:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(92118);function i(e,t,n){let i=(0,r.a)(e,null==n?void 0:n.in);return i.setMinutes(t),i}},47948:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var r=(0,n(10899).L)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},47976:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(4168),i=n(92118);function o(e,t,n){let o=(0,i.a)(e,null==n?void 0:n.in);return isNaN(+o)?(0,r.w)((null==n?void 0:n.in)||e,NaN):(o.setFullYear(t),o)}},48272:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(51985),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===i&&r.A.process;let a=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}()},48288:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>s});var r=n(95595),i=n(96939);let o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function s(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:a,protocol:l,publicKey:u}=e;return`${l}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function a(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){let t="string"==typeof e?function(e){let t=o.exec(e);if(!t)return void(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[n,r,s="",l="",u="",c=""]=t.slice(1),d="",f=c,h=f.split("/");if(h.length>1&&(d=h.slice(0,-1).join("/"),f=h.pop()),f){let e=f.match(/^\d+/);e&&(f=e[0])}return a({host:l,pass:s,path:d,projectId:f,port:u,protocol:n,publicKey:r})}(e):a(e);if(t&&function(e){if(!r.T)return!0;let{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"!==o&&"https"!==o?(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(i.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}},48390:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},48728:(e,t,n)=>{e=n.nmd(e);var r=n(51483),i=n(21457),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?r.Buffer:void 0,l=a?a.isBuffer:void 0;e.exports=l||i},48869:(e,t,n)=>{"use strict";n.d(t,{zU:()=>p,xl:()=>g,pK:()=>h,et:()=>f,kX:()=>u});var r=n(21408),i=n(88722),o=n(96939),s=n(30306),a=n(61406);let l=!1;function u(e){let{spanId:t,traceId:n,isRemote:i}=e.spanContext(),o=i?t:f(e).parent_span_id,a=i?(0,s.ZF)():t;return(0,r.Ce)({parent_span_id:o,span_id:a,trace_id:n})}function c(e){return"number"==typeof e?d(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?d(e.getTime()):(0,a.zf)()}function d(e){return e>0x2540be3ff?e/1e3:e}function f(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{var t;let{spanId:n,traceId:o}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:s,name:a,endTime:l,parentSpanId:u,status:d}=e;return(0,r.Ce)({span_id:n,trace_id:o,data:t,description:a,parent_span_id:u,start_timestamp:c(s),timestamp:c(l)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}(d),op:t[i.uT],origin:t[i.JD],_metrics_summary:function(e){let t=e._sentryMetrics;if(!t)return;let n={};for(let[,[e,i]]of t)(n[e]||(n[e]=[])).push((0,r.Ce)(i));return n}(e)})}return{span_id:n,trace_id:o}}catch(e){return{}}}function h(e){let{traceFlags:t}=e.spanContext();return 1===t}function p(e){return e._sentryRootSpan||e}function g(){l||((0,o.pq)(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK ver
33sion 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),l=!0)}},48908:(e,t,n)=>{var r=n(71730),i=n(35206);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},48974:(e,t,n)=>{var r=n(95721),i=n(25023),o=n(33011),s=n(25411);e.exports=function(e,t){return function(n,a){var l=s(n)?r:i,u=t?t():{};return l(n,e,o(a,2),u)}}},49027:(e,t,n)=>{"use strict";n.d(t,{JR:()=>A,_G:()=>f,gB:()=>g,gl:()=>x,m$:()=>u});var r=n(39860),i=n(17787),o=n(27587);function s(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function a(e){return null!==e&&e>=0}let l={scaleX:1,scaleY:1},u=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:i,overIndex:o,index:s}=e,a=null!=(t=n[i])?t:r;if(!a)return null;let u=function(e,t,n){let r=e[t],i=e[t-1],o=e[t+1];return r&&(i||o)?n<t?i?r.left-(i.left+i.width):o.left-(r.left+r.width):o?o.left-(r.left+r.width):r.left-(i.left+i.width):0}(n,s,i);if(s===i){let e=n[o];return e?{x:i<o?e.left+e.width-(a.left+a.width):e.left-a.left,y:0,...l}:null}return s>i&&s<=o?{x:-a.width-u,y:0,...l}:s<i&&s>=o?{x:a.width+u,y:0,...l}:{x:0,y:0,...l}},c=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e,o=s(t,r,n),a=t[i],l=o[i];return l&&a?{x:l.left-a.left,y:l.top-a.top,scaleX:l.width/a.width,scaleY:l.height/a.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:i,rects:o,overIndex:s}=e,a=null!=(t=o[n])?t:r;if(!a)return null;if(i===n){let e=o[s];return e?{x:0,y:n<s?e.top+e.height-(a.top+a.height):e.top-a.top,...d}:null}let l=function(e,t,n){let r=e[t],i=e[t-1],o=e[t+1];return r?n<t?i?r.top-(i.top+i.height):o?o.top-(r.top+r.height):0:o?o.top-(r.top+r.height):i?r.top-(i.top+i.height):0:0}(o,i,n);return i>n&&i<=s?{x:0,y:-a.height-l,...d}:i<n&&i>=s?{x:0,y:a.height+l,...d}:{x:0,y:0,...d}},h="Sortable",p=r.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c,disabled:{draggable:!1,droppable:!1}});function g(e){let{children:t,id:n,items:s,strategy:a=c,disabled:l=!1}=e,{active:u,dragOverlay:d,droppableRects:f,over:g,measureDroppableContainers:m}=(0,i.fF)(),y=(0,o.YG)(h,n),b=null!==d.rect,v=(0,r.useMemo)(()=>s.map(e=>"object"==typeof e&&"id"in e?e.id:e),[s]),w=null!=u,_=u?v.indexOf(u.id):-1,x=g?v.indexOf(g.id):-1,k=(0,r.useRef)(v),E=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(v,k.current),A=-1!==x&&-1===_||E,S="boolean"==typeof l?{draggable:l,droppable:l}:l;(0,o.Es)(()=>{E&&w&&m(v)},[E,v,w,m]),(0,r.useEffect)(()=>{k.current=v},[v]);let C=(0,r.useMemo)(()=>({activeIndex:_,containerId:y,disabled:S,disableTransforms:A,items:v,overIndex:x,useDragOverlay:b,sortedRects:v.reduce((e,t,n)=>{let r=f.get(t);return r&&(e[n]=r),e},Array(v.length)),strategy:a}),[_,y,S.draggable,S.droppable,A,v,x,f,b,a]);return r.createElement(p.Provider,{value:C},t)}let m=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return s(n,r,i).indexOf(t)},y=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:o,newIndex:s,previousItems:a,previousContainerId:l,transition:u}=e;return!!u&&!!r&&(a===o||i!==s)&&(!!n||s!==i&&t===l)},b={duration:200,easing:"ease"},v="transform",w=o.Ks.Transition.toString({property:v,duration:0,easing:"linear"}),_={roleDescription:"sortable"};function x(e){var t,n,s,l;let{animateLayoutChanges:u=y,attributes:c,disabled:d,data:f,getNewIndex:h=m,id:g,strategy:x,resizeObserverConfig:k,transition:E=b}=e,{items:A,containerId:S,activeIndex:C,disabled:I,disableTransforms:T,sortedRects:O,overIndex:R,useDragOverlay:D,strategy:j}=(0,r.useContext)(p),M=(t=d,n=I,"boolean"==typeof t?{draggable:t,droppable:!1}:{draggable:null!=(s=null==t?void 0:t.draggable)?s:n.draggable,droppable:null!=(l=null==t?void 0:t.droppable)?l:n.droppable}),N=A.indexOf(g),F=(0,r.useMemo)(()=>({sortable:{containerId:S,index:N,items:A},...f}),[S,f,N,A]),$=(0,r.useMemo)(()=>A.slice(A.indexOf(g)),[A,g]),{rect:P,node:L,isOver:z,setNodeRef:U}=(0,i.zM)({id:g,data:F,disabled:M.droppable,resizeObserverConfig:{updateMeasurementsFor:$,...k}}),{active:B,activatorEvent:q,activeNodeRect:V,attributes:H,setNodeRef:G,listeners:W,isDragging:Y,over:K,setActivatorNodeRef:Z,transform:X}=(0,i.PM)({id:g,data:F,attributes:{..._,...c},disabled:M.draggable}),J=(0,o.jn)(U,G),Q=!!B,ee=Q&&!T&&a(C)&&a(R),et=!D&&Y,en=et&&ee?X:null,er=ee?null!=en?en:(null!=x?x:j)({rects:O,activeNodeRect:V,activeIndex:C,overIndex:R,index:N}):null,ei=a(C)&&a(R)?h({id:g,items:A,activeIndex:C,overIndex:R}):N,eo=null==B?void 0:B.id,es=(0,r.useRef)({activeId:eo,items:A,newIndex:ei,containerId:S}),ea=A!==es.current.items,el=u({active:B,containerId:S,isDragging:Y,isSorting:Q,id:g,index:N,items:A,newIndex:es.current.newIndex,previousItems:es.current.items,previousContainerId:es.current.containerId,transition:E,wasDragging:null!=es.current.activeId}),eu=function(e){let{disabled:t,index:n,node:s,rect:a}=e,[l,u]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,o.Es)(()=>
33{if(!t&&n!==c.current&&s.current){let e=a.current;if(e){let t=(0,i.Sj)(s.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==c.current&&(c.current=n)},[t,n,s,a]),(0,r.useEffect)(()=>{l&&u(null)},[l]),l}({disabled:!el,index:N,node:L,rect:P});return(0,r.useEffect)(()=>{Q&&es.current.newIndex!==ei&&(es.current.newIndex=ei),S!==es.current.containerId&&(es.current.containerId=S),A!==es.current.items&&(es.current.items=A)},[Q,ei,S,A]),(0,r.useEffect)(()=>{if(eo===es.current.activeId)return;if(eo&&!es.current.activeId){es.current.activeId=eo;return}let e=setTimeout(()=>{es.current.activeId=eo},50);return()=>clearTimeout(e)},[eo]),{active:B,activeIndex:C,attributes:H,data:F,rect:P,index:N,newIndex:ei,items:A,isOver:z,isSorting:Q,isDragging:Y,listeners:W,node:L,overIndex:R,over:K,setNodeRef:J,setActivatorNodeRef:Z,setDroppableNodeRef:U,setDraggableNodeRef:G,transform:null!=eu?eu:er,transition:eu||ea&&es.current.newIndex===N?w:(!et||(0,o.kx)(q))&&E&&(Q||el)?o.Ks.Transition.toString({...E,property:v}):void 0}}function k(e){if(!e)return!1;let t=e.data.current;return!!t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable}let E=[i.vL.Down,i.vL.Right,i.vL.Up,i.vL.Left],A=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:s,droppableContainers:a,over:l,scrollableAncestors:u}}=t;if(E.includes(e.code)){if(e.preventDefault(),!n||!r)return;let t=[];a.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;let o=s.get(n.id);
33if(o)switch(e.code){case i.vL.Down:r.top<o.top&&t.push(n);break;case i.vL.Up:r.top>o.top&&t.push(n);break;case i.vL.Left:r.left>o.left&&t.push(n);break;case i.vL.Right:r.left<o.left&&t.push(n)}});let c=(0,i.y$)({active:n,collisionRect:r,droppableRects:s,droppableContainers:t,pointerCoordinates:null}),d=(0,i.Vy)(c,"id");if(d===(null==l?void 0:l.id)&&c.length>1&&(d=c[1].id),null!=d){let e=a.get(n.id),t=a.get(d),l=t?s.get(t.id):null,c=null==t?void 0:t.node.current;if(c&&l&&e&&t){let n=(0,i.sl)(c).some((e,t)=>u[t]!==e),s=S(e,t),a=function(e,t){return!!k(e)&&!!k(t)&&!!S(e,t)&&e.data.current.sortable.index<t.data.current.sortable.index}(e,t),d=n||!s?{x:0,y:0}:{x:a?r.width-l.width:0,y:a?r.height-l.height:0},f={x:l.left,y:l.top};return d.x&&d.y?f:(0,o.Re)(f,d)}}}};function S(e,t){return!!k(e)&&!!k(t)&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},49135:e=>{function t(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}e.exports=function(e,n){n=n||{};var r,i,o,s,a=typeof e;if("string"===a&&e.length>0){var l=e;if(!((l=String(l)).length>100)){var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(u){var c=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return n.long?(i=Math.abs(r=e))>=864e5?t(r,i,864e5,"day"):i>=36e5?t(r,i,36e5,"hour"):i>=6e4?t(r,i,6e4,"minute"):i>=1e3?t(r,i,1e3,"second"):r+" ms":(s=Math.abs(o=e))>=864e5?Math.round(o/864e5)+"d":s>=36e5?Math.round(o/36e5)+"h":s>=6e4?Math.round(o/6e4)+"m":s>=1e3?Math.round(o/1e3)+"s":o+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},49213:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(60732),i=n(39097);function o(e,t,n){return(void 0===n&&(n=1/0),(0,i.T)(t))?(0,r.Z)(function(){return e},t,n):("number"==typeof t&&(n=t),(0,r.Z)(function(){return e},n))}},49759:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(56819),i=n(90730);function o(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function s(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}var a=n(78419),l=n(6915);let u=(0,a._C)((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,a,u){let c=u.getOptions();!function(e,t,n=250,a,l,u,c){var d,f;if(!u.exception||!u.exception.values||!c||!(0,r.tH)(c.originalException,Error))return;let h=u.exception.values.length>0?u.exception.values[u.exception.values.length-1]:void 0;h&&(u.exception.values=(d=function e(t,n,i,a,l,u,c,d){if(u.length>=i+1)return u;let f=[...u];if((0,r.tH)(a[l],Error)){o(c,d);let r=t(n,a[l]),u=f.length;s(r,l,u,d),f=e(t,n,i,a[l],l,[r,...f],r,u)}return Array.isArray(a.errors)&&a.errors.forEach((a,u)=>{if((0,r.tH)(a,Error)){o(c,d);let r=t(n,a),h=f.length;s(r,`errors[${u}]`,h,d),f=e(t,n,i,a,l,[r,...f],r,h)}}),f}(e,t,l,c.originalException,a,u.exception.values,h,0),f=n,d.map(e=>(e.value&&(e.value=(0,i.xv)(e.value,f)),e))))}(l.K8,c.stackParser,c.maxValueLength,n,t,e,a)}}})},49848:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(44099),i=n(62308);let o=(0,r.A)(i.A,"Set")},49851:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(75130),i=n(85641),o=n(83727);let s=function(e,t){return(0,o.A)(e,(0,i.A)((0,r.A)(t)))}},49881:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37537),i=n(21383),o=n(90904),s=n(33476);let a=function(e,t,n){if(!(0,s.A)(n))return!1;var a=typeof t;return("number"==a?!!((0,i.A)(n)&&(0,o.A)(t,n.length)):"string"==a&&t in n)&&(0,r.A)(n[t],e)}},50030:(e,t,n)=>{var r=n(73423),i=n(91426),o=n(25411),s=n(36702),a=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},50316:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(45240),i=n(68998);function o(e,t,n){let[o,a]=(0,r.x)(null==n?void 0:n.in,e,t),l=s(o,a),u=Math.abs((0,i.m)(o,a));o.setDate(o.getDate()-l*u);let c=Number(s(o,a)===-l),d=l*(u-c);return 0===d?0:d}function s(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},50384:(e,t,n)=>{"use strict";n.d(t,{A:()=>
33o});var r=n(45037),i=n(39097);function o(e){return!!e&&(e instanceof r.c||(0,i.T)(e.lift)&&(0,i.T)(e.subscribe))}},50482:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(20613),i=n(16405),o=n(34611),s=n(35347);let a=function(e,t){for(var n=e.length;n--&&(0,s.A)(t,e[n],0)>-1;);return n},l=function(e,t){for(var n=-1,r=e.length;++n<r&&(0,s.A)(t,e[n],0)>-1;);return n};var u=n(96371),c=n(1407);let d=function(e,t,n){if((e=(0,c.A)(e))&&(n||void 0===t))return(0,i.A)(e);if(!e||!(t=(0,r.A)(t)))return e;var s=(0,u.A)(e),d=(0,u.A)(t),f=l(s,d),h=a(s,d)+1;return(0,o.A)(s,f,h).join("")}},50685:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(64536);let i=function(){if(!arguments.length)return[];var e=arguments[0];return(0,r.A)(e)?e:[e]}},50729:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(81933);function i(){return(0,r.U)(1)}},50811:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(33476),i=n(62308);let o=function(){return i.A.Date.now()};var s=n(77391),a=Math.max,l=Math.min;let u=function(e,t,n){var i,u,c,d,f,h,p=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=i,r=u;return i=u=void 0,p=t,d=e.apply(r,n)}function v(e){var n=e-h,r=e-p;return void 0===h||n>=t||n<0||m&&r>=c}function w(){var e,n,r,i=o();if(v(i))return _(i);f=setTimeout(w,(e=i-h,n=i-p,r=t-e,m?l(r,c-n):r))}function _(e){return(f=void 0,y&&i)?b(e):(i=u=void 0,d)}function x(){var e,n=o(),r=v(n);if(i=arguments,u=this,h=n,r){if(void 0===f)return p=e=h,f=setTimeout(w,t),g?b(e):d;if(m)return clearTimeout(f),f=setTimeout(w,t),b(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=(0,s.A)(t)||0,(0,r.A)(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a((0,s.A)(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==f&&clearTimeout(f),p=0,i=h=u=f=void 0},x.flush=function(){return void 0===f?d:_(o())},x}},50825:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35571);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r.A),n}i.Cache=r.A;let o=i},50933:(e,t,n)=>{"use strict";function r(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(t,{L:()=>r})},50972:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(21383),i=n(11331);let o=function(e){return(0,i.A)(e)&&(0,r.A)(e)}},51204:(e,t,n)=>{var r=n(70300);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},51470:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(35582),i=n(64536),o=n(11331);let s=function(e){return"string"==typeof e||!(0,i.A)(e)&&(0,o.A)(e)&&"[object String]"==(0,r.A)(e)}},51483:(e,t,n)=>{var r=n(24402),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=r||i||Function("return this")()},51496:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(53798),i=(0,n(10454).A)(Object.keys,Object),o=Object.prototype.hasOwnProperty;let s=function(e){if(!(0,r.A)(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},51746:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,o=l(e),s=o[0],a=o[1],u=new i((s+a)*3/4-a),c=0,d=a>0?s-4:s;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=0,a=r-i;s<a;s+=16383)o.push(function(e,t,r){for(var i,o=[],s=t;s<r;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(n[i>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
33+/",s=0,a=o.length;s<a;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r[45]=62,r[95]=63},51928:(e,t,n)=>
vendor: 5,835 bytes, line 33
33{"use strict";function r(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var
33i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,s=0;s<i.length;s++)o[i[s]]=e.languages.bash[i[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(e)}n.d(t,{A:()=>r}),r.displayName="bash",r.aliases=["sh","shell"]},51932:(e,t,n)=>{"use strict";function r(e){return`https://www.sanity.io/docs/help/${e}`}n.d(t,{i:()=>r})},51947:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},51985:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r="object"==typeof global&&global&&global.Object===Object&&global},52376:(e,t,n)=>{"use strict";let r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i)if(!!t.loose===e.loose)return e;else e=e.value;u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=i;let o=n(74371),{safeRe:s,t:a}=n(82404),l=n(93569),u=n(44764),c=n(240),d=n(76353)},52731:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var r=n(4168),i=n(3177),o=n(92118);function s(e,t){let n=(0,o.a)(e,null==t?void 0:t.in),s=n.getFullYear(),a=(0,r.w)(n,0);a.setFullYear(s+1,0,4),a.setHours(0,0,0,0);let l=(0,i.b)(a),u=(0,r.w)(n,0);u.setFullYear(s,0,4),u.setHours(0,0,0,0);let c=(0,i.b)(u);return n.getTime()>=l.getTime()?s+1:n.getTime()>=c.getTime()?s:s-1}},52770:(e,t,n)=>{"use strict";let r=n(76353),i=n(52376),{ANY:o}=i,s=n(16088),a=n(48390),l=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],c=(e,t,n)=>{let r,i,c,h,p,g,m;if(e===t)return!0;if(1===e.length&&e[0].semver===o)if(1===t.length&&t[0].semver===o)return!0;else e=n.includePrerelease?l:u;if(1===t.length&&t[0].semver===o)if(n.includePrerelease)return!0;else t=u;let y=new Set;for(let t of e)">"===t.operator||">="===t.operator?r=d(r,t,n):"<"===t.operator||"<="===t.operator?i=f(i,t,n):y.add(t.semver);if(y.size>1)return null;if(r&&i&&((c=a(r.semver,i.semver,n))>0||0===c&&(">="!==r.operator||"<="!==i.operator)))return null;for(let e of y){if(r&&!s(e,String(r),n)||i&&!s(e,String(i),n))return null;for(let r of t)if(!s(e,String(r),n))return!1;return!0}let b=!!i&&!n.includePrerelease&&!!i.semver.prerelease.length&&i.semver,v=!!r&&!n.includePrerelease&&!!r.semver.prerelease.length&&r.semver;for(let e of(b&&1===b.prerelease.length&&"<"===i.operator&&0===b.prerelease[0]&&(b=!1),t)){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,r){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if((h=d(r,e,n))===e&&h!==r)return!1}else if(">="===r.operator&&!s(r.semver,String(e),n))return!1}if(i){if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if((
33p=f(i,e,n))===e&&p!==i)return!1}else if("<="===i.operator&&!s(i.semver,String(e),n))return!1}if(!e.operator&&(i||r)&&0!==c)return!1}return(!r||!g||!!i||0===c)&&(!i||!m||!!r||0===c)&&!v&&!b&&!0},d=(e,t,n)=>{if(!e)return t;let r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},f=(e,t,n)=>{if(!e)return t;let r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;n:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue n}if(i)return!1}return!0}},52810:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return e.has(t)}},53243:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let i=function(e){return r.test(e)}},53271:(e,t,n)=>{"use strict";n.d(t,{Sj:()=>r});let r=n(87450).Sj},53283:(e,t,n)=>{"use strict";n.d(t,{H:()=>d});var r=n(47948),i=n(42764),o=n(71450),s=(n(47211),n(96948)),a=n(28400),l=n(62522),u=n(37841),c=n(77163);function d(e,t){var n=arguments.length>=2;return function(d){return d.pipe(e?(0,i.p)(function(t,n){return e(t,n,d)}):c.D,(0,s.N)(function(e,t){var n=[];e.subscribe((0,a._)(t,function(e){n.push(e),1<n.length&&n.shift()},function(){var e,r;try{for(var i=(0,o.Ju)(n),s=i.next();!s.done;s=i.next()){var a=s.value;t.next(a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.complete()},void 0,function(){n=null}))}),n?(0,u.U)(t):(0,l.v)(function(){return new r.G}))}}},53385:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});let r=function(e,t){return null!=e&&t in Object(e)};var i=n(53736),o=n(14875),s=n(64536),a=n(90904),l=n(83119),u=n(62964);let c=function(e,t,n){t=(0,i.A)(t,e);for(var r=-1,c=t.length,d=!1;++r<c;){var f=(0,u.A)(t[r]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++r!=c?d:!!(c=null==e?0:e.length)&&(0,l.A)(c)&&(0,a.A)(f,c)&&((0,s.A)(e)||(0,o.A)(e))},d=function(e,t){return null!=e&&c(e,t,r)}},53736:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(64536),i=n(58347),o=n(16645),s=n(1407);let a=function(e,t){return(0,r.A)(e)?e:(0,i.A)(e,t)?[e]:(0,o.A)((0,s.A)(e))}}
33,53798:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=Object.prototype;let i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},53907:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1407);let i=function(e){return(0,r.A)(e).toLowerCase()}},53988:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},54145:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(96948),i=n(34793),o=n(28400),s=n(8286);function a(e){return(0,r.N)(function(t,n){var r=!1,a=null,l=null,u=function(){if(null==l||l.unsubscribe(),l=null,r){r=!1;var e=a;a=null,n.next(e)}};t.subscribe((0,o._)(n,function(t){null==l||l.unsubscribe(),r=!0,a=t,l=(0,o._)(n,u,i.l),(0,s.Tg)(e(t)).subscribe(l)},function(){u(),n.complete()},void 0,function(){a=l=null}))})}},54152:(e,t,n)=>{"use strict";n.d(t,{Ak:()=>o,d_:()=>i});let r=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t=21)=>((e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return (o=t)=>{let s="";for(;;){let t=n(i),a=0|i;for(;a--;)if((s+=e[t[a]&r]||"").length===o)return s}}})(e,t,r),o=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},54272:e=>{"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]},54560:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(60732),i=n(39097);function o(e,t){return(0,i.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},54599:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=function(e){return function(t){return null==e?void 0:e[t]}}({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"}
33),i=n(1407),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");let a=function(e){return(e=(0,i.A)(e))&&e.replace(o,r).replace(s,"")}},54732:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(83217),i=n(18161);function o(e,t,n){let o=(0,i.b)(e,t)/1e3;return(0,r.u)(null==n?void 0:n.roundingMethod)(o)}},54845:(e,t,n)=>{"use strict";let r;n.d(t,{Z:()=>l});var i=n(27627),o=n(78419),s=n(21408);let a=new WeakMap,l=(0,o._C)(()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,s.sp)(this),n=a.has((0,i.KU)())&&void 0!==t?t:this;return r.apply(n,e)}}catch(e){}},setup(e){a.set(e,!0)}}))},54964:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var r=n(39781),i=n(4168),o=n(82192),s=n(92118);function a(e,t){var n,a,l,u,c,d,f,h;let p=(0,s.a)(e,null==t?void 0:t.in),g=p.getFullYear(),m=(0,r.q)(),y=null!=(h=null!=(f=null!=(d=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(a=t.locale)||null==(n=a.options)?void 0:n.firstWeekContainsDate)?d:m.firstWeekContainsDate)?f:null==(u=m.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?h:1,b=(0,i.w)((null==t?void 0:t.in)||e,0);b.setFullYear(g+1,0,y),b.setHours(0,0,0,0);let v=(0,o.k)(b,t),w=(0,i.w)((null==t?void 0:t.in)||e,0);w.setFullYear(g,0,y),w.setHours(0,0,0,0);let _=(0,o.k)(w,t);return+p>=+v?g+1:+p>=+_?g:g-1}},55060:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});class r extends Map{#n=0;#r=new Map;#i=new Map;#o;#s;#a;constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw TypeError("`maxAge` must be a number greater than 0");this.#o=e.maxSize,this.#s=e.maxAge||1/0,this.#a=e.onEviction}get __oldCache(){return this.#i}#l(e){if("function"==typeof this.#a)for(let[t,n]of e)this.#a(t,n.value)}#u(e,t){return!!("number"==typeof t.expiry&&t.expiry<=Date.now())&&("function"==typeof this.#a&&this.#a(e,t.value),this.delete(e))}#c(e,t){if(!1===this.#u(e,t))return t.value}#d(e,t){return t.expiry?this.#c(e,t):t.value}#f(e,t){let n=t.get(e);return this.#d(e,n)}#h(e,t){this.#r.set(e,t),this.#n++,this.#n>=this.#o&&(this.#n=0,this.#l(this.#i),this.#i=this.#r,this.#r=new Map)}#p(e,t){this.#i.delete(e),this.#h(e,t)}*#g(){for(let e of this.#i){let[t,n]=e;this.#r.has(t)||!1===this.#u(t,n)&&(yield e)}for(let e of this.#r){let[t,n]=e;!1===this.#u(t,n)&&(yield e)}}get(e){if(this.#r.has(e)){let t=this.#r.get(e);return this.#d(e,t)}if(this.#i.has(e)){let t=this.#i.get(e);if(!1===this.#u(e,t))return this.#p(e,t),t.value}}set(e,t,{maxAge:n=this.#s}={}){let r="number"==typeof n&&n!==1/0?Date.now()+n:void 0;return this.#r.has(e)?this.#r.set(e,{value:t,expiry:r}):this.#h(e,{value:t,expiry:r}),this}has(e){return this.#r.has(e)?!this.#u(e,this.#r.get(e)):!!this.#i.has(e)&&!this.#u(e,this.#i.get(e))}peek(e){return this.#r.has(e)?this.#f(e,this.#r):this.#i.has(e)?this.#f(e,this.#i):void 0}expiresIn(e){let t=this.#r.get(e)??this.#i.get(e);if(t)return t.expiry?t.expiry-Date.now():1/0}delete(e){let t=this.#r.delete(e);return t&&this.#n--,this.#i.delete(e)||t}clear(){this.#r.clear(),this.#i.clear(),this.#n=0}resize(e){if(!(e&&e>0))throw TypeError("`maxSize` must be a number greater than 0");let t=[...this.#g()],n=t.length-e;n<0?(this.#r=new Map(t),this.#i=new Map,this.#n=t.length):(n>0&&this.#l(t.slice(0,n)),this.#i=new Map(t.slice(n)),this.#r=new Map,this.#n=0),this.#o=e}evict(e=1){let t=Number(e);if(!t||t<=0)return;let n=[...this.#g()],r=Math.trunc(Math.min(t,Math.max(n.length-1,0)));r<=0||(this.#l(n.slice(0,r)),this.#i=new Map(n.slice(r)),this.#r=new Map,this.#n=0)}*keys(){for(let[e]of this)yield e}*values(){for(let[,e]of this)yield e}*[Symbol.iterator](){for(let e of this.#r){let[t,n]=e;!1===this.#u(t,n)&&(yield[t,n.value])}for(let e of this.#i){let[t,n]=e;this.#r.has(t)||!1===this.#u(t,n)&&(yield[t,n.value])}}*entriesDescending(){let e=[...this.#r];for(let t=e.length-1;t>=0;--t){let[n,r]=e[t];!1===this.#u(n,r)&&(yield[n,r.value])}e=[...this.#i];for(let t=e.length-1;t>=0;--t){let[n,r]=e[t];this.#r.has(n)||!1===this.#u(n,r)&&(yield[n,r.value])}}*entriesAscending(){for(let[e,t]of this.#g())yield[e,t.value]}get size(){if(!this.#n)return this.#i.size;let e=0;for(let t of this.#i.keys())!this.#r.has(t)&&e++;return Math.min(this.#n+e,this.#o)}get maxSize(){return this.#o}get maxAge(){return this.#s}entries(){return this.entriesAscending()}forEach(e,t=this){for(let[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return"QuickLRU"}toString(){return`QuickLRU(${this.size}/${this.maxSize})`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}},55180:(e,t,n)=>{"use strict";n.d(t,{m:()=>
33o});var r=n(29846),i=n(14192);function o(e){i.f.setTimeout(function(){var t=r.$.onUnhandledError;if(t)t(e);else throw e})}},55428:e=>{e.exports=function(){this.__data__=[],this.size=0}},55459:(e,t)=>{t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,u=l>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=u}return(h?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,f=5960464477539062e-23*(23===i),h=r?0:o-1,p=r?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&a,h+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[n+h]=255&s,h+=p,s/=256,u-=8);e[n+h-p]|=128*g}},55617:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,o=n(1407),s="\ud800-\udfff",a="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",u="A-Z\\xc0-\\xd6\\xd8-\\xde",c="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="['â]",f="["+c+"]",h="["+l+"]",p="[^"+s+c+"\\d+"+a+l+u+"]",g="(?:\ud83c[\udde6-\uddff]){2}",m="[\ud800-\udbff][\udc00-\udfff]",y="["+u+"]",b="(?:"+h+"|"+p+")",v="(?:"+y+"|"+p+")",w="(?:"+d+"(?:d|ll|m|re|s|t|ve))?",_="(?:"+d+"(?:D|LL|M|RE|S|T|VE))?",x="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",k="[\\ufe0e\\ufe0f]?",E="(?:\\u200d(?:"+["[^"+s+"]",g,m].join("|")+")"+k+x+")*",A="(?:"+["["+a+"]",g,m].join("|")+")"+(k+x+E),S=RegExp([y+"?"+h+"+"+w+"(?="+[f,y,"$"].join("|")+")",v+"+"+_+"(?="+[f,y+b,"$"].join("|")+")",y+"?"+b+"+"+w,y+"+"+_,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",A].join("|"),"g");let C=function(e,t,n){if(e=(0,o.A)(e),void 0===(t=n?void 0:t)){var s;return(s=e,i.test(s))?e.match(S)||[]:e.match(r)||[]}return e.match(t)||[]}},55736:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(83217),i=n(9180),o=n(18161);function s(e,t,n){let s=(0,o.b)(e,t)/i.Cg;return(0,r.u)(null==n?void 0:n.roundingMethod)(s)}},55777:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}},56209:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setSeconds(59,999),n}},56507:(e,t,n)=>{var r=n(31481),i=n(8524),o=n(87421);e.exports=function(e,t,n,s,a,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var y=e[p],b=t[p];if(s)var v=u?s(b,y,p,t,e,l):s(y,b,p,e,t,l);if(void 0!==v){if(v)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!o(m,t)&&(y===e||a(y,e,n,s,l)))return m.push(t)})){g=!1;break}}else if(!(y===b||a(y,b,n,s,l))){g=!1;break}}return l.delete(e),l.delete(t),g}},56555:(e,t,n)=>{"use strict";n.d(t,{B3:()=>Q,JW:()=>p,me:()=>ed,sR:()=>eh});var r=n(15374);let i={transparent:{lightest:"hsl(240, 100%, 95%)",lighter:"hsl(240, 100%, 70%)",light:"hsl(240, 100%, 65%)",base:"hsl(240, 100%, 50%)",dark:"hsl(240, 100%, 35%)",darker:"hsl(240, 100%, 20%)",darkest:"hsl(240, 100%, 5%)"},primary:{lightest:"hsl(240, 100%, 95%)",lighter:"hsl(240, 100%, 70%)",light:"hsl(240, 100%, 65%)",base:"hsl(240, 100%, 50%)",dark:"hsl(240, 100%, 35%)",darker:"hsl(240, 100%, 20%)",darkest:"hsl(240, 100%, 5%)"},positive:{lightest:"hsl(120, 100%, 95%)",lighter:"hsl(120, 100%, 70%)",light:"hsl(120, 100%, 65%)",base:"hsl(120, 100%, 50%)",dark:"hsl(120, 100%, 35%)",darker:"hsl(120, 100%, 20%)",dar
33kest:"hsl(120, 100%, 5%)"},caution:{lightest:"hsl(60, 100%, 95%)",lighter:"hsl(60, 100%, 70%)",light:"hsl(60, 100%, 65%)",base:"hsl(60, 100%, 50%)",dark:"hsl(60, 100%, 35%)",darker:"hsl(60, 100%, 20%)",darkest:"hsl(60, 100%, 5%)"},critical:{lightest:"hsl(0, 100%, 95%)",lighter:"hsl(0, 100%, 70%)",light:"hsl(0, 100%, 65%)",base:"hsl(0, 100%, 50%)",dark:"hsl(0, 100%, 35%)",darker:"hsl(0, 100%, 20%)",darkest:"hsl(0, 100%, 5%)"}};i.transparent.darkest,i.transparent.lightest,i.transparent.lightest,i.transparent.darkest,i.transparent.darker,i.transparent.lighter,i.transparent.base,i.transparent.base,i.primary.darkest,i.primary.lightest,i.primary.lightest,i.primary.darkest,i.primary.darker,i.primary.lighter,i.primary.base,i.primary.base,i.positive.darkest,i.positive.lightest,i.positive.lightest,i.positive.darkest,i.positive.darker,i.positive.lighter,i.positive.base,i.positive.base,i.caution.darkest,i.caution.lightest,i.caution.lightest,i.caution.darkest,i.caution.darker,i.caution.lighter,i.caution.base,i.caution.base,i.critical.darkest,i.critical.lightest,i.critical.lightest,i.critical.darkest,i.critical.darker,i.critical.lighter,i.critical.base,i.critical.base;let o={avatar:{sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},button:{textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},card:{border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},container:[320,640,960,1280,1600,1920],media:[360,600,900,1200,1800,2400],layer:{dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},radius:[0,1,3,6,9,12,21],shadow:[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],space:[0,4,8,12,20,32,52,84,136,220],input:{border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}},radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},style:{button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}}},s={code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0}
33,{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}},a=new WeakMap;function l(e){let t=a.get(e);if(t)return t;let n=c(e,e.card.enabled),r={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:n.accent,avatar:n.avatar,backdrop:e.base.shadow.ambient,badge:n.badge,bg:e.base.bg,border:e.base.border,button:{default:u(e,e.button.default),ghost:u(e,e.button.ghost),bleed:u(e,e.button.bleed)},code:n.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:n.muted.fg,input:{default:d(e.input.default),invalid:d(e.input.invalid)},kbd:n.kbd,link:n.link,muted:{...n.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:u(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:e.skeleton?.from||e.base.border,to:e.skeleton?.to||e.base.border},syntax:e.syntax};return a.set(e,r),r}function u(e,t){return{default:{enabled:c(e,t.default.enabled),hovered:c(e,t.default.hovered),pressed:c(e,t.default.pressed),selected:c(e,t.default.selected),disabled:c(e,t.default.disabled)},neutral:{enabled:c(e,t.default.enabled),hovered:c(e,t.default.hovered),pressed:c(e,t.default.pressed),selected:c(e,t.default.selected),disabled:c(e,t.default.disabled)},primary:{enabled:c(e,t.primary.enabled),hovered:c(e,t.primary.hovered),pressed:c(e,t.primary.pressed),selected:c(e,t.primary.selected),disabled:c(e,t.primary.disabled)},suggest:{enabled:c(e,t.primary.enabled),hovered:c(e,t.primary.hovered),pressed:c(e,t.primary.pressed),selected:c(e,t.primary.selected),disabled:c(e,t.primary.disabled)},positive:{enabled:c(e,t.positive.enabled),hovered:c(e,t.positive.hovered),pressed:c(e,t.positive.pressed),selected:c(e,t.positive.selected),disabled:c(e,t.positive.disabled)},caution:{enabled:c(e,t.caution.enabled),hovered:c(e,t.caution.hovered),pressed:c(e,t.caution.pressed),selected:c(e,t.caution.selected),disabled:c(e,t.caution.disabled)},critical:{enabled:c(e,t.critical.enabled),hovered:c(e,t.critical.hovered),pressed:c(e,t.critical.pressed),selected:c(e,t.critical.selected),disabled:c(e,t.critical.disabled)}}}function c(e,t){return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg},cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},neutral:{bg:e.muted.transparent.enabled.bg,fg:e.muted.transparent.enabled.fg,dot:e.muted.transparent.enabled.muted.fg,icon:e.muted.transparent.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},suggest:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg},critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:t.skeleton?.from||t.border,to:t.skeleton?.to||t.border}}}function d(e){return{enabled:f(e.enabled),disabled:f(e.disabled),readOnly:f(e.readOnly),hovered:f(e.hovered)}}function f(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let h=new WeakMap;function p(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=h.get(e);if(t)return t;let n={_version:2,_resolved:!0,avatar:{...o.avatar,...e.sanity.avatar},button:{...o.button,...e.sanity.button},card:o.card,color:l(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...o.input,...e.sanity.input,checkbox:{...o.input.checkbox,...e.sanity.input.checkbox},radio:{...o.input.radio,...e.sanity.input.radio},switch:{...o.input.switch,...e.sanity.input.switch}},layer:e.sanity.layer??o.layer,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return h.set(e,n),n}function g(e){return 2===e._version}let m=new WeakMap,y=new WeakMap;function b(e){let t=y.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:o,font:s,input:a,media:l,radiu
33s:u,shadow:c,space:d,style:f}=e;return{_version:0,avatar:n,button:r,container:o,color:{light:{transparent:v(i.light.transparent),default:v(i.light.default),primary:v(i.light.primary),positive:v(i.light.positive),caution:v(i.light.caution),critical:v(i.light.critical)},dark:{transparent:v(i.dark.transparent),default:v(i.dark.default),primary:v(i.dark.primary),positive:v(i.dark.positive),caution:v(i.dark.caution),critical:v(i.dark.critical)}},focusRing:a.text.focusRing,fonts:s,input:a,media:l,radius:u,shadows:c,space:d,styles:f,v2:e}}function v(e){return{base:{bg:e.bg,fg:e.fg,border:e.border,focusRing:e.focusRing,shadow:e.shadow},button:e.button,card:e.selectable.default,dark:e._dark,input:{default:w(e.input.default),invalid:w(e.input.invalid)},muted:{...e.button.ghost,transparent:e.button.ghost.default},solid:{...e.button.default,transparent:e.button.default.default},selectable:e.selectable,spot:{gray:e.avatar.gray.bg,blue:e.avatar.blue.bg,purple:e.avatar.purple.bg,magenta:e.avatar.magenta.bg,red:e.avatar.red.bg,orange:e.avatar.orange.bg,yellow:e.avatar.yellow.bg,green:e.avatar.green.bg,cyan:e.avatar.cyan.bg},syntax:e.syntax}}function w(e){return{enabled:_(e.enabled),disabled:_(e.disabled),readOnly:_(e.readOnly),hovered:_(e.hovered)}}function _(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let x=["multiply","screen"],k=["transparent","default","neutral","primary","suggest","positive","caution","critical"],E=["default","neutral","primary","suggest","positive","caution","critical"],A=["enabled","hovered","pressed","selected","disabled"],S=["default","ghost","bleed"],C=["default","invali
33d"],I=["enabled","hovered","readOnly","disabled"];function T(e){return r.V0.includes(e)}function O(e){return/^\d+%$/.test(e)}function R(e){var t;let n=e.split("/"),i=n.shift()||"",[o,s]=i.split(" ");if(T(o)){let e=n.shift()||"";return O(s)?{type:"color",tint:o,mix:Number(s.slice(0,-1))/100}:D(e)?{type:"color",tint:o,opacity:Number(e)}:{type:"color",tint:o}}if("black"===(t=o)||"white"===t){let e=n.shift()||"";return O(s)?{type:"color",key:o,mix:Number(s.slice(0,-1))/100}:D(e)?{type:"color",key:o,opacity:Number(e)}:{type:"color",key:o}}if(r.Cv.includes(o)){let[e,t]=(i=n.shift()||"").split(" ");if(T(e)){let r=n.shift()||"";return O(t)?{type:"color",hue:o,tint:e,mix:Number(t.slice(0,-1))/100}:D(r)?{type:"color",hue:o,tint:e,opacity:Number(r)}:{type:"color",hue:o,tint:e}}return{type:"hue",value:o}}if(x.includes(o))return{type:"blendMode",value:o}}function D(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...r.Cv],[...k],[...E],[...A],[...C],[...I];let j=["500","500"];function M(e,t=j){var n;let r,{hue:i,scheme:o}=e,s=R(t[+("light"!==o)]);if(!s||"color"!==s.type)throw Error(`Invalid color token: ${t[0]}`);return n={...s,hue:s.hue||i},r="",r="black"===n.key||"white"===n.key?n.key:`${n.hue}/${n.tint}`,void 0!==n.mix?`${r} ${100*n.mix}%`:(void 0!==n.opacity&&(r+=`/${n.opacity}`),r)}let N={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},suggest:{_hue:"purple"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["600","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/500","gray/400"],fg:["white","black"]}},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["300","600"],code:{bg:["950","50"],fg:["300","600"]},fg:["300","600"],muted:{bg:["950","50"],fg:["300","600"]},kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["200","800"],fg:["800","200"]},selected:{bg:["200","800"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}}
33,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["300","700"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","900"],fg:["800","200"],icon:["800 70%","300 70%"]},pressed:{bg:["100","800"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["400","600"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","700"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{bg:["50","950"],fg:["400","600"],border:["100","900"],placeholder:["200","800 50%"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["500 10%","400 10%"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{bg:["50 50%","950 50%"],fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],c
33data:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function F(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function $(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(P,{})}function P(e,t){for(let n of Object.keys(t)){let r=e[n],i=t[n];F(r)&&F(i)?e[n]=$(r,i):e[n]=i}return e}function L(e,t){let{scheme:n}=e,r={};for(let e of k)r[e]=function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{_blend:(i?._blend||["multiply","screen"])[+("light"!==n)],_dark:"dark"===n,accent:{fg:M(o,i?.accent?.fg)},avatar:z({scheme:n},i),backdrop:M(o,i?.backdrop),badge:B(i?.badge,{scheme:n},t),bg:M(o,i?.bg),border:M(o,i?.border),button:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of S)i[e]=function(e,t){let{cardTone:n,mode:r,scheme:i}=e,o={};for(let e of E)o[e]=function(e,t){let{cardTone:n,mode:r,scheme:i,tone:o}=e,s={};for(let e of A)s[e]=function(e,t){let{cardTone:n,mode:r,tone:i,scheme:o,state:s}=e,a=t?.color?.base?.[n],l=t?.color?.button?.[r]?.[i]?.[s],u=l?._hue||a?._hue||"gray",c=l?._blend||["screen","multiply"],d={hue:u,scheme:o};return{_blend:c[+("light"!==o)],accent:{fg:M(d,l?.accent?.fg)},avatar:z({scheme:o},l),badge:B(l?.badge,{scheme:o},t),bg:M(d,l?.bg),border:M(d,l?.border),code:{bg:M(d,l?.code?.bg),fg:M(d,l?.code?.fg)},fg:M(d,l?.fg),icon:M(d,l?.icon),muted:{bg:M(d,l?.muted?.bg),fg:M(d,l?.muted?.fg)},kbd:{bg:M(d,l?.kbd?.bg),fg:M(d,l?.kbd?.fg),border:M(d,l?.kbd?.border)},link:{fg:M(d,l?.link?.fg)},skeleton:{from:M(d,l?.skeleton?.from),to:M(d,l?.skeleton?.to)}}}({cardTone:n,mode:r,tone:o,scheme:i,state:e},t);return s}({cardTone:n,mode:r,scheme:i,tone:e},t);return o}({cardTone:r,scheme:n,mode:e},t);return i}({scheme:n,tone:r},t),code:{bg:M(o,i?.code?.bg),fg:M(o,i?.code?.fg)},fg:M(o,i?.fg),focusRing:M(o,i?.focusRing),icon:M(o,i?.icon),input:function(e,t){let{scheme:n,tone:r}=e;return{default:q({mode:"default",scheme:n,tone:r},t),invalid:q({mode:"invalid",scheme:n,tone:r},t)}}({scheme:n,tone:r},t),kbd:{bg:M(o,i?.kbd?.bg),fg:M(o,i?.kbd?.fg),border:M(o,i?.kbd?.border)},link:{fg:M(o,i?.link?.fg)},muted:{bg:M(o,i?.muted?.bg),fg:M(o,i?.muted?.fg)},selectable:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of E)i[e]=function(e,t){let{cardTone:n,scheme:r,tone:i}=e,o={};for(let e of A)o[e]=function(e,t){let{cardTone:n,scheme:r,state:i,tone:o}=e,s=t?.color?.base?.[n],a=t?.color?.selectable?.[o]?.[i],l=a?._hue||s?._hue||"gray",u=a?._blend||["screen","multiply"],c={hue:l,scheme:r};return{_blend:u[+("light"!==r)],accent:{fg:M(c,a?.accent?.fg)},avatar:z({scheme:r},a),badge:B(a?.badge,{scheme:r},t),bg:M(c,a?.bg),border:M(c,a?.border),code:{bg:M(c,a?.code?.bg),fg:M(c,a?.code?.fg)},fg:M(c,a?.fg),icon:M(c,a?.icon),muted:{bg:M(c,a?.muted?.bg),fg:M(c,a?.muted?.fg)},kbd:{bg:M(c,a?.kbd?.bg),fg:M(c,a?.kbd?.fg),border:M(c,a?.kbd?.border)},link:{fg:M(c,a?.link?.fg)},skeleton:{from:M(c,a?.skeleton?.from),to:M(c,a?.skeleton?.to)}}}({cardTone:n,tone:i,scheme:r,state:e},t);return o}({cardTone:r,scheme:n,tone:e},t);return i}({scheme:n,tone:r},t),shadow:function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{outline:M(o,i?.shadow?.outline),umbra:M(o,i?.shadow?.umbra),penumbra:M(o,i?.shadow?.penumbra),ambient:M(o,i?.shadow?.ambient)}}
33({scheme:n,tone:r},t),skeleton:{from:M(o,i?.skeleton?.from),to:M(o,i?.skeleton?.to)},syntax:function(e,t){let{scheme:n}=e,r=t?.color?.syntax,i={hue:"gray",scheme:n};return{atrule:M(i,r?.atrule),attrName:M(i,r?.attrName),attrValue:M(i,r?.attrValue),attribute:M(i,r?.attribute),boolean:M(i,r?.boolean),builtin:M(i,r?.builtin),cdata:M(i,r?.cdata),char:M(i,r?.char),class:M(i,r?.class),className:M(i,r?.className),comment:M(i,r?.comment),constant:M(i,r?.constant),deleted:M(i,r?.deleted),doctype:M(i,r?.doctype),entity:M(i,r?.entity),function:M(i,r?.function),hexcode:M(i,r?.hexcode),id:M(i,r?.id),important:M(i,r?.important),inserted:M(i,r?.inserted),keyword:M(i,r?.keyword),number:M(i,r?.number),operator:M(i,r?.operator),prolog:M(i,r?.prolog),property:M(i,r?.property),pseudoClass:M(i,r?.pseudoClass),pseudoElement:M(i,r?.pseudoElement),punctuation:M(i,r?.punctuation),regex:M(i,r?.regex),selector:M(i,r?.selector),string:M(i,r?.string),symbol:M(i,r?.symbol),tag:M(i,r?.tag),unit:M(i,r?.unit),url:M(i,r?.url),variable:M(i,r?.variable)}}({scheme:n},t)}}({scheme:n,tone:e},t);return r}function z(e,t){let{scheme:n}=e;return{gray:U({color:"gray",scheme:n},t),blue:U({color:"blue",scheme:n},t),purple:U({color:"purple",scheme:n},t),magenta:U({color:"magenta",scheme:n},t),red:U({color:"red",scheme:n},t),orange:U({color:"orange",scheme:n},t),yellow:U({color:"yellow",scheme:n},t),green:U({color:"green",scheme:n},t),cyan:U({color:"cyan",scheme:n},t)}}function U(e,t){let{color:n,scheme:r}=e,i=t?.avatar?.[n],o={hue:i?._hue||"gray",scheme:r};return{_blend:(i?._blend||["screen","multiply"])[+("light"!==r)],bg:M(o,i?.bg),fg:M(o,i?.fg)}}function B(e,t,n){let{scheme:r}=t,i={};for(let t of E)i[t]=function(e,t,n){let{scheme:r,tone:i}=t,o=e?.[i],s={hue:o?._hue||n?.color?.base?.[i]?._hue||"gray",scheme:r};return{bg:M(s,o?.bg),fg:M(s,o?.fg),dot:M(s,o?.dot),icon:M(s,o?.icon)}}(e,{scheme:r,tone:t},n);return i}function q(e,t){let{mode:n,scheme:r,tone:i}=e;return{enabled:V({mode:n,scheme:r,state:"enabled",cardTone:i},t),hovered:V({mode:n,scheme:r,state:"hovered",cardTone:i},t),readOnly:V({mode:n,scheme:r,state:"readOnly",cardTone:i},t),disabled:V({mode:n,scheme:r,state:"disabled",cardTone:i},t)}}function V(e,t){let{cardTone:n,mode:r,scheme:i,state:o}=e,s=t?.color?.base?.[n],a=t?.color?.input?.[r]?.[o],l=a?._hue||s?._hue||"gray",u=a?._blend||["screen","multiply"],c={hue:l,scheme:i};return{_blend:u[+("light"!==i)],bg:M(c,a?.bg),border:M(c,a?.border),fg:M(c,a?.fg),muted:{bg:M(c,a?.muted?.bg)},placeholder:M(c,a?.placeholder)}}let H=r.yW;function G(e,t=0,n=1){return Math.min(n,Math.max(t,e))}function W(e,t,n,r,i){var o;return n*(1-(o=G((i-e)/(t-e))))+r*o}function Y(e){return Math.round(e)}function K(e){if(4===e.length){let t=e.slice(1,2),n=e.slice(2,3),r=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(n+n,16),b:parseInt(r+r,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function Z(e){let t=Y(G(Math.round(e.r),0,255)),n=Y(G(Math.round(e.g),0,255)),r=Y(G(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${n},${r},${e.a})`:"#"+(0x1000000+(t<<16)+(n<<8)+r).toString(16).slice(1)}let X=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function J(e){if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return K(e);if(e.startsWith("hsl("))return function(e){let t=e.s/100,n=e.l/100,r=(1-Math.abs(2*n-1))*t,i=r*(1-Math.abs(e.h/60%2-1)),o=n-r/2,s=0,a=0,l=0;return 0<=e.h&&e.h<60?(s=r,a=i,l=0):60<=e.h&&e.h<120?(s=i,a=r,l=0):120<=e.h&&e.h<180?(s=0,a=r,l=i):180<=e.h&&e.h<240?(s=0,a=i,l=r):240<=e.h&&e.h<300?(s=i,a=0,l=r):300<=e.h&&e.h<360&&(s=r,a=0,l=i),{r:Math.round((s+o)*255),g:Math.round((a+o)*255),b:Math.round((l+o)*255)}}(function(e){let t=X.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e));if(e.startsWith("rgba(")){let t=e.replace(/rgba\(|\)/g,"").split(",");return{r:parseInt(t[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}throw Error(`parseColor: unexpected color format: "${e}"`)}function Q(e,t){let n=J(e);return`rgba(${n.r},${n.g},${n.b},${t})`}let ee=[0,255];function et(e,t){let{bg:n,blendMode:r,colorPalette:i}=t;if("white"===n)throw Error("Cannot blend with white background");let o=R(e);if(!o||"color"!==o.type)throw Error(`Invalid color token value: ${e}`);let s="";if("black"===o.key&&(s=en(i.black)),"white"===o.key&&(s=en(i.white)),o.hue&&o.tint&&(s=en(i[o.hue][o.tint])),!s)throw Error(`Invalid color token value: ${e}`);let a=s,l={blendMode:r,bg:n,black:en(i.black),white:en(i.white)};try{if(s=function(e,t){var n,r,i,o,s,a;let{blendMode:l}=t,u=J(e),c=J(t.black),d=J(t.white),f=t.bg?J(t.bg):"multiply"===l?d:c,h={r:[c.r,d.r],g:[c.g,d.g],b:[c.b,d.b]},p={r:G(W(...h.r,...ee,f.r),...ee),g:G(W(...h.g,...ee,f.g),...ee),b:G(W(...h.b,...ee,f.b),...ee)},g={r:G(W(...h.r,...ee,u.r),...ee),g:G(W(...h.g,...ee,u.g),...ee),b:G(W(...h.b,...ee,u.b),...ee)},m="multiply"===l?{r:255*(p.r/255*(g.r/255)),g:255*(p.g/255*(g.g/255)),b:255*(p.b/255*(g.b/255))}:{r:255*((n=p.r/255)+(r=g.r/255)-n*r),g:255*((i=p.g/255)+(o=g.g/255)-i*o),b:255*((s=p.b/255)+(a=g.b/255)-s*a)};return Z({r:G(W(...ee,...h.r,m.r),...h.r),g:G(W(...ee,...h.g,m.g),...h.g),b:G(W(...ee,...h.b,m.b),...h.b)})}(s,l),n&&void 0!==o.mix){var u,c,d,f,h,p,g;let e=K(n),t=K(s);s=Z((u=o.mix,{r:(c=e.r,d=t.r,c+(d-c)*u),g:(f=e.g,h=t.g,f+(h-f)*u),b:(p=e.b,g=t.b,p+(g-p)*u)}))}}catch(e){throw console.warn("could not blend",s,l),e}
33return"#aN"===s&&(console.warn(`invalid color token value: ${e}`),s=a),void 0!==o.opacity&&(s=Q(s,o.opacity)),s}function en(e){return"string"==typeof e?e:e.hex}function er(e,t){let n=Object.entries(t),[,r]=n.find(([e])=>"transparent"===e),[,i]=n.find(([e])=>"default"===e),o=ei(r,{colorPalette:e}),s=ei(i,{colorPalette:e}),a=s.bg;if("white"===a)throw Error("Cannot blend with white background");return Object.fromEntries([["transparent",o],["default",s],...n.filter(([e])=>"default"!==e&&"transparent"!==e).map(([t,n])=>[t,ei(n,{bg:a,colorPalette:e})])])}function ei(e,t){var n,r,i,o;let{colorPalette:s,bg:a}=t,l=e._blend||"multiply",u=et(e.bg,{colorPalette:s,bg:a,blendMode:l}),c={colorPalette:s,bg:u,blendMode:l},d=(n=e.button,r={baseBg:u,blendMode:l,colorPalette:s},{default:ea(n.default,r),ghost:ea(n.ghost,r),bleed:ea(n.bleed,r)}),f=function(e,t){let n={};for(let o of E){var r,i;n[o]=(r=e[o],i=t,{enabled:el(r.enabled,i),hovered:el(r.hovered,i),pressed:el(r.pressed,i),selected:el(r.selected,i),disabled:el(r.disabled,i)})}return n}(e.selectable,{colorPalette:s,baseBg:u,blendMode:l}),h={outline:et(e.shadow.outline,c),umbra:et(e.shadow.umbra,{...c,bg:void 0,colorPalette:{...s,black:"#000000"}}),penumbra:et(e.shadow.penumbra,{...c,bg:void 0,colorPalette:{...s,black:"#000000"}}),ambient:et(e.shadow.ambient,{...c,bg:void 0,colorPalette:{...s,black:"#000000"}})};return{_blend:l,_dark:e._dark,accent:{fg:et(e.accent.fg,c)},avatar:eo(e.avatar,{baseBg:u,colorPalette:s,blendMode:l}),backdrop:et(e.backdrop,c),badge:es(e.badge,{baseBg:u,colorPalette:s,blendMode:l}),bg:u,border:et(e.border,c),button:d,code:{bg:et(e.code.bg,c),fg:et(e.code.fg,c)},fg:et(e.fg,c),focusRing:et(e.focusRing,c),icon:et(e.icon,c),input:(i=e.input,o={baseBg:u,colorPalette:s,blendMode:l},{default:eu(i.default,o),invalid:eu(i.invalid,o)}),kbd:function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=et(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:o,blendMode:r,colorPalette:i};return{bg:o,fg:et(e.fg,s),border:et(e.border,s)}}(e.kbd,{baseBg:u,colorPalette:s,blendMode:l}),link:{fg:et(e.link.fg,c)},muted:{bg:et(e.muted.bg,c),fg:et(e.muted.fg,c)},shadow:h,skeleton:{from:et(e.skeleton.from,c),to:et(e.skeleton.to,c)},syntax:function(e,t){let{colorPalette:n,baseBg:r,blendMode:i}=t,o={colorPalette:n,bg:r,blendMode:i};return{atrule:et(e.atrule,o),attrName:et(e.attrName,o),attrValue:et(e.attrValue,o),attribute:et(e.attribute,o),boolean:et(e.boolean,o),builtin:et(e.builtin,o),cdata:et(e.cdata,o),char:et(e.char,o),class:et(e.class,o),className:et(e.className,o),comment:et(e.comment,o),constant:et(e.constant,o),deleted:et(e.deleted,o),doctype:et(e.doctype,o),entity:et(e.entity,o),function:et(e.function,o),hexcode:et(e.hexcode,o),id:et(e.id,o),important:et(e.important,o),inserted:et(e.inserted,o),keyword:et(e.keyword,o),number:et(e.number,o),operator:et(e.operator,o),prolog:et(e.prolog,o),property:et(e.property,o),pseudoClass:et(e.pseudoClass,o),pseudoElement:et(e.pseudoElement,o),punctuation:et(e.punctuation,o),regex:et(e.regex,o),selector:et(e.selector,o),string:et(e.string,o),symbol:et(e.symbol,o),tag:et(e.tag,o),unit:et(e.unit,o),url:et(e.url,o),variable:et(e.variable,o)}}(e.syntax,{baseBg:u,colorPalette:s,blendMode:l}),selectable:f}}function eo(e,t){let n={};for(let i of r.Cv)n[i]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=et(e.bg,{bg:n,blendMode:r,colorPalette:i});return{_blend:o,bg:s,fg:et(e.fg,{bg:s,blendMode:o,colorPalette:i})}}(e[i],t);return n}function es(e,t){let n={};for(let r of E)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=et(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:o,blendMode:r,colorPalette:i};return{bg:o,dot:et(e.dot,s),fg:et(e.fg,s),icon:et(e.icon,s)}}(e[r],t);return n}function ea(e,t){let n={};for(let o of E){var r,i;n[o]=(r=e[o],i=t,{enabled:el(r.enabled,i),hovered:el(r.hovered,i),pressed:el(r.pressed,i),selected:el(r.selected,i),disabled:el(r.disabled,i)})}return n}function el(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=et(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:s,blendMode:o,colorPalette:i};return{_blend:o,accent:{fg:et(e.accent.fg,a)},avatar:eo(e.avatar,{baseBg:s,colorPalette:i,blendMode:o}),badge:es(e.badge,{baseBg:s,colorPalette:i,blendMode:o}),bg:s,border:et(e.border,a),code:{bg:et(e.code.bg,a),fg:et(e.code.fg,a)},fg:et(e.fg,a),icon:et(e.icon,a),link:{fg:et(e.link.fg,a)},muted:{bg:et(e.muted.bg,a),fg:et(e.muted.fg,a)},kbd:{bg:et(e.kbd.bg,a),fg:et(e.kbd.fg,a),border:et(e.kbd.border,a)},skeleton:{from:et(e.skeleton?.from,a),to:et(e.skeleton?.to,a)}}}function eu(e,t){return{enabled:ec(e.enabled,t),hovered:ec(e.hovered,t),readOnly:ec(e.readOnly,t),disabled:ec(e.disabled,t)}}function ec(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",s=et(e.bg,{colorPalette:i,bg:n,blendMode:r}),a={colorPalette:i,bg:s,blendMode:o};return{_blend:o,bg:s,border:et(e.border,a),fg:et(e.fg,a),muted:{bg:et(e.muted.bg,a)},placeholder:et(e.placeholder,a)}}function ed(e){let t=function(e){let t={color:function(e){let t=$(N,e);return{base:function(e){let t={};for(let n of k)t[n]=function(e,t){let n=$(e?.base?.["*"],e?.base?.[t]),i=n._hue||e?.base?.[t]?._hue||"gray";return{...n,_hue:i,avatar:r.Cv.reduce((e,t)=>
33({...e,[t]:$({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:E.reduce((t,r)=>({...t,[r]:{_hue:e?.base?.[r]?._hue||i,...n.badge?.["*"],...n.badge?.[r]}}),{})}}(e,n);return t}(t),button:function(e){let t={};for(let n of S)t[n]=function(e,t){let n={};for(let i of E)n[i]=function(e,t,n){let i={};for(let o of A)i[o]=function(e,t,n,i){let o=$(e?.button?.[n]?.["*"]?.["*"],e?.button?.[n]?.[t]?.["*"],e?.button?.[n]?.["*"]?.[i],e?.button?.[n]?.[t]?.[i]),s=o._hue||e?.base?.[t]?._hue;return{...o,_hue:s,avatar:r.Cv.reduce((e,t)=>({...e,[t]:$({_hue:t},o.avatar?.["*"],o.avatar?.[t])}),{}),badge:E.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||s,...o.badge?.["*"],...o.badge?.[n]}}),{})}}(e,n,t,o);return i}(e,t,i);return n}(e,n);return t}(t),input:function(e){let t={};for(let n of C)t[n]=function(e,t){let n={};for(let r of I)n[r]=function(e,t,n){let r=$(e?.input?.["*"]?.["*"],e?.input?.[t]?.["*"],e?.input?.["*"]?.[n],e?.input?.[t]?.[n]),i=r._hue||e?.input?.[t]?._hue;return{...r,_hue:i}}(e,t,r);return n}(e,n);return t}(t),selectable:function(e){let t={};for(let n of E)t[n]=function(e,t){let n={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let i of A)n[i]=function(e,t,n){let i=$(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[n],e?.selectable?.[t]?.[n]),o=i._hue||e?.base?.[t]?._hue;return{...i,_hue:o,avatar:r.Cv.reduce((e,t)=>({...e,[t]:$({_hue:t},i.avatar?.["*"],i.avatar?.[t])}),{}),badge:E.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||o,...i.badge?.["*"],...i.badge?.[n]}}),{})}}(e,t,i);return n}(e,n);return t}(t),syntax:t.syntax}}(e?.color)};return{light:L({scheme:"light"},t),dark:L({scheme:"dark"},t)}}(e);return b({_version:2,avatar:e?.avatar??o.avatar,button:e?.button??o.button,card:e?.card??o.card,color:function(e,t){let n=t?.palette??H;return{light:er(n,e.light),dark:er(n,e.dark)}}(t,e),container:e?.container??o.container,font:e?.font??s,input:e?.input??o.input,layer:e?.layer??o.layer,media:e?.media??o.media,radius:e?.radius??o.radius,shadow:e?.shadow??o.shadow,space:e?.space??o.space,style:e?.style??o.style})}let ef=new Map;function eh(e,t,n){var r;let i=function(e,t,n){let r=ef.get(t);if(!r)return;let i=r.get(n);if(i)return i.get(e)}(e,t,n);if(i)return i;let s=g(e)?b(e):e,a=g(e)?e:function(e){if(e.v2)return e.v2;let t=m.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:s,fonts:a,input:u,layer:c,media:d,radius:f,shadows:h,space:p,styles:g}=e,y={_version:2,avatar:{...o.avatar,...n},button:{...o.button,...r},card:o.card,color:{light:{transparent:l(i.light.transparent),default:l(i.light.default),neutral:l(i.light.transparent),primary:l(i.light.primary),suggest:l(i.light.primary),positive:l(i.light.positive),caution:l(i.light.caution),critical:l(i.light.critical)},dark:{transparent:l(i.dark.transparent),default:l(i.dark.default),neutral:l(i.dark.transparent),primary:l(i.dark.primary),suggest:l(i.dark.primary),positive:l(i.dark.positive),caution:l(i.dark.caution),critical:l(i.dark.critical)}},container:s,font:a,input:{...o.input,...u,checkbox:{...o.input.checkbox,...u.checkbox},radio:{...o.input.radio,...u.radio},switch:{...o.input.switch,...u.switch}},layer:c??o.layer,media:d,radius:f,shadow:h,space:p,style:g};return m.set(e,y),y}(e),u=s.color[t]||s.color.light,c=u[n]||u.default,d=s.layer||o.layer,f=a.color[t]||a.color.light,h="neutral"in(r=f[n]||f.default).badge?r:{...r,badge:{...r.badge,neutral:r.badge.default,suggest:r.badge.primary},button:{bleed:{...r.button.bleed,neutral:r.button.bleed.default,suggest:r.button.bleed.primary},default:{...r.button.default,neutral:r.button.default.default,suggest:r.button.default.primary},ghost:{...r.button.ghost,neutral:r.button.ghost.default,suggest:r.button.ghost.primary}},selectable:{...r.selectable,neutral:r.selectable.default,suggest:r.selectable.primary}},p=a.layer||o.layer,y={sanity:{...s,color:c,layer:d,v2:{...a,_resolved:!0,color:h,layer:p}}};return function(e,t,n,r){ef.has(t)||ef.set(t,new Map);let i=ef.get(t);i.has(n)||i.set(n,new WeakMap),i.get(n).set(e,r)}(e,t,n,y),y}}
33,56633:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});let r="8.55.0"},56753:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(92118);function i(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,r.a)(e)))}},56819:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Kg:()=>u,L2:()=>v,NF:()=>c,Qd:()=>f,Qg:()=>m,T2:()=>s,W6:()=>l,bJ:()=>i,gd:()=>g,mE:()=>y,sO:()=>d,tH:()=>b,vq:()=>p,xH:()=>h});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return b(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function s(e){return o(e,"ErrorEvent")}function a(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function c(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||c(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return o(e,"Object")}function h(e){return"undefined"!=typeof Event&&b(e,Event)}function p(e){return"undefined"!=typeof Element&&b(e,Element)}function g(e){return o(e,"RegExp")}function m(e){return!!(e&&e.then&&"function"==typeof e.then)}function y(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function b(e,t){try{return e instanceof t}catch(e){return!1}}function v(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},57348:(e,t,n)=>{"use strict";n.d(t,{EJ:()=>h,pE:()=>v,wS:()=>g});var r=n(63056),i=n(70469),o=n(57433),s=n(74824),a=n(74853),l=n(3283),u=n(84623),c=n(43538),d=n(90848),f=n(40609);function h(e){return e}function p({match:e,adjustIndexBy:t,snapshot:n,focusBlock:r,originalTextBefore:i}){let[o,a,u]=e,c=a+t,d={anchor:{path:r.path,offset:c},focus:{path:r.path,offset:c+u-a},backward:!1},f={anchor:{path:r.path,offset:Math.min(d.anchor.offset,i.length)},focus:{path:r.path,offset:Math.min(d.focus.offset,i.length)}},h=(0,l.m4)({context:n.context,blockOffset:f.anchor,direction:"backward"}),p=(0,l.m4)({context:n.context,blockOffset:f.focus,direction:"forward"});if(!h||!p)return;let g={anchor:h,focus:p},m=(0,s.PF)({...n,context:{...n.context,selection:{anchor:g.anchor,focus:g.anchor}}}),y=(0,s.$F)(n);if(!m.some(e=>y.some(t=>e.node._key===t.node._key)))return{text:o,selection:g,targetOffsets:d}}function g(e){let t,n=(0,r.c)(3),o=(0,i.h)();return n[0]!==o||n[1]!==e.rules?(t={input:{editor:o,rules:e.rules}},n[0]=o,n[1]=e.rules,n[2]=t):t=n[2],(0,c.qf)(b,t),null}let m=(0,d.mj)({types:{context:{},input:{},events:{}},actors:{"delete.backward listener":(0,f.SP)(({input:e,sendBack:t})=>e.editor.registerBehavior({behavior:(0,o.Ke)({on:"delete.backward",actions:[()=>[(0,o.xl)({type:"history.undo"}),(0,o.QZ)(()=>{t({type:"history.undo raised"})})]]})})),"input rule listener":(0,f.SP)(({input:e,sendBack:t})=>{let n=e.editor.registerBehavior({behavior:function(e){return(0,o.Ke)({on:"insert.text",guard:({snapshot:t,event:n,dom:r})=>{if(!t.context.selection||!(0,l.WV)(t.context.selection))return!1;let i=(0,a.gU)(t);if(!i)return!1;let o=(0,s._M)(t),u=o,c=u+n.text,d=c,f=[],h=[];for(let s of e.rules){let e=RegExp(s.on.source,"gd");for(;;){let a=[...d.matchAll(e)].flatMap(e=>{if(void 0===e.indices)return[];let n=e.indices.at(0);if(!n)return[];let r=p({match:[e.at(0)??"",...n],adjustIndexBy:c.length-d.length,snapshot:t,focusBlock:i,originalTextBefore:o});if(!r||r.targetOffsets.focus.offset<=o.length||f.some(e=>e.targetOffsets.anchor.offset===r.targetOffsets.anchor.offset))return[];let s=e.indices.length>1?e.indices.slice(1).filter(e=>void 0!==e):[];return[{text:r.text,selection:r.selection,targetOffsets:r.targetOffsets,groupMatches:s.flatMap((n,r)=>p({match:[e.at(r+1)??"",...n],adjustIndexBy:c.length-d.length,snapshot:t,focusBlock:i,originalTextBefore:o})||[])}]});if(a.length>0){let e=s.guard?.({snapshot:t,event:{type:"custom.input rule",matches:a,focusBlock:i,textBefore:o,textInserted:n.text},dom:r})??!0;if(!e)break;for(let l of s.actions.map(s=>s({snapshot:t,event:{type:"custom.input rule",matches:a,focusBlock:i,textBefore:o,textInserted:n.text},dom:r},e)))for(let e of l)h.push(e);for(let e of a.flatMap(e=>0===e.groupMatches.length?[e]:e.groupMatches))f.push(e),u=d.slice(0,e.targetOffsets.focus.offset??0),d=c.slice(e.targetOffsets.focus.offset??0)}else break}}return 0!==h.length&&{actions:h}},actions:[({event:e})=>[(0,o.sY)(e)],(e,{actions:t})=>t,({snapshot:t})=>[(0,o.QZ)(()=>{let n=(0,s.oV)(t);e.onApply?.({endOffsets:n,endSelection:t.context.selection})})]]})}({rules:e.rules,onApply:({endOffsets:e,endSelection:n})=>{t({type:"input rule raised",endOffsets:e,endSelection:n})}})});return()=>{n()}}),"selection listener":(0,f.SP)(({sendBack:e,input:t})=>{let n=t.editor.on("selection",n=>{e({type:"selection changed",blockOffsets:(0,s.oV)({...t.editor.getSnapshot(),context:{...t.editor.getSnapshot().context,selection:n.selection}}),selection:n.selection})});return()=>n.unsubscribe()})},guards:{"selection changed":({context:e,event:t})=>{if("selection changed"!==t.type)return!1;if(t.blockOffsets&&e.endOffsets){let n=e.endOffsets.start.path[0]._key!==t.blockOffsets.start.path[0]._key||e.endOffsets.start.offset!==t.blockOffsets.start.offset,r=e.endOffsets.end.path[0]._key!==t.blockOffsets.end.path[0]._key||e.endOffsets.end.offset!==t.blockOffsets.end.offset;return n||r}return!(0,u.sr)(e.endSelection,t.selection)}}}),y=m.assign({endOffsets:({context:e,event:t})=>"input rule raised"===t.type?t.endOffsets:e.endOffsets,endSelection:({context:e,event:t})=>"input rule raised"===t.type?t.endSelection:e.endSelection}),b=m.createMachine({id:"input rule",context:({input:e})=>({editor:e.editor,rules:e.rules,endOffsets:void 0,endSelection:null}),initial:"idle",invoke:{src:"input rule listener",input:({context:e})=>({editor:e.editor,rules:e.rules})},on:{"input rule raised":{target:".input rule applied",actions:y}},states:{idle:{},"input rule applied":{invoke:[{src:"delete.backward listener",input:({context:e})=>({editor:e.editor})},{src:"selection listener",input:({context:e})=>({editor:e.editor})}],on:{"selection changed":{target:"idle",guard:"selection changed"},"history.undo raised":{target:"idle"}}}}});function v(e){return{on:e.on,guard:e.guard??(()=>!0),actions:[({snapshot:t,event:n},r)=>{let i=n.matches.flatMap(e=>0===e.groupMatches.length?[e]:e.groupMatches),s=n.textBefore+n.textInserted,l=0,u=[];for(let s of i.reverse()){let i=e.transform({location:s},r);l-=i.length-(s.targetOffsets.focus.offset-s.targetOffsets.anchor.offset),u.push((0,o.xl)({type:"select",at:s.targetOffsets})),u.push((0,o.xl)({type:"delete",at:s.targetOffsets})),u.push((0,o.xl)({type:"insert.child",child:{_type:t.context.schema.span.name,text:i,marks:(0,a.JB)({...t,context:{...t.context,selection:{anchor:s.selection.anchor,focus:{path:s.selection.focus.path,offset:M
33ath.min(s.selection.focus.offset,n.textBefore.length)}}}})?.marks??[]}}))}let c={path:n.focusBlock.path,offset:s.length-l};return[...u,(0,o.xl)({type:"select",at:{anchor:c,focus:c}})]}]}}},57386:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(15041),i=n(37537),o=Object.prototype.hasOwnProperty;let s=function(e,t,n){var s=e[t];o.call(e,t)&&(0,i.A)(s,n)&&(void 0!==n||t in e)||(0,r.A)(e,t,n)}},57433:(e,t,n)=>{"use strict";function r(e){return{type:"forward",event:e}}function i(e){return{type:"raise",event:e}}function o(e){return{type:"effect",effect:e}}function s(e){return e}n.d(t,{Ke:()=>s,QZ:()=>o,sY:()=>r,xl:()=>i})},57923:e=>{e.exports=function(e){return this.__data__.has(e)}},57994:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(83217),i=n(45240),o=n(9180);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t),l=(s-a)/o.s0;return(0,r.u)(null==n?void 0:n.roundingMethod)(l)}},58016:(e,t,n)=>{"use strict";n.d(t,{A:()=>Z});var r=n(88816);let i=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var o=n(57386),s=n(69294),a=n(29431),l=n(98046),u=n(62308),c="object"==typeof exports&&exports&&!exports.nodeType&&exports,d=c&&"object"==typeof module&&module&&!module.nodeType&&module,f=d&&d.exports===c?u.A.Buffer:void 0,h=f?f.allocUnsafe:void 0;let p=function(e,t){if(t)return e.slice();var n=e.length,r=h?h(n):new e.constructor(n);return e.copy(r),r};var g=n(37998),m=n(30329),y=n(3518),b=n(22275),v=n(71916),w=n(94485),_=Object.prototype.hasOwnProperty;let x=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&_.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var k=n(4573);let E=function(e){var t=new e.constructor(e.byteLength);return new k.A(t).set(new k.A(e)),t},A=function(e,t){var n=t?E(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var S=/\w*$/;let C=function(e){var t=new e.constructor(e.source,S.exec(e));return t.lastIndex=e.lastIndex,t};var I=n(63e3),T=I.A?I.A.prototype:void 0,O=T?T.valueOf:void 0;let R=function(e,t){var n=t?E(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},D=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return E(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return A(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return R(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return C(e);case"[object Symbol]":return O?Object(O.call(e)):{}}};var j=n(44321),M=n(79614),N=n(53798),F=n(64536),$=n(82092),P=n(11331),L=n(35668),z=n(48272),U=z.A&&z.A.isMap,B=U?(0,L.A)(U):function(e){return(0,P.A)(e)&&"[object Map]"==(0,w.A)(e)},q=n(33476),V=z.A&&z.A.isSet,H=V?(0,L.A)(V):function(e){return(0,P.A)(e)&&"[object Set]"==(0,w.A)(e)},G="[object Arguments]",W="[object Function]",Y="[object Object]",K={};K[G]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object DataView]"]=K["[object Boolean]"]=K["[object Date]"]=K["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Map]"]=K["[object Number]"]=K[Y]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object Symbol]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Error]"]=K[W]=K["[object WeakMap]"]=!1;let Z=function e(t,n,u,c,d,f){var h,_=1&n,k=2&n,E=4&n;if(u&&(h=d?u(t,c,d,f):u(t)),void 0!==h)return h;if(!(0,q.A)(t))return t;var A=(0,F.A)(t);if(A){if(h=x(t),!_)return(0,g.A)(t,h)}else{var S,C,I,T,O,R=(0,w.A)(t),P=R==W||"[object GeneratorFunction]"==R;if((0,$.A)(t))return p(t,_);if(R==Y||R==G||P&&!d){if(h=k||P||"function"!=typeof(S=t).constructor||(0,N.A)(S)?{}:(0,j.A)((0,M.A)(S)),!_)return k?(I=(C=h)&&(0,s.A)(t,(0,l.A)(t),C),(0,s.A)(t,(0,y.A)(t),I)):(O=(T=h)&&(0,s.A)(t,(0,a.A)(t),T),(0,s.A)(t,(0,m.A)(t),O))}
33else{if(!K[R])return d?t:{};h=D(t,R,_)}}f||(f=new r.A);var L=f.get(t);if(L)return L;f.set(t,h),H(t)?t.forEach(function(r){h.add(e(r,n,u,r,t,f))}):B(t)&&t.forEach(function(r,i){h.set(i,e(r,n,u,i,t,f))});var z=E?k?v.A:b.A:k?l.A:a.A,U=A?void 0:z(t);return i(U||t,function(r,i){U&&(r=t[i=r]),(0,o.A)(h,i,e(r,n,u,i,t,f))}),h}},58034:(e,t,n)=>{var r=n(28007);e.exports=function(){this.__data__=new r,this.size=0}},58146:(e,t,n)=>{"use strict";n.d(t,{UE:()=>eT,RK:()=>eA,ll:()=>ex,rD:()=>eO,__:()=>ek,UU:()=>eC,jD:()=>eI,cY:()=>eE,BN:()=>eS});let r=["top","right","bottom","left"],i=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,s=Math.max,a=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function b(e){return y.has(h(e))?"y":"x"}function v(e,t,n){void 0===n&&(n=!1);let r=p(e),i=g(b(e)),o=m(i),s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=A(s)),[s,A(s)]}function w(e){return e.replace(/start|end/g,e=>d[e])}let _=["left","right"],x=["right","left"],k=["top","bottom"],E=["bottom","top"];function A(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function I(e,t,n){let r,{reference:i,floating:o}=e,s=b(t),a=g(b(t)),l=m(a),u=h(t),c="y"===s,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,y=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=f(t,e),g=S(p),m=a[h?"floating"===d?"reference":"floating":d],y=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),b="floating"===d?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},_=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:v,strategy:l}):b);return{top:(y.top-_.top+g.top)/w.y,bottom:(_.bottom-y.bottom+g.bottom)/w.y,left:(y.left-_.left+g.left)/w.x,right:(_.right-y.right+g.right)/w.x}}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=I(u,r,l),f=r,h={},p=0;for(let n=0;n<a.length;n++){var g;let{name:o,fn:m}=a[n],{x:y,y:b,data:v,reset:w}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:{...s,detectOverflow:null!=(g=s.detectOverflow)?g:T},elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=b?b:d,h={...h,[o]:{...h[o],...v}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:d}=I(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};function R(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return r.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function M(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),s=h(n),a=p(n),l="y"===b(n),u=j.has(s)?-1:1,c=o&&l?-1:1,d=f(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
33:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof y&&(m="end"===a?-1*y:y),l?{x:m*c,y:g*u}:{x:g*u,y:m*c}}function N(){return"undefined"!=typeof window}function F(e){return L(e)?(e.nodeName||"").toLowerCase():"#document"}function $(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function P(e){var t;return null==(t=(L(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function L(e){return!!N()&&(e instanceof Node||e instanceof $(e).Node)}function z(e){return!!N()&&(e instanceof Element||e instanceof $(e).Element)}function U(e){return!!N()&&(e instanceof HTMLElement||e instanceof $(e).HTMLElement)}function B(e){return!!N()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof $(e).ShadowRoot)}let q=new Set(["inline","contents"]);function V(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!q.has(i)}let H=new Set(["table","td","th"]),G=[":popover-open",":modal"];function W(e){return G.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],Z=["paint","layout","strict","content"];function X(e){let t=J(),n=z(e)?et(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||K.some(e=>(n.willChange||"").includes(e))||Z.some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function ee(e){return Q.has(F(e))}function et(e){return $(e).getComputedStyle(e)}function en(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===F(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||P(e);return B(t)?t.host:t}function ei(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=er(t);return ee(n)?t.ownerDocument?t.ownerDocument.body:t.body:U(n)&&V(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=$(i);if(o){let e=eo(s);return t.concat(s,s.visualViewport||[],V(i)?i:[],e&&n?ei(e):[])}return t.concat(i,ei(i,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function es(e){let t=et(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=U(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,l=a(n)!==o||a(r)!==s;return l&&(n=o,r=s),{width:n,height:r,$:l}}function ea(e){return z(e)?e:e.contextElement}function el(e){let t=ea(e);if(!U(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=es(t),s=(o?a(n.width):n.width)/r,l=(o?a(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let eu=u(0);function ec(e){let t=$(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function ed(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),s=ea(e),a=u(1);t&&(r?z(r)&&(a=el(r)):a=el(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===$(s))&&i)?ec(s):u(0),c=(o.left+l.x)/a.x,d=(o.top+l.y)/a.y,f=o.width/a.x,h=o.height/a.y;if(s){let e=$(s),t=r&&z(r)?$(r):r,n=e,i=eo(n);for(;i&&r&&t!==n;){let e=el(i),t=i.getBoundingClientRect(),r=et(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=o,d+=s,i=eo(n=$(i))}}return C({width:f,height:h,x:c,y:d})}function ef(e,t){let n=en(e).scrollLeft;return t?t.left+n:ed(P(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ef(e,n),y:n.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eg(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=$(e),r=P(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=J();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}let u=ef(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else u<=25&&(o+=u);return{width:o,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){let t=P(e),n=en(e),r=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=s(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ef(e),l=-n.scrollTop;return"rtl"===et(r).direction&&(a+=s(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}(P(e));else if(z(t))r=function(e,t){let n=ed(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=U(e)?el(e):u(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:s,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=ec(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function em(e){return"static"===et(e).position}function ey(e,t){if(!U(e)||"fixed"===et(e).position)return null;if(t)return t(e);let n=e.offsetParent;return P(e)===n&&(n=n.ownerDocument.body),n}function eb(e,t){var n;let r=$(e);
33if(W(e))return r;if(!U(e)){let t=er(e);for(;t&&!ee(t);){if(z(t)&&!em(t))return t;t=er(t)}return r}let i=ey(e,t);for(;i&&(n=i,H.has(F(n)))&&em(i);)i=ey(i,t);return i&&ee(i)&&em(i)&&!X(i)?r:i||function(e){let t=er(e);for(;U(t)&&!ee(t);){if(X(t))return t;if(W(t))break;t=er(t)}return null}(e)||r}let ev=async function(e){let t=this.getOffsetParent||eb,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=U(t),i=P(t),o="fixed"===n,s=ed(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=u(0);if(r||!r&&!o)if(("body"!==F(t)||V(i))&&(a=en(t)),r){let e=ed(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ef(i));o&&!r&&i&&(l.x=ef(i));let c=!i||r||o?u(0):eh(i,a);return{x:s.left+a.scrollLeft-l.x-c.x,y:s.top+a.scrollTop-l.y-c.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,s=P(r),a=!!t&&W(t.floating);if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=U(r);if((f||!f&&!o)&&(("body"!==F(r)||V(s))&&(l=en(r)),U(r))){let e=ed(r);c=el(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let h=!s||f||o?u(0):eh(s,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:P,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?W(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ei(e,[],!1).filter(e=>z(e)&&"body"!==F(e)),i=null,o="fixed"===et(e).position,s=o?er(e):e;for(;z(s)&&!ee(s);){let t=et(s),n=X(s);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||V(s)&&!n&&function e(t,n){let r=er(t);return!(r===n||!z(r)||ee(r))&&("fixed"===et(r).position||e(r,n))}(e,s))?r=r.filter(e=>e!==s):i=t,s=er(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=a[0],u=a.reduce((e,n)=>{let r=eg(t,n,i);return e.top=s(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=s(r.left,e.left),e},eg(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:eb,getElementRects:ev,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=es(e);return{width:t,height:n}},getScale:el,isElement:z,isRTL:function(e){return"rtl"===et(e).direction}};function e_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ex(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=ea(e),p=a||u?[...h?ei(h):[],...ei(t)]:[];p.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let g=h&&d?function(e,t){let n,r=null,i=P(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),a();let f=e.getBoundingClientRect(),{left:h,top:p,width:g,height:m}=f;if(c||t(),!g||!m)return;let y=l(p),b=l(i.clientWidth-(h+g)),v={rootMargin:-y+"px "+-b+"px "+-l(i.clientHeight-(p+m))+"px "+-l(h)+"px",threshold:s(0,o(1,d))||1},w=!0;function _(t){let r=t[0].intersectionRatio;if(r!==d){if(!w)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||e_(f,e.getBoundingClientRect())||u(),w=!1}try{r=new IntersectionObserver(_,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(_,v)}r.observe(e)}(!0),a}(h,n):null,m=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),h&&!f&&y.observe(h),y.observe(t));let b=f?ed(e):null;return f&&function t(){let r=ed(e);b&&!e_(b,r)&&n(),b=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(i)}}let ek=T,eE=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:s,middlewareData:a}=t,l=await M(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},eA=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o,s;let{rects:a,middlewareData:l,placement:u,platform:c,elements:d}=t,{crossAxis:g=!1,alignment:m,allowedPlacements:y=i,autoAlignment:b=!0,..._}=f(e,t),x=void 0!==m||y===i?((s=m||null)?[...y.filter(e=>p(e)===s),...y.filter(e=>p(e)!==s)]:y.filter(e=>h(e)===e)).filter(e=>!s||p(e)===s||!!b&&w(e)!==e):y,k=await c.detectOverflow(t,_),E=(null==(n=l.autoPlacement)?void 0:n.index)||0,A=x[E];if(null==A)return{};let S=v(A,a,await (null==c.isRTL?void 0:c.isRTL(d.floating)));
33if(u!==A)return{reset:{placement:x[0]}};let C=[k[h(A)],k[S[0]],k[S[1]]],I=[...(null==(r=l.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:C}],T=x[E+1];if(T)return{data:{index:E+1,overflows:I},reset:{placement:T}};let O=I.map(e=>{let t=p(e.placement);return[e.placement,t&&g?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),R=(null==(o=O.filter(e=>e[2].slice(0,p(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||O[0][0];return R!==u?{data:{index:E+1,overflows:I},reset:{placement:R}}:{}}}},eS=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=f(e,t),p={x:n,y:r},m=await a.detectOverflow(t,d),y=b(h(i)),v=g(y),w=p[v],_=p[y];if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+m[e],r=w-m[t];w=s(n,o(w,r))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=_+m[e],r=_-m[t];_=s(n,o(_,r))}let x=c.fn({...t,[v]:w,[y]:_});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[v]:l,[y]:u}}}}}},eC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,s;let{placement:a,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:g}=t,{mainAxis:m=!0,crossAxis:y=!0,fallbackPlacements:S,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:T=!0,...O}=f(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let R=h(a),D=b(c),j=h(c)===c,M=await (null==d.isRTL?void 0:d.isRTL(g.floating)),N=S||(j||!T?[A(c)]:function(e){let t=A(e);return[w(e),t,w(t)]}(c)),F="none"!==I;!S&&F&&N.push(...function(e,t,n,r){let i=p(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:_;return t?_:x;case"left":case"right":return t?k:E;default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(w)))),o}(c,T,I,M));let $=[c,...N],P=await d.detectOverflow(t,O),L=[],z=(null==(r=l.flip)?void 0:r.overflows)||[];if(m&&L.push(P[R]),y){let e=v(a,u,M);L.push(P[e[0]],P[e[1]])}if(z=[...z,{placement:a,overflows:L}],!L.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=$[e];if(t&&("alignment"!==y||D===b(t)||z.every(e=>b(e.placement)!==D||e.overflows[0]>0)))return{data:{index:e,overflows:z},reset:{placement:t}};let n=null==(o=z.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(C){case"bestFit":{let e=null==(s=z.filter(e=>{if(F){let t=b(e.placement);return t===D||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},eI=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=f(e,t);switch(i){case"referenceHidden":{let e=R(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:D(e)}}}case"escaped":{let e=R(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:D(e)}}}default:return{}}}}},eT=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:l,elements:u,middlewareData:c}=t,{element:d,padding:h=0}=f(e,t)||{};if(null==d)return{};let y=S(h),v={x:n,y:r},w=g(b(i)),_=m(w),x=await l.getDimensions(d),k="y"===w,E=k?"clientHeight":"clientWidth",A=a.reference[_]+a.reference[w]-v[w]-a.floating[_],C=v[w]-a.reference[w],I=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),T=I?I[E]:0;T&&await (null==l.isElement?void 0:l.isElement(I))||(T=u.floating[E]||a.floating[_]);let O=T/2-x[_]/2-1,R=o(y[k?"top":"left"],O),D=o(y[k?"bottom":"right"],O),j=T-x[_]-D,M=T/2-x[_]/2+(A/2-C/2),N=s(R,o(M,j)),F=!c.arrow&&null!=p(i)&&M!==N&&a.reference[_]/2-(M<R?R:D)-x[_]/2<0,$=F?M<R?M-R:M-j:0;return{[w]:v[w]+$,data:{[w]:N,centerOffset:M-N-$,...F&&{alignmentOffset:$}},reset:F}}}),eO=(e,t,n)=>{let r=new Map,i={platform:ew,...n},o={...i.platform,_c:r};return O(e,t,{...i,platform:o})}},58186:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(92118);function i(e,t,n){let i=(0,r.a)(e,null==n?void 0:n.in);return i.setDate(t),i}},58347:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(64536),i=n(59027),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;let a=function(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,i.A)(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},58409:(e,t,n)=>{"use strict";n.d(t,{y:()=>S});var r=n(27627),i=n(61571),o=n(48288),s=n(64459),a=n(78419),l=n(24617),u=n(15364),c=n(61406),d=n(21836),f=n(56819),h=n(96939),p=n(30391),g=n(94181),m=n(9045),y=n(48869);let b="Not capturing exception because it's already been captured.";class v{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,o.AD)(e.dsn):i.T&&h.vF.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,n){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(e,t){let n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}let t=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);t&&(0,h.pq)(()=>{console.warn(`[Sentry] Deprecation warning: \`${t}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,n){let r=(0,p.eJ)();if((0,p.GR)(e))return i.T&&h.vF.log(b),r;let o={event_id:r,...t};return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n))),o.event_id}captureMessage(e,t,n,r){let i={event_id:(0,p.eJ)(),...n},o=(0,f.NF)(e)?e:String(e),s=(0,f.sO)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(s.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=(0,p.eJ)();if(t&&t.originalException&&(0,p.GR)(t.originalException))return i.T&&h.vF.log(b),r;let o={event_id:r,...t},s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,o,s||n)),o.event_id}captureSession(e){"string"!=typeof e.release?i.T&&h.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,l.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
33return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,g.XW)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];(0,a.qm)(this,e,this._integrations),t||(0,a.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){var i;let o=(0,s.Cj)(n),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let l=(0,s.n2)(e,o,r,t);delete e.sdkProcessingMetadata;let u=[{type:a},e];return(0,s.h4)(l,[u])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,s.W3)(n,(0,s.bm)(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,n,r){let i=(0,s.Cj)(n),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:(0,o.SB)(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,s.h4)(a,[l])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let r="number"==typeof n?n:1,o=`${e}:${t}`;i.T&&h.vF.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(i.T&&h.vF.error("Error while sending envelope:",e),e)):(i.T&&h.vF.error("Transport disabled"),(0,g.XW)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,a.P$)(this,e),(0,a.lc)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,l.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new g.T2(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n=(0,r.o5)(),i=(0,r.rm)()){let o=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s.length>0&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),(0,m.mG)(o,e,t,n,this,i).then(e=>(null===e||(e.contexts={trace:(0,r.vn)(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,u.ao)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{i.T&&(e instanceof d.U&&"log"===e.logLevel?h.vF.log(e.message):h.vF.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:o}=r,s=_(e),a=w(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){i.T&&h.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}(o);if(a&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),(0,g.xg)(new d.U(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));let p="replay_event"===l?"replay":l,m=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,m).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,e),new d.U("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,f.Qg)(e))return e.then(e=>{if(!(0,f.Qd)(e)&&null!==e)throw new d.U(n);return e},e=>{throw new d.U(`${t} rejected with ${e}`)});if(!(0,f.Qd)(e)&&null!==e)throw new d.U(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:s}=t;if(w(n)&&i)return i(n,r);if(_(n)){if(n.spans&&s){let t=[];for(let r of n.spans){let n=s(r);n?t.push(n):((0,y.xl)(),e.recordDroppedEvent("before_send","span"))}n.spans=t}if(o){if(n.spans){let e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(n,r)}}return n}(this,r,n,t),u)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",p,e),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new d.U(`${u} returned \`null\`, will not send event.`,"log")}let i=n&&n.getSession();if(!s&&i&&this._updateSessionFromEvent(i,r),s){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let o=r.transaction_info;return s&&o&&r.transaction!==e.transaction&&(r.transaction_info={...o,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof d.U)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new d.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 34Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){i.T&&h.vF.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){i.T&&h.vF.log("No outcomes to send");return}if(!this._dsn){i.T&&h.vF.log("No dsn provided, will not send outcomes");return}i.T&&h.vF.log("Sending outcomes:",e);let t=function(e,t,n){let r=[{type:"client_report"},{timestamp:(0,c.lu)(),discarded_events:e}];return(0,s.h4)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,o.SB)(this._dsn));this.sendEnvelope(t)}}function w(e){return void 0===e.type}function _(e){return"transaction"===e.type}var x=n(38698),k=n(86334),E=n(6915),A=n(9525);class S extends v{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e},n=A.jf.SENTRY_SDK_SOURCE||"npm";(0,x.K)(t,"browser",["browser"],n),super(t),t.sendClientReports&&A.jf.document&&A.jf.document.addEventListener("visibilitychange",()=>{"hidden"===A.jf.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return(0,E.u)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return(0,E.qv)(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){k.T&&h.vF.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:n,dsn:r}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,o.SB)(r)}},a=[{type:"user_report"},e];return(0,s.h4)(i,[a])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}},58496:(e,t,n)=>{"use strict";n.d(t,{X:()=>h,r:()=>d});let r=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"];class i{model;root;patch;i;inputStack;outputStack;constructor(e,t,n){this.model=e,this.root=t,this.patch=n,this.i=0,this.inputStack=[],this.outputStack=[]}read(){return this.patch[this.i++]}process(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){let e=this.read(),t=r[e];if(!t)throw Error(`Unknown opcode: ${e}`);this[`process${t}`].apply(this)}let e=this.outputStack.pop();return this.finalizeOutput(e)}inputEntry(){return this.inputStack[this.inputStack.length-1]}inputKey(e,t){return e.keys||(e.keys=this.model.objectGetKeys(e.value).sort()),e.keys[t]}outputEntry(){return this.outputStack[this.outputStack.length-1]}outputArray(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyArray(e.value)),e.writeValue}outputObject(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyObject(e.value)),e.writeValue}outputString(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyString(e.value)),e.writeValue}finalizeOutput(e){return e.writeValue?this.model.finalize(e.writeValue):e.value}processValue(){let e=this.model.wrap(this.read());this.outputStack.push({value:e})}processCopy(){let e=this.inputEntry();this.outputStack.push({value:e.value})}processBlank(){this.outputStack.push({value:null})}processReturnIntoArray(){let e=this.outputStack.pop(),t=this.finalizeOutput(e),n=this.outputArray();this.model.arrayAppendValue(n,t)}processReturnIntoObject(){let e=this.read(),t=this.outputStack.pop(),n=this.finalizeOutput(t);n=this.model.markChanged(n);let r=this.outputObject();this.model.objectSetField(r,e,n)}processReturnIntoObjectSameKey(){let e=this.inputEntry(),t=this.outputStack.pop(),n=this.finalizeOutput(t),r=this.outputObject();this.model.objectSetField(r,e.key,n)}processPushField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.model.objectGetField(t.value,n);this.inputStack.push({value:r,key:n})}processPushElement(){let e=this.read(),t=this.inputEntry(),n=this.model.arrayGetElement(t.value,e);this.inputStack.push({value:n})}processPop(){this.inputStack.pop()}processPushFieldCopy(){this.processPushField(),this.processCopy()}processPushFieldBlank(){this.processPushField(),this.processBlank()}processPushElementCopy(){this.processPushElement(),this.processCopy()}processPushElementBlank(){this.processPushElement(),this.processBlank()}processReturnIntoObjectPop(){this.processReturnIntoObject(),this.processPop()}processReturnIntoObjectSameKeyPop(){this.processReturnIntoObjectSameKey(),this.processPop()}processReturnIntoArrayPop(){this.processReturnIntoArray(),this.processPop()}processObjectSetFieldValue(){this.processValue(),this.processReturnIntoObject()}processObjectCopyField(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()}processObjectDeleteField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.outputObject();this.model.objectDeleteField(r,n)}processArrayAppendValue(){let e=this.model.wrap(this.read()),t=this.outputArray();this.model.arrayAppendValue(t,e)}processArrayAppendSlice(){let e=this.read(),t=this.read(),n=this.outputArray(),r=this.inputEntry().value;this.model.arrayAppendSlice(n,r,e,t)}processStringAppendString(){let e=this.model.wrap(this.read()),t=this.outputString();this.model.stringAppendValue(t,e)}processStringAppendSlice(){let e=this.read(),t=this.read(),n=this.outputString(),r=this.inputEntry().value;this.model.stringAppendSlice(n,r,e,t)}}function o(e){return e>>16?4:e>>11?3:e>>7?2:1}function s(e){let t=0;for(let n=0;n<e.length;n++){let r=o(e.codePointAt(n));4==r&&n++,t+=r}return t}function a(e,t,n=0){let r=n,i=0;for(i=n;r<t;
34i++){let t=o(e.codePointAt(i));4===t&&i++,r+=t}return i}class l{meta;constructor(e){this.meta=e}wrap(e){return this.wrapWithMeta(e,this.meta,this.meta)}wrapWithMeta(e,t,n=this.meta){return{data:e,startMeta:t,endMeta:n}}asObject(e){if(!e.content){let t={};for(let[n,r]of Object.entries(e.data))t[n]=this.wrapWithMeta(r,e.startMeta);e.content={type:"object",fields:t}}return e.content}asArray(e){if(!e.content){let t=e.data.map(t=>this.wrapWithMeta(t,e.startMeta)),n=t.map(()=>this.meta);e.content={type:"array",elements:t,metas:n}}return e.content}asString(e){if(!e.content){let t=e.data,n={value:t,utf8size:s(t),uses:[],startMeta:e.startMeta,endMeta:e.endMeta};e.content=this.stringFromParts([n])}return e.content}stringFromParts(e){let t={type:"string",parts:e};for(let n of e)n.uses.push(t);return t}objectGetKeys(e){return e.content?Object.keys(e.content.fields):Object.keys(e.data)}objectGetField(e,t){return this.asObject(e).fields[t]}arrayGetElement(e,t){return this.asArray(e).elements[t]}finalize(e){return this.updateEndMeta(e),{content:e,startMeta:this.meta,endMeta:this.meta}}markChanged(e){return this.wrap(u(e))}updateEndMeta(e){if("string"==e.type)for(let t of e.parts)t.endMeta=this.meta;else if("array"===e.type)for(let t of e.elements)t.content&&t.endMeta!==this.meta&&this.updateEndMeta(t.content),t.endMeta=this.meta;else for(let t of Object.values(e.fields))t.content&&t.endMeta!==this.meta&&this.updateEndMeta(t.content),t.endMeta=this.meta}copyString(e){if(!e)return{type:"string",parts:[]};{let t=this.asString(e);return this.stringFromParts(t.parts.slice())}}copyObject(e){let t={type:"object",fields:{}};if(e){let n=this.asObject(e);Object.assign(t.fields,n.fields)}return t}copyArray(e){let t=e?this.asArray(e):null;return{type:"array",elements:t?t.elements:[],metas:t?t.metas:[]}}objectSetField(e,t,n){e.fields[t]=n}objectDeleteField(e,t){delete e.fields[t]}arrayAppendValue(e,t){e.elements.push(t),e.metas.push(this.meta)}arrayAppendSlice(e,t,n,r){let i=this.asArray(t),o=i.elements.length===n;if(e.elements.push(...i.elements.slice(n,r)),o)e.metas.push(...i.metas.slice(n,r));else for(let t=n;t<r;t++)e.metas.push(this.meta)}stringAppendValue(e,t){for(let n of this.asString(t).parts)this.stringAppendPart(e,n)}stringAppendPart(e,t){e.parts.push(t),t.uses.push(e)}resolveStringPart(e,t,n){if(0===n)return t;for(let r=t;r<e.parts.length;r++){let t=e.parts[r];if(n===t.utf8size)return r+1;if(n<t.utf8size)return this.splitString(t,n),r+1;n-=t.utf8size}throw Error("splitting string out of bounds")}splitString(e,t){let n,r=t,i=e.utf8size-r;if(e.utf8size!==e.value.length){let n=0;for(t=0;n<r;t++){let r=o(e.value.codePointAt(t));4===r&&t++,n+=r}}n=e.value.slice(0,t);let s={value:e.value.slice(t),utf8size:i,uses:e.uses.slice(),startMeta:e.startMeta,endMeta:e.endMeta};for(let t of(e.value=n,e.utf8size=r,e.uses)){let n=t.parts.indexOf(e);if(-1===n)throw Error("bug: mismatch between string parts and use.");t.parts.splice(n+1,0,s)}}stringAppendSlice(e,t,n,r){let i=this.asString(t),o=this.resolveStringPart(i,0,n),s=this.resolveStringPart(i,o,r-n);for(let t=o;t<s;t++){let n=i.parts[t];this.stringAppendPart(e,n)}}}function u(e){if("u">typeof e.data)return e.data;let t,n=e.content;switch(n.type){case"string":t=n.parts.map(e=>e.value).join("");break;case"array":t=n.elements.map(e=>u(e));break;case"object":for(let[e,r]of(t={},Object.entries(n.fields)))t[e]=u(r)}return e.data=t,t}function c(e){return e.content?e.content.type:Array.isArray(e.data)?"array":null===e.data?"null":typeof e.data}var d=Object.freeze({__proto__:null,applyPatch:function(e,t,n){return new i(new l(n),e,t).process()},getType:c,rebaseValue:function e(t,n){let r=c(t);if(r!==c(n))return n;let i=new l(t.endMeta),a=new l(n.endMeta);switch(r){case"object":{let r=i.asObject(t),o=a.asObject(n),s=0,l=Object.keys(r.fields).length,u=Object.keys(o.fields).length;for(let[t,n]of Object.entries(o.fields)){let i=r.fields[t];i&&(o.fields[t]=e(i,n),o.fields[t]===i&&s++)}return l===u&&l===s?t:n}case"array":{let r=i.asArray(t),o=a.asArray(n);if(r.elements.length!==o.elements.length)break;let s=0;for(let t=0;t<o.elements.length;t++)o.elements[t]=e(r.elements[t],o.elements[t]),o.elements[t]!==r.elements[t]&&s++;return 0===s?t:n}case"null":case"boolean":case"number":if(u(t)===u(n))return t;break;case"string":{let e=u(t),r=u(n);if(e===r)return t;let i=a.copyString(null),l=function(e,t){let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;){let n=e.codePointAt(i);if(n!==t.codePointAt(i))break;let s=o(n);r+=s,i+=4===s?2:1}return r}(e,r),c=function(e,t,n=0){let r=Math.min(e.length,t.length)-n,i=0;for(let n=0;n<r;){let r=e.codePointAt(e.length-1-n);if(r!==t.codePointAt(t.length-1-n))break;let s=o(r);i+=s,n+=4===s?2:1}return i}(e,r,l),d=s(r),f=s(e);0<l&&a.stringAppendSlice(i,t,0,l),l<d-c&&a.stringAppendSlice(i,n,l,d-c),f-c<f&&a.stringAppendSlice(i,t,f-c,f);let h=a.finalize(i);if(u(h)!==r)throw Error("incorrect string rebase");return h}}return n},unwrap:u,wrap:function(e,t){return{data:e,startMeta:t,endMeta:t}}});class f{wrap(e){return e}finalize(e){return Array.isArray(e)?e:e.data}markChanged(e){return e}objectGetKeys(e){return Object.keys(e)}
34objectGetField(e,t){return e[t]}arrayGetElement(e,t){return e[t]}copyObject(e){let t={type:"object",data:{}};if(null!==e)for(let[n,r]of Object.entries(e))t.data[n]=r;return t}copyArray(e){return null===e?[]:e.slice()}copyString(e){return{type:"string",data:null===e?"":e}}objectSetField(e,t,n){e.data[t]=n}objectDeleteField(e,t){delete e.data[t]}arrayAppendValue(e,t){e.push(t)}arrayAppendSlice(e,t,n,r){e.push(...t.slice(n,r))}stringAppendSlice(e,t,n,r){let i=a(t,n),o=a(t,r,i);e.data+=t.slice(i,o)}stringAppendValue(e,t){e.data+=t}}function h(e,t){return new i(new f,e,t).process()}},58526:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(69271);let i=function(e){return e&&e.length?(0,r.A)(e):[]}},58576:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(92118);function i(e,t){return+(0,r.a)(e)<+(0,r.a)(t)}},58626:(e,t,n)=>{"use strict";n.d(t,{L:()=>h});var r=n(78242),i=n(31536),o=n(98103),s=n(12718),a=n(90338),l=n(63704),u=n(8286),c=n(96948),d=n(28400),f=n(29396);function h(e){return t=>(0,r.v)(()=>{let n=new i.B;return t.pipe((0,a.n)(()=>n,{leading:!0,trailing:!0}),function e(t,n){return n?function(r){return r.pipe(e(function(e,r){return(0,u.Tg)(t(e,r)).pipe((0,l.T)(function(t,i){return n(e,t,r,i)}))}))}:(0,c.N)(function(e,n){var r=0,i=null,o=!1;e.subscribe((0,d._)(n,function(e){i||(i=(0,d._)(n,void 0,function(){i=null,o&&n.complete()}),(0,u.Tg)(t(e,r++)).subscribe(i))},function(){o=!0,i||n.complete()}))})}((t,r)=>(0,o.c)(e(t,r),s.E).pipe((0,f.j)(()=>{n.next()}))))})}},58840:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},59027:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35582),i=n(11331);let o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&"[object Symbol]"==(0,r.A)(e)}},59325:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(71450),i=n(96948),o=n(50729),s=n(95868),a=n(86238);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,s.lI)(e);return(0,i.N)(function(t,i){(0,o.K)()((0,a.H)((0,r.fX)([t],(0,r.zs)(e)),n)).subscribe(i)})}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.apply(void 0,(0,r.fX)([],(0,r.zs)(e)))}},59397:(e,t,n)=>{"use strict";n.d(t,{J:()=>d});var r=n(63056),i=n(70469),o=n(57433),s=n(74853),a=n(39860);function l(e){try{let t=new URL(e);return u.includes(t.protocol)}catch{return!1}}let u=["http:","https:","mailto:","tel:"],c=({context:e,value:t})=>{let n=e.schema.annotations.find(e=>"link"===e.name),r=n?.fields.find(e=>"href"===e.name&&"string"===e.type);if(!(!n||!r))return{_type:n.name,[r.name]:t.href}};function d(e){let t,n,u=(0,r.c)(5),{guard:d,link:f}=e,h=void 0===f?c:f,p=(0,i.h)();return u[0]!==p||u[1]!==d||u[2]!==h?(t=()=>{var e;let t=(e={guard:d,link:h},[(0,o.Ke)({on:"clipboard.paste",guard:t=>{if(e.guard&&!1===e.guard(t))return!1;let{snapshot:n,event:r}=t;if(s.WV(n))return!1;let i=r.originEvent.dataTransfer.getData("text/plain"),o=l(i)?i:void 0;if(!o)return!1;let a=e.link({context:{schema:n.context.schema,keyGenerator:n.context.keyGenerator},value:{href:o}});if(!a)return!1;let{_type:u,_key:c,...d}=a;return{annotation:{name:u,_key:c,value:d}}},actions:[(e,{annotation:t})=>[(0,o.xl)({type:"annotation.add",annotation:t})]]}),(0,o.Ke)({on:"clipboard.paste",guard:t=>{if(e.guard&&!1===e.guard(t))return!1;let{snapshot:n,event:r}=t,i=s.hH(n),o=s.WV(n);if(!i||!o)return!1;let a=r.originEvent.dataTransfer.getData("text/plain"),u=l(a)?a:void 0;if(!u)return!1;let c=e.link({context:{schema:n.context.schema,keyGenerator:n.context.keyGenerator},value:{href:u}});if(!c)return!1;let{_type:d,_key:f,...h}=c,p=s.JB(n),g=n.context.schema.decorators.map(e=>e.name),m=(p?.marks??[]).filter(e=>g.includes(e)),y=f??n.context.keyGenerator();return{focusTextBlock:i,markDef:{_type:d,_key:y,...h},markDefKey:y,href:u,activeDecorators:m}},actions:[({snapshot:e},{focusTextBlock:t,markDef:n,markDefKey:r,href:i,activeDecorators:s})=>[(0,o.xl)({type:"block.set",at:t.path,props:{markDefs:[...t.node.markDefs??[],n]}}),(0,o.xl)({type:"insert.child",child:{_type:e.context.schema.span.name,text:i,marks:[...s,r]}})]]})]).map(e=>p.registerBehavior({behavior:e}));return()=>{for(let e of t)e()}},n=[p,d,h],u[0]=p,u[1]=d,u[2]=h,u[3]=t,u[4]=n):(t=u[3],n=u[4]),(0,a.useEffect)(t,n),null}}
34,59452:(e,t,n)=>{"use strict";n.d(t,{BI:()=>$,Co:()=>K,EA:()=>en,IU:()=>Z,KC:()=>y,Ki:()=>m,Kp:()=>eo,X:()=>h,dj:()=>eR,jT:()=>D,lG:()=>Y,r5:()=>ei,s5:()=>g,sQ:()=>b,tE:()=>eT,tH:()=>v});var r=n(64509),i=n(9784),o=n(11748),s=n(96241),a=n(39860),l=n(60308),u=n(56555),c=n(36275),d=n(26497);function f(e){let t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function h(e){let t=null,n=f(()=>{t=f(e)});return()=>{t&&t(),n()}}function p(e){if(!(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex")||((0,r.nY)(e)?!!e.href&&"ignore"!==e.rel:(0,r.A3)(e)?"hidden"!==e.type&&"file"!==e.type&&!e.disabled:!!((0,r.WE)(e)||(0,r.q4)(e)||(0,r.QY)(e))&&!e.disabled)))return!1;try{e.focus()}catch{}return document.activeElement===e}function g(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if((0,r.sb)(n)&&(p(n)||g(n)))return!0}return!1}function m(e){for(let t=e.childNodes.length-1;t>=0;t--){let n=e.childNodes[t];if((0,r.sb)(n)&&(p(n)||m(n)))return!0}return!1}function y(e,t){let n,i=(0,o.c)(3);return i[0]!==t||i[1]!==e?(n=(0,r.GB)(e,t),i[0]=t,i[1]=e,i[2]=n):n=i[2],n}function b(e){return(0,r.cF)(e)?._contentRect||null}class v extends a.Component{state={error:null};static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onCatch({error:e,info:t})}render(){let{error:e}=this.state;if(e){let t="string"==typeof e?.message?e.message:"Error";return(0,i.jsx)(r.Cy,{children:t})}return this.props.children}}let w=l.I4.div.withConfig({displayName:"StyledAutocomplete",componentId:"sc-1igauft-0"})`line-height:0;`,_=(0,l.I4)(r.az).withConfig({displayName:"ListBox",componentId:"sc-1igauft-1"})`& > ul{list-style:none;padding:0;margin:0;}`,x=(0,l.i7)` 35 from { 36 transform: rotate(0deg); 37 } 38 39 to { 40 transform: rotate(360deg); 41 } 42`,k=(0,l.I4)(s.Nl1).withConfig({displayName:"AnimatedSpinnerIcon",componentId:"sc-1igauft-2"})`animation:${x} 500ms linear infinite;`;function E(e){let t,n,s,a=(0,o.c)(11),{children:l,id:u,onSelect:c,selected:d,value:f}=e;a[0]!==c||a[1]!==f?(t=()=>{setTimeout(()=>{c(f)},0)},a[0]=c,a[1]=f,a[2]=t):t=a[2];let h=t;a[3]!==h?(n=e=>{"Enter"!==e.key||(0,r.zd)(e.currentTarget)||h()},a[3]=h,a[4]=n):n=a[4];let p=n;return a[5]!==l||a[6]!==h||a[7]!==p||a[8]!==u||a[9]!==d?(s=(0,i.jsx)("li",{"aria-selected":d,"data-ui":"AutocompleteOption",id:u,role:"option",onClick:h,onKeyDown:p,children:l}),a[5]=l,a[6]=h,a[7]=p,a[8]=u,a[9]=d,a[10]=s):s=a[10],s}function A(e,t){return"input/change"===t.type?{...e,activeValue:null,focused:!0,query:t.query}:"input/focus"===t.type?{...e,focused:!0}:"root/blur"===t.type?{...e,focused:!1,query:null}:"root/clear"===t.type?{...e,activeValue:null,query:null,value:null}:"root/escape"===t.type?{...e,focused:!1,query:null}:"root/open"===t.type?{...e,query:e.query||t.query}:"root/setActiveValue"===t.type?{...e,activeValue:t.value,listFocused:t.listFocused||e.listFocused}:"root/setListFocused"===t.type?{...e,listFocused:t.listFocused}:"value/change"===t.type?{...e,activeValue:t.value,query:null,value:t.value}:e}let S=["Control","Shift","Alt","Enter","Home","End","PageUp","PageDown","Meta","Tab","CapsLock"],C=["bottom-start","top-start"],I=(e,t)=>t?t.value:e,T=(e,t)=>t.value.toLowerCase().indexOf(e.toLowerCase())>-1,O=(0,a.forwardRef)(function(e,t){let n,l,u,c,d,h,p,m,y,b,v,x,O,D,N,F,$,P,L,z,U,B,q,V,H,G,W,Y,K,Z,X,J,Q,ee,et,en,er,ei,eo,es,ea,el,eu,ec,ed,ef,eh,ep,eg,em,ey,eb,ev,ew,e_,ex,ek,eE,eA,eS,eC,eI,eT,eO,eR=(0,o.c)(181);eR[0]!==e?({border:B,customValidity:n,disabled:l,filterOption:u,fontSize:q,icon:c,id:d,listBox:V,loading:h,onBlur:p,onChange:m,onFocus:y,onQueryChange:b,onSelect:v,openButton:x,openOnFocus:O,options:D,padding:H,popover:G,prefix:N,radius:W,readOnly:F,relatedElements:$,renderOption:P,renderPopover:L,renderValue:Y,suffix:U,value:K,...z}=e,eR[0]=e,eR[1]=n,eR[2]=l,eR[3]=u,eR[4]=c,eR[5]=d,eR[6]=h,eR[7]=p,eR[8]=m,eR[9]=y,eR[10]=b,eR[11]=v,eR[12]=x,eR[13]=O,eR[14]=D,eR[15]=N,eR[16]=F,eR[17]=$,eR[18]=P,eR[19]=L,eR[20]=z,eR[21]=U,eR[22]=B,eR[23]=q,eR[24]=V,eR[25]=H,eR[26]=G,eR[27]=W,eR[28]=Y,eR[29]=K):(n=eR[1],l=eR[2],u=eR[3],c=eR[4],d=eR[5],h=eR[6],p=eR[7],m=eR[8],y=eR[9],b=eR[10],v=eR[11],x=eR[12],O=eR[13],D=eR[14],N=eR[15],F=eR[16],$=eR[17],P=eR[18],L=eR[19],z=eR[20],U=eR[21],B=eR[22],q=eR[23],V=eR[24],H=eR[25],G=eR[26],W=eR[27],Y=eR[28],K=eR[29]);let eD=void 0===B||B,ej=void 0===q?2:q,eM=void 0===V?r.sU:V,eN=void 0===H?3:H,eF=void 0===G?r.sU:G,e$=void 0===W?2:W,eP=void 0===Y?I:Y,eL=K||null,ez=K||null;eR[30]!==eL||eR[31]!==ez?(Z={activeValue:eL,focused:!1,listFocused:!1,query:null,value:ez},eR[30]=eL,eR[31]=ez,eR[32]=Z):Z=eR[32];let[eU,eB]=(0,a.useReducer)(A,Z),{activeValue:eq,focused:eV,listFocused:eH,query:eG,value:eW}=eU;eR[33]!==ej||eR[34]!==eN?(X=e=>{let{value:t}=e;return(0,i.jsx)(r.Zp,{"data-as":"button",padding:eN,radius:2,tone:"inherit",children:(0,i.jsx)(r.EY,{size:ej,textOverflow:"ellipsis",children:t})})},eR[33]=ej,eR[34]=eN,eR[35]=X):X=eR[35];let eY="function"==typeof P?P:X,eK="function"==typeof u?u:T,eZ=(0,a.useRef)(null),eX=(0,a.useRef)(null),eJ=(0,a.useRef)(null),eQ=(0,a.useRef)(null),[e0,e1]=(0,a.useState)(null);eR[36]===Symbol.for("react.memo_cache_sentinel")?(J=e=>{(0,a.startTransition)(()=>e1(e))},eR[36]=J):J=eR[36];let e2=J,e3=(0,a.useRef)(!1),e5=(0,a.useRef)(eW),e4=(0,a.useRef)(K),e6=(0,a.useRef)(!1);eR[37]!==e0?(Q=()=>e0,ee=[e0],eR[37]=e0,eR[38]=Q,eR[39]=ee):(Q=eR[38],ee=eR[39]),(0,a.useImperativeHandle)(eJ,Q,ee),eR[40]!==e0?(et=()=>e0,en=[e0],eR[40]=e0,eR[41]=et,eR[42]=en):(et=eR[41],en=eR[42]),(0,a.useImperativeHandle)(t,et,en);let e8=`${d}-listbox`,e9=Array.isArray(D)?D:r.Ml,e7=(0,r.GB)(eN);eR[43]!==e9||eR[44]!==eW?(er=null!==eW?e9.find(e=>e.value===eW):void 0,eR[43]=e9,eR[44]=eW,eR[45]=er):er=eR[45];let te=er;if(eR[46]!==eK||eR[47]!==e9||eR[48]!==eG){let e;eR[50]!==eK||eR[51]!==eG?(e=e=>!eG||eK(eG,e),eR[50]=eK,eR[51]=eG,eR[52]=e):e=eR[52],ei=e9.filter(e),eR[46]=eK,eR[47]=e9,eR[48]=eG,eR[49]=ei}else ei=eR[49];let tt=ei,tn=tt.length,tr=eq?`${d}-option-${eq}`:void 0,ti=null!==eG&&h||eV&&null!==eG;eR[53]!==p||eR[54]!==b||eR[55]!==$?(eo=e=>{setTimeout(()=>{if(e6.current)return;let t=($||[]).concat(eZ.current?[eZ.current]:[],eX.current?[eX.current]:[]),n=!1;if(document.activeElement){for(let e of t)if(e===document.activeElement||e.contains(document.activeElement)){n=!0;break}}!1===n&&(eB({type:"root/blur"}),e6.current=!1,b&&b(null),p&&p(e))},0)},eR[53]=p,eR[54]=b,eR[55]=$,eR[56]=eo):eo=eR[56];let to=eo;eR[57]===Symbol.for("react.memo_cache_sentinel")?(es=e=>{let t=eQ.current,n=e.target instanceof HTMLElement?e.target:null,r=t?.contains(n)||!1;r!==e3.current&&(e3.current=r,eB({type:"root/setListFocused",listFocused:r}))},eR[57]=es):es=eR[57];let ts=es;eR[58]!==m||eR[59]!==b||eR[60]!==v?(ea=e=>{eB({type:"value/change",value:e}),e6.current=!1,v&&v(e),e5.current=e,m&&m(e),b&&b(null),eJ.current?.focus()},eR[58]=m,eR[59]=b,eR[60]=v,eR[61]=ea):ea=eR[61];let ta=ea;eR[62]!==eq||eR[63]!==tt||eR[64]!==tn||eR[65]!==b?(el=e=>{if("ArrowDown"===e.key){if(e.preventDefault(),!tn)return;let t=tt.find(e=>e.value===eq),n=t?tt.indexOf(t):-1,r=tt[(n+1)%tn];r&&eB({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("ArrowUp"===e.key){if(e.preventDefault(),!tn)return;let t=tt.find(e=>e.value===eq),n=t?tt.indexOf(t):-1,r=tt[-1===n?tn-1:(tn+n-1)%tn];r&&eB({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("Escape"===e.key){eB({type:"root/escape"}),e6.current=!1,b&&b(null),eJ.current?.focus();return}let t=e.target,n=eQ.current;
42if((n===t||n?.contains(t))&&!S.includes(e.key))return void eJ.current?.focus()},eR[62]=eq,eR[63]=tt,eR[64]=tn,eR[65]=b,eR[66]=el):el=eR[66];let tl=el;eR[67]!==b?(eu=e=>{let t=e.currentTarget.value;eB({type:"input/change",query:t}),b&&b(t)},eR[67]=b,eR[68]=eu):eu=eR[68];let tu=eu;eR[69]!==te||eR[70]!==eP||eR[71]!==eW?(ec=()=>{eB({type:"root/open",query:eW?eP(eW,te):""})},eR[69]=te,eR[70]=eP,eR[71]=eW,eR[72]=ec):ec=eR[72];let tc=ec;eR[73]!==tc||eR[74]!==eV||eR[75]!==y||eR[76]!==O?(ed=e=>{eV||(eB({type:"input/focus"}),y&&y(e),O&&tc())},eR[73]=tc,eR[74]=eV,eR[75]=y,eR[76]=O,eR[77]=ed):ed=eR[77];let td=ed;eR[78]===Symbol.for("react.memo_cache_sentinel")?(ef=()=>{e6.current=!0},eR[78]=ef):ef=eR[78];let tf=ef;eR[79]===Symbol.for("react.memo_cache_sentinel")?(eh=()=>{e6.current=!1},eR[79]=eh):eh=eR[79];let th=eh;eR[80]!==m||eR[81]!==b?(ep=()=>{eB({type:"root/clear"}),e5.current="",m&&m(""),b&&b(null),eJ.current?.focus()},eR[80]=m,eR[81]=b,eR[82]=ep):ep=eR[82];let tp=ep;eR[83]===Symbol.for("react.memo_cache_sentinel")?(eg=()=>{eB({type:"input/focus"})},eR[83]=eg):eg=eR[83];let tg=eg;eR[84]!==K?(em=()=>{if(K!==e4.current){e4.current=K,void 0!==K&&(eB({type:"value/change",value:K}),e5.current=K);return}K!==e5.current&&(e5.current=K||null,eB({type:"value/change",value:K||null}))},ey=[K],eR[84]=K,eR[85]=em,eR[86]=ey):(em=eR[85],ey=eR[86]),(0,a.useEffect)(em,ey),eR[87]!==eV?(eb=()=>{!eV&&e5.current&&eB({type:"root/setActiveValue",value:e5.current})},ev=[eV],eR[87]=eV,eR[88]=eb,eR[89]=ev):(eb=eR[88],ev=eR[89]),(0,a.useEffect)(eb,ev),eR[90]!==eq||eR[91]!==tt?(ew=()=>{let e=eQ.current;if(!e)return;let t=tt.find(e=>e.value===eq);if(t){let n=tt.indexOf(t),r=e.childNodes[n];if(r){if(document.activeElement&&r.contains(document.activeElement))return;g(r)}}},e_=[eq,tt],eR[90]=eq,eR[91]=tt,eR[92]=ew,eR[93]=e_):(ew=eR[92],e_=eR[93]),(0,a.useEffect)(ew,e_);r:{if(!h&&!l&&eW){let e;eR[94]===Symbol.for("react.memo_cache_sentinel")?(e={"aria-label":"Clear",onFocus:tg},eR[94]=e):e=eR[94],ex=e;break r}ex=void 0}let tm=ex,ty=e7.map(j),tb=e7.map(M),tv="object"==typeof x?x:r.sU;eR[95]!==tc||eR[96]!==tv?(ek=e=>{tc(),tv.onClick&&tv.onClick(e),f(()=>eJ.current?.focus())},eR[95]=tc,eR[96]=tv,eR[97]=ek):ek=eR[97];let tw=ek;eR[98]!==l||eR[99]!==ti||eR[100]!==ej||eR[101]!==tw||eR[102]!==x||eR[103]!==ty||eR[104]!==tb||eR[105]!==tv||eR[106]!==F?(eE=l||F||!x?void 0:(0,i.jsx)(r.az,{"aria-hidden":ti,padding:ty,children:(0,i.jsx)(r.$n,{"aria-label":"Open",disabled:ti,fontSize:ej,icon:s.D3D,mode:"bleed",padding:tb,...tv,onClick:tw})}),eR[98]=l,eR[99]=ti,eR[100]=ej,eR[101]=tw,eR[102]=x,eR[103]=ty,eR[104]=tb,eR[105]=tv,eR[106]=F,eR[107]=eE):eE=eR[107];let t_=eE;i:{if(null===eG){if(null!==eW){let e;eR[108]!==te||eR[109]!==eP||eR[110]!==eW?(e=eP(eW,te),eR[108]=te,eR[109]=eP,eR[110]=eW,eR[111]=e):e=eR[111],eA=e;break i}eA="";break i}eA=eG}let tx=eA;eR[112]!==eH?(eS=e=>{"Tab"===e.key&&eH&&eJ.current?.focus()},eR[112]=eH,eR[113]=eS):eS=eR[113];let tk=eS;o:{let e,t,n;if(0===tt.length){eC=null;break o}if(eR[114]!==eq||eR[115]!==te||eR[116]!==tt||eR[117]!==ta||eR[118]!==d||eR[119]!==eH||eR[120]!==h||eR[121]!==eY){let t;eR[123]!==eq||eR[124]!==te||eR[125]!==ta||eR[126]!==d||eR[127]!==eH||eR[128]!==h||eR[129]!==eY?(t=e=>{let t=null!==eq?e.value===eq:te===e;return(0,i.jsx)(E,{id:`${d}-option-${e.value}`,onSelect:ta,selected:t,value:e.value,children:(0,a.cloneElement)(eY(e),{disabled:h,selected:t,tabIndex:eH&&t?0:-1})},e.value)},eR[123]=eq,eR[124]=te,eR[125]=ta,eR[126]=d,eR[127]=eH,eR[128]=h,eR[129]=eY,eR[130]=t):t=eR[130],e=tt.map(t),eR[114]=eq,eR[115]=te,eR[116]=tt,eR[117]=ta,eR[118]=d,eR[119]=eH,eR[120]=h,eR[121]=eY,eR[122]=e}else e=eR[122];eR[131]!==e8||eR[132]!==e?(t=(0,i.jsx)(r.BJ,{as:"ul","aria-multiselectable":!1,"data-ui":"AutoComplete__resultsList",id:e8,ref:eQ,role:"listbox",space:1,children:e}),eR[131]=e8,eR[132]=e,eR[133]=t):t=eR[133],eR[134]!==tk||eR[135]!==eM||eR[136]!==t?(n=(0,i.jsx)(_,{"data-ui":"AutoComplete__results",onKeyDown:tk,padding:1,...eM,tabIndex:-1,children:t}),eR[134]=tk,eR[135]=eM,eR[136]=t,eR[137]=n):n=eR[137],eC=n}let tE=eC;s:{let e;if(L){let e,t=!ti;eR[138]!==tE||eR[139]!==tf||eR[140]!==th||eR[141]!==e0||eR[142]!==L||eR[143]!==t?(e=(0,i.jsx)(R,{content:tE,hidden:t,inputElement:e0,onMouseEnter:tf,onMouseLeave:th,resultsPopoverElementRef:eX,renderPopover:L}),eR[138]=tE,eR[139]=tf,eR[140]=th,eR[141]=e0,eR[142]=L,eR[143]=t,eR[144]=e):e=eR[144],eI=e;break s}if(0===tn){eI=null;break s}eR[145]!==tE||eR[146]!==ti||eR[147]!==tf||eR[148]!==th||eR[149]!==e0||eR[150]!==eF||eR[151]!==e$?(e=(0,i.jsx)(r.AM,{arrow:!1,constrainSize:!0,content:tE,fallbackPlacements:C,matchReferenceWidth:!0,onMouseEnter:tf,onMouseLeave:th,open:ti,overflow:"auto",placement:"bottom-start",portal:!0,radius:e$,ref:eX,referenceElement:e0,...eF}),eR[145]=tE,eR[146]=ti,eR[147]=tf,eR[148]=th,eR[149]=e0,eR[150]=eF,eR[151]=e$,eR[152]=e):e=eR[152],eI=e}let tA=eI,tS=h&&k,tC=U||t_;return eR[153]!==tr||eR[154]!==eD||eR[155]!==tm||eR[156]!==n||eR[157]!==l||eR[158]!==ti||eR[159]!==ej||eR[160]!==tp||eR[161]!==tu||eR[162]!==td||eR[163]!==c||eR[164]!==d||eR[165]!==tx||eR[166]!==e8||eR[167]!==e7||eR[168]!==N||eR[169]!==e$||eR[170]!==F||eR[171]!==z||eR[172]!==tS||eR[173]!==tC?(eT=(0,i.jsx)(r.ks,{...z,"aria-activedescendant":tr,"aria-autocomplete":"list","aria-expanded":ti,"aria-owns":e8,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",border:eD,clearButton:tm,customValidity:n,disabled:l,fontSize:ej,icon:c,iconRight:tS,id:d,inputMode:"search",onChange:tu,onClear:tp,onFocus:td,padding:e7,prefix:N,radius:e$,readOnly:F,ref:e2,role:"combobox",spell
42Check:!1,suffix:tC,value:tx}),eR[153]=tr,eR[154]=eD,eR[155]=tm,eR[156]=n,eR[157]=l,eR[158]=ti,eR[159]=ej,eR[160]=tp,eR[161]=tu,eR[162]=td,eR[163]=c,eR[164]=d,eR[165]=tx,eR[166]=e8,eR[167]=e7,eR[168]=N,eR[169]=e$,eR[170]=F,eR[171]=z,eR[172]=tS,eR[173]=tC,eR[174]=eT):eT=eR[174],eR[175]!==to||eR[176]!==ts||eR[177]!==tl||eR[178]!==tA||eR[179]!==eT?(eO=(0,i.jsxs)(w,{"data-ui":"Autocomplete",onBlur:to,onFocus:ts,onKeyDown:tl,ref:eZ,children:[eT,tA]}),eR[175]=to,eR[176]=ts,eR[177]=tl,eR[178]=tA,eR[179]=eT,eR[180]=eO):eO=eR[180],eO});function R({renderPopover:e,content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o,resultsPopoverElementRef:s}){return e({content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o},s)}O.displayName="ForwardRef(Autocomplete)";let D=O;function j(e){return 0===e?0:1===e||2===e?1:e-2}function M(e){return Math.max(e-1,0)}let N=l.I4.ol.withConfig({displayName:"StyledBreadcrumbs",componentId:"sc-1es8h8q-0"})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`,F=(0,l.I4)(r.$n).withConfig({displayName:"ExpandButton",componentId:"sc-1es8h8q-1"})`appearance:none;margin:-4px;`,$=(0,a.forwardRef)(function(e,t){let n,s,l,u,c,d,f,h,p,g,m,y,b,v=(0,o.c)(29);v[0]!==e?({children:n,maxLength:s,separator:u,space:c,...l}=e,v[0]=e,v[1]=n,v[2]=s,v[3]=l,v[4]=u,v[5]=c):(n=v[1],s=v[2],l=v[3],u=v[4],c=v[5]);let w=void 0===c?2:c;v[6]!==w?(d=(0,r.GB)(w),v[6]=w,v[7]=d):d=v[7];let _=d,[x,k]=(0,a.useState)(!1),E=(0,a.useRef)(null),A=(0,a.useRef)(null);v[8]===Symbol.for("react.memo_cache_sentinel")?(f=()=>k(!1),v[8]=f):f=v[8];let S=f;v[9]===Symbol.for("react.memo_cache_sentinel")?(h=()=>k(!0),v[9]=h):h=v[9];let C=h;v[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>[E.current,A.current],v[10]=p):p=v[10],(0,r.PR)(S,p),v[11]!==n?(g=a.Children.toArray(n).filter(a.isValidElement),v[11]=n,v[12]=g):g=v[12];let I=g;v[13]!==s||v[14]!==x||v[15]!==I||v[16]!==_?(m={collapse:S,expand:C,expandElementRef:E,maxLength:s,open:x,popoverElementRef:A,rawItems:I,space:_},v[13]=s,v[14]=x,v[15]=I,v[16]=_,v[17]=m):m=v[17];let T=function(e){let t=(0,o.c)(28),{collapse:n,expand:s,expandElementRef:a,maxLength:l,open:u,popoverElementRef:c,rawItems:d,space:f}=e,h=d.length;if(l&&h>l){let e,o=Math.ceil(l/2),p=Math.floor(l/2);if(t[0]!==p||t[1]!==o||t[2]!==n||t[3]!==s||t[4]!==a||t[5]!==h||t[6]!==u||t[7]!==c||t[8]!==d||t[9]!==f){let l,g,m,y,b=d.slice(0,o-1);t[11]!==p||t[12]!==o||t[13]!==h||t[14]!==d?(l=d.slice(o-1,h-p),t[11]=p,t[12]=o,t[13]=h,t[14]=d,t[15]=l):l=t[15],t[16]!==f||t[17]!==l?(g=(0,i.jsx)(r.BJ,{as:"ol",overflow:"auto",padding:f,space:f,children:l}),t[16]=f,t[17]=l,t[18]=g):g=t[18];let v=u?n:s;t[19]!==a||t[20]!==u||t[21]!==v?(m=(0,i.jsx)(F,{fontSize:1,mode:"bleed",onClick:v,padding:1,ref:a,selected:u,text:"â¦"}),t[19]=a,t[20]=u,t[21]=v,t[22]=m):m=t[22],t[23]!==u||t[24]!==c||t[25]!==g||t[26]!==m?(y=(0,i.jsx)(r.AM,{constrainSize:!0,content:g,open:u,placement:"top",portal:!0,ref:c,children:m},"button"),t[23]=u,t[24]=c,t[25]=g,t[26]=m,t[27]=y):y=t[27],e=[...b,y,...d.slice(h-p)],t[0]=p,t[1]=o,t[2]=n,t[3]=s,t[4]=a,t[5]=h,t[6]=u,t[7]=c,t[8]=d,t[9]=f,t[10]=e}else e=t[10];return e}return d}(m);if(v[18]!==T||v[19]!==u||v[20]!==_){let e;v[22]!==u||v[23]!==_?(e=(e,t)=>(0,i.jsxs)(a.Fragment,{children:[t>0&&(0,i.jsx)(r.az,{"aria-hidden":!0,as:"li",paddingX:_,children:u||(0,i.jsx)(r.EY,{muted:!0,children:"/"})}),(0,i.jsx)(r.az,{as:"li",children:e})]},t),v[22]=u,v[23]=_,v[24]=e):e=v[24],y=T.map(e),v[18]=T,v[19]=u,v[20]=_,v[21]=y}else y=v[21];return v[25]!==t||v[26]!==l||v[27]!==y?(b=(0,i.jsx)(N,{"data-ui":"Breadcrumbs",...l,ref:t,children:y}),v[25]=t,v[26]=l,v[27]=y,v[28]=b):b=v[28],b});$.displayName="ForwardRef(Breadcrumbs)";let P=(0,r.bz)("@sanity/ui/context/dialog",{version:0});function L(e,t,n){return!e||!t||(0,r.Q3)(e,n)||(0,r.Q3)(t,n)}let z=(0,l.I4)(r.Wd).withConfig({displayName:"StyledDialog",componentId:"sc-4n4xb3-0"})(r.l_,function({theme:e}){let{color:t}=(0,u.JW)(e);return{"&:not([hidden])":{display:"flex"},top:0,left:0,right:0,bottom:0,alignItems:"center",justifyContent:"center",outline:"none",background:t.backdrop}},function(e){let{media:t}=(0,u.JW)(e.theme);return(0,r.U1)(t,e.$position,e=>({"&&":{position:e}}))},function(e){return e.$animate?(0,l.AH)` 43 @keyframes zoomIn { 44 from { 45 opacity: 0; 46 transform: scale(0.95); 47 } 48 to { 49 opacity: 1; 50 transform: scale(1); 51 } 52 }
53 @keyframes fadeIn { 54 from { 55 opacity: 0; 56 } 57 to { 58 opacity: 1; 59 } 60 } 61 62 animation: fadeIn 200ms ease-out; 63 // Animates the dialog card. 64 & > [data-ui='DialogCard'] { 65 animation: zoomIn 200ms ease-out; 66 } 67 `:(0,l.AH)``}),U=(0,l.I4)(r.mc).withConfig({displayName:"DialogContainer",componentId:"sc-4n4xb3-1"})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`,B=(0,l.I4)(r.Zp).withConfig({displayName:"DialogCardRoot",componentId:"sc-4n4xb3-2"})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`,q=(0,l.I4)(r.so).withConfig({displayName:"DialogLayout",componentId:"sc-4n4xb3-3"})`flex:1;min-height:0;width:100%;`,V=(0,l.I4)(r.az).withConfig({displayName:"DialogHeader",componentId:"sc-4n4xb3-4"})`position:relative;z-index:2;`,H=(0,l.I4)(r.az).withConfig({displayName:"DialogContent",componentId:"sc-4n4xb3-5"})`position:relative;z-index:1;overflow:auto;outline:none;`,G=(0,l.I4)(r.az).withConfig({displayName:"DialogFooter",componentId:"sc-4n4xb3-6"})`position:relative;z-index:3;`,W=(0,a.forwardRef)(function(e,t){let n,l,u,c,d,f,h,p,m,y,b,v,w,_,x,k,E=(0,o.c)(44),{__unstable_autoFocus:A,__unstable_hideCloseButton:S,children:C,contentRef:I,footer:T,header:O,id:R,onClickOutside:D,onClose:j,portal:M,radius:N,scheme:F,shadow:$,width:P}=e,z=(0,r.WP)(),W=M?z.elements?.[M]||null:z.element,Y=(0,r.$w)().element;E[0]!==N?(n=(0,r.GB)(N),E[0]=N,E[1]=n):n=E[1];let K=n;E[2]!==$?(l=(0,r.GB)($),E[2]=$,E[3]=l):l=E[3];let Z=l;E[4]!==P?(u=(0,r.GB)(P),E[4]=P,E[5]=u):u=E[5];let X=u,J=(0,a.useRef)(null),Q=(0,a.useRef)(null),{isTopLayer:ee}=(0,r.Z4)(),et=`${R}_label`,en=!!j&&!1===S,er=!!O||en;return E[6]===Symbol.for("react.memo_cache_sentinel")?(c=()=>J.current,E[6]=c):c=E[6],(0,a.useImperativeHandle)(t,c),E[7]===Symbol.for("react.memo_cache_sentinel")?(d=()=>Q.current,E[7]=d):d=E[7],(0,a.useImperativeHandle)(I,d),E[8]!==A?(f=()=>{A&&J.current&&g(J.current)},h=[A,J],E[8]=A,E[9]=f,E[10]=h):(f=E[9],h=E[10]),(0,a.useEffect)(f,h),E[11]!==Y||E[12]!==ee||E[13]!==j||E[14]!==W?(p=e=>{if(!ee||!j)return;let t=document.activeElement;t&&!L(Y,W,t)||"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),j())},E[11]=Y,E[12]=ee,E[13]=j,E[14]=W,E[15]=p):p=E[15],(0,r.Pm)(p),E[16]!==Y||E[17]!==ee||E[18]!==D||E[19]!==W?(m=ee&&D&&(e=>{let t=e.target;t&&!L(Y,W,t)||D()}),E[16]=Y,E[17]=ee,E[18]=D,E[19]=W,E[20]=m):m=E[20],E[21]===Symbol.for("react.memo_cache_sentinel")?(y=()=>[J.current],E[21]=y):y=E[21],(0,r.PR)(m,y),E[22]!==O||E[23]!==et||E[24]!==j||E[25]!==en||E[26]!==er?(b=er&&(0,i.jsx)(V,{children:(0,i.jsxs)(r.so,{align:"flex-start",padding:3,children:[(0,i.jsx)(r.az,{flex:1,padding:2,children:O&&(0,i.jsx)(r.EY,{id:et,size:1,weight:"semibold",children:O})}),en&&(0,i.jsx)(r.az,{flex:"none",children:(0,i.jsx)(r.$n,{"aria-label":"Close dialog",disabled:!j,icon:s.USm,mode:"bleed",onClick:j,padding:2})})]})}),E[22]=O,E[23]=et,E[24]=j,E[25]=en,E[26]=er,E[27]=b):b=E[27],E[28]!==C?(v=(0,i.jsx)(H,{flex:1,ref:Q,tabIndex:-1,children:C}),E[28]=C,E[29]=v):v=E[29],E[30]!==T?(w=T&&(0,i.jsx)(G,{children:T}),E[30]=T,E[31]=w):w=E[31],E[32]!==b||E[33]!==v||E[34]!==w?(_=(0,i.jsxs)(q,{direction:"column",children:[b,v,w]}),E[32]=b,E[33]=v,E[34]=w,E[35]=_):_=E[35],E[36]!==K||E[37]!==F||E[38]!==Z||E[39]!==_?(x=(0,i.jsx)(B,{radius:K,ref:J,scheme:F,shadow:Z,children:_}),E[36]=K,E[37]=F,E[38]=Z,E[39]=_,E[40]=x):x=E[40],E[41]!==x||E[42]!==X?(k=(0,i.jsx)(U,{"data-ui":"DialogCard",width:X,children:x}),E[41]=x,E[42]=X,E[43]=k):k=E[43],k});W.displayName="ForwardRef(DialogCard)";let Y=(0,a.forwardRef)(function(e,t){let n,s,l,u,c,d,f,h,p,y,b,v,w,_,x,k,E,A,S,C,I,T,O,R,D,j,M,N,F,$,U,B,q,V=(0,o.c)(70),H=(0,a.useContext)(P),{layer:G}=(0,r.M4)();V[0]!==e?({__unstable_autoFocus:x,__unstable_hideCloseButton:k,cardRadius:E,cardShadow:A,children:l,contentRef:u,footer:c,header:d,id:f,onActivate:h,onClickOutside:p,onClose:y,onFocus:b,padding:S,portal:v,position:n,scheme:_,width:C,zOffset:s,animate:I,...w}=e,V[0]=e,V[1]=n,V[2]=s,V[3]=l,V[4]=u,V[5]=c,V[6]=d,V[7]=f,V[8]=h,V[9]=p,V[10]=y,V[11]=b,V[12]=v,V[13]=w,V[14]=_,V[15]=x,V[16]=k,V[17]=E,V[18]=A,V[19]=S,V[20]=C,V[21]=I):(n=V[1],s=V[2],l=V[3],u=V[4],c=V[5],d=V[6],f=V[7],h=V[8],p=V[9],y=V[10],b=V[11],v=V[12],w=V[13],_=V[14],x=V[15],k=V[16],E=V[17],A=V[18],S=V[19],C=V[20],I=V[21]);let Y=void 0===x||x,K=void 0!==k&&k,Z=void 0===E?4:E,X=void 0===A?3:A,J=void 0===S?3:S,Q=void 0===C?0:C,ee=void 0!==I&&I,et=n??(H.position||"fixed"),en=s??(H.zOffset||G.dialog.zOffset),er
67=!(0,r.jt)()&&ee,ei=(0,r.WP)(),eo=v?ei.elements?.[v]||null:ei.element,es=(0,r.$w)().element;V[22]!==Z?(T=(0,r.GB)(Z),V[22]=Z,V[23]=T):T=V[23];let ea=T;V[24]!==J?(O=(0,r.GB)(J),V[24]=J,V[25]=O):O=V[25];let el=O;V[26]!==et?(R=(0,r.GB)(et),V[26]=et,V[27]=R):R=V[27];let eu=R;V[28]!==Q?(D=(0,r.GB)(Q),V[28]=Q,V[29]=D):D=V[29];let ec=D;V[30]!==en?(j=(0,r.GB)(en),V[30]=en,V[31]=j):j=V[31];let ed=j,ef=(0,a.useRef)(null),eh=(0,a.useRef)(null),ep=(0,a.useRef)(null),eg=(0,a.useRef)(null);V[32]!==b?(M=e=>{b?.(e);let t=e.target,n=ep.current;return n&&t===ef.current?void m(n):n&&t===eh.current?void g(n):void((0,r.sb)(e.target)&&(eg.current=e.target))},V[32]=b,V[33]=M):M=V[33];let em=M,ey=`${f}_label`,eb=(0,a.useRef)(void 0);V[34]!==es||V[35]!==eo?(N=()=>{eb.current&&clearTimeout(eb.current),eb.current=setTimeout(()=>{let e=document.activeElement;if(e&&!L(es,eo,e)){let e=eg.current;if(!e||!document.body.contains(e)){let e=ep.current;e&&g(e);return}e.focus()}},0)},V[34]=es,V[35]=eo,V[36]=N):N=V[36];let ev=N;return V[37]===Symbol.for("react.memo_cache_sentinel")?(F=(0,i.jsx)("div",{ref:ef,tabIndex:0}),V[37]=F):F=V[37],V[38]!==Y||V[39]!==ea||V[40]!==X||V[41]!==l||V[42]!==u||V[43]!==c||V[44]!==d||V[45]!==K||V[46]!==f||V[47]!==p||V[48]!==y||V[49]!==v||V[50]!==_||V[51]!==ec?($=(0,i.jsx)(W,{__unstable_autoFocus:Y,__unstable_hideCloseButton:K,contentRef:u,footer:c,header:d,id:f,onClickOutside:p,onClose:y,portal:v,radius:ea,ref:ep,scheme:_,shadow:X,width:ec,children:l}),V[38]=Y,V[39]=ea,V[40]=X,V[41]=l,V[42]=u,V[43]=c,V[44]=d,V[45]=K,V[46]=f,V[47]=p,V[48]=y,V[49]=v,V[50]=_,V[51]=ec,V[52]=$):$=V[52],V[53]===Symbol.for("react.memo_cache_sentinel")?(U=(0,i.jsx)("div",{ref:eh,tabIndex:0}),V[53]=U):U=V[53],V[54]!==er||V[55]!==em||V[56]!==ev||V[57]!==f||V[58]!==ey||V[59]!==h||V[60]!==el||V[61]!==eu||V[62]!==t||V[63]!==w||V[64]!==$||V[65]!==ed?(B=(0,i.jsxs)(z,{...w,$animate:er,$padding:el,$position:eu,"aria-labelledby":ey,"aria-modal":!0,"data-ui":"Dialog",id:f,onActivate:h,onClick:ev,onFocus:em,ref:t,role:"dialog",zOffset:ed,children:[F,$,U]}),V[54]=er,V[55]=em,V[56]=ev,V[57]=f,V[58]=ey,V[59]=h,V[60]=el,V[61]=eu,V[62]=t,V[63]=w,V[64]=$,V[65]=ed,V[66]=B):B=V[66],V[67]!==v||V[68]!==B?(q=(0,i.jsx)(r.ZL,{__unstable_name:v,children:B}),V[67]=v,V[68]=B,V[69]=q):q=V[69],q});function K(e){let t,n,r=(0,o.c)(6),{children:s,position:a,zOffset:l}=e;r[0]!==a||r[1]!==l?(t={version:0,position:a,zOffset:l},r[0]=a,r[1]=l,r[2]=t):t=r[2];let u=t;return r[3]!==s||r[4]!==u?(n=(0,i.jsx)(P.Provider,{value:u,children:s}),r[3]=s,r[4]=u,r[5]=n):n=r[5],n}Y.displayName="ForwardRef(Dialog)",K.displayName="DialogProvider";let Z=(0,a.forwardRef)(function(e,t){let n,s,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x,k,E,A,S,C,I,T=(0,o.c)(62),{__unstable_disableRestoreFocusOnClose:O,boundaryElement:R,button:D,id:j,menu:M,onClose:N,onOpen:F,placement:$,popoverScheme:P,portal:L,popover:z,popoverRadius:U,preventOverflow:B}=e,q=void 0!==O&&O,V=void 0===L||L,[H,G]=(0,a.useState)(!1),[W,Y]=(0,a.useState)(null),[K,Z]=(0,a.useState)(null);T[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],T[0]=n):n=T[0];let[J,Q]=(0,a.useState)(n),ee=(0,a.useRef)(H);T[1]!==F||T[2]!==H?(s=()=>{F&&H&&!ee.current&&F()},l=[F,H],T[1]=F,T[2]=H,T[3]=s,T[4]=l):(s=T[3],l=T[4]),(0,a.useEffect)(s,l),T[5]!==N||T[6]!==H?(u=()=>{N&&!H&&ee.current&&N()},c=[N,H],T[5]=N,T[6]=H,T[7]=u,T[8]=c):(u=T[7],c=T[8]),(0,a.useEffect)(u,c),T[9]!==H?(d=()=>{ee.current=H},f=[H],T[9]=H,T[10]=d,T[11]=f):(d=T[10],f=T[11]),(0,a.useEffect)(d,f),T[12]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{G(X),Y(null)},T[12]=h):h=T[12];let et=h;T[13]!==H?(p=e=>{H&&e.preventDefault()},T[13]=H,T[14]=p):p=T[14];let en=p;T[15]===Symbol.for("react.memo_cache_sentinel")?(g=e=>{if("ArrowDown"===e.key||"Enter"===e.key||" "===e.key){e.preventDefault(),G(!0),Y("first");return}if("ArrowUp"===e.key){e.preventDefault(),G(!0),Y("last");return}},T[15]=g):g=T[15];let er=g;T[16]!==K||T[17]!==J?(m=e=>{let t=e.target;if(t instanceof Node&&!(K&&(t===K||K.contains(t)))){for(let e of J)if(t===e||e.contains(t))return;G(!1)}},T[16]=K,T[17]=J,T[18]=m):m=T[18];let ei=m;T[19]!==K||T[20]!==q?(y=()=>{G(!1),!q&&K&&K.focus()},T[19]=K,T[20]=q,T[21]=y):y=T[21];let eo=y;T[22]!==J?(b=e=>{let t=e.relatedTarget;if(t instanceof Node){for(let e of J)if(e===t||e.contains(t))return;G(!1)}},T[22]=J,T[23]=b):b=T[23];let es=b;T[24]!==K||T[25]!==q?(v=()=>{G(!1),!q&&K&&K.focus()},T[24]=K,T[25]=q,T[26]=v):v=T[26];let ea=v;T[27]===Symbol.for("react.memo_cache_sentinel")?(w=e=>(Q(t=>t.concat([e])),()=>Q(t=>t.filter(t=>t!==e))),T[27]=w):w=T[27];let el=w;T[28]!==K||T[29]!==es||T[30]!==ea||T[31]!==ei||T[32]!==eo||T[33]!==j||T[34]!==M||T[35]!==W?(_=M&&(0,a.cloneElement)(M,{"aria-labelledby":j,onBlurCapture:es,onClickOutside:ei,onEscape:eo,onItemClick:ea,originElement:K,registerElement:el,shouldFocus:W}),T[28]=K,T[29]=es,T[30]=ea,T[31]=ei,T[32]=eo,T[33]=j,T[34]=M,T[35]=W,T[36]=_):_=T[36];let eu=_;T[37]!==D||T[38]!==en||T[39]!==j||T[40]!==H?(x=D&&(0,a.cloneElement)(D,{"data-ui":"MenuButton",id:j,onClick:et,onKeyDown:er,onMouseDown:en,"aria-haspopup":!0,"aria-expanded":H,ref:Z,selected:D.props.selected??H}),T[37]=D,T[38]=en,T[39]=j,T[40]=H,T[41]=x):x=T[41];let ec=x;T[42]!==K?(k=()=>K,E=[K],T[42]=K,T[43]=k,T[44]=E):(k=T[43],E=T[44]),(0,a.useImperativeHandle)(t,k,E),T[45]!==z?(A=z||{},T[45]=z,T[46]=A):A=T[46],T[47]!==R||T[48]!==$||T[49]!==U||T[50]!==P||T[51]!==V||T[52]!==B||T[53]!==A?(S={boundaryElement:R,overflow:"auto",placement:$,portal:V,preventOverflow:B,radius:U,scheme:P,...A},T[47]=R,T[48]=$,T[49]=U,T[50]=P,T[51]=V,T[52]=B,T[53]=A,T[54]=S):S=T[54];let ed=S;return T[55]!==ec?(C=ec||(0,i.jsx)(i.Fragment,{}),T[55]=ec,T[56]=C):C=T[56],T[57]!==eu||T[58]!==H||T[59]!==ed||T[60]!==C?(I=(0,i.jsx)(r.AM,{"data-ui":"MenuButton__popover",...ed,content:eu,open:H,children:C}),T[57]=eu,T[58]=H,T[59]=ed,T[60]=C,T[61]=I):I=T[61],I});function X(e){return!e}Z.displayName="ForwardRef(MenuButton)";let J=(0,l.i7)` 68 0% { 69 background-position: 100%; 70 } 71 100% { 72 background-position: -100%; 73 } 74`,Q=(0,l.AH)` 75 background-image: linear-gradient( 76 to right, 77 var(--card-skeleton-color-from), 78 var(--card-skeleton-color-to), 79 var(--card-skeleton-color-from), 80 var(--card-skeleton-color-from), 81 var(--card-skeleton-color-from) 82 ); 83 background-position: 100%; 84 background-size: 200% 100%; 85 background-attachment: fixed; 86 animation-name: ${J}; 87 animation-timing-function: ease-in-out; 88 animation-iteration-count: infinite; 89 animation-duration: 2000ms; 90`,ee=(0,l.AH)` 91 opacity: ${({$visible:e})=>+!!e}; 92 transition: opacity 200ms ease-in; 93 94 @media screen and (prefers-reduced-motion: no-preference) { 95 ${({$animated:e})=>e?Q:(0,l.AH)` 96 background-color: var(--card-skeleton-color-from); 97 `} 98 } 99 100 @media screen and (prefers-reduced-motion: reduce) { 101 background-color: var(--card-skeleton-color-from); 102 } 103`,et=(0,l.I4)(r.az).withConfig({displayName:"StyledSkeleton",componentId:"sc-ebtpni-0"})(r.gK,ee),en=(0,a.forwardRef)(function(e,t){let n,s,l,u,c,d,f,h,p=(0,o.c)(16);p[0]!==e?({animated:u,delay:n,radius:s,...l}=e,p[0]=e,p[1]=n,p[2]=s,p[3]=l,p[4]=u):(n=p[1],s=p[2],l=p[3],u=p[4]);let g=void 0!==u&&u,[m,y]=(0,a.useState)(!n);p[5]!==n?(c=()=>
103{if(!n)return;let e=setTimeout(()=>{y(!0)},n);return()=>{clearTimeout(e)}},d=[n],p[5]=n,p[6]=c,p[7]=d):(c=p[6],d=p[7]),(0,a.useEffect)(c,d),p[8]!==s?(f=(0,r.GB)(s),p[8]=s,p[9]=f):f=p[9];let b=!n||m;return p[10]!==g||p[11]!==t||p[12]!==l||p[13]!==f||p[14]!==b?(h=(0,i.jsx)(et,{...l,$animated:g,$radius:f,$visible:b,ref:t}),p[10]=g,p[11]=t,p[12]=l,p[13]=f,p[14]=b,p[15]=h):h=p[15],h});en.displayName="ForwardRef(Skeleton)";let er=(0,l.I4)(en).withConfig({displayName:"StyledSkeleton",componentId:"sc-2p7a1v-0"})(e=>{let{$size:t,$style:n}=e,{font:i,media:o}=(0,u.JW)(e.theme),s=i[n];return(0,r.U1)(o,t,e=>{let t=s.sizes[e];return{height:t.lineHeight-t.ascenderHeight-t.descenderHeight}})}),ei=(0,a.forwardRef)(function(e,t){let n,s,a,l,u=(0,o.c)(9);u[0]!==e?({size:s,...n}=e,u[0]=e,u[1]=n,u[2]=s):(n=u[1],s=u[2]);let c=void 0===s?2:s;u[3]!==c?(a=(0,r.GB)(c),u[3]=c,u[4]=a):a=u[4];let d=a;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"text"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l});ei.displayName="ForwardRef(TextSkeleton)",(0,a.forwardRef)(function(e,t){let n,s,a,l,u=(0,o.c)(9);u[0]!==e?({size:s,...n}=e,u[0]=e,u[1]=n,u[2]=s):(n=u[1],s=u[2]);let c=void 0===s?2:s;u[3]!==c?(a=(0,r.GB)(c),u[3]=c,u[4]=a):a=u[4];let d=a;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"label"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l}).displayName="ForwardRef(LabelSkeleton)",(0,a.forwardRef)(function(e,t){let n,s,a,l,u=(0,o.c)(9);u[0]!==e?({size:s,...n}=e,u[0]=e,u[1]=n,u[2]=s):(n=u[1],s=u[2]);let c=void 0===s?2:s;u[3]!==c?(a=(0,r.GB)(c),u[3]=c,u[4]=a):a=u[4];let d=a;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"heading"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l}).displayName="ForwardRef(HeadingSkeleton)",(0,a.forwardRef)(function(e,t){let n,s,a,l,u=(0,o.c)(9);u[0]!==e?({size:s,...n}=e,u[0]=e,u[1]=n,u[2]=s):(n=u[1],s=u[2]);let c=void 0===s?2:s;u[3]!==c?(a=(0,r.GB)(c),u[3]=c,u[4]=a):a=u[4];let d=a;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"code"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l}).displayName="ForwardRef(CodeSkeleton)";let eo=(0,a.forwardRef)(function(e,t){let n,s,a,l=(0,o.c)(9);l[0]!==e?({flex:n,...s}=e,l[0]=e,l[1]=n,l[2]=s):(n=l[1],s=l[2]);let u=void 0===e.tabIndex?0:e.tabIndex;return l[3]!==n||l[4]!==e.children||l[5]!==t||l[6]!==s||l[7]!==u?(a=(0,i.jsx)(r.az,{"data-ui":"TabPanel",...s,flex:n,ref:t,role:"tabpanel",tabIndex:u,children:e.children}),l[3]=n,l[4]=e.children,l[5]=t,l[6]=s,l[7]=u,l[8]=a):a=l[8],a});eo.displayName="ForwardRef(TabPanel)";let es={error:"critical",warning:"caution",success:"positive",info:"neutral"},ea={error:"critical",warning:"caution",success:"positive",info:"neutral"},el=(0,l.I4)(r.so).withConfig({displayName:"TextBox",componentId:"sc-1rr7rxo-0"})`overflow-x:auto;`,eu=(0,l.I4)(r.Zp).withConfig({displayName:"StyledToast",componentId:"sc-1rr7rxo-1"})`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`,ec=l.I4.div.withConfig({displayName:"LoadingBar",componentId:"sc-1rr7rxo-2"})`display:flex;position:absolute;bottom:0px;top:0px;left:0px;right:0px;pointer-events:none;z-index:-1;overflow:hidden;overflow:clip;background:transparent;align-items:flex-end;will-change:opacity;`,ed=(0,l.I4)(r.Zp).withConfig({displayName:"LoadingBarMask",componentId:"sc-1rr7rxo-3"})`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`,ef=(0,l.I4)(r.Zp).withConfig({displayName:"LoadingBarProgress",componentId:"sc-1rr7rxo-4"})`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${e=>{let{color:t}=(0,u.JW)(e.theme);return t.button.default[e.tone].enabled.bg}};`,eh={error:"alert",warning:"alert",success:"alert",info:"alert"};function ep(e){let t,n,a,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x,k,E,A=(0,o.c)(50);A[0]!==e?({closable:t,description:n,duration:a,onClose:l,radius:d,title:f,status:c,updatedAt:h,...u}=e,A[0]=e,A[1]=t,A[2]=n,A[3]=a,A[4]=l,A[5]=u,A[6]=c,A[7]=d,A[8]=f,A[9]=h):(t=A[1],n=A[2],a=A[3],l=A[4],u=A[5],c=A[6],d=A[7],f=A[8],h=A[9]);let S=void 0===d?3:d,C=c?es[c]:"default",I=c?ea[c]:"default",T=c?eh[c]:"status",O=.26*!(0,r.jt)();A[10]!==O?(p=O?{type:"spring",visualDuration:O,bounce:.25}:{duration:0}
103,A[10]=O,A[11]=p):p=A[11];let R=p,D=a&&isFinite(a)&&a<20736e5;A[12]===Symbol.for("react.memo_cache_sentinel")?(g=["hidden","initial"],A[12]=g):g=A[12];let j=g;A[13]===Symbol.for("react.memo_cache_sentinel")?(m=["visible","slideIn"],A[13]=m):m=A[13];let M=m;A[14]===Symbol.for("react.memo_cache_sentinel")?(y=["hidden","slideOut"],A[14]=y):y=A[14];let N=y,F=D?"":void 0;return A[15]!==f?(b=f&&(0,i.jsx)(r.EY,{size:1,weight:"medium",children:f}),A[15]=f,A[16]=b):b=A[16],A[17]!==n||A[18]!==R?(v=n&&(0,i.jsx)(ev,{muted:!0,size:1,variants:em,transition:R,children:n}),A[17]=n,A[18]=R,A[19]=v):v=A[19],A[20]!==b||A[21]!==v?(w=(0,i.jsx)(el,{flex:1,padding:3,children:(0,i.jsxs)(r.BJ,{space:3,children:[b,v]})}),A[20]=b,A[21]=v,A[22]=w):w=A[22],A[23]!==I||A[24]!==t||A[25]!==l?(_=t&&(0,i.jsx)(r.az,{padding:1,children:(0,i.jsx)(r.$n,{as:"button",icon:s.USm,mode:"bleed",padding:2,tone:I,onClick:l,style:{verticalAlign:"top"}})}),A[23]=I,A[24]=t,A[25]=l,A[26]=_):_=A[26],A[27]!==w||A[28]!==_||A[29]!==R?(x=(0,i.jsxs)(eb,{align:"flex-start",variants:em,transition:R,children:[w,_]}),A[27]=w,A[28]=_,A[29]=R,A[30]=x):x=A[30],A[31]!==C||A[32]!==a||A[33]!==D||A[34]!==l||A[35]!==S||A[36]!==R||A[37]!==h||A[38]!==O?(k=D&&(0,i.jsxs)(ew,{variants:em,transition:R,children:[(0,i.jsx)(ed,{tone:C,radius:S}),(0,i.jsx)(e_,{tone:C,initial:{scaleX:0},animate:{scaleX:1},transition:{delay:O,duration:a/1e3,ease:"linear"},onAnimationComplete:l},`progress-${h}`)]}),A[31]=C,A[32]=a,A[33]=D,A[34]=l,A[35]=S,A[36]=R,A[37]=h,A[38]=O,A[39]=k):k=A[39],A[40]!==C||A[41]!==S||A[42]!==u||A[43]!==T||A[44]!==x||A[45]!==k||A[46]!==F||A[47]!==R||A[48]!==O?(E=(0,i.jsxs)(ey,{"data-ui":"Toast",role:T,...u,"data-has-duration":F,custom:O,radius:S,shadow:2,tone:C,forwardedAs:"li",layout:"position",variants:eg,initial:j,animate:M,exit:N,transition:R,children:[x,k]}),A[40]=C,A[41]=S,A[42]=u,A[43]=T,A[44]=x,A[45]=k,A[46]=F,A[47]=R,A[48]=O,A[49]=E):E=A[49],E}ep.displayName="Toast";let eg={initial:{y:32,scale:.5,zIndex:1},hidden:{opacity:0},visible:e=>e?{opacity:1,transition:{when:"beforeChildren",staggerChildren:e/3,duration:e/3}}:{opacity:1},slideIn:{y:0,scale:1},slideOut:{zIndex:0,scale:.75}},em={initial:{willChange:"transform"},hidden:{opacity:0},visible:{opacity:1}},ey=c.P.create(eu),eb=c.P.create(r.so),ev=c.P.create(r.EY),ew=c.P.create(ec),e_=c.P.create(ef);function ex(){return!1}function ek(){return!0}let eE=()=>()=>{},eA=(0,r.bz)("@sanity/ui/context/toast",null);function eS(e){let t,n,s=(0,o.c)(9),{children:a,padding:l,paddingX:u,paddingY:c,gap:d}=e,f=void 0===l?4:l,h=void 0===d?3:d,{zIndex:p}=(0,r.Z4)();return s[0]!==p?(t={zIndex:p},s[0]=p,s[1]=t):t=s[1],s[2]!==a||s[3]!==h||s[4]!==f||s[5]!==u||s[6]!==c||s[7]!==t?(n=(0,i.jsx)(eC,{forwardedAs:"ul","data-ui":"ToastProvider",padding:f,paddingX:u,paddingY:c,gap:h,columns:1,style:t,children:a}),s[2]=a,s[3]=h,s[4]=f,s[5]=u,s[6]=c,s[7]=t,s[8]=n):n=s[8],n}eS.displayName="ToastLayer";let eC=(0,l.I4)(r.xA).withConfig({displayName:"StyledLayer",componentId:"sc-1tbwn58-0"})`box-sizing:border-box;position:fixed;right:0;bottom:0;list-style:none;pointer-events:none;max-width:420px;width:100%;`,eI=0;function eT(e){let t,n,s,l,u=(0,o.c)(13),{children:c,padding:f,paddingX:h,paddingY:p,gap:g,zOffset:m}=e,y=void 0===m?1:m;u[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],u[0]=t):t=u[0];let[b,v]=(0,a.useState)(t),w=(0,a.useSyncExternalStore)(eE,ek,ex);u[1]===Symbol.for("react.memo_cache_sentinel")?(n={version:0,push:e=>{let t=e.id||String(eI++),n=e.duration||5e3;return(0,a.startTransition)(()=>{v(r=>.01===n?r.filter(e=>e.id!==t):[...r.filter(e=>e.id!==t),{dismiss:()=>(0,a.startTransition)(()=>v(e=>e.filter(e=>e.id!==t))),id:t,updatedAt:Date.now(),params:{...e,duration:n}}])}),t}},u[1]=n):n=u[1];let _=n;return u[2]!==g||u[3]!==w||u[4]!==f||u[5]!==h||u[6]!==p||u[7]!==b||u[8]!==y?(s=w&&(0,i.jsx)(r.XS,{zOffset:y,children:(0,i.jsx)(eS,{padding:f,paddingX:h,paddingY:p,gap:g,children:(0,i.jsx)(d.N,{initial:!1,mode:"popLayout",children:b.map(eO)})})}),u[2]=g,u[3]=w,u[4]=f,u[5]=h,u[6]=p,u[7]=b,u[8]=y,u[9]=s):s=u[9],u[10]!==c||u[11]!==s?(l=(0,i.jsxs)(eA.Provider,{value:_,children:[c,s]}),u[10]=c,u[11]=s,u[12]=l):l=u[12],l}function eO(e){let{dismiss:t,id:n,params:r,updatedAt:o}=e;
103return(0,i.jsx)(ep,{closable:r.closable,description:r.description,onClose:t,status:r.status,title:r.title,duration:r.duration,updatedAt:o},n)}function eR(){let e=(0,a.useContext)(eA);if(!e)throw Error("useToast(): missing context value");if(!(0,r.u4)(e)||0!==e.version)throw Error("useToast(): the context value is not compatible");return e}function eD(e){if("treeitem"===e.getAttribute("role")&&e.focus(),"none"===e.getAttribute("role")){let t=e.firstChild;t&&t instanceof HTMLElement&&t.focus()}}eT.displayName="ToastProvider";let ej=(0,r.bz)("@sanity/ui/context/tree",null);(0,a.forwardRef)(function(e,t){let n,s,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x,k,E,A,S,C=(0,o.c)(37);C[0]!==e?({children:n,space:u,onFocus:s,...l}=e,C[0]=e,C[1]=n,C[2]=s,C[3]=l,C[4]=u):(n=C[1],s=C[2],l=C[3],u=C[4]);let I=void 0===u?1:u,T=(0,a.useRef)(null),[O,R]=(0,a.useState)(null),D=(0,a.useRef)(O);C[5]===Symbol.for("react.memo_cache_sentinel")?(c=[],C[5]=c):c=C[5];let j=c;C[6]===Symbol.for("react.memo_cache_sentinel")?(d=[],C[6]=d):d=C[6];let[M,N]=(0,a.useState)(d);C[7]===Symbol.for("react.memo_cache_sentinel")?(f={},C[7]=f):f=C[7];let[F,$]=(0,a.useState)(f),P=(0,a.useRef)(F);C[8]===Symbol.for("react.memo_cache_sentinel")?(h=()=>T.current,C[8]=h):h=C[8],(0,a.useImperativeHandle)(t,h),C[9]!==O?(p=()=>{D.current=O},g=[O],C[9]=O,C[10]=p,C[11]=g):(p=C[10],g=C[11]),(0,a.useEffect)(p,g),C[12]!==F?(m=()=>{P.current=F},y=[F],C[12]=F,C[13]=m,C[14]=y):(m=C[13],y=C[14]),(0,a.useEffect)(m,y),C[15]===Symbol.for("react.memo_cache_sentinel")?(b=(e,t,n,r)=>($(r=>({...r,[t]:{element:e,expanded:n}})),r&&R(e),()=>{$(e=>{let n={...e};return delete n[t],n})}),C[15]=b):b=C[15];let L=b;C[16]===Symbol.for("react.memo_cache_sentinel")?(v=(e,t)=>{$(n=>{let r=n[e];return r?{...n,[e]:{...r,expanded:t}}:n})},C[16]=v):v=C[16];let z=v,U=O||M[0]||null;C[17]!==I||C[18]!==F||C[19]!==U?(w={version:0,focusedElement:U,level:0,path:j,registerItem:L,setExpanded:z,setFocusedElement:R,space:I,state:F},C[17]=I,C[18]=F,C[19]=U,C[20]=w):w=C[20];let B=w;C[21]!==M?(_=e=>{if(D.current){if("ArrowDown"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(r),o=t.length;for(let t=1;t<o;t+=1){if(!i[t])continue;let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],s=!0;for(let t=0;t<r.length;t+=1){o.push(r[t]);let n=o.join("/");if(!e[n]?.expanded){s=!1;break}}if(s)return i[t]}return null}(P.current,M,D.current);t&&(eD(t),R(t));return}if("ArrowUp"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(0,r),o=i.length;for(let t=o-1;t>=0;t-=1){let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],s=!0;for(let t=0;t<r.length;t+=1){o.push(r[t]);let n=o.join("/");if(!e[n]?.expanded){s=!1;break}}if(s)return i[t]}return null}(P.current,M,D.current);t&&(eD(t),R(t));return}if("ArrowLeft"===e.key){e.preventDefault();let t=D.current.getAttribute("data-tree-key");if(!t)return;let n=P.current[t];if(!n)return;if(n.expanded)$(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!1}}:e});else{let e=t.split("/");e.pop();let n=e.join("/"),r=n&&P.current[n];r&&(r.element.focus(),R(r.element))}return}if("ArrowRight"===e.key){e.preventDefault();let t=D.current.getAttribute("data-tree-key");if(!t)return;P.current[t]?.expanded||$(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!0}}:e});return}}},C[21]=M,C[22]=_):_=C[22];let q=_;C[23]!==s?(x=e=>{R(e.target),s?.(e)},C[23]=s,C[24]=x):x=C[24];let V=x;return C[25]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{T.current&&N(Array.from(T.current.querySelectorAll('[data-ui="TreeItem"]')))},C[25]=k):k=C[25],C[26]!==n?(E=[n],C[26]=n,C[27]=E):E=C[27],(0,a.useEffect)(k,E),C[28]!==n||C[29]!==V||C[30]!==q||C[31]!==l||C[32]!==I?(A=(0,i.jsx)(r.BJ,{as:"ul","data-ui":"Tree",...l,onFocus:V,onKeyDown:q,ref:T,role:"tree",space:I,children:n}),C[28]=n,C[29]=V,C[30]=q,C[31]=l,C[32]=I,C[33]=A):A=C[33],C[34]!==B||C[35]!==A?(S=(0,i.jsx)(ej.Provider,{value:B,children:A}),C[34]=B,C[35]=A,C[36]=S):S=C[36],S}).displayName="ForwardRef(Tree)";(0,l.I4)(r.az).attrs({forwardedAs:"a"}).withConfig({displayName:"TreeItemBox",componentId:"sc-iiskig-1"})(function(e){let{$level:t}=e,{space:n}=(0,u.JW)(e.theme);return(0,l.AH)` 104 padding-left: ${(0,r.D0)(n[2]*t)}; 105 106 &[data-as='a'] { 107 text-decoration: none; 108 } 109 `}),(0,l.I4)(r.EY).withConfig({displayName:"ToggleArrowText",componentId:"sc-iiskig-2"})`& > svg{transition:transform 100ms;}`},59584:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});let r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var i=n(14875),o=n(64536),s=n(82092),a=n(90904),l=n(67822),u=Object.prototype.hasOwnProperty;let c=function(e,t){var n=(0,o.A)(e),c=!n&&(0,i.A)(e),d=!n&&!c&&(0,s.A)(e),f=!n&&!c&&!
109d&&(0,l.A)(e),h=n||c||d||f,p=h?r(e.length,String):[],g=p.length;for(var m in e)(t||u.call(e,m))&&!(h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,a.A)(m,g)))&&p.push(m);return p}},59676:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(26217),i=n(39781),o=n(45240),s=n(68998),a=n(92564);function l(e,t,n){var l,u,c,d,f,h,p,g,m,y;let b,[v,w]=(0,o.x)(null==n?void 0:n.in,e,t),_=(0,i.q)(),x=null!=(h=null!=(f=null==n?void 0:n.locale)?f:_.locale)?h:r.c,k=null!=(y=null!=(m=null!=(g=null!=(p=null==n?void 0:n.weekStartsOn)?p:null==n||null==(u=n.locale)||null==(l=u.options)?void 0:l.weekStartsOn)?g:_.weekStartsOn)?m:null==(d=_.locale)||null==(c=d.options)?void 0:c.weekStartsOn)?y:0,E=(0,s.m)(v,w);if(isNaN(E))throw RangeError("Invalid time value");b=E<-6?"other":E<-1?"lastWeek":E<0?"yesterday":E<1?"today":E<2?"tomorrow":E<7?"nextWeek":"other";let A=x.formatRelative(b,v,w,{locale:x,weekStartsOn:k});return(0,a.GP)(v,A,{locale:x,weekStartsOn:k})}},59728:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var r=n(71450),i=n(63704),o=Array.isArray;function s(e){return(0,i.T)(function(t){return o(t)?e.apply(void 0,(0,r.fX)([],(0,r.zs)(t))):e(t)})}},59955:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},60044:(e,t,n)=>{var r=n(18135),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},60308:(e,t,n)=>{"use strict";n.d(t,{NP:()=>tl,DU:()=>ty,AH:()=>th,i7:()=>tb,I4:()=>tg,DP:()=>ta});var r=n(71450),i=n(39860),o="-ms-",s="-moz-",a="-webkit-",l="comm",u="rule",c="decl",d="@keyframes",f=Math.abs,h=String.fromCharCode,p=Object.assign;function g(e,t){return(e=t.exec(e))?e[0]:e}function m(e,t,n){return e.replace(t,n)}function y(e,t,n){return e.indexOf(t,n)}function b(e,t){return 0|e.charCodeAt(t)}function v(e,t,n){return e.slice(t,n)}function w(e){return e.length}function _(e,t){return t.push(e),e}function x(e,t){return e.filter(function(e){return!g(e,t)})}var k=1,E=1,A=0,S=0,C=0,I="";function T(e,t,n,r,i,o,s,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:k,column:E,length:s,return:"",siblings:a}}function O(e,t){return p(T("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function R(e){for(;e.root;)e=O(e.root,{children:[e]});_(e,e.siblings)}function D(){return C=S<A?b(I,S++):0,E++,10===C&&(E=1,k++),C}function j(){return b(I,S)}function M(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){var t,n;return(t=S-1,n=function e(t){for(;D();)switch(C){case t:return S;case 34:case 39:34!==t&&39!==t&&e(C);break;case 40:41===t&&e(t);break;case 92:D()}return S}(91===e?e+2:40===e?e+1:e),v(I,t,n)).trim()}function F(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function $(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case c:return e.return=e.return||e.value;case l:return"";case d:return e.return=e.value+"{"+F(e.children,r)+"}";case u:if(!w(e.value=e.props.join(",")))return""}return w(n=F(e.children,r))?e.return=e.value+"{"+n+"}":""}function P(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case c:e.return=function e(t,n,r){var i;switch(i=n,45^b(t,0)?(((i<<2^b(t,0))<<2^b(t,1))<<2^b(t,2))<<2^b(t,3):0){case 5103:return a+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return a+t+t;case 4855:return a+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return s+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a+t+s+t+o+t+t;case 5936:switch(b(t,n+11)){case 114:return a+t+o+m(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
vendor: 10,283 bytes, line 109
109case 108:return a+t+o+m(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a+t+o+m(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return a+t+o+t+t;case 6165:return a+t+o+"flex-"+t+t;case 5187:return a+t+m(t,/(\w+).+(:[^]+)/,a+"box-$1$2"+o+"flex-$1$2")+t;case 5443:return a+t+o+"flex-item-"+m(t,/flex-|-self/g,"")+(g(t,/flex-|baseline/)?"":o+"grid-row-"+m(t,/flex-|-self/g,""))+t;case 4675:return a+t+o+"flex-line-pack"+m(t,/align-content|flex-|-self/g,"")+t;case 5548:return a+t+o+m(t,"shrink","negative")+t;case 5292:return a+t+o+m(t,"basis","preferred-size")+t;case 6060:return a+"box-"+m(t,"-grow","")+a+t+o+m(t,"grow","positive")+t;case 4554:return a+m(t,/([^-])(transform)/g,"$1"+a+"$2")+t;case 6187:return m(m(m(t,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),t,"")+t;case 5495:case 3959:return m(t,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return m(m(t,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+o+"flex-pack:$3"),/space-between/,"justify")+a+t+t;case 4200:if(!g(t,/flex-|baseline/))return o+"grid-column-align"+v(t,n)+t;break;case 2592:case 3360:return o+m(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,g(e.props,/grid-\w+-end/)}))return~y(t+(r=r[n].value),"span",0)?t:o+m(t,"-start","")+t+o+"grid-row-span:"+(~y(r,"span",0)?g(r,/\d+/):g(r,/\d+/)-g(t,/\d+/))+";";return o+m(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return g(e.props,/grid-\w+-start/)})?t:o+m(m(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return m(t,/(.+)-inline(.+)/,a+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(t)-1-n>6)switch(b(t,n+1)){case 109:if(45!==b(t,n+4))break;case 102:return m(t,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+s+(108==b(t,n+3)?"$3":"$2-$3"))+t;case 115:return~y(t,"stretch",0)?e(m(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return m(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,s,a,l){return o+n+":"+r+l+(i?o+n+"-span:"+(s?a:a-r)+l:"")+t});case 4949:if(121===b(t,n+6))return m(t,":",":"+a)+t;break;case 6444:switch(b(t,45===b(t,14)?18:11)){case 120:return m(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a+(45===b(t,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+o+"$2box$3")+t;case 100:return m(t,":",":"+o)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return m(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case d:return F([O(e,{value:m(e.value,"@","@"+a)})],r);case u:if(e.length){var i,l;return i=n=e.props,l=function(t){switch(g(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":R(O(e,{props:[m(t,/:(read-\w+)/,":"+s+"$1")]})),R(O(e,{props:[t]})),p(e,{props:x(n,r)});break;case"::placeholder":R(O(e,{props:[m(t,/:(plac\w+)/,":"+a+"input-$1")]})),R(O(e,{props:[m(t,/:(plac\w+)/,":"+s+"$1")]})),R(O(e,{props:[m(t,/:(plac\w+)/,o+"input-$1")]})),R(O(e,{props:[t]})),p(e,{props:x(n,r)})}return""},i.map(l).join("")}}}function L(e,t,n,r,i,o,s,a,l,c,d,h){for(var p=i-1,g=0===i?o:[""],y=g.length,b=0,w=0,_=0;b<r;++b)for(var x=0,k=v(e,p+1,p=f(w=s[b])),E=e;x<y;++x)(E=(w>0?g[x]+" "+k:m(k,/&\f/g,g[x])).trim())&&(l[_++]=E);return T(e,t,n,0===i?u:a,l,c,d,h)}function z(e,t,n,r,i){return T(e,t,n,c,v(e,0,r),v(e,r+1,-1),r,i)}var U={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},B=n(87358),q=void 0!==B&&void 0!==B.env&&(B.env.REACT_APP_SC_ATTR||B.env.SC_ATTR)||"data-styled",V="active",H="data-styled-version",G="6.3.10",W="/*!sc*/\n",Y="undefined"!=typeof window&&"undefined"!=typeof document,K=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==B&&void 0!==B.env&&void 0!==B.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==B.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==B.env.REACT_APP_SC_DISABLE_SPEEDY&&B.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==B&&void 0!==B.env&&void 0!==B.env.SC_DISABLE_SPEEDY&&""!==B.env.SC_DISABLE_SPEEDY&&"false"!==B.env.SC_DISABLE_SPEEDY&&B.env.SC_DISABLE_SPEEDY),Z={};function X(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var J=new Map,Q=new Map,ee=1,et=function(e){if(J.has(e))return J.get(e);for(;Q.has(ee);)ee++;var t=ee++;return J.set(e,t),Q.set(t,e),t},en=function(e,t){ee=t+1,J.set(e,t),Q.set(t,e)},er=Object.freeze([]),ei=Object.freeze({});function eo(e,t,n){return void 0===n&&(n=ei),e.theme!==n.theme&&e.theme||t||n.theme}var es=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),ea=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,el=/(^-|-$)/g;function eu(e){return e.replace(ea,"-").replace(el,"")}var ec=/(a)(d)/gi,ed=function(e){return String.fromCharCode(e+(e>25?39:97))};function ef(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ed(t%52)+n;return(ed(t%52)+n).replace(ec,"$1-$2")}var eh,ep=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},eg=function(e){return ep(5381,e)};function em(e){return ef(eg(e)>>>0)}function ey(e){return"string"==typeof e}var eb="function"==typeof Symbol&&Symbol.for,ev=eb?Symbol.for("react.memo"):60115,ew=eb?Symbol.for("react.forward_ref"):60112,e_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ex={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ek={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eE=((eh={})[ew]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eh[ev]=ek,eh);function eA(e){return("type"in e&&e.type.$$typeof)===ev?ek:"$$typeof"in e?eE[e.$$typeof]:e_}var eS=Object.defineProperty,eC=Object.getOwnPropertyNames,eI=Object.getOwnPropertySymbols,eT=Object.getOwnPropertyDescriptor,eO=Object.getPrototypeOf,eR=Object.prototype;function eD(e){return"function"==typeof e}function ej(e){return"object"==typeof e&&"styledComponentId"in e}function eM(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eN(e,t){return e.join(t||"")}function eF(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function e$(e,t){Object.defineProperty(e,"toString",{value:t})}var eP=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw X(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(e+1),a=0,l=(o=0,t.length);o<l;o++)this.tag.insertRule(s,t[o])&&(this.groupSizes[e]++,s++,a++);a>0&&this._cGroup>e&&(this._cIndex+=a)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+W;return t},e}(),eL="style[".concat(q,"][").concat(H,'="').concat(G,'"]'),ez=new RegExp("^".concat(q,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eU=function(e){return"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},eB=function(e){if(!e)return document;if(eU(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(eU(t))return t}return document},eq=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&e.registerName(t,r)},eV=function(e,t){for(var n,r=(null!=(n=t.textContent)?n:"").split(W),i=[],o=0,s=r.length;o<s;o++){var a=r[o].trim();if(a){var l=a.match(ez);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(en(c,u),eq(e,c,l[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(a)}}},eH=function(e){for(var t=eB(e.options.target).querySelectorAll(eL
109),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(q)!==V&&(eV(e,i),i.parentNode&&i.parentNode.removeChild(i))}},eG=function(e){var t,r=document.head,i=e||r,o=document.createElement("style"),s=(t=Array.from(i.querySelectorAll("style[".concat(q,"]"))))[t.length-1],a=void 0!==s?s.nextSibling:null;o.setAttribute(q,V),o.setAttribute(H,G);var l=n.nc;return l&&o.setAttribute("nonce",l),i.insertBefore(o,a),o},eW=function(){function e(e){this.element=eG(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var n=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets,r=0,i=n.length;r<i;r++){var o=n[r];if(o.ownerNode===e)return o}throw X(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eY=function(){function e(e){this.element=eG(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eK=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eZ=Y,eX={isServer:!Y,useCSSOMInjection:!K},eJ=function(){function e(e,t,n){void 0===e&&(e=ei),void 0===t&&(t={});var i=this;this.options=(0,r.Cl)((0,r.Cl)({},eX),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Y&&eZ&&(eZ=!1,eH(this)),e$(this,function(){for(var e=i.getTag(),t=e.length,n="",r=0;r<t;r++)!function(t){var r=Q.get(t);if(void 0===r)return;var o=i.names.get(r);if(void 0===o||!o.size)return;var s=e.getGroup(t);if(0!==s.length){var a=q+".g"+t+'[id="'+r+'"]',l="";o.forEach(function(e){e.length>0&&(l+=e+",")}),n+=s+a+'{content:"'+l+'"}'+W}}(r);return n})}return e.registerId=function(e){return et(e)},e.prototype.rehydrate=function(){!this.server&&Y&&eH(this)},e.prototype.reconstructWithOptions=function(t,n){void 0===n&&(n=!0);var i=new e((0,r.Cl)((0,r.Cl)({},this.options),t),this.gs,n&&this.names||void 0);return!this.server&&Y&&t.target!==this.options.target&&eB(this.options.target)!==eB(t.target)&&eH(i),i},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new eP(e.isServer?new eK(n):t?new eW(n):new eY(n))))},e.prototype.hasNameForId=function(e,t){var n,r;return null!=(r=null==(n=this.names.get(e))?void 0:n.has(t))&&r},e.prototype.registerName=function(e,t){et(e);var n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(et(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(et(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eQ=/&/g;function e0(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,n=0,r=0,i=!1,o=0;o<t;o++){var s=e.charCodeAt(o);if(0!==r||i||47!==s||42!==e.charCodeAt(o+1))if(i)42===s&&47===e.charCodeAt(o+1)&&(i=!1,o++);else if(34!==s&&39!==s||0!==o&&92===e.charCodeAt(o-1)){if(0===r){if(123===s)n++;else if(125===s&&--n<0)return!0}}else 0===r?r=s:r===s&&(r=0);else i=!0,o++}return 0!==n||0!==r}function e1(e){var t,n,r,i,o,s,a=void 0===e?ei:e,c=a.options,d=void 0===c?ei:c,p=a.plugins,g=void 0===p?er:p,x=function(e,t,n){return n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?".".concat(i):e},O=g.slice();O.push(function(e){e.type===u&&e.value.includes("&")&&(s||(s=RegExp("\\".concat(o,"\\b"),"g")),e.props[0]=e.props[0].replace(eQ,o).replace(s,x))}),d.prefix&&O.push(P),O.push($);var R=[],U=(n=(t=O.concat((r=function(e){return R.push(e)},function(e){!e.root&&(e=e.return)&&r(e)}))).length,function(e,r,i,o){for(var s="",a=0;a<n;a++)s+=t[a](e,r,i,o)||"";return s}),B=function(e,t,n,r){void 0===t&&(t=""),void 0===n&&(n=""),void 0===r&&(r="&"),i=r,o=t,s=void 0;var a,u,c,p=function(e){if(!e0(e))return e;for(var t=e.length,n="",r=0,i=0,o=0,s=!1,a=0;a<t;a++){var l=e.charCodeAt(a);if(0!==o||s||47!==l||42!==e.charCodeAt(a+1))if(s)42===l&&47===e.charCodeAt(a+1)&&(s=!1,a++);
109else if(34!==l&&39!==l||0!==a&&92===e.charCodeAt(a-1)){if(0===o)if(123===l)i++;else if(125===l){if(--i<0){for(var u=a+1;u<t;){var c=e.charCodeAt(u);if(59===c||10===c)break;u++}u<t&&59===e.charCodeAt(u)&&u++,i=0,a=u-1,r=u;continue}0===i&&(n+=e.substring(r,a+1),r=a+1)}else 59===l&&0===i&&(n+=e.substring(r,a+1),r=a+1)}else 0===o?o=l:o===l&&(o=0);else s=!0,a++}if(r<t){var d=e.substring(r);e0(d)||(n+=d)}return n}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,n=[],r=0,i=0,o=0,s=0;i<t;){var a=e.charCodeAt(i);if(34!==a&&39!==a||0!==i&&92===e.charCodeAt(i-1))if(0===o)if(47===a&&i+1<t&&42===e.charCodeAt(i+1)){for(i+=2;i+1<t&&(42!==e.charCodeAt(i)||47!==e.charCodeAt(i+1));)i++;i+=2}else if(40===a&&i>=3&&108==(32|e.charCodeAt(i-1))&&114==(32|e.charCodeAt(i-2))&&117==(32|e.charCodeAt(i-3)))s=1,i++;else if(s>0)41===a?s--:40===a&&s++,i++;else if(42===a&&i+1<t&&47===e.charCodeAt(i+1))i>r&&n.push(e.substring(r,i)),r=i+=2;else if(47===a&&i+1<t&&47===e.charCodeAt(i+1)){for(i>r&&n.push(e.substring(r,i));i<t&&10!==e.charCodeAt(i);)i++;r=i}else i++;else i++;else 0===o?o=a:o===a&&(o=0),i++}return 0===r?e:(r<t&&n.push(e.substring(r)),n.join(""))}(e)),g=(c=function e(t,n,r,i,o,s,a,u,c){for(var d,p,g,x,A=0,O=0,R=a,F=0,$=0,P=0,U=1,B=1,q=1,V=0,H="",G=o,W=s,Y=i,K=H;B;)switch(P=V,V=D()){case 40:if(108!=P&&58==b(K,R-1)){-1!=y(K+=m(N(V),"&","&\f"),"&\f",f(A?u[A-1]:0))&&(q=-1);break}case 34:case 39:case 91:K+=N(V);break;case 9:case 10:case 13:case 32:K+=function(e){for(;C=j();)if(C<33)D();else break;return M(e)>2||M(C)>3?"":" "}(P);break;case 92:K+=function(e,t){for(var n;--t&&D()&&!(C<48)&&!(C>102)&&(!(C>57)||!(C<65))&&(!(C>70)||!(C<97)););return n=S+(t<6&&32==j()&&32==D()),v(I,e,n)}(S-1,7);continue;case 47:switch(j()){case 42:case 47:_((d=function(e,t){for(;D();)if(e+C===57)break;else if(e+C===84&&47===j())break;
109return"/*"+v(I,t,S-1)+"*"+h(47===e?e:D())}(D(),S),p=n,g=r,x=c,T(d,p,g,l,h(C),v(d,2,-2),0,x)),c),(5==M(P||1)||5==M(j()||1))&&w(K)&&" "!==v(K,-1,void 0)&&(K+=" ");break;default:K+="/"}break;case 123*U:u[A++]=w(K)*q;case 125*U:case 59:case 0:switch(V){case 0:case 125:B=0;case 59+O:-1==q&&(K=m(K,/\f/g,"")),$>0&&(w(K)-R||0===U&&47===P)&&_($>32?z(K+";",i,r,R-1,c):z(m(K," ","")+";",i,r,R-2,c),c);break;case 59:K+=";";default:if(_(Y=L(K,n,r,A,O,o,u,H,G=[],W=[],R,s),s),123===V)if(0===O)e(K,n,Y,Y,G,s,R,u,W);else{switch(F){case 99:if(110===b(K,3))break;case 108:if(97===b(K,2))break;default:O=0;case 100:case 109:case 115:}O?e(t,Y,Y,i&&_(L(t,Y,Y,0,0,o,u,H,o,G=[],R,W),W),o,W,R,u,i?G:W):e(K,Y,Y,Y,[""],W,0,u,W)}}A=O=$=0,U=q=1,H=K="",R=a;break;case 58:R=1+w(K),$=P;default:if(U<1){if(123==V)--U;else if(125==V&&0==U++&&125==(C=S>0?b(I,--S):0,E--,10===C&&(E=1,k--),C))continue}switch(K+=h(V),V*U){case 38:q=O>0?1:(K+="\f",-1);break;case 44:u[A++]=(w(K)-1)*q,q=1;break;case 64:45===j()&&(K+=N(D())),F=j(),O=R=w(H=K+=function(e){for(;!M(j());)D();return v(I,e,S)}(S)),V++;break;case 45:45===P&&2==w(K)&&(U=0)}}return s}("",null,null,null,[""],(u=a=n||t?"".concat(n," ").concat(t," { ").concat(p," }"):p,k=E=1,A=w(I=u),S=0,a=[]),0,[0],a),I="",c);return d.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,d.namespace)),R=[],F(g,U),R};return B.hash=g.length?g.reduce(function(e,t){return t.name||X(15),ep(e,t.name)},5381).toString():"",B}var e2=new eJ,e3=e1(),e5=i.createContext({shouldForwardProp:void 0,styleSheet:e2,stylis:e3}),e4=(e5.Consumer,i.createContext(void 0));function e6(){return i.useContext(e5)}function e8(e){if(!i.useMemo)return e.children;var t=e6().styleSheet,n=i.useMemo(function(){var n=t;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[e.disableCSSOMInjection,e.sheet,e.target,t]),r=i.useMemo(function(){return e1({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=i.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:r}},[e.shouldForwardProp,n,r]);return i.createElement(e5.Provider,{value:o},i.createElement(e4.Provider,{value:r},e.children))}var e9=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=e3);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,e$(this,function(){throw X(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=e3),this.name+e.hash},e}();function e7(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var te=function(e){return null==e||!1===e||""===e},tt=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!te(i)&&(Array.isArray(i)&&i.isCss||eD(i)?t.push("".concat(e7(n),":"),i,";"):eF(i)?t.push.apply(t,(0,r.fX)((0,r.fX)(["".concat(n," {")],tt(i),!1),["}"],!1)):t.push("".concat(e7(n),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in U||n.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function tn(e,t,n,r,i){if(void 0===i&&(i=[]),"string"==typeof e)return e&&i.push(e),i;if(te(e))return i;if(ej(e))return i.push(".".concat(e.styledComponentId)),i;if(eD(e))return!eD(e)||e.prototype&&e.prototype.isReactComponent||!t?(i.push(e),i):tn(e(t),t,n,r,i);if(e instanceof e9)return n?(e.inject(n,r),i.push(e.getName(r))):i.push(e),i;if(eF(e)){for(var o=tt(e),s=0;s<o.length;s++)i.push(o[s]);return i}if(!Array.isArray(e))return i.push(e.toString()),i;for(s=0;s<e.length;s++)tn(e[s],t,n,r,i);return i}function tr(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(eD(n)&&!ej(n))return!1}return!0}var ti=eg(G),to=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&tr(e),this.componentId=t,this.baseHash=ep(ti,t),this.baseStyle=n,eJ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n
109).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=eM(r,this.staticRulesId);else{var i=eN(tn(this.rules,e,t,n)),o=ef(ep(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var s=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,s)}r=eM(r,o),this.staticRulesId=o}else{for(var a=ep(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=eN(tn(c,e,t,n));a=ep(ep(a,String(u)),d),l+=d}}if(l){var f=ef(a>>>0);if(!t.hasNameForId(this.componentId,f)){var h=n(l,".".concat(f),void 0,this.componentId);t.insertRules(this.componentId,f,h)}r=eM(r,f)}}return{className:r,css:"undefined"==typeof window?t.getTag().getGroup(et(this.componentId)):""}},e}(),ts=i.createContext(void 0);function ta(){var e=i.useContext(ts);if(!e)throw X(18);return e}function tl(e){var t=i.useContext(ts),n=i.useMemo(function(){var n=e.theme;if(!n)throw X(14);if(eD(n))return n(t);if(Array.isArray(n)||"object"!=typeof n)throw X(8);return t?(0,r.Cl)((0,r.Cl)({},t),n):n},[e.theme,t]);return e.children?i.createElement(ts.Provider,{value:n},e.children):null}ts.Consumer;var tu={};function tc(e,t,n){var o,s,a,l,u=ej(e),c=!ey(e),d=t.attrs,f=void 0===d?er:d,h=t.componentId,p=void 0===h?(o=t.displayName,s=t.parentComponentId,tu[a="string"!=typeof o?"sc":eu(o)]=(tu[a]||0)+1,l="".concat(a,"-").concat(em(G+a+tu[a])),s?"".concat(s,"-").concat(l):l):h,g=t.displayName,m=void 0===g?ey(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):g,y=t.displayName&&t.componentId?"".concat(eu(t.displayName),"-").concat(t.componentId):t.componentId||p,b=u&&e.attrs?e.attrs.concat(f).filter(Boolean):f,v=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;v=function(e,t){return w(e,t)&&_(e,t)}}else v=w}var x=new to(n,y,u?e.componentStyle:void 0);function k(e,t){return function(e,t,n){var o,s=e.attrs,a=e.componentStyle,l=e.defaultProps,u=e.foldedComponentIds,c=e.styledComponentId,d=e.target,f=i.useContext(ts),h=e6(),p=e.shouldForwardProp||h.shouldForwardProp,g=eo(t,f,l)||ei,m=function(e,t,n){for(var i,o=(0,r.Cl)((0,r.Cl)({},t),{className:void 0,theme:n}),s=0;s<e.length;s+=1){var a=eD(i=e[s])?i(o):i;for(var l in a)"className"===l?o.className=eM(o.className,a[l]):"style"===l?o.style=(0,r.Cl)((0,r.Cl)({},o.style),a[l]):o[l]=a[l]}return"className"in t&&"string"==typeof t.className&&(o.className=eM(o.className,t.className)),o}(s,t,g),y=m.as||d,b={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===g||("forwardedAs"===v?b.as=m.forwardedAs:p&&!p(v,y)||(b[v]=m[v]));var w=(o=e6(),a.generateAndInjectStyles(m,o.styleSheet,o.stylis)).className,_=eM(u,c);return w&&(_+=" "+w),m.className&&(_+=" "+m.className),b[ey(y)&&!es.has(y)?"class":"className"]=_,n&&(b.ref=n),(0,i.createElement)(y,b)}(E,e,t)}k.displayName=m;var E=i.forwardRef(k);return E.attrs=b,E.componentStyle=x,E.displayName=m,E.shouldForwardProp=v,E.foldedComponentIds=u?eM(e.foldedComponentIds,e.styledComponentId):"",E.styledComponentId=y,E.target=u?e.target:e,Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=u?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)!function e(t,n,r){if(void 0===r&&(r=!1),!r&&!eF(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(eF(n))for(var i in n)t[i]=e(t[i],n[i]);return t}(e,t[r],!0);return e}({},e.defaultProps,t):t}}),e$(E,function(){return".".concat(E.styledComponentId)}),c&&function e(t,n,r){if("string"!=typeof n){if(eR){var i=eO(n);i&&i!==eR&&e(t,i,r)}var o=eC(n);eI&&(o=o.concat(eI(n)));for(var s=eA(t),a=eA(n),l=0;l<o.length;++l){var u=o[l];if(!(u in ex||r&&r[u]||a&&u in a||s&&u in s)){var c=eT(n,u);try{eS(t,u,c)}catch(e){}}}}return t}(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),E}function td(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tf=function(e){return Object.assign(e,{isCss:!0})};function th(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return eD(e)||eF(e)?tf(tn(td(er,(0,r.fX)([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?tn(e):tf(tn(td(e,t)))}var tp=function(e){return function e(t,n,i){if(void 0===i&&(i=ei),!n)throw X(1,n);var o=function(e){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return t(n,i,th.apply(void 0,(0,r.fX)([e],o,!1)))};return o.attrs=function(o){return e(t,n,(0,r.Cl)((0,r.Cl)({}
109,i),{attrs:Array.prototype.concat(i.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return e(t,n,(0,r.Cl)((0,r.Cl)({},i),o))},o}(tc,e)},tg=tp;es.forEach(function(e){tg[e]=tp(e)});var tm=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=tr(e),eJ.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(eN(tn(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&eJ.registerId(this.componentId+e);var i=this.componentId+e;this.isStatic?n.hasNameForId(i,i)||this.createStyles(e,t,n,r):(this.removeStyles(e,n),this.createStyles(e,t,n,r))},e}();function ty(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=th.apply(void 0,(0,r.fX)([e],t,!1)),s="sc-global-".concat(em(JSON.stringify(o))),a=new tm(o,s),l=new WeakMap,u=function(e){var t=e6(),n=i.useContext(ts),r=l.get(t.styleSheet);return void 0===r&&(r=t.styleSheet.allocateGSInstance(s),l.set(t.styleSheet,r)),"undefined"!=typeof window&&t.styleSheet.server||c(r,e,t.styleSheet,n,t.stylis),i.useLayoutEffect(function(){return t.styleSheet.server||c(r,e,t.styleSheet,n,t.stylis),function(){var e;a.removeStyles(r,t.styleSheet),e=t.styleSheet.options.target,"undefined"!=typeof document&&(null!=e?e:document).querySelectorAll('style[data-styled-global="'.concat(s,'"]')).forEach(function(e){return e.remove()})}},[r,e,t.styleSheet,n,t.stylis]),null};function c(e,t,n,i,o){if(a.isStatic)a.renderStyles(e,Z,n,o);else{var s=(0,r.Cl)((0,r.Cl)({},t),{theme:eo(t,i,u.defaultProps)});a.renderStyles(e,s,n,o)}}return i.memo(u)}function tb(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=eN(th.apply(void 0,(0,r.fX)([e],t,!1)));return new e9(em(i),i)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=eN([r&&'nonce="'.concat(r,'"'),"".concat(q,'="true"'),"".concat(H,'="').concat(G,'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw X(2);return e._emitSheetCSS()}
109,this.getStyleElement=function(){if(e.sealed)throw X(2);var t,o=e.instance.toString();if(!o)return[];var s=((t={})[q]="",t[H]=G,t.dangerouslySetInnerHTML={__html:o},t),a=n.nc;return a&&(s.nonce=a),[i.createElement("style",(0,r.Cl)({},s,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw X(2);return i.createElement(e8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw X(3)}}()},60361:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},60452:(e,t,n)=>{"use strict";n.d(t,{J:()=>b,N:()=>E});var r=n(11748),i=n(39860),o=n(77133),s=n(29396),a=n(77241),l=n(25259),u=n(13862),c=n(85755),d=n(63704),f=n(29279),h=n(43475),p=n(88106);function g(e){return"function"==typeof e?e():e}let m=new WeakMap,y={};function b(e,t,n){let l,u,c,h,p=(0,r.c)(10),{disabled:b}=void 0===n?y:n,E=void 0!==b&&b;if(!m.has(e)){let t={didEmit:!1},n={state:t,observable:e.pipe((0,d.T)(k),(0,o.W)(x),(0,f.M)(e=>{let{snapshot:n,error:r}=e;t.didEmit=!0,t.snapshot=n,t.error=r}),(0,d.T)(_),(0,s.j)(()=>m.delete(e)),(0,a.u)({resetOnRefCountZero:w})),getSnapshot:e=>{if(t.error)throw t.error;return t.didEmit?t.snapshot:g(e)}};n.observable.subscribe().unsubscribe(),m.set(e,n)}p[0]!==e?(l=m.get(e),p[0]=e,p[1]=l):l=p[1];let A=l;p[2]!==E||p[3]!==A.observable?(u=e=>{if(E)return v;let t=A.observable.subscribe(e);return()=>{t.unsubscribe()}},p[2]=E,p[3]=A.observable,p[4]=u):u=p[4];let S=u;return p[5]!==t||p[6]!==A?(c=()=>A.getSnapshot(t),p[5]=t,p[6]=A,p[7]=c):c=p[7],p[8]!==t?(h=typeof t>"u"?void 0:()=>g(t),p[8]=t,p[9]=h):h=p[9],(0,i.useSyncExternalStore)(S,c,h)}function v(){}function w(){return(0,l.O)(0,u.$)}function _(e){}function x(e){return(0,c.of)({snapshot:void 0,error:e})}function k(e){return{snapshot:e,error:void 0}}function E(e){let t,n,o,s=(0,r.c)(7),[a]=(0,i.useState)(A),[l,u]=a;s[0]!==e?(t=t=>e(t),s[0]=e,s[1]=t):t=s[1];let c=(0,p.J)(t);return s[2]!==l||s[3]!==c?(n=()=>{let e=l.pipe(e=>c(e)).subscribe();return()=>e.unsubscribe()},s[2]=l,s[3]=c,s[4]=n):n=s[4],s[5]!==l?(o=[l],s[5]=l,s[6]=o):o=s[6],(0,i.useEffect)(n,o),u}function A(){return(0,h.t)()}},60488:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},60656:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},60732:(e,t,n)=>{"use strict";n.d(t,{Z:()=>function e(t,n,l){return(void 0===l&&(l=1/0),(0,a.T)(n))?e(function(e,o){return(0,r.T)(function(t,r){return n(e,t,o,r)})((0,i.Tg)(t(e,o)))},l):("number"==typeof n&&(l=n),(0,o.N)(function(e,n){return(0,s.h)(e,n,t,l)}))}});var r=n(63704),i=n(8286),o=n(96948),s=n(63820),a=n(39097)},61270:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(50729),i=n(95868),o=n(86238);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,r.K)()((0,o.H)(e,(0,i.lI)(e)))}},61406:(e,t,n)=>{"use strict";n.d(t,{lu:()=>i,zf:()=>o});var r=n(31246);function i(){return Date.now()/1e3}let o=function(){let{performance:e}=r.O;if(!e||!e.now)return i;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();(()=>{let{performance:e}=r.O;if(!e||!e.now)return;let t=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,o=e.timing&&e.timing.navigationStart,s="number"==typeof o?Math.abs(o+t-n):36e5;if((i<36e5||s<36e5)&&i<=s)return e.timeOrigin})()},61571:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},61877:(e,t,n)=>{var r=n(70300),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},62057:e=>{e.exports=function(e,t,n){if(null===e!=(null===t))return!1;var r,i=Array.isArray(e);if(i!==Array.isArray(t))return!1;var o=typeof e;return o===typeof t&&("function"!==(r=o)&&"object"!==r?n?n(e,t):e===t:i?function(e,t,n){var r=e.length;if(r!==t.length)return!1;if(n){for(var i=0;i<r;i++)if(!n(e[i],t[i]))return!1}else for(var i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}(e,t,n):function(e,t,n){var r=0,i=0;if(n)for(var o in e){if(e.hasOwnProperty(o)&&!n(e[o],t[o]))return!1;r++}else for(var o in e){if(e.hasOwnProperty(o)&&e[o]!==t[o])return!1;r++}for(var o in t)t.hasOwnProperty(o)&&i++;return r===i}(e,t,n))}},62308:(e,t,n)=>{"use strict";n.d(t,{A:()=>
109o});var r=n(51985),i="object"==typeof self&&self&&self.Object===Object&&self;let o=r.A||i||Function("return this")()},62522:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(47948),i=n(96948),o=n(28400);function s(e){return void 0===e&&(e=a),(0,i.N)(function(t,n){var r=!1;t.subscribe((0,o._)(n,function(e){r=!0,n.next(e)},function(){return r?n.complete():n.error(e())}))})}function a(){return new r.G}},62749:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35571);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.A;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},i.prototype.has=function(e){return this.__data__.has(e)};let o=i},62898:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var r=n(9180),i=n(82192),o=n(39781),s=n(4168),a=n(54964),l=n(92118);function u(e,t){let n=(0,l.a)(e,null==t?void 0:t.in);return Math.round(((0,i.k)(n,t)-function(e,t){var n,r,l,u,c,d,f,h;let p=(0,o.q)(),g=null!=(h=null!=(f=null!=(d=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(r=t.locale)||null==(n=r.options)?void 0:n.firstWeekContainsDate)?d:p.firstWeekContainsDate)?f:null==(u=p.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?h:1,m=(0,a.h)(e,t),y=(0,s.w)((null==t?void 0:t.in)||e,0);return y.setFullYear(m,0,g),y.setHours(0,0,0,0),(0,i.k)(y,t)}(n,t))/r.my)+1}},62964:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(59027),i=1/0;let o=function(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},63e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(62308).A.Symbol},63056:(e,t,n)=>{"use strict";e.exports=n(91286)},63119:(e,t,n)=>{"use strict";let r;n.d(t,{s:()=>o});var i=n(87358);try{r=i.env.PKG_BUILD_VERSION}catch{}try{r=r||"5.11.0"}catch{}let o=r||"5.11.0-dev"},63134:(e,t,n)=>{var r=n(95295),i=n(26660),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},63178:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(4168),i=n(94716),o=n(45240),s=n(82192);function a(e,t){return function(e,t,n){var r={...void 0,weekStartsOn:1};let[i,a]=(0,o.x)(null==r?void 0:r.in,e,t);return+(0,s.k)(i,r)==+(0,s.k)(a,r)}((0,r.w)((null==t?void 0:t.in)||e,e),(0,i.A)((null==t?void 0:t.in)||e))}},63285:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2836);let i=function(e,t){return(0,r.A)(e,t)}},63431:(e,t,n)=>{var r=n(51204),i=n(13132),o=n(61877),s=n(43161),a=n(6745);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},63704:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(96948),i=n(28400);function o(e,t){return(0,r.N)(function(n,r){var o=0;n.subscribe((0,i._)(r,function(n){r.next(e.call(t,n,o++))}))})}},63820:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(8286),i=n(20437),o=n(28400);function s(e,t,n,s,a,l,u,c){var d=[],f=0,h=0,p=!1,g=function(){!p||d.length||f||t.complete()},m=function(e){return f<s?y(e):d.push(e)},y=function(e){l&&t.next(e),f++;var c=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,function(e){null==a||a(e),l?m(e):t.next(e)},function(){c=!0},void 0,function(){if(c)try{for(f--;d.length&&f<s;)!function(){var e=d.shift();u?(0,i.N)(t,u,function(){return y(e)}):y(e)}();g()}catch(e){t.error(e)}}))};return e.subscribe((0,o._)(t,m,function(){p=!0,g()})),function(){null==c||c()}}},63997:(e,t,n)=>{"use strict";n.d(t,{Te:()=>a});var r=n(39860),i=n(853),o=n(77859);let s="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function a(e){return function({useFlushSync:e=!0,...t}){let n=r.useReducer(()=>({}),{})[1],a={...t,onChange:(r,o)=>{var s;e&&o?(0,i.flushSync)(n):n(),null==(s=t.onChange)||s.call(t,r,o)}},[l]=r.useState(()=>new o.YV(a));return l.setOptions(a),s(()=>l._didMount(),[]),s(()=>l._willUpdate()),l}({observeElementRect:o.T6,observeElementOffset:o.AO,scrollToFn:o.Ox,...e})}},64255:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t)=>new r(e,t).patch},64459:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>g,W3:()=>l,bN:()=>d,bm:()=>f,h4:()=>a,n2:()=>m,yH:()=>u,zk:()=>p});var r=n(48288),i=n(83696),o=n(21408),s=n(31246);function a(e,t=[]){return[e,t]}function l(e,t){let[n,r]=e;return[n,[...r,t]]}function u(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function c(e){return s.O.__SENTRY__&&s.O.__SENTRY__.encodePolyfill?s.O.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function d(e){let[t,n]=e,r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[c(r),e]:r.push("string"==typeof e?c(e):e)}for(let e of n){let[t,n]=e;if(o(` 110${JSON.stringify(t)} 111`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,i.S8)(n))}o(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>
111e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}function f(e){let t="string"==typeof e.data?c(e.data):e.data;return[(0,o.Ce)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function p(e){return h[e]}function g(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function m(e,t,n,i){let s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:(0,r.SB)(i)},...s&&{trace:(0,o.Ce)({...s})}}}},64469:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(15440);function i(e){return(0,r.T)(function(t,n,r){return!e||e(n,r)?t+1:t},0)}},64494:(e,t,n)=>{"use strict";n.d(t,{uz:()=>F});var r,i=n(91436),o=n(60732),s=n(77241),a=n(18362),l=n(16433),u=n(40073),c=n(34098),d=n(42764),f=n(63704),h=n(29396),p=n(27887),g=n(34438),m=n(47211),y=n(85755),b=n(99148),v=n(32466),w=n(78242),_=n(54152),x=function(){return(x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},k=(0,_.d_)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-",20);function E(e,t,n){return JSON.stringify({jsonrpc:"2.0",method:e,params:x(x({},t),{apiVersion:"v1"}),id:n})}var A=function(e,t){void 0===t&&(t={});var n=t.token$,r=t.getNextRequestId,_=void 0===r?k:r,x=(0,p.j)(e.pipe((0,i.n)(function(e){return(0,g.R)(e,"message")})),function(e){return"â¥"===e.data}),A=x[0],S=x[1],C=S.pipe((0,o.Z)(function(e){var t=function(e){try{return[null,JSON.parse(e)]}catch(e){return e instanceof Error?[e]:[Error("".concat(e))]}}(e.data),n=t[0],r=t[1];return n?(console.warn("Unable to parse message: %s",n.message),m.w):r&&r.jsonrpc?(0,y.of)(r):(console.warn("Received empty or non-jsonrpc message: %s",r),m.w)}),(0,s.u)()),I=n?(0,b.z)([n,e]).pipe((0,a.F)(function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return n===i&&r===o}),(0,i.n)(function(e){var t=e[0],n=e[1];return t?T(n,"authorization",{authorization:"Bearer ".concat(t)}).pipe((0,l.s)(1),(0,u.u)(n)):(0,y.of)(n)}),(0,c.t)({refCount:!0,bufferSize:1})):e;function T(e,t,n){void 0===n&&(n={});var r=_();return(0,v.h)(C.pipe((0,d.p)(function(e){return e.id===r}),(0,f.T)(function(e){return e.result})),(0,w.v)(function(){return e.send(E(t,n,r)),m.w}))}return{heartbeats:(0,v.h)(I,A,S).pipe((0,f.T)(function(){return new Date})),listen:function(e,t){return I.pipe((0,l.s)(1),(0,o.Z)(function(n){return T(n,"".concat(e,"_subscribe"),t).pipe((0,l.s)(1),(0,o.Z)(function(t){return C.pipe((0,d.p)(function(n){return n.method==="".concat(e,"_subscription")&&n.params.subscription===t}),(0,f.T)(function(e){return e.params.result}),(0,h.j)(function(){n.readyState!==n.CLOSED&&n.readyState!==n.CLOSING&&n.send(E("".concat(e,"_unsubscribe"),{subscriptionId:t},_()))}))}))}))},request:function(e,t){return I.pipe((0,l.s)(1),(0,o.Z)(function(n){return T(n,e,t).pipe((0,l.s)(1))}))}}},S=n(45037),C=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.type=n,o.code=r,o.reason=i,o}return C(t,e),t}(Error),T=n(8286),O=n(76656),R=n(28400),D=n(25259),j=n(43279),M=n(40712);!function(e){e[e.BAD_REQUEST=4e3]="BAD_REQUEST",e[e.UNAUTHORIZED=4001]="UNAUTHORIZED",e[e.NOT_FOUND=4004]="NOT_FOUND",e[e.INVALID_REQUEST=-32600]="INVALID_REQUEST",e[e.METHOD_NOT_FOUND=-32601]="METHOD_NOT_FOUND",e[e.INVALID_PARAMS=-32602]="INVALID_PARAMS",e[e.SUBSCRIPTION_NOT_FOUND=-32602]="SUBSCRIPTION_NOT_FOUND",e[e.PARSE_ERROR=-32700]="PARSE_ERROR"}(r||(r={}));var N=function(e){return e};function F(e,t){void 0===t&&(t={});var n,r,i=t.timeout,s=t.token$;return A((n=function(e,t){return new window.WebSocket(e,t)},function(e){return new S.c(function(t){var r=n(e),i=!1;return r.onopen=function(){t.next(r)},r.onclose=function(e){i?t.complete():t.error(new I("WebSocket connection error","CONNECTION_CLOSED",e.code,e.reason))},r.onerror=function(){t.error(new I("WebSocket connection error","CONNECTION_ERROR"))},function(){i=!0,r.close(1e3,"WebSockets connection closed by client")}})})(e).pipe(i?(r=(0,M.$)(function(){return Error("Timeout after ".concat(i," while establishing WebSockets connection"))}),function(e){return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===(t=(0,O.K)(t)).length?(0,T.Tg)(t[0]):new S.c((e=t,function(t){for(var n=[],r=function(r){n.push((0,T.Tg)(e[r]).subscribe((0,R._)(t,function(e){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(e)})))},i=0;n&&!t.closed&&i<e.length;i++)r(i)}))}(e,(0,D.O)(i).pipe((0,o.Z)(function(){return r})))}):N,(0,c.t)({refCount:!0}),(0,j.Q)((0,g.R)(window,"beforeunload"))),{token$:s})}},64536:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=Array.isArray},64681:(e,t,n)=>{var r=n(87358);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){let e;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&
111("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(28302)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},64711:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(12718),i=n(61270),o=n(16433),s=n(96948),a=n(28400),l=n(34793),u=n(40073),c=n(60732),d=n(8286),f=n(25259);function h(e,t){void 0===t&&(t=r.E);var n=(0,f.O)(e,t);return function e(t,n){return n?function(r){return(0,i.x)(n.pipe((0,o.s)(1),(0,s.N)(function(e,t){e.subscribe((0,a._)(t,l.l))})),r.pipe(e(t)))}:(0,c.Z)(function(e,n){return(0,d.Tg)(t(e,n)).pipe((0,o.s)(1),(0,u.u)(e))})}(function(){return n})}},65246:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},65333:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(71450),i=n(96948),o=n(28400),s=n(8286),a=n(77163),l=n(34793),u=n(95868);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,u.ms)(e);return(0,i.N)(function(t,i){for(var u=e.length,c=Array(u),d=e.map(function(){return!1}),f=!1,h=function(t){(0,s.Tg)(e[t]).subscribe((0,o._)(i,function(e){c[t]=e,!f&&!d[t]&&(d[t]=!0,(f=d.every(a.D))&&(d=null))},l.l))},p=0;p<u;p++)h(p);t.subscribe((0,o._)(i,function(e){if(f){var t=(0,r.fX)([e],(0,r.zs)(c));i.next(n?n.apply(void 0,(0,r.fX)([],(0,r.zs)(t))):t)}}))})}},65359:(e,t,n)=>{"use strict";n.d(t,{a3:()=>a,m7:()=>l,vm:()=>s});var r=n(95595),i=n(96939);let o=n(31246).O;function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function a(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if("string"==typeof EdgeRuntime)return!0;if(!s())return!1;if(a(o.fetch))return!0;let e=!1,t=o.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");
111n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=a(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.T&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},65828:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(92118);function i(e,t,n){let i=(0,r.a)(e,null==n?void 0:n.in);return i.setHours(t),i}},66076:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(35347);let i=function(e,t){return!!(null==e?0:e.length)&&(0,r.A)(e,t,0)>-1}},66126:(e,t,n)=>{var r=n(81495);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},66265:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});let r=({clientWidth:e,clientHeight:t,scrollWidth:n,scrollHeight:r})=>r>t||n>e,i=e=>{let t=window.getComputedStyle(e).overflow;return t.includes("auto")||t.includes("scroll")},o=e=>{if(null==e)return{x:0,y:0};let{scrollTop:t,scrollHeight:n,clientHeight:r,scrollLeft:i,scrollWidth:o,clientWidth:s}=e;return{x:i?i/Math.max(1e-5,o-s):0,y:t?t/Math.max(1e-5,n-r):0}};function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function a(e){return e.matches("body *")?e:window}class l{constructor(e,t={}){var n,a=this;this.elements=void 0,this.defaults={vertical:!0,horizontal:!0,debug:!0},this.options=void 0,this.paused=!1,this.logger=void 0,this.handleScroll=async function(e){if(a.paused||!e.currentTarget)return;let t=a.getScrollContainer(e.currentTarget);await new Promise(e=>{requestAnimationFrame(()=>e())}),a.mirrorScrollPositions(o(t),t)},this.elements=[...e].filter(Boolean).map(e=>this.getScrollContainer(e)),this.elements=[...new Set(this.elements)],this.options=s({},this.defaults,t),this.options.debug&&(this.logger=(n="[scroll-mirror]",{log:(...e)=>console.log(n,...e),warn:(...e)=>console.warn(n,...e),error:(...e)=>console.error(n,...e)}),function(e,t){if(e.length<1)null==t||t.warn("No elements provided.");else for(let n of(e.length<2&&(null==t||t.warn("Only one element provided.",e)),e.some(e=>!e)&&(null==t||t.error("Some elements are not defined.",e)),e))n instanceof HTMLElement&&!r(n)&&(null==t||t.warn("Element doesn't have overflow:",n)),n instanceof HTMLElement&&n.matches("body *")&&!i(n)&&(null==t||t.warn('No "overflow: auto;" or "overflow: scroll;" set on element:',n))}(this.elements,this.logger)),this.elements.forEach(e=>this.addScrollHandler(e)),this.elements.includes(document.documentElement)&&this.mirrorScrollPositions(o(document.documentElement),document.documentElement)}pause(){this.paused=!0}resume(){this.paused=!1}destroy(){this.elements.forEach(e=>this.removeScrollHandler(e))}addScrollHandler(e){this.removeScrollHandler(e),a(e).addEventListener("scroll",this.handleScroll,{passive:!0})}removeScrollHandler(e){a(e).removeEventListener("scroll",this.handleScroll)}getScrollContainer(e){return e instanceof HTMLElement&&e.matches("body *")?e:document.documentElement}mirrorScrollPositions(e,t){this.elements.forEach(n=>{t!==n&&(this.removeScrollHandler(n),this.setScrollPosition(e,n),window.requestAnimationFrame(()=>{this.addScrollHandler(n)}))})}setScrollPosition(e,t){let{vertical:n,horizontal:r}=this.options,i=t.scrollWidth-t.clientWidth,o=t.scrollHeight-t.clientHeight;n&&o&&t.scrollTo({top:o*e.y,behavior:"instant"}),r&&i&&t.scrollTo({left:i*e.x,behavior:"instant"})}get progress(){return o(this.elements.find(e=>r(e)))}set progress(e){"number"==typeof e&&(e={x:e,y:e});let t=s({},this.progress,e);(function(e,t){let n=!0;for(let[r,i]of Object.entries(e))("number"!=typeof i||i<0||i>1)&&(null==t||t.error(`progress.${r} must be a number between 0-1`),n=!1);return n})(t,this.logger)&&this.mirrorScrollPositions(t)}}},66714:(e,t,n)=>{"use strict";let r;n.d(t,{_:()=>l});var i=n(90570);let o=n(31246).O;var s=n(21408),a=n(38599);function l(e){let t="history";(0,i.s5)(t,e),(0,i.AS)(t,u)}function u(){if(!function(){let e=o.chrome,t=e&&e.app&&e.app.runtime,n="history"in o&&!!o.history.pushState&&!!o.history.replaceState;return!t&&n}())return;let e=a.j.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=r,t=String(n);r=t,(0,i.aj)("history",{from:e,to:t})}return e.apply(this,t)}}a.j.onpopstate=function(...t){let n=a.j.location.href,o=r;if(r=n,(0,i.aj)("history",{from:o,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,s.GS)(a.j.history,"pushState",t),(0,s.GS)(a.j.history,"replaceState",t)}},66966:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(7818),i=n(75130),o=n(83001);let s=function(e){var t=(0,o.A)(e),n=t%1;return t==t?n?t-n:t:0};var a=Math.max;let l=function(e,t,n){var o=null==e?0:e.length;if(!o)return -1;var l=null==n?0:s(n);return l<0&&(l=a(o+l,0)),(0,r.A)(e,(0,i.A)(t,3),l)}}
111,67199:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>r(e,t,n)>=0},67251:e=>{"use strict";let t=[],n=[],r=(e,r)=>{let i,o,s,a;if(e===r)return 0;let l=e;e.length>r.length&&(e=r,r=l);let u=e.length,c=r.length;for(;u>0&&e.charCodeAt(~-u)===r.charCodeAt(~-c);)u--,c--;let d=0;for(;d<u&&e.charCodeAt(d)===r.charCodeAt(d);)d++;if(u-=d,c-=d,0===u)return c;let f=0,h=0;for(;f<u;)n[f]=e.charCodeAt(d+f),t[f]=++f;for(;h<c;)for(f=0,i=r.charCodeAt(d+h),s=h++,o=h;f<u;f++)a=i===n[f]?s:s+1,s=t[f],o=t[f]=s>o?a>o?o+1:a:a>s?s+1:a;return o};e.exports=r,e.exports.default=r},67716:(e,t,n)=>{"use strict";n.d(t,{Sj:()=>eJ});var r=n(15356),i=n(33341),o=n(49851),s=n(82945),a=n(4831),l=n(10344),u=n(2145),c=n(71985),d=n(77058),f=n(46161),h=n(50685),p=n(23955),g=n(54272);let m=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue","deprecated"],y="_internal_ownProps";function b(e,t,n,r={}){return Object.defineProperty(e,t,{configurable:!0,enumerable:!1!==r.enumerable,get(){let i=n();return Object.defineProperty(e,t,{value:i,writable:!!r.writable,configurable:!1}),i}}),e}function v(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!1,value:n})}let w=[...m],_={name:"any",type:null,jsonType:"any"},x=[...m],k={name:"array",type:null,jsonType:"array",of:[]},E={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function A(e){return"array"===e.type&&e.of&&e.of.some(e=>"block"===e.type)||!1}let S=["title","name","label","heading","header","caption"],C=["description",...S];function I(e,t){return g(e.to||[]).some(e=>e.type===t)}function T(e){return I(e,"sanity.imageAsset")}function O(e){return I(e,"sanity.fileAsset")}function R(e){return function(){return e.options&&e.options.preview&&console.warn(`Heads up! The preview config is no longer defined on "options", but instead on the type/field itself. 112Please move {options: {preview: ...}} to {..., preview: ...} on the type/field definition of "${e.name}". 113`),function(e){let t=e.preview||(e.options||{}).preview;t&&"fields"in t&&console.warn(`Heads up! "preview.fields" should be renamed to "preview.select". Please update the preview config for "${e.name}". 114`)}(e),function(e){if(!e)return e;let t=e.select||e.fields||{};return Array.isArray(t)?{...(0,i.A)(e,["prepare","component"]),select:t.reduce((e,t)=>(e[t]=t,e),{})}:{...(0,i.A)(e,["prepare","component"]),select:t}}(e.preview||(e.options||{}).preview)||function(e){let t={fields:[],...e},n=t.fields.filter(e=>"string"===e.type).map(e=>e.name),r=t.fields.filter(A).map(e=>e.name),a=S.find(e=>n.includes(e)||r.includes(e)),l=C.find(e=>e!==a&&(n.includes(e)||r.includes(e)));a||(a=n[0]||r[0],l=n[1]||r[1]);let u=t.fields.find(e=>"image"===e.type),c=function(e){let t=e.fields||[],n=t.find(T);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(T));return r?`${r.name}.asset`:void 0}(t);if(!a){let e=function(e){let t=e.fields||[],n=t.find(O);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(O));return r?`${r.name}.asset`:void 0}(t);e&&(a=`${e}.originalFilename`),c&&(a=`${c}.originalFilename`)}if(!a&&!c){let e=t.fields.map(e=>e.name);return{select:e.reduce((e,t)=>(e[t]=t,e),{}),prepare:t=>({title:function(e,t={}){return function e(t,n,r){if(r>n.maxDepth)return"...";if(Array.isArray(t)){if(0===t.length)return"[empty]";let i=Math.max(t.length-n.maxBreadth),o=t.slice(0,n.maxBreadth).map((t,i)=>e(t,n,r+1)).concat(i>0?`\u2026+${i}`:[]).join(", ");return 0===r?o:`[${o}]`}if("object"==typeof t&&null!==t){let o=Object.keys(t).filter(e=>!n.ignoreKeys.includes(e)&&"u">typeof t[e]);if(function(e){for(let t in e)if(e.hasOwnProperty(t))return!1;return!0}((0,i.A)(t,o)))return"{empty}";let s=o.slice(0,n.maxBreadth).map(i=>`${i}: ${e(t[i],n,r+1)}`).join(", ");return 0===r?s:`{${s}}`}let o=String(t);return""===o?'""':o}(e,{maxDepth:"maxDepth"in t?t.maxDepth:2,maxBreadth:"maxBreadth"in t?t.max
114Breadth:2,ignoreKeys:"ignoreKeys"in t?t.ignoreKeys:[]},0)}((0,i.A)(t,e),E)})}}return{select:(0,o.A)({title:a,description:l,media:u?u.name:c},s.A)}}(e)}}let D={type:"text",name:"text",title:"Text"},j={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},M={bullet:{title:"Bulleted list",value:"bullet",i18nTitleKey:"inputs.portable-text.list-type.bullet"},numbered:{title:"Numbered list",value:"number",i18nTitleKey:"inputs.portable-text.list-type.number"}},N=[M.bullet,M.numbered],F={normal:{title:"Normal",value:"normal",i18nTitleKey:"inputs.portable-text.style.normal"},h1:{title:"Heading 1",value:"h1",i18nTitleKey:"inputs.portable-text.style.h1"},h2:{title:"Heading 2",value:"h2",i18nTitleKey:"inputs.portable-text.style.h2"},h3:{title:"Heading 3",value:"h3",i18nTitleKey:"inputs.portable-text.style.h3"},h4:{title:"Heading 4",value:"h4",i18nTitleKey:"inputs.portable-text.style.h4"},h5:{title:"Heading 5",value:"h5",i18nTitleKey:"inputs.portable-text.style.h5"},h6:{title:"Heading 6",value:"h6",i18nTitleKey:"inputs.portable-text.style.h6"},blockquote:{title:"Quote",value:"blockquote",i18nTitleKey:"inputs.portable-text.style.quote"}},$=[F.normal,F.h1,F.h2,F.h3,F.h4,F.h5,F.h6,F.blockquote],P={strong:{title:"Strong",value:"strong",i18nTitleKey:"inputs.portable-text.decorator.strong"},em:{title:"Italic",value:"em",i18nTitleKey:"inputs.portable-text.decorator.emphasis"},code:{title:"Code",value:"code",i18nTitleKey:"inputs.portable-text.decorator.code"},underline:{title:"Underline",value:"underline",i18nTitleKey:"inputs.portable-text.decorator.underline"},strikeThrough:{title:"Strike",value:"strike-through",i18nTitleKey:"inputs.portable-text.decorator.strike-through"}},L=[P.strong,P.em,P.code,P.underline,P.strikeThrough],z=[{type:"object",name:"link",title:"Link",i18nTitleKey:"inputs.portable-text.annotation.link",options:{modal:{type:"popover"}},fields:[{name:"href",type:"url",title:"Link",description:"A valid web, email, phone, or relative link.",validation:e=>e.uri({scheme:["http","https","tel","mailto"],allowRelative:!0})}]}],U=["type","name","title","jsonType","description","options","fieldsets","icon"],B={name:"block",title:"Block",type:null,jsonType:"object"},q={},V=["type","name","title","jsonType","description","options","fieldsets","icon"],H={name:"span",title:"Span",type:null,jsonType:"object"},G={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},W={name:"text",title:"Text",type:"string"},Y={};var K={prepare:e=>({title:String(e)})};let Z=[...m],X={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},J={},Q=e=>(J[e]||(J[e]=Symbol(`__cachedStringFields_${e}`)),J[e]),ee=["style","list"],et=e=>"block"===e.name||e.type&&et(e.type);function en(e,t,n,r=[],i){var o,s,a,l,u;if(i<0)return n;let c=t(n,e,r);return"array"===e.jsonType&&Array.isArray(e.of)?(o=e,s=t,a=c,l=r,u=i,o.of.reduce((e,t)=>en(t,s,e,l,u-1),a)):"object"===e.jsonType&&Array.isArray(e.fields)&&!(e.type&&"reference"===e.type.name)?function(e,t,n,r,i){let o=et(e);return e.fields.reduce((e,n)=>{if(o&&ee.includes(n.name))return e;let s=[n.name].concat("array"===n.type.jsonType?[[]]:[]);return en(n.type,t,e,r.concat(s),i-1)},n)}(e,t,c,r,i):c}let er=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],ei={title:10,subtitle:5,description:1.5};function eo(e,t){let n=e?.preview?.select;if(!n)return[];let r=[];for(let e of Object.keys(n)){if(!(e in ei))continue;let i=n[e].split(".");t>-1&&i.length-1>t||r.push({weight:ei[e],path:i})}return r}function es(e){return!(0,l.A)(e)||e<1||e>5?4:e-1}let ea=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"},{name:"_dataset",title:"Target dataset",type:"string"},{name:"_projectId",title:"Target project ID",type:"string",hidden:!0}],el=[...m],eu={name:"crossDatasetReference",type:null,jsonType:"object"},ec=[...m],ed={name:"date",title:"Datetime",type:null,jsonType:"string"},ef=[...m],eh={name:"datetime",title:"Datetime",type:null,jsonType:"string"},ep=["title","name","label","heading","header","caption","description"],eg=["string","boolean","number"],em=e=>eg.includes(e.type);function ey(e){if(!Array.isArray(e))throw Error("The search config of a document type must be an array of search config objects");return e.map(e=>{if("defaults"===e)return e;if(!(0,d.A)(e))throw Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in e?e.weight:1,path:(0,f.A)(e.path),mapWith:"str
114ing"==typeof e.mapWith?e.mapWith:void 0}})}let eb=[...m,"orderings","__experimental_search","blockEditor","icon"],ev={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(e,t){let n,r={fields:[],...e},o={...r.options},s={...r,title:r.title||(r.name?(0,c.A)(r.name):"Object"),options:o,orderings:r.orderings||(0===(n=ep.filter(e=>r.fields.some(t=>em(t)&&t.name===e))).length&&(n=r.fields.filter(em).map(e=>e.name)),n.map(e=>({name:e,i18n:{title:{key:`default-orderings.${e}`,ns:"studio"}},title:(0,u.A)((0,c.A)(e)),by:[{field:e,direction:"asc"}]}))),fields:r.fields.map(e=>t.cachedObjectField(e))},l=Object.assign((0,i.A)(this.get(),eb),s,{type:this.get()});return b(l,"fieldsets",()=>ew(r,l.fields)),b(l,"groups",()=>(function(e,t){let n={},r=0;for(let t of e.groups||[]){if(n[t.name])throw Error(`Duplicate group name "${t.name}" found for type '${e.title?e.title:(0,c.A)(e.name)}'`);if(n[t.name]={title:(0,c.A)(t.name),...t,fields:[]},t.default&&++r>1)throw Error(`More than one field group defined as default for type '${e.title?e.title:(0,c.A)(e.name)}' - only 1 is supported`)}return t.forEach(t=>{let r=(0,h.A)(t.group||[]);0!==r.length&&r.forEach(r=>{let i=n[r];if(!i)throw Error(`Field group '${r}' is not defined in schema for type '${e.title?e.name:(0,c.A)(e.name)}'`);i.fields.push(t)})}),(0,p.A)(n).filter(e=>e.fields.length>0||"all-fields"===e.name)})(r,l.fields)),b(l,"preview",R(r)),b(l,y,()=>({...s,preview:l.preview}),{enumerable:!1,writable:!1}),b(l,"__experimental_search",()=>{let e=r.__experimental_search?ey(r.__experimental_search):null;return e?e.map(e=>"defaults"===e?ey(r):e):function(e,t){var n=es(void 0);let r=Q(n);return e[r]||(e[r]=(0,a.A)([...er,...eo(e,n),...en(e,(e,t,n)=>"string"===t.jsonType?[...e,n]:e,[],[],n).map(e=>({weight:1,path:e})),...en(e,(e,t,n)=>"array"===t.jsonType&&Array.isArray(t.of)&&t.of.some(et)?[...e,n]:e,[],[],n).map(e=>({weight:1,path:e,mapWith:"pt::text"}))],e=>e.path.join("."))),e[r]}(l)},{enumerable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "object"');let o=(0,i.A)(n,eb);o.title=n.title||r.title||(r.name?(0,c.A)(r.name):"Object");let s=Object.assign({},t,(0,i.A)(n,eb),{type:t});return b(s,"__experimental_search",()=>t.__experimental_search),v(s,y,o),e(s)}}}(l)}};function ew(e,t){let n={};for(let t of e.fieldsets||[]){if(n[t.name])throw Error(`Duplicate fieldset name "${t.name}" found for type '${e.title?e.title:(0,c.A)(e.name)}'`);n[t.name]={title:(0,c.A)(t.name),...t,fields:[]}}let r=new Set;for(let i of t){if(!i.fieldset){r.add({single:!0,field:i});continue}let t=n[i.fieldset];if(!t)throw Error(`Fieldset '${i.fieldset}' is not defined in schema for type '${e.name}'`);t.fields.push(i),r.add(t)}return Array.from(r)}let e_={name:"document",title:"Document",type:null,jsonType:"object"},ex={get:()=>e_,extend:ev.extend},ek=[...m],eE={name:"email",title:"Email",type:null,jsonType:"string"};b(eE,y,()=>({...eE,validation:e=>e.email()}),{enumerable:!1});let eA={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},eS={name:"media",type:"globalDocumentReference",hidden:!0,to:[{type:"sanity.asset"}]},eC=[...m],eI={name:"file",title:"File",type:null,jsonType:"object"},eT={accept:""},eO=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],eR=[...m],eD={name:"globalDocumentReference",title:"Global Document Reference",type:null,jsonType:"object"},ej={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},eM={name:"hotspot",type:"sanity.imageHotspot"},eN={name:"crop",type:"sanity.imageCrop"},eF={name:"media",type:"globalDocumentReference",hidden:!0,to:[{type:"sanity.asset"}]},e$=[...m],eP={name:"image",title:"Image",type:null,jsonType:"object"},eL={},ez=[...m],eU={name:"number",title:"Number",type:null,jsonType:"number"},eB=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],eq=[...m],eV={name:"reference",title:"Reference",type:null,jsonType:"object"}
114,eH=[...m],eG={name:"string",title:"String",type:null,jsonType:"string"},eW=[...m,"rows"],eY={name:"text",title:"Text",type:null,jsonType:"string"},eK=[...m],eZ={name:"url",title:"Url",type:null,jsonType:"string"};var eX=Object.freeze({__proto__:null,any:{get:()=>_,extend(e,t){let n={...e,of:e.of.map(e=>({name:e.name,type:t((0,r.A)(e,"name"))}))},o=Object.assign((0,i.A)(_,w),n,{type:_});return v(o,y,n),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=(0,i.A)(n,w),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(o)}},array:{get:()=>k,extend(e,t){let n=Object.assign((0,i.A)(k,x),e,{type:k});return b(n,"of",()=>e.of.map(e=>t.cached(e))),b(n,y,()=>({...e,of:n.of}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=(0,i.A)(n,x),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},block:{get:()=>B,extend(e,t){var n;let r={...e.options||q},{marks:o,styles:s,lists:a,of:l,...u}=e,c=function(e,t=[]){return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[D,j],annotations:e&&e.annotations?e.annotations:z,decorators:e&&e.decorators?e.decorators:L},...t.filter(e=>"span"!==e.type)]}}(o,l),d=[c,{name:"style",title:"Style",type:"string",options:{list:(n=s||$).some(e=>"normal"===e.value)?n:[F.normal,...n]}},{name:"listItem",title:"List type",type:"string",options:{list:a||N}},{name:"markDefs",title:"Mark definitions",type:"array",of:o?.annotations||z},{name:"level",title:"Indentation",type:"number"}].concat(e.fields||[]),f={...u,options:r},h=Object.assign((0,i.A)(B,U),f,{type:B});return b(h,"fields",()=>d.map(e=>t.cachedField(e))),b(h,"preview",R(e)),b(h,y,()=>({...f,fields:h.fields,preview:h.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "block"');let r=(0,i.A)(n,U),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(h)}},boolean:{get:()=>X,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(X,Z),t,{type:X});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,Z),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},crossDatasetReference:{get:()=>eu,extend(e,t){if(!e.to)throw Error(`Missing "to" field in cross dataset reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(eu,el),e,{type:eu});return b(n,"fields",()=>ea.map(e=>t.cachedField(e))),b(n,"to",()=>g(e.to).map(e=>({...e,__experimental_search:function(e,t){var n=es(void 0);let r=Q(n);return e[r]||(e[r]=(0,a.A)([...er,...eo(e,n)],e=>e.path.join("."))),e[r]}(e)}))),b(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Cross dataset reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(g(n.to).map(e=>e.title||(0,u.A)(e.type)),0).toLowerCase()}`:"Cross dataset Reference")),b(n,y,()=>({...e,fields:n.fields,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=(0,i.A)(n,el),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},date:{get:()=>ed,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(ed,ec),t,{type:ed});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,ec),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},datetime:{get:()=>eh,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(eh,ef),t,{type:eh});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,ef),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},document:ex,email:{get:()=>eE,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(eE,ek),t,{type:eE});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,ek),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},file:{get:()=>eI,extend(e,t){let n={...e.options||eT},r=[eA,eS,...e.fields||[]],o={...e,fields:r},s=Object.assign((0,i.A)(eI,eC),o,{type:eI,title:o.title||(o.name?(0,c.A)(o.name):eI.title),options:n,fields:o.fields.map(n=>{let{name:r,fieldset:i,...o}=n;
114return b({name:r,fieldset:i,isCustomized:!!e.fields},"type",()=>t({...o,title:n.title||(0,c.A)(r)}))})});return b(s,"fieldsets",()=>ew(o,s.fields)),b(s,"preview",R(Object.assign({},o,{fields:r}))),b(s,y,()=>({...o,options:n,fields:s.fields,title:s.title,fieldsets:s.fieldsets,preview:s.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "file"');let r=(0,i.A)(n,eC),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(s)}},globalDocumentReference:{get:()=>eD,extend(e,t){if(!e.to)throw Error(`Missing "to" field in global document reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(eD,eR),e,{type:eD});return b(n,"fields",()=>eO.map(e=>t.cachedField(e))),b(n,"to",()=>g(e.to).map(e=>({...e}))),b(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Global Document Reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(g(n.to).map(e=>e.title),0).toLowerCase()}`:"Global Document Reference")),b(n,y,()=>({...e,fields:n.fields,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "globalDocumentReference"');let r=(0,i.A)(n,eR),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},image:{get:()=>eP,extend(e,t){let n={...e.options||eL},r=[eM,eN];n.hotspot||(r=r.map(e=>({...e,hidden:!0})));let o=[ej,eF,...r,...e.fields||[]],s={...e,fields:o},a=Object.assign((0,i.A)(this.get(),e$),s,{type:eP,title:s.title||(s.name?(0,c.A)(s.name):eP.title),options:n,fields:s.fields.map(n=>{let{name:r,fieldset:i,...o}=n;
114return b({name:r,fieldset:i,isCustomized:!!e.fields},"type",()=>t({...o,title:n.title||(0,c.A)(r)}))})});return b(a,"fieldsets",()=>ew(s,a.fields)),b(a,"preview",R(Object.assign({},s,{fields:o}))),b(a,y,()=>({...s,options:n,fields:a.fields,title:a.title,fieldsets:a.fieldsets,preview:a.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "image"');let r=(0,i.A)(n,e$),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(a)}},number:{get:()=>eU,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(eU,ez),t,{type:eU});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,ez),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},object:ev,reference:{get:()=>eV,extend(e,t){if(!e.to)throw Error(`Missing "to" field in reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(eV,eq),e,{type:eV});return b(n,"fields",()=>eB.map(e=>t.cachedField(e))),b(n,"fieldsets",()=>ew(e,n.fields)),b(n,"to",()=>g(e.to).map(e=>t(e))),b(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(g(n.to).map(e=>e.title),0).toLowerCase()}`:"Reference")),b(n,y,()=>({...e,fields:n.fields,fieldsets:n.fieldsets,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=(0,i.A)(n,eq),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},span:{get:()=>H,extend(e,t){let n={...e.options||Y},{annotations:r=[],marks:o=[]}=e,s=[G,W],a={...e,options:n},l=Object.assign((0,i.A)(H,V),a,{type:H});return b(l,"fields",()=>s.map(e=>t.cachedField(e))),b(l,"annotations",()=>r.map(t)),b(l,"marks",()=>o.map(t)),b(l,"preview",R(e)),b(l,y,()=>({...a,fields:l.fields,annotations:l.annotations,marks:l.marks,preview:l.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "span"');let r=(0,i.A)(n,V),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(l)}},string:{get:()=>eG,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(eG,eH),t,{type:eG});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eH),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},text:{get:()=>eY,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(eY,eW),t,{type:eY});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eW),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}},url:{get:()=>eZ,extend(e){let t={...e,preview:K},n=Object.assign((0,i.A)(eZ,eK),t,{type:eZ});return v(n,y,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eK),o=Object.assign({},t,r,{type:t});return v(o,y,r),e(o)}}}(n)}}});class eJ{_original;_registry;#m;static compile(e){return new eJ(e)}constructor(e){this._original=e;let{registry:t,localTypeNames:n}=function(e){let t,n=Object.create(null);e.parent?(Object.assign(n,e.parent._registry),t=[]):(Object.assign(n,eX),t=Object.keys(eX));let r=e.types.reduce((e,t)=>{if(e[t.name])throw Error(`Duplicate type name added to schema: ${t.name}`);return e[t.name]=t,e},{}),i=new Map,o=new Map,s=new Map,a=Object.assign(u,{cached(e){let t=i.get(e);return t||(t=u(e),i.set(e,t)),t},cachedField(e){let t=o.get(e);if(!t){let{name:n,...r}=e;t={name:n,type:u(r)},o.set(e,t)}return t},cachedObjectField(e){let t=s.get(e);if(!t){let{name:n,fieldset:r,group:i,...o}=e;b(t={name:n,group:i,fieldset:r},"type",()=>u({...o,title:e.title||(0,c.A)(n)})),s.set(e,t)}return t}});return e.types.forEach(d),{registry:n,localTypeNames:t};function l(e){if(!n[e]){if(!r[e])throw Error(`Unknown type: ${e}`);d(r[e])}}function u(e){return l(e.type),n[e.type].extend(e,a).get()}function d(e){l(e.type),n[e.name]||(t.push(e.name),n[e.name]=n[e.type].extend(e,u))}}(e);this._registry=t,this.#m=n}get name(){return this._original.name}get parent(){return this._original.parent}get(e){return this._registry[e]&&this._registry[e].get()}has(e){return e in this._registry}getTypeNames(){return Object.keys(this._registry)}getLocalTypeNames(){return this.#m}}(class e{static FIELD_REF=null;static array=null;static object=null;static string=null;static number=null;static boolean=null;static dateTime=null;static valueOfField=null;_type=void 0;_level=void 0;_required=void 0;_typeDef=void 0;_message=void 0;_rules=[];_fieldRules=void 0;constructor(e){this._typeDef=e,this.reset()}_mergeRequired(e){return"required"===this._required||"required"===e._required?"required":"optional"===this._required||"optional"===e._required?"optional":void 0}valueOfField=e.valueOfField.bind(e);error(e){let t=this.clone();return t._level="error",t._message=e||void 0,t}warning(e){let t=this.clone();return t._level="warning",t._message=e||void 0,t}info(e){let t=this.clone();return t._level="info",t._message=e||void 0,t}reset(){return this._type=this._type||void 0,this._rules=(this._rules||[]).filter(e=>"type"===e.flag),this._message=void 0,this._required=void 0,this._level="error",this._fieldRules=void 0,this}isRequired(){return"required"===this._required}clone(){let t=new e;return t._type=this._type,t._message=this._message,t._required=this._required,t._rules=cloneDeep(this._rules),t._level=this._level,t._fieldRules=this._fieldRules,t._typeDef=this._typeDef,t}cloneWithRules(e){let t=this.clone(),n=new Set;
114return e.forEach(e=>{"type"===e.flag&&(t._type=e.constraint),n.add(e.flag)}),t._rules=t._rules.filter(e=>{let t=["type","uri","email"].includes(e.flag),r=n.has(e.flag);return!(t&&r)}).concat(e),t}merge(e){if(this._type&&e._type&&this._type!==e._type)throw Error("merge() failed: conflicting types");let t=this.cloneWithRules(e._rules);return t._type=this._type||e._type,t._message=this._message||e._message,t._required=this._mergeRequired(e),t._level="error"===this._level?e._level:this._level,t}type(e){let t=`${e.slice(0,1).toUpperCase()}${e.slice(1)}`;if(!null.includes(t))throw Error(`Unknown type "${e}"`);let n=this.cloneWithRules([{flag:"type",constraint:t}]);return n._type=t,n}all(e){return this.cloneWithRules([{flag:"all",constraint:e}])}either(e){return this.cloneWithRules([{flag:"either",constraint:e}])}optional(){let e=this.cloneWithRules([{flag:"presence",constraint:"optional"}]);return e._required="optional",e}skip(){let e=this.clone();return e._rules=[],e._required="optional",e._message=void 0,e._level="error",e._fieldRules=void 0,e}required(){let e=this.cloneWithRules([{flag:"presence",constraint:"required"}]);return e._required="required",e}custom(e,t={}){return t.bypassConcurrencyLimit&&Object.assign(e,{bypassConcurrencyLimit:!0}),this.cloneWithRules([{flag:"custom",constraint:e}])}min(e){return this.cloneWithRules([{flag:"min",constraint:e}])}max(e){return this.cloneWithRules([{flag:"max",constraint:e}])}length(e){return this.cloneWithRules([{flag:"length",constraint:e}])}valid(e){let t=Array.isArray(e)?e:[e];return this.cloneWithRules([{flag:"valid",constraint:t}])}integer(){return this.cloneWithRules([{flag:"integer"}])}precision(e){return this.cloneWithRules([{flag:"precision",constraint:e}])}positive(){return this.cloneWithRules([{flag:"min",constraint:0}])}negative(){return this.cloneWithRules([{flag:"lessThan",constraint:0}])}greaterThan(e){return this.cloneWithRules([{flag:"greaterThan",constraint:e}])}lessThan(e){return this.cloneWithRules([{flag:"lessThan",constraint:e}])}uppercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"uppercase"}])}lowercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"lowercase"}])}regex(e,t,n){let r="string"==typeof t?t:t?.name??n?.name,i="string"!=typeof t&&(t?.invert??n?.invert);return this.cloneWithRules([{flag:"regex",constraint:{pattern:e,name:r,invert:i||!1}}])}email(){return this.cloneWithRules([{flag:"email"}])}uri(e){let t=e?.scheme||["http","https"],n=Array.isArray(t)?t:[t];if(!n.length)throw Error("scheme must have at least 1 scheme specified");let r={options:{scheme:n.map(e=>{if(!(e instanceof RegExp)&&"string"!=typeof e)throw Error("scheme must be a RegExp or a String");return"string"==typeof e?RegExp(`^${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}$`):e}),allowRelative:e?.allowRelative||!1,relativeOnly:e?.relativeOnly||!1,allowCredentials:e?.allowCredentials||!1}};return this.cloneWithRules([{flag:"uri",constraint:r}])}unique(){return this.cloneWithRules([{flag:"unique"}])}reference(){return this.cloneWithRules([{flag:"reference"}])}fields(e){if("Object"!==this._type)throw Error("fields() can only be called on an object type");let t=this.cloneWithRules([]);return t._fieldRules=e,t}assetRequired(){let e,t=function e(t){return t&&t.type?e(t.type):t}(this._typeDef);return e=t&&["image","file"].includes(t.name)?"image"===t.name?"image":"file":"asset",this.cloneWithRules([{flag:"assetRequired",constraint:{assetType:e}}])}media(e){return this.cloneWithRules([{flag:"media",constraint:e}])}async validate(e,t){throw Error("validate() method must be implemented by extending Rule class")}})},67810:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},67822:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(35582),i=n(83119),o=n(11331),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var a=n(35668),l=n(48272),u=l.A&&l.A.isTypedArray;let c=u?(0,a.A)(u):function(e){return(0,o.A)(e)&&(0,i.A)(e.length)&&!!s[(0,r.A)(e)]}},68226:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>0>=r(e,t,n)},68250:(e,t,n)=>{"use strict";n.d(t,{q:()=>h});var r=n(77241),i=n(98203),o=n(42764),s=n(60732),a=n(32466),l=n(43279),u=n(63704),c=n(65333);let d={current:[],added:[],removed:[]},f=[];function h(e,t=(e,t)=>e===t){return n=>{let h=n.pipe((0,r.u)()),g=h.pipe((0,i.S)((e,n)=>{let r=n.filter(n=>!e.current.find(e=>t(e,n))),i=e.current.filter(e=>!n.find(n=>t(n,e)));return{current:n,added:p(r,t),removed:p(i,t)}},d)).pipe((0,r.u)(),(0,o.p)(e=>e.added.length>0||e.removed.length>0)),m=g.pipe((0,s.Z)(e=>e.removed)),y=g.pipe((0,s.Z)(e=>e.added)),b=h.pipe((0,o.p)(e=>0===e.length),(0,u.T)(()=>f)),v=y.pipe((0,s.Z)(n=>{let i=m.pipe((0,o.p)(e=>t(e,n))).pipe((0,r.u)());return(0,a.h)(i.pipe((0,u.T)(()=>({type:"remove",element:n}))),e(n).pipe((0,l.Q)(i),(0,u.T)(e=>({type:"emit",element:n,projected:e}))))}),(0,c.E)(h),(0,i.S)((e,[n,r])=>r.flatMap(r=>t(r,n.element)?"remove"===n.type?[]:{item:r,emitted:!0,value:n.projected}:e.find(e=>e&&t(e.item,r))),[]),(0,o.p)(e=>e.every(e=>null==e?void 0:e.emitted)),(0,u.T)(e=>e.map(e=>e.value)));return(0,a.h)(b,v)}}function p(e,t){let n=[],r=!1;for(let i of e)n.find(e=>t(e,i))?r=!0:n.push(i);return r?n:e}},68381:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case a:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case g:case l:return e;default:return t}}case i:return t}}}function x(e){return _(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||_(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===m},t.isMemo=function(e){return _(e)===g},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===a},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===a||e===s||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=_},68555:(e,t,n)=>{"use strict";n.d(t,{Kc:()=>s,T_:()=>o,p8:()=>a});let r={capture:!0};function i(e,t,n){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function o(e){if("onpagehide"in window)return i(window,"pagehide",e);let t=i(window,"unload",e),n=i(window,"unload",e);return()=>{t(),n()}}function s(e){return i(document,"visibilitychange",()=>{"hidden"===document.visibilityState&&e()})}let a=function(){let e={updateUserProperties(){},trace:function(t){return{start(){},log(e){},complete(){},newContext:t=>e,error(e){},await:e=>e}},log:function(e,t){}};return e}()},68867:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},68877:(e,t,n)=>{"use strict";n.d(t,{BB:()=>f,q:()=>l,tz:()=>h}),Symbol.for("constructDateFrom");let r={},i={};function o(e,t){try{let n=(r[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(n in i)return i[n];return a(n,n.split(":"))}catch{if(e in i)return i[e];let t=e?.match(s);if(t)return a(e,t.slice(1));return NaN}}let s=/([+-]\d\d):?(\d\d)?/;function a(e,t){let n=+(t[0]||0),r=+(t[1]||0),o=(t[2]||0)/60;return i[e]=60*n+r>0?60*n+r+o:60*n-r-o}class l extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(o(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),d(this,NaN),c(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new l(...t,e):new l(Date.now(),e)}withTimeZone(e){return new l(+this,e)}getTimezoneOffset(){let e=-o(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),c(this),+this}[Symbol.for("constructDateFrom")](e){return new l(+new Date(e),this.timeZone)}}let u=/^(get|set)(?!UTC)/;function c(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*o(e.timeZone,e))))}function d(e){let t=o(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);let i=-new Date(+e).getTimezoneOffset(),s=i- -new Date(+r).getTimezoneOffset(),a=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();s&&a&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+s);let l=i-n;l&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+l);let u=new Date(+e);u.setUTCSeconds(0);let c=i>0?u.getSeconds():(u.getSeconds()-60)%60,d=Math.round(-(60*o(e.timeZone,e)))%60;(d||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+c));let f=o(e.timeZone,e),h=f>0?Math.floor(f):Math.ceil(f),p=-new Date(+e).getTimezoneOffset()-h-l;if(h!==n&&p){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+p);let t=o(e.timeZone,e),n=h-(t>0?Math.floor(t):Math.ceil(t));n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}
114Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!u.test(e))return;let t=e.replace(u,"$1UTC");l.prototype[t]&&(e.startsWith("get")?l.prototype[e]=function(){return this.internal[t]()}:(l.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),d(e),+this},l.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),c(this),+this}))});class f extends l{static tz(e,...t){return t.length?new f(...t,e):new f(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,r]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${function(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),n=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,n]}withTimeZone(e){return new f(+this,e)}[Symbol.for("constructDateFrom")](e){return new f(+new Date(e),this.timeZone)}}let h=e=>t=>f.tz(e,+new Date(t))},68998:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=n(35805),i=n(45240),o=n(9180),s=n(93366);function a(e,t,n){let[a,l]=(0,i.x)(null==n?void 0:n.in,e,t),u=(0,s.o)(a),c=(0,s.o)(l);return Math.round((u-(0,r.G)(u)-(c-(0,r.G)(c)))/o.w4)}},68999:e=>{e.exports=function(){return[]}},69079:(e,t,n)=>{var r=n(69833),i=n(83642);e.exports=function(e,t,n,o){var s=n.length,a=s,l=!o;if(null==e)return!a;for(e=Object(e);s--;){var u=n[s];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var c=(u=n[s])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r;if(o)var p=o(d,f,c,e,t,h);if(!(void 0===p?i(f,d,3,o,h):p))return!1}}return!0}},69271:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(62749),i=n(66076),o=n(35856),s=n(52810),a=n(49848),l=n(72839),u=n(78646),c=a.A&&1/(0,u.A)(new a.A([,-0]))[1]==1/0?function(e){return new a.A(e)}:l.A;let d=function(e,t,n){var a=-1,l=i.A,d=e.length,f=!0,h=[],p=h;if(n)f=!1,l=o.A;else if(d>=200){var g=t?null:c(e);if(g)return(0,u.A)(g);f=!1,l=s.A,p=new r.A}else p=t?[]:h;e:for(;++a<d;){var m=e[a],y=t?t(m):m;if(m=n||0!==m?m:0,f&&y==y){for(var b=p.length;b--;)if(p[b]===y)continue e;t&&p.push(y),h.push(m)}else l(p,y,n)||(p!==h&&p.push(y),h.push(m))}return h}},69294:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(57386),i=n(15041);let o=function(e,t,n,o){var s=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),s?(0,i.A)(n,u,c):(0,r.A)(n,u,c)}return n}},69530:(e,t,n)=>{"use strict";function r(e,t){return e.reduce(function(e,n,r){return e[n]=t[r],e},{})}n.d(t,{e:()=>r})},69568:(e,t,n)=>{e.exports=n(83558)(n(51483),"Promise")},69675:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var r=Array.isArray,i=Object.getPrototypeOf,o=Object.prototype,s=Object.keys;function a(e){if(1===e.length){var t,n=e[0];if(r(n))return{args:n,keys:null};if((t=n)&&"object"==typeof t&&i(t)===o){var a=s(n);return{args:a.map(function(e){return n[e]}),keys:a}}}return{args:e,keys:null}}},69790:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(44099),i=n(62308);let o=(0,r.A)(i.A,"Map")},69833:(e,t,n)=>{var r=n(28007),i=n(58034),o=n(65246),s=n(46239),a=n(57923),l=n(27467);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=l,e.exports=u}
114,69899:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},70189:(e,t,n)=>{"use strict";n.d(t,{tb:()=>H});var r,i,o=[],s="ResizeObserver loop completed with undelivered notifications.",a=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)};!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var l=function(e){return Object.freeze(e)},u=function(e,t){this.inlineSize=e,this.blockSize=t,l(this)},c=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,l(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),d=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(d(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},h=function(e){if(e instanceof Element)return!0;var t,n=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},p=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},g="undefined"!=typeof window?window:{},m=new WeakMap,y=/auto|scroll/,b=/^tb|vertical/,v=/msie|trident/i.test(g.navigator&&g.navigator.userAgent),w=function(e){return parseFloat(e||"0")},_=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new u((n?t:e)||0,(n?e:t)||0)},x=l({devicePixelContentBoxSize:_(),borderBoxSize:_(),contentBoxSize:_(),contentRect:new c(0,0,0,0)}),k=function(e,t){if(void 0===t&&(t=!1),m.has(e)&&!t)return m.get(e);if(f(e))return m.set(e,x),x;var n=getComputedStyle(e),r=d(e)&&e.ownerSVGElement&&e.getBBox(),i=!v&&"border-box"===n.boxSizing,o=b.test(n.writingMode||""),s=!r&&y.test(n.overflowY||""),a=!r&&y.test(n.overflowX||""),u=r?0:w(n.paddingTop),h=r?0:w(n.paddingRight),p=r?0:w(n.paddingBottom),g=r?0:w(n.paddingLeft),k=r?0:w(n.borderTopWidth),E=r?0:w(n.borderRightWidth),A=r?0:w(n.borderBottomWidth),S=r?0:w(n.borderLeftWidth),C=g+h,I=u+p,T=S+E,O=k+A,R=a?e.offsetHeight-O-e.clientHeight:0,D=s?e.offsetWidth-T-e.clientWidth:0,j=r?r.width:w(n.width)-(i?C+T:0)-D,M=r?r.height:w(n.height)-(i?I+O:0)-R,N=j+C+D+T,F=M+I+R+O,$=l({devicePixelContentBoxSize:_(Math.round(j*devicePixelRatio),Math.round(M*devicePixelRatio),o),borderBoxSize:_(N,F,o),contentBoxSize:_(j,M,o),contentRect:new c(g,u,j,M)});return m.set(e,$),$},E=function(e,t,n){var i=k(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},A=function(e){var t=k(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=l([t.borderBoxSize]),this.contentBoxSize=l([t.contentBoxSize]),this.devicePixelContentBoxSize=l([t.devicePixelContentBoxSize])},S=function(e){if(f(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},C=function(){var e=1/0,t=[];o.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new A(t.target),i=S(t.target);r.push(n),t.lastReportedSize=E(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},I=function(e){o.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(S(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},T=function(){var e=0;for(I(0);o.some(function(e){return e.activeTargets.length>0});)I(e=C());return o.some(function(e){return e.skippedTargets.length>0})&&a(),e>0},O=[],R=function(e){if(!i){var t=0,n=document.createTextNode("");
114new MutationObserver(function(){return O.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),i=function(){n.textContent="".concat(t?t--:t++)}}O.push(e),i()},D=function(e){R(function(){requestAnimationFrame(e)})},j=0,M={attributes:!0,characterData:!0,childList:!0,subtree:!0},N=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],F=function(e){return void 0===e&&(e=0),Date.now()+e},$=!1,P=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!$){$=!0;var n=F(e);D(function(){var r=!1;try{r=T()}finally{if($=!1,e=n-F(),!j)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,M)};document.body?t():g.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),N.forEach(function(t){return g.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),N.forEach(function(t){return g.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),L=function(e){!j&&e>0&&P.start(),(j+=e)||P.stop()},z=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=E(this.target,this.observedBox,!0);return d(e=this.target)||p(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),U=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},B=new WeakMap,q=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},V=function(){function e(){}return e.connect=function(e,t){var n=new U(e,t);B.set(e,n)},e.observe=function(e,t,n){var r=B.get(e),i=0===r.observationTargets.length;0>q(r.observationTargets,t)&&(i&&o.push(r),r.observationTargets.push(new z(t,n&&n.box)),L(1),P.schedule())},e.unobserve=function(e,t){var n=B.get(e),r=q(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&o.splice(o.indexOf(n),1),n.observationTargets.splice(r,1),L(-1))},e.disconnect=function(e){var t=this,n=B.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),H=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");V.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");V.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");V.unobserve(this,e)},e.prototype.disconnect=function(){V.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},70300:(e,t,n)=>{e.exports=n(83558)(Object,"create")},70421:(e,t,n)=>{"use strict";n.d(t,{Sj:()=>r});let r=n(67716).Sj},70469:(e,t,n)=>{"use strict";n.d(t,{h:()=>s,p:()=>o});var r=n(39860);let i=function(){if("u">typeof globalThis)return globalThis;if("u">typeof window)return window;if("u">typeof self)return self;if("u">typeof global)return global;throw Error("@portabletext/editor: could not locate global scope")}(),o=function(e,t){let n=Symbol.for(e);return typeof document>"u"?(0,r.createContext)(null):(i[n]=i[n]??(0,r.createContext)(null),i[n])}("@portabletext/editor/context/editor",null);function s(){let e=r.useContext(o);if(!e)throw Error("No Editor set. Use EditorProvider to set one.");return e}},70480:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(47948),i=n(42764),o=n(16433),s=n(37841),a=n(62522),l=n(77163);function u(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?(0,i.p)(function(t,n){return e(t,n,u)}):l.D,(0,o.s)(1),n?(0,s.U)(t):(0,a.v)(function(){return new r.G}))}}},70551:(e,t,n)=>{"use strict";n.d(t,{A:()=>
114o});var r=n(53736),i=n(62964);let o=function(e,t){t=(0,r.A)(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[(0,i.A)(t[n++])];return n&&n==o?e:void 0}},70637:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?0x1fffffffffffff:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},70812:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r,i=n(42557),o=n(94485),s=n(14308);let a=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n},l=(r=n(29431).A,function(e){var t,n=(0,o.A)(e);return"[object Map]"==n?(0,s.A)(e):"[object Set]"==n?a(e):(t=r(e),(0,i.A)(t,function(t){return[t,e[t]]}))})},71146:(e,t,n)=>{"use strict";let r=n(240),i=n(76353);e.exports=(e,t,n)=>{let o=null,s=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,n))}),o}},71179:(e,t,n)=>{"use strict";function r(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function i(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function o(e){return i(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function s(e){return"@list"===e._type}function a(e){return"@span"===e._type}function l(e){return"@text"===e._type}n.d(t,{IG:()=>i,Pq:()=>d,YA:()=>l,bo:()=>y,fg:()=>function e(t){let n="";return t.children.forEach(t=>{l(t)?n+=t.text:a(t)&&(n+=e(t))}),n},iS:()=>f,mn:()=>b,n2:()=>o,tO:()=>a,zp:()=>s});let u=["strong","em","code","underline","strike-through"];function c(e,t,n){if(!r(e)||!e.marks||!e.marks.length)return[];let i=e.marks.slice(),o={};return i.forEach(e=>{o[e]=1;for(let i=t+1;i<n.length;i++){let t=n[i];if(t&&r(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))o[e]++;else break}}),i.sort((e,t)=>(function(e,t,n){let r=e[t],i=e[n];if(r!==i)return i-r;let o=u.indexOf(t),s=u.indexOf(n);return o===s?t.localeCompare(n):o-s})(o,e,t))}function d(e){let{children:t}=e,n=e.markDefs??[];if(!t||!t.length)return[];let i=t.map(c),o={_type:"@span",children:[],markType:"<unknown>"},s=[o];for(let e=0;e<t.length;e++){let o=t[e];if(!o)continue;let a=i[e]||[],l=1;if(s.length>1)for(;l<s.length;l++){let e=s[l]?.markKey||"",t=a.indexOf(e);if(-1===t)break;a.splice(t,1)}let u=(s=s.slice(0,l))[s.length-1];if(u){for(let e of a){let t=n?.find(t=>t._key===e),r={_type:"@span",_key:o._key,children:[],markDef:t,markType:t?t._type:e,markKey:e};u.children.push(r),s.push(r),u=r}if(r(o)){let e=o.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");u.children=u.children.concat(e.map(e=>({_type:"@text",text:e})))}else u.children=u.children.concat(o)}}return o.children}function f(e,t){let n=[],r;for(let a=0;a<e.length;a++){let l=e[a];if(l){var i,s;if(!o(l)){n.push(l),r=void 0;continue}if(!r){r=h(l,a,t),n.push(r);continue}if(i=l,s=r,(i.level||1)===s.level&&i.listItem===s.listItem){r.children.push(l);continue}if((l.level||1)>r.level){let e=h(l,a,t);if("html"===t){let t=r.children[r.children.length-1],n={...t,children:[...t.children,e]};r.children[r.children.length-1]=n}else r.children.push(e);r=e;continue}if((l.level||1)<r.level){let e=n[n.length-1],i=e&&p(e,l);if(i){(r=i).children.push(l);continue}r=h(l,a,t),n.push(r);continue}if(l.listItem!==r.listItem){let e=n[n.length-1],i=e&&p(e,{level:l.level||1});if(i&&i.listItem===l.listItem){(r=i).children.push(l);continue}r=h(l,a,t),n.push(r);continue}console.warn("Unknown state encountered for block",l),n.push(l)}}return n}function h(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function p(e,t){let n=t.level||1,i=t.listItem||"normal",o="string"==typeof t.listItem;if(s(e)&&(e.level||1)===n&&o&&(e.listItem||"normal")===i)return e;if(!("children"in e))return;let a=e.children[e.children.length-1];return a&&!r(a)?p(a,t):void 0}let g=/^\s/,m=/\s$/;function y(e){let t=Array.isArray(e)?e:[e],n="";return t.forEach((e,o)=>{if(!i(e))return;let s=!1;
114e.children.forEach(e=>{r(e)?(n+=s&&n&&!m.test(n)&&!g.test(e.text)?" ":"",n+=e.text,s=!1):s=!0}),o!==t.length-1&&(n+="\n\n")}),n}let b="html"},71450:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>f,C6:()=>i,Cl:()=>o,Ju:()=>l,N3:()=>d,YH:()=>a,fX:()=>c,sH:()=>s,xN:()=>h,zs:()=>u});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})}function a(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){var u=[a,l];if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function l(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function c(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function d(e){return this instanceof d?(this.v=e,this):new d(e)}function f(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function s(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||a(e,t)})},t&&(r[e]=t(r[e])))}function a(e,t){try{var n;(n=i[e](t)).value instanceof d?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function h(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=l(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){var o,s,a;o=r,s=i,a=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:a})},s)})}}}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}
114,71674:(e,t,n)=>{"use strict";n.d(t,{_:()=>h});var r=n(65359),i=n(96939);let o="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var s=n(38599);let a={};var l=n(94181),u=n(61571),c=n(64459),d=n(21836);function f(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function h(e,t=function(e){let t=a[e];if(t)return t;let n=s.j[e];if((0,r.a3)(n))return a[e]=n.bind(s.j);let l=s.j.document;if(l&&"function"==typeof l.createElement)try{let t=l.createElement("iframe");t.hidden=!0,l.head.appendChild(t);let r=t.contentWindow;r&&r[e]&&(n=r[e]),l.head.removeChild(t)}catch(t){o&&i.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?a[e]=n.bind(s.j):n}("fetch")){let n=0,p=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,l.xg)(new d.U("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new l.T2((n,r)=>{let i=t.length;if(!i)return n(!0);let o=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,l.XW)(e).then(()=>{--i||(clearTimeout(o),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(o){let s=[];if((0,c.yH)(o,(t,n)=>{let i=(0,c.zk)(n);if(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)){let r=f(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else s.push(t)}),0===s.length)return(0,l.XW)({});let a=(0,c.h4)(o[0],s),h=t=>{(0,c.yH)(a,(n,r)=>{let i=f(n,r);e.recordDroppedEvent(t,(0,c.zk)(r),i)})};return n.add(()=>t({body:(0,c.bN)(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&u.T&&i.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,o]=e.split(":",5),s=parseInt(t,10),a=(isNaN(s)?60:s)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=r+a):i[e]=r+a;else i.all=r+a}else s?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(s,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw h("network_error"),e})).then(e=>e,e=>{if(e instanceof d.U)return u.T&&i.vF.error("Skipped sending event because buffer is full."),h("queue_overflow"),(0,l.XW)({});throw e})},flush:e=>n.drain(e)}}(e,function(r){let i=r.body.length;n+=i,p++;let o={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&p<15,...e.fetchOptions};if(!t)return a.fetch=void 0,(0,l.xg)("No fetch implementation available");try{return t(e.url,o).then(e=>(n-=i,p--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return a.fetch=void 0,n-=i,p--,(0,l.xg)(e)}})}},71730:(e,t,n)=>{var r=n(80942),i=n(26745);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},71851:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35582),i=n(33476);let o=function(e){if(!(0,i.A)(e))return!1;var t=(0,r.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},71916:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5358),i=n(3518),o=n(98046);let s=function(e){return(0,r.A)(e,o.A,i.A)}},71985:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95361),i=n(46199);let o=(0,r.A)(function(e,t,n){return e+(n?" ":"")+(0,i.A)(t)})},72119:(e,t,n)=>{"use strict";let r=n(93127);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},72374:(e,t,n)=>{var r=n(42642),i=n(68999),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;e.exports=s?function(e){return null==e?[]:r(s(e=Object(e)),function(t){return o.call(e,t)})}:i},72377:(e,t,n)=>{var r=n(18135);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},72766:(e,t,n)=>{"use strict";n.d(t,{A:()=>
114o});var r=n(44099),i=n(62308);let o=(0,r.A)(i.A,"WeakMap")},72839:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){}},72936:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let r=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),s=o.length;s--;){var a=o[++r];if(!1===t(i[a],a,i))break}return e};var i,o=n(29431),s=n(21383);let a=(i=function(e,t){return e&&r(e,t,o.A)},function(e,t){if(null==e)return e;if(!(0,s.A)(e))return i(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e})},73046:(e,t,n)=>{"use strict";let r=n(76353);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},73157:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(70551),i=n(33987),o=n(53736);let s=function(e,t,n){for(var s=-1,a=t.length,l={};++s<a;){var u=t[s],c=(0,r.A)(e,u);n(c,u)&&(0,i.A)(l,(0,o.A)(u,e),c)}return l}},73308:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(42557),i=n(29431);let o=function(e){var t;return null==e?[]:(t=(0,i.A)(e),(0,r.A)(t,function(t){return e[t]}))}},73423:(e,t,n)=>{e.exports=n(51483).Symbol},73694:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(39097);function i(e){return(0,r.T)(null==e?void 0:e.then)}},73765:e=>{"use strict";e.exports=function(e){for(var t=function(e){var t,n=(e.length+8>>6)+1,r=Array(16*n);for(t=0;t<16*n;t++)r[t]=0;for(t=0;t<e.length;t++)r[t>>2]|=e.charCodeAt(t)<<(8*e.length+t)%4*8;r[t>>2]|=128<<(8*e.length+t)%4*8;var i=8*e.length;return r[16*n-2]=255&i,r[16*n-2]|=(i>>>8&255)<<8,r[16*n-2]|=(i>>>16&255)<<16,r[16*n-2]|=(i>>>24&255)<<24,r}(e),n=0x67452301,r=-0x10325477,i=-0x67452302,a=0x10325476,f=0;f<t.length;f+=16){var h=n,p=r,g=i,m=a;n=l(n,r,i,a,t[f+0],7,-0x28955b88),a=l(a,n,r,i,t[f+1],12,-0x173848aa),i=l(i,a,n,r,t[f+2],17,0x242070db),r=l(r,i,a,n,t[f+3],22,-0x3e423112),n=l(n,r,i,a,t[f+4],7,-0xa83f051),a=l(a,n,r,i,t[f+5],12,0x4787c62a),i=l(i,a,n,r,t[f+6],17,-0x57cfb9ed),r=l(r,i,a,n,t[f+7],22,-0x2b96aff),n=l(n,r,i,a,t[f+8],7,0x698098d8),a=l(a,n,r,i,t[f+9],12,-0x74bb0851),i=l(i,a,n,r,t[f+10],17,-42063),r=l(r,i,a,n,t[f+11],22,-0x76a32842),n=l(n,r,i,a,t[f+12],7,0x6b901122),a=l(a,n,r,i,t[f+13],12,-0x2678e6d),i=l(i,a,n,r,t[f+14],17,-0x5986bc72),r=l(r,i,a,n,t[f+15],22,0x49b40821),n=u(n,r,i,a,t[f+1],5,-0x9e1da9e),a=u(a,n,r,i,t[f+6],9,-0x3fbf4cc0),i=u(i,a,n,r,t[f+11],14,0x265e5a51),r=u(r,i,a,n,t[f+0],20,-0x16493856),n=u(n,r,i,a,t[f+5],5,-0x29d0efa3),a=u(a,n,r,i,t[f+10],9,0x2441453),i=u(i,a,n,r,t[f+15],14,-0x275e197f),r=u(r,i,a,n,t[f+4],20,-0x182c0438),n=u(n,r,i,a,t[f+9],5,0x21e1cde6),a=u(a,n,r,i,t[f+14],9,-0x3cc8f82a),i=u(i,a,n,r,t[f+3],14,-0xb2af279),r=u(r,i,a,n,t[f+8],20,0x455a14ed),n=u(n,r,i,a,t[f+13],5,-0x561c16fb),a=u(a,n,r,i,t[f+2],9,-0x3105c08),i=u(i,a,n,r,t[f+7],14,0x676f02d9),r=u(r,i,a,n,t[f+12],20,-0x72d5b376),n=c(n,r,i,a,t[f+5],4,-378558),a=c(a,n,r,i,t[f+8],11,-0x788e097f),i=c(i,a,n,r,t[f+11],16,0x6d9d6122),r=c(r,i,a,n,t[f+14],23,-0x21ac7f4),n=c(n,r,i,a,t[f+1],4,-0x5b4115bc),a=c(a,n,r,i,t[f+4],11,0x4bdecfa9),i=c(i,a,n,r,t[f+7],16,-0x944b4a0),r=c(r,i,a,n,t[f+10],23,-0x41404390),n=c(n,r,i,a,t[f+13],4,0x289b7ec6),a=c(a,n,r,i,t[f+0],11,-0x155ed806),i=c(i,a,n,r,t[f+3],16,-0x2b10cf7b),r=c(r,i,a,n,t[f+6],23,0x4881d05),n=c(n,r,i,a,t[f+9],4,-0x262b2fc7),a=c(a,n,r,i,t[f+12],11,-0x1924661b),i=c(i,a,n,r,t[f+15],16,0x1fa27cf8),r=c(r,i,a,n,t[f+2],23,-0x3b53a99b),n=d(n,r,i,a,t[f+0],6,-0xbd6ddbc),a=d(a,n,r,i,t[f+7],10,0x432aff97),i=d(i,a,n,r,t[f+14],15,-0x546bdc59),r=d(r,i,a,n,t[f+5],21,-0x36c5fc7),n=d(n,r,i,a,t[f+12],6,0x655b59c3),a=d(a,n,r,i,t[f+3],10,-0x70f3336e),i=d(i,a,n,r,t[f+10],15,-1051523),r=d(r,i,a,n,t[f+1],21,-0x7a7ba22f),n=d(n,r,i,a,t[f+8],6,0x6fa87e4f),a=d(a,n,r,i,t[f+15],10,-0x1d31920),i=d(i,a,n,r,t[f+6],15,-0x5cfebcec),r=d(r,i,a,n,t[f+13],21,0x4e0811a1),n=d(n,r,i,a,t[f+4],6,-0x8ac817e),a=d(a,n,r,i,t[f+11],10,-0x42c50dcb),i=d(i,a,n,r,t[f+2],15,0x2ad7d2bb),r=d(r,i,a,n,t[f+9],21,-0x14792c6f),n=o(n,h),r=o(r,p),i=o(i,g),a=o(a,m)}return s(n)+s(r)+s(i)+s(a)};var t="0123456789abcdef";function n(e,t){return 1&e|1&t|(e>>>1|t>>>1)<<1}function r(e,t){return(e>>>1^t>>>1)<<1|1&e^1&t}function i(e,t){return(e>>>1&t>>>1)<<1|1&e&(1&t)}function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e){var n,r="";for(n=0;n<=3;n++)r+=t.charAt(e>>8*n+4&15)+t.charAt(e>>8*n&15);return r}function a(e,t,n,r,i,s){var a;return o((a=o(o(t,e),o(r,s)))<<i|a>>>32-i,n)}function l(e,t,r,o,s,l,u){return a(n(i(t,r),i(~t,o)),e,t,s,l,u)}function u(e,t,r,o,s,l,u){return a(n(i(t,o),i(r,~o)),e,t,s,l,u)}function c(e,t,n,i,o,s,l){return a(r(r(t,n),i),e,t,o,s,l)}function d(e,t,i,o,s,l,u){return a(r(i,n(t,~o)),e,t,s,l,u)}},74073:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(39097);function i(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},74136:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>l,ef:()=>s,xM:()=>a});let r=/^D+$/,i=/^Y+$/,o=["D","DD","YY","YYYY"];function s(e){return r.test(e)}function a(e){return i.test(e)}function l(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").
114concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),o.includes(e))throw RangeError(r)}},74371:e=>{"use strict";let t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},74449:(e,t,n)=>{"use strict";n.d(t,{lG:()=>f});var r=n(25030);function i(e,t,n,i){let o={filename:e,function:"<anonymous>"===t?r.yF:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==i&&(o.colno=i),o}let o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,s=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=[30,e=>{let t=o.exec(e);if(t){let[,e,n,o]=t;return i(e,r.yF,+n,+o)}let n=s.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=a.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=h(n[1]||r.yF,n[2]);return i(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,e=>{let t=u.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=c.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||r.yF;return[n,e]=h(n,e),i(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],f=(0,r.gd)(l,d),h=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return n||i?[-1!==e.indexOf("@")?e.split("@")[0]:r.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}},74578:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,i=new Uint8Array(16);let o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=[],a=0;a<256;++a)s.push((a+256).toString(16).substr(1));let l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase();if(!("string"==typeof n&&o.test(n)))throw TypeError("Stringified UUID is invalid");return n},u=function(e,t,n){var o=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var s=0;s<16;++s)t[n+s]=o[s];return t}return l(o)}},74609:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version}catch(e){return null}}},74620:(e,t,n)=>{e.exports=n(45579)},74633:(e,t,n)=>{var r=n(96273),i=n(9142);e.exports=function(e,t){return null!=e&&i(e,t,r)}},74824:(e,t,n)=>{"use strict";n.d(t,{$F:()=>l,PF:()=>a,_M:()=>u,oV:()=>s});var r=n(74853),i=n(3283),o=n(3254);let s=e=>{if(!e.context.selection)return;let t=(0,r.Jo)(e),n=(0,r.aR)(e);if(!t||!n)return;let o=(0,i.iL)({context:e.context,selectionPoint:t}),s=(0,i.iL)({context:e.context,selectionPoint:n});return o&&s?{start:o,end:s}:void 0},a=e=>{let t=(0,r.hH)(e),n=(0,r.aR)(e),s=n&&(0,i.wE)(n.path[2])?n.path[2]._key:void 0;if(!t||!s)return[];let a=!1,l=[];for(let n of t.node.children){if(n._key===s){a=!0;continue}if(!(0,o.bl)(e.context,n)&&a){l.push({node:n,path:[...t.path,"children",{_key:n._key}]});break}}return l},l=e=>{let t=(0,r.hH)(e),n=(0,r.Jo)(e),s=n&&(0,i.wE)(n.path[2])?n.path[2]._key:void 0;if(!t||!s)return[];let a=[];for(let n of t.node.children){if(n._key===s)break;(0,o.bl)(e.context,n)||a.push({node:n,path:[...t.path,"children",{_key:n._key}]})}return a},u=e=>{if(!e.context.selection)return"";let t=(0,i.Jo)(e.context.selection),n=(0,r.gU)({...e,context:{...e.context,selection:{anchor:t,focus:t}}});if(!n)return"";let o=(0,i.u3)({context:e.context,block:n});return(0,r.u0)({...e,context:{...e.context,selection:{anchor:o,focus:t}}})}},74853:(e,t,n)=>{"use strict";n.d(t,{A_:()=>g,Bg:()=>w,ER:()=>U,Fg:()=>m,GB:()=>h,HA:()=>D,HX:()=>q,JB:()=>b,Jo:()=>p,Lw:()=>j,N2:()=>F,P$:()=>c,Q:()=>H,Qm:()=>B,RL:()=>R,Rt:()=>I,UH:()=>S,Uv:()=>_,WV:()=>E,Y1:()=>L,aR:()=>d,d2:()=>u,dO:()=>N,eb:()=>f,gR:()=>A,gU:()=>s,hH:()=>a,iE:()=>G,iL:()=>T,jR:()=>l,kK:()=>$,l$:()=>y,lA:()=>C,lN:()=>x,oZ:()=>z,qm:()=>O,rm:()=>P,u0:()=>k,wx:()=>v,yh:()=>M});var r=n(3254),i=n(3283);function o(e){var t;let n=e.at(0);return 1===e.length&&void 0!==n&&!!(t=n)&&("object"==typeof t||"function"==typeof t)&&"_key"in n&&"string"==typeof n._key}let s=e=>{if(!e.context.selection)return;let t=(0,i.XE)(e.context.selection.focus),n=t?e.blockIndexMap.get(t):void 0,r=void 0!==n?e.context.value.at(n):void 0;return r&&t?{node:r,path:[{_key:t}]}:void 0},a=e=>{let t=s(e);return t&&(0,r.zS)(e.context,t.node)?{node:t.node,path:t.path}:void 0},l=e=>{if(!e.context.selection)return;let t=a(e);if(!t)return;let n=(0,i.qX)(e.context.selection.focus),r=n?t.node.children.find(e=>e._key===n):void 0;return r&&n?{node:r,path:[...t.path,"children",{_key:n}]}:void 0},u=e=>{let t=l(e);return t&&(0,r.bl)(e.context,t.node)?{node:t.node,path:t.path}:void 0},c=e=>{let t=(0,i.aR)(e.context.selection);if(t)return s({...e,context:{...e.context,selection:{anchor:t,focus:t}}})},d=e=>{if(e.context.selection)return e.context.selection.backward?e.context.selection.anchor:e.context.selection.focus},f=e=>{let t=c(e),n=d(e);if(!t||!n||!(0,r.zS)(e.context,t.node))return;let o=(0,i.qX)(n),s=!1,a;for(let n of t.node.children){if(n._key===o){s=!0;continue}if((0,r.bl)(e.context,n)&&s){a={node:n,path:[...t.path,"children",{_key:n._key}]};break}}return a},h=e=>{let t=(0,i.Jo)(e.context.selection);if(t)return s({...e,context:{...e.context,selection:{anchor:t,focus:t}}})},p=e=>{if(e.context.selection)return e.context.selection.backward?e.context.selection.focus:e.context.selection.anchor},g=e=>{let t,n=h(e),o=p(e);if(!n||!o||!(0,r.zS)(e.context,n.node))return;let s=(0,i.qX)(o);for(let i of n.node.children){if(i._key===s)break;(0,r.bl)(e.context,i)&&(t={node:i,path:[...n.path,"children",{_key:i._key}]})}return t};function m(e){let t=e?.filter;return e=>{let n=p(e),o=d(e);if(!n||!o)return[];let s=(0,i.XE)(n),a=(0,i.XE)(o),l=(0,i.qX)(n),u=(0,i.qX)(o);if(!s||!a)return[];let c=e.blockIndexMap.get(s),f=e.blockIndexMap.get(a);if(void 0===c||void 0===f)return[];let h=[],g=Math.min(c,f),m=Math.max(c,f),y=e.context.value.slice(g,m+1),b=!1;for(let i of y){if(!(0,r.zS)(e.context,i))continue;let c=i._key===s,d=i._key===a,f=!c&&!d;for(let s of i.children){let a=s._key===l,c=s._key===u,d=()=>{(!t||t(s))&&h.push({node:s,path:[{_key:i._key},"children",{_key:s._key}]})};if(f){d();continue}if(a){if(b=!0,(0,r.bl)(e.context,s)?n.offset<s.text.length&&d():d(),l===u)break;continue}if(c){(0,r.bl)(e.context,s)?o.offset>0&&d():d();break}b&&d()}if(c&&s===a)break;c&&(b=!0)}return h}}let y=e=>e.context.selection?m({filter:t=>(0,r.bl)(e.context,t)})(e):[],b=e=>{if(!e.context.selection)return;let t=e.context.selection;if(!a(e))return;if(o(t.anchor.path)){let n=(0,i.m4)({context:e.context,blockOffset:{path:t.anchor.path,offset:t.anchor.offset},direction:t.backward?"backward":"forward"});t=n?{...t,anchor:n}:t}if(o(t.focus.path)){let n=(0,i.m4)({context:e.context,blockOffset:{path:t.focus.path,offset:t.focus.offset},direction:t.backward?"backward":"forward"});
114t=n?{...t,focus:n}:t}let n=u({...e,context:{...e.context,selection:t}});if(!n)return;if(function(e){return!!e&&!(0,i.WV)(e)}(t)){let n=y({...e,context:{...e.context,selection:t}}),r=0,i=[];for(let e of n){if(0===r)i=e.node.marks??[];else{if(e.node.marks?.length===0){i=[];continue}i=i.filter(t=>(e.node.marks??[]).some(e=>e===t))}r++}return{state:"unchanged",marks:i}}let r=e.context.schema.decorators.map(e=>e.name),s=n.node.marks??[],l=s.filter(e=>r.includes(e)),c=s.length>l.length,d=0===n.node.text.length,h=0===e.context.selection.anchor.offset,p=e.context.selection.anchor.offset===n.node.text.length,m=g({...e,context:{...e.context,selection:t}}),b=f({...e,context:{...e.context,selection:t}}),v=b?.node?.marks?.filter(e=>!r.includes(e))??[],w=s.filter(e=>!r.includes(e)),_=!!m&&m.node.marks?.some(e=>!r.includes(e)),x=!!m&&m.node.marks?.filter(e=>!r.includes(e)).every(e=>s.includes(e)),k=!!m&&m.node.marks?.some(e=>!r.includes(e)&&s.includes(e)),E=!!m&&m.node.marks?.every(e=>s.includes(e)),A=w.some(e=>v?.includes(e));if(c&&!d){if(h){if(E||x)return{state:"changed",previousMarks:s,marks:m?.node.marks??[]};if(k)return{state:"unchanged",marks:n.node.marks??[]};if(!m)return{state:"changed",previousMarks:s,marks:[]}}if(p){if(!b||v.length>0&&!A)return{state:"changed",previousMarks:s,marks:[]};if(A&&v.length<w.length||!A)return{state:"changed",previousMarks:s,marks:b?.node.marks??[]}}}return h&&!d&&m?_?{state:"changed",marks:s,previousMarks:m?.node.marks??[]}:{state:"changed",previousMarks:s,marks:(m?.node.marks??[]).filter(e=>r.includes(e))}:{state:"unchanged",marks:s}},v=e=>{if(!e.context.selection)return[];let t=[],n=(0,i.Jo)(e.context.selection),r=(0,i.aR)(e.context.selection),o=(0,i.XE)(n),s=(0,i.XE)(r);if(!o||!s)return t;let a=e.blockIndexMap.get(o),l=e.blockIndexMap.get(s);if(void 0===a||void 0===l)return t;for(let n of e.context.value.slice(a,l+1)){if(n._key===o){if(t.push({node:n,path:[{_key:n._key}]}),o===s)break;continue}if(n._key===s){t.push({node:n,path:[{_key:n._key}]});break}t.length>0&&t.push({node:n,path:[{_key:n._key}]})}return t},w=e=>{if(!e.context.selection)return[];let t=v(e),n=(b(e)?.marks??[]).filter(t=>!e.context.schema.decorators.map(e=>e.name).includes(t));return t.flatMap(t=>(0,r.zS)(e.context,t.node)?t.node.markDefs??[]:[]).filter(e=>n.includes(e._key))},_=e=>{let t,n=a(e),o=p(e),s=o&&(0,i.wE)(o.path[2])?o.path[2]._key:void 0;if(n&&s){for(let i of n.node.children){if(i._key===s)break;(0,r.bl)(e.context,i)||(t={node:i,path:[...n.path,"children",{_key:i._key}]})}return t}},x=e=>{let t=e.context.selection;if(!t)return[];let n=(0,i.Jo)(t),r=(0,i.aR)(t),o=(0,i.XE)(n),s=(0,i.XE)(r);if(!o||!s)return[];let a=e.blockIndexMap.get(o),l=e.blockIndexMap.get(s);if(void 0===a||void 0===l)return[];let u=e.context.value.at(a),c=u?(0,i.RJ)({context:e.context,blocks:[u]}).at(0):void 0;if(a===l)return c?[c]:[];let d=e.context.value.at(l),f=d?(0,i.RJ)({context:e.context,blocks:[d]}).at(0):void 0;return[...c?[c]:[],...e.context.value.slice(a+1,l),...f?[f]:[]]},k=e=>x(e).reduce((t,n)=>(0,r.zS)(e.context,n)?t+n.children.reduce((t,n)=>(0,r.bl)(e.context,n)?t+n.text:t,""):t,""),E=e=>!!e.context.selection&&(0,i.H7)(e.context.selection.anchor.path,e.context.selection.focus.path)&&e.context.selection.anchor.offset===e.context.selection.focus.offset,A=e=>null!==e.context.selection&&!E(e),S=e=>{if(!e.context.selection||!E(e))return null;let t=a(e),n=p(e),o=n?(0,i.iL)({context:e.context,selectionPoint:n}):void 0;if(!t||!n||!o)return null;let s=_(e),l=(0,i.u3)({context:e.context,block:t}),u=k({...e,context:{...e.context,selection:{anchor:s?{path:s.path,offset:0}:l,focus:n}}}).split(/\s+/).at(-1),c=(e=>{let t=a(e),n=d(e),o=n&&(0,i.wE)(n.path[2])?n.path[2]._key:void 0;if(!t||!o)return;let s=!1,l;for(let n of t.node.children){if(n._key===o){s=!0;continue}if(!(0,r.bl)(e.context,n)&&s){l={node:n,path:[...t.path,"children",{_key:n._key}]};break}}return l})(e),f=(0,i.J8)({context:e.context,block:t}),h=k({...e,context:{...e.context,selection:{anchor:n,focus:c?{path:c.path,offset:0}:f}}}).split(/\s+/).at(0);if((void 0===u||""===u)&&(void 0===h||""===h))return null;let g=u?{...o,offset:o.offset-u.length}:o,m=h?{...o,offset:o.offset+h.length}:o,y=(0,i.m4)({context:e.context,blockOffset:g,direction:"backward"}),b=(0,i.m4)({context:e.context,blockOffset:m,direction:"forward"});if(!y||!b)return null;let v={anchor:y,focus:b};return A({context:{...e.context,selection:v}})?v:null},C=e=>{let t=s(e);return t&&!(0,r.zS)(e.context,t.node)?{node:t.node,path:t.path}:void 0},I=e=>{let t=l(e);return t&&!(0,r.bl)(e.context,t.node)?{node:t.node,path:t.path}:void 0},T=e=>{let t=a(e);return t&&(0,i.Eg)(e.context,t.node)?{node:t.node,path:t.path}:void 0},O=e=>{let t=e.context.value[e.context.value.length-1]?e.context.value[e.context.value.length-1]:void 0;return t?{node:t,path:[{_key:t._key}]}:void 0},R=e=>{let t=c(e);if(!t)return;let n=e.blockIndexMap.get(t.node._key);if(void 0===n||n===e.context.value.length-1)return;let r=e.context.value.at(n+1);return r?{node:r,path:[{_key:r._key}]}:void 0},D=e=>{let t=h(e);if(!t)return;let n=e.blockIndexMap.get(t.node._key);if(void 0===n||0===n)return;let r=e.context.value.at(n-1);return r?{node:r,path:[{_key:r._key}]}:void 0},j=e=>{if(!e.context.selection)return[];let t=[],n=(0,i.Jo)(e.context.selection),o=(0,i.aR)(e.context.selection),s=(0,i.XE)(n),a=(0,i.XE)(o);if(!s||!a)return t;let l=e.blockIndexMap.get(s),u=e.blockIndexMap.get(a);if(void 0===l||void 0===u)return t;for(let n of e.context.value.slice(l,u+1)){if(n._key===s){if((0,r.zS)(e.context,n)&&t.pu
114sh({node:n,path:[{_key:n._key}]}),s===a)break;continue}if(n._key===a){(0,r.zS)(e.context,n)&&t.push({node:n,path:[{_key:n._key}]});break}t.length>0&&(0,r.zS)(e.context,n)&&t.push({node:n,path:[{_key:n._key}]})}return t},M=e=>{let t=(0,i.aR)(e.context.selection);if(t)return l({...e,context:{...e.context,selection:{anchor:t,focus:t}}})},N=e=>{let t=(0,i.Jo)(e.context.selection);if(t)return l({...e,context:{...e.context,selection:{anchor:t,focus:t}}})};function F(e){let t=e.context.schema;return(b(e)?.marks??[]).filter(e=>!t.decorators.map(e=>e.name).includes(e))}function $(e,t){return n=>{if((t?.mode??"full")==="partial")return x(n).flatMap(e=>(0,r.zS)(n.context,e)?e.markDefs??[]:[]).some(t=>t._type===e);let i=v(n).flatMap(e=>(0,r.zS)(n.context,e.node)?e.node.markDefs??[]:[]),o=F(n);return i.filter(t=>t._type===e&&o.includes(t._key)).length>0}}function P(e){let t=e.context.schema,n=e.decoratorState,r=b(e),i=t.decorators.map(e=>e.name),o=(r?.marks??[]).filter(e=>i.includes(e));for(let e in n)!1===n[e]?o=o.filter(t=>t!==e):!0===n[e]&&(o.includes(e)||o.push(e));return o}function L(e){return t=>{if(A(t)){let n=y(t);return n.length>0&&n.every(t=>t.node.marks?.includes(e))}return P(t).includes(e)}}function z(e){return t=>(e=>{if(!e.context.selection)return;let t=v(e).map(e=>e.node).filter(t=>(0,r.zS)(e.context,t)),n=t.at(0);if(!n)return;let i=n.listItem;if(i&&t.every(e=>e.listItem===i))return i})(t)===e}function U(e){return t=>(e=>{if(!e.context.selection)return;let t=v(e).map(e=>e.node).filter(t=>(0,r.zS)(e.context,t)),n=t.at(0);if(!n)return;let i=n.style;if(i&&t.every(e=>e.style===i))return i})(t)===e}function B(e){return t=>{if(!t.context.selection||!E(t))return!1;let n=(0,i.J8)({context:t.context,block:e});return(0,i._Q)(t.context.selection.focus,n)}}function q(e){return t=>{if(!t.context.selection||!E(t))return!1;let n=(0,i.u3)({context:t.context,block:e});return(0,i._Q)(t.context.selection.focus,n)}}function V(e,t,n){let o,s,a=(0,i.XE)(t),l=(0,i.XE)(n);if(!a)throw Error(`Cannot compare points: no block key found for ${t}`);if(!l)throw Error(`Cannot compare points: no block key found for ${n}`);let u=e.blockIndexMap.get(a),c=e.blockIndexMap.get(l);if(void 0===u)throw Error(`Cannot compare points: block "${a}" not found`);if(void 0===c)throw Error(`Cannot compare points: block "${l}" not found`);if(u<c)return -1;if(u>c)return 1;let d=e.context.value.at(u);if(!d||!(0,r.zS)(e.context,d))return 0;let f=(0,i.qX)(t),h=(0,i.qX)(n);if(!f)throw Error(`Cannot compare points: no child key found for ${t}`);if(!h)throw Error(`Cannot compare points: no child key found for ${n}`);for(let e=0;e<d.children.length;e++){let r=d.children.at(e);if(r){if(r._key===f&&r._key===h)return t.offset<n.offset?-1:+(t.offset>n.offset);if(r._key===f&&(o=e),r._key===h&&(s=e),void 0!==o&&void 0!==s)break}}if(void 0===o)throw Error(`Cannot compare points: child "${f}" not found`);if(void 0===s)throw Error(`Cannot compare points: child "${h}" not found`);return o<s?-1:+(o>s)}function H(e){return t=>{let n=t.context.selection;if(!e||!n)return!1;let r=(0,i.Jo)(e),o=(0,i.aR)(e),s=(0,i.Jo)(n),a=(0,i.aR)(n),l=(0,i.XE)(r),u=(0,i.XE)(o),c=(0,i.XE)(s),d=(0,i.XE)(a);if(!l||!u||!c||!d)return!1;let f=t.blockIndexMap.get(l),h=t.blockIndexMap.get(u),p=t.blockIndexMap.get(c),g=t.blockIndexMap.get(d);if(void 0===f||void 0===h||void 0===p||void 0===g)return!1;let[m,y]=f<=h?[f,h]:[h,f],[b,v]=p<=g?[p,g]:[g,p];return!(y<b)&&!(m>v)&&function(e,t,n,r,o){if((0,i._Q)(t,r)&&(0,i._Q)(n,o))return!0;let s=V(e,t,r),a=V(e,t,o),l=V(e,n,r),u=V(e,n,o),c=V(e,r,t),d=V(e,o,n),f=1===a,h=-1===l,p=-1===c,g=1===c,m=-1===d,y=1===d,b=(0,i._Q)(t,o),v=(0,i._Q)(n,r);return(!!v||!!b||!!p||!!g||!!m||!!y)&&(!h||!!v)&&(!f||!!b)&&(!p&&g&&!m&&y?!v:p&&!g&&m&&!y?!b:!f||-1!==s||1!==u||!h)}(t,r,o,s,a)}}let G=e=>{if(!e.context.selection)return!1;let t=e.context.selection.backward?e.context.selection.focus:e.context.selection.anchor,
114n=e.context.selection.backward?e.context.selection.anchor:e.context.selection.focus,r=h(e),o=c(e);if(!r||!o)return!1;let s=(0,i.u3)({context:e.context,block:r}),a=(0,i.J8)({context:e.context,block:o});return(0,i._Q)(s,t)&&(0,i._Q)(a,n)}},75130:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(88816),i=n(2836);let o=function(e,t,n,o){var s=n.length,a=s,l=!o;if(null==e)return!a;for(e=Object(e);s--;){var u=n[s];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var c=(u=n[s])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r.A;if(o)var p=o(d,f,c,e,t,h);if(!(void 0===p?(0,i.A)(f,d,3,o,h):p))return!1}}return!0};var s=n(33476);let a=function(e){return e==e&&!(0,s.A)(e)};var l=n(29431);let u=function(e){for(var t=(0,l.A)(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,a(i)]}return t},c=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},d=function(e){var t=u(e);return 1==t.length&&t[0][2]?c(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}};var f=n(17485),h=n(53385),p=n(58347),g=n(62964),m=n(92729),y=n(64536),b=n(70551);let v=function(e){var t;return(0,p.A)(e)?(t=(0,g.A)(e),function(e){return null==e?void 0:e[t]}):function(t){return(0,b.A)(t,e)}},w=function(e){if("function"==typeof e)return e;if(null==e)return m.A;if("object"==typeof e){var t,n;return(0,y.A)(e)?(t=e[0],n=e[1],(0,p.A)(t)&&a(n)?c((0,g.A)(t),n):function(e){var r=(0,f.A)(e,t);return void 0===r&&r===n?(0,h.A)(e,t):(0,i.A)(n,r,3)}):d(e)}return v(e)}},75458:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3175),i=n(3679),o=n(69271),s=n(50972);let a=(0,i.A)(function(e){return(0,o.A)((0,r.A)(e,1,s.A,!0))})},75484:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(13680),i=n(64536);let o=function(e,t,n,o){return null==e?[]:((0,i.A)(t)||(t=null==t?[]:[t]),n=o?void 0:n,(0,i.A)(n)||(n=null==n?[]:[n]),(0,r.A)(e,t,n))}},75513:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(4168),i=n(92118);function o(e,t,n){let o=(0,i.a)(e,null==n?void 0:n.in);if(isNaN(t))return(0,r.w)((null==n?void 0:n.in)||e,NaN);if(!t)return o;let s=o.getDate(),a=(0,r.w)((null==n?void 0:n.in)||e,o.getTime());return(a.setMonth(o.getMonth()+t+1,0),s>=a.getDate())?a:(o.setFullYear(a.getFullYear(),a.getMonth(),s),o)}},75968:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,l:()=>s});var r=n(29846),i=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var n=i,o=n.errorThrown,s=n.error;if(i=null,o)throw s}}else e()}function s(e){r.$.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},76096:(e,t,n)=>{"use strict";n.d(t,{Q6:()=>eQ,MZ:()=>eg,gP:()=>em,UU:()=>nt});let r=!(typeof navigator>"u")&&"ReactNative"===navigator.product,i={timeout:r?6e4:12e4},o=function(e){let t={...i,..."string"==typeof e?{url:e}:e};if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let n=Number(t);return isNaN(n)?e(i.timeout):{connect:n,socket:n}}(t.timeout),t.query){let{url:e,searchParams:n}=function(e){let t=e.indexOf("?");if(-1===t)return{url:e,searchParams:new URLSearchParams};let n=e.slice(0,t),i=e.slice(t+1);if(!r)return{url:n,searchParams:new URLSearchParams(i)};if("function"!=typeof decodeURIComponent)throw Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");let o=new URLSearchParams;for(let e of i.split("&")){let[t,n]=e.split("=");t&&o.append(s(t),s(n||""))}return{url:n,searchParams:o}}(t.url);for(let[r,i]of Object.entries(t.query)){if(void 0!==i)if(Array.isArray(i))for(let e of i)n.append(r,e);else n.append(r,i);let o=n.toString();o&&(t.url=`${e}?${o}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function s(e){return decodeURIComponent(e.replace(/\+/g," "))}let a=/^https?:\/\//i,l=function(e){if(!a.test(e.url))throw Error(`"${e.url}" is not a valid URL`)},u=["request","response","progress","error","abort"],c=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var d,f,h=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(function(){if(f)return d;f=1;var e=function(e){return e.replace(/^\s+|\s+$/g,"")};return d=function(t){if(!t)return{};for(var n=Object.create(null),r=e(t).split("\n"),i=0;i<r.length;i++){var o,s=r[i],a=s.indexOf(":"),l=e(s.slice(0,a)).toLowerCase(),u=e(s.slice(a+1));typeof n[l]>"u"?n[l]=u:(o=n[l],"[object Array]"===Object.prototype.toString.call(o))?n[l].push(u):n[l]=[n[l],u]}return n}}());class p{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#y;#b;#v;#w={};#_;#x={};#k;open(e,t,n){this.#y=e,this.#b=t,this.#v="",this.readyState=1,this.onreadystatechange?.(),this.#_=void 0}abort(){this.#_&&this.#_.abort()}getAllResponseHeaders(){return this.#v}setRequestHeader(e,t){this.#w[e]=t}setInit(e,t=!0){this.#x=e,this.#k=t}send(e){let t="arraybuffer"!==this.responseType,n={...this.#x,method:this.#y,headers:this.#w,body:e};"function"==typeof AbortController&&this.#k&&(this.#_=new AbortController,"u">typeof EventTarget&&this.#_.signal instanceof EventTarget&&(n.signal=this.#_.signal)),"u">typeof document&&(n.credentials=this.withCredentials?"include":"omit"),fetch(this.#b,n
114).then(e=>(e.headers.forEach((e,t)=>{this.#v+=`${t}: ${e}\r 115`}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,this.onreadystatechange?.(),t?e.text():e.arrayBuffer())).then(e=>{"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,this.onreadystatechange?.()}).catch(e=>{"AbortError"!==e.name?this.onerror?.(e):this.onabort?.()})}}let g="function"==typeof XMLHttpRequest?"xhr":"fetch",m="xhr"===g?XMLHttpRequest:p,y=(e,t)=>{let n=e.options,r=e.applyMiddleware("finalizeOptions",n),i={},o=e.applyMiddleware("interceptRequest",void 0,{adapter:g,context:e});if(o){let e=setTimeout(t,0,null,o);return{abort:()=>clearTimeout(e)}}let s=new m;s instanceof p&&"object"==typeof r.fetch&&s.setInit(r.fetch,r.useAbortSignal??!0);let a=r.headers,l=r.timeout,u=!1,c=!1,d=!1;if(s.onerror=e=>{b(s instanceof p?e instanceof Error?e:Error(`Request error while attempting to reach is ${r.url}`,{cause:e}):Error(`Request error while attempting to reach is ${r.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.ontimeout=e=>{b(Error(`Request timeout while attempting to reach ${r.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.onabort=()=>{y(!0),u=!0},s.onreadystatechange=function(){l&&(y(),i.socket=setTimeout(()=>f("ESOCKETTIMEDOUT"),l.socket)),!u&&s&&4===s.readyState&&0!==s.status&&function(){if(!(u||c||d)){if
115(0===s.status)return b(Error("Unknown XHR error"));y(),c=!0,t(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:r.url,method:r.method,headers:h(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(r.method,r.url,!0),s.withCredentials=!!r.withCredentials,a&&s.setRequestHeader)for(let e in a)a.hasOwnProperty(e)&&s.setRequestHeader(e,a[e]);return r.rawBody&&(s.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:r,adapter:g,request:s,context:e}),s.send(r.body||null),l&&(i.connect=setTimeout(()=>f("ETIMEDOUT"),l.connect)),{abort:function(){u=!0,s&&s.abort()}};function f(t){d=!0,s.abort();let n=Error("ESOCKETTIMEDOUT"===t?`Socket timed out on request to ${r.url}`:`Connection timed out on request to ${r.url}`);n.code=t,e.channels.error.publish(n)}function y(e){(e||u||s&&s.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function b(e){if(c)return;y(!0),c=!0,s=null;let n=e||Error(`Network error while attempting to reach ${r.url}`);n.isNetworkError=!0,n.request=r,t(n)}};var b,v,w,_,x,k=n(87358),E=n(81029).hp,A={exports:{}};x||(x=1,function(e,t){let n;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch{}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!e&&"u">typeof k&&"env"in k&&(e=k.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch{}}(),n=!1,t.destroy=()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(_?w:(_=1,w=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;let n=Number(new Date);a.diff=n-(r||n),a.prev=r,a.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";i++;let o=t.formatters[r];if("function"==typeof o){let t=e[i];n=o.call(a,t),e.splice(i,1),i--}return n}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){let r=t(this.namespace+(typeof n>"u"?":":n)+e);return r.log=this.log,r}function r(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n):n++,r++;else{if(-1===i)return!1;r=i+1,n=++o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let n of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(
115Boolean)))"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(let n of t.skips)if(r(e,n))return!1;for(let n of t.names)if(r(e,n))return!0;return!1},t.humanize=function(){if(v)return b;v=1;function e(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}return b=function(t,n){n=n||{};var r,i,o=typeof t;if("string"===o&&t.length>0){var s=t;if(!((s=String(s)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(a){var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l}}}return}if("number"===o&&isFinite(t))return n.long?(i=Math.abs(t))>=864e5?e(t,i,864e5,"day"):i>=36e5?e(t,i,36e5,"hour"):i>=6e4?e(t,i,6e4,"minute"):i>=1e3?e(t,i,1e3,"second"):t+" ms":(r=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":r>=36e5?Math.round(t/36e5)+"h":r>=6e4?Math.round(t/6e4)+"m":r>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t)|0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}))(t);let{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(A,A.exports)),A.exports,Object.prototype.hasOwnProperty;let S=typeof E>"u"?()=>!1:e=>E.isBuffer(e);function C(e){return"[object Object]"===Object.prototype.toString.call(e)}let I=["boolean","string","number"],T={};"u">typeof globalThis?T=globalThis:"u">typeof window?T=window:"u">typeof global?T=global:"u">typeof self&&(T=self);var O=T;let R=(e={})=>{let t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new t((t,i)=>{let o=r.options.cancelToken;o&&o.promise.then(e=>{n.abort.publish(e),i(e)}),n.error.subscribe(i),n.response.subscribe(n=>{t(e.onlyBody?n.body:n)}),setTimeout(()=>{try{n.request.publish(r)}catch(e){i(e)}},0)})}};class D{__CANCEL__=!0;message;constructor(e){this.message=e}toString(){return"Cancel"+(this.message?`: ${this.message}`:"")}}class j{promise;reason;constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new D(e),t(this.reason))})}static source=()=>{let e;return{token:new j(t=>{e=t}),cancel:e}}}R.Cancel=D,R.CancelToken=j,R.isCancel=e=>!(!e||!e?.__CANCEL__);var M=(e,t,n)=>("GET"===n.method||"HEAD"===n.method)&&(e.isNetworkError||!1);function N(e){return 100*Math.pow(2,e)+100*Math.random()}let F=(e={})=>(e=>{let t=e.maxRetries||5,n=e.retryDelay||N,r=e.shouldRetry;return{onError:(e,i)=>{var o;let s=i.options,a=s.maxRetries||t,l=s.retryDelay||n,u=s.shouldRetry||r,c=s.attemptNumber||0;if(null!==(o=s.body)&&"object"==typeof o&&"function"==typeof o.pipe||!u(e,c,s)||c>=a)return e;let d=Object.assign({},i,{options:Object.assign({},s,{attemptNumber:c+1})});return setTimeout(()=>i.channels.request.publish(d),l(c)),null}}})({shouldRetry:M,...e});F.shouldRetry=M;var $=n(45037),P=n(78242),L=n(50384),z=n(85755),U=n(60732),B=n(86238),q=n(20981),V=n(34098),H=n(77133),G=n(61270),W=n(25259),Y=n(40712),K=n(29279),Z=n(29396),X=n(77241),J=n(32466),Q=n(63704),ee=n(28775),et=n(83572),en=n(71450),er=n(99148),ei=n(96948),eo=n(766
11556),es=n(59728),ea=n(89577),el=n(95868);function eu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,el.ms)(e);return n?(0,ea.F)(eu.apply(void 0,(0,en.fX)([],(0,en.zs)(e))),(0,es.I)(n)):(0,ei.N)(function(t,n){(0,er.P)((0,en.fX)([t],(0,en.zs)((0,eo.K)(e))))(n)})}var ec=n(42764),ed=n(93261),ef=n(54152);let eh=/\r\n|[\n\r\u2028\u2029]/;function ep(e,t){let n=0;for(let r=0;r<t.length;r++){let i=t[r].length+1;if(n+i>e)return{line:r+1,column:e-n};n+=i}return{line:t.length,column:t[t.length-1]?.length??0}}class eg extends Error{response;statusCode=400;responseBody;details;constructor(e,t){let n=ey(e,t);super(n.message),Object.assign(this,n)}}class em extends Error{response;statusCode=500;responseBody;details;constructor(e){let t=ey(e);super(t.message),Object.assign(this,t)}}function ey(e,t){var n,r,i;let o=e.body,s={response:e,statusCode:e.statusCode,responseBody:(n=o,-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(n,null,2):n),message:"",details:void 0};if(!(0,et.u4)(o))return s.message=ew(e,o),s;let a=o.error;if("string"==typeof a&&"string"==typeof o.message)return s.message=`${a} - ${o.message}`,s;if("object"!=typeof a||null===a)return"string"==typeof a?s.message=a:"string"==typeof o.message?s.message=o.message:s.message=ew(e,o),s;if("type"in(r=a)&&"mutationError"===r.type&&"description"in r&&"string"==typeof r.description||"type"in(i=a)&&"actionError"===i.type&&"description"in i&&"string"==typeof i.description){let e=a.items||[],t=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),n=t.length?`: 116- ${t.join(` 117- `)}`:"";return e.length>5&&(n+=` 118...and ${e.length-5} more`),s.message=`${a.description}${n}`,s.details=o.error,s}return eb(a)?(s.message=ev(a,t?.options?.query?.tag),s.details=o.error):"description"in a&&"string"==typeof a.description?(s.message=a.description,s.details=a):s.message=ew(e,o),s}function eb(e){return(0,et.u4)(e)&&"queryParseError"===e.type&&"string"==typeof e.query&&"number"==typeof e.start&&"number"==typeof e.end}function ev(e,t){let{query:n,start:r,end:i,description:o}=e;if(!n||typeof r>"u")return`GROQ query parse error: ${o}`;let s=t?` 119 120Tag: ${t}`:"";return`GROQ query parse error: 121${function(e,t,n){let r=e.split(eh),{start:i,end:o,markerLines:s}=function(e,t){let n={...e.start},r={...n,...e.end},i=n.line??-1,o=n.column??0,s=r.line,a=r.column,l=Math.max(i-3,0),u=Math.min(t.length,s+3);-1===i&&(l=0),-1===s&&(u=t.length);let c=s-i,d={};if(c)for(let e=0;e<=c;e++){let n=e+i;if(o)if(0===e){let e=t[n-1].length;d[n]=[o,e-o+1]}else if(e===c)d[n]=[0,a];else{let r=t[n-e].length;d[n]=[0,r]}else d[n]=!0}else o===a?o?d[i]=[o,0]:d[i]=!0:d[i]=[o,a-o];return{start:l,end:u,markerLines:d}}({start:ep(t.start,r),end:t.end?ep(t.end,r):void 0},r),a=`${o}`.length;return e.split(eh,o).slice(i,o).map((e,t)=>{let r=i+1+t,o=` ${` ${r}`.slice(-a)} |`,l=s[r],u=!s[r+1];if(!l)return` ${o}${e.length>0?` ${e}`:""}`;let c="";if(Array.isArray(l)){let t=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," "),r=l[1]||1;c=` 122 `+o.replace(/\d/g," ")+" "+t+"^".repeat(r),u&&n&&(c+=" "+n)}return">"+o+(e.length>0?` ${e}`:"")+c}).join(` 123`)}(n,{start:r,end:i},o)}${s}`}function ew(e,t){var n,r;let i="string"==typeof t?` (${r=100,(n=t).length>100?`${n.slice(0,r)}\u2026`:n})`:"",o=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${o}${i}`}class e_ extends Error{projectId;addOriginUrl;constructor({projectId:e}){super("CorsOriginError"),this.name="CorsOriginError",this.projectId=e;let t=new URL(`https://sanity.io/manage/project/${e}/api`);if("u">typeof location){let{origin:e}=location;t.searchParams.set("cors","add"),t.searchParams.set("origin",e),this.addOriginUrl=t,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${t}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${t}`}}let ex={onResponse:(e,t)=>{if(e.statusCode>=500)throw new em(e);if(e.statusCode>=400)throw new eg(e,t);return e}};function ek(e,t={}){return((e=[],t=y)=>(function e(t,n){let r=[],i=c.reduce((e,t)=>
123(e[t]=e[t]||[],e),{processOptions:[o],validateOptions:[l]});function s(e){let t,r=u.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let n in e)e[n](t)},subscribe:function(n){let r=t++;return e[r]=n,function(){delete e[r]}}}}(),e),{}),o=function(e,t,...n){let r="onError"===e,o=t;for(let t=0;t<i[e].length&&(o=(0,i[e][t])(o,...n),!r||o);t++);return o},s=o("processOptions",e);o("validateOptions",s);let a={options:s,channels:r,applyMiddleware:o},l=r.request.subscribe(e=>{t=n(e,(t,n)=>((e,t,n)=>{let i=e,s=t;if(!i)try{s=o("onResponse",t,n)}catch(e){s=null,i=e}(i=i&&o("onError",i,n))?r.error.publish(i):s&&r.response.publish(s)})(t,n,e))});r.abort.subscribe(()=>{l(),t&&t.abort()});let c=o("onReturn",r,a);return c===r&&r.request.publish(a),c}return s.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&i.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return c.forEach(t=>{e[t]&&i[t].push(e[t])}),r.push(e),s},s.clone=()=>e(r,n),t.forEach(s.use),s})(e,t))([F({shouldRetry:eE}),...e,function(e={}){let t={},n=t=>void 0!==e.ignoreWarnings&&(Array.isArray(e.ignoreWarnings)?e.ignoreWarnings:[e.ignoreWarnings]).some(e=>"string"==typeof e?t.includes(e):e instanceof RegExp&&e.test(t));return{onResponse:e=>{let r=e.headers["x-sanity-warning"];for(let e of Array.isArray(r)?r:[r])!e||t[e]||n(e)||(t[e]=!0,console.warn(e));return e}}}(t),{processOptions:e=>{let t=e.body;return!t||"function"==typeof t.pipe||S(t)||-1===I.indexOf(typeof t)&&!Array.isArray(t)&&!function(e){if(!1===C(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!1!==C(n)&&!1!==n.hasOwnProperty("isPrototypeOf")}(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}},{onResponse:e=>{let t=e.headers["content-type"]||"",n=-1!==t.indexOf("application/json");return e.body&&t&&n?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message=`Failed to parsed response body as JSON: ${e.message}`,e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,n=e.context;function r(e){return t=>{let r=t.lengthComputable?t.loaded/t.total*100:-1;n.channels.progress.publish({stage:e,percent:r,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"))}},ex,function(e={}){let t=e.implementation||O.Observable;if(!t)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(e,n)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(n),()=>e.abort.publish()))}}({implementation:$.c})])}function eE(e,t,n){if(0===n.maxRetries)return!1;let r="GET"===n.method||"HEAD"===n.method,i=(n.uri||n.url).startsWith("/data/query"),o=e.response&&(429===e.response.statusCode||502===e.response.statusCode||503===e.response.statusCode);return(!!r||!!i)&&!!o||F.shouldRetry(e,t,n)}function eA(e){return"https://www.sanity.io/help/"+e}let eS=["image","file"],eC=["before","after","replace"],eI=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},eT=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},eO=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error(`${e}(): "${t}" is not a valid document ID`)},eR=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);eO(e,t._id)},eD=(e,t)=>{if(!t._type)throw Error(`\`${e}()\` requires that the document contains a type (\`_type\` property)`);((e,t)=>
123{if("string"!=typeof t)throw Error(`\`${e}()\`: \`${t}\` is not a valid document type`)})(e,t._type)},ej=e=>{if(e.dataset)return e.dataset;let t=e.resource;if(t&&"dataset"===t.type){let e=t.id.split(".");if(2!==e.length)throw Error('Dataset resource ID must be in the format "project.dataset"');return e[1]}throw Error("`dataset` must be provided to perform queries")},eM=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},eN=e=>{let t=e.resource;if(!t)throw Error("`resource` must be provided to perform resource queries");let{type:n,id:r}=t;switch(n){case"dataset":if(2!==r.split(".").length)throw Error('Dataset resource ID must be in the format "project.dataset"');return;case"dashboard":case"media-library":case"canvas":return;default:throw Error(`Unsupported resource type: ${n.toString()}`)}},eF=(e,t)=>{if(t.resource)throw Error(`\`${e}\` does not support resource-based operations`)},e$=e=>(function(e){let t=!1,n;return(...r)=>(t||(n=e(...r),t=!0),n)})((...t)=>console.warn(e.join(" "),...t)),eP=e$(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),eL=e$(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),ez=e$(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),eU=e$(["The `previewDrafts` perspective has been renamed to `drafts` and will be removed in a future API version"]),eB=e$(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${eA("js-client-browser-token")} for more information and how to hide this warning.`]),eq=e$(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),eV=e$(["Using the Sanity client without specifying an API version is deprecated.",`See ${eA("js-client-api-version")}`]),eH=(e$(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),e$(["You have called `createVersion()` with a defined `document`. The recommended approach is to provide a `baseId` and `releaseId` instead."])),eG=e$(["The `~experimental_resource` configuration property has been renamed to `resource`.","Please update your client configuration to use `resource` instead. Support for `~experimental_resource` will be removed in a future version."]),eW={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},eY=["localhost","127.0.0.1","0.0.0.0"];function eK(e){if(Array.isArray(e)&&e.length>1&&e.includes("raw"))throw TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}let eZ=(e,t)=>{let n,r={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||eW.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};r.apiVersion||eV();let i={...eW,...r};i["~experimental_resource"]&&!i.resource&&(eG(),i.resource=i["~experimental_resource"]);let o=i.resource,s=i.useProjectHostname&&!o;if(typeof Promise>"u"){let e=eA("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(s&&!i.projectId)throw Error("Configuration must contain `projectId`");if(o&&eN(i),"u">typeof i.perspective&&eK(i.perspective),"encodeSourceMap"in i)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in i)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");
123if("boolean"!=typeof i.stega.enabled)throw Error(`stega.enabled must be a boolean, received ${i.stega.enabled}`);if(i.stega.enabled&&void 0===i.stega.studioUrl)throw Error("stega.studioUrl must be defined when stega.enabled is true");if(i.stega.enabled&&"string"!=typeof i.stega.studioUrl&&"function"!=typeof i.stega.studioUrl)throw Error(`stega.studioUrl must be a string or a function, received ${i.stega.studioUrl}`);let a="u">typeof window&&window.location&&window.location.hostname,l=a&&(n=window.location.hostname,-1!==eY.indexOf(n)),u=!!i.token;i.withCredentials&&u&&(eq(),i.withCredentials=!1),a&&l&&u&&!0!==i.ignoreBrowserTokenWarning?eB():typeof i.useCdn>"u"&&eL(),s&&(e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")})(i.projectId),i.dataset&&eI(i.dataset),"requestTagPrefix"in i&&(i.requestTagPrefix=i.requestTagPrefix?eM(i.requestTagPrefix).replace(/\.+$/,""):void 0),i.apiVersion=`${i.apiVersion}`.replace(/^v/,""),i.isDefaultApi=i.apiHost===eW.apiHost,!0===i.useCdn&&i.withCredentials&&eP(),i.useCdn=!1!==i.useCdn&&!i.withCredentials,function(e){if("1"===e||"X"===e)return;let t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}(i.apiVersion);let c=i.apiHost.split("://",2),d=c[0],f=c[1],h=i.isDefaultApi?"apicdn.sanity.io":f;return s?(i.url=`${d}://${i.projectId}.${f}/v${i.apiVersion}`,i.cdnUrl=`${d}://${i.projectId}.${h}/v${i.apiVersion}
123`):(i.url=`${i.apiHost}/v${i.apiVersion}`,i.cdnUrl=i.url),i};class eX extends Error{name="ConnectionFailedError"}class eJ extends Error{name="DisconnectError";reason;constructor(e,t,n={}){super(e,n),this.reason=t}}class eQ extends Error{name="ChannelError";data;constructor(e,t){super(e),this.data=t}}class e0 extends Error{name="MessageError";data;constructor(e,t,n={}){super(e,n),this.data=t}}class e1 extends Error{name="MessageParseError"}let e2=["channelError","disconnect"];function e3(e,t){return(0,P.v)(()=>{let t=e();return(0,L.A)(t)?t:(0,z.of)(t)}).pipe((0,U.Z)(e=>{var n,r;return n=e,r=t,new $.c(e=>{let t=r.includes("open"),i=r.includes("reconnect");function o(t){if("data"in t){let[n,r]=e5(t);e.error(n?new e1("Unable to parse EventSource error message",{cause:r}):new e0((r?.data).message,r));return}n.readyState===n.CLOSED?e.error(new eX("EventSource connection failed")):i&&e.next({type:"reconnect"})}function s(){e.next({type:"open"})}function a(t){let[r,i]=e5(t);if(r)return void e.error(new e1("Unable to parse EventSource message",{cause:r}));if("channelError"===t.type){let t=new URL(n.url).searchParams.get("tag");e.error(new eQ(function(e,t){let n=e.error;return n?eb(n)?ev(n,t):n.description?n.description:"string"==typeof n?n:JSON.stringify(n,null,2):e.message||"Unknown listener error"}(i?.data,t),i.data));return}if("disconnect"===t.type)return void e.error(new eJ(`Server disconnected client: ${i.data?.reason||"unknown error"}`));e.next({type:t.type,id:t.lastEventId,...i.data?{data:i.data}:{}})}n.addEventListener("error",o),t&&n.addEventListener("open",s);let l=[...new Set([...e2,...r])].filter(e=>"error"!==e&&"open"!==e&&"reconnect"!==e);return l.forEach(e=>n.addEventListener(e,a)),()=>{n.removeEventListener("error",o),t&&n.removeEventListener("open",s),l.forEach(e=>n.removeEventListener(e,a)),n.close()}})}))}function e5(e){try{let t="string"==typeof e.data&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,...!function(e){for(let t in e)return!1;return!0}(t)?{data:t}:{}}]}catch(e){return[e,null]}}function e4(e){if("string"==typeof e)return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};let t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(` 124`);throw Error(`Unknown selection - must be one of: 125 126${t}`)}class e6{selection;operations;constructor(e,t={}){this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return eT("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,n){return((e,t,n)=>{let r="insert(at, selector, items)";if(-1===eC.indexOf(e)){let e=eC.map(e=>`"${e}"`).join(", ");throw Error(`${r} takes an "at"-argument which is one of: ${e}`)}if("string"!=typeof t)throw Error(`${r} takes a "selector"-argument which must be a string`);if(!Array.isArray(n))throw Error(`${r} takes an "items"-argument which must be an array`)})(e,t,n),this._assign("insert",{[e]:t,items:n})}append(e,t){return this.insert("after",`${e}[-1]`,t)}prepend(e,t){return this.insert("before",`${e}[0]`,t)}splice(e,t,n,r){let i=t<0?t-1:t,o=typeof n>"u"||-1===n?-1:Math.max(0,t+n),s=`${e}[${i}:${i<0&&o>=0?"":o}]`;return this.insert("replace",s,r||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...e4(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t,n=!0){return eT(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},n&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}class e8 extends e6{#E;constructor(e,t,n){super(e,t),this.#E=n}clone(){return new e8(this.selection,{...this.operations},this.#E)}commit(e){if(!this.#E)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#E.mutate({patch:this.serialize()},t)}}class e9 extends e6{#E;constructor(e,t,n){super(e,t),this.#E=n}clone(){return new e9(this.selection,{...this.operations},this.#E)}commit(e){if(!this.#E)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#E.mutate({patch:this.serialize()},t)}}let e7={returnDocuments:!1};class te{operations;trxId;constructor(e=[],t){this.operations=e,this.trxId=t}create(e){return eT("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return eT(t,e),eR(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return eT(t,e),eR(t,e),this._add({[t]:e})}delete(e){return eO("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}class tt extends te{#E;constructor(e,t,n){super(e,n),this.#E=t}clone(){return new tt([...this.operations],this.#E,this.trxId)}commit(e){if(!this.#E)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#E.mutate(this.serialize(),Object.assign({transactionId:this.trxId},e7,e||{}))}patch(e,t){let n="function"==typeof t,r="string"!=typeof e&&e instanceof e9,i="object"==typeof e&&("query"in e||"id"in e);if(r)return this._add({patch:e.serialize()});if(n){let n=t(new e9(e,{},this.#E));if(!(n instanceof e9))throw Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}if(i){let n=new e9(e,t||{},this.#E);return this._add({patch:n.serialize()})}return this._add({patch:{id:e,...t}})}}class tn extends te{#E;constructor(e,t,n){super(e,n),this.#E=t}clone(){return new tn([...this.operations],this.#E,this.trxId)}commit(e){if(!this.#E)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#E.mutate(this.serialize(),Object.assign({transactionId:this.trxId},e7,e||{}))}patch(e,t){let n="function"==typeof t;if("string"!=typeof e&&e instanceof e8)return this._add({patch:e.serialize()});if(n){let n=t(new e8(e,{},this.#E));if(!(n instanceof e8))throw Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:{id:e,...t}})}}let tr=({query:e,params:t={},options:n={}})=>{let r=new URLSearchParams,{tag:i,includeMutations:o,returnQuery:s,...a}=n;for(let[n,o]of(i&&r.append("tag",i),r.append("query",e),Object.entries(t)))void 0!==o&&r.append(`$${n}`,JSON.stringify(o));for(let[e,t]of Object.entries(a))t&&r.append(e,`${t}`);return!1===s&&r.append("returnQuery","false"),!1===o&&r.append("includeMutations","fal
126se"),`?${r}`},ti=e=>"response"===e.type,to=e=>e.body;function ts(e,t,r,i,o={},s={}){let a="stega"in s?{...r||{},..."boolean"==typeof s.stega?{enabled:s.stega}:s.stega||{}}:r,l=a.enabled?(0,et.Q)(o):o,u=!1===s.filterResponse?e=>e:e=>e.result,{cache:c,next:d,...f}={useAbortSignal:"u">typeof s.signal,resultSourceMap:a.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:!1===s.filterResponse&&!1!==s.returnQuery},h=tw(e,t,"query",{query:i,params:l},"u">typeof c||"u">typeof d?{...f,fetch:{cache:c,next:d}}:f);return a.enabled?h.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eu.apply(void 0,(0,en.fX)([],(0,en.zs)(e)))}((0,B.H)(n.e(1214).then(n.bind(n,71214)).then(function(e){return e.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:e})=>e))),(0,Q.T)(([e,t])=>{let n=t(e.result,e.resultSourceMap,a);return u({...e,result:n})})):h.pipe((0,Q.T)(u))}function ta(e,t,n,r={}){let i={uri:tS(e,"doc",(()=>{if(!r.releaseId)return n;let e=(0,ed._S)(n);if(!e){if((0,ed.R8)(n))throw Error(`The document ID (\`${n}\`) is a draft, but \`options.releaseId\` is set as \`${r.releaseId}\``);return(0,ed.ct)(n,r.releaseId)}if(e!==r.releaseId)throw Error(`The document ID (\`${n}\`) is already a version of \`${e}\` release, but this does not match the provided \`options.releaseId\` (\`${r.releaseId}\`)`);return n})()),json:!0,tag:r.tag,signal:r.signal,query:void 0!==r.includeAllVersions?{includeAllVersions:r.includeAllVersions}:void 0};return tE(e,t,i).pipe((0,ec.p)(ti),(0,Q.T)(e=>{let t=e.body.documents;return t?r.includeAllVersions?t:t[0]:r.includeAllVersions?[]:void 0}))}function tl(e,t,n,r={}){let i={uri:tS(e,"doc",n.join(",")),json:!0,tag:r.tag,signal:r.signal};return tE(e,t,i).pipe((0,ec.p)(ti),(0,Q.T)(e=>{let t,r,i=(t=e.body.documents||[],r=e=>e._id,t.reduce((e,t)=>(e[r(t)]=t,e),Object.create(null)));return n.map(e=>i[e]||null)}))}function tu(e,t,n,r={}){return tw(e,t,"query",{query:"*[sanity::partOfRelease($releaseId)]",params:{releaseId:n}},r)}function tc(e,t,n,r){return eR("createIfNotExists",n),t_(e,t,n,"createIfNotExists",r)}function td(e,t,n,r){return eR("createOrReplace",n),t_(e,t,n,"createOrReplace",r)}function tf(e,t,n,r,i){return eR("createVersion",n),eD("createVersion",n),eH(),tv(e,t,{actionType:"sanity.action.document.version.create",publishedId:r,document:n},i)}function th(e,t,n,r,i,o,s){if(!r)throw Error("`createVersion()` requires `baseId` when no `document` is provided");if(!n)throw Error("`createVersion()` requires `publishedId` when `baseId` is provided");return eO("createVersion",r),eO("createVersion",n),tv(e,t,{actionType:"sanity.action.document.version.create",publishedId:n,baseId:r,versionId:i?(0,ed.ct)(n,i):(0,ed.T4)(n),ifBaseRevisionId:o},s)}function tp(e,t,n,r){return tw(e,t,"mutate",{mutations:[{delete:e4(n)}]},r)}function tg(e,t,n,r=!1,i){return tv(e,t,{actionType:"sanity.action.document.version.discard",versionId:n,purge:r},i)}function tm(e,t,n,r){return eR("replaceVersion",n),eD("replaceVersion",n),tv(e,t,{actionType:"sanity.action.document.version.replace",document:n},r)}function ty(e,t,n,r,i){return tv(e,t,{actionType:"sanity.action.document.version.unpublish",versionId:n,publishedId:r},i)}function tb(e,t,n,r){let i;return tw(e,t,"mutate",{mutations:Array.isArray(i=n instanceof e9||n instanceof e8?{patch:n.serialize()}:n instanceof tt||n instanceof tn?n.serialize():n)?i:[i],transactionId:r&&r.transactionId||void 0},r)}function tv(e,t,n,r){let i=Array.isArray(n)?n:[n],o=r&&r.transactionId||void 0;return tw(e,t,"actions",{actions:i,transactionId:o,skipCrossDatasetReferenceValidation:r&&r.skipCrossDatasetReferenceValidation||void 0,dryRun:r&&r.dryRun||void 0},r)}function tw(e,t,n,r,i={}){let o="mutate"===n,s="actions"===n,a=o||s?"":tr(r),l=!o&&!s&&a.length<11264,u=l?a:"",c=i.returnFirst,{timeout:d,token:f,tag:h,headers:p,returnQuery:g,lastLiveEventId:m,cacheMode:y}=i,b={method:l?"GET":"POST",uri:tS(e,n,u),json:!0,body:l?void 0:r,query:o&&((e={})=>{let t,n;return{dryRun:e.dryRun,returnIds:!0,returnDocuments:(t=e.returnDocuments,n=!0,!1===t?void 0:typeof t>"u"?n:t),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}})(i),timeout:d,headers:p,token:f,tag:h,returnQuery:g,perspective:i.perspective,resultSourceMap:i.resultSourceMap,lastLiveEventId:Array.isArray(m)?m[0]:m,cacheMode:y,canUseCdn:"query"===n,signal:i.signal,fetch:i.fetch,useAbortSignal:i.useAbortSignal,useCdn:i.useCdn};return tE(e,t,b).pipe((0,ec.p)(ti),(0,Q.T)(to),(0,Q.T)(e=>{if(!o)return e;let t=e.results||[];if(i.returnDocuments)return c?t[0]&&t[0].document:t.map(e=>e.document);let n=c?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[c?"documentId":"documentIds"]:n}}))}function t_(e,t,n,r,i={}){return tw(e,t,"mutate",{mutations:[{[r]:n}]},Object.assign({returnFirst:!0,returnDocuments:!0},i))}let tx=e=>{let t=e.config();return void 0!==t.dataset&&void 0!==t.projectId||void 0!==t.resource},tk=(e,t)=>tx(e)&&t.startsWith(tS(e,"query"));function tE(e,t,n){var r;let i=n.url||n.uri,o=e.config(),s=typeof n.canUseCdn>"u"?["GET","HEAD"].indexOf(n.method||"GET")>=0&&(i.startsWith("/data/")||tk(e,i)||tx(e)&&i.startsWith(tS(e,"mutate"))||tx(e)&&i.startsWith(tS(e,"doc",""))||tx(e)&&i.startsWith(tS(e,"listen"))||tx(e)&&i.startsWith(tS(e,"history",""))):n.canUseCdn,a=(n.useCdn??o.useCdn)&&s,l=n.tag&&o.requestTagPrefix?[o.requestTagPrefix,n.tag].join("."):n.tag||o.requestTagPrefix;if(l&&null!==n.tag&&(n.query={tag:eM(l),...n.query}),["GET","HEAD","POST"].indexOf(n.method||"GET")>=0&&tk(e,i)){let e=n.resultSourceMap??o.resultSourceMap;void 0!==e&&!1!==e&&(n.query={resultSourceMap:e,...n.query});let t=n.perspective||o.perspective;"u">typeof t&&("previewDrafts"===t&&eU(),eK(t),n.query={perspective:Array.isArray(t)?t.join(","):t,...n.query},(Array.isArray(t)&&t.length>0||"previewDrafts"===t||"drafts"===t)&&a&&(a=!1,ez())),n.lastLiveEventId&&(n.query={...n.query,lastLiveEventId:n.lastLiveEventId}),!1===n.returnQuery&&(n.query={returnQuery:"false",...n.query}),a&&"noStale"==n.cacheMode&&(n.query={cacheMode:"noStale",...n.query})}let u=function(e,t={}){let n={};e.headers&&Object.assign(n,e.headers);let r=t.token||e.token;r&&(n.Authorization=`Bearer ${r}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(n["X-Sanity-Project-ID"]=e.projectId);let i=!!(typeof t.withCredentials>"u"?e.withCredentials:t.withCredentials),o=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},n,t.headers||{}),timeout:typeof o>"u"?3e5:o,proxy:t.proxy||e.proxy,json:!0,withCredentials:i,fetch:"object"==typeof t.fetch&&"object"==typeof e.fetch?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}(o,Object.assign({},n,{url:tC(e,i,a)})),c=new $.c(e=>t(u,o.requester).subscribe(e));
126return n.signal?c.pipe((r=n.signal,e=>new $.c(t=>{let n=()=>t.error(function(e){if(tI)return new DOMException(e?.reason??"The operation was aborted.","AbortError");let t=Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}(r));if(r&&r.aborted)return void n();let i=e.subscribe(t);return r.addEventListener("abort",n),()=>{r.removeEventListener("abort",n),i.unsubscribe()}}))):c}function tA(e,t,n){return tE(e,t,n).pipe((0,ec.p)(e=>"response"===e.type),(0,Q.T)(e=>e.body))}function tS(e,t,n){let r=e.config();if(r.resource){eN(r);let e=tT(r),i=void 0!==n?`${t}/${n}`:t;return`${e}/${i}`.replace(/\/($|\?)/,"$1")}let i=ej(r),o=`/${t}/${i}`;return`/data${void 0!==n?`${o}/${n}`:o}`.replace(/\/($|\?)/,"$1")}function tC(e,t,n=!1){let{url:r,cdnUrl:i}=e.config();return`${n?i:r}/${t.replace(/^\//,"")}`}let tI=!!globalThis.DOMException,tT=e=>{let t=e.resource;if(!t)throw Error("`resource` must be provided to perform resource queries");let{type:n,id:r}=t;switch(n){case"dataset":{let e=r.split(".");if(2!==e.length)throw Error('Dataset ID must be in the format "project.dataset"');return`/projects/${e[0]}/datasets/${e[1]}`}case"canvas":return`/canvases/${r}`;case"media-library":return`/media-libraries/${r}`;case"dashboard":return`/dashboards/${r}`;default:throw Error(`Unsupported resource type: ${n.toString()}`)}};function tO(e,t,n){let r=ej(e.config());return tA(e,t,{method:"POST",uri:`/agent/action/generate/${r}`,body:n})}function tR(e,t,n){let r=ej(e.config());return tA(e,t,{method:"POST",uri:`/agent/action/transform/${r}`,body:n})}function tD(e,t,n){let r=ej(e.config());return tA(e,t,{method:"POST",uri:`/agent/action/translate/${r}`,body:n})}class tj{#E;#A;constructor(e,t){this.#E=e,this.#A=t}generate(e){return tO(this.#E,this.#A,e)}transform(e){return tR(this.#E,this.#A,e)}translate(e){return tD(this.#E,this.#A,e)}}class tM{#E;#A;constructor(e,t){this.#E=e,this.#A=t}generate(e){return(0,q.s)(tO(this.#E,this.#A,e))}transform(e){return(0,q.s)(tR(this.#E,this.#A,e))}translate(e){return(0,q.s)(tD(this.#E,this.#A,e))}prompt(e){return(0,q.s)(function(e,t,n){let r=ej(e.config());return tA(e,t,{method:"POST",uri:`/agent/action/prompt/${r}`,body:n})}(this.#E,this.#A,e))}patch(e){return(0,q.s)(function(e,t,n){let r=ej(e.config());return tA(e,t,{method:"POST",uri:`/agent/action/patch/${r}`,body:n})}(this.#E,this.#A,e))}}class tN{#E;#A;constructor(e,t){this.#E=e,this.#A=t}upload(e,t,n){return t$(this.#E,this.#A,e,t,n)}}class tF{#E;#A;constructor(e,t){this.#E=e,this.#A=t}upload(e,t,n){let r=t$(this.#E,this.#A,e,t,n);return(0,q.s)(r.pipe((0,ec.p)(e=>"response"===e.type),(0,Q.T)(e=>e.body.document)))}}function t$(e,t,n,r,i={}){var o,s;if(-1===eS.indexOf(n))throw Error(`Invalid asset type: ${n}. Must be one of ${eS.join(", ")}`);let a=i.extract||void 0;a&&!a.length&&(a=["none"]);let l=e.config(),u=(o=i,s=r,!(typeof File>"u")&&s instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:s.name,contentType:s.type},o):o),{tag:c,label:d,title:f,description:h,creditLine:p,filename:g,source:m}=u,y=l.resource?.type==="media-library",b=y?{title:f,filename:g}:{label:d,title:f,description:h,filename:g,meta:a,creditLine:p};return m&&!y&&(b.sourceId=m.id,b.sourceName=m.name,b.sourceUrl=m.url),tE(e,t,{tag:c,method:"POST",timeout:u.timeout||0,uri:function(e,t){let n="image"===t?"images":"files",r=e.resource;if(r){let{type:e,id:t}=r;switch(e){case"dataset":throw Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${t}/assets/${n}`;case"media-library":return`/media-libraries/${t}/upload`;case"dashboard":return`/dashboards/${t}/assets/${n}`;default:throw Error(`Unsupported resource type: ${e.toString()}`)}}let i=ej(e);return`assets/${n}/${i}`}(l,n),headers:u.contentType?{"Content-Type":u.contentType}:{},query:b,body:r})}let tP=(0,P.v)(()=>n.e(8679).then(n.t.bind(n,88679,19))).pipe((0,Q.T)(({default:e})=>e),(0,V.t)(1));function tL(){return function(e){return e.pipe((0,H.W)((e,t)=>e instanceof eX?(0,G.x)((0,z.of)({type:"reconnect"}),(0,W.O)(1e3).pipe((0,U.Z)(()=>t))):(0,Y.$)(()=>e)))}}let tz=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","enableResume","tag"],tU={includeResult:!0};function tB(e,t,n={}){let{url:r,token:i,withCredentials:o,requestTagPrefix:s,headers:a}=this.config(),l=n.tag&&s?[s,n.tag].join("."):n.tag,u={...Object.keys(tU).concat(Object.keys(n)).reduce((e,t)=>
126(e[t]=typeof n[t]>"u"?tU[t]:n[t],e),{}),tag:l},c=tr({query:e,params:t,options:{tag:l,...tz.reduce((e,t)=>(typeof u[t]>"u"||(e[t]=u[t]),e),{})}}),d=`${r}${tS(this,"listen",c)}`;if(d.length>14800)return(0,Y.$)(()=>Error("Query too large for listener"));let f=u.events?u.events:["mutation"],h={};return o&&(h.withCredentials=!0),(i||a)&&(h.headers={},i&&(h.headers.Authorization=`Bearer ${i}`),a&&Object.assign(h.headers,a)),e3(()=>(typeof EventSource>"u"||h.headers?tP:(0,z.of)(EventSource)).pipe((0,Q.T)(e=>new e(d,h))),f).pipe(tL(),(0,ec.p)(e=>f.includes(e.type)),(0,Q.T)(e=>({type:e.type,..."data"in e?e.data:{}})))}let tq="2021-03-25";class tV{#E;constructor(e){this.#E=e}events({includeDrafts:e=!1,tag:t}={}){var n,r,i,o;let{projectId:s,apiVersion:a,token:l,withCredentials:u,requestTagPrefix:c,headers:d}=this.#E.config(),f=a.replace(/^v/,"");if("X"!==f&&f<tq)throw Error(`The live events API requires API version ${tq} or later. The current API version is ${f}. Please update your API version to use this feature.`);if(e&&!l&&!u)throw Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");let h=tS(this.#E,"live/events"),p=new URL(this.#E.getUrl(h,!1)),g=t&&c?[c,t].join("."):t;g&&p.searchParams.set("tag",g),e&&p.searchParams.set("includeDrafts","true");let m={};e&&u&&(m.withCredentials=!0),(e&&l||d)&&(m.headers={},e&&l&&(m.headers.Authorization=`Bearer ${l}`),d&&Object.assign(m.headers,d));let y=`${p.href}::${JSON.stringify(m)}`,b=tH.get(y);if(b)return b;let v=e3(()=>(typeof EventSource>"u"||m.headers?tP:(0,z.of)(EventSource)).pipe((0,Q.T)(e=>new e(p.href,m))),["message","restart","welcome","reconnect","goaway"]),w=(r=p,i={method:"OPTIONS",mode:"cors",credentials:m.withCredentials?"include":"omit",headers:m.headers},new $.c(e=>{let t=new AbortController,n=t.signal;return fetch(r,{...i,signal:t.signal}).then(t=>{e.next(t),e.complete()},t=>{n.aborted||e.error(t)}),()=>t.abort()})).pipe((0,H.W)(()=>{throw new e_({projectId:s})})),_=v.pipe(tL(),(0,U.Z)(e=>"reconnect"===e.type?w.pipe((0,U.Z)(()=>(0,z.of)(e))):(0,z.of)(e)),(0,H.W)(e=>w.pipe((0,U.Z)(()=>{throw e}))),(0,Q.T)(e=>{if("message"===e.type){let{data:t,...n}=e;return{...n,tags:t.tags}}return e})).pipe((0,Z.j)(()=>tH.delete(y)),(o="function"==typeof(n={predicate:e=>"welcome"===e.type})?{predicate:n,...void 0}:n,e=>{let t,n=!1,{predicate:r,...i}=o,s=e.pipe((0,K.M)(e=>{o.predicate(e)&&(n=!0,t=e)}),(0,Z.j)(()=>{n=!1,t=void 0}),(0,X.u)(i)),a=new $.c(e=>{n&&e.next(t),e.complete()});return(0,J.h)(s,a)}));return tH.set(y,_),_}}let tH=new Map;class tG{#E;#A;constructor(e,t){this.#E=e,this.#A=t}create(e,t){return tY(this.#E,this.#A,"PUT",e,t)}edit(e,t){return tY(this.#E,this.#A,"PATCH",e,t)}delete(e){return tY(this.#E,this.#A,"DELETE",e)}list(){eF("dataset",this.#E.config());let e=this.#E.config(),t=e.projectId,n="/datasets";return!1===e.useProjectHostname&&(n=`/projects/${t}/datasets`),tA(this.#E,this.#A,{uri:n,tag:null})}}class tW{#E;#A;constructor(e,t){this.#E=e,this.#A=t}create(e,t){return eF("dataset",this.#E.config()),(0,q.s)(tY(this.#E,this.#A,"PUT",e,t))}edit(e,t){return eF("dataset",this.#E.config()),(0,q.s)(tY(this.#E,this.#A,"PATCH",e,t))}delete(e){return eF("dataset",this.#E.config()),(0,q.s)(tY(this.#E,this.#A,"DELETE",e))}list(){eF("dataset",this.#E.config());let e=this.#E.config(),t=e.projectId,n="/datasets";return!1===e.useProjectHostname&&(n=`/projects/${t}/datasets`),(0,q.s)(tA(this.#E,this.#A,{uri:n,tag:null}))}}function tY(e,t,n,r,i){return eF("dataset",e.config()),eI(r),tA(e,t,{method:n,uri:`/datasets/${r}`,body:i,tag:null})}class tK{#E;#A;constructor(e,t){this.#E=e,this.#A=t}getPlaybackInfo(e,t={}){var n,r;let i=this.#E.config(),o=(i.resource||i["~experimental_resource"])?.id,{instanceId:s,library
126Id:a}=function(e){let t="object"==typeof e&&"_ref"in e?e._ref:e,n=tX.exec(t);if(n){let[,e,t]=n;return{libraryId:e,instanceId:t}}if("string"==typeof e&&e.startsWith("video-"))return{instanceId:e};throw Error(`Invalid video asset instance identifier "${t}": must be a valid video instance id or a Global Dataset Reference (GDR) to the video asset in the Media Library`)}(e),l=a||o;if(!l)throw Error("Could not determine Media Library ID - you need to provide a valid Media Library ID in the client config or a Media Library GDR");let u=(n=s,r=l,`/media-libraries/${r}/video/${n}/playback-info`),c=function(e){let t={};if(e.transformations){let{thumbnail:n,animated:r,storyboard:i}=e.transformations;n&&(n.width&&(t.thumbnailWidth=n.width),n.height&&(t.thumbnailHeight=n.height),void 0!==n.time&&(t.thumbnailTime=n.time),n.fit&&(t.thumbnailFit=n.fit),n.format&&(t.thumbnailFormat=n.format)),r&&(r.width&&(t.animatedWidth=r.width),r.height&&(t.animatedHeight=r.height),void 0!==r.start&&(t.animatedStart=r.start),void 0!==r.end&&(t.animatedEnd=r.end),r.fps&&(t.animatedFps=r.fps),r.format&&(t.animatedFormat=r.format)),i&&i.format&&(t.storyboardFormat=i.format)}return e.expiration&&(t.expiration=e.expiration),t}(t);return tA(this.#E,this.#A,{method:"GET",uri:u,query:c})}}class tZ{#E;#A;constructor(e,t){this.#E=e,this.#A=t}getPlaybackInfo(e,t={}){return(0,q.s)(new tK(this.#E.observable,this.#A).getPlaybackInfo(e,t))}}let tX=/^media-library:(ml[^:]+):([^:]+)$/;class tJ{#E;#A;constructor(e,t){this.#E=e,this.#A=t}list(e){let t={};return e?.includeMembers===!1&&(t.includeMembers="false"),e?.organizationId&&(t.organizationId=e.organizationId),tA(this.#E,this.#A,{uri:"/projects",query:t})}getById(e){return tA(this.#E,this.#A,{uri:`/projects/${e}`})}}class tQ{#E;#A;constructor(e,t){this.#E=e,this.#A=t}list(e){let t={};return e?.includeMembers===!1&&(t.includeMembers="false"),e?.organizationId&&(t.organizationId=e.organizationId),(0,q.s)(tA(this.#E,this.#A,{uri:"/projects",query:t}))}getById(e){return(0,q.s)(tA(this.#E,this.#A,{uri:`/projects/${e}`}))}}let t0=(0,ef.d_)("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",8),t1=(e,t)=>t?(0,ed.ct)(e,t):(0,ed.T4)(e);function t2(e,{releaseId:t,publishedId:n,document:r}){if(n&&r._id){let e=t1(n,t);return((e,t)=>{if(t._id&&t._id!==e)throw Error(`The provided document ID (\`${t._id}\`) does not match the generated version ID (\`${e}\`)`)})(e,r),e}if(r._id){let n=(0,ed.R8)(r._id),i=(0,ed.A_)(r._id);if(!n&&!i)throw Error(`\`${e}()\` requires a document with an \`_id\` that is a version or draft ID`);if(t){if(n)throw Error(`\`${e}()\` was called with a document ID (\`${r._id}\`) that is a draft ID, but a release ID (\`${t}\`) was also provided.`);let i=(0,ed._S)(r._id);if(i!==t)throw Error(`\`${e}()\` was called with a document ID (\`${r._id}\`) that is a version ID, but the release ID (\`${t}\`) does not match the document's version ID (\`${i}\`).`)}return r._id}if(n)return t1(n,t);throw Error(`\`${e}()\` requires either a publishedId or a document with an \`_id\``)}let t3=(e,t)=>{let[n,r,i]=((e,t)=>{if("object"==typeof e&&null!==e&&("releaseId"in e||"metadata"in e)){let{releaseId:n=t0(),metadata:r={}}=e;return[n,r,t]}return[t0(),{},e]})(e,t);return{action:{actionType:"sanity.action.release.create",releaseId:n,metadata:{...r,releaseType:r.releaseType||"undecided"}},options:i}};class t5{#E;#A;constructor(e,t){this.#E=e,this.#A=t}get({releaseId:e},t){return ta(this.#E,this.#A,`_.releases.${e}`,t)}create(e,t){let{action:n,options:r}=t3(e,t),{releaseId:i,metadata:o}=n;return tv(this.#E,this.#A,n,r).pipe((0,Q.T)(e=>({...e,releaseId:i,metadata:o})))}edit({releaseId:e,patch:t},n){return tv(this.#E,this.#A,{actionType:"sanity.action.release.edit",releaseId:e,patch:t},n)}publish({releaseId:e},t){return tv(this.#E,this.#A,{actionType:"sanity.action.release.publish",releaseId:e},t)}archive({releaseId:e},t){return tv(this.#E,this.#A,{actionType:"sanity.action.release.archive",releaseId:e},t)}unarchive({releaseId:e},t){return tv(this.#E,this.#A,{actionType:"sanity.action.release.unarchive",releaseId:e},t)}schedule({releaseId:e,publishAt:t},n){return tv(this.#E,this.#A,{actionType:"sanity.action.release.schedule",releaseId:e,publishAt:t},n)}unschedule({releaseId:e},t){return tv(this.#E,this.#A,{actionType:"sanity.action.release.unschedule",releaseId:e},t)}delete({releaseId:e},t){return tv(this.#E,this.#A,{actionType:"sanity.action.release.delete",releaseId:e},t)}fetchDocuments({releaseId:e},t){return tu(this.#E,this.#A,e,t)}}class t4{#E;#A;constructor(e,t){this.#E=e,this.#A=t}get({releaseId:e},t){return(0,q.s)(ta(this.#E,this.#A,`_.releases.${e}`,t))}async create(e,t){let{action:n,options:r}=t3(e,t),{releaseId:i,metadata:o}=n;return{...await (0,q.s)(tv(this.#E,this.#A,n,r)),releaseId:i,metadata:o}}edit({releaseId:e,patch:t},n){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.edit",releaseId:e,patch:t},n))}publish({releaseId:e},t){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.publish",releaseId:e},t))}archive({releaseId:e},t){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.archive",releaseId:e},t))}unarchive({releaseId:e},t){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.unarchive",releaseId:e},t))}schedule({releaseId:e,publishAt:t},n){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.schedule",releaseId:e,publishAt:t},n))}unschedule({releaseId:e},t){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.unschedule",releaseId:e},t))}delete({releaseId:e},t){return(0,q.s)(tv(this.#E,this.#A,{actionType:"sanity.action.release.delete",releaseId:e},t))}fetchDocuments({releaseId:e},t){return(0,q.s)(tu(this.#E,this.#A,e,t))}}class t6{#E;#A;constructor(e,t){this.#E=e,this.#A=t}getById(e){return tA(this.#E,this.#A,{uri:`/users/${e}`})}}class t8{#E;#A;constructor(e,t){this.#E=e,this.#A=t}getById(e){return(0,q.s)(tA(this.#E,this.#A,{uri:`/users/${e}`}))}}class t9{assets;datasets;live;mediaLibrary;projects;users;agent;releases;
126#S;#A;listen=tB;constructor(e,t=eW){this.config(t),this.#A=e,this.assets=new tN(this,this.#A),this.datasets=new tG(this,this.#A),this.live=new tV(this),this.mediaLibrary={video:new tK(this,this.#A)},this.projects=new tJ(this,this.#A),this.users=new t6(this,this.#A),this.agent={action:new tj(this,this.#A)},this.releases=new t5(this,this.#A)}clone(){return new t9(this.#A,this.config())}config(e){if(void 0===e)return{...this.#S};if(this.#S&&!1===this.#S.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#S=eZ(e,this.#S||{}),this}withConfig(e){let t=this.config();return new t9(this.#A,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,n){return ts(this,this.#A,this.#S.stega,e,t,n)}getDocument(e,t){if(t?.includeAllVersions===!0)return ta(this,this.#A,e,{...t,includeAllVersions:!0});let n={signal:t?.signal,tag:t?.tag,releaseId:t?.releaseId,...t&&"includeAllVersions"in t?{includeAllVersions:!1}:{}};return ta(this,this.#A,e,n)}getDocuments(e,t){return tl(this,this.#A,e,t)}create(e,t){return t_(this,this.#A,e,"create",t)}createIfNotExists(e,t){return tc(this,this.#A,e,t)}createOrReplace(e,t){return td(this,this.#A,e,t)}createVersion({document:e,publishedId:t,releaseId:n,baseId:r,ifBaseRevisionId:i},o){if(!e)return th(this,this.#A,t,r,n,i,o);let s=t2("createVersion",{document:e,publishedId:t,releaseId:n}),a={...e,_id:s},l=t||(0,ed.IM)(e._id);return tf(this,this.#A,a,l,o)}delete(e,t){return tp(this,this.#A,e,t)}discardVersion({releaseId:e,publishedId:t},n,r){let i=t1(t,e);return tg(this,this.#A,i,n,r)}replaceVersion({document:e,publishedId:t,releaseId:n},r){let i=t2("replaceVersion",{document:e,publishedId:t,releaseId:n}),o={...e,_id:i};return tm(this,this.#A,o,r)}unpublishVersion({releaseId:e,publishedId:t},n){let r=(0,ed.ct)(t,e);return ty(this,this.#A,r,t,n)}mutate(e,t){return tb(this,this.#A,e,t)}patch(e,t){return new e8(e,t,this)}transaction(e){return new tn(e,this)}action(e,t){return tv(this,this.#A,e,t)}request(e){return tA(this,this.#A,e)}getUrl(e,t){return tC(this,e,t)}getDataUrl(e,t){return tS(this,e,t)}}class t7{assets;datasets;live;mediaLibrary;projects;users;agent;releases;observable;#S;#A;listen=tB;constructor(e,t=eW){this.config(t),this.#A=e,this.assets=new tF(this,this.#A),this.datasets=new tW(this,this.#A),this.live=new tV(this),this.mediaLibrary={video:new tZ(this,this.#A)},this.projects=new tQ(this,this.#A),this.users=new t8(this,this.#A),this.agent={action:new tM(this,this.#A)},this.releases=new t4(this,this.#A),this.observable=new t9(e,t)}clone(){return new t7(this.#A,this.config())}config(e){if(void 0===e)return{...this.#S};if(this.#S&&!1===this.#S.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),this.#S=eZ(e,this.#S||{}),this}withConfig(e){let t=this.config();return new t7(this.#A,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,n){return(0,q.s)(ts(this,this.#A,this.#S.stega,e,t,n))}getDocument(e,t){if(t?.includeAllVersions===!0)return(0,q.s)(ta(this,this.#A,e,{...t,includeAllVersions:!0}));let n={signal:t?.signal,tag:t?.tag,releaseId:t?.releaseId,...t&&"includeAllVersions"in t?{includeAllVersions:!1}:{}};return(0,q.s)(ta(this,this.#A,e,n))}getDocuments(e,t){return(0,q.s)(tl(this,this.#A,e,t))}create(e,t){return(0,q.s)(t_(this,this.#A,e,"create",t))}createIfNotExists(e,t){return(0,q.s)(tc(this,this.#A,e,t))}createOrReplace(e,t){return(0,q.s)(td(this,this.#A,e,t))}createVersion({document:e,publishedId:t,releaseId:n,baseId:r,ifBaseRevisionId:i},o){if(!e)return(0,ee._)(th(this,this.#A,t,r,n,i,o));let s=t2("createVersion",{document:e,publishedId:t,releaseId:n}),a={...e,_id:s},l=t||(0,ed.IM)(e._id);return(0,ee._)(tf(this,this.#A,a,l,o))}delete(e,t){return(0,q.s)(tp(this,this.#A,e,t))}discardVersion({releaseId:e,publishedId:t},n,r){let i=t1(t,e);return(0,q.s)(tg(this,this.#A,i,n,r))}replaceVersion({document:e,publishedId:t,releaseId:n},r){let i=t2("replaceVersion",{document:e,publishedId:t,releaseId:n}),o={...e,_id:i};return(0,ee._)(tm(this,this.#A,o,r))}unpublishVersion({releaseId:e,publishedId:t},n){let r=(0,ed.ct)(t,e);return(0,q.s)(ty(this,this.#A,r,t,n))}mutate(e,t){return(0,q.s)(tb(this,this.#A,e,t))}patch(e,t){return new e9(e,t,this)}transaction(e){return new tt(e,this)}action(e,t){return(0,q.s)(tv(this,this.#A,e,t))}request(e){return(0,q.s)(tA(this,this.#A,e))}dataRequest(e,t,n){return(0,q.s)(tw(this,this.#A,e,t,n))}getUrl(e,t){return tC(this,e,t)}getDataUrl(e,t){return tS(this,e,t)}}let ne=function(e,t){return{requester:ek(e),createClient:n=>{let r=ek(e,{ignoreWarnings:n.ignoreWarnings});return new t((e,t)=>
126(t||r)({maxRedirects:0,maxRetries:n.maxRetries,retryDelay:n.retryDelay,lineage:n.lineage,...e}),n)}}}([],t7),nt=(ne.requester,ne.createClient)},76292:(e,t,n)=>{"use strict";function r(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}n.d(t,{A:()=>r}),r.displayName="json",r.aliases=["webmanifest"]},76323:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(42557),i=n(62749),o=n(66076),s=n(35856),a=n(35668),l=n(52810),u=Math.min;let c=function(e,t,n){for(var c=n?s.A:o.A,d=e[0].length,f=e.length,h=f,p=Array(f),g=1/0,m=[];h--;){var y=e[h];h&&t&&(y=(0,r.A)(y,(0,a.A)(t))),g=u(y.length,g),p[h]=!n&&(t||d>=120&&y.length>=120)?new i.A(h&&y):void 0}y=e[0];var b=-1,v=p[0];e:for(;++b<d&&m.length<g;){var w=y[b],_=t?t(w):w;if(w=n||0!==w?w:0,!(v?(0,l.A)(v,_):c(m,_,n))){for(h=f;--h;){var x=p[h];if(!(x?(0,l.A)(x,_):c(e[h],_,n)))continue e}v&&v.push(_),m.push(w)}}return m};var d=n(3679),f=n(50972);let h=function(e){return(0,f.A)(e)?e:[]},p=(0,d.A)(function(e){var t=(0,r.A)(e,h);return t.length&&t[0]===e[0]?c(t):[]})},76353:(e,t,n)=>{"use strict";let r=/\s+/g;class i{constructor(e,t){if(t=s(t),e instanceof i)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else return new i(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&g)|(this.options.loose&&m))+":"+e,n=o.get(t);if(n)return n;let r=this.options.loose,i=r?c[d.HYPHENRANGELOOSE]:c[d.HYPHENRANGE];l("hyphen replace",e=e.replace(i,O(this.options.includePrerelease))),l("comparator trim",e=e.replace(c[d.COMPARATORTRIM],f)),l("tilde trim",e=e.replace(c[d.TILDETRIM],h)),l("caret trim",e=e.replace(c[d.CARETTRIM],p));let s=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>T(e,this.options));r&&(s=s.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[d.COMPARATORLOOSE])))),l("range list",s);let u=new Map;for(let e of s.map(e=>new a(e,this.options))){if(y(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");let b=[...u.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof i))throw TypeError("a Range is required");return this.set.some(n=>v(n,t)&&e.set.some(e=>v(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=i;let o=new(n(99908)),s=n(74371),a=n(52376),l=n(44764),u=n(240),{safeRe:c,t:d,comparatorTrimReplace:f,tildeTrimReplace:h,c
126aretTrimReplace:p}=n(82404),{FLAG_INCLUDE_PRERELEASE:g,FLAG_LOOSE:m}=n(36706),y=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},w=(e,t)=>(l("comp",e=e.replace(c[d.BUILD],""),t),l("caret",e=E(e,t)),l("tildes",e=x(e,t)),l("xrange",e=S(e,t)),l("stars",e=I(e,t)),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{let n=t.loose?c[d.TILDELOOSE]:c[d.TILDE];return e.replace(n,(t,n,r,i,o)=>{let s;return l("tilde",e,t,n,r,i,o),_(n)?s="":_(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:_(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(l("replaceTilde pr",o),s=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,l("tilde return",s),s})},E=(e,t)=>e.trim().split(/\s+/).map(e=>A(e,t)).join(" "),A=(e,t)=>{l("caret",e,t);let n=t.loose?c[d.CARETLOOSE]:c[d.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,o,s)=>{let a;return l("caret",e,t,n,i,o,s),_(n)?a="":_(i)?a=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(o)?a="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(l("replaceCaret pr",s),a="0"===n?"0"===i?`>=${n}.${i}.${o}-${s} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${s} <${+n+1}.0.0-0`):(l("no pr"),a="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),l("caret return",a),a})},S=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>C(e,t)).join(" ")),C=(e,t)=>{e=e.trim();let n=t.loose?c[d.XRANGELOOSE]:c[d.XRANGE];return e.replace(n,(n,r,i,o,s,a)=>{l("xRange",e,n,r,i,o,s,a);let u=_(i),c=u||_(o),d=c||_(s);return"="===r&&d&&(r=""),a=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(o=0),s=0,">"===r?(r=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===r&&(r="<",c?i=+i+1:o=+o+1),"<"===r&&(a="-0"),n=`${r+i}.${o}.${s}${a}`):c?n=`>=${i}.0.0${a} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${o}.0${a} <${i}.${+o+1}.0-0`),l("xRange return",n),n})},I=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[d.STAR],"")),T=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),O=e=>(t,n,r,i,o,s,a,l,u,c,d,f)=>(n=_(r)?"":_(i)?`>=${r}.0.0${e?"-0":""}`:_(o)?`>=${r}.${i}.0${e?"-0":""}`:s?`>=${n}`:`>=${n}${e?"-0":""}`,l=_(u)?"":_(c)?`<${+u+1}.0.0-0`:_(d)?`<${u}.${+c+1}.0-0`:f?`<=${u}.${c}.${d}-${f}`:e?`<${u}.${c}.${+d+1}-0`:`<=${l}`,`${n} ${l}`.trim()),R=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(l(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},76462:(e,t,n)=>{var r=n(26745);e.exports=function(e){return e==e&&!r(e)}},76656:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=Array.isArray;function i(e){return 1===e.length&&r(e[0])?e[0]:e}},76716:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(9180),i=n(3177),o=n(4168),s=n(52731),a=n(92118);function l(e,t){let n=(0,a.a)(e,null==t?void 0:t.in);return Math.round(((0,i.b)(n)-function(e,t){let n=(0,s.p)(e,void 0),r=(0,o.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,i.b)(r)}(n))/r.my)+1}},76871:(e,t,n)=>{"use strict";n.d(t,{h:()=>function e(t,n,r=2){if(!n||"object"!=typeof n||r<=0)return n;if(t&&n&&0===Object.keys(n).length)return t;let i={...t};for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(i[t]=e(i[t],n[t],r-1));return i}})},76917:(e,t,n)=>{var r=n(36702),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},77058:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(35582),i=n(79614),o=n(11331),s=Object.prototype,a=Function.prototype.toString,l=s.hasOwnProperty,u=a.call(Object);let c=function(e){if(!(0,o.A)(e)||"[object Object]"!=(0,r.A)(e))return!1;var t=(0,i.A)(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==u}},77095:(e,t,n)=>{"use strict";n.d(t,{Xg:()=>Q,sM:()=>Y,jN:()=>b,ZS:()=>F});var r=n(43291),i=n(95432),o=n(99814);let s=function(e,t){return e<t};
126var a=n(92729),l=n(94942),u=n(63285),c=n(64681),d=n(37121),f=n(74578);let h=c("mutator-document");class p{_value;path;constructor(e,t){this._value=e,this.path=t||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}valueType(){return null===this._value?"null":Array.isArray(this._value)?"array":typeof this._value}get(){return this._value}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(e){return!!Array.isArray(this._value)&&(e>=this.length()?null:new p(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!g(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return g(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!g(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new p(this._value[e],this.path.concat(e)):null}set(e){return e===this._value?this:new p(e,this.path)}setIndex(e,t){if(!Array.isArray(this._value))throw Error("setIndex only applies to arrays");if(Object.is(t,this._value[e]))return this;let n=this._value.slice();return n[e]=t,new p(n,this.path)}setIndexAccessor(e,t){return this.setIndex(e,t.get())}unsetIndices(e){if(!Array.isArray(this._value))throw Error("unsetIndices only applies to arrays");let t=this._value.length,n=[];for(let r=0;r<t;r++)-1===e.indexOf(r)&&n.push(this._value[r]);return new p(n,this.path)}insertItemsAt(e,t){if(!Array.isArray(this._value))throw Error("insertItemsAt only applies to arrays");return new p(0===this._value.length&&0===e?t:this._value.slice(0,e).concat(t).concat(this._value.slice(e)),this.path)}setAttribute(e,t){if(!g(this._value))throw Error("Unable to set attribute of non-object container");return Object.is(t,this._value[e])?this:new p(Object.assign({},this._value,{[e]:t}),this.path)}setAttributeAccessor(e,t){return this.setAttribute(e,t.get())}unsetAttribute(e){if(!g(this._value))throw Error("Unable to unset attribute of non-object container");let t=Object.assign({},this._value);return delete t[e],new p(t,this.path)}}function g(e){return null!==e&&"object"==typeof e}function m(e){return null!==e&&"object"==typeof e}let y=/^[a-z_$]+/;function b(e){let t="";return e.forEach((e,n)=>{var r,i;t+=(r=e,i=0===n,"number"==typeof r?`[${r}]`:m(r)?Object.keys(r).map(e=>!function(e){switch(typeof e){case"number":case"string":case"boolean":return!0;default:return!1}}(r[e])?"":`[${e}=="${r[e]}"]`).join(""):"string"==typeof r&&y.test(r)?i?r:`.${r}`:`['${r}']`)}),t}function v(e){if("path"!==e.type)return[e,null];let t=e.nodes;return 0===t.length?[null,null]:1===t.length?[t[0],null]:[t[0],{type:"path",nodes:t.slice(1)}]}let w=/[0-9]/,_=/^[a-zA-Z0-9_]$/,x=/^[a-zA-Z_]$/,k={operator:["..",".",",",":","?"],comparator:[">=","<=","<",">","==","!="],keyword:["$","@"],boolean:["true","false"],paren:["[","]"]},E=Object.keys(k);class A{source;i;length;tokenizers;constructor(e){this.source=e,this.length=e.length,this.i=0,this.tokenizers=[this.tokenizeSymbol,this.tokenizeIdentifier,this.tokenizeNumber,this.tokenizeQuoted].map(e=>e.bind(this))}tokenize(){let e=[];for(;!this.EOF();){this.chompWhitespace();let t=null;if(!this.tokenizers.some(e=>!!(t=e()))||!t)throw Error(`Invalid tokens in jsonpath '${this.source}' @ ${this.i}`);e.push(t)}return e}takeWhile(e){let t=this.i,n="";for(;!this.EOF();){let t=e(this.source[this.i]);if(null===t)break;n+=t,this.i++}return this.i===t?null:n}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.source[this.i]}consume(e){if(this.i+e.length>this.length)throw Error(`Expected ${e} at end of jsonpath`);if(e===this.source.slice(this.i,this.i+e.length))this.i+=e.length;else throw Error(`Expected "${e}", but source contained "${this.source.slice()}`)}tryConsume(e){if(this.i+e.length>this.length)return null;if(e===this.source.slice(this.i,this.i+e.length)){if(e[0].match(_)&&this.length>this.i+e.length){let t=this.source[this.i+e.length];if(t&&t.match(_))return null}return this.i+=e.length,e}return null}chompWhitespace(){this.takeWhile(e=>" "===e?"":null)}tokenizeQuoted(){let e=this.peek();if("'"===e||'"'===e){this.consume(e);let t=!1,n=this.takeWhile(n=>t?(t=!1,n):"\\"===n?(t=!0,""):n!=e?n:null);return this.consume(e),{type:"quoted",value:n,quote:'"'===e?"double":"single"}}return null}tokenizeIdentifier(){let e=!0,t=this.takeWhile(t=>e?(e=!1,t.match(x)?t:null):t.match(_)?t:null);return null!==t?{type:"identifier",name:t}:null}tokenizeNumber(){let e=this.i,t=!1,n=!1,r=!1;"-"===this.peek()&&(r=!0,this.consume("-"));let i=this.takeWhile(e=>"."===e&&!t&&n?(t=!0,e):(n=!0,e.match(w)?e:null));return null!==i?{type:"number",value:r?-Number(i):+i,raw:r?`-${i}`:i}:(this.i=e,null)}tokenizeSymbol(){for(let e of E){let t=k[e].find(e=>this.tryConsume(e));
126if(t)return{type:e,symbol:t}}return null}}class S{tokens;length;i;constructor(e){this.tokens=new A(e).tokenize(),this.length=this.tokens.length,this.i=0}parse(){return this.parsePath()}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.tokens[this.i]}consume(){let e=this.peek();return this.i+=1,e}probe(e){let t=this.peek();return t&&Object.keys(e).every(n=>n in t&&e[n]===t[n])?t:null}match(e){return this.probe(e)?this.consume():null}parseAttribute(){let e=this.match({type:"identifier"});if(e&&"identifier"===e.type)return{type:"attribute",name:e.name};let t=this.match({type:"quoted",quote:"single"});return t&&"quoted"===t.type?{type:"attribute",name:t.value||""}:null}parseAlias(){return this.match({type:"keyword",symbol:"@"})||this.match({type:"keyword",symbol:"$"})?{type:"alias",target:"self"}:null}parseNumber(){let e=this.match({type:"number"});return e&&"number"===e.type?{type:"number",value:e.value}:null}parseNumberValue(){let e=this.parseNumber();return e?e.value:null}parseSliceSelector(){let e=this.i,t=this.parseNumberValue();if(!this.match({type:"operator",symbol:":"}))return null===t?(this.i=e,null):{type:"index",value:t};let n={type:"range",start:t,end:this.parseNumberValue()};return this.match({type:"operator",symbol:":"})&&(n.step=this.parseNumberValue()),null===n.start&&null===n.end?(this.i=e,null):n}parseValueReference(){return this.parseAttribute()||this.parseSliceSelector()}parseLiteralValue(){let e=this.match({type:"quoted",quote:"double"});if(e&&"quoted"===e.type)return{type:"string",value:e.value||""};let t=this.match({type:"boolean"});return t&&"boolean"===t.type?{type:"boolean",value:"true"===t.symbol}:this.parseNumber()}parseFilterExpression(){let e=this.i,t=this.parseAttribute()||this.parseAlias();if(!t)return null;if(this.match({type:"operator",symbol:"?"}))return{type:"constraint",operator:"?",lhs:t};let n=this.match({type:"comparator"});if(!n||"comparator"!==n.type)return this.i=e,null;let r=this.parseLiteralValue();if(!r)throw Error(`Operator ${n.symbol} needs a literal value at the right hand side`);return{type:"constraint",operator:n.symbol,lhs:t,rhs:r}}parseExpression(){return this.parseFilterExpression()||this.parseValueReference()}parseUnion(){if(!this.match({type:"paren",symbol:"["}))return null;let e=[],t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference();for(;t&&(e.push(t),!this.match({type:"paren",symbol:"]"}));){if(!this.match({type:"operator",symbol:","}))throw Error("Expected ]");if(!(t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference()))throw Error("Expected expression following ','")}return{type:"union",nodes:e}}parseRecursive(){if(!this.match({type:"operator",symbol:".."}))return null;let e=this.parsePath();if(!e)throw Error("Expected path following '..' operator");return{type:"recursive",term:e}}parsePath(){let e=[],t=this.parseAttribute()||this.parseUnion()||this.parseRecursive();if(!t)return null;for(e.push(t);!this.EOF();)if(this.match({type:"operator",symbol:"."})){let t=this.parseAttribute();if(!t)throw Error("Expected attribute name following '.");e.push(t);continue}else if(this.probe({type:"paren",symbol:"["})){let t=this.parseUnion();if(!t)throw Error("Expected union following '['");e.push(t)}else{let t=this.parseRecursive();t&&e.push(t);break}return 1===e.length?e[0]:{type:"path",nodes:e}}}function C(e){let t=new S(e).parse();if(!t)throw Error(`Failed to parse JSON path "${e}"`);return t}function I(e,t){switch(e.type){case"attribute":return e.name;case"alias":return"self"===e.target?"@":"$";case"number":return`${e.value}`;case"range":{let n=[];return t||n.push("["),e.start&&n.push(`${e.start}`),n.push(":"),e.end&&n.push(`${e.end}`),e.step&&n.push(`:${e.step}`),t||n.push("]"),n.join("")}case"index":return t?`${e.value}`:`[${e.value}]`;case"constraint":{let n=e.rhs?` ${I(e.rhs,!1)}`:"",r=`${I(e.lhs,!1)} ${e.operator}${n}`;return t?r:`[${r}]`}case"string":return JSON.stringify(e.value);case"path":{let t=[],n=e.nodes.slice();for(;n.length>0;){let e=n.shift();e&&t.push(I(e,!1));let r=n[0];r&&"["!==I(r,!1)[0]&&t.push(".")}return t.join("")}case"union":return`[${e.nodes.map(e=>I(e,!0)).join(",")}]`;default:throw Error(`Unknown node type ${e.type}`);
126case"recursive":return`..${I(e.term,!1)}`}}class T{expr;constructor(e){if(!e)throw Error("Attempted to create Expression from null-value");if("expr"in e?this.expr=e.expr:this.expr=e,!("type"in this.expr))throw Error("Attempt to create Expression for expression with no type")}isPath(){return"path"===this.expr.type}isUnion(){return"union"===this.expr.type}isCollection(){return this.isPath()||this.isUnion()}isConstraint(){return"constraint"===this.expr.type}isRecursive(){return"recursive"===this.expr.type}isExistenceConstraint(){return"constraint"===this.expr.type&&"?"===this.expr.operator}isIndex(){return"index"===this.expr.type}isRange(){return"range"===this.expr.type}expandRange(e){let t="start"in this.expr&&this.expr.start||0;t=R(t,e);let n="end"in this.expr&&this.expr.end||(()=>{if(!e)throw Error("expandRange() required a probe that was not passed");return e.length()})();return{start:t,end:n=R(n,e),step:"step"in this.expr&&this.expr.step||1}}isAttributeReference(){return"attribute"===this.expr.type}isIndexReference(){return this.isIndex()||this.isRange()}name(){return"name"in this.expr?this.expr.name:""}isSelfReference(){return"alias"===this.expr.type&&"self"===this.expr.target}constraintTargetIsSelf(){return"constraint"===this.expr.type&&"alias"===this.expr.lhs.type&&"self"===this.expr.lhs.target}constraintTargetIsAttribute(){return"constraint"===this.expr.type&&"attribute"===this.expr.lhs.type}testConstraint(e){let t=this.expr;if("constraint"===t.type&&"alias"===t.lhs.type&&"self"===t.lhs.target){if("primitive"!==e.containerType())return!1;if("constraint"===t.type&&"?"===t.operator)return!0;let n=e.get(),r=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return O(n,t.operator,r)}if("constraint"!==t.type)return!1;let n=t.lhs;if(!n)throw Error("No LHS of expression");if("attribute"!==n.type)throw Error(`Constraint target ${n.type} not supported`);if("object"!==e.containerType())return!1;let r=e.getAttribute(n.name);if(null==r||"primitive"!==r.containerType())return!1;if(this.isExistenceConstraint())return!0;let i=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return O(r.get(),t.operator,i)}pathNodes(){return"path"===this.expr.type?this.expr.nodes:[this.expr]}prepend(e){return e?new T({type:"path",nodes:e.pathNodes().concat(this.pathNodes())}):this}concat(e){return e?e.prepend(this):this}descend(){return(function(e){var t,n;let[r,i]=v(e);if(!r)throw Error("Head cannot be null");return t=r,n=i,"union"!==t.type?[[t,n]]:t.nodes.map(e=>{if("path"===e.type){let[t,r]=v(e);return[t,function(e,t){if(!e&&!t)return null;let n=e?e.nodes:[],r=t?t.nodes:[];return{type:"path",nodes:n.concat(r)}}(r,n)]}return[e,n]})})(this.expr).map(e=>{let[t,n]=e;return{head:t?new T(t):null,tail:n?new T(n):null}})}unwrapRecursive(){if("recursive"!==this.expr.type)throw Error(`Attempt to unwrap recursive on type ${this.expr.type}`);return new T(this.expr.term)}toIndicies(e){if("index"!==this.expr.type&&"range"!==this.expr.type)throw Error("Node cannot be converted to indexes");if("index"===this.expr.type)return[R(this.expr.value,e)];let t=[],n=this.expandRange(e),{start:r,end:i}=n;n.step<0&&([r,i]=[i,r]);for(let e=r;e<i;e++)t.push(e);return t}toFieldReferences(){if(this.isIndexReference())return this.toIndicies();if("attribute"===this.expr.type)return[this.expr.name];throw Error(`Can't convert ${this.expr.type} to field references`)}toString(){return I(this.expr,!1)}static fromPath(e){let t=C(e);if(!t)throw Error(`Failed to parse path "${e}"`);return new T(t)}static attributeReference(e){return new T({type:"attribute",name:e})}static indexReference(e){return new T({type:"index",value:e})}}function O(e,t,n){switch(t){case">":return e>n;case">=":return e>=n;case"<":return e<n;case"<=":return e<=n;case"==":return e===n;case"!=":return e!==n;default:throw Error(`Unsupported binary operator ${t}`)}}function R(e,t){if(e>=0)return e;if(!t)throw Error("interpretNegativeIndex() must have a probe when < 0");return e+t.length()}class D{head;tail;constructor(e,t){this.head=e,this.tail=t}iterate(e){let t=[this];if(this.head&&this.head.isConstraint()){let n=!0;for(;n;)n=(t=(0,r.A)(t.map(t=>t.iterateConstraints(e)))).some(e=>e.head&&e.head.isConstraint())}return t}isRecursive(){return!!(this.head&&this.head.isRecursive())}hasArrived(){return null===this.head&&null===this.tail}extractRecursives(){return this.head&&this.head.isRecursive()?new D(null,this.head.unwrapRecursive().concat(this.tail)).descend():[]}iterateConstraints(e){let t=this.head;if(null===t||!t.isConstraint())return[this];let n=[];if("primitive"===e.containerType()&&t.constraintTargetIsSelf())return t.testConstraint(e)&&n.push(...this.descend()),n;if("array"===e.containerType()){let r=e.length();for(let i=0;i<r;i++){let r=e.getIndex(i);r&&t.testConstraint(r)&&n.push(new D(new T({type:"index",value:i}),this.tail))}return n}return"object"===e.containerType()?t.constraintTargetIsSelf()?[]:t.testConstraint(e)?this.descend():n:n}
126descend(){return this.tail?this.tail.descend().map(e=>new D(e.head,e.tail)):[new D(null,null)]}toString(){let e=["<"];return this.head&&e.push(this.head.toString()),e.push("|"),this.tail&&e.push(this.tail.toString()),e.push(">"),e.join("")}}class j{active;recursives;payload;constructor(e,t){this.active=e||[],t?(this.recursives=t.recursives,this.payload=t.payload):this.recursives=[],this.extractRecursives()}setPayload(e){return this.payload=e,this}extractRecursives(){this.active=this.active.filter(e=>!e.isRecursive()||(this.recursives.push(...e.extractRecursives()),!1))}activeRecursives(e){return this.recursives.filter(t=>{let n=t.head;return!!n&&(!!(n.isConstraint()||"array"===e.containerType()&&n.isIndexReference())||"object"===e.containerType()&&n.isAttributeReference()&&e.hasAttribute(n.name()))})}match(e){return this.iterate(e).extractMatches(e)}iterate(e){let t=[];return this.active.concat(this.activeRecursives(e)).forEach(n=>{t.push(...n.iterate(e))}),new j(t,this)}isDestination(){return this.active.some(e=>e.hasArrived())}hasRecursives(){return this.recursives.length>0}extractMatches(e){let t=[],n=[];if(this.active.forEach(r=>{if(r.hasArrived())return void n.push(new T({type:"alias",target:"self"}));let i=r.head;if(i&&!("array"===e.containerType()&&!i.isIndexReference())&&!("object"===e.containerType()&&!i.isAttributeReference()))if(r.tail){let e=new j(r.descend(),this);i.toFieldReferences().forEach(()=>{t.push({target:i,matcher:e})})}else n.push(i)}),this.hasRecursives()){let n=new j([],this);if("array"===e.containerType()){let r=e.length();for(let e=0;e<r;e++)t.push({target:T.indexReference(e),matcher:n})}else"object"===e.containerType()&&e.attributeKeys().forEach(e=>{t.push({target:T.attributeReference(e),matcher:n})})}return n.length>0?{leads:t,delivery:{targets:n,payload:this.payload}}:{leads:t}}static fromPath(e){let t=C(e);if(!t)throw Error(`Failed to parse path from "${e}"`);return new j(new D(null,new T(t)).descend())}}class M{_value;path;constructor(e,t){this._value=e,this.path=t||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(e){return!!Array.isArray(this._value)&&(e>=this.length()?null:new M(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!m(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return m(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!m(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new M(this._value[e],this.path.concat(e)):null}get(){return this._value}}function N(e,t){let n=[];if(e.isIndexReference())e.toIndicies(t).forEach(e=>{n.push(t.getIndex(e))});else if(e.isAttributeReference())n.push(t.getAttribute(e.name()));else if(e.isSelfReference())n.push(t);else throw Error(`Unable to derive accessor for target ${e.toString()}`);return(0,i.A)(n)}function F(e,t){return(function(e,t){let n=[];return function e(t,n){let{leads:r,delivery:i}=t.match(n);r.forEach(t=>{N(t.target,n).forEach(n=>{e(t.matcher,n)})}),i&&i.targets.forEach(e=>{"function"==typeof i.payload&&i.payload(N(e,n))})}(j.fromPath(e).setPayload(function(e){n.push(...e)}),new M(t)),n})(e,t).map(e=>({path:e.path,value:e.get()}))}function $(e,t){if("string"!=typeof t)return t;let[n]=(0,d.$i)(e,t,{allowExceedingIndices:!0});return n}class P{path;dmpPatch;id;constructor(e,t,n){this.id=e,this.path=t,this.dmpPatch=(0,d.iz)(n)}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(let r of e){if(r.isIndexReference()){for(let e of r.toIndicies(t)){let t=n.getIndex(e);if(!t)continue;let r=t.get(),i=$(this.dmpPatch,r);n=n.setIndex(e,i)}continue}if(r.isAttributeReference()&&n.hasAttribute(r.name())){let e=n.getAttribute(r.name());if(!e)continue;let t=e.get(),i=$(this.dmpPatch,t);n=n.setAttribute(r.name(),i);continue}throw Error(`Unable to apply diffMatchPatch to target ${r.toString()}`)}return n}}function L(e,t){return"number"==typeof e&&Number.isFinite(e)?e+t:e}class z{path;value;id;constructor(e,t,n){this.path=t,this.value=n,this.id=e}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(let r of e){if(r.isIndexReference()){for(let e of r.toIndicies(t)){let t=n.getIndex(e);if(!t)continue;let r=t.get();n=n.setIndex(e,L(r,this.value))}continue}if(r.isAttributeReference()){let e=n.getAttribute(r.name());if(!e)continue;let t=e.get();n=n.setAttribute(r.name(),L(t,this.value));continue}throw Error(`Unable to apply to target ${r.toString()}`)}return n}}function U(e,t){let n=[];
126return e.forEach(e=>{e.isIndexReference()&&n.push(...e.toIndicies(t))}),n.sort((e,t)=>e-t)}class B{location;path;items;id;constructor(e,t,n,r){this.id=e,this.location=t,this.path=n,this.items=r}apply(e,t){var n,r,i,u;let c=t;if("array"!==t.containerType()){let e=t.valueType();throw Error(`Attempt to apply insert patch to value of type "${e}" at path "${t.path.join(" â ")}"`)}switch(this.location){case"before":{let i,l=(i=((r=U(n=e,t))&&r.length?(0,o.A)(r,a.A,s):void 0)||0,n.forEach(e=>{if(e.isRange()){let{start:t}=e.expandRange();t<i&&(i=t)}}),i);c=c.insertItemsAt(l,this.items);break}case"after":{let n,r=(i=e,u=t,n=(0,l.A)(U(i,u))||0,i.forEach(e=>{if(e.isRange()){let{end:t}=e.expandRange();t>n&&(n=t)}}),n);c=c.insertItemsAt(r+1,this.items);break}case"replace":{let n=U(e,t);c=(c=c.unsetIndices(n)).insertItemsAt(n[0],this.items);break}default:throw Error(`Unsupported location atm: ${this.location}`)}return c}}class q{id;path;value;constructor(e,t,n){this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;return e.forEach(e=>{if(!e.isIndexReference())if(e.isAttributeReference())"primitive"===n.containerType()?n=n.set({[e.name()]:this.value}):n.hasAttribute(e.name())||(n=t.setAttribute(e.name(),this.value));else throw Error(`Unable to apply to target ${e.toString()}`)}),n}}class V{id;path;value;constructor(e,t,n){this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;return e.forEach(e=>{if(e.isSelfReference())n=n.set(this.value);else if(e.isIndexReference())e.toIndicies(t).forEach(e=>{n=n.setIndex(e,this.value)});else if(e.isAttributeReference())n="primitive"===n.containerType()?n.set({[e.name()]:this.value}):n.setAttribute(e.name(),this.value);else throw Error(`Unable to apply to target ${e.toString()}`)}),n}}class H{id;path;value;constructor(e,t){this.id=e,this.path=t}apply(e,t){let n=t;switch(t.containerType()){case"array":n=n.unsetIndices(U(e,t));break;case"object":e.forEach(e=>{n=n.unsetAttribute(e.name())});break;default:throw Error("Target value is neither indexable or an object. This error should potentially just be silently ignored?")}return n}}class G{patches;constructor(e){this.patches=function e(t){let n=[];if(Array.isArray(t))return t.reduce((t,n)=>t.concat(e(n)),n);
126let{set:r,setIfMissing:i,unset:o,diffMatchPatch:s,inc:a,dec:l,insert:u}=t;if(i&&Object.keys(i).forEach(e=>{n.push(new q(t.id,e,i[e]))}),r&&Object.keys(r).forEach(e=>{n.push(new V(t.id,e,r[e]))}),o&&o.forEach(e=>{n.push(new H(t.id,e))}),s&&Object.keys(s).forEach(e=>{n.push(new P(t.id,e,s[e]))}),a&&Object.keys(a).forEach(e=>{n.push(new z(t.id,e,a[e]))}),l&&Object.keys(l).forEach(e=>{n.push(new z(t.id,e,-l[e]))}),u){let e,r;if("before"in u)e="before",r=u.before;else if("after"in u)e="after",r=u.after;else if("replace"in u)e="replace",r=u.replace;else throw Error("Invalid insert patch");n.push(new B(t.id,e,r,u.items))}return n}(e)}apply(e){let t=new p(e);return this.applyViaAccessor(t).get()}applyViaAccessor(e){let t=e,n=e.getAttribute("_id");if(!n)throw Error("Cannot apply patch to document with no _id");let r=n.get();for(let e of this.patches)e.id===r&&(t=function e(t,n){var r;let i=t.payload instanceof V||t.payload instanceof q,o=n,{leads:s,delivery:a}=t.match(n);return s.forEach(t=>{if(t.target.isIndexReference())t.target.toIndicies().forEach(n=>{let r=o.getIndex(n);if(!r)throw Error("Index out of bounds");o=o.setIndexAccessor(n,e(t.matcher,r))});else if(t.target.isAttributeReference()){i&&"primitive"===o.containerType()&&(o=o.set({}));let n=o.getAttribute(t.target.name());if(!n&&i&&(n=(o=o.setAttribute(t.target.name(),{})).getAttribute(t.target.name())),!n)return;let r=e(t.matcher,n);n!==r&&(o=o.setAttributeAccessor(t.target.name(),r))}else throw Error(`Unable to handle target ${t.target.toString()}`)}),a&&(r=a.payload)&&"object"==typeof r&&null!==r&&"apply"in r&&"function"==typeof r.apply&&(o=a.payload.apply(a.targets,o)),o}(j.fromPath(e.path).setPayload(e),t));return t}}let W=f.A;class Y{params;compiled;_appliesToMissingDocument;constructor(e){this.params=e}get transactionId(){return this.params.transactionId}get transition(){return this.params.transition}get identity(){return this.params.identity}get previousRev(){return this.params.previousRev}get resultRev(){return this.params.resultRev}get mutations(){return this.params.mutations}get timestamp(){if("string"==typeof this.params.timestamp)return new Date(this.params.timestamp)}get effects(){return this.params.effects}assignRandomTransactionId(){this.params.transactionId=W(),this.params.resultRev=this.params.transactionId}appliesToMissingDocument(){if("u">typeof this._appliesToMissingDocument)return this._appliesToMissingDocument;let e=this.mutations[0];return e?this._appliesToMissingDocument=!!(e.create||e.createIfNotExists||e.createOrReplace):this._appliesToMissingDocument=!0,this._appliesToMissingDocument}compile(){let e=[],t=e=>e?._createdAt||this.params.timestamp||new Date().toISOString();this.mutations.forEach(n=>{if(n.create){let r=n.create||{};e.push(e=>e||Object.assign(r,{_createdAt:t(r)}));return}if(n.createIfNotExists){let r=n.createIfNotExists||{};e.push(e=>null===e?Object.assign(r,{_createdAt:t(r)}):e);return}if(n.createOrReplace){let r=n.createOrReplace||{};e.push(()=>Object.assign(r,{_createdAt:t(r)}));return}if(n.delete)return void e.push(()=>null);if(n.patch){if("query"in n.patch)return;let t=new G(n.patch);e.push(e=>t.apply(e));return}throw Error(`Unsupported mutation ${JSON.stringify(n,null,2)}`)}),"string"==typeof this.params.timestamp&&e.push(e=>e?Object.assign(e,{_updatedAt:this.params.timestamp}):null);let n=this.previousRev,r=this.resultRev||this.transactionId;this.compiled=t=>{if(n&&t&&n!==t._rev)throw Error(`Previous revision for this mutation was ${n}, but the document revision is ${t._rev}`);let i=t;for(let t of e)i=t(i);return i&&r&&(i===t&&(i=Object.assign({},t)),i._rev=r),i}}apply(e){h("Applying mutation %O to document %O",this.mutations,e),this.compiled||this.compile();let t=this.compiled(e);return h(" => %O",t),t}static applyAll(e,t){return t.reduce((e,t)=>t.apply(e),e)}static squash(e,t){return new Y({mutations:t.reduce((e,t)=>e.concat(...t.mutations),[])})}}class K{incoming=[];submitted=[];pending=[];HEAD;EDGE;onRebase;onMutation;onConsistencyChanged;onRemoteMutation;inconsistentAt=null;lastStagedAt=null;constructor(e){this.reset(e),this.HEAD=e,this.EDGE=e}reset(e){this.incoming=[],this.submitted=[],this.pending=[],this.inconsistentAt=null,this.HEAD=e,this.EDGE=e,this.considerIncoming(),this.updateConsistencyFlag()}arrive(e){this.incoming.push(e),this.considerIncoming(),this.updateConsistencyFlag()}stage(e,t){if(!e.transactionId)throw Error("Mutations _must_ have transactionId when submitted");this.lastStagedAt=new Date,h("Staging mutation %s (pushed to pending)",e.transactionId),this.pending.push(e),this.EDGE=e.apply(this.EDGE),this.onMutation&&!t&&this.onMutation({mutation:e,document:this.EDGE,remote:!1});let n=e.transactionId;return this.updateConsistencyFlag(),{success:()=>{this.pendingSuccessfullySubmitted(n),this.updateConsistencyFlag()},failure:()=>{this.pendingFailed(n),this.updateConsistencyFlag()}}}isConsistent(){return!this.inconsistentAt}considerIncoming(){let e=!1,t,n=[];if(this.HEAD&&this.HEAD._updatedAt){let e=new Date(this.HEAD._updatedAt);this.incoming.find(t=>t.timestamp&&t.timestamp<e)&&(this.incoming=this.incoming.filter(t=>t.timestamp&&t.timestamp<e))}let r=0;do{if(this.HEAD){let e=this.HEAD;t=e._rev?this.incoming.find(t=>t.previousRev===e._rev):void 0}else t=this.incoming.find(e=>e.appliesToMissingDocument());if(t){let i=this.applyIncoming(t);if((e=e||i)&&n.push(t),r++>10)throw Error(`Mutator stuck flushing incoming mutations. Probably stuck here: ${JSON.stringify(t)}`)}}while(t);this.incoming.length>0&&h.enabled&&h("Unable to apply mutations %s",this.incoming.map(e=>e.transactionId).join(", ")),e&&this.rebase(n)}updateConsistencyFlag(){let e=this.isConsistent(),t=0===this.pending.length&&0===this.submitted.length&&0===this.incoming.length;t?this.inconsistentAt=null:this.inconsistentAt||(this.inconsistentAt=new Date),e!=t&&this.onConsistencyChanged&&(h(t?"Buffered document is inconsistent":"Buffered document is consistent"),this.onConsistencyChanged(t))}applyIncoming(e){if(!e)return!1;if(!e.transactionId)throw Error("Received incoming mutation without a transaction ID");if(h("Applying mutation %s -> %s to rev %s",e.previousRev,e.resultRev,this.HEAD&&this.HEAD._rev),this.HEAD=e.apply(this.HEAD),this.onRemoteMutation&&this.onRemoteMutation(e),this.incoming=this.incoming.filter(t=>t.transactionId!==e.transactionId),this.hasUnresolvedMutations()){let t=this.consumeUnresolved(e.transactionId);return h.enabled&&(h(`Incoming mutation ${e.transactionId} appeared while there were pending or submitted local mutations`),h(`Submitted txnIds: ${this.submitted.map(e=>e.transactionId).join(", ")}`),h(`Pending txnIds: ${this.pending.map(e=>e.transactionId).join(", ")}`),h("needRebase === %s",t)),t}return h("Remote mutation %s arrived w/o any pending or submitted local mutations",e.transactionId),this.EDGE=this.HEAD,this.onMutation&&this.onMutation({mutation:e,document:this.EDGE,remote:!0}),!1}hasUnresolvedMutations(){return this.submitted.length>0||this.pending.length>0}consumeUnresolved(e){if(0===this.submitted.length&&0===this.pending.length)return!1;if(0!==this.submitted.length){if(this.submitted[0].transactionId===e)return h("Remote mutation %s matches upcoming submitted mutation, consumed from 'submitted' buffer",e),this.submitted.shift(),!1}else if(this.pending.length>0&&this.pending[0].transactionId===e)return h("Remote mutation %s matches upcoming pending mutation, consumed from 'pending' buffer",e),this.pending.shift(),!1;return h("The mutation was not the upcoming mutation, scrubbing. Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),this.submitted=this.submitted.filter(t=>t.transactionId!==e),this.pending=this.pending.filter(t=>t.transactionId!==e),h("After scrubbing: Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),!0}pendingSuccessfullySubmitted(e){let t;if(0===this.pending.length)return;let n=this.pending[0];if(n.transactionId===e){this.pending.shift(),this.submitted.push(n);return}let r=[];this.pending.forEach(n=>{if(n.transactionId===e){t=n;return}r.push(n)}),t&&this.submitted.push(t),this.pending=r,this.rebase([])}pendingFailed(e){this.pending=this.pending.filter(t=>t.transactionId!==e),this.rebase([])}rebase(e){let t=this.EDGE;this.EDGE=Y.applyAll(this.HEAD,this.submitted.concat(this.pending)),null!==t&&null!==this.EDGE&&(t._rev=this.EDGE._rev),!(0,u.A)(this.EDGE,t)&&this.onRebase&&this.onRebase(this.EDGE,e,this.pending)}}class Z{BASIS;PRESTAGE;setOperations;documentPresent;out=[];staged;constructor(e){e?h("Reset mutation buffer to rev %s",e._rev):h("Reset mutation buffer state to document being deleted"),this.staged=[],this.setOperations={},this.documentPresent=!1,this.BASIS=e,this.PRESTAGE=e}
126add(e){e.mutations.forEach(e=>this.addOperation(e))}hasChanges(){return this.out.length>0||Object.keys(this.setOperations).length>0}purge(e){this.stashStagedOperations();let t=null;return this.out.length>0&&(h("Purged mutation buffer"),t=new Y({mutations:this.out,resultRev:e,transactionId:e})),this.out=[],this.documentPresent=!1,t}addOperation(e){if(e.patch&&e.patch.set&&"id"in e.patch&&e.patch.id===this.PRESTAGE?._id&&2===Object.keys(e.patch).length){let t=e.patch.set,n={};for(let e of Object.keys(t))t.hasOwnProperty(e)&&(this.optimiseSetOperation(e,t[e])||(n[e]=t[e]));Object.keys(n).length>0&&(h("Unoptimizable set-operation detected, purging optimization buffer"),this.staged.push({patch:{id:this.PRESTAGE._id,set:n}}),this.stashStagedOperations());return}if(e.createIfNotExists&&this.PRESTAGE&&e.createIfNotExists._id===this.PRESTAGE._id){this.documentPresent||(this.staged.push(e),this.documentPresent=!0,this.stashStagedOperations());return}h("Unoptimizable mutation detected, purging optimization buffer"),this.staged.push(e),this.stashStagedOperations()}optimiseSetOperation(e,t){if("object"==typeof t)return!1;let n=F(e,this.PRESTAGE);if(1!==n.length)return!1;let r=n[0];if("object"==typeof r.value||!this.PRESTAGE)return!1;let i=null;if(r.value===t)i=null;else if("string"==typeof r.value&&"string"==typeof t)try{let n=(0,d.w1)((0,d.jW)(r.value,t));i={patch:{id:this.PRESTAGE._id,diffMatchPatch:{[e]:n}}}}catch{return!1}else i={patch:{id:this.PRESTAGE._id,set:{[e]:t}}};let o=b(r.path);return i?this.setOperations[o]=i:delete this.setOperations[o],!0}stashStagedOperations(){let e=[];Object.keys(this.setOperations).forEach(t=>{let n=this.setOperations[t];n&&e.push(n)}),e.push(...this.staged),e.length>0&&(this.PRESTAGE=new Y({mutations:e}).apply(this.PRESTAGE),this.staged=[],this.setOperations={}),this.out.push(...e)}rebase(e){return this.stashStagedOperations(),null===e?(this.out=[],this.BASIS=e,this.PRESTAGE=e,this.documentPresent=!1):(this.BASIS=e,this.out?this.PRESTAGE=new Y({mutations:this.out}).apply(this.BASIS):this.PRESTAGE=this.BASIS),this.PRESTAGE}}class X{mutations;tries;resolve;reject;
126constructor(e,{resolve:t,reject:n}){this.mutations=e,this.tries=0,this.resolve=t,this.reject=n}apply(e){return Y.applyAll(e,this.mutations)}squash(e){let t=Y.squash(e,this.mutations);return t.assignRandomTransactionId(),t}}let J=(e,t)=>e.concat(t.mutations);class Q{mutations;document;LOCAL;commits;buffer;onMutation;onRemoteMutation;onRebase;onDelete;onConsistencyChanged;commitHandler;committerRunning=!1;constructor(e){this.buffer=new Z(e),this.document=new K(e),this.document.onMutation=e=>this.handleDocMutation(e),this.document.onRemoteMutation=e=>this.onRemoteMutation&&this.onRemoteMutation(e),this.document.onRebase=(e,t,n)=>this.handleDocRebase(e,t,n),this.document.onConsistencyChanged=e=>this.handleDocConsistencyChanged(e),this.LOCAL=e,this.mutations=[],this.commits=[]}reset(e){e?h("Document state reset to revision %s",e._rev):h("Document state reset to being deleted"),this.document.reset(e),this.rebase([],[]),this.handleDocConsistencyChanged(this.document.isConsistent())}add(e){this.onConsistencyChanged&&this.onConsistencyChanged(!1),h("Staged local mutation"),this.buffer.add(e);let t=this.LOCAL;this.LOCAL=e.apply(this.LOCAL),this.onMutation&&t!==this.LOCAL&&(h("onMutation fired"),this.onMutation({mutation:e,document:this.LOCAL,remote:!1}),null===this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL))}arrive(e){if(h("Remote mutation arrived %s -> %s",e.previousRev,e.resultRev),e.previousRev===e.resultRev)throw Error(`Mutation ${e.transactionId} has previousRev === resultRev (${e.previousRev})`);return this.document.arrive(e)}commit(){return new Promise((e,t)=>{if(!this.buffer.hasChanges())return void e();h("Committing local changes");let n=this.buffer.purge();this.commits.push(new X(n?[n]:[],{resolve:e,reject:t})),this.buffer=new Z(this.LOCAL),this.performCommits()})}performCommits(){if(!this.commitHandler)throw Error("No commitHandler configured for this BufferedDocument");this.committerRunning||this._cycleCommitter()}_cycleCommitter(){let e=this.commits.shift();if(!e){this.committerRunning=!1;return}this.committerRunning=!0;let t=e.squash(this.LOCAL),n=this.document.stage(t,!0),r=()=>{h("Commit succeeded"),n.success(),e.resolve(),this._cycleCommitter()},i=()=>{h("Commit failed"),e.tries+=1,null!==this.LOCAL&&this.commits.unshift(e),n.failure(),e.tries<200&&setTimeout(()=>this._cycleCommitter(),Math.min(1e3*e.tries,6e4))},o=e=>{this.commits.forEach(t=>t.reject(e)),this.commits=[],this.reset(this.document.HEAD),this.buffer=new Z(this.LOCAL),this.committerRunning=!1};h("Posting commit"),this.commitHandler&&this.commitHandler({mutation:t,success:r,failure:i,cancel:o})}handleDocRebase(e,t,n){this.rebase(t,n)}handleDocumentDeleted(){h("Document deleted"),null!==this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL),this.commits=[],this.mutations=[]}handleDocMutation(e){if(0===this.commits.length&&!this.buffer.hasChanges()){h("Document mutated from remote with no local changes"),this.LOCAL=this.document.EDGE,this.buffer=new Z(this.LOCAL),this.onMutation&&this.onMutation(e);return}h("Document mutated from remote with local changes"),null===this.document.EDGE&&this.handleDocumentDeleted(),this.rebase([e.mutation],[])}rebase(e,t){h("Rebasing document"),null===this.document.EDGE&&this.handleDocumentDeleted();let n=this.LOCAL;this.LOCAL=this.commits.reduce((e,t)=>t.apply(e),this.document.EDGE),this.LOCAL=this.buffer.rebase(this.LOCAL),null!==n&&null!==this.LOCAL&&(n._rev=this.LOCAL._rev),!(0,u.A)(this.LOCAL,n)&&this.onRebase&&this.onRebase(this.LOCAL,e.reduce(J,[]),t.reduce(J,[]))}handleDocConsistencyChanged(e){if(!this.onConsistencyChanged)return;let t=this.commits.length>0||this.buffer.hasChanges();e&&!t&&this.onConsistencyChanged(!0),e||this.onConsistencyChanged(!1)}}},77133:(e,t,n)=>{"use strict";n.d(t,{W:()=>function e(t){return(0,o.N)(function(n,o){var s,a=null,l=!1;a=n.subscribe((0,i._)(o,void 0,void 0,function(i){s=(0,r.Tg)(t(i,e(t)(n))),a?(a.unsubscribe(),a=null,s.subscribe(o)):l=!0})),l&&(a.unsubscribe(),a=null,s.subscribe(o))})}});var r=n(8286),i=n(28400),o=n(96948)},77163:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{D:()=>r})},77241:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(71450),i=n(8286),o=n(31536),s=n(28786),a=n(96948);function l(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new o.B}:t,r=e.resetOnError,l=void 0===r||r,c=e.resetOnComplete,d=void 0===c||c,f=e.resetOnRefCountZero,h=void 0===f||f;return function(e){var t,r,o,c=0,f=!1,p=!1,g=function(){null==r||r.unsubscribe(),r=void 0},m=function(){g(),t=o=void 0,f=p=!1},y=function(){var e=t;m(),null==e||e.unsubscribe()};return(0,a.N)(function(e,a){c++,p||f||g();var b=o=null!=o?o:n();a.add(function(){0!=--c||p||f||(r=u(y,h))}),b.subscribe(a),!t&&c>0&&(t=new s.Ms({next:function(e){return b.next(e)},error:function(e){p=!0,g(),r=u(m,l,e),b.error(e)},complete:function(){f=!0,g(),r=u(m,d),b.complete()}}),(0,i.Tg)(e).subscribe(t))})(e)}}function u(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(!0===t)return void e();if(!1!==t){var a=new s.Ms({next:function(){a.unsubscribe(),e()}});return(0,i.Tg)(t.apply(void 0,(0,r.fX)([],(0,r.zs)(n)))).subscribe(a)}}},77391:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(16405),i=n(33476),o=n(59027),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;let d=function(e){if("number"==typeof e)return e;if((0,o.A)(e))return s;if((0,i.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.A)(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?s:+e}}
126,77852:(e,t,n)=>{var r=n(38185);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},77859:(e,t,n)=>{"use strict";function r(e,t,n){let r,i=n.initialDeps??[],o=!0;function s(){var s,a,l;let u,c;n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return r;if(i=d,n.key&&(null==(a=n.debug)?void 0:a.call(n))&&(c=Date.now()),r=t(...d),n.key&&(null==(l=n.debug)?void 0:l.call(n))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${i(t,5)} /${i(e,5)} ms`,` 127 font-size: .6rem; 128 font-weight: bold; 129 color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return(null==n?void 0:n.onChange)&&!(o&&n.skipInitialOnChange)&&n.onChange(r),o=!1,r}return s.updateDeps=e=>{i=e},s}function i(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}n.d(t,{YV:()=>p,vp:()=>a,Ox:()=>h,AO:()=>d,T6:()=>l});let o=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},s=e=>e,a=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},l=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(o(n)),!r.ResizeObserver)return()=>{};let s=new r.ResizeObserver(t=>{let r=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(o(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return s.observe(n,{box:"border-box"}),()=>{s.unobserve(n)}},u={passive:!0},c="undefined"==typeof window||"onscrollend"in window,d=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=0,o=e.options.useScrollendEvent&&c?()=>void 0:((e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}})(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),s=r=>()=>{let{horizontal:s,isRtl:a}=e.options;i=s?n.scrollLeft*(a&&-1||1):n.scrollTop,o(),t(i,r)},a=s(!0),l=s(!1);n.addEventListener("scroll",a,u);let d=e.options.useScrollendEvent&&c;return d&&n.addEventListener("scrollend",l,u),()=>{n.removeEventListener("scroll",a),d&&n.removeEventListener("scrollend",l)}},f=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},h=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;null==(o=null==(i=r.scrollElement)?void 0:i.scrollTo)||o.call(i,{[r.options.horizontal?"left":"top"]:e+t,behavior:n})};class p{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.currentScrollToIndex=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:s,rangeExtractor:a,onChange:()=>{},measureElement:f,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=r(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>
129{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let o=r.get(t.lane);if(null==o||t.end>o.end?r.set(t.lane,t):t.end<o.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=r(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(e,t,n,r,i,o)=>(void 0!==this.prevLanes&&this.prevLanes!==o&&(this.lanesChangedFlag=!0),this.prevLanes=o,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:o}),{key:!1}),this.getMeasurements=r(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:o},s)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let a=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);let l=this.measurementsCache.slice(0,a),u=Array(o).fill(void 0);for(let e=0;e<a;e++){let t=l[e];t&&(u[t.lane]=e)}for(let i=a;i<e;i++){let e,o,a=r(i),c=this.laneAssignments.get(i);if(void 0!==c&&this.options.lanes>1){let r=u[e=c],i=void 0!==r?l[r]:void 0;o=i?i.end+this.options.gap:t+n}else{let r=1===this.options.lanes?l[i-1]:this.getFurthestMeasurement(l,i);o=r?r.end+this.options.gap:t+n,e=r?r.lane:i%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(i,e)}let d=s.get(a),f="number"==typeof d?d:this.options.estimateSize(i),h=o+f;l[i]={index:i,start:o,size:f,end:h,key:a,lane:e},u[e]=i}return this.measurementsCache=l,l},{key:!1,debug:()=>this.options.debug}),this.calculateRange=r(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){let i=e.length-1;if(e.length<=r)return{startIndex:0,endIndex:i};let o=g(0,i,t=>e[t].start,n),s=o;if(1===r)for(;s<i&&e[s].end<n+t;)s++;else if(r>1){let a=Array(r).fill(0);for(;s<i&&a.some(e=>e<n+t);){let t=e[s];a[t.lane]=t.end,s++}let l=Array(r).fill(n+t);for(;o>=0&&l.some(e=>e>=n);){let t=e[o];l[t.lane]=t.start,o--}o=Math.max(0,o-o%r),s=Math.min(i,s+(r-1-s%r))}return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n,lanes:r}):null,{key:!1,debug:()=>this.options.debug}
129),this.getVirtualIndexes=r(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,i)=>null===r||null===i?[]:e({startIndex:r,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;let i=r.key,o=this.elementsCache.get(i);o!==e&&(o&&this.observer.unobserve(o),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let n=this.measurementsCache[e];if(!n)return;let r=t-(this.itemSizeCache.get(n.key)??n.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});this._measureElement(e,void 0)},this.getVirtualItems=r(()=>
129[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return i(t[g(0,t.length-1,e=>i(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;let r=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+r?"end":"start"),"center"===t?e+=(n-r)/2:"end"===t&&(e-=r),Math.max(Math.min(this.getMaxScrollOffset(),e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let r=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(n.end>=i+r-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let o="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,t,n.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1)),this.currentScrollToIndex=e;let r=0,i=t=>{if(!this.targetWindow)return;let r=this.getOffsetForIndex(e,t);if(!r)return void console.warn("Failed to get offset for index:",e);let[i,s]=r;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.targetWindow.requestAnimationFrame(()=>{let t=()=>{if(this.currentScrollToIndex!==e)return;let t=this.getScrollOffset(),n=this.getOffsetForIndex(e,s);if(!n)return void console.warn("Failed to get offset for index:",e);1.01>Math.abs(n[0]-t)||o(s)};this.isDynamicMode()?this.targetWindow.requestAnimationFrame(t):t()})},o=t=>{this.targetWindow&&this.currentScrollToIndex===e&&(++r<10?this.targetWindow.requestAnimationFrame(()=>i(t)):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
129stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t,n=this.getMeasurements();if(0===n.length)t=this.options.paddingStart;else if(1===this.options.lanes)t=(null==(e=n[n.length-1])?void 0:e.end)??0;else{let e=Array(this.options.lanes).fill(null),r=n.length-1;for(;r>=0&&e.some(e=>null===e);){let t=n[r];null===e[t.lane]&&(e[t.lane]=t.end),r--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}}let g=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else{if(!(o>r))return i;t=i-1}}return e>0?e-1:0}},78097:(e,t,n)=>{var r=n(91108),i=n(25411);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},78242:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(45037),i=n(8286);function o(e){return new r.c(function(t){(0,i.Tg)(e()).subscribe(t)})}},78363:(e,t,n)=>{e.exports=n(51483)["__core-js_shared__"]},78419:(e,t,n)=>{"use strict";n.d(t,{P$:()=>a,_C:()=>c,lc:()=>l,mH:()=>s,qm:()=>u});var r=n(61571),i=n(96939);let o=[];function s(e){let t,n=e.defaultIntegrations||[],r=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))t=[...n,...r];else if("function"==typeof r){let e=r(n);t=Array.isArray(e)?e:[e]}else t=n;let i=function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(t),o=i.findIndex(e=>"Debug"===e.name);if(o>-1){let[e]=i.splice(o,1);i.push(e)}return i}function a(e,t){let n={};return t.forEach(t=>{t&&u(e,t,n)}),n}function l(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function u(e,t,n){if(n[t.name]){r.T&&i.vF.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===o.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),o.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}r.T&&i.vF.log(`Integration installed: ${t.name}`)}function c(e){return e}},78646:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},78674:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}},79375:(e,t,n)=>{"use strict";function r(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}function i(e){e.register(r),e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?
129:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}n.d(t,{A:()=>i}),r.displayName="clike",r.aliases=[],i.displayName="javascript",i.aliases=["js"]},79614:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(10454).A)(Object.getPrototypeOf,Object)},79793:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(93366);function i(e){return(0,r.o)(Date.now(),e)}},79824:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(51496),i=n(94485),o=n(14875),s=n(64536),a=n(21383),l=n(82092),u=n(53798),c=n(67822),d=Object.prototype.hasOwnProperty;let f=function(e){if(null==e)return!0;if((0,a.A)(e)&&((0,s.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,l.A)(e)||(0,c.A)(e)||(0,o.A)(e)))return!e.length;var t=(0,i.A)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,u.A)(e))return!(0,r.A)(e).length;
129for(var n in e)if(d.call(e,n))return!1;return!0}},79998:(e,t,n)=>{"use strict";n.d(t,{Cr:()=>s,TN:()=>a,V1:()=>u,ZS:()=>d,aY:()=>l,mn:()=>o,tN:()=>c});let r="u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.userAgent);function i(e,t){var n,r;return n=e,r=t,(n.ctrl===r.ctrlKey||void 0===n.ctrl)&&(n.meta===r.metaKey||void 0===n.meta)&&(n.shift===r.shiftKey||void 0===n.shift)&&(n.alt===r.altKey||void 0===n.alt)&&(void 0!==e.code&&e.code.toLowerCase()===t.code.toLowerCase()||void 0!==e.key&&e.key.toLowerCase()===t.key.toLowerCase())}function o(e){if(r){let t=e.apple??e.default,n=t.at(0);return{guard:e=>t.some(t=>i(t,e)),keys:[...n?.meta?["â"]:[],...n?.ctrl?["Ctrl"]:[],...n?.alt?["Option"]:[],...n?.shift?["Shift"]:[],...n?.key!==void 0?[n.key]:n?.code!==void 0?[n.code]:[]]}}let t=e.default.at(0);return{guard:t=>e.default.some(e=>i(e,t)),keys:[...t?.meta?["Meta"]:[],...t?.ctrl?["Ctrl"]:[],...t?.alt?["Alt"]:[],...t?.shift?["Shift"]:[],...t?.key!==void 0?[t.key]:t?.code!==void 0?[t.code]:[]]}}let s=o({default:[{key:"B",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"B",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),a=o({default:[{key:"I",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"I",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),l=o({default:[{key:"'",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"'",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),u=o({default:[{key:"U",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"U",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),c=(o({default:[{key:"X",alt:!1,ctrl:!0,meta:!1,shift:!0}],apple:[{key:"X",alt:!1,ctrl:!1,meta:!0,shift:!0}]}),o({default:[{key:"K",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"K",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"0",code:"Digit0",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"0",code:"Numpad0",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"0",code:"Digit0",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"0",code:"Numpad0",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"1",code:"Digit1",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"1",code:"Numpad1",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"1",code:"Digit1",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"1",code:"Numpad1",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"2",code:"Digit2",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"2",code:"Numpad2",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"2",code:"Digit2",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"2",code:"Numpad2",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"3",code:"Digit3",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"3",code:"Numpad3",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"3",code:"Digit3",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"3",code:"Numpad3",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"4",code:"Digit4",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"4",code:"Numpad4",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"4",code:"Digit4",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"4",code:"Numpad4",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"5",code:"Digit5",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"5",code:"Numpad5",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"5",code:"Digit5",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"5",code:"Numpad5",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"6",code:"Digit6",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"6",code:"Numpad6",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"6",code:"Digit6",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"6",code:"Numpad6",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"Q",alt:!1,ctrl:!0,meta:!1,shift:!0}]}),o({default:[{key:"Z",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"Z",alt:!1,ctrl:!1,meta:!0,shift:!1}]})),d=o({default:[{key:"Y",alt:!1,ctrl:!0,meta:!1,shift:!1},{key:"Z",alt:!1,ctrl:!0,meta:!1,shift:!0}],apple:[{key:"Z",alt:!1,ctrl:!1,meta:!0,shift:!0}]})},80009:(e,t,n)=>{var r=n(38185);e.exports=function(e){return r(this,e).has(e)}},80183:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(92118);function i(e){return+(0,r.a)(e)<Date.now()}},80262:(e,t,n)=>{"use strict";n.d(t,{LV:()=>A,$l:()=>eg,Mq:()=>E,Z7:()=>_,uQ:()=>x});var r=n(9784),i=n(63056),o=n(39860),s=n(81323),a=n(93261),l=n(43734),u=n(37713),c=n(96241),d=n(2145),f=n(95361),h=(0,f.A)(function(e,t,n){return t=t.toLowerCase(),e+(n?(0,d.A)(t):t)}),p=n(43881),g=(0,f.A)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),m=n(58526),y=n(97246),b=n(71985),v=n(74620),w=n(51932);let _="structure",x=(0,s.GW0)({locale:"en-US",namespace:_,resources:()=>n.e(9982).then(n.bind(n,29982))}),k=["_id","_type","_createdAt","_updatedAt","_rev"];function E(e,t,n=!1){return t.map(t=>(function e(t,n,r=!1){let[i,...o]=n;if(!("fields"in t))return"";let s=t.fields.find(e=>e.name===i);if(!s){if(!k.includes(i)){let e=`The current ordering config targeted the nonexistent field "${i}" on schema type "${t.name}". It should be one of ${t.fields.map(e=>e.name).join(", ")}`;if(r)throw Error(e);console.warn(e)}return""}if("to"in s.type&&"reference"===s.type.name){let t=s.type.to;return`${i}->{${t.map(t=>e(t,o)).join(",")}}`}let a=o.length>0&&e(s.type,o),l=a?`{${a}}`:"";return o.length>0?`${i}${l}`:i})(e,t.field.split("."),n)).join(", ")}
129class A extends Error{constructor(e,t,n,r){super(e),this.name="SerializeError";let i=typeof n>"u"?"<unknown>":`${n}`;this.path=(t||[]).concat(r?`${i} (${r})`:i)}withHelpUrl(e){return this.helpId=e,this}}let S={ID_REQUIRED:"structure-node-id-required",TITLE_REQUIRED:"structure-title-required",FILTER_REQUIRED:"structure-filter-required",INVALID_LIST_ITEM:"structure-invalid-list-item",COMPONENT_REQUIRED:"structure-view-component-required",DOCUMENT_ID_REQUIRED:"structure-document-id-required",SCHEMA_TYPE_REQUIRED:"structure-schema-type-required",SCHEMA_TYPE_NOT_FOUND:"structure-schema-type-not-found",LIST_ITEMS_MUST_BE_ARRAY:"structure-list-items-must-be-array",QUERY_PROVIDED_FOR_FILTER:"structure-query-provided-for-filter",ACTION_OR_INTENT_REQUIRED:"structure-action-or-intent-required",LIST_ITEM_IDS_MUST_BE_UNIQUE:"structure-list-item-ids-must-be-unique",ACTION_AND_INTENT_MUTUALLY_EXCLUSIVE:"structure-action-and-intent-mutually-exclusive",API_VERSION_REQUIRED_FOR_CUSTOM_FILTER:"structure-api-version-required-for-custom-filter"},C={title:"Last edited",i18n:{title:{key:"menu-items.sort-by.last-edited",ns:_}},name:"lastEditedDesc",by:[{field:"_updatedAt",direction:"desc"}]},I=[C,{title:"Created",i18n:{title:{key:"menu-items.sort-by.created",ns:_}},name:"lastCreatedDesc",by:[{field:"_createdAt",direction:"desc"}]}];function T(e,t,n){return e instanceof O?e.serialize({path:n,index:t}):e}class O{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}action(e){return this.clone({action:e})}getAction(){return this.spec.action}intent(e){return this.clone({intent:e})}getIntent(){return this.spec.intent}title(e){return this.clone({title:e})}getTitle(){return this.spec.title}i18n(e){return this.clone({i18n:e})}getI18n(){return this.spec.i18n}group(e){return this.clone({group:e})}getGroup(){return this.spec.group}icon(e){return this.clone({icon:e})}getIcon(){return this.spec.icon}params(e){return this.clone({params:e})}getParams(){return this.spec.params}showAsAction(e=!0){return this.clone({showAsAction:!!e})}getShowAsAction(){return this.spec.showAsAction}serialize(e={path:[]}){let{title:t,action:n,intent:r}=this.spec;if(!t){let t="string"==typeof n?`action: "${n}"`:void 0;throw new A("`title` is required for menu item",e.path,e.index,t).withHelpUrl(S.TITLE_REQUIRED)}if(!n&&!r)throw new A(`\`action\` or \`intent\` required for menu item with title ${this.spec.title}`,e.path,e.index,`"${t}"`).withHelpUrl(S.ACTION_OR_INTENT_REQUIRED);if(r&&n)throw new A("cannot set both `action` AND `intent`",e.path,e.index,`"${t}"`).withHelpUrl(S.ACTION_AND_INTENT_MUTUALLY_EXCLUSIVE);return{...this.spec,title:t}}clone(e){let t=new O(this._context);return t.spec={...this.spec,...e},t}}function R(e,{by:t,title:n,i18n:r},i){let o=new O(e).group("sorting").title(e.i18n.t("default-menu-item.fallback-title",{ns:"studio",replace:{title:n}})).icon(c.ycB).action("setSortOrder").params({by:t,extendedProjection:i});return r&&(o=o.i18n(r)),o}function D(e,t){let{schema:n}=e,r="string"==typeof t?n.get(t):t;return r&&"orderings"in r?(r.orderings?r.orderings.concat(I):I).map(t=>R(e,t,E(r,t.by))):[]}function j(e,t,n){return e instanceof M?e.serialize({path:n,index:t}):e}class M{constructor(e,t){this._context=e,this._id=t?t.id:"",this._title=t?t.title:"",this._i18n=t?t.i18n:void 0}id(e){return new M(this._context,{id:e,title:this._title,i18n:this._i18n})}getId(){return this._id}title(e){return new M(this._context,{title:e,id:this._id,i18n:this._i18n})}getTitle(){return this._title}i18n(e){return new M(this._context,{i18n:e,id:this._id,title:this._title})}getI18n(){return this._i18n}serialize(e={path:[]}){if(!this._id)throw new A("`id` is required for a menu item group",e.path,e.index,this._title).withHelpUrl(S.ID_REQUIRED);if(!this._title)throw new A("`title` is required for a menu item group",e.path,this._id).withHelpUrl(S.TITLE_REQUIRED);return{id:this._id,title:this._title,i18n:this._i18n}}}let N=/([^A-Za-z0-9-_.])/;function F(e,t,n){if("string"!=typeof e)throw new A(`Structure node id must be of type string, got ${typeof e}`,t,n);let[r]=e.match(N)||[];if(r)throw new A(`Structure node id cannot contain character "${r}"`,t,n);if(e.startsWith("__edit__"))throw new A("Structure node id cannot start with __edit__",t,n);return e}function $(e,t){if(t)return t;let n=h(e);return N.test(n)?h(v(e)):n}class P{constructor(e){this.spec={options:{},...e||{}}}id(e){return this.clone({id:e})}getId(){return this.spec.id}
129title(e){return this.clone({title:e,id:$(e,this.spec.id)})}getTitle(){return this.spec.title}i18n(e){return this.clone({i18n:e})}getI18n(){return this.spec.i18n}child(e){return this.clone({child:e})}getChild(){return this.spec.child}component(e){return this.clone({component:e})}getComponent(){return this.spec.component}options(e){return this.clone({options:e})}getOptions(){return this.spec.options||{}}menuItems(e){return this.clone({menuItems:e})}getMenuItems(){return this.spec.menuItems}menuItemGroups(e){return this.clone({menuItemGroups:e})}getMenuItemGroups(){return this.spec.menuItemGroups}canHandleIntent(e){return this.clone({canHandleIntent:e})}serialize(e={path:[]}){let{id:t,title:n,child:r,options:i,component:o}=this.spec;if(!t)throw new A("`id` is required for `component` structure item",e.path,e.index).withHelpUrl(S.ID_REQUIRED);if(!o)throw new A("`component` is required for `component` structure item",e.path,e.index).withHelpUrl(S.ID_REQUIRED);return{id:F(t,e.path,e.index),title:n,type:"component",child:r,component:o,canHandleIntent:this.spec.canHandleIntent,options:i||{},menuItems:(this.spec.menuItems||[]).map((t,n)=>T(t,n,e.path)),menuItemGroups:(this.spec.menuItemGroups||[]).map((t,n)=>j(t,n,e.path))}}clone(e){let t=new P;return t.spec={...this.spec,...e},t}}class L{constructor(e){this.spec={id:(0,p.A)("__divider__"),type:"divider",...e}}title(e){return this.clone({title:e})}getTitle(){return this.spec.title}i18n(e){return this.clone({i18n:e})}getI18n(){return this.spec.i18n}serialize(){return{...this.spec}}clone(e){let t=new L;return t.spec={...this.spec,...e},t}}async function z(e,t){return await e(s.miu).fetch("*[sanity::versionOf($publishedId)][0]._type",{publishedId:(0,a.IM)(t)},{tag:"structure.resolve-type"})}class U{spec={};id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:this.spec.id||g(e)})}getTitle(){return this.spec.title}icon(e){return this.clone({icon:e})}getIcon(){return this.spec.icon}serialize(e={path:[]}){let{id:t,title:n,icon:r}=this.spec;if(!t)throw new A("`id` is required for view item",e.path,e.index).withHelpUrl(S.ID_REQUIRED);if(!n)throw new A("`title` is required for view item",e.path,e.index).withHelpUrl(S.TITLE_REQUIRED);return{id:F(t,e.path,e.index),title:n,icon:r}}}function B(e,t,n){return"function"==typeof e.serialize?e.serialize({path:n,index:t}):e}class q extends U{constructor(e){let t=(e=>(0,s.u4i)(e)&&"component"===e.type)(e)?{...e}:{options:{}};super(),this.spec=t;let n="function"==typeof e?e:this.spec.component;n&&(this.spec=this.component(n).spec)}component(e){return this.clone({component:e})}getComponent(){return this.spec.component}options(e){return this.clone({options:e})}getOptions(){return this.spec.options||{}}serialize(e={path:[]}){let t=super.serialize(e),n=this.spec.component;if("function"!=typeof n)throw new A("`component` is required and must be a function for `component()` view item",e.path,e.index).withHelpUrl(S.COMPONENT_REQUIRED);return{...t,component:n,options:this.spec.options||{},type:"component"}}clone(e){let t=new q;return t.spec={...this.spec,...e},t}}class V extends U{constructor(e){super(),this.spec={id:"editor",title:"Editor",...e||{}}}serialize(e={path:[]}){return{...super.serialize(e),type:"form"}}clone(e){let t=new V;return t.spec={...this.spec,...e},t}}let H=e=>new V(e);var G=Object.freeze({__proto__:null,ComponentViewBuilder:q,FormViewBuilder:V,GenericViewBuilder:U,component:e=>new q(e),form:H,maybeSerializeView:B});class W{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:$(e,this.spec.id)})}getTitle(){return this.spec.title}i18n(e){return this.clone({i18n:e})}getI18n(){return this.spec.i18n}child(e){return this.clone({child:e})}getChild(){return this.spec.child}documentId(e){let t=this.spec.id||e;return this.clone({id:t,options:{...this.spec.options,id:e}})}getDocumentId(){return this.spec.options?.id}schemaType(e){return this.clone({options:{...this.spec.options,type:"string"==typeof e?e:e.name}})}getSchemaType(){return this.spec.options?.type}initialValueTemplate(e,t){return this.clone({options:{...this.spec.options,template:e,templateParameters:t}})}getInitialValueTemplate(){return this.spec.options?.template}getInitialValueTemplateParameters(){return this.spec.options?.templateParameters}views(e){return this.clone({views:e})}getViews(){return this.spec.views||[]}defaultPanes(e){return this.clone({defaultPanes:e})}serialize({path:e=[],index:t,hint:n}={path:[]}){let r,i=e[t||e.length-1],o=this.spec.id||i&&`${i}`||"",s={id:o,type:void 0,template:void 0,templateParameters:void 0,...this.spec.options};if("string"!=typeof o||!o)throw new A("`id` is required for document nodes",e,t,n).withHelpUrl(S.ID_REQUIRED);if(!s||!s.id)throw new A("document id (`id`) is required for document nodes",e,o,n).withHelpUrl(S.DOCUMENT_ID_REQUIRED);if(!s||!s.type)throw new A("document type (`schemaType`) is required for document nodes",e,o,n);let a=(this.spec.views&&this.spec.views.length>0?this.spec.views:[H()]).map((t,n)=>B(t,n,e)),l=a.map(e=>
129e.id),u=(0,m.A)(l.filter((e,t)=>l.includes(e,t+1)));if(u.length>0)throw new A(`document node has views with duplicate IDs: ${u.join(", ")}`,e,o,n);if(this.spec.defaultPanes&&this.spec.defaultPanes.length>0){let e=this.spec.defaultPanes.filter(e=>l.includes(e)),t=this.spec.defaultPanes.filter(e=>!l.includes(e));t.length>0&&console.warn(`DefaultPanes contains invalid view IDs that don't match any defined views: ${t.join(", ")}. Valid view IDs are: ${l.join(", ")}`),e.length>=2&&(r=e)}return{...this.spec,child:this.spec.child||(({resolveDocumentNode:e,getClient:t})=>async(n,{params:r,path:i})=>{let o=r.type,s=i.slice(0,i.length-1),a=i[i.length-1];if(o||(o=await z(t,n)),!o)throw new A("Failed to resolve document, and no type provided in parameters.",s,a);return e({documentId:n,schemaType:o})})(this._context),id:F(o,e,t),type:"document",options:function(e){let t={id:e.id||"",type:e.type||"*"};return e.template&&(t.template=e.template),e.templateParameters&&(t.templateParameters=e.templateParameters),t}(s),views:a,defaultPanes:r}}clone(e={}){let t=new W(this._context),n={...this.spec.options,...e.options};return t.spec={...this.spec,...e,options:n},t}}class Y{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e})}getTitle(){return this.spec.title}description(e){return this.clone({description:e})}getDescription(){return this.spec.description}templateId(e){let t=this.spec.id||e;return this.clone({id:t,templateId:e})}getTemplateId(){return this.spec.templateId}parameters(e){return this.clone({parameters:e})}getParameters(){return this.spec.parameters}serialize({path:e=[],index:t,hint:n}={path:[]}){if("string"!=typeof this.spec.id||!this.spec.id)throw new A("`id` is required for initial value template item nodes",e,t,n).withHelpUrl(S.ID_REQUIRED);if(!this.spec.templateId)throw new A("template id (`templateId`) is required for initial value template item nodes",e,this.spec.id,n).withHelpUrl(S.ID_REQUIRED);let r=this._context.templates.find(e=>e.id===this.spec.templateId);if(!r)throw new A("template id (`templateId`) is required for initial value template item nodes",e,this.spec.id,n).withHelpUrl(S.ID_REQUIRED);return{id:this.spec.id,templateId:this.spec.id,schemaType:r.schemaType,type:"initialValueTemplateItem",description:this.spec.description||r.description,title:this.spec.title||r.title,subtitle:this.spec.subtitle,icon:this.spec.icon||r.icon,initialDocumentId:this.spec.initialDocumentId,parameters:this.spec.parameters}}clone(e={}){let t=new Y(this._context);return t.spec={...this.spec,...e},t}}let K=Symbol("Document type list canHandleIntent"),Z=(e,t,{pane:n})=>{let r="create"===e,i=n.options?.filter||"",o=n.options?.params||{},s=n.schemaTypeName?[n.schemaTypeName]:en(i,o),a=n.initialValueTemplates||[];return r&&t.template?a.some(e=>e.templateId===t.template):"edit"===e&&t.id&&s.includes(t.type)||r&&s.includes(t.type)};Z.identity=K;let X=["default","card","media","detail","block"];function J(){}let Q=(e,t,{pane:n,index:r})=>r<=1&&Z(e,t,{pane:n});class ee{initialValueTemplatesSpecified=!1;spec={};id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:$(e,this.spec.id)})}getTitle(){return this.spec.title}i18n(e){return this.clone({i18n:e})}getI18n(){return this.spec.i18n}defaultLayout(e){return this.clone({defaultLayout:e})}getDefaultLayout(){return this.spec.defaultLayout}menuItems(e){return this.clone({menuItems:e})}getMenuItems(){return this.spec.menuItems}menuItemGroups(e){return this.clone({menuItemGroups:e})}getMenuItemGroups(){return this.spec.menuItemGroups}child(e){return this.clone({child:e})}getChild(){return this.spec.child}canHandleIntent(e){return this.clone({canHandleIntent:e})}getCanHandleIntent(){return this.spec.canHandleIntent}showIcons(e=!0){return this.clone({displayOptions:{...this.spec.displayOptions,showIcons:e}})}getShowIcons(){return this.spec.displayOptions?this.spec.displayOptions.showIcons:void 0}initialValueTemplates(e){return this.initialValueTemplatesSpecified=!0,this.clone({initialValueTemplates:Array.isArray(e)?e:[e]})}getInitialValueTemplates(){return this.spec.initialValueTemplates}serialize(e={path:[]}){let t=this.spec.id||"",n=e.path,r=this.spec.defaultLayout;if(r&&!X.includes(r))throw new A(`\`layout\` must be one of ${X.map(e=>`"${e}"`).join(", ")}`,n,t||e.index,this.spec.title);let i=(this.spec.initialValueTemplates||[]).map((e,t)=>e instanceof Y?e.serialize({path:n,index:t}):e);return{id:F(t,e.path,t||e.index),title:this.spec.title,i18n:this.spec.i18n,type:"genericList",defaultLayout:r,child:this.spec.child||J,canHandleIntent:this.spec.canHandleIntent||Q,displayOptions:this.spec.displayOptions,initialValueTemplates:i,menuItems:(this.spec.menuItems||[]).map((e,t)=>T(e,t,n)),menuItemGroups:(this.spec.menuItemGroups||[]).map((e,t)=>j(e,t,n))}}}class et extends ee{constructor(e,t){super(),this._context=e,this.spec=t||{},this.initialValueTemplatesSpecified=!!t?.initialValueTemplates}apiVersion(e){return this.clone({options:{...this.spec.options||{filter:""},apiVersion:e}})}getApiVersion(){return this.spec.options?.apiVersion}filter(e){return this.clone({options:{...this.spec.options,filter:e}})}getFilter(){return this.spec.options?.filter}schemaType(e){let t="string"==typeof e?e:e.name;return this.clone({schemaTypeName:t})}getSchemaType(){return this.spec.schemaTypeName}params(e){return this.clone({options:{...this.spec.options||{filter:""},params:e}})}getParams(){return this.spec.options?.params}defaultOrdering(e){if(!Array.isArray(e))throw Error("`defaultOrdering` must be an array of order clauses");return this.clone({options:{...this.spec.options||{filter:""},defaultOrdering:e}})}getDefaultOrdering(){return this.spec.options?.defaultOrdering}serialize(e={path:[]}){let t;if("string"!=typeof this.spec.id||!this.spec.id)throw new A("`id` is required for document lists",e.path,e.index,this.spec.title).withHelpUrl(S.ID_REQUIRED);if(!this.spec.options||!this.spec.options.filter)throw new A("`filter` is required for document lists",e.path,this.spec.id,this.spec.title).withHelpUrl(S.FILTER_REQUIRED);return this.spec.options?.filter!=="_type == $type"&&this.spec.options.filter&&!this.spec.options.apiVersion&&console.warn(`No apiVersion specified for document type list with custom filter: \`${this.spec.options.filter}\`. This will be required in the future. See %s for more info.`,(0,w.i)(S.API_VERSION_REQUIRED_FOR_CUSTOM_FILTER)),{...super.serialize(e),type:"documentList",sc
129hemaTypeName:this.spec.schemaTypeName,child:this.spec.child||(t=this._context,(e,n)=>{let r=n.parent,i=n.params?.template?t.templates.find(e=>e.id===n.params.template):void 0;return Promise.resolve(i?i.schemaType:r.schemaTypeName||z(t.getClient,e)).then(n=>n?t.resolveDocumentNode({schemaType:n,documentId:e}):new W(t).id("editor").documentId(e).schemaType(""))}),options:{...this.spec.options,apiVersion:this.spec.options.apiVersion||s.miu.apiVersion,filter:((e,t)=>{let n=e.options?.filter.trim()||"";if(["*","{"].includes(n[0]))throw new A(`\`filter\` cannot start with \`${n[0]}\` - looks like you are providing a query, not a filter`,t.path,e.id,e.title).withHelpUrl(S.QUERY_PROVIDED_FOR_FILTER);return n})(this.spec,e)}}}clone(e){let t=new et(this._context);return t.spec={...this.spec,...e},this.initialValueTemplatesSpecified||(t.spec.initialValueTemplates=function(e,t){let{document:n}=e,{schemaTypeName:r,options:i}=t,{filter:o,params:s}=i||{filter:"",params:{}},a=r?[r]:Array.from(new Set(en(o,s)));if(0!==a.length)return a.flatMap(e=>n.resolveNewDocumentOptions({type:"structure",schemaType:e})).map(e=>({...e,icon:c.REV}))}(this._context,t.spec)),t.spec.schemaTypeName||(t.spec.schemaTypeName=function(e){let{options:t}=e,{filter:n,params:r}=t||{filter:"",params:{}},i=en(n,r);return 1===i.length?i[0]:void 0}(t.spec)),t}getSpec(){return this.spec}}function en(e,t={}){let n=function(e,t={}){let n,r=/\b_type\s*==\s*(['"].*?['"]|\$.*?(?:\s|$))|\B(['"].*?['"]|\$.*?(?:\s|$))\s*==\s*_type/g,i=[];for(;null!==(n=r.exec(e));)i.push(n[1]||n[2]);return i.map(e=>(("$"===e[0]?t[e.slice(1)]:e)||"").trim().replace(/^["']|["']$/g,"")).filter(Boolean)}(e,t);return 0===n.length&&(n=function(e,t={}){let n=e.match(/\b_type\s+in\s+\[(.*?)\]/);return n?n[1].split(/,\s*/).map(e=>e.trim().replace(/^["']+|["']+$/g,"")).map(e=>"$"===e[0]?t[e.slice(1)]:e).filter(Boolean):[]}(e,t)),n}let er=e=>"listItem"===e.type,ei=(e,t,n)=>(n.pane.items||[]).filter(eu).some(e=>e.schemaType.name===t.type&&e._id===t.id)||Q(e,t,n),eo=(e,t)=>{let n=(t.parent.items.filter(er).find(t=>t.id===e)||{child:void 0}).child;return n&&"function"==typeof n&&"function"==typeof n?n(e,t):n};class es extends ee{constructor(e,t){super(),this._context=e,this.spec=t||{},this.initialValueTemplatesSpecified=!!(t&&t.initialValueTemplates)}items(e){return this.clone({items:e})}getItems(){return this.spec.items}serialize(e={path:[]}){let t=this.spec.id;if("string"!=typeof t||!t)throw new A("`id` is required for lists",e.path,e.index).withHelpUrl(S.ID_REQUIRED);let n=typeof this.spec.items>"u"?[]:this.spec.items;if(!Array.isArray(n))throw new A("`items` must be an array of items",e.path,e.index).withHelpUrl(S.LIST_ITEMS_MUST_BE_ARRAY);let r=(e.path||[]).concat(t),i=n.map((e,t)=>(function(e,t,n){if(e instanceof ea)return e.serialize({path:n,index:t});if(e instanceof L)return e.serialize();if(e&&"divider"===e.type)return e;if(!e||"listItem"!==e.type){var r;let i=e&&e.type||(e instanceof es?"ListBuilder":(r=e,(0,s.u4i)(r)&&"function"==typeof r.then)?"Promise":Array.isArray(e)?"array":typeof e);throw new A(`List items must be of type "listItem", got "${i}"${"array"===i?" - did you forget to spread (...moreItems)?":""}`,n,t).withHelpUrl(S.INVALID_LIST_ITEM)}return e})(e,t,r)),o=i.filter((e,t)=>(0,y.A)(i,{id:e.id},t+1));if(o.length>0){let t=o.map(e=>e.id).slice(0,5),n=o.length>5?`${t.join(", ")}...`:t.join(", ");throw new A(`List items with same ID found (${n})`,e.path,e.index).withHelpUrl(S.LIST_ITEM_IDS_MUST_BE_UNIQUE)}return{...super.serialize(e),type:"list",canHandleIntent:this.spec.canHandleIntent||ei,child:this.spec.child||eo,items:i}}clone(e){let t=new es(this._context);return t.spec={...this.spec,...e},t}}class ea{constructor(e,t){this._context=e,this.spec=t||{}}id(e){return this.clone({id:e})}getId(){return this.spec.id}title(e){return this.clone({title:e,id:$(e,this.spec.id)})}getTitle(){return this.spec.title}i18n(e){return this.clone({i18n:e})}getI18n(){return this.spec.i18n}icon(e){return this.clone({icon:e})}showIcon(e=!0){return this.clone({displayOptions:{...this.spec.displayOptions,showIcon:e}})}getShowIcon(){return this.spec.displayOptions?this.spec.displayOptions.showIcon:void 0}getIcon(){return this.spec.icon}child(e){return this.clone({child:e})}getChild(){return this.spec.child}schemaType(e){return this.clone({schemaType:e})}getSchemaType(){let e=this.spec.schemaType;return"string"==typeof e?this._context.schema.get(e):this.spec.schemaType}serialize(e={path:[]}){let{id:t,title:n,child:r}=this.spec;if("string"!=typeof t||!t)throw new A("`id` is required for list items",e.path,e.index).withHelpUrl(S.ID_REQUIRED);if(!e.titleIsOptional&&("string"!=typeof n||!n))throw new A("`title` is required for list items",e.path,t).withHelpUrl(S.TITLE_REQUIRED);let i=this.spec.schemaType;if("string"==typeof i){let n=this._context.schema.get(i);if(!n)throw new A(`Could not find type "${i}" in schema`,e.path,t).withHelpUrl(S.SCHEMA_TYPE_NOT_FOUND);i=n}let o={path:e.path.concat(t),hint:"child"},s=r instanceof P||r instanceof et||r instanceof W||r instanceof es?r.serialize(o):r;if("function"==typeof s){let e=s;s=(t,n)=>e(t,{...n,serializeOptions:o})}return{...this.spec,id:F(t,e.path,e.index),schemaType:i,child:s,title:n,type:"listItem"}}clone(e){let t=new ea(this._context);return t.spec={...this.spec,...e},t}}class el extends ea{constructor(e,t){super(e,t),this._context=e,this.spec=t||{}}serialize(e={path:[]}){let t,n=super.serialize({...e,titleIsOptional:!0});if(!n.schemaType)throw new A("`schemaType` is required for document list items",e.path,e.index).withHelpUrl(S.SCHEMA_TYPE_REQUIRED);let r=n.child||(t=this._context,e=>{let r=n.schemaType&&("string"==typeof n.schemaType?n.schemaType:n.schemaType.n
129ame);return r?t.resolveDocumentNode({schemaType:r,documentId:e}):new W(t).id("documentEditor").documentId(e)});return{...n,child:r,schemaType:n.schemaType,_id:n.id}}clone(e){let t=new el(this._context);return t.spec={...this.spec,...e},t}}function eu(e){return(0,s.u4i)(e)&&"u">typeof e.schemaType&&"string"==typeof e._id}class ec extends et{constructor(e,t){super(e),this._context=e,this.spec=t||{}}child(e){return this.cloneWithoutDefaultIntentHandler({child:e})}clone(e){let t=super.clone(e),n=new ec(this._context);return n.spec={...this.spec,...t.getSpec(),...e},n}cloneWithoutDefaultIntentHandler(e){let t=super.clone(e),n=new ec(this._context),r=this.spec.canHandleIntent,i=r&&r.identity===K?{canHandleIntent:void 0}:{};return n.spec={...t.getSpec(),...this.spec,...e,...i},n}}let ed=["sanity.imageAsset","sanity.fileAsset"];function ef(e){return(function({schema:e}){return e.getTypeNames().filter(t=>{let n=e.get(t);return n&&n.type?.name==="document"}).filter(e=>!ed.includes(e))})(e).map(t=>eh(e,t))}function eh(e,t){let{schema:n}=e,r=n.get(t);if(!r)throw Error(`Schema type with name "${t}" not found`);let i=r.title||(0,b.A)(t);return new ea(e).id(t).title(i).schemaType(r).child((n,r)=>{let i=r.parent,o="list"===i.type?i.items.find(e=>e.id===n):null,s=ep(e,t);return o&&o.title&&(s=s.title(o.title)),s})}function ep(e,t){let{schema:n,resolveDocumentNode:r}=e,i="string"==typeof t?t:t.schemaType,o="string"==typeof i?i:i.name,s="string"==typeof t?{}:t,a=n.get(o);if(!a)throw Error(`Schema type with name "${o}" not found`);let l=a.title||(0,b.A)(o);return new ec(e).id(s.id||o).title(s.title||l).filter("_type == $type").params({type:o}).schemaType(a).defaultOrdering(C.by).menuItemGroups(s.menuItemGroups||[{id:"sorting",title:"Sort",i18n:{title:{key:"menu-item-groups.actions-group",ns:_}}},{id:"layout",title:"Layout",i18n:{title:{key:"menu-item-groups.layout-group",ns:_}}},{id:"actions",title:"Actions",i18n:{title:{key:"menu-item-groups.sorting-group",ns:_}}}]).child(s.child||(e=>r({schemaType:o,documentId:e}))).canHandleIntent(s.canHandleIntent||Z).menuItems(s.menuItems||[...D(e,a),new O(e).group("layout").i18n({title:{key:"menu-items.layout.compact-view",ns:_}}).title("Compact view").icon(c.dSb).action("setLayout").params({layout:"default"}),new O(e).group("layout").i18n({title:{key:"menu-items.layout.detailed-view",ns:_}}).title("Detailed view").icon(c.m1D).action("setLayout").params({layout:"detail"})])}function eg(e){let t,n,d,f,h,p=(0,i.c)(26),{defaultDocumentNode:g,structure:m,children:y}=e,[b,v]=(0,o.useState)(!1),w=(0,s.For)(),x=(0,s.Yfj)(w),k=(0,s.q3J)(),{perspectiveStack:E}=(0,s.QO2)();p[0]!==g||p[1]!==E||p[2]!==w?(t=function({defaultDocumentNode:e,source:t,perspectiveStack:n}){let r=(0,s.VMk)(t),i={...t,getStructureBuilder:()=>o,resolveDocumentNode:t=>{let n=e?.(o,{...t,...r})||new W(i);return n.getId()||(n=n.id("documentEditor")),t.documentId&&(n=n.documentId((0,a.IM)(t.documentId))),n.schemaType(t.schemaType)},perspectiveStack:n},o={defaults:()=>(function(e){let t=ef(e);return new es(e).id("__root__").title("Content").i18n({title:{key:"default-definition.content-title",ns:_}}).items(t).showIcons(t.some(e=>{var t;return!!(t=e.getSchemaType())&&"string"!=typeof t&&!!t.icon}))})(i),documentTypeList:(...e)=>ep(i,...e),documentTypeListItem:(...e)=>eh(i,...e),documentTypeListItems:(...e)=>ef(i,...e),document:(...e)=>new W(i,...e),documentWithInitialValueTemplate:(...e)=>(function({resolveDocumentNode:e,templates:t},n,r){let i=t.find(e=>e.id===n);if(!i)throw Error(`Template with ID "${n}" not defined`);return e({schemaType:i.schemaType}).initialValueTemplate(n,r)})(i,...e),defaultDocument:i.resolveDocumentNode,list:(...e)=>new es(i,...e),listItem:(...e)=>new ea(i,...e),menuItem:(...e)=>new O(i,...e),menuItemGroup:(...e)=>new M(i,...e),menuItemsFromInitialValueTemplateItems:(...e)=>(function(e,t){let{schema:n,templates:r}=e;return t.map(t=>{let i=r.find(e=>e.id===t.templateId),o=t.title||i?.title||"Create",s={};i&&i.schemaType&&(s.type=i.schemaType),t.templateId&&(s.template=t.templateId);let a=t.parameters?[s,t.parameters]:s,l=i&&n.get(i.schemaType),u=t.i18n||i?.i18n,d=new O(e).title(o).icon(i&&i.icon||l?.icon||c.REV).intent({type:"create",params:a});return u&&(d=d.i18n(u)),d.serialize()})})(i,...e),documentList:(...e)=>new et(i,...e),documentListItem:(...e)=>new el(i,...e),orderingMenuItem:(...e)=>R(i,...e),orderingMenuItemsForType:(...e)=>D(i,...e),editor:(...e)=>(function(e,t){let n=t?.type?e.resolveDocumentNode({schemaType:t.type}):new W(e);if(!t)return n;let{id:r,type:i,template:o,templateParameters:s}=t.options;return n=n.id(t.id).documentId(r),i&&(n=n.schemaType(i)),o&&(n=n.initialValueTemplate(o,s)),t.child&&(n=n.child(t.child)),n})(i,...e),defaultInitialValueTemplateItems:(...e)=>(function(e){let{schema:t,getStructureBuilder:n,templates:r}=e,i=t.getTypeNames();return r.filter(e=>!e.parameters?.length).sort((e,t)=>
129i.indexOf(e.schemaType)-i.indexOf(t.schemaType)).map(e=>n().initialValueTemplateItem(e.id))})(i,...e),initialValueTemplateItem:(e,t)=>new Y(i,{id:e,parameters:t,templateId:e}),component:e=>(0,u.Hy)(e)?new P().component(e):new P(e),divider:e=>new L(e),view:G,context:i};return o}({defaultDocumentNode:g,source:w,perspectiveStack:E}),p[0]=g,p[1]=E,p[2]=w,p[3]=t):t=p[3];let A=t;r:{let e;if(m){let e;p[4]!==A||p[5]!==x||p[6]!==k||p[7]!==E||p[8]!==m?(e=m(A,{...x,documentStore:k,perspectiveStack:E}),p[4]=A,p[5]=x,p[6]=k,p[7]=E,p[8]=m,p[9]=e):e=p[9],n=e;break r}p[10]!==A?(e=A.defaults(),p[10]=A,p[11]=e):e=p[11],n=e}let S=n,C=!b,I=!b,T=!b,j=!b;p[12]!==b||p[13]!==C||p[14]!==I||p[15]!==T||p[16]!==j?(d={backButton:b,resizablePanes:C,reviewChanges:I,splitPanes:T,splitViews:j},p[12]=b,p[13]=C,p[14]=I,p[15]=T,p[16]=j,p[17]=d):d=p[17];let N=d;p[18]!==A.context||p[19]!==N||p[20]!==b||p[21]!==S?(f={features:N,layoutCollapsed:b,setLayoutCollapsed:v,rootPaneNode:S,structureContext:A.context},p[18]=A.context,p[19]=N,p[20]=b,p[21]=S,p[22]=f):f=p[22];let F=f;return p[23]!==y||p[24]!==F?(h=(0,r.jsx)(l.DI.Provider,{value:F,children:y}),p[23]=y,p[24]=F,p[25]=h):h=p[25],h}},80276:(e,t,n)=>{var r=n(85309),i=n(32438),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
1297f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(s,"")}},80291:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function i(e){return r(e)&&"string"==typeof e._ref}function o(e){return r(e)&&i(e.asset)&&e.asset._ref.startsWith("image-")}function s(e){return r(e)&&"string"==typeof e._ref&&"string"==typeof e._dataset&&"string"==typeof e._projectId}function a(e){return r(e)&&"string"==typeof e._id&&"string"==typeof e._type}function l(e){return r(e)&&"string"==typeof e._type}function u(e){return r(e)&&"string"==typeof e._key}function c(e){return!!r(e)&&"string"==typeof e._ref&&3===e._ref.split(":").length}function d(e){return"error"===e.level}function f(e){return"warning"===e.level}function h(e){return"info"===e.level}n.d(t,{$d:()=>E,AF:()=>f,A_:()=>i,Ah:()=>W,F0:()=>function e(t){return x(t)&&("image"===t.name||e(t.type))},F3:()=>D,GC:()=>H,GX:()=>S,Gm:()=>h,I0:()=>s,IB:()=>V,JR:()=>k,Kk:()=>l,L4:()=>w,ME:()=>a,MI:()=>B,P3:()=>function e(t){return x(t)&&("crossDatasetReference"===t.name||e(t.type))},Pb:()=>$,Q9:()=>c,U8:()=>U,Uw:()=>d,XK:()=>R,Yg:()=>F,Z9:()=>b,bn:()=>_,ci:()=>Y,dO:()=>q,do:()=>function e(t){return x(t)&&("reference"===t.name||e(t.type))},fq:()=>M,gw:()=>I,m5:()=>C,o8:()=>u,oV:()=>T,pZ:()=>O,tA:()=>y,u5:()=>G,uC:()=>N,wD:()=>function e(t){return x(t)&&("file"===t.name||e(t.type))},wr:()=>m,wu:()=>o,zR:()=>A,zZ:()=>j});let p=/_key\s*==\s*['"](.*)['"]/,g=/^\d*:\d*$/;function m(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function y(e){return"string"==typeof e?p.test(e.trim()):"object"==typeof e&&"_key"in e}function b(e){if("string"==typeof e&&g.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}function v(e){return!!e&&("object"==typeof e||"function"==typeof e)}function w(e){return v(e)&&"string"==typeof e._type&&Array.isArray(e.children)&&e.children.every(e=>v(e))&&(!("markDefs"in e)||Array.isArray(e.markDefs)&&e.markDefs.every(e=>v(e)))&&(!("style"in e)||"string"==typeof e.style)}function _(e){return v(e)&&"span"===e._type&&"string"==typeof e.text&&(!("marks"in e)||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function x(e){return!!e&&("object"==typeof e||"function"==typeof e)}function k(e){if(!E(e))return!1;let t=e;for(;t;){if("document"===t.name)return!0;t=t.type}return!1}function E(e){return!!x(e)&&"object"===e.jsonType}function A(e){return!!x(e)&&"array"===e.jsonType}function S(e){return A(e)&&e.of.some(e=>$(e))}function C(e){return A(e)&&e.of.every(e=>E(e))}function I(e){return A(e)&&e.of.every(e=>j(e))}function T(e){return!!x(e)&&"boolean"===e.jsonType}function O(e){return!!x(e)&&"string"===e.jsonType}function R(e){return!!O(e)&&"datetime"===e.name}function D(e){return!!x(e)&&"number"===e.jsonType}function j(e){return T(e)||O(e)||D(e)}function M(e){return!!x(e)&&"u">typeof e.deprecated}function N(e){return"object"==typeof e&&null!==e&&"title"in e&&"value"in e}function F(e){return!!x(e)&&Array.isArray(e.annotations)&&Array.isArray(e.decorators)}function $(e){if(!x(e)||!Array.isArray(e.fields))return!1;let t=e.fields.find(z),n=e.fields.find(P),r=e.fields.find(L);return z(t)&&P(n)&&L(r)}function P(e){return!!x(e)&&"style"===e.name&&x(e.type)&&"string"===e.type.jsonType}function L(e){return!!x(e)&&"listItem"===e.name&&x(e.type)&&"string"===e.type.jsonType}function z(e){return!!x(e)&&"children"===e.name&&!!A(e.type)&&e.type.of.some(F)}function U(e,t){return e}function B(e,t){return e}function q(e,t){return e}let V=["groqLegacy","groq2024"];function H(e){return V.includes(e)}function G(e){return r(e)&&"string"==typeof e.current}function W(e){return"error"===e.level}function Y(e){return"warning"===e.level}},80389:(e,t,n)=>{var r=n(38185);e.exports=function(e){return r(this,e).get(e)}},80456:(e,t,n)=>{"use strict";let r=n(240),i=n(76353);e.exports=(e,t,n)=>{let o=null,s=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,n))}),o}},80470:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setMinutes(0,0,0),n}},80942:(e,t,n)=>{var r=n(73423),i=n(35443),o=n(58840),s=r?r.toStringTag:void 0;
vendor: 21,366 bytes, line 129
129e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},81029:(e,t,n)=>{"use strict";let r=n(51746),i=n(55459),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e){var r=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);let n=0|p(r,i),o=s(n),l=o.write(r,i);return l!==n&&(o=o.slice(0,l)),o}if(ArrayBuffer.isView(e)){var o=e;if($(o,Uint8Array)){let e=new Uint8Array(o);return f(e.buffer,e.byteOffset,e.byteLength)}return d(o)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return a.from(l,t,n);let u=function(e){if(a.isBuffer(e)){let t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(u)return u;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),s(e<0?0:0|h(e))}function d(e){let t=e.length<0?0:0|h(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),a.prototype),r}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return N(e).length;default:if(i)return r?-1:M(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=P[e[r]];return i}(this,t,n);case"utf8":case"utf-8":return v(this,t,n);case"ascii":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":var o,s,a;return o=this,s=t,a=n,0===s&&a===o.length?r.fromByteArray(o):r.fromByteArray(o.slice(s,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){let r=e.slice(t,n),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}(this,t,n);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function m(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){var o;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(o=n*=1)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return b(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,s=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let r=-1;for(o=n;o<a;o++)if(u(e,o)===u(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*s}else -1!==r&&(o-=o-r),r=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(u(e,o+r)!==u(t,r)){n=!1;break}if(n)return o}return -1}function v(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],o=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=n){let n,r,a,l;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(l=(31&t)<<6|63&n)>127&&(o=l);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:n=e[i+1],r=e[i+2],a=e[i+3],(192&n)==128&&(192&r)==128&&(192&a)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}var o=r;let s=o.length;if(s<=4096)return String.fromCharCode.apply(String,o);let a="",l=0;for(;l<s;)a+=String.fromCharCode.apply(String,o.slice(l,l+=4096));return a}function w(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function _(e,t,n,r,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function x(e,t,n,r,i){O(t,r,i,e,n,7);let o=Number(t&BigInt(0xffffffff));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function k(e,t,n,r,i){O(t,r,i,e,n,7);let o=Number(t&BigInt(0xffffffff));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function E(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function A(e,t,n,r,o){return t*=1,n>>>=0,o||E(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,o){return t*=1,n>>>=0,o||E(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.hp=a,t.IS=50,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,n){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if($(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),$(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){let n;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;let r=a.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if($(t,Uint8Array))i+t.length>r.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(a.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){let e="",n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,n,r,i){if($(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,s=n-t,l=Math.min(o,s),u=this.slice(r,i),c=e.slice(t,n);for(let e=0;e<l;++e)if(u[e]!==c[e]){o=u[e],s=c[e];break}return o<s?-1:+(s<o)},a.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},a.prototype.write=function(e,t,n,r){var i,o,s,a,l,u,c,d;if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let s=t.length;for(r>s/2&&(r=s/2),i=0;i<r;++i){var a;let r=parseInt(t.substr(2*i,2),16);if((a=r)!=a)break;e[n+i]=r}return i}(this,e,t,n);case"utf8":case"utf-8":return i=t,o=n,F(M(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=n,F(function(e){let t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,s,a);case"base64":return l=t,u=n,F(N(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=n,F(function(e,t){let n,r,i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=L(function(e){R(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&D(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),a.prototype.readBigUInt64BE=L(function(e){R(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&D(e,this.length-8);let r=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=L(function(e){R(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&D(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),a.prototype.readBigInt64BE=L(function(e){R(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&D(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n)}),a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;_(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;_(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=L(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=L(function(e,t=0){return k(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);_(this,e,t,n,r-1,-r)}let i=0,o=1,s=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);_(this,e,t,n,r-1,-r)}let i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||_(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=L(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=L(function(e,t=0){return k(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeFloatLE=function(e,t,n){return A(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return A(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},a.prototype.fill=function(e,t,n,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{let o=a.isBuffer(e)?e:a.from(e,r),s=o.length;
129if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%s]}return this};let C={};function I(e,t,n){C[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function T(e){let t="",n=e.length,r=+("-"===e[0]);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function O(e,t,n,r,i,o){if(e>n||e<t){let r,i="bigint"==typeof t?"n":"";throw r=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new C.ERR_OUT_OF_RANGE("value",r,e)}R(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&D(i,r.length-(o+1))}function R(e,t){if("number"!=typeof e)throw new C.ERR_INVALID_ARG_TYPE(t,"number",e)}function D(e,t,n){if(Math.floor(e)!==e)throw R(e,n),new C.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new C.ERR_BUFFER_OUT_OF_BOUNDS;throw new C.ERR_OUT_OF_RANGE(n||"offset",`>= ${+!!n} and <= ${t}`,e)}I("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),I("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),I("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>0x100000000?i=T(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=T(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let j=/[^+/0-9A-Za-z-_]/g;function M(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319||s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function N(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function F(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let P=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function L(e){return"undefined"==typeof BigInt?z:e}function z(){throw Error("BigInt not supported")}},81220:(e,t,n)=>{"use strict";n.d(t,{$n:()=>g,AM:()=>T,Dr:()=>I,IU:()=>b,lG:()=>m,m_:()=>A,oz:()=>O,qW:()=>v,tH:()=>y,vE:()=>R});var r=n(9784),i=n(63056),o=n(64509),s=n(59452),a=n(39860),l=n(43734),u=n(37713),c=n(60308),d=n(1893);let f={space:3,padding:3},h={space:2,padding:2},p=c.I4.span.withConfig({displayName:"TooltipButtonWrapper",componentId:"sc-jrh35q-0"})`display:inline-flex;`,g=(0,a.forwardRef)(function(e,t){let n,s,a,l,u,c,d,g,m=(0,i.c)(22);m[0]!==e?({size:l,mode:u,paddingY:s,paddingLeft:n,tone:c,tooltipProps:d,...a}=e,m[0]=e,m[1]=n,m[2]=s,m[3]=a,m[4]=l,m[5]=u,m[6]=c,m[7]=d):(n=m[1],s=m[2],a=m[3],l=m[4],u=m[5],c=m[6],d=m[7]);let y=void 0===u?"default":u,b=void 0===c?"default":c,v="default"===(void 0===l?"default":l)?h:f;m[8]!==y||m[9]!==n||m[10]!==s||m[11]!==t||m[12]!==a||m[13]!==v||m[14]!==b?(g=(0,r.jsx)(o.$n,{...a,...v,paddingY:s,paddingLeft:n,ref:t,mode:y,tone:b}),m[8]=y,m[9]=n,m[10]=s,m[11]=t,m[12]=a,m[13]=v,m[14]=b,m[15]=g):g=m[15];let w=g;if(d){let e,t,n=d?.content;return m[16]!==w?(e=(0,r.jsx)(p,{children:w}),m[16]=w,m[17]=e):e=m[17],m[18]!==n||m[19]!==e||m[20]!==d?(t=(0,r.jsx)(A,{content:n,portal:!0,...d,children:e}),m[18]=n,m[19]=e,m[20]=d,m[21]=t):t=m[21],t}return w}),m=(0,a.forwardRef)(function(e,t){let n,a,l,u,c,f,h,p,g,m,y=(0,i.c)(23);
129y[0]!==e?({animate:c,bodyHeight:n,children:a,footer:l,padding:f,zOffset:h,...u}=e,y[0]=e,y[1]=n,y[2]=a,y[3]=l,y[4]=u,y[5]=c,y[6]=f,y[7]=h):(n=y[1],a=y[2],l=y[3],u=y[4],c=y[5],f=y[6],h=y[7]);let b=void 0===c||c,v=void 0===f||f,{t:w}=(0,d.Bd)();y[8]!==l||y[9]!==u||y[10]!==w?(p=(l?.confirmButton||l?.cancelButton)&&(0,r.jsxs)(o.so,{width:"full",gap:3,justify:"flex-end",padding:3,align:"center",children:[l?.description&&(0,r.jsx)(o.az,{flex:1,paddingLeft:1,children:(0,r.jsx)(o.EY,{size:1,muted:!0,children:l.description})}),u.onClose&&(0,r.jsx)(o.$n,{mode:"bleed",padding:2,text:w("common.dialog.cancel-button.text"),tone:"default",onClick:u.onClose,"data-testid":"cancel-button",...l.cancelButton}),l.confirmButton&&(0,r.jsx)(o.$n,{mode:"default",padding:2,text:w("common.dialog.confirm-button.text"),tone:"critical","data-testid":"confirm-button",...l.confirmButton})]}),y[8]=l,y[9]=u,y[10]=w,y[11]=p):p=y[11];let _=4*!!v;return y[12]!==n||y[13]!==a||y[14]!==_?(g=(0,r.jsx)(o.az,{height:n,padding:_,children:a}),y[12]=n,y[13]=a,y[14]=_,y[15]=g):g=y[15],y[16]!==b||y[17]!==u||y[18]!==t||y[19]!==p||y[20]!==g||y[21]!==h?(m=(0,r.jsx)(s.lG,{...u,animate:b,zOffset:h,ref:t,footer:p,children:g}),y[16]=b,y[17]=u,y[18]=t,y[19]=p,y[20]=g,y[21]=h,y[22]=m):m=y[22],m});function y(e){let t,n,o,u,c=(0,i.c)(9);c[0]!==e?({onCatch:t,...n}=e,c[0]=e,c[1]=t,c[2]=n):(t=c[1],n=c[2]);let d=(0,a.useContext)(l.lH);c[3]!==t||c[4]!==d?(o=e=>{let{error:n,info:r}=e;try{d?.onUncaughtError?.(n,r)}catch(e){e.message=`Encountered an additional error when calling custom "onUncaughtError()": ${e.message}`,console.error(e)}t?.({error:n,info:r})},c[3]=t,c[4]=d,c[5]=o):o=c[5];let f=o;return c[6]!==f||c[7]!==n?(u=(0,r.jsx)(s.tH,{...n,onCatch:f}),c[6]=f,c[7]=n,c[8]=u):u=c[8],u}let b=(0,a.forwardRef)(function(e,t){let n,o,a=(0,i.c)(6);return a[0]!==e.popover?(n={...e.popover,animate:!0},a[0]=e.popover,a[1]=n):n=a[1],a[2]!==e||a[3]!==t||a[4]!==n?(o=(0,r.jsx)(s.IU,{...e,ref:t,popover:n}),a[2]=e,a[3]=t,a[4]=n,a[5]=o):o=a[5],o});function v(e){let t,n,s,a,l,u,c=(0,i.c)(12);c[0]!==e?({makePlatformAware:n,keys:s,...t}=e,c[0]=e,c[1]=t,c[2]=n,c[3]=s):(t=c[1],n=c[2],s=c[3]);let d=void 0===n||n;c[4]!==s?(a=void 0===s?[]:s,c[4]=s,c[5]=a):a=c[5];let f=a;c[6]!==f||c[7]!==d?(l=d?f.map(_):f,c[6]=f,c[7]=d,c[8]=l):l=c[8];let h=l;return c[9]!==h||c[10]!==t?(u=(0,r.jsx)(o.qW,{...t,keys:h}),c[9]=h,c[10]=t,c[11]=u):u=c[11],u}let w=!(typeof navigator>"u")&&"string"==typeof navigator.platform&&/Mac|iPod|iPhone|iPad/.test(navigator.platform||"");function _(e){let t=e.toLowerCase();return"alt"===t&&w?x(e,"option"):"option"!==t||w?e:x(e,"alt")}function x(e,t){let n=e.length;return t.replace(/./g,(t,r)=>r<n&&e[r]===e[r].toUpperCase()?t.toUpperCase():t)}let k={open:400},E={animate:!0,arrow:!1,boundaryElement:null,delay:k,fallbackPlacements:["bottom-start","bottom-end","top-start","top-end"],placement:"bottom",portal:!0},A=(0,a.forwardRef)(function(e,t){let n,s,a,l,u=(0,i.c)(19);if(u[0]!==e?({content:n,hotkeys:s,...a}=e,u[0]=e,u[1]=n,u[2]=s,u[3]=a):(n=u[1],s=u[2],a=u[3]),"string"==typeof n){let e,i,l,c;return u[4]!==n?(e=n&&(0,r.jsx)(o.az,{flex:1,padding:1,children:(0,r.jsx)(o.EY,{size:1,children:n})}),u[4]=n,u[5]=e):e=u[5],u[6]!==s?(i=s&&(0,r.jsx)(o.az,{flex:"none",children:(0,r.jsx)(v,{keys:s})}),u[6]=s,u[7]=i):i=u[7],u[8]!==e||u[9]!==i?(l=(0,r.jsxs)(o.so,{align:"center",children:[e,i]}),u[8]=e,u[9]=i,u[10]=l):l=u[10],u[11]!==t||u[12]!==a||u[13]!==l?(c=(0,r.jsx)(o.m_,{...E,content:l,padding:1,ref:t,...a}),u[11]=t,u[12]=a,u[13]=l,u[14]=c):c=u[14],c}return u[15]!==n||u[16]!==t||u[17]!==a?(l=(0,r.jsx)(o.m_,{...E,content:n,ref:t,...a}),u[15]=n,u[16]=t,u[17]=a,u[18]=l):l=u[18],l}),S=(0,c.I4)(o.EY).withConfig({displayName:"SubtitleText",componentId:"sc-1sm0vyt-0"})`margin-top:2px;`,C=(0,c.I4)(o.az).withConfig({displayName:"PreviewWrapper",componentId:"sc-1sm0vyt-1"})`height:25px;width:25px;overflow:hidden;`,I=(0,a.forwardRef)(function(e,t){let n,s,l,c,d,f,h,p,g,m,y,b,w,_,x,k,E,I,T,O,R=(0,i.c)(49);R[0]!==e?({badgeText:d,children:f,disabled:h,hotkeys:p,icon:n,iconRight:s,preview:y,renderMenuItem:g,text:b,tooltipProps:w,__unstable_subtitle:c,__unstable_space:l,...m}=e,R[0]=e,R[1]=n,R[2]=s,R[3]=l,R[4]=c,R[5]=d,R[6]=f,R[7]=h,R[8]=p,R[9]=g,R[10]=m,R[11]=y,R[12]=b,R[13]=w):(n=R[1],s=R[2],l=R[3],c=R[4],d=R[5],f=R[6],h=R[7],p=R[8],g=R[9],m=R[10],y=R[11],b=R[12],w=R[13]);let D=void 0===y?null:y;
129R[14]!==l||R[15]!==h||R[16]!==D?(_=D&&(0,r.jsx)(C,{style:{opacity:h?.25:void 0},paddingRight:+!!l,children:(0,r.jsx)(o.so,{align:"center",height:"fill",justify:"center",children:D})}),R[14]=l,R[15]=h,R[16]=D,R[17]=_):_=R[17],R[18]!==n?(x=n&&(0,r.jsx)(o.az,{paddingRight:1,children:(0,r.jsxs)(o.EY,{size:1,children:[(0,a.isValidElement)(n)&&n,(0,u.Hy)(n)&&(0,r.jsx)(n,{})]})}),R[18]=n,R[19]=x):x=R[19],R[20]!==c||R[21]!==b?(k=b&&(0,r.jsxs)(o.BJ,{flex:1,space:c?1:2,children:[(0,r.jsx)(o.EY,{size:1,textOverflow:"ellipsis",weight:"medium",children:b}),c&&(0,r.jsx)(S,{size:0,textOverflow:"ellipsis",weight:"medium",muted:!0,children:c})]}),R[20]=c,R[21]=b,R[22]=k):k=R[22],R[23]!==s||R[24]!==d||R[25]!==p?(E=(d||p||s)&&(0,r.jsxs)(o.so,{align:"center",gap:3,marginLeft:3,children:[p&&(0,r.jsx)(v,{keys:p,style:{marginTop:-4,marginBottom:-4}}),d&&(0,r.jsx)(o.Ex,{fontSize:0,style:{marginTop:-4,marginBottom:-4},children:d}),s&&(0,r.jsxs)(o.EY,{size:1,children:[(0,a.isValidElement)(s)&&s,(0,u.Hy)(s)&&(0,r.jsx)(s,{})]})]}),R[23]=s,R[24]=d,R[25]=p,R[26]=E):E=R[26],R[27]!==_||R[28]!==x||R[29]!==k||R[30]!==E?(I=(0,r.jsxs)(o.so,{align:"center",gap:2,children:[_,x,k,E]}),R[27]=_,R[28]=x,R[29]=k,R[30]=E,R[31]=I):I=R[31];let j=I,M=D?1:3,N=D?1:3;R[32]!==f||R[33]!==j||R[34]!==g?(T=typeof f>"u"&&"function"==typeof g?g(j):j,R[32]=f,R[33]=j,R[34]=g,R[35]=T):T=R[35],R[36]!==h||R[37]!==t||R[38]!==m||R[39]!==M||R[40]!==N||R[41]!==T?(O=(0,r.jsx)(o.Dr,{disabled:h,paddingLeft:M,paddingRight:3,paddingY:N,ref:t,...m,children:T}),R[36]=h,R[37]=t,R[38]=m,R[39]=M,R[40]=N,R[41]=T,R[42]=O):O=R[42];let F=O;if(w){let e,t,n=w?.content;return R[43]!==F?(e=(0,r.jsx)("div",{children:F}),R[43]=F,R[44]=e):e=R[44],R[45]!==n||R[46]!==e||R[47]!==w?(t=(0,r.jsx)(A,{content:n,portal:!0,...w,children:e}),R[45]=n,R[46]=e,R[47]=w,R[48]=t):t=R[48],t}return F}),T=(0,a.forwardRef)(function(e,t){let n,s,a,l=(0,i.c)(7);l[0]!==e?({animate:s,...n}=e,l[0]=e,l[1]=n,l[2]=s):(n=l[1],s=l[2]);let u=void 0===s||s;return l[3]!==u||l[4]!==t||l[5]!==n?(a=(0,r.jsx)(o.AM,{...n,animate:u,ref:t}),l[3]=u,l[4]=t,l[5]=n,l[6]=a):a=l[6],a}),O=(0,a.forwardRef)(function(e,t){let n,s,a,l=(0,i.c)(7);l[0]!==e?({tone:s,...n}=e,l[0]=e,l[1]=n,l[2]=s):(n=l[1],s=l[2]);let u=void 0===s?"default":s;return l[3]!==n||l[4]!==t||l[5]!==u?(a=(0,r.jsx)(o.oz,{...n,muted:!0,padding:2,ref:t,tone:u}),l[3]=n,l[4]=t,l[5]=u,l[6]=a):a=l[6],a}),R=e=>{let t,n=(0,i.c)(2);return n[0]!==e.children?(t=(0,r.jsx)(o.vE,{delay:k,children:e.children}),n[0]=e.children,n[1]=t):t=n[1],t}},81495:(e,t,n)=>{var r=n(15668),i=n(77852),o=n(80389),s=n(80009),a=n(16809);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},81864:(e,t,n)=>{var r=n(4816),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;e.exports=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t})},81933:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(60732),i=n(77163);function o(e){return void 0===e&&(e=1/0),(0,r.Z)(i.D,e)}},81947:(e,t,n)=>{"use strict";let r=n(48390);e.exports=(e,t,n)=>0>r(e,t,n)},82092:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(62308),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===i?r.A.Buffer:void 0;let a=(s?s.isBuffer:void 0)||function(){return!1}},82192:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(39781),i=n(92118);function o(e,t){var n,o,s,a,l,u,c,d;let f=(0,r.q)(),h=null!=(d=null!=(c=null!=(u=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(o=t.locale)||null==(n=o.options)?void 0:n.weekStartsOn)?u:f.weekStartsOn)?c:null==(a=f.locale)||null==(s=a.options)?void 0:s.weekStartsOn)?d:0,p=(0,i.a)(e,null==t?void 0:t.in),g=p.getDay();return p.setDate(p.getDate()-(7*(g<h)+g-h)),p.setHours(0,0,0,0),p}},82241:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}}
129,82404:(e,t,n)=>{"use strict";let{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=n(36706),s=n(44764),a=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.safeSrc=[],d=t.t={},f=0,h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[h,i]],g=(e,t,n)=>{let r=(e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=f++;s(e,i,t),d[e]=i,u[i]=t,c[i]=r,a[i]=new RegExp(t,n?"g":void 0),l[i]=new RegExp(r,n?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),g("MAINVERSION",`(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${u[d.PRERELEASEIDENTIFIER]}(?:\\.${u[d.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${u[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[d.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${h}+`),g("BUILD",`(?:\\+(${u[d.BUILDIDENTIFIER]}(?:\\.${u[d.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${u[d.MAINVERSION]}${u[d.PRERELEASE]}?${u[d.BUILD]}?`),g("FULL",`^${u[d.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${u[d.MAINVERSIONLOOSE]}${u[d.PRERELEASELOOSE]}?${u[d.BUILD]}?`),g("LOOSE",`^${u[d.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${u[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${u[d.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:${u[d.PRERELEASE]})?${u[d.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:${u[d.PRERELEASELOOSE]})?${u[d.BUILD]}?)?)?`),g("XRANGE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),g("COERCE",`${u[d.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",u[d.COERCEPLAIN]+`(?:${u[d.PRERELEASE]})?`+`(?:${u[d.BUILD]})?`+"(?:$|[^\\d])"),g("COERCERTL",u[d.COERCE],!0),g("COERCERTLFULL",u[d.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${u[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${u[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${u[d.LONECARET]}${u[d.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${u[d.LONECARET]}${u[d.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${u[d.GTLT]}\\s*(${u[d.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]}|${u[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${u[d.XRANGEPLAIN]})\\s+-\\s+(${u[d.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${u[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[d.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},82455:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},82748:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(4168),i=n(92118),o=n(9180);function s(e,t,n){var s;return s=t*o.s0,(0,r.w)((null==n?void 0:n.in)||e,+(0,i.a)(e)+s)}},82945:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return void 0===e}},82979:(e,t,n)=>{var r=n(53988),i=n(25902),o=n(25411),s=n(48728),a=n(70637),l=n(38055),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&s(e),f=!n&&!c&&!d&&l(e),h=n||c||d||f,p=h?r(e.length,String):[],g=p.length;for(var m in e)(t||u.call(e,m))&&!(h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,g)))&&p.push(m);return p}},83001:(e,t,n)=>{"use strict";n.d(t,{A:()=>
129o});var r=n(77391),i=1/0;let o=function(e){return e?(e=(0,r.A)(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},83119:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},83217:(e,t,n)=>{"use strict";function r(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}n.d(t,{u:()=>r})},83282:(e,t)=>{"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},o={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=1;s<20;s++)o["f"+s]=111+s;function a(e){return i[e=e.toLowerCase()]||e}t.v_=function(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);var s=e.map(function(e){return function(e,t){var n=t&&t.byKey,s={},l=(e=e.replace("++","+add")).split("+"),u=l.length;for(var c in r)s[r[c]]=!1;var d=!0,f=!1,h=void 0;try{for(var p,g=l[Symbol.iterator]();!(d=(p=g.next()).done);d=!0){var m=p.value,y=m.endsWith("?")&&m.length>1;y&&(m=m.slice(0,-1));var b=a(m),v=r[b];if(m.length>1&&!v&&!i[m]&&!o[b])throw TypeError('Unknown modifier: "'+m+'"');1!==u&&v||(n?s.key=b:s.which=function(e){return o[e=a(e)]||e.toUpperCase().charCodeAt(0)}(m)),v&&(s[v]=!y||null)}}catch(e){f=!0,h=e}finally{try{!d&&g.return&&g.return()}finally{if(f)throw h}}return s}(e,t)}),l=function(e){return s.some(function(t){return function(e,t){for(var n in e){var r=e[n],i=void 0;if(null!=r&&(null!=(i="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&i!==r)return!1}return!0}(t,e)})};return null==n?l:l(n)}},83316:(e,t,n)=>{"use strict";let r;n.d(t,{OX:()=>f});let i="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(e){return`image-${e.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let s=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],a=["clip","crop","fill","fillmax","max","scale","min"],l=["top","bottom","left","right","center","focalpoint","entropy"],u=["format"];function c(e){let{apiHost:t,projectId:n,dataset:r}=e,i={baseUrl:(t||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=e["~experimental_resource"];if(o?.type==="media-library"){if("string"!=typeof o.id||0===o.id.length)throw Error('Media library clients must include an id in "~experimental_resource"');return{...i,mediaLibraryId:o.id}}return{...i,projectId:n,dataset:r}}function d(e){return e&&"config"in e&&"function"==typeof e.config?c(e.config()):e&&"clientConfig"in e&&"object"==typeof e.clientConfig?c(e.clientConfig):e||{}}function f(e){return new h(null,d(e))}class h{options;constructor(e,t){this.options=e?{...e.options||{},...t||{}}:{...t||{}}}withOptions(e){return new h(this,function(e,t){let n=t.baseUrl||e.baseUrl,r={baseUrl:n};for(let e in t)t.hasOwnProperty(e)&&(r[function(e){for(let t of s){let[n,r]=t;if(e===n||e===r)return n}return e}(e)]=t[e]);return{baseUrl:n,...r}}(this.options,e))}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(e){let t=d(e),n={...this.options};return delete n.baseUrl,delete n.projectId,delete n.dataset,delete n.mediaLibraryId,new h(null,{...t,...n})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&1!==e?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,t){return this.withOptions({focalPoint:{x:e,y:t}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,t){return this.withOptions({width:e,height:t})}blur(e){return this.withOptions({blur:e})}
129sharpen(e){return this.withOptions({sharpen:e})}rect(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(-1===a.indexOf(e))throw Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(-1===l.indexOf(e))throw Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(-1===u.indexOf(e))throw Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(1!==e)throw Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return function(e){let t={...e||{}},n=t.source;delete t.source;let r=function(e){var t;let n;if(!e)return null;if("string"==typeof e&&(t=e,/^https?:\/\//.test(`${t}`)))n={asset:{_ref:o(e)}};else if("string"==typeof e)n={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)n={asset:e};else if(e&&"string"==typeof e._id)n={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)n={asset:{_ref:o(e.asset.url)}};else{if("object"!=typeof e.asset)return null;n={...e}}return e.crop&&(n.crop=e.crop),e.hotspot&&(n.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;let t={...e};return t.crop||(t.crop={left:0,top:0,bottom:0,right:0}),t.hotspot||(t.hotspot={x:.5,y:.5,height:1,width:1}),t}(n)}(n);if(!r){if(n&&"object"==typeof n&&null!==n&&n._upload&&(!n.asset||!n.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(n)})`)}let a=function(e){let[,t,n,r]=e.split("-");if(!t||!n||!r)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${i}".`);let[o,s]=n.split("x"),a=+o,l=+s;if(!(isFinite(a)&&isFinite(l)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${i}".`);return{id:t,width:a,height:l,format:r}}(r.asset._ref||r.asset._id||""),l=Math.round(r.crop.left*a.width),u=Math.round(r.crop.top*a.height),c={left:l,top:u,width:Math.round(a.width-r.crop.right*a.width-l),height:Math.round(a.height-r.crop.bottom*a.height-u)},d=r.hotspot.height*a.height/2,f=r.hotspot.width*a.width/2,h=r.hotspot.x*a.width,p=r.hotspot.y*a.height;return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...function(e,t){let n,r=t.width,i=t.height;if(!(r&&i))return{width:r,height:i,rect:e.crop};let o=e.crop,s=e.hotspot,a=r/i;if(o.width/o.height>a){let e=Math.round(o.height),t=Math.round(e*a),r=Math.max(0,Math.round(o.top)),i=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-t/2));i<o.left?i=o.left:i+t>o.left+o.width&&(i=o.left+o.width-t),n={left:i,top:r,width:t,height:e}}else{let e=o.width,t=Math.round(e/a),r=Math.max(0,Math.round(o.left)),i=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-t/2));i<o.top?i=o.top:i+t>o.top+o.height&&(i=o.top+o.height-t),n={left:r,top:i,width:e,height:t}}return{width:r,height:i,rect:n}}({crop:c,hotspot:{left:h-f,top:p-d,right:h+f,bottom:p+d}},t)}),function(e){let t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=e.vanityName?`/${e.vanityName}`:"",r=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${n}`,i=e.mediaLibraryId?`${t}/media-libraries/${e.mediaLibraryId}/images/${r}`:`${t}/images/${e.projectId}/${e.dataset}/${r}`,o=[];if(e.rect){let{left:t,top:n,width:r,height:i}=e.rect;(0!==t||0!==n||i!==e.asset.height||r!==e.asset.width)&&o.push(`rect=${t},${n},${r},${i}`)}e.bg&&o.push(`bg=${e.bg}`),e.focalPoint&&(o.push(`fp-x=${e.focalPoint.x}`),o.push(`fp-y=${e.focalPoint.y}`));
129let a=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return a&&o.push(`flip=${a}`),s.forEach(t=>{let[n,r]=t;"u">typeof e[n]?o.push(`${r}=${encodeURIComponent(e[n])}`):"u">typeof e[r]&&o.push(`${r}=${encodeURIComponent(e[r])}`)}),0===o.length?i:`${i}?${o.join("&")}`}({...t,asset:a})}(this.options)}toString(){return this.url()}}r=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],(...e)=>{console.warn(r.join(" "),...e)}},83558:(e,t,n)=>{var r=n(94885),i=n(32198);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},83568:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(45037),i=n(8286),o=n(31536),s=n(96948),a=n(28400);function l(e,t,n,l){return(0,s.N)(function(s,u){t&&"function"!=typeof t?(n=t.duration,c=t.element,l=t.connector):c=t;var c,d=new Map,f=function(e){d.forEach(e),e(u)},h=function(e){return f(function(t){return t.error(e)})},p=0,g=!1,m=new a.H(u,function(t){try{var s=e(t),f=d.get(s);if(!f){d.set(s,f=l?l():new o.B);var y,b,v,w=(y=s,b=f,(v=new r.c(function(e){p++;var t=b.subscribe(e);return function(){t.unsubscribe(),0==--p&&g&&m.unsubscribe()}})).key=y,v);if(u.next(w),n){var _=(0,a._)(f,function(){f.complete(),null==_||_.unsubscribe()},void 0,void 0,function(){return d.delete(s)});m.add((0,i.Tg)(n(w)).subscribe(_))}}f.next(c?c(t):t)}catch(e){h(e)}},function(){return f(function(e){return e.complete()})},h,function(){return d.clear()},function(){return g=!0,0===p});s.subscribe(m)})}},83572:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}n.d(t,{Q:()=>l,u4:()=>r});var i={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},o={0:8203,1:8204,2:8205,3:65279};[,,,,].fill(String.fromCodePoint(o[0])).join(""),Object.fromEntries(Object.entries(o).map(e=>e.reverse())),Object.fromEntries(Object.entries(i).map(e=>e.reverse()));var s=`${Object.values(i).map(e=>`\\u{${e.toString(16)}}`).join("")}`,a=RegExp(`[${s}]{4,}`,"gu");function l(e){var t,n;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(a,""),encoded:(null==(n=t.match(a))?void 0:n[0])||""}.cleaned)}},83642:(e,t,n)=>{var r=n(24604),i=n(26526);e.exports=function e(t,n,o,s,a){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,s,e,a):t!=t&&n!=n)}},83654:(e,t,n)=>{"use strict";var r=n(39860),i=n(14806),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,a=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=s(e,(d=u(function(){function e(e){if(!l){if(l=!0,s=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return a=t}return a=e}if(t=a,o(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(s=e,t):(s=e,a=n)}var s,a,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=h},[h]),c(h),h}},83696:(e,t,n)=>{"use strict";n.d(t,{S8:()=>s,cd:()=>function e(t,n=3,r=102400){let i=s(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}});var r=n(56819),i=n(21408),o=n(25030);function s(e,t=100,n=Infinity){try{return function e(t,n,s=Infinity,a=Infinity,l=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[u,c]=l;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!d.startsWith("[object "))return d;if(n.__sentry_skip_normalization__)return n;let f="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:s;if(0===f)return d.replace("object ","");if(u(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,f-1,a,l)}catch(e){}let h=Array.isArray(n)?[]:{},p=0,g=(0,i.W4)(n);for(let t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(p>=a){h[t]="[MaxProperties ~]";break}let n=g[t];h[t]=e(t,n,f-1,a,l),p++}return c(n),h}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},83727:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42557),i=n(75130),o=n(73157),s=n(71916);let a=function(e,t){if(null==e)return{};var n=(0,r.A)((0,s.A)(e),function(e){return[e]});return t=(0,i.A)(t),(0,o.A)(e,n,function(e,n){return t(e,n[0])})}},83896:(e,t,n)=>{"use strict";n.d(t,{DN:()=>X,GD:()=>K,N_:()=>w,RZ:()=>v,VK:()=>B,cQ:()=>b,fA:()=>D,ks:()=>Q,nk:()=>j,pg:()=>V,rd:()=>m,s8:()=>J,wE:()=>F});var r=n(9784),i=n(63056),o=n(39860),s=n(43734),a=n(77058),l=n(76323),u=n(92940),c=n(33341),d=n(70812),f=n(30536),h=n(92571),p=n(92729),g=n(64681);function m(){let e=(0,o.useContext)(s.zA);if(!e)throw Error("Router: missing context value");return e}function y(e){let t,n,r=(0,i.c)(8),{onClick:o,href:s,target:a,replace:l}=e,u=void 0!==l&&l,{navigateUrl:c}=m();r[0]!==s||r[1]!==c||r[2]!==o||r[3]!==u||r[4]!==a?(t=e=>{e.isDefaultPrevented()||s&&(o&&o(e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||0!==e.button)&&(a||(e.preventDefault(),c({path:s,replace:u}))))},r[0]=s,r[1]=c,r[2]=o,r[3]=u,r[4]=a,r[5]=t):t=r[5];let d=t;return r[6]!==d?(n={onClick:d},r[6]=d,r[7]=n):n=r[7],n}function b(e){let t,n,r,o=(0,i.c)(13),{intent:s,onClick:a,params:l,replace:u,target:c,searchParams:d}=e,{resolveIntentLink:f}=m();o[0]!==s||o[1]!==l||o[2]!==f||o[3]!==d?(t=f(s,l,d),o[0]=s,o[1]=l,o[2]=f,o[3]=d,o[4]=t):t=o[4];let h=t;o[5]!==h||o[6]!==a||o[7]!==u||o[8]!==c?(n={href:h,onClick:a,replace:u,target:c},o[5]=h,o[6]=a,o[7]=u,o[8]=c,o[9]=n):n=o[9];let{onClick:p}=y(n);return o[10]!==h||o[11]!==p?(r={onClick:p,href:h},o[10]=h,o[11]=p,o[12]=r):r=o[12],r}let v=(0,o.forwardRef)(function(e,t){let n,o,s,a,l,u,c,d=(0,i.c)(18);d[0]!==e?({intent:n,params:o,target:l,searchParams:a,...s}=e,d[0]=e,d[1]=n,d[2]=o,d[3]=s,d[4]=a,d[5]=l):(n=d[1],o=d[2],s=d[3],a=d[4],l=d[5]),d[6]!==n||d[7]!==o||d[8]!==e.onClick||d[9]!==a||d[10]!==l?(u={intent:n,params:o,target:l,onClick:e.onClick,searchParams:a}
129,d[6]=n,d[7]=o,d[8]=e.onClick,d[9]=a,d[10]=l,d[11]=u):u=d[11];let{onClick:f,href:h}=b(u);return d[12]!==h||d[13]!==f||d[14]!==t||d[15]!==s||d[16]!==l?(c=(0,r.jsx)("a",{...s,href:h,onClick:f,ref:t,target:l}),d[12]=h,d[13]=f,d[14]=t,d[15]=s,d[16]=l,d[17]=c):c=d[17],c}),w=(0,o.forwardRef)(function(e,t){let n,o,s,a,l,u,c,d=(0,i.c)(17);d[0]!==e?({onClick:o,href:n,target:l,replace:s,...a}=e,d[0]=e,d[1]=n,d[2]=o,d[3]=s,d[4]=a,d[5]=l):(n=d[1],o=d[2],s=d[3],a=d[4],l=d[5]),d[6]!==n||d[7]!==o||d[8]!==s||d[9]!==l?(u={onClick:o,href:n,target:l,replace:s},d[6]=n,d[7]=o,d[8]=s,d[9]=l,d[10]=u):u=d[10];let{onClick:f}=y(u);return d[11]!==n||d[12]!==f||d[13]!==t||d[14]!==a||d[15]!==l?(c=(0,r.jsx)("a",{...a,onClick:f,href:n,target:l,ref:t}),d[11]=n,d[12]=f,d[13]=t,d[14]=a,d[15]=l,d[16]=c):c=d[16],c}),_=/^[a-zA-Z0-9_-]+$/;function x(e){if(!e)return null;if(e.startsWith(":")){let t=e.slice(1);if(!_.test(t)){let t=e.includes("*")?" Splats are not supported. Consider using child routes instead":"";console.error(Error(`Warning: Param segments "${e}" includes invalid characters.${t}`))}return{type:"param",name:t}}return{type:"dir",name:e}}function k(e){return Array.isArray(e)?e:e?[e]:[]}function E(e,t,n){return{type:"error",node:e,missingKeys:t,unmappableStateKeys:n}}function A(e,t,n,r){return{type:"ok",node:e,matchedState:t,searchParams:n,child:r}}function S(e,t){let n=[...String(e)],r="";for(let e=0;e<n.length;e++){let i=n[e];t.includes(i)?r+=i:r+=encodeURIComponent(i)}return r}let C=g("state-router");function I(e){return`[${e}]`}function T(e){return`"${e}"`}function O(e){return String.fromCharCode(parseInt(e.slice(1),16))}function R(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function D(e=""){let t=decodeURIComponent(e);if(!t)return{};try{var n;return JSON.parse((n=t.replace(/-/g,"+").replace(/_/g,"/"),decodeURIComponent(Array.from(atob(n),R).join(""))))}catch{}try{return JSON.parse(atob(t))}catch{}try{return JSON.parse(t)}catch{console.warn("Failed to parse JSON parameters")}return{}}function j(e){return e?btoa(encodeURIComponent(JSON.stringify(e)).replace(/%[0-9A-F]{2}/g,O)).replace(/\//g,"_").replace(/\+/g,"-").replace(/[=]+$/,""):""}function M(e){return e.split(";").reduce((e,t)=>{let[n,r]=t.split("=");return e[decodeURIComponent(n)]=decodeURIComponent(r),e},{})}function N(e){return Object.entries(e).filter(([,e])=>null!=e).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join(";")}let F={create:(e,t,n)=>U(P(e,t,n)),intents:e=>{let t=(function(...e){return e.reduce((e,t)=>e.concat(t.split("/")),[]).filter(Boolean)})(e).join("/");return F.create(`${t}/:intent`,[F.create(":params",{transform:{params:{toState:M,toPath:N}}},[F.create(":payload",{transform:{payload:{toState:D,toPath:j}}})])])},scope:(e,t,n,r)=>U({...P(t,n,r),scope:e})};function $(e){return Array.isArray(e)||"function"==typeof e?e:e?[e]:[]}function P(e,t,n){return"object"==typeof e?e:Array.isArray(t)||"function"==typeof t||t&&"_isRoute"in t?{path:e,children:$(t)}:n?{path:e,...t,children:$(n)}:{path:e,...t}}let L={};function z(e){return e.split("/").every(e=>!e)}function U(e){let{path:t,scope:n,transform:r,children:i,__unsafe_disableScopedSearchParams:o}=e;if(!t)throw TypeError("Missing path");return{_isRoute:!0,scope:n,__unsafe_disableScopedSearchParams:o,route:function(e){let[t]=e.split("?");return{raw:e,segments:t.split("/").map(x).filter(Boolean)}}(t),children:i||[],transform:r,encode(e){return function(e,t){C("Resolving path from state %o",t);let n=function e(t,n){if(!n)return A(t,{},[]);let{_searchParams:r=[],...i}=(t.scope?n[t.scope]:n)||{},o=t.route.segments.filter(e=>"param"===e.type).map(e=>e.name),s=(0,a.A)(i)?Object.keys(i):[],d=(0,l.A)(s,o),f=(0,u.A)(o,d),h=(0,u.A)(s,d);if(f.length>0)return E(t,f,[]);let p=r.map(([e,t])=>[[e],t]),g=(0,c.A)(i,d);if(0===h.length)return A(t,g,p);let m=k(("function"==typeof t.children?t.children((0,a.A)(i)?i:{}):t.children)||[]);if(h.length>0&&0===m.length)return E(t,[],h);let y=(0,c.A)(i,h),b=m.map(t=>e(t,y)).find(e=>"ok"===e.type);return b?A(t,g,p,b):E(t,[],h)}(e,t);if("error"===n.type){let e=n.unmappableStateKeys;if(e.length>0)throw Error(`Unable to find matching route for state. Could not map the following state key${1==e.length?"":"s"} to a valid url: ${e.map(T).join(", ")}`);let t=n.missingKeys;throw Error(`Unable to find matching route for state. State object is missing the following key${1==t.length?"":"s"} defined in route: ${t.map(T).join(", ")}`)}let{path:r,searchParams:i}=function e(t){let n=t.matchedState,r=t.node.route.segments.map(e=>{if("dir"===e.type)return e.name;let r=t.node.transform&&t.node.transform[e.name];return r?r.toPath(n[e.name]):n[e.name]}),i=t.child?e(t.child):void 0,o=i?.searchParams?[...t.searchParams,...i.searchParams]:t.searchParams;return{searchParams:function(e,t){let n=e.scope;return n&&!e.__unsafe_disableScopedSearchParams?t.map(([e,t])=>[[n,...e],t]):t}(t.node,o),path:[...r||[],...i?.path||[]]}}(n),o=i.length>0?i.flatMap(([e,t])=>void 0===t?[]:[S(function(e){let[t,...n]=e;return n.length>0?[t,...n.map(I)].join(""):t}(e),"[]"),S(t,"/")].join("=")).join("&"):"";return`/${r.join("/")}${o?`?${o}`:""}`}(this,e)},decode(e){C("resolving state from path %s",e);let[t,n]=e.split("?"),r=function e(t,n,r){var i,o;
129let s=n.split("/").filter(Boolean),a=t.route.segments.length;if(s.length<a)return null;let l={};if(!t.route.segments.every((e,n)=>{if("dir"===e.type)return e.name===s[n];let r=t.transform&&t.transform[e.name];return l[e.name]=r?r.toState(s[n]):s[n],!0}))return null;let u=s.slice(a),c=null,d="function"==typeof t.children?k(t.children(l)):t.children,f=(i=t.scope,o=r,i?o.map(([e,t])=>[e[0]===i?e.slice(1):e,t]):o);if(d.some(t=>{if(t){let n=t.scope?f.filter(([e])=>t.scope===e[0]):f;return c=e(t,u.join("/"),n)}}),u.length>0&&!c)return null;let h=f.flatMap(([e,t])=>1===e.length?[[e[0],t]]:[]),p={...l,...null===c?{}:c,...h.length>0?{_searchParams:h}:{}};return t.scope?{[t.scope]:p}:p}(this,t,Array.from(new URLSearchParams(n).entries()).map(([e,t])=>[function(e){let t=[],n=0,r=0;for(;n<e.length;){let i=e.indexOf("[",n);if(-1===i){t.push(e.slice(n,e.length));break}if(1===r)throw Error("Nested brackets not supported");r=1,i>n&&(t.push(e.slice(n,i)),n=i);let o=e.indexOf("]",i);if(-1===o){if(1===r)throw Error("Unclosed bracket");break}r=0,t.push(e.slice(n+1,o)),n=o+1}return t}(e),t]));return C("resolved: %o",r||null),r||null},isRoot:z,isNotFound(e){return null===this.decode(e)},getBasePath(){return this.encode(L)},getRedirectBase(e){if(z(e)){let t=this.getBasePath();if(e!==t)return t}return null}}}let B=["perspective","excludedPerspectives","displayInlineChanges"],q=e=>{if("object"!=typeof e||null===e||Array.isArray(e)||!("replace"in e||"stickyParams"in e||"state"in e))return!1;if("state"in e){let{state:t}=e;return null==t||"object"==typeof t}return!0};function V(e){let t,n,o,a,l,u,c,p,g,m=(0,i.c)(44),{onNavigate:y,router:b,state:v}=e;
129m[0]!==b||m[1]!==v._searchParams?(t=(e,t,n)=>{let[r,i]=Array.isArray(t)?t:[t];return b.encode({intent:e,params:r,payload:i,_searchParams:(0,d.A)({...(0,f.A)((v._searchParams??[]).filter(W)),...(0,f.A)(n??[])})})},m[0]=b,m[1]=v._searchParams,m[2]=t):t=m[2];let w=t;m[3]!==b||m[4]!==v._searchParams?(n=e=>{let t=v._searchParams||[],n=e?._searchParams||[],r=B.reduce((e,r)=>(function(e,t,n){let r=e.filter(([e])=>e!==t);return void 0===n||""==n?r:[...r,[t,n]]})(e,r,Y(n,r)??Y(t,r)),n||[]);return b.encode({...e,_searchParams:r})},m[3]=b,m[4]=v._searchParams,m[5]=n):n=m[5];let _=n;m[6]!==y||m[7]!==_||m[8]!==v?(o=(e,t)=>{let n=q(e)&&!t?e:t||{},r=q(e)?(s=e,a=v,(q(s)?null===s.state?{}:s.state??a:null)??v):e,i=v._searchParams||[],o=n.stickyParams??Object.fromEntries(i.filter(G));var s,a,l,u,c=o;if(Object.keys(c).some(e=>!B.includes(e)))throw Error("One or more parameters are not sticky");let d=(l=r._searchParams||[],(u=o)?[...l.filter(([e])=>!Object.hasOwn(u,e)),...Object.entries(u).filter(e=>void 0!==e[1]).map(e=>[e[0],null===e[1]?"":e[1]])]:l);y({path:_({...r,_searchParams:d}),replace:n.replace})},m[6]=y,m[7]=_,m[8]=v,m[9]=o):o=m[9];let x=o;m[10]!==x?(a=(e,t)=>x({stickyParams:e,...void 0===t?{}:t,state:void 0}),m[10]=x,m[11]=a):a=m[11];let k=a;m[12]!==y||m[13]!==w?(l=(e,t,n)=>{y({path:w(e,t),replace:(void 0===n?{}:n).replace})},m[12]=y,m[13]=w,m[14]=l):l=m[14];let E=l;r:{let e,t,n,r,i;if(!v._searchParams){let e;m[15]!==v?(e=[v,null],m[15]=v,m[16]=e):e=m[16],u=e;break r}m[17]!==v?({_searchParams:e,...t}=v,m[17]=v,m[18]=e,m[19]=t):(e=m[18],t=m[19]),m[20]!==e?(n=(0,h.A)(e,H),m[20]=e,m[21]=n):n=m[21];let[o,s]=n;if(0===o.length){let e;m[22]!==v?(e=[v,null],m[22]=v,m[23]=e):e=m[23],u=e;break r}m[24]!==t||m[25]!==s?(r={...t,_searchParams:s},m[24]=t,m[25]=s,m[26]=r):r=m[26],m[27]!==o||m[28]!==r?(i=[r,o],m[27]=o,m[28]=r,m[29]=i):i=m[29],u=i}let[A,S]=u;m[30]!==S?(c=Object.fromEntries(S||[]),m[30]=S,m[31]=c):c=m[31];let C=c;m[32]!==k||m[33]!==x||m[34]!==E||m[35]!==y||m[36]!==w||m[37]!==_||m[38]!==A||m[39]!==C?(p={navigate:x,navigateIntent:E,navigateStickyParams:k,navigateUrl:y,resolveIntentLink:w,resolvePathFromState:_,state:A,stickyParams:C},m[32]=k,m[33]=x,m[34]=E,m[35]=y,m[36]=w,m[37]=_,m[38]=A,m[39]=C,m[40]=p):p=m[40];let I=p;return m[41]!==e.children||m[42]!==I?(g=(0,r.jsx)(s.zA.Provider,{value:I,children:e.children}),m[41]=e.children,m[42]=I,m[43]=g):g=m[43],g}function H(e){let[t]=e;return B.includes(t)}function G(e){let[t]=e;return B.includes(t)}function W(e){let[t]=e;return B.includes(t)}function Y(e,t){let n=e.find(([e])=>e===t);return n?n[1]:void 0}let K=function(e){let t,n,a,l,u,c,d,f,h=(0,i.c)(24),{children:p,scope:g,__unsafe_disableScopedSearchParams:y}=e,b=m(),{resolvePathFromState:v,navigate:w}=b,_=(0,o.useRef)(b.state);h[0]!==b.state?(t=()=>{_.current=b.state},n=[b.state],h[0]=b.state,h[1]=t,h[2]=n):(t=h[1],n=h[2]),(0,o.useEffect)(t,n),h[3]!==y||h[4]!==g?(a=e=>{var t;if(null===e)return null;let{_searchParams:n,...r}=e||{},i=(t=_.current,r&&{...t,[g]:r});return y?i._searchParams=n:i[g]._searchParams=n,i},h[3]=y,h[4]=g,h[5]=a):a=h[5];let x=a;h[6]!==v||h[7]!==x?(l=e=>v(x(e)),h[6]=v,h[7]=x,h[8]=l):l=h[8];let k=l;h[9]!==w||h[10]!==x?(u=(e,t)=>{if(q(e)&&!t){let{state:t}=e;if(t){let n=x(t);return w(null===n?{}:n,e)}return w(e)}let n=q(e)?x(null):x(e);return w(null===n?{}:n,t||{})},h[9]=w,h[10]=x,h[11]=u):u=h[11];let E=u,A=b.state;h[12]!==y||h[13]!==A||h[14]!==g?(c="object"==typeof A[g]?{...A[g]}:{},y&&(c._searchParams=A._searchParams),h[12]=y,h[13]=A,h[14]=g,h[15]=c):c=h[15],h[16]!==c||h[17]!==E||h[18]!==b||h[19]!==k?(d={...b,navigate:E,resolvePathFromState:k,state:c},h[16]=c,h[17]=E,h[18]=b,h[19]=k,h[20]=d):d=h[20];let S=d;return h[21]!==S||h[22]!==p?(f=(0,r.jsx)(s.zA.Provider,{value:S,children:p}),h[21]=S,h[22]=p,h[23]=f):f=h[23],f};K.displayName="RouteScope";let Z={};function X(e){let t,n,r,o=(0,i.c)(11),{onClick:s,replace:a,state:l,target:u,toIndex:c}=e,d=void 0!==c&&c;if(l&&d)throw Error("Passing both `state` and `toIndex={true}` as props to StateLink is invalid");l||d||console.error(Error("No state passed to StateLink. If you want to link to an empty state, its better to use the the `toIndex` property"));let{resolvePathFromState:f}=m(),h=d?Z:l||Z;o[0]!==f||o[1]!==h?(t=f(h),o[0]=f,o[1]=h,o[2]=t):t=o[2];let p=t;o[3]!==p||o[4]!==s||o[5]!==a||o[6]!==u?(n={href:p,onClick:s,replace:a,target:u},o[3]=p,o[4]=s,o[5]=a,o[6]=u,o[7]=n):n=o[7];let{onClick:g}=y(n);return o[8]!==p||o[9]!==g?(r={onClick:g,href:p},o[8]=p,o[9]=g,o[10]=r):r=o[10],r}let J=(0,o.forwardRef)(function(e,t){let n,o,s,a,l,u,c,d,f=(0,i.c)(18);f[0]!==e?({onClick:n,replace:o,state:a,target:u,toIndex:l,...s}=e,f[0]=e,f[1]=n,f[2]=o,f[3]=s,f[4]=a,f[5]=l,f[6]=u):(n=f[1],o=f[2],s=f[3],a=f[4],l=f[5],u=f[6]);let h=void 0!==l&&l;f[7]!==n||f[8]!==o||f[9]!==a||f[10]!==u||f[11]!==h?(c={onClick:n,replace:o,state:a,target:u,toIndex:h},f[7]=n,f[8]=o,f[9]=a,f[10]=u,f[11]=h,f[12]=c):c=f[12];let{onClick:p,href:g}=X(c);return f[13]!==g||f[14]!==p||f[15]!==t||f[16]!==s?(d=(0,r.jsx)("a",{...s,href:g,onClick:p,ref:t}
129),f[13]=g,f[14]=p,f[15]=t,f[16]=s,f[17]=d):d=f[17],d});function Q(e){let t,n=(0,i.c)(3),r=void 0===e?p.A:e,{state:o}=m();return n[0]!==r||n[1]!==o?(t=r(o),n[0]=r,n[1]=o,n[2]=t):t=n[2],t}!function(e){e.displayName||e.name}(e=>e.children(e.router))},83903:(e,t,n)=>{e=n.nmd(e);var r=n(24402),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&r.process,a=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},84051:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}},84264:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(9784),i=n(39860),o=n(580),s=n(73765);let a=Math.ceil(10*Math.random());function l(e){return Object.prototype.toString.call(e).slice(8,-1)}function u(e){let t=l(e);return"Object"!==t&&"Array"!==t}class c extends i.Component{shouldComponentUpdate(e){return e.highlight!==this.props.highlight}render(){let e=this.props.string||"",t=this.props.highlight||"",n=e.search(t);if(!t||-1===n)return(0,r.jsx)("span",{children:e});let i=t.source.length,o=e.slice(n,n+i);return(0,r.jsx)("span",{children:e.split(t).map(function(e,t){return(0,r.jsxs)("span",{children:[t>0?(0,r.jsx)("span",{className:"json-inspector__hl",children:o}):null,e]},t)})})}}function d(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}class f extends i.Component{constructor(e){super(e),this.state={expanded:this._isInitiallyExpanded(this.props)}}render(){let{label:e,data:t,root:n,id:i}=this.props,o="id_"+ ++a,s={path:this.keypath(),key:e.toString(),value:t},l=this._onClick.bind(this,s);return(0,r.jsxs)("div",{"data-testid":n?"leaf-root":"leaf-child","aria-expanded":this.state.expanded,"data-root":n||void 0,className:this.getClassName(),id:"leaf-"+this._rootPath(),children:[(0,r.jsx)("input",{className:"json-inspector__radio",type:"radio",name:o,id:i,tabIndex:-1}),(0,r.jsxs)("label",{className:"json-inspector__line",htmlFor:o,onClick:l,children:[(0,r.jsx)("div",{className:"json-inspector__flatpath",children:s.path}),(0,r.jsxs)("span",{className:"json-inspector__key",children:[this.format(s.key),":",this.renderInteractiveLabel(s.key,!0)]}),this.renderTitle(),this.renderShowOriginalButton()]}),this.renderChildren()]})}renderTitle(){var e,t;let n=this.data(),i=l(n);if(Array.isArray(n)){let t=n.length;return(0,r.jsxs)("span",{className:"json-inspector__value json-inspector__value_helper",children:[t>0?"[â¦] ":"[] ",(e=t)+(1===e?" item":" items")]})}if("object"==typeof n&&null!==n){let e=Object.keys(n).length;return(0,r.jsxs)("span",{className:"json-inspector__value json-inspector__value_helper",children:[e>0?"{â¦} ":"{} ",(t=e)+(1===t?" property":" properties")]})}return(0,r.jsxs)("span",{className:"json-inspector__value json-inspector__value_"+i.toLowerCase(),children:[this.format(String(n)),this.renderInteractiveLabel(n,!1)]})}renderChildren(){let{verboseShowOriginal:e,query:t,id:n,isExpanded:i,interactiveLabel:o,onClick:a,getOriginal:c}=this.props,h=this._rootPath(),p=this.data();return this.state.expanded&&(d(p)||Array.isArray(p))?Object.keys(p).map(d=>{var g,m;let y=p[d],b=!this.state.original||!!e&&t;return(0,r.jsx)(f,{data:y,label:d,prefix:h,onClick:a,id:n,query:t,getOriginal:b?c:void 0,isExpanded:i,interactiveLabel:o,verboseShowOriginal:e},(g=d,u(m=y)?g+":"+s(String(m)):g+"["+l(m)+"]"))}):null}renderShowOriginalButton(){let{data:e,getOriginal:t,query:n}=this.props;return u(e)||this.state.original||!t||!n||n.test(this.keypath())?null:(0,r.jsx)("span",{className:"json-inspector__show-original",onClick:this._onShowOriginalClick})}renderInteractiveLabel(e,t){let n=this.props.interactiveLabel;return"function"==typeof n?(0,r.jsx)(n,{value:String(e),originalValue:e,isKey:t,keypath:this.keypath()}):null}static getDerivedStateFromProps(e,t){return e.query?{expanded:!e.query.test(e.label)}:null}componentDidUpdate(e){e.query&&!this.props.query&&this.setState({expanded:this._isInitiallyExpanded(this.props)})}_rootPath(){return(this.props.prefix||"")+"."+this.props.label}keypath(){return this._rootPath().slice(6)}data(){return this.state.original||this.props.data}format(e){return(0,r.jsx)(c,{string:e,highlight:this.props.query})}getClassName(){let e="json-inspector__leaf";return this.props.root&&(e+=" json-inspector__leaf_root"),this.state.expanded&&(e+=" json-inspector__leaf_expanded"),u(this.props.data)||(e+=" json-inspector__leaf_composite"),e}toggle(){this.setState({expanded:!this.state.expanded})}_onClick(e,t){this.toggle(),this.props.onClick&&this.props.onClick(e),t.stopPropagation()}_onShowOriginalClick=e=>{this.setState({original:this.props.getOriginal?.(this.keypath())}),e.stopPropagation()};_isInitiallyExpanded(e){if(e.root)return!0;let t=this.keypath();return e.query?!e.query.test(t)&&"function"==typeof e.getOriginal:!!e.isExpanded&&e.isExpanded(t,e.data)}}let h=(...e)=>{},p=({onChange:e=h})=>{let t=(0,i.useCallback)(t=>e(t.target.value),[e]);return(0,r.jsx)("input",{className:"json-inspector__search",type:"search",placeholder:"Search",onChange:t})};function g(e){return d(e)?0===Object.keys(e).length:Array.isArray(e)?0===e.length:null===e||"string"!=typeof e||"number"!=typeof e||0===Object.keys(e).length}let m=function(e){let t,n,r;return(i,o)=>(r&&i===t&&o===n||(t=i,n=o,r=e(i,o)),r)}((e,t)=>{let n=t||{cacheResults:!0},r={};return function(t){let i;if(!n.cacheResults)return y(e,t,n);if(!r[t]){for(var o=t.length-1;o>0;o-=1)if(r[i=t.slice(0,o)]){r[t]=y(r[i],t,n);break}}return r[t]||(r[t]=y(e,t,n)),r[t]}});function y(e,t,n){return d(e)||Array.isArray(e)?Object.keys(e).reduce(function(r,i){let o,s=e[i];return s&&("object"!=typeof s?(b(t,i,n)||b(t,s,n))&&(r[i]=s):b(t,i,n)?r[i]=s:g(o=y(s,t,n))||Object.assign(r,{[i]:o})),r},{}):{}}function b(e,t,n){if(!t)return!1;var r=String(t),i=e;return n?.ignoreCase&&(r=r.toLowerCase(),i=i.toLowerCase()),-1!==r.indexOf(i)}function v(e){return parseInt(e,10)}let w=e=>e.length>=2,_={cacheResults:!0,ignoreCase:!1};class x extends i.Component{static defaultProps={data:null,search:p,searchOptions:{debounceTime:0},className:"",id:"json-"+Date.now(),onClick:h,filterOptions:{cacheResults:!0,ignoreCase:!1},validateQuery:function(e){return e.length>=2},isExpanded:function(e,t){return!1},verboseShowOriginal:!1};constructor(e){super(e),this.state={query:"",filterer:m(e.data,e.filterOptions)}}render(){let{data:e,className:t,onClick:n,id:i,isExpanded:o,interactiveLabel:s,verboseShowOriginal:a,filterOptions:l=_,validateQuery:u=w}=this.props,c=""!==this.state.query&&u(this.state.query),d=c?this.state.filterer(this.state.query):e,h=c&&g(d);return(0,r.jsxs)("div",{"data-testid":"json-inspector",className:"json-inspector "+t,children:[this.renderToolbar(),h?(0,r.jsx)("div",{className:"json-inspector__not-found",children:"Nothing found"}):(0,r.jsx)(f,{data:d,onClick:n,id:i,getOriginal:this.getOriginal,query:c?new RegExp(this.state.query,l.ignoreCase?"i":""):null,label:"root",root:!0,isExpanded:o,interactiveLabel:s,verboseShowOriginal:a})]})}renderToolbar(){let e=this.props.search;return e?(0,r.jsx)("div",{className:"json-inspector__toolbar",children:(0,r.jsx)(e,{onChange:o(this.search,this.props.searchOptions?.debounceTime),data:this.props.data,query:this.state.query})}):null}search=e=>{this.setState({query:e})};static getDerivedStateFromProps(e,t){let n=m(e.data,e.filterOptions);return n===t.filterer?null:{...t,filterer:n}}
129shouldComponentUpdate(e,t){return t.query!==this.state.query||e.data!==this.props.data||e.onClick!==this.props.onClick}createFilterer=(e,t)=>{this.setState({filterer:m(e,t)})};getOriginal=e=>(function e(t,n){var r=n.split("."),i=r.shift();return i?Array.isArray(t)&&t[v(i)]?e(t[v(i)],r.join(".")):d(t)&&i in t?e(t[i],r.join(".")):void 0:t})(this.props.data,e)}},84451:(e,t,n)=>{"use strict";let r=n(16088),i=n(48390);e.exports=(e,t,n)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>i(e,t,n));for(let e of l)r(e,t,n)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");let c=u.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return c.length<d.length?c:t}},84623:(e,t,n)=>{"use strict";n.d(t,{GR:()=>a,Y4:()=>u,lv:()=>s,sr:()=>l});var r=n(3283),i=n(3254);function o({context:e,blockOffset:t,direction:n}){return(0,r.m4)({context:e,blockOffset:t,direction:n})||function({context:e,blockOffset:t}){let n;for(let r of e.value)if(r._key===t.path[0]._key){n={path:[{_key:r._key}],offset:t.offset};break}return n}({context:e,blockOffset:t})}function s({context:e,offsets:t,backward:n}){let r=o({context:e,blockOffset:t.anchor,direction:n?"backward":"forward"}),i=o({context:e,blockOffset:t.focus,direction:n?"forward":"backward"});return r&&i?{anchor:r,focus:i,backward:n}:null}function a({context:e,selectionPoint:t}){let n=0,o=(0,r.XE)(t),s=(0,r.qX)(t);if(!(!o||!s)){for(let r of e.value)if(r._key===o&&(0,i.zS)(e,r))for(let o of r.children){if(o._key===s)return{path:[{_key:r._key}],offset:n+t.offset};(0,i.bl)(e,o)&&(n+=o.text.length)}}}function l(e,t){return!e&&!t||!!e&&!!t&&(0,r._Q)(e.anchor,t.anchor)&&(0,r._Q)(e.focus,t.focus)}function u({context:e,targetBlock:t,incomingBlock:n}){let o=(0,r.rT)({context:e,block:n,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}});return o&&(0,i.zS)(e,o)?{...t,children:[...t.children,...o.children],markDefs:[...t.markDefs??[],...o.markDefs??[]]}:t}},84856:(e,t,n)=>{var r=n(73423),i=n(91602),o=n(14344),s=n(56507),a=n(68867),l=n(7745),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var p=1&r;if(h||(h=l),e.size!=t.size&&!p)break;var g=f.get(e);if(g)return g==t;r|=2,f.set(e,t);var m=s(h(e),h(t),r,u,d,f);return f.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},85116:(e,t,n)=>{e.exports=n(48974)(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]})},85203:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},85309:(e,t,n)=>{e.exports=n(95142)({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"})},85507:(e,t,n)=>{"use strict";n.d(t,{AF:()=>function e(t){if(null==t)return!0;let n=typeof t;return Array.isArray(t)?function(t){for(let n=0;n<t.length;n++)if(!e(t[n]))return!1;return!0}(t):"object"===n&&function(t){for(let n in t)if("_type"!==n&&"_key"!==n&&r(t,n)&&!e(t[n]))return!1;return!0}(t)},RN:()=>i,Xp:()=>s,yu:()=>l});var r=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);function i(e){for(let t in e)if("_type"!==t&&"_key"!==t&&r(e,t)&&void 0!==e[t])return!1;return!0}let o=(()=>{let e;return()=>{if(e)return e;e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).slice(1);return e}})();function s(e){let t=o();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(e).reduce((e,n)=>e+t[n],"").slice(0,e)}let a=Object.prototype.toString;function l(e){let t=function(e){switch(a.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}if("object"==typeof e&&e&&"number"==typeof e.length)try{if("function"==typeof e.callee)return"arguments"}catch(e){if(e instanceof TypeError)return"arguments"}return null===e?"null":void 0===e?"undefined":e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}(e);return"object"!==t?t:"_type"in e&&e._type||t}},85641:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},85755:(e,t,n)=>{"use strict";n.d(t,{of:()=>
129o});var r=n(95868),i=n(86238);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,r.lI)(e);return(0,i.H)(e,n)}},85777:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(33987);let i=function(e,t,n){return null==e?e:(0,r.A)(e,t,n)}},85886:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37537);let i=function(e,t){for(var n=e.length;n--;)if((0,r.A)(e[n][0],t))return n;return -1};var o=Array.prototype.splice;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=function(){this.__data__=[],this.size=0},s.prototype.delete=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)},s.prototype.get=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]},s.prototype.has=function(e){return i(this.__data__,e)>-1},s.prototype.set=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};let a=s},85905:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r,i=n(44321);let o=function(){};function s(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}s.prototype=(0,i.A)(o.prototype),s.prototype.constructor=s;var a=n(45545),l=n(72766),u=l.A&&new l.A,c=n(72839),d=u?function(e){return u.get(e)}:c.A;let f={};var h=Object.prototype.hasOwnProperty;let p=function(e){for(var t=e.name+"",n=f[t],r=h.call(f,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t};var g=n(64536);function m(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}m.prototype=(0,i.A)(o.prototype),m.prototype.constructor=m;var y=n(11331),b=n(37998);let v=function(e){if(e instanceof m)return e.clone();var t=new s(e.__wrapped__,e.__chain__);return t.__actions__=(0,b.A)(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t};var w=Object.prototype.hasOwnProperty;function _(e){if((0,y.A)(e)&&!(0,g.A)(e)&&!(e instanceof m)){if(e instanceof s)return e;if(w.call(e,"__wrapped__"))return v(e)}return new s(e)}_.prototype=o.prototype,_.prototype.constructor=_;let x=function(e){var t=p(e),n=_[t];if("function"!=typeof n||!(t in m.prototype))return!1;if(e===n)return!0;var r=d(n);return!!r&&e===r[0]},k=(0,a.A)(function(e){var t=e.length,n=t,i=s.prototype.thru;for(r&&e.reverse();n--;){var o=e[n];if("function"!=typeof o)throw TypeError("Expected a function");if(i&&!a&&"wrapper"==p(o))var a=new s([],!0)}for(n=a?n:t;++n<t;){var l=p(o=e[n]),u="wrapper"==l?d(o):void 0;a=u&&x(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?a[p(u[0])].apply(a,u[3]):1==o.length&&x(o)?a[l]():a.thru(o)}return function(){var n=arguments,r=n[0];if(a&&1==n.length&&(0,g.A)(r))return a.plant(r).value();for(var i=0,o=t?e[i].apply(this,n):r;++i<t;)o=e[i].call(this,o);return o}})},86001:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r=n(61571),i=n(78419),o=n(96939),s=n(30391),a=n(90730);let l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],u=(0,i._C)((e={})=>({name:"InboundFilters",processEvent:(t,n,i)=>!function(e,t){var n,i,l;return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(r.T&&o.vF.warn(`Event dropped due to being internal Sentry Error. 130Event: ${(0,s.$X)(e)}`),!0):(n=e,i=t.ignoreErrors,!n.type&&i&&i.length&&(function(e){let t,n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n})(n).some(e=>(0,a.Xr)(e,i)))?(r.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 131Event: ${(0,s.$X)(e)}`),!0):(l=e).type||!l.exception||!l.exception.values||0===l.exception.values.length||l.message||l.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&(0,a.Xr)(n,t)}(e,t.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=c(e);return!!n&&(0,a.Xr)(n,t)}(e,t.denyUrls)?!function(e,t){if(!t||!t.length)return!0;let n=c(e);return!n||(0,a.Xr)(n,t)}(e,t.allowUrls)&&(r.T&&o.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option. 132Event: ${(0,s.$X)(e)}. 133Url: ${c(e)}`),!0):(r.T&&o.vF.warn(`Event dropped due to being matched by \`denyUrls\` option. 134Event: ${(0,s.$X)(e)}. 135Url: ${c(e)}`),!0):(r.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 136Event: ${(0,s.$X)(e)}`),!0):(r.T&&o.vF.warn(`Event dropped due to not having an error message, error type or stacktrace. 137Event: ${(0,s.$X)(e)}`),!0)}(t,function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:l],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i.getOptions()))?t:null}));function c(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return r.T&&o.vF.error(`Cannot extract url for event ${(0,s.$X)(e)}`),null}}}
137,86238:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(98103),i=n(8286);function o(e,t){return t?(0,r.c)(e,t):(0,i.Tg)(e)}},86334:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},86457:(e,t,n)=>{"use strict";let r=n(76353);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},86494:(e,t,n)=>{"use strict";n.d(t,{H:()=>h});var r=n(37305),i=n(71450),o=n(45037),s=n(41449),a=n(40234),l=n(28400),u=n(96948),c=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,(0,u.S)(t)&&(r.lift=t.lift),r}return(0,i.C6)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new s.yU;var n=this.getSubject();t.add(this.source.subscribe((0,l._)(n,void 0,function(){e._teardown(),n.complete()},function(t){e._teardown(),n.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=s.yU.EMPTY)}return t},t.prototype.refCount=function(){return(0,a.B)()(this)},t}(o.c),d=n(39097),f=n(3516);function h(e,t,n,i){n&&!(0,d.T)(n)&&(i=n);var o=(0,d.T)(n)?n:void 0;return function(n){var s,a;return(s=new r.m(e,t,i),a=(0,d.T)(s)?s:function(){return s},(0,d.T)(o)?(0,f.N)(o,{connector:a}):function(e){return new c(e,a)})(n)}}},86523:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(15041),i=n(2552),o=Object.prototype.hasOwnProperty;let s=(0,i.A)(function(e,t,n){o.call(e,n)?e[n].push(t):(0,r.A)(e,n,[t])})},86612:(e,t,n)=>{var r=n(87358);let i="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,o=()=>i.now(),s=e=>e===1/0||(e=>e&&e===Math.floor(e)&&e>0&&isFinite(e))(e);class a{constructor({max:e=1/0,ttl:t,updateAgeOnGet:n=!1,checkAgeOnGet:r=!1,noUpdateTTL:i=!1,dispose:o,noDisposeOnSet:a=!1}={}){if(this.expirations=Object.create(null),this.data=new Map,this.expirationMap=new Map,void 0!==t&&!s(t))throw TypeError("ttl must be positive integer or Infinity if set");if(!s(e))throw TypeError("max must be positive integer or Infinity");if(this.ttl=t,this.max=e,this.updateAgeOnGet=!!n,this.checkAgeOnGet=!!r,this.noUpdateTTL=!!i,this.noDisposeOnSet=!!a,void 0!==o){if("function"!=typeof o)throw TypeError("dispose must be function if set");this.dispose=o}this.timer=void 0,this.timerExpiration=void 0}setTimer(e,t){if(this.timerExpiration<e)return;this.timer&&clearTimeout(this.timer);let n=setTimeout(()=>{for(let e in this.timer=void 0,this.timerExpiration=void 0,this.purgeStale(),this.expirations){this.setTimer(e,e-o());break}},t);n.unref&&n.unref(),this.timerExpiration=e,this.timer=n}cancelTimer(){this.timer&&(clearTimeout(this.timer),this.timerExpiration=void 0,this.timer=void 0)}cancelTimers(){return r.emitWarning('TTLCache.cancelTimers has been renamed to TTLCache.cancelTimer (no "s"), and will be removed in the next major version update'),this.cancelTimer()}clear(){let e=this.dispose!==a.prototype.dispose?[...this]:[];for(let[t,n]of(this.data.clear(),this.expirationMap.clear(),this.cancelTimer(),this.expirations=Object.create(null),e))this.dispose(n,t,"delete")}setTTL(e,t=this.ttl){let n=this.expirationMap.get(e);if(void 0!==n){let t=this.expirations[n];!t||t.length<=1?delete this.expirations[n]:this.expirations[n]=t.filter(t=>t!==e)}if(t!==1/0){let n=Math.floor(o()+t);this.expirationMap.set(e,n),this.expirations[n]||(this.expirations[n]=[],this.setTimer(n,t)),this.expirations[n].push(e)}else this.expirationMap.set(e,1/0)}set(e,t,{ttl:n=this.ttl,noUpdateTTL:r=this.noUpdateTTL,noDisposeOnSet:i=this.noDisposeOnSet}={}){if(!s(n))throw TypeError("ttl must be positive integer or Infinity");if(this.expirationMap.has(e)){r||this.setTTL(e,n);let o=this.data.get(e);o!==t&&(this.data.set(e,t),i||this.dispose(o,e,"set"))}else this.setTTL(e,n),this.data.set(e,t);for(;this.size>this.max;)this.purgeToCapacity();return this}has(e){return this.data.has(e)}getRemainingTTL(e){let t=this.expirationMap.get(e);return t===1/0?t:void 0!==t?Math.max(0,Math.ceil(t-o())):0}get(e,{updateAgeOnGet:t=this.updateAgeOnGet,ttl:n=this.ttl,checkAgeOnGet:r=this.checkAgeOnGet}={}){let i=this.data.get(e);return r&&0===this.getRemainingTTL(e)?void this.delete(e):(t&&this.setTTL(e,n),i)}dispose(e,t){}delete(e){let t=this.expirationMap.get(e);if(void 0!==t){let n=this.data.get(e);this.data.delete(e),this.expirationMap.delete(e);let r=this.expirations[t];return r&&(r.length<=1?delete this.expirations[t]:this.expirations[t]=r.filter(t=>t!==e)),this.dispose(n,e,"delete"),0===this.size&&this.cancelTimer(),!0}return!1}purgeToCapacity(){for(let e in this.expirations){let t=this.expirations[e];if(this.size-t.length>=this.max){delete this.expirations[e];let n=[];for(let e of t)n.push([e,this.data.get(e)]),this.data.delete(e),this.expirationMap.delete(e);for(let[e,t]of n)this.dispose(t,e,"evict")}else{let e=this.size-this.max,n=[];for(let r of t.splice(0,e))n.push([r,this.data.get(r)]),this.data.delete(r),this.expirationMap.delete(r);for(let[e,t]of n)this.dispose(t,e,"evict");return}}}get size(){return this.data.size}purgeStale(){let e=Math.ceil(o());for(let t in this.expirations){if("Infinity"===t||t>e)return;let n=[...this.expirations[t]||[]],r=[];for(let e of(delete this.expirations[t],n))r.push([e,this.data.get(e)]),this.data.delete(e),this.expirationMap.delete(e);for(let[e,t]of r)this.dispose(t,e,"stale")}0===this.size&&this.cancelTimer()}*entries(){for(let e in this.expirations)for(let t of this.expirations[e])yield[t,this.data.get(t)]}*keys(){for(let e in this.expirations)for(let t of this.expirations[e])yield t}*values(){for(let e in this.expirations)for(let t of this.expirations[e])yield this.data.get(t)}[Symbol.iterator](){return this.entries()}}e.exports=a},86697:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,s){if(o===s)return!0;
137if(o&&s&&"object"==typeof o&&"object"==typeof s){var a,l,u,c;if(o.constructor!==s.constructor)return!1;if(Array.isArray(o)){if((a=o.length)!=s.length)return!1;for(l=a;0!=l--;)if(!e(o[l],s[l]))return!1;return!0}if(n&&o instanceof Map&&s instanceof Map){if(o.size!==s.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!s.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],s.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&s instanceof Set){if(o.size!==s.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!s.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(s)){if((a=o.length)!=s.length)return!1;for(l=a;0!=l--;)if(o[l]!==s[l])return!1;return!0}if(o.constructor===RegExp)return o.source===s.source&&o.flags===s.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof s.valueOf)return o.valueOf()===s.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof s.toString)return o.toString()===s.toString();if((a=(u=Object.keys(o)).length)!==Object.keys(s).length)return!1;for(l=a;0!=l--;)if(!Object.prototype.hasOwnProperty.call(s,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=a;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],s[u[l]]))return!1;return!0}return o!=o&&s!=s}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},87267:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(78419),i=n(9525);let o=(0,r._C)(()=>({name:"HttpContext",preprocessEvent(e){if(!i.jf.navigator&&!i.jf.location&&!i.jf.document)return;let t=e.request&&e.request.url||i.jf.location&&i.jf.location.href,{referrer:n}=i.jf.document||{},{userAgent:r}=i.jf.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...e.request,...t&&{url:t},headers:o};e.request=s}}))},87421:e=>{e.exports=function(e,t){return e.has(t)}},87450:(e,t,n)=>{"use strict";n.d(t,{yL:()=>v,ab:()=>ee,kH:()=>b,jO:()=>e5,Sj:()=>e1});var r=n(15356),i=n(33341),o=n(49851),s=n(82945),a=n(4831),l=n(10344),u=n(2145),c=n(71985),d=n(77058),f=n(46161),h=n(50685),p=n(23955),g=n(58016),m=n(54272);let y=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue","deprecated"],b="_internal_ownProps",v="all-fields";function w(e,t,n,r={}){return Object.defineProperty(e,t,{configurable:!0,enumerable:!1!==r.enumerable,get(){let i=n();return Object.defineProperty(e,t,{value:i,writable:!!r.writable,configurable:!1}),i}}),e}function _(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!1,value:n})}let x=[...y],k={name:"any",type:null,jsonType:"any"},E=[...y],A={name:"array",type:null,jsonType:"array",of:[]},S={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function C(e){return"array"===e.type&&e.of&&e.of.some(e=>"block"===e.type)||!1}let I=["title","name","label","heading","header","caption"],T=["description",...I];function O(e,t){return m(e.to||[]).some(e=>e.type===t)}function R(e){return O(e,"sanity.imageAsset")}function D(e){return O(e,"sanity.fileAsset")}function j(e){return function(){return e.options&&e.options.preview&&console.warn(`Heads up! The preview config is no longer defined on "options", but instead on the type/field itself. 138Please move {options: {preview: ...}} to {..., preview: ...} on the type/field definition of "${e.name}". 139`),function(e){let t=e.preview||(e.options||{}).preview;t&&"fields"in t&&console.warn(`Heads up! "preview.fields" should be renamed to "preview.select". Please update the preview config for "${e.name}". 140`)}(e),function(e){if(!e)return e;let t=e.select||e.fields||{};return Array.isArray(t)?{...(0,i.A)(e,["prepare","component"]),select:t.reduce((e,t)=>(e[t]=t,e),{})}:{...(0,i.A)(e,["prepare","component"]),select:t}}(e.preview||(e.options||{}).preview)||function(e){let t={fields:[],...e},n=t.fields.filter(e=>"string"===e.type).map(e=>e.name),r=t.fields.filter(C).map(e=>e.name),a=I.find(e=>n.includes(e)||r.includes(e)),l=T.find(e=>e!==a&&(n.includes(e)||r.includes(e)));a||(a=n[0]||r[0],l=n[1]||r[1]);let u=t.fields.find(e=>"image"===e.type),c=function(e){let t=e.fields||[],n=t.find(R);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(R));return r?`${r.name}.asset`:void 0}(t);if(!a){let e=function(e){let t=e.fields||[],n=t.find(D);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(D));return r?`${r.name}.asset`:void 0}(t);e&&(a=`${e}.originalFilename`),c&&(a=`${c}.originalFilename`)}if(!a&&!c){let e=t.fields.map(e=>e.name);return{select:e.reduce((e,t)=>
140(e[t]=t,e),{}),prepare:t=>({title:function(e,t={}){return function e(t,n,r){if(r>n.maxDepth)return"...";if(Array.isArray(t)){if(0===t.length)return"[empty]";let i=Math.max(t.length-n.maxBreadth),o=t.slice(0,n.maxBreadth).map((t,i)=>e(t,n,r+1)).concat(i>0?`\u2026+${i}`:[]).join(", ");return 0===r?o:`[${o}]`}if("object"==typeof t&&null!==t){let o=Object.keys(t).filter(e=>!n.ignoreKeys.includes(e)&&"u">typeof t[e]);if(function(e){for(let t in e)if(e.hasOwnProperty(t))return!1;return!0}((0,i.A)(t,o)))return"{empty}";let s=o.slice(0,n.maxBreadth).map(i=>`${i}: ${e(t[i],n,r+1)}`).join(", ");return 0===r?s:`{${s}}`}let o=String(t);return""===o?'""':o}(e,{maxDepth:"maxDepth"in t?t.maxDepth:2,maxBreadth:"maxBreadth"in t?t.maxBreadth:2,ignoreKeys:"ignoreKeys"in t?t.ignoreKeys:[]},0)}((0,i.A)(t,e),S)})}}return{select:(0,o.A)({title:a,description:l,media:u?u.name:c},s.A)}}(e)}}let M={type:"text",name:"text",title:"Text"},N={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},F={bullet:{title:"Bulleted list",value:"bullet",i18nTitleKey:"inputs.portable-text.list-type.bullet"},numbered:{title:"Numbered list",value:"number",i18nTitleKey:"inputs.portable-text.list-type.number"}},$=[F.bullet,F.numbered],P={normal:{title:"Normal",value:"normal",i18nTitleKey:"inputs.portable-text.style.normal"},h1:{title:"Heading 1",value:"h1",i18nTitleKey:"inputs.portable-text.style.h1"},h2:{title:"Heading 2",value:"h2",i18nTitleKey:"inputs.portable-text.style.h2"},h3:{title:"Heading 3",value:"h3",i18nTitleKey:"inputs.portable-text.style.h3"},h4:{title:"Heading 4",value:"h4",i18nTitleKey:"inputs.portable-text.style.h4"},h5:{title:"Heading 5",value:"h5",i18nTitleKey:"inputs.portable-text.style.h5"},h6:{title:"Heading 6",value:"h6",i18nTitleKey:"inputs.portable-text.style.h6"},blockquote:{title:"Quote",value:"blockquote",i18nTitleKey:"inputs.portable-text.style.quote"}},L=[P.normal,P.h1,P.h2,P.h3,P.h4,P.h5,P.h6,P.blockquote],z={strong:{title:"Strong",value:"strong",i18nTitleKey:"inputs.portable-text.decorator.strong"},em:{title:"Italic",value:"em",i18nTitleKey:"inputs.portable-text.decorator.emphasis"},code:{title:"Code",value:"code",i18nTitleKey:"inputs.portable-text.decorator.code"},underline:{title:"Underline",value:"underline",i18nTitleKey:"inputs.portable-text.decorator.underline"},strikeThrough:{title:"Strike",value:"strike-through",i18nTitleKey:"inputs.portable-text.decorator.strike-through"}},U=[z.strong,z.em,z.code,z.underline,z.strikeThrough],B=[{type:"object",name:"link",title:"Link",i18nTitleKey:"inputs.portable-text.annotation.link",options:{modal:{type:"popover"}},fields:[{name:"href",type:"url",title:"Link",description:"A valid web, email, phone, or relative link.",validation:e=>e.uri({scheme:["http","https","tel","mailto"],allowRelative:!0})}]}],q=["type","name","title","jsonType","description","options","fieldsets","icon"],V={name:"block",title:"Block",type:null,jsonType:"object"},H={},G=["type","name","title","jsonType","description","options","fieldsets","icon"],W={name:"span",title:"Span",type:null,jsonType:"object"},Y={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},K={name:"text",title:"Text",type:"string"},Z={};var X={prepare:e=>({title:String(e)})};let J=[...y],Q={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},ee=5,et={},en=e=>(et[e]||(et[e]=Symbol(`__cachedStringFields_${e}`)),et[e]),er=["style","list"],ei=e=>"block"===e.name||e.type&&ei(e.type);function eo(e,t,n,r=[],i){var o,s,a,l,u;if(i<0)return n;let c=t(n,e,r);return"array"===e.jsonType&&Array.isArray(e.of)?(o=e,s=t,a=c,l=r,u=i,o.of.reduce((e,t)=>eo(t,s,e,l,u-1),a)):"object"===e.jsonType&&Array.isArray(e.fields)&&!(e.type&&"reference"===e.type.name)?function(e,t,n,r,i){let o=ei(e);return e.fields.reduce((e,n)=>{if(o&&er.includes(n.name))return e;let s=[n.name].concat("array"===n.type.jsonType?[[]]:[]);return eo(n.type,t,e,r.concat(s),i-1)},n)}(e,t,c,r,i):c}let es=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],ea={title:10,subtitle:5,description:1.5};function el(e,t){let n=e?.preview?.select;if(!n)return[];let r=[];for(let e of Object.keys(n)){if(!(e in ea))continue;let i=n[e].split(".");t>-1&&i.length-1>t||r.push({weight:ea[e],path:i})}return r}function eu(e){return!(0,l.A)(e)||e<1||e>ee?ee-1:e-1}let ec=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"},{name:"_dataset",title:"Target dataset",type:"string"},{name:"_projectId",title:"Target project ID",type:"string",hidden:!0}],ed=[...y],ef={name:"crossDatasetReference",type:null,jsonType:"object"},eh=[...y],ep={name:"date",title:"Datetime",type:null,jsonType:"string"},eg=[...y],em={name:"datetime",title:"Datetime",type:null,jsonType:"string"},ey=["title","name","label","heading","header","caption","description"],eb=["string","boolean","number"],ev=e=>eb.includes(e.type);function ew(e){if(!Array.isArray(e))throw Error("The search config of a document type must be an array of search config objects");return e.map(e=>{if("defaults"===e)return e;if(!(0,d.A)(e))throw Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in e?e.weight:1,path:(0,f.A)(e.path),mapWith:"str
140ing"==typeof e.mapWith?e.mapWith:void 0}})}let e_=[...y,"orderings","__experimental_search","blockEditor","icon"],ex={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(e,t){let n,r={fields:[],...e},o={...r.options},s={...r,title:r.title||(r.name?(0,c.A)(r.name):"Object"),options:o,orderings:r.orderings||(0===(n=ey.filter(e=>r.fields.some(t=>ev(t)&&t.name===e))).length&&(n=r.fields.filter(ev).map(e=>e.name)),n.map(e=>({name:e,i18n:{title:{key:`default-orderings.${e}`,ns:"studio"}},title:(0,u.A)((0,c.A)(e)),by:[{field:e,direction:"asc"}]}))),fields:r.fields.map(e=>t.cachedObjectField(e))},l=Object.assign((0,i.A)(this.get(),e_),s,{type:this.get()});return w(l,"fieldsets",()=>ek(r,l.fields)),w(l,"groups",()=>(function(e,t){let n={},r=0;for(let t of e.groups||[]){if(n[t.name])throw Error(`Duplicate group name "${t.name}" found for type '${e.title?e.title:(0,c.A)(e.name)}'`);if(n[t.name]={title:(0,c.A)(t.name),...t,fields:[]},t.default&&++r>1)throw Error(`More than one field group defined as default for type '${e.title?e.title:(0,c.A)(e.name)}' - only 1 is supported`)}return t.forEach(t=>{let r=(0,h.A)(t.group||[]);0!==r.length&&r.forEach(r=>{let i=n[r];if(!i)throw Error(`Field group '${r}' is not defined in schema for type '${e.title?e.name:(0,c.A)(e.name)}'`);i.fields.push(t)})}),(0,p.A)(n).filter(e=>e.fields.length>0||e.name===v)})(r,l.fields)),w(l,"preview",j(r)),w(l,b,()=>({...s,preview:l.preview}),{enumerable:!1,writable:!1}),w(l,"__experimental_search",()=>{let e=r.__experimental_search?ew(r.__experimental_search):null;return e?e.map(e=>"defaults"===e?ew(r):e):function(e,t){var n=eu(void 0);let r=en(n);return e[r]||(e[r]=(0,a.A)([...es,...el(e,n),...eo(e,(e,t,n)=>"string"===t.jsonType?[...e,n]:e,[],[],n).map(e=>({weight:1,path:e})),...eo(e,(e,t,n)=>"array"===t.jsonType&&Array.isArray(t.of)&&t.of.some(ei)?[...e,n]:e,[],[],n).map(e=>({weight:1,path:e,mapWith:"pt::text"}))],e=>e.path.join("."))),e[r]}(l)},{enumerable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "object"');let o=(0,i.A)(n,e_);o.title=n.title||r.title||(r.name?(0,c.A)(r.name):"Object");let s=Object.assign({},t,(0,i.A)(n,e_),{type:t});return w(s,"__experimental_search",()=>t.__experimental_search),_(s,b,o),e(s)}}}(l)}};function ek(e,t){let n={};for(let t of e.fieldsets||[]){if(n[t.name])throw Error(`Duplicate fieldset name "${t.name}" found for type '${e.title?e.title:(0,c.A)(e.name)}'`);n[t.name]={title:(0,c.A)(t.name),...t,fields:[]}}let r=new Set;for(let i of t){if(!i.fieldset){r.add({single:!0,field:i});continue}let t=n[i.fieldset];if(!t)throw Error(`Fieldset '${i.fieldset}' is not defined in schema for type '${e.name}'`);t.fields.push(i),r.add(t)}return Array.from(r)}let eE={name:"document",title:"Document",type:null,jsonType:"object"},eA={get:()=>eE,extend:ex.extend},eS=[...y],eC={name:"email",title:"Email",type:null,jsonType:"string"};w(eC,b,()=>({...eC,validation:e=>e.email()}),{enumerable:!1});let eI={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},eT={name:"media",type:"globalDocumentReference",hidden:!0,to:[{type:"sanity.asset"}]},eO=[...y],eR={name:"file",title:"File",type:null,jsonType:"object"},eD={accept:""},ej=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],eM=[...y],eN={name:"globalDocumentReference",title:"Global Document Reference",type:null,jsonType:"object"},eF={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},e$={name:"hotspot",type:"sanity.imageHotspot"},eP={name:"crop",type:"sanity.imageCrop"},eL={name:"media",type:"globalDocumentReference",hidden:!0,to:[{type:"sanity.asset"}]},ez=[...y],eU={name:"image",title:"Image",type:null,jsonType:"object"},eB={},eq=[...y],eV={name:"number",title:"Number",type:null,jsonType:"number"},eH=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],eG=[...y],eW={name:"reference",title:"Reference",type:null,jsonType:"object"},eY=[...y],eK={name:"string",title:"String",type:null,jsonType:"string"},eZ=[...y,"rows"],eX={name:"text",title:"Text",type:null,jsonType:"string"},eJ=[...y],eQ={name:"url",title:"Url",type:null,jsonType:"string"};var e0=Object.freeze({__proto__:null,any:{get:()=>k,extend(e,t){let n={...e,of:e.of.map(e=>({name:e.name,type:t((0,r.A)(e,"name"))}))},o=Object.assign((0,i.A)(k,x),n,{type:k}
140);return _(o,b,n),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=(0,i.A)(n,x),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(o)}},array:{get:()=>A,extend(e,t){let n=Object.assign((0,i.A)(A,E),e,{type:A});return w(n,"of",()=>e.of.map(e=>t.cached(e))),w(n,b,()=>({...e,of:n.of}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=(0,i.A)(n,E),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},block:{get:()=>V,extend(e,t){var n;let r={...e.options||H},{marks:o,styles:s,lists:a,of:l,...u}=e,c=function(e,t=[]){return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[M,N],annotations:e&&e.annotations?e.annotations:B,decorators:e&&e.decorators?e.decorators:U},...t.filter(e=>"span"!==e.type)]}}(o,l),d=[c,{name:"style",title:"Style",type:"string",options:{list:(n=s||L).some(e=>"normal"===e.value)?n:[P.normal,...n]}},{name:"listItem",title:"List type",type:"string",options:{list:a||$}},{name:"markDefs",title:"Mark definitions",type:"array",of:o?.annotations||B},{name:"level",title:"Indentation",type:"number"}].concat(e.fields||[]),f={...u,options:r},h=Object.assign((0,i.A)(V,q),f,{type:V});return w(h,"fields",()=>d.map(e=>t.cachedField(e))),w(h,"preview",j(e)),w(h,b,()=>({...f,fields:h.fields,preview:h.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "block"');let r=(0,i.A)(n,q),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(h)}},boolean:{get:()=>Q,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(Q,J),t,{type:Q});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,J),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},crossDatasetReference:{get:()=>ef,extend(e,t){if(!e.to)throw Error(`Missing "to" field in cross dataset reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(ef,ed),e,{type:ef});return w(n,"fields",()=>ec.map(e=>t.cachedField(e))),w(n,"to",()=>m(e.to).map(e=>({...e,__experimental_search:function(e,t){var n=eu(void 0);let r=en(n);return e[r]||(e[r]=(0,a.A)([...es,...el(e,n)],e=>e.path.join("."))),e[r]}(e)}))),w(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Cross dataset reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(m(n.to).map(e=>e.title||(0,u.A)(e.type)),0).toLowerCase()}`:"Cross dataset Reference")),w(n,b,()=>({...e,fields:n.fields,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=(0,i.A)(n,ed),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},date:{get:()=>ep,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(ep,eh),t,{type:ep});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eh),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},datetime:{get:()=>em,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(em,eg),t,{type:em});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eg),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},document:eA,email:{get:()=>eC,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(eC,eS),t,{type:eC});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eS),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},file:{get:()=>eR,extend(e,t){let n={...e.options||eD},r=[eI,eT,...e.fields||[]],o={...e,fields:r},s=Object.assign((0,i.A)(eR,eO),o,{type:eR,title:o.title||(o.name?(0,c.A)(o.name):eR.title),options:n,fields:o.fields.map(n=>{let{name:r,fieldset:i,...o}=n;
140return w({name:r,fieldset:i,isCustomized:!!e.fields},"type",()=>t({...o,title:n.title||(0,c.A)(r)}))})});return w(s,"fieldsets",()=>ek(o,s.fields)),w(s,"preview",j(Object.assign({},o,{fields:r}))),w(s,b,()=>({...o,options:n,fields:s.fields,title:s.title,fieldsets:s.fieldsets,preview:s.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "file"');let r=(0,i.A)(n,eO),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(s)}},globalDocumentReference:{get:()=>eN,extend(e,t){if(!e.to)throw Error(`Missing "to" field in global document reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(eN,eM),e,{type:eN});return w(n,"fields",()=>ej.map(e=>t.cachedField(e))),w(n,"to",()=>m(e.to).map(e=>({...e}))),w(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Global Document Reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(m(n.to).map(e=>e.title),0).toLowerCase()}`:"Global Document Reference")),w(n,b,()=>({...e,fields:n.fields,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "globalDocumentReference"');let r=(0,i.A)(n,eM),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},image:{get:()=>eU,extend(e,t){let n={...e.options||eB},r=[e$,eP];n.hotspot||(r=r.map(e=>({...e,hidden:!0})));let o=[eF,eL,...r,...e.fields||[]],s={...e,fields:o},a=Object.assign((0,i.A)(this.get(),ez),s,{type:eU,title:s.title||(s.name?(0,c.A)(s.name):eU.title),options:n,fields:s.fields.map(n=>{let{name:r,fieldset:i,...o}=n;
140return w({name:r,fieldset:i,isCustomized:!!e.fields},"type",()=>t({...o,title:n.title||(0,c.A)(r)}))})});return w(a,"fieldsets",()=>ek(s,a.fields)),w(a,"preview",j(Object.assign({},s,{fields:o}))),w(a,b,()=>({...s,options:n,fields:a.fields,title:a.title,fieldsets:a.fieldsets,preview:a.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "image"');let r=(0,i.A)(n,ez),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(a)}},number:{get:()=>eV,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(eV,eq),t,{type:eV});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eq),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},object:ex,reference:{get:()=>eW,extend(e,t){if(!e.to)throw Error(`Missing "to" field in reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(eW,eG),e,{type:eW});return w(n,"fields",()=>eH.map(e=>t.cachedField(e))),w(n,"fieldsets",()=>ek(e,n.fields)),w(n,"to",()=>m(e.to).map(e=>t(e))),w(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(m(n.to).map(e=>e.title),0).toLowerCase()}`:"Reference")),w(n,b,()=>({...e,fields:n.fields,fieldsets:n.fieldsets,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=(0,i.A)(n,eG),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},span:{get:()=>W,extend(e,t){let n={...e.options||Z},{annotations:r=[],marks:o=[]}=e,s=[Y,K],a={...e,options:n},l=Object.assign((0,i.A)(W,G),a,{type:W});return w(l,"fields",()=>s.map(e=>t.cachedField(e))),w(l,"annotations",()=>r.map(t)),w(l,"marks",()=>o.map(t)),w(l,"preview",j(e)),w(l,b,()=>({...a,fields:l.fields,annotations:l.annotations,marks:l.marks,preview:l.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "span"');let r=(0,i.A)(n,G),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(l)}},string:{get:()=>eK,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(eK,eY),t,{type:eK});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eY),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},text:{get:()=>eX,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(eX,eZ),t,{type:eX});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eZ),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}},url:{get:()=>eQ,extend(e){let t={...e,preview:X},n=Object.assign((0,i.A)(eQ,eJ),t,{type:eQ});return _(n,b,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eJ),o=Object.assign({},t,r,{type:t});return _(o,b,r),e(o)}}}(n)}}});class e1{_original;_registry;#m;static compile(e){return new e1(e)}constructor(e){this._original=e;let{registry:t,localTypeNames:n}=function(e){let t,n=Object.create(null);e.parent?(Object.assign(n,e.parent._registry),t=[]):(Object.assign(n,e0),t=Object.keys(e0));let r=e.types.reduce((e,t)=>{if(e[t.name])throw Error(`Duplicate type name added to schema: ${t.name}`);return e[t.name]=t,e},{}),i=new Map,o=new Map,s=new Map,a=Object.assign(u,{cached(e){let t=i.get(e);return t||(t=u(e),i.set(e,t)),t},cachedField(e){let t=o.get(e);if(!t){let{name:n,...r}=e;t={name:n,type:u(r)},o.set(e,t)}return t},cachedObjectField(e){let t=s.get(e);if(!t){let{name:n,fieldset:r,group:i,...o}=e;w(t={name:n,group:i,fieldset:r},"type",()=>u({...o,title:e.title||(0,c.A)(n)})),s.set(e,t)}return t}});return e.types.forEach(d),{registry:n,localTypeNames:t};function l(e){if(!n[e]){if(!r[e])throw Error(`Unknown type: ${e}`);d(r[e])}}function u(e){return l(e.type),n[e.type].extend(e,a).get()}function d(e){l(e.type),n[e.name]||(t.push(e.name),n[e.name]=n[e.type].extend(e,u))}}(e);this._registry=t,this.#m=n}get name(){return this._original.name}get parent(){return this._original.parent}get(e){return this._registry[e]&&this._registry[e].get()}has(e){return e in this._registry}getTypeNames(){return Object.keys(this._registry)}getLocalTypeNames(){return this.#m}}let e2=Symbol.for("@sanity/schema/field-ref"),e3=["Array","Boolean","Date","Number","Object","String"],e5=class e{static FIELD_REF=e2;static array=t=>new e(t).type("Array");static object=t=>new e(t).type("Object");static string=t=>new e(t).type("String");static number=t=>new e(t).type("Number");static boolean=t=>new e(t).type("Boolean");static dateTime=t=>new e(t).type("Date");static valueOfField=e=>({type:e2,path:e});
140_type=void 0;_level=void 0;_required=void 0;_typeDef=void 0;_message=void 0;_rules=[];_fieldRules=void 0;constructor(e){this._typeDef=e,this.reset()}_mergeRequired(e){return"required"===this._required||"required"===e._required?"required":"optional"===this._required||"optional"===e._required?"optional":void 0}valueOfField=e.valueOfField.bind(e);error(e){let t=this.clone();return t._level="error",t._message=e||void 0,t}warning(e){let t=this.clone();return t._level="warning",t._message=e||void 0,t}info(e){let t=this.clone();return t._level="info",t._message=e||void 0,t}reset(){return this._type=this._type||void 0,this._rules=(this._rules||[]).filter(e=>"type"===e.flag),this._message=void 0,this._required=void 0,this._level="error",this._fieldRules=void 0,this}isRequired(){return"required"===this._required}clone(){var t;let n=new e;return n._type=this._type,n._message=this._message,n._required=this._required,t=this._rules,n._rules=(0,g.A)(t,5),n._level=this._level,n._fieldRules=this._fieldRules,n._typeDef=this._typeDef,n}cloneWithRules(e){let t=this.clone(),n=new Set;return e.forEach(e=>{"type"===e.flag&&(t._type=e.constraint),n.add(e.flag)}),t._rules=t._rules.filter(e=>{let t=["type","uri","email"].includes(e.flag),r=n.has(e.flag);return!(t&&r)}).concat(e),t}merge(e){if(this._type&&e._type&&this._type!==e._type)throw Error("merge() failed: conflicting types");let t=this.cloneWithRules(e._rules);return t._type=this._type||e._type,t._message=this._message||e._message,t._required=this._mergeRequired(e),t._level="error"===this._level?e._level:this._level,t}type(e){let t=`${e.slice(0,1).toUpperCase()}${e.slice(1)}`;if(!e3.includes(t))throw Error(`Unknown type "${e}"`);let n=this.cloneWithRules([{flag:"type",constraint:t}]);return n._type=t,n}all(e){return this.cloneWithRules([{flag:"all",constraint:e}])}either(e){return this.cloneWithRules([{flag:"either",constraint:e}])}optional(){let e=this.cloneWithRules([{flag:"presence",constraint:"optional"}]);return e._required="optional",e}skip(){let e=this.clone();return e._rules=[],e._required="optional",e._message=void 0,e._level="error",e._fieldRules=void 0,e}required(){let e=this.cloneWithRules([{flag:"presence",constraint:"required"}]);return e._required="required",e}custom(e,t={}){return t.bypassConcurrencyLimit&&Object.assign(e,{bypassConcurrencyLimit:!0}),this.cloneWithRules([{flag:"custom",constraint:e}])}min(e){return this.cloneWithRules([{flag:"min",constraint:e}])}max(e){return this.cloneWithRules([{flag:"max",constraint:e}])}length(e){return this.cloneWithRules([{flag:"length",constraint:e}])}valid(e){let t=Array.isArray(e)?e:[e];return this.cloneWithRules([{flag:"valid",constraint:t}])}integer(){return this.cloneWithRules([{flag:"integer"}])}precision(e){return this.cloneWithRules([{flag:"precision",constraint:e}])}positive(){return this.cloneWithRules([{flag:"min",constraint:0}])}negative(){return this.cloneWithRules([{flag:"lessThan",constraint:0}])}greaterThan(e){return this.cloneWithRules([{flag:"greaterThan",constraint:e}])}lessThan(e){return this.cloneWithRules([{flag:"lessThan",constraint:e}])}uppercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"uppercase"}])}lowercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"lowercase"}])}regex(e,t,n){let r="string"==typeof t?t:t?.name??n?.name,i="string"!=typeof t&&(t?.invert??n?.invert);return this.cloneWithRules([{flag:"regex",constraint:{pattern:e,name:r,invert:i||!1}}])}email(){return this.cloneWithRules([{flag:"email"}])}uri(e){let t=e?.scheme||["http","https"],n=Array.isArray(t)?t:[t];if(!n.length)throw Error("scheme must have at least 1 scheme specified");let r={options:{scheme:n.map(e=>{if(!(e instanceof RegExp)&&"string"!=typeof e)throw Error("scheme must be a RegExp or a String");return"string"==typeof e?RegExp(`^${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}$`):e}),allowRelative:e?.allowRelative||!1,relativeOnly:e?.relativeOnly||!1,allowCredentials:e?.allowCredentials||!1}};return this.cloneWithRules([{flag:"uri",constraint:r}])}unique(){return this.cloneWithRules([{flag:"unique"}])}reference(){return this.cloneWithRules([{flag:"reference"}])}fields(e){if("Object"!==this._type)throw Error("fields() can only be called on an object type");let t=this.cloneWithRules([]);return t._fieldRules=e,t}assetRequired(){let e,t=function e(t){return t&&t.type?e(t.type):t}(this._typeDef);return e=t&&["image","file"].includes(t.name)?"image"===t.name?"image":"file":"asset",this.cloneWithRules([{flag:"assetRequired",constraint:{assetType:e}}
140])}media(e){return this.cloneWithRules([{flag:"media",constraint:e}])}async validate(e,t){throw Error("validate() method must be implemented by extending Rule class")}}},88106:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r=n(39860);let i=r.createContext(!0);function o(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function s(e){let t=r.useRef(o);return r.useInsertionEffect(()=>{t.current=e},[e]),(...e)=>((()=>{try{return r.use(i)}catch{return!1}})()&&o(),(0,t.current)(...e))}},88216:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=Function.prototype.toString;let i=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},88334:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h,RK:()=>g,UE:()=>y,UU:()=>p,cY:()=>f,jD:()=>m,we:()=>d});var r=n(58146),i=n(39860),o=n(853),s="undefined"!=typeof document?i.useLayoutEffect:function(){};function a(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return s(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:h,floating:p}={},transform:g=!0,whileElementsMounted:m,open:y}=e,[b,v]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,_]=i.useState(d);a(w,d)||_(d);let[x,k]=i.useState(null),[E,A]=i.useState(null),S=i.useCallback(e=>{e!==O.current&&(O.current=e,k(e))},[]),C=i.useCallback(e=>{e!==R.current&&(R.current=e,A(e))},[]),I=h||x,T=p||E,O=i.useRef(null),R=i.useRef(null),D=i.useRef(b),j=null!=m,M=c(m),N=c(f),F=c(y),$=i.useCallback(()=>{if(!O.current||!R.current)return;let e={placement:t,strategy:n,middleware:w};N.current&&(e.platform=N.current),(0,r.rD)(O.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==F.current};P.current&&!a(D.current,t)&&(D.current=t,o.flushSync(()=>{v(t)}))})},[w,t,n,N,F]);s(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,v(e=>({...e,isPositioned:!1})))},[y]);let P=i.useRef(!1);s(()=>(P.current=!0,()=>{P.current=!1}),[]),s(()=>{if(I&&(O.current=I),T&&(R.current=T),I&&T){if(M.current)return M.current(I,T,$);$()}},[I,T,$,M,j]);let L=i.useMemo(()=>({reference:O,floating:R,setReference:S,setFloating:C}),[S,C]),z=i.useMemo(()=>({reference:I,floating:T}),[I,T]),U=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!z.floating)return e;let t=u(z.floating,b.x),r=u(z.floating,b.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...l(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,g,z.floating,b.x,b.y]);return i.useMemo(()=>({...b,update:$,refs:L,elements:z,floatingStyles:U}),[b,$,L,z,U])}let f=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),p=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,r.RK)(e),options:[e,t]}),m=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),y=(e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}}))(e),options:[e,t]})},88722:(e,t,n)=>{"use strict";n.d(t,{JD:()=>s,i_:()=>r,sy:()=>i,uT:()=>o});let r="sentry.source",i="sentry.sample_rate",o="sentry.op",s="sentry.origin"},88816:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(85886),i=n(69790),o=n(35571);function s(e){var t=this.__data__=new r.A(e);this.size=t.size}s.prototype.clear=function(){this.__data__=new r.A,this.size=0},s.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},s.prototype.get=function(e){return this.__data__.get(e)},s.prototype.has=function(e){return this.__data__.has(e)},s.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.A){var s=n.__data__;if(!i.A||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o.A(s)}return n.set(e,t),this.size=n.size,this};let a=s},88945:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},89526:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(39097);function i(e){return e&&(0,r.T)(e.schedule)}},89577:(e,t,n)=>{"use strict";n.d(t,{F:()=>i,m:()=>o});var r=n(77163);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)}function o(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}},90176:e=>{e.exports=function(e){return e}}
140,90338:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r=n(96948),i=n(28400),o=n(8286);function s(e,t){return(0,r.N)(function(n,r){var s=null!=t?t:{},a=s.leading,l=void 0===a||a,u=s.trailing,c=void 0!==u&&u,d=!1,f=null,h=null,p=!1,g=function(){null==h||h.unsubscribe(),h=null,c&&(b(),p&&r.complete())},m=function(){h=null,p&&r.complete()},y=function(t){return h=(0,o.Tg)(e(t)).subscribe((0,i._)(r,g,m))},b=function(){if(d){d=!1;var e=f;f=null,r.next(e),p||y(e)}};n.subscribe((0,i._)(r,function(e){d=!0,f=e,h&&!h.closed||(l?b():y(e))},function(){p=!0,c&&d&&h&&!h.closed||r.complete()}))})}},90570:(e,t,n)=>{"use strict";n.d(t,{AS:()=>u,aj:()=>c,s5:()=>l});var r=n(95595),i=n(96939),o=n(25030);let s={},a={};function l(e,t){s[e]=s[e]||[],s[e].push(t)}function u(e,t){if(!a[e]){a[e]=!0;try{t()}catch(t){r.T&&i.vF.error(`Error while instrumenting ${e}`,t)}}}function c(e,t){let n=e&&s[e];if(n)for(let s of n)try{s(t)}catch(t){r.T&&i.vF.error(`Error while triggering instrumentation handler. 141Type: ${e} 142Name: ${(0,o.qQ)(s)} 143Error:`,t)}}},90730:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>s,gt:()=>o,xv:()=>i});var r=n(56819);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let i=e[t];try{(0,r.L2)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function s(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))})(e,t,n))}},90848:(e,t,n)=>{"use strict";n.d(t,{DT:()=>f,mj:()=>function e({schemas:t,actors:n,actions:o,guards:s,delays:a}){return{assign:i.a,sendTo:d.s,raise:r.r,log:d.l,cancel:r.a,stopChild:r.s,enqueueActions:d.e,emit:d.a,spawnChild:r.b,createStateConfig:e=>e,createAction:e=>e,createMachine:e=>new c({...e,schemas:t},{actors:n,actions:o,guards:s,delays:a}),extend:r=>e({schemas:t,actors:n,actions:{...o,...r.actions},guards:{...s,...r.guards},delays:{...a,...r.delays}})}}}),n(40609);var r=n(24933),i=n(46674);let o=new WeakMap;function s(e,t,n){let r=o.get(e);return r?t in r||(r[t]=n()):(r={[t]:n()},o.set(e,r)),r[t]}let a={},l=e=>"string"==typeof e?{type:e}:"function"==typeof e?"resolve"in e?{type:e.type}:{type:e.name}:e;class u{constructor(e,t){if(this.config=e,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=t._parent,this.key=t._key,this.machine=t._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join(r.S),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?(0,r.y)(this.config.states,(e,t)=>new u(e,{_parent:this,_key:t,_machine:this.machine})):a,"compound"===this.type&&!this.config.initial)throw Error(`No initial state specified for compound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=!0===this.config.history?"shallow":this.config.history||!1,this.entry=(0,r.t)(this.config.entry).slice(),this.exit=(0,r.t)(this.config.exit).slice(),this.meta=this.config.meta,this.output="final"!==this.type&&this.parent?void 0:this.config.output,this.tags=(0,r.t)(e.tags).slice()}_initialize(){this.transitions=(0,r.z)(this),this.config.always&&(this.always=(0,r.B)(this.config.always).map(e=>(0,r.C)(this,r.N,e))),Object.keys(this.states).forEach(e=>{this.states[e]._initialize()})}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.t
143ype,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(l),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(e=>`#${e.id}`),source:`#${this.id}`,actions:this.initial.actions.map(l),eventType:null})}:void 0,history:this.history,states:(0,r.y)(this.states,e=>e.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(e=>({...e,actions:e.actions.map(l)})),entry:this.entry.map(l),exit:this.exit.map(l),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return s(this,"invoke",()=>(0,r.t)(this.config.invoke).map((e,t)=>{let{src:n,systemId:i}=e,o=e.id??(0,r.E)(this.id,t),s="string"==typeof n?n:`xstate.invoke.${(0,r.E)(this.id,t)}`;return{...e,src:s,id:o,systemId:i,toJSON(){let{onDone:t,onError:n,...r}=e;return{...r,type:"xstate.invoke",src:s,id:o}}}}))}get on(){return s(this,"on",()=>[...this.transitions].flatMap(([e,t])=>t.map(t=>[e,t])).reduce((e,[t,n])=>(e[t]=e[t]||[],e[t].push(n),e),{}))}get after(){return s(this,"delayedTransitions",()=>(0,r.F)(this))}get initial(){return s(this,"initial",()=>(0,r.G)(this,this.config.initial))}next(e,t){let n,i=t.type,o=[];for(let a of s(this,`candidates-${i}`,()=>(0,r.H)(this,i))){let{guard:s}=a,l=e.context,u=!1;try{u=!s||(0,r.D)(s,l,t,e)}catch(t){let e="string"==typeof s?s:"object"==typeof s?s.type:void 0;throw Error(`Unable to evaluate guard ${e?`'${e}' `:""}in transition for event '${i}' in state node '${this.id}': 144${t.message}`)}if(u){o.push(...a.actions),n=a;break}}return n?[n]:void 0}get events(){return s(this,"events",()=>{let{states:e}=this,t=new Set(this.ownEvents);if(e)for(let n of Object.keys(e)){let r=e[n];if(r.states)for(let e of r.events)t.add(`${e}`)}return Array.from(t)})}get ownEvents(){return Array.from(new Set(Object.keys(Object.fromEntries(this.transitions)).filter(e=>this.transitions.get(e).some(e=>!(!e.target&&!e.actions.length&&!e.reenter)))))}}class c{constructor(e,t){this.config=e,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.id=e.id||"(machine)",this.implementations={actors:t?.actors??{},actions:t?.actions??{},delays:t?.delays??{},guards:t?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new u(e,{_key:this.id,_machine:this}),this.root._initialize(),(0,r.I)(this.root),this.states=this.root.states,this.events=this.root.events}provide(e){let{actions:t,guards:n,actors:r,delays:i}=this.implementations;return new c(this.config,{actions:{...t,...e.actions},guards:{...n,...e.guards},actors:{...r,...e.actors},delays:{...i,...e.delays}})}resolveState(e){let t=(0,r.J)(this.root,e.value),n=(0,r.K)((0,r.p)(this.root,t));return(0,r.L)({_nodes:[...n],context:e.context||{},children:{},status:(0,r.M)(n,this.root)?"done":e.status||"active",output:e.output,error:e.error,historyValue:e.historyValue},this)}transition(e,t,n){return(0,r.d)(e,t,n,[]).snapshot}microstep(e,t,n){return(0,r.d)(e,t,n,[]).microsteps.map(([e])=>e)}getTransitionData(e,t){return(0,r.O)(this.root,e.value,e,t)||[]}_getPreInitialState(e,t,n){let{context:o}=this.config,s=(0,r.L)({context:"function"!=typeof o&&o?o:{},_nodes:[this.root],children:{},status:"active"},this);return"function"==typeof o?(0,r.P)(s,t,e,[(0,i.a)(({spawn:e,event:t,self:n})=>o({spawn:e,input:t.input,self:n}))],n,void 0):s}getInitialSnapshot(e,t){let n=(0,r.e)(t),i=[],o=this._getPreInitialState(e,n,i),[s]=(0,r.i)(this.root,o,e,n,i),{snapshot:a}=(0,r.d)(s,n,e,i);return a}start(e){Object.values(e.children).forEach(e=>{"active"===e.getSnapshot().status&&e.start()})}getStateNodeById(e){let t=(0,r.Q)(e),n=t.slice(1),i=(0,r.R)(t[0])?t[0].slice(1):t[0],o=this.idMap.get(i);if(!o)throw Error(`Child state node '#${i}' does not exist on machine '${this.id}'`);return(0,r.T)(o,n)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(e,t){return(0,r.U)(e,t)}restoreSnapshot(e,t){let n={},i=e.children;
144Object.keys(i).forEach(e=>{let o=i[e],s=o.snapshot,a=o.src,l="string"==typeof a?(0,r.V)(this,a):a;if(!l)return;let u=(0,r.c)(l,{id:e,parent:t.self,syncSnapshot:o.syncSnapshot,snapshot:s,src:a,systemId:o.systemId});n[e]=u});let o=function(e,t){if(!t||"object"!=typeof t)return{};let n={};for(let r in t)for(let i of t[r]){let t=function(e,t){if(t instanceof u)return t;try{return e.machine.getStateNodeById(t.id)}catch{}}(e,i);t&&(n[r]??=[],n[r].push(t))}return n}(this.root,e.historyValue),s=(0,r.L)({...e,children:n,_nodes:Array.from((0,r.K)((0,r.p)(this.root,e.value))),historyValue:o},this),a=new Set;return!function e(t,n){if(!a.has(t))for(let i in a.add(t),t){let o=t[i];if(o&&"object"==typeof o){if("xstate$$type"in o&&o.xstate$$type===r.$){t[i]=n[o.id];continue}e(o,n)}}}(s.context,n),s}}var d=n(26035);function f(e,t){let n=(0,r.t)(t);if(!n.some(t=>(0,r.m)(e.type,t))){let t=1===n.length?`type matching "${n[0]}"`:`one of types matching "${n.join('", "')}"`;throw Error(`Expected event ${JSON.stringify(e)} to have ${t}`)}}},90886:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(9784),i=n(63056),o=n(96241),s=n(64509),a=n(71985),l=n(39860),u=n(40869);function c(e){let t=function e(t){var n;return!!(n=t)&&("object"==typeof n||"function"==typeof n)&&("reference"===t.name||e(t.type))}(e)&&1===(e.to??[]).length?e.to[0].icon:void 0;return e.icon??e.type?.icon??t}function d(e,t){return{query:"change query"===t.type?t.query:e.query,groups:"select group"===t.type?e.groups.map(e=>({...e,selected:t.name===e.name})):e.groups,views:"toggle view"===t.type?e.views.map(e=>({...e,selected:t.name===e.name})):e.views}}let f="all-items",h={gridTemplateColumns:"repeat(auto-fill, minmax(118px, 1fr))",alignItems:"start"};function p(e){let t,n,u,p,b,v,_,k,E,A,S,C,I,T,O,R,D=(0,i.c)(54),j=void 0===e.showIcons||e.showIcons,M=void 0===e.filter||"auto"===e.filter?e.schemaTypes.length>5:e.filter;D[0]!==e.groups||D[1]!==e.labels?(t=e.groups?[{name:f,title:e.labels["insert-menu.filter.all-items"],selected:!0},...e.groups.map(y)]:[],D[0]=e.groups,D[1]=e.labels,D[2]=t):t=D[2],D[3]!==e.views?(n=e.views??[{name:"list"}],D[3]=e.views,D[4]=n):n=D[4],D[5]!==n?(u=n.map(m),D[5]=n,D[6]=u):u=D[6],D[7]!==t||D[8]!==u?(p={query:"",groups:t,views:u},D[7]=t,D[8]=u,D[9]=p):p=D[9];let[N,F]=(0,l.useReducer)(d,p);if(D[10]!==e||D[11]!==M||D[12]!==j||D[13]!==N.groups||D[14]!==N.query||D[15]!==N.views){var $,P,L;let t,n,i,l=($=e.schemaTypes,P=N.query,L=N.groups,$.filter(e=>(function(e,t){let n=t.find(e=>e.selected);return!n||n.name===f||n.of?.includes(e.name)})(e,L)&&function(e,t){let n=t.trim().toLowerCase();return e.title?e.title?.toLowerCase().includes(n):e.name.includes(n)}(e,P))),u=N.views.find(g),d=M||N.views.length>1,p=N.groups&&N.groups.length>0,m=d||p;_=s.W1,I=0,v=s.so,A="column",S="fill",D[25]!==m?(t=m?{style:{borderBottom:"1px solid var(--card-border-color)"},paddingBottom:1}:{},D[25]=m,D[26]=t):t=D[26],D[27]!==e.labels||D[28]!==M||D[29]!==d||D[30]!==N.query||D[31]!==N.views?(n=d?(0,r.jsxs)(s.so,{flex:"none",align:"center",paddingTop:1,paddingX:1,gap:1,children:[M?(0,r.jsx)(s.az,{flex:1,children:(0,r.jsx)(s.ks,{autoFocus:!0,border:!1,fontSize:1,icon:o.WIv,onChange:e=>{F({type:"change query",query:e.target.value})},placeholder:e.labels["insert-menu.search.placeholder"],value:N.query})}):null,N.views.length>1?(0,r.jsx)(s.az,{flex:"none",children:(0,r.jsx)(w,{views:N.views,onToggle:e=>{F({type:"toggle view",name:e})},labels:e.labels})}):null]}):null,D[27]=e.labels,D[28]=M,D[29]=d,D[30]=N.query,D[31]=N.views,D[32]=n):n=D[32],D[33]!==p||D[34]!==N.groups?(i=p?(0,r.jsx)(s.az,{paddingTop:1,paddingX:1,children:(0,r.jsx)(s.wb,{space:1,children:N.groups.map(e=>(0,r.jsx)(s.oz,{id:`${e.name}-tab`,"aria-controls":`${e.name}-panel`,label:e.title??(0,a.A)(e.name),selected:e.selected,onClick:()=>{F({type:"select group",name:e.name})}},e.name))})}):null,D[33]=p,D[34]=N.groups,D[35]=i):i=D[35],D[36]!==t||D[37]!==n||D[38]!==i?(C=(0,r.jsxs)(s.az,{...t,children:[n,i]}),D[36]=t,D[37]=n,D[38]=i,D[39]=C):C=D[39],b=s.az,k=1,E=0===l.length?(0,r.jsx)(s.az,{padding:2,children:(0,r.jsx)(s.EY,{muted:!0,size:1,children:e.labels["insert-menu.search.no-results"]})}):u?"grid"===u.name?(0,r.jsx)(s.xA,{autoRows:"auto",flex:1,gap:1,style:h,children:l.map(t=>(0,r.jsx)(x,{icon:j?c(t):void 0,onClick:()=>{e.onSelect(t)},previewImageUrl:u.previewImageUrl?.(t.name),schemaType:t}
144,t.name))}):(0,r.jsx)(s.BJ,{flex:1,space:1,children:l.map(t=>(0,r.jsx)(s.Dr,{icon:j?c(t):void 0,onClick:()=>{e.onSelect(t)},text:t.title??(0,a.A)(t.name)},t.name))}):null,D[10]=e,D[11]=M,D[12]=j,D[13]=N.groups,D[14]=N.query,D[15]=N.views,D[16]=b,D[17]=v,D[18]=_,D[19]=k,D[20]=E,D[21]=A,D[22]=S,D[23]=C,D[24]=I}else b=D[16],v=D[17],_=D[18],k=D[19],E=D[20],A=D[21],S=D[22],C=D[23],I=D[24];return D[40]!==b||D[41]!==k||D[42]!==E?(T=(0,r.jsx)(b,{padding:k,children:E}),D[40]=b,D[41]=k,D[42]=E,D[43]=T):T=D[43],D[44]!==v||D[45]!==T||D[46]!==A||D[47]!==S||D[48]!==C?(O=(0,r.jsxs)(v,{direction:A,height:S,children:[C,T]}),D[44]=v,D[45]=T,D[46]=A,D[47]=S,D[48]=C,D[49]=O):O=D[49],D[50]!==_||D[51]!==O||D[52]!==I?(R=(0,r.jsx)(_,{padding:I,children:O}),D[50]=_,D[51]=O,D[52]=I,D[53]=R):R=D[53],R}function g(e){return e.selected}function m(e,t){return{...e,selected:0===t}}function y(e){return{...e,selected:!1}}let b={grid:o.jxC,list:o.r$9},v={grid:"insert-menu.toggle-grid-view.tooltip",list:"insert-menu.toggle-list-view.tooltip"};function w(e){let t,n,o,a,l=(0,i.c)(11),u=e.views.findIndex(_),c=e.views[u+1]??e.views[0],d=e.labels[v[c.name]];l[0]!==d?(t=(0,r.jsx)(s.EY,{size:1,children:d}),l[0]=d,l[1]=t):t=l[1];let f=b[c.name];return l[2]!==c.name||l[3]!==e?(n=()=>{e.onToggle(c.name)},l[2]=c.name,l[3]=e,l[4]=n):n=l[4],l[5]!==f||l[6]!==n?(o=(0,r.jsx)(s.$n,{mode:"bleed",icon:f,onClick:n}),l[5]=f,l[6]=n,l[7]=o):o=l[7],l[8]!==t||l[9]!==o?(a=(0,r.jsx)(s.m_,{content:t,placement:"top",portal:!0,children:o}),l[8]=t,l[9]=o,l[10]=a):a=l[10],a}function _(e){return e.selected}function x(e){let t,n,o,a,c,d,f,h,p,g=(0,i.c)(19),[m,y]=(0,l.useState)(!1),b=e.icon;g[0]===Symbol.for("react.memo_cache_sentinel")?(t={overflow:"hidden"},g[0]=t):t=g[0],g[1]===Symbol.for("react.memo_cache_sentinel")?(n={backgroundColor:"var(--card-muted-bg-color)",paddingBottom:"66.6%",position:"relative"},g[1]=n):n=g[1],g[2]!==b?(o=(0,u.Hy)(b)?(0,r.jsx)(s.so,{align:"center",justify:"center",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:(0,r.jsx)(s.EY,{size:1,children:(0,r.jsx)(b,{})})}):null,g[2]=b,g[3]=o):o=g[3],g[4]!==m||g[5]!==e.previewImageUrl?(a=!e.previewImageUrl||m?null:(0,r.jsx)("img",{src:e.previewImageUrl,style:{objectFit:"contain",width:"100%",height:"100%",position:"absolute",inset:0},onError:()=>{y(!0)}}),g[4]=m,g[5]=e.previewImageUrl,g[6]=a):a=g[6],g[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,r.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",boxShadow:"inset 0 0 0 0.5px var(--card-fg-color)",opacity:.1}}),g[7]=c):c=g[7],g[8]!==o||g[9]!==a?(d=(0,r.jsxs)(s.az,{flex:"none",style:n,children:[o,a,c]}),g[8]=o,g[9]=a,g[10]=d):d=g[10];let v=e.schemaType.title??e.schemaType.name;return g[11]!==v?(f=(0,r.jsx)(s.az,{flex:"none",paddingX:2,paddingY:1,children:(0,r.jsx)(s.EY,{size:1,weight:"medium",children:v})}),g[11]=v,g[12]=f):f=g[12],g[13]!==d||g[14]!==f?(h=(0,r.jsxs)(s.so,{direction:"column",gap:1,padding:1,children:[d,f]}),g[13]=d,g[14]=f,g[15]=h):h=g[15],g[16]!==e.onClick||g[17]!==h?(p=(0,r.jsx)(s.Dr,{padding:0,radius:2,onClick:e.onClick,style:t,children:h}),g[16]=e.onClick,g[17]=h,g[18]=p):p=g[18],p}},90904:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=/^(?:0|[1-9]\d*)$/;let i=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},91039:(e,t,n)=>{"use strict";let r=n(82404),i=n(36706),o=n(240),s=n(34747),a=n(95934),l=n(15831),u=n(12948),c=n(74609),d=n(32528),f=n(99032),h=n(95028),p=n(64255),g=n(43409),m=n(48390),y=n(43790),b=n(1185),v=n(93127),w=n(72119),_=n(32159),x=n(18252),k=n(81947),E=n(26301),A=n(40649),S=n(67199),C=n(68226),I=n(93569),T=n(37338),O=n(52376),R=n(76353),D=n(16088),j=n(86457),M=n(71146),N=n(80456),F=n(41789),$=n(73046),P=n(6563),L=n(28951),z=n(31098),U=n(37402);e.exports={parse:a,valid:l,clean:u,inc:c,diff:d,major:f,minor:h,patch:p,prerelease:g,compare:m,rcompare:y,compareLoose:b,compareBuild:v,sort:w,rsort:_,gt:x,lt:k,eq:E,neq:A,gte:S,lte:C,cmp:I,coerce:T,Comparator:O,Range:R,satisfies:D,toComparators:j,maxSatisfying:M,minSatisfying:N,minVersion:F,validRange:$,outside:P,gtr:L,ltr:z,intersects:U,simplifyRange:n(84451),subset:n(52770),SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},91108:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}}
144,91239:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},91286:(e,t,n)=>{"use strict";var r=n(39860).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.c=function(e){return r.H.useMemoCache(e)}},91426:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},91436:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r=n(8286),i=n(96948),o=n(28400);function s(e,t){return(0,i.N)(function(n,i){var s=null,a=0,l=!1,u=function(){return l&&!s&&i.complete()};n.subscribe((0,o._)(i,function(n){null==s||s.unsubscribe();var l=0,c=a++;(0,r.Tg)(e(n,c)).subscribe(s=(0,o._)(i,function(e){return i.next(t?t(n,e,c,l++):e)},function(){s=null,u()}))},function(){l=!0,u()}))})}},91550:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>a,so:()=>o,wm:()=>s});var r=n(3254),i=n(3283);function o(e){return e.children.map(e=>e.text??"").join("")}function s(e,t){if(!(0,r.zS)(e,t))return!1;let n=t.children.every(t=>(0,r.bl)(e,t)),i=o(t);return n&&""===i}function a({context:e,block:t}){let n=(0,i.Jo)(e.selection),o=(0,i.aR)(e.selection);if(!n||!o)return t;let s=(0,i.XE)(n);if(s!==(0,i.XE)(o)||s!==t._key)return t;let a=(0,i.qX)(n),l=(0,i.qX)(o);if(!a||!l)return t;let u=!1,c=[];for(let i of t.children){if(i._key===a){if(u=!0,(0,r.bl)(e,i)){let e=i._key===l?i.text.slice(n.offset,o.offset):i.text.slice(n.offset);c.push({...i,text:e})}else c.push(i);if(a===l)break;continue}if(i._key===l){(0,r.bl)(e,i)?c.push({...i,text:i.text.slice(0,o.offset)}):c.push(i);break}u&&c.push(i)}return{...t,children:c}}},91602:(e,t,n)=>{e.exports=n(51483).Uint8Array},91958:(e,t,n)=>{var r=n(82979),i=n(63134),o=n(48908);e.exports=function(e){return o(e)?r(e):i(e)}},92118:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(4168);function i(e,t){return(0,r.w)(t||e,e)}},92273:(e,t,n)=>{"use strict";function r(){return{accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function i(e,t){return"function"==typeof e?e(t):e}function o(e,t){return n=>{t.setState(t=>({...t,[e]:i(n,t[e])}))}}function s(e){return e instanceof Function}function a(e,t,n){let r,i=[];return o=>{let s,a;n.key&&n.debug&&(s=Date.now());let l=e(o);if(!(l.length!==i.length||l.some((e,t)=>i[t]!==e)))return r;if(i=l,n.key&&n.debug&&(a=Date.now()),r=t(...l),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){let e=Math.round((Date.now()-s)*100)/100,t=Math.round((Date.now()-a)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${i(t,5)} /${i(e,5)} ms`,` 145 font-size: .6rem; 146 font-weight: bold; 147 color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function l(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}n.d(t,{FB:()=>r,HT:()=>H,ZR:()=>V,hM:()=>G,kW:()=>W});let u="debugHeaders";function c(e,t,n){var r;let i={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{let e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach(t=>{null==t.createHeader||t.createHeader(i,e)}),i}function d(e,t,n,r){var i,o;let s=0,a=function(e,t){void 0===t&&(t=1),s=Math.max(s,t),e.filter(e=>e.getIsVisible()).forEach(e=>{var n;null!=(n=e.columns)&&n.length&&a(e.columns,t+1)},0)};a(e);let l=[],u=(e,t)=>{let i={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},o=[];e.forEach(e=>{let s,a=[...o].reverse()[0],l=e.column.depth===i.depth,u=!1;if(l&&e.column.parent?s=e.column.parent:(s=e.column,u=!0),a&&(null==a?void 0:a.column)===s)a.subHeaders.push(e);else{let i=c(n,s,{id:[r,t,s.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:u,placeholderId:u?`${o.filter(e=>e.column===s).length}`:void 0,depth:t,index:o.length});i.subHeaders.push(e),o.push(i)}i.headers.push(e),e.headerGroup=i}),l.push(i),t>0&&u(o,t-1)};u(t.map((e,t)=>c(n,e,{depth:s,index:t})),s-1),l.reverse();let d=e=>e.filter(e=>e.column.getIsVisible()).map(e=>{let t=0,n=0,r=[0];return e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEac
147h(e=>{let{colSpan:n,rowSpan:i}=e;t+=n,r.push(i)})):t=1,n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}});return d(null!=(i=null==(o=l[0])?void 0:o.headers)?i:[]),l}let f=(e,t,n,r,i,o,s)=>{let u={id:t,index:r,original:n,depth:i,parentId:s,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(u._valuesCache.hasOwnProperty(t))return u._valuesCache[t];let n=e.getColumn(t);if(null!=n&&n.accessorFn)return u._valuesCache[t]=n.accessorFn(u.original,r),u._valuesCache[t]},getUniqueValues:t=>{if(u._uniqueValuesCache.hasOwnProperty(t))return u._uniqueValuesCache[t];let n=e.getColumn(t);if(null!=n&&n.accessorFn)return n.columnDef.getUniqueValues?u._uniqueValuesCache[t]=n.columnDef.getUniqueValues(u.original,r):u._uniqueValuesCache[t]=[u.getValue(t)],u._uniqueValuesCache[t]},renderValue:t=>{var n;return null!=(n=u.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=o?o:[],getLeafRows:()=>(function(e,t){let n=[],r=e=>{e.forEach(e=>{n.push(e);let i=t(e);null!=i&&i.length&&r(i)})};return r(e),n})(u.subRows,e=>e.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let e=[],t=u;for(;;){let n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:a(()=>[e.getAllLeafColumns()],t=>t.map(t=>(function(e,t,n,r){let i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:a(()=>[e,n,t,i],(e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue}),l(e.options,"debugCells","cell.getContext"))};return e._features.forEach(r=>{null==r.createCell||r.createCell(i,n,t,e)},{}),i})(e,u,t,t.id)),l(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:a(()=>[u.getAllCells()],e=>e.reduce((e,t)=>(e[t.column.id]=t,e),{}),l(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){let n=e._features[t];null==n||null==n.createRow||n.createRow(u,e)}return u},h=(e,t,n)=>{var r,i;let o=null==n||null==(r=n.toString())?void 0:r.toLowerCase();return!!(null==(i=e.getValue(t))||null==(i=i.toString())||null==(i=i.toLowerCase())?void 0:i.includes(o))};h.autoRemove=e=>k(e);let p=(e,t,n)=>{var r;return!!(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};p.autoRemove=e=>k(e);let g=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};g.autoRemove=e=>k(e);let m=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};m.autoRemove=e=>k(e);let y=(e,t,n)=>!n.some(n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))});y.autoRemove=e=>k(e)||!(null!=e&&e.length);let b=(e,t,n)=>n.some(n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)});b.autoRemove=e=>k(e)||!(null!=e&&e.length);let v=(e,t,n)=>e.getValue(t)===n;v.autoRemove=e=>k(e);let w=(e,t,n)=>e.getValue(t)==n;w.autoRemove=e=>k(e);let _=(e,t,n)=>{let[r,i]=n,o=e.getValue(t);return o>=r&&o<=i};_.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,i="number"!=typeof n?parseFloat(n):n,o=null===t||Number.isNaN(r)?-1/0:r,s=null===n||Number.isNaN(i)?1/0:i;if(o>s){let e=o;o=s,s=e}return[o,s]},_.autoRemove=e=>k(e)||k(e[0])&&k(e[1]);let x={includesString:h,includesStringSensitive:p,equalsString:g,arrIncludes:m,arrIncludesAll:y,arrIncludesSome:b,equals:v,weakEquals:w,inNumberRange:_};function k(e){return null==e||""===e}function E(e,t,n){return!!e&&!!e.autoRemove&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}let A={sum:(e,t,n)=>n.reduce((t,n)=>{let r=n.getValue(e);return t+("number"==typeof r?r:0)},0),min:(e,t,n)=>{let r;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)}),r},max:(e,t,n)=>{let r;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)}),r},extent:(e,t,n)=>{let r,i;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=i=n):(r>n&&(r=n),i<n&&(i=n)))}),[r,i]},mean:(e,t)=>{let n=0,r=0;if(t.forEach(t=>{let i=t.getValue(e);null!=i&&(i*=1)>=i&&(++n,r+=i)}),n)return r/n},median:(e,t)=>{if(!t.length)return;let n=t.map(t=>t.getValue(e));if(!function(e){return Array.isArray(e)&&e.every(e=>"number"==typeof e)}(n))return;if(1===n.length)return n[0];let r=Math.floor(n.length/2),i=n.sort((e,t)=>
147e-t);return n.length%2!=0?i[r]:(i[r-1]+i[r])/2},unique:(e,t)=>Array.from(new Set(t.map(t=>t.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(t=>t.getValue(e))).size,count:(e,t)=>t.length},S=()=>({left:[],right:[]}),C={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},I=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),T=null;function O(e){return"touchstart"===e.type}function R(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}let D=()=>({pageIndex:0,pageSize:10}),j=()=>({top:[],bottom:[]}),M=(e,t,n,r,i)=>{var o;let s=i.getRow(t,!0);n?(s.getCanMultiSelect()||Object.keys(e).forEach(t=>delete e[t]),s.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(o=s.subRows)&&o.length&&s.getCanSelectSubRows()&&s.subRows.forEach(t=>M(e,t.id,n,r,i))};function N(e,t){let n=e.getState().rowSelection,r=[],i={},o=function(e,t){return e.map(e=>{var t;let s=F(e,n);if(s&&(r.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:o(e.subRows)}),s)return e}).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:i}}function F(e,t){var n;return null!=(n=t[e.id])&&n}function $(e,t,n){var r;if(!(null!=(r=e.subRows)&&r.length))return!1;let i=!0,o=!1;return e.subRows.forEach(e=>{if((!o||i)&&(e.getCanSelect()&&(F(e,t)?o=!0:i=!1),e.subRows&&e.subRows.length)){let n=$(e,t);"all"===n?o=!0:("some"===n&&(o=!0),i=!1)}}),i?"all":!!o&&"some"}let P=/([0-9]+)/gm;function L(e,t){return e===t?0:e>t?1:-1}function z(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function U(e,t){let n=e.split(P).filter(Boolean),r=t.split(P).filter(Boolean);for(;n.length&&r.length;){let e=n.shift(),t=r.shift(),i=parseInt(e,10),o=parseInt(t,10),s=[i,o].sort();if(isNaN(s[0])){if(e>t)return 1;if(t>e)return -1;continue}if(isNaN(s[1]))return isNaN(i)?-1:1;if(i>o)return 1;if(o>i)return -1}return n.length-r.length}let B={alphanumeric:(e,t,n)=>U(z(e.getValue(n)).toLowerCase(),z(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>U(z(e.getValue(n)),z(t.getValue(n))),text:(e,t,n)=>L(z(e.getValue(n)).toLowerCase(),z(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>L(z(e.getValue(n)),z(t.getValue(n))),datetime:(e,t,n)=>{let r=e.getValue(n),i=t.getValue(n);return r>i?1:r<i?-1:0},basic:(e,t,n)=>L(e.getValue(n),t.getValue(n))},q=[{createTable:e=>{e.getHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var o,s;let a=null!=(o=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?o:[],l=null!=(s=null==i?void 0:i.map(e=>n.find(t=>t.id===e)).filter(Boolean))?s:[];return d(t,[...a,...n.filter(e=>!(null!=r&&r.includes(e.id))&&!(null!=i&&i.includes(e.id))),...l],e)},l(e.options,u,"getHeaderGroups")),e.getCenterHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>d(t,n=n.filter(e=>!(null!=r&&r.includes(e.id))&&!(null!=i&&i.includes(e.id))),e,"center"),l(e.options,u,"getCenterHeaderGroups")),e.getLeftHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;return d(t,null!=(i=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?i:[],e,"left")},l(e.options,u,"getLeftHeaderGroups")),e.getRightHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;return d(t,null!=(i=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?i:[],e,"right")},l(e.options,u,"getRightHeaderGroups")),e.getFooterGroups=a(()=>[e.getHeaderGroups()],e=>[...e].reverse(),l(e.options,u,"getFooterGroups")),e.getLeftFooterGroups=a(()=>[e.getLeftHeaderGroups()],e=>[...e].reverse(),l(e.options,u,"getLeftFooterGroups")),e.getCenterFooterGroups=a(()=>[e.getCenterHeaderGroups()],e=>[...e].reverse(),l(e.options,u,"getCenterFooterGroups")),e.getRightFooterGroups=a(()=>[e.getRightHeaderGroups()],e=>[...e].reverse(),l(e.options,u,"getRightFooterGroups")),e.getFlatHeaders=a(()=>[e.getHeaderGroups()],e=>e.map(e=>e.headers).flat(),l(e.options,u,"getFlatHeaders")),e.getLeftFlatHeaders=a(()=>[e.getLeftHeaderGroups()],e=>e.map(e=>e.headers).flat(),l(e.options,u,"getLeftFlatHeaders")),e.getCenterFlatHeaders=a(()=>[e.getCenterHeaderGroups()],e=>e.map(e=>e.headers).flat(),l(e.options,u,"getCenterFlatHeaders")),e.getRightFlatHeaders=a(()=>[e.getRightHeaderGroups()],e=>e.map(e=>e.headers).flat(),l(e.options,u,"getRightFlatHeaders")),e.getCenterLeafHeaders=a(()=>[e.getCenterFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),l(e.options,u,"getCenterLeafHeaders")),e.getLeftLeafHeaders=a(()=>[e.getLeftFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),l(e.options,u,"getLeftLeafHeaders")),e.getRightLeafHeaders=a(()=>[e.getRightFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),l(e.options,u,"getRightLeafHeaders")),e.getLeafHeaders=a(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(e,t,n)=>{var r,i,o,s,a,l;return[...null!=(r=null==(i=e[0])?void 0:i.headers)?r:[],...null!=(o=null==(s=t[0])?void 0:s.headers)?o:[],...null!=(a=null==(l=n[0])?void 0:l.headers)?a:[]].map(e=>e.getLeafHeaders()).flat()},l(e.options,u,"getLeafHeaders"))}},{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:o("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(t=>
147({...t,[e.id]:null!=n?n:!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;let i=e.columns;return null==(n=i.length?i.some(e=>e.getIsVisible()):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=a(()=>[e.getAllCells(),t.getState().columnVisibility],e=>e.filter(e=>e.column.getIsVisible()),l(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=a(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(e,t,n)=>[...e,...t,...n],l(t.options,"debugRows","getVisibleCells"))},createTable:e=>{let t=(t,n)=>a(()=>[n(),n().filter(e=>e.getIsVisible()).map(e=>e.id).join("_")],e=>e.filter(e=>null==e.getIsVisible?void 0:e.getIsVisible()),l(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(e=>!(null!=e.getIsVisible&&e.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(e=>null==e.getIsVisible?void 0:e.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}},{getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:o("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=a(e=>[R(t,e)],t=>t.findIndex(t=>t.id===e.id),l(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=R(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;let i=R(t,n);return(null==(r=i[i.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=a(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(e,t,n)=>r=>{let i=[];if(null!=e&&e.length){let t=[...e],n=[...r];for(;n.length&&t.length;){let e=t.shift(),r=n.findIndex(t=>t.id===e);r>-1&&i.push(n.splice(r,1)[0])}i=[...i,...n]}else i=r;return function(e,t,n){if(!(null!=t&&t.length)||!n)return e;let r=e.filter(e=>!t.includes(e.id));return"remove"===n?r:[...t.map(t=>e.find(e=>e.id===t)).filter(Boolean),...r]}(i,t,n)},l(e.options,"debugTable","_getOrderColumnsFn"))}},{getInitialState:e=>({columnPinning:S(),...e}),getDefaultOptions:e=>({onColumnPinningChange:o("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{let r=e.getLeafColumns().map(e=>e.id).filter(Boolean);t.setColumnPinning(e=>{var t,i,o,s,a,l;return"right"===n?{left:(null!=(o=null==e?void 0:e.left)?o:[]).filter(e=>!(null!=r&&r.includes(e))),right:[...(null!=(s=null==e?void 0:e.right)?s:[]).filter(e=>!(null!=r&&r.includes(e))),...r]}:"left"===n?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter(e=>!(null!=r&&r.includes(e))),...r],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter(e=>!(null!=r&&r.includes(e)))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter(e=>!(null!=r&&r.includes(e))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter(e=>!(null!=r&&r.includes(e)))}})},e.getCanPin=()=>e.getLeafColumns().some(e=>{var n,r,i;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||r)}),e.getIsPinned=()=>{let n=e.getLeafColumns().map(e=>e.id),{left:r,right:i}=t.getState().columnPinning,o=n.some(e=>null==r?void 0:r.includes(e)),s=n.some(e=>null==i?void 0:i.includes(e));return o?"left":!!s&&"right"},e.getPinnedIndex=()=>{var n,r;let i=e.getIsPinned();return i?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[i])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,t,n)=>{let r=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!r.includes(e.column.id))},l(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>
147e.column.id===t)).filter(Boolean).map(e=>({...e,position:"left"})),l(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"right"})),l(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?S():null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:S())},e.getIsSomeColumnsPinned=t=>{var n,r,i;let o=e.getState().columnPinning;return t?!!(null==(n=o[t])?void 0:n.length):!!((null==(r=o.left)?void 0:r.length)||(null==(i=o.right)?void 0:i.length))},e.getLeftLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),l(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),l(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(e,t,n)=>{let r=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!r.includes(e.id))},l(e.options,"debugColumns","getCenterLeafColumns"))}},{createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.i
147d),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},{getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:o("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{let n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?x.includesString:"number"==typeof r?x.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?x.equals:Array.isArray(r)?x.arrIncludes:x.weakEquals},e.getFilterFn=()=>{var n,r;return s(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:x[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find(t=>t.id===e.id))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex(t=>t.id===e.id))?n:-1},e.setFilterValue=n=>{t.setColumnFilters(t=>{var r,o;let s=e.getFilterFn(),a=null==t?void 0:t.find(t=>t.id===e.id),l=i(n,a?a.value:void 0);if(E(s,l,e))return null!=(r=null==t?void 0:t.filter(t=>t.id!==e.id))?r:[];let u={id:e.id,value:l};return a?null!=(o=null==t?void 0:t.map(t=>t.id===e.id?u:t))?o:[]:null!=t&&t.length?[...t,u]:[u]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{let n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange(e=>{var r;return null==(r=i(t,e))?void 0:r.filter(e=>{let t=n.find(t=>t.id===e.id);return!(t&&E(t.getFilterFn(),e.value,t))&&!0})})},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel)?e.getPreFilteredRowModel():e._getFilteredRowModel()}},{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:o("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;let r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,o;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(i=t.options.enableFilters)||i)&&(null==(o=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||o)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>x.includesString,e.getGlobalFilterFn=()=>{var t,n;let{globalFilterFn:r}=e.options;return s(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:x[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)}
147,e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:o("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{let n=t.getFilteredRowModel().flatRows.slice(10),r=!1;for(let t of n){let n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return B.datetime;if("string"==typeof n&&(r=!0,n.split(P).length>1))return B.alphanumeric}return r?B.text:B.basic},e.getAutoSortDir=()=>{let n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw Error();return s(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:B[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{let i=e.getNextSortingOrder(),o=null!=n;t.setSorting(s=>{let a,l=null==s?void 0:s.find(t=>t.id===e.id),u=null==s?void 0:s.findIndex(t=>t.id===e.id),c=[],d=o?n:"desc"===i;if("toggle"!=(a=null!=s&&s.length&&e.getCanMultiSort()&&r?l?"toggle":"add":null!=s&&s.length&&u!==s.length-1?"replace":l?"toggle":"replace")||o||i||(a="remove"),"add"===a){var f;(c=[...s,{id:e.id,desc:d}]).splice(0,c.length-(null!=(f=t.options.maxMultiSortColCount)?f:Number.MAX_SAFE_INTEGER))}else c="toggle"===a?s.map(t=>t.id===e.id?{...t,desc:d}:t):"remove"===a?s.filter(t=>t.id!==e.id):[{id:e.id,desc:d}];return c})},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;let o=e.getFirstSortDir(),s=e.getIsSorted();return s?(s===o||null!=(r=t.options.enableSortingRemoval)&&!r||!!n&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===s?"asc":"desc"):o},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;let r=null==(n=t.getState().sorting)?void 0:n.find(t=>t.id===e.id);return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex(t=>t.id===e.id))?n:-1},e.clearSorting=()=>{t.setSorting(t=>null!=t&&t.length?t.filter(t=>t.id!==e.id):[])},e.getToggleSortingHandler=()=>{let n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel)?e.getPreSortedRowModel():e._getSortedRowModel()}},{getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:o("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(t=>null!=t&&t.includes(e.id)?t.filter(t=>t!==e.id):[...null!=t?t:[],e.id])},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{let t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{let n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?A.sum:"[object Date]"===Object.prototype.toString.call(r)?A.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw Error();return s(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:A[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel)?e.getPreGroupedRowModel():e._getGroupedRowModel()},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];let r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!(null!=(t=n.subRows)&&t.length)}}},{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:o("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(!t)return void e._queue(()=>{t=!0});if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(e=>e.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{let t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{let t=e.getState().expanded;return"boolean"==typeof t?!0===t:!(!Object.keys(t).length||e.getRowModel().flatRows.some(e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEac
147h(e=>{let n=e.split(".");t=Math.max(t,n.length)}),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel)?e.getPreExpandedRowModel():e._getExpandedRowModel()},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;let o=!0===r||!!(null!=r&&r[e.id]),s={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach(e=>{s[e]=!0}):s=r,n=null!=(i=n)?i:!o,!o&&n)return{...s,[e.id]:!0};if(o&&!n){let{[e.id]:t,...n}=s;return n}return r})},e.getIsExpanded=()=>{var n;let r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,i;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!!(null!=(i=e.subRows)&&i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)n=(r=t.getRow(r.parentId,!0)).getIsExpanded();return n},e.getToggleExpandedHandler=()=>{let t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{...D(),...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:o("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(!t)return void e._queue(()=>{t=!0});if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange(e=>i(t,e)),e.resetPagination=t=>{var n;e.setPagination(t?D():null!=(n=e.initialState.pagination)?n:D())},e.setPageIndex=t=>{e.setPagination(n=>{let r=i(t,n.pageIndex);return r=Math.max(0,Math.min(r,void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1)),{...n,pageIndex:r}})},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination(e=>{let n=Math.max(1,i(t,e.pageSize)),r=Math.floor(e.pageSize*e.pageIndex/n);return{...e,pageIndex:r,pageSize:n}})},e.setPageCount=t=>e.setPagination(n=>{var r;let o=i(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}}),e.getPageOptions=a(()=>[e.getPageCount()],e=>{let t=[];return e&&e>0&&(t=[...Array(e)].fill(null).map((e,t)=>t)),t},l(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{let{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return -1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex(e=>e-1),e.nextPage=()=>e.setPageIndex(e=>e+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel)?e.getPrePaginationRowModel():e._getPaginationRowModel(),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:j(),...e}),getDefaultOptions:e=>({onRowPinningChange:o("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{let o=r?e.getLeafRows().map(e=>{let{id:t}=e;return t}):[],s=new Set([...i?e.getParentRows().map(e=>{let{id:t}=e;return t}):[],e.id,...o]);t.setRowPinning(e=>{var t,r,i,o,a,l;return"bottom"===n?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter(e=>!(null!=s&&s.has(e))),bottom:[...(null!=(o=null==e?void 0:e.bottom)?o:[]).filter(e=>!(null!=s&&s.has(e))),...Array.from(s)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter(e=>!(null!=s&&s.has(e))),...Array.from(s)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter(e=>!(null!=s&&s.has(e)))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter(e=>!(null!=s&&s.has(e))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter(e=>!(null!=s&&s.has(e)))}})},e.getCanPin=()=>{var n;let{enableRowPinning:r,enablePinning:i}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:i)||n},e.getIsPinned=()=>{let n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,o=n.some(e=>null==r?void 0:r.includes(e)),s=n.some(e=>null==i?void 0:i.includes(e));return o?"top":!!s&&"bottom"},e.getPinnedIndex=()=>{var n,r;let i=e.getIsPinned();if(!i)return -1;let o=null==(n="top"===i?t.getTopRows():t.getBottomRows())?void 0:n.map(e=>{let{id:t}=e;return t});return null!=(r=null==o?void 0:o.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?j():null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:j())},e.getIsSomeRowsPinned=t=>{var n,r,i;let o=e.getState().rowPinning;return t?!!(null==(n=o[t])?void 0:n.length):!!((null==(r=o.top)?void 0:r.length)||(null==(i=o.bottom)?void 0:i.length))},e._getPinnedRows=(t,n,r)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=n?n:[]).map(t=>{let n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null}):(null!=n?n:[]).map(e=>t.find(t=>
147t.id===e))).filter(Boolean).map(e=>({...e,position:r}))},e.getTopRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),l(e.options,"debugRows","getTopRows")),e.getBottomRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),l(e.options,"debugRows","getBottomRows")),e.getCenterRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(e,t,n)=>{let r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter(e=>!r.has(e.id))},l(e.options,"debugRows","getCenterRows"))}},{getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:o("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();let r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(e=>{e.getCanSelect()&&(r[e.id]=!0)}):i.forEach(e=>{delete r[e.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{let r=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(t=>{M(i,t.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=a(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?N(e,n):{rows:[],flatRows:[],rowsById:{}},l(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=a(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?N(e,n):{rows:[],flatRows:[],rowsById:{}},l(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=a(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?N(e,n):{rows:[],flatRows:[],rowsById:{}},l(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{let t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState(),r=!!(t.length&&Object.keys(n).length);return r&&t.some(e=>e.getCanSelect()&&!n[e.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows.filter(e=>e.getCanSelect()),{rowSelection:n}=e.getState(),r=!!t.length;return r&&t.some(e=>!n[e.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;let n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter(e=>e.getCanSelect()).some(e=>e.getIsSelected()||e.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{let i=e.getIsSelected();t.setRowSelection(o=>{var s;if(n=void 0!==n?n:!i,e.getCanSelect()&&i===n)return o;let a={...o};return M(a,e.id,n,null==(s=null==r?void 0:r.selectChildren)||s,t),a})},e.getIsSelected=()=>{let{rowSelection:n}=t.getState();return F(e,n)},e.getIsSomeSelected=()=>{let{rowSelection:n}=t.getState();return"some"===$(e,n)},e.getIsAllSubRowsSelected=()=>{let{rowSelection:n}=t.getState();return"all"===$(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{let t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},{getDefaultColumnDef:()=>C,getInitialState:e=>({columnSizing:{},columnSizingInfo:I(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:o("columnSizing",e),onColumnSizingInfoChange:o("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;let o=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:C.minSize,null!=(r=null!=o?o:e.columnDef.size)?r:C.size),null!=(i=e.columnDef.maxSize)?i:C.maxSize)},e.getStart=a(e=>[e,R(t,e),t.getState().columnSizing],(t,n)=>n.slice(0,e.getIndex(t)).reduce((e,t)=>
147e+t.getSize(),0),l(t.options,"debugColumns","getStart")),e.getAfter=a(e=>[e,R(t,e),t.getState().columnSizing],(t,n)=>n.slice(e.getIndex(t)+1).reduce((e,t)=>e+t.getSize(),0),l(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(t=>{let{[e.id]:n,...r}=t;return r})},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0,n=e=>{if(e.subHeaders.length)e.subHeaders.forEach(n);else{var r;t+=null!=(r=e.column.getSize())?r:0}};return n(e),t},e.getStart=()=>{if(e.index>0){let t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{let r=t.getColumn(e.column.id),i=null==r?void 0:r.getCanResize();return o=>{if(!r||!i||(null==o.persist||o.persist(),O(o)&&o.touches&&o.touches.length>1))return;let s=e.getSize(),a=e?e.getLeafHeaders().map(e=>[e.column.id,e.column.getSize()]):[[r.id,r.getSize()]],l=O(o)?Math.round(o.touches[0].clientX):o.clientX,u={},c=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo(e=>{var r,i;let o="rtl"===t.options.columnResizeDirection?-1:1,s=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*o,a=Math.max(s/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach(e=>{let[t,n]=e;u[t]=Math.round(100*Math.max(n+n*a,0))/100}),{...e,deltaOffset:s,deltaPercentage:a}}),("onChange"===t.options.columnResizeMode||"end"===e)&&t.setColumnSizing(e=>({...e,...u})))},d=e=>c("move",e),f=e=>{c("end",e),t.setColumnSizingInfo(e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},h=n||("undefined"!=typeof document?document:null),p={moveHandler:e=>d(e.clientX),upHandler:e=>{null==h||h.removeEventListener("mousemove",p.moveHandler),null==h||h.removeEventListener("mouseup",p.upHandler),f(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==h||h.removeEventListener("touchmove",g.moveHandler),null==h||h.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof T)return T;let e=!1;try{let t=()=>{};window.addEventListener("test",t,{get passive(){return e=!0,!1}}),window.removeEventListener("test",t)}catch(t){e=!1}return T=e}()&&{passive:!1};O(o)?(null==h||h.addEventListener("touchmove",g.moveHandler,m),null==h||h.addEventListener("touchend",g.upHandler,m)):(null==h||h.addEventListener("mousemove",p.moveHandler,m),null==h||h.addEventListener("mouseup",p.upHandler,m)),t.setColumnSizingInfo(e=>({...e,startOffset:l,startSize:s,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?I():null!=(n=e.initialState.columnSizingInfo)?n:I())},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0}}}];function V(e){var t,n;let r=[...q,...null!=(t=e._features)?t:[]],o={_features:r},s=o._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o)),{}),u={...null!=(n=e.initialState)?n:{}};
147o._features.forEach(e=>{var t;u=null!=(t=null==e.getInitialState?void 0:e.getInitialState(u))?t:u});let c=[],d=!1,f={_features:r,options:{...s,...e},initialState:u,_queue:e=>{c.push(e),d||(d=!0,Promise.resolve().then(()=>{for(;c.length;)c.shift()();d=!1}).catch(e=>setTimeout(()=>{throw e})))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{var t;t=i(e,o.options),o.options=o.options.mergeOptions?o.options.mergeOptions(s,t):{...s,...t}},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&!(n=o.getCoreRowModel().rowsById[e]))throw Error();return n},_getDefaultColumnDef:a(()=>[o.options.defaultColumn],e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{let t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...o._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef()),{}),...e}},l(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:a(()=>[o._getColumnDefs()],e=>{let t=function(e,n,r){return void 0===r&&(r=0),e.map(e=>{let i=function(e,t,n,r){var i,o;let s,u={...e._getDefaultColumnDef(),...t}
147,c=u.accessorKey,d=null!=(i=null!=(o=u.id)?o:c?"function"==typeof String.prototype.replaceAll?c.replaceAll(".","_"):c.replace(/\./g,"_"):void 0)?i:"string"==typeof u.header?u.header:void 0;if(u.accessorFn?s=u.accessorFn:c&&(s=c.includes(".")?e=>{let t=e;for(let e of c.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[u.accessorKey]),!d)throw Error();let f={id:`${String(d)}`,accessorFn:s,parent:r,depth:n,columnDef:u,columns:[],getFlatColumns:a(()=>[!0],()=>{var e;return[f,...null==(e=f.columns)?void 0:e.flatMap(e=>e.getFlatColumns())]},l(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:a(()=>[e._getOrderColumnsFn()],e=>{var t;return null!=(t=f.columns)&&t.length?e(f.columns.flatMap(e=>e.getLeafColumns())):[f]},l(e.options,"debugColumns","column.getLeafColumns"))};for(let t of e._features)null==t.createColumn||t.createColumn(f,e);return f}(o,e,r,n);return i.columns=e.columns?t(e.columns,i,r+1):[],i})};return t(e)},l(e,"debugColumns","getAllColumns")),getAllFlatColumns:a(()=>[o.getAllColumns()],e=>e.flatMap(e=>e.getFlatColumns()),l(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:a(()=>[o.getAllFlatColumns()],e=>e.reduce((e,t)=>(e[t.id]=t,e),{}),l(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:a(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(e,t)=>t(e.flatMap(e=>e.getLeafColumns())),l(e,"debugColumns","getAllLeafColumns")),getColumn:e=>o._getAllFlatColumnsById()[e]};Object.assign(o,f);for(let e=0;e<o._features.length;e++){let t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}function H(){return e=>a(()=>[e.options.data],t=>{let n={rows:[],flatRows:[],rowsById:{}},r=function(t,i,o){void 0===i&&(i=0);let s=[];for(let l=0;l<t.length;l++){let u=f(e,e._getRowId(t[l],l,o),t[l],l,i,void 0,null==o?void 0:o.id);if(n.flatRows.push(u),n.rowsById[u.id]=u,s.push(u),e.options.getSubRows){var a;u.originalSubRows=e.options.getSubRows(t[l],l),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=r(u.originalSubRows,i+1,u))}}return s};return n.rows=r(t),n},l(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function G(){return e=>a(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{var i,o;let s,a;if(!t.rows.length||!(null!=n&&n.length)&&!r){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}let l=[],u=[];(null!=n?n:[]).forEach(t=>{var n;let r=e.getColumn(t.id);if(!r)return;let i=r.getFilterFn();i&&l.push({id:t.id,filterFn:i,resolvedValue:null!=(n=null==i.resolveFilterValue?void 0:i.resolveFilterValue(t.value))?n:t.value})});let c=(null!=n?n:[]).map(e=>e.id),d=e.getGlobalFilterFn(),h=e.getAllLeafColumns().filter(e=>e.getCanGlobalFilter());r&&d&&h.length&&(c.push("__global__"),h.forEach(e=>{var t;u.push({id:e.id,filterFn:d,resolvedValue:null!=(t=null==d.resolveFilterValue?void 0:d.resolveFilterValue(r))?t:r})}));for(let e=0;e<t.flatRows.length;e++){let n=t.flatRows[e];if(n.columnFilters={},l.length)for(let e=0;e<l.length;e++){let t=(s=l[e]).id;n.columnFilters[t]=s.filterFn(n,t,s.resolvedValue,e=>{n.columnFiltersMeta[t]=e})}if(u.length){for(let e=0;e<u.length;e++){let t=(a=u[e]).id;if(a.filterFn(n,t,a.resolvedValue,e=>{n.columnFiltersMeta[t]=e})){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return i=t.rows,o=e=>{for(let t=0;t<c.length;t++)if(!1===e.columnFilters[c[t]])return!1;return!0},e.options.filterFromLeafRows?function(e,t,n){var r;let i=[],o={},s=null!=(r=n.options.maxLeafRowFilterDepth)?r:100,a=function(e,r){void 0===r&&(r=0);let l=[];for(let c=0;c<e.length;c++){var u;let d=e[c],h=f(n,d.id,d.original,d.index,d.depth,void 0,d.parentId);if(h.columnFilters=d.columnFilters,null!=(u=d.subRows)&&u.length&&r<s){if(h.subRows=a(d.subRows,r+1),t(d=h)&&!h.subRows.length||t(d)||h.subRows.length){l.push(d),o[d.id]=d,i.push(d);continue}}else t(d=h)&&(l.push(d),o[d.id]=d,i.push(d))}return l};return{rows:a(e),flatRows:i,rowsById:o}}(i,o,e):function(e,t,n){var r;let i=[],o={},s=null!=(r=n.options.maxLeafRowFilterDepth)?r:100,a=function(e,r){void 0===r&&(r=0);let l=[];for(let c=0;c<e.length;c++){let d=e[c];if(t(d)){var u;if(null!=(u=d.subRows)&&u.length&&r<s){let e=f(n,d.id,d.original,d.index,d.depth,void 0,d.parentId);e.subRows=a(d.subRows,r+1),d=e}l.push(d),i.push(d),o[d.id]=d}}return l};return{rows:a(e),flatRows:i,rowsById:o}}(i,o,e)},l(e.options,"debugTable","getFilteredRowModel",()=>e._autoResetPageIndex()))}function W(e){return e=>a(()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded],(t,n)=>{let r;if(!n.rows.length)return n;let{pageSize:i,pageIndex:o}=t,{rows:s,flatRows:a,rowsById:l}=n,u=i*o;s=s.slice(u,u+i),(r=e.options.paginateExpandedRows?{rows:s,flatRows:a,rowsById:l}:function(e){let t=[],n=e=>{var r;
147t.push(e),null!=(r=e.subRows)&&r.length&&e.getIsExpanded()&&e.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}({rows:s,flatRows:a,rowsById:l})).flatRows=[];let c=e=>{r.flatRows.push(e),e.subRows.length&&e.subRows.forEach(c)};return r.rows.forEach(c),r},l(e.options,"debugTable","getPaginationRowModel"))}},92284:(e,t,n)=>{"use strict";n.d(t,{RK:()=>h});var r=n(9784),i=n(71179),o=n(39860);let s={textDecoration:"underline"},a=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,l=e=>a(`block type "${e}"`,"types");function u(e){console.warn(e)}let c={display:"none"},d={types:{},block:{normal:({children:e})=>(0,r.jsx)("p",{children:e}),blockquote:({children:e})=>(0,r.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,r.jsx)("h1",{children:e}),h2:({children:e})=>(0,r.jsx)("h2",{children:e}),h3:({children:e})=>(0,r.jsx)("h3",{children:e}),h4:({children:e})=>(0,r.jsx)("h4",{children:e}),h5:({children:e})=>(0,r.jsx)("h5",{children:e}),h6:({children:e})=>(0,r.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,r.jsx)("em",{children:e}),strong:({children:e})=>(0,r.jsx)("strong",{children:e}),code:({children:e})=>(0,r.jsx)("code",{children:e}),underline:({children:e})=>(0,r.jsx)("span",{style:s,children:e}),"strike-through":({children:e})=>(0,r.jsx)("del",{children:e}),link:({children:e,value:t})=>(0,r.jsx)("a",{href:t?.href,children:e})},list:{number:({children:e})=>(0,r.jsx)("ol",{children:e}),bullet:({children:e})=>(0,r.jsx)("ul",{children:e})},listItem:({children:e})=>(0,r.jsx)("li",{children:e}),hardBreak:()=>(0,r.jsx)("br",{}),unknownType:({value:e,isInline:t})=>{let n=l(e._type);return(0,r.jsx)(t?"span":"div",{style:c,children:n})},unknownMark:({markType:e,children:t})=>(0,r.jsx)("span",{className:`unknown__pt__mark__${e}`,children:t}),unknownList:({children:e})=>(0,r.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,r.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,r.jsx)("p",{children:e})};function f(e,t,n){let r=t[n],i=e[n];return"function"==typeof r||r&&"function"==typeof i?r:r?{...i,...r}:i}function h({value:e,components:t,listNestingMode:n,onMissingComponent:s=u}){let a=s||m,l=(0,i.iS)(Array.isArray(e)?e:[e],n||i.mn),c=(0,o.useMemo)(()=>t?function(e,t){let{block:n,list:r,listItem:i,marks:o,types:s,...a}=t;return{...e,block:f(e,t,"block"),list:f(e,t,"list"),listItem:f(e,t,"listItem"),marks:f(e,t,"marks"),types:f(e,t,"types"),...a}}(d,t):d,[t]),h=(0,o.useMemo)(()=>p(c,a),[c,a]);return(0,r.jsx)(r.Fragment,{children:l.map((e,t)=>h({node:e,index:t,isInline:!1,renderNode:h}))})}let p=(e,t)=>function n(o){var s,u,c,d,f,h,p,m;let y,b,{node:v,index:w,isInline:_}=o,x=v._key||`node-${w}`;return(0,i.zp)(v)?function(i,o,s){let l=i.children.map((e,t)=>n({node:e._key?e:{...e,_key:`li-${o}-${t}`},index:t,isInline:!1,renderNode:n})),u=e.list,c=("function"==typeof u?u:u[i.listItem])||e.unknownList;if(c===e.unknownList){let e=i.listItem||"bullet";t(a(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,r.jsx)(c,{value:i,index:o,isInline:!1,renderNode:n,children:l},s)}(v,w,x):(0,i.n2)(v)?function(i,o,s){let l=g({node:i,index:o,isInline:!1,renderNode:n}),u=e.listItem,c=("function"==typeof u?u:u[i.listItem])||e.unknownListItem;if(c===e.unknownListItem){let e=i.listItem||"bullet";t(a(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let d=l.children;if(i.style&&"normal"!==i.style){let{listItem:e,...t}=i;d=n({node:t,index:o,isInline:!1,renderNode:n})}return(0,r.jsx)(c,{value:i,index:o,isInline:!1,renderNode:n,children:d},s)}(v,w,x):(0,i.tO)(v)?function(o,s,l){let{markDef:u,markType:c,markKey:d}=o,f=e.marks[c]||e.unknownMark,h=o.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return f===e.unknownMark&&t(a(`mark type "${c}"`,"marks"),{nodeType:"mark",type:c}),(0,r.jsx)(f,{text:(0,i.fg)(o),value:u,markType:c,markKey:d,renderNode:n,children:h},l)}(v,0,x):v._type in e.types?(s=v,u=w,c=x,d=_,(y=e.types[s._type])?(0,r.jsx)(y,{value:s,isInline:d,index:u,renderNode:n},c):null):(0,i.IG)(v)?function(i,o,s,l){let{_key:u,...c}
147=g({node:i,index:o,isInline:l,renderNode:n}),d=c.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[d])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&t(a(`block style "${d}"`,"block"),{nodeType:"blockStyle",type:d}),(0,r.jsx)(f,{...c,value:c.node,renderNode:n},s)}(v,w,x,_):(0,i.YA)(v)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,r.jsx)(t,{},n):"\n"}return t.text}(v,x):(f=v,h=w,p=x,m=_,t(l(f._type),{nodeType:"block",type:f._type}),b=e.unknownType,(0,r.jsx)(b,{value:f,isInline:m,index:h,renderNode:n},p))};function g(e){let{node:t,index:n,isInline:r,renderNode:o}=e,s=(0,i.Pq)(t).map((e,t)=>o({node:e,isInline:!0,index:t,renderNode:o}));return{_key:t._key||`block-${n}`,children:s,index:n,isInline:r,node:t}}function m(){}},92381:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(4168),i=n(92118);function o(e,t,n){let o=(0,i.a)(e,null==n?void 0:n.in);return isNaN(t)?(0,r.w)((null==n?void 0:n.in)||e,NaN):(t&&o.setDate(o.getDate()+t),o)}},92441:(e,t,n)=>{var r=n(18135);e.exports=function(e){return r(this.__data__,e)>-1}},92564:(e,t,n)=>{"use strict";n.d(t,{GP:()=>S});var r=n(26217),i=n(39781),o=n(68998),s=n(92118),a=n(76716),l=n(52731),u=n(62898),c=n(54964);function d(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let f={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return d("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):d(n+1,2)},d:(e,t)=>d(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>d(e.getHours()%12||12,t.length),H:(e,t)=>d(e.getHours(),t.length),m:(e,t)=>d(e.getMinutes(),t.length),s:(e,t)=>d(e.getSeconds(),t.length),S(e,t){let n=t.length;return d(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},h={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},p={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,r){let i=(0,c.h)(e,r),o=i>0?i:1-i;return"YY"===t?d(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):d(o,t.length)},R:function(e,t){return d((0,l.p)(e),t.length)},u:function(e,t){return d(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return d(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return d(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return d(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let i=(0,u.N)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):d(i,t.length)},I:function(e,t,n){let r=(0,a.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):d(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){let r=function(e,t){let n=(0,s.a)(e,void 0);return(0,o.m)(n,function(e,t){let n=(0,s.a)(e,void 0);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):d(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return d(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return d(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return d(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,i=e.getHours();switch(r=12===i?h.noon:0===i?h.midnight:i/12>
147=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,i=e.getHours();switch(r=i>=17?h.evening:i>=12?h.afternoon:i>=4?h.morning:h.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return m(r);case"XXXX":case"XX":return y(r);default:return y(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return m(r);case"xxxx":case"xx":return y(r);default:return y(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+y(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+y(r,":")}},t:function(e,t,n){return d(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return d(+e,t.length)}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+d(o,2)}function m(e,t){return e%60==0?(e>0?"-":"+")+d(Math.abs(e)/60,2):y(e,t)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+d(Math.trunc(n/60),2)+t+d(n%60,2)}var b=n(9357),v=n(74136),w=n(56753);let _=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,k=/^'([^]*?)'?$/,E=/''/g,A=/[a-zA-Z]/;function S(e,t,n){var o,a,l,u,c,d,f,h,g,m,y,S,C,I,T,O,R,D;let j=(0,i.q)(),M=null!=(m=null!=(g=null==n?void 0:n.locale)?g:j.locale)?m:r.c,N=null!=(I=null!=(C=null!=(S=null!=(y=null==n?void 0:n.firstWeekContainsDate)?y:null==n||null==(a=n.locale)||null==(o=a.options)?void 0:o.firstWeekContainsDate)?S:j.firstWeekContainsDate)?C:null==(u=j.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?I:1,F=null!=(D=null!=(R=null!=(O=null!=(T=null==n?void 0:n.weekStartsOn)?T:null==n||null==(d=n.locale)||null==(c=d.options)?void 0:c.weekStartsOn)?O:j.weekStartsOn)?R:null==(h=j.locale)||null==(f=h.options)?void 0:f.weekStartsOn)?D:0,$=(0,s.a)(e,null==n?void 0:n.in);if(!(0,w.f)($))throw RangeError("Invalid time value");let P=t.match(x).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,b.m[t])(e,M.formatLong):e}).join("").match(_).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(k);return t?t[1].replace(E,"'"):e}(e)};if(p[t])return{isToken:!0,value:e};if(t.match(A))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});M.localize.preprocessor&&(P=M.localize.preprocessor($,P));let L={firstWeekContainsDate:N,weekStartsOn:F,locale:M};return P.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,v.xM)(i)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,v.ef)(i))&&(0,v.Ss)(i,t,String(e)),(0,p[i[0]])($,i,M.localize,L)}).join("")}},92571:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(2552).A)(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]})}
147,92628:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in),i=n.getMonth();return n.setFullYear(n.getFullYear(),i+1,0),n.setHours(0,0,0,0),(0,r.a)(n,null==t?void 0:t.in)}},92638:function(e,t){(function(){(null!==t?t:this).ExifReader=function(){function e(){var e=this;this._getTagValueAt={1:function(t){return e._getByteAt(t)},2:function(t){return e._getAsciiAt(t)},3:function(t){return e._getShortAt(t)},4:function(t){return e._getLongAt(t)},5:function(t){return e._getRationalAt(t)},7:function(t){return e._getUndefinedAt(t)},9:function(t){return e._getSlongAt(t)},10:function(t){return e._getSrationalAt(t)}},this._tiffHeaderOffset=0}return e.prototype._MIN_DATA_BUFFER_LENGTH=2,e.prototype._JPEG_ID_SIZE=2,e.prototype._JPEG_ID=65496,e.prototype._APP_MARKER_SIZE=2,e.prototype._APP0_MARKER=65504,e.prototype._APP1_MARKER=65505,e.prototype._APP15_MARKER=65519,e.prototype._APP_ID_OFFSET=4,e.prototype._BYTES_Exif=0x45786966,e.prototype._TIFF_HEADER_OFFSET=10,e.prototype._BYTE_ORDER_BIG_ENDIAN=18761,e.prototype._BYTE_ORDER_LITTLE_ENDIAN=19789,e.prototype.load=function(e){return this.loadView(new DataView(e))},e.prototype.loadView=function(e){return this._dataView=e,this._tags={},this._checkImageHeader(),this._readTags()},e.prototype._checkImageHeader=function(){var e;if((e=this._dataView).byteLength<this._MIN_DATA_BUFFER_LENGTH||e.getUint16(0,!1)!==this._JPEG_ID)throw Error("Invalid image format");if(this._parseAppMarkers(e),!this._hasExifData())throw Error("No Exif data")},e.prototype._parseAppMarkers=function(e){var t,n,r;for(t=this._JPEG_ID_SIZE,r=[];!(e.byteLength<t+this._APP_ID_OFFSET+5);){if(this._isApp1ExifMarker(e,t))n=e.getUint16(t+this._APP_MARKER_SIZE,!1),this._tiffHeaderOffset=t+this._TIFF_HEADER_OFFSET;else if(this._isAppMarker(e,t))n=e.getUint16(t+this._APP_MARKER_SIZE,!1);else break;r.push(t+=this._APP_MARKER_SIZE+n)}return r},e.prototype._isApp1ExifMarker=function(e,t){return e.getUint16(t,!1)===this._APP1_MARKER&&e.getUint32(t+this._APP_ID_OFFSET,!1)===this._BYTES_Exif&&0===e.getUint8(t+this._APP_ID_OFFSET+4,!1)},e.prototype._isAppMarker=function(e,t){var n;return(n=e.getUint16(t,!1))>=this._APP0_MARKER&&n<=this._APP15_MARKER},e.prototype._hasExifData=function(){return 0!==this._tiffHeaderOffset},e.prototype._readTags=function(){return this._setByteOrder(),this._read0thIfd(),this._readExifIfd(),this._readGpsIfd(),this._readInteroperabilityIfd()},e.prototype._setByteOrder=function(){if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_BIG_ENDIAN)return this._littleEndian=!0;if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_LITTLE_ENDIAN)return this._littleEndian=!1;throw Error("Illegal byte order value. Faulty image.")},e.prototype._read0thIfd=function(){var e;return e=this._getIfdOffset(),this._readIfd("0th",e)},e.prototype._getIfdOffset=function(){return this._tiffHeaderOffset+this._getLongAt(this._tiffHeaderOffset+4)},e.prototype._readExifIfd=function(){var e;if(null!=this._tags["Exif IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["Exif IFD Pointer"].value,this._readIfd("exif",e)},e.prototype._readGpsIfd=function(){var e;if(null!=this._tags["GPS Info IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["GPS Info IFD Pointer"].value,this._readIfd("gps",e)},e.prototype._readInteroperabilityIfd=function(){var e;if(null!=this._tags["Interoperability IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["Interoperability IFD Pointer"].value,this._readIfd("interoperability",e)},e.prototype._readIfd=function(e,t){var n,r,i,o;for(n=this._getShortAt(t),t+=2,o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._readTag(e,t),this._tags[r.name]={value:r.value,description:r.description},o.push(t+=12);return o},e.prototype._readTag=function(e,t){var n,r,i,o,s,a,l;return(n=this._getShortAt(t),s=this._getShortAt(t+2),r=this._getLongAt(t+4),this._typeSizes[s]*r<=4?a=this._getTagValue(t+8,s,r):(l=this._getLongAt(t+8),a=this._getTagValue(this._tiffHeaderOffset+l,s,r)),s===this._tagTypes.ASCII&&(a=this._splitNullSeparatedAsciiString(a)),null!=this._tagNames[e][n])?(null!=this._tagNames[e][n].name&&null!=this._tagNames[e][n].description?(o=this._tagNames[e][n].name,i=this._tagNames[e][n].description(a)):(o=this._tagNames[e][n],i=a instanceof Array?a.join(", "):a),{name:o,value:a,description:i}):{name:"undefined-"+n,value:a,description:a}},e.prototype._getTagValue=function(e,t,n){var r,i;return 1===(i=(function(){var i,o;for(o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._getTagValueAt[t](e),e+=this._typeSizes[t],o.push(r);return o}
147).call(this)).length?i=i[0]:t===this._tagTypes.ASCII&&(i=this._getAsciiValue(i)),i},e.prototype._getAsciiValue=function(e){var t,n,r,i;for(n=0,i=[],r=e.length;n<r;n++)t=e[n],i.push(String.fromCharCode(t));return i},e.prototype._getByteAt=function(e){return this._dataView.getUint8(e)},e.prototype._getAsciiAt=function(e){return this._dataView.getUint8(e)},e.prototype._getShortAt=function(e){return this._dataView.getUint16(e,this._littleEndian)},e.prototype._getLongAt=function(e){return this._dataView.getUint32(e,this._littleEndian)},e.prototype._getRationalAt=function(e){return this._getLongAt(e)/this._getLongAt(e+4)},e.prototype._getUndefinedAt=function(e){return this._getByteAt(e)},e.prototype._getSlongAt=function(e){return this._dataView.getInt32(e,this._littleEndian)},e.prototype._getSrationalAt=function(e){return this._getSlongAt(e)/this._getSlongAt(e+4)},e.prototype._splitNullSeparatedAsciiString=function(e){var t,n,r,i,o;for(i=0,r=[],n=0,o=e.length;i<o;i++){if("\0"===(t=e[i])){n++;continue}null==r[n]&&(r[n]=""),r[n]+=t}return r},e.prototype._typeSizes={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8},e.prototype._tagTypes={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10},e.prototype._tagNames={"0th":{256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:function(e){switch(e){case 1:return"top-left";case 2:return"top-right";case 3:return"bottom-right";case 4:return"bottom-left";case 5:return"left-top";case 6:return"right-top";case 7:return"right-bottom";case 8:return"left-bottom";default:return"Undefined"}}},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:{name:"ResolutionUnit",description:function(e){switch(e){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",318:"WhitePoint",319:"PrimaryChromaticities",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:function(e){switch(e){case 1:return"centered";case 2:return"co-sited";default:return"undefied "+e}}},532:"ReferenceBlackWhite",33432:{name:"Copyright",description:function(e){return e.join("; ")}},34665:"Exif IFD Pointer",34853:"GPS Info IFD Pointer"},exif:{33434:"ExposureTime",33437:"FNumber",34850:{name:"ExposureProgram",description:function(e){switch(e){case 0:return"Undefined";case 1:return"Manual";case 2:return"Normal program";case 3:return"Aperture priority";case 4:return"Shutter priority";case 5:return"Creative program";case 6:return"Action program";case 7:return"Portrait mode";case 8:return"Landscape mode";default:return"Unknown"}}},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:function(e){return"[Raw OECF table data]"}},36864:{name:"ExifVersion",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);return t}},36867:"DateTimeOriginal",36868:"DateTimeDigitized",37121:{name:"ComponentsConfiguration",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)switch(e[n]){case 49:t+="Y";break;case 50:t+="Cb";break;case 51:t+="Cr";break;case 52:t+="R";break;case 53:t+="G";break;case 54:t+="B"}return t}},37122:"CompressedBitsPerPixel",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBiasValue",37381:"MaxApertureValue",37382:"SubjectDistance",37383:{name:"MeteringMode",description:function(e){switch(e){case 1:return"Average";case 2:return"CenterWeightedAverage";case 3:return"Spot";case 4:return"MultiSpot";case 5:return"Pattern";case 6:return"Partial";case 255:return"Other";default:return"Unknown"}}},37384:{name:"LightSource",description:function(e){switch(e){case 1:return"Daylight";case 2:return"Fluorescent";case 3:return"Tungsten (incandescent light)";case 4:return"Flash";case 9:return"Fine weather";case 10:return"Cloudy weather";case 11:return"Shade";case 12:return"Daylight fluorescent (D 5700 â 7100K)";case 13:return"Day white fluorescent (N 4600 â 5400K)";case 14:return"Cool white fluorescent (W 3900 â 4500K)";case 15:return"White fluorescent (WW 3200 â 3700K)";case 17:return"Standard light A";case 18:return"Standard light B";case 19:return"Standard light C";case 20:return"D55";case 21:return"D65";case 22:return"D75";case 23:return"D50";case 24:return"ISO studio tungsten";case 255:return"Other light source";default:return"Unknown"}}},37385:{name:"Flash",description:function(e){switch(e){case 0:return"Flas
147h did not fire";case 1:return"Flash fired";case 5:return"Strobe return light not detected";case 7:return"Strobe return light detected";case 9:return"Flash fired, compulsory flash mode";case 13:return"Flash fired, compulsory flash mode, return light not detected";case 15:return"Flash fired, compulsory flash mode, return light detected";case 16:return"Flash did not fire, compulsory flash mode";case 24:return"Flash did not fire, auto mode";case 25:return"Flash fired, auto mode";case 29:return"Flash fired, auto mode, return light not detected";case 31:return"Flash fired, auto mode, return light detected";case 32:return"No flash function";case 65:return"Flash fired, red-eye reduction mode";case 69:return"Flash fired, red-eye reduction mode, return light not detected";case 71:return"Flash fired, red-eye reduction mode, return light detected";case 73:return"Flash fired, compulsory flash mode, red-eye reduction mode";case 77:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected";case 79:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected";case 89:return"Flash fired, auto mode, red-eye reduction mode";case 93:return"Flash fired, auto mode, return light not detected, red-eye reduction mode";case 95:return"Flash fired, auto mode, return light detected, red-eye reduction mode";default:return"Unknown"}}},37386:"FocalLength",37396:{name:"SubjectArea",description:function(e){switch(e.length){case 2:return"Location; X: "+e[0]+", Y: "+e[1];case 3:return"Circle; X: "+e[0]+", Y: "+e[1]+", diameter: "+e[2];case 4:return"Rectangle; X: "+e[0]+", Y: "+e[1]+", width: "+e[2]+", height: "+e[3];default:return"Unknown"}}},37500:{name:"MakerNote",description:function(e){return"[Raw maker note data]"}},37510:{name:"UserComment",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",40960:{name:"FlashpixVersion",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);return t}},40961:{name:"ColorSpace",description:function(e){switch(e){case 1:return"sRGB";case 65535:return"Uncalibrated";default:return"Unknown"}}},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:function(e){return"[Raw SFR table data]"}},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:function(e){switch(e){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},41492:{name:"SubjectLocation",description:function(e){return"X: "+e[0]+", Y: "+e[1]}},41493:"ExposureIndex",41495:{name:"SensingMethod",description:function(e){switch(e){case 1:return"Undefined";case 2:return"One-chip color area sensor";case 3:return"Two-chip color area sensor";case 4:return"Three-chip color area sensor";case 5:return"Color sequential area sensor";case 7:return"Trilinear sensor";case 8:return"Color sequential linear sensor";default:return"Unknown"}}},41728:{name:"FileSource",description:function(e){return 3===e?"DSC":"Unknown"}},41729:{name:"SceneType",description:function(e){return 1===e?"A directly photographed image":"Unknown"}},41730:{name:"CFAPattern",description:function(e){return"[Raw CFA pattern table data]"}},41985:{name:"CustomRendered",description:function(e){switch(e){case 0:return"Normal process";case 1:return"Custom process";default:return"Unknown"}}},41986:{name:"ExposureMode",description:function(e){switch(e){case 0:return"Auto exposure";case 1:return"Manual exposure";case 2:return"Auto bracket";default:return"Unknown"}}},41987:{name:"WhiteBalance",description:function(e){switch(e){case 0:return"Auto white balance";case 1:return"Manual white balance";default:return"Unknown"}}},41988:{name:"DigitalZoomRatio",description:function(e){return 0===e?"Digital zoom was not used":e}},41989:{name:"FocalLengthIn35mmFilm",description:function(e){return 0===e?"Unknown":e}},41990:{name:"SceneCaptureType",description:function(e){switch(e){case 0:return"Standard";case 1:return"Landscape";case 2:return"Portrait";case 3:return"Night scene";default:return"Unknown"}}},41991:{name:"GainControl",description:function(e){switch(e){case 0:return"None";case 1:return"Low gain up";case 2:return"High gain up";case 3:return"Low gain down";case 4:return"High gain down";default:return"Unknown"}}},41992:{name:"Contrast",description:function(e){switch(e){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41993:{name:"Saturation",description:function(e){switch(e){case 0:return"Normal";case 1:return"Low saturation";case 2:return"High saturation";default:return"Unknown"}}},41994:{name:"Sharpness",description:function(e){switch(e){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41995:{name:"DeviceSettingDescription",description:function(e){return"[Raw device settings table data]"}},41996:{name:"SubjectDistanceRange",description:function(e){switch(e){case 1:return"Macro";case 2:return"Close view";case 3:return"Distant view";default:return"Unknown"}}},42016:"ImageUniqueID"},gps:{0:{name:"GPSVersionID",description:function(e){var t,n;return e[0]===(t=e[1])&&2===t&&e[2]===(n=e[3])&&0===n?"Version 2.2":"Unknown"}},1:{name:"GPSLatitudeRef",description:function(e){switch(e.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},2:{name:"GPSLatitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},3:{name:"GPSLongitudeRef",description:function(e){switch(e.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},4:{name:"GPSLongitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},5:{name:"GPSAltitudeRef",description:function(e){switch(e){case 0:return"Sea level";case 1:return"Sea level reference (negative value)";default:return"Unknown"}}},6:{name:"GPSAltitude",description:function(e){return e+" m"}},7:{name:"GPSTimeStamp",description:function(e){return e.map(function(e){return function(){var t,n,r;for(r=[],t=0,n=2-(""+Math.floor(e)).length;0<=n?t<n:t>n;0<=n?++t:--t)r.push("0");return r}()+e}).join(":")}},8:"GPSSatellites",9:{name:"GPSStatus",description:function(e){switch(e.join("")){case"A":return"Measurement in progress";case"V":return"Measurement Interoperability";default:return"Unknown"}}},10:{name:"GPSMeasureMode",description:function(e){switch(e.join("")){case"2":return"2-dimensional measurement";case"3":return"3-dimensional measurement";default:return"Unknown"}}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:function(e){switch(e.join("")){case"K":return"Kilometers per hour";case"M":return"Miles per hour";case"N":return"Knots";default:return"Unknown"}}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:function(e){switch(e.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},20:{name:"GPSDestLatitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},21:{name:"GPSDestLongitudeRef",description:function(e){switch(e.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},22:{name:"GPSDestLongitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},23:{name:"GPSDestBearingRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:function(e){switch(e.join("")){case"K":return"Kilometers";case"M":return"Miles";case"N":return"Knots";default:return"Unknown"}}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},28:{name:"GPSAreaInformation",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},29:"GPSDateStamp",30:{name:"GPSDifferential",description:function(e){switch(e){case 0:return"Measurement without differential correction";
147case 1:return"Differential correction applied";default:return"Unknown"}}}},interoperability:{1:"InteroperabilityIndex",2:"UnknownInteroperabilityTag0x0002",4097:"UnknownInteroperabilityTag0x1001",4098:"UnknownInteroperabilityTag0x1002"}},e.prototype.getTagValue=function(e){return null!=this._tags[e]?this._tags[e].value:void 0},e.prototype.getTagDescription=function(e){return null!=this._tags[e]?this._tags[e].description:void 0},e.prototype.getAllTags=function(){return this._tags},e}()}).call(this)},92729:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return e}},92940:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(17098),i=n(3175),o=n(3679),s=n(50972);let a=(0,o.A)(function(e,t){return(0,s.A)(e)?(0,r.A)(e,(0,i.A)(t,1,s.A,!0)):[]})},93051:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,K:()=>a});var r=n(96241),i=n(39860),o=n(81323),s=n(83896);let a="vision",l=(0,o.GW0)({locale:"en-US",namespace:a,resources:()=>n.e(546).then(n.bind(n,70546))}),u=(0,o.bzQ)(e=>{let{name:t,title:o,icon:a,...u}=e||{};return{name:"@sanity/vision",tools:[{name:t||"vision",title:o||"Vision",icon:a||r.N5q,component:(0,i.lazy)(()=>Promise.all([n.e(6079),n.e(9157)]).then(n.bind(n,3747))),options:u,router:s.wE.create("/*"),__internalApplicationType:"sanity/vision"}],i18n:{bundles:[l]}}})},93127:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},93261:(e,t,n)=>{"use strict";n.d(t,{A_:()=>s,IM:()=>d,R8:()=>o,T4:()=>l,_4:()=>a,_S:()=>c,ct:()=>u});let r="drafts.",i="versions.";function o(e){return e.startsWith(r)}function s(e){return e.startsWith(i)}function a(e){return!o(e)&&!s(e)}function l(e){return s(e)?r+d(e):o(e)?e:r+e}function u(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${i}${t}.${d(e)}`}function c(e){if(!s(e))return;let[t,n,...r]=e.split(".");return n}function d(e){return s(e)?e.split(".").slice(2).join("."):o(e)?e.slice(r.length):e}},93366:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}},93527:(e,t,n)=>{"use strict";n.d(t,{NA:()=>eB,Lh:()=>eV,KV:()=>eq});var r={};n.r(r),n.d(r,{boolean:()=>c,booleanish:()=>d,commaOrSpaceSeparated:()=>m,commaSeparated:()=>g,number:()=>h,overloadedBoolean:()=>f,spaceSeparated:()=>p});var i=n(9784);class o{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function s(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new o(n,r,t)}function a(e){return e.toLowerCase()}o.prototype.normal={},o.prototype.property={},o.prototype.space=void 0;class l{constructor(e,t){this.attribute=t,this.property=e}}l.prototype.attribute="",l.prototype.booleanish=!1,l.prototype.boolean=!1,l.prototype.commaOrSpaceSeparated=!1,l.prototype.commaSeparated=!1,l.prototype.defined=!1,l.prototype.mustUseProperty=!1,l.prototype.number=!1,l.prototype.overloadedBoolean=!1,l.prototype.property="",l.prototype.spaceSeparated=!1,l.prototype.space=void 0;let u=0,c=y(),d=y(),f=y(),h=y(),p=y(),g=y(),m=y();function y(){return 2**++u}let b=Object.keys(r);class v extends l{constructor(e,t,n,i){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++o<b.length;){let e=b[o];!function(e,t,n){n&&(e[t]=n)}(this,b[o],(n&r[e])===r[e])}}}function w(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new v(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[a(r)]=r,n[a(o.attribute)]=r}return new o(t,n,e.space)}v.prototype.defined=!0;let _=w({properties:{ariaActiveDescendant:null,ariaAtomic:d,ariaAutoComplete:null,ariaBusy:d,ariaChecked:d,ariaColCount:h,ariaColIndex:h,ariaColSpan:h,ariaControls:p,ariaCurrent:null,ariaDescribedBy:p,ariaDetails:null,ariaDisabled:d,ariaDropEffect:p,ariaErrorMessage:null,ariaExpanded:d,ariaFlowTo:p,ariaGrabbed:d,ariaHasPopup:null,ariaHidden:d,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:p,ariaLevel:h,ariaLive:null,ariaModal:d,ariaMultiLine:d,ariaMultiSelectable:d,ariaOrientation:null,ariaOwns:p,ariaPlaceholder:null,ariaPosInSet:h,ariaPressed:d,ariaReadOnly:d,ariaRelevant:null,ariaRequired:d,ariaRoleDescription:p,ariaRowCount:h,ariaRowIndex:h,ariaRowSpan:h,ariaSelected:d,ariaSetSize:h,ariaSort:null,ariaValueMax:h,ariaValueMin:
147h,ariaValueNow:h,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function x(e,t){return t in e?e[t]:t}function k(e,t){return x(e,t.toLowerCase())}let E=w({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g,acceptCharset:p,accessKey:p,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:p,autoFocus:c,autoPlay:c,blocking:p,capture:null,charSet:null,checked:c,cite:null,className:p,cols:h,colSpan:null,content:null,contentEditable:d,controls:c,controlsList:p,coords:h|g,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:f,draggable:d,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:p,height:h,hidden:f,high:h,href:null,hrefLang:null,htmlFor:p,httpEquiv:p,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:p,itemRef:p,itemScope:c,itemType:p,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:h,manifest:null,max:null,maxLength:h,media:null,method:null,min:null,minLength:h,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,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:c,optimum:h,pattern:null,ping:p,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:p,required:c,reversed:c,rows:h,rowSpan:h,sandbox:p,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:h,sizes:null,slot:null,span:h,spellCheck:d,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h,step:null,style:null,tabIndex:h,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:d,width:h,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:p,axis:null,background:null,bgColor:null,border:h,borderColor:null,bottomMargin:h,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:h,leftMargin:h,link:null,longDesc:null,lowSrc:null,marginHeight:h,marginWidth:h,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:h,rules:null,scheme:null,scrolling:d,standby:null,summary:null,text:null,topMargin:h,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:h,security:null,unselectable:null},space:"html",transform:k}),A=w({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
147dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-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:m,accentHeight:h,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h,amplitude:h,arabicForm:null,ascent:h,attributeName:null,attributeType:null,azimuth:h,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h,by:null,calcMode:null,capHeight:h,className:p,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
147dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h,diffuseConstant:h,direction:null,display:null,dur:null,divisor:h,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:h,enableBackground:null,end:null,event:null,exponent:h,externalResourcesRequired:null,fill:null,fillOpacity:h,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:g,g2:g,glyphName:g,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h,horizOriginX:h,horizOriginY:h,id:null,ideographic:h,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h,k:h,k1:h,k2:h,k3:h,k4:h,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h,overlineThickness:h,paintOrder:null,panose1:null,path:null,pathLength:h,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:p,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h,pointsAtY:h,pointsAtZ:h,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h,specularExponent:h,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h,strikethroughThickness:h,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h,strokeOpacity:h,strokeWidth:null,style:null,surfaceScale:h,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:h,tableValues:null,target:null,targetX:h,targetY:h,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:h,underlineThickness:h,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h,values:null,vAlphabetic:h,vMathematical:h,vectorEffect:null,vHanging:h,vIdeographic:h,version:null,vertAdvY:h,vertOriginX:h,vertOriginY:h,viewB
147ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x}),S=w({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),C=w({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:k}),I=w({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),T=s([_,E,S,C,I],"html"),O=s([_,A,S,C,I],"svg");function R(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);let e=n.slice(i,r).trim();(e||!o)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}let D=/[#.]/g,j=/[A-Z]/g,M=/-[a-z]/g,N=/^data[-\w.:]+$/i;function F(e){return"-"+e.toLowerCase()}function $(e){return e.charAt(1).toUpperCase()}function P(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function L(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i,...o){let s;if(null==n)s={type:"root",children:[]},o.unshift(i);else{let u=(s=function(e,t){let n,r,i=e||"",o={},s=0;for(;s<i.length;){D.lastIndex=s;let e=D.exec(i),t=i.slice(s,e?e.index:i.length);t&&(n?"#"===n?o.id=t:Array.isArray(o.className)?o.className.push(t):o.className=[t]:r=t,s+=t.length),e&&(n=e[0],s++)}return{type:"element",tagName:r||t||"div",properties:o,children:[]}}(n,t)).tagName.toLowerCase(),c=r?r.get(u):void 0;if(s.tagName=c||u,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))o.unshift(i);else for(let[t,n]of Object.entries(i))!function(e,t,n,r){let i,o=function(e,t){let n=a(t),r=t,i=l;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&N.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(M,$);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!M.test(e)){let n=e.replace(j,F);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=v}return new i(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?P(r):o.commaSeparated?R(r):o.commaOrSpaceSeparated?P(R(r).join(" ")):z(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){let e=[];for(let t of i)e.push(z(o,o.property,t));i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}(e,s.properties,t,n)}for(let e of o)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(s.children,e);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function z(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||a(n)===a(t)))return!0}return n}let U=L(T,"div");L(O,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);let B=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
147h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],q={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};function V(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function H(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function G(e){return function(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||V(e)}let W=document.createElement("i");function Y(e){let t="&"+e+";";W.innerHTML=t;let n=W.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let K=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];var Z=0,X={},J={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Z}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},J.util.type(t)){case"Object":if(n[i=J.util.objId(t)])return n[i];for(var o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":if(n[i=J.util.objId(t)])return n[i];return r=[],n[i]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r;default:return t}}},languages:{plain:X,plaintext:X,text:X,txt:X,extend:function(e,t){var n=J.util.clone(J.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||J.languages)[e],o={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var a in n)n.hasOwnProperty(a)&&(o[a]=n[a]);n.hasOwnProperty(s)||(o[s]=i[s])}var l=r[e];return r[e]=o,J.languages.DFS(J.languages,function(t,n){n===l&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,r,i){i=i||{};var o=J.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var a=t[s],l=J.util.type(a);"Object"!==l||i[o(a)]?"Array"!==l||i[o(a)]||(i[o(a)]=!0,e(a,n,s,i)):(i[o(a)]=!0,e(a,n,null,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(J.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=J.tokenize(r.code,r.grammar),J.hooks.run("after-tokenize",r),Q.stringify(J.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new et;return en(i,i.head,e),function e(t,n,r,i,o,s){for(var a in r)if(r.hasOwnProperty(a)&&r[a]){var l=r[a];l=Array.isArray(l)?l:[l];for(var u=0;u<l.length;++u){if(s&&s.cause==a+","+u)return;var c=l[u],d=c.inside,f=!!c.lookbehind,h=!!c.greedy,p=c.alias;if(h&&!c.pattern.global){var g=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,g+"g")}for(var m=c.pattern||c,y=i.next,b=o;y!==n.tail&&(!s||!(b>=s.reach));b+=y.value.length,y=y.next){var v,w=y.value;if(n.length>t.length)return;if(!(w instanceof Q)){var _=1;if(h){if(!(v=ee(m,b,t,f))||v.index>=t.length)break;var x=v.index,k=v.index+v[0].length,E=b;for(E+=y.value.length;x>=E;)E+=(y=y.next).value.length;if(E-=y.value.length,b=E,y.value instanceof Q)continue;for(var A=y;A!==n.tail&&(E<k||"string"==typeof A.value);A=A.next)_++,E+=A.value.length;_--,w=t.slice(b,E),v.index-=b}else if(!(v=ee(m,0,w,f)))continue;var x=v.index,S=v[0],C=w.slice(0,x),I=w.slice(x+S.length),T=b+w.length;s&&T>s.reach&&(s.reach=T);var O=y.prev;if(C&&(O=en(n,O,C),b+=C.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,O,_),y=en(n,O,new Q(a,d?J.tokenize(S,d):S,p,S)),I&&en(n,y,I),_>1){var R={cause:a+","+u,reach:T};e(t,n,r,y.prev,b,R),s&&R.reach>s.reach&&(s.reach=R.reach)}}}}}}(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=J.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=J.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:Q};function Q(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function ee(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function et(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}
147function en(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function er(){}er.prototype=J;let ei=new er;ei.highlight=function(e,t){let n,r;if("string"!=typeof e)throw TypeError("Expected `string` for `value`, got `"+e+"`");if(t&&"object"==typeof t)n=t;else{if("string"!=typeof(r=t))throw TypeError("Expected `string` for `name`, got `"+r+"`");if(Object.hasOwn(ei.languages,r))n=ei.languages[r];else throw Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:J.highlight.call(ei,e,n,r)}},ei.register=function(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `syntax`, got `"+e+"`");Object.hasOwn(ei.languages,e.displayName)||e(ei)},ei.alias=function(e,t){let n,r=ei.languages,i={};for(n in"string"==typeof e?t&&(i[e]=t):i=e,i)if(Object.hasOwn(i,n)){let e=i[n],t="string"==typeof e?[e]:e,o=-1;for(;++o<t.length;)r[t[o]]=r[n]}},ei.registered=function(e){if("string"!=typeof e)throw TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return Object.hasOwn(ei.languages,e)},ei.listLanguages=function(){let e,t=ei.languages,n=[];for(e in t)Object.hasOwn(t,e)&&"object"==typeof t[e]&&n.push(e);return n},ei.util.encode=function(e){return e},ei.Token.stringify=function e(t,n){if("string"==typeof t)return{type:"text",value:t};if(Array.isArray(t)){let r=[],i=-1;for(;++i<t.length;)null!==t[i]&&void 0!==t[i]&&""!==t[i]&&r.push(e(t[i],n));return r}let r={attributes:{},classes:["token",t.type],content:e(t.content,n),language:n,tag:"span",type:t.type};return t.alias&&r.classes.push(..."string"==typeof t.alias?[t.alias]:t.alias),ei.hooks.run("wrap",r),U(r.tag+"."+r.classes.join("."),function(e){let t;for(t in e)Object.hasOwn(e,t)&&(e[t]=function(e,t){let n,r,i,o={},s="string"==typeof o.additional?o.additional.charCodeAt(0):o.additional,a=[],l=0,u=-1,c="";o.position&&("start"in o.position||"indent"in o.position?(r=o.position.indent,n=o.position.start):n=o.position);let d=(n?n.line:0)||1,f=(n?n.column:0)||1,h=m();for(l--;++l<=e.length;)if(10===i&&(f=(r?r[u]:0)||1),38===(i=e.charCodeAt(l))){let t,n=e.charCodeAt(l+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||s&&n===s){c+=String.fromCharCode(i),f++;continue}let r=l+1,u=r,d=r;if(35===n){d=++u;let n=e.charCodeAt(d);88===n||120===n?(t="hexadecimal",d=++u):t="decimal"}else t="named";let v="",w="",_="",x="named"===t?G:"decimal"===t?V:H;for(d--;++d<=e.length;){let n=e.charCodeAt(d);if(!x(n))break;_+=String.fromCharCode(n),"named"===t&&B.includes(_)&&(v=_,w=Y(_))}let k=59===e.charCodeAt(d);if(k){d++;let e="named"===t&&Y(_);e&&(v=_,w=e)}let E=1+d-r,A="";if(k||!1!==o.nonTerminated)if(_)if("named"===t){if(k&&!w)y(5,1);else if(v!==_&&(E=1+(d=u+v.length)-u,k=!1),!k){let t=v?1:3;if(o.attribute){let n=e.charCodeAt(d);61===n?(y(t,E),w=""):G(n)?w="":y(t,E)}else y(t,E)}A=w}else{var p,g;k||y(2,E);let e=Number.parseInt(_,"hexadecimal"===t?16:10);if((p=e)>=55296&&p<=57343||p>1114111)y(7,E),A=String.fromCharCode(65533);else if(e in q)y(6,E),A=q[e];else{let t="";((g=e)>=1&&g<=8||11===g||g>=13&&g<=31||g>=127&&g<=159||g>=64976&&g<=65007||(65535&g)==65535||(65535&g)==65534)&&y(6,E),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),A=t+String.fromCharCode(e)}}else"named"!==t&&y(4,E);if(A){b(),h=m(),l=d-1,f+=d-r+1,a.push(A);let t=m();t.offset++,o.reference&&o.reference.call(o.referenceContext||void 0,A,{start:h,end:t},e.slice(r-1,d)),h=t}else _=e.slice(r-1,d),c+=_,f+=_.length,l=d-1}else 10===i&&(d++,u++,f=0),Number.isNaN(i)?b():(c+=String.fromCharCode(i),f++);return a.join("");function m(){return{line:d,column:f,offset:l+((n?n.offset:0)||0)}}function y(e,t){let n;o.warning&&(n=m(),n.column+=t,n.offset+=t,o.warning.call(o.warningContext||void 0,K[e],n,e))}function b(){c&&(a.push(c),o.text&&o.text.call(o.textContext||void 0,c,{start:h,end:m()}),c="")}}(e[t]));return e}(r.attributes),r.content)};let eo=function(e){var t,n;if(null==e)return ea;if("function"==typeof e)return es(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=eo(e[n]);return es(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,es(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,es(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function es(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function ea(){return!0}let el={}.hasOwnProperty,eu=[];function ec(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let o=eo(i),s=r?-1:1;(function e(i,a,l){let u=i&&"object"==typeof i?i:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;
147let c,d,f,h=eu;if((!t||o(i,a,l[l.length-1]||void 0))&&!1===(h=Array.isArray(u=n(i,l))?u:"number"==typeof u?[!0,u]:null==u?eu:[u])[0])return h;if("children"in i&&i.children&&i.children&&"skip"!==h[0])for(d=(r?i.children.length:-1)+s,f=l.concat(i);d>-1&&d<i.children.length;){if(!1===(c=e(i.children[d],d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+s}return h}})(e,void 0,[])()}var ed=n(39860),ef=Object.defineProperty,eh=Object.defineProperties,ep=Object.getOwnPropertyDescriptors,eg=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,ey=Object.prototype.propertyIsEnumerable,eb=(e,t,n)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ev=(e,t)=>{for(var n in t||(t={}))em.call(t,n)&&eb(e,n,t[n]);if(eg)for(var n of eg(t))ey.call(t,n)&&eb(e,n,t[n]);return e},ew=(e,t)=>eh(e,ep(t));function e_(e){return"element"===e.type||"text"===e.type}function ex(e,t=1){return e.data&&"number"==typeof e.data.lineStart?e.data.lineStart:t}function ek(e,t=1){return e.data&&"number"==typeof e.data.lineEnd?e.data.lineEnd:t}function eE(e,t,n){return e.data||(e.data={}),e.data.lineStart=t,e.data.lineEnd=n,e}var eA=Object.defineProperty,eS=Object.defineProperties,eC=Object.getOwnPropertyDescriptors,eI=Object.getOwnPropertySymbols,eT=Object.prototype.hasOwnProperty,eO=Object.prototype.propertyIsEnumerable,eR=(e,t,n)=>t in e?eA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eD=(e,t)=>{for(var n in t||(t={}))eT.call(t,n)&&eR(e,n,t[n]);if(eI)for(var n of eI(t))eO.call(t,n)&&eR(e,n,t[n]);return e},ej=Object.defineProperty,eM=Object.defineProperties,eN=Object.getOwnPropertyDescriptors,eF=Object.getOwnPropertySymbols,e$=Object.prototype.hasOwnProperty,eP=Object.prototype.propertyIsEnumerable,eL=(e,t,n)=>t in e?ej(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ez=(e,t)=>{for(var n in t||(t={}))e$.call(t,n)&&eL(e,n,t[n]);if(eF)for(var n of eF(t))eP.call(t,n)&&eL(e,n,t[n]);return e},eU=(e,t)=>eM(e,eN(t));function eB(e){let t=e.className||"refractor",n=`language-${e.language}`,r={className:n},o=[t,n].filter(Boolean).join(" ");if(e.inline&&(r.style={display:"inline"},r.className=t),e.plainText){let t=(0,i.jsx)("code",eU(ez({},r),{children:e.value}));return e.inline?t:(0,i.jsx)("pre",{className:o,children:t})}let s=ei.highlight(e.value,e.language);e.markers&&e.markers.length>0&&(s=function(e,t){let n=t.markers.map(e=>"number"==typeof e?{line:e}:e).sort((e,t)=>e.line-t.line),r=function e(t,n={lineNumber:1}){return t.reduce((t,r)=>{if("doctype"===r.type)return t;let i=n.lineNumber;if("text"===r.type){if(-1===r.value.indexOf(` 148`))return eE(r,i,i),t.nodes.push(r),t;let e=r.value.split(` 149`);for(let r=0;r<e.length;r++){let i=0===r?n.lineNumber:++n.lineNumber,o=eE({type:"text",value:r===e.length-1?e[r]:`${e[r]} 150`},i,i);t.nodes.push(o)}return t.lineNumber=n.lineNumber,t}if("element"===r.type&&r.children){let o=e(r.children,n),s=o.nodes.find(e_),a=o.nodes.findLast(e_);return eE(r,s?ex(s,i):i,a?ek(a,i):i),r.children=o.nodes,t.lineNumber=o.lineNumber,t.nodes.push(r),t}return t.nodes.push(r),t},{nodes:[],lineNumber:n.lineNumber})}(e.children).nodes;return 0===n.length||0===r.length?ew(ev({},e),{children:r}):function(e,t,n){let r=t.reduce((e,t)=>(function(e,t){let n={type:"root",children:t},r=new WeakMap,i=new WeakMap,o=new WeakMap,s=[];function a(e,t,r){s.push(t),r.forEach(t=>{e.has(t)||(e.set(t,Object.assign({},t,{children:[]})),t!==n&&s.push(t))});let i=r.length;for(;i--;){let n=e.get(r[i]);if(!n||!("children"in n))continue;let o=r[i+1],s=e.get(o)||t;-1===n.children.indexOf(s)&&n.children.push(s)}}ec(n,(t,n)=>{if(!("children"in t||!e_(t))){if(ex(t)<e)return void a(r,t,n);if(ex(t)===e)return void a(i,t,n);ek(t)>e&&s.some(e=>n.includes(e))&&a(o,t,n)}});let l=function(e,t,n){let r=eo(t),i=t&&"object"==typeof t&&"cascade"in t?t.cascade:void 0,o=null==i||i;return function e(t,n,i){var s;let a,l=[];
150if(!r(t,n,i))return;if("children"in(s=t)&&void 0!==s.children){let n=-1;for(;++n<t.children.length;){let r=e(t.children[n],n,t);r&&l.push(r)}if(o&&t.children.length>0&&0===l.length)return}let u={};for(a in t)el.call(t,a)&&(u[a]="children"===a?l:t[a]);return u}(e)}(n,e=>-1===s.indexOf(e)),u=e=>{let t=e.get(n);return t?(ec(t,(e,t)=>{if(e_(e)&&"children"in e)return void eE(e,0,0);t.forEach(t=>{eE(t,Math.max(ex(t),ex(e)),Math.max(ek(t),ek(e)))})}),t.children):[]};return[...u(r),...u(i),...u(o),...l?l.children:[]]})(t.line,e),e),i=[],o=0;for(let e=0;e<t.length;e++){let s=t[e];for(let e=r[o];e&&ek(e)<s.line;e=r[++o])i.push(e);let a=[];for(let e=r[o];e&&ek(e)===s.line;e=r[++o])"doctype"!==e.type&&a.push(e);a.length>0&&i.push(function(e,t,n){let r=t.className||"refractor-marker",i={lineStart:t.line,lineEnd:ek(e[e.length-1]),isMarker:!0};return{type:"element",tagName:"div",data:t.component?ew(ev({},i),{component:t.component,markerProperties:n}):i,properties:{className:r},children:e}}(a,s,n))}for(;o<r.length;)i.push(r[o++]);return{type:"root",children:i}}(r,n,t)}(s,{markers:e.markers}));let a=0===s.children.length?e.value:s.children.map(function e(t){return function(n,r){return function(t,n,r){var i;if("doctype"===t.type)return null;if(!("tagName"in t))return t.value;let o="";"u">typeof t.properties&&(o=Array.isArray(t.properties.className)?t.properties.className.join(" "):`${t.properties.className}`);let s=`fract-${r}-${n}`,a=t.children&&t.children.map(e(r+1));return"object"==typeof(i=t.data)&&null!==i&&"component"in i&&"markerProperties"in i?(0,ed.createElement)(t.data.component,eS(eD(eD({key:s},t.properties),t.data.markerProperties),eC({className:o})),a):(0,ed.createElement)(t.tagName,{key:s,className:o},a)}(n,r,t)}}(0)),l=(0,i.jsx)("code",eU(ez({},r),{children:a}));return e.inline?l:(0,i.jsx)("pre",{className:o,children:l})}let eq=e=>ei.register(e),eV=e=>ei.registered(e)},93569:(e,t,n)=>{"use strict";let r=n(26301),i=n(40649),o=n(18252),s=n(67199),a=n(81947),l=n(68226);e.exports=(e,t,n,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,u);case"!=":return i(e,n,u);case">":return o(e,n,u);case">=":return s(e,n,u);case"<":return a(e,n,u);case"<=":return l(e,n,u);default:throw TypeError(`Invalid operator: ${t}`)}}},93629:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>e2});var r,i,o=n(67810),s=n(88945),a=n(39860),l="data-focus-lock",u="data-focus-lock-disabled";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var d="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,f=new WeakMap,h={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},p=n(71450);function g(e){return e}function m(e,t){void 0===t&&(t=g);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}}}function y(e,t){return void 0===t&&(t=g),m(e,t)}var b=y({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),v=y(),w=y(),_=function(e){void 0===e&&(e={});var t=m(null);return t.options=(0,p.Cl)({async:!0,ssr:!1},e),t}({async:!0,ssr:"undefined"!=typeof document}),x=(0,a.createContext)(void 0),k=[],E=(0,a.forwardRef)(function(e,t){var n,r,i,o,p,g=(0,a.useState)(),m=g[0],y=g[1],w=(0,a.useRef)(),E=(0,a.useRef)(!1),A=(0,a.useRef)(null),S=(0,a.useState)({})[1],C=e.children,I=e.disabled,T=void 0!==I&&I,O=e.noFocusGuards,R=void 0!==O&&O,D=e.persistentFocus,j=e.crossFrame,M=e.autoFocus,N=(e.allowTextSelection,e.group),F=e.className,$=e.whiteList,P=e.hasPositiveIndices,L=e.shards,z=void 0===L?k:L,U=e.as,B=e.lockProps,q=e.sideCar,V=e.returnFocus,H=void 0!==V&&V,G=e.focusOptions,W=e.onActivation,Y=e.onDeactivation,K=(0,a.useState)({})[0],Z=(0,a.useCallback)(function(e){var t=e.captureFocusRestore;if(!A.current){var n,r=null==(n=document)?void 0:n.activeElement;A.current=r,r!==document.body&&(A.current=t(r))}w.current&&W&&W(w.current),E.current=!0,S()},[W]),X=(0,a.useCallback)(function(){E.current=!1,Y&&Y(w.current),S()},[Y]),J=(0,a.useCallback)(function(e){var t=A.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof H?H(n):H;if(r){var i="object"==typeof r?r:void 0;A.current=null,e?Promise.resolve().then(function(){return n.focus(i)}):n.focus(i)}}},[H]),Q=(0,a.useCallback)(function(e){E.current&&b.useMedium(e)},[]),ee=v.useMedium,et=(0,a.useCallback)(function(e){w.current!==e&&(w.current=e,y(e))},[]),en=(0,s.A)(((p={})[u]=T&&"disabled",p[l]=N,p),void 0===B?{}:B),er=!0!==R,ei=er&&"tail"!==R,eo=(n=[t,et],r=function(e){return n.forEac
150h(function(t){return c(t,e)})},(i=(0,a.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,d(function(){var e=f.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,i)})}f.set(o,n)},[n]),o),es=(0,a.useMemo)(function(){return{observed:w,shards:z,enabled:!T,get active(){return E.current}}},[T,E,z,w]);return a.createElement(a.Fragment,null,er&&[a.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:T?-1:0,style:h}),P?a.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:T?-1:1,style:h}):null],!T&&a.createElement(q,{id:K,sideCar:_,observed:m,disabled:T,persistentFocus:void 0!==D&&D,crossFrame:void 0===j||j,autoFocus:void 0===M||M,whiteList:$,shards:z,onActivation:Z,onDeactivation:X,returnFocus:J,focusOptions:G,noFocusGuards:R}),a.createElement(void 0===U?"div":U,(0,s.A)({ref:eo},en,{className:F,onBlur:ee,onFocus:Q}),a.createElement(x.Provider,{value:es},C)),ei&&a.createElement("div",{"data-focus-guard":!0,tabIndex:T?-1:0,style:h}))});function A(e,t){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}E.propTypes={};var C=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},I=function(e){return Array.isArray(e)?e:[e]},T=function(e){return Array.isArray(e)?e[0]:e},O=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},R=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},D=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},j=function(e,t){var n,r,i=e.get(t);if(void 0!==i)return i;var o=(n=t,r=j.bind(void 0,e),!n||D(n)||!O(n)&&!n.hasAttribute("inert")&&r(R(n)));return e.set(t,o),o},M=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var i=(n=M.bind(void 0,e),!t||!!D(t)||!!P(t)&&n(R(t)));return e.set(t,i),i},N=function(e){return e.dataset},F=function(e){return"INPUT"===e.tagName},$=function(e){return F(e)&&"radio"===e.type},P=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},L=function(e){var t;return!!(e&&(null==(t=N(e))?void 0:t.focusGuard))},z=function(e){return!L(e)},U=function(e){return!!e},B=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),i=n-r,o=e.index-t.index;if(i){if(!n)return 1;if(!r)return -1}return i||o},q=function(e,t,n){return C(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(B)},V="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",H="".concat(V,", [data-focus-guard]"),G=function(e,t){return C((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?H:V)?[n]:[],G(n))},[])},W=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?Y([e.contentDocument.body],t):[e]},Y=function(e,t){return e.reduce(function(e,n){var r,i=G(n,t),o=(r=[]).concat.apply(r,i.map(function(e){return W(e,t)}));return e.concat(o,n.parentNode?C(n.parentNode.querySelectorAll(V)).filter(function(e){return e===n}):[])},[])},K=function(e,t){return C(e).filter(function(e){return j(t,e)}).filter(function(e){var t;return!((F(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},Z=function(e,t){return void 0===t&&(t=new Map),C(e).filter(function(e){return M(t,e)})},X=function(e,t,n){return q(K(Y(e,n),t),!0,n)},J=function(e,t){return q(K(Y(e),t),!1)},Q=function(e,t){return e.shadowRoot?Q(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||C(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&Q(r,t)}return Q(e,t)})},ee=function(e){try{return e()}catch(e){return}},et=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?et(t.shadowRoot):t instanceof HTMLIFrameElement&&ee(function(){return t.contentWindow.document})?et(t.contentWindow.document):t}},en=function(e){void 0===e&&(e=document);var t=et(e);return!!t&&C(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return Q(e,t)})},er=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var o=e[r].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},ei=function(e){return e.parentNode?ei(e.parentNode):e}
150,eo=function(e){return I(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(l);return e.push.apply(e,n?er(C(ei(t).querySelectorAll("[".concat(l,'="').concat(n,'"]:not([').concat(u,'="disabled"])')))):[t]),e},[])},es=function(e,t){return void 0===t&&(t=et(T(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&eo(e).some(function(e){var n;return Q(e,t)||(n=t,!!C(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},ea=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},el=function(e,t){if($(e)&&e.name)return t.filter($).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},eu=function(e){var t=new Set;return e.forEach(function(n){return t.add(el(n,e))}),e.filter(function(e){return t.has(e)})},ec=function(e){return e[0]&&e.length>1?el(e[0],e):e[0]},ed=function(e,t){return e.indexOf(el(t,e))},ef="NEW_FOCUS",eh=function(e,t,n,r,i){var o=e.length,s=e[0],a=e[o-1],l=L(r);if(!(r&&e.indexOf(r)>=0)){var u=void 0!==r?n.indexOf(r):-1,c=i?n.indexOf(i):u,d=i?e.indexOf(i):-1;if(-1===u)return -1!==d?d:ef;if(-1===d)return ef;var f=u-c,h=n.indexOf(s),p=n.indexOf(a),g=eu(n),m=void 0!==r?g.indexOf(r):-1,y=i?g.indexOf(i):m,b=g.filter(function(e){return e.tabIndex>=0}),v=void 0!==r?b.indexOf(r):-1,w=i?b.indexOf(i):v;if(!f&&d>=0||0===t.length)return d;var _=ed(e,t[0]),x=ed(e,t[t.length-1]);if(u<=h&&l&&Math.abs(f)>1)return x;if(u>=p&&l&&Math.abs(f)>1)return _;if(f&&Math.abs(v>=0&&w>=0?w-v:y-m)>1)return d;if(u<=h)return x;if(u>p)return _;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},ep=function(e,t,n){var r=Z(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=N(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?ec(r):ec(Z(t))},eg=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&eg(e.parentNode.host||e.parentNode,t),t},em=function(e,t){for(var n=eg(e),r=eg(t),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o}return!1},ey=function(e,t,n){var r=I(e),i=I(t),o=r[0],s=!1;return i.filter(Boolean).forEach(function(e){s=em(s||e,e)||s,n.filter(Boolean).forEach(function(e){var t=em(o,e);t&&(s=!s||Q(t,s)?t:em(t,s))})}),s},eb=function(e,t){return e.reduce(function(e,n){var r,i;return e.concat((r=n,i=t,K(C(r.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return Y([e])}).reduce(function(e,t){return e.concat(t)},[]),i)))},[])},ev=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(U)},ew=function(e,t){var n=et(I(e).length>0?document:T(e).ownerDocument),r=eo(e).filter(z),i=ey(n||e,e,r),o=new Map,s=J(r,o),a=s.filter(function(e){return z(e.node)});if(a[0]){var l=J([i],o).map(function(e){return e.node}),u=ev(l,a),c=u.map(function(e){return e.node}),d=u.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=eh(c,d,l,n,t);if(f===ef){var h=ep(s,d,eb(r,o))||ep(s,c,eb(r,o));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:u[f]}},e_=0,ex=!1,ek=function(e,t,n){void 0===n&&(n={});var r=ew(e,t);if(!ex&&r){if(e_>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ex=!0,setTimeout(function(){ex=!1},1);return}e_++,ea(r.node,n.focusOptions),e_--}};function eE(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var eA=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:eE(n),parent:eE(n.parentElement),left:eE(n.previousElementSibling),right:eE(n.nextElementSibling)}),n=n.parentElement;return{element:eE(e),stack:t,ownerDocument:e.ownerDocument}},eS=function(e){if(e)for(var t,n,r,i,o,s=e.stack,a=e.ownerDocument,l=new Map,u=0;u<s.length;u++){var c=s[u],d=null==(t=c.parent)?void 0:t.call(c);if(d&&a.contains(d)){for(var f=null==(n=c.left)?void 0:n.call(c),h=c.current(),p=d.contains(h)?h:void 0,g=null==(r=c.right)?void 0:r.call(c),m=X([d],l),y=null!=(o=null!=(i=null!=p?p:null==f?void 0:f.nextElementSibling)?i:g)?o:f;y;){for(var b=0;b<m.length;b++){var v=m[b];if(null==y?void 0:y.contains(v.node))return v.node}y=y.nextElementSibling}if(m.length)return m[0].node}}},eC=function(e){var t=eA(e);return function(){return eS(t)}},eI=function(e){var t=eo(e).filter(z),n=q(Y([ey(e,e,t)],!0),!0,!0),r=Y(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:L(t)}})},eT=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=I(t);if(r.every(function(t){return!Q(t,e)}))return console.error("Active element is not contained in the scope"),{};var i=n?X(r,new Map):J(r,new Map),o=i.findIndex(function(t){return t.node===e});if(-1!==o)return{prev:i[o-1],next:i[o+1],first:i[0],last:i[i.length-1]}},eO=function(e,t){var n=t?X(I(e),new Map):J(I(e),new Map);return{first:n[0],last:n[n.length-1]}},eR=function(e,t,n){void 0===t&&(t={});var r,i=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),o=eT(e,i.scope,i.onlyTabbable);if(o){var s=n(o,i.cycle);s&&ea(s.node,i.focusOptions)}},eD=function(e,t,n){var r,i=eO(e,null==(r=t.onlyTabbable)||r)[n];i&&ea(i.node,t.focusOptions)};function ej(e){setTimeout(e,1)}var eM=function(e){return e&&"current"in e?e.current:e},eN=function(){return document&&document.activeElement===document.body},eF=null,e$=null,eP=function(){return null},eL=null,ez=!1,eU=!1,eB=function(e,t){eL={observerNode:e,portaledElement:t}};function eq(e,t,n,r){var i=null,o=e;do{var s=r[o];if(s.guard)s.node.dataset.focusAutoGuard&&(i=s);else if(s.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var eV=function(e){return J(e,new Map)},eH=function(){var e=!1;
150if(eF){var t=eF,n=t.observed,r=t.persistentFocus,i=t.autoFocus,o=t.shards,s=t.crossFrame,a=t.focusOptions,l=t.noFocusGuards,u=n||eL&&eL.portaledElement;if(eN()&&e$&&e$!==document.body&&(!document.body.contains(e$)||!eV([(f=e$).parentNode]).some(function(e){return e.node===f}))){var c=eP();c&&c.focus()}var d=document&&document.activeElement;if(u){var f,h=[u].concat(o.map(eM).filter(Boolean));if((!d||(eF.whiteList||function(){return!0})(d))&&(r||function(){if(!(s?!!ez:"meanwhile"===ez)||!l||!e$||eU)return!1;var e=eV(h),t=e.findIndex(function(e){return e.node===e$});return 0===t||t===e.length-1}()||!(eN()||en())||!e$&&i)&&(u&&!(es(h)||d&&h.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(d,e,e)})||eL&&eL.portaledElement===d)&&(document&&!e$&&d&&!i?(d.blur&&d.blur(),document.body.focus()):(e=ek(h,e$,{focusOptions:a}),eL={})),(e$=document&&document.activeElement)!==document.body&&(eP=eC(e$)),ez=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var p=document&&document.activeElement,g=eI(h),m=g.map(function(e){return e.node}).indexOf(p);m>-1&&(g.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eq(m,g.length,1,g),eq(m,-1,-1,g))}}}return e},eG=function(e){eH()&&e&&(e.stopPropagation(),e.preventDefault())},eW=function(){return ej(eH)},eY=function(){eU=!0},eK=function(){eU=!1,ez="just",ej(function(){ez="meanwhile"})},eZ=function(){document.addEventListener("focusin",eG),document.addEventListener("focusout",eW),window.addEventListener("focus",eY),window.addEventListener("blur",eK)},eX=function(){document.removeEventListener("focusin",eG),document.removeEventListener("focusout",eW),window.removeEventListener("focus",eY),window.removeEventListener("blur",eK)},eJ={moveFocusInside:ek,focusInside:es,focusNextElement:function(e,t){void 0===t&&(t={}),eR(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),eR(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),eD(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),eD(e,t,"last")},captureFocusRestore:eC};b.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||eB(n,t)}),v.assignMedium(eW),w.assignMedium(function(e){return e(eJ)});let eQ=(r=function(e){return e.filter(function(e){return!e.disabled})},i=function(e){var t=e.slice(-1)[0];t&&!eF&&eZ();var n=eF,r=n&&t&&t.id===n.id;eF=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(e$=null,r&&n.observed===t.observed||t.onActivation(eJ),eH(!0),ej(eH)):(eX(),e$=null)},function(e){var t,n,o,s,l,u=[];function c(){i(l=r(u.map(function(e){return e.props})))}var d=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,A(n,t),n.peek=function(){return l};var r=n.prototype;return r.componentDidMount=function(){u.push(this),c()},r.componentDidUpdate=function(){c()},r.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),c()},r.render=function(){return a.createElement(e,this.props)},n}(a.PureComponent);return t=d,n="displayName",o="SideEffect("+(e.displayName||e.name||"Component")+")",(s=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=S(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==S(s)?s:s+"")in t)?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,d})(function(){return null});var e0=(0,a.forwardRef)(function(e,t){return a.createElement(E,(0,s.A)({sideCar:eQ,ref:t},e))}),e1=E.propTypes||{};e1.sideCar,(0,o.A)(e1,["sideCar"]),e0.propTypes={};let e2=e0},93827:(e,t,n)=>{"use strict";n.d(t,{FN:()=>i,dU:()=>r}),n(27587);let r=e=>{let{transform:t}=e;return{...t,y:0}},i=e=>{let{transform:t}=e;return{...t,x:0}}},94181:(e,t,n)=>{"use strict";n.d(t,{T2:()=>a,XW:()=>o,xg:()=>s});var r,i=n(56819);function o(e){return new a(t=>{t(e)})}function s(e){return new a((t,n)=>{n(e)})}
150!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(e){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new a((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new a((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i)return void n(r);t(r)})})}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===r.PENDING){if((0,i.Qg)(t))return void t.then(this._resolve,this._reject);this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)})}}}},94485:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(44099),i=n(62308),o=(0,r.A)(i.A,"DataView"),s=n(69790),a=(0,r.A)(i.A,"Promise"),l=n(49848),u=n(72766),c=n(35582),d=n(88216),f="[object Map]",h="[object Promise]",p="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,d.A)(o),b=(0,d.A)(s.A),v=(0,d.A)(a),w=(0,d.A)(l.A),_=(0,d.A)(u.A),x=c.A;(o&&x(new o(new ArrayBuffer(1)))!=m||s.A&&x(new s.A)!=f||a&&x(a.resolve())!=h||l.A&&x(new l.A)!=p||u.A&&x(new u.A)!=g)&&(x=function(e){var t=(0,c.A)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,d.A)(n):"";if(r)switch(r){case y:return m;case b:return f;case v:return h;case w:return p;case _:return g}return t});let k=x},94716:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4168);function i(e){return(0,r.w)(e,Date.now())}},94764:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(83217),i=n(50316);function o(e,t,n){let o=(0,i.c)(e,t,n)/7;return(0,r.u)(null==n?void 0:n.roundingMethod)(o)}},94885:(e,t,n)=>{var r=n(71730),i=n(39058),o=n(26745),s=n(37183),a=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:a).test(s(e))}},94942:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(99814);let i=function(e,t){return e>t};var o=n(92729);let s=function(e){return e&&e.length?(0,r.A)(e,o.A,i):void 0}},95028:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t)=>new r(e,t).minor},95142:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},95295:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},95361:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let r=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n};var i=n(54599),o=n(55617),s=RegExp("['â]","g");let a=function(e){return function(t){return r((0,o.A)((0,i.A)(t).replace(s,"")),e,"")}}},95432:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}},95595:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},95721:e=>{e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}},95868:(e,t,n)=>{"use strict";n.d(t,{R0:()=>l,lI:()=>a,ms:()=>s});var r=n(39097),i=n(89526);function o(e){return e[e.length-1]}function s(e){return(0,r.T)(o(e))?e.pop():void 0}function a(e){return(0,i.m)(o(e))?e.pop():void 0}function l(e,t){return"number"==typeof o(e)?e.pop():t}},95934:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t,n=!1)=>
150{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},95962:(e,t,n)=>{"use strict";var r=n(39860),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,s=r.useRef,a=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=l(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return void 0!==c&&c(t,n)?(o=e,t):(o=e,s=n)}var o,s,a=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,c]))[0],d[1]);return a(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},96273:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96371:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(53243),i="\ud800-\udfff",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",s="\ud83c[\udffb-\udfff]",a="[^"+i+"]",l="(?:\ud83c[\udde6-\uddff]){2}",u="[\ud800-\udbff][\udc00-\udfff]",c="(?:"+o+"|"+s+")?",d="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[a,l,u].join("|")+")"+d+c+")*",h=RegExp(s+"(?="+s+")|"+("(?:"+[a+o+"?",o,l,u,"["+i+"]"].join("|"))+")"+(d+c+f),"g");let p=function(e){return(0,r.A)(e)?e.match(h)||[]:e.split("")}},96639:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(12718),i=n(96948),o=n(8286),s=n(28400),a=n(25259);function l(e,t){var n;return void 0===t&&(t=r.E),n=function(){return(0,a.O)(e,t)},(0,i.N)(function(e,t){var r=!1,i=null,a=null,l=!1,u=function(){if(null==a||a.unsubscribe(),a=null,r){r=!1;var e=i;i=null,t.next(e)}l&&t.complete()},c=function(){a=null,l&&t.complete()};e.subscribe((0,s._)(t,function(e){r=!0,i=e,a||(0,o.Tg)(n(e)).subscribe(a=(0,s._)(t,u,c))},function(){l=!0,r&&a&&!a.closed||t.complete()}))})}},96939:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>o,Z9:()=>s,pq:()=>a,vF:()=>l});var r=n(95595),i=n(31246);let o=["debug","info","warn","error","log","assert","trace"],s={};function a(e){if(!("console"in i.O))return e();let t=i.O.console,n={},r=Object.keys(s);r.forEach(e=>{let r=s[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let l=(0,i.B)("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?o.forEach(n=>{t[n]=(...t)=>{e&&a(()=>{i.O.console[n](`Sentry Logger [${n}]:`,...t)})}}):o.forEach(e=>{t[e]=()=>void 0}),t})},96948:(e,t,n)=>{"use strict";n.d(t,{N:()=>o,S:()=>i});var r=n(39097);function i(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return function(t){if(i(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}},97246:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r,i=n(75130),o=n(21383),s=n(29431);let a=(r=n(66966).A,function(e,t,n){var a=Object(e);if(!(0,o.A)(e)){var l=(0,i.A)(t,3);e=(0,s.A)(e),t=function(e){return l(a[e],e,a)}}var u=r(e,t,n);return u>-1?a[l?e[u]:u]:void 0})},97263:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(92118);function i(e,t){let n=(0,r.a)(e)-(0,r.a)(t);return n<0?-1:n>0?1:n}},97341:(e,t,n)=>{"use strict";n.d(t,{v_:()=>l});let r="u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),i={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},s={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(var a=1;a<20;a++)s["f"+a]=111+a;function l(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);let r=e.map(e=>(function(e,t){let n=t&&t.byKey,r={},a=(e=e.replace("++","+add")).split("+"),{length:l}=a;for(let e in i)r[i[e]]=!1;for(let e of a){var c;let t=e.endsWith("?")&&e.length>1;t&&(e=e.slice(0,-1));let a=u(e),d=i[a];if(e.length>
1501&&!d&&!o[e]&&!s[a])throw TypeError(`Unknown modifier: "${e}"`);1!==l&&d||(n?r.key=a:r.which=s[c=u(c=e)]||c.toUpperCase().charCodeAt(0)),d&&(r[d]=!t||null)}return r})(e,t)),a=e=>r.some(t=>(function(e,t){for(let n in e){let r,i=e[n];if(null!=i&&(null!=(r="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===i&&93===t.which?91:t.which:t[n])||!1!==i)&&r!==i)return!1}return!0})(t,e));return null==n?a:a(n)}function u(e){return o[e=e.toLowerCase()]||e}},98046:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(59584),i=n(33476),o=n(53798);let s=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var a=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,i.A)(e))return s(e);var t=(0,o.A)(e),n=[];for(var r in e)"constructor"==r&&(t||!a.call(e,r))||n.push(r);return n};var u=n(21383);let c=function(e){return(0,u.A)(e)?(0,r.A)(e,!0):l(e)}},98103:(e,t,n)=>{"use strict";n.d(t,{c:()=>w});var r=n(8286),i=n(20437),o=n(96948),s=n(28400);function a(e,t){return void 0===t&&(t=0),(0,o.N)(function(n,r){n.subscribe((0,s._)(r,function(n){return(0,i.N)(r,e,function(){return r.next(n)},t)},function(){return(0,i.N)(r,e,function(){return r.complete()},t)},function(n){return(0,i.N)(r,e,function(){return r.error(n)},t)}))})}function l(e,t){return void 0===t&&(t=0),(0,o.N)(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}var u=n(45037),c=n(69899),d=n(39097);function f(e,t){if(!e)throw Error("Iterable cannot be null");return new u.c(function(n){(0,i.N)(n,t,function(){var r=e[Symbol.asyncIterator]();(0,i.N)(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}var h=n(99455),p=n(73694),g=n(82241),m=n(45907),y=n(74073),b=n(50933),v=n(31590);function w(e,t){if(null!=e){if((0,h.l)(e))return(0,r.Tg)(e).pipe(l(t),a(t));if((0,g.X)(e))return new u.c(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})});if((0,p.y)(e))return(0,r.Tg)(e).pipe(l(t),a(t));if((0,y.T)(e))return f(e,t);if((0,m.x)(e))return new u.c(function(n){var r;return(0,i.N)(n,t,function(){r=e[c.l](),(0,i.N)(n,t,function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(e){n.error(e);return}i?n.complete():n.next(t)},0,!0)}),function(){return(0,d.T)(null==r?void 0:r.return)&&r.return()}});if((0,v.U)(e))return f((0,v.C)(e),t)}throw(0,b.L)(e)}},98134:(e,t,n)=>{var r=n(14638);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},98203:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(96948),i=n(36951);function o(e,t){return(0,r.N)((0,i.S)(e,t,arguments.length>=2,!0))}},98396:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=n(96948),i=n(28400),o=n(77163),s=n(25259),a=n(8286);function l(e){void 0===e&&(e=1/0);var t=e&&"object"==typeof e?e:{count:e},n=t.count,l=void 0===n?1/0:n,u=t.delay,c=t.resetOnSuccess,d=void 0!==c&&c;return l<=0?o.D:(0,r.N)(function(e,t){var n,r=0,o=function(){var c=!1;n=e.subscribe((0,i._)(t,function(e){d&&(r=0),t.next(e)},void 0,function(e){if(r++<l){var d=function(){n?(n.unsubscribe(),n=null,o()):c=!0};if(null!=u){var f="number"==typeof u?(0,s.O)(u):(0,a.Tg)(u(e,r)),h=(0,i._)(t,function(){h.unsubscribe(),d()},function(){t.complete()});f.subscribe(h)}else d()}else t.error(e)})),c&&(n.unsubscribe(),n=null,o())};o()})}},99032:(e,t,n)=>{"use strict";let r=n(240);e.exports=(e,t)=>new r(e,t).major},99148:(e,t,n)=>{"use strict";n.d(t,{P:()=>h,z:()=>f});var r=n(45037),i=n(69675),o=n(86238),s=n(77163),a=n(59728),l=n(95868),u=n(69530),c=n(28400),d=n(20437);function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,l.lI)(e),c=(0,l.ms)(e),d=(0,i.D)(e),f=d.args,p=d.keys;if(0===f.length)return(0,o.H)([],n);var g=new r.c(h(f,n,p?function(e){return(0,u.e)(p,e)}:s.D));return c?g.pipe((0,a.I)(c)):g}function h(e,t,n){return void 0===n&&(n=s.D),function(r){p(t,function(){for(var i=e.length,s=Array(i),a=i,l=i,u=function(i){p(t,function(){var u=(0,o.H)(e[i],t),d=!1;u.subscribe((0,c._)(r,function(e){s[i]=e,!d&&(d=!0,l--),l||r.next(n(s.slice()))},function(){--a||r.complete()}))},r)},d=0;d<i;d++)u(d)},r)}}function p(e,t,n){e?(0,d.N)(n,e,t):t()}},99201:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(79375);function i(e){var t;e.register(r.A),e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}
150i.displayName="typescript",i.aliases=["ts"]},99425:e=>{e.exports=function(e){return function(t){return e(t)}}},99455:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(60488),i=n(39097);function o(e){return(0,i.T)(e[r.s])}},99814:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(59027);let i=function(e,t,n){for(var i=-1,o=e.length;++i<o;){var s=e[i],a=t(s);if(null!=a&&(void 0===l?a==a&&!(0,r.A)(a):n(a,l)))var l=a,u=s}return u}},99908:e=>{"use strict";class t{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=t}}]);
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.