ghost 5.79.1 → 5.79.4
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/components/tryghost-adapter-cache-memory-ttl-5.79.4.tgz +0 -0
- package/components/{tryghost-adapter-cache-redis-5.79.1.tgz → tryghost-adapter-cache-redis-5.79.4.tgz} +0 -0
- package/components/{tryghost-adapter-manager-5.79.1.tgz → tryghost-adapter-manager-5.79.4.tgz} +0 -0
- package/components/{tryghost-announcement-bar-settings-5.79.1.tgz → tryghost-announcement-bar-settings-5.79.4.tgz} +0 -0
- package/components/{tryghost-api-framework-5.79.1.tgz → tryghost-api-framework-5.79.4.tgz} +0 -0
- package/components/{tryghost-api-version-compatibility-service-5.79.1.tgz → tryghost-api-version-compatibility-service-5.79.4.tgz} +0 -0
- package/components/{tryghost-audience-feedback-5.79.1.tgz → tryghost-audience-feedback-5.79.4.tgz} +0 -0
- package/components/tryghost-bookshelf-repository-5.79.4.tgz +0 -0
- package/components/{tryghost-bootstrap-socket-5.79.1.tgz → tryghost-bootstrap-socket-5.79.4.tgz} +0 -0
- package/components/tryghost-collections-5.79.4.tgz +0 -0
- package/components/tryghost-constants-5.79.4.tgz +0 -0
- package/components/{tryghost-custom-theme-settings-service-5.79.1.tgz → tryghost-custom-theme-settings-service-5.79.4.tgz} +0 -0
- package/components/{tryghost-data-generator-5.79.1.tgz → tryghost-data-generator-5.79.4.tgz} +0 -0
- package/components/tryghost-domain-events-5.79.4.tgz +0 -0
- package/components/tryghost-donations-5.79.4.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.79.4.tgz +0 -0
- package/components/{tryghost-email-addresses-5.79.1.tgz → tryghost-email-addresses-5.79.4.tgz} +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.79.4.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.79.4.tgz +0 -0
- package/components/tryghost-email-content-generator-5.79.4.tgz +0 -0
- package/components/{tryghost-email-events-5.79.1.tgz → tryghost-email-events-5.79.4.tgz} +0 -0
- package/components/{tryghost-email-service-5.79.1.tgz → tryghost-email-service-5.79.4.tgz} +0 -0
- package/components/tryghost-email-suppression-list-5.79.4.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.79.4.tgz +0 -0
- package/components/{tryghost-external-media-inliner-5.79.1.tgz → tryghost-external-media-inliner-5.79.4.tgz} +0 -0
- package/components/tryghost-extract-api-key-5.79.4.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.79.4.tgz +0 -0
- package/components/tryghost-i18n-5.79.4.tgz +0 -0
- package/components/{tryghost-importer-handler-content-files-5.79.1.tgz → tryghost-importer-handler-content-files-5.79.4.tgz} +0 -0
- package/components/{tryghost-importer-revue-5.79.1.tgz → tryghost-importer-revue-5.79.4.tgz} +0 -0
- package/components/tryghost-in-memory-repository-5.79.4.tgz +0 -0
- package/components/{tryghost-job-manager-5.79.1.tgz → tryghost-job-manager-5.79.4.tgz} +0 -0
- package/components/{tryghost-link-redirects-5.79.1.tgz → tryghost-link-redirects-5.79.4.tgz} +0 -0
- package/components/tryghost-link-replacer-5.79.4.tgz +0 -0
- package/components/tryghost-link-tracking-5.79.4.tgz +0 -0
- package/components/{tryghost-magic-link-5.79.1.tgz → tryghost-magic-link-5.79.4.tgz} +0 -0
- package/components/tryghost-mail-events-5.79.4.tgz +0 -0
- package/components/tryghost-mailgun-client-5.79.4.tgz +0 -0
- package/components/tryghost-member-attribution-5.79.4.tgz +0 -0
- package/components/{tryghost-member-events-5.79.1.tgz → tryghost-member-events-5.79.4.tgz} +0 -0
- package/components/{tryghost-members-api-5.79.1.tgz → tryghost-members-api-5.79.4.tgz} +0 -0
- package/components/tryghost-members-csv-5.79.4.tgz +0 -0
- package/components/tryghost-members-events-service-5.79.4.tgz +0 -0
- package/components/{tryghost-members-importer-5.79.1.tgz → tryghost-members-importer-5.79.4.tgz} +0 -0
- package/components/{tryghost-members-offers-5.79.1.tgz → tryghost-members-offers-5.79.4.tgz} +0 -0
- package/components/tryghost-members-payments-5.79.4.tgz +0 -0
- package/components/{tryghost-members-ssr-5.79.1.tgz → tryghost-members-ssr-5.79.4.tgz} +0 -0
- package/components/{tryghost-members-stripe-service-5.79.1.tgz → tryghost-members-stripe-service-5.79.4.tgz} +0 -0
- package/components/{tryghost-mentions-email-report-5.79.1.tgz → tryghost-mentions-email-report-5.79.4.tgz} +0 -0
- package/components/{tryghost-milestones-5.79.1.tgz → tryghost-milestones-5.79.4.tgz} +0 -0
- package/components/tryghost-minifier-5.79.4.tgz +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.79.4.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.79.4.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.79.4.tgz +0 -0
- package/components/{tryghost-mw-error-handler-5.79.1.tgz → tryghost-mw-error-handler-5.79.4.tgz} +0 -0
- package/components/{tryghost-mw-session-from-token-5.79.1.tgz → tryghost-mw-session-from-token-5.79.4.tgz} +0 -0
- package/components/{tryghost-mw-update-user-last-seen-5.79.1.tgz → tryghost-mw-update-user-last-seen-5.79.4.tgz} +0 -0
- package/components/tryghost-mw-version-match-5.79.4.tgz +0 -0
- package/components/tryghost-mw-vhost-5.79.4.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.79.4.tgz +0 -0
- package/components/tryghost-oembed-service-5.79.4.tgz +0 -0
- package/components/tryghost-package-json-5.79.4.tgz +0 -0
- package/components/{tryghost-post-events-5.79.1.tgz → tryghost-post-events-5.79.4.tgz} +0 -0
- package/components/tryghost-post-revisions-5.79.4.tgz +0 -0
- package/components/tryghost-posts-service-5.79.4.tgz +0 -0
- package/components/tryghost-recommendations-5.79.4.tgz +0 -0
- package/components/tryghost-referrers-5.79.4.tgz +0 -0
- package/components/{tryghost-security-5.79.1.tgz → tryghost-security-5.79.4.tgz} +0 -0
- package/components/{tryghost-session-service-5.79.1.tgz → tryghost-session-service-5.79.4.tgz} +0 -0
- package/components/tryghost-settings-path-manager-5.79.4.tgz +0 -0
- package/components/tryghost-slack-notifications-5.79.4.tgz +0 -0
- package/components/tryghost-staff-service-5.79.4.tgz +0 -0
- package/components/tryghost-stats-service-5.79.4.tgz +0 -0
- package/components/{tryghost-tiers-5.79.1.tgz → tryghost-tiers-5.79.4.tgz} +0 -0
- package/components/{tryghost-update-check-service-5.79.1.tgz → tryghost-update-check-service-5.79.4.tgz} +0 -0
- package/components/{tryghost-verification-trigger-5.79.1.tgz → tryghost-verification-trigger-5.79.4.tgz} +0 -0
- package/components/tryghost-version-notifications-data-service-5.79.4.tgz +0 -0
- package/components/tryghost-webmentions-5.79.4.tgz +0 -0
- package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +1 -1
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-58de7ff7.mjs → CodeEditorView-a52395a6.mjs} +4 -3
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-3a0fb1e6.mjs → index-522ba89c.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-c7501e76.mjs → index-5594efb2.mjs} +70 -70
- package/core/built/admin/assets/admin-x-settings/{modals-6250d8f3.mjs → modals-6397435a.mjs} +4696 -4693
- package/core/built/admin/assets/chunk.524.d86ff5ce3ac4010192ec.js +35 -0
- package/core/built/admin/assets/{chunk.92.5a33247c65824ad1e810.js → chunk.582.96a70eb24abeb62db3b6.js} +4 -4
- package/core/built/admin/assets/{chunk.160.f064da019dcb493ba212.js → chunk.763.e4a4e40e77d7a74769c0.js} +2400 -2400
- package/core/built/admin/assets/{ghost-3198d6ce98e41a0b780dcaa4c7536da4.css → ghost-40f01556960b49381176bbfa19a89c9a.css} +1 -1
- package/core/built/admin/assets/{ghost-74787e16c2e5229de6164ddfe7426882.js → ghost-9f64efea46c7f300eb7fb347b6bae4a0.js} +17 -14
- package/core/built/admin/assets/{ghost-dark-f73086e64db3744d9177c7305c49dc92.css → ghost-dark-a86f0499bf2697104213d035da3a3b4d.css} +1 -1
- package/core/built/admin/assets/koenig-lexical/index.css +6 -6
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +7311 -7289
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +104 -104
- package/core/built/admin/index.html +5 -5
- package/package.json +147 -147
- package/yarn.lock +79 -79
- package/components/tryghost-adapter-cache-memory-ttl-5.79.1.tgz +0 -0
- package/components/tryghost-bookshelf-repository-5.79.1.tgz +0 -0
- package/components/tryghost-collections-5.79.1.tgz +0 -0
- package/components/tryghost-constants-5.79.1.tgz +0 -0
- package/components/tryghost-domain-events-5.79.1.tgz +0 -0
- package/components/tryghost-donations-5.79.1.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.79.1.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.79.1.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.79.1.tgz +0 -0
- package/components/tryghost-email-content-generator-5.79.1.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.79.1.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.79.1.tgz +0 -0
- package/components/tryghost-extract-api-key-5.79.1.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.79.1.tgz +0 -0
- package/components/tryghost-i18n-5.79.1.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.79.1.tgz +0 -0
- package/components/tryghost-link-replacer-5.79.1.tgz +0 -0
- package/components/tryghost-link-tracking-5.79.1.tgz +0 -0
- package/components/tryghost-mail-events-5.79.1.tgz +0 -0
- package/components/tryghost-mailgun-client-5.79.1.tgz +0 -0
- package/components/tryghost-member-attribution-5.79.1.tgz +0 -0
- package/components/tryghost-members-csv-5.79.1.tgz +0 -0
- package/components/tryghost-members-events-service-5.79.1.tgz +0 -0
- package/components/tryghost-members-payments-5.79.1.tgz +0 -0
- package/components/tryghost-minifier-5.79.1.tgz +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.79.1.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.79.1.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.79.1.tgz +0 -0
- package/components/tryghost-mw-version-match-5.79.1.tgz +0 -0
- package/components/tryghost-mw-vhost-5.79.1.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.79.1.tgz +0 -0
- package/components/tryghost-oembed-service-5.79.1.tgz +0 -0
- package/components/tryghost-package-json-5.79.1.tgz +0 -0
- package/components/tryghost-post-revisions-5.79.1.tgz +0 -0
- package/components/tryghost-posts-service-5.79.1.tgz +0 -0
- package/components/tryghost-recommendations-5.79.1.tgz +0 -0
- package/components/tryghost-referrers-5.79.1.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.79.1.tgz +0 -0
- package/components/tryghost-slack-notifications-5.79.1.tgz +0 -0
- package/components/tryghost-staff-service-5.79.1.tgz +0 -0
- package/components/tryghost-stats-service-5.79.1.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.79.1.tgz +0 -0
- package/components/tryghost-webmentions-5.79.1.tgz +0 -0
- package/core/built/admin/assets/chunk.524.29a900ba64d558092614.js +0 -35
- /package/core/built/admin/assets/{chunk.160.f064da019dcb493ba212.js.LICENSE.txt → chunk.763.e4a4e40e77d7a74769c0.js.LICENSE.txt} +0 -0
|
@@ -1548,7 +1548,7 @@ e.default=t.default})),define("ghost-admin/components/inputs/select",["exports"]
|
|
|
1548
1548
|
const t=Ember.HTMLBars.template({id:"Ur2Wv5tw",block:'{"symbols":["&attrs","@onChange","@value","&default"],"statements":[[11,"select"],[17,1],[4,[38,1],["change",[30,[36,0],["target.value",[32,2]],null]],null],[12],[2,"\\n "],[18,4,[[30,[36,3],null,[["option"],[[30,[36,2],["inputs/select/option"],[["currentValue"],[[32,3]]]]]]]]],[2,"\\n"],[13]],"hasEval":false,"upvars":["pick","on","component","hash"]}',moduleName:"ghost-admin/components/inputs/select.hbs"})
|
|
1549
1549
|
e.default=Ember._setComponentTemplate(t,Ember._templateOnlyComponent())})),define("ghost-admin/components/inputs/select/option",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1550
1550
|
const t=Ember.HTMLBars.template({id:"XHJyi8Hh",block:'{"symbols":["@label","&default","@value","@currentValue"],"statements":[[10,"option"],[15,2,[32,3]],[15,"selected",[30,[36,1],[[30,[36,0],[[32,4],[32,3]],null],true,false],null]],[12],[2,"\\n"],[6,[37,1],[[27,[32,2]]],null,[["default","else"],[{"statements":[[2," "],[18,2,null],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[1,[32,1]],[2,"\\n"]],"parameters":[]}]]],[13]],"hasEval":false,"upvars":["eq","if"]}',moduleName:"ghost-admin/components/inputs/select/option.hbs"})
|
|
1551
|
-
e.default=Ember._setComponentTemplate(t,Ember._templateOnlyComponent())})),define("ghost-admin/components/koenig-image-editor",["exports","@glimmer/component","ghost-admin/
|
|
1551
|
+
e.default=Ember._setComponentTemplate(t,Ember._templateOnlyComponent())})),define("ghost-admin/components/koenig-image-editor",["exports","@glimmer/component","ghost-admin/decorators/inject","ghost-admin/utils/analytics"],(function(e,t,i,r){var n,a,s,o,l,u,d,c,p,m,h,b,f,g,v,y,w,E,k,P
|
|
1552
1552
|
function O(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function _(e,t,i,r,n){var a={}
|
|
1553
1553
|
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1554
1554
|
const j=Ember.HTMLBars.template({id:"xaMALYei",block:'{"symbols":["uploader","@className"],"statements":[[6,[37,0],[[32,0,["isEditorEnabled"]]],null,[["default"],[{"statements":[[2," "],[8,"gh-uploader",[],[["@onComplete"],[[32,0,["onUploadComplete"]]]],[["default"],[{"statements":[[2,"\\n "],[11,"button"],[16,0,[31,[[30,[36,0],[[32,2],[32,2],"image-action image-edit"],null]]]],[24,"title","Edit image"],[24,4,"button"],[4,[38,2],["click",[30,[36,1],[[32,0,["handleClick"]],[32,1]],null]],null],[12],[2,"\\n "],[1,[30,[36,3],["koenig/kg-edit"],null]],[2,"\\n "],[13],[2,"\\n "]],"parameters":[1]}]]],[2,"\\n"]],"parameters":[]}]]]],"hasEval":false,"upvars":["if","fn","on","svg-jar"]}',moduleName:"ghost-admin/components/koenig-image-editor.hbs"})
|
|
@@ -1564,9 +1564,9 @@ else{let t=document.createElement("link")
|
|
|
1564
1564
|
t.rel="stylesheet",t.type="text/css",t.href=e,t.onload=()=>{this.cssLoaded=!0},document.head.appendChild(t)}}catch(t){}}constructor(){super(...arguments),O(this,"ajax",f,this),O(this,"feature",g,this),O(this,"settings",v,this),O(this,"ghostPaths",y,this),O(this,"scriptLoaded",w,this),O(this,"cssLoaded",E,this),O(this,"allowClose",k,this),O(this,"config",P,this),this.loadImageEditorJavascript(),this.loadImageEditorCSS()}willDestroy(){super.willDestroy(...arguments),this.removeCloseHandler()}async onUploadComplete(e){if(this.args.saveUrl){const t=e[0].url
|
|
1565
1565
|
this.args.saveUrl(t)}}willClose(){return!!this.allowClose&&(this.allowClose=!1,this.removeCloseHandler(),!0)}async handleClick(e){if(this.isEditorEnabled&&this.args.imageSrc){this.allowClose=!1,this.addCloseHandler()
|
|
1566
1566
|
const t=new URL(this.args.imageSrc)
|
|
1567
|
-
t.searchParams.has("v")||t.searchParams.set("v",Date.now()),(0,
|
|
1568
|
-
const
|
|
1569
|
-
n.on("loaderror",(()=>{})),n.on("process",(t=>{try{this.args.saveImage&&this.args.saveImage(t.dest),this.args.saveUrl&&e.setFiles([t.dest]),(0,
|
|
1567
|
+
t.searchParams.has("v")||t.searchParams.set("v",Date.now()),(0,r.trackEvent)("Image Edit Button Clicked",{location:"admin"})
|
|
1568
|
+
const i=t.href,n=window.pintura.openDefaultEditor({src:i,enableTransparencyGrid:!0,util:"crop",utils:["crop","filter","finetune","redact","annotate","trim","frame","resize"],frameOptions:[[void 0,e=>e.labelNone],["solidSharp",e=>e.frameLabelMatSharp],["solidRound",e=>e.frameLabelMatRound],["lineSingle",e=>e.frameLabelLineSingle],["hook",e=>e.frameLabelCornerHooks],["polaroid",e=>e.frameLabelPolaroid]],cropSelectPresetFilter:"landscape",cropSelectPresetOptions:[[void 0,"Custom"],[1,"Square"],[2,"2:1"],[1.5,"3:2"],[4/3,"4:3"],[1.6,"16:10"],[16/9,"16:9"],[.5,"1:2"],[2/3,"2:3"],[3/4,"3:4"],[.625,"10:16"],[9/16,"9:16"]],locale:{labelButtonExport:"Save and close"},willClose:this.willClose})
|
|
1569
|
+
n.on("loaderror",(()=>{})),n.on("process",(t=>{try{this.args.saveImage&&this.args.saveImage(t.dest),this.args.saveUrl&&e.setFiles([t.dest]),(0,r.trackEvent)("Image Edit Saved",{location:"admin"})}catch(i){}}))}}handleCloseClick(e){e.target.closest('.PinturaModal button[title="Close"]')&&(this.allowClose=!0)}addCloseHandler(){window.addEventListener("click",this.handleCloseClick,{capture:!0})}removeCloseHandler(){window.removeEventListener("click",this.handleCloseClick,{capture:!0})}},f=_(b.prototype,"ajax",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=_(b.prototype,"feature",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=_(b.prototype,"settings",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=_(b.prototype,"ghostPaths",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=_(b.prototype,"scriptLoaded",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),E=_(b.prototype,"cssLoaded",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),k=_(b.prototype,"allowClose",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=_(b.prototype,"config",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_(b.prototype,"onUploadComplete",[c],Object.getOwnPropertyDescriptor(b.prototype,"onUploadComplete"),b.prototype),_(b.prototype,"willClose",[p],Object.getOwnPropertyDescriptor(b.prototype,"willClose"),b.prototype),_(b.prototype,"handleClick",[m],Object.getOwnPropertyDescriptor(b.prototype,"handleClick"),b.prototype),_(b.prototype,"handleCloseClick",[h],Object.getOwnPropertyDescriptor(b.prototype,"handleCloseClick"),b.prototype),b)
|
|
1570
1570
|
Ember._setComponentTemplate(j,T)})),define("ghost-admin/components/koenig-lexical-editor-input",["exports","@sentry/ember","@glimmer/component","react","ghost-admin/decorators/inject"],(function(e,t,i,r,n){var a,s,o,l,u,d,c,p,m,h,b
|
|
1571
1571
|
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function g(e,t,i,r,n){var a={}
|
|
1572
1572
|
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]
|
|
@@ -4003,7 +4003,7 @@ try{return JSON.parse(e)||{}}catch(t){return{}}}get accessibility(){let e=this.g
|
|
|
4003
4003
|
try{return JSON.parse(e)||{}}catch(t){return{}}}fetch(){return this.settings.fetch().then((()=>(this.set("_user",this.session.user),this._setAdminTheme().then((()=>!0)))))}update(e,t,i={}){let r=i.user?"accessibility":"labs",n=this.get(i.user?"_user":"settings"),a=this.get(r)
|
|
4004
4004
|
return Ember.set(a,e,t),i.requires&&!0===t&&i.requires.forEach((e=>{Ember.set(a,e,!0)})),n.set(r,JSON.stringify(a)),n.save().then((()=>(this.notifyPropertyChange(r),this.get(`${r}.${e}`)))).catch((t=>{if(n.rollbackAttributes(),this.notifyPropertyChange(r),!t)throw new Ember.Error(`Validation of the feature service ${i.user?"user":"settings"} model failed when updating ${r}.`)
|
|
4005
4005
|
return this.notifications.showAPIError(t),this.get(`${r}.${e}`)}))}_setAdminTheme(e){let i=e
|
|
4006
|
-
return void 0===i&&(i=e||this.nightShift),this.lazyLoader.loadStyle("dark","assets/ghost-dark-
|
|
4006
|
+
return void 0===i&&(i=e||this.nightShift),this.lazyLoader.loadStyle("dark","assets/ghost-dark-a86f0499bf2697104213d035da3a3b4d.css",!0).then((()=>{(0,t.default)("link[title=dark]").prop("disabled",!i)})).catch((()=>{(0,t.default)("link[title=dark]").prop("disabled",!0)}))}},L=me(A.prototype,"lazyLoader",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=me(A.prototype,"notifications",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=me(A.prototype,"session",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=me(A.prototype,"settings",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=me(A.prototype,"store",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=me(A.prototype,"config",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=me(A.prototype,"emailAnalytics",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=me(A.prototype,"nightShift",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=me(A.prototype,"referralInviteDismissed",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=me(A.prototype,"urlCache",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=me(A.prototype,"lexicalMultiplayer",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=me(A.prototype,"audienceFeedback",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=me(A.prototype,"webmentions",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=me(A.prototype,"websockets",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=me(A.prototype,"stripeAutomaticTax",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=me(A.prototype,"emailCustomization",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=me(A.prototype,"i18n",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=me(A.prototype,"announcementBar",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=me(A.prototype,"signupCard",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=me(A.prototype,"signupForm",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=me(A.prototype,"collections",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=me(A.prototype,"mailEvents",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=me(A.prototype,"collectionsCard",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=me(A.prototype,"importMemberTier",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=me(A.prototype,"tipsAndDonations",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),se=me(A.prototype,"recommendations",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=me(A.prototype,"lexicalIndicators",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),le=me(A.prototype,"filterEmailDisabled",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=me(A.prototype,"adminXDemo",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=me(A.prototype,"portalImprovements",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me(A.prototype,"labs",[M],Object.getOwnPropertyDescriptor(A.prototype,"labs"),A.prototype),me(A.prototype,"accessibility",[D],Object.getOwnPropertyDescriptor(A.prototype,"accessibility"),A.prototype),A)})),define("ghost-admin/services/frontend",["exports","fetch","validator","ghost-admin/decorators/inject"],(function(e,t,i,r){var n,a,s,o,l,u
|
|
4007
4007
|
function d(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function c(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e
|
|
4008
4008
|
var i=e[Symbol.toPrimitive]
|
|
4009
4009
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
@@ -4204,18 +4204,17 @@ this.content=new i.TrackedArray(this.content.reject((t=>{let i=t.key
|
|
|
4204
4204
|
return t.status===e&&i&&i.match(n)})))}else this.content=new i.TrackedArray(this.content.rejectBy("status",e))}_getKeyBase(e){return e.split(".").slice(0,2).join(".")}},u=h(l.prototype,"upgradeStatus",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=h(l.prototype,"config",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=h(l.prototype,"delayedNotifications",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new i.TrackedArray([])}}),p=h(l.prototype,"content",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new i.TrackedArray([])}}),l)})),define("ghost-admin/services/power-calendar",["exports","ember-power-calendar/services/power-calendar"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/services/resize-detector",["exports","element-resize-detector"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4205
4205
|
class i extends Ember.Service{constructor(){super(...arguments),this.detector=(0,t.default)({strategy:"scroll"})}setup(e,t){const i="string"==typeof e?document.querySelector(e):e
|
|
4206
4206
|
i||console.error(`service:resize-detector - could not find element matching ${e}`),this.detector.listenTo(i,t)}teardown(e,t){const i="string"==typeof e?document.querySelector(e):e
|
|
4207
|
-
i&&this.detector.removeListener(i,t)}}e.default=i})),define("ghost-admin/services/session",["exports","ember-simple-auth/services/session","@sentry/ember","ghost-admin/decorators/inject","ember-concurrency"],(function(e,t,i,r,n){var
|
|
4208
|
-
function
|
|
4207
|
+
i&&this.detector.removeListener(i,t)}}e.default=i})),define("ghost-admin/services/session",["exports","ember-simple-auth/services/session","@sentry/ember","ghost-admin/utils/analytics","ghost-admin/decorators/inject","ember-concurrency"],(function(e,t,i,r,n,a){var s,o,l,u,d,c,p,m,h,b,f,g,v,y,w,E,k,P,O,_,j,T,z,x,S,C,M,D,A,L,I
|
|
4208
|
+
function R(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function N(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e
|
|
4209
4209
|
var i=e[Symbol.toPrimitive]
|
|
4210
4210
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
4211
4211
|
if("object"!=typeof r)return r
|
|
4212
4212
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
4213
|
-
return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function
|
|
4213
|
+
return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function F(e,t,i,r,n){var a={}
|
|
4214
4214
|
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4215
|
-
e.default=(
|
|
4215
|
+
e.default=(s=Ember.inject.service,o=Ember.inject.service("store"),l=Ember.inject.service,u=Ember.inject.service,d=Ember.inject.service,c=Ember.inject.service,p=Ember.inject.service,m=Ember.inject.service,h=Ember.inject.service,b=Ember.inject.service,f=Ember.inject.service,g=Ember.inject.service,v=Ember.inject.service,y=Ember._tracked,w=(0,a.task)({drop:!0}),E=class extends t.default{constructor(...e){super(...e),R(this,"configManager",k,this),R(this,"dataStore",P,this),R(this,"feature",O,this),R(this,"koenig",_,this),R(this,"notifications",j,this),R(this,"router",T,this),R(this,"frontend",z,this),R(this,"settings",x,this),R(this,"ui",S,this),R(this,"upgradeStatus",C,this),R(this,"whatsNew",M,this),R(this,"membersUtils",D,this),R(this,"themeManagement",A,this),R(this,"config",L,this),R(this,"user",I,this),N(this,"skipAuthSuccessHandler",!1)}async populateUser(e={}){if(this.user)return
|
|
4216
4216
|
const t=e.id||"me",i=await this.dataStore.queryRecord("user",{id:t})
|
|
4217
|
-
this.user=i}async postAuthPreparation(){await Ember.RSVP.all([this.configManager.fetchAuthenticated(),this.feature.fetch(),this.settings.fetch(),this.membersUtils.fetch()]),this.themeManagement.fetch().catch(console.error),await this.frontend.loginIfNeeded(),this.config.sentry_dsn&&(0,i.configureScope)((e=>{e.addEventProcessor((e=>new Promise((t=>{t({...e,release:`ghost@${this.config.version}`,user:{role:this.user.role.name}})}))))})),this.loadServerNotifications(),this.whatsNew.fetchLatest.perform(),this.koenig.fetch()}async handleAuthentication(){return this.handleAuthenticationTask.isRunning?this.handleAuthenticationTask.last:this.handleAuthenticationTask.perform((()=>{this.skipAuthSuccessHandler?this.skipAuthSuccessHandler=!1:super.handleAuthentication("home")}))}async requireAuthentication(e,t){this.isAuthenticated||(e.abort(),this.user&&(await this.setup(),this.notifications.clearAll(),e.retry())),super.requireAuthentication(e,t)}handleInvalidation(){let e=this.appLoadTransition
|
|
4218
|
-
e?e.send("authorizationFailed"):Ember.run.scheduleOnce("routerTransitions",this,"triggerAuthorizationFailed")}triggerAuthorizationFailed(){Ember.getOwner(this).lookup(`route:${this.router.currentRouteName}`)?.send("authorizationFailed")}loadServerNotifications(){this.isAuthenticated&&(this.user.isAuthorOrContributor||this.dataStore.findAll("notification",{reload:!0}).then((e=>{e.forEach((e=>{e.top||e.custom?this.notifications.handleNotification(e):this.upgradeStatus.handleUpgradeNotification(e)}))})))}*handleAuthenticationTask(e){if(!this.user){try{yield this.populateUser()}catch(t){yield this.invalidate()}yield this.postAuthPreparation()}e()}},E=N(w.prototype,"configManager",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=N(w.prototype,"dataStore",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=N(w.prototype,"feature",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=N(w.prototype,"koenig",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=N(w.prototype,"notifications",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=N(w.prototype,"router",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=N(w.prototype,"frontend",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=N(w.prototype,"settings",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=N(w.prototype,"ui",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=N(w.prototype,"upgradeStatus",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=N(w.prototype,"whatsNew",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=N(w.prototype,"membersUtils",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=N(w.prototype,"themeManagement",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=N(w.prototype,"config",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=N(w.prototype,"user",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N(w.prototype,"handleAuthenticationTask",[y],Object.getOwnPropertyDescriptor(w.prototype,"handleAuthenticationTask"),w.prototype),w)})),define("ghost-admin/services/settings",["exports","ghost-admin/models/setting","ghost-admin/mixins/validation-engine"],(function(e,t,i){var r,n,a,s,o,l,u
|
|
4217
|
+
this.user=i}async postAuthPreparation(){await Ember.RSVP.all([this.configManager.fetchAuthenticated(),this.feature.fetch(),this.settings.fetch(),this.membersUtils.fetch()]),await(0,r.identifyUser)(this.user),this.themeManagement.fetch().catch(console.error),await this.frontend.loginIfNeeded(),this.config.sentry_dsn&&(0,i.configureScope)((e=>{e.addEventProcessor((e=>new Promise((t=>{t({...e,release:`ghost@${this.config.version}`,user:{role:this.user.role.name}})}))))})),this.loadServerNotifications(),this.whatsNew.fetchLatest.perform(),this.koenig.fetch()}async handleAuthentication(){return this.handleAuthenticationTask.isRunning?this.handleAuthenticationTask.last:this.handleAuthenticationTask.perform((()=>{this.skipAuthSuccessHandler?this.skipAuthSuccessHandler=!1:super.handleAuthentication("home")}))}async requireAuthentication(e,t){this.isAuthenticated&&this.user&&(0,r.identifyUser)(this.user),this.isAuthenticated||(e.abort(),this.user&&(await this.setup(),(0,r.identifyUser)(this.user),this.notifications.clearAll(),e.retry())),super.requireAuthentication(e,t)}handleInvalidation(){let e=this.appLoadTransition;(0,r.resetUser)(),e?e.send("authorizationFailed"):Ember.run.scheduleOnce("routerTransitions",this,"triggerAuthorizationFailed")}triggerAuthorizationFailed(){Ember.getOwner(this).lookup(`route:${this.router.currentRouteName}`)?.send("authorizationFailed")}loadServerNotifications(){this.isAuthenticated&&(this.user.isAuthorOrContributor||this.dataStore.findAll("notification",{reload:!0}).then((e=>{e.forEach((e=>{e.top||e.custom?this.notifications.handleNotification(e):this.upgradeStatus.handleUpgradeNotification(e)}))})))}*handleAuthenticationTask(e){if(!this.user){try{yield this.populateUser()}catch(t){yield this.invalidate()}yield this.postAuthPreparation()}e()}},k=F(E.prototype,"configManager",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=F(E.prototype,"dataStore",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=F(E.prototype,"feature",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=F(E.prototype,"koenig",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=F(E.prototype,"notifications",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=F(E.prototype,"router",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=F(E.prototype,"frontend",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=F(E.prototype,"settings",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=F(E.prototype,"ui",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=F(E.prototype,"upgradeStatus",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=F(E.prototype,"whatsNew",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=F(E.prototype,"membersUtils",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=F(E.prototype,"themeManagement",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=F(E.prototype,"config",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=F(E.prototype,"user",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F(E.prototype,"handleAuthenticationTask",[w],Object.getOwnPropertyDescriptor(E.prototype,"handleAuthenticationTask"),E.prototype),E)})),define("ghost-admin/services/settings",["exports","ghost-admin/models/setting","ghost-admin/mixins/validation-engine"],(function(e,t,i){var r,n,a,s,o,l,u
|
|
4219
4218
|
function d(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function c(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e
|
|
4220
4219
|
var i=e[Symbol.toPrimitive]
|
|
4221
4220
|
if(void 0!==i){var r=i.call(e,t||"default")
|
|
@@ -4370,7 +4369,7 @@ e.default=Ember.HTMLBars.template({id:"Lp81F1w7",block:'{"symbols":[],"statement
|
|
|
4370
4369
|
e.default=Ember.HTMLBars.template({id:"cWiQ/FSv",block:'{"symbols":[],"statements":[[10,"div"],[14,0,"gh-flow"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-flow-content-wrap"],[12],[2,"\\n "],[10,"section"],[14,0,"gh-flow-content fade-in"],[12],[2,"\\n "],[11,"form"],[24,1,"reset"],[24,0,"gh-signin"],[24,"method","post"],[24,"novalidate","novalidate"],[4,[38,1],["submit",[30,[36,0],[[32,0,["resetPasswordTask"]]],null]],null],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-site-icon"],[15,5,[34,2]],[12],[13],[2,"\\n "],[10,"h1"],[12],[2,"Reset your password."],[13],[2,"\\n "],[13],[2,"\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["errors"]],[32,0,["hasValidated"]],"newPassword"]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-lock"],[12],[2,"\\n "],[11,"input"],[24,3,"newPassword"],[24,"placeholder","New password"],[24,"aria-label","New password"],[24,0,"gh-input password reset-password"],[24,"autocorrect","off"],[16,2,[32,0,["newPassword"]]],[24,4,"password"],[4,[38,3],null,null],[4,[38,1],["input",[32,0,["handleInput"]]],null],[12],[13],[2,"\\n "],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["errors"]],[32,0,["hasValidated"]],"ne2Password"]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-lock"],[12],[2,"\\n "],[11,"input"],[24,3,"ne2Password"],[24,"placeholder","Confirm new password"],[24,"aria-label","Confirm new password"],[24,0,"gh-input password reset-password"],[24,"autocorrect","off"],[16,2,[32,0,["ne2Password"]]],[24,4,"password"],[4,[38,1],["input",[32,0,["handleInput"]]],null],[12],[13],[2,"\\n "],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-task-button",[],[["@buttonText","@task","@class","@type","@autoWidth"],["Save new password",[32,0,["resetPasswordTask"]],"gh-btn gh-btn-reset gh-btn-block gh-btn-icon","submit","false"]],null],[2,"\\n "],[13],[2,"\\n\\n "],[10,"p"],[14,0,"main-error"],[12],[1,[32,0,["flowErrors"]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":["perform","on","site-icon-style","autofocus"]}',moduleName:"ghost-admin/templates/reset.hbs"})})),define("ghost-admin/templates/settings-x",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4371
4370
|
e.default=Ember.HTMLBars.template({id:"4n6mImMR",block:'{"symbols":[],"statements":[[8,"admin-x/settings",[],[[],[]],null]],"hasEval":false,"upvars":[]}',moduleName:"ghost-admin/templates/settings-x.hbs"})})),define("ghost-admin/templates/setup",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4372
4371
|
e.default=Ember.HTMLBars.template({id:"VFXV76u3",block:'{"symbols":["task"],"statements":[[10,"section"],[14,0,"gh-flow gh-setup"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-flow-content"],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[1,[30,[36,0],["ghost-orb"],[["alt"],["Ghost"]]]],[2,"\\n "],[10,"h1"],[12],[2,"Welcome to Ghost."],[13],[2,"\\n "],[10,"p"],[12],[2,"All over the world, people have started 3,000,000+ incredible sites with Ghost. Today, we’re starting yours."],[13],[2,"\\n "],[13],[2,"\\n\\n "],[10,"form"],[14,1,"setup"],[14,0,"gh-flow-form"],[12],[2,"\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["errors"]],[32,0,["hasValidated"]],"blogTitle"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","blog-title"],[12],[2,"Site title"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-content"],[12],[2,"\\n "],[8,"gh-trim-focus-input",[[16,"data-test-blog-title-input",true]],[["@type","@id","@name","@placeholder","@autocorrect","@value","@input","@focus-out"],["text","blog-title","blog-title","The Daily Awesome","off",[30,[36,1],[[32,0,["blogTitle"]]],null],[30,[36,3],[[32,0],[30,[36,2],[[32,0,["blogTitle"]]],null]],[["value"],["target.value"]]],[30,[36,3],[[32,0],"preValidate","blogTitle"],null]]],null],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["errors"]],"blogTitle"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["errors"]],[32,0,["hasValidated"]],"name"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","name"],[12],[2,"Full name"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-user"],[12],[2,"\\n "],[8,"gh-text-input",[[16,"data-test-name-input",true]],[["@id","@name","@placeholder","@autocorrect","@autocomplete","@value","@input","@focus-out"],["name","name","Jamie Larson","off","name",[30,[36,1],[[32,0,["name"]]],null],[30,[36,3],[[32,0],[30,[36,2],[[32,0,["name"]]],null]],[["value"],["target.value"]]],[30,[36,3],[[32,0],"preValidate","name"],null]]],null],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["errors"]],"name"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["errors"]],[32,0,["hasValidated"]],"email"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","email"],[12],[2,"Email address"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-mail"],[12],[2,"\\n "],[8,"gh-text-input",[[16,"data-test-email-input",true]],[["@type","@id","@name","@placeholder","@autocorrect","@autocomplete","@value","@input","@focus-out"],["email","email","email","jamie@example.com","off","username email",[30,[36,1],[[32,0,["email"]]],null],[30,[36,3],[[32,0],[30,[36,2],[[32,0,["email"]]],null]],[["value"],["target.value"]]],[30,[36,3],[[32,0],"preValidate","email"],null]]],null],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["errors"]],"email"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["errors"]],[32,0,["hasValidated"]],"password"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","password"],[12],[2,"Password"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-lock"],[12],[2,"\\n "],[8,"gh-text-input",[[16,"data-test-password-input",true]],[["@type","@id","@name","@placeholder","@autocorrect","@autocomplete","@value","@input","@focus-out"],["password","password","password","At least 10 characters","off","new-password",[30,[36,1],[[32,0,["password"]]],null],[30,[36,3],[[32,0],[30,[36,2],[[32,0,["password"]]],null]],[["value"],["target.value"]]],[30,[36,3],[[32,0],"preValidate","password"],null]]],null],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["errors"]],"password"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-task-button",[[24,0,"gh-btn gh-btn-black gh-btn-signup gh-btn-block gh-btn-icon"],[24,"data-test-button","setup"],[24,4,"submit"]],[["@task","@showSuccess"],[[32,0,["setupTask"]],false]],[["default"],[{"statements":[[2,"\\n"],[6,[37,4],[[32,1,["isRunning"]]],null,[["default","else"],[{"statements":[[2," "],[10,"span"],[12],[1,[30,[36,0],["spinner"],[["class"],["gh-icon-spinner gh-btn-icon-no-margin"]]]],[13],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[10,"span"],[12],[2,"Create account & start publishing →"],[13],[2,"\\n"]],"parameters":[]}]]],[2," "]],"parameters":[1]}]]],[2,"\\n "],[13],[2,"\\n"],[6,[37,4],[[32,0,["flowErrors"]]],null,[["default"],[{"statements":[[2," "],[10,"p"],[14,0,"main-error"],[12],[1,[32,0,["flowErrors"]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["svg-jar","readonly","mut","action","if"]}',moduleName:"ghost-admin/templates/setup.hbs"})})),define("ghost-admin/templates/setup/done",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4373
|
-
e.default=Ember.HTMLBars.template({id:"
|
|
4372
|
+
e.default=Ember.HTMLBars.template({id:"V5CDVMvC",block:'{"symbols":[],"statements":[[10,"div"],[14,0,"gh-flow gh-done"],[12],[2,"\\n "],[10,"main"],[14,0,"flex flex-row h-100"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-done-sidebar"],[12],[2,"\\n "],[10,"div"],[14,0,"flex flex-column h-100"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-nav-body"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-done-panel"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-stack"],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[10,"h1"],[12],[2,"All done!"],[13],[2,"\\n "],[10,"p"],[12],[2,"Your brand new publication is set up and ready to go."],[13],[2,"\\n "],[13],[2,"\\n "],[10,"h4"],[12],[2,"What do you want to do first?"],[13],[2,"\\n "],[10,"section"],[12],[2,"\\n "],[8,"link-to",[[24,0,"gh-done-yellow"]],[["@route","@model"],["lexical-editor.new","post"]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["posts"],null]],[13],[2,"\\n "],[10,"h6"],[12],[2,"Write your first post"],[13],[2,"\\n "],[10,"p"],[12],[2,"Test out the editor and get a feel for creating content inside Ghost."],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[8,"link-to",[[24,0,"gh-done-green"]],[["@route","@model"],["settings-x.settings-x","design/edit?ref=setup"]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["paint-palette"],null]],[13],[2,"\\n "],[10,"h6"],[12],[2,"Customize your site"],[13],[2,"\\n "],[10,"p"],[12],[2,"Review your settings and tweak the design to make your site just right."],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[8,"link-to",[[24,0,"gh-done-blue"]],[["@route"],["members.import"]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["members"],null]],[13],[2,"\\n "],[10,"h6"],[12],[2,"Import members"],[13],[2,"\\n "],[10,"p"],[12],[2,"Move your audience over to Ghost with our migration tools and guides."],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[8,"link-to",[[24,0,"gh-done-pink"]],[["@route"],["dashboard"]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[12],[1,[30,[36,0],["house"],null]],[13],[2,"\\n "],[10,"h6"],[12],[2,"Explore Ghost admin"],[13],[2,"\\n "],[10,"p"],[12],[2,"View the dashboard, click around, and explore Ghost for yourself."],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"div"],[14,0,"gh-done-preview"],[12],[2,"\\n "],[8,"gh-browser-preview",[],[[],[]],[["default"],[{"statements":[[2,"\\n "],[8,"gh-html-iframe",[[24,0,"site-frame"]],[["@html"],[[32,0,["themeManagement","previewHtml"]]]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["svg-jar"]}',moduleName:"ghost-admin/templates/setup/done.hbs"})})),define("ghost-admin/templates/signin",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4374
4373
|
e.default=Ember.HTMLBars.template({id:"UmkvzyAU",block:'{"symbols":["task"],"statements":[[10,"div"],[14,0,"gh-flow"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-flow-content-wrap"],[12],[2,"\\n "],[10,"section"],[14,0,"gh-flow-content"],[12],[2,"\\n"],[6,[37,5],[[32,0,["passwordResetEmailSent"]]],null,[["default","else"],[{"statements":[[2," "],[10,"div"],[14,0,"gh-auth-email"],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-site-icon"],[15,5,[34,3]],[12],[13],[2,"\\n "],[10,"h1"],[12],[2,"Update your password."],[13],[2,"\\n "],[10,"p"],[12],[2,"\\n For security, you need to create a new password. An email has been sent to you with instructions.\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[11,"form"],[24,1,"login"],[24,"method","post"],[24,0,"gh-signin"],[24,"novalidate","novalidate"],[4,[38,2],["submit",[30,[36,1],[[32,0,["validateAndAuthenticateTask"]]],null]],null],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-site-icon"],[15,5,[34,3]],[12],[13],[2,"\\n "],[10,"h1"],[12],[1,[32,0,["config","blogTitle"]]],[13],[2,"\\n "],[13],[2,"\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["signin","errors"]],[32,0,["hasValidated"]],"identification"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","identification"],[12],[2,"Email address"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-mail"],[12],[2,"\\n "],[11,"input"],[24,1,"identification"],[24,0,"gh-input email"],[24,"placeholder","jamie@example.com"],[24,3,"identification"],[24,"autocapitalize","off"],[24,"autocorrect","off"],[24,"autocomplete","username"],[16,2,[32,0,["signin","identification"]]],[24,4,"email"],[4,[38,2],["input",[32,0,["handleInput"]]],null],[4,[38,2],["blur",[30,[36,4],[[32,0,["validateProperty"]],"identification"],null]],null],[12],[13],[2,"\\n "],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["signin","errors"]],[32,0,["hasValidated"]],"password"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","password"],[12],[2,"Password"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-lock forgotten-wrap"],[12],[2,"\\n "],[11,"input"],[24,1,"password"],[24,0,"gh-input password"],[24,"placeholder","•••••••••••••••"],[24,3,"password"],[24,"autocomplete","current-password"],[24,"autocorrect","off"],[16,2,[32,0,["signin","password"]]],[24,4,"password"],[4,[38,2],["input",[32,0,["handleInput"]]],null],[12],[13],[2,"\\n\\n "],[8,"gh-task-button",[],[["@task","@class","@type","@successClass","@failureClass"],[[32,0,["forgotPasswordTask"]],"forgotten-link gh-btn gh-btn-link gh-btn-icon","button","",""]],[["default"],[{"statements":[[2,"\\n "],[10,"span"],[12],[6,[37,5],[[32,1,["isRunning"]]],null,[["default","else"],[{"statements":[[1,[30,[36,0],["spinner"],[["class"],["gh-spinner"]]]]],"parameters":[]},{"statements":[[2,"Forgot?"]],"parameters":[]}]]],[13],[2,"\\n "]],"parameters":[1]}]]],[2,"\\n "],[13],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-task-button",[[16,5,[34,6]],[24,"data-test-button","sign-in"]],[["@buttonText","@task","@showSuccess","@class","@type"],["Sign in →",[32,0,["validateAndAuthenticateTask"]],false,"login gh-btn gh-btn-login gh-btn-block gh-btn-icon","submit"]],null],[2,"\\n "],[13],[2,"\\n\\n "],[10,"p"],[14,0,"main-error"],[12],[1,[30,[36,5],[[32,0,["flowErrors"]],[32,0,["flowErrors"]]],null]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":["svg-jar","perform","on","site-icon-style","fn","if","accent-color-background"]}',moduleName:"ghost-admin/templates/signin.hbs"})}))
|
|
4375
4374
|
define("ghost-admin/templates/signup",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4376
4375
|
e.default=Ember.HTMLBars.template({id:"5NVFxMY2",block:'{"symbols":[],"statements":[[10,"div"],[14,0,"gh-flow"],[12],[2,"\\n\\n "],[10,"div"],[14,0,"gh-flow-content-wrap"],[12],[2,"\\n "],[10,"section"],[14,0,"gh-flow-content"],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[10,"div"],[14,0,"gh-site-icon"],[15,5,[34,0]],[12],[13],[2,"\\n "],[10,"h1"],[12],[2,"Create your account."],[13],[2,"\\n "],[13],[2,"\\n\\n "],[11,"form"],[24,1,"signup"],[24,0,"gh-signup"],[24,"method","post"],[24,"novalidate","novalidate"],[4,[38,1],["submit",[32,0,["submit"]]],null],[12],[2,"\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["signupDetails","errors"]],[32,0,["signupDetails","hasValidated"]],"name"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","name"],[12],[2,"Full name"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-user"],[12],[2,"\\n "],[11,"input"],[24,1,"display-name"],[24,3,"display-name"],[24,0,"gh-input"],[24,"placeholder","Jamie Larson"],[24,"autocorrect","off"],[24,"autocomplete","name"],[16,2,[32,0,["signupDetails","name"]]],[24,"data-test-input","name"],[24,4,"text"],[4,[38,1],["input",[30,[36,2],[[32,0,["setSignupProperty"]],"name"],null]],null],[4,[38,1],["blur",[30,[36,2],[[32,0,["trimSignupProperty"]],"name"],null]],null],[4,[38,1],["blur",[30,[36,2],[[32,0,["validate"]],"name"],null]],null],[12],[13],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["signupDetails","errors"]],"name"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["signupDetails","errors"]],[32,0,["signupDetails","hasValidated"]],"email"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","email"],[12],[2,"Email address"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-mail"],[12],[2,"\\n "],[11,"input"],[24,1,"username"],[24,3,"username"],[24,0,"gh-input"],[24,"placeholder","jamie@example.com"],[24,"autocorrect","off"],[24,"autocomplete","username email"],[16,2,[32,0,["signupDetails","email"]]],[24,"data-test-input","email"],[24,4,"text"],[4,[38,1],["input",[30,[36,2],[[32,0,["setSignupProperty"]],"email"],null]],null],[4,[38,1],["blur",[30,[36,2],[[32,0,["validate"]],"email"],null]],null],[12],[13],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["signupDetails","errors"]],"email"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-form-group",[],[["@errors","@hasValidated","@property"],[[32,0,["signupDetails","errors"]],[32,0,["signupDetails","hasValidated"]],"password"]],[["default"],[{"statements":[[2,"\\n "],[10,"label"],[14,"for","password"],[12],[2,"Password"],[13],[2,"\\n "],[10,"span"],[14,0,"gh-input-icon gh-icon-lock"],[12],[2,"\\n "],[11,"input"],[24,1,"password"],[24,3,"password"],[24,0,"gh-input"],[24,"placeholder","At least 10 characters"],[24,"autocorrect","off"],[24,"autocomplete","new-password"],[16,2,[32,0,["signupDetails","password"]]],[24,"data-test-input","password"],[24,4,"password"],[4,[38,1],["input",[30,[36,2],[[32,0,["setSignupProperty"]],"password"],null]],null],[4,[38,1],["blur",[30,[36,2],[[32,0,["validate"]],"password"],null]],null],[12],[13],[2,"\\n "],[13],[2,"\\n "],[8,"gh-error-message",[],[["@errors","@property"],[[32,0,["signupDetails","errors"]],"password"]],null],[2,"\\n "]],"parameters":[]}]]],[2,"\\n\\n "],[8,"gh-task-button",[[24,"form","signup"],[24,0,"gh-btn gh-btn-signup gh-btn-block gh-btn-icon"],[16,5,[34,3]],[24,"data-test-button","signup"],[24,4,"submit"]],[["@buttonText","@runningText","@task","@defaultClick","@showSuccess"],["Create Account →","Creating",[32,0,["signupTask"]],true,false]],null],[2,"\\n "],[13],[2,"\\n"],[6,[37,4],[[32,0,["flowErrors"]]],null,[["default"],[{"statements":[[2," "],[10,"p"],[14,0,"main-error"],[12],[1,[32,0,["flowErrors"]]],[2," "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":["site-icon-style","on","fn","accent-color-background","if"]}',moduleName:"ghost-admin/templates/signup.hbs"})})),define("ghost-admin/templates/site",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -4408,7 +4407,11 @@ class i extends t.default{deserialize(e){return"members"===e?"status:free,status
|
|
|
4408
4407
|
define("ghost-admin/transitions/move-over",["exports","liquid-fire/transitions/move-over"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/scale",["exports","liquid-fire/transitions/scale"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/scroll-then",["exports","liquid-fire/transitions/scroll-then"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/to-down",["exports","liquid-fire/transitions/to-down"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/to-left",["exports","liquid-fire/transitions/to-left"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/to-right",["exports","liquid-fire/transitions/to-right"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/to-up",["exports","liquid-fire/transitions/to-up"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/wait",["exports","liquid-fire/transitions/wait"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/transitions/wormhole",["exports","liquid-wormhole/transitions/wormhole"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){let e
|
|
4409
4408
|
this.newElement&&(e=this.newElement.find(".liquid-wormhole-element:last-child"))
|
|
4410
4409
|
return t.default.apply(this,arguments).finally((()=>{if(this.newElement&&e){let t=e[0].querySelector("[autofocus]")
|
|
4411
|
-
t&&t.focus()}}))}})),define("ghost-admin/utils/analytics",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
4410
|
+
t&&t.focus()}}))}})),define("ghost-admin/utils/analytics",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.identifyUser=async function(e){if(!window.posthog)return
|
|
4411
|
+
if(e&&e.get("email")){const t=e.get("email"),i=await async function(e){try{const t=await window.crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e.trim().toLowerCase())),i=Array.from(new Uint8Array(t)).map((e=>e.toString(16).padStart(2,"0"))).join("")
|
|
4412
|
+
return 64===i.length?i:null}catch(t){return null}}(t),r=window.posthog.get_distinct_id()
|
|
4413
|
+
if(i&&i!==r){const t={}
|
|
4414
|
+
e.get("id")&&(t.id=e.get("id")),e.get("role").name&&(t.role=e.get("role").name.toLowerCase()),e.get("createdAtUTC")&&(t.created_at=e.get("createdAtUTC").toISOString()),window.posthog.identify(i,t)}}},e.resetUser=function(){window.posthog&&window.posthog.reset()},e.trackEvent=function(e,t={}){window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments)},window.plausible(e,{props:t})}})),define("ghost-admin/utils/bound-one-way",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){"function"!=typeof t&&(t=function(e){return e})
|
|
4412
4415
|
return Ember.computed(e,{get(){return t(this.get(e))},set:(e,t)=>t})}})),define("ghost-admin/utils/caja-sanitizers",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4413
4416
|
e.default={url:function(e){if(e=e.toString().replace(/['"]+/g,""),/^https?:\/\//.test(e)||/^\//.test(e))return e},id:function(e){return e}}})),define("ghost-admin/utils/calculate-position",["exports","ember-basic-dropdown/utils/calculate-position"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("ghost-admin/utils/copy-text-to-clipboard",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){navigator.clipboard.writeText(e)}})),define("ghost-admin/utils/ctrl-or-cmd",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
4414
4417
|
e.default=-1!==navigator.userAgent.indexOf("Mac")?"command":"ctrl"})),define("ghost-admin/utils/currency",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.currencies=void 0,e.getCurrencyOptions=function(){const e=t.slice(0,5).map((e=>({value:e.isoCode.toLowerCase(),label:`${e.isoCode} - ${e.name}`,isoCode:e.isoCode}))),i=t.slice(5,t.length).map((e=>({value:e.isoCode.toLowerCase(),label:`${e.isoCode} - ${e.name}`,isoCode:e.isoCode})))
|
|
@@ -4587,4 +4590,4 @@ e.default=t.default.create({properties:["name","event","targetUrl","secret"],nam
|
|
|
4587
4590
|
e.default=Ember.Component.extend({})})),define("ghost-admin/config/environment",[],(function(){try{var e="ghost-admin/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),i={default:JSON.parse(decodeURIComponent(t))}
|
|
4588
4591
|
return Object.defineProperty(i,"__esModule",{value:!0}),i}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("ghost-admin/app").default.create({version:"5.79",name:"ghost-admin"})
|
|
4589
4592
|
|
|
4590
|
-
//# sourceMappingURL=ghost-
|
|
4593
|
+
//# sourceMappingURL=ghost-a706b0f25fd0ca6f328f46e1266eb76d.map
|