티스토리 수익 글 보기
import{aP as l,f as c,Z as h,D as w,g as D,i as p,e as B,a as r,c as M}from”./sp-button-group-B-hQqj2b-Ds8Lc0Vu.js”;import”./shared-webcomponents-C-0kPZYi.js”;const b={APIKey:”TypeKit2″,CCHomeUrl:”https://cchome-stage.adobe.io/int/v1/models”,CCHomeCDNUrl:”https://stage-uis-cdn.creativecloud.adobe.com/int/v1/models”,CCXUrl:”https://stage.projectx.corp.adobe.com”,FontsUrl:”https://fonts-relstage.adobe.com”},Y={APIKey:”TypeKit2″,CCHomeUrl:”https://cchome.adobe.io/int/v1/models”,CCHomeCDNUrl:”https://uis-cdn.creativecloud.adobe.com/int/v1/models”,CCXUrl:”https://new.express.adobe.com”,FontsUrl:”https://fonts.adobe.com”};function Q(){return l()?Y:b}function y(e){return`/fonts/${e}`}function C(e,A){const n=A.replace(/(\S+\s*){1,3}/g,`$&
`),s=[“width=1920″,”height=1080″,”unit=px”,”aspectRatioLock=true”,”requestor=af”,`fontPostscriptName=${e}`,`fontSpecimen=${encodeURIComponent(n.trim())}`,”promoid=3F8XBFBG”,”mv=other”];return`${Q().CCXUrl}/new?${s.join(“&”)}`}const m=`
`,N={“open-in-ccx-button.open-in-ccx”:”Try in Adobe Express”,”open-in-ccx-button.design-now”:”Design now”},G=B`:host{display:inline-flex}`;var k=Object.defineProperty,f=Object.getOwnPropertyDescriptor,o=(e,A,n,s)=>{for(var i,t=s>1?void 0:s?f(A,n):A,g=e.length-1;g>=0;g–)(i=e[g])&&(t=(s?i(A,n,t):i(t))||t);return s&&t&&k(A,n,t),t};let a=class extends c(h(w,N)){constructor(){super(…arguments),this.enableLibraries=!1,this._handleClick=()=>{this.sendAnalyticsEvent(“ccx-edit-font”,{psName:this.psName})}}static get styles(){return G}render(){return p`${this.enableLibraries?p`${D(m)} ${this.t(“open-in-ccx-button.design-now”)}`:p` ${this.t(“open-in-ccx-button.open-in-ccx”)}`} `}};o([r({type:String})],a.prototype,”psName”,2),o([r({type:String})],a.prototype,”previewString”,2),o([r({type:Boolean})],a.prototype,”enableLibraries”,2),a=o([M(“af-open-in-ccx-button”)],a);const P=a,O=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:”Module”}));export{m as A,O,y as U};
//# sourceMappingURL=OpenInCCXButton-DiVQ7pD7.js.map