PageSourceSearch

https://pixlr.com/dist/consent-settings.2168b80fdad77c1f0ab1.js

js pixlr.com collected 2026-09-24 07:05:15 UTC 2,496 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpixlr=self.webpackChunkpixlr||[]).push([[647],{1668(e,n,s){var t=s(7775),a=s(5283),c=s(4241);let o=!1;s.d(n,["openConsentSettings",0,()=>{if(o)return;o=!0;const e=(0,c.Xj)(),n=(0,a.T)("div",{className:"modal dim",onclick:e=>{e.target===n&&k()}}),s=(0,a.T)("div",{className:"sheet"}),i=(0,a.T)("div",{className:"sheet-header"},(0,a.T)("strong",{},(0,t.A)("consentSettingsTitle")),(0,a.T)("div",{className:"sheet-close",onclick:()=>k(),innerHTML:'<svg viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>'})),r=(0,a.T)("div",{className:"sheet-panes airy consent-settings"});r.append((0,a.T)("p",{className:"consent-settings-intro"},(0,t.A)("consentSettingsIntro")));const l=(e,n,s,t,c=!1)=>{const o=(0,a.T)("input",{type:"checkbox",id:e,checked:t,disabled:c});return{input:o,el:(0,a.T)("div",{className:"consent-settings-row"},(0,a.T)("div",{className:"consent-settings-copy"},(0,a.T)("strong",{},n),(0,a.T)("span",{},s)),o,(0,a.T)("label",{className:"switch",htmlFor:e},(0,a.T)("span",{})))}},d=l("consent-necessary",(0,t.A)("consentCategoryNecessary"),(0,t.A)("consentCategoryNecessaryInfo"),!0,!0),m=l("consent-analytics",(0,t.A)("consentCategoryAnalytics"),(0,t.A)("consentCategoryAnalyticsInfo"),e.analytics),p=l("consent-marketing",(0,t.A)("consentCategoryMarketing"),(0,t.A)("consentCategoryMarketingInfo"),e.marketing);r.append(d.el,m.el,p.el);const y=(0,a.T)("a",{className:"button med",onclick:async()=>{y.classList.add("disabled");await(0,c.qH)({analytics:m.input.checked,marketing:p.input.checked})||(y.classList.remove("disabled"),(0,a.y8)("danger","commonServerError"))}},(0,t.A)("consentSave")),g=(0,a.T)("a",{className:"button med outline",onclick:async()=>{m.input.checked=!1,p.input.checked=!1,g.classList.add("disabled");await(0,c.qH)({analytics:!1,marketing:!1})||(g.classList.remove("disabled"),(0,a.y8)("danger","commonServerError"))}},(0,t.A)("consentRejectAll"));r.append((0,a.T)("div",{className:"consent-settings-actions buttons"},g,y)),s.append(i,r),n.append(s),document.documentElement.classList.add("overcast"),document.body.append(n),requestAnimationFrame(()=>s.classList.add("ani"));const u=e=>{"Escape"===e.key&&k()};function k(){document.removeEventListener("keydown",u),s.classList.remove("ani"),setTimeout(()=>{document.documentElement.classList.remove("overcast"),n.remove(),o=!1},200)}document.addEventListener("keydown",u)}])}}]);

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.