PageSourceSearch

https://quicksw.com/_next/static/chunks/pages/[categories]/[slug]-142f03845734febf.js

js quicksw.com collected 2026-10-07 06:01:04 UTC 7,401 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3052],{900:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[categories]/[slug]",function(){return n(6942)}])},1300:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var s=n(5893),l=n(9008),r=n.n(l);function a(e){let{children:t,siteName:n}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r(),{children:(0,s.jsxs)("title",{children:[n," - Quiz"]})}),(0,s.jsx)("main",{className:"flex flex-col min-h-screen lg:w-full lg:h-screen lg:mr-0 lg:mb-0 lg:p-0 w-screen h-screen pt-6 px-5 pb-4 box-border overflow-x-hidden overflow-y-auto will-change-scroll bg-container",children:t})]})}},6942:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return U},default:function(){return B}});var s=n(5893),l=n(1300),r=n(4706),a=n(6238),o=n(5430),i=n(7294);function c(e){var t;let{cmsName:n,post:c}=e,[u,d]=(0,i.useState)(),[g,m]=(0,i.useState)();return(0,i.useEffect)(()=>{c.blocks.length>1&&(d(c.blocks[0]),m(c.blocks.slice(1))),1===c.blocks.length&&d(c.blocks[0])},[]),(0,s.jsx)(l.Z,{siteName:n,children:(0,s.jsx)("section",{className:"text-base flex-1 mx-auto box-content lg:flex lg:flex-col lg:justify-center lg:items-center lg:py-12 max-w-4xl",children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Z,{title:c.title,subtitle:null===(t=c.blocks)||void 0===t?void 0:t.find(e=>"lazyblock/subtitle"===e.name),coverImage:c.featuredImage,date:c.date,author:c.author,categories:c.categories}),u&&(0,s.jsx)(o.Z,{content:c.content,blocks:[u],isAlternativePage:!0}),(0,s.jsx)(a.default,{}),g&&(0,s.jsx)(o.Z,{content:c.content,blocks:g,isAlternativePage:!0})]})})})}var u=n(4207),d=n(6935),g=n(1814),m=n(9631),f=n(6102),h=n(2116),x=n(9008),p=n.n(x),v=n(1163),w=n(5152),j=n.n(w),b=n(4406),_=n(6362),k=n(4298),S=n.n(k);let y=n(5202).mda_params,I="_gcl_aw",P="GCL_AW_P",A="alt_gclid_seen",N="alt_gclid_session",Z="utm_version",E=()=>"1"===new URLSearchParams(window.location.search).get("alt_debug")?(localStorage.setItem("alt_debug","1"),!0):"1"===localStorage.getItem("alt_debug"),F=(e,t)=>{E()&&console.log("[alt] ".concat(e),null!=t?t:"")},C=e=>{if("undefined"==typeof document)return"";let t="".concat(e,"="),n=document.cookie.split("; ").find(e=>e.startsWith(t));return n?decodeURIComponent(n.slice(t.length)):""},O=()=>{let e=C(I)||C(P);if(!e)return"";let t=e.split(".");return t.length<3||!t[2]?"":e},z=()=>"undefined"==typeof document?[]:document.cookie.split("; ").filter(e=>[I,P].some(t=>e.startsWith("".concat(t,"=")))),L=()=>{try{let e=JSON.parse(sessionStorage.getItem(Z)||"[]");return Array.isArray(e)?e:[]}catch(e){return[]}},R=async e=>{let t=sessionStorage.getItem(N),n=O();if(t&&t===n)return F("wall1 pass (session already authorized)",{cookie:n}),!0;let s=localStorage.getItem(A)||localStorage.getItem("alt_gclid_used");F("wall1 polling",{cookieAtMount:n||"(absent/invalid)",seen:s||"(none)",session:t||"(none)",timeoutMs:2e3});let l=n,r=Date.now(),a=r+2e3;for(;(!l||l===s)&&Date.now()<a;){if(await new Promise(e=>setTimeout(e,250)),e())return F("wall1 cancelled mid-poll"),!1;l=O()}let o=Date.now()-r;return l&&l!==s?(F("wall1 PASS — new click, session authorized, utm_version reset",{waitedMs:o,cookie:l,previousSeen:s||"(none)",clearedUtmVersion:sessionStorage.getItem(Z)||"(empty)"}),localStorage.setItem(A,l),sessionStorage.setItem(N,l),sessionStorage.removeItem(Z),!0):(F("wall1 BLOCK — no new click",{waitedMs:o,reason:l?"cookie still equals seen":"cookie absent/invalid",cookie:l||"(absent/invalid)",seen:s||"(none)"}),!1)};var U=!0;function B(e){var t,l,x,w;let{post:k,posts:I,preview:P,blocks:A,slug:N,previewData:E,alternativePost:C,alternativeAppearanceFee:O=0,subtitle:U}=e,[B,T]=(0,i.useState)(!1),[V,q]=(0,i.useState)(void 0),K=(0,v.useRouter)();K.asPath.replace(/[^a-zA-Z0-9_-]/g,"_");let D=null!==(t=y.hiddenPosts)&&void 0!==t?t:[],G=(null!==(l=null==I?void 0:I.edges)&&void 0!==l?l:[]).filter(e=>{var t;return!D.includes(null==e?void 0:null===(t=e.node)||void 0===t?void 0:t.slug)}),J=D.includes(N),[M,W]=(0,i.useState)(!1),X=(0,i.useRef)(!1),Q=async e=>{if(F("run start",{slug:N,hasAlternativePost:!!C,alternativeSlug:null==C?void 0:C.slug,appearanceFee:O,cookiesFound:z()}),!C){F("BLOCK — no alternativePost in props (slug has no mapping)"),q(!1);return}if(X.current)return;let t=Math.random();if(t>=O){F("wall0 BLOCK — lost appearance draw",{draw:t,fee:O}),q(!1);return}
1F("wall0 pass — won appearance draw",{draw:t,fee:O});let n=await R(e);if(e()||X.current){F("run discarded (cancelled or already activated)");return}if(!n){q(!1);return}let s=L();if(s.includes(N)){F("wall2 BLOCK — slug already shown in this session",{shownSlugs:s}),q(!1);return}F("ACTIVATE — rendering alternative post",{slug:N,alternativeSlug:null==C?void 0:C.slug,shownSlugsBefore:s}),X.current=!0,q(!0)};(0,i.useEffect)(()=>{y.ads_script&&document.querySelectorAll('script[id^="av-script-"]').forEach(e=>e.remove())},[K.asPath]),(0,i.useEffect)(()=>{(0,_.k)(y),T(!0)},[]),(0,i.useEffect)(()=>{if(!B||K.isFallback)return;let e=!1;return X.current=!1,q(void 0),Q(()=>e),()=>{e=!0}},[B,N]),(0,i.useEffect)(()=>{if(!V||!C)return;let e=L();if(e.includes(N))return;let t=[...e,N];sessionStorage.setItem(Z,JSON.stringify(t)),F("rendered — utm_version recorded",{shownSlugs:t})},[V,C,N]),(0,i.useEffect)(()=>{if(K.isFallback)return;let{is_debug_components:e}=K.query;e&&"true"==e&&W(!0)},[K]);let H=j()(()=>n.e(3911).then(n.bind(n,3911)),{loadableGenerated:{webpack:()=>[3911]},loading:()=>(0,s.jsx)(s.Fragment,{})});return K.isFallback?(0,s.jsx)("div",{className:"fixed inset-0 bg-white flex flex-col items-center justify-center z-[999999]",children:(0,s.jsx)(b.Z,{size:"md"})}):V&&C?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z,{}),(0,s.jsx)(c,{post:C,cmsName:y.cms_name})]}):V?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(g.Z,{preview:P,children:[(0,s.jsx)(u.Z,{}),(0,s.jsx)(d.Z,{children:K.isFallback?(0,s.jsx)(m.Z,{children:"Loading…"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("article",{className:"mx-auto max-w-4xl py-0 md:py-5 w-full",children:[(0,s.jsxs)(p(),{children:[(0,s.jsx)("title",{children:y.cms_name}),J&&(0,s.jsx)("meta",{name:"robots",content:"noindex"}),(0,s.jsx)("meta",{property:"og:image",content:null===(x=k.featuredImage)||void 0===x?void 0:x.node.sourceUrl}),(0,s.jsx)("script",{src:"/redirectFromOw.js"})]}),(0,s.jsx)(S(),{src:"".concat(y.ads_script,"?v=").concat(encodeURIComponent(K.asPath)),strategy:"afterInteractive",onLoad:()=>{console.log("[AV] script loaded for",K.asPath),console.log("[AV] script tag:",document.querySelector('script[src*="'.concat(encodeURIComponent(K.asPath),'"]')))},onError:e=>{console.error("[AV] script failed",K.asPath,e)}},K.asPath),(0,s.jsx)(r.Z,{title:k.title,subtitle:U,coverImage:k.featuredImage,date:k.date,author:k.author,categories:k.categories}),B&&y.ads_script&&y.ads_script.length>0&&!(null===(w=k.blocks)||void 0===w?void 0:w.find(e=>"lazyblock/ads-block"===e.name||"lazyblock/ads-top-remove"===e.name))&&(0,s.jsx)(a.default,{}),M&&(0,s.jsx)("div",{className:"my-4",children:(0,s.jsx)("pre",{children:JSON.stringify(A,null,2)})}),(0,s.jsx)(o.Z,{content:k.content,blocks:A,isAlternativePage:!1}),(0,s.jsx)("footer",{children:k.tags.edges.length>0&&(0,s.jsx)(h.Z,{tags:k.tags})}),(0,s.jsx)(f.Z,{})]}),G.length>0&&(0,s.jsx)(H,{posts:G})]})})]})}}},function(e){e.O(0,[900,6362,7924,9774,2888,179],function(){return e(e.s=900)}),_N_E=e.O()}]);

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.