PageSourceSearch

https://wpbean.com/wp-content/cache/min/1/wp-content/plugins/landi…/blocks/hero-section/view.js?ver=1790153859

js wpbean.com collected 2026-10-02 03:24:00 UTC 2,450 bytes, 1 lines download raw bytes

1document.querySelectorAll(".lpb-hero__media--video[data-video-url]").forEach(e=>{e.addEventListener("click",()=>{const t=e.dataset.videoUrl;t&&function(e){let t=e;const n=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([^&\n?#]+)/);n&&(t=`https://www.youtube.com/embed/${n[1]}?autoplay=1&mute=0&rel=0&modestbranding=1`);const o=e.match(/vimeo\.com\/(\d+)/);o&&(t=`https://player.vimeo.com/video/${o[1]}?autoplay=1&muted=0&dnt=1`);const c=document.createElement("div");c.className="lpb-video-modal",c.setAttribute("role","dialog"),c.setAttribute("aria-modal","true"),c.setAttribute("aria-label","Video player");const i=document.createElement("div");i.className="lpb-video-modal__inner";const d=document.createElement("button");d.className="lpb-video-modal__close",d.setAttribute("aria-label","Close video"),d.innerHTML="×";const a=document.createElement("iframe");function l(){c.classList.remove("is-open"),c.addEventListener("transitionend",()=>{c.remove(),document.body.style.overflow=""},{once:!0})}a.src=t,a.setAttribute("allow","autoplay; fullscreen; picture-in-picture"),a.setAttribute("referrerpolicy","strict-origin-when-cross-origin"),a.allowFullscreen=!0,a.title="Video player",i.appendChild(d),i.appendChild(a),c.appendChild(i),document.body.appendChild(c),document.body.style.overflow="hidden",requestAnimationFrame(()=>c.classList.add("is-open")),d.addEventListener("click",l),c.addEventListener("click",e=>{e.target===c&&l()}),document.addEventListener("keydown",function e(t){"Escape"===t.key&&(l(),document.removeEventListener("keydown",e))})}(t)})}),document.querySelectorAll(".lpb-hero__btn--freemius[data-fs-plugin-id]").forEach(e=>{let t=null;e.addEventListener("click",()=>{const n=e.dataset.fsPluginId,o=e.dataset.fsPublicKey,c=e.dataset.fsPlanId,i=e.dataset.fsBillingCycle,d=parseInt(e.dataset.fsLicenses,10)||1,a=e.dataset.fsCurrency,l="true"===e.dataset.fsSandbox;function r(){if(!t){const e={plugin_id:n,plan_id:c,public_key:o};l&&(e.sandbox={ctx:""}),t=FS.Checkout.configure(e)}t.open({licenses:d,billing_cycle:i,currency:a})}if(window.FS&&window.FS.Checkout)return void r();if(document.querySelector('script[src*="checkout.freemius.com"]')){let e=0;const t=setInterval(()=>{window.FS&&window.FS.Checkout?(clearInterval(t),r()):++e>=50&&clearInterval(t)},100);return}const s=document.createElement("script");s.src="https://checkout.freemius.com/checkout.min.js",s.onload=r,document.head.appendChild(s)})})

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.