PageSourceSearch

https://yesterday.ro/wp-content/plugins/brizy-pro/public/editor-build/prod/js/preview.pro.310.68363a56.js

js yesterday.ro collected 2026-09-24 12:57:48 UTC 5,601 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_brizy_builder_pro=self.webpackChunk_brizy_builder_pro||[]).push([["310"],{7917(e,t,l){l.r(t),l.d(t,{default:()=>m});var r=l(2540),n=l(5670),i=l(6513),a=l(7617);let o=e=>{try{document.createDocumentFragment().querySelector(e)}catch(e){return!1}return!0},u=e=>"."+e.trim();var d=l(2778),s=l(1122);let c=(e,t)=>{let l=e&&e.children[0],r=e&&e.children[1];t?(null==l||l.style.setProperty("display","none"),null==r||r.style.setProperty("display","block","important")):(null==l||l.style.setProperty("display","block"),null==r||r.style.setProperty("display","none","important"))};function m(e){let t=e.get(0);t&&t.querySelectorAll(".brz-toc").forEach(e=>{let t=e.querySelector(".brz-toc-body"),l=e.querySelector(".brz-toc-header");if(t&&l){var m,p,b,h,f,y,g,v;let z,L=e.querySelector(".brz-toc-icon-wrapper"),w=null!=(z=e.getAttribute((0,r.uo)("data-marker")),m=(0,d.S)(["numbers","circle"])(z))?m:"circle",k=null!=(p=n.LF(e.getAttribute((0,r.uo)("data-selected"))))?p:"",A=k?(0,i.uv)(k):"",N=(null!=(b=(e=>{switch(typeof e){case"string":{let t=""!==e?Number(e):NaN;return isNaN(t)?void 0:t}case"number":return isNaN(e)?void 0:e;default:return}})(e.getAttribute((0,r.uo)("data-anim-duration"))))?b:0)*1e3,_=null!=(h=n.LF(e.getAttribute((0,r.uo)("data-include"))))?h:"",E=null!=(f=n.LF(e.getAttribute((0,r.uo)("data-exclude"))))?f:"",F=null!=(y=n.LF(e.getAttribute((0,r.uo)("data-minimized"))))?y:"desktop",S=null!=(g=n.LF(e.getAttribute((0,r.uo)("data-minimized-tablet"))))?g:F,x=null!=(v=n.LF(e.getAttribute((0,r.uo)("data-minimized-mobile"))))?v:F,C=((e,t,l)=>{switch((0,s.G)()){case"desktop":return"on"===e;case"tablet":return"on"===t;case"mobile":return"on"===l;default:return!1}})(F,S,x),$="numbers"===w,q=document.createElement($?"ol":"ul");q.classList.add("brz-toc-body__list"),((e,t,l,r)=>{if(0!==e.length)e.forEach((e,t)=>{let n=document.createElement("li");n.classList.add("brz-li");let i=document.createElement("span");if(r){l.classList.add("brz-toc-body__list-numbers");let e=document.createElement("span");e.innerText=String(t+1)+".",e.classList.add("brz-toc-body__list-marker"),n.appendChild(e)}i.classList.add("brz-toc-body__list-content"),i.innerText=e.innerText,n.appendChild(i),n.addEventListener("click",()=>{var t,l,r;(e=>{let{endLocation:t,duration:l}=e,r=document.scrollingElement;if(r){let e=r.scrollTop,n=t-e,i=0,a=()=>{let t;r.scrollTop=(t=(i+=20)/(l/2))<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e,i<l&&setTimeout(a,20)};a()}})({endLocation:e.getBoundingClientRect().top+(null!=(t=null==(r=document)||null==(l=r.scrollingElement)?void 0:l.scrollTop)?t:0)-30,duration:600})}),l.appendChild(n)}),t.appendChild(l);else{let e;(e=document.createElement("span")).innerText="No headings were found.",e.classList.add("brz-toc-message"),t.appendChild(e)}})(A.length?((e,t,l)=>{if(e.length){var r;let i,d=(e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(e){}})(e);return(null!=(r=(i=n.LF,e=>{if(Array.isArray(e)){let t=e.map(i);return t.some(e=>(0,a.uy)(e))?void 0:t}})(d))?r:[]).map(e=>{let l,r;return[...document.querySelectorAll(`${""!==(r=(l=t.split(",").map(u).filter(o)).reduce((t,r,n)=>{let i=n!==l.length-1?",":"";return t+`${r.trim()} ${e}:not(.brz-toc-title)${i}`},""))&&o(r)?r:`${e}:not(.brz-toc-title)`}`)]}).flat().filter(e=>{let t=l.split(",").map(u).join(",");return""!==t&&o(t)?!e.closest(t):e})}return[]})(A,_,E):[],t,q,$),C&&L&&c(L,C),null==l||l.addEventListener("click",()=>{var e,r,n;let i=null!=(e=null==(r=t.firstElementChild)?void 0:r.getBoundingClientRect().height)?e:0;c(L,!C),n=!C,l.classList.add("brz-blocked"),n?((e,t)=>{let{height:l,duration:r,onFinish:n,onStart:i}=t;null==i||i(),requestAnimationFrame(()=>{let t=e.animate([{height:`${l}px`,offset:0},{height:0,offset:1}],{duration:r,iterations:1,fill:"backwards"});"function"==typeof n&&(t.onfinish=n)})})(t,{height:i,duration:N,onFinish(){var e;null==(e=t.parentElement)||e.classList.remove("brz-toc--opened"),l.classList.remove("brz-blocked")}}):((e,t)=>{let{height:l,duration:r,onFinish:n,onStart:i}=t;null==i||i(),requestAnimationFrame(()=>{let t=e.animate([{height:0,offset:0},{height:`${l}px`,offset:1}],{duration:r,iterations:1,fill:"backwards"});"function"==typeof n&&(t.onfinish=n)})})(t,{height:i,duration:N,onStart(){var e;null==(e=t.parentElement)||e.classList.add("brz-toc--opened")},onFinish(){l.classList.remove("brz-blocked")}}),C=!C})}})}},2778(e,t,l){l.d(t,{S:()=>n,q:()=>i});var r=l(9958);let n=e=>(0,r.IX)(t=>e.includes(t)),i=e=>(0,r.IX)(t=>Object.values(e).includes(t))},1122(e,t,l){l.d(t,{G:()=>o});var r=l(3545);let n="u">typeof window&&void 0!==window.matchMedia,i=n?window.matchMedia("(max-width: 767px)"):null,a=n?window.matchMedia("(min-width: 768px) and (max-width: 991px)"):null,o=()=>n?(null==i?void 0:i.matches)?"mobile":(null==a?void 0:a.matches)?"tablet":r.Vp:r.Vp},9958(e,t,l){l.d(t,{IX:()=>r});function r(e){return t=>e(t)?t:void 0}},2540(e,t,l){l.d(t,{uo:()=>r});let r=(e,t)=>t?`data-brz-translatable-${e}`:`data-brz-${e}`},5670(e,t,l){l.d(t,{LF:()=>r,is:()=>n});let r=e=>{switch(typeof e){case"string":return e;case"number":return isNaN(e)?void 0:e.toString();default:return}},n=e=>"string"==typeof e},3545(e,t,l){l.d(t,{Vp:()=>r});let r="desktop"},6513(e,t,l){l.d(t,{$$:()=>n,uv:()=>r});let r=e=>JSON.parse(decodeURIComponent(e)),n=e=>{try{return r(e)}catch(e){}}},7617(e,t,l){function r(e,t){return void 0===e?t:e}l.d(t,{BR:()=>i,Yp:()=>r,uy:()=>n});let n=e=>null==e||"number"==typeof e&&Number.isNaN(e);function i(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return 1===t.length?e=>n(e)?t[0]:e:n(t[1])?t[0]:t[1]}}}]);

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.