PageSourceSearch

https://www.article.com/assets/ContentfulRenderer-legacy.f9cd34f7.js

js article.com collected 2026-09-24 08:48:17 UTC 7,245 bytes, 2 lines download raw bytes

1!function(){var e=document.createElement("style");e.innerHTML=':root{--font-regular: "proxima_nova_regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-semibold: "proxima_nova_semibold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-light: "proxima_nova_light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-bold: "proxima_nova_bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--font-black: "proxima_nova_black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--grey-ultra-dark: #2e2e2e;--grey-dark: #626262;--grey-medium: #a7a7a7;--grey-light: #c2c2c2;--grey-ultra-light: #f2f2f2;--grey-1: #2e2e2e;--grey-2: #828282;--grey-5: #cacaca;--grey-6: #efefef;--white: #ffffff;--black: #000000;--transparent: rgba(255, 255, 255, 0);--coral-dark: #cc5046;--coral: #ff6458;--coral-light: #ffe0de;--green: #3cb064;--amber: #e6b94f;--accent-color: var(--coral);--primary-light-40: #ffa29b;--error-color: var(--coral-dark);--warning-color: var(--amber);--success-color: var(--green);--background-color: var(--grey-ultra-light);--font-color: var(--grey-1);--font-accent-color: var(--coral);--font-inverted-color: var(--white);--border-color: var(--grey-light);--link-color: inherit;--link-hover-color: var(--grey-ultra-dark);--overlay-color: rgba(255, 255, 255, .7);--shadow-color: rgba(0, 0, 0, .2);--font-size: 1rem;--font-size-12: .75rem;--font-size-14: .875rem;--font-size-16: 1rem;--font-size-20: 1.25rem;--font-size-24: 1.5rem;--font-size-32: 2rem;--font-size-48: 3rem;--font-size-64: 4rem;--font-size-96: 6rem;--line-height: 1.3;--line-height-12: 1.3;--line-height-14: 1.3;--line-height-16: 1.3;--line-height-20: 1.3;--line-height-24: 1.3;--line-height-32: 1.1;--line-height-48: 1.1;--line-height-0: 0;--line-height-100: 1;--line-height-110: 1.1;--line-height-130: 1.3;--line-height-150: 1.5;--space-unit: .25rem;--space-0: calc(var(--space-unit) * 0);--space-1: calc(var(--space-unit) * 1);--space-2: calc(var(--space-unit) * 2);--space-3: calc(var(--space-unit) * 3);--space-4: calc(var(--space-unit) * 4);--space-5: calc(var(--space-unit) * 5);--space-6: calc(var(--space-unit) * 6);--space-7: calc(var(--space-unit) * 7);--space-8: calc(var(--space-unit) * 8);--space-9: calc(var(--space-unit) * 9);--space-10: calc(var(--space-unit) * 10);--space-12: calc(var(--space-unit) * 12);--space-16: calc(var(--space-unit) * 16);--space-20: calc(var(--space-unit) * 20);--space-24: calc(var(--space-unit) * 24);--uppercase-letter-spacing: .1em;--heading-letter-spacing: -.01em;--button-border-radius: 9999px;--container-border-radius: 8px;--circle-border-radius: 9999px;--box-shadow-blur: 4px;--box-shadow-spread: 8px;--ctf-link-decoration: underline;--ctf-link-color: var(--coral)}:export{extraSmallBreakpoint:320px;smallBreakpoint:425px;mobileBreakpoint:768px;tabletBreakpoint:970px;desktopBreakpoint:1200px;largeBreakpoint:1400px;extraLargeBreakpoint:1600px;xxlBreakpoint:1800px}.loader-container{width:100%;height:100%;text-align:center;display:flex;align-items:center;justify-content:center}.loader-container .loader{border:4px solid #f3f3f3;border-top:4px solid var(--accent-color);border-radius:50%;width:32px;height:32px;animation:spin 1s linear infinite;margin-left:auto;margin-right:auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n',document.head.appendChild(e);try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="097c9d4a-ed35-49dd-9d2e-51d2ec11b2f5",e._sentryDebugIdIdentifier="sentry-dbid-097c9d4a-ed35-49dd-9d2e-51d2ec11b2f5")}catch(t){}System.register(["./index-legacy.648b1167.js"],(function(e,t){"use strict";var r,o,a,n,i,l,c,s,d,p,u,f,g,y,m,v,h,b,k,w,x,S,I,E,$,C,R,B;return{setters:[function(e){r=e.bZ,o=e.b_,a=e.cj,n=e.ck,i=e.b$,l=e.cl,c=e.c1,s=e.cm,d=e.cn,p=e.c7,u=e.co,f=e.cp,g=e.cq,y=e.cr,m=e.c3,v=e.c9,h=e.ca,b=e.cb,k=e.cs,w=e.ce,x=e.ct,S=e.cu,I=e.cv,E=e.cw,$=e.cx,C=e.cc,R=e.ci,B=e.cy}],execute:function(){const _={name:"ContentfulRenderer",props:{component:{type:Object,required:!0},contentType:{type:String,required:!0},slug:{type:String,default:null},activeOf:{type:String,default:null},isRequired:{type:Boolean,default:!0},isCritical:{type:Boolean,default:!1},showLoader:{type:Boolean,default:!0},class:{type:String,default:""},onEntryNotFound:{type:Function,default:()=>{}}},components:{NotFoundPage:r((()=>o((()=>t.import("./NotFoundPage-legacy.0d94bfbf.js")),void 0)))},async setup(e){const t=a(""),r=n({entry:null}),o=a(!1),p=i().currentRoute.value.query?.hasOwnProperty("ctpreview"),{mounted:v}=l(),h=u();await(async()=>{try{const a=e.slug,n=e.isRequired?"none":"ignore";if(a)r.entry=await f(e.contentType,a,2,p,n);else{if(!e.activeOf)throw new Error(`ContentfulRenderer requires one of: activeOf 
1(${e.activeOf}), slug(${a}) for contentType: ${e.contentType}`);{const o=await f("activeVersion",e.activeOf,2,p,n),a=o?.fields?.contentPage?.sys?.id;if(a)r.entry=await g(a,!1,2,p);else{if(e.isCritical)throw new Error(`invalid contentPageId: ${a} passed to ContentfulRenderer for ${e.activeOf} (${o?.sys?.id})`);e.isRequired&&(t.value=`invalid contentPageId: ${a} passed to ContentfulRenderer for ${e.activeOf}`)}}}if(r.entry||"function"!=typeof e.onEntryNotFound||e.onEntryNotFound(),r.entry)y({currentEntry:r.entry,isPreview:p});else{if(e.isCritical)throw new Error(`ContentfulRenderer failed for activeOf: ${e.activeOf}, slug: ${a}, contentType: ${e.contentType}, isRequired:${e.isRequired} , isCritical: ${e.isCritical}`);e.isRequired&&(t.value=`Content not found: ${e.contentType}/${a} (${e.activeOf})`)}}catch(a){console.error(a),m.sentryCaptureError(a)}finally{o.value=!0}})();const b=c((()=>v.value?s(h.moduleNames):null));return{...d(r),loadedDependencyModules:b,isPreview:p,clazz:e.class,isLoaded:o,isNotFound:t}}},j={key:1},F={key:2,class:"loader-container"};e("default",p(_,[["render",function(e,t,r,o,a,n){const i=v("NotFoundPage");return o.isNotFound?(h(),b(i,{key:0,reason:o.isNotFound},null,8,["reason"])):(h(),k("div",j,[(h(),b(R,null,{default:w((()=>[r.component&&e.entry?(h(),k(x,{key:0},[S(e.$slots,"default",{entry:e.entry,isPreview:o.isPreview,slug:r.slug}),(h(),b(I(r.component),E(e.entry,{slug:r.slug,class:o.clazz}),null,16,["slug","class"])),S(e.$slots,"after",{isPreview:o.isPreview,slug:r.slug})],64)):o.isLoaded?S(e.$slots,"fallback",{key:1,isPreview:o.isPreview,slug:r.slug}):r.showLoader?(h(),k("div",F,t[0]||(t[0]=[$("div",{class:"loader"},null,-1)]))):C("",!0)])),_:3})),(h(!0),k(x,null,B(o.loadedDependencyModules,((e,t)=>(h(),k(x,{key:t},[e?(h(),b(I(e),{key:0})):C("",!0)],64)))),128))]))}]]))}}}))}();
2//# sourceMappingURL=ContentfulRenderer-legacy.f9cd34f7.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.