PageSourceSearch

https://www.geico.com/_next/static/chunks/gds-gds-disclaimer-js.66016f76427cda8c.js

js geico.com collected 2026-09-24 08:35:32 UTC 4,529 bytes, 70 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[67038],{24291:(e,t,o)=>{o.d(t,{a:()=>n,b:()=>i,c:()=>r,d:()=>l,e:()=>c});var n=e=>t=>"function"==typeof t?(customElements.define(e,t),t):((e,t)=>{let{kind:o,elements:n}=t;return{kind:o,elements:n,finisher(t){customElements.define(e,t)}}})(e,t);function i(e){return(t,o)=>void 0!==o?void t.constructor.createProperty(o,e):"method"!==t.kind||!t.descriptor||"value"in t.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(o){o.createProperty(t.key,e)}}:{...t,finisher(o){o.createProperty(t.key,e)}}}function r(e){return i({...e,state:!0})}var a=({finisher:e,descriptor:t})=>(o,n)=>{var i;if(void 0===n){let n=null!=(i=o.originalKey)?i:o.key,r=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(r.finisher=function(t){e(t,n)}),r}{let i=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),e?.(i,n)}};function l(e,t){return a({descriptor:o=>{let n={get(){var t,o;return null!=(o=null==(t=this.renderRoot)?void 0:t.querySelector(e))?o:null},enumerable:!0,configurable:!0};if(t){let t="symbol"==typeof o?Symbol():"__"+o;n.get=function(){var o,n;return void 0===this[t]&&(this[t]=null!=(n=null==(o=this.renderRoot)?void 0:o.querySelector(e))?n:null),this[t]}}return n}})}var d,s=(null==(d=window.HTMLSlotElement)?void 0:d.prototype.assignedElements)!=null?(e,t)=>e.assignedElements(t):(e,t)=>e.assignedNodes(t).filter(e=>e.nodeType===Node.ELEMENT_NODE);function c(e){let{slot:t,selector:o}=e??{};return a({descriptor:n=>({get(){var n;let i="slot"+(t?`[name=${t}]`:":not([name])"),r=null==(n=this.renderRoot)?void 0:n.querySelector(i),a=null!=r?s(r,e):[];return o?a.filter(e=>e.matches(o)):a},enumerable:!0,configurable:!0})})}},89328:(e,t,o)=>{o.r(t),o.d(t,{GdsDisclaimer:()=>d});var n=o(24291),i=o(85065),r=o(40629),a=o(11598),l=(0,r.b)`
2  :host {
3    display: block;
4    border-radius: var(--disclaimer-border-radius);
5    background-color: var(--color-neutral-opaque-background);
6    max-height: var(--disclaimer-max-height);
7    overflow-y: auto;
8    color: var(--text-color);
9    padding: var(--disclaimer-padding);
10    margin-bottom: var(--disclaimer-margin-bottom);
11    --text-small-typography: var(--text-xxsmall-typography);
12    --paragraph-margin-bottom: var(--spacing-xs);
13  }
14
15  .heading {
16    font: var(--h6-typography);
17    padding-bottom: var(--disclaimer-heading-padding-bottom);
18  }
19
20  :host([accordion-style]) {
21    max-height: none;
22  }
23
24  :host([accordion-style]) .heading {
25    display: flex;
26    justify-content: space-between;
27    align-items: center;
28    cursor: pointer;
29    padding: var(--disclaimer-accordion-heading-padding);
30  }
31
32  :host([accordion-style]) .heading:focus-visible {
33    outline: var(--focus-outline);
34    outline-offset: var(--focus-outline-offset);
35  }
36
37  ::slotted([slot="content"]) {
38    font: var(--disclaimer-content-typography);
39    margin-bottom: 0.5rem;
40  }
41
42  @media (max-width: 767px) {
43    :host {
44      padding: var(--disclaimer-padding-small-only);
45    }
46
47    .heading.accordion {
48      padding-top: 1.5rem;
49      padding-bottom: 1.5rem;
50    }
51  }
52`,d=class extends r.g{constructor(){super(...arguments),this.accordionStyle=!1,this.expanded=!1}render(){return(0,r.c)` ${this.accordionStyle?(0,r.c)`<div
53            class="heading"
54            @click="${this._toggleExpand}"
55            role="button"
56            tabindex="0"
57            aria-expanded="${this.expanded?"true":"false"}"
58          >
59            <span><slot></slot></span>
60            <gds-icon
61              icon-type="${this.expanded?"chevron-up":"chevron-down"}"
62              size="small"
63            ></gds-icon>
64          </div>
65          <gds-utils-expand-collapse ?expanded="${this.expanded}">
66            <div class="content-container accordion">
67              <slot name="content"></slot>
68            </div>
69          </gds-utils-expand-collapse>`:(0,r.c)`<div class="heading"><slot></slot></div>
70          <slot name="content"></slot>`}`}connectedCallback(){super.connectedCallback();let e=new CSSStyleSheet;e.replaceSync(l.cssText),this.shadowRoot.adoptedStyleSheets=[e]}_toggleExpand(){this.expanded=!this.expanded}};(0,a.c)([(0,n.b)({type:Boolean,attribute:"accordion-style",reflect:!0})],d.prototype,"accordionStyle",2),(0,a.c)([(0,n.b)({type:Boolean,reflect:!0})],d.prototype,"expanded",2),d=(0,a.c)([(0,i.a)("gds-disclaimer")],d),o(8802)}}]);

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.