1import{G as p,V as m,q as u,H as g,I as b,O as f,_,r as h,o as c,c as C,l as v,h as w}from"./index-D-iuxWOd.js";import{E as P}from"./EmbedContent-ehOEB7wE.js";var y=Object.defineProperty,D=Object.getOwnPropertyDescriptor,d=(n,e,r,o)=>{for(var t=o>1?void 0:o?D(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&y(e,r,t),t};const O=p("contentPage"),B="ce8395654ce8ded368ee053281c9a615135b105d",S=21;let a=class extends m{constructor(){super(...arguments),this.iFrameSrc=`https://cms.biallo.de/premium-content/aboplus_wiesbaden.php?key=${B}`,this.consentManagerVendorId=u.consentManager.vendorIds.biallo}get showWidget(){const e=new Date,r=this.updatedTimeStamp;if(!r)return!1;const o=new Date(r);if(!this.isValidDate(o))return!1;const t=o.setDate(o.getDate()+S);return e.getTime()<=t}isValidDate(e){return!Number.isNaN(e.getTime())}get updatedTimeStamp(){if(!this.currentPageContent||!("context"in this.currentPageContent))return"";const{context:e}=this.currentPageContent;return e&&g.isContextType(e)?b(e).toISOString():""}};d([O.Getter("currentPageContent")],a.prototype,"currentPageContent",2);a=d([f({name:"BialloWidget",components:{EmbedContent:P}})],a);const N={"data-component":"biallo-widget","data-testid":"biallo-widget"};function T(n,e,r,o,t,i){const s=h("EmbedContent");return c(),C("div",N,[n.showWidget?(c(),v(s,{key:0,"consent-manager-vendor-id":n.consentManagerVendorId,src:n.iFrameSrc,"is-embed-without-srcdoc":"","is-embed-without-box-shadow":"",provider:"Biallo","referrer-policy":"unsafe-url","data-testid":"biallo-widget-embed"},null,8,["consent-manager-vendor-id","src"])):w("",!0)])}const x=_(a,[["render",T]]);var l;try{"__c"in a&&((l=a.__c).componentFileName??(l.componentFileName=Object.create(null)),Object.defineProperty(a.__c,"componentFileName",{value:"app/components/storyline/bialloWidget/BialloWidget.vue"}))}catch(n){console.error("injectFileNamePlugin",n)}export{x as default};
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.