window.koko_analytics={"url":"http:\/\/coronacases.wiki\/koko-analytics-collect.php","site_url":"http:\/\/coronacases.wiki","post_id":3407,"use_cookie":1,"cookie_path":"\/"} ;window._wpemojiSettings={"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/coronacases.wiki\/wp-includes\/js\/wp-emoji-release.min.js"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); ;(()=>{"use strict";const e=document.querySelectorAll.bind(document),t=window.jQuery;function o(){e(".arve p, .arve .video-wrap, .arve .fluid-width-video-wrapper, .arve .fluid-vids").forEach((e=>{r(e)})),e(".ast-oembed-container").forEach((e=>{e.querySelector(".arve")&&r(e)})),e(".arve br").forEach((e=>{e.remove()})),e(".arve-iframe, .arve-video").forEach((e=>{e.removeAttribute("width"),e.removeAttribute("height"),e.removeAttribute("style")})),e(".wp-block-embed").forEach((e=>{if(e.querySelector(".arve")){e.classList.remove("wp-embed-aspect-16-9","wp-has-aspect-ratio");const t=e.querySelector(".wp-block-embed__wrapper");t&&r(t)}}))}function r(e){const t=e.parentNode;if(t){for(;t&&e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}}"html"!==document.documentElement.id&&(document.documentElement.id?document.body.id||(document.body.id="html"):document.documentElement.id="html"),o(),document.addEventListener("DOMContentLoaded",(()=>{o()})),t&&void 0!==t.fn.fitVids&&t(document).ready((()=>{setTimeout((()=>{o()}),1)}))})() ;var quotescollectionAjax={"ajaxUrl":"http:\/\/coronacases.wiki\/wp-admin\/admin-ajax.php","nonce":"b7c0353f53","nextQuote":"Next quote \u00bb","loading":"Loading...","error":"Error getting quote","autoRefreshMax":"19","autoRefreshCount":"0"} ;var quotescollectionInstances=[];function quotescollectionRefresh(args){if(args.ajaxRefresh&&!args.autoRefresh) jQuery("#"+args.instanceID+" .nav-next").html(quotescollectionAjax.loading);jQuery.ajax({type:"POST",url:quotescollectionAjax.ajaxUrl,data:"action=quotescollection&_ajax_nonce="+quotescollectionAjax.nonce+"¤t="+args.currQuoteID+"&char_limit="+args.charLimit+"&tags="+args.tags+"&orderby="+args.orderBy,success:function(response){if(response=='-1'||!response){if(args.ajaxRefresh&&args.autoRefresh) quotescollectionTimer(args);else if(args.ajaxRefresh&&!args.autoRefresh) jQuery("#"+args.instanceID+" .nav-next").html(''+quotescollectionAjax.nextQuote+'')}else{if(args.dynamicFetch){args.dynamicFetch=0} args.currQuoteID=response.quote_id;quotescollectionInstances[args.instanceID]=args;display=quotescollectionDisplayFormat(response,args);jQuery("#"+args.instanceID).hide();jQuery("#"+args.instanceID).html(display,args);jQuery("#"+args.instanceID).fadeIn('slow');if(args.ajaxRefresh&&args.autoRefresh) quotescollectionTimer(args)}},error:function(xhr,textStatus,errorThrown){console.log(textStatus+' '+xhr.status+': '+errorThrown);if(args.ajaxRefresh&&!args.autoRefresh){jQuery("#"+args.instanceID+" .nav-next").html(''+quotescollectionAjax.nextQuote+';')}}})} function quotescollectionDisplayFormat(quoteData,args){var display="";var attribution="";display+='

'+quoteData.quote+'

';if(args.showAuthor&"eData.author&"eData.author!='null'){attribution=''+quoteData.author+''} if(args.showSource&"eData.source&"eData.source!='null'){if(attribution)attribution+=', ';attribution+=''+quoteData.source+''} if(attribution){display+=quotescollectionHtmlDecode(args.beforeAttribution)+attribution+quotescollectionHtmlDecode(args.afterAttribution)} display=quotescollectionHtmlDecode(args.before)+display+quotescollectionHtmlDecode(args.after);if(args.ajaxRefresh&&!args.autoRefresh) display+='
';return display} function quotescollectionRefreshInstance(instanceID){quotescollectionRefresh(quotescollectionInstances[instanceID])} function quotescollectionTimer(args){var timeInterval=args.autoRefresh*1000;var autoRefreshMax=Number(quotescollectionAjax.autoRefreshMax);var autoRefreshCount=Number(quotescollectionAjax.autoRefreshCount);if(!quotescollectionInstances[args.instanceID]) quotescollectionInstances[args.instanceID]=args;if((autoRefreshMax==0)||(autoRefreshCount-1?"&":"?")+d,"function"==typeof i.sendBeacon?i.sendBeacon(d):o.fetch(d,{method:"POST"}),l&&s.push(r),o[n].use_cookie&&(e.cookie="_"+n+"_pages_viewed="+s.join("a")+";SameSite=lax;path="+o[n].cookie_path+";max-age=21600")}},o.addEventListener("load",(function(){o[n].trackPageview(o[n].post_id)}))}() ;!function(u){"use strict";u(".js-accordion-item").removeClass("no-js"),u.fn.accordionBlockItem=function(o){var n=u.extend({initiallyOpen:!1,autoClose:!0,clickToClose:!0,scroll:!1,scrollOffset:!1},o),t=250,c=window.location.hash.replace("#",""),e={};function i(o){return u(o).children(".js-accordion-controller").attr("id").replace("at-","")}function s(){r(),e.content.clearQueue().stop().slideDown(t,function(){n.scroll&&setTimeout(function(){u("html, body").animate({scrollTop:e.self.offset().top-n.scrollOffset},t)},t)}),u(document).trigger("openAccordionItem",e)}function r(){e.self.addClass("is-open is-read"),e.controller.attr("aria-expanded",!0),e.content.prop("hidden",!1)}function l(){e.content.slideUp(t,function(){a()})}function a(){e.self.removeClass("is-open"),e.controller.attr("aria-expanded",!1),e.content.attr("hidden",!0)}function d(){n.autoClose&&e.self.hasClass("is-open")&&l()}return e.self=u(this),e.id=u(this).attr("id"),e.controller=u(this).children(".js-accordion-controller"),e.uuid=i(e.self),e.content=u("#ac-"+e.uuid),e.accordionGroupItems=[e.uuid],e.accordionAncestorItems=[],e.controller.attr({tabindex:0,"aria-controls":"ac-"+e.uuid}),n.scrollOffset=Math.floor(parseInt(n.scrollOffset,10))||0,u.each(e.self.siblings(".js-accordion-item"),function(o,n){var t=i(n);e.accordionGroupItems.push(t)}),u.each(e.self.parents(".js-accordion-item"),function(o,n){var t=i(n);e.accordionAncestorItems.push(t)}),n.initiallyOpen?r():e.id===c?(s(),u.each(e.accordionAncestorItems,function(o,n){u(document).trigger("openAncestorAccordionItem",n)})):a(),e.controller.on("click",function(){return e.self.hasClass("is-open")?n.clickToClose&&l():s(),!1}),u(document).on("openAccordionItem",function(o,n){n!==e&&0=gridTop&&(thisTop+$(this).height())<=gridBottom){if(animationActive!='No'&&animationScroll!='No'){sigijh_set_animation($(this))}}})})}) ;/*! * scrollup v2.4.1 * Url: http://markgoodyear.com/labs/scrollup/ * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com * License: MIT */ !function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("
",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); ;var overlay_js={"menu_breakpoint":"tablet","menu_mobile":"782","menu_tablet":"980"} ;(function($){$(document).ready(function(){$('.main-navigation li.page_item_has_children > a, .main-navigation li.menu-item-has-children > a').after('');$('.main-navigation.overlay-nav-block ul#overlay-main-menu > li > a, .main-navigation.overlay-nav-block #overlay-main-menu > ul > li > a').wrapInner('');$('.main-navigation').find('a').on('focus blur',function(){$(this).parents('ul, li').toggleClass('focus')});$('.menu-dropdown-btn').click(function(e){$(this).parent().toggleClass('open-page-item')});$('.menu-toggle').click(function(e){$('body').toggleClass('show-main-menu');var element=$('.menu-main-menu-container');trapFocus(element)});$('.main-menu-close').click(function(e){$('.menu-toggle').click();$('.menu-toggle').focus()});$(document).on('keyup',function(evt){if($('body').hasClass('show-main-menu')&&evt.keyCode==27){$('.menu-toggle').click();$('.menu-toggle').focus()}});$('.menu-toggle').on('click',function(){var visible=$('body').hasClass('show-main-menu');if(visible){$(this).attr('aria-expanded','true')}else{$(this).attr('aria-expanded','false')}});$('.floating-sidebar-control').click(function(e){$('body').toggleClass('show-floating-sidebar')});$('.header-search').on('click',function(){$('body').addClass('show-site-search');$('.header-search-block input.search-field').focus()})});$(window).resize(function(){var breakpoint='tablet'==overlay_js.menu_breakpoint?overlay_js.menu_tablet:overlay_js.menu_mobile;if($(window).width()>breakpoint){$('body').removeClass('show-main-menu')}});$(document).mouseup(function(e){var container=$('.header-search-block');if(!container.is(e.target)&&container.has(e.target).length===0){$('body').removeClass('show-site-search')}})})(jQuery);function trapFocus(element,namespace){var focusableEls=element.find('a, button');var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];var KEYCODE_TAB=9;firstFocusableEl.focus();element.keydown(function(e){var isTabPressed=(e.key==='Tab'||e.keyCode===KEYCODE_TAB);if(!isTabPressed){return} if(e.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();e.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();e.preventDefault()}}})} ;var pdfp={"adobeClientKey":""} ;!function(){var t={293:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new q(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function y(){}function w(){}function g(){}var b={};u(b,a,(function(){return this}));var E=Object.getPrototypeOf,L=E&&E(E(D([])));L&&L!==r&&n.call(L,a)&&(b=L);var x=g.prototype=y.prototype=Object.create(b);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var l=f(t[o],t,i);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(t,r,n){var o=d;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=S(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var u=f(t,r,n);if("normal"===u.type){if(o=n.done?v:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=v,n.method="throw",n.arg=u.arg)}}}function S(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function D(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}!function(){"use strict";r(293);function t(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t=t||location?.href;var e,r,n,o,i=t.indexOf("?")+1,a=t.indexOf("#")+1||t.length+1,c=t.slice(i,a-1),l=c.replace(/\+/g," ").split("&"),u={};if(c!==t&&""!==c){for(e=0;e{const r=e.querySelector("iframe"),n=t(r?.src);if(n.file){const t=new URL(n?.file),e=new URL(r?.src);e?.protocol!==t?.protocol&&(r.src=e.href.replace(t.protocol,e.protocol))}}))})),document.addEventListener("adobe_dc_view_sdk.ready",(function(){document.querySelectorAll(".pdfp-adobe-viewer").forEach((t=>{let r=t?.href||t?.dataset?.href;const n=t?.dataset?.id||t?.parentElement?.id,o=t?.dataset.protect||!1,i=(JSON.parse(t?.dataset?.options,"{}"),e.scramble("decode",pdfp.adobeClientKey));if(window.doc=t,n&&r){function a(){new AdobeDC.View({clientId:i,divId:n}).previewFile({content:{location:{url:r}},metaData:{fileName:" "}})}o&&(r=e.scramble("decode",t?.href||t?.dataset?.href)),"BUTTON"===t?.tagName?t.addEventListener("click",(()=>{a()})):a()}}))}));class e{static protect=async e=>{const r=this.getDetectorData(e);let n=!1,o=null;if(!r)return!1;const{wrapper:i,iframe:a,options:c,infos:l,frame:u}=r,s=i.querySelector(".pdfp_fullscreen"),f=i.querySelector(".close"),d=i.querySelector(".iframe_wrapper");if("_self"===s?.target&&s?.addEventListener("click",(t=>{t.preventDefault(),d?.requestFullscreen()})),f?.addEventListener("click",(t=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()})),l?.protect){let h=a?.dataset?.source||"";a.dataset.source="";let p=h.match(/\?file=(.+)&nobaki/);if(p||(n=!0,p=h.match(/https:\/\/bplugins.com\/(.+)/)),p){if(p=this.scramble("decode",p[1]),p=p.replace(/https?:/,window.location.protocol),p.includes("dropbox.com"))o=p;else{const m=await fetch(p),y=await m.blob();o=URL.createObjectURL(y)}function v(t){isNaN(+t)&&(t=100);var e=+new Date,r=+new Date;(isNaN(e)||isNaN(r)||r-e>t)&&(URL.revokeObjectURL(o),alert("please close devtool"),a.src="")}p=n?o:h.replace(/\?file=(.+)&nobaki/,`?file=${o}&nobaki`),a.src=p,window.attachEvent?"complete"===document.readyState||"interactive"===document.readyState?(v(),window.attachEvent("onresize",v),window.attachEvent("onmousemove",v),window.attachEvent("onfocus",v),window.attachEvent("onblur",v)):setTimeout(argument.callee,0):(window.addEventListener("load",v),window.addEventListener("resize",v),window.addEventListener("mousemove",v),window.addEventListener("focus",v),window.addEventListener("blur",v))}l?.alert?(setTimeout((()=>{document.getElementById(u).contentWindow.document.oncontextmenu=function(t){alert("Right Click Disabled"),t.preventDefault()}}),1e3),document.oncontextmenu=function(t){alert("Right Click Disabled"),t.preventDefault()}):(document.oncontextmenu=function(t){t.preventDefault()},a.contentWindow.document.oncontextmenu=function(t){t.preventDefault()})}else{const w=t(a?.src),g=new URL(w?.file),b=new URL(a?.src),E=i.querySelector(".pdfp_fullscreen");b?.protocol!==g?.protocol&&(a.src=b.href.replace(g.protocol,b.protocol),E&&(E.href=b.href.replace(g.protocol,b.protocol))),a?.removeAttribute("data-source")}};static getDetectorData=function(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=null,i=null;return null!==t&&(void 0!==t[0]?(t.forEach((t=>{e.protect(t)})),!1):(void 0===t.length||0!==t.length)&&(null!==t.querySelector(".pdfp_wrapper")&&(t=t.querySelector(".pdfp_wrapper")),r||null==t?.dataset?.options||(r=JSON.parse(t?.dataset?.options||"{}")),n||null==t?.dataset?.infos||(n=JSON.parse(t?.dataset?.infos||"{}"),t.removeAttribute("data-infos")),o=t.querySelector("iframe"),i=t.querySelector("iframe").getAttribute("id"),{wrapper:t,iframe:o,options:r,infos:n,frame:i}))};static scramble(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"encode",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r="abcdefghijklmnopqrstuvwxyz1234567890",n="z1ntg4ihmwj5cr09byx8spl7ak6vo2q3eduf";let o="";if("encode"==t&&""!=e){const t=e.length;for(let i=0;i',scrollDistance:300,scrollTarget:''})})}) ;