PageSourceSearch

https://www.culturepulse.ai/assets/article-y3gOJPIC.js

js culturepulse.ai collected 2026-10-03 21:02:14 UTC 31,083 bytes, 5 lines download raw bytes

1import{w as Ce,a as Le,u as ke,r as Ne,j as k}from"./chunk-4WY6JWTD-DoFnijRJ.js";import{T as M}from"./Typography-CTmNgK65.js";import{B as Se}from"./BlurredCircles-CPkiorLi.js";import{N as De}from"./Newsletter-BegvtYdE.js";import{d as se,o as be,v as Te,m as H,f as R,a as U,b as O,c as z,u as B,e as G,g as Pe,p as oe,h as ce,n as le,i as Ee,s as ze,j as ye,E as je,M as $e}from"./index-NHuYC-Un.js";import"./Button-YErYcH1Q.js";import"./index.esm-lY66E3nC.js";import"./Input-DWsPyFT8.js";import"./Reveal-BXLbXze6.js";import"./RevealItem-dZ-Nr-lK.js";function ue(e,t){const i=String(e);if(typeof t!="string")throw new TypeError("Expected character");let s=0,a=i.indexOf(t);for(;a!==-1;)s++,a=i.indexOf(t,a+t.length);return s}const Ie=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
1sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],fe={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function we(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Re(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Ue(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function he(e){return Ue(e)||we(e)}const Me=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function te(e,t){const i=t||{},s=typeof i.additional=="string"?i.additional.charCodeAt(0):i.additional,a=[];let n=0,l=-1,o="",c,f;i.position&&("start"in i.position||"indent"in i.position?(f=i.position.indent,c=i.position.start):c=i.position);let u=(c?c.line:0)||1,x=(c?c.column:0)||1,m=v(),g;for(n--;++n<=e.length;)if(g===10&&(x=(f?f[l]:0)||1),g=e.charCodeAt(n),g===38){const b=e.charCodeAt(n+1);if(b===9||b===10||b===12||b===32||b===38||b===60||Number.isNaN(b)||s&&b===s){o+=String.fromCharCode(g),x++;continue}const C=n+1;let L=C,A=C,T;if(b===35){A=++L;const y=e.charCodeAt(A);y===88||y===120?(T="hexadecimal",A=++L):T="decimal"}else T="named";let P="",S="",w="";const h=T==="named"?he:T==="decimal"?we:Re;for(A--;++A<=e.length;){const y=e.charCodeAt(A);if(!h(y))break;w+=String.fromCharCode(y),T==="named"&&Ie.includes(w)&&(P=w,S=se(w))}let N=e.charCodeAt(A)===59;if(N){A++;const y=T==="named"?se(w):!1;y&&(P=w,S=y)}let E=1+A-C,j="";if(!(!N&&i.nonTerminated===!1))if(!w)T!=="named"&&d(4,E);else if(T==="named"){if(N&&!S)d(5,1);else if(P!==w&&(A=L+P.length,E=1+A-L,N=!1),!N){const y=P?1:3;if(i.attribute){const $=e.charCodeAt(A);$===61?(d(y,E),S=""):he($)?S="":d(y,E)}else d(y,E)}j=S}else{N||d(2,E);let y=Number.parseInt(w,T==="hexadecimal"?16:10);if(qe(y))d(7,E),j="�";else if(y in fe)d(6,E),j=fe[y];else{let $="";Oe(y)&&d(6,E),y>65535&&(y-=65536,$+=String.fromCharCode(y>>>10|55296),y=56320|y&1023),j=$+String.fromCharCode(y)}}if(j){p(),m=v(),n=A-1,x+=A-C+1,a.push(j);const y=v();y.offset++,i.reference&&i.reference.call(i.referenceContext||void 0,j,{start:m,end:y},e.slice(C-1,A)),m=y}else w=e.slice(C-1,A),o+=w,x+=w.length,n=A-1}else g===10&&(u++,l++,x=0),Number.isNaN(g)?p():(o+=String.fromCharCode(g),x++);return a.join("");function v(){return{line:u,column:x,offset:n+((c?c.offset:0)||0)}}function d(b,C){let L;i.warning&&(L=v(),L.column+=C,L.offset+=C,i.warning.call(i.warningContext||void 0,Me[b],L,b))}function p(){o&&(a.push(o),i.text&&i.text.call(i.textContext||void 0,o,{start:m,end:v()}),o="")}}function qe(e){return e>=55296&&e<=57343||e>1114111}function Oe(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const Fe=/["&'<>`]/g,Ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Be=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Ge=/[|\\{}()[\]^$+*?.]/g,pe=new WeakMap;function He(e,t){if(e=e.replace(t.subset?Qe(t.subset):Fe,s),t.subset||t.escapeOnly)return e;return e.replace(Ve,i).replace(Be,s);function i(a,n,l){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,l.charCodeAt(n+2),t)}function s(a,n,l){return t.format(a.charCodeAt(0),l.charCodeAt(n+1),t)}}function Qe(e){let t=pe.get(e);return t||(t=_e(e),pe.set(e,t)),t}function _e(e){const t=[];let i=-1;for(;++i<e.length;)t.push(e[i].replace(Ge,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function We(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ze(e,t){return He(e,Object.assign({format:We},t))}const Ye={}.hasOwnProperty,Xe={},de=/^[^\t\n\r "#'.<=>`}]+$/,Je=/^[^\t\n\r "'<=>`}]+$/;
1function Ke(){return{canContainEols:["textDirective"],enter:{directiveContainer:tt,directiveContainerAttributes:_,directiveContainerLabel:nt,directiveLeaf:it,directiveLeafAttributes:_,directiveText:rt,directiveTextAttributes:_},exit:{directiveContainer:K,directiveContainerAttributeClassValue:Z,directiveContainerAttributeIdValue:W,directiveContainerAttributeName:X,directiveContainerAttributeValue:Y,directiveContainerAttributes:J,directiveContainerLabel:at,directiveContainerName:Q,directiveLeaf:K,directiveLeafAttributeClassValue:Z,directiveLeafAttributeIdValue:W,directiveLeafAttributeName:X,directiveLeafAttributeValue:Y,directiveLeafAttributes:J,directiveLeafName:Q,directiveText:K,directiveTextAttributeClassValue:Z,directiveTextAttributeIdValue:W,directiveTextAttributeName:X,directiveTextAttributeValue:Y,directiveTextAttributes:J,directiveTextName:Q}}}function et(e){const t=Xe;if(t.quote!=='"'&&t.quote!=="'"&&t.quote!==null&&t.quote!==void 0)throw new Error("Invalid quote `"+t.quote+"`, expected `'` or `\"`");return i.peek=st,{handlers:{containerDirective:i,leafDirective:i,textDirective:i},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
2`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}]};function i(n,l,o,c){const f=o.createTracker(c),u=ot(n),x=o.enter(n.type);let m=f.move(u+(n.name||"")),g;if(n.type==="containerDirective"){const v=(n.children||[])[0];g=me(v)?v:void 0}else g=n;if(g&&g.children&&g.children.length>0){const v=o.enter("label"),d=`${n.type}Label`,p=o.enter(d);m+=f.move("["),m+=f.move(o.containerPhrasing(g,{...f.current(),before:m,after:"]"})),m+=f.move("]"),p(),v()}if(m+=f.move(s(n,o)),n.type==="containerDirective"){const v=(n.children||[])[0];let d=n;me(v)&&(d=Object.assign({},n,{children:n.children.slice(1)})),d&&d.children&&d.children.length>0&&(m+=f.move(`
3`),m+=f.move(o.containerFlow(d,f.current()))),m+=f.move(`
4`+u)}return x(),m}function s(n,l){const o=n.attributes||{},c=[];let f,u,x,m;for(m in o)if(Ye.call(o,m)&&o[m]!==void 0&&o[m]!==null){const g=String(o[m]);if(m==="id")x=t.preferShortcut!==!1&&de.test(g)?"#"+g:a("id",g,n,l);else if(m==="class"){const v=g.split(/[\t\n\r ]+/g),d=[],p=[];let b=-1;for(;++b<v.length;)(t.preferShortcut!==!1&&de.test(v[b])?p:d).push(v[b]);f=d.length>0?a("class",d.join(" "),n,l):"",u=p.length>0?"."+p.join("."):""}else c.push(a(m,g,n,l))}return f&&c.unshift(f),u&&c.unshift(u),x&&c.unshift(x),c.length>0?"{"+c.join(" ")+"}":""}function a(n,l,o,c){if(t.collapseEmptyAttributes!==!1&&!l)return n;if(t.preferUnquoted&&Je.test(l))return n+"="+l;const f=t.quote||c.options.quote||'"',u=f==='"'?"'":'"',x=t.quoteSmart&&ue(l,f)>ue(l,u)?u:f,m=o.type==="textDirective"?[x]:[x,`
5`,"\r"];return n+"="+x+Ze(l,{subset:m})+x}}function tt(e){ie.call(this,"containerDirective",e)}function it(e){ie.call(this,"leafDirective",e)}function rt(e){ie.call(this,"textDirective",e)}function ie(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function Q(e){const t=this.stack[this.stack.length-1];be(t.type==="containerDirective"||t.type==="leafDirective"||t.type==="textDirective"),t.name=this.sliceSerialize(e)}function nt(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function at(e){this.exit(e)}function _(){this.data.directiveAttributes=[],this.buffer()}function W(e){this.data.directiveAttributes.push(["id",te(this.sliceSerialize(e),{attribute:!0})])}function Z(e){this.data.directiveAttributes.push(["class",te(this.sliceSerialize(e),{attribute:!0})])}function Y(e){const t=this.data.directiveAttributes;t[t.length-1][1]=te(this.sliceSerialize(e),{attribute:!0})}function X(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function J(){const e=this.data.directiveAttributes,t={};let i=-1;for(;++i<e.length;){const a=e[i];a[0]==="class"&&t.class?t.class+=" "+a[1]:t[a[0]]=a[1]}this.data.directiveAttributes=void 0,this.resume();const s=this.stack[this.stack.length-1];be(s.type==="containerDirective"||s.type==="leafDirective"||s.type==="textDirective"),s.attributes=t}function K(e){this.exit(e)}function st(){return":"}function me(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function ot(e){let t=0;return e.type==="containerDirective"?(Te(e,function(i,s){if(i.type==="containerDirective"){let a=s.length,n=0;for(;a--;)s[a].type==="containerDirective"&&n++;n>t&&(t=n)}}),t+=3):e.type==="leafDirective"?t=2:t=1,":".repeat(t)}function re(e,t,i,s,a,n,l,o,c,f,u,x,m,g,v){let d,p;return b;function b(r){return e.enter(s),e.enter(a),e.consume(r),e.exit(a),C}function C(r){return r===35?(d=l,L(r)):r===46?(d=o,L(r)):v&&H(r)?R(e,C,"whitespace")(r):!v&&U(r)?O(e,C)(r):r===null||z(r)||B(r)||G(r)&&r!==45&&r!==95?$(r):(e.enter(n),e.enter(c),e.consume(r),P)}function L(r){const D=d+"Marker";return e.enter(n),e.enter(d),e.enter(D),e.consume(r),e.exit(D),A}function A(r){if(r===null||r===34||r===35||r===39||r===46||r===60||r===61||r===62||r===96||r===125||U(r))return i(r);const D=d+"Value";return e.enter(D),e.consume(r),T}function T(r){if(r===null||r===34||r===39||r===60||r===61||r===62||r===96)return i(r);if(r===35||r===46||r===125||U(r)){const D=d+"Value";return e.exit(D),e.exit(d),e.exit(n),C(r)}return e.consume(r),T}function P(r){return r===null||z(r)||B(r)||G(r)&&r!==45&&r!==46&&r!==58&&r!==95?(e.exit(c),v&&H(r)?R(e,S,"whitespace")(r):!v&&U(r)?O(e,S)(r):S(r)):(e.consume(r),P)}function S(r){return r===61?(e.enter(f),e.consume(r),e.exit(f),w):(e.exit(n),C(r))}function w(r){return r===null||r===60||r===61||r===62||r===96||r===125||v&&z(r)?i(r):r===34||r===39?(e.enter(u),e.enter(m),e.consume(r),e.exit(m),p=r,N):v&&H(r)?R(e,w,"whitespace")(r):!v&&U(r)?O(e,w
5)(r):(e.enter(x),e.enter(g),e.consume(r),p=void 0,h)}function h(r){return r===null||r===34||r===39||r===60||r===61||r===62||r===96?i(r):r===125||U(r)?(e.exit(g),e.exit(x),e.exit(n),C(r)):(e.consume(r),h)}function N(r){return r===p?(e.enter(m),e.consume(r),e.exit(m),e.exit(u),e.exit(n),y):(e.enter(x),E(r))}function E(r){return r===p?(e.exit(x),N(r)):r===null?i(r):z(r)?v?i(r):O(e,E)(r):(e.enter(g),e.consume(r),j)}function j(r){return r===p||r===null||z(r)?(e.exit(g),E(r)):(e.consume(r),j)}function y(r){return r===125||U(r)?C(r):$(r)}function $(r){return r===125?(e.enter(a),e.consume(r),e.exit(a),e.exit(s),t):i(r)}}function ne(e,t,i,s,a,n,l){let o=0,c=0,f;return u;function u(p){return e.enter(s),e.enter(a),e.consume(p),e.exit(a),x}function x(p){return p===93?(e.enter(a),e.consume(p),e.exit(a),e.exit(s),t):(e.enter(n),m(p))}function m(p){if(p===93&&!c)return d(p);const b=e.enter("chunkText",{_contentTypeTextTrailing:!0,contentType:"text",previous:f});return f&&(f.next=b),f=b,g(p)}function g(p){return p===null||o>999||p===91&&++c>32?i(p):p===93&&!c--?(e.exit("chunkText"),d(p)):z(p)?l?i(p):(e.consume(p),e.exit("chunkText"),m):(e.consume(p),p===92?v:g)}function v(p){return p===91||p===92||p===93?(e.consume(p),o++,g):g(p)}function d(p){return e.exit(n),e.enter(a),e.consume(p),e.exit(a),e.exit(s),t}}function ae(e,t,i,s){const a=this;return n;function n(o){return o===null||z(o)||G(o)||B(o)?i(o):(e.enter(s),e.consume(o),l)}function l(o){return o===null||z(o)||B(o)||G(o)&&o!==45&&o!==95?(e.exit(s),a.previous===45||a.previous===95?i(o):t(o)):(e.consume(o),l)}}const ct={tokenize:ft,concrete:!0},lt={tokenize:ht,partial:!0},ut={tokenize:pt,partial:!0},F={tokenize:dt,partial:!0};function ft(e,t,i){const s=this,a=s.events[s.events.length-1],n=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let l=0,o;return c;function c(h){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),f(h)}function f(h){return h===58?(e.consume(h),l++,f):l<3?i(h):(e.exit("directiveContainerSequence"),ae.call(s,e,u,i,"directiveContainerName")(h))}function u(h){return h===91?e.attempt(lt,x,x)(h):x(h)}function x(h){return h===123?e.attempt(ut,m,m)(h):m(h)}function m(h){return R(e,g,"whitespace")(h)}function g(h){return e.exit("directiveContainerFence"),h===null?S(h):z(h)?s.interrupt?t(h):e.attempt(F,v,S)(h):i(h)}function v(h){return h===null?S(h):z(h)?e.check(F,L,S)(h):(e.enter("directiveContainerContent"),d(h))}function d(h){return e.attempt({tokenize:w,partial:!0},P,n?R(e,p,"linePrefix",n+1):p)(h)}function p(h){return h===null?P(h):z(h)?e.check(F,C,P)(h):C(h)}function b(h){if(h===null){const N=e.exit("chunkDocument");return s.parser.lazy[N.start.line]=!1,P(h)}return z(h)?e.check(F,A,T)(h):(e.consume(h),b)}function C(h){const N=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=N),o=N,b(h)}function L(h){return e.enter("directiveContainerContent"),d(h)}function A(h){e.consume(h);const N=e.exit("chunkDocument");return s.parser.lazy[N.start.line]=!1,d}function T(h){const N=e.exit("chunkDocument");return s.parser.lazy[N.start.line]=!1,P(h)}function P(h){return e.exit("directiveContainerContent"),S(h)}function S(h){return e.exit("directiveContainer"),t(h)}function w(h,N,E){let j=0;return R(h,y,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function y(D){return h.enter("directiveContainerFence"),h.enter("directiveContainerSequence"),$(D)}function $(D){return D===58?(h.consume(D),j++,$):j<l?E(D):(h.exit("directiveContainerSequence"),R(h,r,"whitespace")(D))}function r(D){return D===null||z(D)?(h.exit("directiveContainerFence"),N(D)):E(D)}}}function ht(e,t,i){return ne(e,t,i,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function pt(e,t,i){return re(e,t,i,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function dt(e,t,i){const s=this;return a;function a(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n}function n(l){return s.parser.lazy[s.now().line]?i(l):t(l)}}const mt={tokenize:vt},gt={tokenize:bt,partial:!0},xt={tokenize:yt,partial:!0};function vt(e,t,i){const s=this;return a;function a(u){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(u),n}function n(u){return u===58?(e.consume(u),e.exit("directiveLeafSequence"),ae.call(s,e,l,i,"directiveLeafName")):i(u)}function l(u){return u===91?e.attempt(gt,o,o)(u):o(u)}function o(u){return u===123?e.attempt(xt,c,c)(u):c(u)}function c(u){return R(e,f,"whitespace")(u)}function f(u){return u===null||z(u)?(e.exit("directiveLeaf"),t(u)):i(u)}}function bt(e,t,i){return ne(e,t,i,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function yt(e,t,i){return re(e,t,i,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const wt={tokenize:kt,previous:Lt},At={tokenize:Nt,partial:!0}
vendor: 4,203 bytes, line 5
5,Ct={tokenize:St,partial:!0};function Lt(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function kt(e,t,i){const s=this;return a;function a(c){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(c),e.exit("directiveTextMarker"),ae.call(s,e,n,i,"directiveTextName")}function n(c){return c===58?i(c):c===91?e.attempt(At,l,l)(c):l(c)}function l(c){return c===123?e.attempt(Ct,o,o)(c):o(c)}function o(c){return e.exit("directiveText"),t(c)}}function Nt(e,t,i){return ne(e,t,i,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function St(e,t,i){return re(e,t,i,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function Dt(){return{text:{58:wt},flow:{58:[ct,mt]}}}function Tt(){const t=this.data(),i=t.micromarkExtensions||(t.micromarkExtensions=[]),s=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),a=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);i.push(Dt()),s.push(Ke()),a.push(et())}const ge=/[#.]/g;function Pt(e,t){const i=e||"",s={};let a=0,n,l;for(;a<i.length;){ge.lastIndex=a;const o=ge.exec(i),c=i.slice(a,o?o.index:i.length);c&&(n?n==="#"?s.id=c:Array.isArray(s.className)?s.className.push(c):s.className=[c]:l=c,a+=c.length),o&&(n=o[0],a++)}return{type:"element",tagName:l||t||"div",properties:s,children:[]}}function Ae(e,t,i){const s=i?$t(i):void 0;function a(n,l,...o){let c;if(n==null){c={type:"root",children:[]};const f=l;o.unshift(f)}else{c=Pt(n,t);const f=c.tagName.toLowerCase(),u=s?s.get(f):void 0;if(c.tagName=u||f,Et(l))o.unshift(l);else for(const[x,m]of Object.entries(l))zt(e,c.properties,x,m)}for(const f of o)ee(c.children,f);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return a}function Et(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,i=Object.keys(e);for(const s of i){const a=t[s];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const n=a;for(const l of n)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function zt(e,t,i,s){const a=Pe(e,i);let n;if(s!=null){if(typeof s=="number"){if(Number.isNaN(s))return;n=s}else typeof s=="boolean"?n=s:typeof s=="string"?a.spaceSeparated?n=oe(s):a.commaSeparated?n=ce(s):a.commaOrSpaceSeparated?n=oe(ce(s).join(" ")):n=xe(a,a.property,s):Array.isArray(s)?n=[...s]:n=a.property==="style"?jt(s):String(s);if(Array.isArray(n)){const l=[];for(const o of n)l.push(xe(a,a.property,o));n=l}a.property==="className"&&Array.isArray(t.className)&&(n=t.className.concat(n)),t[a.property]=n}}function ee(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const i of t)ee(e,i);else if(typeof t=="object"&&"type"in t)t.type==="root"?ee(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function xe(e,t,i){if(typeof i=="string"){if(e.number&&i&&!Number.isNaN(Number(i)))return Number(i);if((e.boolean||e.overloadedBoolean)&&(i===""||le(i)===le(t)))return!0}return i}function jt(e){const t=[];for(const[i,s]of Object.entries(e))t.push([i,s].join(": "));return t.join("; ")}function $t(e){const t=new Map;for(const i of e)t.set(i.toLowerCase(),i);return t}const It=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Rt=Ae(Ee,"div");Ae(ze,"g",It);
5const Ut=new Set(["image","video","badge","link"]),V=(e,t)=>{const i=new Set([e,...Array.isArray(t)?t:typeof t=="string"?[t]:[]]),s=[...Ut].filter(n=>n!==e);for(const n of s)if(i.has(n))throw new Error(`The alias '${n}' is reserved and cannot be used for the '${e}' directive.`);const a=[...i].map(n=>n.replaceAll(/[-/\\^$*+?.()|[\]{}]/g,String.raw`\$&`)).join("|");return new RegExp(`^(?:${a})(?:-(\\w+))?$`)};function I(e,t){return typeof e=="function"?e(t):e}function q(e,t,i){const s=[e,t,i],a=new Set,n={},l=o=>{if(typeof o=="string")for(const c of o.split(/\s+/))c&&a.add(c);else if(Array.isArray(o))for(const c of o)typeof c=="string"&&c&&a.add(c)};for(const o of s)if(o)for(const c of Object.keys(o)){const f=o[c];f&&(c==="class"||c==="className"?l(f):n[c]=f)}return a.size>0&&(n.className=[...a]),n}function Mt(e,t=14){const i=e.replace(/(^\w+:|^)\/\//,""),[s,...a]=i.split("/"),n=a.join("/"),l=n.length>t?n.slice(0,Math.max(0,t)):n;return s+(l?"/"+l+"...":"")}function qt(e,t,i){if(e.type==="leafDirective")throw new Error("Unexpected leaf directive. Use single colon (`:`) for a `badge` text directive.");if(e.type==="containerDirective")throw new Error("Unexpected container directive. Use single colon (`:`) for a `badge` text directive.");const s={className:["rds-badge"]},{spanProps:a,presets:n}=t,l=e.data||={},o=e.attributes||{},{children:c}=e;let f;const u=e.name.match(i);if(u&&!u[1])f=void 0;else if(u?.[1]&&n&&new Set(Object.keys(n)).has(u[1]))f=u[1];else throw new Error("Invalid `badge` directive. The directive failed to match a valid badge type. Please check the `presets` option in the `badge` config.");const x=f?n?.[f].text:c.length>0&&c[0].type==="text"?c[0].value:void 0;if(!x)throw new Error("Invalid `badge` directive. The text is missing. Specify it in the `[]` of `:badge[]{}` or in the `text` field of the `presets` option in the `badge` config.");const m=I(a,e),g=f?{"data-badge":f,...I(n?.[f].props,e)}:null,v=q({...s,...m},g,o);l.hName="span",l.hProperties=v,l.hChildren=[{type:"text",value:x}]}const Ot=new Set(["figure","a","div","span","section","article","main","aside","header","footer","nav","fieldset","form"]);function Ft(e,t,i){if(e.type==="textDirective")throw new Error("Unexpected text directive. Use three colons (`:::`) for an `image` container directive.");if(e.type==="leafDirective")throw new Error("Unexpected leaf directive. Use three colons (`:::`) for an `image` container directive.");const{imgProps:s,figureProps:a,figcaptionProps:n,elementProps:l,stripParagraph:o=!0}=t,c=e.data||={},f=e.attributes||{};let u;const x=e.name.match(i);if(x&&Ot.has(x[1]))u=x[1];else throw new Error("Invalid `image` directive. The directive failed to match a valid HTML tag. See https://github.com/lin-stephanie/remark-directive-sugar/blob/main/src/directives/image.ts#L14 for details.");let m=!1;const g=I(s,e);if(ye(e,"image",p=>(g&&(p.data||={},p.data.hProperties=g),m=!0,je)),!m)throw new Error("Invalid `image` directive. The image is missing.");const v=[];for(const p of e.children)o&&p.type==="paragraph"&&p.children[0].type==="image"?v.push(...p.children):v.push(p);e.children=v;const d=e.children;if(u==="figure"){let p;if(d[0].type==="paragraph"&&d[0].data?.directiveLabel&&d[0].children[0].type==="text")p=d[0].children,d.shift();else if(o&&d[0].type==="image"&&d[0].alt)p=[{type:"text",value:d[0].alt}];else if(d[0].type==="paragraph"&&d[0].children[0].type==="image"&&d[0].children[0].alt)p=[{type:"text",value:d[0].children[0].alt}];else throw new Error("Invalid `image` directive. The figcaption text is missing. Specify it in the `[]` of `:::image-figure[]{}` or `![]()`.");const b=I(a,e),C=I(n,e),L={type:"paragraph",data:{hName:"figcaption",hProperties:q(C,null,f)},children:p};c.hName="figure",c.hProperties=b??void 0,d.push(L)}else{const p=I(l,e);c.hName=u,c.hProperties=q(p,null,f)}}const Vt=/^(?:https?:\/\/)?(?:[\w-]+\.)+[a-z]{2,}(?:\/\S*)?$/,Bt=/^@[a-zA-Z\d](?!.*--)[\w-]{0,37}[a-zA-Z\d]$/,ve=/^([a-zA-Z\d](?!.*--)[\w-]{0,37}[a-zA-Z\d])\/.*$/,Gt=/^(?=.{1,214}$)(?:@[a-z\d][a-z\d._-]*\/)?[a-z\d][a-z\d._-]*$/,Ht=/^org-(\w+)$/,Qt=new Set(["repositories","projects","packages","stars","sponsoring","sponsors","org-repositories","org-projects","org-packages","org-sponsoring","org-people"]),_t=new Set(["readme","code","dependencies","dependents","versions"]);function Wt(e,t){if(e.type==="leafDirective")throw new Error("Unexpected leaf directive. Use single colon (`:`) for a `link` text directive.");if(e.type==="containerDirective")throw new Error("Unexpected container directive. Use single colon (`:`) for a `link` text directive.");const i={className:["rds-link"]},{aProps:s,imgProps:a,faviconSourceUrl:n}=t,l=n??"https://icons.duckduckgo.com/ip3/{domain}.ico",o=e.data||={},c=e.attributes||{},{children:f}=e,{id:u,url:x,img:m,tab:g,...v}=c;let d;if(u)if(Bt.test(u))d="github-acct";else if(ve.test(u))d="github-repo";else if(Gt.test(u))d="npm-pkg";else if(Vt.test(u))d="custom-url";else throw new Error("Invalid `link` directive. The `id` is invali
5d.");else throw new Error("Invalid `link` directive. The `id` is missing.");let p=!1,b="";if(g){if(!Qt.has(g)&&!_t.has(g))throw new Error("Invalid `link` directive. The `tab` is invalid.");{const w=Ht.exec(g);p=!!w,b=w?w[1]:g}}let C="";f.length>0&&f[0].type==="text"?C=f[0].value:C=d==="github-acct"?u.slice(1):d==="custom-url"?Mt(u):u;let L="",A="";if(d==="github-acct"){const w=u.slice(1);L=x??(g?p?`https://github.com/orgs/${w}/${b}`:`https://github.com/${w}?tab=${b}`:`https://github.com/${w}`),A=m||`https://github.com/${w}.png`}if(d==="github-repo"){const w=ve.exec(u);L=x||`https://github.com/${u}`,A=m||`https://github.com/${w?.[1]}.png`}d==="npm-pkg"&&(L=x||g?`https://www.npmjs.com/package/${u}?activeTab=${b}`:`https://www.npmjs.com/package/${u}`,A=m||l.replace("{domain}",new URL("https://www.npmjs.com").hostname)),d==="custom-url"&&(L=x||u,A=m||l.replace("{domain}",new URL(L).hostname));const T=I(s,e),P=q({...i,...T},{"data-link":d},v),S=I(a,e);o.hName="a",o.hProperties={href:L,...P},o.hChildren=[{type:"element",tagName:"img",properties:{src:A,alt:"",...S},children:[]},{type:"text",value:C}]}const Zt=/^(?:https?:\/\/)?(?:[\w-]+\.)+[a-z]{2,}(?:\/\S*)?$/,Yt={youtube:"https://www.youtube-nocookie.com/embed/{id}",bilibili:"https://player.bilibili.com/player.html?bvid={id}",vimeo:"https://player.vimeo.com/video/{id}"};function Xt(e,t,i){if(e.type==="textDirective")throw new Error("Unexpected text directive. Use double colons (`::`) for a `video` leaf directive.");if(e.type==="containerDirective")throw new Error("Unexpected container directive. Use double colons (`::`) for a `video` leaf directive.");const s={className:["rds-video"]},{iframeProps:a,platforms:n}=t,l={...Yt,...n},o=e.data||={},c=e.attributes||{},{children:f}=e,{id:u,...x}=c;if(n&&"url"in n)throw new Error("Invalid `video` directive config. The `url` is reserved.");if(!u)throw new Error("Invalid `video` directive. The `id` is missing.");let m;const g=e.name.match(i);if(g?.[1])if(g[1]in l)m=g[1];else throw new Error("Invalid `video` directive. The directive failed to match a valid video platform.");else if(g&&!g[1]&&Zt.test(u))m="url";else throw new Error("Invalid `video` directive. Ensure a valid URL is passed via `id` instead of `#`.");const v=m==="url"?u:l[m].replace("{id}",u),d=f.length>0&&f[0].type==="text"?f[0].value:"Video Player",p=I(a,e),b=q({...s,...p},{"data-video":m},x);o.hName="iframe",o.hProperties={src:v,title:d,...b},o.hChildren=[]}const Jt=e=>{const{image:t={},video:i={},link:s={},badge:a={}}=e||{};return n=>{ye(n,function(l){if(l.type==="containerDirective"||l.type==="leafDirective"||l.type==="textDirective"){const o=V("badge",a.alias),c=V("link",s.alias),f=V("video",i.alias),u=V("image",t.alias);if(o.test(l.name))qt(l,a,o);else if(c.test(l.name))Wt(l,s);else if(f.test(l.name))Xt(l,i,f);else if(u.test(l.name))Ft(l,t,u);else{const x=l.data||={},m=l.attributes||{},g=Rt(l.name,m);x.hName=g.tagName,x.hProperties=g.properties}}})}};function li({}){return[{title:"CulturePulse"},{name:"description",content:"Welcome to CulturePulse website!"}]}async function ui({params:e}){try{const t=await fetch(`/content/blogs/${e.slug}.json`);if(!t.ok)throw new Error("Blog not found");return await t.json()}catch{return Le("/404")}}const fi=Ce(function(){const t=ke(),i=Ne.useRef(t);t&&(i.current=t);const s=t||i.current||{};return s?k.jsxs("div",{className:"relative",children:[k.jsxs("div",{className:"pt-[184px] max-w-[828px] mx-auto flex flex-col gap-y-6 md:gap-y-10",children:[k.jsx(M,{variant:"titlePage",mobileVariant:"smallHeading",children:s.title}),k.jsxs("div",{className:"text-gray-300 flex flex-wrap gap-x-2",children:[k.jsx("span",{children:s.date}),k.jsx("span",{children:"•"}),k.jsx("span",{children:s.author})]}),k.jsx("div",{className:"flex flex-col gap-y-10 md:gap-y-16 article",children:k.jsx($e,{remarkPlugins:[Tt,Jt],components:{h1:a=>k.jsx(M,{variant:"subtitle",mobileVariant:"subheading",children:a.children}),h2:a=>k.jsx(M,{variant:"smallHeading",className:"-mb-4 md:-mb-10",children:a.children}),p:a=>k.jsx(M,{variant:"bodyBase",mobileVariant:"bodySmall",className:"text-gray-300",children:a.children}),img:a=>k.jsxs("p",{className:"flex flex-col gap-y-4",children:[k.jsx("img",{src:a.src,alt:a.alt,className:"rounded-2xl md:rounded-4xl"}),a.title?k.jsx(M,{variant:"bodySmall",inline:!0,children:a.title}):null]}),blockquote:a=>k.jsxs("div",{className:"bg-gray-500 rounded-2xl md:rounded-4xl p-4 md:p-10 flex flex-col gap-y-6 md:gap-y-12 blockquote",children:[k.jsx("div",{className:"h-[25px] md:h-[61px]",children:k.jsx("img",{src:"/quote.svg",alt:"Quote",className:"h-full animate-[subtle-pulsing_3s_ease-in-out_infinite]"})}),a.children]})},children:s.body})})]}),k.jsxs("div",{className:"pt-[365px] pb-[450px] -mb-[450px]",children:[k.jsx(Se,{anchor:"bottom"}),k.jsx(De,{})]})]}):null});
5export{ui as clientLoader,fi as default,li as meta};

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.