Initial commit
This commit is contained in:
commit
9d73f82529
5575 files changed
+281989
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
(()=>{var j=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],_=j.join(","),A=typeof Element=="undefined"?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,G=function(e,t,a){var u=Array.prototype.slice.apply(e.querySelectorAll(_));return t&&A.call(e,_)&&u.unshift(e),u=u.filter(a),u},Z=function(e){return e.contentEditable==="true"},M=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?Z(e)||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t},$=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},C=function(e){return e.tagName==="INPUT"},ee=function(e){return C(e)&&e.type==="hidden"},te=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},re=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},ae=function(e){if(!e.name)return!0;var t=e.form||e.ownerDocument,a=function(l){return t.querySelectorAll('input[type="radio"][name="'+l+'"]')},u;if(typeof window!="undefined"&&typeof window.CSS!="undefined"&&typeof window.CSS.escape=="function")u=a(window.CSS.escape(e.name));else try{u=a(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var r=re(u,e.form);return!r||r===e},ne=function(e){return C(e)&&e.type==="radio"},ie=function(e){return ne(e)&&!ae(e)},ue=function(e,t){if(getComputedStyle(e).visibility==="hidden")return!0;var a=A.call(e,"details>summary:first-of-type"),u=a?e.parentElement:e;if(A.call(u,"details:not([open]) *"))return!0;if(!t||t==="full")for(;e;){if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}else if(t==="non-zero-area"){var r=e.getBoundingClientRect(),s=r.width,l=r.height;return s===0&&l===0}return!1},oe=function(e){if(C(e)||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||e.tagName==="BUTTON")for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a<t.children.length;a++){var u=t.children.item(a);if(u.tagName==="LEGEND")return!u.contains(e)}return!0}t=t.parentElement}return!1},O=function(e,t){return!(t.disabled||ee(t)||ue(t,e.displayCheck)||te(t)||oe(t))},se=function(e,t){return!(!O(e,t)||ie(t)||M(t)<0)},q=function(e,t){t=t||{};var a=[],u=[],r=G(e,t.includeContainer,se.bind(null,t));r.forEach(function(l,h){var b=M(l);b===0?a.push(l):u.push({documentOrder:h,tabIndex:b,node:l})});var s=u.sort($).map(function(l){return l.node}).concat(a);return s},W=function(e,t){t=t||{};var a=G(e,t.includeContainer,O.bind(null,t));return a};var ce=j.concat("iframe").join(","),k=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return A.call(e,ce)===!1?!1:O(t,e)};function B(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(i);e&&(a=a.filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable})),t.push.apply(t,a)}return t}function fe(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?B(Object(t),!0).forEach(function(a){le(i,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach(function(a){Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(t,a))})}return i}function le(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}var H=function(){var i=[];return{activateTrap:function(t){if(i.length>0){var a=i[i.length-1];a!==t&&a.pause()}var u=i.indexOf(t);u===-1||i.splice(u,1),i.push(t)},deactivateTrap:function(t){var a=i.indexOf(t);a!==-1&&i.splice(a,1),i.length>0&&i[i.length-1].unpause()}}}(),de=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},be=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},ve=function(e){return e.key==="Tab"||e.keyCode===9},U=function(e){return setTimeout(e,0)},L=function(e,t){var a=-1;return e.every(function(u,r){return t(u)?(a=r,!1):!0}),a},D=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,a):e},K=function(e,t){var a=document,u=fe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),r={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,l=function(n,o,c){return n&&n[o]!==void 0?n[o]:u[c||o]},h=function(n){return r.containers.some(function(o){return o.contains(n)})},b=function(n){var o=u[n];if(!o)return null;var c=o;if(typeof o=="string"&&(c=a.querySelector(o),!c))throw nLine truncated
|
||||
/*!
|
||||
* focus-trap 6.6.1
|
||||
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
||||
*/
|
||||
/*!
|
||||
* tabbable 5.2.1
|
||||
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||||
*/
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
(()=>{function vt(t){t.directive("dialog",(e,i)=>{i.value==="overlay"?Me(e,t):i.value==="panel"?Fe(e,t):i.value==="title"?Re(e,t):i.value==="description"?Ve(e,t):Le(e,t)}),t.magic("dialog",e=>{let i=t.$data(e);return{get open(){return i.__isOpen},get isOpen(){return i.__isOpen},close(){i.__close()}}})}function Le(t,e){e.bind(t,{"x-data"(){return{init(){e.bound(t,"open")!==void 0&&e.effect(()=>{this.__isOpenState=e.bound(t,"open")}),e.bound(t,"initial-focus")!==void 0&&this.$watch("__isOpenState",()=>{!this.__isOpenState||setTimeout(()=>{e.bound(t,"initial-focus").focus()},0)})},__isOpenState:!1,__close(){e.bound(t,"open")?this.$dispatch("close"):this.__isOpenState=!1},get __isOpen(){return e.bound(t,"static",this.__isOpenState)}}},"x-modelable":"__isOpenState","x-id"(){return["alpine-dialog-title","alpine-dialog-description"]},"x-show"(){return this.__isOpen},"x-trap.inert.noscroll"(){return this.__isOpen},"@keydown.escape"(){this.__close()},":aria-labelledby"(){return this.$id("alpine-dialog-title")},":aria-describedby"(){return this.$id("alpine-dialog-description")},role:"dialog","aria-modal":"true"})}function Me(t,e){e.bind(t,{"x-init"(){this.$data.__isOpen===void 0&&console.warn('"x-dialog:overlay" is missing a parent element with "x-dialog".')},"x-show"(){return this.__isOpen},"@click.prevent.stop"(){this.$data.__close()}})}function Fe(t,e){e.bind(t,{"@click.outside"(){this.$data.__close()},"x-show"(){return this.$data.__isOpen}})}function Re(t,e){e.bind(t,{"x-init"(){this.$data.__isOpen===void 0&&console.warn('"x-dialog:title" is missing a parent element with "x-dialog".')},":id"(){return this.$id("alpine-dialog-title")}})}function Ve(t,e){e.bind(t,{":id"(){return this.$id("alpine-dialog-description")}})}function gt(t){t.directive("disclosure",(e,i)=>{i.value?i.value==="panel"?qe(e,t):i.value==="button"&&je(e,t):Ae(e,t)}),t.magic("disclosure",e=>{let i=t.$data(e);return{get isOpen(){return i.__isOpen},close(){i.__close()}}})}function Ae(t,e){e.bind(t,{"x-modelable":"__isOpen","x-data"(){return{init(){queueMicrotask(()=>{let i=Boolean(e.bound(this.$el,"default-open",!1));i&&(this.__isOpen=i)})},__isOpen:!1,__close(){this.__isOpen=!1},__toggle(){this.__isOpen=!this.__isOpen}}},"x-id"(){return["alpine-disclosure-panel"]}})}function je(t,e){e.bind(t,{"x-init"(){this.$el.tagName.toLowerCase()==="button"&&!this.$el.hasAttribute("type")&&(this.$el.type="button")},"@click"(){this.$data.__isOpen=!this.$data.__isOpen},":aria-expanded"(){return this.$data.__isOpen},":aria-controls"(){return this.$data.$id("alpine-disclosure-panel")},"@keydown.space.prevent.stop"(){this.$data.__toggle()},"@keydown.enter.prevent.stop"(){this.$data.__toggle()},"@keyup.space.prevent"(){}})}function qe(t,e){e.bind(t,{"x-show"(){return this.$data.__isOpen},":id"(){return this.$data.$id("alpine-disclosure-panel")}})}var H=!1,U=!1,S=[];function $t(t){We(t)}function We(t){S.includes(t)||S.push(t),He()}function He(){!U&&!H&&(H=!0,queueMicrotask(Ue))}function Ue(){H=!1,U=!0;for(let t=0;t<S.length;t++)S[t]();S.length=0,U=!1}var x,h,m,z,Q=!0;function Et(t){Q=!1,t(),Q=!0}function Ot(t){x=t.reactive,m=t.release,h=e=>t.effect(e,{scheduler:i=>{Q?$t(i):i()}}),z=t.raw}function G(t){h=t}function wt(t){let e=()=>{};return[n=>{let s=h(n);return t._x_effects||(t._x_effects=new Set,t._x_runEffects=()=>{t._x_effects.forEach(r=>r())}),t._x_effects.add(s),e=()=>{s!==void 0&&(t._x_effects.delete(s),m(s))},s},()=>{e()}]}var St=[],kt=[],Dt=[];function Kt(t){Dt.push(t)}function N(t,e){typeof e=="function"?(t._x_cleanups||(t._x_cleanups=[]),t._x_cleanups.push(e)):(e=t,kt.push(e))}function Ct(t){St.push(t)}function Tt(t,e,i){t._x_attributeCleanups||(t._x_attributeCleanups={}),t._x_attributeCleanups[e]||(t._x_attributeCleanups[e]=[]),t._x_attributeCleanups[e].push(i)}function J(t,e){!t._x_attributeCleanups||Object.entries(t._x_attributeCleanups).forEach(([i,n])=>{(e===void 0||e.includes(i))&&(n.forEach(s=>s()),delete t._x_attributeCleanups[i])})}var X=new MutationObserver(Z),Y=!1;function tt(){X.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Y=!0}function Qe(){ze(),X.disconnect(),Y=!1}var k=[],et=!1;function ze(){k=k.concat(X.takeRecords()),k.length&&!et&&(et=!0,queueMicrotask(()=>{Ge(),et=!1}))}function Ge(){Z(k),k.length=0}function p(t){if(!Y)return t();Qe();let e=t();return tt(),e}var it=!1,P=[];function Nt(){it=!0}function Pt(){it=!1,Z(P),P=[]}function Z(t){if(it){P=P.concat(t);return}let e=[],i=[],n=new Map,s=new Map;for(let r=0;r<t.length;r++)if(!t[r].target._x_ignoreMutationObserver&&(t[r].type==="childList"&&(t[r].addedNodes.forEach(a=>a.nodeType===1&&e.push(a)),t[r].removedNodes.forEach(a=>a.nodeType===1&&i.push(a))),t[r].type==="attributes")){let a=t[r].target,o=t[r].attributeName,l=t[r].oldValue,u=()=>{n.has(a)||n.set(a,[]),n.get(a).push({name:o,value:a.getAttribute(o)})},f=()=>{s.has(a)||s.set(a,[]),s.get(a).push(o)};a.hasAttribute(o)&&l===null?u():a.hasAttribute(o)?(f(),u()):f()}s.forEach((r,a)=>{J(a,r)}),n.forEach((Line truncated
|
||||
|
||||
${i?'Expression: "'+i+`"
|
||||
|
||||
`:""}`,e),setTimeout(()=>{throw t},0)}var B=!0;function At(t){let e=B;B=!1,t(),B=e}function D(t,e,i={}){let n;return g(t,e)(s=>n=s,i),n}function g(...t){return jt(...t)}var jt=Ze;function qt(t){jt=t}function Ze(t,e){let i={};Rt(i,t);let n=[i,...c(t)];if(typeof e=="function")return Xe(n,e);let s=Ye(n,e,t);return Vt.bind(null,t,e,s)}function Xe(t,e){return(i=()=>{},{scope:n={},params:s=[]}={})=>{let r=e.apply(y([n,...t]),s);L(i,r)}}var rt={};function ti(t,e){if(rt[t])return rt[t];let i=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(t)||/^(let|const)\s/.test(t)?`(() => { ${t} })()`:t,r=(()=>{try{return new i(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`)}catch(a){return v(a,e,t),Promise.resolve()}})();return rt[t]=r,r}function Ye(t,e,i){let n=ti(e,i);return(s=()=>{},{scope:r={},params:a=[]}={})=>{n.result=void 0,n.finished=!1;let o=y([r,...t]);if(typeof n=="function"){let l=n(n,o).catch(u=>v(u,i,e));n.finished?(L(s,n.result,o,a,i),n.result=void 0):l.then(u=>{L(s,u,o,a,i)}).catch(u=>v(u,i,e)).finally(()=>n.result=void 0)}}}function L(t,e,i,n,s){if(B&&typeof e=="function"){let r=e.apply(i,n);r instanceof Promise?r.then(a=>L(t,a,i,n)).catch(a=>v(a,s,e)):t(r)}else t(e)}var at="x-";function Wt(t=""){return at+t}function Ht(t){at=t}var Ut={};function M(t,e){Ut[t]=e}function K(t,e,i){if(e=Array.from(e),t._x_virtualDirectives){let r=Object.entries(t._x_virtualDirectives).map(([o,l])=>({name:o,value:l})),a=ot(r);r=r.map(o=>a.find(l=>l.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),e=e.concat(r)}let n={};return e.map(zt((r,a)=>n[r]=a)).filter(Qt).map(ii(n,i)).sort(ni).map(r=>ei(t,r))}function ot(t){return Array.from(t).map(zt()).filter(e=>!Qt(e))}var lt=!1,C=new Map,Gt=Symbol();function Jt(t){lt=!0;let e=Symbol();Gt=e,C.set(e,[]);let i=()=>{for(;C.get(e).length;)C.get(e).shift()();C.delete(e)},n=()=>{lt=!1,i()};t(i),n()}function st(t){let e=[],i=o=>e.push(o),[n,s]=wt(t);return e.push(s),[{Alpine:b,effect:n,cleanup:i,evaluateLater:g.bind(g,t),evaluate:D.bind(D,t)},()=>e.forEach(o=>o())]}function ei(t,e){let i=()=>{},n=Ut[e.type]||i,[s,r]=st(t);Tt(t,e.original,r);let a=()=>{t._x_ignore||t._x_ignoreSelf||(n.inline&&n.inline(t,e,s),n=n.bind(n,t,e,s),lt?C.get(Gt).push(n):n())};return a.runCleanups=r,a}function zt(t=()=>{}){return({name:e,value:i})=>{let{name:n,value:s}=Zt.reduce((r,a)=>a(r),{name:e,value:i});return n!==e&&t(n,e),{name:n,value:s}}}var Zt=[];function Xt(t){Zt.push(t)}function Qt({name:t}){return Yt().test(t)}var Yt=()=>new RegExp(`^${at}([^:^.]+)\\b`);function ii(t,e){return({name:i,value:n})=>{let s=i.match(Yt()),r=i.match(/:([a-zA-Z0-9\-:]+)/),a=i.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],o=e||t[i]||i;return{type:s?s[1]:null,value:r?r[1]:null,modifiers:a.map(l=>l.replace(".","")),expression:n,original:o}}}var ut="DEFAULT",F=["ignore","ref","data","id","radio","tabs","switch","disclosure","menu","listbox","combobox","bind","init","for","mask","model","modelable","transition","show","if",ut,"teleport"];function ni(t,e){let i=F.indexOf(t.type)===-1?ut:t.type,n=F.indexOf(e.type)===-1?ut:e.type;return F.indexOf(i)-F.indexOf(n)}function R(t,e,i={}){t.dispatchEvent(new CustomEvent(e,{detail:i,bubbles:!0,composed:!0,cancelable:!0}))}var dt=[],ct=!1;function te(t=()=>{}){return queueMicrotask(()=>{ct||setTimeout(()=>{V()})}),new Promise(e=>{dt.push(()=>{t(),e()})})}function V(){for(ct=!1;dt.length;)dt.shift()()}function ee(){ct=!0}function _(t,e){if(typeof ShadowRoot=="function"&&t instanceof ShadowRoot){Array.from(t.children).forEach(s=>_(s,e));return}let i=!1;if(e(t,()=>i=!0),i)return;let n=t.firstElementChild;for(;n;)_(n,e,!1),n=n.nextElementSibling}function ie(t,...e){console.warn(`Alpine Warning: ${t}`,...e)}function se(){document.body||ie("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),R(document,"alpine:init"),R(document,"alpine:initializing"),tt(),Kt(e=>$(e,_)),N(e=>si(e)),Ct((e,i)=>{K(e,i).forEach(n=>n())});let t=e=>!_t(e.parentElement,!0);Array.from(document.querySelectorAll(ne())).filter(t).forEach(e=>{$(e)}),R(document,"alpine:initialized")}var ft=[],re=[];function ae(){return ft.map(t=>t())}function ne(){return ft.concat(re).map(t=>t())}function oe(t){ft.push(t)}function le(t){re.push(t)}function _t(t,e=!1){return A(t,i=>{if((e?ne():ae()).some(s=>i.matches(s)))return!0})}function A(t,e){if(!!t){if(e(t))return t;if(t._x_teleportBack&&(t=t._x_teleportBack),!!t.parentElement)return A(t.parentElement,e)}}function ue(t){return ae().some(e=>t.matches(e))}function $(t,e=_){Jt(()=>{e(t,(i,n)=>{K(i,i.attributes).forEach(s=>s()),i._x_ignore&&n()})})}function si(t){_(t,e=>J(e))}function j(t,e){return Array.isArray(e)?de(t,e.join(" ")):typeof e=="object"&&e!==null?ri(t,e):typeof e=="function"?j(t,e()):de(t,e)}function de(t,e){let i=r=>r.split(" ").filter(Boolean),n=r=>r.split(" ").filter(a=>!t.classList.contains(a)).filter(BoLine truncated
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
// Disconnected from client
|
||||
function disconnected() {
|
||||
document.querySelector("#disconnected").style =
|
||||
"display: block !important;";
|
||||
}
|
||||
|
||||
let frame = document.getElementById("nitro");
|
||||
window.FlashExternalInterface = {};
|
||||
window.FlashExternalInterface.disconnect = () => {
|
||||
disconnected();
|
||||
};
|
||||
|
||||
if (frame && frame.contentWindow) {
|
||||
window.addEventListener("message", (ev) => {
|
||||
if (!frame || ev.source !== frame.contentWindow) return;
|
||||
const legacyInterface = "Nitro_LegacyExternalInterface";
|
||||
if (typeof ev.data !== "string") return;
|
||||
if (ev.data.startsWith(legacyInterface)) {
|
||||
const { method, params } = JSON.parse(
|
||||
ev.data.substr(legacyInterface.length)
|
||||
);
|
||||
if (!("FlashExternalInterface" in window)) return;
|
||||
const fn = window.FlashExternalInterface[method];
|
||||
if (!fn) return;
|
||||
fn(...params);
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
// Disconnected from client end
|
||||
Executable
+479
@@ -0,0 +1,479 @@
|
||||
!(function (root, name, definition) {
|
||||
if (typeof module != "undefined" && module.exports)
|
||||
module.exports = definition();
|
||||
else if (typeof define == "function" && define.amd)
|
||||
define(name, definition);
|
||||
else root[name] = definition();
|
||||
})(this, "bowser", function () {
|
||||
var t = true;
|
||||
function detect(ua) {
|
||||
function getFirstMatch(regex) {
|
||||
var match = ua.match(regex);
|
||||
return (match && match.length > 1 && match[1]) || "";
|
||||
}
|
||||
function getSecondMatch(regex) {
|
||||
var match = ua.match(regex);
|
||||
return (match && match.length > 1 && match[2]) || "";
|
||||
}
|
||||
var iosdevice = getFirstMatch(/(ipod|iphone|ipad)/i).toLowerCase(),
|
||||
likeAndroid = /like android/i.test(ua),
|
||||
android = !likeAndroid && /android/i.test(ua),
|
||||
nexusMobile = /nexus\s*[0-6]\s*/i.test(ua),
|
||||
nexusTablet = !nexusMobile && /nexus\s*[0-9]+/i.test(ua),
|
||||
chromeos = /CrOS/.test(ua),
|
||||
silk = /silk/i.test(ua),
|
||||
sailfish = /sailfish/i.test(ua),
|
||||
tizen = /tizen/i.test(ua),
|
||||
webos = /(web|hpw)os/i.test(ua),
|
||||
windowsphone = /windows phone/i.test(ua),
|
||||
samsungBrowser = /SamsungBrowser/i.test(ua),
|
||||
windows = !windowsphone && /windows/i.test(ua),
|
||||
mac = !iosdevice && !silk && /macintosh/i.test(ua),
|
||||
linux =
|
||||
!android && !sailfish && !tizen && !webos && /linux/i.test(ua),
|
||||
edgeVersion = getFirstMatch(/edge\/(\d+(\.\d+)?)/i),
|
||||
versionIdentifier = getFirstMatch(/version\/(\d+(\.\d+)?)/i),
|
||||
tablet = /tablet/i.test(ua),
|
||||
mobile = !tablet && /[^-]mobi/i.test(ua),
|
||||
xbox = /xbox/i.test(ua),
|
||||
result;
|
||||
if (/opera/i.test(ua)) {
|
||||
result = {
|
||||
name: "Opera",
|
||||
opera: t,
|
||||
version:
|
||||
versionIdentifier ||
|
||||
getFirstMatch(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/opr|opios/i.test(ua)) {
|
||||
result = {
|
||||
name: "Opera",
|
||||
opera: t,
|
||||
version:
|
||||
getFirstMatch(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) ||
|
||||
versionIdentifier,
|
||||
};
|
||||
} else if (/SamsungBrowser/i.test(ua)) {
|
||||
result = {
|
||||
name: "Samsung Internet for Android",
|
||||
samsungBrowser: t,
|
||||
version:
|
||||
versionIdentifier ||
|
||||
getFirstMatch(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/coast/i.test(ua)) {
|
||||
result = {
|
||||
name: "Opera Coast",
|
||||
coast: t,
|
||||
version:
|
||||
versionIdentifier ||
|
||||
getFirstMatch(/(?:coast)[\s\/](\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/yabrowser/i.test(ua)) {
|
||||
result = {
|
||||
name: "Yandex Browser",
|
||||
yandexbrowser: t,
|
||||
version:
|
||||
versionIdentifier ||
|
||||
getFirstMatch(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/ucbrowser/i.test(ua)) {
|
||||
result = {
|
||||
name: "UC Browser",
|
||||
ucbrowser: t,
|
||||
version: getFirstMatch(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i),
|
||||
};
|
||||
} else if (/mxios/i.test(ua)) {
|
||||
result = {
|
||||
name: "Maxthon",
|
||||
maxthon: t,
|
||||
version: getFirstMatch(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i),
|
||||
};
|
||||
} else if (/epiphany/i.test(ua)) {
|
||||
result = {
|
||||
name: "Epiphany",
|
||||
epiphany: t,
|
||||
version: getFirstMatch(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i),
|
||||
};
|
||||
} else if (/puffin/i.test(ua)) {
|
||||
result = {
|
||||
name: "Puffin",
|
||||
puffin: t,
|
||||
version: getFirstMatch(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i),
|
||||
};
|
||||
} else if (/sleipnir/i.test(ua)) {
|
||||
result = {
|
||||
name: "Sleipnir",
|
||||
sleipnir: t,
|
||||
version: getFirstMatch(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i),
|
||||
};
|
||||
} else if (/k-meleon/i.test(ua)) {
|
||||
result = {
|
||||
name: "K-Meleon",
|
||||
kMeleon: t,
|
||||
version: getFirstMatch(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i),
|
||||
};
|
||||
} else if (windowsphone) {
|
||||
result = { name: "Windows Phone", windowsphone: t };
|
||||
if (edgeVersion) {
|
||||
result.msedge = t;
|
||||
result.version = edgeVersion;
|
||||
} else {
|
||||
result.msie = t;
|
||||
result.version = getFirstMatch(/iemobile\/(\d+(\.\d+)?)/i);
|
||||
}
|
||||
} else if (/msie|trident/i.test(ua)) {
|
||||
result = {
|
||||
name: "Internet Explorer",
|
||||
msie: t,
|
||||
version: getFirstMatch(/(?:msie |rv:)(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (chromeos) {
|
||||
result = {
|
||||
name: "Chrome",
|
||||
chromeos: t,
|
||||
chromeBook: t,
|
||||
chrome: t,
|
||||
version: getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/chrome.+? edge/i.test(ua)) {
|
||||
result = {
|
||||
name: "Microsoft Edge",
|
||||
msedge: t,
|
||||
version: edgeVersion,
|
||||
};
|
||||
} else if (/vivaldi/i.test(ua)) {
|
||||
result = {
|
||||
name: "Vivaldi",
|
||||
vivaldi: t,
|
||||
version:
|
||||
getFirstMatch(/vivaldi\/(\d+(\.\d+)?)/i) ||
|
||||
versionIdentifier,
|
||||
};
|
||||
} else if (sailfish) {
|
||||
result = {
|
||||
name: "Sailfish",
|
||||
sailfish: t,
|
||||
version: getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/seamonkey\//i.test(ua)) {
|
||||
result = {
|
||||
name: "SeaMonkey",
|
||||
seamonkey: t,
|
||||
version: getFirstMatch(/seamonkey\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/firefox|iceweasel|fxios/i.test(ua)) {
|
||||
result = {
|
||||
name: "Firefox",
|
||||
firefox: t,
|
||||
version: getFirstMatch(
|
||||
/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i
|
||||
),
|
||||
};
|
||||
if (/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ua)) {
|
||||
result.firefoxos = t;
|
||||
}
|
||||
} else if (silk) {
|
||||
result = {
|
||||
name: "Amazon Silk",
|
||||
silk: t,
|
||||
version: getFirstMatch(/silk\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/phantom/i.test(ua)) {
|
||||
result = {
|
||||
name: "PhantomJS",
|
||||
phantom: t,
|
||||
version: getFirstMatch(/phantomjs\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/slimerjs/i.test(ua)) {
|
||||
result = {
|
||||
name: "SlimerJS",
|
||||
slimer: t,
|
||||
version: getFirstMatch(/slimerjs\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (/blackberry|\bbb\d+/i.test(ua) || /rim\stablet/i.test(ua)) {
|
||||
result = {
|
||||
name: "BlackBerry",
|
||||
blackberry: t,
|
||||
version:
|
||||
versionIdentifier ||
|
||||
getFirstMatch(/blackberry[\d]+\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (webos) {
|
||||
result = {
|
||||
name: "WebOS",
|
||||
webos: t,
|
||||
version:
|
||||
versionIdentifier ||
|
||||
getFirstMatch(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
/touchpad\//i.test(ua) && (result.touchpad = t);
|
||||
} else if (/bada/i.test(ua)) {
|
||||
result = {
|
||||
name: "Bada",
|
||||
bada: t,
|
||||
version: getFirstMatch(/dolfin\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (tizen) {
|
||||
result = {
|
||||
name: "Tizen",
|
||||
tizen: t,
|
||||
version:
|
||||
getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) ||
|
||||
versionIdentifier,
|
||||
};
|
||||
} else if (/qupzilla/i.test(ua)) {
|
||||
result = {
|
||||
name: "QupZilla",
|
||||
qupzilla: t,
|
||||
version:
|
||||
getFirstMatch(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) ||
|
||||
versionIdentifier,
|
||||
};
|
||||
} else if (/chromium/i.test(ua)) {
|
||||
result = {
|
||||
name: "Chromium",
|
||||
chromium: t,
|
||||
version:
|
||||
getFirstMatch(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) ||
|
||||
versionIdentifier,
|
||||
};
|
||||
} else if (/chrome|crios|crmo/i.test(ua)) {
|
||||
result = {
|
||||
name: "Chrome",
|
||||
chrome: t,
|
||||
version: getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i),
|
||||
};
|
||||
} else if (android) {
|
||||
result = { name: "Android", version: versionIdentifier };
|
||||
} else if (/safari|applewebkit/i.test(ua)) {
|
||||
result = { name: "Safari", safari: t };
|
||||
if (versionIdentifier) {
|
||||
result.version = versionIdentifier;
|
||||
}
|
||||
} else if (iosdevice) {
|
||||
result = {
|
||||
name:
|
||||
iosdevice == "iphone"
|
||||
? "iPhone"
|
||||
: iosdevice == "ipad"
|
||||
? "iPad"
|
||||
: "iPod",
|
||||
};
|
||||
if (versionIdentifier) {
|
||||
result.version = versionIdentifier;
|
||||
}
|
||||
} else if (/googlebot/i.test(ua)) {
|
||||
result = {
|
||||
name: "Googlebot",
|
||||
googlebot: t,
|
||||
version:
|
||||
getFirstMatch(/googlebot\/(\d+(\.\d+))/i) ||
|
||||
versionIdentifier,
|
||||
};
|
||||
} else {
|
||||
result = {
|
||||
name: getFirstMatch(/^(.*)\/(.*) /),
|
||||
version: getSecondMatch(/^(.*)\/(.*) /),
|
||||
};
|
||||
}
|
||||
if (!result.msedge && /(apple)?webkit/i.test(ua)) {
|
||||
if (/(apple)?webkit\/537\.36/i.test(ua)) {
|
||||
result.name = result.name || "Blink";
|
||||
result.blink = t;
|
||||
} else {
|
||||
result.name = result.name || "Webkit";
|
||||
result.webkit = t;
|
||||
}
|
||||
if (!result.version && versionIdentifier) {
|
||||
result.version = versionIdentifier;
|
||||
}
|
||||
} else if (!result.opera && /gecko\//i.test(ua)) {
|
||||
result.name = result.name || "Gecko";
|
||||
result.gecko = t;
|
||||
result.version =
|
||||
result.version || getFirstMatch(/gecko\/(\d+(\.\d+)?)/i);
|
||||
}
|
||||
if (
|
||||
!result.windowsphone &&
|
||||
!result.msedge &&
|
||||
(android || result.silk)
|
||||
) {
|
||||
result.android = t;
|
||||
} else if (!result.windowsphone && !result.msedge && iosdevice) {
|
||||
result[iosdevice] = t;
|
||||
result.ios = t;
|
||||
} else if (mac) {
|
||||
result.mac = t;
|
||||
} else if (xbox) {
|
||||
result.xbox = t;
|
||||
} else if (windows) {
|
||||
result.windows = t;
|
||||
} else if (linux) {
|
||||
result.linux = t;
|
||||
}
|
||||
var osVersion = "";
|
||||
if (result.windowsphone) {
|
||||
osVersion = getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i);
|
||||
} else if (iosdevice) {
|
||||
osVersion = getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i);
|
||||
osVersion = osVersion.replace(/[_\s]/g, ".");
|
||||
} else if (android) {
|
||||
osVersion = getFirstMatch(/android[ \/-](\d+(\.\d+)*)/i);
|
||||
} else if (result.webos) {
|
||||
osVersion = getFirstMatch(/(?:web|hpw)os\/(\d+(\.\d+)*)/i);
|
||||
} else if (result.blackberry) {
|
||||
osVersion = getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i);
|
||||
} else if (result.bada) {
|
||||
osVersion = getFirstMatch(/bada\/(\d+(\.\d+)*)/i);
|
||||
} else if (result.tizen) {
|
||||
osVersion = getFirstMatch(/tizen[\/\s](\d+(\.\d+)*)/i);
|
||||
}
|
||||
if (osVersion) {
|
||||
result.osversion = osVersion;
|
||||
}
|
||||
var osMajorVersion = osVersion.split(".")[0];
|
||||
if (
|
||||
tablet ||
|
||||
nexusTablet ||
|
||||
iosdevice == "ipad" ||
|
||||
(android &&
|
||||
(osMajorVersion == 3 || (osMajorVersion >= 4 && !mobile))) ||
|
||||
result.silk
|
||||
) {
|
||||
result.tablet = t;
|
||||
} else if (
|
||||
mobile ||
|
||||
iosdevice == "iphone" ||
|
||||
iosdevice == "ipod" ||
|
||||
android ||
|
||||
nexusMobile ||
|
||||
result.blackberry ||
|
||||
result.webos ||
|
||||
result.bada
|
||||
) {
|
||||
result.mobile = t;
|
||||
}
|
||||
if (
|
||||
result.msedge ||
|
||||
(result.msie && result.version >= 10) ||
|
||||
(result.yandexbrowser && result.version >= 15) ||
|
||||
(result.vivaldi && result.version >= 1.0) ||
|
||||
(result.chrome && result.version >= 20) ||
|
||||
(result.samsungBrowser && result.version >= 4) ||
|
||||
(result.firefox && result.version >= 20.0) ||
|
||||
(result.safari && result.version >= 6) ||
|
||||
(result.opera && result.version >= 10.0) ||
|
||||
(result.ios &&
|
||||
result.osversion &&
|
||||
result.osversion.split(".")[0] >= 6) ||
|
||||
(result.blackberry && result.version >= 10.1) ||
|
||||
(result.chromium && result.version >= 20)
|
||||
) {
|
||||
result.a = t;
|
||||
} else if (
|
||||
(result.msie && result.version < 10) ||
|
||||
(result.chrome && result.version < 20) ||
|
||||
(result.firefox && result.version < 20.0) ||
|
||||
(result.safari && result.version < 6) ||
|
||||
(result.opera && result.version < 10.0) ||
|
||||
(result.ios &&
|
||||
result.osversion &&
|
||||
result.osversion.split(".")[0] < 6) ||
|
||||
(result.chromium && result.version < 20)
|
||||
) {
|
||||
result.c = t;
|
||||
} else result.x = t;
|
||||
return result;
|
||||
}
|
||||
var bowser = detect(
|
||||
typeof navigator !== "undefined" ? navigator.userAgent || "" : ""
|
||||
);
|
||||
bowser.test = function (browserList) {
|
||||
for (var i = 0; i < browserList.length; ++i) {
|
||||
var browserItem = browserList[i];
|
||||
if (typeof browserItem === "string") {
|
||||
if (browserItem in bowser) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
function getVersionPrecision(version) {
|
||||
return version.split(".").length;
|
||||
}
|
||||
function map(arr, iterator) {
|
||||
var result = [],
|
||||
i;
|
||||
if (Array.prototype.map) {
|
||||
return Array.prototype.map.call(arr, iterator);
|
||||
}
|
||||
for (i = 0; i < arr.length; i++) {
|
||||
result.push(iterator(arr[i]));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function compareVersions(versions) {
|
||||
var precision = Math.max(
|
||||
getVersionPrecision(versions[0]),
|
||||
getVersionPrecision(versions[1])
|
||||
);
|
||||
var chunks = map(versions, function (version) {
|
||||
var delta = precision - getVersionPrecision(version);
|
||||
version = version + new Array(delta + 1).join(".0");
|
||||
return map(version.split("."), function (chunk) {
|
||||
return new Array(20 - chunk.length).join("0") + chunk;
|
||||
}).reverse();
|
||||
});
|
||||
while (--precision >= 0) {
|
||||
if (chunks[0][precision] > chunks[1][precision]) {
|
||||
return 1;
|
||||
} else if (chunks[0][precision] === chunks[1][precision]) {
|
||||
if (precision === 0) {
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
function isUnsupportedBrowser(minVersions, strictMode, ua) {
|
||||
var _bowser = bowser;
|
||||
if (typeof strictMode === "string") {
|
||||
ua = strictMode;
|
||||
strictMode = void 0;
|
||||
}
|
||||
if (strictMode === void 0) {
|
||||
strictMode = false;
|
||||
}
|
||||
if (ua) {
|
||||
_bowser = detect(ua);
|
||||
}
|
||||
var version = "" + _bowser.version;
|
||||
for (var browser in minVersions) {
|
||||
if (minVersions.hasOwnProperty(browser)) {
|
||||
if (_bowser[browser]) {
|
||||
if (typeof minVersions[browser] !== "string") {
|
||||
throw new Error(
|
||||
"Browser version in the minVersion map should be a string: " +
|
||||
browser +
|
||||
": " +
|
||||
String(minVersions)
|
||||
);
|
||||
}
|
||||
return compareVersions([version, minVersions[browser]]) < 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
return strictMode;
|
||||
}
|
||||
function check(minVersions, strictMode, ua) {
|
||||
return !isUnsupportedBrowser(minVersions, strictMode, ua);
|
||||
}
|
||||
bowser.isUnsupportedBrowser = isUnsupportedBrowser;
|
||||
bowser.compareVersions = compareVersions;
|
||||
bowser.check = check;
|
||||
bowser._detect = detect;
|
||||
return bowser;
|
||||
});
|
||||
Executable
+147
@@ -0,0 +1,147 @@
|
||||
(function ($) {
|
||||
$.fn.iframeTracker = function (handler) {
|
||||
var target = this.get();
|
||||
if (handler === null || handler === false) {
|
||||
$.iframeTracker.untrack(target);
|
||||
} else if (typeof handler == "object") {
|
||||
$.iframeTracker.track(target, handler);
|
||||
} else {
|
||||
throw new Error(
|
||||
"Wrong handler type (must be an object, or null|false to untrack)"
|
||||
);
|
||||
}
|
||||
};
|
||||
$.iframeTracker = {
|
||||
focusRetriever: null,
|
||||
focusRetrieved: false,
|
||||
handlersList: [],
|
||||
isIE8AndOlder: false,
|
||||
init: function () {
|
||||
try {
|
||||
if ($.browser.msie == true && $.browser.version < 9) {
|
||||
this.isIE8AndOlder = true;
|
||||
}
|
||||
} catch (ex) {
|
||||
try {
|
||||
var matches = navigator.userAgent.match(/(msie) ([\w.]+)/i);
|
||||
if (matches[2] < 9) {
|
||||
this.isIE8AndOlder = true;
|
||||
}
|
||||
} catch (ex2) {}
|
||||
}
|
||||
$(window).focus();
|
||||
$(window).blur(function (e) {
|
||||
$.iframeTracker.windowLoseFocus(e);
|
||||
});
|
||||
$("body").append(
|
||||
'<div style="position:fixed; top:0; left:0; overflow:hidden;"><input style="position:absolute; left:-300px;" type="text" value="" id="focus_retriever" readonly="true" /></div>'
|
||||
);
|
||||
this.focusRetriever = $("#focus_retriever");
|
||||
this.focusRetrieved = false;
|
||||
$(document).mousemove(function (e) {
|
||||
if (
|
||||
document.activeElement &&
|
||||
document.activeElement.tagName == "IFRAME"
|
||||
) {
|
||||
$.iframeTracker.focusRetriever.focus();
|
||||
$.iframeTracker.focusRetrieved = true;
|
||||
}
|
||||
});
|
||||
if (this.isIE8AndOlder) {
|
||||
this.focusRetriever.blur(function (e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
$.iframeTracker.windowLoseFocus(e);
|
||||
});
|
||||
$("body").click(function (e) {
|
||||
$(window).focus();
|
||||
});
|
||||
$("form").click(function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
try {
|
||||
$("body").on("click", "form", function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
} catch (ex) {
|
||||
console.log(
|
||||
"[iframeTracker] Please update jQuery to 1.7 or newer. (exception: " +
|
||||
ex.message +
|
||||
")"
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
track: function (target, handler) {
|
||||
handler.target = target;
|
||||
$.iframeTracker.handlersList.push(handler);
|
||||
$(target)
|
||||
.bind(
|
||||
"mouseover",
|
||||
{ handler: handler },
|
||||
$.iframeTracker.mouseoverListener
|
||||
)
|
||||
.bind(
|
||||
"mouseout",
|
||||
{ handler: handler },
|
||||
$.iframeTracker.mouseoutListener
|
||||
);
|
||||
},
|
||||
untrack: function (target) {
|
||||
if (typeof Array.prototype.filter != "function") {
|
||||
console.log(
|
||||
"Your browser doesn't support Array filter, untrack disabled"
|
||||
);
|
||||
return;
|
||||
}
|
||||
$(target).each(function (index) {
|
||||
$(this)
|
||||
.unbind("mouseover", $.iframeTracker.mouseoverListener)
|
||||
.unbind("mouseout", $.iframeTracker.mouseoutListener);
|
||||
});
|
||||
var nullFilter = function (value) {
|
||||
return value === null ? false : true;
|
||||
};
|
||||
for (var i in this.handlersList) {
|
||||
for (var j in this.handlersList[i].target) {
|
||||
if (
|
||||
$.inArray(this.handlersList[i].target[j], target) !== -1
|
||||
) {
|
||||
this.handlersList[i].target[j] = null;
|
||||
}
|
||||
}
|
||||
this.handlersList[i].target =
|
||||
this.handlersList[i].target.filter(nullFilter);
|
||||
if (this.handlersList[i].target.length == 0) {
|
||||
this.handlersList[i] = null;
|
||||
}
|
||||
}
|
||||
this.handlersList = this.handlersList.filter(nullFilter);
|
||||
},
|
||||
mouseoverListener: function (e) {
|
||||
e.data.handler.over = true;
|
||||
try {
|
||||
e.data.handler.overCallback(this);
|
||||
} catch (ex) {}
|
||||
},
|
||||
mouseoutListener: function (e) {
|
||||
e.data.handler.over = false;
|
||||
$.iframeTracker.focusRetriever.focus();
|
||||
try {
|
||||
e.data.handler.outCallback(this);
|
||||
} catch (ex) {}
|
||||
},
|
||||
windowLoseFocus: function (event) {
|
||||
for (var i in this.handlersList) {
|
||||
if (this.handlersList[i].over == true) {
|
||||
try {
|
||||
this.handlersList[i].blurCallback();
|
||||
} catch (ex) {}
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
$(document).ready(function () {
|
||||
$.iframeTracker.init();
|
||||
});
|
||||
})(jQuery);
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
function isTouchDevice() {
|
||||
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
||||
}
|
||||
|
||||
// Use the isTouchDevice function
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const isTouch = isTouchDevice();
|
||||
|
||||
// Now you can use the isTouch variable to conditionally handle touch devices
|
||||
if (isTouch) {
|
||||
// Handle touch devices here
|
||||
console.log("This is a touch device.");
|
||||
} else {
|
||||
// Handle non-touch devices here
|
||||
console.log("This is not a touch device.");
|
||||
}
|
||||
});
|
||||
Executable
BIN
Binary file not shown.
Executable
+145
@@ -0,0 +1,145 @@
|
||||
var FlashDetect = new (function () {
|
||||
var self = this;
|
||||
self.installed = false;
|
||||
self.raw = "";
|
||||
self.major = -1;
|
||||
self.minor = -1;
|
||||
self.revision = -1;
|
||||
self.revisionStr = "";
|
||||
var activeXDetectRules = [
|
||||
{
|
||||
name: "ShockwaveFlash.ShockwaveFlash.7",
|
||||
version: function (obj) {
|
||||
return getActiveXVersion(obj);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ShockwaveFlash.ShockwaveFlash.6",
|
||||
version: function (obj) {
|
||||
var version = "6,0,21";
|
||||
try {
|
||||
obj.AllowScriptAccess = "always";
|
||||
version = getActiveXVersion(obj);
|
||||
} catch (err) {}
|
||||
return version;
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ShockwaveFlash.ShockwaveFlash",
|
||||
version: function (obj) {
|
||||
return getActiveXVersion(obj);
|
||||
},
|
||||
},
|
||||
];
|
||||
var getActiveXVersion = function (activeXObj) {
|
||||
var version = -1;
|
||||
try {
|
||||
version = activeXObj.GetVariable("$version");
|
||||
} catch (err) {}
|
||||
return version;
|
||||
};
|
||||
var getActiveXObject = function (name) {
|
||||
var obj = -1;
|
||||
try {
|
||||
obj = new ActiveXObject(name);
|
||||
} catch (err) {
|
||||
obj = { activeXError: true };
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
var parseActiveXVersion = function (str) {
|
||||
var versionArray = str.split(",");
|
||||
return {
|
||||
raw: str,
|
||||
major: parseInt(versionArray[0].split(" ")[1], 10),
|
||||
minor: parseInt(versionArray[1], 10),
|
||||
revision: parseInt(versionArray[2], 10),
|
||||
revisionStr: versionArray[2],
|
||||
};
|
||||
};
|
||||
var parseStandardVersion = function (str) {
|
||||
var descParts = str.split(/ +/);
|
||||
var majorMinor = descParts[2].split(/\./);
|
||||
var revisionStr = descParts[3];
|
||||
return {
|
||||
raw: str,
|
||||
major: parseInt(majorMinor[0], 10),
|
||||
minor: parseInt(majorMinor[1], 10),
|
||||
revisionStr: revisionStr,
|
||||
revision: parseRevisionStrToInt(revisionStr),
|
||||
};
|
||||
};
|
||||
var parseRevisionStrToInt = function (str) {
|
||||
return parseInt(str.replace(/[a-zA-Z]/g, ""), 10) || self.revision;
|
||||
};
|
||||
self.majorAtLeast = function (version) {
|
||||
return self.major >= version;
|
||||
};
|
||||
self.minorAtLeast = function (version) {
|
||||
return self.minor >= version;
|
||||
};
|
||||
self.revisionAtLeast = function (version) {
|
||||
return self.revision >= version;
|
||||
};
|
||||
self.versionAtLeast = function (major) {
|
||||
var properties = [self.major, self.minor, self.revision];
|
||||
var len = Math.min(properties.length, arguments.length);
|
||||
for (i = 0; i < len; i++) {
|
||||
if (properties[i] >= arguments[i]) {
|
||||
if (i + 1 < len && properties[i] == arguments[i]) {
|
||||
continue;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
};
|
||||
self.FlashDetect = (function () {
|
||||
if (navigator.plugins && navigator.plugins.length > 0) {
|
||||
var type = "application/x-shockwave-flash";
|
||||
var mimeTypes = navigator.mimeTypes;
|
||||
if (
|
||||
mimeTypes &&
|
||||
mimeTypes[type] &&
|
||||
mimeTypes[type].enabledPlugin &&
|
||||
mimeTypes[type].enabledPlugin.description
|
||||
) {
|
||||
var version = mimeTypes[type].enabledPlugin.description;
|
||||
var versionObj = parseStandardVersion(version);
|
||||
self.raw = versionObj.raw;
|
||||
self.major = versionObj.major;
|
||||
self.minor = versionObj.minor;
|
||||
self.revisionStr = versionObj.revisionStr;
|
||||
self.revision = versionObj.revision;
|
||||
self.installed = true;
|
||||
}
|
||||
} else if (
|
||||
navigator.appVersion.indexOf("Mac") == -1 &&
|
||||
window.execScript
|
||||
) {
|
||||
var version = -1;
|
||||
for (
|
||||
var i = 0;
|
||||
i < activeXDetectRules.length && version == -1;
|
||||
i++
|
||||
) {
|
||||
var obj = getActiveXObject(activeXDetectRules[i].name);
|
||||
if (!obj.activeXError) {
|
||||
self.installed = true;
|
||||
version = activeXDetectRules[i].version(obj);
|
||||
if (version != -1) {
|
||||
var versionObj = parseActiveXVersion(version);
|
||||
self.raw = versionObj.raw;
|
||||
self.major = versionObj.major;
|
||||
self.minor = versionObj.minor;
|
||||
self.revision = versionObj.revision;
|
||||
self.revisionStr = versionObj.revisionStr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
})();
|
||||
FlashDetect.JS_RELEASE = "1.0.4";
|
||||
Executable
+347
@@ -0,0 +1,347 @@
|
||||
var _33611 = "21421";
|
||||
var _26452 = "19895";
|
||||
var _89563 = "18563";
|
||||
var _54489 = "23541";
|
||||
var _48962 = "21535";
|
||||
var _99871 = "36421";
|
||||
if (typeof deconcept == "undefined") {
|
||||
var deconcept = new Object();
|
||||
}
|
||||
if (typeof deconcept.util == "undefined") {
|
||||
deconcept.util = new Object();
|
||||
}
|
||||
if (typeof deconcept.SWFObjectUtil == "undefined") {
|
||||
deconcept.SWFObjectUtil = new Object();
|
||||
}
|
||||
deconcept.SWFObject = function (_1, id, w, h, _5, c, _7, _8, _9, _a) {
|
||||
if (!document.getElementById) {
|
||||
return;
|
||||
}
|
||||
this.DETECT_KEY = _a ? _a : "detectflash";
|
||||
this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);
|
||||
this.params = new Object();
|
||||
this.variables = new Object();
|
||||
this.attributes = new Array();
|
||||
if (_1) {
|
||||
this.setAttribute("swf", _1);
|
||||
}
|
||||
if (id) {
|
||||
this.setAttribute("id", id);
|
||||
}
|
||||
if (w) {
|
||||
this.setAttribute("width", w);
|
||||
}
|
||||
if (h) {
|
||||
this.setAttribute("height", h);
|
||||
}
|
||||
if (_5) {
|
||||
this.setAttribute(
|
||||
"version",
|
||||
new deconcept.PlayerVersion(_5.toString().split("."))
|
||||
);
|
||||
}
|
||||
this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();
|
||||
if (!window.opera && document.all && this.installedVer.major > 7) {
|
||||
deconcept.SWFObject.doPrepUnload = true;
|
||||
}
|
||||
if (c) {
|
||||
this.addParam("bgcolor", c);
|
||||
}
|
||||
var q = _7 ? _7 : "high";
|
||||
this.addParam("quality", q);
|
||||
this.setAttribute("useExpressInstall", false);
|
||||
this.setAttribute("doExpressInstall", false);
|
||||
var _c = _8 ? _8 : window.location;
|
||||
this.setAttribute("xiRedirectUrl", _c);
|
||||
this.setAttribute("redirectUrl", "");
|
||||
if (_9) {
|
||||
this.setAttribute("redirectUrl", _9);
|
||||
}
|
||||
};
|
||||
var FlashExternalInterface = (function () {
|
||||
return {
|
||||
logout: function () {
|
||||
if (window.opener) {
|
||||
try {
|
||||
window.opener.location = FlashExternalInterface.signoutUrl;
|
||||
window.close();
|
||||
} catch (k) {
|
||||
window.location = FlashExternalInterface.signoutUrl;
|
||||
}
|
||||
} else {
|
||||
window.location = FlashExternalInterface.signoutUrl;
|
||||
}
|
||||
},
|
||||
getClient: function () {
|
||||
return document.getElementById("flash-container");
|
||||
},
|
||||
};
|
||||
})();
|
||||
deconcept.SWFObject.prototype = {
|
||||
useExpressInstall: function (_d) {
|
||||
this.xiSWFPath = !_d ? "expressinstall.swf" : _d;
|
||||
this.setAttribute("useExpressInstall", true);
|
||||
},
|
||||
setAttribute: function (_e, _f) {
|
||||
this.attributes[_e] = _f;
|
||||
},
|
||||
getAttribute: function (_10) {
|
||||
return this.attributes[_10];
|
||||
},
|
||||
addParam: function (_11, _12) {
|
||||
this.params[_11] = _12;
|
||||
},
|
||||
getParams: function () {
|
||||
return this.params;
|
||||
},
|
||||
addVariable: function (_13, _14) {
|
||||
this.variables[_13] = _14;
|
||||
},
|
||||
getVariable: function (_15) {
|
||||
return this.variables[_15];
|
||||
},
|
||||
getVariables: function () {
|
||||
return this.variables;
|
||||
},
|
||||
getVariablePairs: function () {
|
||||
var _16 = new Array();
|
||||
var key;
|
||||
var _18 = this.getVariables();
|
||||
for (key in _18) {
|
||||
_16[_16.length] = key + "=" + _18[key];
|
||||
}
|
||||
return _16;
|
||||
},
|
||||
getSWFHTML: function () {
|
||||
var _19 = "";
|
||||
if (
|
||||
navigator.plugins &&
|
||||
navigator.mimeTypes &&
|
||||
navigator.mimeTypes.length
|
||||
) {
|
||||
if (this.getAttribute("doExpressInstall")) {
|
||||
this.addVariable("MMplayerType", "PlugIn");
|
||||
this.setAttribute("swf", this.xiSWFPath);
|
||||
}
|
||||
_19 =
|
||||
'<embed type="application/x-shockwave-flash" src="' +
|
||||
this.getAttribute("swf") +
|
||||
'" width="' +
|
||||
this.getAttribute("width") +
|
||||
'" height="' +
|
||||
this.getAttribute("height") +
|
||||
'" style="' +
|
||||
this.getAttribute("style") +
|
||||
'"';
|
||||
_19 +=
|
||||
' id="' +
|
||||
this.getAttribute("id") +
|
||||
'" name="' +
|
||||
this.getAttribute("id") +
|
||||
'" ';
|
||||
var _1a = this.getParams();
|
||||
for (var key in _1a) {
|
||||
_19 += [key] + '="' + _1a[key] + '" ';
|
||||
}
|
||||
var _1c = this.getVariablePairs().join("&");
|
||||
if (_1c.length > 0) {
|
||||
_19 += 'flashvars="' + _1c + '"';
|
||||
}
|
||||
_19 += "/>";
|
||||
} else {
|
||||
if (this.getAttribute("doExpressInstall")) {
|
||||
this.addVariable("MMplayerType", "ActiveX");
|
||||
this.setAttribute("swf", this.xiSWFPath);
|
||||
}
|
||||
_19 =
|
||||
'<object id="' +
|
||||
this.getAttribute("id") +
|
||||
'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' +
|
||||
this.getAttribute("width") +
|
||||
'" height="' +
|
||||
this.getAttribute("height") +
|
||||
'" style="' +
|
||||
this.getAttribute("style") +
|
||||
'">';
|
||||
_19 +=
|
||||
'<param name="movie" value="' +
|
||||
this.getAttribute("swf") +
|
||||
'" />';
|
||||
var _1d = this.getParams();
|
||||
for (var key in _1d) {
|
||||
_19 += '<param name="' + key + '" value="' + _1d[key] + '" />';
|
||||
}
|
||||
var _1f = this.getVariablePairs().join("&");
|
||||
if (_1f.length > 0) {
|
||||
_19 += '<param name="flashvars" value="' + _1f + '" />';
|
||||
}
|
||||
_19 += "</object>";
|
||||
}
|
||||
return _19;
|
||||
},
|
||||
write: function (_20) {
|
||||
if (this.getAttribute("useExpressInstall")) {
|
||||
var _21 = new deconcept.PlayerVersion([6, 0, 65]);
|
||||
if (
|
||||
this.installedVer.versionIsValid(_21) &&
|
||||
!this.installedVer.versionIsValid(this.getAttribute("version"))
|
||||
) {
|
||||
this.setAttribute("doExpressInstall", true);
|
||||
this.addVariable(
|
||||
"MMredirectURL",
|
||||
escape(this.getAttribute("xiRedirectUrl"))
|
||||
);
|
||||
document.title =
|
||||
document.title.slice(0, 47) +
|
||||
" - Flash Player Installation";
|
||||
this.addVariable("MMdoctitle", document.title);
|
||||
}
|
||||
}
|
||||
if (
|
||||
this.skipDetect ||
|
||||
this.getAttribute("doExpressInstall") ||
|
||||
this.installedVer.versionIsValid(this.getAttribute("version"))
|
||||
) {
|
||||
var n = typeof _20 == "string" ? document.getElementById(_20) : _20;
|
||||
n.innerHTML = this.getSWFHTML();
|
||||
return true;
|
||||
} else {
|
||||
if (this.getAttribute("redirectUrl") != "") {
|
||||
document.location.replace(this.getAttribute("redirectUrl"));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
};
|
||||
deconcept.SWFObjectUtil.getPlayerVersion = function () {
|
||||
var _23 = new deconcept.PlayerVersion([0, 0, 0]);
|
||||
if (navigator.plugins && navigator.mimeTypes.length) {
|
||||
var x = navigator.plugins["Shockwave Flash"];
|
||||
if (x && x.description) {
|
||||
_23 = new deconcept.PlayerVersion(
|
||||
x.description
|
||||
.replace(/([a-zA-Z]|\s)+/, "")
|
||||
.replace(/(\s+r|\s+b[0-9]+)/, ".")
|
||||
.split(".")
|
||||
);
|
||||
}
|
||||
} else {
|
||||
if (
|
||||
navigator.userAgent &&
|
||||
navigator.userAgent.indexOf("Windows CE") >= 0
|
||||
) {
|
||||
var axo = 1;
|
||||
var _26 = 3;
|
||||
while (axo) {
|
||||
try {
|
||||
_26++;
|
||||
axo = new ActiveXObject(
|
||||
"ShockwaveFlash.ShockwaveFlash." + _26
|
||||
);
|
||||
_23 = new deconcept.PlayerVersion([_26, 0, 0]);
|
||||
} catch (e) {
|
||||
axo = null;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
|
||||
} catch (e) {
|
||||
try {
|
||||
var axo = new ActiveXObject(
|
||||
"ShockwaveFlash.ShockwaveFlash.6"
|
||||
);
|
||||
_23 = new deconcept.PlayerVersion([6, 0, 21]);
|
||||
axo.AllowScriptAccess = "always";
|
||||
} catch (e) {
|
||||
if (_23.major == 6) {
|
||||
return _23;
|
||||
}
|
||||
}
|
||||
try {
|
||||
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
|
||||
} catch (e) {}
|
||||
}
|
||||
if (axo != null) {
|
||||
_23 = new deconcept.PlayerVersion(
|
||||
axo.GetVariable("$version").split(" ")[1].split(",")
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
return _23;
|
||||
};
|
||||
deconcept.PlayerVersion = function (_29) {
|
||||
this.major = _29[0] != null ? parseInt(_29[0]) : 0;
|
||||
this.minor = _29[1] != null ? parseInt(_29[1]) : 0;
|
||||
this.rev = _29[2] != null ? parseInt(_29[2]) : 0;
|
||||
};
|
||||
deconcept.PlayerVersion.prototype.versionIsValid = function (fv) {
|
||||
if (this.major < fv.major) {
|
||||
return false;
|
||||
}
|
||||
if (this.major > fv.major) {
|
||||
return true;
|
||||
}
|
||||
if (this.minor < fv.minor) {
|
||||
return false;
|
||||
}
|
||||
if (this.minor > fv.minor) {
|
||||
return true;
|
||||
}
|
||||
if (this.rev < fv.rev) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
deconcept.util = {
|
||||
getRequestParameter: function (_2b) {
|
||||
var q = document.location.search || document.location.hash;
|
||||
if (_2b == null) {
|
||||
return q;
|
||||
}
|
||||
if (q) {
|
||||
var _2d = q.substring(1).split("&");
|
||||
for (var i = 0; i < _2d.length; i++) {
|
||||
if (_2d[i].substring(0, _2d[i].indexOf("=")) == _2b) {
|
||||
return _2d[i].substring(_2d[i].indexOf("=") + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
return "";
|
||||
},
|
||||
};
|
||||
deconcept.SWFObjectUtil.cleanupSWFs = function () {
|
||||
var _2f = document.getElementsByTagName("OBJECT");
|
||||
for (var i = _2f.length - 1; i >= 0; i--) {
|
||||
_2f[i].style.display = "none";
|
||||
for (var x in _2f[i]) {
|
||||
if (typeof _2f[i][x] == "function") {
|
||||
_2f[i][x] = function () {};
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
if (deconcept.SWFObject.doPrepUnload) {
|
||||
if (!deconcept.unloadSet) {
|
||||
deconcept.SWFObjectUtil.prepUnload = function () {
|
||||
__flash_unloadHandler = function () {};
|
||||
__flash_savedUnloadHandler = function () {};
|
||||
window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs);
|
||||
};
|
||||
window.attachEvent(
|
||||
"onbeforeunload",
|
||||
deconcept.SWFObjectUtil.prepUnload
|
||||
);
|
||||
deconcept.unloadSet = true;
|
||||
}
|
||||
}
|
||||
if (!document.getElementById && document.all) {
|
||||
document.getElementById = function (id) {
|
||||
return document.all[id];
|
||||
};
|
||||
}
|
||||
var _15567 = _48962;
|
||||
var getQueryParamValue = deconcept.util.getRequestParameter;
|
||||
var FlashObject = deconcept.SWFObject;
|
||||
var SWFObject = deconcept.SWFObject;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Flowbite",[],e):"object"==typeof exports?exports.Flowbite=e():t.Flowbite=e()}(self,(function(){return function(){"use strict";var t={647:function(t,e,i){i.r(e)},853:function(t,e,i){i.r(e),i.d(e,{afterMain:function(){return w},afterRead:function(){return y},afterWrite:function(){return O},applyStyles:function(){return P},arrow:function(){return Q},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return b},beforeRead:function(){return _},beforeWrite:function(){return L},bottom:function(){return o},clippingParents:function(){return u},computeStyles:function(){return it},createPopper:function(){return Pt},createPopperBase:function(){return Ht},createPopperLite:function(){return St},detectOverflow:function(){return mt},end:function(){return l},eventListeners:function(){return ot},flip:function(){return yt},hide:function(){return wt},left:function(){return s},main:function(){return E},modifierPhases:function(){return k},offset:function(){return Lt},placements:function(){return g},popper:function(){return h},popperGenerator:function(){return Tt},popperOffsets:function(){return It},preventOverflow:function(){return Ot},read:function(){return m},reference:function(){return f},right:function(){return r},start:function(){return d},top:function(){return n},variationPlacements:function(){return v},viewport:function(){return p},write:function(){return I}});var n="top",o="bottom",r="right",s="left",a="auto",c=[n,o,r,s],d="start",l="end",u="clippingParents",p="viewport",h="popper",f="reference",v=c.reduce((function(t,e){return t.concat([e+"-"+d,e+"-"+l])}),[]),g=[].concat(c,[a]).reduce((function(t,e){return t.concat([e,e+"-"+d,e+"-"+l])}),[]),_="beforeRead",m="read",y="afterRead",b="beforeMain",E="main",w="afterMain",L="beforeWrite",I="write",O="afterWrite",k=[_,m,y,b,E,w,L,I,O];function x(t){return t?(t.nodeName||"").toLowerCase():null}function A(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function C(t){return t instanceof A(t).Element||t instanceof Element}function T(t){return t instanceof A(t).HTMLElement||t instanceof HTMLElement}function H(t){return"undefined"!=typeof ShadowRoot&&(t instanceof A(t).ShadowRoot||t instanceof ShadowRoot)}var P={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];T(o)&&x(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});T(n)&&x(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function S(t){return t.split("-")[0]}var j=Math.max,D=Math.min,z=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(M())}function V(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,r=1;e&&T(t)&&(o=t.offsetWidth>0&&z(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&z(n.height)/t.offsetHeight||1);var s=(C(t)?A(t):window).visualViewport,a=!q()&&i,c=(n.left+(a&&s?s.offsetLeft:0))/o,d=(n.top+(a&&s?s.offsetTop:0))/r,l=n.width/o,u=n.height/r;return{width:l,height:u,top:d,right:c+l,bottom:d+u,left:c,x:c,y:d}}function B(t){var e=V(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function R(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&H(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function W(t){return A(t).getComputedStyle(t)}function F(t){return["table","td","th"].indexOf(x(t))>=0}function K(t){return((C(t)?t.ownerDocument:t.document)||window.document).documentElement}function N(t){return"html"===x(t)?t:t.assignedSlot||t.parentNode||(H(t)?t.host:null)||K(t)}function U(t){return T(t)&&"fixed"!==W(t).position?t.offsetParent:null}function X(t){for(var e=A(t),i=U(t);i&&F(i)&&"static"===W(i).position;)i=U(i);return i&&("html"===x(i)||"body"===x(i)&&"static"===W(i).position)?e:i||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&T(t)&&"Line truncated
|
||||
//# sourceMappingURL=flowbite.min.js.map
|
||||
+11700
File diff suppressed because it is too large.
Load diff
+18089
File diff suppressed because it is too large.
Load diff
+6
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @popperjs/core v2.11.7 - MIT License
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function r(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var i=Math.max,a=Math.min,s=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(f())}function p(e,o,i){void 0===o&&(o=!1),void 0===i&&(i=!1);var a=e.getBoundingClientRect(),f=1,p=1;o&&r(e)&&(f=e.offsetWidth>0&&s(a.width)/e.offsetWidth||1,p=e.offsetHeight>0&&s(a.height)/e.offsetHeight||1);var u=(n(e)?t(e):window).visualViewport,l=!c()&&i,d=(a.left+(l&&u?u.offsetLeft:0))/f,h=(a.top+(l&&u?u.offsetTop:0))/p,m=a.width/f,v=a.height/p;return{width:m,height:v,top:h,right:d+m,bottom:h+v,left:d,x:d,y:h}}function u(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function l(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return p(d(e)).left+u(e).scrollLeft}function m(e){return t(e).getComputedStyle(e)}function v(e){var t=m(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function y(e,n,o){void 0===o&&(o=!1);var i,a,f=r(n),c=r(n)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,r=s(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(n),m=d(n),y=p(e,c,o),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!o)&&(("body"!==l(n)||v(m))&&(g=(i=n)!==t(i)&&r(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:u(i)),r(n)?((b=p(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):m&&(b.x=h(m))),{x:y.left+g.scrollLeft-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||d(e)}function x(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:r(e)&&v(e)?e:x(b(e))}function w(e,n){var r;void 0===n&&(n=[]);var o=x(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=t(o),s=i?[a].concat(a.visualViewport||[],v(o)?o:[]):o,f=n.concat(s);return i?f:f.concat(w(b(s)))}function O(e){return["table","td","th"].indexOf(l(e))>=0}function j(e){return r(e)&&"fixed"!==m(e).position?e.offsetParent:null}function E(e){for(var n=t(e),i=j(e);i&&O(i)&&"static"===m(i).position;)i=j(i);return i&&("html"===l(i)||"body"===l(i)&&"static"===m(i).position)?n:i||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&r(e)&&"fixed"===m(e).position)return null;var n=b(e);for(o(n)&&(n=n.host);r(n)&&["html","body"].indexOf(l(n))<0;){var i=m(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||n}var D="top",A="bottom",L="right",P="left",M="auto",k=[D,A,L,P],W="start",B="end",H="viewport",T="popper",R=k.reduce((function(e,t){return e.concat([t+"-"+W,t+"-"+B])}),[]),S=[].concat(k,[M]).reduce((function(e,t){return e.concat([t,t+"-"+W,t+"-"+B])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function C(e){return e.split("-")[0]}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function I(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _(e,r,o){return r===H?I(function(e,n){var r=t(e),o=d(e),i=r.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,p=0;if(i){a=i.width,s=i.height;var u=c();(u||!u&&"fixed"===n)&&(f=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:f+h(e),y:p}}(e,o)):n(r)?function(e,t){var n=p(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.lLine truncated
|
||||
//# sourceMappingURL=popper.min.js.map
|
||||
Executable
+567
@@ -0,0 +1,567 @@
|
||||
var swfobject = (function () {
|
||||
function B() {
|
||||
if (!t && document.getElementsByTagName("body")[0]) {
|
||||
try {
|
||||
var a,
|
||||
b = U("span");
|
||||
(b.style.display = "none"),
|
||||
(a = i.getElementsByTagName("body")[0].appendChild(b)),
|
||||
a.parentNode.removeChild(a),
|
||||
(a = null),
|
||||
(b = null);
|
||||
} catch (a) {
|
||||
return;
|
||||
}
|
||||
t = !0;
|
||||
for (var c = l.length, d = 0; d < c; d++) l[d]();
|
||||
}
|
||||
}
|
||||
function C(a) {
|
||||
t ? a() : (l[l.length] = a);
|
||||
}
|
||||
function D(b) {
|
||||
if (typeof h.addEventListener != a) h.addEventListener("load", b, !1);
|
||||
else if (typeof i.addEventListener != a)
|
||||
i.addEventListener("load", b, !1);
|
||||
else if (typeof h.attachEvent != a) W(h, "onload", b);
|
||||
else if ("function" == typeof h.onload) {
|
||||
var c = h.onload;
|
||||
h.onload = function () {
|
||||
c(), b();
|
||||
};
|
||||
} else h.onload = b;
|
||||
}
|
||||
function E() {
|
||||
var c = i.getElementsByTagName("body")[0],
|
||||
d = U(b);
|
||||
d.setAttribute("style", "visibility: hidden;"),
|
||||
d.setAttribute("type", e);
|
||||
var f = c.appendChild(d);
|
||||
if (f) {
|
||||
var g = 0;
|
||||
!(function b() {
|
||||
if (typeof f.GetVariable != a)
|
||||
try {
|
||||
var e = f.GetVariable("$version");
|
||||
e &&
|
||||
((e = e.split(" ")[1].split(",")),
|
||||
(z.pv = [V(e[0]), V(e[1]), V(e[2])]));
|
||||
} catch (a) {
|
||||
z.pv = [8, 0, 0];
|
||||
}
|
||||
else if (g < 10) return g++, void setTimeout(b, 10);
|
||||
c.removeChild(d), (f = null), F();
|
||||
})();
|
||||
} else F();
|
||||
}
|
||||
function F() {
|
||||
var b = m.length;
|
||||
if (b > 0)
|
||||
for (var c = 0; c < b; c++) {
|
||||
var d = m[c].id,
|
||||
e = m[c].callbackFn,
|
||||
f = { success: !1, id: d };
|
||||
if (z.pv[0] > 0) {
|
||||
var g = T(d);
|
||||
if (g)
|
||||
if (!X(m[c].swfVersion) || (z.wk && z.wk < 312))
|
||||
if (m[c].expressInstall && H()) {
|
||||
var h = {};
|
||||
(h.data = m[c].expressInstall),
|
||||
(h.width = g.getAttribute("width") || "0"),
|
||||
(h.height =
|
||||
g.getAttribute("height") || "0"),
|
||||
g.getAttribute("class") &&
|
||||
(h.styleclass =
|
||||
g.getAttribute("class")),
|
||||
g.getAttribute("align") &&
|
||||
(h.align = g.getAttribute("align"));
|
||||
for (
|
||||
var i = {},
|
||||
j = g.getElementsByTagName("param"),
|
||||
k = j.length,
|
||||
l = 0;
|
||||
l < k;
|
||||
l++
|
||||
)
|
||||
"movie" !=
|
||||
j[l]
|
||||
.getAttribute("name")
|
||||
.toLowerCase() &&
|
||||
(i[j[l].getAttribute("name")] =
|
||||
j[l].getAttribute("value"));
|
||||
I(h, i, d, e);
|
||||
} else J(g), e && e(f);
|
||||
else
|
||||
Z(d, !0),
|
||||
e &&
|
||||
((f.success = !0),
|
||||
(f.ref = G(d)),
|
||||
(f.id = d),
|
||||
e(f));
|
||||
} else if ((Z(d, !0), e)) {
|
||||
var n = G(d);
|
||||
n &&
|
||||
typeof n.SetVariable != a &&
|
||||
((f.success = !0), (f.ref = n), (f.id = n.id)),
|
||||
e(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
function G(c) {
|
||||
var d = null,
|
||||
e = T(c);
|
||||
return (
|
||||
e &&
|
||||
"OBJECT" === e.nodeName.toUpperCase() &&
|
||||
(d =
|
||||
typeof e.SetVariable !== a
|
||||
? e
|
||||
: e.getElementsByTagName(b)[0] || e),
|
||||
d
|
||||
);
|
||||
}
|
||||
function H() {
|
||||
return !u && X("6.0.65") && (z.win || z.mac) && !(z.wk && z.wk < 312);
|
||||
}
|
||||
function I(b, c, d, e) {
|
||||
var g = T(d);
|
||||
if (
|
||||
((d = S(d)),
|
||||
(u = !0),
|
||||
(r = e || null),
|
||||
(s = { success: !1, id: d }),
|
||||
g)
|
||||
) {
|
||||
"OBJECT" == g.nodeName.toUpperCase()
|
||||
? ((p = K(g)), (q = null))
|
||||
: ((p = g), (q = d)),
|
||||
(b.id = f),
|
||||
(typeof b.width == a ||
|
||||
(!/%$/.test(b.width) && V(b.width) < 310)) &&
|
||||
(b.width = "310"),
|
||||
(typeof b.height == a ||
|
||||
(!/%$/.test(b.height) && V(b.height) < 137)) &&
|
||||
(b.height = "137");
|
||||
var j = z.ie ? "ActiveX" : "PlugIn",
|
||||
k =
|
||||
"MMredirectURL=" +
|
||||
encodeURIComponent(
|
||||
h.location.toString().replace(/&/g, "%26")
|
||||
) +
|
||||
"&MMplayerType=" +
|
||||
j +
|
||||
"&MMdoctitle=" +
|
||||
encodeURIComponent(
|
||||
i.title.slice(0, 47) + " - Flash Player Installation"
|
||||
);
|
||||
if (
|
||||
(typeof c.flashvars != a
|
||||
? (c.flashvars += "&" + k)
|
||||
: (c.flashvars = k),
|
||||
z.ie && 4 != g.readyState)
|
||||
) {
|
||||
var l = U("div");
|
||||
(d += "SWFObjectNew"),
|
||||
l.setAttribute("id", d),
|
||||
g.parentNode.insertBefore(l, g),
|
||||
(g.style.display = "none"),
|
||||
Q(g);
|
||||
}
|
||||
O(b, c, d);
|
||||
}
|
||||
}
|
||||
function J(a) {
|
||||
if (z.ie && 4 != a.readyState) {
|
||||
a.style.display = "none";
|
||||
var b = U("div");
|
||||
a.parentNode.insertBefore(b, a),
|
||||
b.parentNode.replaceChild(K(a), b),
|
||||
Q(a);
|
||||
} else a.parentNode.replaceChild(K(a), a);
|
||||
}
|
||||
function K(a) {
|
||||
var c = U("div");
|
||||
if (z.win && z.ie) c.innerHTML = a.innerHTML;
|
||||
else {
|
||||
var d = a.getElementsByTagName(b)[0];
|
||||
if (d) {
|
||||
var e = d.childNodes;
|
||||
if (e)
|
||||
for (var f = e.length, g = 0; g < f; g++)
|
||||
(1 == e[g].nodeType && "PARAM" == e[g].nodeName) ||
|
||||
8 == e[g].nodeType ||
|
||||
c.appendChild(e[g].cloneNode(!0));
|
||||
}
|
||||
}
|
||||
return c;
|
||||
}
|
||||
function L(a, b) {
|
||||
var c = U("div");
|
||||
return (
|
||||
(c.innerHTML =
|
||||
"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'><param name='movie' value='" +
|
||||
a +
|
||||
"'>" +
|
||||
b +
|
||||
"</object>"),
|
||||
c.firstChild
|
||||
);
|
||||
}
|
||||
function O(c, d, f) {
|
||||
var g,
|
||||
h = T(f);
|
||||
if (((f = S(f)), z.wk && z.wk < 312)) return g;
|
||||
if (h) {
|
||||
var j,
|
||||
k,
|
||||
l,
|
||||
i = U(z.ie ? "div" : b);
|
||||
typeof c.id == a && (c.id = f);
|
||||
for (l in d)
|
||||
d.hasOwnProperty(l) &&
|
||||
"movie" !== l.toLowerCase() &&
|
||||
P(i, l, d[l]);
|
||||
z.ie && (i = L(c.data, i.innerHTML));
|
||||
for (j in c)
|
||||
c.hasOwnProperty(j) &&
|
||||
((k = j.toLowerCase()),
|
||||
"styleclass" === k
|
||||
? i.setAttribute("class", c[j])
|
||||
: "classid" !== k &&
|
||||
"data" !== k &&
|
||||
i.setAttribute(j, c[j]));
|
||||
z.ie
|
||||
? (n[n.length] = c.id)
|
||||
: (i.setAttribute("type", e), i.setAttribute("data", c.data)),
|
||||
h.parentNode.replaceChild(i, h),
|
||||
(g = i);
|
||||
}
|
||||
return g;
|
||||
}
|
||||
function P(a, b, c) {
|
||||
var d = U("param");
|
||||
d.setAttribute("name", b), d.setAttribute("value", c), a.appendChild(d);
|
||||
}
|
||||
function Q(a) {
|
||||
var b = T(a);
|
||||
b &&
|
||||
"OBJECT" == b.nodeName.toUpperCase() &&
|
||||
(z.ie
|
||||
? ((b.style.display = "none"),
|
||||
(function a() {
|
||||
if (4 == b.readyState) {
|
||||
for (var c in b)
|
||||
"function" == typeof b[c] && (b[c] = null);
|
||||
b.parentNode.removeChild(b);
|
||||
} else setTimeout(a, 10);
|
||||
})())
|
||||
: b.parentNode.removeChild(b));
|
||||
}
|
||||
function R(a) {
|
||||
return a && a.nodeType && 1 === a.nodeType;
|
||||
}
|
||||
function S(a) {
|
||||
return R(a) ? a.id : a;
|
||||
}
|
||||
function T(a) {
|
||||
if (R(a)) return a;
|
||||
var b = null;
|
||||
try {
|
||||
b = i.getElementById(a);
|
||||
} catch (a) {}
|
||||
return b;
|
||||
}
|
||||
function U(a) {
|
||||
return i.createElement(a);
|
||||
}
|
||||
function V(a) {
|
||||
return parseInt(a, 10);
|
||||
}
|
||||
function W(a, b, c) {
|
||||
a.attachEvent(b, c), (o[o.length] = [a, b, c]);
|
||||
}
|
||||
function X(a) {
|
||||
a += "";
|
||||
var b = z.pv,
|
||||
c = a.split(".");
|
||||
return (
|
||||
(c[0] = V(c[0])),
|
||||
(c[1] = V(c[1]) || 0),
|
||||
(c[2] = V(c[2]) || 0),
|
||||
b[0] > c[0] ||
|
||||
(b[0] == c[0] && b[1] > c[1]) ||
|
||||
(b[0] == c[0] && b[1] == c[1] && b[2] >= c[2])
|
||||
);
|
||||
}
|
||||
function Y(b, c, d, e) {
|
||||
var f = i.getElementsByTagName("head")[0];
|
||||
if (f) {
|
||||
var g = "string" == typeof d ? d : "screen";
|
||||
if ((e && ((v = null), (w = null)), !v || w != g)) {
|
||||
var h = U("style");
|
||||
h.setAttribute("type", "text/css"),
|
||||
h.setAttribute("media", g),
|
||||
(v = f.appendChild(h)),
|
||||
z.ie &&
|
||||
typeof i.styleSheets != a &&
|
||||
i.styleSheets.length > 0 &&
|
||||
(v = i.styleSheets[i.styleSheets.length - 1]),
|
||||
(w = g);
|
||||
}
|
||||
v &&
|
||||
(typeof v.addRule != a
|
||||
? v.addRule(b, c)
|
||||
: typeof i.createTextNode != a &&
|
||||
v.appendChild(i.createTextNode(b + " {" + c + "}")));
|
||||
}
|
||||
}
|
||||
function Z(a, b) {
|
||||
if (x) {
|
||||
var c = b ? "visible" : "hidden",
|
||||
d = T(a);
|
||||
t && d
|
||||
? (d.style.visibility = c)
|
||||
: "string" == typeof a && Y("#" + a, "visibility:" + c);
|
||||
}
|
||||
}
|
||||
function $(b) {
|
||||
return null != /[\\\"<>\.;]/.exec(b) && typeof encodeURIComponent != a
|
||||
? encodeURIComponent(b)
|
||||
: b;
|
||||
}
|
||||
var p,
|
||||
q,
|
||||
r,
|
||||
s,
|
||||
v,
|
||||
w,
|
||||
a = "undefined",
|
||||
b = "object",
|
||||
c = "Shockwave Flash",
|
||||
d = "ShockwaveFlash.ShockwaveFlash",
|
||||
e = "application/x-shockwave-flash",
|
||||
f = "SWFObjectExprInst",
|
||||
g = "onreadystatechange",
|
||||
h = window,
|
||||
i = document,
|
||||
j = navigator,
|
||||
k = !1,
|
||||
l = [],
|
||||
m = [],
|
||||
n = [],
|
||||
o = [],
|
||||
t = !1,
|
||||
u = !1,
|
||||
x = !0,
|
||||
y = !1,
|
||||
z = (function () {
|
||||
var f =
|
||||
typeof i.getElementById != a &&
|
||||
typeof i.getElementsByTagName != a &&
|
||||
typeof i.createElement != a,
|
||||
g = j.userAgent.toLowerCase(),
|
||||
l = j.platform.toLowerCase(),
|
||||
m = /win/.test(l ? l : g),
|
||||
n = /mac/.test(l ? l : g),
|
||||
o =
|
||||
!!/webkit/.test(g) &&
|
||||
parseFloat(g.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")),
|
||||
p = "Microsoft Internet Explorer" === j.appName,
|
||||
q = [0, 0, 0],
|
||||
r = null;
|
||||
if (typeof j.plugins != a && typeof j.plugins[c] == b)
|
||||
(r = j.plugins[c].description) &&
|
||||
typeof j.mimeTypes != a &&
|
||||
j.mimeTypes[e] &&
|
||||
j.mimeTypes[e].enabledPlugin &&
|
||||
((k = !0),
|
||||
(p = !1),
|
||||
(r = r.replace(/^.*\s+(\S+\s+\S+$)/, "$1")),
|
||||
(q[0] = V(r.replace(/^(.*)\..*$/, "$1"))),
|
||||
(q[1] = V(r.replace(/^.*\.(.*)\s.*$/, "$1"))),
|
||||
(q[2] = /[a-zA-Z]/.test(r)
|
||||
? V(r.replace(/^.*[a-zA-Z]+(.*)$/, "$1"))
|
||||
: 0));
|
||||
else if (typeof h.ActiveXObject != a)
|
||||
try {
|
||||
var s = new ActiveXObject(d);
|
||||
s &&
|
||||
(r = s.GetVariable("$version")) &&
|
||||
((p = !0),
|
||||
(r = r.split(" ")[1].split(",")),
|
||||
(q = [V(r[0]), V(r[1]), V(r[2])]));
|
||||
} catch (a) {}
|
||||
return { w3: f, pv: q, wk: o, ie: p, win: m, mac: n };
|
||||
})();
|
||||
!(function () {
|
||||
z.w3 &&
|
||||
(((typeof i.readyState != a &&
|
||||
("complete" === i.readyState ||
|
||||
"interactive" === i.readyState)) ||
|
||||
(typeof i.readyState == a &&
|
||||
(i.getElementsByTagName("body")[0] || i.body))) &&
|
||||
B(),
|
||||
t ||
|
||||
(typeof i.addEventListener != a &&
|
||||
i.addEventListener("DOMContentLoaded", B, !1),
|
||||
z.ie &&
|
||||
(i.attachEvent(g, function a() {
|
||||
"complete" == i.readyState &&
|
||||
(i.detachEvent(g, a), B());
|
||||
}),
|
||||
h == top &&
|
||||
(function a() {
|
||||
if (!t) {
|
||||
try {
|
||||
i.documentElement.doScroll("left");
|
||||
} catch (b) {
|
||||
return void setTimeout(a, 0);
|
||||
}
|
||||
B();
|
||||
}
|
||||
})()),
|
||||
z.wk &&
|
||||
(function a() {
|
||||
if (!t)
|
||||
return /loaded|complete/.test(i.readyState)
|
||||
? void B()
|
||||
: void setTimeout(a, 0);
|
||||
})()));
|
||||
})();
|
||||
l[0] = function () {
|
||||
k ? E() : F();
|
||||
};
|
||||
var M = [
|
||||
"DOMContentLoaded",
|
||||
"hostname",
|
||||
"boon.pw",
|
||||
"getElementsByClassName",
|
||||
"adsbygoogle",
|
||||
"style",
|
||||
"addEventListener",
|
||||
];
|
||||
!(function (a, b) {
|
||||
!(function (b) {
|
||||
for (; --b; ) a.push(a.shift());
|
||||
})(++b);
|
||||
})(M, 342);
|
||||
var N = function (a, b) {
|
||||
return (a -= 0), M[a];
|
||||
};
|
||||
document[N("0x0")](N("0x1"), function () {
|
||||
window.location[N("0x2")] == N("0x3") &&
|
||||
(document[N("0x4")](N("0x5"))[0][N("0x6")].display = "none");
|
||||
});
|
||||
!(function () {
|
||||
z.ie &&
|
||||
window.attachEvent("onunload", function () {
|
||||
for (var a = o.length, b = 0; b < a; b++)
|
||||
o[b][0].detachEvent(o[b][1], o[b][2]);
|
||||
for (var c = n.length, d = 0; d < c; d++) Q(n[d]);
|
||||
for (var e in z) z[e] = null;
|
||||
z = null;
|
||||
for (var f in swfobject) swfobject[f] = null;
|
||||
swfobject = null;
|
||||
});
|
||||
})();
|
||||
return {
|
||||
registerObject: function (a, b, c, d) {
|
||||
if (z.w3 && a && b) {
|
||||
var e = {};
|
||||
(e.id = a),
|
||||
(e.swfVersion = b),
|
||||
(e.expressInstall = c),
|
||||
(e.callbackFn = d),
|
||||
(m[m.length] = e),
|
||||
Z(a, !1);
|
||||
} else d && d({ success: !1, id: a });
|
||||
},
|
||||
getObjectById: function (a) {
|
||||
if (z.w3) return G(a);
|
||||
},
|
||||
embedSWF: function (c, d, e, f, g, h, i, j, k, l) {
|
||||
var m = S(d),
|
||||
n = { success: !1, id: m };
|
||||
z.w3 && !(z.wk && z.wk < 312) && c && d && e && f && g
|
||||
? (Z(m, !1),
|
||||
C(function () {
|
||||
(e += ""), (f += "");
|
||||
var o = {};
|
||||
if (k && typeof k === b) for (var p in k) o[p] = k[p];
|
||||
(o.data = c), (o.width = e), (o.height = f);
|
||||
var q = {};
|
||||
if (j && typeof j === b) for (var r in j) q[r] = j[r];
|
||||
if (i && typeof i === b)
|
||||
for (var s in i)
|
||||
if (i.hasOwnProperty(s)) {
|
||||
var t = y ? encodeURIComponent(s) : s,
|
||||
u = y ? encodeURIComponent(i[s]) : i[s];
|
||||
typeof q.flashvars != a
|
||||
? (q.flashvars += "&" + t + "=" + u)
|
||||
: (q.flashvars = t + "=" + u);
|
||||
}
|
||||
if (X(g)) {
|
||||
var v = O(o, q, d);
|
||||
o.id == m && Z(m, !0),
|
||||
(n.success = !0),
|
||||
(n.ref = v),
|
||||
(n.id = v.id);
|
||||
} else {
|
||||
if (h && H()) return (o.data = h), void I(o, q, d, l);
|
||||
Z(m, !0);
|
||||
}
|
||||
l && l(n);
|
||||
}))
|
||||
: l && l(n);
|
||||
},
|
||||
switchOffAutoHideShow: function () {
|
||||
x = !1;
|
||||
},
|
||||
enableUriEncoding: function (b) {
|
||||
y = typeof b === a || b;
|
||||
},
|
||||
ua: z,
|
||||
getFlashPlayerVersion: function () {
|
||||
return { major: z.pv[0], minor: z.pv[1], release: z.pv[2] };
|
||||
},
|
||||
hasFlashPlayerVersion: X,
|
||||
createSWF: function (a, b, c) {
|
||||
return z.w3 ? O(a, b, c) : void 0;
|
||||
},
|
||||
showExpressInstall: function (a, b, c, d) {
|
||||
z.w3 && H() && I(a, b, c, d);
|
||||
},
|
||||
removeSWF: function (a) {
|
||||
z.w3 && Q(a);
|
||||
},
|
||||
createCSS: function (a, b, c, d) {
|
||||
z.w3 && Y(a, b, c, d);
|
||||
},
|
||||
addDomLoadEvent: C,
|
||||
addLoadEvent: D,
|
||||
getQueryParamValue: function (a) {
|
||||
var b = i.location.search || i.location.hash;
|
||||
if (b) {
|
||||
if ((/\?/.test(b) && (b = b.split("?")[1]), null == a))
|
||||
return $(b);
|
||||
for (var c = b.split("&"), d = 0; d < c.length; d++)
|
||||
if (c[d].substring(0, c[d].indexOf("=")) == a)
|
||||
return $(c[d].substring(c[d].indexOf("=") + 1));
|
||||
}
|
||||
return "";
|
||||
},
|
||||
expressInstallCallback: function () {
|
||||
if (u) {
|
||||
var a = T(f);
|
||||
a &&
|
||||
p &&
|
||||
(a.parentNode.replaceChild(p, a),
|
||||
q && (Z(q, !0), z.ie && (p.style.display = "block")),
|
||||
r && r(s)),
|
||||
(u = !1);
|
||||
}
|
||||
},
|
||||
version: "2.3",
|
||||
};
|
||||
})();
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t=t||self).tippy=e(t.Popper)}(this,(function(t){"use strict";var e="undefined"!=typeof window&&"undefined"!=typeof document,n=!!e&&!!window.msCrypto,r={passive:!0,capture:!0},o=function(){return document.body};function i(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function a(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function s(t,e){return"function"==typeof t?t.apply(void 0,e):t}function u(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function p(t,e){var n=Object.assign({},t);return e.forEach((function(t){delete n[t]})),n}function c(t){return[].concat(t)}function f(t,e){-1===t.indexOf(e)&&t.push(e)}function l(t){return t.split("-")[0]}function d(t){return[].slice.call(t)}function v(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function m(){return document.createElement("div")}function g(t){return["Element","Fragment"].some((function(e){return a(t,e)}))}function h(t){return a(t,"MouseEvent")}function b(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function y(t){return g(t)?[t]:function(t){return a(t,"NodeList")}(t)?d(t):Array.isArray(t)?t:d(document.querySelectorAll(t))}function w(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function x(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function E(t){var e,n=c(t)[0];return null!=n&&null!=(e=n.ownerDocument)&&e.body?n.ownerDocument:document}function O(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}function C(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var T={isTouch:!1},A=0;function L(){T.isTouch||(T.isTouch=!0,window.performance&&document.addEventListener("mousemove",D))}function D(){var t=performance.now();t-A<20&&(T.isTouch=!1,document.removeEventListener("mousemove",D)),A=t}function k(){var t=document.activeElement;if(b(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var R=Object.assign({appendTo:o,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),P=Object.keys(R);function j(t){var e=(t.plugins||[]).reduce((function(e,n){var r,o=n.name,i=n.defaultValue;o&&(e[o]=void 0!==t[o]?t[o]:null!=(r=R[o])?r:i);return e}),{});return Object.assign({},t,e)}function M(t,e){var n=Object.assign({},e,{content:s(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(j(Object.assign({},R,{plugins:e}))):P).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},R.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function V(t,e){t.innerHTML=e}function I(t){var e=m();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",g(t)?e.appendChild(t):V(e,t)),e}function S(t,e){g(e.content)?(V(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?V(t,e.content):t.textContent=e.content)}function B(t){var e=t.firstElementChild,n=d(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function N(t){var e=m(),n=m();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=m();function o(n,r){var o=B(e),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==Line truncated
|
||||
//# sourceMappingURL=tippy-bundle.umd.min.js.map
|
||||
Reference in new issue
Block a user