PageSourceSearch

https://www.countryfile.com/62.211b8a6506737a1b.js

js countryfile.com collected 2026-09-24 09:00:33 UTC 4,081 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([[62],{62:(E,p,r)=>{r.r(p),r.d(p,{ToggleModule:()=>N,component:()=>B});var C=r(177),i=r(467),g=r(9379),e=r(3953),f=r(3331),m=r(4404),c=r(8251);const T={content:"publication-type"};var v=r(610),y=r(6067),x=r(1210),h=r(8075),d=r(8909);function D(n,s){if(1&n){const l=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){const o=e.eBV(l).$implicit,a=e.XpG(2);return e.Njj(a.setSelection(o))}),e.k0s()}if(2&n){const l=s.$implicit,t=e.XpG(2);e.AVh("selected",t.isSelected(l)),e.Y8G("storefrontTranslate",l.name)}}function G(n,s){if(1&n&&e.Z7z(0,D,1,3,"div",0,e.fX1),2&n){const l=e.XpG();e.Dyx(l.entries)}}let u=(()=>{var n;class s extends x.${constructor(){super(...arguments),this.route=(0,e.WQX)(f.nX),this.router=(0,e.WQX)(f.Ix),this.store=(0,e.WQX)(c.B),this.translate=(0,e.WQX)(y.D),this.defaultConfig=(0,g.A)({},T)}ngOnInit(){var t=this;return(0,i.A)(function*(){t.baseConfig.set((0,g.A)((0,g.A)({},t.defaultConfig),t.baseConfig())),t.entries=yield t.loadEntries(),t.store.subscribe(t.route.queryParams,o=>{const a=o[t.baseConfig().content];t.setSelection(a&&[...t.entries].find(V=>V.value===a)||t.entries[0])})})()}loadEntries(){var t=this;return(0,i.A)(function*(){return"publication-type"===t.baseConfig().content?[{name:"TOGGLE_PUBLICATION_TYPE_KIOSK",value:m.PublicationType.KIOSK},{name:"TOGGLE_PUBLICATION_TYPE_CHANNEL",value:m.PublicationType.CHANNEL}]:[]})()}setSelection(t){var o=this;return(0,i.A)(function*(){JSON.stringify(o.selection)!==JSON.stringify(t)&&(o.selection=t,o.store.dispatch((0,v.k4)({url:window.location.href,key:"toggle-".concat(o.baseConfig().content),params:{[o.baseConfig().content]:o.selection.value,["".concat(o.baseConfig().content,"-translated")]:yield o.translate.translate(o.selection.name)}})),(0,h.CV)(o.router,{[o.baseConfig().content]:o.selection.value}))})()}isSelected(t){return t===this.selection}}return(n=s).type="toggle",n.\u0275fac=(()=>{let l;return function(o){return(l||(l=e.xGo(n)))(o||n)}})(),n.\u0275cmp=e.VBU({type:n,selectors:[["storefront-toggle"]],standalone:!1,features:[e.Jv_([c.B]),e.Vt3],decls:1,vars:1,consts:[[1,"toggle-entry",3,"selected","storefrontTranslate"],[1,"toggle-entry",3,"click","storefrontTranslate"]],template:function(t,o){1&t&&e.DNE(0,G,2,0),2&t&&e.vxM(o.entries?0:-1)},dependencies:[d.M],styles:["storefront-toggle,.pxp-toggle{display:flex}storefront-toggle .toggle-entry,.pxp-toggle .toggle-entry{flex:1 1 0;text-align:center;padding:calc(var(--gutter) / 4) var(--gutter);white-space:nowrap}storefront-toggle .toggle-entry.selected,.pxp-toggle .toggle-entry.selected{background-color:var(--primaryColor)}\n"],encapsulation:2}),s})();const L=["class","pxp-toggle"];function S(n,s){if(1&n){const l=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){const o=e.eBV(l).$implicit,a=e.XpG(2);return e.Njj(a.setSelection(o))}),e.k0s()}if(2&n){const l=s.$implicit,t=e.XpG(2);e.AVh("selected",t.isSelected(l)),e.Y8G("storefrontTranslate",l.name)}}function X(n,s){if(1&n&&e.Z7z(0,S,1,3,"div",0,e.fX1),2&n){const l=e.XpG();e.Dyx(l.entries)}}let A=(()=>{var n;class s extends u{}return(n=s).\u0275fac=(()=>{let l;return function(o){return(l||(l=e.xGo(n)))(o||n)}})(),n.\u0275cmp=e.VBU({type:n,selectors:[["div",8,"pxp-toggle"]],standalone:!1,features:[e.Jv_([c.B]),e.Vt3],attrs:L,decls:1,vars:1,consts:[[1,"toggle-entry",3,"selected","storefrontTranslate"],[1,"toggle-entry",3,"click","storefrontTranslate"]],template:function(t,o){1&t&&e.DNE(0,X,2,0),2&t&&e.vxM(o.entries?0:-1)},dependencies:[d.M],styles:["storefront-toggle,.pxp-toggle{display:flex}storefront-toggle .toggle-entry,.pxp-toggle .toggle-entry{flex:1 1 0;text-align:center;padding:calc(var(--gutter) / 4) var(--gutter);white-space:nowrap}storefront-toggle .toggle-entry.selected,.pxp-toggle .toggle-entry.selected{background-color:var(--primaryColor)}\n"],encapsulation:2}),s})(),N=(()=>{var n;class s{}return(n=s).\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[C.MD]}),s})();const B={component:u,leanDomComponent:A}}}]);

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.