PageSourceSearch

https://jysk.hu/ssr/build/client/97453-517dca.bundle.js

js jysk.hu collected 2026-09-25 22:54:57 UTC 16,672 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkssr=self.webpackChunkssr||[]).push([[97453],{91577:function(e,n,t){t.d(n,{A:function(){return o}});var r=t(96540);function o(e){const n=function(e){const n=(0,r.useRef)(e);return n.current=e,n}(e);(0,r.useEffect)((()=>()=>n.current()),[])}},26880:function(e,n,t){t.d(n,{Yc:function(){return h}});var r=t(31216),o=t(2883),s=t(97494),i=t(96540),a=t(4024);var l=function({children:e,in:n,onExited:t,mountOnEnter:s,unmountOnExit:l}){const c=(0,i.useRef)(null),u=(0,i.useRef)(n),d=(0,o.A)(t);(0,i.useEffect)((()=>{n?u.current=!0:d(c.current)}),[n,d]);const f=(0,r.A)(c,(0,a.am)(e)),m=(0,i.cloneElement)(e,{ref:f});return n?m:l||!u.current&&s?null:m};const c=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];var u=t(74848);const d=["component"];var f=i.forwardRef(((e,n)=>{let{component:t}=e;const o=function(e){let{onEnter:n,onEntering:t,onEntered:o,onExit:s,onExiting:l,onExited:u,addEndListener:d,children:f}=e,m=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;t[r]=e[r]}return t}(e,c);const h=(0,i.useRef)(null),v=(0,r.A)(h,(0,a.am)(f)),g=e=>n=>{e&&h.current&&e(h.current,n)},p=(0,i.useCallback)(g(n),[n]),E=(0,i.useCallback)(g(t),[t]),b=(0,i.useCallback)(g(o),[o]),y=(0,i.useCallback)(g(s),[s]),A=(0,i.useCallback)(g(l),[l]),x=(0,i.useCallback)(g(u),[u]),w=(0,i.useCallback)(g(d),[d]);return Object.assign({},m,{nodeRef:h},n&&{onEnter:p},t&&{onEntering:E},o&&{onEntered:b},s&&{onExit:y},l&&{onExiting:A},u&&{onExited:x},d&&{addEndListener:w},{children:"function"==typeof f?(e,n)=>f(e,Object.assign({},n,{ref:v})):(0,i.cloneElement)(f,{ref:v})})}(function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;t[r]=e[r]}return t}(e,d));return(0,u.jsx)(t,Object.assign({ref:n},o))}));function m({children:e,in:n,onExited:t,onEntered:l,transition:c}){const[u,d]=(0,i.useState)(!n);n&&u&&d(!1);const f=function({in:e,onTransition:n}){const t=(0,i.useRef)(null),r=(0,i.useRef)(!0),a=(0,o.A)(n);return(0,s.A)((()=>{if(!t.current)return;let n=!1;return a({in:e,element:t.current,initial:r.current,isStale:()=>n}),()=>{n=!0}}),[e,a]),(0,s.A)((()=>(r.current=!1,()=>{r.current=!0})),[]),t}({in:!!n,onTransition:e=>{Promise.resolve(c(e)).then((()=>{e.isStale()||(e.in?null==l||l(e.element,e.initial):(d(!0),null==t||t(e.element)))}),(n=>{throw e.in||d(!0),n}))}}),m=(0,r.A)(f,(0,a.am)(e));return u&&!n?null:(0,i.cloneElement)(e,{ref:m})}function h(e,n,t){return e?(0,u.jsx)(f,Object.assign({},t,{component:e})):n?(0,u.jsx)(m,Object.assign({},t,{transition:n})):(0,u.jsx)(l,Object.assign({},t))}},64561:function(e,n,t){t.d(n,{A:function(){return l}});var r=t(21997),o=t(57600),s=t(96540),i=t(82810);const a=(e,n)=>o.A?null==e?(n||(0,r.A)()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;
1function l(e,n){const t=(0,i.A)(),[r,o]=(0,s.useState)((()=>a(e,null==t?void 0:t.document)));if(!r){const n=a(e);n&&o(n)}return(0,s.useEffect)((()=>{n&&r&&n(r)}),[n,r]),(0,s.useEffect)((()=>{const n=a(e);n!==r&&o(n)}),[e,r]),r}},82810:function(e,n,t){t.d(n,{A:function(){return i}});var r=t(96540),o=t(57600);const s=(0,r.createContext)(o.A?window:void 0);s.Provider;function i(){return(0,r.useContext)(s)}},57600:function(e,n){n.A=!("undefined"==typeof window||!window.document||!window.document.createElement)},15242:function(e,n,t){function r(e,n){return e.contains?e.contains(n):e.compareDocumentPosition?e===n||!!(16&e.compareDocumentPosition(n)):void 0}t.d(n,{A:function(){return r}})},28282:function(e,n,t){t.d(n,{A:function(){return c}});var r=t(57600),o=!1,s=!1;try{var i={get passive(){return o=!0},get once(){return s=o=!0}};r.A&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}var a=function(e,n,t,r){if(r&&"boolean"!=typeof r&&!s){var i=r.once,a=r.capture,l=t;!s&&i&&(l=t.__once||function e(r){this.removeEventListener(n,e,a),t.call(this,r)},t.__once=l),e.addEventListener(n,l,o?r:a)}e.addEventListener(n,t,r)};var l=function(e,n,t,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(n,t,o),t.__once&&e.removeEventListener(n,t.__once,o)};var c=function(e,n,t,r){return a(e,n,t,r),function(){l(e,n,t,r)}}},21997:function(e,n,t){function r(e){return e&&e.ownerDocument||document}t.d(n,{A:function(){return r}})},97453:function(e,n,t){t.d(n,{A:function(){return Ee}});var r,o=t(46942),s=t.n(o),i=t(10920),a=t(18074),l=t(22043),c=t(6033);function u(e){if((!r&&0!==r||e)&&a.A){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),r=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return r}var d=t(96540);var f=t(1942),m=t(43804),h=t(91577),v=t(66679),g=t(21997);function p(e){void 0===e&&(e=(0,g.A)());try{var n=e.activeElement;return n&&n.nodeName?n:null}catch(n){return e.body}}var E=t(15242),b=t(57600),y=t(28282),A=t(40961),x=t(18348);function w(e){const n=function(e){const n=(0,d.useRef)(e);return n.current=e,n}(e);(0,d.useEffect)((()=>()=>n.current()),[])}var k=t(1539),R=t(2883);function C(e,n){return function(e){var n=(0,g.A)(e);return n&&n.defaultView||window}(e).getComputedStyle(e,n)}var N=/([A-Z])/g;var O=/^ms-/;function j(e){return function(e){return e.replace(N,"-$1").toLowerCase()}(e).replace(O,"-ms-")}var T=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var L=function(e,n){var t="",r="";if("string"==typeof n)return e.style.getPropertyValue(j(n))||C(e).getPropertyValue(j(n));Object.keys(n).forEach((function(o){var s=n[o];s||0===s?!function(e){return!(!e||!T.test(e))}(o)?t+=j(o)+": "+s+";":r+=o+"("+s+") ":e.style.removeProperty(j(o))})),r&&(t+="transform: "+r+";"),e.style.cssText+=";"+t};const S=(0,t(5182).sE)("modal-open");var D=class{constructor({ownerDocument:e,handleContainerOverflow:n=!0,isRTL:t=!1}={}){this.handleContainerOverflow=n,this.isRTL=t,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){const n=e.defaultView;return Math.abs(n.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const n={overflow:"hidden"},t=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[t]:r.style[t]},e.scrollBarWidth&&(n[t]=`${parseInt(L(r,t)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(S,""),L(r,n)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const n=this.getElement();n.removeAttribute(S),Object.assign(n.style,e.style)}add(e){let n=this.modals.indexOf(e);return-1!==n?n:(n=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==n||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n)}remove(e){const n=this.modals.indexOf(e);-1!==n&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}
1isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},B=t(64561),F=t(82810),M=t(26880),$=t(4024),P=t(74848);const W=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let H;function _(e){const n=(0,F.A)(),t=e||function(e){return H||(H=new D({ownerDocument:null==e?void 0:e.document})),H}(n),r=(0,d.useRef)({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>t.add(r.current),remove:()=>t.remove(r.current),isTopModal:()=>t.isTopModal(r.current),setDialogRef:(0,d.useCallback)((e=>{r.current.dialog=e}),[]),setBackdropRef:(0,d.useCallback)((e=>{r.current.backdrop=e}),[])})}const I=(0,d.forwardRef)(((e,n)=>{let{show:t=!1,role:r="dialog",className:o,style:s,children:i,backdrop:a=!0,keyboard:l=!0,onBackdropClick:c,onEscapeKeyDown:u,transition:f,runTransition:m,backdropTransition:h,runBackdropTransition:v,autoFocus:g=!0,enforceFocus:C=!0,restoreFocus:N=!0,restoreFocusOptions:O,renderDialog:j,renderBackdrop:T=e=>(0,P.jsx)("div",Object.assign({},e)),manager:L,container:S,onShow:D,onHide:H=()=>{},onExit:I,onExited:V,onExiting:U,onEnter:z,onEntering:K,onEntered:Y}=e,X=function(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;t[r]=e[r]}return t}(e,W);const Z=(0,F.A)(),q=(0,B.A)(S),G=_(L),J=(0,x.A)(),Q=(0,k.A)(t),[ee,ne]=(0,d.useState)(!t),te=(0,d.useRef)(null);(0,d.useImperativeHandle)(n,(()=>G),[G]),b.A&&!Q&&t&&(te.current=p(null==Z?void 0:Z.document)),t&&ee&&ne(!1);const re=(0,R.A)((()=>{if(G.add(),ce.current=(0,y.A)(document,"keydown",ae),le.current=(0,y.A)(document,"focus",(()=>setTimeout(se)),!0),D&&D(),g){var e,n;const t=p(null!=(e=null==(n=G.dialog)?void 0:n.ownerDocument)?e:null==Z?void 0:Z.document);G.dialog&&t&&!(0,E.A)(G.dialog,t)&&(te.current=t,G.dialog.focus())}})),oe=(0,R.A)((()=>{var e;(G.remove(),null==ce.current||ce.current(),null==le.current||le.current(),N)&&(null==(e=te.current)||null==e.focus||e.focus(O),te.current=null)}));(0,d.useEffect)((()=>{t&&q&&re()}),[t,q,re]),(0,d.useEffect)((()=>{ee&&oe()}),[ee,oe]),w((()=>{oe()}));const se=(0,R.A)((()=>{if(!C||!J()||!G.isTopModal())return;const e=p(null==Z?void 0:Z.document);G.dialog&&e&&!(0,E.A)(G.dialog,e)&&G.dialog.focus()})),ie=(0,R.A)((e=>{e.target===e.currentTarget&&(null==c||c(e),!0===a&&H())})),ae=(0,R.A)((e=>{l&&(0,$.v$)(e)&&G.isTopModal()&&(null==u||u(e),e.defaultPrevented||H())})),le=(0,d.useRef)(),ce=(0,d.useRef)();if(!q)return null;const ue=Object.assign({role:r,ref:G.setDialogRef,"aria-modal":"dialog"===r||void 0},X,{style:s,className:o,tabIndex:-1});let de=j?j(ue):(0,P.jsx)("div",Object.assign({},ue,{children:d.cloneElement(i,{role:"document"})}));de=(0,M.Yc)(f,m,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!t,onExit:I,onExiting:U,onExited:(...e)=>{ne(!0),null==V||V(...e)},onEnter:z,onEntering:K,onEntered:Y,children:de});let fe=null;return a&&(fe=T({ref:G.setBackdropRef,onClick:ie}),fe=(0,M.Yc)(h,v,{in:!!t,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:fe})),(0,P.jsx)(P.Fragment,{children:A.createPortal((0,P.jsxs)(P.Fragment,{children:[fe,de]}),q)})}));I.displayName="Modal";var V=Object.assign(I,{Manager:D}),U=t(19005);var z=t(17802),K=Function.prototype.bind.call(Function.prototype.call,[].slice);function Y(e,n){return K(e.querySelectorAll(n))}function X(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Z=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",q=".sticky-top",G=".navbar-toggler";class J extends D{adjustAndStore(e,n,t){const r=n.style[e];n.dataset[e]=r,(0,z.A)(n,{[e]:`${parseFloat((0,z.A)(n,e))+t}px`})}restore(e,n){const t=n.dataset[e];void 0!==t&&(delete n.dataset[e],(0,z.A)(n,{[e]:t}))}setContainerStyle(e){super.setContainerStyle(e);const n=this.getElement();var t,r;if(r="modal-open",(t=n).classList?t.classList.add(r):(0,U.A)(t,r)||("string"==typeof t.className?t.className=t.className+" "+r:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";
1Y(n,Z).forEach((n=>this.adjustAndStore(o,n,e.scrollBarWidth))),Y(n,q).forEach((n=>this.adjustAndStore(s,n,-e.scrollBarWidth))),Y(n,G).forEach((n=>this.adjustAndStore(s,n,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const n=this.getElement();var t,r;r="modal-open",(t=n).classList?t.classList.remove(r):"string"==typeof t.className?t.className=X(t.className,r):t.setAttribute("class",X(t.className&&t.className.baseVal||"",r));const o=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";Y(n,Z).forEach((e=>this.restore(o,e))),Y(n,q).forEach((e=>this.restore(s,e))),Y(n,G).forEach((e=>this.restore(s,e)))}}let Q;var ee=t(7285),ne=t(99334);var te=d.createContext({onHide(){}}),re=t(36519);const oe=d.forwardRef((({bsPrefix:e,className:n,contentClassName:t,centered:r,size:o,fullscreen:i,children:a,scrollable:l,...c},u)=>{const d=`${e=(0,re.oU)(e,"modal")}-dialog`,f="string"==typeof i?`${e}-fullscreen-${i}`:`${e}-fullscreen`;return(0,P.jsx)("div",{...c,ref:u,className:s()(d,n,o&&`${e}-${o}`,r&&`${d}-centered`,l&&`${d}-scrollable`,i&&f),children:(0,P.jsx)("div",{className:s()(`${e}-content`,t),children:a})})}));oe.displayName="ModalDialog";var se=oe,ie=t(42317),ae=t(38515);const le=d.forwardRef((({closeLabel:e="Close",closeVariant:n,closeButton:t=!1,onHide:r,children:o,...s},i)=>{const a=(0,d.useContext)(te),l=(0,f.A)((()=>{null==a||a.onHide(),null==r||r()}));return(0,P.jsxs)("div",{ref:i,...s,children:[o,t&&(0,P.jsx)(ae.A,{"aria-label":e,variant:n,onClick:l})]})}));le.displayName="AbstractModalHeader";var ce=le;const ue=d.forwardRef((({bsPrefix:e,className:n,closeLabel:t="Close",closeButton:r=!1,...o},i)=>(e=(0,re.oU)(e,"modal-header"),(0,P.jsx)(ce,{ref:i,...o,className:s()(n,e),closeLabel:t,closeButton:r}))));ue.displayName="ModalHeader";var de=ue;const fe=(0,t(34373).A)("h4"),me=d.forwardRef((({className:e,bsPrefix:n,as:t=fe,...r},o)=>(n=(0,re.oU)(n,"modal-title"),(0,P.jsx)(t,{ref:o,className:s()(e,n),...r}))));me.displayName="ModalTitle";var he=me;function ve(e){return(0,P.jsx)(ee.A,{...e,timeout:null})}function ge(e){return(0,P.jsx)(ee.A,{...e,timeout:null})}const pe=d.forwardRef((({bsPrefix:e,className:n,style:t,dialogClassName:r,contentClassName:o,children:g,dialogAs:p=se,"data-bs-theme":E,"aria-labelledby":b,"aria-describedby":y,"aria-label":A,show:x=!1,animation:w=!0,backdrop:k=!0,keyboard:R=!0,onEscapeKeyDown:C,onShow:N,onHide:O,container:j,autoFocus:T=!0,enforceFocus:L=!0,restoreFocus:S=!0,restoreFocusOptions:D,onEntered:B,onExit:F,onExiting:M,onEnter:$,onEntering:W,onExited:H,backdropClassName:_,manager:I,...U},z)=>{const[K,Y]=(0,d.useState)({}),[X,Z]=(0,d.useState)(!1),q=(0,d.useRef)(!1),G=(0,d.useRef)(!1),ee=(0,d.useRef)(null),[ne,oe]=(0,d.useState)(null),ie=(0,m.A)(z,oe),ae=(0,f.A)(O),le=(0,re.Wz)();e=(0,re.oU)(e,"modal");const ce=(0,d.useMemo)((()=>({onHide:ae})),[ae]);function ue(){return I||(e={isRTL:le},Q||(Q=new J(e)),Q);var e}function de(e){if(!a.A)return;const n=ue().getScrollbarWidth()>0,t=e.scrollHeight>(0,l.A)(e).documentElement.clientHeight;Y({paddingRight:n&&!t?u():void 0,paddingLeft:!n&&t?u():void 0})}const fe=(0,f.A)((()=>{ne&&de(ne.dialog)}));(0,h.A)((()=>{(0,c.A)(window,"resize",fe),null==ee.current||ee.current()}));const me=()=>{q.current=!0},he=e=>{q.current&&ne&&e.target===ne.dialog&&(G.current=!0),q.current=!1},pe=()=>{Z(!0),ee.current=(0,v.A)(ne.dialog,(()=>{Z(!1)}))},Ee=e=>{"static"!==k?G.current||e.target!==e.currentTarget?G.current=!1:null==O||O():(e=>{e.target===e.currentTarget&&pe()})(e)},be=(0,d.useCallback)((n=>(0,P.jsx)("div",{...n,className:s()(`${e}-backdrop`,_,!w&&"show")})),[w,_,e]),ye={...t,...K};ye.display="block";return(0,P.jsx)(te.Provider,{value:ce,children:(0,P.jsx)(V,{show:x,ref:ie,backdrop:k,container:j,keyboard:!0,autoFocus:T,enforceFocus:L,restoreFocus:S,restoreFocusOptions:D,onEscapeKeyDown:e=>{R?null==C||C(e):(e.preventDefault(),"static"===k&&pe())},onShow:N,onHide:O,onEnter:(e,n)=>{e&&de(e),null==$||$(e,n)}
1,onEntering:(e,n)=>{null==W||W(e,n),(0,i.Ay)(window,"resize",fe)},onEntered:B,onExit:e=>{null==ee.current||ee.current(),null==F||F(e)},onExiting:M,onExited:e=>{e&&(e.style.display=""),null==H||H(e),(0,c.A)(window,"resize",fe)},manager:ue(),transition:w?ve:void 0,backdropTransition:w?ge:void 0,renderBackdrop:be,renderDialog:t=>(0,P.jsx)("div",{role:"dialog",...t,style:ye,className:s()(n,e,X&&`${e}-static`,!w&&"show"),onClick:k?Ee:void 0,onMouseUp:he,"data-bs-theme":E,"aria-label":A,"aria-labelledby":b,"aria-describedby":y,children:(0,P.jsx)(p,{...U,onMouseDown:me,className:r,contentClassName:o,children:g})})})})}));pe.displayName="Modal";var Ee=Object.assign(pe,{Body:ne.A,Header:de,Title:he,Footer:ie.A,Dialog:se,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},19005:function(e,n,t){function r(e,n){return e.classList?!!n&&e.classList.contains(n):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")}t.d(n,{A:function(){return r}})}}]);
2//# sourceMappingURL=97453-517dca.bundle.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.