PageSourceSearch

https://www.flyeralarm.com/cds/components/chunks/page-cart.D6583N04.js

js flyeralarm.com collected 2026-10-03 19:05:44 UTC 2,153 bytes, 1 lines download raw bytes

1import{A as p,r as d,h as _,t as g}from"./lit.DbNriq8W.js";import{c as m}from"./settings.DZSuIF-G.js";import{G as c}from"./graphql-element.BlteUOAA.js";import{H as n,g as f}from"./atom.CM9c0Z9b.js";import{P as y}from"./page.model.DuLQYcrr.js";import"./cart-empty.D7kwp8P1.js";import"./util.BCLdrt3j.js";import"./graphql.Hq5qrITd.js";import"./base-element.ey9WbN6O.js";import"./rich-text-html-renderer.es5.D4rTbbuL.js";import"./index.DHcnIGZy.js";import"./_commonjsHelpers.Cpj98o6Y.js";import"./marks.B7E1ViE9.js";const u="/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */:host{width:100%;display:block}.page-cart{width:100%}.page-cart__cart-section{margin-bottom:calc(var(--spacing,.25rem) * 8);display:block}.page-cart__empty-fallback{display:block}";var v=Object.defineProperty,C=Object.getOwnPropertyDescriptor,h=(t,e,r,a)=>{for(var s=a>1?void 0:a?C(e,r):e,o=t.length-1,l;o>=0;o--)(l=t[o])&&(s=(a?l(e,r,s):l(s))||s);return a&&s&&v(e,r,s),s};let i=class extends c{constructor(){super(),this._hasCartItems=!1,this.query=y}_onCartItemsSlotChange(t){this._hasCartItems=t.target.assignedElements().length>0}getSections(){var t,e,r,a;return((a=(r=(e=(t=this.data)==null?void 0:t.page)==null?void 0:e.copyCollection)==null?void 0:r.items)==null?void 0:a.filter(Boolean))??[]}renderSection(t,e){var r;return!(t!=null&&t.__typename)||!((r=t==null?void 0:t.sys)!=null&&r.id)?p:m.loadAsHtml(m.typenameToClassname(t.__typename),{id:t.sys.id,wrapper:"full","data-slot":`cart-section-${e}`},"")}render(){var a;const t=(a=this.data)==null?void 0:a.page,e=(t==null?void 0:t.h1)??(t==null?void 0:t.title)??"Warenkorb",r=t?this.getSections():[];return n`<div class="page-cart"><div class="page-cart__cart-section">${this._hasCartItems?p:n`<fa-cart-empty><span slot="headline">${e}</span><span slot="message">Ihr Warenkorb ist leer</span></fa-cart-empty>`}<slot name="cart-items" @slotchange="${this._onCartItemsSlotChange}"></slot></div>${r.map((s,o)=>this.renderSection(s,o))}</div>`}firstUpdated(){this.loaded=!0}};i.browserStyles=[...c.browserStyles,f(),d(u)];h([_()],i.prototype,"_hasCartItems",2);i=h([g("fa-page-cart")],i);export{i as PageCart};

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.