PageSourceSearch

https://theprivateclinic.me/wp-content/plugins/pixfort-core/dist/front/transition.f3a5e7fba68bf876975c.js

js theprivateclinic.me collected 2026-09-24 15:08:57 UTC 8,662 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[5558],{8536(t,e,o){o.d(e,{default:()=>d});const r="#page",n=new Set(["pix-external-font-1-css","pixfort-core-style-css","pix-google-font-primary-css","pix-google-font-secondary-css","pix-woo-style-css"]),i=new Set(["pixfort-options-script-footer-js-after","pix-main-pixfort-js"]),a=['[target]:not([target="_self"])',"[download]","[data-no-transition]","[data-pix-full-reload]","[data-pixfort-full-reload]","[data-toggle]","[data-bs-toggle]","[data-elementor-open-lightbox]",".pix-popup-link",".pix-lightbox",".ajax_add_to_cart",".add_to_cart_button",".woocommerce-MyAccount-downloads-file","#wpadminbar a"].join(","),c=/(?:\/wp-admin\/|\/wp-login\.php|admin-ajax\.php|wc-ajax=|add-to-cart=)/,s=/\.(?:7z|avi|css|csv|docx?|gif|gz|jpe?g|js|json|mp3|mp4|pdf|png|rar|svg|webp|xlsx?|xml|zip)(?:[?#].*)?$/i,l=/^(|module|text\/javascript|application\/javascript|text\/ecmascript|application\/ecmascript)$/i;function d(){!document.startViewTransition||window.vc_iframe||window.ElementorInlineEditor||(window.pixfortTransitionController?window.pixfortTransitionController.refresh():window.pixfortTransitionController=function(){let t=null,e=null;"scrollRestoration"in history&&(history.scrollRestoration="manual");return h(),document.addEventListener("click",i),window.addEventListener("scroll",()=>{clearTimeout(e),e=setTimeout(h,120)},{passive:!0}),window.addEventListener("popstate",t=>{l(new URL(location.href),!0,t.state)}),o(),{refresh:o};function o(){const t=document.querySelector(r);t&&t.classList.add("view-transition-enter-active")}function i(t){if(t.defaultPrevented||t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;const e=1===t.target.nodeType?t.target:t.target.parentElement,o=function(t){if(!t||t.matches(a)||document.body.classList.contains("site-render-disable-page-transition"))return!1;const e=new URL(t.href,location.href);return e.origin===location.origin&&!c.test(e.href)&&!s.test(e.pathname)&&((e.pathname!==location.pathname||e.search!==location.search)&&(!/^(mailto|tel|sms|javascript):/i.test(t.getAttribute("href")||"")&&e))}(e&&e.closest("a[href]"));o&&(t.preventDefault(),l(o))}async function l(e,o=!1,i=null){const a=document.querySelector(r);if(!a)return y(e,o);o||h(),t&&t.abort(),t=new AbortController;const c=t.signal;document.documentElement.classList.add("pixfort-transitioning");try{const{doc:t,finalUrl:s}=await async function(t,e){const o=await fetch(t.href,{credentials:"same-origin",signal:e,headers:{"X-Requested-With":"XMLHttpRequest","X-Pixfort-Transition":"1"}}),n=o.headers.get("content-type")||"";if(!o.ok||!n.includes("text/html"))throw new Error("Invalid transition response");const i=new URL(o.url||t.href);if(i.origin!==location.origin)throw new Error("Cross-origin redirect");t.hash&&(i.hash=t.hash);const a=(new DOMParser).parseFromString(await o.text(),"text/html");if(!a.querySelector(r))throw new Error("Missing page container");return{doc:a,finalUrl:i}}(e,c);if(c.aborted)return;const l={ids:new Set(Array.from(document.scripts).map(t=>t.id).filter(Boolean)),srcs:new Set(Array.from(document.scripts).map(t=>t.src).filter(Boolean))};await function(t){document.head.querySelectorAll("style[data-pixfort-transition]").forEach(t=>t.remove());const e=[];return t.querySelectorAll('link[rel~="stylesheet"], style').forEach(t=>{if(t.id&&n.has(t.id))return;const o=function(t,e){if(t.id)return document.getElementById(t.id);const o=t[e];return o?Array.from(document.querySelectorAll(`${t.tagName.toLowerCase()}[${e}]`)).find(t=>t[e]===o):null}(t,"href");if(o&&(t.href?o.href===t.href:o.textContent===t.textContent))return;const r=document.importNode(t,!0);r.setAttribute("data-pixfort-transition","");const i="LINK"===r.tagName?g(r):null;o&&t.id?o.replaceWith(r):o||document.head.appendChild(r),i&&e.push(i)}),Promise.allSettled(e)}(t),function(t,e){b("pixfort:page-before-unmount",{url:e,root:t}),"function"==typeof window.pixfort_destroy&&E(()=>window.pixfort_destroy(t));t.querySelectorAll("video, audio").forEach(t=>{E(()=>{t.pause(),t.removeAttribute("src"),t.load()})}),t.querySelectorAll(".swiper-initialized").forEach(t=>{t.swiper&&!t.swiper.destroyed&&E(()=>t.swiper.destroy(!0,!0))}),t.querySelectorAll("[data-pix-image-comparison]").forEach(t=>{t._pixImageComparisonInstance&&E(()=>t._pixImageComparisonInstance.destroy())}),t.querySelectorAll(".pix-background-effects, .pix-scale-in, .pix-scale-in-xs, .pix-scale-in-sm, .pix-scale-in-lg, .pix-advanced-transform").forEach(t=>
1{["__pixBackgroundEffectCleanup","__pixScaleInScrollCleanup","__pixAdvancedTransformScrollCleanup"].forEach(e=>{"function"==typeof t[e]&&E(()=>t[e]())})}),document.querySelectorAll("body > .tooltip").forEach(t=>t.remove()),window.jQuery&&window.jQuery.fn.isotope&&t.querySelectorAll(".pix_masonry, .portfolio_grid").forEach(t=>{window.jQuery(t).data("isotope")&&E(()=>window.jQuery(t).isotope("destroy"))})}(a,s),await async function(t,e){const o=()=>{const o=document.querySelector(r),n=t.querySelector(r);o&&n&&(b("pixfort:page-before-swap",{url:e,document:t}),function(t){t.title&&(document.title=t.title);w(document.documentElement,t.documentElement,["class","lang","dir"]),w(document.body,t.body,["class","style"]),document.body.classList.add("render","pix-body-loaded","pix-loaded"),function(t){['meta[name="description"]','meta[property^="og:"]','meta[name^="twitter:"]','link[rel="canonical"]'].forEach(e=>{document.head.querySelectorAll(e).forEach(t=>t.remove()),t.head.querySelectorAll(e).forEach(t=>document.head.appendChild(document.importNode(t,!0)))})}(t)}(t),function(t,e){Array.from(t.attributes).forEach(e=>t.removeAttribute(e.name)),Array.from(e.attributes).forEach(e=>t.setAttribute(e.name,e.value))}(o,n),o.replaceChildren(...Array.from(n.childNodes).map(t=>document.importNode(t,!0))),o.classList.add("view-transition-enter-active"),b("pixfort:page-after-swap",{url:e,document:t}))},n=document.startViewTransition(o);n.updateCallbackDone?await n.updateCallbackDone:await n.ready.catch(()=>{});n.finished.catch(()=>{})}(t,s),o||history.pushState({pixfortTransition:!0,scroll:{x:0,y:0}},"",s),await async function(t,e){const o=new Set;for(const r of t.querySelectorAll("script"))m(r)&&(r.src||r.matches("[data-pixfort-transition-reload], [data-pixfort-reload]"))&&(r.id&&e.ids.has(r.id)||r.src&&e.srcs.has(r.src)||(r.src?(p(t,r,"before",e,o),await u(r,e),p(t,r,"after",e,o)):f(r,e,o)))}(t,l),"function"==typeof window.pixfort_init&&await window.pixfort_init(document.querySelector(r)),function(t,e){const o=e&&e.scroll,r=function(t){if(!t)return null;try{return document.getElementById(decodeURIComponent(t.slice(1)))}catch(t){return null}}(t.hash);r?r.scrollIntoView():window.scrollTo(o?o.x:0,o?o.y:0)}(s,i),b("pixfort:page-ready",{url:s,document:t})}catch(t){"AbortError"!==t.name&&(b("pixfort:navigation-error",{url:e,error:t}),y(e,o))}finally{t&&t.signal!==c||(t=null),document.documentElement.classList.remove("pixfort-transitioning")}}}())}async function u(t,e){const o=document.createElement("script");x(t,o),o.async=!1,o.setAttribute("data-pixfort-transition","");const n=function(t){return t.id?document.getElementById(t.id):t.src?Array.from(document.scripts).find(e=>e.src===t.src):null}(t);t.id&&e.ids.add(t.id),e.srcs.add(t.src);const i=g(o).catch(()=>{});n&&n.closest(r)?n.replaceWith(o):document.body.appendChild(o),await i}function f(t,e,o){if(t.id&&o.has(t.id))return;const r=document.createElement("script");if(x(t,r),r.async=!1,r.textContent=t.textContent,r.setAttribute("data-pixfort-transition",""),t.id){const r=document.getElementById(t.id);r&&null!==r.getAttribute("data-pixfort-transition")&&r.remove(),e.ids.add(t.id),o.add(t.id)}document.body.appendChild(r)}function p(t,e,o,r,n){const i=(a=e).id&&a.id.endsWith("-js")?a.id.slice(0,-3):"";var a;if(!i)return;("before"===o?["before","extra","translations"]:["after"]).forEach(e=>{const o=t.getElementById(`${i}-js-${e}`);o&&m(o)&&f(o,r,n)})}function m(t){return l.test(t.type||"")&&!(t.id&&i.has(t.id))}function h(){try{history.replaceState({...history.state||{},pixfortTransition:!0,scroll:{x:scrollX,y:scrollY}},"",location.href)}catch(t){}}function y(t,e){e?location.reload():location.href=t.href}function w(t,e,o){o.forEach(o=>{const r=e.getAttribute(o);null===r?t.removeAttribute(o):t.setAttribute(o,r)})}function x(t,e){Array.from(t.attributes).forEach(t=>e.setAttribute(t.name,t.value))}function g(t){return new Promise((e,o)=>{t.addEventListener("load",e,{once:!0}),t.addEventListener("error",o,{once:!0}),setTimeout(e,3e3)})}function b(t,e){document.dispatchEvent(new CustomEvent(t,{detail:e}))}function E(t){try{t()}catch(t){}}}}]);

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.