PageSourceSearch

https://www.allgemeine-zeitung.de/assets/metamln-Vv5Ic6hu.js

js allgemeine-zeitung.de collected 2026-10-01 10:34:10 UTC 6,985 bytes, 9 lines download raw bytes

1const __vite__fileDeps=["assets/StorylineComponent-DnpqnvFt.js","assets/index-BpyDjooP.js","assets/NativeAd-D4Z4NKcm.js","assets/SeedingAllianceSDKLoader-Bps-jcd5.js","assets/index-BLEDgm8N.js","assets/EnrichedImage-BngvLExa.js","assets/EmbedContent-CJzGTN0G.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2import{G as O,cq as C,d as N,b as w,b1 as b,Y as I,V as B,b9 as v,af as E,bs as A,ab as M,cr as z,cs as D,bJ as T,ct as G,cu as K,cv as H,P as f,O as X,ac as k,E as U,bc as F,_ as $,r as S,o as a,c as u,F as j,e as R,h as c,l as m,w as q,L as h}from"./index-BpyDjooP.js";const _={HEADER:"header",BODY:"body"};var V=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,o=(e,t,r,s)=>{for(var i=s>1?void 0:s?Y(t,r):t,l=e.length-1,d;l>=0;l--)(d=e[l])&&(i=(s?d(t,r,i):d(i))||i);return s&&i&&V(t,r,i),i};const J=O("contentPage"),Q=O("edition"),y=O("storyElementWrapper"),Z=C(N(()=>w(()=>import("./StorylineComponent-DnpqnvFt.js").then(e=>e.S),__vite__mapDeps([0,1,2,3,4,5,6]))));let n=class extends B{constructor(){super(...arguments),this.componentsWithoutLazyLoad=3,this.storylineComponent=Z,this.adSlot=v,this.additionalStoryElements=[]}get parsedStoryElements(){return[...this.type===_.HEADER?this.storyHeaderElementsGetter:this.storyBodyElementsGetter,...this.additionalStoryElements]}get parsedStoryElementsWithAdsSlots(){const e=[...this.parsedStoryElements||[]].filter(s=>s.element.storylineElementName!==E.UNKNOWN);if(this.isCurrentPageOfType(A.Service)||this.outputMedium===M.Embedded)return e;const t=z(e,this.isCurrentPageOfType(A.Advertorial));return D(t,this.opinaryPlaceholderIndex(t),this.showAutoOpinary)}isOpinaryAutoPoll(e){return typeof e=="string"&&e==="opinaryAutoPoll"}opinaryPlaceholderIndex(e){if(!(e!=null&&e.length))return null;const t=e.map((r,s)=>({element:r,index:s})).filter(({element:r})=>this.isComponent(r)&&T.isStorylineElement(r==null?void 0:r.type,E.SUBHEADLINE));return t.length>2?t[t.length-1].index:e.length}get hasOpinaryElement(){var e;return(e=this.parsedStoryElements)==null?void 0:e.some(t=>t.element.storylineElementName===E.OPINARY)}async parseElements(e){const t=this.type===_.HEADER?this.parseStoryHeaderElements:this.parseStoryBodyElements;if(!Array.isArray(this.indexes)){await t({storyLineContext:e,showFirstImage:!1,options:this.mapperOptions});return}const r=Array.isArray(e.elements)?{...e,elements:e.elements.filter((s,i)=>this.indexes.includes(i))}:e;await t({storyLineContext:r,showFirstImage:!1,options:this.mapperOptions})}get mapperOptions(){return{hidePlusBadge:!!this.edition.hidePlusBadgeOnTeasers,rewriteCrossEditionLinks:!!this.edition.rewriteCrossEditionLinks,currentEditionShortcut:this.edition.shortcut,environment:this.environment}}async mounted(){var e;(e=this.parsedStoryElements)!=null&&e.length||await this.parseElements(this.storylineContext)}async serverPrefetch(){await this.parseElements(this.storylineContext)}async unmounted(){await this.clearStoryElements()}isAdSlotName(e){return typeof e!="string"?!1:G(e)}isCCEWidgetSlot(e){return typeof e!="string"?!1:K(e)}adSlotProperties(e){return typeof e!="string"?{}:H(e)}isComponent(e){return!!e&&typeof e=="object"}componentProperties(e){return this.isComponent(e)?{componentParams:e}:{}}};o([f({required:!0})],n.prototype,"storylineContext",2);o([f({type:Array,required:!1})],n.prototype,"indexes",2);o([f({type:Boolean,required:!1,default:!1})],n.prototype,"showAutoOpinary",2);o([f({type:String,default:_.BODY})],n.prototype,"type",2);o([y.Getter("storyHeaderElements")],n.prototype,"storyHeaderElementsGetter",2);o([y.Getter("storyBodyElements")],n.prototype,"storyBodyElementsGetter",2);o([J.Getter("isCurrentPageOfType")],n.prototype,"isCurrentPageOfType",2);o([y.Action("parseStoryHeaderElements")],n.prototype,"parseStoryHeaderElements",2);o([y.Action("parseStoryBodyElements")],n.prototype,"parseStoryBodyElements",2);o([y.Action("clearStoryElements")],n.prototype,"clearStoryElements",2);o([Q.Getter("getEdition")],n.prototype,"edition",2);o([b("environment")],n.prototype,"environment",2);o([I("getMedium")],n.prototype,"outputMedium",2);n=o([X({name:"StoryElementWrapper",components:{AdSlot:v,ComposerPosition:k,DnmContentWrapper:U,LazyLoad:F}})],n);const x={class:"storyElementWrapper","data-testid":"storyElementWrapper-container"},ee={key:0,id:"opinary-automation-placeholder"};function te(e,t,r,s,i,l){const d=S("LazyLoad"),P=S("ComposerPosition"),L=S("DnmContentWrapper");return a(),u("div",x,[(a(!0),u(j,null,R(e.parsedStoryElementsWithAdsSlots,(p,g)=>(a(),u("div",{key:g,class:"storyElementWrapper__container","data-testid":"storyElementWrapper-storylineElements"},[e.isOpinaryAutoPoll(p)?(a(),u("div",ee)):c("",!0),e.isAdSlotName(p)?(a(),m(d,{key:1,component:e.adSlot,"component-data":e.adSlotProperties(p),class:"storyElementWrapper__adSlot"},null,8,["component","component-data"])):e.isCCEWidgetSlot(p)?(a(),m(L,{key:2,size:"extraLarge"},{default:q(()=>[p==="inner1"?(a(),m(P,{key:0,class:"storyElementWrapper__innerStoryComposer","position-name":"innerStoryComposerPosition1"})):c("",!0),p==="inner2"?(a(),m(P,{key:1,"position-name":"innerStoryComposerPosition2"})):c("",!0)]),_:2},1024)):e.isComponent(p)?(a(),m(d,{key:3,"always-render":g<=e.componentsWithoutLazyLoad,component:e.storylineComponent,"component-data":e.componentProperties(p),class:"storyElementWrapper__element","data-testid":"storyElementWrapper-element"},null,8,["always-render","component","component-data"])):c("",!0)]))),128))])}const ae=$(n,[["render",te],["__scopeId","data-v-1621eef9"]]);var W;
2try{"__c"in n&&((W=n.__c).componentFileName??(W.componentFileName=Object.create(null)),Object.defineProperty(n.__c,"componentFileName",{value:"app/components/storyElementWrapper/StoryElementWrapper.vue"}))}catch(e){console.error("injectFileNamePlugin",e)}function re(e){var t,r;return e.__typename==="Comment"&&((t=e.fields)!=null&&t.opinionformat)?(r=e.fields)==null?void 0:r.opinionformat:e.__typename}function ne(e){const t={2200:"ohne",1125:"XS",2250:"S",3300:"M",4400:"L",5500:"XL",7500:"XXL",600:"KOM_S",1200:"KOM_M",1600:"KOM_L",2400:"KOM_XL",3200:"KOM_XXL",300:"KUNO_S",500:"KUNO_M",800:"KUNO_L",1300:"KUNO_XL",1800:"KUNO_XXL"};if(h(e,"fields")&&h(e.fields,"storySize")&&e.fields.storySize){const{storySize:r}=e.fields;return t[r]||r}return"ohne"}function oe(e){if(h(e,"id")&&e.id)return e.id}function se(e){if(h(e,"containerId")&&e.containerId)return e==null?void 0:e.containerId}function pe(e){const t={id:"metamln",type:"application/xml"},r=re(e),s=ne(e),i=oe(e),l=se(e);return r&&s&&i&&l&&(t.children=`
3    <metamln charset="UTF-8">
4      <auxiliaryfield typename="text" name="Cue-Referenz" value="${l}"></auxiliaryfield>
5      <auxiliaryfield typename="text" name="Artikeltyp" value="${r}"></auxiliaryfield>
6      <auxiliaryfield typename="text" name="T-Shirt Size" value="${s}"></auxiliaryfield>
7      <auxiliaryfield typename="text" name="CUE Online ID" value="${i}"></auxiliaryfield>
8    </metamln>
9    `),t}export{ae as S,_ as a,pe as g};

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.