PageSourceSearch

https://cawm.ca/wp-content/plugins/PDFEmbedder-premium-secure/js/all-pdfemb-premium-4.4.5.min.js?ver=4.4.5

js cawm.ca collected 2026-10-04 16:58:21 UTC 43,863 bytes, 1 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},$jscomp.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:"undefined"!=typeof global&&null!=global?global:t},$jscomp.global=$jscomp.getGlobal(this),$jscomp.SYMBOL_PREFIX="jscomp_symbol_",$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){},$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)},$jscomp.Symbol=function(){var t=0;return function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+t++}}(),$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var t=$jscomp.global.Symbol.iterator;t||(t=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&$jscomp.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}}),$jscomp.initSymbolIterator=function(){}},$jscomp.initSymbolAsyncIterator=function(){$jscomp.initSymbol();var t=$jscomp.global.Symbol.asyncIterator;t||(t=$jscomp.global.Symbol.asyncIterator=$jscomp.global.Symbol("asyncIterator")),$jscomp.initSymbolAsyncIterator=function(){}},$jscomp.arrayIterator=function(t){var e=0;return $jscomp.iteratorPrototype(function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}})},$jscomp.iteratorPrototype=function(t){return $jscomp.initSymbolIterator(),(t={next:t})[$jscomp.global.Symbol.iterator]=function(){return this},t},$jscomp.makeIterator=function(t){$jscomp.initSymbolIterator();var e=t[Symbol.iterator];return e?e.call(t):$jscomp.arrayIterator(t)},$jscomp.polyfill=function(t,e,n,o){if(e){for(n=$jscomp.global,t=t.split("."),o=0;o<t.length-1;o++){var a=t[o];a in n||(n[a]={}),n=n[a]}(e=e(o=n[t=t[t.length-1]]))!=o&&null!=e&&$jscomp.defineProperty(n,t,{configurable:!0,writable:!0,value:e})}},$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.polyfill("Promise",function(t){function e(){this.batch_=null}function n(t){return t instanceof a?t:new a(function(e,n){e(t)})}if(t&&!$jscomp.FORCE_POLYFILL_PROMISE)return t;e.prototype.asyncExecute=function(t){return null==this.batch_&&(this.batch_=[],this.asyncExecuteBatch_()),this.batch_.push(t),this},e.prototype.asyncExecuteBatch_=function(){var t=this;this.asyncExecuteFunction(function(){t.executeBatch_()})};var o=$jscomp.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){o(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var n=t[e];t[e]=null;try{n()}catch(t){this.asyncThrow_(t)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction(function(){throw t})};var a=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[];var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(t){e.reject(t)}};a.prototype.createResolveAndReject_=function(){function t(t){return function(o){n||(n=!0,t.call(e,o))}}var e=this,n=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},a.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof a)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},a.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(t){return void this.reject_(t)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},a.prototype.reject_=function(t){this.settle_(2,t)},a.prototype.fulfill_=function(t){this.settle_(1,t)},a.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,this.executeOnSettledCallbacks_()},a.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)i.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var i=new e;return a.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},a.prototype.settleSameAsThenable_=function(t,e){var n=this.createResolveAndReject_();try{t.call(e,n.resolve,n.reject)}catch(t){n.reject(t)}},a.prototype.then=function(t,e){function n(t,e){return"function"==typeof t?function(e){try{o(t(e))}catch(t){i(t)}}:e}var o,i,r=new a(function(t,e){o=t,i=e});return this.callWhenSettled_(n(t,o),n(e,i)),r},a.prototype.catch=function(t){return this.then(void 0,t)},a.prototype.callWhenSettled_=function(t,e){function n(){switch(o.state_){case 1:t(o.result_);break;case 2:e(o.result_);break;default:throw Error("Unexpected state: "+o.state_)}}var o=this;null==this.onSettledCallbacks_?i.asyncExecute(n):this.onSettledCallbacks_.push(n)}
1,a.resolve=n,a.reject=function(t){return new a(function(e,n){n(t)})},a.race=function(t){return new a(function(e,o){for(var a=$jscomp.makeIterator(t),i=a.next();!i.done;i=a.next())n(i.value).callWhenSettled_(e,o)})},a.all=function(t){var e=$jscomp.makeIterator(t),o=e.next();return o.done?n([]):new a(function(t,a){function i(e){return function(n){r[e]=n,0==--s&&t(r)}}var r=[],s=0;do{r.push(void 0),s++,n(o.value).callWhenSettled_(i(r.length-1),a),o=e.next()}while(!o.done)})},a},"es6","es3"),$jscomp.findInternal=function(t,e,n){t instanceof String&&(t=String(t));for(var o=t.length,a=0;a<o;a++){var i=t[a];if(e.call(n,i,a,t))return{i:a,v:i}}return{i:-1,v:void 0}},$jscomp.polyfill("Array.prototype.find",function(t){return t||function(t,e){return $jscomp.findInternal(this,t,e).v}},"es6","es3"),function(){var t,e,n,o=function(t,e){return function(){return t.apply(e,arguments)}};t=jQuery,e={bgColor:"#fff",inlineStyles:!0,lockDocumentScroll:!0,mainWrapperClass:"fsp-wrapper",contentWrapperClass:"fsp-content",closePopupClass:"fsp-close",close:!0,animationSpeed:200},n=function(){function n(n,a){this.element=n,this.closePopup=o(this.closePopup,this),this.init=o(this.init,this),this.options=t.extend({},e,a),this._defaults=e,this._name="fullScreenPopup",this.element=t(this.element),this.body=t("body"),this.element.on("click",this.init)}return n.prototype.init=function(t){return t.preventDefault(),this.getTarget(),this.getTargetSizes(),this.createWrappers(),this.wrapTarget(),this.options.lockDocumentScroll&&this.lockDocumentScroll(),this.render(),this.bindEvents()},n.prototype.getTarget=function(){return this.target=this.options.popup?this.options.popup():t(this.element.attr("href")||this.element.data("popup")),this.targetParent=this.target.parent()},n.prototype.getTargetSizes=function(){return this.targetSizes={width:this.target.width(),height:this.target.height()}},n.prototype.wrapTarget=function(){return this.target=this.detachFromDom(this.target),this.target.appendTo(this.contentWrapper)},n.prototype.render=function(){return this.target.show(),this.attachToDom(this.mainWrapper,"body"),this.popupCentered(),this.mainWrapper.fadeIn(this.options.animationSpeed)},n.prototype.detachFromDom=function(t){return t.detach()},n.prototype.attachToDom=function(t,e){return t.appendTo(e)},n.prototype.bindEvents=function(){this.close&&this.close.on("click",this.closePopup);var e=this.closePopup;return t(document).on("keyup.pdfembfullscreen",function(t){27==(t.keyCode?t.keyCode:t.which)&&e(t)}),this.mainWrapper.on("closePopup",this.closePopup)},n.prototype.createWrappers=function(){return this.mainWrapper=t("<div/>",{class:""+this.options.mainWrapperClass,style:this.options.inlineStyles?"background: "+this.options.bgColor+"; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; overflow-y: auto; overflow-x: hidden; display: none":void 0}),this.contentWrapper=t("<div/>",{class:""+this.options.contentWrapperClass,style:"width: 100%; height: 100%;  position: relative; top: 0px; left: 0px;"}).appendTo(this.mainWrapper),this.options.close&&(this.close=t("<a/>",{href:"#",html:"&times;",class:""+this.options.closePopupClass,style:this.options.inlineStyles?"position: absolute; right: 2em; top: 2em;":void 0}).appendTo(this.mainWrapper)),this},n.prototype.popupCentered=function(){},n.prototype.closePopup=function(e){e.preventDefault();var n=this;return t(document).unbind("keyup.pdfembfullscreen"),this.mainWrapper.fadeOut(this.options.animationSpeed,function(){return n.options.lockDocumentScroll&&n.unlockDocumentScroll(),n.target=n.detachFromDom(n.target),n.target.hide(),n.attachToDom(n.target,n.targetParent),n.deleteWrappers()})},n.prototype.deleteWrappers=function(){return this.mainWrapper.remove()},n.prototype.lockDocumentScroll=function(){return this.body.css({overflow:"hidden"})},n.prototype.unlockDocumentScroll=function(){return this.body.css({overflow:"visible"})},n}(),t.fn.fullScreenPopup=function(e){return this.each(function(){if(!t.data(this,"plugin_fullScreenPopup"))return t.data(this,"plugin_fullScreenPopup",new n(this,e))})}}.call(this);var pdfembGrabToPan=function(){function t(t){this.element=t.element,this.document=t.element.ownerDocument,"function"==typeof t.ignoreTarget&&(this.ignoreTarget=t.ignoreTarget),this.onActiveChanged=t.onActiveChanged,this.activate=this.activate.bind(this),this.deactivate=this.deactivate.bind(this),this.toggle=this.toggle.bind(this),this._onmousedown=this._onmousedown.bind(this),this._onmousemove=this._onmousemove.bind(this),this._ontouchstart=this._ontouchstart.bind(this),this._ontouchmove=this._ontouchmove.bind(this),this._ontouchend=this._ontouchend.bind(this),this._onmousewheel=this._onmousewheel.bind(this),this._endPan=this._endPan.bind(this),this._ondocumenttouchmove=this._ondocumenttouchmove.bind(this),this._onkeyboardpan=this._onkeyboardpan.bind(this),this.element.addEventListener("pdfembKeyboardPan",this._onkeyboardpan,!1),this.preventDocTouchScroll=!1,(this.overlay=document.createElement("div")).className="grab-to-
1pan-grabbing"}var e;t.prototype={CSS_CLASS_GRAB:"grab-to-pan-grab",activate:function(){!this.active&&(this.active=!0,this.element.addEventListener("mousedown",this._onmousedown,!0),this.element.addEventListener("mousewheel",this._onmousewheel),this.element.addEventListener("wheel",this._onmousewheel),this.element.addEventListener("DOMMouseScroll",this._onmousewheel),this.element.addEventListener("touchstart",this._ontouchstart),document.addEventListener("touchmove",this._ondocumenttouchmove),this.element.classList.add(this.CSS_CLASS_GRAB),this.onActiveChanged)&&this.onActiveChanged(!0)},deactivate:function(){this.active&&(this.active=!1,this.element.removeEventListener("mousedown",this._onmousedown,!0),this._endPan(),document.removeEventListener("touchmove",this._ondocumenttouchmove,!1),this.element.classList.remove(this.CSS_CLASS_GRAB),this.onActiveChanged)&&this.onActiveChanged(!1)},toggle:function(){this.active?this.deactivate():this.activate()},ignoreTarget:function(t){return t[e]("a[href], a[href] *, input, textarea, button, button *, select, option, .pdfembTextLayer > div")},_onmousedown:function(t){if(0===t.button&&!this.ignoreTarget(t.target)){this.scrollLeftStart=this.element.scrollLeft,this.scrollTopStart=this.element.scrollTop,this.clientXStart=t.clientX,this.clientYStart=t.clientY,this.document.addEventListener("mousemove",this._onmousemove,!0),this.document.addEventListener("mouseup",this._endPan,!0),this.element.addEventListener("scroll",this._endPan,!0),t.preventDefault(),t.stopPropagation(),this.document.documentElement.classList.add(this.CSS_CLASS_GRABBING);var e=document.activeElement;e&&!e.contains(t.target)&&e.blur()}},_onmousemove:function(t){this.element.removeEventListener("scroll",this._endPan,!0);var e="buttons"in t&&n?!(1|t.buttons):a||i?0===t.which:void 0;e?this._endPan():(e=t.clientX-this.clientXStart,this.element.scrollTop=this.scrollTopStart-(t.clientY-this.clientYStart),this.element.scrollLeft=this.scrollLeftStart-e,this.overlay.parentNode||document.body.appendChild(this.overlay))},_ontouchstart:function(t){this.scrollLeftStart=this.element.scrollLeft,this.scrollTopStart=this.element.scrollTop,this.clientXStart=t.touches[0].clientX,this.clientYStart=t.touches[0].clientY,this.distStart=this._calcTouchDistance(t),this.scaledForMagnification=!1,this.document.addEventListener("touchmove",this._ontouchmove),this.document.addEventListener("touchend",this._ontouchend),1!=t.touches.length&&(t.preventDefault(),t.stopPropagation()),this.document.documentElement.classList.add(this.CSS_CLASS_GRABBING);var e=document.activeElement;e&&!e.contains(t.target)&&e.blur(),this.touchtapmaybe=1==t.touches.length},_calcTouchDistance:function(t){var e=NaN;return t.touches&&2<=t.touches.length&&(e=Math.sqrt(Math.pow(t.touches[0].screenX-t.touches[1].screenX,2)+Math.pow(t.touches[0].screenY-t.touches[1].screenY,2))),e},_calcTouchCenter:function(t){var e=0,n=0;return t.touches&&2<=t.touches.length&&(e=(t.touches[0].clientX+t.touches[1].clientX)/2,n=(t.touches[0].clientY+t.touches[1].clientY)/2),[e,n]},_ontouchmove:function(t){var e=!0,n=t.touches[0].clientX-this.clientXStart,o=t.touches[0].clientY-this.clientYStart;1==t.touches.length?(this.element.scrollTop=this.scrollTopStart-o,this.element.scrollLeft=this.scrollLeftStart-n,this.element.scrollTop==this.scrollTopStart&&0!=o&&(e=!1)):this.touchtapmaybe=!1,this.overlay.parentNode||document.body.appendChild(this.overlay),0==n&&0==o||(this.touchtapmaybe=!1),n=this._calcTouchDistance(t),e?(t.preventDefault(),this.preventDocTouchScroll=!0):this.preventDocTouchScroll=!1,isNaN(this.distStart)?this.distStart=n:!isNaN(n)&&0<this.distStart&&0<n&&(1.5<(o=(50+n)/(50+this.distStart))&&(o=1.5),.75>o&&(o=.75),1!=o&&(this.scaledForMagnification=!0,(e=document.createEvent("Events")).initEvent("pdfembMagnify",!0,!0),e.magnification=o,e.gtpelement=this.element,t=this._calcTouchCenter(t),e.centreLeft=t[0],e.centreTop=t[1],this.element.dispatchEvent(e)),this.distStart=n)},_ondocumenttouchmove:function(t){if(this.preventDocTouchScroll)return t.preventDefault(),t.stopPropagation(),!1},_onmousewheel:function(t){this.element.removeEventListener("scroll",this._endPan,!0);var e=.5;t.deltaMode&&(1==t.deltaMode&&(e=10),2==t.deltaMode&&(e=1e3));var n=t.deltaY?-t.deltaY:t.wheelDelta?t.wheelDelta:-t.detail;if(this.scrollLeftStart=this.element.scrollLeft,this.scrollTopStart=this.element.scrollTop,e*=n,this.element.scrollTop=this.scrollTopStart-e,this.overlay.parentNode||document.body.appendChild(this.overlay),this.element.scrollTop!=this.scrollTopStart||0==e)return t.preventDefault(),!1},_ontouchend:function(t){this._endPan(),this.scaledForMagnification&&((t=document.createEvent("Events")).initEvent("pdfembMagnify",!0,!0),t.magnification=-1,t.gtpelement=this.element,this.element.dispatchEvent(t)),this.touchtapmaybe&&((t=document.createEvent("Events")).initEvent("pdfembTouchTapped",!0,!0),this.element.dispatchEvent(t))},_endPan:function(){this.element.removeEventListener("scroll",this._endPan,!0),this.document.removeEventListener("mousemove",this._onmousemove,!0),this.document.removeEventListener("mouseup",this._endPan,!0),this.document.removeEventListener("touchmove",this._ontouchmove,!1),this.document.removeEventListener("touchend",this._ontouchend,!1),this.preventDocTouchScroll=!1,this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)}
1,_onkeyboardpan:function(t){if(37==(t=t.detail.keyCode)||39==t){var e=this.element.offsetWidth/7;5>e&&(e=5),this.element.scrollLeft-=37==t?e:-e}38!=t&&40!=t||(5>(e=this.element.offsetHeight/7)&&(e=5),this.element.scrollTop-=38==t?e:-e),this.overlay.parentNode||document.body.appendChild(this.overlay)}},["webkitM","mozM","msM","oM","m"].some(function(t){return(t+="atches")in document.documentElement&&(e=t),(t+="Selector")in document.documentElement&&(e=t),e});var n=!document.documentMode||9<document.documentMode,o=window.chrome,a=o&&(o.webstore||o.app),i=/Apple/.test(navigator.vendor)&&/Version\/([6-9]\d*|[1-5]\d+)/.test(navigator.userAgent);return t}(),PDFEMB_NS={};jQuery(document).ready(function(t){var e,n=(e=document.createElement("canvas").getContext("2d"),(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1));PDFEMB_NS.PIXEL_RATIO=n,createHiDPICanvas=function(t,e,o){o||(o=n);var a=document.createElement("canvas");return a.width=t*o,a.height=e*o,a.style.width=t+"px",a.style.height=e+"px",a.getContext("2d").setTransform(o,0,0,o,0,0),a};var o=0,a=0;!function(){var t=document.createElement("div");t.style.width="100px",t.style.height="100px",t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t),o=t.offsetWidth-t.clientWidth,a=t.offsetHeight-t.clientHeight,document.body.removeChild(t)}(),PDFEMB_NS.vscrollbarwidth=o,PDFEMB_NS.hscrollbarheight=a;var i=function(t,e,n){this.pdfDoc=t,this.divContainer=e,this.showIsSecure=n,this.initialResize=!1,this.firstPageHeight=this.firstPageWidth=0,this.invalidationRound=1,this.currentPageNum=0,this.zoom=100,this.toZoom=this.fromZoom=0};i.prototype.setup=function(){var e=this,n=this.divContainer,o=this.pdfDoc,a=this.showIsSecure;this.numPages=o.numPages;var i=n.data("scrollbar");this.vscrollbar="both"==i||"vertical"==i,this.hscrollbar="both"==i||"horizontal"==i,"none"==i?(i="overflow-y: scroll ",i+="overflow-x: scroll",n.empty().append(t("<div></div>",{class:"pdfemb-pagescontainer scrollbar-none"}))):(i="overflow-y: "+(this.vscrollbar?"scroll":"hidden")+"; ",i+="overflow-x: "+(this.hscrollbar?"scroll":"hidden")+"; ",n.empty().append(t("<div></div>",{class:"pdfemb-pagescontainer",style:i}))),n.data("pdfDoc",o),"top"!=(i=n.data("toolbar"))&&"both"!=i||this.addToolbar(!0,"on"==n.data("toolbar-fixed"),a),"bottom"!=i&&"both"!=i||this.addToolbar(!1,"on"==n.data("toolbar-fixed"),a),e.annotationsLayerFactory=void 0!==PDFEMB_NS.pdfembPremiumAnnotationsLayerFactory?new PDFEMB_NS.pdfembPremiumAnnotationsLayerFactory:{createAnnotationsLayerBuilder:function(t,e){return null}},e.annotationLayerFactories=[],e.textLayerFactory=void 0!==PDFEMB_NS.pdfembPremiumTextLayerFactory?new PDFEMB_NS.pdfembPremiumTextLayerFactory:{createTextLayerBuilder:function(t,e){return null}},e.textLayerFactories=[],n.on("pdfembGotopage",function(t,n){n>this.numPages||0>=n||(e.gotoPage(n),e.jumpToTop())}),n.on("pdfembGotoHash",function(t,n){n.dest&&(dest=n.dest,"string"==typeof dest?(destString=dest,t=e.pdfDoc.getDestination(dest)):t=Promise.resolve(dest),t.then(function(t){t instanceof Array&&!(1>t.length)&&e.pdfDoc.getPageIndex(t[0]).then(function(t){(t+=1)>e.numPages||0>=t||e.currentPageNum==t||(e.gotoPage(t),e.jumpToTop())})}))}),n.on("pdfembGotoAction",function(t,n){var o=t=e.currentPageNum;switch(n){case"GoBack":--o;break;case"GoForward":case"NextPage":++o;break;case"PrevPage":--o;break;case"LastPage":o=e.pageCount;break;case"FirstPage":o=1}o==t||o>e.pageCount||0>=o||e.gotoPage(o)}),n.on("pdfembMagnify",function(t){e.magnifyEvent(t)}),n.on("pdfembChangeZoom",function(t,n){e.changeZoom(n)}),this.pageCount=o.numPages,(!n.data("pagenum")||1>n.data("pagenum")||n.data("pagenum")>this.pageCount)&&n.data("pagenum",1),n.data("showIsSecure",this.showIsSecure),n.data("pageNumPending",null),o="on"==n.data("fullScreen")?parseInt(n.data("startfpzoom")):parseInt(n.data("startzoom")),(isNaN(o)||20>o||800<o)&&(o=100),this.zoom=o,100!=o&&n.find("span.pdfemb-zoom").text(o+"%"),n.find("span.pdfemb-page-count").text(this.pageCount),this.gotoPage(n.data("pagenum"))},i.prototype.checkForResize=function(){var e=this,n=e.divContainer,o=t(window).height(),a=t(window).width(),i=n.data("checked-window-height"),r=n.data("checked-window-width");i&&r||(n.data("checked-window-height",o),n.data("checked-window-width",a)),i==o&&r==a||(e.resizeViewer(),e.resizeInnerDivs(),e.invali
1dateAllPages(),e.renderPage(this.currentPageNum),e.prerenderNearbyPages(this.currentPageNum),e.pdfembMakeMobile(),n.data("checked-window-height",o),n.data("checked-window-width",a)),"true"!=n.data("fullScreenClosed")&&setTimeout(function(){e.checkForResize()},100)},i.prototype.setSizesBasedOnPage=function(t){t=t.getViewport(1),this.pageWidth=t.width,this.pageHeight=t.height,(0>=this.pageWidth||0>=this.pageHeight)&&this.divContainer.empty().append(document.createTextNode(pdfemb_trans.objectL10n.widthheightinvalid))},i.prototype.createPageInnerDivs=function(){for(var e=this.divContainer.find(".pdfemb-pagescontainer"),n=1;n<=this.pageCount;++n){var o=e.find(".pdfemb-inner-div.pdfemb-page"+n);0==o.length&&((o=t("<div></div>",{class:"pdfemb-inner-div pdfemb-page"+n})).data("pageNum",n),e.append(o))}this.resizeInnerDivs()},i.prototype.addGrabToPan=function(){var e=this,n=e.divContainer,o=n.find("div.pdfemb-pagescontainer"),a=new pdfembGrabToPan({element:o[0]});n.data("grabtopan",a),o.on("scroll",function(t){var n=e.getTopVisiblePageNum();n!=e.currentPageNum&&(e.currentPageNum=n,e.updatePageNumDisplay(n),e.renderPage(n,!1),e.prerenderNearbyPages(n),e.deallocateFarAwayPages(n)),t.stopPropagation()}),t(window).resize(function(){setTimeout(function(){e.checkForResize()},100)})},i.prototype.resizeInnerDivs=function(e){var n=this,o=n.wantCanvasWidth,a=n.wantCanvasHeight,i=n.wantHeight,r=this.divContainer.find(".pdfemb-pagescontainer").find(".pdfemb-inner-div");e&&(r=r.filter(".pdfemb-page"+e));var s=0;r.each(function(i,d){var c=t(d);d=c.data("widthfactor");var p=c.data("heightfactor");d||(d=1),p||(p=1),c.data("invalidation-round",this.invalidationRound-1),c.css("width",o*d),i=a*p+(e==n.numPages||!e&&i==r.length-1?0:2),c.css("height",i),s+=i,(i=c.find(".pdfemb-the-canvas")).css("width",o*d),i.css("height",a*p)});var d=0;!e&&s<i&&(d=(i-s)/2),r.first().css("top",d)},i.prototype.invalidateAllPages=function(){++this.invalidationRound},i.prototype.prerenderNearbyPages=function(t){var e=3,n=2;for(100>this.zoom&&(e*=Math.min(Math.ceil(100/this.zoom),10),n*=Math.min(Math.ceil(100/this.zoom),10)),n=Math.max(1,t-n);n<=Math.min(t+e,this.numPages);++n)n!=t&&this.renderPage(n,!1)},i.prototype.deallocateFarAwayPages=function(t){var e=50,n=50;if(100>this.zoom){var o=Math.min(Math.ceil(100/this.zoom),50);e+=o,n+=o}o=function(t){var e=(t=i.find(".pdfemb-page"+t)).find(".pdfemb-the-canvas");e.length&&(e.remove(),t.data("invalidation-round",0))};var a,i=this.divContainer.find("div.pdfemb-pagescontainer");for(a=3;a<t-n;++a)o(a);for(a=t+e;a<this.numPages;++a)o(a)},i.prototype.resizeViewer=function(){var t=this.pageWidth,e=this.pageHeight,i=this.divContainer,r=i.find("div.pdfemb-pagescontainer"),s=r[0].scrollLeft,d=r[0].scrollTop,c=i.parent().width();if("max"==i.data("width"))var p=c;else"auto"==i.data("width")?p=t:(p=parseInt(i.data("width"),10),(isNaN(p)||0>=p)&&(p=c));0>=p&&(p=t),p>c&&0<c&&(p=c),e=e*p/t;var l=this.pdfembWantMobile(p,f);this.wantMobile=l;var h=i.find("div.pdfemb-toolbar-fixed"),u=l?0:h.length,f=parseInt(i.data("height"),10);(isNaN(f)||0>=f||f>e)&&(f="auto"==i.data("height")?i.parent().height()-u*h.height():e),this.userHeight=f,p=Math.floor(p),e=Math.floor(e),c=100;var m=p-(this.vscrollbar?o:0),v=e-(this.hscrollbar?a:0),b=1;l||16777e3<(m=m*(c=this.zoom)/100)*(v=v*c/100)*n*n&&(b=16777e3/(m*v*n*n)),p!=i.width()&&i.width(p),i.height()!=f&&i.height(f+u*h.height()),r.width(p),r.height(f),i=h.filter(".pdfemb-toolbar-top"),0<u&&r.css("top",i.height()),t=(p-(this.vscrollbar?o:0))/t,0!=this.fromZoom&&0!=this.toZoom&&(r[0].scrollLeft=this.toZoom/this.fromZoom*(s+this.pccentreLeft)-this.pccentreLeft,r[0].scrollTop=this.toZoom/this.fromZoom*(d+this.pccentreTop)-this.pccentreTop),this.toZoom=this.fromZoom=0,this.wantCanvasWidth=m,this.wantCanvasHeight=v,this.reducefactor=b,this.wantWidth=p,this.wantHeight=e,this.canvasscale=t,this.zoom=c},i.prototype.getTopVisiblePageNum=function(){var t=this.divContainer.find(".pdfemb-pagescontainer").find(".pdfemb-inner-div:visible");return 0<t.length?t.first().data("pageNum"):1},i.prototype.gotoPage=function(t){0>=t||t>this.pageCount||(this.renderPage(t,!0),this.currentPageNum=t,this.updatePageNumDisplay(t),this.prerenderNearbyPages(t),this.deallocateFarAwayPages(t))},i.prototype.updatePageNumDisplay=function(e){var n=this.divContainer;n.find("div.pdfemb-toolbar .pdfemb-page-num").each(function(n,o){(n=t(o)).is("span")?n.text(e):n.val(e)}),e<this.pageCount?n.find(".pdfemb-next").removeAttr("disabled").removeClass("pdfemb-btndisabled"):n.find(".pdfemb-next").attr("disabled","disabled").addClass("pdfemb-btndisabled"),1<e?n.find(".pdfemb-prev").removeAttr("disabled").removeClass("pdfemb-btndisabled"):n.find(".pdfemb-prev").attr("disabled","disabled").addClass("pdfemb-btndisabled")},i.prototype.scrollPageIntoView=function(t){var e=this.divContainer.find(".pdfemb-pagescontainer"),n=e.find(".pdfemb-page"+t);e.find(".pdfemb-inner-div").not(".pdfemb-page"+t).hide(),n.show(),e[0].scrollTop=0},i.prototype.renderPage=function(e,o){var a=this,i=a.invalidationRound,r=this.divContainer,s=r.data("pdfDoc"),d=r.find(".pdfemb-pagescontainer"),c=d.find(".pdfemb-page"+e);if(c.length&&c.data("invalidation-round")>=i)o&&a.scrollPageIntoView(e);else{var p=c.data("pending-drawing-round");p>=i||(0<p&&p<i?c.data("pending-drawing-round",i):(c.data("pending-drawing-round",i),s.getPage(e).then(function(s){a.initialResize||(a.initialResize=!0,a.setSizesBasedOnPage(s),a.resizeViewer(),a.createPageInnerDivs(),a.addGrabToPan(),a.pdfembMakeMobile()),0==c.length&&(c=d.find(".pdfemb-page"+e));var l=c.data("widthfactor"),h=c.data("heightfactor");if(!l||!h){var u=s.getViewport(1);l=u.width/a.pageWidth,h=u.height/a.pageHeight,c.data("widthfactor",l),c.data("heightfactor",h),1==l&&1==h||a.resizeInnerDivs(e)}var f=c.find(".pdfemb-the-canvas");0==f.length&&(f=t("<canvas></canvas>",{class:"pdfemb-the-canvas"}),c.append(f)),o&&a.scrollPageIntoView(e);var m=a.wantCanvasWidth,v=a.wantCanvasHeight;u=a.canvasscale;var b=a.zoom;f.css("width",m*l),f.css("height",v*h),a.wantMobile?r.data("grabtopan").deactivate():r.data("grabtopan").activate();var g=s.getViewport(u*b/100),y=document.createElement("canvas");y.width=m*n*a.reducefactor*l,y.height=v*n*a.reducefactor*h;var w=y.getContext("2d"),_=function(){f[0].width=m*n*a.reducefactor*l,f[0].height=v*n*a.reducefactor*h,a.preRenderCanvas(w,e,b);var t=w.getImageData(0,0,y.width,y.height);f[0].getContext("2d").putImageData(t,0,0),void 0===a.annotationLayerFactories[e]?(t=a.annotationsLayerFactory.createAnnotationsLayerBuilder(c[0],s),a.annotationLayerFactories[e]=t):t=a.annotationLayerFactories[e],null!=t&&t.setupAnnotations(g,a.divContainer.data("newwindow")),void 0===a.textLayerFactories[e]?(t=a.textLayerFactory.createTextLayerBuilder(c[0],s),a.textLayerFactories[e]=t):t=a.textLayerFactories[e],null!=t&&t.setupText(g),c.data("invalidation-round",i),p=c.data("pending-drawing-round"),c.data("pending-drawing-round",""),p>i&&a.renderPage(e,!1)};s.render({canvasContext:w,viewport:g,transform:[n*a.reducefactor,0,0,n*a.reducefactor,0,0]}).promise.then(function(){"requestAnimationFrame"in window?window.requestAnimationFrame(_):setTimeout(_,1)})})))}},i.prototype.changeZoom=function(t){var e=this.divContainer,n=this.zoom;this.zoom=t=n+t,e.find("span.pdfemb-zoom").text(t+"%"),this.fromZoom=n,this.toZoom=t,e=e.find(".pdfemb-pagescontainer"),this.pccentreLeft=e.width()/2,this.pccentreTop=e.height()/2,this.resizeViewer(),this.resizeInnerDivs(),this.invalidateAllPages(),this.renderPage(this.currentPageNum),this.prerenderNearbyPages(this.currentPageNum)},i.prototype.queueRenderPage=function(t,e){this.renderPage(t,e)},i.prototype.addToolbar=function(e,n,o){var a=this.divContainer,i=this,r=t("<div></div>",{class:"pdfemb-toolbar pdfemb-toolbar"+(n?"-fixed":"-hover")+" "+(e?" pdfemb-toolbar-top":"pdfemb-toolbar-bottom")}),s=t('<button class="pdfemb-prev" title="'+pdfemb_trans.objectL10n.prev+'" type="button"></button>');r.append(s);var d=t('<button class="pdfemb-next" title="'+pdfemb_trans.objectL10n.next+'" type="button"></button>');r.append(d),r.append(t('<div class="pdfemb-page-area">'+pdfemb_trans.objectL10n.page+' <span class="pdfemb-page-num">0</span> / <span class="pdfemb-page-count"></span></div>'));var c=t('<button class="pdfemb-zoomout" title="'+pdfemb_trans.objectL10n.zoomout+'" type="button"></button>');r.append(c);var p=t('<button class="pdfemb-zoomin" title="'+pdfemb_trans.objectL10n.zoomin+'" type="button"></button>');r.append(p),r.append(t("<div>"+pdfemb_trans.objectL10n.zoom+' <span class="pdfemb-zoom">100%</span></div>')),o&&r.append(t("<div>"+pdfemb_trans.objectL10n.secure+"</div>")),e?a.prepend(r):a.append(r),s.on("click",function(t){1>=i.currentPageNum||(i.gotoPage(i.currentPageNum-1),i.jumpToTop())}),d.on("click",function(t){i.currentPageNum>=i.pageCount||0==i.currentPageNum||(i.gotoPage(i.currentPageNum+1),i.jumpToTop())}),p.on("click",function(t){800<=i.zoom||i.changeZoom(10)}),c.on("click",function(t){20>=i.zoom||i.changeZoom(-10)}),i.addMoreToolbar(r),n||(a.on("mouseenter",function(t){!0!==(t=a.find("div.pdfemb-toolbar-hover")).data("no-hover")&&t.show()}),a.on("mouseleave",function(t){a.find("div.pdfemb-toolbar-hover").hide()}),a.on("pdfembTouchTapped",function(t){if(t.stopPropagation(),t.preventDefault(),!i.locktaps){i.locktaps=!0;var e=(t=a.find("div.pdfemb-toolbar-hover")).is(":visible");1==t.data("no-hover")&&(e=!0),e?t.hide():t.show(),setTimeout(function(){i.locktaps=!1},250)}})),"on"==pdfemb_trans.poweredby&&r.append(t("<div></div>",{class:"pdfemb-poweredby"}).append(t('<a href="https://wp-pdf.com/?utm_source=Poweredby&utm_medium=freemium&utm_campaign=Freemium" target="_blank">wp-pdf.com</a>')))},i.prototype.magnifyEvent=function(t){var e=t.originalEvent.magnification;if(-1==e)this.resizeViewer(),this.resizeInnerDivs(),this.invalidateAllPages(),this.renderPage(this.getTopVisiblePageNum
1());else{var n=this.divContainer.find(".pdfemb-pagescontainer").offset();this.magnifyZoom(e,t.originalEvent.centreLeft-n.left,t.originalEvent.centreTop-n.top)}},i.prototype.magnifyZoom=function(t,e,n){var o=this.zoom;20>(t=Math.floor(o*t))&&(t=20),800<t&&(t=800),this.zoom=t,this.divContainer.find("span.pdfemb-zoom").text(t+"%"),this.fromZoom=o,this.toZoom=t,this.pccentreLeft=e,this.pccentreTop=n,this.resizeViewer(),this.resizeInnerDivs(),this.invalidateAllPages()},i.prototype.pdfembWantMobile=function(t,e){return!1},i.prototype.pdfembMakeMobile=function(){},i.prototype.addMoreToolbar=function(t){},i.prototype.jumpToTop=function(){},i.prototype.preRenderCanvas=function(t,e,n){},PDFEMB_NS.pdfembPagesViewer=i}),jQuery(document).ready(function(t){var e=PDFEMB_NS.pdfembPagesViewer,n=function(){e.apply(this,arguments)};n.prototype=new e,pdfemb_trans.continousscroll&&(n.prototype.scrollPageIntoView=function(t){var e=this.divContainer.find(".pdfemb-pagescontainer"),n=e.find(".pdfemb-page"+t);if(0!=n.length){var o=n.position(),a=e[0].scrollTop;e[0].scrollTop=a+o.top}},n.prototype.getTopVisiblePageNum=function(){for(var e=this.divContainer.find(".pdfemb-pagescontainer").find(".pdfemb-inner-div"),n=e.length,o=0,a=0,i=this.divContainer.height()/10*(this.zoom/100);n>o&&a<50;){++a;var r=o+Math.floor((n-o)/2),s=e[r],d=Math.floor(t(s).position().top);if(d<i)o=r;else{if(!(d>i))return r+1;n=r}}return o+1}),n.prototype.pdfembWantMobile=function(t,e){var n=this.divContainer;if("on"==n.data("fullScreen"))return!1;var o=parseInt(n.data("mobile-width"),10);return(isNaN(o)||o<0)&&(o=800),t<o},n.prototype.pdfembMakeMobile=function(){var e=this.wantMobile,n=this.divContainer;if(n.find("div.pdfemb-pagescontainer"),e){if(0==n.find(".pdfemb-wantmobile").length){var o=t("<div></div>",{class:"pdfemb-inner-div-wantmobile pdfemb-wantmobile"}),a=t("<div></div>",{class:"pdfemb-wantmobile-fsarea"}),i=t("<div></div>",{class:"pdfemb-inner-div-wantmobile-fswrap pdfemb-wantmobile"}).append(a.append(document.createTextNode(pdfemb_trans.objectL10n.viewinfullscreen)));this.bindFullScreen(a),n.prepend(o),n.prepend(i),n.find(".pdfemb-toolbar-fixed").hide(),n.find(".pdfemb-toolbar-hover").data("no-hover",!0)}}else n.find(".pdfemb-wantmobile").remove(),n.find(".pdfemb-toolbar-fixed").show(),n.find(".pdfemb-toolbar-hover").data("no-hover",!1)},e.prototype.addMoreToolbar=function(e){var n=this,o=n.divContainer;if("on"==o.data("download")){var a=t('<button class="pdfemb-download" title="'+pdfemb_trans.objectL10n.download+'" type="button"></button>'),i=o.data("pdf-url");i&&(a.on("click",function(t){n.download(i,o.data("download-nonce"),o.data("tracking"))}),e.append(a))}var r=t('<button class="pdfemb-fs" title="'+pdfemb_trans.objectL10n.fullscreen+'" type="button"></button>');"on"==o.data("fullScreen")?(r.addClass("pdfemb-toggled"),r.on("click",function(t){o.closest(".pdfemb-fsp-wrapper").trigger("closePopup"),o.data("fullScreenClosed","true")})):n.bindFullScreen(r),e.append(r);var s=e.find("div.pdfemb-page-area"),d=s.find("span.pdfemb-page-num"),c=function(){var e=t("<input />",{type:"text",class:"pdfemb-page-num"});e.on("keyup",function(t){if(keyCode=t.keyCode?t.keyCode:13==t.which){var n=parseInt(e.val());!isNaN(n)&&n>0&&o.trigger("pdfembGotopage",n)}}),e.val(d.text()),d.replaceWith(e),s.off("click")};"on"==o.data("pagetextbox")?c():s.on("click",c)},e.prototype.download=function(t,e,n){if(void 0!==e&&""!=e&&(t+="&pdfemb-nonce="+e),setTimeout(function(){window.open(t)},100),"on"==n){var o=jQuery,a={action:"pdfemb_count_download",pdf_url:t};o.post(pdfemb_trans.ajaxurl,a,function(t){})}},e.prototype.bindFullScreen=function(e){var n=this,o=n.divContainer;e.fullScreenPopup({popup:function(){var e=n.pdfDoc,a=n.currentPageNum,i=o.data("showIsSecure"),r=o.data("pdf-url"),s=o.data("scrollbar"),d=o.data("download"),c=o.data("tracking"),p=o.data("newwindow"),l=o.data("scrolltotop"),h=o.data("download-nonce"),u=o.data("disablerightclick"),f=o.data("pagetextbox"),m=o.data("startzoom"),v=o.data("startfpzoom"),b=t('<div class="pdfemb-viewer"></div>');return b.data("pdfDoc",e),b.data("pagenum",a),b.data("showIsSecure",i),b.data("pdf-url",r),b.data("scrollbar",s),b.data("download",d),b.data("tracking",c),b.data("newwindow",p),b.data("scrolltotop",l),b.data("disablerightclick",u),b.data("pagetextbox",f),b.data("startzoom",m),b.data("startfpzoom",v),b.data("width","max"),b.data("height","auto"),b.data("toolbar","top"),b.data("toolbar-fixed","on"),b.data("fullScreen","on"),void 0!==h&&b.data("download-nonce",h),b.pdfEmbedder(),t(document).on("keyup",function(t){var e=b.find(".pdfemb-pagescontainer"),n=t.keyCode?t.keyCode:t.which;if(33==n)e.trigger("pdfembGotoAction","PrevPage");else if(34==n)e.trigger("pdfembGotoAction","NextPage");else if(n>=37&&n<=40){var o=document.createEvent("Event");o.initEvent("pdfembKeyboardPan",!0,!1),o.detail={keyCode:n}
1,b.find(".grab-to-pan-grab").each(function(t,e){e.dispatchEvent(o)})}else 187==n||109==n||61==n||43==n?e.trigger("changeZoom",10):189!=n&&107!=n&&45!=n&&173!=n||e.trigger("changeZoom",-10)}),b},close:!1,mainWrapperClass:"pdfemb-fsp-wrapper",contentWrapperClass:"pdfemb-fsp-content",inlineStyles:!1})},e.prototype.jumpToTop=function(){var t=this.divContainer;t.length>0&&"scrollIntoView"in t[0]&&"on"==t.data("scrolltotop")&&t[0].scrollIntoView()},e.prototype.preRenderCanvas=function(e,n,o){var a=this.divContainer,i=pdfemb_trans.watermark_map;if(t.isArray(i)&&0!=i.length&&-1!==a.data("pdf-url").search("/?pdfemb-serveurl=")&&(void 0===pdfemb_trans.watermark_evenpagesonly||!pdfemb_trans.watermark_evenpagesonly||n%2==0))for(var r=5,s=10,d="center",c=45,p=20,l=0;l<i.length;++l){var h=i[l];if(t.isArray(h)&&h.length>=1){var u=h[0];if(e.save(),e.lineWidth=1,e.fillStyle="#444444",e.lineStyle="#111111",e.textAlign="left",e.font="20pt sans-serif",e.globalAlpha=.1,h.length>=2&&(r=h[1],h.length>=3&&(s=h[2],h.length>=4&&(d=h[3],h.length>=5&&(c=h[4],h.length>=6&&(p=h[5],e.font=Math.round(100*p*(e.canvas.width/1e3))/100+"pt sans-serif",h.length>=7&&"object"==typeof h[6])))))){var f=h[6];for(var m in f)e[m]=f[m]}var v,b,g,y=e.measureText(u).width,w=e.canvas.height*s/100;"left"==d?(v=e.canvas.width*r/100,b=0,g=0):"right"==d?(v=e.canvas.width*(1-r/100),b=-y,g=0):(v=e.canvas.width/2,b=-y/2,g=0),e.translate(v,w),e.rotate(-Math.PI*c/360),e.fillText(u,b,g),e.restore(),s+=10}}},PDFEMB_NS.pdfembPagesViewerUsable=n;var o=function(){function t(t){this.pageDiv=t.pageDiv,this.pdfPage=t.pdfPage,this.linkService=t.linkService,this.div=null}return t.prototype={setupAnnotations:function(t,e){var n=this.pdfPage,o=this;this.pageDiv,n.getAnnotations({intent:"display"}).then(function(a){if((t=t.clone({dontFlip:!0})).transform,parameters={viewport:t,div:o.pageDiv,annotations:a,page:n,linkService:o.linkService},o.div)pdfjsLib.AnnotationLayer.update(parameters);else{if(0===a.length)return;o.div=document.createElement("div"),o.div.className="annotationLayer pdfembAnnotationLayer",o.pageDiv.appendChild(o.div),parameters.div=o.div,pdfjsLib.AnnotationLayer.render(parameters),"undefined"!=typeof mozL10n&&mozL10n.translate(o.div);var i=o.pageDiv.getElementsByTagName("canvas")[0];o.div.style.left=i.style.left,o.div.style.top=i.style.top,jQuery(o.div).find("a").each(function(t,n){"on"==e&&(n.target="_blank"),n.title="",jQuery(n).on("touchstart",function(t){t.stopPropagation()})})}})},hide:function(){this.div&&this.div.setAttribute("hidden","true")}},t}();PDFEMB_NS.pdfembPremiumAnnotationsLayerFactory=function(){},PDFEMB_NS.pdfembPremiumAnnotationsLayerFactory.prototype={createAnnotationsLayerBuilder:function(t,e){return new o({pageDiv:t,pdfPage:e,linkService:new a(t)})}};var a=function(){function t(t){this.pageDiv=t}return t.prototype={navigateTo:function(t){t&&jQuery(this.pageDiv).parent().trigger("pdfembGotoHash",{dest:t})},getDestinationHash:function(t){return"#"},getAnchorUrl:function(t){return"#"},setHash:function(t){},executeNamedAction:function(t){t&&jQuery(this.pageDiv).parent().trigger("pdfembGotoAction",t)},cachePageRef:function(t,e){}},t}(),i=function(){function t(t){this.pageDiv=t.pageDiv,this.pdfPage=t.pdfPage,this.linkService=t.linkService,this.div=null}return t.prototype={setupText:function(t){var e=this.pdfPage,n=this;this.pageDiv,e.getTextContent({}).then(function(o){if(t=t.clone({dontFlip:!1}),parameters={viewport:t,textContent:o,page:e,enhanceTextSelection:!0}
1,0!==o.length){var a=n.pageDiv.getElementsByClassName("pdfembTextLayer");if(a.length>0)for(n.div=a[0];n.div.firstChild;)n.div.removeChild(n.div.firstChild);else n.div=document.createElement("div"),n.div.className="textLayer pdfembTextLayer",n.pageDiv.appendChild(n.div);parameters.container=n.div,"undefined"!=typeof mozL10n&&mozL10n.translate(n.div)}})},hide:function(){this.div&&this.div.setAttribute("hidden","true")}},t}();PDFEMB_NS.pdfembPremiumTextLayerFactory=function(){},PDFEMB_NS.pdfembPremiumTextLayerFactory.prototype={createTextLayerBuilder:function(t,e){return new i({pageDiv:t,pdfPage:e,linkService:new a(t)})}},PDFEMB_NS.pdfembCustomStyle=function(){var t=["ms","Moz","Webkit","O"],e={};function n(){}return n.getProp=function(n,o){if(1===arguments.length&&"string"==typeof e[n])return e[n];var a,i,r=(o=o||document.documentElement).style;if("string"==typeof r[n])return e[n]=n;i=n.charAt(0).toUpperCase()+n.slice(1);for(var s=0,d=t.length;s<d;s++)if("string"==typeof r[a=t[s]+i])return e[n]=a;return e[n]="undefined"},n.setProp=function(t,e,n){var o=this.getProp(t);"undefined"!==o&&(e.style[o]=n)},n}()}),PDFEMB_NS.pdfembGetPDF=function(t,e){-1!=t.search("/?pdfemb-serveurl=")?(PDFEMB_NS.pdfembAddAjaxBufferTransport(),jQuery.ajax({dataType:"arraybuffer",type:"POST",url:t}).done(function(t){PDFEMB_NS.pdfemb_rc4ab(pdfemb_trans.k,t);var n=new Uint8Array(t);e(n,pdfemb_trans.is_admin)}).fail(function(t,n,o){e(null,pdfemb_trans.is_admin)})):e(t,!1)},PDFEMB_NS.pdfembAddAjaxBufferTransport_added=!1,PDFEMB_NS.pdfembAddAjaxBufferTransport=function(){PDFEMB_NS.pdfembAddAjaxBufferTransport_added||(PDFEMB_NS.pdfembAddAjaxBufferTransport_added=!0,jQuery.ajaxTransport("+*",function(t,e,n){if(window.FormData&&(t.dataType&&("blob"==t.dataType||"arraybuffer"==t.dataType)||t.data&&(window.Blob&&t.data instanceof Blob||window.ArrayBuffer&&t.data instanceof ArrayBuffer)))return{send:function(e,n){var o=new XMLHttpRequest,a=t.url||window.location.href,i=t.type||"GET",r=t.dataType||"text",s=t.data||null,d=t.async||!0;o.addEventListener("load",function(){var t={};t[r]=o.response,n(o.status,o.statusText,t,o.getAllResponseHeaders())}),o.open(i,a,d),o.responseType=r,o.send(s)},abort:function(){n.abort()}}}))},PDFEMB_NS.pdfemb_rc4ab=function(t,e){var n,o=[],a=0,i=new DataView(e),r=0;239==i.getUint8(0)&&187==i.getUint8(1)&&191==i.getUint8(2)&&(r=3);for(var s=0;s<256;s++)o[s]=s;for(s=0;s<256;s++)a=(a+o[s]+t.charCodeAt(s%t.length))%256,n=o[s],o[s]=o[a],o[a]=n;s=0,a=0;for(var d=r;d<e.byteLength;d++)a=(a+o[s=(s+1)%256])%256,n=o[s],o[s]=o[a],o[a]=n,input=i.getUint8(d),output=input^o[(o[s]+o[a])%256],i.setUint8(d,output)},PDFEMB_NS.pdfembGetPDF=function(t,e){-1==t.search("/?pdfemb-serveurl=")?e(t,!1):(PDFEMB_NS.pdfembAddAjaxBufferTransport(),jQuery.ajax({dataType:"arraybuffer",type:"POST",url:t}).done(function(t){PDFEMB_NS.pdfemb_rc4ab(pdfemb_trans.k,t),t=new Uint8Array(t),e(t,pdfemb_trans.is_admin)}).fail(function(t,n,o){e(null,pdfemb_trans.is_admin)}))},PDFEMB_NS.pdfembAddAjaxBufferTransport_added=!1,PDFEMB_NS.pdfembAddAjaxBufferTransport=function(){PDFEMB_NS.pdfembAddAjaxBufferTransport_added||(PDFEMB_NS.pdfembAddAjaxBufferTransport_added=!0,jQuery.ajaxTransport("+*",function(t,e,n){if(window.FormData&&(t.dataType&&("blob"==t.dataType||"arraybuffer"==t.dataType)||t.data&&(window.Blob&&t.data instanceof Blob||window.ArrayBuffer&&t.data instanceof ArrayBuffer)))return{send:function(e,n){var o=new XMLHttpRequest;e=t.url||window.location.href;var a=t.type||"GET",i=t.dataType||"text",r=t.data||null,s=t.async||!0;o.addEventListener("load",function(){var t={};t[i]=o.response,n(o.status,o.statusText,t,o.getAllResponseHeaders())}),o.open(a,e,s),o.responseType=i,o.send(r)},abort:function(){n.abort()}}}))},PDFEMB_NS.pdfemb_rc4ab=function(t,e){var n=[],o=0,a=new DataView(e),i=0;239==a.getUint8(0)&&187==a.getUint8(1)&&191==a.getUint8(2)&&(i=3);for(var r=0;256>r;r++)n[r]=r;for(r=0;256>r;r++){o=(o+n[r]+t.charCodeAt(r%t.length))%256;var s=n[r];n[r]=n[o],n[o]=s}for(o=r=0,t=i;t<e.byteLength;t++)o=(o+n[r=(r+1)%256])%256,s=n[r],n[r]=n[o],n[o]=s,input=a.getUint8(t),output=input^n[(n[r]+n[o])%256],a.setUint8(t,output)},jQuery(document).ready(function(t){if(t.fn.pdfEmbedder=function(e){return this.each(function(n,o){var a,i=t(o);if(i.is("a")){var r=i.data();(a=t("<div></div>",{class:i.attr("class"),style:i.attr("style")})).data(t.extend({"pdf-url":i.attr("href")},r)),i.replaceWith(a)}else a=i;a.append(t("<div></div>",{class:"pdfemb-loadingmsg"}).append(document.createTextNode(pdfemb_trans.objectL10n.loading))),"on"==a.data("disablerightclick")&&a.bind("contextmenu",function(t){t.preventDefault()});var s=function(t,e){new PDFEMB_NS.pdfembPagesViewerUsable(t,a,e).setup()};if(a.data("pdfDoc"))s(a.data("pdfDoc"),a.data("showIsSecure"));else{var d=a.data("pdf-url");
1PDFEMB_NS.pdfembGetPDF(d,function(n,o){null!==n?pdfjsLib.getDocument(n,e).promise.then(function(t){s(t,o)},function(e){var n=document.createTextNode(e.message);"UnknownErrorException"==e.name&&"Failed to fetch"==e.message&&(n=t("<span></span>").append(document.createTextNode(e.message+" "+pdfemb_trans.objectL10n.domainerror+" ")).append(t('<a href="https://wp-pdf.com/kb/error-url-to-the-pdf-file-must-be-on-exactly-the-same-domain-as-the-current-web-page/" target="_blank">'+pdfemb_trans.objectL10n.clickhereinfo+"</a>"))),a.empty().append(t("<div></div>",{class:"pdfemb-errormsg"}).append(n))}):a.empty().append(t("<div></div>",{class:"pdfemb-errormsg"}).append(msgnode=t("<span></span>").append(document.createTextNode("Failed to load and decrypt PDF"))))})}}),this},"undefined"===pdfemb_trans.cmap_url)var e="";else e=pdfemb_trans.cmap_url;t(".pdfemb-viewer").pdfEmbedder(e)});

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.