1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67585,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let r=e.r(32061);function n({reason:e,children:t}){if("undefined"==typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,s)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"encodeURIPath",{enumerable:!0,get:function(){return r}})},52157,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"PreloadChunks",{enumerable:!0,get:function(){return o}});let r=e.r(43476),n=e.r(74080),i=e.r(63599),a=e.r(9885);function o({moduleIds:e}){if("undefined"!=typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let s=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;s.push(...e)}}return 0===s.length?null:(0,r.jsx)(r.Fragment,{children:s.map(e=>{let s=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:s,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,n.preload)(s,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return c}});let r=e.r(43476),n=e.r(71645),i=e.r(67585),a=e.r(52157);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...l,...e},s=(0,n.lazy)(()=>t.loader().then(o)),c=t.loading;function h(e){let o=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,h=l?n.Suspense:n.Fragment,u=t.ssr?(0,r.jsxs)(r.Fragment,{children:["undefined"==typeof window?(0,r.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(s,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(s,{...e})});return(0,r.jsx)(h,{...l?{fallback:o}:{},children:u})}return h.displayName="LoadableComponent",h}},70703,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return n}});let r=e.r(55682)._(e.r(69093));function n(e,t){let s={};"function"==typeof e&&(s.loader=e);let n={...s,...t};return(0,r.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},47963,e=>{"use strict";let t=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function s(e){return 0===e||e>=55296&&e<=57343||e>1114111}let r=(()=>{let e=new Uint8Array(127),t=0;for(let s=33;s<=126;s++)34!==s&&36!==s&&92!==s&&(e[s]=t++);return e})(),n=function(e,t,s,n,i,a){let o=e.length,l=0,c=()=>{let t=r[e.charCodeAt(l++)];return t<61?t:91*t-5490+r[e.charCodeAt(l++)]},h=new Int32Array(2738);h.fill(-1,49,61),h.fill(-1,2725,2738);let u=new Int32Array(2738),d=new Int32Array(2738);function m(t,s){let n=0,i=s,a=s+t;for(;i<a;){let t=r[e.charCodeAt(l++)];if(t<89)n+=t,h[i++]=n;else if(89===t){let t=r[e.charCodeAt(l++)]+2;for(;t--;)h[i++]=++n}else{let t=r[e.charCodeAt(l++)];n+=89+(t<90?91*t+r[e.charCodeAt(l++)]:8281*r[e.charCodeAt(l++)]+91
1*r[e.charCodeAt(l++)]+r[e.charCodeAt(l++)]),h[i++]=n}}}m(49,0),m(2664,61);let p=new Int32Array(50),f=0,g=0;function x(e,t){for(let s=0;s<e;s++){let e=t+s,r=c(),n=c();p[2*g]=r,p[2*g+1]=n,g+=1,u[e]=f;let i=(h[r]<0?d[r]:1)+(h[n]<0?d[n]:1);d[e]=i,f+=i}}x(13,2725),x(12,49);let b=new Uint16Array(f),y=0;for(let e=0;e<g;e++)for(let t=0;t<2;t++){let s=p[2*e+t],r=h[s];if(r<0){let e=u[s],t=e+d[s];for(;e<t;)b[y++]=b[e++]}else b[y++]=r}let v=new Uint16Array(13494),w=0;for(;l<o;){let t=r[e.charCodeAt(l++)];t>=61&&(t=91*t-5490+r[e.charCodeAt(l++)]);let s=h[t];if(s<0){let e=u[t],s=e+d[t];for(;e<s;)v[w++]=b[e++]}else v[w++]=s}return v}
vendor: 18,532 bytes, line 1
1("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%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!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",
10,0,0,0,0),i=new Uint16Array([512,26465,29036,7,0,2,4,116,24638,116,24636,8693,29807,24610,621,1,0,0,3,112,24614,111,115,24615]);function a(e){return e-e7.ZERO>>>0<=9}(eQ=e8||(e8={}))[eQ.VALUE_LENGTH=49152]="VALUE_LENGTH",eQ[eQ.FLAG13=8192]="FLAG13",eQ[eQ.BRANCH_LENGTH=8064]="BRANCH_LENGTH",eQ[eQ.JUMP_TABLE=127]="JUMP_TABLE",eQ[eQ.VALUE_MASK=8191]="VALUE_MASK",(e0=e7||(e7={}))[e0.AMP=38]="AMP",e0[e0.NUM=35]="NUM",e0[e0.SEMI=59]="SEMI",e0[e0.EQUALS=61]="EQUALS",e0[e0.ZERO=48]="ZERO",e0[e0.NINE=57]="NINE",e0[e0.LOWER_A=97]="LOWER_A",e0[e0.LOWER_X=120]="LOWER_X",(e1=te||(te={}))[e1.EntityStart=0]="EntityStart",e1[e1.NumericStart=1]="NumericStart",e1[e1.NumericDecimal=2]="NumericDecimal",e1[e1.NumericHex=3]="NumericHex",e1[e1.NamedEntity=4]="NamedEntity",(e2=tt||(tt={}))[e2.Legacy=0]="Legacy",e2[e2.Strict=1]="Strict",e2[e2.Attribute=2]="Attribute";class o{decodeTree;emitCodePoint;errors;state=te.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=tt.Strict;runConsumed=0;constructor(e,t,s){this.decodeTree=e,this.emitCodePoint=t,this.errors=s}startEntity(e){this.decodeMode=e,this.state=te.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case te.EntityStart:if(e.charCodeAt(t)===e7.NUM)return this.state=te.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=te.NamedEntity,this.stateNamedEntity(e,t);case te.NumericStart:return this.stateNumericStart(e,t);case te.NumericDecimal:return this.stateNumericDecimal(e,t);case te.NumericHex:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===e7.LOWER_X?(this.state=te.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=te.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){let s=e.length,{result:r}=this,{consumed:n}=this;for(;t<s;){let s=e.charCodeAt(t);if(!a(s)&&!((32|s)-e7.LOWER_A>>>0<=5))return this.result=r,this.consumed=n,this.emitNumericEntity(s,3);r=16*r+(s<=e7.NINE?s-e7.ZERO:(32|s)-e7.LOWER_A+10),n+=1,t+=1}return this.result=r,this.consumed=n,-1}stateNumericDecimal(e,t){let s=e.length,{result:r}=this,{consumed:n}=this;for(;t<s;){let s=e.charCodeAt(t)-e7.ZERO;if(s>>>0>9)return this.result=r,this.consumed=n,this.emitNumericEntity(s+e7.ZERO,2);r=10*r+s,n+=1,t+=1}return this.result=r,this.consumed=n,-1}emitNumericEntity(e,r){if(this.consumed<=r)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===e7.SEMI)this.consumed+=1;else if(this.decodeMode===tt.Strict)return 0;return this.emitCodePoint((this.decodeTree===i?function(e){return s(e)?65533:e}:function(e){return s(e)?65533:e>=128&&e<=159&&t[e-128]||e})(this.result),this.consumed),this.errors&&(e!==e7.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}flushAndEmitLegacyOrReject(e,t,s,r){var n;return this.consumed=e,this.excess=t,0===this.result||this.decodeMode===tt.Attribute&&(0===r||t>1||(n=s)===e7.EQUALS||(32|n)-e7.LOWER_A>>>0<=25||a(n))?0:this.emitNotTerminatedNamedEntity()}stateNamedEntity(e,t){let{decodeTree:s}=this,r=e.length,n=this.decodeMode===tt.Strict,{treeIndex:i}=this,{excess:a}=this,{consumed:o}=this,l=s[i];for(;t<r;){for(;(l&(e8.VALUE_LENGTH|e8.FLAG13))==0&&(l&e8.JUMP_TABLE)!=0;){let n=e.charCodeAt(t),c=l&e8.JUMP_TABLE,h=(l&e8.BRANCH_LENGTH)>>7;if(0===h){if(n!==c)return this.flushAndEmitLegacyOrReject(o,a,n,0);i+=1}else{let e=n-c;if(e>>>0>=h)return this.flushAndEmitLegacyOrReject(o,a,n,0);let t=s[i+1+e];if(0===t)return this.flushAndEmitLegacyOrReject(o,a,n,0);i=i+h+t&65535}if(l=s[i],a+=1,(t+=1)>=r)break}if(t>=r)break;if((l&(e8.VALUE_LENGTH|e8.FLAG13))===e8.FLAG13){let n=(l&e8.BRANCH_LENGTH)>>7,{runConsumed:c}=this;if(0===c){let s=e.charCodeAt(t);if(s!==(l&e8.JUMP_TABLE))return this.flushAndEmitLegacyOrReject(o,a,s,0);t+=1,a+=1,c=1}for(;c<n;){if(t>=r)return this.treeIndex=i,this.excess=a,this.consumed=o,this.runConsumed=c,-1;let n=c-1,l=s[i+1+(n>>1)]>>((1&n)<<3)&255,h=e.charCodeAt(t);if(h!==l)return this.runConsumed=0,this.flushAndEmitLegacyOrReject(o,a,h,0);t+=1,a+=1,c+=1}this.runConsumed=0,i+=1+(n>>1),l=s[i];continue}let c=l>>>14,h=e.charCodeAt(t);if(0!==c){if(n||(l&e8.FLAG13)!=0||(this.result=i,o+=a-1,a=1),h===e7.SEMI)return this.emitNamedEntityData(i,c,o+a);if(1===c)return this.flushAndEmitLegacyOrReject(o,a,h,c)}let u=function(e,t,s,r){let n=(t&e8.BRANCH_LENGTH)>>7,i=t&e8.JUMP_TABLE;if(i){if(0===n)return r===i?s:-1;let t=r-i;if(t>>>0>=n)return -1;let a=e[s+t];return 0===a?-1:s+n+a-1&65535}if(0===n)return -1;let a=n+1>>1,o=s+a+n;for(let t=0;t<n;t++){let n=e[s+(t>>1)]>>((1&t)<<3)&255;if(n===r)return o+e[s+a+t]&65535;if(n>r)break}return -1}(s,l,i+(c||1),h);if(u<0)return this.flushAndEmitLegacyOrReject(o,a,h,c);l=s[i=u],t+=1,a+=1}return n||l>>>14==0||(l&e8.FLAG13)!=0||(this.result=i,o+=a-1,a=1),this.treeIndex=i,this.excess=a,this.consumed=o,-1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,s=t[e]>>>14;return this.emitNamedEntityData(e,s,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,s){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&e8.VALUE_MASK:r[e+1],s),3===t&&this.emitCodePoint(r[e+2],s),s}end(){switch(this.state){case te.NamedEntity:return 0!==this.result&&(this.decodeMode!==tt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case te.NumericDecimal:return this.emitNumericEntity(0,2);case te.NumericHex:return this.emitNumericEntity(0,3);case te.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}}function l(e){return e===ts.Space||e===ts.NewLine||e===ts.Tab||e===ts.FormFeed||e===ts.CarriageReturn}function c(e){return e===ts.Slash||e===ts.Gt||l(e)}(e5=ts||(ts={}))[e5.Tab=9]="Tab",e5[e5.NewLine=10]="NewLine",e5[e5.FormFeed=12]="FormFeed",e5[e5.CarriageReturn=13]="CarriageReturn",e5[e5.Space=32]="Space",e5[e5.ExclamationMark=33]="ExclamationMark",e5[e5.Number=35]="Number",e5[e5.Amp=38]="Amp",e5[e5.SingleQuote=39]="SingleQuote",e5[e5.DoubleQuote=34]="DoubleQuote",e5[e5.Dash=45]="Dash",e5[e5.Slash=47]="Slash",e5[e5.Zero=48]="Zero",e5[e5.Nine=57]="Nine",e5[e5.Semi=59]="Semi",e5[e5.Lt=60]="Lt",e5[e5.Eq=61]="Eq",e5[e5.Gt=62]="Gt",e5[e5.Questionmark=63]="Questionmark",e5[e5.UpperA=65]="UpperA",e5[e5.LowerA=97]="LowerA",e5[e5.UpperF=70]="UpperF",e5[e5.LowerF=102]="LowerF",e5[e5.UpperZ=90]="UpperZ",e5[e5.LowerZ=122]="LowerZ",e5[e5.LowerX=120]="LowerX",e5[e5.OpeningSquareBracket=91]="OpeningSquareBracket",(e3=tr||(tr={}))[e3.Text=1]="Text",e3[e3.BeforeTagName=2]="BeforeTagName",e3[e3.InTagName=3]="InTagName",e3[e3.InSelfClosingTag=4]="InSelfClosingTag",e3[e3.BeforeClosingTagName=5]="BeforeClosingTagName",e3[e3.InClosingTagName=6]="InClosingTagName",e3[e3.AfterClosingTagName=7]="AfterClosingTagName",e3[e3.BeforeAttributeName=8]="BeforeAttributeName",e3[e3.InAttributeName=9]="InAttributeName",e3[e3.AfterAttributeName=10]="AfterAttributeName",e3[e3.BeforeAttributeValue=11]="BeforeAttributeValue",e3[e3.InAttributeValueDq=12]="InAttributeValueDq",e3[e3.InAttributeValueSq=13]="InAttributeValueSq",e3[e3.InAttributeValueNq=14]="InAttributeValueNq",e3[e3.BeforeDeclaration=15]="BeforeDeclaration",e3[e3.InDeclaration=16]="InDeclaration",e3[e3.InProcessingInstruction=17]="InProcessingInstruction",e3[e3.BeforeComment=18]="BeforeComment",e3[e3.CDATASequence=19]="CDATASequence",e3[e3.DeclarationSequence=20]="DeclarationSequence",e3[e3.InSpecialComment=21]="InSpecialComment",e3[e3.InCommentLike=22]="InCommentLike",e3[e3.SpecialStartSequence=23]="SpecialStartSequence",e3[e3.InSpecialTag=24]="InSpecialTag",e3[e3.InPlainText=25]="InPlainText",e3[e3.InEntity=26]="InEntity",(e6=tn||(tn={}))[e6.NoValue=0]="NoValue",e6[e6.Unquoted=1]="Unquoted",e6[e6.Single=2]="Single",e6[e6.Double=3]="Double";let h={Empty:new Uint8Array(0),Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,
vendor: 16,384 bytes, line 1
1111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},u=new Map([[h.IframeEnd[2],h.IframeEnd],[h.NoembedEnd[2],h.NoembedEnd],[h.Plaintext[2],h.Plaintext],[h.ScriptEnd[2],h.ScriptEnd],[h.TitleEnd[2],h.TitleEnd],[h.XmpEnd[2],h.XmpEnd]]);class d{cbs;state=tr.Text;buffer="";sectionStart=0;index=0;entityStart=0;baseState=tr.Text;isSpecial=!1;running=!0;offset=0;xmlMode;decodeEntities;recognizeSelfClosing;entityDecoder;constructor({xmlMode:e=!1,decodeEntities:t=!0,recognizeSelfClosing:s=e},r){this.cbs=r,this.xmlMode=e,this.decodeEntities=t,this.recognizeSelfClosing=s,this.entityDecoder=new o(e?i:n,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=tr.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=tr.Text,this.isSpecial=!1,this.currentSequence=h.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===ts.Lt||!this.decodeEntities&&this.fastForwardTo(ts.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=tr.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===ts.Amp&&this.startEntity()}currentSequence=h.Empty;sequenceIndex=0;enterTagBody(){this.currentSequence===h.Plaintext?(this.currentSequence=h.Empty,this.state=tr.InPlainText):this.isSpecial?(this.state=tr.InSpecialTag,this.sequenceIndex=0):this.state=tr.Text}stateSpecialStartSequence(e){let t=32|e;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex])return void this.sequenceIndex++;if(3===this.sequenceIndex){if(this.currentSequence===h.ScriptEnd&&t===h.StyleEnd[3]){this.currentSequence=h.StyleEnd,this.sequenceIndex=4;return}if(this.currentSequence===h.TitleEnd&&t===h.TextareaEnd[3]){this.currentSequence=h.TextareaEnd,this.sequenceIndex=4;return}}else if(4===this.sequenceIndex&&this.currentSequence===h.NoembedEnd&&t===h.NoframesEnd[4]){this.currentSequence=h.NoframesEnd,this.sequenceIndex=5;return}}else if(c(e)){this.sequenceIndex=0,this.state=tr.InTagName,this.stateInTagName(e);return}this.isSpecial=!1,this.currentSequence=h.Empty,this.sequenceIndex=0,this.state=tr.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===h.Cdata[this.sequenceIndex]?++this.sequenceIndex===h.Cdata.length&&(this.state=tr.InCommentLike,this.currentSequence=h.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=tr.InDeclaration,this.stateInDeclaration(e)):(this.state=tr.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=tr.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===h.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===ts.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===h.CommentEnd&&2===this.sequenceIndex&&e===ts.Gt?this.emitComment(2):this.currentSequence===h.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==ts.Gt?this.sequenceIndex=Number(e===ts.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===h.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=tr.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!c(e):e>=ts.LowerA&&e<=ts.LowerZ||e>=ts.UpperA&&e<=ts.UpperZ}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(c(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===h.TitleEnd||this.currentSequence===h.TextareaEnd?this.decodeEntities&&e===ts.Amp&&this.startEntity():this.fastForwardTo(ts.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===ts.Lt)}stateBeforeTagName(e){if(e===ts.ExclamationMark)this.state=tr.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===ts.Questionmark)this.xmlMode?(this.state=tr.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=tr.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;let t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:u.get(32|e);void 0===t?this.state=tr.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=tr.SpecialStartSequence)}else e===ts.Slash?this.state=tr.BeforeClosingTagName:(this.state=tr.Text,this.stateText(e))}stateInTagName(e){c(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=tr.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){l(e)?this.xmlMode||(this.state=tr.InSpecialComment,this.sectionStart=this.index):e===ts.Gt?(this.state=tr.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?tr.InClosingTagName:tr.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){c(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=tr.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===ts.Gt||this.fastForwardTo(ts.Gt))&&(this.state=tr.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===ts.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===ts.Slash?this.state=tr.InSelfClosingTag:l(e)||(this.state=tr.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===ts.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing)return void this.enterTagBody();this.state=tr.Text,this.isSpecial=!1,this.currentSequence=h.Empty}else l(e)||(this.state=tr.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===ts.Eq||c(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=tr.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===ts.Eq?this.state=tr.BeforeAttributeValue:e===ts.Slash||e===ts.Gt?(this.cbs.onattribend(tn.NoValue,this.sectionStart),this.sectionStart=-1,this.state=tr.BeforeAttributeName,this.stateBeforeAttributeName(e)):l(e)||(this.cbs.onattribend(tn.NoValue,this.sectionStart),this.state=tr.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===ts.DoubleQuote?(this.state=tr.InAttributeValueDq,this.sectionStart=this.index+1):e===ts.SingleQuote?(this.state=tr.InAttributeValueSq,this.sectionStart=this.index+1):l(e)||(this.sectionStart=this.index,this.state=tr.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===ts.DoubleQuote?tn.Double:tn.Single,this.index+1),this.state=tr.BeforeAttributeName):this.decodeEntities&&e===ts.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,ts.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,ts.SingleQuote)}stateInAttributeValueNoQuotes(e){l(e)||e===ts.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(tn.Unquoted,this.index),this.state=tr.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===ts.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===ts.OpeningSquareBracket?(this.state=tr.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===ts.Dash?tr.BeforeComment:tr.InDeclaration:(32|e)===h.Doctype[0]?(this.state=tr.DeclarationSequence,this.currentSequence=h.Doctype,this.sequenceIndex=1):e===ts.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tr.Text,this.sectionStart=this.index+1):e===ts.Dash?this.state=tr.BeforeComment:this.state=tr.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=tr.InDeclaration,this.stateInDeclaration(e)):(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===ts.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tr.Text,this.sectionStart=this.index+1):this.state=tr.InSpecialComment}stateInDeclaration(e){(e===ts.Gt||this.fastForwardTo(ts.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=tr.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===ts.Questionmark?this.sequenceIndex=1:e===ts.Gt&&1===this.sequenceIndex?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=tr.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(ts.Questionmark))}stateBeforeComment(e){e===ts.Dash?(this.state=tr.InCommentLike,this.currentSequence=h.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=tr.InDeclaration:e===ts.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tr.Text,this.sectionStart=this.index+1):this.state=tr.InSpecialComment}stateInSpecialComment(e){(e===ts.Gt||this.fastForwardTo(ts.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tr.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=tr.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?tt.Strict:this.baseState===tr.Text||this.baseState===tr.InSpecialTag?tt.Legacy:tt.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,0===t&&(this.index-=1);else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===ts.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===tr.Text||this.state===tr.InPlainText||this.state===tr.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===tr.InAttributeValueDq||this.state===tr.InAttributeValueSq||this.state===tr.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case tr.Text:this.stateText(e);break;case tr.InPlainText:this.index=this.buffer.length+this.offset-1;break;case tr.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case tr.InSpecialTag:this.stateInSpecialTag(e);break;case tr.CDATASequence:this.stateCDATASequence(e);break;case tr.DeclarationSequence:this.stateDeclarationSequence(e);break;case tr.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case tr.InAttributeName:this.stateInAttributeName(e);break;case tr.InCommentLike:this.stateInCommentLike(e);break;case tr.InSpecialComment:this.stateInSpecialComment(e);break;case tr.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case tr.InTagName:this.stateInTagName(e);break;case tr.InClosingTagName:this.stateInClosingTagName(e);break;case tr.BeforeTagName:this.stateBeforeTagName(e);break;case tr.AfterAttributeName:this.stateAfterAttributeName(e);break;case tr.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case tr.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case tr.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case tr.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case tr.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case tr.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case tr.InDeclaration:this.stateInDeclaration(e);break;case tr.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case tr.BeforeComment:this.stateBeforeComment(e);break;case tr.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case tr.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===tr.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==tr.InCommentLike)return!1;if(this.currentSequence===h.CdataEnd)if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{let t=this.sectionStart-h.Cdata.length-1;this.cbs.oncomment(t,e,0)}else{let t=this.xmlMode?0:Math.min(this.sequenceIndex,h.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case tr.InSpecialComment:case tr.BeforeComment:case tr.CDATASequence:case tr.DeclarationSequence:case tr.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case tr.BeforeDeclaration:case tr.InSpecialComment:case tr.BeforeComment:case tr.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case tr.DeclarationSequence:return this.sequenceIndex!==h.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case tr.InDeclaration:return!0;default:return!1}}handleTrailingData(){let e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e))&&!(this.sectionStart>=e))switch(this.state){case tr.InTagName:case tr.BeforeAttributeName:case tr.BeforeAttributeValue:case tr.AfterAttributeName:case tr.InAttributeName:case tr.InAttributeValueSq:case tr.InAttributeValueDq:case tr.InAttributeValueNq:case tr.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==tr.Text&&this.baseState!==tr.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}let{fromCodePoint:m}=String,p=new Set(["input","option","optgroup","select","button","datalist","textarea"]),f=new Set(["p"]),g=new Set(["h1","h2","h3","h4","h5","h6","p"]),x=new Set(["thead","tbody"]),b=new Set(["dd","dt"]),y=new Set(["rt","rp"]),v=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["a",new Set(["a"])],["li",new Set(["li"])],["p",f],["h1",g],["h2",g],["h3",g],["h4",g],["h5",g],["h6",g],["select",p],["input",p],["output",p],["button",p],["datalist",p],["textarea",p],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",b],["dt",b],["address",f],["article",f],["aside",f],["blockquote",f],["details",f],["div",f],["dl",f],["fieldset",f],["figcaption",f],["figure",f],["footer",f],["form",f],["header",f],["hr",f],["main",f],["nav",f],["ol",f],["pre",f],["section",f],["table",f],["ul",f],["rt",y],["rp",y],["tbody",x],["tfoot",x]]),w="doctype",j=new Set(["area","base","basefont","br","col","command","e
1mbed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),R=new Set(["math","svg"]),N=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),S=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);(e4=ti||(ti={}))[e4.None=0]="None",e4[e4.Svg=1]="Svg",e4[e4.MathML=2]="MathML";let C=/\s|\//;class k{options;startIndex=0;endIndex=0;openTagStart=0;tagname="";attribname="";attribvalue="";attribs=null;stack=[];foreignContext;cbs;lowerCaseTagNames;lowerCaseAttributeNames;recognizeSelfClosing;htmlMode;tokenizer;buffers=[];bufferOffset=0;writeIndex=0;ended=!1;constructor(e,t={}){this.options=t,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??d)(this.options,this),this.foreignContext=[ti.None],this.cbs.onparserinit?.(this)}ontext(e,t){let s=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(s),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(m(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==ti.None}isVoidElement(e){return this.htmlMode&&j.has(e)}readTagName(e,t){let s=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!(this.lowerCaseTagNames&&this.htmlMode))return s;if(this.foreignContext[0]===ti.Svg)return S.get(s)??s;if(this.foreignContext.length>1){let e=S.get(s);if(void 0!==e&&this.stack.includes(e))return e}return this.isInForeignContext()?s:"image"===s?"img":s}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&"form"===e&&this.stack.includes("form")){this.tagname="";return}let t=this.htmlMode&&v.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);!this.isVoidElement(e)&&(this.stack.unshift(e),this.htmlMode&&("svg"===e?this.foreignContext.unshift(ti.Svg):"math"===e?this.foreignContext.unshift(ti.MathML):N.has(e)&&this.foreignContext.unshift(ti.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&(this.cbs.onopentag?.(this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;let s=this.readTagName(e,t);if(this.isVoidElement(s))this.htmlMode&&"br"===s&&(this.cbs.onopentagname?.("br"),this.cbs.onopentag?.("br",{},!0),this.cbs.onclosetag?.("br",!1));else{let e=this.stack.indexOf(s);if(-1!==e){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&"p"===s&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){let t=this.stack.shift();this.htmlMode&&(R.has(t)||N.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){let t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;let s=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?s.toLowerCase():s}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=m(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===tn.Double?'"':e===tn.Single?"'":e===tn.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(C),s=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(s=s.toLowerCase()),s}ondeclaration(e,t){this.endIndex=t;let s=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.htmlMode?this.lowerCaseTagNames?w:s.slice(0,w.length):this.getInstructionName(s);this.cbs.onprocessinginstruction(`!${e}`,`!${s}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let s=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(s);this.cbs.onprocessinginstruction(`?${e}`,`?${s}`)}this.startIndex=t+1}oncomment(e,t,s){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-s)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,s){this.endIndex=t;let r=this.getSlice(e,t-s);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(r),this.cbs.oncdataen
1d?.()):this.isInForeignContext()?this.cbs.ontext?.(r):(this.cbs.oncomment?.(`[CDATA[${r}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(ti.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return"";for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let s=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),s+=this.buffers[0].slice(0,t-this.bufferOffset);return s}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){this.ended?this.cbs.onerror?.(Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){this.ended?this.cbs.onerror?.(Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}}function A(e){return e.type===ta.Tag||e.type===ta.Script||e.type===ta.Style}(e9=ta||(ta={})).Root="root",e9.Text="text",e9.Directive="directive",e9.Comment="comment",e9.Script="script",e9.Style="style",e9.Tag="tag",e9.CDATA="cdata",e9.Doctype="doctype";let T=ta.Root,I=ta.Text,E=ta.Directive,O=ta.Comment,D=ta.Script,B=ta.Style,M=ta.Tag,L=ta.CDATA,q=ta.Doctype;e.s(["CDATA",0,L,"Comment",0,O,"Directive",0,E,"Doctype",0,q,"ElementType",()=>ta,"Root",0,T,"Script",0,D,"Style",0,B,"Tag",0,M,"Text",0,I,"isTag",()=>A],52342);class P{parent=null;prev=null;next=null;startIndex=null;endIndex=null;get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return K(this,e)}}class U extends P{data;constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class F extends U{type=ta.Text;get nodeType(){return 3}}class J extends U{type=ta.Comment;get nodeType(){return 8}}class z extends U{type=ta.Directive;name;constructor(e,t){super(t),this.name=e}get nodeType(){return 1}"x-name";"x-publicId";"x-systemId"}class _ extends P{children;constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class W extends _{type=ta.CDATA;get nodeType(){return 4}}class $ extends _{type=ta.Root;get nodeType(){return 9}}class G extends _{name;attribs;type;constructor(e,t,s=[],r="script"===e?ta.Script:"style"===e?ta.Style:ta.Tag){super(s),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this["x-attribsNamespace"]?.[e],prefix:this["x-attribsPrefix"]?.[e]}))}namespace;"x-attribsNamespace";"x-attribsPrefix"}function Y(e){return A(e)}function H(e){return e.type===ta.CDATA}function V(e){return e.type===ta.Text}function X(e){return e.type===ta.Comment}function Z(e){return Object.hasOwn(e,"children")}function K(e,t=!1){let s;if(V(e))s=new F(e.data);else if(X(e))s=new J(e.data);else if(A(e)){let r=t?Q(e.children):[],n=new G(e.name,{...e.attribs},r);for(let e of r)e.parent=n;null!=e.namespace&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...e["x-attribsPrefix"]}),s=n}else if(H(e)){let r=t?Q(e.children):[],n=new W(r);for(let e of r)e.parent=n;s=n}else if(e.type===ta.Root){let r=t?Q(e.children):[],n=new $(r);for(let e of r)e.parent=n;e["x-mode"]&&(n["x-mode"]=e["x-mode"]),s=n}else if(e.type===ta.Directive){let t=new z(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),s=t}else throw Error(`Not implemented yet: ${e.type}`);return s.startIndex=e.startIndex,s.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(s.sourceCodeLocation=e.sourceCodeLocation),s}function Q(e){let t=e.map(e=>K(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}let ee={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class et{dom=[];root=new $(this.dom);callback;options;elementCB;done=!1;tagStack=[this.root];lastNode=null;parser=null;constructor(e,t,s){"function"==typeof t&&(s=t,t=ee),"object"==typeof e&&(t=e,e=void 0),this.callback=e??null,this.options=t??ee,this.elementCB=s??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new $(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let s=new G(e,t,void 0,this.options.xmlMode?ta.Tag:void 0);this.addNode(s),this.tagStack.push(s)}ontext(e){let{lastNode:t}=this;if(t&&t.type===ta.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{let t=new F(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===ta.Comment){this.lastNode.data+=e;return}let t=new J(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new F(""),t=new W([e]);this.addNode(t),e.parent=t,this.lastNode=e}
1oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let s=new z(e,t);this.addNode(s)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],s=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),s&&(e.prev=s,s.next=e),e.parent=t,this.lastNode=null}}function es(e,t,s=!0,r=1/0){return er(e,Array.isArray(t)?t:[t],s,r)}function er(e,t,s,r){let n=[],i=[Array.isArray(t)?t:[t]],a=[0];for(;;){if(a[0]>=i[0].length){if(1===a.length)return n;i.shift(),a.shift();continue}let t=i[0][a[0]++];if(e(t)&&(n.push(t),--r<=0))return n;s&&Z(t)&&t.children.length>0&&(a.unshift(0),i.unshift(t.children))}}function en(e,t,s=!0){for(let r of Array.isArray(t)?t:[t]){if(A(r)&&e(r))return r;if(s&&Z(r)&&r.children.length>0){let t=en(e,r.children,!0);if(t)return t}}return null}function ei(e,t){return(Array.isArray(t)?t:[t]).some(t=>A(t)&&e(t)||Z(t)&&ei(e,t.children))}function ea(e,t){let s=[],r=[Array.isArray(t)?t:[t]],n=[0];for(;;){if(n[0]>=r[0].length){if(1===r.length)return s;r.shift(),n.shift();continue}let t=r[0][n[0]++];A(t)&&e(t)&&s.push(t),Z(t)&&t.children.length>0&&(n.unshift(0),r.unshift(t.children))}}e.s(["existsOne",()=>ei,"filter",()=>es,"find",()=>er,"findAll",()=>ea,"findOne",()=>en],66543);let eo={tag_name:e=>"function"==typeof e?t=>A(t)&&e(t.name):"*"===e?Y:t=>A(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>V(t)&&e(t.data):t=>V(t)&&t.data===e};function el(e,t){return"function"==typeof t?s=>A(s)&&t(s.attribs[e]):s=>A(s)&&s.attribs[e]===t}function ec(e,t){return s=>e(s)||t(s)}function eh(e){let t=Object.keys(e).map(t=>{let s=e[t];return Object.hasOwn(eo,t)?eo[t](s):el(t,s)});return 0===t.length?null:t.reduce(ec)}function eu(e,t){let s=eh(e);return!s||s(t)}function ed(e,t,s,r=1/0){let n=eh(e);return n?es(n,t,s,r):[]}function em(e,t,s=!0){return Array.isArray(t)||(t=[t]),en(el("id",e),t,s)}function ep(e,t,s=!0,r=1/0){return es(eo.tag_name(e),t,s,r)}function ef(e,t,s=!0,r=1/0){return es(el("class",e),t,s,r)}function eg(e,t,s=!0,r=1/0){return es(eo.tag_type(e),t,s,r)}function ex(e){return 34===e?""":38===e?"&":39===e?"'":60===e?"<":62===e?">":" "}e.s(["getElementById",()=>em,"getElements",()=>ed,"getElementsByClassName",()=>ef,"getElementsByTagName",()=>ep,"getElementsByTagType",()=>eg,"testElement",()=>eu],62807);let eb=/["&'<>\u0080-\uFFFF]/g;function ey(e){return e>=128||e>=32&&e<64&&(0x500000c4>>>e&1)==1}function ev(e){let t,{length:s}=e,r=0,n=0;for(;n<s;){let i=e.charCodeAt(n);if(!ey(i)){let t=Math.min(n+32,s),r=n+1;for(;r<t&&!ey(e.charCodeAt(r));)r++;if(r<t){n=r;continue}if(r>=s||(eb.lastIndex=r,!eb.test(e)))break;n=eb.lastIndex-1;continue}if(void 0===t?t=e.substring(0,n):r!==n&&(t+=e.substring(r,n)),i<64){t+=ex(i),r=n+=1;continue}let a=e.codePointAt(n);t+=`&#x${a.toString(16)};`,a!==i&&n++,r=n+=1}return void 0===t?e:(r<s&&(t+=e.substr(r)),t)}function ew(e,t){if(e.lastIndex=0,!e.test(t))return t;let s="",r=0;do{let n=e.lastIndex-1;r!==n&&(s+=t.substring(r,n)),s+=ex(t.charCodeAt(n)),r=n+1}while(e.test(t))return s+t.substring(r)}let ej=/["&\u{A0}]/gu;function eR(e){return ew(ej,e)}let eN=/[&<>\u{A0}]/gu,eS=new Map("altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence foreignObject glyphRef linearGradient radialGradient textPath".split(" ").map(e=>[e.toLowerCase(),e])),eC=new Map("definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan".split(" ").map(e=>[e.toLowerCase(),e])),ek=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),eA=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),eT=new Set(["svg","math"]),eI=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" ")),eE=function(e,t={}){let s="length"in e?e:[e],r=t.xmlMode??!1,n="";for(let e=0;e<s.length;e++)n+=eD(s[e],t,r);return n};function eO(e,t,s){let r="";for(let n=0;n<e.length;n++)r+=eD(e[n],t,s);return r}function eD(e,t,s){switch(e.type){case T:return eO(e.children,t,s);case E:return`<${e.data}>`;case O:return`<!--${e.data}-->`;case L:return`<![CDATA[${e.children[0].data}]]>`;case D:case B:case M:return function(e,t,s){"foreign"===s&&(e.name=eS.get(e.name)??e.name,e.parent&&eI.has(e.parent.name)&&(s=!1)),!s&&eT.has(e.name)&&(s="foreign");let{name:r,children:n}=e,i=!s&&eA.has(r),a=`<${r}${function(e,t,s){if(!e)return"";let r=(t.encodeEntities??t.decodeEntities)===!1?eB:s||"utf8"!==t.encodeEntities?ev:eR,n="foreign"===s,i=!!(t.emptyAttrs??s),a="";for(let t in e){if(!Object.hasOwn(e,t))continue;let s=e[t],o=n?eC.get(t)??t:t;a+=i||null!=s&&""!==s?` ${o}="${r(null==s?"":String(s))}"`:` ${o}`}return a}(e.attribs,t,s)}`;return 0===n.length&&(s?!1!==t.selfClosingTags:t.selfClosingTags&&i)?a+=s?"/>":" />":(a+=">",n.length>0&&(a+=eO(n,t,s)),i||(a+=`</${r}>`)),a}(e,t,s);case I:{let r=e.data||"";if((t.encodeEntities??t.decodeEntities)!==!1&&!(!s&&e.parent&&ek.has(e.parent.name)))return s||"utf8"!==t.encodeEntities?ev(r):ew(eN,r);return r}}}function eB(e){return e.replaceAll('"',""")}function eM(e,t){return eE(e,t)}function eL(e,t){return Z(e)?e.children.map(e=>eE(e,t)).join(""):""}function eq(e){return Array.isArray(e)?e.map(eq).join(""):A(e)?"br"===e.name?"\n":eq(e.children):H(e)?eq(e.children):V(e)?e.data:""}function eP(e){return Array.isArray(e)?e.map(eP).join(""):Z(e)&&!X(e)?eP(e.children):V(e)?e.data:""}function eU(e){return Array.isArray(e)?e.map(eU).join(""):Z(e)&&(e.type===ta.Tag||H(e))?eU(e.children):V(e)?e.data:""}function eF(e){var t;let s,r,n,i,a,o,l,c=eW(eY,e);return c?"feed"===c.name?(r={type:"atom",items:ep("entry",s=c.children).map(e=>{let{children:t}=e,s={media:e_(t)};eG(s,"id","id",t),eG(s,"title","title",t);let r=eW("link",t)?.attribs.href;r&&(s.link=r);let n=e$("summary",t)||e$("content",t);n&&(s.description=n);let i=e$("updated",t);return i&&(s.pubDate=new Date(i)),s})},eG(r,"id","id",s),eG(r,"title","title",s),(n=eW("link",s)?.attribs.href)&&(r.link=n),eG(r,"description","subtitle",s),(i=e$("updated",s))&&(r.updated=new Date(i)),eG(r,"author","email",s,!0),r):(t=c,a=eW("channel",t.children)?.children??[],o={type:t.name.substr(0,3),id:"",items:ep("item",t.children).map(e=>{let{children:t}=e,s={media:e_(t)};eG(s,"id","guid",t),eG(s,"title","title",t),eG(s,"link","link",t),eG(s,"description","description",t);let r=e$("pubDate",t)||e$("dc:date",t);return r&&(s.pubDate=new Date(r)),s})},eG(o,"title","title",a),eG(o,"link","link",a),eG(o,"description","description",a),(l=e$("lastBuildDate",a))&&(o.updated=new Date(l)),eG(o,"author","managingEditor",a,!0),o):null}e.s(["getInnerHTML",()=>eL,"getOuterHTML",()=>eM,"getText",()=>eq,"innerText",()=>eU,"textContent",()=>eP],75190);let eJ=["url","type","lang"],ez=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function e_(e){return ep("media:content",e).map(e=>{let{attribs:t}=e,s={medium:t.medium,isDefault:!!t.isDefault};for(let e of eJ)t[e]&&(s[e]=t[e]);for(let e of ez)t[e]&&(s[e]=Number.parseInt(t[e],10));return t.expression&&(s.expression=t.expression),s})}
1function eW(e,t){return ep(e,t,!0,1)[0]}function e$(e,t,s=!1){return eP(ep(e,t,s,1)).trim()}function eG(e,t,s,r,n=!1){let i=e$(s,r,n);i&&(e[t]=i)}function eY(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}function eH(e,t){let s=new et(void 0,t);return new k(s,t).end(e),s.root}function eV(e,t,s){let r=new et(t=>e(t,r.root),t,s);return new k(r,t)}e.s(["getFeed",()=>eF],39305);let eX={xmlMode:!0};function eZ(e,t=eX){return eF(eH(e,t).children)}e.s(["createDocumentStream",()=>eV,"parseDocument",()=>eH,"parseFeed",()=>eZ],57516),e.i(57516);var eK,eQ,e0,e1,e2,e5,e3,e6,e4,e9,e8,e7,te,tt,ts,tr,tn,ti,ta,to,tl=e.i(52342);function tc(e){let t=e.length;for(;--t>=0;){let s=e[t];if(t>0&&e.lastIndexOf(s,t-1)>=0){e.splice(t,1);continue}for(let r=s.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}function th(e,t){let s=[],r=[];if(e===t)return 0;let n=Z(e)?e:e.parent;for(;n;)s.unshift(n),n=n.parent;for(n=Z(t)?t:t.parent;n;)r.unshift(n),n=n.parent;let i=Math.min(s.length,r.length),a=0;for(;a<i&&s[a]===r[a];)a++;if(0===a)return to.DISCONNECTED;let o=s[a-1],l=o.children,c=s[a],h=r[a];return l.indexOf(c)>l.indexOf(h)?o===t?to.FOLLOWING|to.CONTAINED_BY:to.FOLLOWING:o===e?to.PRECEDING|to.CONTAINS:to.PRECEDING}function tu(e){return(e=e.filter((e,t,s)=>!s.includes(e,t+1))).sort((e,t)=>{let s=th(e,t);return s&to.PRECEDING?-1:s&to.FOLLOWING?1:0}),e}function td(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,s=t.lastIndexOf(e);-1!==s&&t.splice(s,1)}e.next=null,e.prev=null,e.parent=null}function tm(e,t){if(t.prev=e.prev,t.prev&&(t.prev.next=t),t.next=e.next,t.next&&(t.next.prev=t),t.parent=e.parent,t.parent){let{children:s}=t.parent,r=s.lastIndexOf(e);-1!==r&&(s[r]=t,e.parent=null)}}function tp(e,t){if(td(t),t.next=null,t.parent=e,e.children.push(t)>1){let s=e.children[e.children.length-2];s.next=t,t.prev=s}else t.prev=null}function tf(e,t){td(t);let{parent:s}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=s,r){if(r.prev=t,s){let e=s.children;e.splice(e.lastIndexOf(r),0,t)}}else s&&s.children.push(t)}function tg(e,t){if(td(t),t.parent=e,t.prev=null,1===e.children.unshift(t))t.next=null;else{let s=e.children[1];s.prev=t,t.next=s}}function tx(e,t){td(t);let{parent:s}=e;if(s){let r=s.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=s,t.prev=e.prev,t.next=e,e.prev=t}function tb(e){return Z(e)?e.children:[]}function ty(e){return e.parent||null}function tv(e){let t=ty(e);if(null!=t)return tb(t);let s=[e],{prev:r,next:n}=e;for(;null!=r;)s.unshift(r),{prev:r}=r;for(;null!=n;)s.push(n),{next:n}=n;return s}function tw(e,t){let{attribs:s}=e;return s?.[t]}function tj(e,t){let{attribs:s}=e;return null!=s&&Object.hasOwn(s,t)&&null!=s[t]}function tR(e){return e.name}function tN(e){let{next:t}=e;for(;null!==t&&!A(t);)({next:t}=t);return t}function tS(e){let{prev:t}=e;for(;null!==t&&!A(t);)({prev:t}=t);return t}e.s([],51294),e.i(51294),e.i(39305),(eK=to||(to={}))[eK.DISCONNECTED=1]="DISCONNECTED",eK[eK.PRECEDING=2]="PRECEDING",eK[eK.FOLLOWING=4]="FOLLOWING",eK[eK.CONTAINS=8]="CONTAINS",eK[eK.CONTAINED_BY=16]="CONTAINED_BY",e.s(["DocumentPosition",()=>to,"compareDocumentPosition",()=>th,"removeSubsets",()=>tc,"uniqueSort",()=>tu],89329),e.i(89329),e.i(62807),e.s(["append",()=>tf,"appendChild",()=>tp,"prepend",()=>tx,"prependChild",()=>tg,"removeElement",()=>td,"replaceElement",()=>tm],29722),e.i(29722),e.i(66543),e.i(75190),e.s(["getAttributeValue",()=>tw,"getChildren",()=>tb,"getName",()=>tR,"getParent",()=>ty,"getSiblings",()=>tv,"hasAttrib",()=>tj,"nextElementSibling",()=>tN,"prevElementSibling",()=>tS],19414),e.i(19414),e.s(["DocumentPosition",()=>to,"append",()=>tf,"appendChild",()=>tp,"compareDocumentPosition",()=>th,"existsOne",()=>ei,"filter",()=>es,"find",()=>er,"findAll",()=>ea,"findOne",()=>en,"getAttributeValue",()=>tw,"getChildren",()=>tb,"getElementById",()=>em,"getElements",()=>ed,"getElementsByClassName",()=>ef,"getElementsByTagName",()=>ep,"getElementsByTagType",()=>eg,"getFeed",()=>eF,"getInnerHTML",()=>eL,"getName",()=>tR,"getOuterHTML",()=>eM,"getParent",()=>ty,"getSiblings",()=>tv,"getText",()=>eq,"hasAttrib",()=>tj,"innerText",()=>eU,"nextElementSibling",()=>tN,"prepend",()=>tx,"prependChild",()=>tg,"prevElementSibling",()=>tS,"removeElement",()=>td,"removeSubsets",()=>tc,"replaceElement",()=>tm,"testElement",()=>eu,"textContent",()=>eP,"uniqueSort",()=>tu],2150);var tC=e.i(2150);e.s(["DefaultHandler",()=>et,"DomHandler",()=>et,"DomUtils",0,tC,"ElementType",0,tl,"Parser",()=>k,"QuoteType",()=>tn,"Tokenizer",()=>d,"createDocumentStream",()=>eV,"getFeed",()=>eF,"parseDocument",()=>eH,"parseFeed",()=>eZ],47963)},64873,(e,t,s)=>{"use strict";
1t.exports=e=>{if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},75654,(e,t,s)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}s.isPlainObject=function(e){var t,s;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(s=t.prototype)&&!1!==s.hasOwnProperty("isPrototypeOf"))}},30860,(e,t,s)=>{"use strict";var r=function(e){var t,s,r;return!!(t=e)&&"object"==typeof t&&(s=e,"[object RegExp]"!==(r=Object.prototype.toString.call(s))&&"[object Date]"!==r&&s.$$typeof!==n)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(Array.isArray(e)?[]:{},e,t):e}function a(e,t,s){return e.concat(t).map(function(e){return i(e,s)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,s){(s=s||{}).arrayMerge=s.arrayMerge||a,s.isMergeableObject=s.isMergeableObject||r,s.cloneUnlessOtherwiseSpecified=i;var n,h,u=Array.isArray(t);return u!==Array.isArray(e)?i(t,s):u?s.arrayMerge(e,t,s):(h={},(n=s).isMergeableObject(e)&&o(e).forEach(function(t){h[t]=i(e[t],n)}),o(t).forEach(function(s){l(e,s)&&!(Object.hasOwnProperty.call(e,s)&&Object.propertyIsEnumerable.call(e,s))||(l(e,s)&&n.isMergeableObject(t[s])?h[s]=(function(e,t){if(!t.customMerge)return c;var s=t.customMerge(e);return"function"==typeof s?s:c})(s,n)(e[s],t[s],n):h[s]=i(t[s],n))}),h)}c.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,s){return c(e,s,t)},{})},t.exports=c}
1,61840,(e,t,s)=>{!function(s,r){if("function"==typeof define&&define.amd){let t;void 0!==(t=r())&&e.v(t)}else t.exports?t.exports=r():s.parseSrcset=r()}(e.e,function(){return function(e){function t(e){return" "===e||" "===e||"\n"===e||"\f"===e||"\r"===e}function s(t){var s,r=t.exec(e.substring(f));if(r)return s=r[0],f+=s.length,s}for(var r,n,i,a,o,l=e.length,c=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,u=/^[^ \t\n\r\u000c]+/,d=/[,]+$/,m=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,f=0,g=[];;){if(s(h),f>=l)return g;r=s(u),n=[],","===r.slice(-1)?(r=r.replace(d,""),x()):function(){for(s(c),i="",a="in descriptor";;){if(o=e.charAt(f),"in descriptor"===a)if(t(o))i&&(n.push(i),i="",a="after descriptor");else if(","===o){f+=1,i&&n.push(i),x();return}else if("("===o)i+=o,a="in parens";else if(""===o){i&&n.push(i),x();return}else i+=o;else if("in parens"===a)if(")"===o)i+=o,a="in descriptor";else if(""===o){n.push(i),x();return}else i+=o;else if("after descriptor"===a)if(t(o));else{if(""===o)return void x();a="in descriptor",f-=1}f+=1}}()}function x(){var t,s,i,a,o,l,c,h,u,d=!1,f={};for(a=0;a<n.length;a++)l=(o=n[a])[o.length-1],h=parseInt(c=o.substring(0,o.length-1),10),u=parseFloat(c),m.test(c)&&"w"===l?((t||s)&&(d=!0),0===h?d=!0:t=h):p.test(c)&&"x"===l?((t||s||i)&&(d=!0),u<0?d=!0:s=u):m.test(c)&&"h"===l?((i||s)&&(d=!0),0===h?d=!0:i=h):d=!0;d?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+o+"'."):(f.url=r,t&&(f.w=t),s&&(f.d=s),i&&(f.h=i),g.push(f))}}})}
1,2031,(e,t,s)=>{var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r,blackBright:r,redBright:r,greenBright:r,yellowBright:r,blueBright:r,magentaBright:r,cyanBright:r,whiteBright:r,bgBlackBright:r,bgRedBright:r,bgGreenBright:r,bgYellowBright:r,bgBlueBright:r,bgMagentaBright:r,bgCyanBright:r,bgWhiteBright:r}};t.exports=n(),t.exports.createColors=n},71528,(e,t,s)=>{"use strict";let r=e.r(2031),n={};class i extends Error{constructor(e,t,s,r,n,a){super(e),this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==s&&("number"==typeof t?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported);let s=e=>e,i=e=>e,a=e=>e;if(e){let{bold:e,gray:t,red:o}=r.createColors(!0);i=t=>e(o(t)),s=e=>t(e),n&&(a=e=>n(e))}let o=t.split(/\r?\n/),l=Math.max(this.line-3,0),c=Math.min(this.line+2,o.length),h=String(c).length;return o.slice(l,c).map((e,t)=>{let r=l+1+t,n=" "+(" "+r).slice(-h)+" | ";if(r===this.line){if(e.length>160){let t=Math.max(0,this.column-20),r=Math.max(this.column+20,this.endColumn+20),o=e.slice(t,r),l=s(n.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g," ");return i(">")+s(n)+a(o)+"\n "+l+i("^")}let t=s(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+s(n)+a(e)+"\n "+t+i("^")}return" "+s(n)+a(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}t.exports=i,i.default=i},81864,(e,t,s)=>{"use strict";let r={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let s="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?s+=e.raws.afterName:r&&(s+=" "),e.nodes)this.block(e,s+r);else{let n=(e.raws.between||"")+(t?";":"");this.builder(s+r+n,e)}}beforeAfter(e,t){let s;s="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,n=0;for(;r&&"root"!==r.type;)n+=1,r=r.parent;if(s.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)s+=t}return s}block(e,t){let s,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let s=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let n=e.nodes[r],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,t!==r||s)}}comment(e){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon"),r=e.prop+s+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}document(e){this.body(e)}raw(e,t,s){let n;if(s||(s=t),t&&void 0!==(n=e.raws[t]))return n;let i=e.parent;if("before"===s&&(!i||"root"===i.type&&i.first===e||i&&"document"===i.type))return"";if(!i)return r[s];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[s])return a.rawCache[s];if("before"===s||"after"===s)return this.beforeAfter(e,s);{var o;let r="raw"+((o=s)[0].toUpperCase()+o.slice(1));this[r]?n=this[r](a,e):a.walk(e=>{if(void 0!==(n=e.raws[t]))return!1})}return void 0===n&&(n=r[s]),a.rawCache[s]=n,n}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let s;return e.walkComments(e=>{if(void 0!==e.raws.before)return(s=e.raws.before).includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1}),void 0===s?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(e,t){let s;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(s=e.raws.before).includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1}),void 0===s?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawBeforeRule(e){let t;return e.walk(s=>{if(s.nodes&&(s.parent!==e||e.first!==s)&&void 0!==s.raws.before)return(t=s.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){let t;return e.raws.indent?e.raws.indent:(e.walk(s=>{let r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==s.raws.before){let e=s.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t)}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawValue(e,t){let s=e[t],r=e.raws[t];return r&&r.value===s?r.raw:s}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}t.exports=n,n.default=n},40293,(e,t,s)=>{"use strict";let r=e.r(81864);function n(e,t){new r(t).stringify(e)}t.exports=n,n.default=n},22302,(e,t,s)=>{"use strict";
1t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},57612,(e,t,s)=>{"use strict";let r=e.r(71528),n=e.r(81864),i=e.r(40293),{isClean:a,my:o}=e.r(22302);class l{constructor(e={}){for(let t in this.raws={},this[a]=!1,this[o]=!0,e)if("nodes"===t)for(let s of(this.nodes=[],e[t]))"function"==typeof s.clone?this.append(s.clone()):this.append(s);else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=function e(t,s){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||"proxyCache"===n)continue;let i=t[n],a=typeof i;"parent"===n&&"object"===a?s&&(r[n]=s):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map(t=>e(t,r)):("object"===a&&null!==i&&(i=e(i)),r[n]=i)}return r}(this);for(let s in e)t[s]=e[s];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:s,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:s.column,line:s.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,s)=>e[t]===s||(e[t]=s,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}markClean(){this[a]=!0}
1markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let s=this.source.start;if(e.index)s=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(s=this.positionInside(r,t))}return s}positionInside(e,t){let s=t||this.toString(),r=this.source.start.column,n=this.source.start.line;for(let t=0;t<e;t++)"\n"===s[t]?(r=1,n+=1):r+=1;return{column:r,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},s=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.toString(),n=r.indexOf(e.word);-1!==n&&(t=this.positionInside(n,r),s=this.positionInside(n+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?s={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?s=this.positionInside(e.endIndex):e.index&&(s=this.positionInside(e.index+1));return(s.line<t.line||s.line===t.line&&s.column<=t.column)&&(s={column:t.column+1,line:t.line}),{end:s,start:t}}raw(e,t){return new n().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,s=!1;for(let r of e)r===this?s=!0:s?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);s||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let s={},r=null==t;t=t||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||"parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))s[e]=r.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof r&&r.toJSON)s[e]=r.toJSON(null,t);else if("source"===e){let i=t.get(r.input);null==i&&(i=n,t.set(r.input,n),n++),s[e]={end:r.end,inputId:i,start:r.start}}else s[e]=r}return r&&(s.inputs=[...t.keys()].map(e=>e.toJSON())),s}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=i){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,s){let r={node:this};for(let e in s)r[e]=s[e];return e.warn(t,r)}get proxyOf(){return this}}t.exports=l,l.default=l},77906,(e,t,s)=>{"use strict";let r=e.r(57612);class n extends r{constructor(e){super(e),this.type="comment"}}t.exports=n,n.default=n},21772,(e,t,s)=>{"use strict";let r=e.r(57612);class n extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}t.exports=n,n.default=n},96045,(e,t,s)=>{"use strict";let r,n,i,a,o=e.r(77906),l=e.r(21772),c=e.r(57612),{isClean:h,my:u}=e.r(22302);class d extends c{append(...e){for(let t of e)for(let e of this.normalize(t,this.last))this.proxyOf.nodes.push(e);return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){let t,s;if(!this.proxyOf.nodes)return;let r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],!1!==(s=e(this.proxyOf.nodes[t],t)));)this.indexes[r]+=1;return delete this.indexes[r],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return(...s)=>e[t](...s.map(e=>"function"==typeof e?(t,s)=>e(t.toProxy(),s):e));if("every"===t||"some"===t)return s=>e[t]((e,...t)=>s(e.toProxy(),...t));if("root"===t)return()=>e.root().toProxy();else if("nodes"===t)return e.nodes.map(e=>e.toProxy());else if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:(e,t,s)=>e[t]===s||(e[t]=s,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let s,r=this.index(e),n=this.normalize(t,this.proxyOf.nodes[r]).reverse();for(let t of(r=this.index(e),n))this.proxyOf.nodes.splice(r+1,0,t);for(let e in this.indexes)r<(s=this.indexes[e])&&(this.indexes[e]=s+n.length);return this.markDirty(),this}insertBefore(e,t){let s,r=this.index(e),n=0===r&&"prepend",i=this.normalize(t,this.proxyOf.nodes[r],n).reverse();for(let t of(r=this.index(e),i))this.proxyOf.nodes.splice(r,0,t);for(let e in this.indexes)r<=(s=this.indexes[e])&&(this.indexes[e]=s+i.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>
1(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(n(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(let t of e=e.slice(0))t.parent&&t.parent.removeChild(t,"ignore");else if("root"===e.type&&"document"!==this.type)for(let t of e=e.nodes.slice(0))t.parent&&t.parent.removeChild(t,"ignore");else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector||e.selectors)e=[new a(e)];else if(e.name)e=[new r(e)];else if(e.text)e=[new o(e)];else throw Error("Unknown node type in node creation");return e.map(e=>(e[u]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[h]&&function e(t){if(t[h]=!1,t.proxyOf.nodes)for(let s of t.proxyOf.nodes)e(s)}(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){for(let t of e=e.reverse()){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;for(let s in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[s])>=e&&(this.indexes[s]=t-1);return this.markDirty(),this}replaceValues(e,t,s){return s||(s=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||(!t.fast||r.value.includes(t.fast))&&(r.value=r.value.replace(e,s))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,s)=>{let r;try{r=e(t,s)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("atrule"===s.type&&e.test(s.name))return t(s,r)}):this.walk((s,r)=>{if("atrule"===s.type&&s.name===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("atrule"===e.type)return t(e,s)}))}walkComments(e){return this.walk((t,s)=>{if("comment"===t.type)return e(t,s)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("decl"===s.type&&e.test(s.prop))return t(s,r)}):this.walk((s,r)=>{if("decl"===s.type&&s.prop===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("decl"===e.type)return t(e,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("rule"===s.type&&e.test(s.selector))return t(s,r)}):this.walk((s,r)=>{if("rule"===s.type&&s.selector===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("rule"===e.type)return t(e,s)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}d.registerParse=e=>{n=e},d.registerRule=e=>{a=e},d.registerAtRule=e=>{r=e},d.registerRoot=e=>{i=e},t.exports=d,d.default=d,d.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,a.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,o.prototype):"root"===e.type&&Object.setPrototypeOf(e,i.prototype),e[u]=!0,e.nodes&&e.nodes.forEach(e=>{d.rebuild(e)})}},70255,(e,t,s)=>{"use strict";let r=e.r(96045);class n extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}t.exports=n,n.default=n,r.registerAtRule(n)},98475,(e,t,s)=>{"use strict";let r,n,i=e.r(96045);class a extends i{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new n,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{n=e},t.exports=a,a.default=a},2658,(e,t,s)=>{t.exports={nanoid:(e=21)=>{let t="",s=e;for(;s--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(s=t)=>{let r="",n=s;for(;n--;)r+=e[Math.random()*e.length|0];return r}}},43954,(e,t,s)=>{!function(){"use strict";var e={815:function(e){e.exports=function(e,s,r,n){s=s||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(s);var o=1e3;n&&"number"==typeof n.maxKeys&&(o=n.maxKeys);var l=e.length;o>0&&l>o&&(l=o);for(var c=0;c<l;++c){var h,u,d,m,p=e[c].replace(a,"%20"),f=p.indexOf(r);(f>=0?(h=p.substr(0,f),u=p.substr(f+1)):(h=p,u=""),d=decodeURIComponent(h),m=decodeURIComponent(u),Object.prototype.hasOwnProperty.call(i,d))?t(i[d])?i[d].push(m):i[d]=[i[d],m]:i[d]=m}return i};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,a,o){return(i=i||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?r(n(e),function(n){var o=encodeURIComponent(t(n))+a;return s(e[n])?r(e[n],function(e){return o+encodeURIComponent(t(e))}).join(i):o+encodeURIComponent(t(e[n]))}).join(i):o?encodeURIComponent(t(o))+a+encodeURIComponent(t(e)):""};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var s=[],r=0;r<e.length;r++)s.push(t(e[r],r));return s}var n=Object.keys||function(e){var t=[];
1for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.push(s);return t}}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var i=s[t]={exports:{}},a=!0;try{e[t](i,i.exports,r),a=!1}finally{a&&delete s[t]}return i.exports}r.ab="/ROOT/node_modules/next/dist/compiled/querystring-es3/";var n={};n.decode=n.parse=r(815),n.encode=n.stringify=r(577),t.exports=n}()},21342,(e,t,s)=>{var r={452:function(t){"use strict";t.exports=e.r(43954)}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={exports:{}},a=!0;try{r[e](s,s.exports,i),a=!1}finally{a&&delete n[e]}return s.exports}i.ab="/ROOT/node_modules/next/dist/compiled/native-url/";var a={};!function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,s=/https?|ftp|gopher|file/;function r(e){"string"==typeof e&&(e=x(e));var r,n,i,a,o,l,c,h,u,d=(n=(r=e).auth,i=r.hostname,a=r.protocol||"",o=r.pathname||"",l=r.hash||"",c=r.query||"",h=!1,n=n?encodeURIComponent(n).replace(/%3A/i,":")+"@":"",r.host?h=n+r.host:i&&(h=n+(~i.indexOf(":")?"["+i+"]":i),r.port&&(h+=":"+r.port)),c&&"object"==typeof c&&(c=t.encode(c)),u=r.search||c&&"?"+c||"",a&&":"!==a.substr(-1)&&(a+=":"),r.slashes||(!a||s.test(a))&&!1!==h?(h="//"+(h||""),o&&"/"!==o[0]&&(o="/"+o)):h||(h=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),{protocol:a,host:h,pathname:o=o.replace(/[?#]/g,encodeURIComponent),search:u=u.replace("#","%23"),hash:l});return""+d.protocol+d.host+d.pathname+d.search+d.hash}var n="http://",o=n+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,c=/https?|ftp|gopher|file/;function h(e,t){var s="string"==typeof e?x(e):e;e="object"==typeof e?r(e):e;var i=x(t),a="";s.protocol&&!s.slashes&&(a=s.protocol,e=e.replace(s.protocol,""),a+="/"===t[0]||"/"===e[0]?"/":""),a&&i.protocol&&(a="",i.slashes||(a=i.protocol,t=t.replace(i.protocol,"")));var h=e.match(l);h&&!i.protocol&&(e=e.substr((a=h[1]+(h[2]||"")).length),/^\/\/[^/]/.test(t)&&(a=a.slice(0,-1)));var u=new URL(e,o+"/"),d=new URL(t,u).toString().replace(o,""),m=i.protocol||s.protocol;return m+=s.slashes||i.slashes?"//":"",!a&&m?d=d.replace(n,m):a&&(d=d.replace(n,"")),c.test(d)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),a&&(d=a+("/"===d[0]?d.substr(1):d)),d}function u(){}u.prototype.parse=x,u.prototype.format=r,u.prototype.resolve=h,u.prototype.resolveObject=h;var d=/^https?|ftp|gopher|file/,m=/^(.*?)([#?].*)/,p=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,f=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function x(e,s,n){if(void 0===s&&(s=!1),void 0===n&&(n=!1),e&&"object"==typeof e&&e instanceof u)return e;var i=(e=e.trim()).match(m);e=i?i[1].replace(/\\/g,"/")+i[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(p),l=f.test(e),c="";a&&(d.test(a[1])||(c=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(l=!1,d.test(a[1])?(c=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(c=a[1],e="/"+a[3]));var h,x=(i?i[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),b=x&&x[1],y=new u,v="",w="";try{h=new URL(e)}catch(t){v=t,c||n||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{h=new URL(e,o)}catch(e){return y.protocol=c,y.href=c,y}}y.slashes=l&&!w,y.host="w.w"===h.host?"":h.host,y.hostname="w.w"===h.hostname?"":h.hostname.replace(/(\[|\])/g,""),y.protocol=v?c||null:h.protocol,y.search=h.search.replace(/\\/g,"%5C"),y.hash=h.hash.replace(/\\/g,"%5C");var j=e.split("#");!y.search&&~j[0].indexOf("?")&&(y.search="?"),y.hash||""!==j[1]||(y.hash="#"),y.query=s?t.decode(h.search.substr(1)):y.search.substr(1),y.pathname=w+(a?h.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):h.pathname),"about:"===y.protocol&&"blank"===y.pathname&&(y.protocol="",y.pathname=""),v&&"/"!==e[0]&&(y.pathname=y.pathname.substr(1)),c&&!d.test(c)&&"/"!==e.slice(-1)&&"/"===y.pathname&&(y.pathname=""),y.path=y.pathname+y.search,y.auth=[h.username,h.password].map(decodeURIComponent).filter(
1Boolean).join(":"),y.port=h.port,b&&!y.host.endsWith(b)&&(y.host+=b,y.port=b.slice(1)),y.href=w?""+y.pathname+y.search+y.hash:r(y);var R=/^(file)/.test(y.href)?["host","hostname"]:[];return Object.keys(y).forEach(function(e){~R.indexOf(e)||(y[e]=y[e]||null)}),y}a.parse=x,a.format=r,a.resolve=h,a.resolveObject=function(e,t){return x(h(e,t))},a.Url=u}(),t.exports=a},4468,(e,t,s)=>{"use strict";var r=e.i(67034);let{existsSync:n,readFileSync:i}={},{dirname:a,join:o}={},{SourceMapConsumer:l,SourceMapGenerator:c}={};class h{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let s=t.map?t.map.prev:void 0,r=this.loadMap(t.from,s);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new l(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let s=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(s){var n;return n=e.substr(s[0].length),r.Buffer.from(n,"base64").toString()}throw Error("Unsupported source map encoding "+e.match(/data:application\/json;([^,]+),/)[1])}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let s=e.lastIndexOf(t.pop()),r=e.indexOf("*/",s);s>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(s,r)))}loadFile(e){if(this.root=a(e),n(e))return this.mapFile=e,i(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t)if("string"==typeof t)return t;else if("function"==typeof t){let s=t(e);if(s){let e=this.loadFile(s);if(!e)throw Error("Unable to load previous source map: "+s.toString());return e}}else if(t instanceof l)return c.fromSourceMap(t).toString();else if(t instanceof c)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error("Unsupported previous source map format: "+t.toString());else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;return e&&(t=o(a(e),t)),this.loadFile(t)}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}t.exports=h,h.default=h},2278,(e,t,s)=>{"use strict";let{nanoid:r}=e.r(2658),{isAbsolute:n,resolve:i}={},{SourceMapConsumer:a,SourceMapGenerator:o}={},{fileURLToPath:l,pathToFileURL:c}=e.r(21342),h=e.r(71528),u=e.r(4468),d={}
1,m=Symbol("fromOffsetCache"),p=!!(a&&o),f=!!(i&&n);class g{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!f||/^\w+:\/\//.test(t.from)||n(t.from)?this.file=t.from:this.file=i(t.from)),f&&p){let e=new u(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,s,r={}){let n,i,a;if(t&&"object"==typeof t){let e=t,r=s;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,s=r.col}else t=e.line,s=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);i=e.line,n=e.col}else i=r.line,n=r.column}else if(!s){let e=this.fromOffset(t);t=e.line,s=e.col}let o=this.origin(t,s,i,n);return(a=o?new h(e,void 0===o.endLine?o.line:{column:o.column,line:o.line},void 0===o.endLine?o.column:{column:o.endColumn,line:o.endLine},o.source,o.file,r.plugin):new h(e,void 0===i?t:{column:s,line:t},void 0===i?s:{column:n,line:i},this.css,this.file,r.plugin)).input={column:s,endColumn:n,endLine:i,line:t,source:this.css},this.file&&(c&&(a.input.url=c(this.file).toString()),a.input.file=this.file),a}fromOffset(e){let t,s;if(this[m])s=this[m];else{let e=this.css.split("\n");s=Array(e.length);let t=0;for(let r=0,n=e.length;r<n;r++)s[r]=t,t+=e[r].length+1;this[m]=s}t=s[s.length-1];let r=0;if(e>=t)r=s.length-1;else{let t,n=s.length-2;for(;r<n;)if(e<s[t=r+(n-r>>1)])n=t-1;else if(e>=s[t+1])r=t+1;else{r=t;break}}return{col:e-s[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:i(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,s,r){let i,a;if(!this.map)return!1;let o=this.map.consumer(),h=o.originalPositionFor({column:t,line:e});if(!h.source)return!1;"number"==typeof s&&(i=o.originalPositionFor({column:r,line:s})),a=n(h.source)?c(h.source):new URL(h.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let u={column:h.column,endColumn:i&&i.column,endLine:i&&i.line,line:h.line,url:a.toString()};if("file:"===a.protocol)if(l)u.file=l(a);else throw Error("file: protocol is not available in this PostCSS build");let d=o.sourceContentFor(h.source);return d&&(u.source=d),u}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}t.exports=g,g.default=g,d&&d.registerInput&&d.registerInput(g)},51517,(e,t,s)=>{"use strict";let r,n,i=e.r(96045);class a extends i{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,s){let r=super.normalize(e);if(t){if("prepend"===s)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before}return r}removeChild(e,t){let s=this.index(e);return!t&&0===s&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(e)}toResult(e={}){return new r(new n,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{n=e},t.exports=a,a.default=a,i.registerRoot(a)},50215,(e,t,s)=>{"use strict";let r={comma:e=>r.split(e,[","],!0),space:e=>r.split(e,[" ","\n"," "]),split(e,t,s){let r=[],n="",i=!1,a=0,o=!1,l="",c=!1;for(let s of e)c?c=!1:"\\"===s?c=!0:o?s===l&&(o=!1):'"'===s||"'"===s?(o=!0,l=s):"("===s?a+=1:")"===s?a>0&&(a-=1):0===a&&t.includes(s)&&(i=!0),i?(""!==n&&r.push(n.trim()),n="",i=!1):n+=s;return(s||""!==n)&&r.push(n.trim()),r}};t.exports=r,r.default=r},93894,(e,t,s)=>{"use strict";let r=e.r(96045),n=e.r(50215);class i extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return n.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}}t.exports=i,i.default=i,r.registerRule(i)},98729,(e,t,s)=>{"use strict";let r=e.r(70255),n=e.r(77906),i=e.r(21772),a=e.r(2278),o=e.r(4468),l=e.r(51517),c=e.r(93894);function h(e,t){if(Array.isArray(e))return e.map(e=>h(e));let{inputs:s,...u}=e;if(s)for(let e of(t=[],s)){let s={...e,__proto__:a.prototype};s.map&&(s.map={...s.map,__proto__:o.prototype}),t.push(s)}if(u.nodes&&(u.nodes=e.nodes.map(e=>h(e,t))),u.source){let{inputId:e,...s}=u.source;u.source=s,null!=e&&(u.source.input=t[e])}if("root"===u.type)return new l(u);if("decl"===u.type)return new i(u);if("rule"===u.type)return new c(u);if("comment"===u.type)return new n(u);if("atrule"===u.type)return new r(u);else throw Error("Unknown node type: "+e.type)}t.exports=h,h.default=h},20194,(e,t,s)=>{"use strict";var r=e.i(67034);let{dirname:n,relative:i,resolve:a,sep:o}={},{SourceMapConsumer:l,SourceMapGenerator:c}={},{pathToFileURL:h}=e.r(21342),u=e.r(2278),d=!!(l&&c),m=!!(n&&a&&i&&o);t.exports=class{constructor(e,t,s,r){this.stringify=e,this.mapOpts=s.map||{},this.root=t,this.opts=s,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,s=this.toUrl(this.path(e.file)),r=e.root||n(e.file);!1===this.mapOpts.sourcesContent?(t=new l(e.text)).sourcesContent&&(t.sourcesContent=null):t=e.consumer(),this.map.applySourceMap(t,s,this.toUrl(this.path(r)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),m&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=c.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return(this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline())?[this.css]:[this.css,this.map]}generateString(){let e,t;this.css="",this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0});let s=1,r=1,n="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(a,o,l)=>{if(this.css+=a,o&&"end"!==l&&(i.generated.line=s,i.generated.column=r-1,o.source&&o.source.start?(i.source=this.sourcePath(o),i.original.line=o.source.start.line,i.original.column=o.source.start.column-1):(i.source=n,i.original.line=1,i.original.column=0),this.map.addMapping(i)),(t=a.match(/\n/g))?(s+=t.length,e=a.lastIndexOf("\n"),r=a.length-e):r+=a.length,o&&"start"!==l){let e=o.parent||{raws:{}};(!("decl"===o.type||"atrule"===o.type&&!o.nodes)||o!==e.last||e.raws.semicolon)&&(o.source&&o.source.end?(i.source=this.sourcePath(o),i.original.line=o.source.end.line,i.original.column=o.source.end.column-1,i.generated.line=s,i.generated.column=r-2):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=s,i.generated.column=r-1),this.map.addMapping(i))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let s=this.opts.to?n(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(s=n(a(s,this.mapOpts.annotation)));let r=i(s,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new u(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let s=t.source.input.from;if(s&&!e[s]){e[s]=!0;let r=this.usesFileUrls?this.toFileUrl(s):this.toUrl(this.path(s));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return r.Buffer.from(e).toString("base64")}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(h){let t=h(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===o&&(e=e.replace(/\\/g,"/"));let s=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,s),s}}}
1,46980,(e,t,s)=>{"use strict";let r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,a=/[\da-f]/i;t.exports=function(e,t={}){let s,o,l,c,h,u,d,m,p,f,g=e.css.valueOf(),x=t.ignoreErrors,b=g.length,y=0,v=[],w=[];function j(t){throw e.error("Unclosed "+t,y)}return{back:function(e){w.push(e)},endOfFile:function(){return 0===w.length&&y>=b},nextToken:function(e){if(w.length)return w.pop();if(y>=b)return;let t=!!e&&e.ignoreUnclosed;switch(s=g.charCodeAt(y)){case 10:case 32:case 9:case 13:case 12:c=y;do c+=1,s=g.charCodeAt(c);while(32===s||10===s||9===s||13===s||12===s)u=["space",g.slice(y,c)],y=c-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(s);u=[e,e,y];break}case 40:if(f=v.length?v.pop()[1]:"",p=g.charCodeAt(y+1),"url"===f&&39!==p&&34!==p&&32!==p&&10!==p&&9!==p&&12!==p&&13!==p){c=y;do{if(d=!1,-1===(c=g.indexOf(")",c+1)))if(x||t){c=y;break}else j("bracket");for(m=c;92===g.charCodeAt(m-1);)m-=1,d=!d}while(d)u=["brackets",g.slice(y,c+1),y,c],y=c}else c=g.indexOf(")",y+1),o=g.slice(y,c+1),-1===c||i.test(o)?u=["(","(",y]:(u=["brackets",o,y,c],y=c);break;case 39:case 34:h=39===s?"'":'"',c=y;do{if(d=!1,-1===(c=g.indexOf(h,c+1)))if(x||t){c=y+1;break}else j("string");for(m=c;92===g.charCodeAt(m-1);)m-=1,d=!d}while(d)u=["string",g.slice(y,c+1),y,c],y=c;break;case 64:r.lastIndex=y+1,r.test(g),c=0===r.lastIndex?g.length-1:r.lastIndex-2,u=["at-word",g.slice(y,c+1),y,c],y=c;break;case 92:for(c=y,l=!0;92===g.charCodeAt(c+1);)c+=1,l=!l;if(s=g.charCodeAt(c+1),l&&47!==s&&32!==s&&10!==s&&9!==s&&13!==s&&12!==s&&(c+=1,a.test(g.charAt(c)))){for(;a.test(g.charAt(c+1));)c+=1;32===g.charCodeAt(c+1)&&(c+=1)}u=["word",g.slice(y,c+1),y,c],y=c;break;default:47===s&&42===g.charCodeAt(y+1)?(0===(c=g.indexOf("*/",y+2)+1)&&(x||t?c=g.length:j("comment")),u=["comment",g.slice(y,c+1),y,c]):(n.lastIndex=y+1,n.test(g),c=0===n.lastIndex?g.length-1:n.lastIndex-2,u=["word",g.slice(y,c+1),y,c],v.push(u)),y=c}return y++,u},position:function(){return y}}}},52371,(e,t,s)=>{"use strict";let r=e.r(70255),n=e.r(77906),i=e.r(21772),a=e.r(51517),o=e.r(93894),l=e.r(46980),c={empty:!0,space:!0};t.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,s,n,i=new r;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let a=!1,o=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length)if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}else if("{"===t){o=!0;break}else if("}"===t){if(l.length>0){for(n=l.length-1,s=l[n];s&&"space"===s[0];)s=l[--n];s&&(i.source.end=this.getPosition(s[3]||s[2]),i.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),a&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),o&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t,s=this.colon(e);if(!1===s)return;let r=0;for(let n=s-1;n>=0&&("space"===(t=e[n])[0]||2!==(r+=1));n--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}colon(e){let t,s,r=0;for(let[n,i]of e.entries()){if("("===(s=i[0])&&(r+=1),")"===s&&(r-=1),0===r&&":"===s)if(t)if("word"===t[0]&&"progid"===t[1])continue;else return n;else this.doubleColon(i);t=i}return!1}comment(e){let t=new n;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let s,r,n=new i;this.init(n,e[0][2]);let a=e[e.length-1];for(";"===a[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(a[3]||a[2]||function(e){for(let t=e.length-1;t>=0;t--){let s=e[t],r=s[3]||s[2];
1if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(":"===(s=e.shift())[0]){n.raws.between+=s[1];break}"word"===s[0]&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1]}("_"===n.prop[0]||"*"===n.prop[0])&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o=[];for(;e.length&&("space"===(r=e[0][0])||"comment"===r);)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if("!important"===(s=e[t])[1].toLowerCase()){n.important=!0;let s=this.stringFrom(e,t);" !important"!==(s=this.spacesFromEnd(e)+s)&&(n.raws.important=s);break}if("important"===s[1].toLowerCase()){let s=e.slice(0),r="";for(let e=t;e>0;e--){let t=s[e][0];if(r.trim().startsWith("!")&&"space"!==t)break;r=s.pop()[1]+r}r.trim().startsWith("!")&&(n.important=!0,n.raws.important=r,e=s)}if("space"!==s[0]&&"comment"!==s[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(n.raws.between+=o.map(e=>e[1]).join(""),o=[]),this.raw(n,"value",o.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,s=null,r=!1,n=null,i=[],a=e[1].startsWith("--"),o=[],l=e;for(;l;){if(s=l[0],o.push(l),"("===s||"["===s)n||(n=l),i.push("("===s?")":"]");else if(a&&r&&"{"===s)n||(n=l),i.push("}");else if(0===i.length)if(";"===s)if(r)return void this.decl(o,a);else break;else if("{"===s)return void this.rule(o);else if("}"===s){this.tokenizer.back(o.pop()),t=!0;break}else":"===s&&(r=!0);else s===i[i.length-1]&&(i.pop(),0===i.length&&(n=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(n),t&&r){if(!a)for(;o.length&&("space"===(l=o[o.length-1][0])||"comment"===l);)this.tokenizer.back(o.pop());this.decl(o,a)}else this.unknownWord(o)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,s,r){let n,i,a,o,l=s.length,h="",u=!0;for(let e=0;e<l;e+=1)"space"!==(i=(n=s[e])[0])||e!==l-1||r?"comment"===i?(o=s[e-1]?s[e-1][0]:"empty",a=s[e+1]?s[e+1][0]:"empty",c[o]||c[a]||","===h.slice(-1)?u=!1:h+=n[1]):h+=n[1]:u=!1;if(!u){let r=s.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:r,value:h}}e[t]=h}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;
1e.length&&("space"===(t=e[0][0])||"comment"===t);)s+=e.shift()[1];return s}spacesFromEnd(e){let t="";for(;e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){let s="";for(let r=t;r<e.length;r++)s+=e[r][1];return e.splice(t,e.length-t),s}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},57373,(e,t,s)=>{"use strict";let r=e.r(96045),n=e.r(2278),i=e.r(52371);function a(e,t){let s=new i(new n(e,t));try{s.parse()}catch(e){throw e}return s.root}t.exports=a,a.default=a,r.registerParse(a)},83078,(e,t,s)=>{"use strict";class r{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=r,r.default=r},48665,(e,t,s)=>{"use strict";let r=e.r(83078);class n{constructor(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let s=new r(e,t);return this.messages.push(s),s}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}t.exports=n,n.default=n},80698,(e,t,s)=>{"use strict";let r={};t.exports=function(e){!r[e]&&(r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},9249,(e,t,s)=>{"use strict";let r=e.r(96045),n=e.r(98475),i=e.r(20194),a=e.r(57373),o=e.r(48665),l=e.r(51517),c=e.r(40293),{isClean:h,my:u}=e.r(22302);e.r(80698);let d={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},m={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0};function f(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,s=d[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[s,s+"-"+t,0,s+"Exit",s+"Exit-"+t]:t?[s,s+"-"+t,s+"Exit",s+"Exit-"+t]:e.append?[s,0,s+"Exit"]:[s,s+"Exit"]}function x(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[h]=!1,e.nodes&&e.nodes.forEach(e=>b(e)),e}let y={};class v{constructor(e,t,s){let n;if(this.stringified=!1,this.processed=!1,"object"==typeof t&&null!==t&&("root"===t.type||"document"===t.type))n=b(t);else if(t instanceof v||t instanceof o)n=b(t.root),t.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=t.map);else{let e=a;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{n=e(t,s)}catch(e){this.processed=!0,this.error=e}n&&!n[u]&&r.rebuild(n)}this.result=new o(e,n,s),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?s.postcssVersion:(e.plugin=s.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s])};for(let t of this.plugins)if("object"==typeof t)for(let s in t){if(!m[s]&&/^[A-Z]/.test(s))throw Error(`Unknown event ${s} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!p[s])if("object"==typeof t[s])for(let r in t[s])e(t,"*"===r?s:s+"-"+r.toLowerCase(),t[s][r]);else"function"==typeof t[s]&&e(t,s,t[s])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],s=this.runOnRoot(t);if(f(s))try{await s}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[h];){e[h]=!0;let t=[x(e)];for(;t.length>0;){let e=this.visitTick(t);if(f(e))try{await e}catch(s){let e=t[t.length-1].node;throw this.handleError(s,e)}}}if(this.listeners.OnceExit)for(let[t,s]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>s(e,this.helpers));await Promise.all(t)}else await s(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));if(f(t[0]))return Promise.all(t);return t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new i(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(f(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[h];)e[h]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[s,r]of e){let e;this.result.lastPlugin=s;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(f(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:s,visitors:r}=t;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,n]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(s.toProxy(),this.helpers)}catch(e){throw this.handleError(e,s)}}if(0!==t.iterator){let r,n=t.iterator;for(;r=s.nodes[s.indexes[n]];)if(s.indexes[n]+=1,!r[h]){r[h]=!0,e.push(x(r));return}t.iterator=0,delete s.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,0===e){s.nodes&&s.nodes.length&&(s[h]=!0,t.iterator=s.getIterator());return}if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){for(let t of(e[h]=!0,g(e)))if(0===t)e.nodes&&e.each(e=>{e[h]||this.walkSync(e)});else{let s=this.listeners[t];if(s&&this.visitSync(s,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}v.registerPostcss=e=>{y=e},t.exports=v,v.default=v,l.registerLazyResult(v),n.registerLazyResult(v)},11589,(e,t,s)=>{"use strict";let r=e.r(20194),n=e.r(57373),i=e.r(48665),a=e.r(40293);e.r(80698);class o{constructor(e,t,s){let n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=s,this._map=void 0,this.result=new i(this._processor,n,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});let l=new r(a,n,this._opts,t);
1if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){let e;if(this._root)return this._root;try{e=n(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}get[Symbol.toStringTag](){return"NoWorkResult"}}t.exports=o,o.default=o},11902,(e,t,s)=>{"use strict";let r=e.r(98475),n=e.r(9249),i=e.r(11589),a=e.r(51517);class o{constructor(e=[]){this.version="8.4.47",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let s of e)if(!0===s.postcss?s=s():s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))t=t.concat(s.plugins);else if("object"==typeof s&&s.postcssPlugin)t.push(s);else if("function"==typeof s)t.push(s);else if("object"==typeof s&&(s.parse||s.stringify));else throw Error(s+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new n(this,e,t):new i(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}t.exports=o,o.default=o,a.registerProcessor(o),r.registerProcessor(o)},85243,(e,t,s)=>{"use strict";var r=e.i(47167);let n=e.r(70255),i=e.r(77906),a=e.r(96045),o=e.r(71528),l=e.r(21772),c=e.r(98475),h=e.r(98729),u=e.r(2278),d=e.r(9249),m=e.r(50215),p=e.r(57612),f=e.r(57373),g=e.r(11902),x=e.r(48665),b=e.r(51517),y=e.r(93894),v=e.r(40293),w=e.r(83078);function j(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new g(e)}j.plugin=function(e,t){let s,n=!1;function i(...s){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),r.default.env.LANG&&r.default.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));let a=t(...s);return a.postcssPlugin=e,a.postcssVersion=new g().version,a}return Object.defineProperty(i,"postcss",{get:()=>(s||(s=i()),s)}),i.process=function(e,t,s){return j([i(s)]).process(e,t)},i},j.stringify=v,j.parse=f,j.fromJSON=h,j.list=m,j.comment=e=>new i(e),j.atRule=e=>new n(e),j.decl=e=>new l(e),j.rule=e=>new y(e),j.root=e=>new b(e),j.document=e=>new c(e),j.CssSyntaxError=o,j.Declaration=l,j.Container=a,j.Processor=g,j.Document=c,j.Comment=i,j.Warning=w,j.AtRule=n,j.Result=x,j.Input=u,j.Rule=y,j.Root=b,j.Node=p,d.registerPostcss(j),t.exports=j,j.default=j},22315,(e,t,s)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",s="minute",r="hour",n="week",i="month",a="quarter",o="year",l="date",c="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,s){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(s)+e},m="en",p={};p[m]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],s=e%100;return"["+e+(t[(s-20)%10]||t[s]||t[0])+"]"}};var f="$isDayjsObject",g=function(e){return e instanceof v||!(!e||!e[f])},x=function e(t,s,r){var n;if(!t)return m;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(n=i),s&&(p[i]=s,n=i);var a=t.split("-");if(!n&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,n=o}return!r&&n&&(m=n),n||!r&&m},b=function(e,t){if(g(e))return e.clone();var s="object"==typeof t?t:{};return s.date=e,s.args=arguments,new v(s)},y={s:d,z:function(e){var t=-e.utcOffset(),s=Math.abs(t);return(t<=0?"+":"-")+d(Math.floor(s/60),2,"0")+":"+d(s%60,2,"0")},m:function e(t,s){if(t.date()<s.date())return-e(s,t);var r=12*(s.year()-t.year())+(s.month()-t.month()),n=t.clone().add(r,i),a=s-n<0,o=t.clone().add(r+(a?-1:1),i);return+(-(r+(s-n)/(a?n-o:o-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:i,y:o,w:n,d:"day",D:l,h:r,m:s,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=x,y.i=g,y.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var v=function(){function d(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[f]=!0}var m=d.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,s=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var n=r[2]-1||0,i=(r[7]||"0").substring(0,3);return s?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return y},m.isValid=function(){return this.$d.toString()!==c},m.isSame=function(e,t){var s=b(e);return this.startOf(t)<=s&&s<=this.endOf(t)},m.isAfter=function(e,t){return b(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<b(e)},m.$g=function(e,t,s){return y.u(e)?this[t]:this.set(s,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,a){var c=this,h=!!y.u(a)||a,u=y.p(e),d=function(e,t){var s=y.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return h?s:s.endOf("day")},m=function(e,t){return y.w(c.toDate()[e].apply(c.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(t)),c
1)},p=this.$W,f=this.$M,g=this.$D,x="set"+(this.$u?"UTC":"");switch(u){case o:return h?d(1,0):d(31,11);case i:return h?d(1,f):d(0,f+1);case n:var b=this.$locale().weekStart||0,v=(p<b?p+7:p)-b;return d(h?g-v:g+(6-v),f);case"day":case l:return m(x+"Hours",0);case r:return m(x+"Minutes",1);case s:return m(x+"Seconds",2);case t:return m(x+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(n,a){var c,h=y.p(n),u="set"+(this.$u?"UTC":""),d=((c={}).day=u+"Date",c[l]=u+"Date",c[i]=u+"Month",c[o]=u+"FullYear",c[r]=u+"Hours",c[s]=u+"Minutes",c[t]=u+"Seconds",c[e]=u+"Milliseconds",c)[h],m="day"===h?this.$D+(a-this.$W):a;if(h===i||h===o){var p=this.clone().set(l,1);p.$d[d](m),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[y.p(e)]()},m.add=function(e,a){var l,c=this;e=Number(e);var h=y.p(a),u=function(t){var s=b(c);return y.w(s.date(s.date()+Math.round(t*e)),c)};if(h===i)return this.set(i,this.$M+e);if(h===o)return this.set(o,this.$y+e);if("day"===h)return u(1);if(h===n)return u(7);var d=((l={})[s]=6e4,l[r]=36e5,l[t]=1e3,l)[h]||1,m=this.$d.getTime()+e*d;return y.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,s=this.$locale();if(!this.isValid())return s.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=y.z(this),i=this.$H,a=this.$m,o=this.$M,l=s.weekdays,h=s.months,d=s.meridiem,m=function(e,s,n,i){return e&&(e[s]||e(t,r))||n[s].slice(0,i)},p=function(e){return y.s(i%12||12,e,"0")},f=d||function(e,t,s){var r=e<12?"AM":"PM";return s?r.toLowerCase():r};return r.replace(u,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return o+1;case"MM":return y.s(o+1,2,"0");case"MMM":return m(s.monthsShort,o,h,3);case"MMMM":return m(h,o);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return m(s.weekdaysMin,t.$W,l,2);case"ddd":return m(s.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return y.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return f(i,a,!0);case"A":return f(i,a,!1);case"m":return String(a);case"mm":return y.s(a,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return n}return null}(e)||n.replace(":","")})},m.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},m.diff=function(e,l,c){var h,u=this,d=y.p(l),m=b(e),p=(m.utcOffset()-this.utcOffset())*6e4,f=this-m,g=function(){return y.m(u,m)};switch(d){case o:h=g()/12;break;case i:h=g();break;case a:h=g()/3;break;case n:h=(f-p)/6048e5;break;case"day":h=(f-p)/864e5;break;case r:h=f/36e5;break;case s:h=f/6e4;break;case t:h=f/1e3;break;default:h=f}return c?h:y.a(h)},m.daysInMonth=function(){return this.endOf(i).$D},m.$locale=function(){return p[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var s=this.clone(),r=x(e,t,!0);return r&&(s.$L=r),s},m.clone=function(){return y.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},d}(),w=v.prototype;return b.prototype=w,[["$ms",e],["$s",t],["$m",s],["$H",r],["$W","day"],["$M",i],["$y",o],["$D",l]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,v,b),e.$i=!0),b},b.locale=x,b.isDayjs=g,b.unix=function(e){return b(1e3*e)},b.en=p[m],b.Ls=p,b.p={},b}()},82004,(e,t,s)=>{let r=e.r(22315);function n(e){for(e=e.replace(/[\x00-\x20]+/g,"");;){let t=e.indexOf("<!--");if(-1===t)break;let s=e.indexOf("-->",t+4);if(-1===s)break;e=e.substring(0,t)+e.substring(s+3)}return e}function i(e,t){let s=(t=t||{}).allowedSchemes||["http","https","ftp","mailto","tel","sms"],r=!1!==t.allowProtocolRelative;if("string"!=typeof e)return!1;let i=(e=n(e)).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!i)return!!e.match(/^[/\\]{2}/)&&!r;let a=i[1].toLowerCase();return -1===s.indexOf(a)}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return(e=e.trim()).toLowerCase()},t.string=function(e,t){return"string"!=typeof e&&("number"==typeof e||"boolean"==typeof e?e+="":e=""),e=e.trim(),void 0!==t&&""===e&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,s,r){if(void 0===t&&(t=0),"number"==typeof e)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch(s){e=t}return"number"==typeof s&&e<s&&(e=s),"number"==typeof r&&e>r&&(e=r),e},t.padInteger=function(e,t){let s=e+"";for(;s.length<t;)s="0"+s;return s},t.float=function(e,t,s,r){if(void 0===t&&(t=0),"number"!=typeof e)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch(s){e=t}return"number"==typeof s&&e<s&&(e=s),"number"==typeof r&&e>r&&(e=r),e},t.naughtyHref=i,t.url=function(e,s,r){var a;return(e=t.string(e,s))===s?e:i(e=n(e))||null===(e=(a=e).match(/^(((https?|ftp):\/\/)|((mailto|tel|sms
1):)|#|([^/.]+)?\/|[^/.]+$)/)?a:a.match(/^[^/.]+\.[^/.]+/)?(r?"https://":"http://")+a:null)?s:e},t.select=function(e,s,r){let n;return(e=t.string(e),s&&s.length)?"object"==typeof s[0]?null!=(n=s.find(function(t){return null!==t.value&&void 0!==t.value&&t.value.toString()===e}))?n.value:r:void 0!==(n=s.find(function(t){return null!=t&&t.toString()===e}))?n:r:r},t.boolean=function(e,s){return!0===e||!1!==e&&((e=t.string(e,s))===s?void 0!==e&&e:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e))},t.addBooleanFilterToCriteria=function(e,s,r,n){void 0===n&&(n=null);let i="object"==typeof e&&null!==e?e[s]:e;i=void 0===i?n:i,null===(i=t.booleanOrNull(i))||(i?r[s]=!0:r[s]={$ne:!0})},t.booleanOrNull=function(e,s){return!0===e||!1===e||null===e?e:(e=t.string(e,s))===s?void 0===s?null:e:"null"===e?null:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e||("a"===e?null:s))},t.date=function(e,s,n){let i;function a(){return void 0===s&&(s=r().format("YYYY-MM-DD")),s}if("string"==typeof e){if(e.match(/\//)){if(2===(i=e.split("/")).length)return(n||new Date).getFullYear()+"-"+t.padInteger(i[0],2)+"-"+t.padInteger(i[1],2);if(3!==i.length)return a();if(i[2]<100){let e=n||new Date,t=e.getFullYear()%100,s=e.getFullYear()-t,r=parseInt(i[2])+s;r-e.getFullYear()>50&&(r-=100),i[2]=r}return t.padInteger(i[2],4)+"-"+t.padInteger(i[0],2)+"-"+t.padInteger(i[1],2)}else if(e.match(/-/))return 2===(i=e.split("-")).length?(n||new Date).getFullYear()+"-"+t.padInteger(i[0],2)+"-"+t.padInteger(i[1],2):3===i.length?t.padInteger(i[0],4)+"-"+t.padInteger(i[1],2)+"-"+t.padInteger(i[2],2):a()}try{if(null===e||(e=n||new Date(e),isNaN(e.getTime())))return a();return e.getFullYear()+"-"+t.padInteger(e.getMonth()+1,2)+"-"+t.padInteger(e.getDate(),2)}catch(e){return a()}},t.formatDate=function(e){return r(e).format("YYYY-MM-DD")},t.time=function(e,s){let n=(e=(e=t.string(e).toLowerCase()).trim()).match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(n){let e=parseInt(n[1],10),s=void 0!==n[3]?parseInt(n[3],10):0,r=void 0!==n[5]?parseInt(n[5],10):0,i=n[6]?n[6].toLowerCase():n[6];return i=i&&i.charAt(0),12===e&&"a"===i?e-=12:12===e&&"p"===i||"p"===i&&(e+=12),(24===e||"24"===e)&&(e=0),t.padInteger(e,2)+":"+t.padInteger(s,2)+":"+t.padInteger(r,2)}return void 0!==s?s:r().format("HH:mm")},t.formatTime=function(e){return r(e).format("HH:mm:ss")},t.tags=function(e,s){return("string"==typeof e&&(e=e.split(/,\s*/)),Array.isArray(e))?e.map(e=>t.string(e)).map(s||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,s){let r=t.string(e,s);return r===s||r.match(t.idRegExp)?r:s},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return void 0!==t.id(e)}):[]},t},t.exports.naughtyHref=i},44821,(e,t,s)=>{let r=e.r(47963),n=e.r(64873),{isPlainObject:i}=e.r(75654),a=e.r(30860),o=e.r(61840),{parse:l}=e.r(85243),{naughtyHref:c}=e.r(82004),h=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"],d=["animate","animatecolor","animatemotion","animatetransform","set"],m=["href"];function p(e,t){e&&Object.keys(e).forEach(function(s){t(e[s],s)})}function f(e,t){return({}).hasOwnProperty.call(e,t)}function g(e,t){let s=[];return p(e,function(e){t(e)&&s.push(e)}),s}t.exports=b;let x=/^[^\0\t\n\f\r /<=>]+$/;function b(e,t,s){let v,w,j,R,N,S,C,k,A;if(null==e)return"";"number"==typeof e&&(e=e.toString());let T="",I="";function E(e,t){let s=this;this.tag=e,this.attribs=t||{},this.tagPosition=T.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(N.length){let e=N[N.length-1];e.text+=s.text}},this.updateParentNodeMediaChildren=function(){N.length&&h.includes(this.tag)&&N[N.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},b.defaults,t)).parser=Object.assign({},y,t.parser);let O=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){O(e)&&!t.allowVulnerableTags&&console.warn(` 2 3â ï¸ Your \`allowedTags\` option includes, \`${e}\`, which is inherently 4vulnerable to XSS attacks. Please remove it from \`allowedTags\`. 5Or, to disable this warning, add the \`allowVulnerableTags\` option 6and ensure you are accounting for this risk. 7 8`)});let D=t.nonTextTags||["script","style","textarea","option","xmp"];t.allowedAttributes&&(v={},w={},p(t.allowedAttributes,function(e,t){v[t]=[];let s=[];e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?s.push(n(e).replace(/\\\*/g,".*")):v[t].push(e)}),s.length&&(w[t]=RegExp("^("+s.join("|")+")$"))}));let B={},M={},L={};
8p(t.allowedClasses,function(e,t){if(v&&(f(v,t)||(v[t]=[]),v[t].push("class")),B[t]=e,Array.isArray(e)){let s=[];B[t]=[],L[t]=[],e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?s.push(n(e).replace(/\\\*/g,".*")):e instanceof RegExp?L[t].push(e):B[t].push(e)}),s.length&&(M[t]=RegExp("^("+s.join("|")+")$"))}});let q={};p(t.transformTags,function(e,t){let s;"function"==typeof e?s=e:"string"==typeof e&&(s=b.simpleTransform(e)),"*"===t?j=s:q[t]=s});let P=!1;F();let U=new r.Parser({onopentag:function(e,s){let r;if(t.onOpenTag&&t.onOpenTag(e,s),t.enforceHtmlBoundary&&"html"===e&&F(),k)return void A++;let n=new E(e,s);N.push(n);let c=!1,h=!!n.text;if(f(q,e)&&(n.attribs=s=(r=q[e](e,s)).attribs,void 0!==r.text&&(n.innerText=r.text),e!==r.tagName&&(n.name=e=r.tagName,C[R]=r.tagName)),j&&(n.attribs=s=(r=j(e,s)).attribs,e!==r.tagName&&(n.name=e=r.tagName,C[R]=r.tagName)),(!O(e)||function(e,s){if(-1===d.indexOf(e.toLowerCase()))return!1;let r=t.allowedSchemesAppliedToAttributes||[];return Object.keys(s||{}).some(function(e){if("attributename"!==e.toLowerCase())return!1;let t=(s[e]||"").trim().toLowerCase(),n=t.slice(t.lastIndexOf(":")+1);return -1!==m.indexOf(n)||-1!==r.indexOf(t)||-1!==r.indexOf(n)})}(e,s)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(let t in e)if(f(e,t))return!1;return!0}(S)||null!=t.nestingLimit&&R>=t.nestingLimit)&&(c=!0,S[R]=!0,("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&-1!==D.indexOf(e)&&(k=!0,A=1)),R++,c){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode){if(n.innerText&&!h){let s=J(n.innerText);t.textFilter?T+=t.textFilter(s,e):T+=s,P=!0}return}I=T,T=""}if(T+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(n.innerText=""),c&&("escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode)&&t.preserveEscapedAttributes?p(s,function(e,t){T+=" "+t+'="'+J(e||"",!0)+'"'}):(!v||f(v,e)||v["*"])&&p(s,function(s,r){if(!x.test(r)||""===s&&!t.allowedEmptyAttributes.includes(r)&&(t.nonBooleanAttributes.includes(r)||t.nonBooleanAttributes.includes("*")))return void delete n.attribs[r];let c=!1;if(!v||f(v,e)&&-1!==v[e].indexOf(r)||v["*"]&&-1!==v["*"].indexOf(r)||f(w,e)&&w[e].test(r)||w["*"]&&w["*"].test(r))c=!0;else if(v&&v[e]){for(let t of v[e])if(i(t)&&t.name&&t.name===r){c=!0;let e="";if(!0===t.multiple)for(let r of s.split(" "))-1!==t.values.indexOf(r)&&(""===e?e=r:e+=" "+r);else t.values.indexOf(s)>=0&&(e=s);s=e}}if(c){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(r)&&z(e,s))return void delete n.attribs[r];if("script"===e&&"src"===r){let e=!0;try{let r=_(s);if(t.allowedScriptHostnames||t.allowedScriptDomains){let s=(t.allowedScriptHostnames||[]).find(function(e){return e===r.url.hostname}),n=(t.allowedScriptDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=s||n}}catch(t){e=!1}if(!e)return void delete n.attribs[r]}if("iframe"===e&&"src"===r){let e=!0;try{let r=_(s);if(r.isRelativeUrl)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let s=(t.allowedIframeHostnames||[]).find(function(e){return e===r.url.hostname}),n=(t.allowedIframeDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=s||n}}catch(t){e=!1}if(!e)return void delete n.attribs[r]}if("srcset"===r||"imagesrcset"===r)try{let e=o(s);if(e.forEach(function(e){z(r,e.url)&&(e.evil=!0)}
8),!(e=g(e,function(e){return!e.evil})).length)return void delete n.attribs[r];s=g(e,function(e){return!e.evil}).map(function(e){if(!e.url)throw Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", "),n.attribs[r]=s}catch(e){delete n.attribs[r];return}if("class"===r){let t=B[e],i=B["*"],o=M[e],l=L[e],c=L["*"],h=[o,M["*"]].concat(l,c).filter(function(e){return e});if(!(s=t&&i?W(s,a(t,i),h):W(s,t||i,h)).length)return void delete n.attribs[r]}if("style"===r){if(t.parseStyleAttributes)try{let i=l(e+" {"+s+"}",{map:!1});if(s=(function(e,t){var s;let r;if(!t)return e;let n=e.nodes[0];return(r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"])&&(e.nodes[0].nodes=n.nodes.reduce((s=r,function(e,t){return f(s,t.prop)&&s[t.prop].some(function(e){return e.test(t.value)})&&e.push(t),e}),[])),e})(i,t.allowedStyles).nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e},[]).join(";"),0===s.length)return void delete n.attribs[r]}catch(t){"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+s+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),delete n.attribs[r];return}else if(t.allowedStyles)throw Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}T+=" "+r,s&&s.length?T+='="'+J(s,!0)+'"':t.allowedEmptyAttributes.includes(r)&&(T+='=""')}else delete n.attribs[r]}),-1!==t.selfClosing.indexOf(e))T+=" />";else if(T+=">",n.innerText&&!h){let s=J(n.innerText);t.textFilter?T+=t.textFilter(s,e):T+=s,P=!0}c&&(T=I+J(T),I=""),n.openingTagLength=T.length-n.tagPosition},ontext:function(e){let s;if(k)return;let r=N[N.length-1];if(r&&(s=r.tag,e=void 0!==r.innerText?r.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||O(s)){if(s&&O(s)&&("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&("script"===s||"style"===s))T+=e;else if(s&&O(s)&&("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&("textarea"===s||"xmp"===s))"xmp"===s?T+=e.replace(/</g,"<").replace(/>/g,">"):T+=J(e,!1);else if(!P){let r=J(e,!1);t.textFilter?T+=t.textFilter(r,s):T+=r}}else e="";if(N.length){let t=N[N.length-1];t.text+=e}},onclosetag:function(e,s){if(t.onCloseTag&&t.onCloseTag(e,s),k){if(--A)return;k=!1}let r=N.pop();if(!r)return;if(r.tag!==e)return void N.push(r);k=!!t.enforceHtmlBoundary&&"html"===e;let n=S[--R];if(n){if(delete S[R],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void r.updateParentNodeText();I=T,T=""}if(C[R]&&(e=C[R],delete C[R]),t.exclusiveFilter){let e=t.exclusiveFilter(r);if("excludeTag"===e){n&&(T=I,I=""),T=T.substring(0,r.tagPosition)+T.substring(r.tagPosition+r.openingTagLength);return}if(e){T=T.substring(0,r.tagPosition);return}}if(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||s&&!O(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){n&&(T=I,I="");return}T+="</"+e+">",n&&(T=I+J(T),I=""),P=!1}},t.parser);if(U.write(e),U.end(),"escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode){let t=U.endIndex;if(null!=t&&t>=0&&t<e.length){let s=e.substring(t);T+=J(s)}else(null==t||t<0)&&e.length>0&&""===T&&(T=J(e))}return T;function F(){T="",R=0,N=[],S={},C={},k=!1,A=0}function J(e,s){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),s&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),s&&(e=e.replace(/"/g,""")),e}function z(e,s){return c(s,{allowedSchemes:f(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function _(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;let s=new URL(e,t);return{isRelativeUrl:s&&"relative-site"===s.hostname&&"relative:"===s.protocol,url:s}}function W(e,t,s){return t?(e=e.split(/\s+/)).filter(function(e){return -1!==t.indexOf(e)||s.some(function(t){return t.test(e)})}).join(" "):e}}let y={decodeEntities:!0};b.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","
8sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta","col"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite","action","formaction","data","xlink:href","poster","background","ping","longdesc","usemap","codebase","classid","archive","profile","manifest","itemid","dynsrc","lowsrc"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},b.simpleTransform=function(e,t,s){return s=void 0===s||s,t=t||{},function(r,n){let i;if(s)for(i in t)n[i]=t[i];else n=t;return{tagName:e,attribs:n}}}},52070,e=>{"use strict";var t=e.i(43476),s=e.i(71645),r=e.i(50654),n=e.i(57688),i=e.i(22016),a=e.i(72520),o=e.i(91666),l=e.i(10638),c=e.i(18566),h=e.i(88511),u=e.i(56909),d=e.i(37727),m=e.i(64946);let p=(0,s.createContext)({isAdmin:!1,sectionId:null,draft:{},setDraft:()=>{},save:async()=>{}});function f({section:e,editor:n,children:i}){let a=(0,m.useAuthStore)(e=>e.isAdmin),[l,c]=(0,s.useState)(!1),[f,g]=(0,s.useState)(e.content||{}),[x,b]=(0,s.useState)(!1),[y,v]=(0,s.useState)("");(0,s.useEffect)(()=>{g(e.content||{})},[e.content]);let w=(0,s.useCallback)(async(t,{closeForm:s=!0}={})=>{let n=t??f;b(!0),v("");try{await (0,r.saveSectionContent)(e.id,n),g(n),s&&c(!1)}catch(e){throw v(e.message||"Failed to save"),e}finally{b(!1)}},[f,e.id]),j={isAdmin:!!a,sectionId:e.id,draft:f,setDraft:g,save:w},R=(0,t.jsx)(p.Provider,{value:j,children:i(a?f:e.content||{})});return a?l?(0,t.jsx)(p.Provider,{value:j,children:(0,t.jsxs)("div",{className:"relative border-2 border-dashed border-primary rounded-lg p-4 bg-card/90 text-card-foreground",children:[(0,t.jsxs)("div",{className:"flex justify-end gap-2 mb-4",children:[(0,t.jsxs)(o.Button,{size:"sm",variant:"ghost",onClick:()=>{g(e.content||{}),c(!1)},children:[(0,t.jsx)(d.X,{className:"h-4 w-4 mr-1"}),"Cancel"]}),(0,t.jsxs)(o.Button,{size:"sm",onClick:()=>w(void 0,{closeForm:!0}).catch(()=>{}),disabled:x,children:[(0,t.jsx)(u.Save,{className:"h-4 w-4 mr-1"}),x?"Saving...":"Save"]})]}),y&&(0,t.jsx)("p",{className:"text-sm text-red-600 mb-3",children:y}),n(f,g)]})}):(0,t.jsxs)("div",{className:"relative group",children:[(0,t.jsxs)(o.Button,{size:"sm",variant:"ghost",className:"absolute top-3 right-3 z-20 hidden group-hover:flex bg-card/90 text-card-foreground shadow",onClick:()=>c(!0),children:[(0,t.jsx)(h.Edit,{className:"h-4 w-4 mr-1"}),"Edit"]}),R]}):R}var g=e.i(86013);function x({label:e="Image",value:n,onChange:i,bucket:a="images",folder:o="cms",accept:l="image/*"}
8){let[c,h]=(0,s.useState)(!1),[u,d]=(0,s.useState)(""),m=async e=>{let t=e.target.files?.[0];if(t){h(!0),d("");try{let{url:e}=await (0,r.uploadMedia)(t,a,o);i(e)}catch(e){d(e.message||"Upload failed")}finally{h(!1),e.target.value=""}}};return(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)(g.Field,{label:e,children:(0,t.jsx)(g.TextInput,{value:n,onChange:i,placeholder:"https://..."})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("input",{type:"file",accept:l,onChange:m,disabled:c}),c&&(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Uploading..."})]}),u&&(0,t.jsx)("p",{className:"text-sm text-red-600 mt-1",children:u}),n?(0,t.jsx)("img",{src:n,alt:"",className:"mt-2 h-24 w-auto object-cover rounded border"}):null]})}var b=e.i(70703),y=e.i(44821);let v=["p","br","strong","b","em","i","a","ul","ol","li","h2","h3","blockquote","code","span"],w=["href","target","rel"];function j(e){return(0,y.default)(String(e||""),{allowedTags:v,allowedAttributes:{a:w}})}var R=e.i(80064);let N=(0,b.default)(()=>e.A(61635),{loadableGenerated:{modules:[57370]},ssr:!1});function S({value:e,onChange:n,variant:i="document",placeholder:a=""}){let o=(0,s.useMemo)(()=>(0,r.toEditorHtml)(e,i),[e,i]);return(0,t.jsx)("div",{className:(0,R.cn)(g.inputClassName,"min-h-[3rem]"),children:(0,t.jsx)(N,{content:o,variant:i,placeholder:a,showToolbar:!0,onChange:e=>{let t=j(e);n("heading"===i?(0,r.unwrapHeadingHtml)(t):t)}})})}function C({html:e,className:s,as:n="div",variant:i="document"}){let a=j((0,r.plainToHtml)(e,i));return a?(0,t.jsx)(n,{className:(0,R.cn)("heading"===i?"rich-text-heading":"rich-text",s),dangerouslySetInnerHTML:{__html:a}}):null}let k=(0,b.default)(()=>e.A(61635),{loadableGenerated:{modules:[57370]},ssr:!1});function A({path:e,value:n,variant:i="document",className:a,as:l,placeholder:c="Click to edit"}){let h=(0,s.useContext)(p),m=void 0!==n?n:(0,r.getAtPath)(h.draft,e),[f,g]=(0,s.useState)(!1),[x,b]=(0,s.useState)(""),[y,v]=(0,s.useState)(!1),[w,N]=(0,s.useState)(""),S=l||("heading"===i?"span":"div"),A=(0,s.useRef)(async()=>{}),T=async()=>{if(h.save){v(!0),N("");try{let t=j(x),s="heading"===i?(0,r.unwrapHeadingHtml)(t):t,n=(0,r.setAtPath)(h.draft,e,s);await h.save(n,{closeForm:!1}),g(!1)}catch(e){N(e.message||"Failed to save")}finally{v(!1)}}};A.current=T,(0,s.useEffect)(()=>{if(!f)return;let e=e=>{(e.metaKey||e.ctrlKey)&&"s"===e.key&&(e.preventDefault(),A.current()),"Escape"===e.key&&(e.preventDefault(),g(!1),N(""))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[f]);let I=e=>{e?.preventDefault(),e?.stopPropagation(),b((0,r.toEditorHtml)(m,i)),N(""),g(!0)};return h.isAdmin?f?(0,t.jsxs)("div",{className:"relative rounded-md ring-2 ring-primary bg-background/80 p-2",onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex justify-end gap-1 mb-2",children:[(0,t.jsxs)(o.Button,{size:"sm",variant:"ghost",onClick:()=>{g(!1),N("")},children:[(0,t.jsx)(d.X,{className:"h-4 w-4 mr-1"}),"Cancel"]}),(0,t.jsxs)(o.Button,{size:"sm",onClick:T,disabled:y,children:[(0,t.jsx)(u.Save,{className:"h-4 w-4 mr-1"}),y?"Saving...":"Save"]})]}),w&&(0,t.jsx)("p",{className:"text-sm text-red-600 mb-2",children:w}),(0,t.jsx)(k,{content:x,variant:i,className:a,placeholder:c,autoFocus:!0,showToolbar:!0,onChange:b})]}):(0,t.jsx)(S,{role:"button",tabIndex:0,className:(0,R.cn)("relative rounded-sm cursor-text hover:ring-2 hover:ring-primary/50 hover:ring-offset-1",a),onClick:I,onKeyDown:e=>{"Enter"===e.key&&I(e)},children:(0,r.isEmptyHtml)(m)?(0,t.jsx)("span",{className:"opacity-50 font-normal",children:c}):(0,t.jsx)(C,{html:m,as:"span",variant:i})}):(0,r.isEmptyHtml)(m)?null:(0,t.jsx)(C,{html:m,className:a,as:S,variant:i})}let T=({imageUrl:e,initialPosition:r={x:0,y:0},title:n,subtitle:i,height:a="h-96"})=>
8{let[o,l]=(0,s.useState)(!1),[c,h]=(0,s.useState)(r),[u,d]=(0,s.useState)({x:0,y:0}),[m,p]=(0,s.useState)({width:0,height:0}),f=(0,s.useRef)(null),g=(0,s.useRef)(null);(0,s.useEffect)(()=>{p({width:0,height:0});let e=()=>{let e,t,s=g.current,r=f.current;if(!s||!r)return;let n=r.getBoundingClientRect(),{naturalWidth:i,naturalHeight:a}=s;if(!i||!a||!n.width||!n.height)return;let o=i/a;o>n.width/n.height?e=(t=n.height)*o:t=(e=n.width)/o,Number.isFinite(e)&&Number.isFinite(t)&&p({width:e,height:t})},t=g.current;if(t)return t.complete&&t.naturalWidth?e():t.addEventListener("load",e),window.addEventListener("resize",e),()=>{t.removeEventListener("load",e),window.removeEventListener("resize",e)}},[e]);let x=e=>{if(!o||!f.current||!m.width||!m.height)return;let t=e.clientX-u.x,s=e.clientY-u.y,r=f.current.getBoundingClientRect(),n={x:{min:r.width-m.width,max:0},y:{min:r.height-m.height,max:0}};h({x:Math.min(Math.max(t,n.x.min),n.x.max),y:Math.min(Math.max(s,n.y.min),n.y.max)})},b=()=>{l(!1)};return(0,s.useEffect)(()=>(o&&(document.addEventListener("mousemove",x),document.addEventListener("mouseup",b)),()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",b)}),[o]),(0,t.jsxs)("div",{ref:f,className:`relative ${a} overflow-hidden cursor-move`,children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{transform:`translate(${c.x}px, ${c.y}px)`,touchAction:"none"},onMouseDown:e=>{l(!0),d({x:e.clientX-c.x,y:e.clientY-c.y})},children:(0,t.jsx)("img",{ref:g,src:e,alt:"Hero",className:"min-w-full min-h-full object-cover",style:m.width>0&&m.height>0?{width:m.width,height:m.height}:void 0,draggable:"false"})}),(0,t.jsx)("div",{className:`absolute inset-0 bg-black/50 pointer-events-none transition-opacity duration-200 ${o?"opacity-0":"opacity-100"}`}),(0,t.jsxs)("div",{className:`absolute inset-0 flex flex-col justify-center items-center text-white p-6 transition-opacity duration-200 ${o?"opacity-0 pointer-events-none":"opacity-100"}`,children:[n,i]}),(0,t.jsx)("div",{className:`absolute bottom-4 right-4 text-white text-sm bg-black/30 px-3 py-1 rounded-full pointer-events-none transition-opacity duration-200 ${o?"opacity-0":"opacity-100"}`,children:"Click and drag to adjust image"})]})};function I({content:e,setContent:s}){let r=e.buttons||[],n=e.logos||[],i=e.paragraphs||[];return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Layout",children:(0,t.jsx)(g.Select,{value:e.variant||"overlay",onChange:t=>s({...e,variant:t}),options:[{value:"split",label:"Split (home)"},{value:"overlay",label:"Image overlay"},{value:"gradient",label:"Gradient"},{value:"draggable",label:"Draggable image"}]})}),(0,t.jsx)(g.Field,{label:"Eyebrow",children:(0,t.jsx)(S,{variant:"heading",value:e.eyebrow,onChange:t=>s({...e,eyebrow:t})})}),(0,t.jsx)(g.Field,{label:"Title",children:(0,t.jsx)(S,{variant:"heading",value:e.title,onChange:t=>s({...e,title:t})})}),(0,t.jsx)(g.Field,{label:"Subtitle",children:(0,t.jsx)(S,{value:e.subtitle,onChange:t=>s({...e,subtitle:t})})}),(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium mb-2",children:"Extra paragraphs"}),(i||[]).map((r,n)=>(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)(S,{value:r,onChange:t=>{let r=[...i];r[n]=t,s({...e,paragraphs:r})}}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600 mb-2",onClick:()=>s({...e,paragraphs:i.filter((e,t)=>t!==n)}),children:"Remove paragraph"})]},n)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary",onClick:()=>s({...e,paragraphs:[...i,""]}),children:"Add paragraph"})]}),(0,t.jsx)(x,{label:"Image",value:e.imageSrc,onChange:t=>s({...e,imageSrc:t})}),(0,t.jsx)(g.Field,{label:"Image alt text",children:(0,t.jsx)(g.TextInput,{value:e.imageAlt,onChange:t=>s({...e,imageAlt:t})})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("p",{className:"text-sm font-medium mb-2",children:"Buttons"}),r.map((n,i)=>(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-2 mb-2",children:[(0,t.jsx)(g.TextInput,{value:n.label,placeholder:"Label",onChange:t=>{let n=[...r];n[i]={...n[i],label:t},s({...e,buttons:n})}}),(0,t.jsx)(g.TextInput,{value:n.href,placeholder:"/path or #id",onChange:t=>{let n=[...r];n[i]={...n[i],href:t},s({...e,buttons:n})}}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600",onClick:()=>s({...e,buttons:r.filter((e,t)=>
8t!==i)}),children:"Remove"})]},i)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary",onClick:()=>s({...e,buttons:[...r,{label:"Button",href:"/",variant:"default"}]}),children:"Add button"})]}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("p",{className:"text-sm font-medium mb-2",children:"Logos"}),n.map((r,i)=>(0,t.jsxs)("div",{className:"mb-3 border rounded p-2",children:[(0,t.jsx)(x,{label:`Logo ${i+1}`,value:r.src,onChange:t=>{let r=[...n];r[i]={...r[i],src:t},s({...e,logos:r})}}),(0,t.jsx)(g.TextInput,{value:r.alt,placeholder:"Alt text",onChange:t=>{let r=[...n];r[i]={...r[i],alt:t},s({...e,logos:r})}}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600 mt-1",onClick:()=>s({...e,logos:n.filter((e,t)=>t!==i)}),children:"Remove logo"})]},i)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary",onClick:()=>s({...e,logos:[...n,{src:"",alt:""}]}),children:"Add logo"})]})]})}function E({content:e}){let s=(0,c.useRouter)(),r=(0,c.usePathname)(),h=e.variant||"overlay",u=e.buttons||[],d=e.logos||[],m=e.paragraphs||[];return"split"===h?(0,t.jsxs)("section",{className:"flex flex-col lg:flex-row items-center relative",children:[(0,t.jsx)("div",{className:"w-full lg:w-1/3 relative",children:(0,t.jsxs)("div",{className:"h-[50vh] lg:h-screen relative",children:[e.imageSrc&&(0,t.jsx)(n.default,{src:e.imageSrc,alt:e.imageAlt||e.title||"",fill:!0,priority:!0,sizes:"(max-width: 1024px) 100vw, 33vw",className:"object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"})]})}),(0,t.jsxs)("div",{className:"w-full lg:w-2/3 p-6 sm:p-8 lg:p-12",children:[(0,t.jsxs)("div",{className:"max-w-3xl mx-auto lg:mx-0",children:[(0,t.jsx)(A,{path:"eyebrow",variant:"heading",as:"h1",className:"text-primary text-xl font-extrabold mb-2",placeholder:"Eyebrow"}),(0,t.jsx)(A,{path:"title",variant:"heading",as:"h1",className:"text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 lg:mb-6 text-foreground",placeholder:"Title"}),(0,t.jsx)(A,{path:"subtitle",className:"text-lg sm:text-xl text-muted-foreground mb-6 lg:mb-8 leading-relaxed",placeholder:"Subtitle"}),m.length>0&&(0,t.jsx)("div",{className:"space-y-4 lg:space-y-6 mb-8 lg:mb-12",children:m.map((e,s)=>(0,t.jsx)(A,{path:`paragraphs.${s}`,className:"text-base lg:text-lg text-muted-foreground",placeholder:"Paragraph"},s))}),u.length>0&&(0,t.jsx)("div",{className:"flex flex-col sm:flex-row gap-4",children:u.map(e=>(0,t.jsx)(i.default,{href:e.href||"/",onClick:t=>{var n;return n=e.href,void(0,l.handleSmoothScroll)(t,n,s,r)},className:"block sm:inline-block",children:(0,t.jsxs)(o.Button,{variant:"outline"===e.variant?"outline":"default",className:`w-full sm:w-auto text-base lg:text-lg px-6 py-5 lg:px-8 lg:py-6 ${"outline"===e.variant?"":"bg-primary hover:bg-primary/90 text-primary-foreground"}`,children:[e.label,(0,t.jsx)(a.ArrowRight,{className:"ml-2 h-5 w-5"})]})},e.label+e.href))})]}),d.length>0&&(0,t.jsx)("div",{className:"mt-8 lg:mt-12 w-full",children:(0,t.jsx)("div",{className:"flex w-full items-center justify-between gap-3 sm:gap-4",children:d.map(e=>(0,t.jsx)("div",{className:"flex flex-1 min-w-0 items-center justify-center",children:e.src&&(0,t.jsx)(n.default,{src:e.src,alt:e.alt||"",width:200,height:200,className:"logo-bg-stripped w-full h-auto max-h-16 sm:max-h-20 lg:max-h-24 object-contain"})},e.src))})})]})]}):"gradient"===h?(0,t.jsx)("section",{className:"bg-gradient-to-b from-primary to-primary/90 text-primary-foreground py-20",children:(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[(0,t.jsx)(A,{path:"title",variant:"heading",as:"h1",className:"text-4xl md:text-5xl font-bold mb-4 text-center",placeholder:"Title"}),(0,t.jsx)(A,{path:"subtitle",className:"text-lg md:text-xl text-center max-w-2xl mx-auto opacity-90",placeholder:"Subtitle"})]})}):"draggable"===h?(0,t.jsx)(T,{imageUrl:e.imageSrc,initialPosition:e.imagePosition||{x:0,y:0},title:(0,t.jsx)(A,{path:"title",variant:"heading",as:"h1",className:"text-4xl md:text-5xl font-bold text-center mb-4",placeholder:"Title"}),subtitle:(0,t.jsx)(A,{path:"subtitle",className:"text-xl text-center max-w-2xl",placeholder:"Subtitle"})}):(0,t.jsxs)("div",{className:"relative h-96",children:[e.imageSrc?(0,t.jsx)("img",{src:e.imageSrc,alt:e.imageAlt||e.title||"",className:"w-full h-full object-cover"}):(0,t.jsx)("div",{className:"absolute inset-0 bg-gray-900"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent to-gray-900/60"}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-center items-center text-white p-6",children:[(0,t.jsx)(A,{path:"title",variant:"heading",as:"h1",className:"text-4xl md:text-5xl lg:text-6xl font-bold text-center mb-4",placeholder:"Title"}),(0,t.jsx)(A,{path:"subtitle",className:"text-xl text-center max-w-3xl",placeholder:"Subtitle"})]})]})}function O({content:e,setContent:s}){let r=e.logos||[];return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Layout",children:(0,t.jsx)(g.Select,{value:e.variant||"article",onChange:t=>s({...e,variant:t}),options:[{value:"article",label:"Article"},{value:"dark",label:"Dark full section"},{value:"pageHeader",label:"Page header"},{value:"boxed",label:"Boxed note"},{value:"plain",label:"Plain"}]})}),(0,t.jsx)(g.Field,{label:"Section id (optional, e.g. about)",children:(0,t.jsx)(g.TextInput,{value:e.sectionId,onChange:t=>s({...e,sectionId:t})})}),(0,t.jsx)(g.Field,{label:"Heading",children:(0,t.jsx)(S,{variant:"heading",value:e.heading,onChange:t=>s({...e,heading:t})})}),(0,t.jsx)(g.Field,{label:"Body",children:(0,t.jsx)(S,{value:e.body,onChange:t=>s({...e,body:t})})}),(0,t.jsx)(x,{label:"Sidebar logo",value:e.logoSrc,onChange:t=>s({...e,logoSrc:t})}),(0,t.jsx)(g.Field,{label:"Logo alt",children:(0,t.jsx)(g.TextInput,{value:e.logoAlt,onCh
8ange:t=>s({...e,logoAlt:t})})}),r.map((n,i)=>(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)(x,{label:`Extra logo ${i+1}`,value:n.src,onChange:t=>{let n=[...r];n[i]={...n[i],src:t},s({...e,logos:n})}})},i))]})}function D({content:e}){let s=e.variant||"article",r=[...e.logoSrc?[{src:e.logoSrc,alt:e.logoAlt}]:[],...e.logos||[]].filter(e=>e.src),n=e.sectionId?{id:e.sectionId}:{};if("dark"===s)return(0,t.jsx)("section",{...n,className:"min-h-screen bg-primary text-primary-foreground flex items-center justify-center px-4",children:(0,t.jsxs)("div",{className:"max-w-4xl mx-auto py-24 text-center",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl sm:text-4xl lg:text-5xl font-bold mb-8",placeholder:"Heading"}),(0,t.jsx)(A,{path:"body",className:"text-xl text-primary-foreground/90 leading-relaxed",placeholder:"Body"})]})});if("pageHeader"===s)return(0,t.jsx)("div",{...n,className:"bg-muted pt-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto pb-12",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h1",className:"text-4xl font-bold text-foreground mb-4",placeholder:"Heading"}),(0,t.jsx)(A,{path:"body",className:"text-xl text-muted-foreground max-w-3xl",placeholder:"Body"})]})});if("boxed"===s)return(0,t.jsx)("div",{...n,className:"max-w-5xl mx-auto px-6",children:(0,t.jsxs)("div",{className:"bg-gray-100 p-6 rounded-lg mb-8",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-xl font-bold mb-4",placeholder:"Heading"}),(0,t.jsx)(A,{path:"body",className:"text-gray-700 mb-4",placeholder:"Body"})]})});if("plain"===s)return(0,t.jsxs)("div",{...n,className:"max-w-5xl mx-auto px-6 py-12",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl font-bold mb-6",placeholder:"Heading"}),(0,t.jsx)(A,{path:"body",placeholder:"Body"})]});let i=r.length>0;return(0,t.jsx)("div",{...n,className:"max-w-5xl mx-auto px-6 py-12",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 items-start",children:[i&&(0,t.jsx)("div",{className:"sticky top-24 flex flex-col md:col-span-1 gap-2",children:r.map(e=>(0,t.jsx)("img",{src:e.src,alt:e.alt||"",className:"p-2 w-full max-w-[200px] mx-auto rounded-lg shadow-lg"},e.src))}),(0,t.jsxs)("div",{className:i?"md:col-span-3":"md:col-span-4",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl font-bold mb-6",placeholder:"Heading"}),(0,t.jsx)(A,{path:"body",className:"text-lg text-gray-700 leading-relaxed",placeholder:"Body"})]})]})})}function B({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(O,{content:e,setContent:s}),children:e=>(0,t.jsx)(D,{content:e})})}var M=e.i(78917);function L({content:e,setContent:s}){let r=e.items||[];return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Layout",children:(0,t.jsx)(g.Select,{value:e.variant||"resources",onChange:t=>s({...e,variant:t}),options:[{value:"resources",label:"Resource links"},{value:"partners",label:"Partner cards"},{value:"reports",label:"Reports"},{value:"info",label:"Info cards"}]})}),(0,t.jsx)(g.Field,{label:"Columns",children:(0,t.jsx)(g.Select,{value:String(e.columns||2),onChange:t=>s({...e,columns:Number(t)}),options:[{value:"2",label:"2"},{value:"3",label:"3"}]})}),(0,t.jsx)(g.Field,{label:"Heading",children:(0,t.jsx)(S,{variant:"heading",value:e.heading,onChange:t=>s({...e,heading:t})})}),(0,t.jsx)(g.Field,{label:"Intro",children:(0,t.jsx)(S,{value:e.intro,onChange:t=>s({...e,intro:t})})}),(0,t.jsx)(g.Field,{label:"Footer note",children:(0,t.jsx)(S,{value:e.footerNote,onChange:t=>s({...e,footerNote:t})})}),r.map((n,i)=>(0,t.jsxs)("div",{className:"border rounded p-3 mb-3",children:[(0,t.jsx)(g.Field,{label:"Title",children:(0,t.jsx)(S,{variant:"heading",value:n.title,onChange:t=>{let n=[...r];n[i]={...n[i],title:t},s({...e,items:n})}})}),(0,t.jsx)(g.Field,{label:"Description",children:(0,t.jsx)(S,{value:n.description,onChange:t=>{let n=[...r];n[i]={...n[i],description:t},s({...e,items:n})}})}),(0,t.jsx)(g.Field,{label:"Link",children:(0,t.jsx)(g.TextInput,{value:n.href,onCh
8ange:t=>{let n=[...r];n[i]={...n[i],href:t},s({...e,items:n})}})}),(0,t.jsx)(g.Field,{label:"Button label",children:(0,t.jsx)(g.TextInput,{value:n.buttonLabel,onChange:t=>{let n=[...r];n[i]={...n[i],buttonLabel:t},s({...e,items:n})}})}),(0,t.jsx)(x,{label:"Image",value:n.imageSrc,onChange:t=>{let n=[...r];n[i]={...n[i],imageSrc:t},s({...e,items:n})}}),(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm mb-2",children:[(0,t.jsx)("input",{type:"checkbox",checked:"_blank"===n.target,onChange:t=>{let n=[...r];n[i]={...n[i],target:t.target.checked?"_blank":""},s({...e,items:n})}}),"Open in new tab"]}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600",onClick:()=>s({...e,items:r.filter((e,t)=>t!==i)}),children:"Remove card"})]},i)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary",onClick:()=>s({...e,items:[...r,{title:"New card",description:"",href:"/"}]}),children:"Add card"})]})}function q({item:e,index:s}){let r="_blank"===e.target;return(0,t.jsx)(i.default,{href:e.href||"/",target:e.target,rel:r?"noopener noreferrer":void 0,className:"group block p-6 bg-card text-card-foreground rounded-lg shadow-sm hover:shadow-md transition-all duration-200 h-full cursor-pointer hover:scale-[1.02]",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(A,{path:`items.${s}.title`,variant:"heading",as:"h3",className:"text-lg font-semibold text-foreground group-hover:text-primary",placeholder:"Title"}),(0,t.jsx)(A,{path:`items.${s}.description`,className:"mt-2 text-sm text-muted-foreground",placeholder:"Description"})]}),r&&(0,t.jsx)(M.ExternalLink,{className:"h-5 w-5 text-muted-foreground group-hover:text-primary flex-shrink-0"})]})})}function P({item:e,index:s,aspect:r="75%"}){return(0,t.jsxs)("div",{className:"flex flex-col bg-card text-card-foreground rounded-lg shadow-lg overflow-hidden",children:[(0,t.jsx)("div",{className:"relative w-full",style:{paddingTop:r},children:e.imageSrc?(0,t.jsx)("img",{src:e.imageSrc,alt:"",className:"absolute inset-0 w-full h-full object-cover"}):(0,t.jsx)("div",{className:"absolute inset-0 bg-muted"})}),(0,t.jsxs)("div",{className:"flex flex-col flex-grow p-6",children:[(0,t.jsx)(A,{path:`items.${s}.title`,variant:"heading",as:"h3",className:"text-xl font-semibold text-foreground mb-3",placeholder:"Title"}),(0,t.jsx)(A,{path:`items.${s}.description`,className:"text-muted-foreground mb-6 flex-grow",placeholder:"Description"}),(0,t.jsxs)(i.default,{href:e.href||"/",target:e.target,className:"inline-flex items-center justify-center px-4 py-2 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 mt-auto",children:[e.buttonLabel||"Learn More","_blank"===e.target?(0,t.jsx)(M.ExternalLink,{className:"ml-2 h-5 w-5"}):(0,t.jsx)(a.ArrowRight,{className:"ml-2 h-5 w-5"})]})]})]})}function U({item:e,index:s}){return(0,t.jsxs)("div",{className:"p-6 bg-card text-card-foreground rounded-lg shadow-lg",children:[(0,t.jsx)(A,{path:`items.${s}.title`,variant:"heading",as:"h3",className:"text-xl font-bold mb-2",placeholder:"Title"}),(0,t.jsxs)(i.default,{href:e.href||"/",target:e.target,className:"mb-4 inline-flex items-center w-full px-6 py-3 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 justify-center",children:[e.buttonLabel||"Visit Website",(0,t.jsx)(M.ExternalLink,{className:"ml-2 h-5 w-5"})]}),(0,t.jsx)(A,{path:`items.${s}.description`,className:"text-muted-foreground",placeholder:"Description"})]})}function F({content:e}){let s=e.items||[],r=3===e.columns?"md:grid-cols-3":"md:grid-cols-2",n=e.variant||"resources";return"resources"===n?(0,t.jsx)("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12 -mt-8 relative z-10",children:(0,t.jsxs)("div",{className:"bg-card/50 backdrop-blur-sm rounded-xl p-6 shadow-lg",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-2xl font-bold text-foreground mb-4",placeholder:"Heading"}),(0,t.jsx)(A,{path:"intro",className:"text-muted-foreground mb-8 text-lg",placeholder:"Intro"}),(0,t.jsx)("div",{className:`grid gap-4 ${r}`,children:s.map((e,s)=>(0,t.jsx)(q,{item:e,index:s},e.href||s))}),(0,t.jsx)(A,{path:"footerNote",className:"mt-8 p-4 bg-muted rounded-lg text-sm text-foreground",placeholder:"Footer note"})]})}):"info"===n?(0,t.jsxs)("div",{className:"max-w-5xl mx-auto px-6 pb-12",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl font-bold mb-8",placeholder:"Heading"}),(0,t.jsx)("div",{className:`grid gap-6 ${r}`,children:s.map((e,s)=>(0,t.jsx)(U,{item:e,index:s},s))})]}):(0,t.jsx)("div",{className:"partners"===n||"reports"===n?"bg-muted pt-8 pb-12 px-4 sm:px-6 lg:px-8":"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-12",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:["partners"!==n&&"reports"!==n&&(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl font-bold mb-8 text-foreground",placeholder:"Heading"}),(0,t.jsx)("div",{className:`grid grid-cols-1 ${r} gap-8 mb-12`,children:s.map((e,s)=>(0,t.jsx)(P,{item:e,index:s,aspect:"reports"===n?"141.4%":"75%"},e.href||s))})]})})}var J=e.i(64659),z=e.i(75254);let _=(0,z.default)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var W=e.i(63488);function $({name:e,title:s,bio:r,imageSrc:i,email:a="",cardType:o="standard",namePath:l,titlePath:c,bioPath:h}){return(0,t.jsx)("div",{className:`p-6 ${"cochair"===o?"lg:col-span-6":"lg:col-span-4"}`,children:(0,t.jsxs)("div",{className:"bg-card text-card-foreground rounded-lg shadow-lg overflow-hidden h-full",children:[(0,t.jsx)("div",{className:"relative w-full",style:{paddingTop:i?"75%":"0%"},children:i&&(0,t.jsx)(n.default,{src:i,alt:e||s,fill:!0,className:"object-cover",sizes:"(max-width: 640px) 100v
8w, (max-width: 1024px) 50vw, 33vw"})}),(0,t.jsxs)("div",{className:"p-6",children:[(0,t.jsx)(A,{path:l,variant:"heading",as:"h3",className:`${"cochair"===o?"text-2xl":"text-xl"} font-semibold text-foreground mb-2`,placeholder:"Name"}),(0,t.jsx)(A,{path:c,variant:"heading",as:"p",className:"text-primary mb-4 font-medium",placeholder:"Title"}),(0,t.jsx)(A,{path:h,className:"text-muted-foreground text-sm leading-relaxed mb-4",placeholder:"Bio"}),a&&(0,t.jsxs)("div",{className:"flex items-center text-sm text-muted-foreground",children:[(0,t.jsx)(W.Mail,{className:"h-4 w-4 mr-2"}),(0,t.jsx)("a",{href:`mailto:${a}`,className:"hover:text-primary",children:a})]})]})]})})}function G(){return{name:"",title:"",bio:"",imageSrc:"",email:""}}function Y({content:e,setContent:s}){let r=e.groups||[];return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Heading",children:(0,t.jsx)(S,{variant:"heading",value:e.heading,onChange:t=>s({...e,heading:t})})}),(0,t.jsx)(g.Field,{label:"Collapse groups after (1-based count)",children:(0,t.jsx)(g.TextInput,{type:"number",value:e.collapsedAfter??2,onChange:t=>s({...e,collapsedAfter:Number(t)})})}),r.map((n,i)=>(0,t.jsxs)("div",{className:"border rounded p-3 mb-4",children:[(0,t.jsx)(g.Field,{label:"Group title",children:(0,t.jsx)(S,{variant:"heading",value:n.title,onChange:t=>{let n=[...r];n[i]={...n[i],title:t},s({...e,groups:n})}})}),(0,t.jsx)(g.Field,{label:"Card size",children:(0,t.jsx)(g.Select,{value:n.cardType||"regional",onChange:t=>{let n=[...r];n[i]={...n[i],cardType:t},s({...e,groups:n})},options:[{value:"cochair",label:"Wide"},{value:"regional",label:"Standard"},{value:"taxonomic",label:"Standard (taxonomic)"}]})}),(n.members||[]).map((n,a)=>(0,t.jsxs)("div",{className:"border rounded p-2 mb-2",children:[(0,t.jsx)(S,{variant:"heading",value:n.name,placeholder:"Name",onChange:t=>{let n=[...r],o=[...n[i].members||[]];o[a]={...o[a],name:t},n[i]={...n[i],members:o},s({...e,groups:n})}}),(0,t.jsx)(S,{variant:"heading",value:n.title,placeholder:"Title",onChange:t=>{let n=[...r],o=[...n[i].members||[]];o[a]={...o[a],title:t},n[i]={...n[i],members:o},s({...e,groups:n})}}),(0,t.jsx)(S,{value:n.bio,placeholder:"Bio",onChange:t=>{let n=[...r],o=[...n[i].members||[]];o[a]={...o[a],bio:t},n[i]={...n[i],members:o},s({...e,groups:n})}}),(0,t.jsx)(g.TextInput,{value:n.email,placeholder:"Email",onChange:t=>{let n=[...r],o=[...n[i].members||[]];o[a]={...o[a],email:t},n[i]={...n[i],members:o},s({...e,groups:n})}}),(0,t.jsx)(x,{label:"Photo",value:n.imageSrc,folder:"leadership",onChange:t=>{let n=[...r],o=[...n[i].members||[]];o[a]={...o[a],imageSrc:t},n[i]={...n[i],members:o},s({...e,groups:n})}}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600",onClick:()=>{let t=[...r];t[i]={...t[i],members:(t[i].members||[]).filter((e,t)=>t!==a)},s({...e,groups:t})},children:"Remove person"})]},a)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary mr-3",onClick:()=>{let t=[...r];t[i]={...t[i],members:[...t[i].members||[],G()]},s({...e,groups:t})},children:"Add person"}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600",onClick:()=>s({...e,groups:r.filter((e,t)=>t!==i)}),children:"Remove group"})]},i)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary",onClick:()=>s({...e,groups:[...r,{title:"New group",cardType:"regional",members:[G()]}]}),children:"Add group"})]})}function H({content:e}){let[r,n]=(0,s.useState)(!1),i=e.groups||[],a=e.collapsedAfter??i.length,l=i.slice(0,a),c=i.slice(a);return(0,t.jsx)("section",{id:"leadership",className:"min-h-screen bg-gray-100 px-4 py-12",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl sm:text-4xl lg:text-5xl font-bold mb-12 text-center text-gray-900",placeholder:"Heading"}),l.map((e,s)=>(0,t.jsxs)("div",{className:"mb-16",children:[(0,t.jsx)(A,{path:`groups.${s}.title`,variant:"heading",as:"h3",className:"text-2xl font-bold mb-8 text-gray-800 text-center",placeholder:"Group title"}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-8",children:(e.members||[]).map((r,n)=>(0,t.jsx)($,{...r,cardType:e.cardType,namePath:`groups.${s}.members.${n}.name`,titlePath:`groups.${s}.members.${n}.title`,bioPath:`groups.${s}.members.${n}.bio`},n))})]},s)),c.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex justify-center mb-16",children:(0,t.jsx)(o.Button,{onClick:()=>n(!r),className:"group relative px-6 py-3 text-lg font-medium",children:(0,t.jsx)("span",{className:"flex items-center gap-2",children:r?(0,t.jsxs)(t.Fragment,{children:["Show Less",(0,t.jsx)(_,{className:"h-5 w-5"})]}):(0,t.jsxs)(t.Fragment,{children:["Show All Leadership",(0,t.jsx)(J.ChevronDown,{className:"h-5 w-5"})]})})})}),(0,t.jsx)("div",{className:`transition-all duration-500 ease-in-out overflow-hidden ${r?"max-h-[5000px] opacity-100":"max-h-0 opacity-0"}`,children:c.map((e,s)=>{let r=a+s;return(0,t.jsxs)("div",{className:"mb-16",children:[(0,t.jsx)(A,{path:`groups.${r}.title`,variant:"heading",as:"h3",className:"text-2xl font-bold mb-8 text-gray-800 text-center",placeholder:"Group title"}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-8",children:(e.members||[]).map((s,n)=>(0,t.jsx)($,{...s,cardType:e.cardType,namePath:`groups.${r}.members.${n}.name`,titlePath:`groups.${r}.members.${n}.title`,bioPath:`groups.${r}.members.${n}.bio`},n))})]},r)})})]})]})})}function V({content:e,setContent:s}){let r=e.items||[];return(0,t.jsxs)("div",{children:[r.map((n,i)=>(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mb-2",children:[(0,t.jsx)(S,{variant:"heading",value:n.label,placeholder:"Label",onCh
8ange:t=>{let n=[...r];n[i]={...n[i],label:t},s({...e,items:n})}}),(0,t.jsx)(g.TextInput,{value:n.href,placeholder:"URL",onChange:t=>{let n=[...r];n[i]={...n[i],href:t},s({...e,items:n})}}),(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm col-span-2",children:[(0,t.jsx)("input",{type:"checkbox",checked:"_blank"===n.target,onChange:t=>{let n=[...r];n[i]={...n[i],target:t.target.checked?"_blank":""},s({...e,items:n})}}),"Open in new tab"]}),(0,t.jsx)("button",{type:"button",className:"text-sm text-red-600",onClick:()=>s({...e,items:r.filter((e,t)=>t!==i)}),children:"Remove"})]},i)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary",onClick:()=>s({...e,items:[...r,{label:"Link",href:"/",target:""}]}),children:"Add button"})]})}function X({content:e}){let s=e.items||[];return(0,t.jsx)("div",{className:"max-w-5xl mx-auto px-6 pb-12",children:(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-4",children:s.map((e,s)=>(0,t.jsxs)(i.default,{href:e.href||"/",target:e.target,rel:"_blank"===e.target?"noopener noreferrer":void 0,className:"inline-flex items-center px-6 py-3 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 transition-colors duration-200",children:[(0,t.jsx)(A,{path:`items.${s}.label`,variant:"heading",as:"span",placeholder:"Label"}),"_blank"===e.target&&(0,t.jsx)(M.ExternalLink,{className:"ml-2 h-5 w-5"})]},e.href+s))})})}let Z=(0,z.default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),K=(0,z.default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var Q=e.i(27612);let ee=({images:e,currentIndex:r,onClose:i,onNavigate:a})=>((0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&i(),"ArrowLeft"===e.key&&a(r-1),"ArrowRight"===e.key&&a(r+1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r,i,a]),(0,t.jsx)("div",{className:"fixed inset-0 z-50 bg-black/90 flex items-center justify-center",onClick:i,children:(0,t.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{onClick:i,className:"absolute top-4 right-4 text-white hover:text-gray-300 z-50","aria-label":"Close lightbox",children:(0,t.jsx)(d.X,{className:"w-8 h-8"})}),r>0&&(0,t.jsx)("button",{onClick:()=>a(r-1),className:"absolute left-4 text-white hover:text-gray-300 z-50","aria-label":"Previous image",children:(0,t.jsx)(Z,{className:"w-8 h-8"})}),r<e.length-1&&(0,t.jsx)("button",{onClick:()=>a(r+1),className:"absolute right-4 text-white hover:text-gray-300 z-50","aria-label":"Next image",children:(0,t.jsx)(K,{className:"w-8 h-8"})}),(0,t.jsx)("div",{className:"relative w-full h-full p-4 flex items-center justify-center",children:(0,t.jsxs)("div",{className:"relative max-w-full max-h-full",children:[(0,t.jsx)(n.default,{src:e[r].url,alt:e[r].alt,className:"object-contain",width:1200,height:800,priority:!0}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-4 text-center",children:(0,t.jsx)("p",{className:"text-white text-lg",children:e[r].alt})})]})})]})})),et=({heading:e="Photo Gallery"})=>{let i=(0,m.useAuthStore)(e=>e.isAdmin),[a,o]=(0,s.useState)([]),[l,c]=(0,s.useState)(!0),[h,u]=(0,s.useState)(null),[d,p]=(0,s.use
8State)(!0),[f,g]=(0,s.useState)(0),[x,b]=(0,s.useState)(!1),[y,v]=(0,s.useState)(0),[w,j]=(0,s.useState)(!1),[R,N]=(0,s.useState)(0),S=(0,s.useRef)(null),C=async()=>{try{c(!0);let{data:e,error:t}=await m.supabase.storage.from("gallery").list("",{limit:24,offset:f,sortBy:{column:"name",order:"asc"}});if(t)throw t;let s=(e||[]).filter(e=>e.id&&!e.name.startsWith("."));if(!s.length){p(!1),c(!1);return}let r=s.map(e=>{let{data:{publicUrl:t}}=m.supabase.storage.from("gallery").getPublicUrl(e.name);return{id:e.name,url:t,alt:e.name.split(".")[0].replace(/-/g," "),name:e.name}});o(e=>{let t=new Set(e.map(e=>e.name)),s=r.filter(e=>!t.has(e.name));return[...e,...s]}),p(24===s.length),c(!1)}catch(e){console.error("Error fetching images:",e),u("Failed to load gallery images"),c(!1)}},k=(0,s.useCallback)(e=>{e[0].isIntersecting&&d&&!l&&g(e=>e+24)},[d,l]);return((0,s.useEffect)(()=>{let e=new IntersectionObserver(k,{root:null,rootMargin:"20px",threshold:0});return S.current&&e.observe(S.current),()=>{S.current&&e.unobserve(S.current)}},[k]),(0,s.useEffect)(()=>{C()},[f,R]),h)?(0,t.jsx)("section",{className:"w-full py-12 px-4 bg-primary text-primary-foreground",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,t.jsx)("p",{className:"text-red-200",children:h}),(0,t.jsx)("button",{onClick:()=>{u(null),c(!0),g(0),o([]),p(!0),N(e=>e+1)},className:"mt-4 px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",children:"Retry"})]})}):l&&0===a.length?(0,t.jsx)("section",{className:"w-full h-64 flex items-center justify-center bg-primary",children:(0,t.jsx)("div",{className:"w-16 h-16 border-4 border-primary-foreground/30 border-t-primary-foreground rounded-full animate-spin"})}):0!==a.length||l?(0,t.jsx)("section",{className:"py-16 px-4 bg-primary text-primary-foreground",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold mb-8 text-center text-primary-foreground",children:e}),i&&(0,t.jsx)("div",{className:"flex justify-center mb-8",children:(0,t.jsxs)("label",{className:"px-4 py-2 bg-primary text-primary-foreground rounded-md cursor-pointer hover:bg-primary/90 transition-colors",children:[w?"Uploading...":"Add photo",(0,t.jsx)("input",{type:"file",accept:"image/*",className:"hidden",disabled:w,onChange:async e=>{let t=e.target.files?.[0];if(t){j(!0);try{await (0,r.uploadMedia)(t,"gallery",""),o([]),p(!0),u(null),g(0),N(e=>e+1)}catch(e){alert(e.message||"Upload failed")}finally{j(!1),e.target.value=""}}}})]})}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map((e,s)=>(0,t.jsxs)("div",{className:"group relative aspect-square overflow-hidden rounded-lg shadow-lg transition-transform duration-300 hover:scale-105 cursor-pointer",onClick:()=>{v(s),b(!0),document.body.style.overflow="hidden"},children:[(0,t.jsx)(n.default,{src:e.url,alt:e.alt,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-110",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",loading:"lazy"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/20 transition-colors duration-300"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-4 bg-gradient-to-t from-black/60 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:(0,t.jsx)("p",{className:"text-white text-sm font-medium truncate",children:e.alt})}),i&&(0,t.jsx)("button",{type:"button",className:"absolute top-2 right-2 z-10 p-2 bg-black/70 text-white rounded opacity-0 group-hover:opacity-100",onClick:async t=>{if(t.stopPropagation(),confirm("Delete this photo?"))try{await (0,r.deleteMedia)("gallery",e.name),o(t=>t.filter(t=>t.name!==e.name))}catch(e){alert(e.message||"Delete failed")}},children:(0,t.jsx)(Q.Trash2,{className:"h-4 w-4"})})]},e.id))}),(0,t.jsx)("div",{ref:S,className:"w-full h-20 flex items-center justify-center",children:l&&d&&(0,t.jsx)("div",{className:"w-10 h-10 border-4 border-primary-foreground/30 border-t-primary-foreground rounded-full animate-spin"})}),x&&(0,t.jsx)(ee,{images:a,currentIndex:y,onClose:()=>{b(!1),document.body.style.overflow="unset"},onNavigate:e=>{e>=0&&e<a.length&&v(e)}})]})}):(0,t.jsx)("section",{className:"py-16 px-4 bg-primary text-primary-foreground",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,t.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold mb-8 text-primary-foreground",children:e}),i&&(0,t.jsxs)("label",{className:"px-4 py-2 bg-primary text-primary-foreground rounded-md cursor-pointer inline-block mb-4 hover:bg-primary/90 transition-colors",children:[w?"Uploading...":"Add photo",(0,t.jsx)("input",{type:"file",accept:"image/*",className:"hidden",disabled:w,onChange:async e=>{let t=e.target.files?.[0];if(t){j(!0);try{await (0,r.uploadMedia)(t,"gallery",""),o([]),p(!0),u(null),g(0),N(e=>e+1)}catch(e){alert(e.message||"Upload failed")}finally{j(!1),e.target.value=""}}}})]}
8),(0,t.jsx)("p",{className:"text-primary-foreground/80",children:"No images found in the gallery"})]})})};function es({content:e,setContent:s}){return(0,t.jsx)(g.Field,{label:"Heading",children:(0,t.jsx)(S,{variant:"heading",value:e.heading,onChange:t=>s({...e,heading:t})})})}let er=(0,z.default)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var en=e.i(69638),ei=e.i(63209);function ea({content:e,setContent:s}){return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Heading",children:(0,t.jsx)(S,{variant:"heading",value:e.heading,onChange:t=>s({...e,heading:t})})}),(0,t.jsx)(g.Field,{label:"Intro",children:(0,t.jsx)(S,{value:e.intro,onChange:t=>s({...e,intro:t})})}),(0,t.jsx)(g.Field,{label:"Email label",children:(0,t.jsx)(S,{variant:"heading",value:e.emailLabel,onChange:t=>s({...e,emailLabel:t})})}),(0,t.jsx)(g.Field,{label:"Email",children:(0,t.jsx)(g.TextInput,{value:e.email,onChange:t=>s({...e,email:t})})}),(0,t.jsx)(g.Field,{label:"Form heading",children:(0,t.jsx)(S,{variant:"heading",value:e.formHeading,onChange:t=>s({...e,formHeading:t})})})]})}function eo({content:e}){let[r,n]=(0,s.useState)({name:"",email:"",subject:"",message:""}),[i,a]=(0,s.useState)({type:"",message:""}),[o,l]=(0,s.useState)(!1),c=e=>{let{name:t,value:s}=e.target;n(e=>({...e,[t]:s}))},h=async e=>{e.preventDefault(),l(!0),a({type:"",message:""});try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),t=await e.json();e.ok?(a({type:"success",message:"Thank you for your message! We'll get back to you soon."}),n({name:"",email:"",subject:"",message:""})):a({type:"error",message:t.error||"Something went wrong. Please try again."})}catch(e){a({type:"error",message:"Failed to send message. Please try again later."})}finally{l(!1)}};return(0,t.jsx)("section",{className:"container mx-auto px-4 py-16",children:(0,t.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,t.jsxs)("div",{className:"space-y-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(A,{path:"heading",variant:"heading",as:"h2",className:"text-3xl font-bold text-foreground mb-6",placeholder:"Get in Touch"}),(0,t.jsx)(A,{path:"intro",className:"text-muted-foreground text-lg mb-8",placeholder:"Intro"})]}),e.email&&(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center",children:(0,t.jsx)(W.Mail,{className:"h-6 w-6 text-primary"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(A,{path:"emailLabel",variant:"heading",as:"h3",className:"font-semibold text-foreground mb-1",placeholder:"Email"}),(0,t.jsx)("a",{href:`mailto:${e.email}`,className:"text-muted-foreground hover:text-primary transition-colors",children:e.email})]})]})]}),(0,t.jsxs)("div",{className:"bg-card border border-border rounded-lg shadow-lg p-8",children:[(0,t.jsx)(A,{path:"formHeading",variant:"heading",as:"h2",className:"text-2xl font-bold text-foreground mb-6",placeholder:"Send us a Message"}),i.message&&(0,t.jsxs)("div",{className:`mb-6 p-4 rounded-lg flex items-start gap-3 ${"success"===i.type?"bg-green-50 border border-green-200":"bg-red-50 border border-red-200"}`,children:["success"===i.type?(0,t.jsx)(en.CheckCircle,{className:"h-5 w-5 text-green-600 flex-shrink-0 mt-0.5"}):(0,t.jsx)(ei.AlertCircle,{className:"h-5 w-5 text-red-600 flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{children:i.message})]}),(0,t.jsxs)("form",{onSubmit:h,className:"space-y-6",children:[["name","email","subject"].map(e=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:e,className:"block text-sm font-medium text-foreground mb-2 capitalize",children:[e," *"]}),(0,t.jsx)("input",{type:"email"===e?"email":"text",id:e,name:e,value:r[e],onChange:c,required:!0,className:"w-full px-4 py-2 rounded-lg border border-input bg-background"})]},e)),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium mb-2",children:"Message *"}),(0,t.jsx)("textarea",{id:"message",name:"message",value:r.message,onChange:c,required:!0,rows:6,className:"w-full px-4 py-2 rounded-lg border border-input bg-background resize-none"})]}),(0,t.jsx)("button",{type:"submit",disabled:o,className:"w-full bg-primary text-primary-foreground py-3 px-6 rounded-lg font-medium hover:bg-primary/90 disabled:opacity-50 flex items-center justify-center gap-2",children:o?"Sending...":(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(er,{className:"h-5 w-5"}),"Send Message"]})})]})]})]})})})}var el=e.i(61911);let ec=(0,z.default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),eh=(0,z.default)("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]),eu=(0,z.default)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),ed=(0,z.default)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var em=e.i(92439);let ep=["Africa","Asia","Europe","North America","South America","Oceania"],ef=["Megapodes","Cracids","Guineafowl","New World Quail","Pheasants","Grouse","Partridges","Tinamous","Other"],eg=["Aviculture","Zoo","Field Conservation","Other"],ex={individual:"personal",organization:"professional"};function eb({onCancel:e}
8){let[r,n]=(0,s.useState)({name:"",email:"",countryCode:"+1",phoneNumber:"",title:"",type:"individual",organization:"",groupInterests:[],regionInterests:[],managementInterests:[]}),[i,a]=(0,s.useState)({type:null,message:null}),[l,c]=(0,s.useState)(!1),h=async e=>{if(e.preventDefault(),0===r.groupInterests.length||0===r.regionInterests.length)return void a({type:"error",message:"Please select at least one group and one region of interest"});c(!0),a({type:null,message:null});try{let{error:e}=await m.supabase.from("friends").insert([{type:ex[r.type],name:r.name,email:r.email,phone:r.phoneNumber?`${r.countryCode}${r.phoneNumber}`:null,title:r.title,organization:r.organization,group_interests:r.groupInterests,region_interests:r.regionInterests,management_interests:r.managementInterests}]);if(e)throw e;a({type:"success",message:"Thank you for signing up! You've successfully registered as a Friend of GSG."})}catch(e){console.error("Error submitting form:",e),a({type:"error",message:'duplicate key value violates unique constraint "friends_email_key"'===e.message?"This email is already registered. Please use a different email address.":"There was an error submitting your registration. Please try again."})}finally{c(!1)}},u=e=>{let{name:t,value:s}=e.target;n(e=>({...e,[t]:s}))},d=(e,t)=>{let{value:s,checked:r}=e.target;n(e=>({...e,[t]:r?[...e[t],s]:e[t].filter(e=>e!==s)}))};return"success"===i.type?(0,t.jsxs)("div",{className:"text-center py-8",children:[(0,t.jsx)("div",{className:"mb-6 text-green-600 dark:text-green-400",children:(0,t.jsx)("svg",{className:"mx-auto h-12 w-12",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Registration Successful!"}),(0,t.jsx)("p",{className:"text-gray-600 mb-6",children:i.message}),(0,t.jsx)(o.Button,{onClick:e,children:"Close"})]}):(0,t.jsxs)("form",{onSubmit:h,className:"space-y-6 w-full mx-auto",children:["error"===i.type&&(0,t.jsx)("div",{className:"bg-red-50 dark:bg-red-900/50 text-red-800 dark:text-red-200 p-3 rounded-md text-sm",children:i.message}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"block text-sm font-medium",children:"Registration Type"}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsxs)("label",{className:"flex items-center space-x-2",children:[(0,t.jsx)("input",{type:"radio",name:"type",value:"individual",checked:"individual"===r.type,onChange:u,className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Individual"})]}),(0,t.jsxs)("label",{className:"flex items-center space-x-2",children:[(0,t.jsx)("input",{type:"radio",name:"type",value:"organization",checked:"organization"===r.type,onChange:u,className:"h-4 w-4"}),(0,t.jsx)("span",{children:"Organization"})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Name *"}),(0,t.jsx)("input",{type:"text",name:"name",value:r.name,onChange:u,required:!0,className:"w-full p-2 border rounded-md"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Organization"}),(0,t.jsx)("input",{type:"text",name:"organization",value:r.organization,onChange:u,placeholder:"Optional",className:"w-full p-2 border rounded-md"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Email *"}),(0,t.jsx)("input",{type:"email",name:"email",value:r.email,onChange:u,required:!0,className:"w-full p-2 border rounded-md"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Title/Role"}),(0,t.jsx)("input",{type:"text",name:"title",value:r.title,onChange:u,className:"w-full p-2 border rounded-md"})]}),(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Phone"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("input",{type:"tel",name:"countryCode",value:r.countryCode,onChange:e=>{let t=e.target.value;t.startsWith("+")||(t="+"+t),t="+"+t.slice(1).replace(/\D/g,""),n(e=>({...e,countryCode:t}))},placeholder:"+1",className:"w-20 p-2 border rounded-md"}),(0,t.jsx)("input",{type:"tel",name:"phoneNumber",value:r.phoneNumber,onChange:e=>{let t=e.target.value;t=t.replace(/\D/g,""),n(e=>({...e,phoneNumber:t}))},placeholder:"555-555-5555",className:"flex-1 p-2 border rounded-md"})]}),(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"Optional - Enter country code and ph
8one number"})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Groups of Interest * (select at least one)"}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2 border rounded-md p-3",children:ef.map(e=>(0,t.jsxs)("label",{className:"flex items-center space-x-2",children:[(0,t.jsx)("input",{type:"checkbox",value:e,checked:r.groupInterests.includes(e),onChange:e=>d(e,"groupInterests"),className:"h-4 w-4"}),(0,t.jsx)("span",{className:"text-sm",children:e})]},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Regions of Interest * (select at least one)"}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2 border rounded-md p-3",children:ep.map(e=>(0,t.jsxs)("label",{className:"flex items-center space-x-2",children:[(0,t.jsx)("input",{type:"checkbox",value:e,checked:r.regionInterests.includes(e),onChange:e=>d(e,"regionInterests"),className:"h-4 w-4"}),(0,t.jsx)("span",{className:"text-sm",children:e})]},e))})]}),(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Management Interests (optional)"}),(0,t.jsx)("div",{className:"grid grid-cols-4 gap-2 border rounded-md p-3",children:eg.map(e=>(0,t.jsxs)("label",{className:"flex items-center space-x-2",children:[(0,t.jsx)("input",{type:"checkbox",value:e,checked:r.managementInterests.includes(e),onChange:e=>d(e,"managementInterests"),className:"h-4 w-4"}),(0,t.jsx)("span",{className:"text-sm",children:e})]},e))})]})]}),(0,t.jsxs)("div",{className:"flex justify-end space-x-2 pt-4",children:[(0,t.jsx)(o.Button,{type:"button",variant:"outline",onClick:e,disabled:l,children:"Cancel"}),(0,t.jsx)(o.Button,{type:"submit",disabled:l,children:l?"Submitting...":"Submit"})]})]})}let ey=[el.Users,eu,ec,eh,ed];function ev({content:e,setContent:s}){let r=e.whyJoin||{heading:"",items:[]},n=e.intro||{heading:"",body:""},i=e.options||[],a=e.leadership||{heading:"",body:"",buttons:[]};return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Why join heading",children:(0,t.jsx)(S,{variant:"heading",value:r.heading,onChange:t=>s({...e,whyJoin:{...r,heading:t}})})}),(r.items||[]).map((n,i)=>(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)(S,{value:n.text,onChange:t=>{let n=[...r.items||[]];n[i]={...n[i],text:t},s({...e,whyJoin:{...r,items:n}})}})},i)),(0,t.jsx)("button",{type:"button",className:"text-sm text-primary mb-4",onClick:()=>s({...e,whyJoin:{...r,items:[...r.items||[],{text:""}]}}),children:"Add why-join item"}),(0,t.jsx)(g.Field,{label:"Intro heading",children:(0,t.jsx)(S,{variant:"heading",value:n.heading,onChange:t=>s({...e,intro:{...n,heading:t}})})}),(0,t.jsx)(g.Field,{label:"Intro body",children:(0,t.jsx)(S,{value:n.body,onChange:t=>s({...e,intro:{...n,body:t}})})}),i.map((r,n)=>(0,t.jsxs)("div",{className:"border rounded p-3 mb-3",children:[(0,t.jsx)(g.Field,{label:"Option heading",children:(0,t.jsx)(S,{variant:"heading",value:r.heading,onChange:t=>{let r=[...i];r[n]={...r[n],heading:t},s({...e,options:r})}})}),(0,t.jsx)(g.Field,{label:"Option body",children:(0,t.jsx)(S,{value:r.body,onChange:t=>{let r=[...i];r[n]={...r[n],body:t},s({...e,options:r})}})}),(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm mb-2",children:[(0,t.jsx)("input",{type:"checkbox",checked:!!r.signup,onChange:t=>{let r=[...i];r[n]={...r[n],signup:t.target.checked},s({...e,options:r})}}),"Show Friends signup button"]}),(r.buttons||[]).map((r,a)=>(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mb-2",children:[(0,t.jsx)(g.TextInput,{value:r.label,onChange:t=>{let r=[...i],o=[...r[n].buttons||[]];o[a]={...o[a],label:t},r[n]={...r[n],buttons:o},s({...e,options:r})}}),(0,t.jsx)(g.TextInput,{value:r.href,onChange:t=>{let r=[...i],o=[...r[n].buttons||[]];o[a]={...o[a],href:t},r[n]={...r[n],buttons:o},s({...e,options:r})}})]},a))]},n)),(0,t.jsx)(g.Field,{label:"Leadership heading",children:(0,t.jsx)(S,{variant:"heading",value:a.heading,onChange:t=>s({...e,leadership:{...a,heading:t}})})}),(0,t.jsx)(g.Field,{label:"Leadership body",children:(0,t.jsx)(S,{value:a.body,onChange:t=>s({...e,leadership:{...a,body:t}})})}),(a.buttons||[]).map((r,n)=>(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mb-2",children:[(0,t.jsx)(g.TextInput,{value:r.label,onChange:t=>{let r=[...a.buttons||[]];r[n]={...r[n],label:t},s({...e,leadership:{...a,buttons:r}})}}
8),(0,t.jsx)(g.TextInput,{value:r.href,onChange:t=>{let r=[...a.buttons||[]];r[n]={...r[n],href:t},s({...e,leadership:{...a,buttons:r}})}})]},n))]})}function ew({content:e}){let[r,n]=(0,s.useState)(!1),i=e.whyJoin||{items:[]};e.intro;let a=e.options||[],l=e.leadership||{};return(0,t.jsxs)("div",{className:"max-w-5xl mx-auto px-6 py-12",children:[(0,t.jsxs)("div",{className:"bg-card border border-border p-8 rounded-lg shadow-lg mb-12",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mb-4 inline-flex",children:(0,t.jsx)(ed,{className:"h-6 w-6 text-primary"})}),(0,t.jsx)(A,{path:"whyJoin.heading",variant:"heading",as:"h3",className:"text-2xl font-bold mb-6",placeholder:"Why join heading"})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 gap-4",children:(i.items||[]).map((e,s)=>{let r=ey[s%ey.length];return(0,t.jsxs)("div",{className:`flex items-start gap-3 ${s===(i.items||[]).length-1?"md:col-span-2":""}`,children:[(0,t.jsx)(r,{className:"h-5 w-5 text-primary mt-0.5 flex-shrink-0"}),(0,t.jsx)(A,{path:`whyJoin.items.${s}.text`,className:"text-muted-foreground",placeholder:"Benefit"})]},s)})})]}),(0,t.jsxs)("div",{className:"mb-12",children:[(0,t.jsx)(A,{path:"intro.heading",variant:"heading",as:"h2",className:"text-3xl font-bold mb-6",placeholder:"Intro heading"}),(0,t.jsx)(A,{path:"intro.body",className:"text-lg leading-relaxed text-muted-foreground mb-4",placeholder:"Intro body"})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 gap-6 mb-12",children:a.map((e,s)=>(0,t.jsxs)("div",{className:"bg-card border border-border p-8 rounded-lg shadow-lg flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mb-4",children:e.signup?(0,t.jsx)(ec,{className:"h-6 w-6 text-primary"}):(0,t.jsx)(eh,{className:"h-6 w-6 text-primary"})}),(0,t.jsx)(A,{path:`options.${s}.heading`,variant:"heading",as:"h3",className:"text-2xl font-bold mb-4",placeholder:"Option heading"}),(0,t.jsx)(A,{path:`options.${s}.body`,className:"text-muted-foreground leading-relaxed",placeholder:"Option body"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-auto",children:[(e.buttons||[]).map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"inline-block w-full",children:(0,t.jsxs)(o.Button,{variant:"outline"===e.variant?"outline":"default",className:"w-full flex items-center justify-center gap-2",children:[e.label,(0,t.jsx)(M.ExternalLink,{className:"h-4 w-4"})]})},e.href)),e.signup&&(0,t.jsx)(o.Button,{className:"w-full",onClick:()=>n(!0),children:"Sign up as a Friend"})]})]},e.key||s))}),l.heading&&(0,t.jsxs)("div",{className:"bg-card border border-border p-8 rounded-lg shadow-lg mb-12",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mb-4 inline-flex",children:(0,t.jsx)(el.Users,{className:"h-6 w-6 text-primary"})}),(0,t.jsx)(A,{path:"leadership.heading",variant:"heading",as:"h3",className:"text-2xl font-bold mb-4",placeholder:"Leadership heading"}),(0,t.jsx)(A,{path:"leadership.body",className:"text-muted-foreground leading-relaxed mb-6",placeholder:"Leadership body"})]}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:(l.buttons||[]).map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"inline-block w-full",children:(0,t.jsxs)(o.Button,{className:"w-full flex items-center justify-center gap-2",children:[e.label,(0,t.jsx)(M.ExternalLink,{className:"h-4 w-4"})]})},e.href))})]}),(0,t.jsx)(em.Dialog,{open:r,onOpenChange:n,children:(0,t.jsxs)(em.DialogContent,{className:"max-h-[90vh] overflow-y-auto",children:[(0,t.jsxs)(em.DialogHeader,{children:[(0,t.jsx)(em.DialogTitle,{children:"Sign up as a Friend of GSG"}),(0,t.jsx)(em.DialogDescription,{children:"Join our community of Galliformes enthusiasts and supporters. Fill out the form below to sign up."})]}),(0,t.jsx)(eb,{onCancel:()=>n(!1)})]})})]})}var ej=e.i(87316),eR=e.i(40160);let eN=(0,z.default)("Rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);function eS(e){return e?e.replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\n/g,"\\n"):""}function eC(e){return new Date(e).toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,"")}let ek=(0,s.lazy)(()=>e.A(47125)),eA=()=>(0,t.jsxs)("div",{className:"rounded-lg border border-border bg-card shadow-lg animate-pulse",children:[(0,t.jsx)("div",{className:"h-48 w-full bg-muted"}),(0,t.jsxs)("div",{className:"p-6 space-y-3",children:[(0,t.jsx)("div",{className:"h-6 bg-muted rounded w-3/4"}),(0,t.jsx)("div",{className:"h-4 bg-muted rounded w-1/2"}),(0,t.jsx)("div",{className:"h-4 bg-muted rounded w-2/3"}),(0,t.jsx)("div",{className:"h-10 bg-muted rounded w-full mt-4"})]})]});
8function eT(){let[e,r]=(0,s.useState)("upcoming"),[n,i]=(0,s.useState)([]),[a,o]=(0,s.useState)([]),[l,c]=(0,s.useState)(!0);(0,s.useEffect)(()=>{u(),h()},[e]);let h=async()=>{try{let e=new Date().toISOString(),{data:t,error:s}=await m.supabase.from("conferences").select("*").lte("start_date",e).gte("end_date",e).order("start_date",{ascending:!0});if(s)throw s;o(t||[])}catch(e){console.error("Error fetching current conferences:",e)}},u=async()=>{c(!0);try{let t=new Date().toISOString(),s=m.supabase.from("conferences").select("*");s="upcoming"===e?s.gte("start_date",t).order("start_date",{ascending:!0}):s.lt("start_date",t).order("start_date",{ascending:!1});let{data:r,error:n}=await s;if(n)throw n;i(r||[])}catch(e){console.error("Error fetching conferences:",e)}finally{c(!1)}};return(0,t.jsxs)("div",{className:"bg-background",children:[a.length>0&&(0,t.jsxs)("section",{className:"container mx-auto px-4 py-8",children:[(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("div",{className:"mb-6 text-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-foreground",children:"Happening Now"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:1===a.length?"This conference is currently in progress":"These conferences are currently in progress"})]}),(0,t.jsx)("div",{className:"flex flex-col items-center gap-6",children:a.map(e=>(0,t.jsx)(s.Suspense,{fallback:(0,t.jsx)(eA,{}),children:(0,t.jsxs)("div",{className:"relative w-full max-w-2xl",children:[(0,t.jsx)("div",{className:"absolute -top-3 -right-3 z-10 bg-red-500 text-white px-3 py-1 rounded-full text-xs font-bold shadow-lg",children:"LIVE NOW"}),(0,t.jsx)(ek,{conference:e})]})},e.id))})]}),(0,t.jsx)("div",{className:"mt-12 border-t border-border"})]}),(0,t.jsxs)("section",{className:"container mx-auto px-4 py-8",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center mb-8 gap-4",children:[(0,t.jsxs)("div",{className:"inline-flex rounded-lg border border-border bg-muted p-1",children:[(0,t.jsx)("button",{onClick:()=>r("upcoming"),className:`px-6 py-2 rounded-md text-sm font-medium ${"upcoming"===e?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:"Upcoming"}),(0,t.jsx)("button",{onClick:()=>r("past"),className:`px-6 py-2 rounded-md text-sm font-medium ${"past"===e?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:"Past"})]}),"upcoming"===e&&n.length>0&&(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsxs)("button",{onClick:()=>(function(e,t="galliformes-conferences.ics"){let s=new Blob([function(e,t="conferences.ics"){let s=[];return s.push("BEGIN:VCALENDAR"),s.push("VERSION:2.0"),s.push("PRODID:-//Galliformes Specialist Group//Conferences//EN"),s.push("CALSCALE:GREGORIAN"),s.push("METHOD:PUBLISH"),s.push("X-WR-CALNAME:Galliformes Conferences"),s.push("X-WR-CALDESC:Upcoming conferences from the Galliformes Specialist Group"),s.push("X-WR-TIMEZONE:UTC"),e.forEach(e=>{s.push(function(e){let t=[];t.push("BEGIN:VEVENT"),t.push(`UID:conference-${e.id}@galliformes.org`),t.push(`DTSTAMP:${eC(new Date().toISOString())}`),t.push(`DTSTART:${eC(e.start_date)}`),e.end_date&&t.push(`DTEND:${eC(e.end_date)}`),t.push(`SUMMARY:${eS(e.title)}`),t.push(`LOCATION:${eS(e.location)}`);let s=e.title;if(e.contact_person&&(s+=`\\nContact: ${eS(e.contact_person)}`),e.contact_email&&(s+=`\\nEmail: ${eS(e.contact_email)}`),e.sponsors&&e.sponsors.length>0){let t=e.sponsors.map(e=>"string"==typeof e?e:e.name).join(", ");s+=`\\nSponsors: ${eS(t)}`}return t.push(`DESCRIPTION:${s}`),e.conference_url&&t.push(`URL:${e.conference_url}`),t.push("STATUS:CONFIRMED"),t.push("END:VEVENT"),t.join("\r\n")}(e))}),s.push("END:VCALENDAR"),s.join("\r\n")}(e,t)],{type:"text/calendar;charset=utf-8"}),r=document.createElement("a");r.href=URL.createObjectURL(s),r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(r.href)})(n,"galliformes-upcoming-conferences.ics"),className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-primary text-primary-foreground text-sm font-medium",children:[(0,t.jsx)(ej.Calendar,{className:"h-4 w-4"}),(0,t.jsx)(eR.Download,{className:"h-4 w-4"}),"Add to Calendar"]}),(0,t.jsxs)("a",{href:"/api/conferences/rss",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-border bg-background text-sm font-medium",children:[(0,t.jsx)(eN,{
8className:"h-4 w-4"}),"RSS Feed"]})]})]}),(0,t.jsx)("div",{className:"max-w-7xl mx-auto",children:l?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(6)].map((e,s)=>(0,t.jsx)(eA,{},s))}):0===n.length?(0,t.jsx)("div",{className:"text-center py-16",children:(0,t.jsxs)("p",{className:"text-lg text-muted-foreground",children:["No ",e," conferences found."]})}):(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:n.map(e=>(0,t.jsx)(s.Suspense,{fallback:(0,t.jsx)(eA,{}),children:(0,t.jsx)(ek,{conference:e})},e.id))})})]})]})}function eI(){return(0,t.jsxs)("p",{className:"text-sm text-gray-600",children:["Conference records are managed in the"," ",(0,t.jsx)("a",{href:"/admin/conferences",className:"underline",children:"Conferences admin"}),". This block displays the public list."]})}let eE=(0,z.default)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);function eO({content:e,setContent:s}){return(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Field,{label:"Partner group",children:(0,t.jsx)(g.TextInput,{value:e.partnerGroup,onChange:t=>s({...e,partnerGroup:t})})}),(0,t.jsx)(g.Field,{label:"Archive label",children:(0,t.jsx)(S,{variant:"heading",value:e.archiveLabel,onChange:t=>s({...e,archiveLabel:t})})}),(0,t.jsx)(g.Field,{label:"Archive URL",children:(0,t.jsx)(g.TextInput,{value:e.archiveUrl,onChange:t=>s({...e,archiveUrl:t})})})]})}function eD({content:e}){let[r,n]=(0,s.useState)([]),[i,o]=(0,s.useState)("");return((0,s.useEffect)(()=>{(async()=>{let{data:t,error:s}=await m.supabase.from("newsletters").select("*").eq("partner_group",e.partnerGroup||"grouse-group").order("date",{ascending:!1}).limit(3);s?o(s.message):n(t||[])})()},[e.partnerGroup]),i)?(0,t.jsx)("div",{className:"max-w-6xl mx-auto px-6 py-12 text-center",children:(0,t.jsx)("p",{className:"text-gray-600",children:"Unable to fetch newsletters."})}):(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-6 py-12",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12",children:r.length>0?r.map(e=>{let s;return(0,t.jsxs)("div",{className:"bg-white rounded-lg shadow-lg overflow-hidden",children:[e.cover_url&&(0,t.jsx)("img",{src:e.cover_url,alt:`${e.title} Cover`,className:"w-full h-96 object-cover"}),(0,t.jsxs)("div",{className:"p-6",children:[(0,t.jsxs)("div",{className:"flex items-center text-gray-600 mb-2",children:[(0,t.jsx)(ej.Calendar,{className:"h-4 w-4 mr-2"}),(0,t.jsx)("span",{className:"text-sm",children:(s=new Date(e.date),`${["January","February","March","April","May","June","July","August","September","October","November","December"][s.getMonth()]} ${s.getFullYear()}`)})]}),(0,t.jsx)("h3",{className:"text-xl font-bold mb-2",children:e.title}),(0,t.jsxs)("a",{href:e.pdf_url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-4 py-2 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 w-fit",children:[(0,t.jsx)(a.ArrowRight,{className:"h-4 w-4 mr-2"}),"View"]})]})]},e.id)}):(0,t.jsx)("div",{className:"col-span-full text-center py-12",children:(0,t.jsx)("p",{className:"text-gray-600",children:"No newsletters available at this time."})})}),e.archiveUrl&&(0,t.jsx)("div",{className:"flex justify-center mt-12",children:(0,t.jsxs)("a",{href:e.archiveUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center px-6 py-3 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 transition-colors duration-200",children:[(0,t.jsx)(A,{path:"archiveLabel",variant:"heading",as:"span",placeholder:"View archive"}),(0,t.jsx)(eE,{className:"ml-2 h-5 w-5"})]})})]})}let eB={hero:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(I,{content:e,setContent:s}),children:e=>(0,t.jsx)(E,{content:e})})},text:B,cards:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(L,{content:e,setContent:s}),children:e=>(0,t.jsx)(F,{content:e})})},people:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(Y,{content:e,setContent:s}),children:e=>(0,t.jsx)(H,{content:e})})},buttons:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(V,{content:e,setContent:s}),children:e=>(0,t.jsx)(X,{content:e})})},gallery:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(es,{content:e,setContent:s}),children:()=>(0,t.jsx)(et,{heading:(0,t.jsx)(A,{path:"heading",variant:"heading",as:"span",className:"text-3xl sm:text-4xl font-bold text-background",placeholder:"Photo Gallery"})})})},contact_form:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(ea,{content:e,setContent:s}),children:e=>(0,t.jsx)(eo,{content:e})})},membership:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(ev,{content:e,setContent:s}),children:e=>(0,t.jsx)(ew,{content:e})})},conferences:function({section:e}){return(0,t.jsx)(f,{section:e,editor:()=>(0,t.jsx)(eI,{}),children:()=>(0,t.jsx)(eT,{})})},newsletters:function({section:e}){return(0,t.jsx)(f,{section:e,editor:(e,s)=>(0,t.jsx)(eO,{content:e,setContent:s}),children:e=>(0,t.jsx)(eD,{content:e})})}};function eM({sections:e}){return(0,t.jsx)("div",{className:"w-full flex flex-col relative",children:(e||[]).map(e=>{let s=eB[e.block_type]||B;return(0,t.jsx)(s,{section:e},e.id)})})}function eL({slug:e}
8){let[n,i]=(0,s.useState)(null),[a,o]=(0,s.useState)(!0),[l,c]=(0,s.useState)("");return((0,s.useEffect)(()=>{let t=!1;return o(!0),(0,r.fetchPage)(e).then(e=>{t||(i(e),c(""))}).catch(e=>{t||c(e.message||"Failed to load page")}).finally(()=>{t||o(!1)}),()=>{t=!0}},[e]),a)?(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-16 h-16 border-4 border-gray-200 border-t-gray-700 rounded-full animate-spin"})}):l||!n?(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center px-4",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h1",{className:"text-3xl font-bold mb-2",children:"Page not found"}),(0,t.jsx)("p",{className:"text-gray-600",children:l||"This page does not exist."})]})}):(0,t.jsx)(eM,{sections:n.sections})}e.s(["default",()=>eL],52070)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.