PageSourceSearch

https://onninen.pl/_next/static/chunks/3851-f3be059aee8fa954.js

js onninen.pl collected 2026-09-25 04:47:22 UTC 9,060 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3851],{22454:(e,n,t)=>{"use strict";t.d(n,{l:()=>N});var i=t(42969),a=t(59860),r=t(27925),l=t(14232),o=t(69241),s=t(49542),c=t(90233);t(62415);var u=t(62968),d=t(49439),m=t(96586),v=t(92444),f=t(35198),g=t(4595),p=t(71559),h=t.n(p),k=t(37876),b=["ref"];function A(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function w(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?A(Object(t),!0).forEach(function(n){(0,i.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var y=function(e){return e?e.label:""},N=function(e){var n=e.id,t=void 0===n?"select":n,i=e.label,p=void 0===i?null:i,A=e.placeholder,N=e.items,S=e.selectedItemId,E=void 0===S?null:S,C=e.defaultSelectedItemId,L=void 0===C?null:C,j=e.disabled,O=e.className,x=e.classNameMenu,P=e.onChange,M=e.tooltip,D=void 0===M?"":M,I=(0,d.A)(),R=(0,r.A)(I,1)[0],T=N.length>8,B=(0,l.useRef)(null),F=(0,l.useRef)(null),V=(0,l.useState)({}),X=V[0],q=V[1],_="number"==typeof E&&E>-1?E:null,G="number"==typeof L?L:null,H=(0,l.useMemo)(function(){return null!==_?N[_]||null:null!==G&&N[G]||null},[N,_,G]),z=!!(null==H?void 0:H.isActive),U=(0,l.useRef)(null),W=(0,s.WM)({items:N,itemToString:y,selectedItem:H,onSelectedItemChange:function(e){var n=e.selectedItem;null==P||P(n||null)}}),Y=W.isOpen,Q=W.getToggleButtonProps,Z=W.getLabelProps,$=W.getMenuProps,J=W.highlightedIndex,K=W.getItemProps,ee=null!=p,en="".concat(t,"-label"),et="".concat(t,"-label"),ei="".concat(t,"-toggle-button"),ea=(0,o.A)(h().root,O,Y&&h().open,h().isRounded,null!==_&&h().hasSelection),er=Q({ref:U,disabled:void 0!==j&&j}),el=$({},{suppressRefError:!0}),eo=el.ref,es=(0,a.A)(el,b),ec=Z(),eu=(0,l.useCallback)(function(){var e,n,t=null==(e=F.current)?void 0:e.querySelector(".".concat(h().itemActive)),i=null==(n=F.current)?void 0:n.querySelector(".simplebar-content-wrapper");if(t&&i){var a=i.getBoundingClientRect(),r=t.getBoundingClientRect();r.top<a.top?i.scrollTop-=a.top-r.top:r.bottom>a.bottom&&(i.scrollTop+=r.bottom-a.bottom)}},[]),ed=(0,l.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(U.current&&(e||F.current)){var n=U.current.getBoundingClientRect(),t=n.width,i=Math.max(8,Math.min(n.left,window.innerWidth-t-8)),a=-9999;if(!e&&F.current){var r=F.current.getBoundingClientRect();(a=n.bottom+2)+r.height>window.innerHeight-8&&n.top-r.height-2>8&&(a=n.top-r.height-2)}q({top:a,left:i,width:t,visibility:e?"hidden":"visible"})}},[]),em=(0,l.useCallback)(function(e){F.current=e,"function"==typeof eo?eo(e):eo&&"object"==typeof eo&&(eo.current=e)},[eo]);return(0,l.useEffect)(function(){if(Y){var e=document.documentElement,n=document.body,t=e.style.overflowX,i=n.style.overflowX;return e.style.overflowX="hidden",n.style.overflowX="hidden",function(){e.style.overflowX=t,n.style.overflowX=i}}},[Y]),(0,l.useEffect)(function(){if(!Y)return void q({});ed(!0);var e=function(){if(!F.current)return void window.requestAnimationFrame(e);ed(),eu()},n=window.requestAnimationFrame(e),t=function(){return ed()};return window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),function(){window.cancelAnimationFrame(n),window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0)}},[Y,ed,eu]),(0,k.jsxs)("div",{id:t,className:ea,"data-has-selection":null!==_||void 0,children:[ee&&(0,k.jsx)("label",w(w({},ec),{},{id:en,htmlFor:ei,className:h().label,dangerouslySetInnerHTML:{__html:(0,u.uA)(String(p),R)}})),(0,k.jsx)("div",{className:h().controlWrapper,children:(0,k.jsxs)(f.$,w(w({theme:"blank",variant:"blank",ref:U},er),{},{id:ei,"aria-labelledby":"".concat(ee?et:""," ").concat(ei),className:h().control,buttonContentClassName:h().controlContent,children:[(0,k.jsx)("span",{className:(0,o.A)(h().valueText,z&&h().valueTextActive),children:y(H)||(void 0===A?null:A)}),(0,k.jsx)(m.A,{icon:"arrowDown",className:(0,o.A)(h().chevron,Y&&h().openChevron)})]}))}),Y&&(0,k.jsx)(v.A,{children:(0,k.jsx)("div",w(w({},es),{},{ref:em,className:(0,o.A)(h().menu,h().menuPortal,x),style:X,children:(0,k.jsx)("div",{className:(0,o.A)(h().list,T&&h().withScrollbar),children:(0,k.jsx)(c.A,{className:h().scrollbar,ref:B,children:N.map(function(e,n){var t="".concat(y(e)).concat(n),i=K({item:e,index:n}),a=(0,o.A)(h().item,J===n&&h().itemHighlighted,null!==_&&_===n&&h().itemActive,(null==e?void 0:e.isActive)&&h().itemMarkedActive,T&&h().addRightMarginToItem);return(0,k.jsx)("li",w(w({},i),{},{className:a,children:y(e)}),t)})})})}))}),!!D&&(0,k.jsx)("div",{className:h().tooltip,children:(0,k.jsx)(g.o,{theme:"lightMonochrome",className:h().tooltipText,children:D})})]})}},24228:(e,n,t)=>{"use strict";t.d(n,{v:()=>i.v});var i=t(38154)},30756:(e,n,t)=>{"use strict";t.d(n,{A:()=>i.g});var i=t(39322)},31475:e=>{e.exports={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetCachedLocale"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"language"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}]}},48580:(e,n,t)=>{"use strict";t.d(n,{d:()=>c,s:()=>s});var i,a=t(82894),r=t(42969);t(50445);var l=(i={},(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(i,a.localesEnum.polish,["pl"]),a.localesEnum.ukrainian,["uk","uk-PL"]),a.localesEnum.english,["en","en-GB","en-IE","x-default"]),a.localesEnum.czech,["cs"]),a.localesEnum.slovak,["sk"]),a.localesEnum.romanian,["ro"]),a.localesEnum.serbian,["sr","sr-XS","sr-BA","sr-ME"]),a.localesEnum.german,["de","de-AT","de-LI","de-CH","de-LU"]),a.localesEnum.hungarian,["hu"]),a.localesEnum.french,["fr","fr-BE",,"fr
1-MC","fr-CD","fr-CG","fr-SN","fr-CI","fr-CM"]),(0,r.A)((0,r.A)((0,r.A)(i,a.localesEnum.italian,["it","it-SM","it-VA"]),a.localesEnum.spanish,["es","es-MX","es-AR","es-CO","es-CL","es-BO","es-CR","es-CU","es-DO","es-EC","es-SV","es-HN","es-NI","es-PA","es-PY","es-PE","es-PR","es-UY","es-VE"]),a.localesEnum.portuguese,["pt","pt-BR","pt-AO","pt-MZ"])),o=function(e){var n=e.hrefLangs,t=e.articleCategorySlugs;return(e.isMainPageGuest?n:n.filter(function(e){return!!e.value})).map(function(e){var n=e.locale,i=e.value,r=l[n],o="";if(t){var s=t[n];o=s?"".concat(s,"/"):""}return null==r?void 0:r.map(function(e){var t;return{rel:"alternate",path:(t="".concat(o).concat(i).trim(),n===a.defaultLanguage?"/".concat(t):"/".concat(n,"/").concat(t)),hrefLang:e}}).filter(function(e){return!!e})}).flat().filter(function(e){return!!e})},s=function(e){var n=e.hrefLangs;if(!n)return[];var t=!n.some(function(e){return!!e.value});return o({hrefLangs:n,isMainPageGuest:t})},c=function(e){var n=e.hrefLangs,t=e.categoriesLangs;return n?o({hrefLangs:n,articleCategorySlugs:t}):[]}},49439:(e,n,t)=>{"use strict";t.d(n,{A:()=>g});var i=t(63857),a=t(27925),r=t(43081),l=t.n(r),o=t(14232),s=t(64177),c=t(69856),u=t.n(c),d=t(31475),m=t.n(d),v=t(47021),f={update:function(e,n){var t=n.data;e.writeQuery({query:m(),data:{language:t.setServerLocale.locale}})}},g=function(){var e,n=(0,v.A)().i18n,t=(0,s.n)(u(),f),r=(0,a.A)(t,1)[0],c=(0,o.useCallback)((e=(0,i.A)(l().mark(function e(t){return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({variables:{input:{locale:t}}});case 2:n.changeLanguage(t);case 3:case"end":return e.stop()}},e)})),function(n){return e.apply(this,arguments)}),[n,r]);return[n.language,c]}},69856:e=>{e.exports={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetServerLocale"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"LocaleInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setServerLocale"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"rest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"StringValue",value:"LocaleResponse",block:!1}},{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"StringValue",value:"setLocale",block:!1}},{kind:"Argument",name:{kind:"Name",value:"method"},value:{kind:"StringValue",value:"POST",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"locale"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}}}]);

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.