@tryghost/signup-form 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/signup-form",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "https://github.com/TryGhost/Ghost",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"prepublishOnly": "pnpm build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tryghost/debug": "
|
|
34
|
+
"@tryghost/debug": "2.1.0",
|
|
35
35
|
"react": "18.3.1",
|
|
36
36
|
"react-dom": "18.3.1"
|
|
37
37
|
},
|
|
@@ -67,5 +67,10 @@
|
|
|
67
67
|
"vite": "5.4.21",
|
|
68
68
|
"vite-plugin-svgr": "3.3.0",
|
|
69
69
|
"vitest": "1.6.1"
|
|
70
|
+
},
|
|
71
|
+
"nx": {
|
|
72
|
+
"tags": [
|
|
73
|
+
"i18n"
|
|
74
|
+
]
|
|
70
75
|
}
|
|
71
76
|
}
|
package/umd/signup-form.min.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* @license MIT
|
|
31
31
|
*/function au(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function Gn(e){return ke.Buffer&&typeof ke.Buffer.isBuffer=="function"?ke.Buffer.isBuffer(e):!!(e!=null&&e._isBuffer)}var Me=lu,wg=Object.prototype.hasOwnProperty,uu=Array.prototype.slice,cu=function(){return(function(){}).name==="foo"}();function fu(e){return Object.prototype.toString.call(e)}function du(e){return Gn(e)||typeof ke.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e?!!(e instanceof DataView||e.buffer&&e.buffer instanceof ArrayBuffer):!1}var M=za.exports=gu,kg=/\s*function\s+([^\(\s]*)\s*/;function pu(e){if(Me.isFunction(e)){if(cu)return e.name;var t=e.toString(),n=t.match(kg);return n&&n[1]}}M.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=Sg(this),this.generatedMessage=!0);var n=t.stackStartFunction||Se;if(Error.captureStackTrace)Error.captureStackTrace(this,n);else{var r=new Error;if(r.stack){var i=r.stack,o=pu(n),s=i.indexOf(`
|
|
32
32
|
`+o);if(s>=0){var l=i.indexOf(`
|
|
33
|
-
`,s+1);i=i.substring(l+1)}this.stack=i}}},Me.inherits(M.AssertionError,Error);function mu(e,t){return typeof e=="string"?e.length<t?e:e.slice(0,t):e}function hu(e){if(cu||!Me.isFunction(e))return Me.inspect(e);var t=pu(e),n=t?": "+t:"";return"[Function"+n+"]"}function Sg(e){return mu(hu(e.actual),128)+" "+e.operator+" "+mu(hu(e.expected),128)}function Se(e,t,n,r,i){throw new M.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}M.fail=Se;function gu(e,t){e||Se(e,!0,t,"==",M.ok)}M.ok=gu,M.equal=function(t,n,r){t!=n&&Se(t,n,r,"==",M.equal)},M.notEqual=function(t,n,r){t==n&&Se(t,n,r,"!=",M.notEqual)},M.deepEqual=function(t,n,r){cn(t,n,!1)||Se(t,n,r,"deepEqual",M.deepEqual)},M.deepStrictEqual=function(t,n,r){cn(t,n,!0)||Se(t,n,r,"deepStrictEqual",M.deepStrictEqual)};function cn(e,t,n,r){if(e===t)return!0;if(Gn(e)&&Gn(t))return au(e,t)===0;if(Me.isDate(e)&&Me.isDate(t))return e.getTime()===t.getTime();if(Me.isRegExp(e)&&Me.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if((e===null||typeof e!="object")&&(t===null||typeof t!="object"))return n?e===t:e==t;if(du(e)&&du(t)&&fu(e)===fu(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return au(new Uint8Array(e.buffer),new Uint8Array(t.buffer))===0;if(Gn(e)!==Gn(t))return!1;r=r||{actual:[],expected:[]};var i=r.actual.indexOf(e);return i!==-1&&i===r.expected.indexOf(t)?!0:(r.actual.push(e),r.expected.push(t),xg(e,t,n,r))}function yu(e){return Object.prototype.toString.call(e)=="[object Arguments]"}function xg(e,t,n,r){if(e==null||t===null||t===void 0)return!1;if(Me.isPrimitive(e)||Me.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=yu(e),o=yu(t);if(i&&!o||!i&&o)return!1;if(i)return e=uu.call(e),t=uu.call(t),cn(e,t,n);var s=xu(e),l=xu(t),a,u;if(s.length!==l.length)return!1;for(s.sort(),l.sort(),u=s.length-1;u>=0;u--)if(s[u]!==l[u])return!1;for(u=s.length-1;u>=0;u--)if(a=s[u],!cn(e[a],t[a],n,r))return!1;return!0}M.notDeepEqual=function(t,n,r){cn(t,n,!1)&&Se(t,n,r,"notDeepEqual",M.notDeepEqual)},M.notDeepStrictEqual=vu;function vu(e,t,n){cn(e,t,!0)&&Se(e,t,n,"notDeepStrictEqual",vu)}M.strictEqual=function(t,n,r){t!==n&&Se(t,n,r,"===",M.strictEqual)},M.notStrictEqual=function(t,n,r){t===n&&Se(t,n,r,"!==",M.notStrictEqual)};function wu(e,t){if(!e||!t)return!1;if(Object.prototype.toString.call(t)=="[object RegExp]")return t.test(e);try{if(e instanceof t)return!0}catch{}return Error.isPrototypeOf(t)?!1:t.call({},e)===!0}function bg(e){var t;try{e()}catch(n){t=n}return t}function ku(e,t,n,r){var i;if(typeof t!="function")throw new TypeError('"block" argument must be a function');typeof n=="string"&&(r=n,n=null),i=bg(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&Se(i,n,"Missing expected exception"+r);var o=typeof r=="string",s=!e&&Me.isError(i),l=!e&&i&&!n;if((s&&o&&wu(i,n)||l)&&Se(i,n,"Got unwanted exception"+r),e&&i&&n&&!wu(i,n)||!e&&i)throw i}M.throws=function(e,t,n){ku(!0,e,t,n)},M.doesNotThrow=function(e,t,n){ku(!1,e,t,n)},M.ifError=function(e){if(e)throw e};function Su(e,t){e||Se(e,!0,t,"==",Su)}M.strict=vg(Su,M,{equal:M.strictEqual,deepEqual:M.deepStrictEqual,notEqual:M.notStrictEqual,notDeepEqual:M.notDeepStrictEqual}),M.strict.strict=M.strict;var xu=Object.keys||function(e){var t=[];for(var n in e)wg.call(e,n)&&t.push(n);return t},Eg=za.exports,Cg=Eg,Pg=function(e){var t,n,r,i,o;for(t=Error.prepareStackTrace,Error.prepareStackTrace=function(s,l){return Error.prepareStackTrace=t,l},n=new Error().stack,o=0;o<n.length&&n[o].getFileName()!==__filename;)o++;Cg(o<n.length,"Unexpected: unable to find caller/index.js in the stack"),e=!e||isNaN(e)?1:e>n.length-2?n.length-2:e,n=n.slice(o+e+1);do i=n.shift(),r=i&&i.getFileName();while(n.length&&r==="module.js");return r};const jg=on,Ng=on,bu=Vm,Og=Pg;Eo.getCallerRoot=function(){try{return bu(Og(2))}catch{return}},Eo.getProcessRoot=function(){let t=process.cwd();const n=Ng.join(t,"current");try{jg.statSync(n).isDirectory()&&(t=n)}catch{}try{return bu(t)}catch{return}};var Rg=Eo,Do={exports:{}},Mo,Eu;function zg(){if(Eu)return Mo;Eu=1;var e=1e3,t=e*60,n=t*60,r=n*24,i=r*7,o=r*365.25;Mo=function(f,d){d=d||{};var c=typeof f;if(c==="string"&&f.length>0)return s(f);if(c==="number"&&isFinite(f))return d.long?a(f):l(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(d){var c=parseFloat(d[1]),g=(d[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}function l(f){var d=Math.abs(f);return d>=r?Math.round(f/r)+"d":d>=n?Math.round(f/n)+"h":d>=t?Math.round(f/t)+"m":d>=e?Math.round(f/e)+"s":f+"ms"}function a(f){var d=Math.abs(f);return d>=r?u(f,d,r,"day"):d>=n?u(f,d,n,"hour"):d>=t?u(f,d,t,"minute"):d>=e?u(f,d,e,"second"):f+" ms"}function u(f,d,c,g){var k=d>=c*1.5;return Math.round(f/c)+" "+g+(k?"s":"")}return Mo}function $g(e){n.debug=n,n.default=n,n.coerce=a,n.disable=s,n.enable=i,n.enabled=l,n.humanize=zg(),n.destroy=u,Object.keys(e).forEach(f=>{n[f]=e[f]}),n.names=[],n.skips=[],n.formatters={};function t(f){let d=0;for(let c=0;c<f.length;c++)d=(d<<5)-d+f.charCodeAt(c),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(f){let d,c=null,g,k;function S(...N){if(!S.enabled)return;const m=S,p=Number(new Date),h=p-(d||p);m.diff=h,m.prev=d,m.curr=p,d=p,N[0]=n.coerce(N[0]),typeof N[0]!="string"&&N.unshift("%O");let w=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,(P,C)=>{if(P==="%%")return"%";w++;const j=n.formatters[C];if(typeof j=="function"){const B=N[w];P=j.call(m,B),N.splice(w,1),w--}return P}),n.formatArgs.call(m,N),(m.log||n.log).apply(m,N)}return S.namespace=f,S.useColors=n.useColors(),S.color=n.selectColor(f),S.extend=r,S.destroy=n.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>c!==null?c:(g!==n.namespaces&&(g=n.namespaces,k=n.enabled(f)),k),set:N=>{c=N}}),typeof n.init=="function"&&n.init(S),S}function r(f,d){const c=n(this.namespace+(typeof d>"u"?":":d)+f);return c.log=this.log,c}function i(f){n.save(f),n.namespaces=f,n.names=[],n.skips=[];const d=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const c of d)c[0]==="-"?n.skips.push(c.slice(1)):n.names.push(c)}function o(f,d){let c=0,g=0,k=-1,S=0;for(;c<f.length;)if(g<d.length&&(d[g]===f[c]||d[g]==="*"))d[g]==="*"?(k=g,S=c,g++):(c++,g++);else if(k!==-1)g=k+1,S++,c=S;else return!1;for(;g<d.length&&d[g]==="*";)g++;return g===d.length}function s(){const f=[...n.names,...n.skips.map(d=>"-"+d)].join(",");return n.enable(""),f}function l(f){for(const d of n.skips)if(o(f,d))return!1;for(const d of n.names)if(o(f,d))return!0;return!1}function a(f){return f instanceof Error?f.stack||f.message:f}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}var Lg=$g;(function(e,t){t.formatArgs=r,t.save=i,t.load=o,t.useColors=n,t.storage=s(),t.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;a.splice(1,0,u,"color: inherit");let f=0,d=0;a[0].replace(/%[a-zA-Z%]/g,c=>{c!=="%%"&&(f++,c==="%c"&&(d=f))}),a.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function i(a){try{a?t.storage.setItem("debug",a):t.storage.removeItem("debug")}catch{}}function o(){let a;try{a=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=process.env.DEBUG),a}function s(){try{return localStorage}catch{}}e.exports=Lg(t);const{formatters:l}=e.exports;l.j=function(a){try{return JSON.stringify(a)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(Do,Do.exports);var _g=Do.exports;const Ag=Rg,Cu=_g;bo.exports=function(t){const n=Ag.getCallerRoot();let r;try{const i=Tt("/node_modules/.pnpm/@tryghost+debug@0.1.40/node_modules/@tryghost/debug/lib")(n+"/package.json");i.alias?r=i.alias:r=i.name}catch{r="undefined"}return Cu(r+":"+t)},bo.exports._base=Cu;var Fg=bo.exports,Tg=Fg;const Ig=[{code:"af",label:"Afrikaans"},{code:"ar",label:"Arabic"},{code:"bg",label:"Bulgarian"},{code:"bn",label:"Bengali"},{code:"bs",label:"Bosnian"},{code:"ca",label:"Catalan"},{code:"cs",label:"Czech"},{code:"da",label:"Danish"},{code:"de",label:"German"},{code:"de-CH",label:"Swiss German"},{code:"el",label:"Greek"},{code:"en",label:"English"},{code:"eo",label:"Esperanto"},{code:"es",label:"Spanish"},{code:"et",label:"Estonian"},{code:"eu",label:"Basque"},{code:"fa",label:"Persian/Farsi"},{code:"fi",label:"Finnish"},{code:"fr",label:"French"},{code:"gd",label:"Gaelic (Scottish)"},{code:"he",label:"Hebrew"},{code:"hi",label:"Hindi"},{code:"hr",label:"Croatian"},{code:"hu",label:"Hungarian"},{code:"id",label:"Indonesian"},{code:"is",label:"Icelandic"},{code:"it",label:"Italian"},{code:"ja",label:"Japanese"},{code:"ko",label:"Korean"},{code:"kz",label:"Kazakh"},{code:"lt",label:"Lithuanian"},{code:"lv",label:"Latvian"},{code:"mk",label:"Macedonian"},{code:"mn",label:"Mongolian"},{code:"ms",label:"Malay"},{code:"nb",label:"Norwegian Bokmål"},{code:"ne",label:"Nepali"},{code:"nl",label:"Dutch"},{code:"nn",label:"Norwegian Nynorsk"},{code:"pa",label:"Punjabi"},{code:"pl",label:"Polish"},{code:"pt",label:"Portuguese"},{code:"pt-BR",label:"Portuguese (Brazil)"},{code:"ro",label:"Romanian"},{code:"ru",label:"Russian"},{code:"si",label:"Sinhala"},{code:"sk",label:"Slovak"},{code:"sl",label:"Slovenian"},{code:"sq",label:"Albanian"},{code:"sr",label:"Serbian"},{code:"sr-Cyrl",label:"Serbian (Cyrillic)"},{code:"sv",label:"Swedish"},{code:"sw",label:"Swahili"},{code:"ta",label:"Tamil"},{code:"th",label:"Thai"},{code:"tr",label:"Turkish"},{code:"uk",label:"Ukrainian"},{code:"ur",label:"Urdu"},{code:"uz",label:"Uzbek"},{code:"vi",label:"Vietnamese"},{code:"zh",label:"Chinese"},{code:"zh-Hant",label:"Traditional Chinese"}],Dg=Bm,Pu=on,Uo=on,Bo=Tg("i18n"),ju=Ig,Nu=ju.map(e=>e.code);function Ou(e,t){return e.reduce((n,r)=>{let i;try{i=Tt("/ghost/i18n/lib")(`../locales/${r}/${t}.json`)}catch{i=Tt("/ghost/i18n/lib")(`../locales/en/${t}.json`)}return n[r]={[t]:{...i,...i.default&&typeof i.default=="object"?i.default:{}}},n},{})}function Mg(e,t){if(!t)return{[e]:{theme:{}}};let n=[];try{n=Uo.readdirSync(t).filter(o=>o.endsWith(".json")).map(o=>o.replace(".json",""))}catch{n=[e,"en"]}return[...new Set([e,...n,"en"])].reduce((i,o)=>{let s,l=!1;const a=Pu.join(t,`${o}.json`);if(Uo.existsSync(a))try{delete require.cache[Tt("/ghost/i18n/lib").resolve(a)],s=Tt("/ghost/i18n/lib")(a)}catch{Bo(`Error loading theme locale file: ${o}`),l=!0}else l=!0;if(l)if(o!=="en")try{const u=Pu.join(t,"en.json");Uo.existsSync(u)?(delete require.cache[Tt("/ghost/i18n/lib").resolve(u)],s=Tt("/ghost/i18n/lib")(u)):s={}}catch{s={}}else Bo("Theme en.json file not found"),s={};return i[o]={theme:{...s,...s.default&&typeof s.default=="object"?s.default:{}}},i},{})}Bn.exports=(e="en",t="portal",n={})=>{const r=Dg.createInstance(),i={prefix:"{",suffix:"}"};t==="theme"&&(i.escapeValue=!1);let o;return t!=="theme"?o=Ou(Nu,t):(Bo(`generateThemeResources: ${e}, ${n.themePath}`),o=Mg(e,n.themePath)),r.init({lng:e,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:{no:["nb","en"],default:["en"]},ns:t,defaultNS:t,interpolation:i,resources:o}),r},Bn.exports.SUPPORTED_LOCALES=Nu,Bn.exports.LOCALE_DATA=ju,Bn.exports.generateResources=Ou;var Ug=Bn.exports;const Jn=Ug;tn.exports=Jn,tn.exports.default=Jn,tn.exports.LOCALE_DATA=Jn.LOCALE_DATA,tn.exports.SUPPORTED_LOCALES=Jn.SUPPORTED_LOCALES,tn.exports.generateResources=Jn.generateResources;var Bg=tn.exports;const Vg=Je(Bg),Hg=e=>Q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 24 24","aria-busy":"true","aria-live":"polite",...e},Q.createElement("g",{strokeLinecap:"round",strokeWidth:2,fill:"currentColor",stroke:"none",strokeLinejoin:"round",className:"nc-icon-wrapper"},Q.createElement("g",{className:"nc-loop-dots-4-24-icon-o"},Q.createElement("circle",{cx:4,cy:12,r:3}),Q.createElement("circle",{cx:12,cy:12,r:3}),Q.createElement("circle",{cx:20,cy:12,r:3})),Q.createElement("style",{"data-cap":"butt"},`
|
|
33
|
+
`,s+1);i=i.substring(l+1)}this.stack=i}}},Me.inherits(M.AssertionError,Error);function mu(e,t){return typeof e=="string"?e.length<t?e:e.slice(0,t):e}function hu(e){if(cu||!Me.isFunction(e))return Me.inspect(e);var t=pu(e),n=t?": "+t:"";return"[Function"+n+"]"}function Sg(e){return mu(hu(e.actual),128)+" "+e.operator+" "+mu(hu(e.expected),128)}function Se(e,t,n,r,i){throw new M.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}M.fail=Se;function gu(e,t){e||Se(e,!0,t,"==",M.ok)}M.ok=gu,M.equal=function(t,n,r){t!=n&&Se(t,n,r,"==",M.equal)},M.notEqual=function(t,n,r){t==n&&Se(t,n,r,"!=",M.notEqual)},M.deepEqual=function(t,n,r){cn(t,n,!1)||Se(t,n,r,"deepEqual",M.deepEqual)},M.deepStrictEqual=function(t,n,r){cn(t,n,!0)||Se(t,n,r,"deepStrictEqual",M.deepStrictEqual)};function cn(e,t,n,r){if(e===t)return!0;if(Gn(e)&&Gn(t))return au(e,t)===0;if(Me.isDate(e)&&Me.isDate(t))return e.getTime()===t.getTime();if(Me.isRegExp(e)&&Me.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if((e===null||typeof e!="object")&&(t===null||typeof t!="object"))return n?e===t:e==t;if(du(e)&&du(t)&&fu(e)===fu(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return au(new Uint8Array(e.buffer),new Uint8Array(t.buffer))===0;if(Gn(e)!==Gn(t))return!1;r=r||{actual:[],expected:[]};var i=r.actual.indexOf(e);return i!==-1&&i===r.expected.indexOf(t)?!0:(r.actual.push(e),r.expected.push(t),xg(e,t,n,r))}function yu(e){return Object.prototype.toString.call(e)=="[object Arguments]"}function xg(e,t,n,r){if(e==null||t===null||t===void 0)return!1;if(Me.isPrimitive(e)||Me.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=yu(e),o=yu(t);if(i&&!o||!i&&o)return!1;if(i)return e=uu.call(e),t=uu.call(t),cn(e,t,n);var s=xu(e),l=xu(t),a,u;if(s.length!==l.length)return!1;for(s.sort(),l.sort(),u=s.length-1;u>=0;u--)if(s[u]!==l[u])return!1;for(u=s.length-1;u>=0;u--)if(a=s[u],!cn(e[a],t[a],n,r))return!1;return!0}M.notDeepEqual=function(t,n,r){cn(t,n,!1)&&Se(t,n,r,"notDeepEqual",M.notDeepEqual)},M.notDeepStrictEqual=vu;function vu(e,t,n){cn(e,t,!0)&&Se(e,t,n,"notDeepStrictEqual",vu)}M.strictEqual=function(t,n,r){t!==n&&Se(t,n,r,"===",M.strictEqual)},M.notStrictEqual=function(t,n,r){t===n&&Se(t,n,r,"!==",M.notStrictEqual)};function wu(e,t){if(!e||!t)return!1;if(Object.prototype.toString.call(t)=="[object RegExp]")return t.test(e);try{if(e instanceof t)return!0}catch{}return Error.isPrototypeOf(t)?!1:t.call({},e)===!0}function bg(e){var t;try{e()}catch(n){t=n}return t}function ku(e,t,n,r){var i;if(typeof t!="function")throw new TypeError('"block" argument must be a function');typeof n=="string"&&(r=n,n=null),i=bg(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&Se(i,n,"Missing expected exception"+r);var o=typeof r=="string",s=!e&&Me.isError(i),l=!e&&i&&!n;if((s&&o&&wu(i,n)||l)&&Se(i,n,"Got unwanted exception"+r),e&&i&&n&&!wu(i,n)||!e&&i)throw i}M.throws=function(e,t,n){ku(!0,e,t,n)},M.doesNotThrow=function(e,t,n){ku(!1,e,t,n)},M.ifError=function(e){if(e)throw e};function Su(e,t){e||Se(e,!0,t,"==",Su)}M.strict=vg(Su,M,{equal:M.strictEqual,deepEqual:M.deepStrictEqual,notEqual:M.notStrictEqual,notDeepEqual:M.notDeepStrictEqual}),M.strict.strict=M.strict;var xu=Object.keys||function(e){var t=[];for(var n in e)wg.call(e,n)&&t.push(n);return t},Eg=za.exports,Cg=Eg,Pg=function(e){var t,n,r,i,o;for(t=Error.prepareStackTrace,Error.prepareStackTrace=function(s,l){return Error.prepareStackTrace=t,l},n=new Error().stack,o=0;o<n.length&&n[o].getFileName()!==__filename;)o++;Cg(o<n.length,"Unexpected: unable to find caller/index.js in the stack"),e=!e||isNaN(e)?1:e>n.length-2?n.length-2:e,n=n.slice(o+e+1);do i=n.shift(),r=i&&i.getFileName();while(n.length&&r==="module.js");return r};const jg=on,Ng=on,bu=Vm,Og=Pg;Eo.getCallerRoot=function(){try{return bu(Og(2))}catch{return}},Eo.getProcessRoot=function(){let t=process.cwd();const n=Ng.join(t,"current");try{jg.statSync(n).isDirectory()&&(t=n)}catch{}try{return bu(t)}catch{return}};var Rg=Eo,Do={exports:{}},Mo,Eu;function zg(){if(Eu)return Mo;Eu=1;var e=1e3,t=e*60,n=t*60,r=n*24,i=r*7,o=r*365.25;Mo=function(f,d){d=d||{};var c=typeof f;if(c==="string"&&f.length>0)return s(f);if(c==="number"&&isFinite(f))return d.long?a(f):l(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(d){var c=parseFloat(d[1]),g=(d[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}function l(f){var d=Math.abs(f);return d>=r?Math.round(f/r)+"d":d>=n?Math.round(f/n)+"h":d>=t?Math.round(f/t)+"m":d>=e?Math.round(f/e)+"s":f+"ms"}function a(f){var d=Math.abs(f);return d>=r?u(f,d,r,"day"):d>=n?u(f,d,n,"hour"):d>=t?u(f,d,t,"minute"):d>=e?u(f,d,e,"second"):f+" ms"}function u(f,d,c,g){var k=d>=c*1.5;return Math.round(f/c)+" "+g+(k?"s":"")}return Mo}function $g(e){n.debug=n,n.default=n,n.coerce=a,n.disable=s,n.enable=i,n.enabled=l,n.humanize=zg(),n.destroy=u,Object.keys(e).forEach(f=>{n[f]=e[f]}),n.names=[],n.skips=[],n.formatters={};function t(f){let d=0;for(let c=0;c<f.length;c++)d=(d<<5)-d+f.charCodeAt(c),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(f){let d,c=null,g,k;function S(...N){if(!S.enabled)return;const m=S,p=Number(new Date),h=p-(d||p);m.diff=h,m.prev=d,m.curr=p,d=p,N[0]=n.coerce(N[0]),typeof N[0]!="string"&&N.unshift("%O");let w=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,(P,C)=>{if(P==="%%")return"%";w++;const j=n.formatters[C];if(typeof j=="function"){const B=N[w];P=j.call(m,B),N.splice(w,1),w--}return P}),n.formatArgs.call(m,N),(m.log||n.log).apply(m,N)}return S.namespace=f,S.useColors=n.useColors(),S.color=n.selectColor(f),S.extend=r,S.destroy=n.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>c!==null?c:(g!==n.namespaces&&(g=n.namespaces,k=n.enabled(f)),k),set:N=>{c=N}}),typeof n.init=="function"&&n.init(S),S}function r(f,d){const c=n(this.namespace+(typeof d>"u"?":":d)+f);return c.log=this.log,c}function i(f){n.save(f),n.namespaces=f,n.names=[],n.skips=[];const d=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const c of d)c[0]==="-"?n.skips.push(c.slice(1)):n.names.push(c)}function o(f,d){let c=0,g=0,k=-1,S=0;for(;c<f.length;)if(g<d.length&&(d[g]===f[c]||d[g]==="*"))d[g]==="*"?(k=g,S=c,g++):(c++,g++);else if(k!==-1)g=k+1,S++,c=S;else return!1;for(;g<d.length&&d[g]==="*";)g++;return g===d.length}function s(){const f=[...n.names,...n.skips.map(d=>"-"+d)].join(",");return n.enable(""),f}function l(f){for(const d of n.skips)if(o(f,d))return!1;for(const d of n.names)if(o(f,d))return!0;return!1}function a(f){return f instanceof Error?f.stack||f.message:f}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}var Lg=$g;(function(e,t){t.formatArgs=r,t.save=i,t.load=o,t.useColors=n,t.storage=s(),t.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;a.splice(1,0,u,"color: inherit");let f=0,d=0;a[0].replace(/%[a-zA-Z%]/g,c=>{c!=="%%"&&(f++,c==="%c"&&(d=f))}),a.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function i(a){try{a?t.storage.setItem("debug",a):t.storage.removeItem("debug")}catch{}}function o(){let a;try{a=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=process.env.DEBUG),a}function s(){try{return localStorage}catch{}}e.exports=Lg(t);const{formatters:l}=e.exports;l.j=function(a){try{return JSON.stringify(a)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(Do,Do.exports);var _g=Do.exports;const Ag=Rg,Cu=_g;bo.exports=function(t){const n=Ag.getCallerRoot();let r;try{const i=Tt("/node_modules/.pnpm/@tryghost+debug@2.1.0/node_modules/@tryghost/debug/lib")(n+"/package.json");i.alias?r=i.alias:r=i.name}catch{r="undefined"}return Cu(r+":"+t)},bo.exports._base=Cu;var Fg=bo.exports,Tg=Fg;const Ig=[{code:"af",label:"Afrikaans"},{code:"ar",label:"Arabic"},{code:"bg",label:"Bulgarian"},{code:"bn",label:"Bengali"},{code:"bs",label:"Bosnian"},{code:"ca",label:"Catalan"},{code:"cs",label:"Czech"},{code:"da",label:"Danish"},{code:"de",label:"German"},{code:"de-CH",label:"Swiss German"},{code:"el",label:"Greek"},{code:"en",label:"English"},{code:"eo",label:"Esperanto"},{code:"es",label:"Spanish"},{code:"et",label:"Estonian"},{code:"eu",label:"Basque"},{code:"fa",label:"Persian/Farsi"},{code:"fi",label:"Finnish"},{code:"fr",label:"French"},{code:"gd",label:"Gaelic (Scottish)"},{code:"he",label:"Hebrew"},{code:"hi",label:"Hindi"},{code:"hr",label:"Croatian"},{code:"hu",label:"Hungarian"},{code:"id",label:"Indonesian"},{code:"is",label:"Icelandic"},{code:"it",label:"Italian"},{code:"ja",label:"Japanese"},{code:"ko",label:"Korean"},{code:"kz",label:"Kazakh"},{code:"lt",label:"Lithuanian"},{code:"lv",label:"Latvian"},{code:"mk",label:"Macedonian"},{code:"mn",label:"Mongolian"},{code:"ms",label:"Malay"},{code:"nb",label:"Norwegian Bokmål"},{code:"ne",label:"Nepali"},{code:"nl",label:"Dutch"},{code:"nn",label:"Norwegian Nynorsk"},{code:"pa",label:"Punjabi"},{code:"pl",label:"Polish"},{code:"pt",label:"Portuguese"},{code:"pt-BR",label:"Portuguese (Brazil)"},{code:"ro",label:"Romanian"},{code:"ru",label:"Russian"},{code:"si",label:"Sinhala"},{code:"sk",label:"Slovak"},{code:"sl",label:"Slovenian"},{code:"sq",label:"Albanian"},{code:"sr",label:"Serbian"},{code:"sr-Cyrl",label:"Serbian (Cyrillic)"},{code:"sv",label:"Swedish"},{code:"sw",label:"Swahili"},{code:"ta",label:"Tamil"},{code:"th",label:"Thai"},{code:"tr",label:"Turkish"},{code:"uk",label:"Ukrainian"},{code:"ur",label:"Urdu"},{code:"uz",label:"Uzbek"},{code:"vi",label:"Vietnamese"},{code:"zh",label:"Chinese"},{code:"zh-Hant",label:"Traditional Chinese"}],Dg=Bm,Pu=on,Uo=on,Bo=Tg("i18n"),ju=Ig,Nu=ju.map(e=>e.code);function Ou(e,t){return e.reduce((n,r)=>{let i;try{i=Tt("/ghost/i18n/lib")(`../locales/${r}/${t}.json`)}catch{i=Tt("/ghost/i18n/lib")(`../locales/en/${t}.json`)}return n[r]={[t]:{...i,...i.default&&typeof i.default=="object"?i.default:{}}},n},{})}function Mg(e,t){if(!t)return{[e]:{theme:{}}};let n=[];try{n=Uo.readdirSync(t).filter(o=>o.endsWith(".json")).map(o=>o.replace(".json",""))}catch{n=[e,"en"]}return[...new Set([e,...n,"en"])].reduce((i,o)=>{let s,l=!1;const a=Pu.join(t,`${o}.json`);if(Uo.existsSync(a))try{delete require.cache[Tt("/ghost/i18n/lib").resolve(a)],s=Tt("/ghost/i18n/lib")(a)}catch{Bo(`Error loading theme locale file: ${o}`),l=!0}else l=!0;if(l)if(o!=="en")try{const u=Pu.join(t,"en.json");Uo.existsSync(u)?(delete require.cache[Tt("/ghost/i18n/lib").resolve(u)],s=Tt("/ghost/i18n/lib")(u)):s={}}catch{s={}}else Bo("Theme en.json file not found"),s={};return i[o]={theme:{...s,...s.default&&typeof s.default=="object"?s.default:{}}},i},{})}Bn.exports=(e="en",t="portal",n={})=>{const r=Dg.createInstance(),i={prefix:"{",suffix:"}"};t==="theme"&&(i.escapeValue=!1);let o;return t!=="theme"?o=Ou(Nu,t):(Bo(`generateThemeResources: ${e}, ${n.themePath}`),o=Mg(e,n.themePath)),r.init({lng:e,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:{no:["nb","en"],default:["en"]},ns:t,defaultNS:t,interpolation:i,resources:o}),r},Bn.exports.SUPPORTED_LOCALES=Nu,Bn.exports.LOCALE_DATA=ju,Bn.exports.generateResources=Ou;var Ug=Bn.exports;const Jn=Ug;tn.exports=Jn,tn.exports.default=Jn,tn.exports.LOCALE_DATA=Jn.LOCALE_DATA,tn.exports.SUPPORTED_LOCALES=Jn.SUPPORTED_LOCALES,tn.exports.generateResources=Jn.generateResources;var Bg=tn.exports;const Vg=Je(Bg),Hg=e=>Q.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 24 24","aria-busy":"true","aria-live":"polite",...e},Q.createElement("g",{strokeLinecap:"round",strokeWidth:2,fill:"currentColor",stroke:"none",strokeLinejoin:"round",className:"nc-icon-wrapper"},Q.createElement("g",{className:"nc-loop-dots-4-24-icon-o"},Q.createElement("circle",{cx:4,cy:12,r:3}),Q.createElement("circle",{cx:12,cy:12,r:3}),Q.createElement("circle",{cx:20,cy:12,r:3})),Q.createElement("style",{"data-cap":"butt"},`
|
|
34
34
|
.nc-loop-dots-4-24-icon-o{--animation-duration:0.8s}
|
|
35
35
|
.nc-loop-dots-4-24-icon-o *{opacity:.4;transform:scale(.75);animation:nc-loop-dots-4-anim var(--animation-duration) infinite}
|
|
36
36
|
.nc-loop-dots-4-24-icon-o :nth-child(1){transform-origin:4px 12px;animation-delay:-.3s;animation-delay:calc(var(--animation-duration)/-2.666)}
|