PageSourceSearch

https://www.pbequip.com/wp-content/uploads/cache/VTVZ747I.js

js pbequip.com collected 2026-10-07 15:49:23 UTC 7,081 bytes, 2 lines download raw bytes

1(function(h,c){typeof exports=="object"&&typeof module<"u"?module.exports=c():typeof define=="function"&&define.amd?define(c):(h=typeof globalThis<"u"?globalThis:h||self).MicroModal=c()})(this,(function(){"use strict";function h(n,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function c(n){return(function(t){if(Array.isArray(t))return g(t)})(n)||(function(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)})(n)||(function(t,a){if(t){if(typeof t=="string")return g(t,a);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return g(t,a)}})(n)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function g(n,t){(t==null||t>n.length)&&(t=n.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=n[a];return i}var b,m,d,v,y,p=(b=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],m=(function(){function n(e){var o=e.targetModal,r=e.triggers,s=r===void 0?[]:r,l=e.onShow,u=l===void 0?function(){}:l,f=e.onClose,S=f===void 0?function(){}:f,w=e.openTrigger,F=w===void 0?"data-micromodal-trigger":w,E=e.closeTrigger,O=E===void 0?"data-micromodal-close":E,k=e.openClass,j=k===void 0?"is-open":k,M=e.disableScroll,x=M!==void 0&&M,A=e.disableFocus,B=A!==void 0&&A,C=e.awaitCloseAnimation,I=C!==void 0&&C,L=e.awaitOpenAnimation,K=L!==void 0&&L,T=e.debugMode,N=T!==void 0&&T;(function(D,P){if(!(D instanceof P))throw new TypeError("Cannot call a class as a function")})(this,n),this.modal=document.getElementById(o),this.config={debugMode:N,disableScroll:x,openTrigger:F,closeTrigger:O,openClass:j,onShow:u,onClose:S,awaitCloseAnimation:I,awaitOpenAnimation:K,disableFocus:B},s.length>0&&this.registerTriggers.apply(this,c(s)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,a,i;return t=n,(a=[{key:"registerTriggers",value:function(){for(var e=this,o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];r.filter(Boolean).forEach((function(l){l.addEventListener("click",(function(u){return e.showModal(u)}))}))}},{key:"showModal",value:function(){var e=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function s(){e.modal.removeEventListener("animationend",s,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,o)}},{key:"closeModal",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function s(){o.classList.remove(r),o.removeEventListener("animationend",s,!1)}),!1)}else o.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var o=document.querySelector("body");switch(e){case"enable":Object.assign(o.style,{overflow:""});break;case"disable":Object.assign(o.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){e.keyCode===27&&this.closeModal(e),e.keyCode===9&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(b);return Array.apply(void 0,c(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var o=this.getFocusableNodes();if(o.length!==0){var r=o.filter((function(s){return!s.hasAttribute(e.config.closeTrigger)}));r.length>0&&r[0].focus(),r.length===0&&o[0].focus()}}}},{key:"retainFocus",value:function(e){var o=this.getFocusableNodes();if(o.length!==0)if(o=o.filter((function(s){return s.offsetParent!==null})),this.modal.contains(document.activeElement)){var r=o.indexOf(document.activeElement);e.shiftKey&&r===0&&(o[o.length-1].focus(),e.preventDefault()),!e.shiftKey&&o.length>0&&r===o.length-1&&(o[0].focus(),e.preventDefault())}else o[0].focus()}}])&&h(t.prototype,a),i&&h(t,i),n})(),d=null,v=function(n){if(!document.getElementById(n))return console.warn("MicroModal: \u2757Seems like you have missed %c'".concat(n,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(n,'"></div>')),!1},y=function(n,t){if((function(i){i.length<=0&&(console.warn("MicroModal: \u2757Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))})(n),!t)return!0;for(var a in t)v(a);return!0},{init:function(n){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},n),a=c(document.querySelectorAll("[".concat(t.openTrigger,"]"))),i=(function(r,s){var l=[];return r.forEach((function(u){var f=u.attributes[s].value;l[f]===void 0&&(l[f]=[]),l[f].push(u)})),l})(a,t.openTrigger);if(t.debugMode!==!0||y(a,i)!==!1)for(var e in i){var o=i[e];t.targetModal=e,t.triggers=c(o),d=new m(t)}},show:function(n,t){var a=t||{};a.targetModal=n,a.debugMode===!0&&v(n)===!1||(d&&d.removeEventListeners(),(d=new m(a)).showModal())},close:function(n){n?d.closeModalById(n):d.closeModal()}});return typeof window<"u"&&(window.MicroModal=p),p}));

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.