1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[89215],{215:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});class i{static isSupported(){return"undefined"!==document.cookie}static setItem(e,t,o){if(null==e)throw Error("You must specify a key to set a cookie");let i=new Date;i.setTime(i.getTime()+864e5*o);let c="";"https:"===location.protocol&&(c="secure"),document.cookie="".concat(e,"=").concat(t,";expires=").concat(i.toUTCString(),";path=/;sameSite=lax;").concat(c)}static getItem(e){if(!e)return!1;let t=e+"=",o=document.cookie.split(";");for(let e=0;e<o.length;e++){let i=o[e];for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return!1}static removeItem(e){document.cookie="".concat(e,"= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/")}static key(){return""}static clear(){}}class c extends window.PluginBaseClass{init(){this.el.querySelectorAll(this.options.clickSelector).forEach(e=>e.addEventListener("click",()=>{i.setItem(this.options.cookieName,this.options.cookieValue)})),this.options.cookieValue===i.getItem(this.options.cookieName)&&this.el.classList.add("d-none")}}c.options={cookieName:"cookieName",cookieValue:"cookieValue",clickSelector:".clickSelector"}}}]);
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.