1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="28b8d202-0082-4214-2908-5b86dbb8bb3c")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51950,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let a=e.r(99161),o="u"<typeof window,s=o?()=>{}:a.useLayoutEffect,i=o?()=>{}:a.useEffect;function u(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let e=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return o&&(t?.mountedInstances?.add(e.children),n()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},12307,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return g},defaultHead:function(){return f}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let s=e.r(2879),i=e.r(87602),u=e.r(80447),l=i._(e.r(99161)),d=s._(e.r(51950)),c=e.r(29716);function f(){return[(0,u.jsx)("meta",{charSet:"utf-8"},"charset"),(0,u.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(80162);let h=["name","httpEquiv","charSet","itemProp"];function y(e){let t,r,n,a;return e.reduce(p,[]).reverse().concat(f().reverse()).filter((t=new Set,r=new Set,n=new Set,a={},e=>{let o=!0,s=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){s=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=h.length;t<r;t++){let r=h[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=a[r]||new Set;("name"!==r||!s)&&n.has(t)?o=!1:(n.add(t),a[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let g=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,u.jsx)(d.default,{reduceComponentsToState:y,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},35572,(e,t,r)=>{try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}t.exports=e.r(12307)},55600,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useIntersection",{enumerable:!0,get:function(){return l}});let a=e.r(99161),o=e.r(55562),s="function"==typeof IntersectionObserver,i=new Map,u=[];function l({rootRef:e,rootMargin:t,disabled:r}){let n=r||!s,[d,c]=(0,a.useState)(!1),f=(0,a.useRef)(null),p=(0,a.useCallback)(e=>{f.current=e},[]);return(0,a.useEffect)(()=>
2{if(s){if(n||d)return;let r=f.current;if(r&&r.tagName)return function(e,t,r){let{id:n,observer:a,elements:o}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=u.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=i.get(n)))return t;let a=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:a},u.push(r),i.set(r,t),t}(r);return o.set(e,t),a.observe(e),function(){if(o.delete(e),a.unobserve(e),0===o.size){a.disconnect(),i.delete(n);let e=u.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&u.splice(e,1)}}}(r,e=>e&&c(e),{root:e?.current,rootMargin:t})}else if(!d){let e=(0,o.requestIdleCallback)(()=>c(!0));return()=>(0,o.cancelIdleCallback)(e)}},[n,t,e,d,f.current]),[p,d,(0,a.useCallback)(()=>{c(!1)},[])]}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},15456,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let a=(t,r)=>e.r(49425).normalizeLocalePath(t,r);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},34439,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDomainLocale",{enumerable:!0,get:function(){return o}});let a=e.r(77239);function o(t,r,n,o){{let s=e.r(15456).normalizeLocalePath,i=e.r(1758).detectDomainLocale,u=r||s(t,n).detectedLocale,l=i(o,void 0,u);if(l){let e=`http${l.http?"":"s"}://`,r=u===l.defaultLocale?"":`/${u}`;return`${e}${l.domain}${(0,a.normalizePathTrailingSlash)(`${r}${t}`)}`}return!1}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73187,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let a=e.r(99161);function o(e,t){let r=(0,a.useRef)(null),n=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=s(e,a)),t&&(n.current=s(t,a))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},24798,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},19792,(e,t,r)=>{"use strict";try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}
2Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return E},useLinkStatus:function(){return k}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let s=e.r(87602),i=e.r(80447),u=s._(e.r(99161)),l=e.r(88762),d=e.r(26997),c=e.r(90410),f=e.r(1890),p=e.r(63027),h=e.r(20996),y=e.r(55600),g=e.r(34439),M=e.r(8497),v=e.r(73187);e.r(24798);let m=new Set;function w(e,t,r,n){if(!("u"<typeof window)&&(0,d.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let a=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(m.has(a))return;m.add(a)}e.prefetch(t,r,n).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let _=u.default.forwardRef(function(e,t){let r,n,{href:a,as:o,children:s,prefetch:c=null,passHref:m,replace:_,shallow:x,scroll:k,locale:E,onClick:O,onNavigate:j,onMouseEnter:R,onTouchStart:S,legacyBehavior:P=!1,transitionTypes:C,...I}=e;r=s,P&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let T=u.default.useContext(h.RouterContext),A=!1!==c,{href:Q,as:U}=u.default.useMemo(()=>{if(!T){let e=b(a);return{href:e,as:o?b(o):e}}let[e,t]=(0,l.resolveHref)(T,a,!0);return{href:e,as:o?(0,l.resolveHref)(T,o):t||e}},[T,a,o]),K=u.default.useRef(Q),B=u.default.useRef(U);P&&(n=u.default.Children.only(r));let L=P?n&&"object"==typeof n&&n.ref:t,[F,z,D]=(0,y.useIntersection)({rootMargin:"200px"}),$=u.default.useCallback(e=>{(B.current!==U||K.current!==Q)&&(D(),B.current=U,K.current=Q),F(e)},[U,Q,D,F]),q=(0,v.useMergedRef)($,L);u.default.useEffect(()=>{!T||z&&A&&w(T,Q,U,{locale:E})},[U,Q,z,E,A,T?.locale,T]);let H={ref:q,onClick(e){P||"function"!=typeof O||O(e),P&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!T||e.defaultPrevented||function(e,t,r,n,a,o,s,i,u){let l,{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&((l=e.currentTarget.getAttribute("target"))&&"_self"!==l||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(r)){a&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=s??!0;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:o,locale:i,scroll:e}):t[a?"replace":"push"](n||r,{scroll:e})})()}}(e,T,Q,U,_,x,k,E,j)},onMouseEnter(e){P||"function"!=typeof R||R(e),P&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),T&&w(T,Q,U,{locale:E,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){P||"function"!=typeof S||S(e),P&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),T&&w(T,Q,U,{locale:E,priority:!0,bypassPrefetchedCheck:!0})}};if((0,f.isAbsoluteUrl)(U))H.href=U;else if(!P||m||"a"===n.type&&!("href"in n.props)){let e=void 0!==E?E:T?.locale;H.href=T?.isLocaleDomain&&(0,g.getDomainLocale)(U,e,T?.locales,T?.domainLocales)||(0,M.addBasePath)((0,p.addLocale)(U,e,T?.defaultLocale))}return P?u.default.cloneElement(n,H):(0,i.jsx)("a",{...I,...H,children:r})}),x=(0,u.createContext)({pending:!1}),k=()=>(0,u.useContext)(x),E=_;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},38902,(e,t,r)=>{try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}t.exports=e.r(19792)},38278,e=>{"use strict";var t,r=e.i(46682),n=e.i(56310),a=e.i(42561),o=e.i(92059),s=e.i(89661),i=e.i(87808),u=e.i(50991),l=e.i(61699);try{var d="u">typeof window?window:e.g;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}var c=function(e){function t(t,r){var n;return(n=e.call(this)||this).client=t,n.options=r,n.trackedProps=[],n.selectError=null,n.bindMethods(),n.setOptions(r),n}(0,n.default)(t,e);var i=t.prototype;return i.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},i.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),f(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},i.onUnsubscribe=function(){this.listeners.length||this.destroy()},i.shouldFetchOnReconnect=function(){return p(this.currentQuery,this.options,this.options.refetchOnReconnect)},i.shouldFetchOnWindowFocus=function(){return p(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},i.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},i.setOptions=function(e,t){var r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();var a=this.hasListeners();a&&h(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),a&&(this.currentQuery!==n||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();var o=this.computeRefetchInterval();a&&(this.currentQuery!==n||this.options.enabled!==r.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)},i.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,t);return this.createResult(r,t)},i.getCurrentResult=function(){return this.currentResult},i.trackResult=function(e,t){var r=this,n={},a=function(e){r.trackedProps.includes(e)||r.trackedProps.push(e)};return Object.keys(e).forEach(function(t){Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:function(){return a(t),e[t]}})}),(t.useErrorBoundary||t.suspense)&&a("error"),n},i.getNextResult=function(e){var t=this;return new Promise(function(r,n){var a=t.subscribe(function(t){t.isFetching||(a(),t.isError&&(null==e?void 0:e.throwOnError)?n(t.error):r(t))})})},i.getCurrentQuery=function(){return this.currentQuery},i.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},i.refetch=function(e){return this.fetch((0,r.default)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},i.fetchOptimistic=function(e){var t=this,r=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,r);return n.fetch().then(function(){return t.createResult(n,r)})},i.fetch=function(e){var t=this;return this.executeFetch(e).then(function(){return t.updateResult(),t.currentResult})},i.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(a.noop)),t},i.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!a.isServer&&!this.currentResult.isStale&&(0,a.isValidTimeout)(this.options.staleTime)){var t=(0,a.timeUntilStale)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(function(){e.currentResult.isStale||e.updateResult()},t+1)}},i.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},i.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!a.isServer&&!1!==this.options.enabled&&(0,a.isValidTimeout)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(function(){(t.options.refetchIntervalInBackgroun
2d||s.focusManager.isFocused())&&t.executeFetch()},this.currentRefetchInterval))},i.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},i.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},i.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},i.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},i.createResult=function(e,t){var r,n,o=this.currentQuery,s=this.options,i=this.currentResult,l=this.currentResultState,d=this.currentResultOptions,c=e!==o,p=c?e.state:this.currentQueryInitialState,g=c?this.currentResult:this.previousQueryResult,M=e.state,v=M.dataUpdatedAt,m=M.error,w=M.errorUpdatedAt,b=M.isFetching,_=M.status,x=!1,k=!1;if(t.optimisticResults){var E=this.hasListeners(),O=!E&&f(e,t),j=E&&h(e,o,t,s);(O||j)&&(b=!0,v||(_="loading"))}if(t.keepPreviousData&&!M.dataUpdateCount&&(null==g?void 0:g.isSuccess)&&"error"!==_)r=g.data,v=g.dataUpdatedAt,_=g.status,x=!0;else if(t.select&&void 0!==M.data)if(i&&M.data===(null==l?void 0:l.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(M.data),!1!==t.structuralSharing&&(r=(0,a.replaceEqualDeep)(null==i?void 0:i.data,r)),this.selectResult=r,this.selectError=null}catch(e){(0,u.getLogger)().error(e),this.selectError=e}else r=M.data;if(void 0!==t.placeholderData&&void 0===r&&("loading"===_||"idle"===_)){if((null==i?void 0:i.isPlaceholderData)&&t.placeholderData===(null==d?void 0:d.placeholderData))n=i.data;else if(n="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==n)try{n=t.select(n),!1!==t.structuralSharing&&(n=(0,a.replaceEqualDeep)(null==i?void 0:i.data,n)),this.selectError=null}catch(e){(0,u.getLogger)().error(e),this.selectError=e}void 0!==n&&(_="success",r=n,k=!0)}return this.selectError&&(m=this.selectError,r=this.selectResult,w=Date.now(),_="error"),{status:_,isLoading:"loading"===_,isSuccess:"success"===_,isError:"error"===_,isIdle:"idle"===_,data:r,dataUpdatedAt:v,error:m,errorUpdatedAt:w,failureCount:M.fetchFailureCount,errorUpdateCount:M.errorUpdateCount,isFetched:M.dataUpdateCount>0||M.errorUpdateCount>0,isFetchedAfterMount:M.dataUpdateCount>p.dataUpdateCount||M.errorUpdateCount>p.errorUpdateCount,isFetching:b,isRefetching:b&&"loading"!==_,isLoadingError:"error"===_&&0===M.dataUpdatedAt,isPlaceholderData:k,isPreviousData:x,isRefetchError:"error"===_&&0!==M.dataUpdatedAt,isStale:y(e,t),refetch:this.refetch,remove:this.remove}},i.shouldNotifyListeners=function(e,t){if(!t)return!0;var r=this.options,n=r.notifyOnChangeProps,a=r.notifyOnChangePropsExclusions;if(!n&&!a||"tracked"===n&&!this.trackedProps.length)return!0;var o="tracked"===n?this.trackedProps:n;return Object.keys(e).some(function(r){var n=e[r]!==t[r],s=null==o?void 0:o.some(function(e){return e===r}),i=null==a?void 0:a.some(function(e){return e===r});return n&&!i&&(!o||s)})},i.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,a.shallowEqualObjects)(this.currentResult,t)){var n={cache:!0};(null==e?void 0:e.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,r.default)({},n,e))}},i.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},i.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,l.isCancelledError)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},i.notify=function(e){var t=this;o.notifyManager.batch(function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEac
2h(function(e){e(t.currentResult)}),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})})},t}(i.Subscribable);function f(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&("error"!==e.state.status||!1!==t.retryOnMount)||e.state.dataUpdatedAt>0&&p(e,t,t.refetchOnMount)}function p(e,t,r){if(!1!==t.enabled){var n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&y(e,t)}return!1}function h(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&y(e,r)}function y(e,t){return e.isStaleByTime(t.staleTime)}var g=e.i(99161);try{var M="u">typeof window?window:e.g;M._sentryModuleMetadata=M._sentryModuleMetadata||{},M._sentryModuleMetadata[(new M.Error).stack]=Object.assign({},M._sentryModuleMetadata[(new M.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}var v=g.default.createContext((t=!1,{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}})),m=e.i(27523),w=e.i(23691);try{var b="u">typeof window?window:e.g;b._sentryModuleMetadata=b._sentryModuleMetadata||{},b._sentryModuleMetadata[(new b.Error).stack]=Object.assign({},b._sentryModuleMetadata[(new b.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}try{var _="u">typeof window?window:e.g;_._sentryModuleMetadata=_._sentryModuleMetadata||{},_._sentryModuleMetadata[(new _.Error).stack]=Object.assign({},_._sentryModuleMetadata[(new _.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}e.s(["useQuery",0,function(e,t,r){return function(e,t){var r=g.default.useRef(!1),n=g.default.useState(0)[1],a=(0,m.useQueryClient)(),s=g.default.useContext(v),i=a.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=o.notifyManager.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=o.notifyManager.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=o.notifyManager.batchCalls(i.onSettled)),i.suspense&&("number"!=typeof i.staleTime&&(i.staleTime=1e3),0===i.cacheTime&&(i.cacheTime=1)),(i.suspense||i.useErrorBoundary)&&!s.isReset()&&(i.retryOnMount=!1);var u=g.default.useState(function(){return new t(a,i)})[0],l=u.getOptimisticResult(i);if(g.default.useEffect(function(){r.current=!0,s.clearReset();var e=u.subscribe(o.notifyManager.batchCalls(function(){r.current&&n(function(e){return e+1})}));return u.updateResult(),function(){r.current=!1,e()}},[s,u]),g.default.useEffect(function(){u.setOptions(i,{listeners:!1})},[i,u]),i.suspense&&l.isLoading)throw u.fetchOptimistic(i).then(function(e){var t=e.data;null==i.onSuccess||i.onSuccess(t),null==i.onSettled||i.onSettled(t,null)}).catch(function(e){s.clearReset(),null==i.onError||i.onError(e),null==i.onSettled||i.onSettled(void 0,e)});if(l.isError&&!s.isReset()&&!l.isFetching&&(0,w.shouldThrowError)(i.suspense,i.useErrorBoundary,[l.error,u.getCurrentQuery()]))throw l.error;return"tracked"===i.notifyOnChangeProps&&(l=u.trackResult(l,i)),l}((0,a.parseQueryArgs)(e,t,r),c)}],38278)},5757,e=>{"use strict";var t=e.i(99161);e.i(84818);var r=e.i(99228);e.i(62359);var n=e.i(38278),a=e.i(40318),o=e.i(78087),s=e.i(22247),i=e.i(38305),u=e.i(43055),l=e.i(61053);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let c=new a.Request({headers:{Accept:"application/json; charset=utf-8","Content-type":"application/json; charset=utf-8"},requests:{logout:{method:"POST",path:"/logout",ref:"logout",request_id:"logout",body:{}}}});c.addRequest("logout"),e.s(["useLogout",0,function(){let e=(0,r.useDispatch)(),a=(0,s.useSelector)(e=>e.user.user),d=(0,n.useQuery)("logout",()=>{var e;return e=c.build(),fetch(`https://pamadmin.hu/api/v1/${(0,i.getSiteCode)(settings.key)}/composite`,{method:"POST",headers:e.headers,body:JSON.stringify(e.body)}).then(e=>{if(!e.ok)throw Error(`API response: ${e.status}`);return e.json()}).then(e=>e).catch(e=>console.log(e))},{enabled:!1,refetchOnWindowFocus:!1,refetchOnMount:!1,staleTime:0,onSettled:()=>{let t=u.default.get(l.default.getHost());localStorage.removeItem(`${t.key}-user-token`),e((0,o.updateUserData)(null))}});return(0,t.useEffect)(()=>{let e=()=>{d.refetch()};return c.events.on("commit",e),()=>{c.events.off("commit",e)}},[]),function(){a&&(c.modifyHeaders(e=>{e.Authorization=`Bearer ${a.token}`}),c.commit())}}])},44159,e=>{"use strict";var t=e.i(34910),r=e.i(51342),n=e.i(31982),a=e.i(49527);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let s=(0,n.default)("div",{target:"e1ugowu00"})("position:absolute;background-color:#fff;width:calc(100% - 30px);max-width:",({maxWidth:e})=>e,";max-height:",({maxHeight:e})=>e,";overflow:hidden;box-shadow:0px 0px 40px -10px rgba(7,30,44,0.17);border-radius:10px;padding:20px;margin:auto;",e=>"full"===e.type&&` 3 right: 15px; 4 left: 15px; 5 bottom: 20px; 6 7 @media (max-width: ${a.default.max.xl}) { 8 top: 180px; 9 } 10 11 `," ",e=>"full"===e.mobile&&` 12 @media (max-width: ${a.default.max.sm}) { 13 right: 0; 14 left: 0; 15 top: 60px; 16 width: 100%; 17 border-radius: 0; 18 } 19 `," ",e=>"box"===e.mobile&&` 20 @media (max-width: ${a.default.max.sm}) { 21 right: 15px; 22 left: 15px; 23 } 24 `," ",e=>"top"===e.align&&` 25 top: 120px; 26 27 @media (max-width: ${a.default.max.sm}) { 28 top: 60px; 29 } 30 31 `),i=(0,n.default)("div",{target:"e1ugowu01"})("position:absolute;top:13px;right:13px;
31cursor:pointer;");try{var u=window;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}e.s(["default",0,function(e){let{children:n,type:a="box",mobile:o="box",align:u="center",maxHeight:l,exWidth:d="38px",maxWidth:c="650px",onClick:f=()=>{},onClose:p=()=>{}}=e;return(0,t.jsxs)(s,{maxWidth:c,maxHeight:l,type:a,mobile:o,align:u,onClick:function(e){e.stopPropagation(),f()},children:[(0,t.jsx)(i,{onClick:p,children:(0,t.jsx)(r.default,{type:"ex-thin",iconWidth:d})}),n]})}],44159)},46755,e=>{"use strict";var t=e.i(34910),r=e.i(99161),n=e.i(51342);e.i(84818);var a=e.i(22247),o=e.i(31982),s=e.i(76585),i=e.i(49527);try{var u=window;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let l=(0,o.default)("div",{target:"e8jlcbw0"})("z-index:1;cursor:pointer;position:sticky;top:",({windowHeight:e})=>e,"px;z-index:9999;transition:top 0.2s ease-in-out;"),d=(0,o.default)("div",{target:"e8jlcbw1"})("width:60px;height:60px;margin:-60px 0 0 auto;transform:translate(-70px,-40px);background-color:",({settings:e})=>e?.key==="KONYVDISZKONT"?"orange":e?.key==="EKONYV"?"blueEkonyv"
31:s.default.button.tertiary,";border-radius:50%;display:flex;justify-content:center;align-items:center;z-index:2;position:relative;opacity:",({visible:e})=>+!!e,";transition:opacity 0.3s ease-in-out;&:hover{background-color:",({settings:e})=>e?.key==="KONYVDISZKONT"?"darkorange":e?.key==="EKONYV"?"darkgreenEkonyv":s.default.button.tertiaryHover,";}@media (max-width:",i.default.max.xl,"){width:50px;height:50px;transform:translate(-20px,0px);}"),c=(0,o.default)("div",{target:"e8jlcbw2"})("position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotateZ(-90deg);z-index:3;font-size:0;");(0,o.default)("div",{target:"e8jlcbw3"})();var f=e.i(43055),p=e.i(61053);try{var h=window;h._sentryModuleMetadata=h._sentryModuleMetadata||{},h._sentryModuleMetadata[(new h.Error).stack]=Object.assign({},h._sentryModuleMetadata[(new h.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let y=f.default.get(p.default.getHost());e.s(["default",0,function(){let e=(0,a.useSelector)(e=>e.system.scrollPosition),o=(0,a.useSelector)(e=>e.system.windowHeight),[s,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{e>=o/2?s||i(!0):s&&i(!1)},[e,o]),(0,t.jsx)(l,{onClick:()=>window.scrollTo({left:0,top:0,behavior:"smooth"}),windowHeight:o,children:(0,t.jsx)(d,{visible:s,settings:y,children:(0,t.jsx)(c,{children:(0,t.jsx)(n.default,{type:"chevron-right",iconWidth:"12px",iconColor:"#FFFFFF"})})})})}],46755)},18824,35409,e=>{"use strict";var t=e.i(31982),r=e.i(49527);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let a=(0,t.default)("div",{target:"e1s4itsc0"})("display:flex;flex-direction:column;position:relative;padding-top:80px;background-color:white;min-height:",e=>e.fullHeight?"100vh":"auto",";@media (max-width:",r.default.max.xl,"){margin-bottom:-35px;}@media (max-width:",r.default.max.xl,"){padding-top:60px;}"),o=(0,t.default)("div",{target:"e1s4itsc1"})("order:999;@media (max-width:",r.default.max.xl,"){padding-bottom:35px;}");(0,t.default)("div",{target:"e1s4itsc2"})(),e.s(["ContentWrapper",0,a,"ContentWrapperEnd",0,o],18824);var s=e.i(51342);try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let u=(0,t.default)("div",{target:"e1rdhrcm0"})("padding:70px 60px 60px;"),l=(0,t.default)("div",{target:"e1rdhrcm1"})("font-size:24px;font-weight:600;text-align:center;margin-bottom:20px;@media (max-width:",r.default.max.md,"){font-size:20px;font-weight:700;margin-bottom:24px;}"),d=(0,t.default)("div",{target:"e1rdhrcm2"})("font-size:16px;font-weight:300;text-align:center;@media (max-width:",r.default.max.md,"){font-size:14px;font-weight:300;}"),c=(0,t.default)(s.default,{target:"e1rdhrcm3"})("height:58px;width:57px;margin:auto 0;"),f=(0,t.default)("div",{target:"e1rdhrcm4"})("display:flex;justify-content:center;"),p=(0,t.default)("div",{target:"e1rdhrcm5"})("display:flex;align-items:center;flex-direction:column;gap:1rem;margin-top:1rem;");e.s(["ButtonWrapper",0,p,"IconWrapper",0,f,"ModalResell",0,u,"ResellIcon",0,c,"ResellText",0,d,"ResellTitle",0,l],35409)},92152,e=>{"use strict";var t=e.i(99161),r=e.i(44473);e.i(84818);var n=e.i(22247);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}e.s(["default",0,function(){let e=(0,r.useRouter)(),a=(0,n.useSelector)(e=>e.user.authChecking),o=(0,n.useSelector)(e=>e.user.user);return(0,t.useEffect)(()=>{a||o||e.push("/")}),{router:e,user:o,authChecking:a}}])},29143,e=>{"use strict";var t=e.i(34910),r=e.i(46755),n=e.i(18824);e.i(2311);var a=e.i(99161),o=e.i(63213),s=e.i(44159),i=e.i(35409),u=e.i(38730),l=e.i(28733);e.i(62359);var d=e.i(85678),c=e.i(23644),f=e.i(43055),p=e.i(61053),h=e.i(38305),y=e.i(92152);try{var g=window;g._sentryModuleMetadata=g._sentryModuleMetadata||{},g._sentryModuleMetadata[(new g.Error).stack]=Object.assign({},g._sentryModuleMetadata[(new g.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}let M={headers:{Accept:"application/json; charset=utf-8","Content-type":"application/json; charset=utf-8"},requests:{resellerStatusUpdate:{method:"POST",path:"/profile/update/resellerStatus",ref:"resellerSelect",request_id:"reseller-select",body:{is_reseller:null}}}};function v(){let[e,r]=(0,a.useState)(!1),{actualUser:n}=(0,l.default)(),{user:g}=(0,y.default)(),v=(0,d.useMutation)("reseller-select",e=>{var t;let r;return t=e,r=f.default.get(p.default.getHost()),fetch(`https://pamadmin.hu/api/v1/${(0,h.getSiteCode)(r.key)}/composite`,{method:"POST",headers:t.headers,body:JSON.stringify(t.body)}).then(e=>{if(!e.ok)throw Error(`API response: ${e.status}`);return e.json()}).then(e=>e).catch(e=>console.log(e))},{onSuccess:()=>{r(!1)}}),m=(0,c.default)(M,v);if((0,a.useEffect)(()=>{n&&r(n?.customer?.is_reseller===null)},[n]),!e)return(0,t.jsx)(t.Fragment,{});let w=e=>{m.modifyHeaders(e=>{e.Authorization=`Bearer ${g.token}`}),m.addRequest("resellerStatusUpdate"),m.modifyRequest("resellerStatusUpdate",t=>{t.body={is_reseller:e}}),m.commit()};return(0,t.jsx)(o.default,{fixed:!0,children:(0,t.jsx)(s.default,{exWidth:0,children:(0,t.jsxs)(i.ModalResell,{children:[(0,t.jsx)(i.IconWrapper,{children:(0,t.jsx)(i.ResellIcon,{type:"edit"})}),(0,t.jsx)(i.ResellTitle,{children:"Viszonteladói státusz"}),(0,t.jsx)(i.ResellText,{children:"2024 október 1. után kizárólag viszonteladó partnerek vásárolhatnak 10% nagyobb kedvezménnyel az október 1 után megjelent könyvek elsŠ365 napjában."}),(0,t.jsxs)(i.ButtonWrapper,{children:[(0,t.jsx)(u.default,{type:"primary",disabled:v.isLoading,loading:v.isLoading,onClick:()=>w(!0),children:"Igen, viszonteladó vagyok vagy könyvtár"}),(0,t.jsx)(u.default,{type:"secondary",disabled:v.isLoading,loading:v.isLoading,onClick:()=>w(!1),children:"Nem vagyok viszonteladó vagy könyvtá"})]})]})})})}try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[(new m.Error).stack]=Object.assign({},m._sentryModuleMetadata[(new m.Error).stack],{"_sentryBundlerPluginAppKey:alomgyar-frontend":!0})}catch(e){}e.s(["default",0,function({children:e,fullHeight:a=!1}){let o=f.default.get(p.default.getHost());return(0,t.jsxs)(n.ContentWrapper,{fullHeight:a,children:["NAGYKER"===o.key&&(0,t.jsx)(v,{}),(0,t.jsx)(r.default,{}),e,(0,t.jsx)(n.ContentWrapperEnd,{})]})}],29143)}]); 32 33//# debugId=28b8d202-0082-4214-2908-5b86dbb8bb3c
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.