PageSourceSearch

https://ntfy.cz/wp-content/themes/ntfy/dist/4286-ed4b2472feb042b894ca.js

js ntfy.cz collected 2026-10-06 13:22:36 UTC 11,850 bytes, 1 lines download raw bytes

1(self.webpackChunkntfy=self.webpackChunkntfy||[]).push([[4286],{1807:function(n,t,r){"use strict";r.r(t);var e=r(9669),u=r.n(e),o=r(129),c=r.n(o),i=r(9766);t.default=function(n){var t=n.querySelector("#load_news"),r=document.querySelector(".cp-news__items");t.addEventListener("click",(function(t){t.preventDefault();var e={action:"ntfy_load_news",offset:r.children.length};n.querySelector("#load-more-preloader").classList.remove("uk-hidden"),n.querySelector("#load_news").classList.add("uk-hidden"),u().post("/wp-admin/admin-ajax.php",c().stringify(e)).then((function(t){if(""==t.data.data.html)return(0,i.$)("#load_news",n).classList.add("uk-hidden"),void n.querySelector("#load-more-preloader").classList.add("uk-hidden");n.querySelector("#load-more-preloader").classList.add("uk-hidden"),n.querySelector("#load_news").classList.remove("uk-hidden"),(0,i.R3)(r,t.data.data.html),(0,i.$$)("[data-component]:not(.component-active)",r).forEach((function(n){window.ntfy.addComponent(n)}))}))}))}},6693:function(n,t,r){"use strict";r.d(t,{Lj:function(){return u},B$:function(){return o},uV:function(){return c},aT:function(){return i}});var e=r(2014);function u(n,t,r){if((0,e.Kn)(t))for(const r in t)u(n,r,t[r]);else{if((0,e.o8)(r))return(0,e.zs)(n)?.getAttribute(t);for(const o of(0,e.as)(n))(0,e.mf)(r)&&(r=r.call(o,u(o,t))),null===r?c(o,t):o.setAttribute(t,r)}}function o(n,t){return(0,e.as)(n).some((n=>n.hasAttribute(t)))}function c(n,t){const r=(0,e.as)(n);for(const n of t.split(" "))for(const t of r)t.removeAttribute(n)}function i(n,t){for(const r of[t,`data-${t}`])if(o(n,r))return u(n,r)}},9766:function(n,t,r){"use strict";r.d(t,{Cd:function(){return i},YR:function(){return f},cS:function(){return s},dy:function(){return a},Ce:function(){return l},R3:function(){return d},bb:function(){return h},e4:function(){return m},Od:function(){return b},Lm:function(){return g},nv:function(){return y},Wg:function(){return w},Dx:function(){return q},nn:function(){return H},$:function(){return L},$$:function(){return x}});var e=r(1010),u=r(1875),o=r(3852),c=r(2014);function i(n){"loading"===document.readyState?(0,e.IH)(document,"DOMContentLoaded",n):n()}function f(n,t){return n?.tagName?.toLowerCase()===t.toLowerCase()}function s(n){return(n=L(n)).innerHTML="",n}function a(n,t){return(0,c.o8)(t)?L(n).innerHTML:d(s(n),t)}const l=p("prepend"),d=p("append"),h=p("before"),m=p("after");function p(n){return function(t,r){const e=(0,c.as)((0,c.HD)(r)?q(r):r);return L(t)?.[n](...e),$(e)}}function b(n){(0,c.as)(n).forEach((n=>n.remove()))}function g(n,t){for(t=(0,c.zs)(h(n,t));t.firstChild;)t=t.firstChild;return d(t,n),t}function y(n,t){return(0,c.as)((0,c.as)(n).map((n=>n.hasChildNodes()?g((0,c.as)(n.childNodes),t):d(n,t))))}function w(n){(0,c.as)(n).map(u.qm).filter(((n,t,r)=>r.indexOf(n)===t)).forEach((n=>n.replaceWith(...n.childNodes)))}const v=/^\s*<(\w+|!)[^>]*>/,k=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function q(n){const t=k.exec(n);if(t)return document.createElement(t[1]);const r=document.createElement("div");return v.test(n)?r.insertAdjacentHTML("beforeend",n.trim()):r.textContent=n,$(r.childNodes)}function $(n){return n.length>1?n:n[0]}function H(n,t){if((0,c.kK)(n))for(t(n),n=n.firstElementChild;n;){const r=n.nextElementSibling;H(n,t),n=r}}function L(n,t){return O(n)?(0,c.zs)(q(n)):(0,o.sE)(n,t)}function x(n,t){return O(n)?(0,c.as)(q(n)):(0,o.Oq)(n,t)}function O(n){return(0,c.HD)(n)&&(0,c.Ny)(n.trim(),"<")}},1010:function(n,t,r){"use strict";r.d(t,{on:function(){return c},S1:function(){return i},IH:function(){return f},X$:function(){return s},yM:function(){return a},RD:function(){return m},T:function(){return p},sT:function(){return b}});var e=r(3852),u=r(1875),o=r(2014);function c(...n){let[t,r,c,f,s=!1]=l(n);f.length>1&&(f=function(n){return t=>(0,o.kJ)(t.detail)?n(t,...t.detail):n(t)}(f)),s?.self&&(f=function(n){return function(t){if(t.target===t.currentTarget||t.target===t.current)return n.call(null,t)}}(f)),c&&(f=function(n,t){return r=>{const o=">"===n[0]?(0,e.Oq)(n,r.currentTarget).reverse().filter((n=>(0,u.uh)(r.target,n)))[0]:(0,u.oq)(r.target,n);o&&(r.current=o,t.call(this,r))}}(c,f));for(const n of r)for(const r of t)r.addEventListener(n,f,s);return()=>i(t,r,f,s)}function i(...n){let[t,r,,e,u=!1]=l(n);for(const n of r)for(const r of t)r.removeEventListener(n,e,u)}function f(...n){const[t,r,e,u,o=!1,i]=l(n),f=c(t,r,e,(n=>{const t=!i||i(n);t&&(f(),u(n,t))}),o);return f}function s(n,t,r){return m(n).every((n=>n.dispatchEvent(a(t,!0,!0,r))))}function a(n,t=!0,r=!1,e){return(0,o.HD)(n)&&(n=new CustomEvent(n,{bubbles:t,cancelable:r,detail
1:e})),n}function l(n){return n[0]=m(n[0]),(0,o.HD)(n[1])&&(n[1]=n[1].split(" ")),(0,o.mf)(n[2])&&n.splice(2,0,!1),n}function d(n){return n&&"addEventListener"in n}function h(n){return d(n)?n:(0,o.zs)(n)}function m(n){return(0,o.kJ)(n)?n.map(h).filter(Boolean):(0,o.HD)(n)?(0,e.Oq)(n):d(n)?[n]:(0,o.as)(n)}function p(n){return"touch"===n.pointerType||!!n.touches}function b(n){const{clientX:t,clientY:r}=n.touches?.[0]||n.changedTouches?.[0]||n;return{x:t,y:r}}},1875:function(n,t,r){"use strict";r.d(t,{OC:function(){return o},pn:function(){return c},di:function(){return i},u7:function(){return f},vb:function(){return s},EB:function(){return a},qm:function(){return l},hX:function(){return d},wB:function(){return h},oq:function(){return m},uh:function(){return p},wV:function(){return b},pI:function(){return g},Kz:function(){return y}});var e=r(2014);const u={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function o(n){return(0,e.as)(n).some((n=>u[n.tagName.toLowerCase()]))}function c(n){return(0,e.as)(n).some((n=>n.offsetWidth||n.offsetHeight||n.getClientRects().length))}const i="input,select,textarea,button";function f(n){return(0,e.as)(n).some((n=>h(n,i)))}const s=`${i},a[href],[tabindex]`;function a(n){return h(n,s)}function l(n){return(0,e.zs)(n)?.parentElement}function d(n,t){return(0,e.as)(n).filter((n=>h(n,t)))}function h(n,t){return(0,e.as)(n).some((n=>n.matches(t)))}function m(n,t){return(0,e.kK)(n)?n.closest((0,e.Ny)(t,">")?t.slice(1):t):(0,e.as)(n).map((n=>m(n,t))).filter(Boolean)}function p(n,t){return(0,e.HD)(t)?!!m(n,t):(0,e.zs)(t).contains((0,e.zs)(n))}function b(n,t){const r=[];for(;n=l(n);)t&&!h(n,t)||r.push(n);return r}function g(n,t){const r=(n=(0,e.zs)(n))?(0,e.as)(n.children):[];return t?d(r,t):r}function y(n,t){return t?(0,e.as)(n).indexOf((0,e.zs)(t)):g(l(n)).indexOf(n)}},2014:function(n,t,r){"use strict";r.d(t,{RI:function(){return o},rs:function(){return i},_A:function(){return s},Ps:function(){return a},Ny:function(){return d},pn:function(){return h},q9:function(){return m},cx:function(){return p},kJ:function(){return b},qo:function(){return g},f0:function(){return y},mf:function(){return w},Kn:function(){return v},PO:function(){return k},FJ:function(){return q},qk:function(){return $},UG:function(){return H},kK:function(){return L},jn:function(){return O},HD:function(){return C},hj:function(){return E}
1,kE:function(){return j},xb:function(){return S},o8:function(){return D},sw:function(){return N},He:function(){return z},f_:function(){return T},zs:function(){return A},as:function(){return M},bc:function(){return _},Xy:function(){return B},LF:function(){return K},Z$:function(){return P},S6:function(){return R},MR:function(){return I},uw:function(){return W},uZ:function(){return F},ZT:function(){return J},qb:function(){return X},qr:function(){return Z},Db:function(){return Y},rw:function(){return G},HP:function(){return Q},BH:function(){return nn}});const{hasOwnProperty:e,toString:u}=Object.prototype;function o(n,t){return e.call(n,t)}const c=/\B([A-Z])/g,i=Q((n=>n.replace(c,"-$1").toLowerCase())),f=/-(\w)/g,s=Q((n=>n.replace(f,l))),a=Q((n=>n.length?l(0,n.charAt(0))+n.slice(1):""));function l(n,t){return t?t.toUpperCase():""}function d(n,t){return n?.startsWith?.(t)}function h(n,t){return n?.endsWith?.(t)}function m(n,t){return n?.includes?.(t)}function p(n,t){return n?.findIndex?.(t)}const{isArray:b,from:g}=Array,{assign:y}=Object;function w(n){return"function"==typeof n}function v(n){return null!==n&&"object"==typeof n}function k(n){return"[object Object]"===u.call(n)}function q(n){return v(n)&&n===n.window}function $(n){return 9===x(n)}function H(n){return x(n)>=1}function L(n){return 1===x(n)}function x(n){return!q(n)&&v(n)&&n.nodeType}function O(n){return"boolean"==typeof n}function C(n){return"string"==typeof n}function E(n){return"number"==typeof n}function j(n){return E(n)||C(n)&&!isNaN(n-parseFloat(n))}function S(n){return!(b(n)?n.length:v(n)&&Object.keys(n).length)}function D(n){return void 0===n}function N(n){return O(n)?n:"true"===n||"1"===n||""===n||"false"!==n&&"0"!==n&&n}function z(n){const t=Number(n);return!isNaN(t)&&t}function T(n){return parseFloat(n)||0}function A(n){return M(n)[0]}function M(n){return n&&(H(n)?[n]:Array.from(n).filter(H))||[]}function _(n){return q(n)?n:($(n=A(n))?n:n?.ownerDocument)?.defaultView||window}function B(n,t){return n===t||v(n)&&v(t)&&Object.keys(n).length===Object.keys(t).length&&R(n,((n,r)=>n===t[r]))}function K(n,t,r){return n.replace(new RegExp(`${t}|${r}`,"g"),(n=>n===t?r:t))}function P(n){return n[n.length-1]}function R(n,t){for(const r in n)if(!1===t(n[r],r))return!1;return!0}function I(n,t){return n.slice().sort((({[t]:n=0},{[t]:r=0})=>n>r?1:r>n?-1:0))}function W(n,t){const r=new Set;return n.filter((({[t]:n})=>!r.has(n)&&r.add(n)))}function F(n,t=0,r=1){return Math.min(Math.max(z(n)||0,t),r)}function J(){}function X(...n){return[["bottom","top"],["right","left"]].every((([t,r])=>Math.min(...n.map((({[t]:n})=>n)))-Math.max(...n.map((({[r]:n})=>n)))>0))}function Z(n,t){return n.x<=t.right&&n.x>=t.left&&n.y<=t.bottom&&n.y>=t.top}function U(n,t,r){const e="width"===t?"height":"width";return{[e]:n[t]?Math.round(r*n[e]/n[t]):n[e],[t]:r}}function V(n,t){n={...n};for(const r in n)n=n[r]>t[r]?U(n,r,t[r]):n;return n}const Y={ratio:U,contain:V,cover:function(n,t){n=V(n,t);for(const r in n)n=n[r]<t[r]?U(n,r,t[r]):n;return n}};function G(n,t,r=0,e=!1){t=M(t);const{length:u}=t;return u?(n=j(n)?z(n):"next"===n?r+1:"previous"===n?r-1:t.indexOf(A(n)),e?F(n,0,u-1):(n%=u)<0?n+u:n):-1}function Q(n){const t=Object.create(null);return r=>t[r]||(t[r]=n(r))}class nn{constructor(){this.promise=new Promise(((n,t)=>{this.reject=t,this.resolve=n}))}}},3852:function(n,t,r){"use strict";r.d(t,{IO:function(){return c},Kt:function(){return i},sE:function(){return f},Oq:function(){return s},YU:function(){return w}});var e=r(6693),u=r(1875),o=r(2014);function c(n,t){return f(n,d(n,t))}function i(n,t){return s(n,d(n,t))}function f(n,t){return(0,o.zs)(p(n,t,"querySelector"))}function s(n,t){return(0,o.as)(p(n,t,"querySelectorAll"))}const a=/(^|[^\\],)\s*[!>+~-]/,l=(0,o.HP)((n=>n.match(a)));function d(n,t=document){return(0,o.HD)(n)&&l(n)||(0,o.qk)(t)?t:t.ownerDocument}const h=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,m=(0,o.HP)((n=>n.replace(h,"$1 *")));function p(n,t=document,r){if(!n||!(0,o.HD)(n))return n;if(n=m(n),l(n)){const r=g(n);n="";for(let e of r){let o=t;if("!"===e[0]){const n=e.substr(1).trim().split(" ");if(o=(0,u.oq)((0,u.qm)(t),n[0]),e=n.slice(1).join(" ").trim(),!e.length&&1===r.length)return o}if("-"===e[0]){const n=e.substr(1).trim().split(" "),r=(o||t).previousElementSibling;
1o=(0,u.wB)(r,e.substr(1))?r:null,e=n.slice(1).join(" ")}o&&(n+=`${n?",":""}${y(o)} ${e}`)}t=document}try{return t[r](n)}catch(n){return null}}const b=/.*?[^\\](?:,|$)/g,g=(0,o.HP)((n=>n.match(b).map((n=>n.replace(/,$/,"").trim()))));function y(n){const t=[];for(;n.parentNode;){const r=(0,e.Lj)(n,"id");if(r){t.unshift(`#${w(r)}`);break}{let{tagName:r}=n;"HTML"!==r&&(r+=`:nth-child(${(0,u.Kz)(n)+1})`),t.unshift(r),n=n.parentNode}}return t.join(" > ")}function w(n){return(0,o.HD)(n)?CSS.escape(n):""}},4654:function(){}}]);

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.