1(()=>{"use strict";var e={},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}n.rv=function(){return"1.2.3"},n.ruid="[email protected]";var i=Object.defineProperty,o=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r=(e,t,n)=>o(e,"symbol"!=typeof t?t+"":t,n);let a=/^[a-z0-9][a-z0-9_-]{0,31}$/;class l extends Error{constructor(e,t){super(e),r(this,"status"),this.status=t,this.name="SignalError"}}function s(){if(typeof document>"u")return;let e=/(?:^|;\s*)statid=([^;]+)/.exec(document.cookie);return(null==e?void 0:e[1])||void 0}class c{constructor(e={}){r(this,"config"),r(this,"countsEtag"),r(this,"lastCounts",{unseen:0,unread:0}),this.config=function(e={}){let t=e.fetch??globalThis.fetch;if("function"!=typeof t)throw Error("wp-signal-client: no fetch available; pass config.fetch");let n=t.bind(globalThis),i=(e.namespace??"").trim().toLowerCase();if(i&&!a.test(i))throw Error(`wp-signal-client: invalid namespace ${JSON.stringify(e.namespace)} (expected slug [a-z0-9][a-z0-9_-]{0,31})`);return{baseUrl:(e.baseUrl??"/api/signal").replace(/\/$/,""),credentials:e.credentials??"same-origin",pollIntervalMs:e.pollIntervalMs??3e4,namespace:i,fetch:n}}(e)}hasGuestId(){return void 0!==s()}async getCounts(){let e={};this.countsEtag&&(e["If-None-Match"]=this.countsEtag);let t=await this.config.fetch(this.url("/notifications/unread-count"),{credentials:this.config.credentials,headers:this.headers(e),cache:"no-cache"});if(304===t.status)return this.lastCounts;if(!t.ok)throw await this.err(t);let n=t.headers.get("ETag");n&&(this.countsEtag=n);let i=await t.json();return this.lastCounts={unseen:i.unseen??0,unread:i.unread??0},this.lastCounts}async getUnreadCount(){return(await this.getCounts()).unread}markSeen(){return this.send("/notifications/seen","POST")}async listNotifications(e={}){let t=new URLSearchParams;e.cursor&&t.set("cursor",e.cursor),null!=e.limit&&t.set("limit",String(e.limit));let n=t.toString(),i=await this.config.fetch(this.url(`/notifications${n?`?${n}`:""}`),{credentials:this.config.credentials,headers:this.headers(),cache:"no-cache"});if(!i.ok)throw await this.err(i);return await i.json()}markRead(e,t){return this.send(`/notifications/${encodeURIComponent(e)}/read`,"POST",void 0,t)}markUnread(e){return this.send(`/notifications/${encodeURIComponent(e)}/unread`,"POST")}markAllRead(){return this.send("/notifications/read-all","POST")}markBroadcastRead(e,t){return this.send(`/announcements/${encodeURIComponent(e)}/read`,"POST",void 0,t)}deleteNotification(e){return this.send(`/notifications/${encodeURIComponent(e)}`,"DELETE")}dismissBroadcast(e){return this.send(`/announcements/${encodeURIComponent(e)}`,"DELETE")}async getPreferences(){let e=await this.config.fetch(this.url("/preferences"),{credentials:this.config.credentials,headers:this.headers()});if(!e.ok)throw await this.err(e);return await e.json()}setMuted(e){return this.send("/preferences","PUT",{muted:e})}url(e){return function(e){let t=("u">typeof document?document.baseURI:void 0)??("u">typeof location?location.href:void 0);if(!t)return e;try{let n=new URL(t);n.username="",n.password="";let i=new URL(e,n);return i.username="",i.password="",i.toString()}catch{return e}}(this.config.baseUrl+e)}async send(e,t,n,i){let o=await this.config.fetch(this.url(e),{method:t,credentials:this.config.credentials,headers:this.headers(n?{"Content-Type":"application/json"}:void 0),body:n?JSON.stringify(n):void 0,keepalive:null==i?void 0:i.keepalive});if(!o.ok)throw await this.err(o)}headers(e){let t=this.config.namespace,n=s();return t||n?{...e,...t?{"Ap-Namespace":t}:void 0,...n?{"X-Guest-Id":n}:void 0}:e}async err(e){let t=`wp-signal request failed: ${e.status}`;try{let n=await e.json();n.error&&(t=n.error)}catch{}return new l(t,e.status)}}function u(e,t,n={}){let i=n.EventSourceCtor??globalThis.EventSource;if(!i)throw Error("wp-signal-client: EventSource unavailable; pass opts.EventSourceCtor");let o=e.config.namespace,r=new i(e.url("/notifications/stream")+(o?`?ns=${encodeURIComponent(o)}`:""),{withCredentials:"omit"!==e.config.credentials});return n.onOpen&&(r.onopen=n.onOpen),r.onmessage=e=>{if(e.data)try{t(JSON.parse(e.data))}catch{}},n.onError&&(r.onerror=e=>{var t;return null==(t=n.onError)?void 0:t.call(n,e,r.readyState)}),()=>r.close()}
1let d={idle:"idle","lock-queued":"connecting","lock-stealing":"connecting","stream-opening":"connecting",live:"live",backoff:"connecting","suspended-hidden":"suspended","suspended-exhausted":"suspended","suspended-no-eventsource":"suspended","suspended-abdicated":"suspended","suspended-handoff":"suspended","suspended-bfcache":"suspended",stopped:"idle"};function f(){return{hidden:()=>!1,subscribe:()=>()=>{}}}let p=0;function _(e,t,n={}){let i=n.connectDelayMs??15e3,o=n.hiddenLingerMs??6e4,r=n.maxBackoffRetries??6,a=n.backoffBaseMs??1e3,l=n.subscribeFn??u,s=n.now??(()=>Date.now()),c=n.lockName??"wpsig-sse-leader",h=n.channelName??"wpsig",v=n.heartbeatMs??1e4,m=n.livenessTimeoutMs??35e3,g=n.tabId??`${s()}-${p++}`,b=n.locks??function(){var e;let t="u">typeof navigator?navigator:void 0;if(null!=(e=null==t?void 0:t.locks)&&e.request)return{request:t.locks.request.bind(t.locks)}}(),y=n.BroadcastChannelCtor??("u">typeof BroadcastChannel?BroadcastChannel:void 0),C=n.visibility??!0?n.visibilitySource??(typeof document>"u"?f():{hidden:()=>"hidden"===document.visibilityState,subscribe(e){let t=()=>e({visible:"hidden"!==document.visibilityState}),n=t=>e({visible:!0,persisted:t.persisted});document.addEventListener("visibilitychange",t);let i="u">typeof window?window:void 0;return null==i||i.addEventListener("pageshow",n),()=>{document.removeEventListener("visibilitychange",t),null==i||i.removeEventListener("pageshow",n)}}}):f(),w="idle",x="idle",k=!1,M=!1,S=!C.hidden(),L,$,T=i<=0,z=Math.max(0,i),E=0,H,I,U,A=0,N={connectDelayMs:i,hiddenLingerMs:o,livenessTimeoutMs:m,heartbeatMs:v,backoffBaseMs:a,maxBackoffRetries:r,transport:n.transport??"auto"},j=!1;function P(e){let t=n.onLifecycle;if(t){j||(j=!0,e.effective=N);try{t(e)}catch{}}}function R(e,t){let n=x;x=e,w=d[e],P({from:n,to:e,at:s(),...t})}function O(e,t){P({event:e,at:s(),...t})}function D(e){var n;$!==e&&($=e,O("live-change",{live:e}),null==(n=t.onLiveChange)||n.call(t,e))}function F(){void 0!==H&&(clearTimeout(H),H=void 0)}function V(){void 0!==I&&(clearTimeout(I),I=void 0)}function Z(){if(!L)return;let e=L;L=void 0,e()}function B(){k||M||J.busy()||!T||void 0!==U||S&&J.connect()}function W(){R("stream-opening");try{L=l(e,e=>J.notif(e),{onOpen:q,onError:G,EventSourceCtor:n.EventSourceCtor})}catch{M=!0,R("suspended-no-eventsource",{reason:"no EventSource in this runtime â polling is now permanent"}),J.disconnect(),D(!1)}}function q(){var e;k||(R("live"),A=0,D(!0),null==(e=t.onReconcile)||e.call(t),J.streamUp())}function G(e,t){if(k||2!==t)return;if(Z(),D(!1),J.streamDown(),A>=r){M=!0,R("suspended-exhausted",{reason:`backoff budget spent after ${A} retries â SSE is off for good, polling takes over`,retries:A}),J.disconnect();return}let n=Math.min(a*2**A,3e4);R("backoff",{attempt:A+=1,delayMs:n,dueAt:s()+n}),U=setTimeout(()=>{U=void 0,B()},n)}function K(){if(!(T||void 0!==H||k)){if(z<=0){T=!0,O("gate-open",{remainingMs:0});return}E=s(),O("gate-armed",{remainingMs:z,dueAt:s()+z,totalMs:i}),H=setTimeout(()=>{H=void 0,z=0,T=!0,O("gate-open",{afterVisibleMs:i}),B()},z)}}let J=(n.transport??"auto")!=="single"&&b&&y?function(e,n){let i,o=!1,r,a,l,u,d=0,f;function p(e){i.postMessage(e)}function _(){void 0!==l&&(clearInterval(l),l=void 0)}function b(){void 0!==u&&(clearTimeout(u),u=void 0)}function y(t){b(),"heartbeat"!==t&&O("watchdog-armed",{dueAt:s()+m,timeoutMs:m}),u=setTimeout(()=>{u=void 0,o||(D(!1),O("watchdog-fired",{visible:S,reason:S?"no heartbeat within the liveness window â stealing the lock":"no heartbeat, but the tab is hidden â not stealing, waiting for the FIFO grant"}),!S||k||M||function(){if(!(o||k||M)){if(void 0!==r){let e=r;r=void 0,e.abort()}R("lock-stealing",{lockName:c}),e.request(c,{steal:!0},async()=>{O("lock-granted",{via:"steal"}),k||M||!S||await w()}).catch(()=>{o&&x()})}}())},m)}function C(){if(!o)return;o=!1,_();let e=a;a=void 0,null==e||e(),y()}async function w(){o=!0,f=void 0,b(),W(),o&&await new Promise(e=>{a=e})}function x(){o=!1,_(),Z(),a=void 0,R("suspended-abdicated",{reason:"our held lock was stolen while frozen â a visible sibling took over"}),D(!1),y(),S&&B()}function $(e){var n,i;if(k)return;let r=e.data;if(r&&1===r.v)switch(r.k){case"notif":t.onNotification(r.n);break;
1case"reconnect":null==(n=t.onReconcile)||n.call(t);break;case"app":null==(i=t.onMessage)||i.call(t,r.m);break;case"hb":o||(d=s(),r.tabId!==f&&(f=void 0),D(r.live),y("heartbeat"));break;case"leader-hidden":o||(f=r.tabId,!S||k||M||p({v:1,k:"want-leader",tabId:g}));break;case"want-leader":o&&!S&&(V(),Z(),C(),R("suspended-handoff",{reason:"hidden leader handed the role to a visible sibling on request"}),D(!1))}}function T(){(i=new n(h)).onmessage=$}return T(),y(),{busy:()=>void 0!==L||void 0!==r,engaged:()=>void 0!==L||void 0!==r||o,connect(){o?W():function(){if(o||void 0!==r)return;R("lock-queued",{lockName:c});let t=new AbortController;r=t,e.request(c,{signal:t.signal},async()=>{r=void 0,O("lock-granted",{via:"fifo"}),k||M||!S||await w()}).catch(()=>{r===t?r=void 0:o&&x()})}()},disconnect(){if(void 0!==r){let e=r;r=void 0,e.abort()}o&&(Z(),C())},dispose(){b(),_(),i.close()},streamUp(){p({v:1,k:"reconnect",tabId:g}),p({v:1,k:"hb",live:!0,tabId:g}),_(),l=setInterval(()=>p({v:1,k:"hb",live:!0,tabId:g}),v)},streamDown(){_(),p({v:1,k:"hb",live:!1,tabId:g})},notif(e){t.onNotification(e),p({v:1,k:"notif",n:e,tabId:g})},broadcast(e){p({v:1,k:"app",m:e,tabId:g})},onHidden(){o&&p({v:1,k:"leader-hidden",tabId:g})},onVisible(){if(o)return;let e=0!==d&&s()-d<=m;void 0===f&&e||p({v:1,k:"want-leader",tabId:g})},onBfcacheRestore(){i.close(),T(),o||y()}}}(b,y):{busy:()=>void 0!==L,engaged:()=>void 0!==L,connect:()=>W(),disconnect:()=>Z(),dispose:()=>{},streamUp:()=>{},streamDown:()=>{},notif:e=>t.onNotification(e),broadcast:()=>{},onHidden:()=>{},onVisible:()=>{},onBfcacheRestore:()=>{}},X=C.subscribe(e=>{var t;k||(e.visible?(t=e.persisted,S=!0,O("visibility",{visible:!0,persisted:t??!1}),V(),t&&(L&&(Z(),R("suspended-bfcache",{reason:"restored from bfcache â the frozen EventSource is stale, rebuilding"})),J.onBfcacheRestore()),K(),B(),J.onVisible()):(S=!1,O("visibility",{visible:!1}),void 0!==H&&(F(),O("gate-paused",{remainingMs:z=Math.max(0,z-(s()-E))})),J.engaged()&&void 0===I&&(O("gate-paused",{reason:"hidden while engaged â linger grace started",dueAt:s()+o}),I=setTimeout(()=>{I=void 0,J.disconnect(),R("suspended-hidden",{reason:`hidden longer than ${o} ms â stream and lock released`}),D(!1)},o)),J.onHidden()))});return T?B():S&&K(),{wake(){k||(T=!0,F(),B())},broadcast(e){k||J.broadcast(e)},state:()=>w,stop(){k||(k=!0,F(),V(),void 0!==U&&(clearTimeout(U),U=void 0),J.disconnect(),J.dispose(),X(),R("stopped"))}}}function h(e,t,n,i){let o=Math.abs(e),r=o%10,a=o%100;return 1===o?t:r>=2&&r<=4&&!(a>=12&&a<=14)?n:i}let v={reply:"chats",repost:"chats",followed_author_post:"chats",announcement:"info",followed:"thumbs-up",rated:"thumbs-up",reaction:"thumbs-up",post_rejected:"thumbs-down"};function m(e){let t=e.payload??{},n=t.rating??t.value??t.sentiment??t.score;return"number"==typeof n?n<0:"string"==typeof n&&("down"===n||"negative"===n||"dislike"===n)}function g(e){var t,n,i;return(null==(n=null==(t=e.actors)?void 0:t[0])?void 0:n.displayName)??(null==(i=e.actor)?void 0:i.displayName)??"KtoÅ"}function b(e){return"string"==typeof e&&""!==e?e:void 0}let y=["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrzeÅnia","października","listopada","grudnia"];var C,w,x,k,M,S,L,$,T,z,E,H,I={},U=[],A=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,N=Array.isArray;function j(e,t){for(var n in t)e[n]=t[n];return e}function P(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function R(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++x,__i:-1,__u:0};return null==o&&null!=w.vnode&&w.vnode(r),r}function O(e){return e.children}function D(e,t){this.props=e,this.context=t}function F(e,t){if(null==t)return e.__?F(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?F(e):null}function V(e){(!e.__d&&(e.__d=!0)&&M.push(e)&&!Z.__r++||S!==w.debounceRendering)&&((S=w.debounceRendering)||L)(Z)}function Z(){for(var e,t,n,i,o,r,a=1;M.length;)M.length>a&&M.sort($),e=M.shift(),a=M.length,e.__d&&(t=void 0,i=(n=e.__v).__e,o=[],r=[],e.__P&&((t=j({},n)).__v=n.__v+1,w.vnode&&w.vnode(t),K(e.__P,t,n,e.__n,e.__P.namespaceURI,32&n.__u?[i]:null,o,i??F(n),!!(32&n.__u),r),t.__v=n.__v,t.__.__k[t.__i]=t,J(o,t,r),t.__e!=i&&function e(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return e(t)}}(t)));Z.__r=0}function B(e,t,n,i,o,r,a,l,s,c,u){var d,f,p,_,h,v,m=i&&i.__k||U,g=t.length;for(s=function(e,t,n,i,o){var r,a,l,s,c,u=n.length,d=u,f=0;for(e.__k=Array(o),r=0;r<o;r++)null!=(a=t[r])&&"boolean"!=typeof a&&"function"!=typeof a?(s=r+f,(a=e.__k[r]="string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?R(null,a,null,null,null):N(a)?R(O,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?R(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,l=null,-1!==(c=a.__i=function(e,t,n,i){var o,r,a=e.key,l=e.type,s=t[n];if(null===s||s&&a==s.key&&l===s.type&&(2&s.__u)==0)return n;if(i>+(null!=s&&(2&s.__u)==0))for(o=n-1,r=n+1;o>=0||r<t.length;){if(o>
vendor: 5,372 bytes, line 1
1=0){if((s=t[o])&&(2&s.__u)==0&&a==s.key&&l===s.type)return o;o--}if(r<t.length){if((s=t[r])&&(2&s.__u)==0&&a==s.key&&l===s.type)return r;r++}}return -1}(a,n,s,d))&&(d--,(l=n[c])&&(l.__u|=2)),null==l||null===l.__v?(-1==c&&f--,"function"!=typeof a.type&&(a.__u|=4)):c!=s&&(c==s-1?f--:c==s+1?f++:(c>s?f--:f++,a.__u|=4))):e.__k[r]=null;if(d)for(r=0;r<u;r++)null!=(l=n[r])&&(2&l.__u)==0&&(l.__e==i&&(i=F(l)),function e(t,n,i){var o,r;if(w.unmount&&w.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||X(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){w.__e(e,n)}o.base=o.__P=null}if(o=t.__k)for(r=0;r<o.length;r++)o[r]&&e(o[r],n,i||"function"!=typeof t.type);i||P(t.__e),t.__c=t.__=t.__e=void 0}(l,l));return i}(n,t,m,s,g),d=0;d<g;d++)null!=(p=n.__k[d])&&(f=-1===p.__i?I:m[p.__i]||I,p.__i=d,v=K(e,p,f,o,r,a,l,s,c,u),_=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&X(f.ref,null,p),u.push(p.ref,p.__c||_,p)),null==h&&null!=_&&(h=_),4&p.__u||f.__k===p.__k?s=function e(t,n,i){var o,r;if("function"==typeof t.type){for(o=t.__k,r=0;o&&r<o.length;r++)o[r]&&(o[r].__=t,n=e(o[r],n,i));return n}t.__e!=n&&(n&&t.type&&!i.contains(n)&&(n=F(t)),i.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(p,s,e):"function"==typeof p.type&&void 0!==v?s=v:_&&(s=_.nextSibling),p.__u&=-7);return n.__e=h,s}function W(e,t,n){"-"==t[0]?e.setProperty(t,n??""):e[t]=null==n?"":"number"!=typeof n||A.test(t)?n:n+"px"}function q(e,t,n,i,o){var r;e:if("style"==t){if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||W(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||W(e.style,t,n[t])}}else if("o"==t[0]&&"n"==t[1])r=t!=(t=t.replace(T,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i?n.u=i.u:(n.u=z,e.addEventListener(t,r?H:E,r)):e.removeEventListener(t,r?H:E,r);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=n??"";break e}catch{}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function G(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=z++;else if(t.t<n.u)return;return n(w.event?w.event(t):t)}}}function K(e,t,n,i,o,r,a,l,s,c){var u,d,f,p,_,h,v,m,g,b,y,x,k,M,S,L,$,T,z=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),r=[l=t.__e=n.__e]),(u=w.__b)&&u(t);e:if("function"==typeof z)try{if(m=t.props,g="prototype"in z&&z.prototype.render,b=(u=z.contextType)&&i[u.__c],y=u?b?b.props.value:u.__:i,n.__c?v=(d=t.__c=n.__c).__=d.__E:(g?t.__c=d=new z(m,y):(t.__c=d=new D(m,y),d.constructor=z,d.render=Q),b&&b.sub(d),d.props=m,d.state||(d.state={}),d.context=y,d.__n=i,f=d.__d=!0,d.__h=[],d._sb=[]),g&&null==d.__s&&(d.__s=d.state),g&&null!=z.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=j({},d.__s)),j(d.__s,z.getDerivedStateFromProps(m,d.__s))),p=d.props,_=d.state,d.__v=t,f)g&&null==z.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),g&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(g&&null==z.getDerivedStateFromProps&&m!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,y),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,y)||t.__v==n.__v)){for(t.__v!=n.__v&&(d.props=m,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),x=0;x<d._sb.length;x++)d.__h.push(d._sb[x]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,y),g&&null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(p,_,h)})}if(d.context=y,d.props=m,d.__P=e,d.__e=!1,k=w.__r,M=0,g){for(d.state=d.__s,d.__d=!1,k&&k(t),u=d.render(d.props,d.state,d.context),S=0;S<d._sb.length;S++)d.__h.push(d._sb[S]);d._sb=[]}else do d.__d=!1,k&&k(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++M<25);d.state=d.__s,null!=d.getChildContext&&(i=j(j({},i),d.getChildContext())),g&&!f&&null!=d.getSnapshotBeforeUpdate&&(h=d.getSnapshotBeforeUpdate(p,_)),$=(L=null!=u&&u.type===O&&null==u.key)?u.props.children:u,L&&(u.props.children=null),l=B(e,N($)?$:[$],t,n,i,o,r,a,l,s,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),v&&(d.__E=d.__=null)}catch(e){if(t.__v=null,s||null!=r){if(e.then){for(t.__u|=s?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;r[r.indexOf(l)]=null,t.__e=l}else for(T=r.length;T--;)P(r[T])}else t.__e=n.__e,t.__k=n.__k;w.__e(e,t,n)}else null==r&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):l=t.__e=function(e,t,n,i,o,r,a,l,s){var c,u,d,f,p,_,h,v=n.props,m=t.props,g=t.type;if("svg"==g?o="http://www.w3.org/2000/svg":"math"==g?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r){for(c=0;c<r.length;c++)if((p=r[c])&&"setAttribute"in p==!!g&&(g?p.localName==g:3==p.nodeType)){e=p,r[c]=null;break}}if(null==e){if(null==g)return document.createTextNode(m);e=document.createElementNS(o,g,m.is&&m),l&&(w.__m&&w.__m(t,r),l=!1),r=null}if(null===g)v===m||l&&e.data===m||(e.data=m);else{if(r=r&&C.call(e.childNodes),v=n.props||I,!l&&null!=r)for(v={}
1,c=0;c<e.attributes.length;c++)v[(p=e.attributes[c]).name]=p.value;for(c in v)if(p=v[c],"children"!=c){if("dangerouslySetInnerHTML"==c)d=p;else if(!(c in m)){if("value"==c&&"defaultValue"in m||"checked"==c&&"defaultChecked"in m)continue;q(e,c,null,p,o)}}for(c in m)p=m[c],"children"==c?f=p:"dangerouslySetInnerHTML"==c?u=p:"value"==c?_=p:"checked"==c?h=p:l&&"function"!=typeof p||v[c]===p||q(e,c,p,v[c],o);if(u)l||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),B("template"===t.type?e.content:e,N(f)?f:[f],t,n,i,"foreignObject"==g?"http://www.w3.org/1999/xhtml":o,r,a,r?r[0]:n.__k&&F(n,0),l,s),null!=r)for(c=r.length;c--;)P(r[c]);l||(c="value","progress"==g&&null==_?e.removeAttribute("value"):void 0===_||_===e[c]&&("progress"!=g||_)&&("option"!=g||_===v[c])||q(e,c,_,v[c],o),c="checked",void 0!==h&&h!==e[c]&&q(e,c,h,v[c],o))}return e}(n.__e,t,n,i,o,r,a,s,c);return(u=w.diffed)&&u(t),128&t.__u?void 0:l}function J(e,t,n){for(var i=0;i<n.length;i++)X(n[i],n[++i],n[++i]);w.__c&&w.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){w.__e(e,t.__v)}})}function X(e,t,n){try{if("function"==typeof e){var i="function"==typeof e.__u;i&&e.__u(),i&&null==t||(e.__u=e(t))}else e.current=t}catch(e){w.__e(e,n)}}function Q(e,t,n){return this.constructor(e,n)}function Y(e,t,n){var i,o,r;t==document&&(t=document.documentElement),w.__&&w.__(e,t),i=t.__k,o=[],r=[],K(t,e=t.__k=function(e,t,n){var i,o,r,a={};for(r in t)"key"==r?i=t[r]:"ref"==r?o=t[r]:a[r]=t[r];if(arguments.length>2&&(a.children=arguments.length>3?C.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===a[r]&&(a[r]=e.defaultProps[r]);return R(e,a,i,o,null)}(O,null,[e]),i||I,I,t.namespaceURI,i?null:t.firstChild?C.call(t.childNodes):null,o,i?i.__e:t.firstChild,!1,r),J(o,e,r)}C=U.slice,w={__e:function(e,t,n,i){for(var o,r,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,i||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},x=0,k=function(e){return null!=e&&null==e.constructor},D.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=j({},this.state),"function"==typeof e&&(e=e(j({},n),this.props)),e&&j(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),V(this))},D.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),V(this))},D.prototype.render=O,M=[],L="function"==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,$=function(e,t){return e.__v.__b-t.__v.__b},Z.__r=0,T=/(PointerCapture)$|Capture$/i,z=0,E=G(!1),H=G(!0);var ee=0;function et(e,t,n,i,o,r){t||(t={});var a,l,s=t;if("ref"in s)for(l in s={},t)"ref"==l?a=t[l]:s[l]=t[l];var c={type:e,props:s,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ee,__i:-1,__u:0,__source:o,__self:r};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===s[l]&&(s[l]=a[l]);return w.vnode&&w.vnode(c),c}var en,ei,eo,er,ea=0,el=[],es=w,ec=es.__b,eu=es.__r,ed=es.diffed,ef=es.__c,ep=es.unmount,e_=es.__;function eh(e,t){es.__h&&es.__h(ei,e,ea||t),ea=0;var n=ei.__H||(ei.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ev(e){return ea=1,function(e,t,n){var i=eh(en++,2);if(i.t=e,!i.__c&&(i.__=[eS(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=ei,!ei.__f)){var o=function(e,t,n){if(!i.__c.__H)return!0;var o=i.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!r||r.call(this,e,t,n);var a=i.__c.props!==e;return o.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),r&&r.call(this,e,t,n)||a};ei.__f=!0;var r=ei.shouldComponentUpdate,a=ei.componentWillUpdate;ei.componentWillUpdate=function(e,t,n){if(this.__e){var i=r;r=void 0,o(e,t,n),r=i}a&&a.call(this,e,t,n)},ei.shouldComponentUpdate=o}return i.__N||i.__}(eS,e)}function em(e,t){var n=eh(en++,3);!es.__s&&eM(n.__H,t)&&(n.__=e,n.u=t,ei.__H.__h.push(n))}function eg(e,t){var n=eh(en++,4);!es.__s&&eM(n.__H,t)&&(n.__=e,n.u=t,ei.__h.push(n))}function eb(e){return ea=5,ey(function(){return{current:e}},[])}function ey(e,t){var n=eh(en++,7);return eM(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function eC(){for(var e;e=el.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ex),e.__H.__h.forEach(ek),e.__H.__h=[]}catch(t){e.__H.__h=[],es.__e(t,e.__v)}}es.__b=function(e){ei=null,ec&&ec(e)},es.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),e_&&e_(e,t)},es.__r=function(e){eu&&eu(e),en=0;var t=(ei=e.__c).__H;t&&(eo===ei?(t.__h=[],ei.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(ex),t.__h.forEach(ek),t.__h=[],en=0)),eo=ei},es.diffed=function(e){ed&&ed(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==el.push(t)&&er===es.requestAnimationFrame||((er=es.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),ew&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);ew&&(t=requestAnimationFrame(n))})(eC)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),eo=ei=null},es.__c=function(e,t){t.some(function(e){try{e.__h.forEach(ex),e.__h=e.__h.filter(function(e){return!e.__||ek(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],es.__e(n,e.__v)}}),ef&&ef(e,t)},es.unmount=function(e){ep&&ep(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{ex(e)}catch(e){t=e}}),n.__H=void 0,t&&es.__e(t,n.__v))};var ew="function"==typeof requestAnimationFrame;function ex(e){var t=ei,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ei=t}function ek(e){var t=ei;e.__c=e.__(),ei=t}function eM(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eS(e,t){return"function"==typeof t?t(e):t}var eL=Symbol.for("preact-signals");function e$(){if(eI>1)eI--;else{var e,t=!1;for(function(){var e=ej;for(ej=void 0;void 0!==e;){var t=e.S;if(t.v===e.v)for(var n=t.t;void 0!==n;n=n.x)n.i===e.i&&(n.i=t.i);e=e.o}}();void 0!==eH;){var n=eH;for(eH=void 0,eU++;void 0!==n;){var i=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&eF(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=i}}if(eU=0,eI--,t)throw e}}var eT,ez=void 0;function eE(e){var t=ez,n=eT;ez=void 0,eT=void 0;try{return e()}finally{ez=t,eT=n}}var eH=void 0,eI=0,eU=0,eA=0,eN=0,ej=void 0,eP=0;function eR(e){if(void 0!==ez){var t=e.n;if(void 0===t||t.t!==ez)return t={i:0,S:e,p:ez.s,n:void 0,t:ez,e:void 0,x:void 0,r:t},void 0!==ez.s&&(ez.s.n=t),ez.s=t,e.n=t,32&ez.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=ez.s,t.n=void 0,ez.s.n=t,ez.s=t),t}}function eO(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function eD(e,t){return new eO(e,t)}function eF(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function eV(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function eZ(e){for(var t=e.s,n=void 0;void 0!==t;){var i=t.p;-1===t.i?(t.S.U(t),void 0!==i&&(i.n=t.n),void 0!==t.n&&(t.n.p=i)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=i}e.s=n}function eB(e,t){eO.call(this,void 0,t),this.x=e,this.s=void 0,this.g=eP-1,this.f=4}function eW(e){var t=e.m;if(e.m=void 0,"function"==typeof t){eI++;var n=ez;ez=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,eq(e),t}finally{ez=n,e$()}}}function eq(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,eW(e)}function eG(e){if(ez!==this)throw Error("Out-of-order effect");eZ(this),ez=e,this.f&=-2,8&this.f&&eq(this),e$()}function eK(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name,eT&&eT.push(this)}function eJ(e,t){var n=new eK(e,t);try{n.c()}catch(e){throw n.d(),e}var i=n.d.bind(n);return i[Symbol.dispose]=i,i}eO.prototype.brand=eL,eO.prototype.h=function(){return!0},eO.prototype.S=function(e){var t=this,n=this.t;n!==e&&void 0===e.e&&(e.x=n,this.t=e,void 0!==n?n.e=e:eE(function(){var e;null==(e=t.W)||e.call(t)}))},eO.prototype.U=function(e){var t=this;if(void 0!==this.t){var n=e.e,i=e.x;void 0!==n&&(n.x=i,e.e=void 0),void 0!==i&&(i.e=n,e.x=void 0),e===this.t&&(this.t=i,void 0===i&&eE(function(){var e;null==(e=t.Z)||e.call(t)}))}},eO.prototype.subscribe=function(e){var t=this;return eJ(function(){var n=t.value;eE(function(){return e(n)})},{name:"sub"})},eO.prototype.valueOf=function(){return this.value},eO.prototype.toString=function(){return this.value+""},eO.prototype.toJSON=function(){return this.value},eO.prototype.peek=function(){var e=this;return eE(function(){return e.value})},Object.defineProperty(eO.prototype,"value",{get:function(){var e=eR(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(eU>100)throw Error("Cycle detected");0!==eI&&0===eU&&this.l!==eN&&(this.l=eN,ej={S:this,v:this.v,i:this.i,o:ej}),this.v=e,this.i++,eP++,eI++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{e$()}}}}),eB.prototype=new eO,eB.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===eP))return!0;
1if(this.g=eP,this.f|=1,this.i>0&&!eF(this))return this.f&=-2,!0;var e=ez;try{eV(this),ez=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return ez=e,eZ(this),this.f&=-2,!0},eB.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}eO.prototype.S.call(this,e)},eB.prototype.U=function(e){if(void 0!==this.t&&(eO.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},eB.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(eB.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=eR(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),eK.prototype.c=function(){var e=this.S();try{if(8&this.f||void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.m=t)}finally{e()}},eK.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,eW(this),eV(this),eI++;var e=ez;return ez=this,eG.bind(this,e)},eK.prototype.N=function(){2&this.f||(this.f|=2,this.u=eH,eH=this)},eK.prototype.d=function(){this.f|=8,1&this.f||eq(this)},eK.prototype.dispose=function(){this.d()};var eX,eQ,eY="u">typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,e1=[];function e2(e,t){w[e]=t.bind(null,w[e]||function(){})}function e0(e){if(eQ){var t=eQ;eQ=void 0,t()}eQ=e&&e.S()}function e4(e){var t,n,i=this,o=e.data,r=(t=o,ey(function(){return eD(t,void 0)},[]));r.value=o;var a=ey(function(){for(var e=i.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}var t=new eB(function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""},void 0),n=new eB(function(){return!Array.isArray(t.value)&&!k(t.value)},void 0),o=eJ(function(){if(this.N=e5,n.value){var e=t.value;i.__v&&i.__v.__e&&3===i.__v.__e.nodeType&&(i.__v.__e.data=e)}}),a=i.__$u.d;return i.__$u.d=function(){o(),a.call(this)},[n,t]},[]),l=a[0],s=a[1];return l.value?s.peek():s.value}eJ(function(){eX=this.N})(),e4.displayName="ReactiveTextNode",Object.defineProperties(eO.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:e4},props:{configurable:!0,get:function(){var e=this;return{data:{get value(){return e.value}}}}},__b:{configurable:!0,value:1}}),e2("__b",function(e,t){if("string"==typeof t.type){var n,i=t.props;for(var o in i)if("children"!==o){var r=i[o];r instanceof eO&&(n||(t.__np=n={}),n[o]=r,i[o]=r.peek())}}e(t)}),e2("__r",function(e,t){if(e(t),t.type!==O){e0();var n,i,o,r=t.__c;r&&(r.__$f&=-2,void 0===(o=r.__$u)&&(r.__$u=(n=function(){var e;eY&&(null==(e=o.y)||e.call(o)),r.__$f|=1,r.setState({})},eJ(function(){i=this},{name:"function"==typeof t.type?t.type.displayName||t.type.name:""}),i.c=n,o=i))),e0(o)}}),e2("__e",function(e,t,n,i){e0(),e(t,n,i)}),e2("diffed",function(e,t){if(e0(),"string"==typeof t.type&&(n=t.__e)){var n,i=t.__np,o=t.props,r=n.U;if(r)for(var a in r){var l=r[a];void 0===l||i&&a in i||(l.d(),r[a]=void 0)}if(i)for(var s in r||(r={},n.U=r),i){var c=r[s],u=i[s];void 0===c?(c=function(e,t,n,i){var o=t in e&&void 0===e.ownerSVGElement,r=eD(n);return{o:function(e,t){r.value=e,i=t},d:eJ(function(){this.N=e5;var n=r.value.value;i[t]!==n&&(i[t]=n,o?e[t]=n:null!=n&&(!1!==n||"-"===t[4])?e.setAttribute(t,n):e.removeAttribute(t))})}}(n,s,u,o),r[s]=c):c.o(u,o)}}e(t)}),e2("unmount",function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var i=n.U;if(i)for(var o in n.U=void 0,i){var r=i[o];r&&r.d()}}var a=t.__np;if(a){var l=t.props;for(var s in a)l[s]=a[s]}t.__np=void 0}else{var c=t.__c;if(c){var u=c.__$u;u&&(c.__$u=void 0,u.d())}}e(t)}),e2("__h",function(e,t,n,i){i<3&&(t.__$f|=2),e(t,n,i)}),D.prototype.shouldComponentUpdate=function(e,t){if(this.__R)return!0;var n=this.__$u,i=n&&void 0!==n.s;for(var o in t)return!0;if(this.__f||"boolean"==typeof this.u&&!0===this.u){var r=2&this.__$f;if(!(i||r||4&this.__$f)||1&this.__$f)return!0}else if(!(i||4&this.__$f)||3&this.__$f)return!0;for(var a in e)if("__source"!==a&&e[a]!==this.props[a])return!0;for(var l in this.props)if(!(l in e))return!0;return!1};var e6=function(e){queueMicrotask(function(){queueMicrotask(e)})};function e3(){!function(e){if(eI>0)return e();eN=++eA,eI++;try{return e()}finally{e$()}}(function(){for(var e;e=e1.shift();)eX.call(e)})}function e5(){1===e1.push(this)&&(w.requestAnimationFrame||e6)(e3)}let e7={bell:'<path d="M5.25 9.75C5.25 7.96 5.961 6.243 7.227 4.977C8.493 3.711 10.21 3 12 3C13.79 3 15.507 3.711 16.773 4.977C18.039 6.243 18.75 7.96 18.75 9.75C18.75 13.108 19.528 15.806 20.147 16.875C20.213 16.989 20.247 17.118 20.247 17.249C20.248 17.381 20.213 17.51 20.148 17.624C20.082 17.738 19.988 17.833 19.874 17.899C19.76 17.965 19.631 18 19.5 18H4.5C4.369 17.999 4.24 17.964 4.127 17.898C4.013 17.832 3.919 17.737 3.854 17.623C3.789 17.509 3.754 17.38 3.755 17.249C3.755 17.118 3.789 16.989 3.855 16.875C4.473 15.806 5.25 13.107 5.25 9.75Z"/><path d="M9 18C9 18.796 9.316 19.559 9.879 20.121C10.441 20.684 11.204 21 12 21C12.796 21 13.559 20.684 14.121 20.12
11C14.684 19.559 15 18.796 15 18"/>',chats:'<path d="M3.04698 12.9374C2.28297 11.5101 2.0574 9.85572 2.41141 8.27596C2.76542 6.6962 3.67542 5.29629 4.97548 4.3315C6.27554 3.36672 7.87905 2.90132 9.49362 3.02018C11.1082 3.13904 12.6263 3.83423 13.771 4.97899C14.9158 6.12375 15.611 7.64183 15.7298 9.2564C15.8487 10.871 15.3833 12.4745 14.4185 13.7745C13.4537 15.0746 12.0538 15.9846 10.4741 16.3386C8.8943 16.6926 7.23993 16.4671 5.8126 15.703L3.2101 16.468C3.08087 16.506 2.94381 16.5084 2.81331 16.4751C2.68281 16.4418 2.56368 16.374 2.46845 16.2788C2.37321 16.1835 2.30538 16.0644 2.27207 15.9339C2.23876 15.8034 2.24121 15.6663 2.27916 15.5371L3.04698 12.9374Z"/><path d="M15.3696 7.51025C16.5035 7.5719 17.6036 7.91863 18.5679 8.51835C19.5322 9.11807 20.3297 9.95139 20.8864 10.9412C21.4431 11.9309 21.7411 13.0452 21.7528 14.1807C21.7645 15.3163 21.4896 16.4364 20.9534 17.4374L21.7184 20.0399C21.7563 20.1692 21.7588 20.3062 21.7255 20.4367C21.6921 20.5672 21.6243 20.6864 21.5291 20.7816C21.4338 20.8768 21.3147 20.9447 21.1842 20.978C21.0537 21.0113 20.9166 21.0088 20.7874 20.9709L18.1877 20.2031C17.329 20.6623 16.3811 20.9305 15.409 20.9891C14.4369 21.0477 13.4636 20.8955 12.5559 20.5428C11.6481 20.1901 10.8274 19.6452 10.1499 18.9456C9.47243 18.246 8.95424 17.4082 8.63086 16.4896"/>',"thumbs-up":'<path d="M8 21H5a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3m0 0 4-8a2.5 2.5 0 0 1 2.5 2.5V8h4.5a2 2 0 0 1 2 2.3l-1.2 8A2 2 0 0 1 18 20H8m0-9v9"/>',"thumbs-down":'<path d="M16 3h3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-3m0 0-4 8a2.5 2.5 0 0 1-2.5-2.5V16H5a2 2 0 0 1-2-2.3l1.2-8A2 2 0 0 1 6 4h10m0 9V4"/>',info:'<circle cx="12" cy="12" r="9"/><path d="M12 11v5"/><circle cx="12" cy="8" r="0.6" fill="currentColor" stroke="none"/>',"dots-vertical":'<circle cx="12" cy="5" r="1.4" fill="currentColor" stroke="none"/><circle cx="12" cy="12" r="1.4" fill="currentColor" stroke="none"/><circle cx="12" cy="19" r="1.4" fill="currentColor" stroke="none"/>',x:'<path d="M6 6l12 12M18 6 6 18"/>',"check-circle":'<circle cx="12" cy="12" r="9"/><path d="m8.5 12 2.5 2.5 4.5-5"/>',"minus-circle":'<circle cx="12" cy="12" r="9"/><path d="M8 12H16"/>',"trash-2":'<path d="M4 7H20"/><path d="M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1V7"/><path d="M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13"/><path d="M10 11v6M14 11v6"/>',"avatar-user":'<circle cx="12" cy="12" r="11.22"/><path d="M16.8 17.4V16.2C16.8 15.564 16.547 14.953 16.097 14.503C15.647 14.053 15.036 13.8 14.4 13.8H9.6C8.963 13.8 8.353 14.053 7.903 14.503C7.453 14.953 7.2 15.564 7.2 16.2V17.4"/>
1<path d="M12 11.4C13.325 11.4 14.4 10.325 14.4 9C14.4 7.675 13.325 6.6 12 6.6C10.675 6.6 9.6 7.675 9.6 9C9.6 10.325 10.675 11.4 12 11.4Z"/>'};function e9(e,t=24,n=1.7){return`<svg viewBox="0 0 24 24" width="${t}" height="${t}" fill="none" stroke="currentColor" stroke-width="${n}" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${e7[e]}</svg>`}let e8='<path d="M21 42C21 43.8565 21.7375 45.637 23.0503 46.9497C24.363 48.2625 26.1435 49 28 49C29.8565 49 31.637 48.2625 32.9497 46.9497C34.2625 45.637 35 43.8565 35 42"/><path d="M12.25 22.75C12.25 18.5728 13.9094 14.5668 16.8631 11.6131C19.8168 8.65937 23.8228 7 28 7C32.1772 7 36.1832 8.65937 39.1369 11.6131C42.0906 14.5668 43.75 18.5728 43.75 22.75C43.75 30.5856 45.5656 36.8813 47.0094 39.375C47.1627 39.6406 47.2436 39.9418 47.2438 40.2485C47.2441 40.5551 47.1638 40.8565 47.0109 41.1223C46.8581 41.3882 46.638 41.6092 46.3728 41.7632C46.1077 41.9173 45.8067 41.9989 45.5 42H10.5C10.1937 41.9982 9.89326 41.916 9.62869 41.7616C9.36412 41.6073 9.1447 41.3862 8.99235 41.1205C8.84 40.8547 8.76006 40.5537 8.76053 40.2474C8.76099 39.9411 8.84184 39.6403 8.995 39.375C10.4366 36.8813 12.25 30.5834 12.25 22.75Z"/>',te="M5.56543 6.39355C5.9641 6.39372 6.2871 6.71653 6.28711 7.11523V10.0625C6.28702 10.4611 5.96405 10.784 5.56543 10.7842C5.16667 10.7842 4.84286 10.4612 4.84277 10.0625V7.11523C4.84279 6.71643 5.16662 6.39355 5.56543 6.39355ZM10.251 4.65527C10.6498 4.65527 10.9736 4.97911 10.9736 5.37793C10.9734 5.77657 10.6497 6.09961 10.251 6.09961H7.30371C6.90516 6.09944 6.58224 5.77647 6.58203 5.37793C6.58203 4.97921 6.90503 4.65544 7.30371 4.65527H10.251ZM3.66895 4.62695C4.06762 4.62695 4.39136 4.95002 4.3916 5.34863C4.3916 5.74745 4.06776 6.07129 3.66895 6.07129H0.722656C0.323838 6.07129 1.74329e-08 5.74745 0 5.34863C0.000239907 4.95002 0.323986 4.62695 0.722656 4.62695H3.66895ZM5.56543 0C5.96405 0.000164559 6.28702 0.323039 6.28711 0.72168V3.66895C6.28709 4.06765 5.9641 4.39046 5.56543 4.39062C5.16662 4.39062 4.84279 4.06775 4.84277 3.66895V0.72168C4.84286 0.322937 5.16667 0 5.56543 0Z",tt="text-[#cc0000] dark:text-[#f34d4d]";function tn(){return`<svg viewBox="0 0 96 96" width="96" height="96" fill="none" aria-hidden="true" focusable="false"><circle cx="48" cy="48" r="48" fill="currentColor" class="text-[#eff1f5] dark:text-[#22242d]"/><g transform="translate(23 24.5)" fill="currentColor" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round" class="opacity-10 dark:opacity-20">${e8}</g><g transform="translate(20 20.5)" fill="none" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round">${e8}</g><path transform="translate(15 31.5)" fill="currentColor" class="${tt}" d="${te}"/><path transform="translate(73 53.5)" fill="currentColor" class="${tt}" d="${te}"/></svg>`}function ti({store:e}){let t=Math.max(0,Math.floor(e.count.value||0));return et("span",{class:"signal-hub inline-flex font-[family-name:Roboto,system-ui,Arial,sans-serif] antialiased",children:et("button",{type:"button","aria-label":"Powiadomienia","aria-haspopup":"dialog","aria-expanded":e.open.value,onClick:()=>e.toggle(),class:`signal-hub-button relative m-0 inline-grid h-10 w-10 cursor-pointer appearance-none place-items-center rounded-full border-0 bg-transparent p-0 font-[family-name:inherit] text-inherit [-webkit-tap-highlight-color:transparent] focus-visible:outline focus-visible:outline-2 focus-visible:outline-[#cc0000]${t>99?" pr-1":""}`,children:[et("span",{class:"signal-hub-icon [&>svg]:block",dangerouslySetInnerHTML:{__html:e9("bell",28,1.543)}}),et("span",{class:0===t?"signal-hub-badge absolute right-3 top-1 box-border hidden h-4 min-w-4 translate-x-1/2 rounded-full bg-[var(--wp-signal-badge-bg,#cc0000)] px-[3px] text-center text-[10px] font-bold tabular-nums leading-4 tracking-[0.3px] text-[var(--wp-signal-badge-fg,#fff)]":"signal-hub-badge absolute right-3 top-1 box-border h-4 min-w-4 translate-x-1/2 rounded-full bg-[var(--wp-signal-badge-bg,#cc0000)] px-[3px] text-center text-[10px] font-bold tabular-nums leading-4 tracking-[0.3px] text-[var(--wp-signal-badge-fg,#fff)]",children:t>99?"99+":String(t)})]})})}let to={google:{w:21.2191,h:22.1414,body:'<path d="M21.2191 11.3159C21.2191 10.4056 21.1468 9.74139 20.9905 9.05255H10.8262V13.161H16.7924C16.6722 14.182 16.0226 15.7196 14.5791 16.7528L14.5589 16.8903L17.7
1727 19.4363L17.9953 19.459C20.0402 17.5278 21.2191 14.6863 21.2191 11.3159" fill="#4285F4"/><path d="M10.8255 22.1413C13.7485 22.1413 16.2023 21.1572 17.9947 19.4598L14.5785 16.7535C13.6643 17.4055 12.4373 17.8606 10.8255 17.8606C7.96266 17.8606 5.53285 15.9295 4.6667 13.2602L4.53974 13.2712L1.198 15.9159L1.1543 16.0401C2.93454 19.6565 6.59132 22.1413 10.8255 22.1413" fill="#34A853"/><path d="M4.66714 13.2594C4.4386 12.5706 4.30633 11.8325 4.30633 11.0699C4.30633 10.3072 4.4386 9.56918 4.65511 8.88034L4.64906 8.73364L1.26545 6.04648L1.15474 6.10033C0.421014 7.60104 0 9.28628 0 11.0699C0 12.8535 0.421014 14.5387 1.15474 16.0394L4.66714 13.2594" fill="#FBBC05"/><path d="M10.8255 4.28064C12.8583 4.28064 14.2296 5.1786 15.0115 5.929L18.0668 2.87838C16.1904 1.09477 13.7485 0 10.8255 0C6.59132 0 2.93454 2.48474 1.1543 6.10114L4.65467 8.88115C5.53285 6.21189 7.96266 4.28064 10.8255 4.28064" fill="#EB4335"/>'},facebook:{w:22.1414,h:22.1414,body:'<circle cx="11.0707" cy="11.0707" r="11.0707" fill="#1977F3"/><path d="M15.3801 14.2715L15.8705 11.0706H12.8004V8.99376C12.8004 8.11881 13.2285 7.26411 14.6048 7.26411H16.0012V4.53963C16.0012 4.53963 14.734 4.32323 13.5227 4.32323C10.9944 4.32323 9.34107 5.85516 9.34107 8.63101V11.0706H6.52941V14.2715H9.34107V22.0074C9.90465 22.0961 10.4822 22.1413 11.0707 22.1413C11.6592 22.1413 12.2368 22.0946 12.8004 22.0074V14.2715H15.3801Z" fill="white"/>'},apple:{w:24,h:24.5,body:'<path d="M18.6638 23.0371C17.3716 24.3036 15.9606 24.1036 14.6024 23.5037C13.1651 22.8904 11.8464 22.8638 10.33 23.5037C8.43114 24.3303 7.42897 24.0903 6.29493 23.0371C-0.140059 16.3313 0.809366 6.11923 8.11466 5.74594C9.89483 5.83926 11.1344 6.73248 12.1761 6.81247C13.7321 6.49251 15.2222 5.57263 16.8837 5.69261C18.8748 5.85259 20.3781 6.65249 21.3671 8.09231C17.2529 10.5853 18.2287 16.0646 22 17.5978C21.2484 19.5975 20.2726 21.5839 18.6506 23.0504L18.6638 23.0371ZM12.0442 5.66595C11.8464 2.69299 14.2332 0.23997 16.976 0C17.3584 3.43957 13.8903 5.99924 12.0442 5.66595Z" fill="currentColor"/>'},wp:{w:24,h:24,body:'<path d="M7.8937 14.6741L9.81777 14.5781L8.28265 8.50704L6.00676 8.35065L5.98725 8.28489C5.90899 8.02213 5.83026 7.75913 5.76375 7.49299C5.71675 7.3054 5.71934 7.11347 5.7755 6.92492C5.85047 6.67207 6.00464 6.48062 6.21216 6.33413C6.63989 6.03197 7.11486 5.94761 7.62155 6.02955C8.05515 6.09941 8.4394 6.28289 8.77665 6.57224C9.05961 6.81518 9.23799 7.12338 9.32894 7.48912C9.39709 7.76542 9.46995 8.04075 9.54069 8.31632C9.64104 8.70647 9.74233 9.09662 9.84198 9.48702C9.94303 9.88225 10.045 10.2775 10.143 10.6734C10.2629 11.1576 10.3797 11.6428 10.4967 12.1277C10.5813 12.4779 10.6659 12.828 10.7468 13.1792C10.826 13.5229 10.9005 13.8679 10.9771 14.2121C11.0006 14.318 11.0218 14.4244 11.0476 14.5295C11.0728 14.631 11.1369 14.6728 11.2326 14.6576C11.3113 14.6448 11.3458 14.6093 11.3552 14.5218C11.3682 14.399 11.3773 14.2754 11.3886 14.1524C11.4201 13.8082 11.4521 13.4642 11.4831 13.12C11.5207 12.7003 11.5576 12.2807 11.595 11.861C11.6422 11.3307 11.6899 10.8006 11.7369 10.2702C11.7733 9.85807 11.8081 9.44568 11.846 9.03353C11.8749 8.71928 11.9118 8.40624 12.0058 8.1036C12.089 7.83431 12.2091 7.58533 12.3827 7.36415C12.6257 7.05521 12.9362 6.84999 13.3052 6.7487C14.0022 6.55725 14.6814 6.62058 15.3286 6.95272C15.7792 7.18357 16.0993 7.55221 16.3249 8.01077C16.4722 8.31028 16.5594 8.63057 16.6233 8.95787C16.766 9.68765 16.907 10.4177 17.0473 11.1479C17.201 11.9471 17.3528 12.7467 17.5056 13.5464C17.5162 13.6008 17.5251 13.6557 17.5385 13.7093C17.5538 13.7729 17.6092 13.8091 17.6715 13.8004C17.7094 13.7951 17.7354 13.7647 17.7432 13.7069C17.7526 13.6395 17.7587 13.5715 17.7636 13.5038C17.7916 13.1212 17.8177 12.7385 17.8464 12.3561C17.8762 11.956 17.9068 11.556 17.9394 11.1562C17.9658 10.8371 17.9944 10.5178 18.0243 10.1989C18.06 9.81698 18.0985 9.43553 18.1352 9.05384C18.1697 8.69487 18.2041 8.3359 18.2372 7.97645C18.2499 7.83794 18.2717 7.7016 18.3178 7.5701C18.4724 7.12894 18.8955 6.94668 19.2496 6.98584C19.4177 7.00421 19.5864 7.01581 19.7549 7.03007L20.2748 7.07334C20.4969 7.09147 20.7192 7.10839 20.9413 7.12701C21.1735 7.14659 21.4054 7.16617 21.6372 7.18865C21.7836 7.20315 21.9314 7.21161 22.075 7.24183C22.8971 7.41467 23.4644 7.90659 23.7777 8.70792C23.8719 8.94917 23.9253 9.20178 23.9633 9.45898C24.0075 9.75558 24.0049 10.0536 23.9908 10.3505C23.972 10.7358 23.9102 11.1143 23.7777 11.4791C23.5342 12.1487 23.071 12.5722 22.4181 12.7888C22.2541 12.8432 22.0844 12.8686 21.9145 12.8913C21.6496 12.9271 21.3845 12.959 21.1194 12.9928C21.0513 13.0013 20.9831 13.0097 20.915 13.0177C20.7702 13.0346 20.6501 12.9856 20.553
112.8744C20.4637 12.7729 20.4085 12.6513 20.3772 12.5207C20.3072 12.2268 20.3262 11.9391 20.4619 11.6667C20.4976 11.5956 20.5432 11.5284 20.5921 11.4661C20.6837 11.3493 20.8031 11.2792 20.9516 11.2695C21.1716 11.255 21.3918 11.2437 21.612 11.227C21.7413 11.2171 21.871 11.206 21.9989 11.1842C22.6595 11.0711 22.7854 9.15077 21.9128 9.08309C21.7963 9.06955 21.6778 9.07028 21.5603 9.0681C21.0872 9.05964 20.6141 9.05239 20.1413 9.04489C20.1147 9.04441 20.0882 9.04489 20.0548 9.04489C20.0339 9.24069 20.0134 9.4261 19.9946 9.61151C19.9653 9.89747 19.9371 10.1837 19.9086 10.4696C19.8663 10.8912 19.8254 11.313 19.7824 11.7344C19.7312 12.2362 19.6781 12.7376 19.6264 13.2394C19.6012 13.4826 19.5841 13.727 19.5352 13.967C19.4466 14.4024 19.264 14.7865 18.9514 15.0993C18.6891 15.3618 18.3756 15.532 18.0273 15.639C17.7688 15.7186 17.5044 15.7478 17.2353 15.7307C16.7042 15.6968 16.2859 15.4558 15.985 15.0021C15.8447 14.7908 15.7552 14.5559 15.6974 14.3095C15.5808 13.8116 15.4699 13.3124 15.359 12.8132C15.248 12.314 15.1395 11.8139 15.0304 11.3145L14.6694 9.65985L14.5475 9.09856C14.5432 9.07898 14.5385 9.05916 14.5317 9.04054C14.5052 8.96609 14.4614 8.93611 14.393 8.94313C14.3319 8.94965 14.295 8.98857 14.2842 9.06592C14.2744 9.13844 14.2678 9.21145 14.2607 9.28421C14.2161 9.73866 14.1714 10.1931 14.128 10.6476C14.0899 11.0445 14.0542 11.4414 14.0158 11.8383C13.9691 12.3257 13.9209 12.8125 13.8734 13.2996C13.8377 13.6663 13.8057 14.0332 13.7663 14.3995C13.7287 14.7471 13.6546 15.0855 13.5047 15.4034C13.2887 15.8602 12.9564 16.204 12.5404 16.4679C12.1113 16.7401 11.641 16.8861 11.1451 16.9557C10.8577 16.9961 10.5696 17.014 10.2803 16.9874C9.75432 16.9391 9.2683 16.7781 8.84692 16.4401C8.5649 16.2139 8.35691 15.9277 8.20838 15.5936C8.07631 15.297 7.98347 14.9861 7.8937 14.6741V14.6741Z" fill="currentColor"/><mask style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="6" width="11" height="11"><path d="M9.06525 7.83141L10.923 14.8399L0 16.8117V6.19127L9.06525 7.83141Z" fill="currentColor"/></mask><path d="M4.21782 11.4697L1.30269 14.1V8.90228L4.21782 11.4694V11.4697ZM2.10362 8.49448L8.97782 8.97697L5.85752 11.8577L2.10339 8.49472L2.10362 8.49448ZM4.82487 12.0044L5.62368 12.7078C5.69137 12.7675 5.77644 12.799 5.86293 12.7963C5.94824 12.7939 6.03144 12.7591 6.09677 12.6977L6.87326 11.9691L9.04574 14.0359L2.07824 14.5247L4.82487 12.0044ZM9.58158 9.42804V13.5254L7.43048 11.4465L9.58158 9.42804V9.42804ZM9.92635 8.2745L0.891178 7.53288C0.77461 7.52321 0.665093 7.56188 0.581663 7.64069C0.497762 7.72022 0.451699 7.82996 0.451699 7.94986V15.0678C0.451699 15.188 0.497762 15.2975 0.581663 15.377C0.656162 15.4476 0.753694 15.4863 0.856631 15.4863C0.868381 15.4863 0.879662 15.4858 0.891413 15.4848L9.92658 14.7432C10.1047 14.7287 10.2446 14.5542 10.2446 14.3463V8.67142C10.2446 8.46354 10.1047 8.28925 9.92658 8.2745H9.92635Z" fill="currentColor"/>'},"wp-wide":{w:27,h:15.726,body:'<path d="M21.171 4.34817L20.5233 10.5221C20.4627 12.1814 19.5684 13.5301 17.8747 13.8555C16.1753 14.182 15.1147 13.3678 14.6928 11.7746C14.0392 9.30715 13.6177 6.7643 12.9704 4.29748C12.8598 4.12674 12.6232 4.22339 12.6314 4.42505C12.3126 6.96103 12.2133 9.53352 11.8712 12.0656C11.6305 13.848 10.5939 15.0002 8.85883 15.4877C6.55389 16.1357 4.04469 15.5124 3.36935 12.9979C2.39246 9.60117 1.22252 6.25509 0.242174 2.86047C0.00296586 2.03233 -0.249183 1.30727 0.496481 0.632471C1.93086 -0.6658 4.75088 0.153969 5.2843 2.00656C5.992 4.67204 6.70768 7.33559 7.35542 10.017C7.5187 10.6931 7.64036 11.5014 7.84656 12.1481C7.88043 12.2542 7.91451 12.3665 8.04738 12.3792C8.21929 12.3955 8.31311 12.2714 8.31484 12.1107C8.57799 9.58055 8.73782 7.0377 9.0055 4.50838C9.20632 2.61048 9.71816 1.16746 11.8661 0.935079C14.1298 0.690244 15.5845 2.00591 16.0735 4.10698C16.6045 6.38889 16.9406 8.7217 17.4446 11.0103C17.4647 11.1249 17.6474 11.204 17.7179 11.1003C17.7408 11.0665 17.755 10.9375 17.7624 10.8868C17.9442 9.61234 17.8963 8.22193 18.0648 6.93547L18.5024 2.58192C18.7826 1.00037 20.2752 1.44408 21.4406 1.53385C22.4926 1.61503 24.0335 1.60236 24.9748 2.03104C26.8117 2.86756 27.1855 5.00858 26.9264 6.82444C26.6825 8.53485 25.7561 9.56982 24.0253 9.84193C23.5514 9.91645 22.9253 10.0135 22.4542 10.0384C22.1895 10.0524 22.0183 9.98453 21.8522 9.77921C21.3416 9.14737 21.5636 7.64636 22.4762 7.5263C22.9333 7.46617 23.9934 7.54005 24.3303 7.26772C24.9873 6.73703 25.0417 4.76439 24.1159 4.45405C23.9997 4.41496 23.8306 4.3967 23.7061 4.38962C22.9356 4.34581 22.1257 4.39821 21.3533 4.36986C21.2918 4.3675 21.234 4.33915 21.1714 4.34795L21.171 4.34817Z" fill="currentColor"/>'},o2:{w:24,h:24,body:'<mask id="wpsig-o2" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><path d="M19.4228 0.0102813C17.0881 0.0102813 15.164 1.76369 14.8912 4.02748C13.5473 3.39918 12.05 3.04498 10.4718 3.04498C4.70115 3.04498 0 7.74576 0 13.5229C0 19.2997 4.69727 24 10.4712 24C12.3379 24 14.1415 23.5111 15.7358 22.5812L14.1347 19.8294C13.0262 20.4759 11.7711 20.8156 10.4718 20.8156C6.45567 20.8156 3.18204 17.5441 3.18204 13.523C3.18204 9.50183 6.45561 6.22895 10.4718 6.22895C14.4934 6.22895 17.7608 9.50177 17.7608 13.523C17.7608 14.0403 17.7095 14.5566 17.6008 15.0678C17.521 15.4661 17.1667 15.755 16.7611 15.755C16.2926 15.755 15.9042 15.3707 15.9042 14.8983L15.887 13.5127C15.8814 10.5254 13.4591 8.10345 10.4773 8.10345C7.49543 8.10345 5.06758 10.531 5.06758 13.5183C5.06758 16.5055 7.49543 18.933 10.4828 18.933C11.7341 18.933 12.9369 18.4818 13.8875 17.7165C14.62 18.4648 15.6415 18.9291 16.7689 18.9291C18.6796 18.9291 20.3437 17.5697 20.7241 15.7076C20.8764 14.9908 20.9529 14.2522 20.9529 13.5121C20.9529 11.9388 20.6025 10.4447 19.9783 9.10461C22.2444 8.83628 24 6.90853 24 4.56947C24 2.0449 21.9548 0 19.4355 0L19.4228 0.0102813ZM8.15714 13.5644C8.15714 12.3055 9.17747 11.2855 10.4366 11.2855C11.6951 11.2855 12.716 12.3055 12.716 13.5644C12.716 14.8234 11.6951 15.8432 10.4366 15.8432C9.17747 15.8433 8.15714 14.8234 8.15714 13.5644ZM19.6487 4.09583C19.7574 3.99879 19.8657 3.88913 19.9745 3.76645C20.0843 3.64345 20.1385 3.50066 20.1385 3.33806C20.1385 3.15344 20.071 3.00893 19.936 2.90384C19.7993 2.79924 19.6392 2.74676 19.4618 2.74676C19.2448 2.74676 19.0735 2.81536 18.9536 2.94674C18.828 3.08363 18.7594 3.24375 18.7421 3.43783L17.5768 3.35221C17.5885 3.07221 17.651 2.83237 17.7542 2.62097C17.8568 2.41541 17.994 2.24412 18.1653 2.10697C18.3366 1.97001 18.5369 1.86714 18.765 1.79853C18.9949 1.72993 19.2448 1.69591 19.5137 1.69591C19.7625 1.69591 19.9957 1.72993 20.2127 1.79853C20.4298 1.86714 20.6194 1.97001 20.7801 2.10697C20.939
16 2.24412 21.0657 2.41535 21.1572 2.62097C21.2481 2.82482 21.2938 3.06243 21.2938 3.3333C21.2938 3.50815 21.2771 3.66465 21.2392 3.80573C21.204 3.94631 21.1532 4.07425 21.0885 4.18836C21.0222 4.30273 20.9457 4.41005 20.8598 4.50658C20.7694 4.60361 20.6734 4.69843 20.5702 4.79052L18.8983 6.20705H21.3373V7.21805H17.5041V6.00149L19.6408 4.10891L19.6487 4.09583Z" fill="white"/></mask><g mask="url(#wpsig-o2)"><path d="M22.7898 0.484685C17.1073 -5.26117 7.84171 -5.26117 2.1592 0.484685C-3.58741 6.16809 -3.58741 15.4325 2.1592 21.1158C7.84165 26.8617 17.1073 26.8617 22.7898 21.1158C28.5367 15.4325 28.5367 6.16803 22.7898 0.484685Z" fill="#2AAEFF"/><path d="M22.55 19.1964C17.6234 24.013 9.72514 24.013 4.79803 19.1964C-0.0233344 14.27 -0.0233344 6.37126 4.79803 1.44429C9.72235 -3.37206 17.6229 -3.37206 22.5472 1.44429C27.3627 6.37126 27.3627 14.27 22.5472 19.1964" fill="#558BEC"/><path d="M22.31 17.2776C18.2966 21.4153 11.6901 21.4153 7.67651 17.2776C3.53882 13.2643 3.53882 6.65683 7.67651 2.64382C11.6895 -1.4939 18.2961 -1.4939 22.31 2.64382C26.4474 6.65689 26.4474 13.2643 22.31 17.2776Z" fill="#7F68DA"/><path d="M22.5499 15.3584C19.2108 18.5775 13.8954 18.5775 10.5552 15.3584C7.33658 12.0195 7.33658 6.70278 10.5552 3.36358C13.8946 0.145084 19.2114 0.145084 22.5499 3.36358C25.7688 6.70278 25.7688 12.0195 22.5499 15.3584Z" fill="#AA46C7"/><path d="M22.0699 13.4388C19.7266 15.9667 15.7777 15.9667 13.4344 13.4388C10.9058 11.0955 10.9058 7.14632 13.4344 4.80269C15.7777 2.27476 19.7265 2.27476 22.0699 4.80269C24.5984 7.14625 24.5984 11.0955 22.0699 13.4388Z" fill="#D423B5"/><path d="M22.0699 11.7598C20.4007 13.3695 17.7428 13.3695 16.073 11.7598C14.4636 10.0902 14.4636 7.43183 16.073 5.76232C17.7428 4.15279 20.4007 4.15279 22.0699 5.76232C23.6799 7.43177 23.6799 10.0902 22.0699 11.7598Z" fill="#FF00A2"/></g>'}};function tr(e){let{w:t,h:n,body:i}=to[e];return`<svg viewBox="0 0 ${t} ${n}" width="${t}" height="${n}" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">${i}</svg>`}let ta={google:{name:"google",flow:"f_ggl",trackingId:"login_google",label:"Kontynuuj z Google"},facebook:{name:"facebook",flow:"f_fb",trackingId:"login_facebook",label:"Kontynuuj z Facebookiem"},apple:{name:"apple",flow:"f_apple",trackingId:"login_apple",label:"Kontynuuj z Apple"},wp:{name:"wp",trackingId:"login_wp",label:"Kontynuuj z kontem"},o2:{name:"o2",trackingId:"login_o2",label:"Kontynuuj z o2"}},tl=["google","facebook","apple","wp","o2"],ts=["apple","google","facebook","wp"];function tc(e,t){var n;null==(n=t.onLoginClick)||n.call(t,e.name,e.trackingId),location.assign(function(e,t={}){let n=ta[e],i=new URLSearchParams;return i.set("continue_url",t.continueUrl??(typeof location>"u"?"":location.href)),void 0!==n.flow&&i.set("flow",n.flow),`${t.apiHost??""}/auth/v1/sso/auth?${i.toString()}`}(e.name,t))}let tu="m-0 box-border flex h-10 cursor-pointer appearance-none items-center justify-center rounded-lg border-0 p-0 font-[family-name:inherit] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",td="focus-visible:outline-[#cc0000]",tf="focus-visible:outline-white";function tp({opts:e,justify:t,ring:n}){return et("p",{class:`m-0 flex h-10 items-center gap-1 border-0 bg-transparent text-sm leading-4 ${t}`,children:["Nie masz jeszcze konta?",et("a",{href:e.registerUrl??"https://konto.wp.pl",onClick:()=>{var t;return null==(t=e.onLoginClick)?void 0:t.call(e,"register","register")},class:`cursor-pointer rounded-lg px-2 py-2 text-sm leading-4 text-[color:inherit] underline underline-offset-2 hover:opacity-70 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 ${n}`,children:"ZaÅ\xf3ż za darmo"})]})}function t_({name:e,text:t,iconClass:n=""}){return et("span",{class:"flex items-center gap-2 py-0.5",children:[et("span",{class:`grid h-4 w-4 shrink-0 place-items-center ${n}`,dangerouslySetInnerHTML:{__html:e9(e,16)}}),et("span",{class:"text-base leading-5",children:t})]})}function th({options:e}){let t=e??{};return et("div",{class:"px-6 py-1",children:et("div",{class:"box-border flex flex-col gap-4 roun
1ded-lg px-4 pb-2 pt-4 text-white",style:"background-image:linear-gradient(118.11deg,#a90607 0%,#f34d4d 100%)",children:[et("div",{class:"flex flex-col gap-3",children:[et("p",{class:"m-0 border-0 bg-transparent text-base font-bold leading-5",children:"Zaloguj siÄ i zyskaj wiÄcej"}),et("div",{class:"flex flex-col gap-0.5",children:[et(t_,{name:"avatar-user",text:"WÅasny awatar"}),et(t_,{name:"bell",text:"Powiadomienia o reakcjach"})]})]}),et("div",{class:"flex flex-col gap-1 pt-0.5",children:[et("div",{class:"flex w-full items-center gap-2",children:tl.map(e=>{let n=ta[e],i="wp"===e?"text-[#d31c23]":"text-[#22242d]";return et("button",{type:"button",onClick:()=>tc(n,t),"aria-label":n.label,title:n.label,class:`${tu} ${tf} min-w-0 flex-1 bg-white ${i} hover:bg-[#f4f4f6]`,children:et("span",{class:"grid h-6 w-6 shrink-0 place-items-center",dangerouslySetInnerHTML:{__html:tr(e)}})},e)})}),et(tp,{opts:t,justify:"justify-start",ring:tf})]})]})})}function tv({options:e}){let t=e??{};return et("div",{class:"flex flex-col gap-2 px-6 pb-3 pt-2",children:[et("div",{class:"flex flex-col gap-3",children:ts.map(e=>{let n=ta[e],i="wp"===e;return et("button",{type:"button",onClick:()=>tc(n,t),class:`${tu} ${td} w-full gap-2 px-1 text-base font-medium leading-5 `+(i?"bg-[#cc0000] text-white hover:bg-[#b00000] dark:bg-[#a90607] dark:hover:bg-[#8e0506]":"bg-[#0e0c18] text-white hover:bg-[#2c2a38] dark:bg-white dark:text-[#22242d] dark:hover:bg-[#f4f4f6]"),children:[et("span",{children:n.label}),et("span",{class:"grid h-6 shrink-0 place-items-center",dangerouslySetInnerHTML:{__html:tr(i?"wp-wide":e)}})]},e)})}),et("div",{class:"text-[#636880] dark:text-[#ccd1dd]",children:et(tp,{opts:t,justify:"justify-center",ring:td})})]})}function tm(){return et("div",{class:"flex flex-1 flex-col items-center justify-center gap-3 px-8 pb-2 text-center",children:[et("span",{class:"text-[#cc0000]",dangerouslySetInnerHTML:{__html:tn()}}),et("div",{class:"flex flex-col gap-2",children:[et("p",{class:"m-0 border-0 bg-transparent text-base font-bold leading-5",children:"Nie masz jeszcze powiadomieÅ"}),et("p",{class:"m-0 border-0 bg-transparent text-base leading-5 text-[#636880] dark:text-[#ccd1dd]",children:"Zaloguj siÄ, aby:"})]}),et("div",{class:"flex flex-col items-center gap-0.5 pt-1 text-[#22242d] dark:text-white",children:[et(t_,{name:"avatar-user",text:"UstawiÄ wÅasny awatar",iconClass:"text-[#cc0000]"}),et(t_,{name:"bell",text:"OtrzymywaÄ powiadomienia",iconClass:"text-[#cc0000]"})]})]})}function tg(e){return void 0!==e.tombstone&&""!==e.tombstone}function tb(e){return void 0===e.readAt&&!tg(e)}function ty({store:e,guest:t=!1,login:n}){let i=e.open.value,o=e.visible.value,r=e.loading.value,a=e.toastFor.value,l=eb(null),[s,c]=ev(null),[u,d]=ev(!1),[f,p]=ev(i);if(em(()=>{if(i){p(!0);return}if("function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches){p(!1);return}let e=setTimeout(()=>p(!1),300);return()=>clearTimeout(e)},[i]),em(()=>{var e;i&&f&&(null==(e=l.current)||e.focus())},[i,f]),em(()=>{if(!(i&&f)){d(!1);return}let e=requestAnimationFrame(()=>d(!0));return()=>cancelAnimationFrame(e)},[i,f]),em(()=>{i||c(null)},[i]),em(()=>{if(!i)return;let t=t=>{"Escape"===t.key&&e.close()};document.addEventListener("keydown",t);let n=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=n}},[i]),em(()=>{if(null==s)return;let e=e=>{let t=e.target;t.closest("[data-menu]")||t.closest("[data-opts]")||c(null)},t=l.current,n=()=>c(null);return document.addEventListener("click",e,!0),null==t||t.addEventListener("scroll",n,!0),()=>{document.removeEventListener("click",e,!0),null==t||t.removeEventListener("scroll",n,!0)}},[s]),em(()=>{null==s||o.some(e=>e.id===s)||c(null)},[o,s]),!f)return null;let _=o.filter(tb).length;return et("div",{class:"signal-hub fixed inset-0 z-[2147483000] text-left font-[family-name:Roboto,system-ui,Arial,sans-serif] antialiased [-webkit-tap-highlight-color:transparent]",role:"presentation",children:[et("div",{class:u?"absolute inset-0 bg-[rgba(0,0,0,0.8)] opacity-100 transition-opacity duration-300 ease-out motion-reduce:transition-none":"absolute inset-0 bg-[rgba(0,0,0,0.8)] opacity-0 transition-opacity duration-300 ease-out motion-reduce:transition-none",onClick:()=>e.close()}),et("aside",{ref:l,role:"dialog","aria-modal":"true","aria-label":"Powiadomienia","aria-busy":r,tabIndex:-1,
1class:u?"absolute inset-x-0 bottom-0 top-6 flex translate-x-0 translate-y-0 flex-col rounded-t-2xl bg-[#ffffff] text-[#22242d] shadow-2xl outline-none transition-transform duration-300 ease-out motion-reduce:transition-none dark:bg-[#0e0c18] dark:text-[#f4f4f6] sm:inset-x-auto sm:right-0 sm:top-0 sm:w-[440px] sm:rounded-none":"absolute inset-x-0 bottom-0 top-6 flex translate-y-full flex-col rounded-t-2xl bg-[#ffffff] text-[#22242d] shadow-2xl outline-none transition-transform duration-300 ease-out motion-reduce:transition-none dark:bg-[#0e0c18] dark:text-[#f4f4f6] sm:inset-x-auto sm:right-0 sm:top-0 sm:w-[440px] sm:translate-x-full sm:translate-y-0 sm:rounded-none",children:[et("header",{class:"m-0 box-border flex h-12 items-center gap-2 border-0 bg-transparent px-2 py-1 sm:h-14 sm:px-6",children:[et("h2",{class:"m-0 flex-1 border-0 bg-transparent px-2 text-lg font-bold leading-tight text-[#22242d] dark:text-[#f4f4f6] sm:px-0",children:"Powiadomienia"}),et("button",{type:"button","aria-label":"Zamknij panel powiadomieÅ",onClick:()=>e.close(),class:"m-0 grid h-10 w-10 shrink-0 cursor-pointer appearance-none place-items-center rounded border-0 bg-transparent p-0 font-[family-name:inherit] text-[#22242d] hover:opacity-70 focus-visible:outline focus-visible:outline-2 focus-visible:outline-[#cc0000] dark:text-[#f4f4f6] sm:h-6 sm:w-6",dangerouslySetInnerHTML:{__html:e9("x",24)}})]}),!t&&_>0&&et("div",{class:"pb-1 pl-4 pr-2 sm:pl-6 sm:pr-4",children:et("button",{type:"button",onClick:()=>e.markAllRead(),class:"m-0 cursor-pointer appearance-none border-0 bg-transparent p-0 font-[family-name:inherit] text-xs leading-4 text-[#636880] underline underline-offset-2 hover:text-[#22242d] dark:text-[#9b9aa8] dark:hover:text-[#f4f4f6] sm:text-sm",children:"Oznacz wszystkie jako przeczytane"})}),et("div",{class:"flex flex-1 flex-col overflow-y-auto [scrollbar-color:#ccd1dd_transparent] [scrollbar-width:thin] dark:[scrollbar-color:#2c2a38_transparent]",children:[0===o.length?t?et(tm,{}):et(tC,{}):o.map((t,n)=>et(O,{children:[n>0&&et("div",{"aria-hidden":"true",class:"ml-4 mr-2 h-0.5 bg-[radial-gradient(circle,#ccd1dd_1px,transparent_1.2px)] bg-repeat-x [background-size:6px_2px] dark:bg-[radial-gradient(circle,#2c2a38_1px,transparent_1.2px)] sm:ml-6 sm:mr-4"}),t.id===a?et(tw,{onClose:()=>e.hideToast()}):et(tx,{n:t,store:e,menuOpen:s===t.id,onToggleMenu:()=>c(e=>e===t.id?null:t.id),onCloseMenu:()=>c(null)})]},t.id)),t&&o.length>0&&et(th,{options:n})]}),t&&0===o.length&&et(tv,{options:n})]})]})}function tC(){return et("div",{class:"flex flex-1 flex-col items-center justify-center gap-3 px-8 pb-2 text-center",children:[et("span",{class:"text-[#cc0000]",dangerouslySetInnerHTML:{__html:tn()}}),et("div",{class:"flex flex-col gap-1",children:[et("p",{class:"m-0 border-0 bg-transparent text-base font-bold leading-5",children:"Nie masz jeszcze powiadomieÅ"}),et("p",{class:"m-0 border-0 bg-transparent text-sm leading-4 text-[#636880] dark:text-[#ccd1dd]",children:"Gdy wydarzy siÄ coÅ nowego, powiadomimy CiÄ tutaj."})]})]})}function tw({onClose:e}){return et("div",{role:"status",class:"py-2 pl-4 pr-4 sm:py-4 sm:pl-6 sm:pr-6",children:et("div",{class:"box-border flex h-14 items-center gap-2 rounded-lg bg-[#0e0c18] px-3 text-white dark:bg-white dark:text-[#0e0c18]",children:[et("span",{class:"text-[#7cd685]",dangerouslySetInnerHTML:{__html:e9("check-circle",16)}}),et("span",{class:"flex-1 text-sm leading-5",children:"Powiadomienie zostaÅo usuniÄte"}),et("button",{type:"button","aria-label":"Zamknij",onClick:e,class:"m-0 grid h-6 w-6 shrink-0 cursor-pointer appearance-none place-items-center border-0 bg-transparent p-0 font-[family-name:inherit] text-current hover:opacity-70",dangerouslySetInnerHTML:{__html:e9("x",24)}})]})})}function tx({n:e,store:t,menuOpen:n,onToggleMenu:i,onCloseMenu:o}){let r=tb(e),a=tg(e),l=function(e){var t;if(e.tombstone)return"comment_deleted"===e.tombstone?"Ten komentarz zostaÅ usuniÄty":"TreÅÄ niedostÄpna";let n=Math.max(1,e.groupCount??1);switch(e.type){case"reply":return n>1?`${n} ${h(n,"osoba odpowiedziaÅa","osoby odpowiedziaÅy","os\xf3b odpowiedziaÅo")} na Tw\xf3j komentarz`:`${g(e)} odpowiedziaÅ(a) na Tw\xf3j komentarz`;case"repost":return n>1?`${n} ${h(n,"osoba udostÄpniÅa","osoby udostÄpniÅy","os\xf3b udostÄpniÅo")} Tw\xf3j wpis`:`${g(e)} udostÄpniÅ(a) Tw\xf3j wpis`;case"rated":return m(e)?`${n} ${h(n,"osoba zareagowaÅa","osoby zareagowaÅy","os\xf3b zareagowaÅo")} negatywnie na Tw\xf3j komentarz`:`${n} ${h(n,"osoba polubiÅa","osoby polubiÅy","os\xf3b polubiÅo")} Tw\xf3j komentarz`;case"reaction":{let t=function(e){let t=(e.payload??{}).count;return"number"==typeof t&&t>0?t:1}(e);
1return`Tw\xf3j komentarz zdobyÅ co najmniej ${t} ${h(t,"pozytywnÄ
reakcjÄ","pozytywne reakcje","pozytywnych reakcji")}!`}case"followed":return n>1?`${n} ${h(n,"osoba zaczÄÅa","osoby zaczÄÅy","os\xf3b zaczÄÅo")} CiÄ obserwowaÄ`:`${g(e)} zaczÄ
Å(-ÄÅa) CiÄ obserwowaÄ`;case"followed_author_post":return`${g(e)} opublikowaÅ(a) nowy wpis`;case"announcement":return(null==(t=e.target)?void 0:t.title)??"Komunikat";case"post_rejected":return"Tw\xf3j wpis nie zostaÅ opublikowany";default:return`${n} ${h(n,"osoba","osoby","os\xf3b")} zareagowaÅo na Tw\xf3j komentarz`}}(e),s=function(e){if(e.tombstone)return;let t=e.payload??{},n=b(t.commentText)??b(t.preview)??b(t.body)??b(t.text);if(n)return"reply"===e.type||"reaction"===e.type||"repost"===e.type||"rated"===e.type?`â${n}"`:n}(e),c=function(e){if(e.tombstone)return;let t=b((e.payload??{}).articleTitle);return void 0===t?void 0:`pod artykuÅem: ${t}`}(e),u=!tg(e)&&void 0!==t.linkFor(e),d=eb(null),f=eb(null),[p,_]=ev(!1),[C,w]=ev(!1);eg(()=>{let e=f.current;if(!e||u||p)return;let t=e.scrollHeight>e.clientHeight+1;t!==C&&w(t)});let x=!u&&!a&&(C||p);return et("div",{class:u?"relative flex cursor-pointer items-start gap-3 py-2 pl-4 pr-2 sm:py-4 sm:pl-6 sm:pr-4":"relative flex items-start gap-3 py-2 pl-4 pr-2 sm:py-4 sm:pl-6 sm:pr-4",onClick:u?n=>{let i=n.target;i.closest("[data-opts]")||i.closest("[data-menu]")||t.itemClick(e)}:void 0,children:[et("div",{class:r?"mt-1 grid h-10 w-10 shrink-0 place-items-center rounded-lg bg-[#fff7f7] text-[#cc0000] dark:bg-[#3a1518] sm:mt-0":"mt-1 grid h-10 w-10 shrink-0 place-items-center rounded-lg bg-[#f4f4f6] text-[#636880] dark:bg-[#181622] dark:text-[#9b9aa8] sm:mt-0",dangerouslySetInnerHTML:{__html:e9(e.tombstone?"info":"rated"===e.type&&m(e)?"thumbs-down":v[e.type]??"info",24)}}),et("div",{class:"flex min-w-0 flex-1 flex-col gap-2 py-2 sm:py-0",children:[et("p",{class:r?"m-0 line-clamp-2 border-0 bg-transparent text-sm font-normal leading-4 text-[#22242d] dark:text-[#f4f4f6] sm:text-base sm:leading-5":"m-0 line-clamp-2 border-0 bg-transparent text-sm font-normal leading-4 text-[#636880] dark:text-[#9b9aa8] sm:text-base sm:leading-5",children:[r&&et("span",{"aria-hidden":"true",class:"mr-2 inline-block size-3 rounded-full bg-[#cc0000] align-[-1px]"}),l]}),s&&et("p",{ref:f,class:a?"m-0 line-clamp-2 border-0 bg-transparent text-sm font-normal italic leading-4 text-[#22242d] dark:text-[#f4f4f6] sm:text-base sm:leading-5":p?r?"m-0 border-0 bg-transparent text-sm font-medium leading-4 text-[#22242d] dark:text-[#f4f4f6] sm:text-base sm:leading-5":"m-0 border-0 bg-transparent text-sm font-normal leading-4 text-[#22242d] dark:text-[#f4f4f6] sm:text-base sm:leading-5":r?"m-0 line-clamp-2 border-0 bg-transparent text-sm font-medium leading-4 text-[#22242d] dark:text-[#f4f4f6] sm:text-base sm:leading-5":"m-0 line-clamp-2 border-0 bg-transparent text-sm font-normal leading-4 text-[#22242d] dark:text-[#f4f4f6] sm:text-base sm:leading-5",children:s}),x&&et("button",{type:"button","aria-expanded":p,onClick:()=>_(e=>!e),class:"m-0 cursor-pointer appearance-none self-start border-0 bg-transparent p-0 font-[family-name:inherit] text-sm leading-4 text-[#636880] underline underline-offset-2 hover:text-[#22242d] dark:text-[#9b9aa8] dark:hover:text-[#f4f4f6]",children:p?"Pokaż mniej":"Pokaż wiÄcej"}),c&&et("p",{class:"m-0 line-clamp-1 border-0 bg-transparent text-xs leading-4 text-[#636880] dark:text-[#9b9aa8]",children:c}),et("p",{class:"m-0 border-0 bg-transparent text-xs leading-4 text-[#636880] dark:text-[#9b9aa8]",children:function(e,t=new Date){let n=new Date(e),i=t.getTime()-n.getTime();if(Number.isNaN(i))return"";let o=Math.floor(i/6e4);if(o<1)return"przed chwilÄ
";if(o<60)return`${o} min. temu`;let r=Math.floor(o/60);if(r<24)return`${r} godz. temu`;let a=n.getDate(),l=y[n.getMonth()],s=String(n.getHours()).padStart(2,"0"),c=String(n.getMinutes()).padStart(2,"0");return`${a} ${l}, godz. ${s}:${c}`}(e.updatedAt||e.createdAt)})]}),!a&&et("button",{ref:d,"data-opts":"",type:"button","aria-label":"Opcje powiadomienia",onClick:e=>{e.stopPropagation(),i()},class:"m-0 grid h-10 w-10 shrink-0 cursor-pointer appearance-none place-items-center border-0 bg-transparent p-0 font-[family-name:inherit] text-[#636880] hover:text-[#22242d] dark:text-[#9b9aa8] dark:hover:text-[#f4f4f6] sm:h-6 sm:w-6",dangerouslySetInnerHTML:{__html:e9("dots-vertical",24)}}),n&&!a&&et(tk,{n:e,store:t,unread:r,anchorRef:d,onCloseMenu:o})]})}function tk({n:e,store:t,unread:n,anchorRef:i,onCloseMenu:o}){let r=eb(null),[a,l]=ev(!1);return eg(()=>{var e;let t=null==(e=i.current)?void 0:e.getBoundingClientRect(),n=r.current;if(!t||!n)return;let o=t.bottom+4+n.offsetHeight>window.innerHeight;o?(n.style.top="",n.style.bottom=`${window.innerHeight-t.top+4}px`):(n.style.bottom="",n.style.top=`${t.bottom+4}px`),n.style.right=`${window.innerWidth-t.right}px`,o!==a&&l(o)}),et("div",{ref:r,"data-menu":"",role:"menu",onClick:e=>e.stopPropagation(),class:"fixed z-10 min-w-52 rounded-lg border border-solid border-[#ccd1dd] bg-[#ffffff] pb-1.5 shadow-[0_8px_28px_rgba(14,12,24,0.18)] dark:border-[#2c2a38] dark:bg-[#181622]",children:[et("span",{"aria-hidden":"true",class:a?"absolute -bottom-1.5 right-3 size-3 rotate-45 rounded-sm border-0 border-b border-r border-solid border-[#ccd1dd] bg-[#ffffff] dark:border-[#2c2a38] dark:bg-[#181622]":"absolute -top-1.5 right-3 size-3 rotate-45 rounded-sm border-0 border-l border-t border-solid border-[#ccd1dd] bg-[#ffffff] dark:border-[#2c2a38] dark:bg-[#181622]"}),et("div",{class:"flex items-center gap-2 px-4 pb-2 pt-3",children:[et("span",{class:"flex-1 text-sm font-bold leading-5 text-[#22242d] dark:text-[#f4f4f6]",children:"Opcje"}),et("button",{type:"button","aria-label":"Zamknij menu opcji",onClick:o,class:"m-0 grid size-4 shrink-0 cursor-pointer appearance-none place-items-center border-0 bg-transparent p-0 font-[family-name:inherit] text-[#636880] hover:text-[#22242d] dark:text-[#9b9aa8] dark:hover:text-[#f4f4f6]",dangerouslySetInnerHTML:{__html:e9("x",16)}})]}),n?et("button",{type:"button",role:"menuitem",onClick:()=>{t.markRead(e),o()},class:"m-0 flex w-full cursor-pointer appearance-none items-center gap-2.5 border-0 bg-transparent p-0 px-4 py-2 text-left font-[family-name:inherit] text-base leading-5 text-[#22242d] hover:bg-black/[0.04] dark:text-[#f4f4f6] dark:hover:bg-white/[0.06]",children:[et("span",{class:"text-[#636880] dark:text-[#9b9aa8]",dangerouslySetInnerHTML:{__html:e9("check-circle",16)}}),"Oznacz jako przeczytane"]}):"announcement"===e.type?null:et("button",{type:"button",role:"menuitem",onClick:()=>{t.markUnread(e),o()},class:"m-0 flex w-full cursor-pointer appearance-none items-center gap-2.5 border-0 bg-transparent p-0 px-4 py-2 text-left font-[family-name:inherit] text-base leading-5 text-[#22242d] hover:bg-black/[0.04] dark:text-[#f4f4f6] dark:hover:bg-white/[0.06]",children:[et("span",{class:"text-[#636880] dark:text-[#9b9aa8]",dangerouslySetInnerHTML:{__html:e9("minus-circle",16)}}),"Oznacz jako nieprzeczytane"]}),et("button",{type:"button",role:"menuitem",onClick:()=>{t.dismiss(e),o()},class:"m-0 flex w-full cursor-pointer appearance-none items-center gap-2.5 border-0 bg-transparent p-0 px-4 py-2 text-left font-[family-name:inherit] text-base leading-5 text-[#22242d] hover:bg-black/[0.04] dark:text-[#f4f4f6] dark:hover:bg-white/[0.06]",children:[et("span",{class:"text-[#636880] dark:text-[#9b9aa8]",dangerouslySetInnerHTML:{__html:e9("trash-2",16)}}),"UsuÅ"]})]})}window.WP.push(function(){let e=window.document.getElementById("notification-bell-root");
1if(!e)return;e.replaceChildren();let t=new c({baseUrl:window.__SIGNAL_BASE_URL__,namespace:window.__SIGNAL_NAMESPACE__,credentials:"include"}),n=!!window.__SIGNAL_GUEST__;!function(e){var t;let n=e.debug||function(){try{let e="wp-signal-devtools",t=new URLSearchParams(location.search).get(e);if("1"===t||"true"===t){try{localStorage.setItem(e,"1")}catch{}return!0}if("0"===t||"false"===t){try{localStorage.removeItem(e)}catch{}return!1}return"1"===localStorage.getItem(e)}catch{return!1}}()?globalThis.__WP_SIGNAL_DEVTOOLS_HOOK__:void 0,i=function(e){let t,n;let{client:i,guest:o=!1,liveUpdates:r=!0,pollFallback:a=!0,pollIntervalMs:l=3e4,connectDelayMs:s=15e3,hiddenLingerMs:c=6e4,pollGraceMs:u=5e3,reconcileDebounceMs:d=1e3,pageSize:f=30,badgeSource:p="unread",markReadOnClick:h=!0,commentsBaseUrl:v="https://komentarze.wp.pl"}=e,m=eD([]),g=eD(0),b=eD(!1),y=eD(!1),C=eD(null),w=new Set,x=new eB(()=>m.value.filter(e=>!w.has(e.id)||e.id===C.value),void 0);function k(e){return"unseen"===p?e.unseen:e.unread}function M(){return!o||i.hasGuestId()}async function S(){if(M())try{g.value=k(await i.getCounts())}catch{}}async function L(){if(M()){y.value=!0;try{let e=await i.listNotifications({limit:f});m.value=e.notifications??[]}catch{}finally{y.value=!1}}}async function $(){await Promise.all([S(),b.value?L():Promise.resolve()])}function T(e,t){m.value=m.value.map(n=>n.id===e?{...n,...t}:n)}async function z(e,t){var n;"unread"!==p||e.readAt||e.tombstone||(g.value=Math.max(0,g.value-1)),T(e.id,{readAt:new Date().toISOString()});try{"announcement"===e.type&&null!=(n=e.target)&&n.id?await i.markBroadcastRead(e.target.id,t):await i.markRead(e.id,t)}finally{S()}}async function E(e){"unread"===p&&e.readAt&&!e.tombstone&&"announcement"!==e.type&&(g.value+=1),T(e.id,{readAt:void 0});try{"announcement"!==e.type&&await i.markUnread(e.id)}finally{S()}}async function H(){let e=new Date().toISOString(),t=m.value.filter(e=>"announcement"===e.type&&!e.readAt&&!e.tombstone).map(e=>{var t;return null==(t=e.target)?void 0:t.id}).filter(e=>void 0!==e&&""!==e);m.value=m.value.map(t=>t.tombstone?t:{...t,readAt:t.readAt??e}),"unread"===p&&(g.value=0);try{await i.markAllRead(),await Promise.all(t.map(e=>i.markBroadcastRead(e)))}finally{S()}}async function I(e){var n,o;w.add(e.id);let r=!e.readAt&&!e.tombstone;"unread"===p&&r&&(g.value=Math.max(0,g.value-1)),m.value=m.value.map(t=>t.id===e.id?{...t,readAt:t.readAt??new Date().toISOString()}:t),o=e.id,C.value=o,clearTimeout(t),t=setTimeout(()=>C.value=null,4e3);try{"announcement"===e.type&&null!=(n=e.target)&&n.id?await i.dismissBroadcast(e.target.id):await i.deleteNotification(e.id)}finally{S()}}function U(e){var t,n;let i=null==(t=e.target)?void 0:t.url;if(void 0!==i&&""!==i)return i;if((null==(n=e.target)?void 0:n.kind)!=="comment")return;let o=function(e){var t;let n=null==(t=e.payload)?void 0:t.threadId;if("string"==typeof n&&""!==n)return n}(e)??function(e){var t;let n=null==(t=e.payload)?void 0:t.parentId;if("string"==typeof n&&""!==n)return n}(e)??e.target.id;if(void 0!==o&&""!==o)return`${v.replace(/\/+$/,"")}/p/${o}`}function A(){b.value||(b.value=!0,null==n||n.wake(),o?S():i.markSeen().then(S).catch(()=>{}),L())}function N(){b.value=!1}let j,P=!1;function R(e){P||(P=e),void 0===j&&(j=setTimeout(()=>{j=void 0;let e=P;P=!1,e?$():S()},d+Math.floor(Math.random()*d)))}let O=!1,D=typeof document>"u"||"hidden"!==document.visibilityState,F,V,Z="unread"===p?e=>void(g.value=e):()=>void S();function B(){void 0!==V&&(clearTimeout(V),V=void 0)}function W(t){if(e.onLifecycle)try{e.onLifecycle(t)}catch{}}function q(){if(a){if(O||!D){B();let e=void 0!==F;null==F||F(),F=void 0,e&&W({event:"poll-stop",at:Date.now(),reason:O?"SSE is live â pull is not needed":"tab hidden"});return}F||void 0!==V||(W({event:"poll-armed",at:Date.now(),dueAt:Date.now()+u,intervalMs:l}),V=setTimeout(()=>{V=void 0,W({event:"poll-start",at:Date.now(),intervalMs:l,dueAt:Date.now()+l}),F=function(e,t,n={}){let i=n.intervalMs??e.config.pollIntervalMs,o=!1,r,a=async()=>{var l,s;if(!(null!=(l=n.skipWhile)&&l.call(n)))try{let n=await e.getUnreadCount();o||t(n)}catch(e){null==(s=n.onError)||s.call(n,e)}o||(r=setTimeout(a,i))};return a(),()=>{o=!0,r&&clearTimeout(r)}}(i,Z,{intervalMs:l,skipWhile:()=>!M()})},u))}}let G="u">typeof document?()=>{D="hidden"!==document.visibilityState,q()}:void 0;G&&document.addEventListener("visibilitychange",G);let K="u">typeof window&&"function"==typeof window.addEventListener?e=>{e.persisted&&$()}:void 0;K&&window.addEventListener("pageshow",K);let J=e.connectionFactory??_;return r&&(n=J(i,{onNotification:function(e){if("feed_refresh"===e.type){var t;void 0!==(t=e.payload)&&"number"==typeof t.unread&&Number.isFinite(t.unread)&&t.unread>=0&&"number"==typeof t.unseen&&Number.isFinite(t.unseen)&&t.unseen>=0?(g.value=k(e.payload),R(b.value)):R(!0);return}let n=function(e,t){let n=e.filter(e=>e.id!==t.id);return{list:[t,...n],isNew:n.length===e.length}}(m.value,e);m.value=n.list,n.isNew&&(g.value+=1),R(!1)},onReconcile:()=>R(!0),onLiveChange:e=>
1{O=e,q()}},{connectDelayMs:s,hiddenLingerMs:c,onLifecycle:e.onLifecycle})),q(),void 0!==e.initialCounts?g.value=k(e.initialCounts):S(),{count:g,open:b,loading:y,toastFor:C,visible:x,doOpen:A,close:N,toggle:function(){b.value?N():A()},refresh:$,applyData:function(e,t){e&&(m.value=e.notifications??[]),t&&(g.value=k(t))},markRead:z,markUnread:E,markAllRead:H,dismiss:I,hideToast:function(){clearTimeout(t),C.value=null},itemClick:function(t){if(!h||t.readAt||t.tombstone||void 0===U(t)||z(t,{keepalive:!0}),e.onItemClick){e.onItemClick(t);return}let n=U(t);void 0!==n&&window.location.assign(n)},linkFor:U,destroy(){b.value=!1,null==n||n.stop(),B(),void 0!==j&&clearTimeout(j),null==F||F(),F=void 0,G&&document.removeEventListener("visibilitychange",G),K&&window.removeEventListener("pageshow",K),clearTimeout(t)}}}({...e,onLifecycle:null!=n&&n.lifecycle?e=>{var t;return null==(t=n.lifecycle)?void 0:t.call(n,e)}:void 0});null==(t=null==n?void 0:n.register)||t.call(n,i,e.client,{effect:eJ});let o=document.createElement("span");o.classList.add("inline-flex"),e.mount.appendChild(o),Y(et(ti,{store:i}),o);let r=document.createElement("div");document.body.appendChild(r),Y(et(ty,{store:i,guest:e.guest,login:e.login}),r)}({client:t,mount:e,guest:n,liveUpdates:!n})})})();
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.