@apollosproject/canvas-embeds 2.1.658 → 2.1.660

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/widget/index.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apollosproject/canvas-embeds",
3
3
  "description": "Apollos React embed widgets",
4
- "version": "2.1.658",
4
+ "version": "2.1.660",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.js",
7
7
  "module": "./dist/index.es.js",
package/widget/index.js CHANGED
@@ -861,7 +861,7 @@ Valid keys: `+JSON.stringify(Object.keys(n0),null," "));var c0=Z0(a0,E0,d0,e0,L
861
861
  `))+1))}const i="#".repeat(l),c=n.enter("headingAtx"),u=n.enter("phrasing");o.move(i+" ");let d=n.containerPhrasing(t,{before:"# ",after:`
862
862
  `,...o.current()});return/^[\t ]/.test(d)&&(d=Jd(d.charCodeAt(0))+d.slice(1)),d=d?i+" "+d:i,n.options.closeAtx&&(d+=" "+i),u(),c(),d}Dd0.peek=_21;function Dd0(t){return t.value||""}function _21(){return"<"}zd0.peek=k21;function zd0(t,a,n,r){const l=wk(n),o=l==='"'?"Quote":"Apostrophe",i=n.enter("image");let c=n.enter("label");const u=n.createTracker(r);let d=u.move("![");return d+=u.move(n.safe(t.alt,{before:d,after:"]",...u.current()})),d+=u.move("]("),c(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(c=n.enter("destinationLiteral"),d+=u.move("<"),d+=u.move(n.safe(t.url,{before:d,after:">",...u.current()})),d+=u.move(">")):(c=n.enter("destinationRaw"),d+=u.move(n.safe(t.url,{before:d,after:t.title?" ":")",...u.current()}))),c(),t.title&&(c=n.enter(`title${o}`),d+=u.move(" "+l),d+=u.move(n.safe(t.title,{before:d,after:l,...u.current()})),d+=u.move(l),c()),d+=u.move(")"),i(),d}function k21(){return"!"}Ud0.peek=w21;function Ud0(t,a,n,r){const l=t.referenceType,o=n.enter("imageReference");let i=n.enter("label");const c=n.createTracker(r);let u=c.move("![");const d=n.safe(t.alt,{before:u,after:"]",...c.current()});u+=c.move(d+"]["),i();const h=n.stack;n.stack=[],i=n.enter("reference");const f=n.safe(n.associationId(t),{before:u,after:"]",...c.current()});return i(),n.stack=h,o(),l==="full"||!d||d!==f?u+=c.move(f+"]"):l==="shortcut"?u=u.slice(0,-1):u+=c.move("]"),u}function w21(){return"!"}Bd0.peek=C21;function Bd0(t,a,n){let r=t.value||"",l="`",o=-1;for(;new RegExp("(^|[^`])"+l+"([^`]|$)").test(r);)l+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const i=n.unsafe[o],c=n.compilePattern(i);let u;if(i.atBreak)for(;u=c.exec(r);){let d=u.index;r.charCodeAt(d)===10&&r.charCodeAt(d-1)===13&&d--,r=r.slice(0,d)+" "+r.slice(u.index+1)}}return l+r+l}function C21(){return"`"}function qd0(t,a){const n=xd0(t);return!!(!a.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}Wd0.peek=N21;function Wd0(t,a,n,r){const l=wk(n),o=l==='"'?"Quote":"Apostrophe",i=n.createTracker(r);let c,u;if(qd0(t,n)){const h=n.stack;n.stack=[],c=n.enter("autolink");let f=i.move("<");return f+=i.move(n.containerPhrasing(t,{before:f,after:">",...i.current()})),f+=i.move(">"),c(),n.stack=h,f}c=n.enter("link"),u=n.enter("label");let d=i.move("[");return d+=i.move(n.containerPhrasing(t,{before:d,after:"](",...i.current()})),d+=i.move("]("),u(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(u=n.enter("destinationLiteral"),d+=i.move("<"),d+=i.move(n.safe(t.url,{before:d,after:">",...i.current()})),d+=i.move(">")):(u=n.enter("destinationRaw"),d+=i.move(n.safe(t.url,{before:d,after:t.title?" ":")",...i.current()}))),u(),t.title&&(u=n.enter(`title${o}`),d+=i.move(" "+l),d+=i.move(n.safe(t.title,{before:d,after:l,...i.current()})),d+=i.move(l),u()),d+=i.move(")"),c(),d}function N21(t,a,n){return qd0(t,n)?"<":"["}Gd0.peek=P21;function Gd0(t,a,n,r){const l=t.referenceType,o=n.enter("linkReference");let i=n.enter("label");const c=n.createTracker(r);let u=c.move("[");const d=n.containerPhrasing(t,{before:u,after:"]",...c.current()});u+=c.move(d+"]["),i();const h=n.stack;n.stack=[],i=n.enter("reference");const f=n.safe(n.associationId(t),{before:u,after:"]",...c.current()});return i(),n.stack=h,o(),l==="full"||!d||d!==f?u+=c.move(f+"]"):l==="shortcut"?u=u.slice(0,-1):u+=c.move("]"),u}function P21(){return"["}function Ck(t){const a=t.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function T21(t){const a=Ck(t),n=t.options.bulletOther;if(!n)return a==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+n+"`) to be different");return n}function $21(t){const a=t.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function Yd0(t){const a=t.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function I21(t,a,n,r){const l=n.enter("list"),o=n.bulletCurrent;let i=t.ordered?$21(n):Ck(n);const c=t.ordered?i==="."?")":".":T21(n);let u=a&&n.bulletLastUsed?i===n.bulletLastUsed:!1;if(!t.ordered){const h=t.children?t.children[0]:void 0;if((i==="*"||i==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),Yd0(n)===i&&h){let f=-1;for(;++f<t.children.length;){const A=t.children[f];if(A&&A.type==="listItem"&&A.children&&A.children[0]&&A.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(i=c),n.bulletCurrent=i;const d=n.containerFlow(t,r);return n.bulletLastUsed=i,n.bulletCurrent=o,l(),d}function O21(t){const a=t.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function x21(t,a,n,r){const l=O21(n);let o=n.bulletCurrent||Ck(n);a&&a.type==="list"&&a.ordered&&(o=(typeof a.start=="number"&&a.start>-1?a.start:1)+(n.options.incrementListMarker===!1?0:a.children.indexOf(t))+o);let i=o.length+1;(l==="tab"||l==="mixed"&&(a&&a.type==="list"&&a.spread||t.spread))&&(i=Math.ceil(i/4)*4);const c=n.createTracker(r);c.move(o+" ".repeat(i-o.length)),c.shift(i);const u=n.enter("listItem"),d=n.indentLines(n.containerFlow(t,c.current()),h);return u(),d;function h(f,A,Z){return A?(Z?"":" ".repeat(i))+f:(Z?o:o+" ".repeat(i-o.length))+f}}function j21(t,a,n,r){const l=n.enter("paragraph"),o=n.enter("phrasing"),i=n.containerPhrasing(t,r);return o(),l(),i}const R21=HZ(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function D21(t,a,n,r){return(t.children.some(function(i){return R21(i)})?n.containerPhrasing:n.containerFlow).call(n,t,r)}function z21(t){const a=t.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}Kd0.peek=U21;function Kd0(t,a,n,r){const l=z21(n),o=n.enter("strong"),i=n.createTracker(r),c=i.move(l+l);let u=i.move(n.containerPhrasing(t,{after:l,before:c,...i.current()}));const d=u.charCodeAt(0),h=bZ(r.before.charCodeAt(r.before.length-1),d,l);h.inside&&(u=Jd(d)+u.slice(1));const f=u.charCodeAt(u.length-1),A=bZ(r.after.charCodeAt(0),f,l);A.inside&&(u=u.slice(0,-1)+Jd(f));const Z=i.move(l+l);return o(),n.attentionEncodeSurroundingInfo={after:A.outside,before:h.outside},c+u+Z}function U21(t,a,n){return n.options.strong||"*"}function B21(t,a,n,r){return n.safe(t.value,r)}function q21(t){const a=t.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function W21(t,a,n){const r=(Yd0(n)+(n.options.ruleSpaces?" ":"")).repeat(q21(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Qd0={blockquote:h21,break:Id0,code:Z21,definition:M21,emphasis:Od0,hardBreak:Id0,heading:F21,html:Dd0,image:zd0,imageReference:Ud0,inlineCode:Bd0,link:Wd0,linkReference:Gd0,list:I21,listItem:x21,paragraph:j21,root:D21,strong:Kd0,text:B21,thematicBreak:W21};function G21(){return{enter:{table:Y21,tableData:Xd0,tableHeader:Xd0,tableRow:Q21},exit:{codeText:X21,table:K21,tableData:Nk,tableHeader:Nk,tableRow:Nk}}}function Y21(t){const a=t._align;this.enter({type:"table",align:a.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function K21(t){this.exit(t),this.data.inTable=void 0}function Q21(t){this.enter({type:"tableRow",children:[]},t)}function Nk(t){this.exit(t)}function Xd0(t){this.enter({type:"tableCell",children:[]},t)}function X21(t){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,J21));const n=this.stack[this.stack.length-1];n.type,n.value=a,this.exit(t)}function J21(t,a){return a==="|"?a:t}function e81(t){const a=t||{},n=a.tableCellPadding,r=a.tablePipeAlign,l=a.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
863
863
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:A,table:i,tableCell:u,tableRow:c}};function i(Z,H,y,b){return d(h(Z,y,b),Z.align)}function c(Z,H,y,b){const S=f(Z,y,b),_=d([S]);return _.slice(0,_.indexOf(`
864
- `))}function u(Z,H,y,b){const S=y.enter("tableCell"),_=y.enter("phrasing"),w=y.containerPhrasing(Z,{...b,before:o,after:o});return _(),S(),w}function d(Z,H){return m21(Z,{align:H,alignDelimiters:r,padding:n,stringLength:l})}function h(Z,H,y){const b=Z.children;let S=-1;const _=[],w=H.enter("table");for(;++S<b.length;)_[S]=f(b[S],H,y);return w(),_}function f(Z,H,y){const b=Z.children;let S=-1;const _=[],w=H.enter("tableRow");for(;++S<b.length;)_[S]=u(b[S],Z,H,y);return w(),_}function A(Z,H,y){let b=Qd0.inlineCode(Z,H,y);return y.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function t81(){return{exit:{taskListCheckValueChecked:Jd0,taskListCheckValueUnchecked:Jd0,paragraph:n81}}}function a81(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:r81}}}function Jd0(t){const a=this.stack[this.stack.length-2];a.type,a.checked=t.type==="taskListCheckValueChecked"}function n81(t){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const l=a.children;let o=-1,i;for(;++o<l.length;){const c=l[o];if(c.type==="paragraph"){i=c;break}}i===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function r81(t,a,n,r){const l=t.children[0],o=typeof t.checked=="boolean"&&l&&l.type==="paragraph",i="["+(t.checked?"x":" ")+"] ",c=n.createTracker(r);o&&c.move(i);let u=Qd0.listItem(t,a,n,{...r,...c.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),u;function d(h){return h+i}}function l81(){return[Pe1(),t21(),l21(),G21(),t81()]}function o81(t){return{extensions:[Te1(),a21(t),o21(),e81(t),a81()]}}const eh0={}.hasOwnProperty;function i81(t){const a={};let n=-1;for(;++n<t.length;)c81(a,t[n]);return a}function c81(t,a){let n;for(n in a){const l=(eh0.call(t,n)?t[n]:void 0)||(t[n]={}),o=a[n];let i;if(o)for(i in o){eh0.call(l,i)||(l[i]=[]);const c=o[i];s81(l[i],Array.isArray(c)?c:c?[c]:[])}}}function s81(t,a){let n=-1;const r=[];for(;++n<a.length;)(a[n].add==="after"?t:r).push(a[n]);p4(t,0,0,r)}const eh=LZ(/[A-Za-z]/),Pk=LZ(/[\dA-Za-z]/);function u81(t){return t!==null&&(t<32||t===127)}function Ws(t){return t!==null&&(t<0||t===32)}const th0=LZ(new RegExp("\\p{P}|\\p{S}","u")),th=LZ(/\s/);function LZ(t){return a;function a(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}const m81={tokenize:A81,partial:!0},ah0={tokenize:g81,partial:!0},nh0={tokenize:Z81,partial:!0},rh0={tokenize:H81,partial:!0},d81={tokenize:M81,partial:!0},lh0={name:"wwwAutolink",tokenize:f81,previous:ih0},oh0={name:"protocolAutolink",tokenize:v81,previous:ch0},y3={name:"emailAutolink",tokenize:p81,previous:sh0},dl={};function h81(){return{text:dl}}let o7=48;for(;o7<123;)dl[o7]=y3,o7++,o7===58?o7=65:o7===91&&(o7=97);dl[43]=y3,dl[45]=y3,dl[46]=y3,dl[95]=y3,dl[72]=[y3,oh0],dl[104]=[y3,oh0],dl[87]=[y3,lh0],dl[119]=[y3,lh0];function p81(t,a,n){const r=this;let l,o;return i;function i(f){return!Tk(f)||!sh0.call(r,r.previous)||$k(r.events)?n(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),c(f))}function c(f){return Tk(f)?(t.consume(f),c):f===64?(t.consume(f),u):n(f)}function u(f){return f===46?t.check(d81,h,d)(f):f===45||f===95||Pk(f)?(o=!0,t.consume(f),u):h(f)}function d(f){return t.consume(f),l=!0,u}function h(f){return o&&l&&eh(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),a(f)):n(f)}}function f81(t,a,n){const r=this;return l;function l(i){return i!==87&&i!==119||!ih0.call(r,r.previous)||$k(r.events)?n(i):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(m81,t.attempt(ah0,t.attempt(nh0,o),n),n)(i))}function o(i){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),a(i)}}function v81(t,a,n){const r=this;let l="",o=!1;return i;function i(f){return(f===72||f===104)&&ch0.call(r,r.previous)&&!$k(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),l+=String.fromCodePoint(f),t.consume(f),c):n(f)}function c(f){if(eh(f)&&l.length<5)return l+=String.fromCodePoint(f),t.consume(f),c;if(f===58){const A=l.toLowerCase();if(A==="http"||A==="https")return t.consume(f),u}return n(f)}function u(f){return f===47?(t.consume(f),o?d:(o=!0,u)):n(f)}function d(f){return f===null||u81(f)||Ws(f)||th(f)||th0(f)?n(f):t.attempt(ah0,t.attempt(nh0,h),n)(f)}function h(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),a(f)}}function A81(t,a,n){let r=0;return l;function l(i){return(i===87||i===119)&&r<3?(r++,t.consume(i),l):i===46&&r===3?(t.consume(i),o):n(i)}function o(i){return i===null?n(i):a(i)}}function g81(t,a,n){let r,l,o;return i;function i(d){return d===46||d===95?t.check(rh0,u,c)(d):d===null||Ws(d)||th(d)||d!==45&&th0(d)?u(d):(o=!0,t.consume(d),i)}function c(d){return d===95?r=!0:(l=r,r=void 0),t.consume(d),i}function u(d){return l||r||!o?n(d):a(d)}}function Z81(t,a){let n=0,r=0;return l;function l(i){return i===40?(n++,t.consume(i),l):i===41&&r<n?o(i):i===33||i===34||i===38||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===93||i===95||i===126?t.check(rh0,a,o)(i):i===null||Ws(i)||th(i)?a(i):(t.consume(i),l)}function o(i){return i===41&&r++,t.consume(i),l}}function H81(t,a,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(t.consume(c),r):c===38?(t.consume(c),o):c===93?(t.consume(c),l):c===60||c===null||Ws(c)||th(c)?a(c):n(c)}function l(c){return c===null||c===40||c===91||Ws(c)||th(c)?a(c):r(c)}function o(c){return eh(c)?i(c):n(c)}function i(c){return c===59?(t.consume(c),r):eh(c)?(t.consume(c),i):n(c)}}function M81(t,a,n){return r;function r(o){return t.consume(o),l}function l(o){return Pk(o)?n(o):a(o)}}function ih0(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Ws(t)}function ch0(t){return!eh(t)}function sh0(t){return!(t===47||Tk(t))}function Tk(t){return t===43||t===45||t===46||t===95||Pk(t)}function $k(t){let a=t.length,n=!1;for(;a--;){const r=t[a][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function E81(t){return t!==null&&t<-2}function SZ(t){return t!==null&&(t<0||t===32)}function V81(t){return t===-2||t===-1||t===32}const y81={partial:!0,tokenize:b81};function b81(t,a,n){return r;function r(o){return V81(o)?y2(t,l,"linePrefix")(o):l(o)}function l(o){return o===null||E81(o)?a(o):n(o)}}const L81={tokenize:P81,partial:!0};function S81(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:w81,continuation:{tokenize:C81},exit:N81}},text:{91:{name:"gfmFootnoteCall",tokenize:k81},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:F81,resolveTo:_81}}}}function F81(t,a,n){const r=this;let l=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;l--;){const u=r.events[l][1];if(u.type==="labelImage"){i=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return c;function c(u){if(!i||!i._balanced)return n(u);const d=rr(r.sliceSerialize({start:i.end,end:r.now()}));return d.codePointAt(0)!==94||!o.includes(d.slice(1))?n(u):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(u),t.exit("gfmFootnoteCallLabelMarker"),a(u))}}function _81(t,a){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},t[t.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[t[n+1],t[n+2],["enter",r,a],t[n+3],t[n+4],["enter",l,a],["exit",l,a],["enter",o,a],["enter",i,a],["exit",i,a],["exit",o,a],t[t.length-2],t[t.length-1],["exit",r,a]];return t.splice(n,t.length-n+1,...c),t}function k81(t,a,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,i;return c;function c(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",d)}function d(f){if(o>999||f===93&&!i||f===null||f===91||SZ(f))return n(f);if(f===93){t.exit("chunkString");const A=t.exit("gfmFootnoteCallString");return l.includes(rr(r.sliceSerialize(A)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),a):n(f)}return SZ(f)||(i=!0),o++,t.consume(f),f===92?h:d}function h(f){return f===91||f===92||f===93?(t.consume(f),o++,d):d(f)}}function w81(t,a,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i=0,c;return u;function u(H){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(H),t.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(H){return H===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(H),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",h):n(H)}function h(H){if(i>999||H===93&&!c||H===null||H===91||SZ(H))return n(H);if(H===93){t.exit("chunkString");const y=t.exit("gfmFootnoteDefinitionLabelString");return o=rr(r.sliceSerialize(y)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(H),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),A}return SZ(H)||(c=!0),i++,t.consume(H),H===92?f:h}function f(H){return H===91||H===92||H===93?(t.consume(H),i++,h):h(H)}function A(H){return H===58?(t.enter("definitionMarker"),t.consume(H),t.exit("definitionMarker"),l.includes(o)||l.push(o),y2(t,Z,"gfmFootnoteDefinitionWhitespace")):n(H)}function Z(H){return a(H)}}function C81(t,a,n){return t.check(y81,a,t.attempt(L81,a,n))}function N81(t){t.exit("gfmFootnoteDefinition")}function P81(t,a,n){const r=this;return y2(t,l,"gfmFootnoteDefinitionIndent",5);function l(o){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?a(o):n(o)}}function T81(t){let n=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:l};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function l(i,c){let u=-1;for(;++u<i.length;)if(i[u][0]==="enter"&&i[u][1].type==="strikethroughSequenceTemporary"&&i[u][1]._close){let d=u;for(;d--;)if(i[d][0]==="exit"&&i[d][1].type==="strikethroughSequenceTemporary"&&i[d][1]._open&&i[u][1].end.offset-i[u][1].start.offset===i[d][1].end.offset-i[d][1].start.offset){i[u][1].type="strikethroughSequence",i[d][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},i[d][1].start),end:Object.assign({},i[u][1].end)},f={type:"strikethroughText",start:Object.assign({},i[d][1].end),end:Object.assign({},i[u][1].start)},A=[["enter",h,c],["enter",i[d][1],c],["exit",i[d][1],c],["enter",f,c]],Z=c.parser.constructs.insideSpan.null;Z&&p4(A,A.length,0,uZ(Z,i.slice(d+1,u),c)),p4(A,A.length,0,[["exit",f,c],["enter",i[u][1],c],["exit",i[u][1],c],["exit",h,c]]),p4(i,d-1,u-d+3,A),u=d+A.length-2;break}}for(u=-1;++u<i.length;)i[u][1].type==="strikethroughSequenceTemporary"&&(i[u][1].type="data");return i}function o(i,c,u){const d=this.previous,h=this.events;let f=0;return A;function A(H){return d===126&&h[h.length-1][1].type!=="characterEscape"?u(H):(i.enter("strikethroughSequenceTemporary"),Z(H))}function Z(H){const y=Bs(d);if(H===126)return f>1?u(H):(i.consume(H),f++,Z);if(f<2&&!n)return u(H);const b=i.exit("strikethroughSequenceTemporary"),S=Bs(H);return b._open=!S||S===2&&!!y,b._close=!y||y===2&&!!S,c(H)}}}function FZ(t){return t!==null&&t<-2}function uh0(t){return t!==null&&(t<0||t===32)}function ah(t){return t===-2||t===-1||t===32}class $81{constructor(){this.map=[]}add(a,n,r){I81(this,a,n,r)}consume(a){if(this.map.sort(function(o,i){return o[0]-i[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(a.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),a.length=this.map[n][0];r.push(a.slice()),a.length=0;let l=r.pop();for(;l;){for(const o of l)a.push(o);l=r.pop()}this.map.length=0}}function I81(t,a,n,r){let l=0;if(!(n===0&&r.length===0)){for(;l<t.map.length;){if(t.map[l][0]===a){t.map[l][1]+=n,t.map[l][2].push(...r);return}l+=1}t.map.push([a,n,r])}}function O81(t,a){let n=!1;const r=[];for(;a<t.length;){const l=t[a];if(n){if(l[0]==="enter")l[1].type==="tableContent"&&r.push(t[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(l[1].type==="tableContent"){if(t[a-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(l[1].type==="tableDelimiterRow")break}else l[0]==="enter"&&l[1].type==="tableDelimiterRow"&&(n=!0);a+=1}return r}function x81(){return{flow:{null:{name:"table",tokenize:j81,resolveAll:R81}}}}function j81(t,a,n){const r=this;let l=0,o=0,i;return c;function c(j){let X=r.events.length-1;for(;X>-1;){const o0=r.events[X][1].type;if(o0==="lineEnding"||o0==="linePrefix")X--;else break}const G=X>-1?r.events[X][1].type:null,t0=G==="tableHead"||G==="tableRow"?P:u;return t0===P&&r.parser.lazy[r.now().line]?n(j):t0(j)}function u(j){return t.enter("tableHead"),t.enter("tableRow"),d(j)}function d(j){return j===124||(i=!0,o+=1),h(j)}function h(j){return j===null?n(j):FZ(j)?o>1?(o=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(j),t.exit("lineEnding"),Z):n(j):ah(j)?y2(t,h,"whitespace")(j):(o+=1,i&&(i=!1,l+=1),j===124?(t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),i=!0,h):(t.enter("data"),f(j)))}function f(j){return j===null||j===124||uh0(j)?(t.exit("data"),h(j)):(t.consume(j),j===92?A:f)}function A(j){return j===92||j===124?(t.consume(j),f):f(j)}function Z(j){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(j):(t.enter("tableDelimiterRow"),i=!1,ah(j)?y2(t,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):H(j))}function H(j){return j===45||j===58?b(j):j===124?(i=!0,t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),y):C(j)}function y(j){return ah(j)?y2(t,b,"whitespace")(j):b(j)}function b(j){return j===58?(o+=1,i=!0,t.enter("tableDelimiterMarker"),t.consume(j),t.exit("tableDelimiterMarker"),S):j===45?(o+=1,S(j)):j===null||FZ(j)?T(j):C(j)}function S(j){return j===45?(t.enter("tableDelimiterFiller"),_(j)):C(j)}function _(j){return j===45?(t.consume(j),_):j===58?(i=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(j),t.exit("tableDelimiterMarker"),w):(t.exit("tableDelimiterFiller"),w(j))}function w(j){return ah(j)?y2(t,T,"whitespace")(j):T(j)}function T(j){return j===124?H(j):j===null||FZ(j)?!i||l!==o?C(j):(t.exit("tableDelimiterRow"),t.exit("tableHead"),a(j)):C(j)}function C(j){return n(j)}function P(j){return t.enter("tableRow"),x(j)}function x(j){return j===124?(t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),x):j===null||FZ(j)?(t.exit("tableRow"),a(j)):ah(j)?y2(t,x,"whitespace")(j):(t.enter("data"),z(j))}function z(j){return j===null||j===124||uh0(j)?(t.exit("data"),x(j)):(t.consume(j),j===92?Y:z)}function Y(j){return j===92||j===124?(t.consume(j),z):z(j)}}function R81(t,a){let n=-1,r=!0,l=0,o=[0,0,0,0],i=[0,0,0,0],c=!1,u=0,d,h,f;const A=new $81;for(;++n<t.length;){const Z=t[n],H=Z[1];Z[0]==="enter"?H.type==="tableHead"?(c=!1,u!==0&&(mh0(A,a,u,d,h),h=void 0,u=0),d={type:"table",start:Object.assign({},H.start),end:Object.assign({},H.end)},A.add(n,0,[["enter",d,a]])):H.type==="tableRow"||H.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],i=[0,n+1,0,0],c&&(c=!1,h={type:"tableBody",start:Object.assign({},H.start),end:Object.assign({},H.end)},A.add(n,0,[["enter",h,a]])),l=H.type==="tableDelimiterRow"?2:h?3:1):l&&(H.type==="data"||H.type==="tableDelimiterMarker"||H.type==="tableDelimiterFiller")?(r=!1,i[2]===0&&(o[1]!==0&&(i[0]=i[1],f=_Z(A,a,o,l,void 0,f),o=[0,0,0,0]),i[2]=n)):H.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(i[0]=i[1],f=_Z(A,a,o,l,void 0,f)),o=i,i=[o[1],n,0,0])):H.type==="tableHead"?(c=!0,u=n):H.type==="tableRow"||H.type==="tableDelimiterRow"?(u=n,o[1]!==0?(i[0]=i[1],f=_Z(A,a,o,l,n,f)):i[1]!==0&&(f=_Z(A,a,i,l,n,f)),l=0):l&&(H.type==="data"||H.type==="tableDelimiterMarker"||H.type==="tableDelimiterFiller")&&(i[3]=n)}for(u!==0&&mh0(A,a,u,d,h),A.consume(a.events),n=-1;++n<a.events.length;){const Z=a.events[n];Z[0]==="enter"&&Z[1].type==="table"&&(Z[1]._align=O81(a.events,n))}return t}function _Z(t,a,n,r,l,o){const i=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(o.end=Object.assign({},Gs(a.events,n[0])),t.add(n[0],0,[["exit",o,a]]));const u=Gs(a.events,n[1]);if(o={type:i,start:Object.assign({},u),end:Object.assign({},u)},t.add(n[1],0,[["enter",o,a]]),n[2]!==0){const d=Gs(a.events,n[2]),h=Gs(a.events,n[3]),f={type:c,start:Object.assign({},d),end:Object.assign({},h)};if(t.add(n[2],0,[["enter",f,a]]),r!==2){const A=a.events[n[2]],Z=a.events[n[3]];if(A[1].end=Object.assign({},Z[1].end),A[1].type="chunkText",A[1].contentType="text",n[3]>n[2]+1){const H=n[2]+1,y=n[3]-n[2]-1;t.add(H,y,[])}}t.add(n[3]+1,0,[["exit",f,a]])}return l!==void 0&&(o.end=Object.assign({},Gs(a.events,l)),t.add(l,0,[["exit",o,a]]),o=void 0),o}function mh0(t,a,n,r,l){const o=[],i=Gs(a.events,n);l&&(l.end=Object.assign({},i),o.push(["exit",l,a])),r.end=Object.assign({},i),o.push(["exit",r,a]),t.add(n+1,0,o)}function Gs(t,a){const n=t[a],r=n[0]==="enter"?"start":"end";return n[1][r]}function D81(t){return t!==null&&t<-2}function z81(t){return t!==null&&(t<0||t===32)}function U81(t){return t===-2||t===-1||t===32}const B81={name:"tasklistCheck",tokenize:W81};function q81(){return{text:{91:B81}}}function W81(t,a,n){const r=this;return l;function l(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(u),t.exit("taskListCheckMarker"),o)}function o(u){return z81(u)?(t.enter("taskListCheckValueUnchecked"),t.consume(u),t.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(t.enter("taskListCheckValueChecked"),t.consume(u),t.exit("taskListCheckValueChecked"),i):n(u)}function i(u){return u===93?(t.enter("taskListCheckMarker"),t.consume(u),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),c):n(u)}function c(u){return D81(u)?a(u):U81(u)?t.check({tokenize:G81},a,n)(u):n(u)}}function G81(t,a,n){return y2(t,r,"whitespace");function r(l){return l===null?n(l):a(l)}}function Y81(t){return i81([h81(),S81(),T81(t),x81(),q81()])}const K81={};function Q81(t){const a=this,n=t||K81,r=a.data(),l=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);l.push(Y81(n)),o.push(l81()),i.push(o81(n))}const X81={p:({className:t,...a})=>F.jsx("p",{...a,className:["mb-3 last:mb-0 leading-relaxed",t].filter(Boolean).join(" ")}),a:({className:t,...a})=>F.jsx("a",{...a,target:"_blank",rel:"external noopener noreferrer",className:["text-action hover:underline",t].filter(Boolean).join(" ")}),ul:({className:t,...a})=>F.jsx("ul",{...a,className:["mb-3 list-disc space-y-2 pl-5 last:mb-0",t].filter(Boolean).join(" ")}),ol:({className:t,...a})=>F.jsx("ol",{...a,className:["mb-3 list-decimal space-y-2 pl-5 last:mb-0",t].filter(Boolean).join(" ")}),li:({className:t,...a})=>F.jsx("li",{...a,className:["leading-relaxed",t].filter(Boolean).join(" ")}),h1:({className:t,...a})=>F.jsx("h1",{...a,className:["mb-4 text-xl font-semibold",t].filter(Boolean).join(" ")}),h2:({className:t,...a})=>F.jsx("h2",{...a,className:["mb-3 text-lg font-semibold",t].filter(Boolean).join(" ")}),h3:({className:t,...a})=>F.jsx("h3",{...a,className:["mb-2 text-base font-semibold",t].filter(Boolean).join(" ")}),blockquote:({className:t,...a})=>F.jsx("blockquote",{...a,className:["mb-3 border-l-4 border-system-regular pl-4 italic text-fg-secondary","dark:border-system-regular-dark dark:text-fg-secondary-dark",t].filter(Boolean).join(" ")}),hr:({className:t,...a})=>F.jsx("hr",{...a,className:["my-4 border-system-regular","dark:border-system-regular-dark",t].filter(Boolean).join(" ")})};function J81({children:t,className:a}){return t?F.jsx("div",{className:a,children:F.jsx(Ee1,{remarkPlugins:[Q81],components:X81,children:t})}):null}const et1=t=>(t||"").replace(":","-"),tt1=(t,a)=>{const n=(a||"").trim();if(!n||String(t).toLowerCase()!=="media")return;const r=et1(n);if(r)return`/c/${r}`},at1=t=>{if(t){if(typeof t=="string")try{const a=JSON.parse(t);if(a&&typeof a=="object")return a}catch{return}if(typeof t=="object"&&!Array.isArray(t))return t}},dh0=(t,a,n)=>{if(!t||typeof t!="object"||n.has(t))return;n.add(t);const r=a.toLowerCase(),l=Array.isArray(t)?t.map((o,i)=>[String(i),o]):Object.entries(t);for(const[o,i]of l)if(o.toLowerCase()===r&&typeof i=="string"){const c=i.trim();if(c)return c}for(const[,o]of l){const i=dh0(o,a,n);if(i)return i}},hh0=(t,a)=>{const n=at1(t);if(!n)return;const r=n[a];return typeof r=="string"&&r.trim()?r.trim():dh0(n,a,new Set)},Ik=(t,a)=>{for(const r of a){const l=hh0(t.metadata,r);if(l)return l}const n=t.snippets||[];for(const r of n)for(const l of a){const o=hh0(r==null?void 0:r.metadata,l);if(o)return o}},nt1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm60-80v56a12,12,0,0,1-24,0V143.32a12,12,0,0,1-9.37-22l16-8A12,12,0,0,1,112,124Zm61.49,33.88L163.9,168H168a12,12,0,0,1,0,24H136a12,12,0,0,1-8.71-20.25L155.45,142a4,4,0,0,0,.55-2,4,4,0,0,0-7.47-2,12,12,0,0,1-20.78-12A28,28,0,0,1,180,140a27.77,27.77,0,0,1-5.64,16.86A10.63,10.63,0,0,1,173.49,157.88Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),e.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-98-90v64a6,6,0,0,1-12,0V129.71l-7.32,3.66a6,6,0,1,1-5.36-10.74l16-8A6,6,0,0,1,110,120Zm59.57,29.25L148,178h20a6,6,0,0,1,0,12H136a6,6,0,0,1-4.8-9.6L160,142a10,10,0,1,0-16.65-11A6,6,0,1,1,133,125a22,22,0,1,1,36.62,24.26Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212ZM108,120v64a4,4,0,0,1-8,0V126.47l-10.21,5.11a4,4,0,0,1-3.58-7.16l16-8A4,4,0,0,1,108,120Zm60,28-24,32h24a4,4,0,0,1,0,8H136a4,4,0,0,1-3.2-6.4l28.78-38.37A11.88,11.88,0,0,0,164,136a12,12,0,0,0-22.4-6,4,4,0,0,1-6.92-4A20,20,0,0,1,172,136,19.79,19.79,0,0,1,168,148Z"}))]]),Ok=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:nt1}));Ok.displayName="CalendarIcon";const ph0=Ok,rt1=Object.freeze(Object.defineProperty({__proto__:null,Calendar:ph0,CalendarIcon:Ok},Symbol.toStringTag,{value:"Module"})),lt1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"}))]]),xk=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:lt1}));xk.displayName="FileTextIcon";const fh0=xk,ot1=Object.freeze(Object.defineProperty({__proto__:null,FileText:fh0,FileTextIcon:xk},Symbol.toStringTag,{value:"Module"})),it1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"}))]]),jk=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:it1}));jk.displayName="FileIcon";const vh0=jk,ct1=Object.freeze(Object.defineProperty({__proto__:null,File:vh0,FileIcon:jk},Symbol.toStringTag,{value:"Module"})),st1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M249.45,69.31a12,12,0,0,0-12.51,1L212,88.43V72a20,20,0,0,0-20-20H32A20,20,0,0,0,12,72V184a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V167.57l24.94,18.14A12,12,0,0,0,256,176V80A12,12,0,0,0,249.45,69.31ZM188,180H36V76H188Zm44-27.57-20-14.54V118.11l20-14.54Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M200,72V184a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H192A8,8,0,0,1,200,72Z",opacity:"0.2"}),e.createElement("path",{d:"M251.77,73a8,8,0,0,0-8.21.39L208,97.05V72a16,16,0,0,0-16-16H32A16,16,0,0,0,16,72V184a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V159l35.56,23.71A8,8,0,0,0,248,184a8,8,0,0,0,8-8V80A8,8,0,0,0,251.77,73ZM192,184H32V72H192V184Zm48-22.95-32-21.33V116.28L240,95Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M192,72V184a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V72A16,16,0,0,1,32,56H176A16,16,0,0,1,192,72Zm58,.25a8.23,8.23,0,0,0-6.63,1.22L209.78,95.86A4,4,0,0,0,208,99.19v57.62a4,4,0,0,0,1.78,3.33l33.78,22.52a8,8,0,0,0,8.58.19,8.33,8.33,0,0,0,3.86-7.17V80A8,8,0,0,0,250,72.25Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M250.83,74.71a6,6,0,0,0-6.16.3L206,100.79V72a14,14,0,0,0-14-14H32A14,14,0,0,0,18,72V184a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V155.21L244.67,181a6,6,0,0,0,9.33-5V80A6,6,0,0,0,250.83,74.71ZM194,184a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V72a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2Zm48-19.21-36-24V115.21l36-24Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M251.77,73a8,8,0,0,0-8.21.39L208,97.05V72a16,16,0,0,0-16-16H32A16,16,0,0,0,16,72V184a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V159l35.56,23.71A8,8,0,0,0,248,184a8,8,0,0,0,8-8V80A8,8,0,0,0,251.77,73ZM192,184H32V72H192V184Zm48-22.95-32-21.33V116.28L240,95Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M249.89,76.47a4,4,0,0,0-4.11.2L204,104.53V72a12,12,0,0,0-12-12H32A12,12,0,0,0,20,72V184a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V151.47l41.78,27.86A4,4,0,0,0,252,176V80A4,4,0,0,0,249.89,76.47ZM196,184a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V72a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4Zm48-15.47-40-26.67V114.14l40-26.67Z"}))]]),Rk=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:st1}));Rk.displayName="VideoCameraIcon";const Ah0=Rk,ut1=Object.freeze(Object.defineProperty({__proto__:null,VideoCamera:Ah0,VideoCameraIcon:Rk},Symbol.toStringTag,{value:"Module"}));function mt1({href:t,title:a,preview:n,badgeLabel:r}){const l={WebkitMaskImage:"linear-gradient(180deg, rgba(0, 0, 0, 0.98) 60%, rgba(0, 0, 0, 0) 100%)",maskImage:"linear-gradient(180deg, rgba(0, 0, 0, 0.98) 60%, rgba(0, 0, 0, 0) 100%)"},o=t||"#",i=e.useRef(null),c=e.useRef(null);e.useEffect(()=>{const d=()=>{var h;try{const f=((h=i.current)==null?void 0:h.offsetWidth)??0;c.current&&c.current.style.setProperty("--badge-w",`${f}px`)}catch{}};return d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[]);const u=d=>{try{d.button===0&&!d.metaKey&&!d.ctrlKey&&!d.shiftKey&&!d.altKey&&(d.preventDefault(),window.open(o,"_blank","noopener,noreferrer"))}catch{}};return F.jsx("a",{href:o,target:"_blank",rel:"external noopener noreferrer",onClick:u,className:"group relative flex min-w-[240px] max-w-[300px] h-[240px] flex-col overflow-hidden rounded-2xl border border-system-regular bg-system-chrome shadow-[0_1px_2px_rgba(16,24,40,0.06)] dark:border-system-regular-dark dark:bg-material-regular-dark dark:shadow-none bg-clip-padding",children:F.jsxs("div",{className:"relative flex h-full flex-col",children:[F.jsx("div",{className:"pointer-events-none absolute right-2 top-2 inline-flex items-center gap-1 rounded-full border border-system-regular bg-system-chrome/90 px-2 py-0.5 text-[10px] font-medium text-fg-secondary shadow-sm dark:border-system-regular-dark dark:bg-material-regular-dark/90 dark:text-fg-secondary-dark",ref:i,children:F.jsx("span",{className:"tracking-wide",children:r})}),F.jsxs("div",{className:"flex flex-1 flex-col gap-2 p-4 pt-6",children:[F.jsx("div",{ref:c,className:"relative text-sm font-medium leading-5 text-fg-primary dark:text-fg-primary-dark before:content-[''] before:block before:float-right before:h-5 before:w-[var(--badge-w,64px)] before:ml-2",children:a}),n?F.jsx("div",{className:"flex-1 text-[12px] leading-5 text-fg-tertiary whitespace-pre-line dark:text-fg-tertiary-dark",children:F.jsx("div",{className:"h-full overflow-hidden pr-1",style:l,children:n})}):null]})]})})}function dt1({href:t,title:a,preview:n,thumbUrl:r,badgeLabel:l,icon:o}){const i=t||"#",c=u=>{try{u.button===0&&!u.metaKey&&!u.ctrlKey&&!u.shiftKey&&!u.altKey&&(u.preventDefault(),window.open(i,"_blank","noopener,noreferrer"))}catch(d){console.info(d,"Error occurred while opening link")}};return F.jsxs("a",{href:i,target:"_blank",rel:"external noopener noreferrer",onClick:c,className:"group relative flex min-w-[240px] max-w-[300px] h-[240px] flex-col overflow-hidden rounded-2xl border border-system-regular bg-system-chrome shadow-[0_1px_2px_rgba(16,24,40,0.06)] dark:border-system-regular-dark dark:bg-material-regular-dark dark:shadow-none bg-clip-padding",children:[F.jsxs("div",{className:"relative aspect-video w-full overflow-hidden rounded-t-2xl bg-gradient-to-br from-system-ultrathin to-system-thin dark:from-system-thin-dark dark:to-system-regular-dark",children:[r?F.jsx("img",{src:r,alt:a,className:"h-full w-full object-cover",loading:"lazy",decoding:"async"}):F.jsx("div",{className:"flex h-full w-full items-center justify-center",children:o}),F.jsx("div",{className:"pointer-events-none absolute right-2 top-2 inline-flex items-center gap-1 rounded-full border border-system-regular bg-system-chrome/90 px-2 py-0.5 text-[10px] font-medium text-fg-secondary shadow-sm dark:border-system-regular-dark dark:bg-material-regular-dark/90 dark:text-fg-secondary-dark",children:F.jsx("span",{className:"tracking-wide",children:l})})]}),F.jsxs("div",{className:"space-y-1 p-3",children:[F.jsx("div",{className:"truncate text-sm font-medium text-fg-primary dark:text-fg-primary-dark",children:a}),n?F.jsx("div",{className:"text-[11px] text-fg-tertiary line-clamp-3 dark:text-fg-tertiary-dark",children:n}):null]})]})}const ht1=t=>t.split(/[\s_-]+/).filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" "),pt1=t=>{if(typeof t.title=="string"&&t.title.trim())return t.title.trim();const a=Ik(t,["title","name"]);return a||gh0(t.source_type)||"Resource"},gh0=t=>(t?ht1(String(t)):"")||"Resource",ft1=t=>{switch(t){case"event":return F.jsx(ph0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"});case"content":return F.jsx(fh0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"});case"media":return F.jsx(Ah0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"});default:return F.jsx(vh0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"})}};function vt1({turns:t}){const a=t.filter(i=>i.type==="assistant"),n=(i,c)=>{switch(i.source_type){case"media":return c?"content":"media";case"content":case"event":case"web_page":return i.source_type;default:return}},r=(i,c)=>{const u=`${c.source_type}:${c.source_id}`,d=pt1(c),h=Ik(c,["relatedContentSlug","contentSlug","related_content_slug"])||void 0,A=(h?`/c/${h}`:void 0)||tt1(c.source_type,c.source_id),Z=c.absoluteUrl||c.url||A,H=c.preview,y=Ik(c,["relatedContentId","related_content_id","contentId","content_id","node_id"])||void 0,b=n(c,y);return{key:u,card:{key:`${i.search_id}-${u}`,source_type:c.source_type,display_type:b,title:d,url:Z,thumbUrl:c.thumbUrl,preview:H}}},l=new Map;a.forEach(i=>{(i.type==="assistant"&&Array.isArray(i.data.citations)?i.data.citations:[]).forEach(u=>{const{key:d,card:h}=r(i,u);l.has(d)||l.set(d,h)})});const o=Array.from(l.values());return o.length?F.jsx("div",{className:"space-y-2 animate-fadein",children:F.jsx("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-2",children:o.map(i=>{const c=i.display_type||i.source_type,u=!i.thumbUrl&&(c==="content"||c==="event"||c==="web_page"),d=gh0(c);return u?F.jsx(mt1,{href:i.url,title:i.title,preview:i.preview,badgeLabel:d},i.key):F.jsx(dt1,{href:i.url,title:i.title,preview:i.preview,thumbUrl:i.thumbUrl,badgeLabel:d,icon:ft1(c)},i.key)})})}):null}function At1({prompts:t,onPick:a,loading:n}){return t!=null&&t.length?F.jsx("div",{className:"flex flex-col items-start gap-2 animate-fadein",children:t.map((r,l)=>F.jsx("button",{type:"button",className:["rounded-full border px-4 py-2 text-[15px] transition-colors disabled:opacity-50","text-left","border-system-regular dark:border-system-regular-dark","text-fg-secondary dark:text-fg-secondary-dark","bg-transparent hover:bg-system-ultrathin dark:hover:bg-system-ultrathin-dark","focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/60"].filter(Boolean).join(" "),onClick:()=>a(r),disabled:n,children:r},`${r}-${l}`))}):null}function gt1({text:t}){return t?F.jsx("div",{className:"rounded-xl bg-system-chrome p-4 text-fg-primary shadow-sm transition-colors animate-fadein md:p-6 dark:bg-material-regular-dark dark:text-fg-primary-dark dark:shadow-none",children:F.jsx(J81,{className:"prose prose-sm md:prose-base max-w-none dark:prose-invert",children:t})}):null}function Zt1(t){const{churchSlug:a,suggestedPrompts:n,onAsk:r,onTrack:l,className:o,onReady:i}=t,c=IQ0({churchSlug:a,onAsk:r,onTrack:l}),u=n||[],d=e.useMemo(()=>{const _=[];let w=null;for(const T of c.turns)T.type==="user"?w=T:T.type==="assistant"&&w&&(_.push({user:w,assistant:T}),w=null);return w&&_.push({user:w,assistant:null}),_},[c.turns]),[h,f]=e.useState(d.length?d.length-1:-1),[A,Z]=e.useState("");e.useEffect(()=>{d.length?f(d.length-1):f(-1)},[d.length]);const H=h>=0&&h<d.length?d[h]:null,y=(H==null?void 0:H.assistant)||[...c.turns].reverse().find(_=>_.type==="assistant");e.useEffect(()=>{var w;const _=c.turns[c.turns.length-1];if(_&&_.type==="user"){const T=((w=_.data)==null?void 0:w.prompt)||"";Z(T)}},[c.turns]),e.useEffect(()=>{var _;((_=H==null?void 0:H.user)==null?void 0:_.type)==="user"&&Z(H.user.data.prompt)},[H]),e.useEffect(()=>{t.initialSessionId&&c.loadSession(t.initialSessionId,t.initialTurns||[]),i==null||i()},[t.initialSessionId,t.initialTurns,i]);const b=3,S=["block","hidden sm:block","hidden lg:block"];return F.jsx("div",{className:o,children:F.jsxs("div",{className:"space-y-4",children:[F.jsx("div",{className:"flex items-center gap-2",children:F.jsx("div",{className:"flex-1",children:F.jsx(DQ0,{placeholder:"Ask anything",disabled:c.loading||d.length>0,loading:c.loading,onSubmit:_=>{Z(_),c.submit(_)},showReset:d.length>0,onReset:()=>{Z(""),c.reset()},value:A,onValueChange:Z,autoFocus:!0})})}),d.length===0&&u.length?c.loading?F.jsx("div",{className:"space-y-2 animate-fadein",children:F.jsx("div",{className:"flex gap-3 overflow-x-auto pb-2 no-scrollbar",children:Array.from({length:b}).map((_,w)=>F.jsxs("div",{className:["flex-none min-w-[240px] max-w-[300px] rounded-2xl border border-system-regular bg-system-chrome shadow-[0_1px_2px_rgba(16,24,40,0.06)] dark:border-system-regular-dark dark:bg-material-regular-dark dark:shadow-none",S[w]||"hidden"].filter(Boolean).join(" "),children:[F.jsxs("div",{className:"relative aspect-video w-full overflow-hidden rounded-t-2xl bg-gradient-to-br from-system-ultrathin to-system-thin dark:from-system-thin-dark dark:to-system-regular-dark",children:[F.jsx("div",{className:"h-full w-full animate-pulse bg-system-regular/60 dark:bg-system-regular-dark/60"}),F.jsx("div",{className:"pointer-events-none absolute right-2 top-2 h-5 w-16 rounded-full border border-system-regular bg-system-chrome/80 shadow-sm dark:border-system-regular-dark dark:bg-material-regular-dark/80"})]}),F.jsxs("div",{className:"p-3",children:[F.jsx("div",{className:"h-4 w-40 rounded bg-system-regular animate-pulse dark:bg-system-regular-dark"}),F.jsx("div",{className:"mt-2 h-3 w-24 rounded bg-system-thin animate-pulse dark:bg-system-thin-dark"})]})]},`skeleton-card-${w}`))})}):F.jsx("div",{className:"transition-opacity duration-300 opacity-100",children:F.jsx(At1,{prompts:u,onPick:_=>{Z(_),c.submit(_)},loading:c.loading})}):null,F.jsx(vt1,{turns:y?[y]:[]}),c.loading&&!y?F.jsxs("div",{className:"rounded-xl border border-system-regular bg-system-chrome p-4 animate-pulse dark:border-system-regular-dark dark:bg-material-regular-dark",children:[F.jsx("div",{className:"h-4 w-3/5 rounded bg-system-regular dark:bg-system-regular-dark"}),F.jsx("div",{className:"mt-2 h-4 w-4/5 rounded bg-system-regular dark:bg-system-regular-dark"}),F.jsx("div",{className:"mt-2 h-4 w-2/5 rounded bg-system-regular dark:bg-system-regular-dark"})]}):F.jsx(gt1,{text:y==null?void 0:y.data.result})]})})}var Ht1=_u0();const or=_2(Ht1);var Zh0=function(a,n){var r=or({},a,n);for(var l in a){var o;!a[l]||typeof n[l]!="object"||or(r,(o={},o[l]=or(a[l],n[l]),o))}return r},Mt1=function(a){var n={};return Object.keys(a).sort(function(r,l){return r.localeCompare(l,void 0,{numeric:!0,sensitivity:"base"})}).forEach(function(r){n[r]=a[r]}),n},Et1={breakpoints:[40,52,64].map(function(t){return t+"em"})},Hh0=function(a){return"@media screen and (min-width: "+a+")"},Vt1=function(a,n){return b3(n,a,a)},b3=function(a,n,r,l,o){for(n=n&&n.split?n.split("."):[n],l=0;l<n.length;l++)a=a?a[n[l]]:o;return a===o?r:a},kZ=function t(a){var n={},r=function(i){var c={},u=!1,d=i.theme&&i.theme.disableStyledSystemCache;for(var h in i)if(a[h]){var f=a[h],A=i[h],Z=b3(i.theme,f.scale,f.defaults);if(typeof A=="object"){if(n.breakpoints=!d&&n.breakpoints||b3(i.theme,"breakpoints",Et1.breakpoints),Array.isArray(A)){n.media=!d&&n.media||[null].concat(n.breakpoints.map(Hh0)),c=Zh0(c,yt1(n.media,f,Z,A,i));continue}A!==null&&(c=Zh0(c,bt1(n.breakpoints,f,Z,A,i)),u=!0);continue}or(c,f(A,Z,i))}return u&&(c=Mt1(c)),c};r.config=a,r.propNames=Object.keys(a),r.cache=n;var l=Object.keys(a).filter(function(o){return o!=="config"});return l.length>1&&l.forEach(function(o){var i;r[o]=t((i={},i[o]=a[o],i))}),r},yt1=function(a,n,r,l,o){var i={};return l.slice(0,a.length).forEach(function(c,u){var d=a[u],h=n(c,r,o);if(!d)or(i,h);else{var f;or(i,(f={},f[d]=or({},i[d],h),f))}}),i},bt1=function(a,n,r,l,o){var i={};for(var c in l){var u=a[c],d=l[c],h=n(d,r,o);if(!u)or(i,h);else{var f,A=Hh0(u);or(i,(f={},f[A]=or({},i[A],h),f))}}return i},Dk=function(a){var n=a.properties,r=a.property,l=a.scale,o=a.transform,i=o===void 0?Vt1:o,c=a.defaultScale;n=n||[r];var u=function(h,f,A){var Z={},H=i(h,f,A);if(H!==null)return n.forEach(function(y){Z[y]=H}),Z};return u.scale=l,u.defaults=c,u},ir=function(a){a===void 0&&(a={});var n={};Object.keys(a).forEach(function(l){var o=a[l];if(o===!0){n[l]=Dk({property:l,scale:l});return}if(typeof o=="function"){n[l]=o;return}n[l]=Dk(o)});var r=kZ(n);return r},hl=function(){for(var a={},n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];r.forEach(function(i){!i||!i.config||or(a,i.config)});var o=kZ(a);return o},Lt1=function(a){return typeof a=="number"&&!isNaN(a)},St1=function(a,n){return b3(n,a,!Lt1(a)||a>1?a:a*100+"%")},Ft1={width:{property:"width",scale:"sizes",transform:St1},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0},An=ir(Ft1),zk={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};zk.bg=zk.backgroundColor;var Uk=ir(zk),_t1={fontSizes:[12,14,16,20,24,32,48,64,72]},kt1={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:_t1.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},i7=ir(kt1),wt1={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0},Y4=ir(wt1),Bk={space:[0,4,8,16,32,64,128,256,512]},Ct1={gridGap:{property:"gridGap",scale:"space",defaultScale:Bk.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:Bk.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:Bk.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},gn=ir(Ct1),w6={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}};w6.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},w6.borderTopColor={property:"borderTopColor",scale:"colors"},w6.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},w6.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},w6.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},w6.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},w6.borderBottomColor={property:"borderBottomColor",scale:"colors"},w6.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},w6.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},w6.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},w6.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},w6.borderLeftColor={property:"borderLeftColor",scale:"colors"},w6.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},w6.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},w6.borderRightColor={property:"borderRightColor",scale:"colors"},w6.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var pl=ir(w6),L3={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};L3.bgImage=L3.backgroundImage,L3.bgSize=L3.backgroundSize,L3.bgPosition=L3.backgroundPosition,L3.bgRepeat=L3.backgroundRepeat;var Ys=ir(L3),wZ={space:[0,4,8,16,32,64,128,256,512]},Nt1={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:wZ.space},right:{property:"right",scale:"space",defaultScale:wZ.space},bottom:{property:"bottom",scale:"space",defaultScale:wZ.space},left:{property:"left",scale:"space",defaultScale:wZ.space}},c7=ir(Nt1),A4={space:[0,4,8,16,32,64,128,256,512]},Mh0=function(a){return typeof a=="number"&&!isNaN(a)},s7=function(a,n){if(!Mh0(a))return b3(n,a,a);var r=a<0,l=Math.abs(a),o=b3(n,l,l);return Mh0(o)?o*(r?-1:1):r?"-"+o:o},T2={};T2.margin={margin:{property:"margin",scale:"space",transform:s7,defaultScale:A4.space},marginTop:{property:"marginTop",scale:"space",transform:s7,defaultScale:A4.space},marginRight:{property:"marginRight",scale:"space",transform:s7,defaultScale:A4.space},marginBottom:{property:"marginBottom",scale:"space",transform:s7,defaultScale:A4.space},marginLeft:{property:"marginLeft",scale:"space",transform:s7,defaultScale:A4.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:s7,defaultScale:A4.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:s7,defaultScale:A4.space}},T2.margin.m=T2.margin.margin,T2.margin.mt=T2.margin.marginTop,T2.margin.mr=T2.margin.marginRight,T2.margin.mb=T2.margin.marginBottom,T2.margin.ml=T2.margin.marginLeft,T2.margin.mx=T2.margin.marginX,T2.margin.my=T2.margin.marginY,T2.padding={padding:{property:"padding",scale:"space",defaultScale:A4.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:A4.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:A4.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:A4.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:A4.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:A4.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:A4.space}},T2.padding.p=T2.padding.padding,T2.padding.pt=T2.padding.paddingTop,T2.padding.pr=T2.padding.paddingRight,T2.padding.pb=T2.padding.paddingBottom,T2.padding.pl=T2.padding.paddingLeft,T2.padding.px=T2.padding.paddingX,T2.padding.py=T2.padding.paddingY;var Pt1=ir(T2.margin),Tt1=ir(T2.padding),Eh0=hl(Pt1,Tt1),Vh0=ir({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function nh(){return nh=Object.assign||function(t){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},nh.apply(this,arguments)}var fl=function(a,n,r,l,o){for(n=n&&n.split?n.split("."):[n],l=0;l<n.length;l++)a=a?a[n[l]]:o;return a===o?r:a},$t1=[40,52,64].map(function(t){return t+"em"}),It1={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},Ot1={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},yh0={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},xt1={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},jt1=function(a,n){if(typeof n!="number"||n>=0)return fl(a,n,n);var r=Math.abs(n),l=fl(a,r,r);return typeof l=="string"?"-"+l:l*-1},Rt1=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(t,a){var n;return nh({},t,(n={},n[a]=jt1,n))},{}),Dt1=function(a){return function(n){var r={},l=fl(n,"breakpoints",$t1),o=[null].concat(l.map(function(h){return"@media screen and (min-width: "+h+")"}));for(var i in a){var c=typeof a[i]=="function"?a[i](n):a[i];if(c!=null){if(!Array.isArray(c)){r[i]=c;continue}for(var u=0;u<c.slice(0,o.length).length;u++){var d=o[u];if(!d){r[i]=c[u];continue}r[d]=r[d]||{},c[u]!=null&&(r[d][i]=c[u])}}}return r}},zt1=function t(a){return function(n){n===void 0&&(n={});var r=nh({},It1,{},n.theme||n),l={},o=typeof a=="function"?a(r):a,i=Dt1(o)(r);for(var c in i){var u=i[c],d=typeof u=="function"?u(r):u;if(c==="variant"){var h=t(fl(r,d))(r);l=nh({},l,{},h);continue}if(d&&typeof d=="object"){l[c]=t(d)(r);continue}var f=fl(Ot1,c,c),A=fl(xt1,f),Z=fl(r,A,fl(r,f,{})),H=fl(Rt1,f,fl),y=H(Z,d,d);if(yh0[f])for(var b=yh0[f],S=0;S<b.length;S++)l[b[S]]=y;else l[f]=y}return l}},CZ=function(a){var n,r=a.scale,l=a.prop,o=l===void 0?"variant":l,i=a.variants,c=i===void 0?{}:i,u=a.key,d;Object.keys(c).length?d=function(Z,H,y){return zt1(b3(H,Z,null))(y.theme)}:d=function(Z,H){return b3(H,Z,null)},d.scale=r||u,d.defaults=c;var h=(n={},n[o]=d,n),f=kZ(h);return f};CZ({key:"buttons"}),CZ({key:"textStyles",prop:"textStyle"}),CZ({key:"colorStyles",prop:"colors"});var bh0=An.width,Lh0=An.height,Sh0=An.minWidth,Fh0=An.minHeight,_h0=An.maxWidth,kh0=An.maxHeight,wh0=An.size,Ut1=An.verticalAlign,Ch0=An.display,Nh0=An.overflow;An.overflowX,An.overflowY;var Ph0=Uk.opacity,Th0=i7.fontSize,$h0=i7.fontFamily,Ih0=i7.fontWeight,Oh0=i7.lineHeight,xh0=i7.textAlign,jh0=i7.fontStyle,Rh0=i7.letterSpacing,Dh0=Y4.alignItems,zh0=Y4.alignContent;Y4.justifyItems;var Uh0=Y4.justifyContent,Bh0=Y4.flexWrap,qh0=Y4.flexDirection,Wh0=Y4.flex,Gh0=Y4.flexGrow;Y4.flexShrink;var Yh0=Y4.flexBasis,Kh0=Y4.justifySelf,Qh0=Y4.alignSelf,Xh0=Y4.order,Jh0=gn.gridGap,ep0=gn.gridColumnGap,tp0=gn.gridRowGap,ap0=gn.gridColumn,np0=gn.gridRow,rp0=gn.gridAutoFlow,lp0=gn.gridAutoColumns,op0=gn.gridAutoRows,ip0=gn.gridTemplateColumns,cp0=gn.gridTemplateRows,sp0=gn.gridTemplateAreas,up0=gn.gridArea,mp0=pl.borderWidth,dp0=pl.borderStyle,hp0=pl.borderColor,pp0=pl.borderTop,fp0=pl.borderRight,vp0=pl.borderBottom,Ap0=pl.borderLeft,gp0=pl.borderRadius,Zp0=Ys.backgroundImage,Hp0=Ys.backgroundSize,Mp0=Ys.backgroundPosition,Ep0=Ys.backgroundRepeat,Vp0=c7.zIndex,yp0=c7.top,bp0=c7.right,Lp0=c7.bottom,Sp0=c7.left,NZ=function(a){var n=a.prop,r=a.cssProperty,l=a.alias,o=a.key,i=a.transformValue,c=a.scale,u=a.properties,d={};d[n]=Dk({properties:u,property:r||n,scale:o,defaultScale:c,transform:i}),l&&(d[l]=d[n]);var h=kZ(d);return h};const Fp0=NZ({prop:"textDecoration",cssProperty:"text-decoration"}),_p0=NZ({prop:"textTransform",cssProperty:"text-transform"}),Bt1=NZ({prop:"cursor",cssProperty:"cursor"}),qt1=NZ({prop:"objectFit",cssProperty:"object-fit"}),Wt1=hl(Uk,Th0,Eh0,bh0),Gt1=hl($h0,jh0,Ih0,Rh0,Oh0,xh0,Fp0,_p0),Yt1=hl(Ch0,Lh0,kh0,_h0,Fh0,Sh0,wh0,CZ),Kt1=hl(zh0,Dh0,Qh0,Wh0,Yh0,qh0,Gh0,Bh0,Uh0,Kh0,Xh0),Qt1=hl(up0,lp0,rp0,op0,ap0,ep0,Jh0,np0,tp0,sp0,ip0,cp0),Xt1=hl(pl,vp0,hp0,Ap0,gp0,fp0,dp0,pp0,mp0),Jt1=hl(Lp0,Sp0,c7,bp0,yp0,Vp0),e61=hl(Ys,Zp0,Mp0,Ep0,Hp0,Vh0,Bt1,Ph0,Nh0,qt1),p2=hl(Wt1,Gt1,Yt1,Kt1,Qt1,Xt1,Jt1,e61),A6={...Uk.propTypes,...Th0.propTypes,...Eh0.propTypes,...bh0.propTypes,...$h0.propTypes,...jh0.propTypes,...Ih0.propTypes,...Rh0.propTypes,...Oh0.propTypes,...xh0.propTypes,...Fp0.propTypes,..._p0.propTypes,...Ch0.propTypes,...Lh0.propTypes,...kh0.propTypes,..._h0.propTypes,...Fh0.propTypes,...Sh0.propTypes,...wh0.propTypes,...Ut1.propTypes,...zh0.propTypes,...Dh0.propTypes,...Qh0.propTypes,...Wh0.propTypes,...Yh0.propTypes,...qh0.propTypes,...Gh0.propTypes,...Bh0.propTypes,...Uh0.propTypes,...Kh0.propTypes,...Xh0.propTypes,...up0.propTypes,...lp0.propTypes,...rp0.propTypes,...op0.propTypes,...ap0.propTypes,...ep0.propTypes,...Jh0.propTypes,...np0.propTypes,...tp0.propTypes,...sp0.propTypes,...ip0.propTypes,...cp0.propTypes,...pl.propTypes,...vp0.propTypes,...hp0.propTypes,...Ap0.propTypes,...gp0.propTypes,...fp0.propTypes,...dp0.propTypes,...pp0.propTypes,...mp0.propTypes,...Lp0.propTypes,...Sp0.propTypes,...c7.propTypes,...bp0.propTypes,...yp0.propTypes,...Vp0.propTypes,...Ys.propTypes,...Zp0.propTypes,...Mp0.propTypes,...Ep0.propTypes,...Hp0.propTypes,...Vh0.propTypes,...Ph0.propTypes,...Nh0.propTypes};function $e(t,a=16){return`${t.split("px")[0]/a}rem`}var qk=function(t,a){return qk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(n[l]=r[l])},qk(t,a)};function Ke(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");qk(t,a);function n(){this.constructor=t}t.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)}var q=function(){return q=Object.assign||function(a){for(var n,r=1,l=arguments.length;r<l;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(a[o]=n[o])}return a},q.apply(this,arguments)};function Gt(t,a){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&a.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(t);l<r.length;l++)a.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(t,r[l])&&(n[r[l]]=t[r[l]]);return n}function H0(t,a,n,r){function l(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function c(h){try{d(r.next(h))}catch(f){i(f)}}function u(h){try{d(r.throw(h))}catch(f){i(f)}}function d(h){h.done?o(h.value):l(h.value).then(c,u)}d((r=r.apply(t,a||[])).next())})}function M0(t,a){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,l,o,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(d){return function(h){return u([d,h])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,d[0]&&(n=0)),n;)try{if(r=1,l&&(o=d[0]&2?l.return:d[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,d[1])).done)return o;switch(l=0,o&&(d=[d[0]&2,o.value]),d[0]){case 0:case 1:o=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,l=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){n.label=d[1];break}if(d[0]===6&&n.label<o[1]){n.label=o[1],o=d;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(d);break}o[2]&&n.ops.pop(),n.trys.pop();continue}d=a.call(t,n)}catch(h){d=[6,h],l=0}finally{r=o=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Yo(t){var a=typeof Symbol=="function"&&Symbol.iterator,n=a&&t[a],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function wt(t,a){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),l,o=[],i;try{for(;(a===void 0||a-- >0)&&!(l=r.next()).done;)o.push(l.value)}catch(c){i={error:c}}finally{try{l&&!l.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o}function K1(t,a,n){if(n||arguments.length===2)for(var r=0,l=a.length,o;r<l;r++)(o||!(r in a))&&(o||(o=Array.prototype.slice.call(a,0,r)),o[r]=a[r]);return t.concat(o||Array.prototype.slice.call(a))}typeof SuppressedError=="function"&&SuppressedError;var Wk="Invariant Violation",kp0=Object.setPrototypeOf,t61=kp0===void 0?function(t,a){return t.__proto__=a,t}:kp0,wp0=function(t){Ke(a,t);function a(n){n===void 0&&(n=Wk);var r=t.call(this,typeof n=="number"?Wk+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=Wk,t61(r,a.prototype),r}return a}(Error);function u7(t,a){if(!t)throw new wp0(a)}var PZ=["debug","log","warn","error","silent"],Gk=PZ.indexOf("log");function TZ(t){return function(){if(PZ.indexOf(t)>=Gk){var a=console[t]||console.log;return a.apply(console,arguments)}}}(function(t){t.debug=TZ("debug"),t.log=TZ("log"),t.warn=TZ("warn"),t.error=TZ("error")})(u7||(u7={}));function Cp0(t){var a=PZ[Gk];return Gk=Math.max(0,PZ.indexOf(t)),a}var Yk="3.11.8";function cr(t){try{return t()}catch{}}const Kk=cr(function(){return globalThis})||cr(function(){return window})||cr(function(){return self})||cr(function(){return global})||cr(function(){return cr.constructor("return this")()});var Np0=new Map;function Qk(t){var a=Np0.get(t)||1;return Np0.set(t,a+1),"".concat(t,":").concat(a,":").concat(Math.random().toString(36).slice(2))}function Pp0(t,a){a===void 0&&(a=0);var n=Qk("stringifyForDisplay");return JSON.stringify(t,function(r,l){return l===void 0?n:l},a).split(JSON.stringify(n)).join("<undefined>")}function $Z(t){return function(a){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(typeof a=="number"){var l=a;a=Xk(l),a||(a=Jk(l,n),n=[])}t.apply(void 0,[a].concat(n))}}var Me=Object.assign(function(a,n){for(var r=[],l=2;l<arguments.length;l++)r[l-2]=arguments[l];a||u7(a,Xk(n,r)||Jk(n,r))},{debug:$Z(u7.debug),log:$Z(u7.log),warn:$Z(u7.warn),error:$Z(u7.error)});function Pa(t){for(var a=[],n=1;n<arguments.length;n++)a[n-1]=arguments[n];return new wp0(Xk(t,a)||Jk(t,a))}var Tp0=Symbol.for("ApolloErrorMessageHandler_"+Yk);function $p0(t){if(typeof t=="string")return t;try{return Pp0(t,2).slice(0,1e3)}catch{return"<non-serializable>"}}function Xk(t,a){if(a===void 0&&(a=[]),!!t)return Kk[Tp0]&&Kk[Tp0](t,a.map($p0))}function Jk(t,a){if(a===void 0&&(a=[]),!!t)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:Yk,message:t,args:a.map($p0)})))}function IZ(t,a){if(!!!t)throw new Error(a)}function a61(t){return typeof t=="object"&&t!==null}function n61(t,a){if(!!!t)throw new Error("Unexpected invariant triggered.")}const r61=/\r\n|[\n\r]/g;function ew(t,a){let n=0,r=1;for(const l of t.body.matchAll(r61)){if(typeof l.index=="number"||n61(!1),l.index>=a)break;n=l.index+l[0].length,r+=1}return{line:r,column:a+1-n}}function l61(t){return Ip0(t.source,ew(t.source,t.start))}function Ip0(t,a){const n=t.locationOffset.column-1,r="".padStart(n)+t.body,l=a.line-1,o=t.locationOffset.line-1,i=a.line+o,c=a.line===1?n:0,u=a.column+c,d=`${t.name}:${i}:${u}
864
+ `))}function u(Z,H,y,b){const S=y.enter("tableCell"),_=y.enter("phrasing"),w=y.containerPhrasing(Z,{...b,before:o,after:o});return _(),S(),w}function d(Z,H){return m21(Z,{align:H,alignDelimiters:r,padding:n,stringLength:l})}function h(Z,H,y){const b=Z.children;let S=-1;const _=[],w=H.enter("table");for(;++S<b.length;)_[S]=f(b[S],H,y);return w(),_}function f(Z,H,y){const b=Z.children;let S=-1;const _=[],w=H.enter("tableRow");for(;++S<b.length;)_[S]=u(b[S],Z,H,y);return w(),_}function A(Z,H,y){let b=Qd0.inlineCode(Z,H,y);return y.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function t81(){return{exit:{taskListCheckValueChecked:Jd0,taskListCheckValueUnchecked:Jd0,paragraph:n81}}}function a81(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:r81}}}function Jd0(t){const a=this.stack[this.stack.length-2];a.type,a.checked=t.type==="taskListCheckValueChecked"}function n81(t){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const l=a.children;let o=-1,i;for(;++o<l.length;){const c=l[o];if(c.type==="paragraph"){i=c;break}}i===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function r81(t,a,n,r){const l=t.children[0],o=typeof t.checked=="boolean"&&l&&l.type==="paragraph",i="["+(t.checked?"x":" ")+"] ",c=n.createTracker(r);o&&c.move(i);let u=Qd0.listItem(t,a,n,{...r,...c.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),u;function d(h){return h+i}}function l81(){return[Pe1(),t21(),l21(),G21(),t81()]}function o81(t){return{extensions:[Te1(),a21(t),o21(),e81(t),a81()]}}const eh0={}.hasOwnProperty;function i81(t){const a={};let n=-1;for(;++n<t.length;)c81(a,t[n]);return a}function c81(t,a){let n;for(n in a){const l=(eh0.call(t,n)?t[n]:void 0)||(t[n]={}),o=a[n];let i;if(o)for(i in o){eh0.call(l,i)||(l[i]=[]);const c=o[i];s81(l[i],Array.isArray(c)?c:c?[c]:[])}}}function s81(t,a){let n=-1;const r=[];for(;++n<a.length;)(a[n].add==="after"?t:r).push(a[n]);p4(t,0,0,r)}const eh=LZ(/[A-Za-z]/),Pk=LZ(/[\dA-Za-z]/);function u81(t){return t!==null&&(t<32||t===127)}function Ws(t){return t!==null&&(t<0||t===32)}const th0=LZ(new RegExp("\\p{P}|\\p{S}","u")),th=LZ(/\s/);function LZ(t){return a;function a(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}const m81={tokenize:A81,partial:!0},ah0={tokenize:g81,partial:!0},nh0={tokenize:Z81,partial:!0},rh0={tokenize:H81,partial:!0},d81={tokenize:M81,partial:!0},lh0={name:"wwwAutolink",tokenize:f81,previous:ih0},oh0={name:"protocolAutolink",tokenize:v81,previous:ch0},y3={name:"emailAutolink",tokenize:p81,previous:sh0},dl={};function h81(){return{text:dl}}let o7=48;for(;o7<123;)dl[o7]=y3,o7++,o7===58?o7=65:o7===91&&(o7=97);dl[43]=y3,dl[45]=y3,dl[46]=y3,dl[95]=y3,dl[72]=[y3,oh0],dl[104]=[y3,oh0],dl[87]=[y3,lh0],dl[119]=[y3,lh0];function p81(t,a,n){const r=this;let l,o;return i;function i(f){return!Tk(f)||!sh0.call(r,r.previous)||$k(r.events)?n(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),c(f))}function c(f){return Tk(f)?(t.consume(f),c):f===64?(t.consume(f),u):n(f)}function u(f){return f===46?t.check(d81,h,d)(f):f===45||f===95||Pk(f)?(o=!0,t.consume(f),u):h(f)}function d(f){return t.consume(f),l=!0,u}function h(f){return o&&l&&eh(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),a(f)):n(f)}}function f81(t,a,n){const r=this;return l;function l(i){return i!==87&&i!==119||!ih0.call(r,r.previous)||$k(r.events)?n(i):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(m81,t.attempt(ah0,t.attempt(nh0,o),n),n)(i))}function o(i){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),a(i)}}function v81(t,a,n){const r=this;let l="",o=!1;return i;function i(f){return(f===72||f===104)&&ch0.call(r,r.previous)&&!$k(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),l+=String.fromCodePoint(f),t.consume(f),c):n(f)}function c(f){if(eh(f)&&l.length<5)return l+=String.fromCodePoint(f),t.consume(f),c;if(f===58){const A=l.toLowerCase();if(A==="http"||A==="https")return t.consume(f),u}return n(f)}function u(f){return f===47?(t.consume(f),o?d:(o=!0,u)):n(f)}function d(f){return f===null||u81(f)||Ws(f)||th(f)||th0(f)?n(f):t.attempt(ah0,t.attempt(nh0,h),n)(f)}function h(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),a(f)}}function A81(t,a,n){let r=0;return l;function l(i){return(i===87||i===119)&&r<3?(r++,t.consume(i),l):i===46&&r===3?(t.consume(i),o):n(i)}function o(i){return i===null?n(i):a(i)}}function g81(t,a,n){let r,l,o;return i;function i(d){return d===46||d===95?t.check(rh0,u,c)(d):d===null||Ws(d)||th(d)||d!==45&&th0(d)?u(d):(o=!0,t.consume(d),i)}function c(d){return d===95?r=!0:(l=r,r=void 0),t.consume(d),i}function u(d){return l||r||!o?n(d):a(d)}}function Z81(t,a){let n=0,r=0;return l;function l(i){return i===40?(n++,t.consume(i),l):i===41&&r<n?o(i):i===33||i===34||i===38||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===93||i===95||i===126?t.check(rh0,a,o)(i):i===null||Ws(i)||th(i)?a(i):(t.consume(i),l)}function o(i){return i===41&&r++,t.consume(i),l}}function H81(t,a,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(t.consume(c),r):c===38?(t.consume(c),o):c===93?(t.consume(c),l):c===60||c===null||Ws(c)||th(c)?a(c):n(c)}function l(c){return c===null||c===40||c===91||Ws(c)||th(c)?a(c):r(c)}function o(c){return eh(c)?i(c):n(c)}function i(c){return c===59?(t.consume(c),r):eh(c)?(t.consume(c),i):n(c)}}function M81(t,a,n){return r;function r(o){return t.consume(o),l}function l(o){return Pk(o)?n(o):a(o)}}function ih0(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Ws(t)}function ch0(t){return!eh(t)}function sh0(t){return!(t===47||Tk(t))}function Tk(t){return t===43||t===45||t===46||t===95||Pk(t)}function $k(t){let a=t.length,n=!1;for(;a--;){const r=t[a][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function E81(t){return t!==null&&t<-2}function SZ(t){return t!==null&&(t<0||t===32)}function V81(t){return t===-2||t===-1||t===32}const y81={partial:!0,tokenize:b81};function b81(t,a,n){return r;function r(o){return V81(o)?y2(t,l,"linePrefix")(o):l(o)}function l(o){return o===null||E81(o)?a(o):n(o)}}const L81={tokenize:P81,partial:!0};function S81(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:w81,continuation:{tokenize:C81},exit:N81}},text:{91:{name:"gfmFootnoteCall",tokenize:k81},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:F81,resolveTo:_81}}}}function F81(t,a,n){const r=this;let l=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;l--;){const u=r.events[l][1];if(u.type==="labelImage"){i=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return c;function c(u){if(!i||!i._balanced)return n(u);const d=rr(r.sliceSerialize({start:i.end,end:r.now()}));return d.codePointAt(0)!==94||!o.includes(d.slice(1))?n(u):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(u),t.exit("gfmFootnoteCallLabelMarker"),a(u))}}function _81(t,a){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},t[t.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[t[n+1],t[n+2],["enter",r,a],t[n+3],t[n+4],["enter",l,a],["exit",l,a],["enter",o,a],["enter",i,a],["exit",i,a],["exit",o,a],t[t.length-2],t[t.length-1],["exit",r,a]];return t.splice(n,t.length-n+1,...c),t}function k81(t,a,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,i;return c;function c(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",d)}function d(f){if(o>999||f===93&&!i||f===null||f===91||SZ(f))return n(f);if(f===93){t.exit("chunkString");const A=t.exit("gfmFootnoteCallString");return l.includes(rr(r.sliceSerialize(A)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),a):n(f)}return SZ(f)||(i=!0),o++,t.consume(f),f===92?h:d}function h(f){return f===91||f===92||f===93?(t.consume(f),o++,d):d(f)}}function w81(t,a,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i=0,c;return u;function u(H){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(H),t.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(H){return H===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(H),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",h):n(H)}function h(H){if(i>999||H===93&&!c||H===null||H===91||SZ(H))return n(H);if(H===93){t.exit("chunkString");const y=t.exit("gfmFootnoteDefinitionLabelString");return o=rr(r.sliceSerialize(y)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(H),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),A}return SZ(H)||(c=!0),i++,t.consume(H),H===92?f:h}function f(H){return H===91||H===92||H===93?(t.consume(H),i++,h):h(H)}function A(H){return H===58?(t.enter("definitionMarker"),t.consume(H),t.exit("definitionMarker"),l.includes(o)||l.push(o),y2(t,Z,"gfmFootnoteDefinitionWhitespace")):n(H)}function Z(H){return a(H)}}function C81(t,a,n){return t.check(y81,a,t.attempt(L81,a,n))}function N81(t){t.exit("gfmFootnoteDefinition")}function P81(t,a,n){const r=this;return y2(t,l,"gfmFootnoteDefinitionIndent",5);function l(o){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?a(o):n(o)}}function T81(t){let n=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:l};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function l(i,c){let u=-1;for(;++u<i.length;)if(i[u][0]==="enter"&&i[u][1].type==="strikethroughSequenceTemporary"&&i[u][1]._close){let d=u;for(;d--;)if(i[d][0]==="exit"&&i[d][1].type==="strikethroughSequenceTemporary"&&i[d][1]._open&&i[u][1].end.offset-i[u][1].start.offset===i[d][1].end.offset-i[d][1].start.offset){i[u][1].type="strikethroughSequence",i[d][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},i[d][1].start),end:Object.assign({},i[u][1].end)},f={type:"strikethroughText",start:Object.assign({},i[d][1].end),end:Object.assign({},i[u][1].start)},A=[["enter",h,c],["enter",i[d][1],c],["exit",i[d][1],c],["enter",f,c]],Z=c.parser.constructs.insideSpan.null;Z&&p4(A,A.length,0,uZ(Z,i.slice(d+1,u),c)),p4(A,A.length,0,[["exit",f,c],["enter",i[u][1],c],["exit",i[u][1],c],["exit",h,c]]),p4(i,d-1,u-d+3,A),u=d+A.length-2;break}}for(u=-1;++u<i.length;)i[u][1].type==="strikethroughSequenceTemporary"&&(i[u][1].type="data");return i}function o(i,c,u){const d=this.previous,h=this.events;let f=0;return A;function A(H){return d===126&&h[h.length-1][1].type!=="characterEscape"?u(H):(i.enter("strikethroughSequenceTemporary"),Z(H))}function Z(H){const y=Bs(d);if(H===126)return f>1?u(H):(i.consume(H),f++,Z);if(f<2&&!n)return u(H);const b=i.exit("strikethroughSequenceTemporary"),S=Bs(H);return b._open=!S||S===2&&!!y,b._close=!y||y===2&&!!S,c(H)}}}function FZ(t){return t!==null&&t<-2}function uh0(t){return t!==null&&(t<0||t===32)}function ah(t){return t===-2||t===-1||t===32}class $81{constructor(){this.map=[]}add(a,n,r){I81(this,a,n,r)}consume(a){if(this.map.sort(function(o,i){return o[0]-i[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(a.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),a.length=this.map[n][0];r.push(a.slice()),a.length=0;let l=r.pop();for(;l;){for(const o of l)a.push(o);l=r.pop()}this.map.length=0}}function I81(t,a,n,r){let l=0;if(!(n===0&&r.length===0)){for(;l<t.map.length;){if(t.map[l][0]===a){t.map[l][1]+=n,t.map[l][2].push(...r);return}l+=1}t.map.push([a,n,r])}}function O81(t,a){let n=!1;const r=[];for(;a<t.length;){const l=t[a];if(n){if(l[0]==="enter")l[1].type==="tableContent"&&r.push(t[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(l[1].type==="tableContent"){if(t[a-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(l[1].type==="tableDelimiterRow")break}else l[0]==="enter"&&l[1].type==="tableDelimiterRow"&&(n=!0);a+=1}return r}function x81(){return{flow:{null:{name:"table",tokenize:j81,resolveAll:R81}}}}function j81(t,a,n){const r=this;let l=0,o=0,i;return c;function c(j){let X=r.events.length-1;for(;X>-1;){const o0=r.events[X][1].type;if(o0==="lineEnding"||o0==="linePrefix")X--;else break}const G=X>-1?r.events[X][1].type:null,t0=G==="tableHead"||G==="tableRow"?P:u;return t0===P&&r.parser.lazy[r.now().line]?n(j):t0(j)}function u(j){return t.enter("tableHead"),t.enter("tableRow"),d(j)}function d(j){return j===124||(i=!0,o+=1),h(j)}function h(j){return j===null?n(j):FZ(j)?o>1?(o=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(j),t.exit("lineEnding"),Z):n(j):ah(j)?y2(t,h,"whitespace")(j):(o+=1,i&&(i=!1,l+=1),j===124?(t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),i=!0,h):(t.enter("data"),f(j)))}function f(j){return j===null||j===124||uh0(j)?(t.exit("data"),h(j)):(t.consume(j),j===92?A:f)}function A(j){return j===92||j===124?(t.consume(j),f):f(j)}function Z(j){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(j):(t.enter("tableDelimiterRow"),i=!1,ah(j)?y2(t,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):H(j))}function H(j){return j===45||j===58?b(j):j===124?(i=!0,t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),y):C(j)}function y(j){return ah(j)?y2(t,b,"whitespace")(j):b(j)}function b(j){return j===58?(o+=1,i=!0,t.enter("tableDelimiterMarker"),t.consume(j),t.exit("tableDelimiterMarker"),S):j===45?(o+=1,S(j)):j===null||FZ(j)?T(j):C(j)}function S(j){return j===45?(t.enter("tableDelimiterFiller"),_(j)):C(j)}function _(j){return j===45?(t.consume(j),_):j===58?(i=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(j),t.exit("tableDelimiterMarker"),w):(t.exit("tableDelimiterFiller"),w(j))}function w(j){return ah(j)?y2(t,T,"whitespace")(j):T(j)}function T(j){return j===124?H(j):j===null||FZ(j)?!i||l!==o?C(j):(t.exit("tableDelimiterRow"),t.exit("tableHead"),a(j)):C(j)}function C(j){return n(j)}function P(j){return t.enter("tableRow"),x(j)}function x(j){return j===124?(t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),x):j===null||FZ(j)?(t.exit("tableRow"),a(j)):ah(j)?y2(t,x,"whitespace")(j):(t.enter("data"),z(j))}function z(j){return j===null||j===124||uh0(j)?(t.exit("data"),x(j)):(t.consume(j),j===92?Y:z)}function Y(j){return j===92||j===124?(t.consume(j),z):z(j)}}function R81(t,a){let n=-1,r=!0,l=0,o=[0,0,0,0],i=[0,0,0,0],c=!1,u=0,d,h,f;const A=new $81;for(;++n<t.length;){const Z=t[n],H=Z[1];Z[0]==="enter"?H.type==="tableHead"?(c=!1,u!==0&&(mh0(A,a,u,d,h),h=void 0,u=0),d={type:"table",start:Object.assign({},H.start),end:Object.assign({},H.end)},A.add(n,0,[["enter",d,a]])):H.type==="tableRow"||H.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],i=[0,n+1,0,0],c&&(c=!1,h={type:"tableBody",start:Object.assign({},H.start),end:Object.assign({},H.end)},A.add(n,0,[["enter",h,a]])),l=H.type==="tableDelimiterRow"?2:h?3:1):l&&(H.type==="data"||H.type==="tableDelimiterMarker"||H.type==="tableDelimiterFiller")?(r=!1,i[2]===0&&(o[1]!==0&&(i[0]=i[1],f=_Z(A,a,o,l,void 0,f),o=[0,0,0,0]),i[2]=n)):H.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(i[0]=i[1],f=_Z(A,a,o,l,void 0,f)),o=i,i=[o[1],n,0,0])):H.type==="tableHead"?(c=!0,u=n):H.type==="tableRow"||H.type==="tableDelimiterRow"?(u=n,o[1]!==0?(i[0]=i[1],f=_Z(A,a,o,l,n,f)):i[1]!==0&&(f=_Z(A,a,i,l,n,f)),l=0):l&&(H.type==="data"||H.type==="tableDelimiterMarker"||H.type==="tableDelimiterFiller")&&(i[3]=n)}for(u!==0&&mh0(A,a,u,d,h),A.consume(a.events),n=-1;++n<a.events.length;){const Z=a.events[n];Z[0]==="enter"&&Z[1].type==="table"&&(Z[1]._align=O81(a.events,n))}return t}function _Z(t,a,n,r,l,o){const i=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(o.end=Object.assign({},Gs(a.events,n[0])),t.add(n[0],0,[["exit",o,a]]));const u=Gs(a.events,n[1]);if(o={type:i,start:Object.assign({},u),end:Object.assign({},u)},t.add(n[1],0,[["enter",o,a]]),n[2]!==0){const d=Gs(a.events,n[2]),h=Gs(a.events,n[3]),f={type:c,start:Object.assign({},d),end:Object.assign({},h)};if(t.add(n[2],0,[["enter",f,a]]),r!==2){const A=a.events[n[2]],Z=a.events[n[3]];if(A[1].end=Object.assign({},Z[1].end),A[1].type="chunkText",A[1].contentType="text",n[3]>n[2]+1){const H=n[2]+1,y=n[3]-n[2]-1;t.add(H,y,[])}}t.add(n[3]+1,0,[["exit",f,a]])}return l!==void 0&&(o.end=Object.assign({},Gs(a.events,l)),t.add(l,0,[["exit",o,a]]),o=void 0),o}function mh0(t,a,n,r,l){const o=[],i=Gs(a.events,n);l&&(l.end=Object.assign({},i),o.push(["exit",l,a])),r.end=Object.assign({},i),o.push(["exit",r,a]),t.add(n+1,0,o)}function Gs(t,a){const n=t[a],r=n[0]==="enter"?"start":"end";return n[1][r]}function D81(t){return t!==null&&t<-2}function z81(t){return t!==null&&(t<0||t===32)}function U81(t){return t===-2||t===-1||t===32}const B81={name:"tasklistCheck",tokenize:W81};function q81(){return{text:{91:B81}}}function W81(t,a,n){const r=this;return l;function l(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(u),t.exit("taskListCheckMarker"),o)}function o(u){return z81(u)?(t.enter("taskListCheckValueUnchecked"),t.consume(u),t.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(t.enter("taskListCheckValueChecked"),t.consume(u),t.exit("taskListCheckValueChecked"),i):n(u)}function i(u){return u===93?(t.enter("taskListCheckMarker"),t.consume(u),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),c):n(u)}function c(u){return D81(u)?a(u):U81(u)?t.check({tokenize:G81},a,n)(u):n(u)}}function G81(t,a,n){return y2(t,r,"whitespace");function r(l){return l===null?n(l):a(l)}}function Y81(t){return i81([h81(),S81(),T81(t),x81(),q81()])}const K81={};function Q81(t){const a=this,n=t||K81,r=a.data(),l=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);l.push(Y81(n)),o.push(l81()),i.push(o81(n))}const X81={p:({className:t,...a})=>F.jsx("p",{...a,className:["mb-3 last:mb-0 leading-relaxed",t].filter(Boolean).join(" ")}),a:({className:t,...a})=>F.jsx("a",{...a,target:"_blank",rel:"external noopener noreferrer",className:["text-action hover:underline",t].filter(Boolean).join(" ")}),ul:({className:t,...a})=>F.jsx("ul",{...a,className:["mb-3 list-disc space-y-2 pl-5 last:mb-0",t].filter(Boolean).join(" ")}),ol:({className:t,...a})=>F.jsx("ol",{...a,className:["mb-3 list-decimal space-y-2 pl-5 last:mb-0",t].filter(Boolean).join(" ")}),li:({className:t,...a})=>F.jsx("li",{...a,className:["leading-relaxed",t].filter(Boolean).join(" ")}),h1:({className:t,...a})=>F.jsx("h1",{...a,className:["mb-4 text-xl font-semibold",t].filter(Boolean).join(" ")}),h2:({className:t,...a})=>F.jsx("h2",{...a,className:["mb-3 text-lg font-semibold",t].filter(Boolean).join(" ")}),h3:({className:t,...a})=>F.jsx("h3",{...a,className:["mb-2 text-base font-semibold",t].filter(Boolean).join(" ")}),blockquote:({className:t,...a})=>F.jsx("blockquote",{...a,className:["mb-3 border-l-4 border-system-regular pl-4 italic text-fg-secondary","dark:border-system-regular-dark dark:text-fg-secondary-dark",t].filter(Boolean).join(" ")}),hr:({className:t,...a})=>F.jsx("hr",{...a,className:["my-4 border-system-regular","dark:border-system-regular-dark",t].filter(Boolean).join(" ")})};function J81({children:t,className:a}){return t?F.jsx("div",{className:a,children:F.jsx(Ee1,{remarkPlugins:[Q81],components:X81,children:t})}):null}const et1=t=>(t||"").replace(":","-"),tt1=(t,a)=>{const n=(a||"").trim();if(!n||String(t).toLowerCase()!=="media")return;const r=et1(n);if(r)return`/c/${r}`},at1=t=>{if(t){if(typeof t=="string")try{const a=JSON.parse(t);if(a&&typeof a=="object"&&!Array.isArray(a))return a}catch{return}if(typeof t=="object"&&!Array.isArray(t))return t}},dh0=(t,a,n)=>{if(!t||typeof t!="object"||n.has(t))return;n.add(t);const r=a.toLowerCase(),l=Array.isArray(t)?t.map((o,i)=>[String(i),o]):Object.entries(t);for(const[o,i]of l)if(o.toLowerCase()===r&&typeof i=="string"){const c=i.trim();if(c)return c}for(const[,o]of l){const i=dh0(o,a,n);if(i)return i}},hh0=(t,a)=>{const n=at1(t);if(!n)return;const r=n[a];return typeof r=="string"&&r.trim()?r.trim():dh0(n,a,new Set)},Ik=(t,a)=>{for(const r of a){const l=hh0(t.metadata,r);if(l)return l}const n=t.snippets||[];for(const r of n)for(const l of a){const o=hh0(r==null?void 0:r.metadata,l);if(o)return o}},nt1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm60-80v56a12,12,0,0,1-24,0V143.32a12,12,0,0,1-9.37-22l16-8A12,12,0,0,1,112,124Zm61.49,33.88L163.9,168H168a12,12,0,0,1,0,24H136a12,12,0,0,1-8.71-20.25L155.45,142a4,4,0,0,0,.55-2,4,4,0,0,0-7.47-2,12,12,0,0,1-20.78-12A28,28,0,0,1,180,140a27.77,27.77,0,0,1-5.64,16.86A10.63,10.63,0,0,1,173.49,157.88Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),e.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-98-90v64a6,6,0,0,1-12,0V129.71l-7.32,3.66a6,6,0,1,1-5.36-10.74l16-8A6,6,0,0,1,110,120Zm59.57,29.25L148,178h20a6,6,0,0,1,0,12H136a6,6,0,0,1-4.8-9.6L160,142a10,10,0,1,0-16.65-11A6,6,0,1,1,133,125a22,22,0,1,1,36.62,24.26Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212ZM108,120v64a4,4,0,0,1-8,0V126.47l-10.21,5.11a4,4,0,0,1-3.58-7.16l16-8A4,4,0,0,1,108,120Zm60,28-24,32h24a4,4,0,0,1,0,8H136a4,4,0,0,1-3.2-6.4l28.78-38.37A11.88,11.88,0,0,0,164,136a12,12,0,0,0-22.4-6,4,4,0,0,1-6.92-4A20,20,0,0,1,172,136,19.79,19.79,0,0,1,168,148Z"}))]]),Ok=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:nt1}));Ok.displayName="CalendarIcon";const ph0=Ok,rt1=Object.freeze(Object.defineProperty({__proto__:null,Calendar:ph0,CalendarIcon:Ok},Symbol.toStringTag,{value:"Module"})),lt1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"}))]]),xk=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:lt1}));xk.displayName="FileTextIcon";const fh0=xk,ot1=Object.freeze(Object.defineProperty({__proto__:null,FileText:fh0,FileTextIcon:xk},Symbol.toStringTag,{value:"Module"})),it1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"}))]]),jk=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:it1}));jk.displayName="FileIcon";const vh0=jk,ct1=Object.freeze(Object.defineProperty({__proto__:null,File:vh0,FileIcon:jk},Symbol.toStringTag,{value:"Module"})),st1=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M249.45,69.31a12,12,0,0,0-12.51,1L212,88.43V72a20,20,0,0,0-20-20H32A20,20,0,0,0,12,72V184a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V167.57l24.94,18.14A12,12,0,0,0,256,176V80A12,12,0,0,0,249.45,69.31ZM188,180H36V76H188Zm44-27.57-20-14.54V118.11l20-14.54Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M200,72V184a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H192A8,8,0,0,1,200,72Z",opacity:"0.2"}),e.createElement("path",{d:"M251.77,73a8,8,0,0,0-8.21.39L208,97.05V72a16,16,0,0,0-16-16H32A16,16,0,0,0,16,72V184a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V159l35.56,23.71A8,8,0,0,0,248,184a8,8,0,0,0,8-8V80A8,8,0,0,0,251.77,73ZM192,184H32V72H192V184Zm48-22.95-32-21.33V116.28L240,95Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M192,72V184a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V72A16,16,0,0,1,32,56H176A16,16,0,0,1,192,72Zm58,.25a8.23,8.23,0,0,0-6.63,1.22L209.78,95.86A4,4,0,0,0,208,99.19v57.62a4,4,0,0,0,1.78,3.33l33.78,22.52a8,8,0,0,0,8.58.19,8.33,8.33,0,0,0,3.86-7.17V80A8,8,0,0,0,250,72.25Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M250.83,74.71a6,6,0,0,0-6.16.3L206,100.79V72a14,14,0,0,0-14-14H32A14,14,0,0,0,18,72V184a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V155.21L244.67,181a6,6,0,0,0,9.33-5V80A6,6,0,0,0,250.83,74.71ZM194,184a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V72a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2Zm48-19.21-36-24V115.21l36-24Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M251.77,73a8,8,0,0,0-8.21.39L208,97.05V72a16,16,0,0,0-16-16H32A16,16,0,0,0,16,72V184a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V159l35.56,23.71A8,8,0,0,0,248,184a8,8,0,0,0,8-8V80A8,8,0,0,0,251.77,73ZM192,184H32V72H192V184Zm48-22.95-32-21.33V116.28L240,95Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M249.89,76.47a4,4,0,0,0-4.11.2L204,104.53V72a12,12,0,0,0-12-12H32A12,12,0,0,0,20,72V184a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V151.47l41.78,27.86A4,4,0,0,0,252,176V80A4,4,0,0,0,249.89,76.47ZM196,184a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V72a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4Zm48-15.47-40-26.67V114.14l40-26.67Z"}))]]),Rk=e.forwardRef((t,a)=>e.createElement(E,{ref:a,...t,weights:st1}));Rk.displayName="VideoCameraIcon";const Ah0=Rk,ut1=Object.freeze(Object.defineProperty({__proto__:null,VideoCamera:Ah0,VideoCameraIcon:Rk},Symbol.toStringTag,{value:"Module"}));function mt1({href:t,title:a,preview:n,badgeLabel:r}){const l={WebkitMaskImage:"linear-gradient(180deg, rgba(0, 0, 0, 0.98) 60%, rgba(0, 0, 0, 0) 100%)",maskImage:"linear-gradient(180deg, rgba(0, 0, 0, 0.98) 60%, rgba(0, 0, 0, 0) 100%)"},o=t||"#",i=e.useRef(null),c=e.useRef(null);e.useEffect(()=>{const d=()=>{var h;try{const f=((h=i.current)==null?void 0:h.offsetWidth)??0;c.current&&c.current.style.setProperty("--badge-w",`${f}px`)}catch{}};return d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[]);const u=d=>{try{d.button===0&&!d.metaKey&&!d.ctrlKey&&!d.shiftKey&&!d.altKey&&(d.preventDefault(),window.open(o,"_blank","noopener,noreferrer"))}catch{}};return F.jsx("a",{href:o,target:"_blank",rel:"external noopener noreferrer",onClick:u,className:"group relative flex min-w-[240px] max-w-[300px] h-[240px] flex-col overflow-hidden rounded-2xl border border-system-regular bg-system-chrome shadow-[0_1px_2px_rgba(16,24,40,0.06)] dark:border-system-regular-dark dark:bg-material-regular-dark dark:shadow-none bg-clip-padding",children:F.jsxs("div",{className:"relative flex h-full flex-col",children:[F.jsx("div",{className:"pointer-events-none absolute right-2 top-2 inline-flex items-center gap-1 rounded-full border border-system-regular bg-system-chrome/90 px-2 py-0.5 text-[10px] font-medium text-fg-secondary shadow-sm dark:border-system-regular-dark dark:bg-material-regular-dark/90 dark:text-fg-secondary-dark",ref:i,children:F.jsx("span",{className:"tracking-wide",children:r})}),F.jsxs("div",{className:"flex flex-1 flex-col gap-2 p-4 pt-6",children:[F.jsx("div",{ref:c,className:"relative text-sm font-medium leading-5 text-fg-primary dark:text-fg-primary-dark before:content-[''] before:block before:float-right before:h-5 before:w-[var(--badge-w,64px)] before:ml-2",children:a}),n?F.jsx("div",{className:"flex-1 text-[12px] leading-5 text-fg-tertiary whitespace-pre-line dark:text-fg-tertiary-dark",children:F.jsx("div",{className:"h-full overflow-hidden pr-1",style:l,children:n})}):null]})]})})}function dt1({href:t,title:a,preview:n,thumbUrl:r,badgeLabel:l,icon:o}){const i=t||"#",c=u=>{try{u.button===0&&!u.metaKey&&!u.ctrlKey&&!u.shiftKey&&!u.altKey&&(u.preventDefault(),window.open(i,"_blank","noopener,noreferrer"))}catch(d){console.info(d,"Error occurred while opening link")}};return F.jsxs("a",{href:i,target:"_blank",rel:"external noopener noreferrer",onClick:c,className:"group relative flex min-w-[240px] max-w-[300px] h-[240px] flex-col overflow-hidden rounded-2xl border border-system-regular bg-system-chrome shadow-[0_1px_2px_rgba(16,24,40,0.06)] dark:border-system-regular-dark dark:bg-material-regular-dark dark:shadow-none bg-clip-padding",children:[F.jsxs("div",{className:"relative aspect-video w-full overflow-hidden rounded-t-2xl bg-gradient-to-br from-system-ultrathin to-system-thin dark:from-system-thin-dark dark:to-system-regular-dark",children:[r?F.jsx("img",{src:r,alt:a,className:"h-full w-full object-cover",loading:"lazy",decoding:"async"}):F.jsx("div",{className:"flex h-full w-full items-center justify-center",children:o}),F.jsx("div",{className:"pointer-events-none absolute right-2 top-2 inline-flex items-center gap-1 rounded-full border border-system-regular bg-system-chrome/90 px-2 py-0.5 text-[10px] font-medium text-fg-secondary shadow-sm dark:border-system-regular-dark dark:bg-material-regular-dark/90 dark:text-fg-secondary-dark",children:F.jsx("span",{className:"tracking-wide",children:l})})]}),F.jsxs("div",{className:"space-y-1 p-3",children:[F.jsx("div",{className:"truncate text-sm font-medium text-fg-primary dark:text-fg-primary-dark",children:a}),n?F.jsx("div",{className:"text-[11px] text-fg-tertiary line-clamp-3 dark:text-fg-tertiary-dark",children:n}):null]})]})}const ht1=t=>t.split(/[\s_-]+/).filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" "),pt1=t=>{if(typeof t.title=="string"&&t.title.trim())return t.title.trim();const a=Ik(t,["title","name"]);return a||gh0(t.source_type)||"Resource"},gh0=t=>(t?ht1(String(t)):"")||"Resource",ft1=t=>{switch(t){case"event":return F.jsx(ph0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"});case"content":return F.jsx(fh0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"});case"media":return F.jsx(Ah0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"});default:return F.jsx(vh0,{className:"h-8 w-8 text-fg-tertiary dark:text-fg-tertiary-dark"})}};function vt1({turns:t}){const a=t.filter(i=>i.type==="assistant"),n=(i,c)=>{switch(i.source_type){case"media":return c?"content":"media";case"content":case"event":case"web_page":return i.source_type;default:return}},r=(i,c)=>{const u=`${c.source_type}:${c.source_id}`,d=pt1(c),h=Ik(c,["relatedContentSlug","contentSlug","related_content_slug"])||void 0,A=(h?`/c/${h}`:void 0)||tt1(c.source_type,c.source_id),Z=c.absoluteUrl||c.url||A,H=c.preview,y=Ik(c,["relatedContentId","related_content_id","contentId","content_id","node_id"])||void 0,b=n(c,y);return{key:u,card:{key:`${i.search_id}-${u}`,source_type:c.source_type,display_type:b,title:d,url:Z,thumbUrl:c.thumbUrl,preview:H}}},l=new Map;a.forEach(i=>{(i.type==="assistant"&&Array.isArray(i.data.citations)?i.data.citations:[]).forEach(u=>{const{key:d,card:h}=r(i,u);l.has(d)||l.set(d,h)})});const o=Array.from(l.values());return o.length?F.jsx("div",{className:"space-y-2 animate-fadein",children:F.jsx("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pb-2",children:o.map(i=>{const c=i.display_type||i.source_type,u=!i.thumbUrl&&(c==="content"||c==="event"||c==="web_page"),d=gh0(c);return u?F.jsx(mt1,{href:i.url,title:i.title,preview:i.preview,badgeLabel:d},i.key):F.jsx(dt1,{href:i.url,title:i.title,preview:i.preview,thumbUrl:i.thumbUrl,badgeLabel:d,icon:ft1(c)},i.key)})})}):null}function At1({prompts:t,onPick:a,loading:n}){return t!=null&&t.length?F.jsx("div",{className:"flex flex-col items-start gap-2 animate-fadein",children:t.map((r,l)=>F.jsx("button",{type:"button",className:["rounded-full border px-4 py-2 text-[15px] transition-colors disabled:opacity-50","text-left","border-system-regular dark:border-system-regular-dark","text-fg-secondary dark:text-fg-secondary-dark","bg-transparent hover:bg-system-ultrathin dark:hover:bg-system-ultrathin-dark","focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/60"].filter(Boolean).join(" "),onClick:()=>a(r),disabled:n,children:r},`${r}-${l}`))}):null}function gt1({text:t}){return t?F.jsx("div",{className:"rounded-xl bg-system-chrome p-4 text-fg-primary shadow-sm transition-colors animate-fadein md:p-6 dark:bg-material-regular-dark dark:text-fg-primary-dark dark:shadow-none",children:F.jsx(J81,{className:"prose prose-sm md:prose-base max-w-none dark:prose-invert",children:t})}):null}function Zt1(t){const{churchSlug:a,suggestedPrompts:n,onAsk:r,onTrack:l,className:o,onReady:i}=t,c=IQ0({churchSlug:a,onAsk:r,onTrack:l}),u=n||[],d=e.useMemo(()=>{const _=[];let w=null;for(const T of c.turns)T.type==="user"?w=T:T.type==="assistant"&&w&&(_.push({user:w,assistant:T}),w=null);return w&&_.push({user:w,assistant:null}),_},[c.turns]),[h,f]=e.useState(d.length?d.length-1:-1),[A,Z]=e.useState("");e.useEffect(()=>{d.length?f(d.length-1):f(-1)},[d.length]);const H=h>=0&&h<d.length?d[h]:null,y=(H==null?void 0:H.assistant)||[...c.turns].reverse().find(_=>_.type==="assistant");e.useEffect(()=>{var w;const _=c.turns[c.turns.length-1];if(_&&_.type==="user"){const T=((w=_.data)==null?void 0:w.prompt)||"";Z(T)}},[c.turns]),e.useEffect(()=>{var _;((_=H==null?void 0:H.user)==null?void 0:_.type)==="user"&&Z(H.user.data.prompt)},[H]),e.useEffect(()=>{t.initialSessionId&&c.loadSession(t.initialSessionId,t.initialTurns||[]),i==null||i()},[t.initialSessionId,t.initialTurns,i]);const b=3,S=["block","hidden sm:block","hidden lg:block"];return F.jsx("div",{className:o,children:F.jsxs("div",{className:"space-y-4",children:[F.jsx("div",{className:"flex items-center gap-2",children:F.jsx("div",{className:"flex-1",children:F.jsx(DQ0,{placeholder:"Ask anything",disabled:c.loading||d.length>0,loading:c.loading,onSubmit:_=>{Z(_),c.submit(_)},showReset:d.length>0,onReset:()=>{Z(""),c.reset()},value:A,onValueChange:Z,autoFocus:!0})})}),d.length===0&&u.length?c.loading?F.jsx("div",{className:"space-y-2 animate-fadein",children:F.jsx("div",{className:"flex gap-3 overflow-x-auto pb-2 no-scrollbar",children:Array.from({length:b}).map((_,w)=>F.jsxs("div",{className:["flex-none min-w-[240px] max-w-[300px] rounded-2xl border border-system-regular bg-system-chrome shadow-[0_1px_2px_rgba(16,24,40,0.06)] dark:border-system-regular-dark dark:bg-material-regular-dark dark:shadow-none",S[w]||"hidden"].filter(Boolean).join(" "),children:[F.jsxs("div",{className:"relative aspect-video w-full overflow-hidden rounded-t-2xl bg-gradient-to-br from-system-ultrathin to-system-thin dark:from-system-thin-dark dark:to-system-regular-dark",children:[F.jsx("div",{className:"h-full w-full animate-pulse bg-system-regular/60 dark:bg-system-regular-dark/60"}),F.jsx("div",{className:"pointer-events-none absolute right-2 top-2 h-5 w-16 rounded-full border border-system-regular bg-system-chrome/80 shadow-sm dark:border-system-regular-dark dark:bg-material-regular-dark/80"})]}),F.jsxs("div",{className:"p-3",children:[F.jsx("div",{className:"h-4 w-40 rounded bg-system-regular animate-pulse dark:bg-system-regular-dark"}),F.jsx("div",{className:"mt-2 h-3 w-24 rounded bg-system-thin animate-pulse dark:bg-system-thin-dark"})]})]},`skeleton-card-${w}`))})}):F.jsx("div",{className:"transition-opacity duration-300 opacity-100",children:F.jsx(At1,{prompts:u,onPick:_=>{Z(_),c.submit(_)},loading:c.loading})}):null,F.jsx(vt1,{turns:y?[y]:[]}),c.loading&&!y?F.jsxs("div",{className:"rounded-xl border border-system-regular bg-system-chrome p-4 animate-pulse dark:border-system-regular-dark dark:bg-material-regular-dark",children:[F.jsx("div",{className:"h-4 w-3/5 rounded bg-system-regular dark:bg-system-regular-dark"}),F.jsx("div",{className:"mt-2 h-4 w-4/5 rounded bg-system-regular dark:bg-system-regular-dark"}),F.jsx("div",{className:"mt-2 h-4 w-2/5 rounded bg-system-regular dark:bg-system-regular-dark"})]}):F.jsx(gt1,{text:y==null?void 0:y.data.result})]})})}var Ht1=_u0();const or=_2(Ht1);var Zh0=function(a,n){var r=or({},a,n);for(var l in a){var o;!a[l]||typeof n[l]!="object"||or(r,(o={},o[l]=or(a[l],n[l]),o))}return r},Mt1=function(a){var n={};return Object.keys(a).sort(function(r,l){return r.localeCompare(l,void 0,{numeric:!0,sensitivity:"base"})}).forEach(function(r){n[r]=a[r]}),n},Et1={breakpoints:[40,52,64].map(function(t){return t+"em"})},Hh0=function(a){return"@media screen and (min-width: "+a+")"},Vt1=function(a,n){return b3(n,a,a)},b3=function(a,n,r,l,o){for(n=n&&n.split?n.split("."):[n],l=0;l<n.length;l++)a=a?a[n[l]]:o;return a===o?r:a},kZ=function t(a){var n={},r=function(i){var c={},u=!1,d=i.theme&&i.theme.disableStyledSystemCache;for(var h in i)if(a[h]){var f=a[h],A=i[h],Z=b3(i.theme,f.scale,f.defaults);if(typeof A=="object"){if(n.breakpoints=!d&&n.breakpoints||b3(i.theme,"breakpoints",Et1.breakpoints),Array.isArray(A)){n.media=!d&&n.media||[null].concat(n.breakpoints.map(Hh0)),c=Zh0(c,yt1(n.media,f,Z,A,i));continue}A!==null&&(c=Zh0(c,bt1(n.breakpoints,f,Z,A,i)),u=!0);continue}or(c,f(A,Z,i))}return u&&(c=Mt1(c)),c};r.config=a,r.propNames=Object.keys(a),r.cache=n;var l=Object.keys(a).filter(function(o){return o!=="config"});return l.length>1&&l.forEach(function(o){var i;r[o]=t((i={},i[o]=a[o],i))}),r},yt1=function(a,n,r,l,o){var i={};return l.slice(0,a.length).forEach(function(c,u){var d=a[u],h=n(c,r,o);if(!d)or(i,h);else{var f;or(i,(f={},f[d]=or({},i[d],h),f))}}),i},bt1=function(a,n,r,l,o){var i={};for(var c in l){var u=a[c],d=l[c],h=n(d,r,o);if(!u)or(i,h);else{var f,A=Hh0(u);or(i,(f={},f[A]=or({},i[A],h),f))}}return i},Dk=function(a){var n=a.properties,r=a.property,l=a.scale,o=a.transform,i=o===void 0?Vt1:o,c=a.defaultScale;n=n||[r];var u=function(h,f,A){var Z={},H=i(h,f,A);if(H!==null)return n.forEach(function(y){Z[y]=H}),Z};return u.scale=l,u.defaults=c,u},ir=function(a){a===void 0&&(a={});var n={};Object.keys(a).forEach(function(l){var o=a[l];if(o===!0){n[l]=Dk({property:l,scale:l});return}if(typeof o=="function"){n[l]=o;return}n[l]=Dk(o)});var r=kZ(n);return r},hl=function(){for(var a={},n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];r.forEach(function(i){!i||!i.config||or(a,i.config)});var o=kZ(a);return o},Lt1=function(a){return typeof a=="number"&&!isNaN(a)},St1=function(a,n){return b3(n,a,!Lt1(a)||a>1?a:a*100+"%")},Ft1={width:{property:"width",scale:"sizes",transform:St1},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0},An=ir(Ft1),zk={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};zk.bg=zk.backgroundColor;var Uk=ir(zk),_t1={fontSizes:[12,14,16,20,24,32,48,64,72]},kt1={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:_t1.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},i7=ir(kt1),wt1={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0},Y4=ir(wt1),Bk={space:[0,4,8,16,32,64,128,256,512]},Ct1={gridGap:{property:"gridGap",scale:"space",defaultScale:Bk.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:Bk.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:Bk.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},gn=ir(Ct1),w6={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}};w6.borderTopWidth={property:"borderTopWidth",scale:"borderWidths"},w6.borderTopColor={property:"borderTopColor",scale:"colors"},w6.borderTopStyle={property:"borderTopStyle",scale:"borderStyles"},w6.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},w6.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},w6.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},w6.borderBottomColor={property:"borderBottomColor",scale:"colors"},w6.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},w6.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},w6.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},w6.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},w6.borderLeftColor={property:"borderLeftColor",scale:"colors"},w6.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},w6.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},w6.borderRightColor={property:"borderRightColor",scale:"colors"},w6.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var pl=ir(w6),L3={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};L3.bgImage=L3.backgroundImage,L3.bgSize=L3.backgroundSize,L3.bgPosition=L3.backgroundPosition,L3.bgRepeat=L3.backgroundRepeat;var Ys=ir(L3),wZ={space:[0,4,8,16,32,64,128,256,512]},Nt1={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:wZ.space},right:{property:"right",scale:"space",defaultScale:wZ.space},bottom:{property:"bottom",scale:"space",defaultScale:wZ.space},left:{property:"left",scale:"space",defaultScale:wZ.space}},c7=ir(Nt1),A4={space:[0,4,8,16,32,64,128,256,512]},Mh0=function(a){return typeof a=="number"&&!isNaN(a)},s7=function(a,n){if(!Mh0(a))return b3(n,a,a);var r=a<0,l=Math.abs(a),o=b3(n,l,l);return Mh0(o)?o*(r?-1:1):r?"-"+o:o},T2={};T2.margin={margin:{property:"margin",scale:"space",transform:s7,defaultScale:A4.space},marginTop:{property:"marginTop",scale:"space",transform:s7,defaultScale:A4.space},marginRight:{property:"marginRight",scale:"space",transform:s7,defaultScale:A4.space},marginBottom:{property:"marginBottom",scale:"space",transform:s7,defaultScale:A4.space},marginLeft:{property:"marginLeft",scale:"space",transform:s7,defaultScale:A4.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:s7,defaultScale:A4.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:s7,defaultScale:A4.space}},T2.margin.m=T2.margin.margin,T2.margin.mt=T2.margin.marginTop,T2.margin.mr=T2.margin.marginRight,T2.margin.mb=T2.margin.marginBottom,T2.margin.ml=T2.margin.marginLeft,T2.margin.mx=T2.margin.marginX,T2.margin.my=T2.margin.marginY,T2.padding={padding:{property:"padding",scale:"space",defaultScale:A4.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:A4.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:A4.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:A4.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:A4.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:A4.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:A4.space}},T2.padding.p=T2.padding.padding,T2.padding.pt=T2.padding.paddingTop,T2.padding.pr=T2.padding.paddingRight,T2.padding.pb=T2.padding.paddingBottom,T2.padding.pl=T2.padding.paddingLeft,T2.padding.px=T2.padding.paddingX,T2.padding.py=T2.padding.paddingY;var Pt1=ir(T2.margin),Tt1=ir(T2.padding),Eh0=hl(Pt1,Tt1),Vh0=ir({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function nh(){return nh=Object.assign||function(t){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},nh.apply(this,arguments)}var fl=function(a,n,r,l,o){for(n=n&&n.split?n.split("."):[n],l=0;l<n.length;l++)a=a?a[n[l]]:o;return a===o?r:a},$t1=[40,52,64].map(function(t){return t+"em"}),It1={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},Ot1={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},yh0={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},xt1={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},jt1=function(a,n){if(typeof n!="number"||n>=0)return fl(a,n,n);var r=Math.abs(n),l=fl(a,r,r);return typeof l=="string"?"-"+l:l*-1},Rt1=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(t,a){var n;return nh({},t,(n={},n[a]=jt1,n))},{}),Dt1=function(a){return function(n){var r={},l=fl(n,"breakpoints",$t1),o=[null].concat(l.map(function(h){return"@media screen and (min-width: "+h+")"}));for(var i in a){var c=typeof a[i]=="function"?a[i](n):a[i];if(c!=null){if(!Array.isArray(c)){r[i]=c;continue}for(var u=0;u<c.slice(0,o.length).length;u++){var d=o[u];if(!d){r[i]=c[u];continue}r[d]=r[d]||{},c[u]!=null&&(r[d][i]=c[u])}}}return r}},zt1=function t(a){return function(n){n===void 0&&(n={});var r=nh({},It1,{},n.theme||n),l={},o=typeof a=="function"?a(r):a,i=Dt1(o)(r);for(var c in i){var u=i[c],d=typeof u=="function"?u(r):u;if(c==="variant"){var h=t(fl(r,d))(r);l=nh({},l,{},h);continue}if(d&&typeof d=="object"){l[c]=t(d)(r);continue}var f=fl(Ot1,c,c),A=fl(xt1,f),Z=fl(r,A,fl(r,f,{})),H=fl(Rt1,f,fl),y=H(Z,d,d);if(yh0[f])for(var b=yh0[f],S=0;S<b.length;S++)l[b[S]]=y;else l[f]=y}return l}},CZ=function(a){var n,r=a.scale,l=a.prop,o=l===void 0?"variant":l,i=a.variants,c=i===void 0?{}:i,u=a.key,d;Object.keys(c).length?d=function(Z,H,y){return zt1(b3(H,Z,null))(y.theme)}:d=function(Z,H){return b3(H,Z,null)},d.scale=r||u,d.defaults=c;var h=(n={},n[o]=d,n),f=kZ(h);return f};CZ({key:"buttons"}),CZ({key:"textStyles",prop:"textStyle"}),CZ({key:"colorStyles",prop:"colors"});var bh0=An.width,Lh0=An.height,Sh0=An.minWidth,Fh0=An.minHeight,_h0=An.maxWidth,kh0=An.maxHeight,wh0=An.size,Ut1=An.verticalAlign,Ch0=An.display,Nh0=An.overflow;An.overflowX,An.overflowY;var Ph0=Uk.opacity,Th0=i7.fontSize,$h0=i7.fontFamily,Ih0=i7.fontWeight,Oh0=i7.lineHeight,xh0=i7.textAlign,jh0=i7.fontStyle,Rh0=i7.letterSpacing,Dh0=Y4.alignItems,zh0=Y4.alignContent;Y4.justifyItems;var Uh0=Y4.justifyContent,Bh0=Y4.flexWrap,qh0=Y4.flexDirection,Wh0=Y4.flex,Gh0=Y4.flexGrow;Y4.flexShrink;var Yh0=Y4.flexBasis,Kh0=Y4.justifySelf,Qh0=Y4.alignSelf,Xh0=Y4.order,Jh0=gn.gridGap,ep0=gn.gridColumnGap,tp0=gn.gridRowGap,ap0=gn.gridColumn,np0=gn.gridRow,rp0=gn.gridAutoFlow,lp0=gn.gridAutoColumns,op0=gn.gridAutoRows,ip0=gn.gridTemplateColumns,cp0=gn.gridTemplateRows,sp0=gn.gridTemplateAreas,up0=gn.gridArea,mp0=pl.borderWidth,dp0=pl.borderStyle,hp0=pl.borderColor,pp0=pl.borderTop,fp0=pl.borderRight,vp0=pl.borderBottom,Ap0=pl.borderLeft,gp0=pl.borderRadius,Zp0=Ys.backgroundImage,Hp0=Ys.backgroundSize,Mp0=Ys.backgroundPosition,Ep0=Ys.backgroundRepeat,Vp0=c7.zIndex,yp0=c7.top,bp0=c7.right,Lp0=c7.bottom,Sp0=c7.left,NZ=function(a){var n=a.prop,r=a.cssProperty,l=a.alias,o=a.key,i=a.transformValue,c=a.scale,u=a.properties,d={};d[n]=Dk({properties:u,property:r||n,scale:o,defaultScale:c,transform:i}),l&&(d[l]=d[n]);var h=kZ(d);return h};const Fp0=NZ({prop:"textDecoration",cssProperty:"text-decoration"}),_p0=NZ({prop:"textTransform",cssProperty:"text-transform"}),Bt1=NZ({prop:"cursor",cssProperty:"cursor"}),qt1=NZ({prop:"objectFit",cssProperty:"object-fit"}),Wt1=hl(Uk,Th0,Eh0,bh0),Gt1=hl($h0,jh0,Ih0,Rh0,Oh0,xh0,Fp0,_p0),Yt1=hl(Ch0,Lh0,kh0,_h0,Fh0,Sh0,wh0,CZ),Kt1=hl(zh0,Dh0,Qh0,Wh0,Yh0,qh0,Gh0,Bh0,Uh0,Kh0,Xh0),Qt1=hl(up0,lp0,rp0,op0,ap0,ep0,Jh0,np0,tp0,sp0,ip0,cp0),Xt1=hl(pl,vp0,hp0,Ap0,gp0,fp0,dp0,pp0,mp0),Jt1=hl(Lp0,Sp0,c7,bp0,yp0,Vp0),e61=hl(Ys,Zp0,Mp0,Ep0,Hp0,Vh0,Bt1,Ph0,Nh0,qt1),p2=hl(Wt1,Gt1,Yt1,Kt1,Qt1,Xt1,Jt1,e61),A6={...Uk.propTypes,...Th0.propTypes,...Eh0.propTypes,...bh0.propTypes,...$h0.propTypes,...jh0.propTypes,...Ih0.propTypes,...Rh0.propTypes,...Oh0.propTypes,...xh0.propTypes,...Fp0.propTypes,..._p0.propTypes,...Ch0.propTypes,...Lh0.propTypes,...kh0.propTypes,..._h0.propTypes,...Fh0.propTypes,...Sh0.propTypes,...wh0.propTypes,...Ut1.propTypes,...zh0.propTypes,...Dh0.propTypes,...Qh0.propTypes,...Wh0.propTypes,...Yh0.propTypes,...qh0.propTypes,...Gh0.propTypes,...Bh0.propTypes,...Uh0.propTypes,...Kh0.propTypes,...Xh0.propTypes,...up0.propTypes,...lp0.propTypes,...rp0.propTypes,...op0.propTypes,...ap0.propTypes,...ep0.propTypes,...Jh0.propTypes,...np0.propTypes,...tp0.propTypes,...sp0.propTypes,...ip0.propTypes,...cp0.propTypes,...pl.propTypes,...vp0.propTypes,...hp0.propTypes,...Ap0.propTypes,...gp0.propTypes,...fp0.propTypes,...dp0.propTypes,...pp0.propTypes,...mp0.propTypes,...Lp0.propTypes,...Sp0.propTypes,...c7.propTypes,...bp0.propTypes,...yp0.propTypes,...Vp0.propTypes,...Ys.propTypes,...Zp0.propTypes,...Mp0.propTypes,...Ep0.propTypes,...Hp0.propTypes,...Vh0.propTypes,...Ph0.propTypes,...Nh0.propTypes};function $e(t,a=16){return`${t.split("px")[0]/a}rem`}var qk=function(t,a){return qk=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(n[l]=r[l])},qk(t,a)};function Ke(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");qk(t,a);function n(){this.constructor=t}t.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)}var q=function(){return q=Object.assign||function(a){for(var n,r=1,l=arguments.length;r<l;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(a[o]=n[o])}return a},q.apply(this,arguments)};function Gt(t,a){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&a.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(t);l<r.length;l++)a.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(t,r[l])&&(n[r[l]]=t[r[l]]);return n}function H0(t,a,n,r){function l(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function c(h){try{d(r.next(h))}catch(f){i(f)}}function u(h){try{d(r.throw(h))}catch(f){i(f)}}function d(h){h.done?o(h.value):l(h.value).then(c,u)}d((r=r.apply(t,a||[])).next())})}function M0(t,a){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,l,o,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(d){return function(h){return u([d,h])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,d[0]&&(n=0)),n;)try{if(r=1,l&&(o=d[0]&2?l.return:d[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,d[1])).done)return o;switch(l=0,o&&(d=[d[0]&2,o.value]),d[0]){case 0:case 1:o=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,l=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){n.label=d[1];break}if(d[0]===6&&n.label<o[1]){n.label=o[1],o=d;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(d);break}o[2]&&n.ops.pop(),n.trys.pop();continue}d=a.call(t,n)}catch(h){d=[6,h],l=0}finally{r=o=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Yo(t){var a=typeof Symbol=="function"&&Symbol.iterator,n=a&&t[a],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function wt(t,a){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),l,o=[],i;try{for(;(a===void 0||a-- >0)&&!(l=r.next()).done;)o.push(l.value)}catch(c){i={error:c}}finally{try{l&&!l.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o}function K1(t,a,n){if(n||arguments.length===2)for(var r=0,l=a.length,o;r<l;r++)(o||!(r in a))&&(o||(o=Array.prototype.slice.call(a,0,r)),o[r]=a[r]);return t.concat(o||Array.prototype.slice.call(a))}typeof SuppressedError=="function"&&SuppressedError;var Wk="Invariant Violation",kp0=Object.setPrototypeOf,t61=kp0===void 0?function(t,a){return t.__proto__=a,t}:kp0,wp0=function(t){Ke(a,t);function a(n){n===void 0&&(n=Wk);var r=t.call(this,typeof n=="number"?Wk+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=Wk,t61(r,a.prototype),r}return a}(Error);function u7(t,a){if(!t)throw new wp0(a)}var PZ=["debug","log","warn","error","silent"],Gk=PZ.indexOf("log");function TZ(t){return function(){if(PZ.indexOf(t)>=Gk){var a=console[t]||console.log;return a.apply(console,arguments)}}}(function(t){t.debug=TZ("debug"),t.log=TZ("log"),t.warn=TZ("warn"),t.error=TZ("error")})(u7||(u7={}));function Cp0(t){var a=PZ[Gk];return Gk=Math.max(0,PZ.indexOf(t)),a}var Yk="3.11.8";function cr(t){try{return t()}catch{}}const Kk=cr(function(){return globalThis})||cr(function(){return window})||cr(function(){return self})||cr(function(){return global})||cr(function(){return cr.constructor("return this")()});var Np0=new Map;function Qk(t){var a=Np0.get(t)||1;return Np0.set(t,a+1),"".concat(t,":").concat(a,":").concat(Math.random().toString(36).slice(2))}function Pp0(t,a){a===void 0&&(a=0);var n=Qk("stringifyForDisplay");return JSON.stringify(t,function(r,l){return l===void 0?n:l},a).split(JSON.stringify(n)).join("<undefined>")}function $Z(t){return function(a){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(typeof a=="number"){var l=a;a=Xk(l),a||(a=Jk(l,n),n=[])}t.apply(void 0,[a].concat(n))}}var Me=Object.assign(function(a,n){for(var r=[],l=2;l<arguments.length;l++)r[l-2]=arguments[l];a||u7(a,Xk(n,r)||Jk(n,r))},{debug:$Z(u7.debug),log:$Z(u7.log),warn:$Z(u7.warn),error:$Z(u7.error)});function Pa(t){for(var a=[],n=1;n<arguments.length;n++)a[n-1]=arguments[n];return new wp0(Xk(t,a)||Jk(t,a))}var Tp0=Symbol.for("ApolloErrorMessageHandler_"+Yk);function $p0(t){if(typeof t=="string")return t;try{return Pp0(t,2).slice(0,1e3)}catch{return"<non-serializable>"}}function Xk(t,a){if(a===void 0&&(a=[]),!!t)return Kk[Tp0]&&Kk[Tp0](t,a.map($p0))}function Jk(t,a){if(a===void 0&&(a=[]),!!t)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:Yk,message:t,args:a.map($p0)})))}function IZ(t,a){if(!!!t)throw new Error(a)}function a61(t){return typeof t=="object"&&t!==null}function n61(t,a){if(!!!t)throw new Error("Unexpected invariant triggered.")}const r61=/\r\n|[\n\r]/g;function ew(t,a){let n=0,r=1;for(const l of t.body.matchAll(r61)){if(typeof l.index=="number"||n61(!1),l.index>=a)break;n=l.index+l[0].length,r+=1}return{line:r,column:a+1-n}}function l61(t){return Ip0(t.source,ew(t.source,t.start))}function Ip0(t,a){const n=t.locationOffset.column-1,r="".padStart(n)+t.body,l=a.line-1,o=t.locationOffset.line-1,i=a.line+o,c=a.line===1?n:0,u=a.column+c,d=`${t.name}:${i}:${u}
865
865
  `,h=r.split(/\r\n|[\n\r]/g),f=h[l];if(f.length>120){const A=Math.floor(u/80),Z=u%80,H=[];for(let y=0;y<f.length;y+=80)H.push(f.slice(y,y+80));return d+Op0([[`${i} |`,H[0]],...H.slice(1,A+1).map(y=>["|",y]),["|","^".padStart(Z)],["|",H[A+1]]])}return d+Op0([[`${i-1} |`,h[l-1]],[`${i} |`,f],["|","^".padStart(u)],[`${i+1} |`,h[l+1]]])}function Op0(t){const a=t.filter(([r,l])=>l!==void 0),n=Math.max(...a.map(([r])=>r.length));return a.map(([r,l])=>r.padStart(n)+(l?" "+l:"")).join(`
866
866
  `)}function o61(t){const a=t[0];return a==null||"kind"in a||"length"in a?{nodes:a,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:a}class tw extends Error{constructor(a,...n){var r,l,o;const{nodes:i,source:c,positions:u,path:d,originalError:h,extensions:f}=o61(n);super(a),this.name="GraphQLError",this.path=d??void 0,this.originalError=h??void 0,this.nodes=xp0(Array.isArray(i)?i:i?[i]:void 0);const A=xp0((r=this.nodes)===null||r===void 0?void 0:r.map(H=>H.loc).filter(H=>H!=null));this.source=c??(A==null||(l=A[0])===null||l===void 0?void 0:l.source),this.positions=u??(A==null?void 0:A.map(H=>H.start)),this.locations=u&&c?u.map(H=>ew(c,H)):A==null?void 0:A.map(H=>ew(H.source,H.start));const Z=a61(h==null?void 0:h.extensions)?h==null?void 0:h.extensions:void 0;this.extensions=(o=f??Z)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,tw):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let a=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(a+=`
867
867