PageSourceSearch

https://omni.se/_next/static/chunks/2aiqr4dh-kz7z.js

js omni.se collected 2026-10-01 10:29:46 UTC 31,241 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77636,97326,97786,89917,47195,e=>{"use strict";function t(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function r(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}e.s(["_",0,t],97326),e.s(["_",0,function(e,r){var n=t(e,r,"get");return n.get?n.get.call(e):n.value}],77636),e.s(["_",0,r],97786),e.s(["_",0,function(e,t,n){r(e,t),t.set(e,n)}],89917),e.s(["_",0,function(e,r,n){var i=t(e,r,"set");if(i.set)i.set.call(e,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}return n}],47195)},4411,23440,e=>{"use strict";e.s(["_",0,function(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}],4411);var t=e.i(97786);e.s(["_",0,function(e,r){(0,t._)(e,r),r.add(e)}],23440)},61890,e=>{"use strict";var t,r=e.i(29361),n=(t=()=>r.isServer,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,n])},79174,e=>{"use strict";var t,r,n,i=e.i(77636),s=e.i(89917),o=e.i(47195),a=e.i(90413),l=new(t=new WeakMap,r=new WeakMap,n=new WeakMap,class extends a.Subscribable{onSubscribe(){(0,i._)(this,r)||this.setEventListener((0,i._)(this,n))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=(0,i._)(this,r))||e.call(this),(0,o._)(this,r,void 0))}setEventListener(e){var t;(0,o._)(this,n,e),null==(t=(0,i._)(this,r))||t.call(this),(0,o._)(this,r,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){(0,i._)(this,t)!==e&&((0,o._)(this,t,e),this.onFocus())}onFocus(){var e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof(0,i._)(this,t)?(0,i._)(this,t):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),(0,s._)(this,t,{writable:!0,value:void 0}),(0,s._)(this,r,{writable:!0,value:void 0}),(0,s._)(this,n,{writable:!0,value:void 0}),(0,o._)(this,n,e=>{if("u">typeof window&&window.addEventListener){var t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}});e.s(["focusManager",0,l])},32983,95566,47882,e=>{"use strict";var t,r,n,i,s,o,a=e.i(38682),l=e.i(77636),u=e.i(89917),c=e.i(47195),d=e.i(4411),h=e.i(23440),v=e.i(20778),m=e.i(84622),f=e.i(8521),g=e.i(29361),y=e.i(61890),p=e.i(79174),_=e.i(31705);function b(e){return Math.min(1e3*Math.pow(2,e),3e4)}function w(e){return(null!=e?e:"online")!=="online"||_.onlineManager.isOnline()}var S=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function T(e){var t,r,n,i=!1,s=0,o="pending",a=new Promise((e,t)=>{r=e,n=t});a.catch(g.noop);var l=()=>p.focusManager.isFocused()&&("always"===e.networkMode||_.onlineManager.isOnline())&&e.canRun(),u=()=>w(e.networkMode)&&e.canRun(),c=e=>{"pending"===o&&(null==t||t(),o="resolved",r(e))},d=e=>{"pending"===o&&(null==t||t(),o="rejected",n(e))},h=()=>new Promise(r=>{var n;t=e=>{("pending"!==o||l())&&r(e)},null==(n=e.onPause)||n.call(e)}).then(()=>{var r;t=void 0,"pending"===o&&(null==(r=e.onContinue)||r.call(e))}),v=()=>{if("pending"===o){var t,r=0===s?e.initialPromise:void 0;try{t=null!=r?r:e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{if("pending"===o){var r,n,a,u=null!=(r=e.retry)?r:3*!y.environmentManager.isServer(),c=null!=(n=e.retryDelay)?n:b,m="function"==typeof c?c(s,t):c,f=!0===u||"number"==typeof u&&s<u||"function"==typeof u&&u(s,t);if(i||!f)return void d(t);s++,null==(a=e.onFail)||a.call(e,s,t),(0,g.sleep)(m).then(()=>l()?void 0:h()).then(()=>{i?d(t):v()})}})}};return{promise:a,status:()=>o,cancel:t=>{if("pending"===o){var r,n=new S(t);d(n),null==(r=e.onCancel)||r.call(e,n)}},continue:()=>(null==t||t(),a),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:u,start:()=>(u()?v():h().then(v),a)}}e.s(["CancelledError",0,S,"canFetch",0,w,"createRetryer",0,T],95566);var P=e.i(87010),M=(t=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,g.isValidTimeout)(this.gcTime)&&(0,c._)(this,t,P.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!=e?e:y.environmentManager.isServer()?1/0:3e5)}clearGcTimeout(){void 0!==(0,l._)(this,t)&&(P.timeoutManager.clearTimeout((0,l._)(this,t)),(0,c._)(this,t,void 0))}constructor(){(0,u._)(this,t,{writable:!0,value:void 0})}});e.s(["Removable",0,M],47882);var E=(r=new WeakMap,n=new WeakMap,i=new WeakMap,s=new WeakMap,o=new WeakSet,class extends M{setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){(0,l._)(this,n).includes(e)||((0,l._)(this,n).push(e),this.clearGcTimeout(),(0,l._)(this,i).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){(0,c._)(this,n,(0,l._)(this,n).filter(t=>t!==e)),this.scheduleGc(),(0,l._)(this,i).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){(0,l._)(this,n).length||("pending"===this.state.status?this.scheduleGc():(0,l._)(this,i).remove(this))}continue(){var e,t;return null!=(e=null==(t=(0,l._)(this,s))?void 0:t.continue())?e:"pending"===this.state.status?this.execute(this.state.variables):Promise.resolve()}execute(e){return(0,a._)(function*(){var t,n,a,u,h,v,m,f,g=()=>{(0,d._)(this,o,O).call(this,{type:"continue"})},y={client:(0,l._)(this,r),meta:this.options.meta,mutationKey:this.options.mutationKey},p=(0,c._)(this,s,T({fn:()=>this.options.mutationFn?this.options.mutationFn(e,y):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{(0,d._)(this,o,O).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{(0,d._)(this,o,O).call(this,{type:"pause"})},onContinue:g,retry:null!=(w=this.options.retry)?w:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>(0,l._)(this,i).canRun(this)})),_="pending"===this.state.status,b=!p.canStart();try{if(_)g();else{(0,d._)(this,o,O).call(this,{type:"pending",variables:e,isPaused:b}),(0,l._)(this,i).config.onMutate&&(yield(0,l._)(this,i).config.onMutate(e,this,y));var w,S,P,M,E,k,I,C,j,x,A,L=yield null==(x=(A=this.options).onMutate)?void 0:x.call(A,e,y);L!==this.state.context&&(0,d._)(this,o,O).call(this,{type:"pending",context:L,variables:e,isPaused:b})}var N=yield p.start();return yield null==(S=(P=(0,l._)(this,i).config).onSuccess)?void 0:S.call(P,N,e,this.state.context,this,y),yield null==(M=(E=this.options).onSuccess)?void 0:M.call(E,N,e,this.state.context,y),yield null==(k=(I=(0,l._)(this,i).config).onSettled)?void 0:k.call(I,N,null,this.state.variables,this.state.context,this,y),yield null==(C=(j=this.options).onSettled)?void 0:C.call(j,N,null,e,this.state.context,y),(0,d._)(this,o,O).call(this,{type:"success",data:N}),N}catch(r){try{yield null==(t=(n=(0,l._)(this,i).config).onError)?void 0:t.call(n,r,e,this.state.context,this,y)}catch(e){Promise.reject(e)}try{yield null==(a=(u=this.options).onError)?void 0:a.call(u,r,e,this.state.context,y)}catch(e){Promise.reject(e)}try{yield null==(h=(v=(0,l._)(this,i).config).onSettled)?void 0:h.call(v,void 0,r,this.state.variables,this.state.context,this,y)}catch(e){Promise.reject(e)}
1try{yield null==(m=(f=this.options).onSettled)?void 0:m.call(f,void 0,r,e,this.state.context,y)}catch(e){Promise.reject(e)}throw(0,d._)(this,o,O).call(this,{type:"error",error:r}),r}finally{(0,l._)(this,s)===p&&(0,c._)(this,s,void 0),(0,l._)(this,i).runNext(this)}}).call(this)}constructor(e){super(),(0,h._)(this,o),(0,u._)(this,r,{writable:!0,value:void 0}),(0,u._)(this,n,{writable:!0,value:void 0}),(0,u._)(this,i,{writable:!0,value:void 0}),(0,u._)(this,s,{writable:!0,value:void 0}),(0,c._)(this,r,e.client),this.mutationId=e.mutationId,(0,c._)(this,i,e.mutationCache),(0,c._)(this,n,[]),this.state=e.state||k(),this.setOptions(e.options),this.scheduleGc()}});function k(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}function O(e){this.state=(t=>{switch(e.type){case"failed":return(0,m._)((0,v._)({},t),{failureCount:e.failureCount,failureReason:e.error});case"pause":return(0,m._)((0,v._)({},t),{isPaused:!0});case"continue":return(0,m._)((0,v._)({},t),{isPaused:!1});case"pending":return(0,m._)((0,v._)({},t),{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()});case"success":return(0,m._)((0,v._)({},t),{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return(0,m._)((0,v._)({},t),{data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"})}})(this.state),f.notifyManager.batch(()=>{(0,l._)(this,n).forEach(t=>{t.onMutationUpdate(e)}),(0,l._)(this,i).notify({mutation:this,type:"updated",action:e})})}e.s(["Mutation",0,E,"getDefaultState",0,k],32983)},8521,e=>{"use strict";var t,r,n,i,s,o,a=e.i(87010).systemSetTimeoutZero,l=(t=[],r=0,n=e=>{e()},i=e=>{e()},s=a,{batch:e=>{var o,a;r++;try{o=e()}finally{--r||(a=t,t=[],a.length&&s(()=>{i(()=>{a.forEach(e=>{n(e)})})}))}return o},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];o(()=>{e(...r)})},schedule:o=e=>{r?t.push(e):s(()=>{n(e)})},setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{s=e}});e.s(["notifyManager",0,l])},31705,e=>{"use strict";var t,r,n,i=e.i(77636),s=e.i(89917),o=e.i(47195),a=e.i(90413),l=new(t=new WeakMap,r=new WeakMap,n=new WeakMap,class extends a.Subscribable{onSubscribe(){(0,i._)(this,r)||this.setEventListener((0,i._)(this,n))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=(0,i._)(this,r))||e.call(this),(0,o._)(this,r,void 0))}setEventListener(e){var t;(0,o._)(this,n,e),null==(t=(0,i._)(this,r))||t.call(this),(0,o._)(this,r,e(this.setOnline.bind(this)))}setOnline(e){(0,i._)(this,t)!==e&&((0,o._)(this,t,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return(0,i._)(this,t)}constructor(){super(),(0,s._)(this,t,{writable:!0,value:!0}),(0,s._)(this,r,{writable:!0,value:void 0}),(0,s._)(this,n,{writable:!0,value:void 0}),(0,o._)(this,n,e=>{if("u">typeof window&&window.addEventListener){var t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});e.s(["onlineManager",0,l])},29361,87010,90413,e=>{"use strict";var t,r,n=e.i(77636),i=e.i(89917),s=e.i(47195),o={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},a=new(t=new WeakMap,r=new WeakMap,class{setTimeoutProvider(e){(0,s._)(this,t,e)}setTimeout(e,r){return(0,n._)(this,t).setTimeout(e,r)}clearTimeout(e){(0,n._)(this,t).clearTimeout(e)}setInterval(e,r){return(0,n._)(this,t).setInterval(e,r)}clearInterval(e){(0,n._)(this,t).clearInterval(e)}constructor(){(0,i._)(this,t,{writable:!0,value:o}),(0,i._)(this,r,{writable:!0,value:!1})}});e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,a],87010);var l="u"<typeof window||"Deno"in globalThis;function u(e,t){return((null==t?void 0:t.queryKeyHashFn)||c)(e)}function c(e){return JSON.stringify(e,(e,t)=>m(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function d(e,t){if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){for(var r=0;r<t.length;r++)if(!d(e[r],t[r]))return!1;return!0}for(var n of Object.keys(t))if(!d(e[n],t[n]))return!1;return!0}return!1}var h=Object.prototype.hasOwnProperty;function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function m(e){if(!f(e))return!1;var t=e.constructor;if(void 0===t)return!0;var r=t.prototype;return!!f(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function f(e){return"[object Object]"===Object.prototype.toString.call(e)}var g=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,r){var n,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(null!=n||(n=t()),i||(i=!0,n.aborted?r():n.addEventListener("abort",r,{once:!0})),n)}),e},"addToEnd",0,function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n},"addToStart",0,function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n},"ensureQueryFn",0,function(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==g?e.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(e.queryHash,"'")))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,c,"hashQueryKeyByOptions",0,u,"isServer",0,l,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"matchMutation",0,function(e,t){var{exact:r,status:n,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(r){if(c(t.options.mutationKey)!==c(s))return!1}else if(!d(t.options.mutationKey,s))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))},"matchQuery",0,function(e,t){var{type:r="all",exact:n,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(n){if(t.queryHash!==u(o,t.options))return!1}else if(!d(t.queryKey,o))return!1}if("all"!==r){var l=t.isActive();if("active"===r&&!l||"inactive"===r&&l)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(!i||i===t.state.fetchStatus)&&(!s||!!s(t))},"noop",0,function(){},"partialMatchKey",0,d,"replaceData",0,function(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t===r)return t;if(n>500)return r;var i=v(t)&&v(r);if(!i&&!(m(t)&&m(r)))return r;for(var s=(i?t:Object.keys(t)).length,o=i?r:Object.keys(r),a=o.length,l=i?Array(a):{},u=0,c=0;c<a;c++){var d=i?c:o[c],f=t[d],g=r[d];if(f===g){l[d]=f,(i?c<s:h.call(t,d))&&u++;continue}if(null===f||null===g||"object"!=typeof f||"object"!=typeof g){l[d]=g;continue}var y=e(f,g,n+1);l[d]=y,y===f&&u++}return s===a&&u===s?t:l}(e,t):t},"resolveQueryBoolean",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,g,"sleep",0,function(e){return new Promise(t=>{a.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],29361),e.s(["Subscribable",0,class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}}],90413)},81788,e=>{"use strict";var t=e.i(15265),r=e.i(76510),n=t.createContext(void 0);e.s(["QueryClientProvider",0,e=>{var{client:i,children:s}=e;return t.useEffect(()=>(i.mount(),()=>{i.unmount()}),[i]),(0,r.jsx)(n.Provider,{value:i,children:s})},"useQueryClient",0,e=>{var r=t.useContext(n);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r}])},30210,e=>{"use strict";e.s(["queryOptions",0,function(e){return e}])},26169,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});var s=e.r(36437),o=e.r(45144),a=e.r(15666),l=s._(e.r(86262));function u(e){var{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(var[r,n]of Object.entries(t))void 0===n&&delete t[r];return{props:t}}var c=a.Image},71521,(e,t,r)=>{t.exports=e.r(26169)},35411,14051,e=>{"use strict";var t=e.i(15265),r=e=>{var t,r=new Set,n=(e,n)=>{var i="function"==typeof e?e(t):e;if(!Object.is(i,t)){var s=t;t=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},t,i),r.forEach(e=>e(t,s))}},i=()=>t,s={setState:n,getState:i,getInitialState:()=>o,subscribe:e=>(r.add(e),()=>r.delete(e))},o=t=e(n,i,s);return s},n=e=>e?r(e):r;e.s(["createStore",0,n],14051);var i=e=>e,s=e=>{var r=n(e),s=e=>(function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,n=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>r(e.getState()),[e,r]),t.default.useCallback(()=>r(e.getInitialState()),[e,r]));return t.default.useDebugValue(n),n})(r,e);return Object.assign(s,r),s};e.s(["create",0,e=>e?s(e):s],35411)},98754,e=>{"use strict";var t=e.i(38682),r=e.i(20778),n=e.i(84622),i=e.i(30210),s=e.i(58270),o=e.i(71989),a=e.i(15320),l=e.i(49665),u={all:["ads"],consent:()=>[...u.all,"consent"],geoTracking:e=>{var{isLoggedIn:t,userId:r,sig:n,pathname:i}=e;return[...u.all,"geo-tracking",{isLoggedIn:t,userId:r,sig:n,pathname:i}]},glimrKeywords:e=>[...u.all,"glimr-keywords",{canUseGlimr:e}]},c=()=>(0,i.queryOptions)({queryKey:u.consent(),staleTime:3e5,gcTime:3e5,queryFn:()=>(0,t._)(function*(){var[e,t,r]=yield Promise.all([(0,s.getTcfPermission)("CMP:marketing"),(0,s.getTcfPermission)("CMP:advertising"),(0,s.isConsentToAll)()]),n=!!t,i=!!r;return{advertisingConsent:n,consentToAds:!!(i||n),consentToAll:i,marketingConsent:!!e}})()}),d=e=>{var{isLoggedIn:r,pathname:n,sig:s,userId:o}=e,l=null!=n?n:window.location.pathname;return(0,i.queryOptions)({queryKey:u.geoTracking({isLoggedIn:r,pathname:l,sig:s,userId:o}),staleTime:3e5,gcTime:3e5,queryFn:()=>(0,t._)(function*(){return(0,a.getGeoTrackingPermission)(r,o,s)})()})};e.s(["adConsentQueryOptions",0,c,"adGeoTrackingQueryOptions",0,d,"adGlimrKeywordsQueryOptions",0,e=>(0,i.queryOptions)({queryKey:u.glimrKeywords(e),staleTime:864e5,gcTime:864e5,queryFn:()=>(0,t._)(function*(){return(0,l.getGlimrKeywords)(e)})()}),"getAdTargetingPrerequisites",0,(e,i)=>(0,t._)(function*(){var t=yield e.ensureQueryData(c());if(!t.consentToAds)return(0,n._)((0,r._)({},t),{geoTracking:!1});var{sig:s,userId:a}=yield(0,o.getIdentitySession)(i),l=yield e.ensureQueryData(d({isLoggedIn:i,sig:s,userId:a}));return(0,n._)((0,r._)({},t),{geoTracking:l})})()])},15320,e=>{"use strict";var t=e.i(38682),r=e.i(51956),n=e.i(62490),i=new Map,s=new Map,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.some(e=>"sdrn:schibsted:datacategory:geolocation"===e)},a=new Set(["sdrn:schibsted.com:processingpurpose:targeted_advertising","sdrn:spid.no:processingpurpose:targeted_advertising","sdrn:schibsted:processingpurpose:targeted_advertising","sdrn:schibsted.fi:processingpurpose:targeted_advertising","sdrn:schibsted.dk:processingpurpose:targeted_advertising"]);e.s(["getGeoTrackingPermission",0,(e,l,u)=>(0,t._)(function*(){try{let h;if(!window)return!1;if(!e)return!0;if(!l)return!1;var c,d=yield(h="sdrn:schibsted.com:user:".concat(l),(0,t._)(function*(){var e=(e=>{if(!/^sdrn:(spid\.no|schibsted\.com):user:(.+)$/.test(e))throw Error("Invalid user sdrn: ".concat(e));return e})(h),o=(e=>{var t="u">typeof document?(0,n.getClientCookie)(r.spidCookieName):null;if(t)return"Bearer ".concat(t);if(e)return"SPIDSIG ".concat(e);throw Error("Missing user authorization")})(u),a="".concat("https://user-permissions.privacy.schibsted.com/privacy/v2","/schacc/").concat("omnise","/user/").concat(e,"/permissions"),l="".concat(a,":").concat(o),c=s.get(l);if(c&&Date.now()-c.timestamp<3e5)return c.data;var d=i.get(l);if(d)return d;var v=(0,t._)(function*(){try{var e=yield fetch(a,{headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:o},cache:"default"});if(!e.ok)return{data:null,error:{status:e.status,statusText:e.statusText,message:"Failed to fetch user permissions ".concat(e.status," ").concat(e.statusText)}};var t={data:yield e.json(),error:null};return s.set(l,{data:t,timestamp:Date.now()}),t}catch(e){return{data:null,error:{message:e.message}}}finally{i.delete(l)}})();return i.set(l,v),v})());if(!d.data)return!1;return((null==(c=d.data)?void 0:c.permissions)||[]).some(e=>a.has(e.purpose)&&o(e.data))}catch(e){return console.error("getGeoTrackingPermission: Failed to get geo tracking permission",e),!1}})()],15320)},49665,e=>{"use strict";var t=e.i(38682),r=e.i(20778),n="glimrTags",i=["glwe_","glwet_"],s=null,o=null,a=e=>s?s.expiresAt<=e?(s=null,null):s.tags:null,l=e=>[...new Set(e)];e.s(["getGlimrKeywords",0,u=>(0,t._)(function*(){var c=yield(0,t._)(function*(){if(!u)return null;var r=(()=>{var e=Date.now();try{var t=window.localStorage.getItem(n);if(!t)return a(e);var r=JSON.parse(t);if(!Array.isArray(r.tags)||"number"!=typeof r.expiresAt)return window.localStorage.removeItem(n),a(e);if(r.expiresAt<=e)return window.localStorage.removeItem(n),s=null,null;return(s={expiresAt:r.expiresAt,tags:r.tags.filter(e=>e.length>0)}).tags}catch(t){return a(e)}})();return r?r:o?o:o=(0,t._)(function*(){var r=yield(0,t._)(function*(){return Promise.race([(0,t._)(function*(){return(yield e.A(66975)).default})(),new Promise(e=>setTimeout(()=>e(null),500))])})();if(!r)return null;try{r.setTagCacheTimeInSeconds(300)}catch(e){}return new Promise(e=>{var t=!1,n=r=>{t||(t=!0,clearTimeout(i),e(r))},i=window.setTimeout(()=>n(null),500);try{r.getTags("AM3UZB2HBZHD9R7M55JS",e=>{n(Array.isArray(e)?e.filter(e=>e.length>0):[])})}catch(e){n(null)}})})().then(e=>(e&&(e=>{var t=e.filter(e=>e.length>0),r={expiresAt:Date.now()+864e5,tags:t};s=r;try{window.localStorage.setItem(n,JSON.stringify(r))}catch(e){}})(e),e)).catch(()=>null).finally(()=>{o=null})})();if(!c)return{};if(!c.length)return{};var d=[],h=[],v=[];
1return c.forEach(e=>{i.some(t=>e.startsWith(t))?d.push(e):e.startsWith("glgc_se_")?h.push(e):v.push(e)}),(0,r._)({},d.length>0?{"se-generic-weather":l(d)}:{},h.length>0?{"se-generic-geofence":l(h)}:{},v.length>0?{"se-generic-geo":l(v)}:{})})()])},51956,e=>{"use strict";var t=e.i(50057);t.default.env.NEXT_PUBLIC_SETTINGS_COOKIE_NAME,t.default.env.NEXT_PUBLIC_SETTINGS_ANONYMOUS_COOKIE_NAME,t.default.env.NEXT_PUBLIC_PREMIUM_ACCESS_TOKEN_NAME,e.s(["spidCookieName",0,"id-jwt"])},61928,e=>{"use strict";function t(e){var t={};function r(){try{var t="__some_random_key_you_are_not_going_to_use__";return e().setItem(t,t),e().removeItem(t),!0}catch(e){return!1}}return{getItem:function(n){return r()?e().getItem(n):Object.prototype.hasOwnProperty.call(t,n)?t[n]:null},setItem:function(n,i){r()?e().setItem(n,i):t[n]=String(i)},removeItem:function(n){r()?e().removeItem(n):delete t[n]},clear:function(){r()?e().clear():t={}},key:function(n){return r()?e().key(n):Object.keys(t)[n]||null},get length(){return r()?e().length:Object.keys(t).length}}}var r=t(()=>localStorage),n=t(()=>sessionStorage);e.s(["UseLocalStorage",0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage",t="sessionStorage"===e?n:r;return{get:e=>{var r;return(r=t.getItem(e))?JSON.parse(r):null},set:(e,r)=>{t.setItem(e,JSON.stringify(r))},remove:e=>{t.removeItem(e)},clear:()=>t.clear()}}],61928)},44198,e=>{e.v({backdrop:"useModal-module-scss-module__roB86W__backdrop",content:"useModal-module-scss-module__roB86W__content"})},77158,e=>{"use strict";var t=e.i(76510),r=e.i(15265),n=e.i(93663),i=e.i(44198),s=e.i(28442);e.s(["useModal",0,()=>{var[e,o]=(0,r.useState)(!1),a=(0,r.useRef)(null),l=(0,r.useCallback)(e=>{e.stopPropagation(),o(!0)},[]),u=(0,r.useCallback)(e=>{e.stopPropagation(),e.preventDefault(),o(!1)},[]);return(0,r.useEffect)(()=>{var t,r,n=e=>{"Escape"===e.code&&u(e)};return e&&(null==a||null==(r=a.current)||r.focus(),document.addEventListener("keydown",n),t=(0,s.acquireDocumentScrollLock)()),()=>{document.removeEventListener("keydown",n),null==t||t()}},[a,e,u]),{ModalWrapper:e=>{var{children:r}=e;return(0,n.createPortal)((0,t.jsxs)("div",{id:"generalModal",className:"modal",children:[(0,t.jsx)("div",{className:i.default.backdrop,onClick:u}),(0,t.jsx)("div",{className:i.default.content,children:r})]}),document.getElementById("general-modal-container"))},isOpen:e,ref:a,open:l,close:u}}])},27759,e=>{"use strict";let t,r;var n=e.i(20778),i=e.i(84622),s=e.i(35411);function o(e,t){var r;try{r=e()}catch(e){return}return{getItem:e=>{var n,i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),s=null!=(n=r.getItem(e))?n:null;return s instanceof Promise?s.then(i):i(s)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}e.i(47990);var a=e=>t=>{try{var r=e(t);if(r instanceof Promise)return r;return{then:e=>a(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>a(t)(e)}}},l=e.i(28442),u=(0,s.create)()((t=(e,t)=>({isModalOpen:!1,getIsModalOpen:()=>{var{isModalOpen:e}=t();return e},setModalReferer:t=>e(e=>(0,i._)((0,n._)({},e),{modalReferer:t})),setModalIsOpen:t=>{t||(0,l.setDocumentScrollLocked)(!1),e(e=>(0,i._)((0,n._)({},e),{isModalOpen:t}))},openModal:t=>{(0,l.setDocumentScrollLocked)(!0),e(e=>void 0===e.modalReferer?{isModalOpen:!0,modalReferer:t}:(0,i._)((0,n._)({},e),{isModalOpen:!0}))},closeModal:()=>{(0,l.setDocumentScrollLocked)(!1),e(()=>({isModalOpen:!1,modalReferer:void 0}))}}),r={name:"article-modal",storage:o(()=>sessionStorage)},(e,i,s)=>{var l,u=(0,n._)({storage:o(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>(0,n._)({},t,e)},r),c=!1,d=0,h=new Set,v=new Set,m=u.storage;if(!m)return t(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];console.warn("[zustand persist middleware] Unable to update item '".concat(u.name,"', the given storage is currently unavailable.")),e(...r)},i);var f=()=>{var e=u.partialize((0,n._)({},i()));return m.setItem(u.name,{state:e,version:u.version})},g=s.setState;s.setState=(e,t)=>(g(e,t),f());var y=t(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e(...r),f()},i);s.getInitialState=()=>y;var p=()=>
1{if(m){var t,r,n=++d;c=!1,h.forEach(e=>{var t;return e(null!=(t=i())?t:y)});var s=(null==(r=u.onRehydrateStorage)?void 0:r.call(u,null!=(t=i())?t:y))||void 0;return a(m.getItem.bind(m))(u.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===u.version)return[!1,e.state];else{if(u.migrate){var t=u.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(t=>{if(n===d){var r,[s,o]=t;if(e(l=u.merge(o,null!=(r=i())?r:y),!0),s)return f()}}).then(()=>{n===d&&(null==s||s(i(),void 0),l=i(),c=!0,v.forEach(e=>e(l)))}).catch(e=>{n===d&&(null==s||s(void 0,e))})}};return s.persist={setOptions:e=>{u=(0,n._)({},u,e),e.storage&&(m=e.storage)},clearStorage:()=>{++d,null==m||m.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>p(),hasHydrated:()=>c,onHydrate:e=>(h.add(e),()=>{h.delete(e)}),onFinishHydration:e=>(v.add(e),()=>{v.delete(e)})},u.skipHydration||p(),l||y}));e.s(["useArticleModalStore",0,u],27759)},46898,e=>{"use strict";var t=e.i(15265),r=e.i(72703);e.s(["LogoutController",0,e=>{var{shouldLogout:n}=e;return(0,t.useEffect)(()=>{n&&(0,r.logout)()},[n]),null}])},71989,e=>{"use strict";var t=e.i(38682),r=e.i(90304),n={sig:"",userId:""},i=null,s=null;e.s(["getIdentitySession",0,e=>(0,t._)(function*(){var o=window.location.pathname,a=Date.now();if((!i||i.pathname!==o||i.isLoggedIn!==e||a-i.timestamp>3e5)&&(i=null,s=null),i)return i.value;if(s)return s;if(!e){var l={sig:"",userId:""};return i={value:l,isLoggedIn:e,pathname:o,timestamp:a},l}return s=(0,t._)(function*(){try{var t=(0,r.getIdentityInstance)(),l=yield t.hasSession();if(void 0!==l.error)throw Error("Error of type ".concat(l.error.type," with description ").concat(l.error.description," when getting sig"));var u={sig:l.sig,userId:l.userId.toString()};return i={value:u,isLoggedIn:e,pathname:o,timestamp:a},s=null,u}catch(e){return s=null,n}})()})()])},72703,e=>{"use strict";var t=e.i(38682),r=e.i(61928),n=e.i(90304);e.s(["logout",0,()=>(0,t._)(function*(){var e=(0,r.UseLocalStorage)("sessionStorage");try{var i=(0,n.getIdentityInstance)();if(e.clear(),i){try{yield(0,t._)(function*(){try{var e=yield fetch("".concat("https://settings.omni.se","/sessions"),{method:"DELETE",credentials:"include"});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status))}catch(e){throw console.error("Error when deleting sessions: ",e),e}})()}catch(e){console.error("Error when deleting sessions during logout: ",e)}document.cookie="usermix=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;",i.logout(window.location.href)}}catch(e){console.error("Error when logout: ",e)}})()])},28442,e=>{"use strict";var t,r=new Set,n=Symbol("document-scroll-transition"),i=e=>{if(!("u"<typeof document)&&!r.has(e)){if(0===r.size){t={rootHadNoScrollClass:document.documentElement.classList.contains("no-scroll"),bodyHadNoScrollClass:document.body.classList.contains("no-scroll"),bodyMinHeight:document.body.style.minHeight,bodyMinHeightPriority:document.body.style.getPropertyPriority("min-height"),rootScrollBehavior:document.documentElement.style.scrollBehavior,scrollPosition:window.scrollY};var n=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,window.innerHeight);document.body.style.setProperty("min-height","".concat(n,"px")),document.documentElement.classList.add("no-scroll"),document.body.classList.add("no-scroll")}r.add(e)}},s=e=>{if("u">typeof document&&r.delete(e)&&!(r.size>0)){var n=t;if(t=void 0,!n){document.documentElement.classList.remove("no-scroll"),document.body.classList.remove("no-scroll");return}n.rootHadNoScrollClass||document.documentElement.classList.remove("no-scroll"),n.bodyHadNoScrollClass||document.body.classList.remove("no-scroll"),document.body.style.setProperty("min-height",n.bodyMinHeight,n.bodyMinHeightPriority),document.documentElement.style.scrollBehavior="auto",window.scrollTo(0,n.scrollPosition),document.documentElement.style.scrollBehavior=n.rootScrollBehavior}};e.s(["acquireDocumentScrollLock",0,()=>{var e=Symbol("document-scroll-lock");i(e);var t=!1;return()=>{t||(t=!0,s(e))}},"setDocumentScrollLocked",0,e=>{e?i(n):s(n)}])},62490,e=>{"use strict";var t=e=>e.trim();e.s(["getClientCookie",0,e=>{var r=document.cookie.split(";").map(t).map(e=>e.split("=")).find(t=>t[0]===e);return r?r[1]:null}])},67212,e=>{"use strict";var t=e=>"a"===e.split("/")[2];e.s(["isArticlePage",0,t,"isCategoryPage",0,(e,r)=>
1!!(null==r?void 0:r.includes("category"))&&!t(e),"isFrontPage",0,e=>["/","/senaste"].includes(e),"isNewsMixPage",0,e=>"/nyhetsmix"===e,"isSJPartnerPage",0,e=>"/sj/valkommen"===e,"isSearchPage",0,e=>"search"===e,"isStrawberryPartnerPage",0,e=>"/strawberry/valkommen"===e,"isTopicPage",0,(e,r)=>!!(null==r?void 0:r.includes("story"))&&!t(e)])}]);
2
3//# sourceMappingURL=2_9_6isu7v-09.js.map

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.