forked from APACGAMONDE/APACGAMONDE-Bank-ShareHoldings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironment-bootstrap-189fab23.js.download
2 lines (2 loc) · 11.7 KB
/
environment-bootstrap-189fab23.js.download
1
2
!function(){"use strict";function e(e){const t=[];for(const o of function(){try{return document.cookie.split(";")}catch(e){return[]}}()){const[n,r]=o.trim().split("=");e===n&&void 0!==r&&t.push({key:n,value:r})}return t}function t(e){return e.split("\n").reduce((function(e,t){var a=function(e){var t=o.exec(e);if(!t)return null;var r=t[2]&&0===t[2].indexOf("native"),l=t[2]&&0===t[2].indexOf("eval"),i=n.exec(t[2]);l&&null!=i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{file:r?null:t[2],methodName:t[1]||"<unknown>",arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}(t)||function(e){var t=r.exec(e);if(!t)return null;return{file:t[2],methodName:t[1]||"<unknown>",arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}}(t)||function(e){var t=l.exec(e);if(!t)return null;var o=t[3]&&t[3].indexOf(" > eval")>-1,n=i.exec(t[3]);o&&null!=n&&(t[3]=n[1],t[4]=n[2],t[5]=null);return{file:t[3],methodName:t[1]||"<unknown>",arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}(t)||function(e){var t=s.exec(e);if(!t)return null;return{file:t[2],methodName:t[1]||"<unknown>",arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}}(t)||function(e){var t=c.exec(e);if(!t)return null;return{file:t[3],methodName:t[1]||"<unknown>",arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}}(t);return a&&e.push(a),e}),[])}var o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n=/\((\S*)(?::(\d+))(?::(\d+))\)/;var r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;var c=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;var s=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function a(e){const t=document.querySelectorAll(e);if(t.length>0)return t[t.length-1]}function u(){return`${window.location.protocol}//${window.location.host}${function(){const e=a("meta[name=analytics-location]");return e?e.content:window.location.pathname}()+function(){let e="";a("meta[name=analytics-location-query-strip]")||(e=window.location.search);const t=a("meta[name=analytics-location-params]");t&&(e+=(e?"&":"?")+t.content);for(const o of document.querySelectorAll("meta[name=analytics-param-rename]")){const t=o.content.split(":",2);e=e.replace(new RegExp(`(^|[?&])${t[0]}($|=)`,"g"),`$1${t[1]}$2`)}return e}()}`}let f=!1,d=0;function m(e){var t,o;if(!(!S&&!f&&d<10&&"function"==typeof Blob&&"undefined"!=typeof Intl&&"undefined"!=typeof MutationObserver&&"undefined"!=typeof URLSearchParams&&"undefined"!=typeof IntersectionObserver&&"entries"in FormData.prototype)||function(e){var t,o;const n=null===(o=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="expected-hostname"]'))||void 0===o?void 0:o.content;return!!n&&n.replace(/\.$/,"").split(".").slice(-2).join(".")!==e.location.hostname.replace(/\.$/,"").split(".").slice(-2).join(".")}(document))return;const n=null===(o=null===(t=document.head)||void 0===t?void 0:t.querySelector('meta[name="browser-errors-url"]'))||void 0===o?void 0:o.content;var r;n&&(e.error&&e.error.stack&&(r=e.error.stack,y.test(r))?f=!0:(d++,window.fetch(n,{method:"post",body:JSON.stringify(e)}).catch((function(){}))))}const p=(new Date).getTime();function v(e,t={}){let o;if(e){let n="";const r=e;if(e.stack){const{framesToPop:t}=r;n=function(e,t=0){if(0===t)return e;let o=e.split("\n");null!=t&&(o=o.slice(t));return o.join("\n")}(function(e){const t=e.split("\n");return function(e){return e.length>=2&&w.test(e[0])&&b.test(e[1])}(t)?(t.shift(),t.join("\n")):e}(e.stack),t)}else{let{fileName:e,lineNumber:o,columnNumber:l}=r;null==e&&(e=String(t.filename)),null==o&&(o=t.lineno||0),null==l&&(l=t.colno||0),n=`${e}:${o}:${l}`}o={type:e.name,value:e.message,stacktrace:h(e),name:e.name,message:e.message,stack:n}}return Object.assign({error:o,filename:"",lineno:0,colno:0,sanitizedUrl:u()||window.location.href,readyState:document.readyState,referrer:document.referrer,timeSinceLoad:Math.round((new Date).getTime()-p),user:g()||void 0},t)}function h(e){var o;const n=function(e){return t(e.stack||"").map(e=>({filename:e.file||"",function:String(e.methodName),lineno:(e.lineNumber||0).toString(),colno:(e.column||0).toString()}))}(e),r=null!==(o=e.framesToPop)&&void 0!==o?o:0;return 0===r?n:n.slice(r)}const y=/(chrome|moz|safari)-extension:\/\//;const w=/^\S/,b=/^\s+at /;function g(){var t,o;const n=null===(o=null===(t=document.head)||void 0===t?void 0:t.querySelector('meta[name="user-login"]'))||void 0===o?void 0:o.content;if(n)return n;const r=function(){let t="";const o=e("_octo"),n=[];for(const e of o){const o=e.value.split(".");if("GH1"===o.shift()&&o.length>1){const e=(o.shift()||"").split("-");1===e.length&&(e[1]="1");const r=[Number(e[0]),Number(e[1])];t=o.join("."),n.push([r,t])}}return t="",n.length>0&&(t=String(n.sort().reverse()[0][1])),t}();return r?`anonymous-${r}`:null}let S=!1;window.addEventListener("pageshow",()=>{S=!1}),window.addEventListener("pagehide",()=>{S=!0}),window.addEventListener("error",(function(e){m(function(e){const{message:t,filename:o,lineno:n,colno:r,error:l}=e;return v(l,{message:t,filename:o,lineno:n,colno:r})}(e))})),window.addEventListener("unhandledrejection",(function(e){e.promise&&e.promise.catch(e=>{e&&e.response instanceof Response||m(v(e,{}))})})),"#b00m"===window.location.hash&&setTimeout(()=>{throw new Error("b00m")}),self.System=self.System||(()=>{const e={},t={},o=e=>e.replace(/^.\/(\w+)-[a-f0-9]{8,}.js$/,"./$1.js"),n=window.customElements?Promise.resolve():new Promise((e,t)=>{const o=document.getElementById("js-conditional-compat");if(!(o instanceof HTMLScriptElement))return t(new Error("unable to load compat.js"));const n=setTimeout(()=>{t(new Error("timed out loading compat.js"))},1e4);o.onload=()=>{clearTimeout(n),e()},o.onerror=()=>{clearTimeout(n),t(new Error("network error loading compat.js"))},o.src=o.getAttribute("data-src")||"",o.removeAttribute("data-src")}),r={register(l,i){const c=o(`./${((document.currentScript||{}).src||"").split("?").shift().split("/").pop()}`),s={},a=i((e,t)=>t?s[e]=t:Object.assign(s,e),r),u=l.map((e,t)=>r.import(o(e)).then(a.setters[t]));u.unshift(n),e[c]=Promise.all(u).then(()=>(a.execute(),s)),t[c]&&(t[c](e[c]),delete t[c])},import:o=>e[o]||(e[o]=new Promise((e,n)=>{const r=setTimeout(()=>{n(new Error(`could not resolve ${o}`))},1e4),l=document.querySelector(`script[data-src][data-module-id="${o}"]`);l&&(l.setAttribute("src",l.getAttribute("data-src")),l.removeAttribute("data-src")),t[o]=t=>{clearTimeout(r),e(t)}}))};return r})(),window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)},function(){var e=window,t=document;function o(){if(!("scrollBehavior"in t.documentElement.style&&!0!==e.__forceSmoothScrollPolyfill__)){var o,n=e.HTMLElement||e.Element,r=(o=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(o)?1:0),l={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:n.prototype.scroll||c,scrollIntoView:n.prototype.scrollIntoView},i=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now;e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?p.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):l.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(s(arguments[0])?l.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):p.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==s(arguments[0])){var e=arguments[0].left,t=arguments[0].top;p.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value couldn't be converted");l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==s(arguments[0])){var o=d(this),n=o.getBoundingClientRect(),r=this.getBoundingClientRect();o!==t.body?(p.call(this,o,o.scrollLeft+r.left-n.left,o.scrollTop+r.top-n.top),"fixed"!==e.getComputedStyle(o).position&&e.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else l.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function c(e,t){this.scrollLeft=e,this.scrollTop=t}function s(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function a(e,t){return"Y"===t?e.clientHeight+r<e.scrollHeight:"X"===t?e.clientWidth+r<e.scrollWidth:void 0}function u(t,o){var n=e.getComputedStyle(t,null)["overflow"+o];return"auto"===n||"scroll"===n}function f(e){var t=a(e,"Y")&&u(e,"Y"),o=a(e,"X")&&u(e,"X");return t||o}function d(e){var o;do{o=(e=e.parentNode)===t.body}while(!1===o&&!1===f(e));return o=null,e}function m(t){var o,n,r,l,c=(i()-t.startTime)/468;l=c=c>1?1:c,o=.5*(1-Math.cos(Math.PI*l)),n=t.startX+(t.x-t.startX)*o,r=t.startY+(t.y-t.startY)*o,t.method.call(t.scrollable,n,r),n===t.x&&r===t.y||e.requestAnimationFrame(m.bind(e,t))}function p(o,n,r){var s,a,u,f,d=i();o===t.body?(s=e,a=e.scrollX||e.pageXOffset,u=e.scrollY||e.pageYOffset,f=l.scroll):(s=o,a=o.scrollLeft,u=o.scrollTop,f=c),m({scrollable:s,method:f,startTime:d,startX:a,startY:u,x:n,y:r})}}"object"==typeof exports?module.exports={polyfill:o}:o()}(),window.getSelection&&!function(){const e=document.createElement("div");return e.style.cssText="-ms-user-select: element; user-select: contain;","element"===e.style.getPropertyValue("-ms-user-select")||"contain"===e.style.getPropertyValue("-ms-user-select")||"contain"===e.style.getPropertyValue("user-select")}()&&document.addEventListener("click",(function(e){if(!(e.target instanceof Element))return;const t=e.target.closest(".user-select-contain");if(!t)return;const o=window.getSelection();if(!o.rangeCount)return;const n=o.getRangeAt(0).commonAncestorContainer;t.contains(n)||o.selectAllChildren(t)})),Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{writable:!0,configurable:!0,value(e,t){return Array.prototype.reduce.call(this,(o,n,r,l)=>{const i=e.call(t,n,r,l);return Array.isArray(i)?o.concat(i):(o.push(i),o)},[])}})}();
//# sourceMappingURL=environment-bootstrap-5c43990a.js.map