PageSourceSearch

https://mk-kz.kz/media/mkru2020/js/polyfills/polyfills.js?v=202609281840

js mk-kz.kz collected 2026-10-02 18:00:21 UTC 82,386 bytes, 2 lines download raw bytes

1/*! For license information please see polyfills.js.LICENSE.txt */
2"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t="classList",r="prototype",n=e.Element[r],o=Object,i=String[r].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[r].indexOf||function(e){for(var t=0,r=this.length;t<r;t++)if(t in this&&this[t]===e)return t;return-1},c=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new c("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new c("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},s=function(e){for(var t=i.call(e.getAttribute("class")||""),r=t?t.split(/\s+/):[],n=0,o=r.length;n<o;n++)this.push(r[n]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=s[r]=[],f=function(){return new s(this)};if(c[r]=Error[r],u.item=function(e){return this[e]||null},u.contains=function(e){return-1!==l(this,e+="")},u.add=function(){for(var e,t=arguments,r=0,n=t.length,o=!1;e=t[r]+"",-1===l(this,e)&&(this.push(e),o=!0),++r<n;);o&&this._updateClassName()},u.remove=function(){var e,t,r=arguments,n=0,o=r.length,i=!1;do{for(e=r[n]+"",t=l(this,e);-1!==t;)this.splice(t,1),i=!0,t=l(this,e)}while(++n<o);i&&this._updateClassName()},u.toggle=function(e,t){e+="";var r=this.contains(e),n=r?!0!==t&&"remove":!1!==t&&"add";return n&&this[n](e),!0===t||!1===t?t:!r},u.toString=function(){return this.join(" ")},o.defineProperty){var p={get:f,enumerable:!0,configurable:!0};try{o.defineProperty(n,t,p)}catch(e){void 0!==e.number&&-2146823252!==e.number||(p.enumerable=!1,o.defineProperty(n,t,p))}}else o[r].__defineGetter__&&n.__defineGetter__(t,f)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var r,n=arguments.length;for(r=0;r<n;r++)e=arguments[r],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:r.call(this,e)}}e=null}()),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),i=o.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1<arguments.length&&(r=t),n=0;n<i;){var a;n in o&&(a=o[n],e.call(r,a,n,o)),n++}}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var r=0;r<this.length;r++)e.call(t,this[r],r,this)}),function(e,t){"use strict";var r="exports";"function"==typeof define&&define.amd?define((function(){return t(e)})):"function"==typeof module&&module[r]?module[r]=t(e):t(e)}(this,(function(e){"use strict";var t,r,n,o,i,a,c,l,s,u=e.document,f=u.createElement("_"),p="DOMAttrModified";function h(){var e,a={};for(r=this.attributes,n=0,c=r.length;n<c;n+=1)t=r[n],(l=t.name.match(i))&&(a[(e=l[1],e.replace(o,(function(e,t){return t.toUpperCase()})))]=t.value);return a}function d(){a?f.removeEventListener(p,d,!1):f.detachEvent("on"+p,d),s=!0}void 0===f.dataset&&(o=/\-([a-z])/gi,i=/^data\-(.+)/,a=!!u.addEventListener,s=!1,a?f.addEventListener(p,d,!1):f.attachEvent("on"+p,d),f.setAttribute("foo","bar"),Object.defineProperty(e.Element.prototype,"dataset",{get:s?function(){return this._datasetCache||(this._datasetCache=h.call(this)),this._datasetCache}:h}),s&&a&&u.addEventListener(p,(function(e){delete e.target._datasetCache}),!1))})),function(){function e(e){if(1/e==-1/0&&(e=0),e>Math.pow(2,32)-1)throw new RangeError("Invalid array length");var t=[];return t.length=e,t}function t(e,t){var r=2<arguments.length?arguments[2]:[];if(!1===a(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function r(e,t,r){try{return Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}),!0}catch(e){return!1}}function n(e,t,n){var o=r(e,t,n);if(!o)throw new TypeError("Cannot assign value `"+Object.prototype.toString.call(n)+"` to property `"+Object.prototype.toString.call(t)+"` on object `"+Object.prototype.toString.call(e)+"`");return o}function o(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!1,
2configurable:!0})}function i(e,t){return e[t]}function a(e){return"function"==typeof e}function c(e){if(null==e)throw TypeError();return e}function l(e){return!!e}function s(e){var t=+e;return isNaN(t)?0:1/t==1/0||1/t==-1/0||t==1/0||t==-1/0?t:(0>t?-1:1)*Math.floor(Math.abs(t))}function u(e){var t=s(e);return 0>=t?0:Math.min(t,Math.pow(2,53)-1)}function f(e){if(null==e)throw TypeError();return Object(e)}function p(e,t){return f(e)[t]}function h(e,t){var r=p(e,t);if(null!=r){if(!1===a(r))throw new TypeError("Method not callable: "+t);return r}}function d(e){switch(typeof e){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===e?"null":"Symbol"in this&&e instanceof this.Symbol?"symbol":"object"}}function y(e,t){if("boolean"!==d(t))throw new Error;var n={};return r(n,"value",e),r(n,"done",t),n}function m(e){var r=1<arguments.length?arguments[1]:h(e,Symbol.iterator),n=t(r,e);if("object"!==d(n))throw new TypeError("bad iterator");var o=p(n,"next"),i=Object.create(null);return i["[[Iterator]]"]=n,i["[[NextMethod]]"]=o,i["[[Done]]"]=!1,i}function v(e,t){var r=i(e,"prototype");return"object"!==d(r)&&(r=t),r}function b(e,t){var r=arguments[2]||{},n=v(e,t),o=Object.create(n);for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&Object.defineProperty(o,i,{configurable:!0,enumerable:!1,writable:!0,value:r[i]});return o}function g(e){return"object"===d(e)&&"function"==typeof e&&!!e.prototype}function w(e){var r=2<arguments.length?arguments[2]:e,n=1<arguments.length?arguments[1]:[];if(!g(e))throw new TypeError("F must be a constructor.");if(!g(r))throw new TypeError("newTarget must be a constructor.");if(r===e)return new(Function.prototype.bind.apply(e,[null].concat(n)));var o=b(r,Object.prototype);return t(e,o,n)}function E(e){if("object"!==d(e))return!1;var t="Symbol"in this&&"match"in this.Symbol?i(e,this.Symbol.match):void 0;if(void 0!==t)return l(t);try{var r=e.lastIndex;return e.lastIndex=0,RegExp.prototype.exec.call(e),!0}catch(e){}finally{e.lastIndex=r}return!1}function _(e,r){if("object"!==d(e["[[Iterator]]"]))throw new Error(Object.prototype.toString.call(e["[[Iterator]]"])+"is not an Object.");var n=e["[[Iterator]]"],o=h(n,"return");if(void 0===o)return r;try{var i=t(o,n)}catch(e){var a=e}if(r)return r;if(a)throw a;if("object"!==d(i))throw new TypeError("Iterator's return method returned a non-object.");return r}function S(e){var r=function(e){if(2>arguments.length)var r=t(e["[[NextMethod]]"],e["[[Iterator]]"]);else r=t(e["[[NextMethod]]"],e["[[Iterator]]"],[arguments[1]]);if("object"!==d(r))throw new TypeError("bad iterator");return r}(e);return!0!==function(e){if("object"!==d(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return l(i(e,"done"))}(r)&&r}function j(e){if("object"!==d(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return i(e,"value")}function O(e,r){if("string"===r)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var o=0;o<n.length;++o){var c=i(e,n[o]);if(a(c)){var l=t(c,e);if("object"!==d(l))return l}}throw new TypeError("Cannot convert to primitive.")}function T(e,t){return d(e)===d(t)&&("number"===d(e)?isNaN(e)&&isNaN(t)||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function M(e){switch(d(e)){case"symbol":throw new TypeError("Cannot convert a Symbol value to a string");case"object":return M(function(e){var r=1<arguments.length?arguments[1]:void 0;if("object"===d(e)){if(2>arguments.length)var n="default";else r===String?n="string":r===Number&&(n="number");var o="function"==typeof this.Symbol&&"symbol"==typeof this.Symbol.toPrimitive?h(e,this.Symbol.toPrimitive):void 0;if(void 0!==o){var i=t(o,e,[n]);if("object"!==d(i))return i;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"==n&&(n="number"),O(e,n)}return e}(e,"string"));default:return e+""}}var x,L=function(){var e=!0,t=function(t,r,n,o){Object.defineProperty?Object.defineProperty(t,r,{configurable:0==e||!!o,get:n}):t.__defineGetter__(r,n)};try{t({},"support")}catch(t){e=!1}return function(e,r){var n=this,o=[],i={},a=0,c=0,l=function(e){t(n,e,(function(){return u(),o[e]}),!1)},s=function(){if(a>=c)for(;c<a;++c)l(c)},u=function(){var t,n,c=arguments,l=/\s+/;if(c.length)for(n=0;n<c.length;++n)if(l.test(c[n]))throw(t=new SyntaxError('String "'+c[n]+'" contains an invali
2d character')).code=5,t.name="InvalidCharacterError",t;for(""===(o="object"==typeof e[r]?(""+e[r].baseVal).replace(/^\s+|\s+$/g,"").split(l):(""+e[r]).replace(/^\s+|\s+$/g,"").split(l))[0]&&(o=[]),i={},n=0;n<o.length;++n)i[o[n]]=!0;a=o.length,s()};return u(),t(n,"length",(function(){return u(),a})),n.toLocaleString=n.toString=function(){return u(),o.join(" ")},n.item=function(e){return u(),o[e]},n.contains=function(e){return u(),!!i[e]},n.add=function(){u.apply(n,t=arguments);for(var t,c,l=0,f=t.length;l<f;++l)c=t[l],i[c]||(o.push(c),i[c]=!0);a!==o.length&&(a=o.length>>>0,"object"==typeof e[r]?e[r].baseVal=o.join(" "):e[r]=o.join(" "),s())},n.remove=function(){u.apply(n,t=arguments);for(var t,c={},l=0,f=[];l<t.length;++l)c[t[l]]=!0,delete i[t[l]];for(l=0;l<o.length;++l)c[o[l]]||f.push(o[l]);o=f,a=f.length>>>0,"object"==typeof e[r]?e[r].baseVal=o.join(" "):e[r]=o.join(" "),s()},n.toggle=function(e,t){return u.apply(n,[e]),void 0===t?i[e]?(n.remove(e),!1):(n.add(e),!0):t?(n.add(e),!0):(n.remove(e),!1)},n}}(),A=function(){function e(e){return"function"==typeof Node?e instanceof Node:e&&"object"==typeof e&&e.nodeName&&1<=e.nodeType&&12>=e.nodeType}return function(t){if(1===t.length)return e(t[0])?t[0]:document.createTextNode(t[0]+"");for(var r=document.createDocumentFragment(),n=0;n<t.length;n++)r.appendChild(e(t[n])?t[n]:document.createTextNode(t[n]+""));return r}}();if(function(){var e=document.createElement("p"),t=!1;return e.innerHTML="<section></section>",document.documentElement.appendChild(e),e.firstChild&&("getComputedStyle"in window?t="block"===getComputedStyle(e.firstChild).display:e.firstChild.currentStyle&&(t="block"===e.firstChild.currentStyle.display)),document.documentElement.removeChild(e),t}()||function(e,t){function r(){var e=d.elements;return"string"==typeof e?e.split(" "):e}function n(e){var t=h[e[f]];return t||(t={},p++,e[f]=p,h[p]=t),t}function o(e,r,o){return r||(r=t),c?r.createElement(e):(o||(o=n(r)),!(i=o.cache[e]?o.cache[e].cloneNode():u.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||s.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function i(e){e||(e=t);var i=n(e);return!d.shivCSS||a||i.hasCSS||(i.hasCSS=!!function(e,t){var r=e.createElement("p"),n=e.getElementsByTagName("head")[0]||e.documentElement;return r.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>",n.insertBefore(r.lastChild,n.firstChild)}(e)),c||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(r){return d.shivMethods?o(r,e,t):t.createElem(r)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(d,t.frag)}(e,i),e}var a,c,l=e.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f="_html5shiv",p=0,h={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",a="hidden"in e,c=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){a=!0,c=!0}}();var d={elements:l.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3-pre",shivCSS:!1!==l.shivCSS,supportsUnknownElements:c,shivMethods:!1!==l.shivMethods,type:"default",shivDocument:i,createElement:o,createDocumentFragment:function(e,o){if(e||(e=t),c)return e.createDocumentFragment();for(var i=(o=o||n(e)).frag.cloneNode(),a=0,l=r(),s=l.length;s>a;a++)i.createElement(l[a]);return i},addElements:function(e,t){var r=d.elements;"string"!=typeof r&&(r=r.join(" ")),"string"!=typeof e&&(e=e.join(" ")),d.elements=r+" "+e,i(t)}};e.html5=d,i(t),"object"==typeof module&&module.exports&&(module.exports=d)}("undefined"==typeof window?this:window,document),"of"in Array||o(Array,"of",(function(){var t=arguments.length,r=arguments,o=this;if(g(o))var i=w(o,[t]);else i=e(t);for(var a=0;a<t;){var c=r[a],l=M(a);n(i,l,c),a+=1}return i.length=t,i}
2)),"fill"in Array.prototype||o(Array.prototype,"fill",(function(e){for(var t=arguments[1],r=arguments[2],n=f(this),o=u(i(n,"length")),a=s(t),c=0>a?Math.max(o+a,0):Math.min(a,o),l=void 0===r?o:s(r),p=0>l?Math.max(o+l,0):Math.min(l,o);c<p;)n[M(c)]=e,c+=1;return n})),"atob"in this||function(){function e(e){this.message=e}var t="undefined"==typeof exports?"undefined"==typeof self?$.global:self:exports;e.prototype=new Error,e.prototype.name="InvalidCharacterError",t.btoa||(t.btoa=function(t){for(var r,n,o=t+"",i=0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="";o.charAt(0|i)||(a="=",i%1);c+=a.charAt(63&r>>8-i%1*8)){if(255<(n=o.charCodeAt(i+=.75)))throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|n}return c}),t.atob||(t.atob=function(t){var r=(t+"").replace(/[=]+$/,"");if(1==r.length%4)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,i=0,a=0,c="";o=r.charAt(a++);~o&&(n=i%4?64*n+o:o,i++%4)?c+=String.fromCharCode(255&n>>(6&-2*i)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c})}(),"DocumentFragment"in this&&this.DocumentFragment===document.createDocumentFragment().constructor||(this.DocumentFragment=document.createDocumentFragment().constructor),"DocumentFragment"in this&&"append"in DocumentFragment.prototype||(DocumentFragment.prototype.append=function(){this.appendChild(A(arguments))}),"DocumentFragment"in this&&"prepend"in DocumentFragment.prototype||(DocumentFragment.prototype.prepend=function(){this.insertBefore(A(arguments),this.firstChild)}),"DOMTokenList"in this&&(!("classList"in(x=document.createElement("x")))||!x.classList.toggle("x",!1)&&!x.className)||function(e){"DOMTokenList"in e&&e.DOMTokenList&&(!document.createElementNS||!document.createElementNS("http://www.w3.org/2000/svg","svg")||document.createElementNS("http://www.w3.org/2000/svg","svg").classList instanceof DOMTokenList)||(e.DOMTokenList=L),function(){var e=document.createElement("span");"classList"in e&&(e.classList.toggle("x",!1),e.classList.contains("x")&&(e.classList.constructor.prototype.toggle=function(e){var t=arguments[1];if(void 0===t){var r=!this.contains(e);return this[r?"add":"remove"](e),r}return this[(t=!!t)?"add":"remove"](e),t}))}(),function(){var e=document.createElement("span");if("classList"in e&&(e.classList.add("a","b"),!e.classList.contains("b"))){var t=e.classList.constructor.prototype.add;e.classList.constructor.prototype.add=function(){for(var e=arguments,r=arguments.length,n=0;n<r;n++)t.call(this,e[n])}}}(),function(){var e=document.createElement("span");if("classList"in e&&(e.classList.add("a"),e.classList.add("b"),e.classList.remove("a","b"),e.classList.contains("b"))){var t=e.classList.constructor.prototype.remove;e.classList.constructor.prototype.remove=function(){for(var e=arguments,r=arguments.length,n=0;n<r;n++)t.call(this,e[n])}}}()}(this),"Element"in this&&"after"in Element.prototype||(Document.prototype.after=Element.prototype.after=function(){if(this.parentNode){for(var e=Array.prototype.slice.call(arguments),t=this.nextSibling,r=t?e.indexOf(t):-1;-1!==r&&(t=t.nextSibling);)r=e.indexOf(t);this.parentNode.insertBefore(A(arguments),t)}},"Text"in this&&(Text.prototype.after=Element.prototype.after)),"Element"in this&&"append"in Element.prototype||(Document.prototype.append=Element.prototype.append=function(){this.appendChild(A(arguments))}),"Element"in this&&"before"in Element.prototype||(Document.prototype.before=Element.prototype.before=function(){if(this.parentNode){for(var e=Array.prototype.slice.call(arguments),t=this.previousSibling,r=t?e.indexOf(t):-1;-1!==r&&(t=t.previousSibling);)r=e.indexOf(t);this.parentNode.insertBefore(A(arguments),t?t.nextSibling:this.parentNode.firstChild)}},"Text"in this&&(Text.prototype.before=Element.prototype.before)),"document"in this&&"classList"in document.documentElement&&"Element"in this&&"classList"in Element.prototype&&function(){var e=document.createElement("span");return e.classList.add("a","b"),e.classList.contains("b")}()||function(e){var t=!0,r=function(e,r,n,o){Object.defineProperty?Object.defineProperty(e,r,{configurable:0==t||!!o,get:n}):e.__defineGetter__(r,n)};try{r({},"support")}catch(e){t=!1}
2var n=function(e,o,i){r(e.prototype,o,(function(){var e,a=this,c="__defineGetter__DEFINE_PROPERTY"+o;if(a[c])return e;if(a[c]=!0,0==t){for(var l,s=n.mirror||document.createElement("div"),u=s.childNodes,f=u.length,p=0;p<f;++p)if(u[p]._R===a){l=u[p];break}l||(l=s.appendChild(document.createElement("div"))),e=DOMTokenList.call(l,a,i)}else e=new DOMTokenList(a,i);return r(a,o,(function(){return e})),delete a[c],e}),!0)};n(e.Element,"classList","className"),n(e.HTMLElement,"classList","className"),n(e.HTMLLinkElement,"relList","rel"),n(e.HTMLAnchorElement,"relList","rel"),n(e.HTMLAreaElement,"relList","rel")}(this),function(){if(!document.documentElement.dataset)return!1;var e=document.createElement("div");return e.setAttribute("data-a-b","c"),e.dataset&&"c"==e.dataset.aB}()||Object.defineProperty(Element.prototype,"dataset",{get:function(){for(var e,t=this.attributes,r={},n=0;n<t.length;n++)if((e=t[n])&&e.name&&/^data-\w[\w\-]*$/.test(e.name)){var o=e.name,i=e.value,a=o.substr(5).replace(/-./g,(function(e){return e.charAt(1).toUpperCase()}));Object.defineProperty(r,a,{enumerable:this.enumerable,get:function(){return this.value}.bind({value:i||""}),set:function(e,t){void 0===t?this.removeAttribute(e):this.setAttribute(e,t)}.bind(this,o)})}return r}}),"document"in this&&"matches"in document.documentElement||(Element.prototype.matches=Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||function(e){for(var t=this,r=(t.document||t.ownerDocument).querySelectorAll(e),n=0;r[n]&&r[n]!==t;)++n;return!!r[n]}),"document"in this&&"closest"in document.documentElement||(Element.prototype.closest=function(e){for(var t=this;t;){if(t.matches(e))return t;t="SVGElement"in window&&t instanceof SVGElement?t.parentNode:t.parentElement}return null}),"Element"in this&&"prepend"in Element.prototype||(Document.prototype.prepend=Element.prototype.prepend=function(){this.insertBefore(A(arguments),this.firstChild)}),"Element"in this&&"remove"in Element.prototype||(Document.prototype.remove=Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)},"Text"in this&&(Text.prototype.remove=Element.prototype.remove)),"Element"in this&&"replaceWith"in Element.prototype||(Document.prototype.replaceWith=Element.prototype.replaceWith=function(){this.parentNode&&this.parentNode.replaceChild(A(arguments),this)},"Text"in this&&(Text.prototype.replaceWith=Element.prototype.replaceWith)),function(e){if(!("Event"in e))return!1;if("function"==typeof e.Event)return!0;try{return new Event("click"),!0}catch(e){return!1}}(this)||function(){function e(e,t){for(var r=-1,n=e.length;++r<n;)if(r in e&&e[r]===t)return r;return-1}function t(e,t){if(!e)throw new Error("Not enough arguments");var r;if("createEvent"in document){r=document.createEvent("Event");var n=t&&void 0!==t.bubbles&&t.bubbles,o=t&&void 0!==t.cancelable&&t.cancelable;return r.initEvent(e,n,o),r}return(r=document.createEventObject()).type=e,r.bubbles=t&&void 0!==t.bubbles&&t.bubbles,r.cancelable=t&&void 0!==t.cancelable&&t.cancelable,r}var r={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};if("undefined"!=typeof document&&"undefined"!=typeof window){var n=window.Event&&window.Event.prototype||null;t.NONE=0,t.CAPTURING_PHASE=1,t.AT_TARGET=2,t.BUBBLING_PHASE=3,window.Event=Window.prototype.Event=t,n&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:n}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var t=this,n=arguments[0],o=arguments[1];if(t===window&&n in r)throw new Error("In IE8 the event: "+n+" is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.");t._events||(t._events={}),t._events[n]||(t._events[n]=function(r){var n,o=t._events[r.type].list,i=o.slice(),a=-1,c=i.length;for(r.preventDefault=function(){!1!==r.cancelable&&(r.returnValue=!1)},r.stopPropagation=function(){r.cancelBubble=!0},r.stopImmediatePropagation=function(){r.cancelBubble=!0,r.cancelImmediate=!0}
2,r.currentTarget=t,r.relatedTarget=r.fromElement||null,r.target=r.target||r.srcElement||t,r.timeStamp=(new Date).getTime(),r.clientX&&(r.pageX=r.clientX+document.documentElement.scrollLeft,r.pageY=r.clientY+document.documentElement.scrollTop);++a<c&&!r.cancelImmediate;)a in i&&-1!==e(o,n=i[a])&&"function"==typeof n&&n.call(t,r)},t._events[n].list=[],t.attachEvent&&t.attachEvent("on"+n,t._events[n])),t._events[n].list.push(o)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var t,r=this,n=arguments[0],o=arguments[1];r._events&&r._events[n]&&r._events[n].list&&-1!==(t=e(r._events[n].list,o))&&(r._events[n].list.splice(t,1),r._events[n].list.length||(r.detachEvent&&r.detachEvent("on"+n,r._events[n]),delete r._events[n]))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(e){if(!arguments.length)throw new Error("Not enough arguments");if(!e||"string"!=typeof e.type)throw new Error("DOM Events Exception 0");var t=this,r=e.type;try{if(!e.bubbles){e.cancelBubble=!0;var n=function(e){e.cancelBubble=!0,(t||window).detachEvent("on"+r,n)};this.attachEvent("on"+r,n)}this.fireEvent("on"+r,e)}catch(n){e.target=t;do{e.currentTarget=t,"_events"in t&&"function"==typeof t._events[r]&&t._events[r].call(t,e),"function"==typeof t["on"+r]&&t["on"+r].call(t,e),t=9===t.nodeType?t.parentWindow:t.parentNode}while(t&&!e.cancelBubble)}return!0},document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&document.dispatchEvent(new t("DOMContentLoaded",{bubbles:!0}))})))}}(),"CustomEvent"in this&&("function"==typeof this.CustomEvent||-1<this.CustomEvent.toString().indexOf("CustomEventConstructor"))||(this.CustomEvent=function(e,t){if(!e)throw Error('TypeError: Failed to construct "CustomEvent": An event name must be provided.');var r;if(t=t||{bubbles:!1,cancelable:!1,detail:null},"createEvent"in document)try{(r=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail)}catch(n){(r=document.createEvent("Event")).initEvent(e,t.bubbles,t.cancelable),r.detail=t.detail}else(r=new Event(e,t)).detail=t&&t.detail||null;return r},CustomEvent.prototype=Event.prototype),!("location"in this)||!("origin"in this.location))try{Object.defineProperty(window.location,"origin",{enumerable:!0,writable:!1,value:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),configurable:!1})}catch(x){window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}document.contains||function(){function e(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1}if("HTMLElement"in this&&"contains"in HTMLElement.prototype)try{delete HTMLElement.prototype.contains}catch(e){}"Node"in this?Node.prototype.contains=e:document.contains=Element.prototype.contains=e}(),"isNaN"in Number||function(){var e=this;o(Number,"isNaN",(function(t){return"number"===d(t)&&!!e.isNaN(t)}))}(),"keys"in Object&&function(){return 2===Object.keys(arguments).length}(1,2)&&function(){try{return Object.keys(""),!0}catch(e){return!1}}()||(Object.keys=function(){"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.prototype.propertyIsEnumerable,n=!r.call({toString:null},"toString"),o=r.call((function(){}),"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(e){var t=e.constructor;return t&&t.prototype===e},c={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},l=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!c["$"+t]&&e.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{a(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),s=function(e){if("undefined"==typeof window||!l)return a(e);try{return a(e)}catch(e){return!1}};return function(r){var a="[object Function]"===t.call(r),c=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&"[object Function]"===t.call(e.callee)),n}(r),l="[object String]"===t.call(r),u=[];
2if(null==r)throw new TypeError("Cannot convert undefined or null to object");if(l&&0<r.length&&!e.call(r,0))for(var f=0;f<r.length;++f)u.push(f+"");if(c&&0<r.length)for(var p=0;p<r.length;++p)u.push(p+"");else for(var h in r)o&&a&&"prototype"==h||!e.call(r,h)||u.push(h+"");if(n)for(var d=s(r),y=0;y<i.length;++y)d&&"constructor"===i[y]||!e.call(r,i[y])||u.push(i[y]);return u}}()),"assign"in Object||o(Object,"assign",(function(e){var t=f(e);if(1===arguments.length)return t;var r,n,o,a,c=Array.prototype.slice.call(arguments,1);for(r=0;r<c.length;r++){var l=c[r];for(null==l?o=[]:(a=f(l),o=Object.keys(a)),n=0;n<o.length;n++){var s=o[n],u=Object.getOwnPropertyDescriptor(a,s);if(void 0!==u&&u.enumerable){var p=i(a,s);t[s]=p}}}return t})),"performance"in this&&"now"in this.performance||function(e){var t=Date.now();e.performance||(e.performance={}),e.performance.now=function(){return Date.now()-t}}(this),"Promise"in this||function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=100)}({100:function(e,t,r){(function(e){var t=r(5);try{e.Promise=t,window.Promise=t}catch(e){}}).call(t,r(2))},2:function(e){var t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},5:function(e,t,r){(function(t){!function(){"use strict";function r(){return Z[R][z]||K}function n(e){return e&&"object"==typeof e}function o(e){return"function"==typeof e}function i(e,t){return e instanceof t}function a(e,t,r){if(!t(e))throw f(r)}function c(){try{return O.apply(T,arguments)}catch(e){return Y.e=e,Y}}function l(e,t){return O=e,T=t,c}function s(e,t){function r(){for(var r=0;r<o;)t(n[r],n[r+1]),n[r++]=j,n[r++]=j;o=0,n.length>e&&(n.length=e)}var n=N(e),o=0;return function(e,t){n[o++]=e,n[o++]=t,2==o&&Z.nextTick(r)}}function u(e,t){var r,n,a,c,s=0;if(!e)throw f(W);var u=e[Z[R][U]];if(o(u))n=u.call(e);else{if(!o(e.next)){if(i(e,N)){for(r=e.length;s<r;)t(e[s],s++);return s}throw f(W)}n=e}for(;!(a=n.next()).done;)if((c=l(t)(a.value,s++))===Y)throw o(n[$])&&n[$](),c.e;return s}function f(e){return new TypeError(e)}function p(e){return(e?"":G)+(new D).stack}function h(e,t){var r="on"+e.toLowerCase(),n=L[r];k&&k.listeners(e).length?e===X?k.emit(e,t._v,t):k.emit(e,t):n?n({reason:t._v,promise:t}):Z[e](t._v,t)}function d(e){return e&&e._s}function y(e){return d(e)?new e(J):(t=new e((function(e,o){if(t)throw f();r=e,n=o})),a(r,o),a(n,o),t);var t,r,n}function m(e,t){var r=!1;return function(n){r||(r=!0,C&&(e[q]=p(!0)),t===F?E(e,n):w(e,t,n))}}function v(e){if(e._umark)return!0;e._umark=!0;for(var t,r=0,n=e._c;r<n;)if((t=e[r++])._onRejected||v(t))return!0}function b(e,t){function r(e){return n.push(e.replace(/^\s+|\s+$/g,""))}var n=[];return C&&(t[q]&&r(t[q]),function e(t){t&&H in t&&(e(t._next),r(t[H]+""),e(t._p))}(t)),(e&&e.stack?e.stack:e)+("\n"+n.join("\n")).replace(Q,"")}function g(e,t){return e(t)}function w(e,t,r){var n=0,o=e._c;if(e._s===B)for(e._s=t,e._v=r,t===I&&(C&&function(e){return i(e,D)}(r)&&(r.longStack=b(r,e)),te(e));n<o;)ee(e,e[n++]);return e}function E(e,t){if(t===e&&t)return w(e,I,f(V)),e;if(t!==M&&(o(t)||n(t))){var r=l(_)(t);if(r===Y)return w(e,I,r.e),e;o(r)?(C&&d(t)&&(e._next=t),d(t)?S(e,t,r):Z.nextTick((function(){S(e,t,r)}))):w(e,F,t)}else w(e,F,t);return e}function _(e){return e.then}function S(e,t,r){var n=l(r,t)((function(r){t&&(t=M,E(e,r))}),(function(r){t&&(t=M,w(e,I,r))}));n===Y&&t&&(w(e,I,n.e),t=M)}var j,O,T,M=null,x="object"==typeof self,L=x?self:t,A=L.Promise,k=L.process,P=L.console,C=!1,N=Array,D=Error,I=1,F=2,B=3,R="Symbol",U="iterator",z="species",K="Symbol(species)",$="return",H="_pt",q="_st",W="Invalid argument",G="\nFrom previous ",V="Chaining cycle detected for promise",X="unhandledRejection",Y={e:M},J=function(){},Q=/^.+\/node_modules\/yaku\/.+\n?/gm,Z=function(e){var t,r=this;if(!n(r)||r._s!==j)throw f("Invalid this");if(r._s=3,C&&(r._pt=p()),e!==J){if(!o(e))throw f("Invalid argument");(t=l(e)(m(r,2),m(r,1)))===Y&&w(r,1,t.e)}};Z.default=Z,function(e,t){for(var r in t)e[r]=t[r]}(Z.prototype,{then:function(e,t){if(void 0===this._s)throw f();return function(e,t,r,n){return o(r)&&(t._onFulfilled=r),o(n)&&(e._uh&&h("rejectionHandled",e),t._onRejected=n),C&&(t._p=e),e[e._c++]=t,e._s!==B&&ee(e,t),t}(this,y(Z.speciesConstructor(this,Z)),e,t)},catch:function(e){return this.then(j,e)},finally:function(e){return this.then((function(t){return Z.resolve(e()).then((function(){return t}))}),(function(t){return Z.resolve(e()).then((function(){throw t}))}))},_c:0,_p:M}),Z.resolve=function(e){return d(e)?e:E(y(this),e)},Z.reject=function(e){return w(y(this),1,e)},Z.race=function(e){var t=this,r=y(t),n=function(e){w(r,2,e)},o=function(e){w(r,1,e)},i=l(u)(e,(function(e){t.resolve(e).then(n,o)}));return i===Y?t.reject(i.e):r},Z.all=function(e){function t(e){w(o,1,e)}var r,n=this,o=y(n),i=[];return(r=l(u)(e,(function(e,a){n.resolve(e).then((function(e){i[a]=e,--r||w(o,2,i)}),t)})))===Y?n.reject(r.e):(r||w(o,2,[]),o)},Z.Symbol=L.Symbol||{},l((function(){Object.defineProperty(Z,r(),{get:function(){return this}})}))(),Z.speciesConstructor=function(e,t){var n=e.constructor;return n&&n[r()]||t},Z.unhandledRejection=function(e,t){P&&P.error("Uncaught (in promise)",C?t.longStack:b(e,t))},Z.rejectionHandled=J,Z.enableLongStackTrace=function(){C=!0},Z.nextTick=x?function(e){A?new A((function(e){e()}
2)).then(e):setTimeout(e)}:k.nextTick,Z._s=1;var ee=s(999,(function(e,t){var r,n;return(n=1===e._s?t._onRejected:t._onFulfilled)===j?void w(t,e._s,e._v):(r=l(g)(n,e._v))===Y?void w(t,1,r.e):void E(t,r)})),te=s(9,(function(e){v(e)||(e._uh=1,h("unhandledRejection",e))}));try{e.exports=Z}catch(e){L.Yaku=Z}}()}).call(t,r(2))}}),"fetch"in this||function(e){"use strict";function t(e){if("string"!=typeof e&&(e+=""),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e+=""),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return d.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function c(e){var t=new FileReader,r=a(t);return t.readAsArrayBuffer(e),r}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function s(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(d.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(d.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(d.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(d.arrayBuffer&&d.blob&&m(e))this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!d.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!v(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=l(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):d.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},d.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(c)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=a(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},d.formData&&(this.formData=function(){return this.text().then(f)}),this.json=function(){return this.text().then(JSON.parse)},this}function u(e,t){var r=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e+"";if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=function(e){var t=e.toUpperCase();return-1<b.indexOf(t)?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function f(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function p(e){var t=new o;
2return e.split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t}function h(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=200<=this.status&&300>this.status,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}var d={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(d.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],m=function(e){return e&&DataView.prototype.isPrototypeOf(e)},v=ArrayBuffer.isView||function(e){return e&&-1<y.indexOf(Object.prototype.toString.call(e))};o.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];this.map[e]=o?o+","+n:n},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,n){this.map[t(e)]=r(n)},o.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},o.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),n(e)},o.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),n(e)},d.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},s.call(u.prototype),s.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var g=[301,302,303,307,308];h.redirect=function(e,t){if(-1===g.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=u,e.Response=h,e.fetch=function(e,t){return new Promise((function(r,n){var o=new u(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:p(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;r(new h(t,e))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&d.blob&&(i.responseType="blob"),o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})),i.send(void 0===o._bodyInit?null:o._bodyInit)}))},e.fetch.polyfill=!0}("undefined"==typeof self?this:self),"requestAnimationFrame"in this||function(e){var t;if("mozRequestAnimationFrame"in e?t="moz":"webkitRequestAnimationFrame"in e&&(t="webkit"),t)e.requestAnimationFrame=function(r){return e[t+"RequestAnimationFrame"]((function(){r(performance.now())}))},e.cancelAnimationFrame=e[t+"CancelAnimationFrame"];else{var r=Date.now();e.requestAnimationFrame=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");var t=Date.now(),n=16+r-t;return 0>n&&(n=0),r=t,setTimeout((function(){r=Date.now(),e(performance.now())}),n)},e.cancelAnimationFrame=function(e){clearTimeout(e)}}}(this),"endsWith"in String.prototype||o(String.prototype,"endsWith",(function(e){"use strict";var t=1<arguments.length?arguments[1]:void 0,r=c(this),n=M(r);if(E(e))throw new TypeError("First argument to String.prototype.endsWith must not be a regular expression");var o=M(e),i=n.length,a=void 0===t?i:s(t),l=Math.min(Math.max(a,0),i),u=o.length,f=l-u;return!(0>f)&&n.substr(f,u)===o})),"includes"in String.prototype||o(String.prototype,"includes",(function(e){"use strict";var t=1<arguments.length?arguments[1]:void 0,r=c(this),n=M(r);if(E(e))throw new TypeError("First argument to String.prototype.includes must not be a regular expression");var o=M(e),i=s(t),a=n.length,l=Math.min(Math.max(i,0),a);return-1!==String.prototype.indexOf.call(n,o,l)})),"startsWith"in String.prototype||o(String.prototype,"startsWith",(function(e){"use strict";var t=1<arguments.length?arguments[1]:void 0,r=c(this),n=M(r);if(E(e))throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var o=M(e),i=s(t),a=n.length,l=Math.min(Math.max(i,0),a);return!(o.length+l>a)&&0===n.substr(l).indexOf(e)})),"Symbol"in this&&0===this.Symbol.length||function(e,t,r){var n,o=0,i=""+Math.random(),a="__�symbol@@"+i,c=e.prototype,l=c.hasOwnProperty,s=c.propertyIsEnumerable,u=c.toString,f=Array.prototype.concat,p="object"==typeof window?e.getOwnPropertyNames(window):[],h=e.getOwnPropertyNames,d=function(e){if("[object Window]"===u.call(e))try{return h(e)}catch(e){return f.call([],p)}return h(e)},y=e.getOwnPropertyDescriptor,m=e.create,v=e.keys,b=e.freeze||e,g=e.defineProperty,w=e.defineProperties,E=y(e,"getOwnPropertyNames"),_=function(e,t,r){if(!l.call(e,a))try{g(e,a,{enumerable:!1,
2configurable:!1,writable:!1,value:{}})}catch(t){e[a]={}}e[a]["@@"+t]=r},S=function(e,t){var r=m(e);return d(t).forEach((function(e){M.call(t,e)&&C(r,e,t[e])})),r},j=function(){},O=function(e){return e!=a&&!l.call(A,e)},T=function(e){return e!=a&&l.call(A,e)},M=function(e){var t=""+e;return T(t)?l.call(this,t)&&this[a]["@@"+t]:s.call(this,e)},x=function(t){var r={enumerable:!1,configurable:!0,get:j,set:function(e){n(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),_(this,t,!0)}};try{g(c,t,r)}catch(e){c[t]=r.value}return b(A[t]=g(e(t),"constructor",k))},L=function e(){var t=arguments[0];if(this instanceof e)throw new TypeError("Symbol is not a constructor");return x("__�symbol:".concat(t||"",i,++o))},A=m(null),k={value:L},P=function(e){return A[e]},C=function(e,t,r){var o=""+t;return T(o)?(n(e,o,r.enumerable?function(e){var t=m(e);return t.enumerable=!1,t}(r):r),_(e,o,!!r.enumerable)):g(e,t,r),e},N=function(e){return d(e).filter(e===c?function(e){return function(t){return l.call(e,a)&&l.call(e[a],"@@"+t)}}(e):T).map(P)};E.value=C,g(e,"defineProperty",E),E.value=N,g(e,"getOwnPropertySymbols",E),E.value=function(e){return d(e).filter(O)},g(e,"getOwnPropertyNames",E),E.value=function(e,t){var r=N(t);return r.length?v(t).concat(r).forEach((function(r){M.call(t,r)&&C(e,r,t[r])})):w(e,t),e},g(e,"defineProperties",E),E.value=M,g(c,"propertyIsEnumerable",E),E.value=L,g(r,"Symbol",E),E.value=function(e){var t="__�symbol:".concat("__�symbol:",e,i);return t in c?A[t]:x(t)},g(L,"for",E),E.value=function(e){if(O(e))throw new TypeError(e+" is not a symbol");return l.call(A,e)?e.slice(20,-i.length):void 0},g(L,"keyFor",E),E.value=function(e,t){var r=y(e,t);return r&&T(t)&&(r.enumerable=M.call(e,t)),r},g(e,"getOwnPropertyDescriptor",E),E.value=function(e,t){return 1===arguments.length||void 0===t?m(e):S(e,t)},g(e,"create",E),E.value=function(){var e=u.call(this);return"[object String]"===e&&T(this)?"[object Symbol]":e},g(c,"toString",E),n=function(e,t,r){var n=y(c,t);delete c[t],g(e,t,r),e!==c&&g(c,t,n)}}(Object,0,this),"Symbol"in this&&"iterator"in this.Symbol||Object.defineProperty(Symbol,"iterator",{value:Symbol("iterator")}),"Symbol"in this&&"species"in this.Symbol||Object.defineProperty(Symbol,"species",{value:Symbol("species")}),"Map"in this&&function(){try{var e=new Map([[1,1],[2,2]]);return!(0!==Map.length||2!==e.size||!("Symbol"in this)||!("iterator"in Symbol)||"function"!=typeof e[Symbol.iterator])}catch(e){return!1}}()||function(e){function t(e,t){if("object"!==d(e))throw new TypeError("createMapIterator called on incompatible receiver "+Object.prototype.toString.call(e));if(!0!==e._es6Map)throw new TypeError("createMapIterator called on incompatible receiver "+Object.prototype.toString.call(e));var r=Object.create(c);return Object.defineProperty(r,"[[Map]]",{configurable:!0,enumerable:!1,writable:!0,value:e}),Object.defineProperty(r,"[[MapNextIndex]]",{configurable:!0,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"[[MapIterationKind]]",{configurable:!0,enumerable:!1,writable:!0,value:t}),r}var r=function(){try{var e={};return Object.defineProperty(e,"t",{configurable:!0,enumerable:!1,get:function(){return!0},set:void 0}),!!e.t}catch(e){return!1}}(),n=Symbol("undef"),i=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=b(this,e.prototype,{_keys:[],_values:[],_size:0,_es6Map:!0});r||Object.defineProperty(t,"size",{configurable:!0,enumerable:!1,writable:!0,value:0});var n=0<arguments.length?arguments[0]:void 0;if(null==n)return t;var o=t.set;if(!a(o))throw new TypeError("Map.prototype.set is not a function");try{for(var i,c=m(n);;){if(!1===(i=S(c)))return t;var l=j(i);if("object"!==d(l))try{throw new TypeError("Iterator value "+l+" is not an entry object")}catch(l){return _(c,l)}try{var s=l[0],u=l[1];o.call(t,s,u)}catch(l){return _(c,l)}}}catch(l){if(Array.isArray(n)||"[object Arguments]"===Object.prototype.toString.call(n)||n.callee){var f,p=n.length;for(f=0;f<p;f++)o.call(t,n[f][0],n[f][1])}}return t};Object.defineProperty(i,"prototype",{configurable:!1,enumerable:!1,writable:!1,value:{}}),r?Object.defineProperty(i,Symbol.species,{configurable:!0,enumerable:!1,get:function(){return this},set:void 0}):o(i,Symbol.species,i),o(i.prototype,"clear",(function(){var e=this;if("object"!==d(e))throw new TypeError("Method Map.prototype.clear called on incompatible receiver "+Object.prototype.toString.call(e));if(!0!==e._es6Map)throw new TypeError("Method Map.prototype.clear called on incompatible receiver "+Object.prototype.toString.call(e));for(var t=e._keys,o=0;o<t.length;o++)e._keys[o]=n,e._values[o]=n;return this._size=0,void(r||(this.size=this._size))})),o(i.prototype,"constructor",i),o(i.prototype,"delete",(function(e){var t=this;if("object"!==d(t))throw new TypeError("Method Map.prototype.clear called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Map)throw new TypeError("Method Map.prototype.clear called on incompatible receiver "+Object.prototype.toString.call(t));for(var o=t._keys,i=0;i<o.length;i++)if(t._keys[i]!==n&&T(t._keys[i],e))return this._keys[i]=n,this._values[i]=n,this._size=--this._size,r||(this.size=this._size),!0;return!1})),o(i.prototype,"entries",(function(){return t(this,"key+value")})),o(i.prototype,"forEach",(function(e){var t=this;if("object"!==d(t))throw new TypeError("Method Map.prototype.forEach called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Map)throw new TypeError("Method Map.prototype.forEach called on incompatible receiver "+Object.prototype.toString.call(t));if(!a(e))throw new TypeError(Object.prototype.toString.call(e)+" is not a function.");
2if(arguments[1])var r=arguments[1];for(var o=t._keys,i=0;i<o.length;i++)t._keys[i]!==n&&t._values[i]!==n&&e.call(r,t._values[i],t._keys[i],t)})),o(i.prototype,"get",(function(e){var t=this;if("object"!==d(t))throw new TypeError("Method Map.prototype.get called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Map)throw new TypeError("Method Map.prototype.get called on incompatible receiver "+Object.prototype.toString.call(t));for(var r=t._keys,o=0;o<r.length;o++)if(t._keys[o]!==n&&T(t._keys[o],e))return t._values[o]})),o(i.prototype,"has",(function(e){var t=this;if("object"!=typeof t)throw new TypeError("Method Map.prototype.has called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Map)throw new TypeError("Method Map.prototype.has called on incompatible receiver "+Object.prototype.toString.call(t));for(var r=t._keys,o=0;o<r.length;o++)if(t._keys[o]!==n&&T(t._keys[o],e))return!0;return!1})),o(i.prototype,"keys",(function(){return t(this,"key")})),o(i.prototype,"set",(function(e,t){var o=this;if("object"!==d(o))throw new TypeError("Method Map.prototype.set called on incompatible receiver "+Object.prototype.toString.call(o));if(!0!==o._es6Map)throw new TypeError("Method Map.prototype.set called on incompatible receiver "+Object.prototype.toString.call(o));for(var i=o._keys,a=0;a<i.length;a++)if(o._keys[a]!==n&&T(o._keys[a],e))return o._values[a]=t,o;1/e==-1/0&&(e=0);var c={};return c["[[Key]]"]=e,c["[[Value]]"]=t,o._keys.push(c["[[Key]]"]),o._values.push(c["[[Value]]"]),++o._size,r||(o.size=o._size),o})),r&&Object.defineProperty(i.prototype,"size",{configurable:!0,enumerable:!1,get:function(){var e=this;if("object"!==d(e))throw new TypeError("Method Map.prototype.size called on incompatible receiver "+Object.prototype.toString.call(e));if(!0!==e._es6Map)throw new TypeError("Method Map.prototype.size called on incompatible receiver "+Object.prototype.toString.call(e));for(var t=e._keys,r=0,o=0;o<t.length;o++)e._keys[o]!==n&&(r+=1);return r},set:void 0}),o(i.prototype,"values",(function(){return t(this,"value")})),o(i.prototype,Symbol.iterator,i.prototype.entries),"name"in i||Object.defineProperty(i,"name",{configurable:!0,enumerable:!1,writable:!1,value:"Map"});var c={};Object.defineProperty(c,"isMapIterator",{configurable:!1,enumerable:!1,writable:!1,value:!0}),o(c,"next",(function(){var e=this;if("object"!==d(e))throw new TypeError("Method %MapIteratorPrototype%.next called on incompatible receiver "+Object.prototype.toString.call(e));if(!e.isMapIterator)throw new TypeError("Method %MapIteratorPrototype%.next called on incompatible receiver "+Object.prototype.toString.call(e));var t=e["[[Map]]"],r=e["[[MapNextIndex]]"],o=e["[[MapIterationKind]]"];if(void 0===t)return y(void 0,!0);if(!t._es6Map)throw new Error(Object.prototype.toString.call(t)+" has a [[MapData]] internal slot.");for(var i,a=t._keys.length;r<a;)if((i=Object.create(null))["[[Key]]"]=t._keys[r],i["[[Value]]"]=t._values[r],r+=1,e["[[MapNextIndex]]"]=r,i["[[Key]]"]!==n){if("key"===o)var c=i["[[Key]]"];else if("value"===o)c=i["[[Value]]"];else{if("key+value"!==o)throw new Error;c=[i["[[Key]]"],i["[[Value]]"]]}return y(c,!1)}return e["[[Map]]"]=void 0,y(void 0,!0)})),o(c,Symbol.iterator,(function(){return this}));try{o(e,"Map",i)}catch(c){e.Map=i}}(this),"Set"in this&&function(){try{var e=new Set([1,2]);return!(0!==Set.length||2!==e.size||!("Symbol"in this)||!("iterator"in Symbol)||"function"!=typeof e[Symbol.iterator])}catch(e){return!1}}()||function(e){function t(e,t){if("object"!=typeof e)throw new TypeError("createSetIterator called on incompatible receiver "+Object.prototype.toString.call(e));if(!0!==e._es6Set)throw new TypeError("createSetIterator called on incompatible receiver "+Object.prototype.toString.call(e));var r=Object.create(l);return Object.defineProperty(r,"[[IteratedSet]]",{configurable:!0,enumerable:!1,writable:!0,value:e}),Object.defineProperty(r,"[[SetNextIndex]]",{configurable:!0,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,"[[SetIterationKind]]",{configurable:!0,enumerable:!1,writable:!0,value:t}),r}var r=function(){try{var e={};return Object.defineProperty(e,"t",{configurable:!0,enumerable:!1,get:function(){return!0},set:void 0}),!!e.t}catch(e){return!1}}(),n=Symbol("undef"),i=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');var t=b(this,e.prototype,{_values:[],_size:0,_es6Set:!0});
2r||Object.defineProperty(t,"size",{configurable:!0,enumerable:!1,writable:!0,value:0});var n=0<arguments.length?arguments[0]:void 0;if(null==n)return t;var o=t.add;if(!a(o))throw new TypeError("Set.prototype.add is not a function");try{for(var i,c=m(n);;){if(!1===(i=S(c)))return t;var l=j(i);try{o.call(t,l)}catch(e){return _(c,e)}}}catch(e){if(Array.isArray(n)||"[object Arguments]"===Object.prototype.toString.call(n)||n.callee){var s,u=n.length;for(s=0;s<u;s++)o.call(t,n[s])}}return t};Object.defineProperty(i,"prototype",{configurable:!1,enumerable:!1,writable:!1,value:{}}),r?Object.defineProperty(i,Symbol.species,{configurable:!0,enumerable:!1,get:function(){return this},set:void 0}):o(i,Symbol.species,i),o(i.prototype,"add",(function(e){var t=this;if("object"!=typeof t)throw new TypeError("Method Set.prototype.add called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Set)throw new TypeError("Method Set.prototype.add called on incompatible receiver "+Object.prototype.toString.call(t));for(var o,i=t._values,a=0;a<i.length;a++)if((o=i[a])!==n&&T(o,e))return t;return 1/e==-1/0&&(e=0),t._values.push(e),this._size=++this._size,r||(this.size=this._size),t})),o(i.prototype,"clear",(function(){var e=this;if("object"!=typeof e)throw new TypeError("Method Set.prototype.clear called on incompatible receiver "+Object.prototype.toString.call(e));if(!0!==e._es6Set)throw new TypeError("Method Set.prototype.clear called on incompatible receiver "+Object.prototype.toString.call(e));for(var t=e._values,o=0;o<t.length;o++)t[o]=n;return this._size=0,void(r||(this.size=this._size))})),o(i.prototype,"constructor",i),o(i.prototype,"delete",(function(e){var t=this;if("object"!=typeof t)throw new TypeError("Method Set.prototype.delete called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Set)throw new TypeError("Method Set.prototype.delete called on incompatible receiver "+Object.prototype.toString.call(t));for(var o,i=t._values,a=0;a<i.length;a++)if((o=i[a])!==n&&T(o,e))return i[a]=n,this._size=--this._size,r||(this.size=this._size),!0;return!1})),o(i.prototype,"entries",(function(){return t(this,"key+value")})),o(i.prototype,"forEach",(function(e){var t=this;if("object"!=typeof t)throw new TypeError("Method Set.prototype.forEach called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Set)throw new TypeError("Method Set.prototype.forEach called on incompatible receiver "+Object.prototype.toString.call(t));if(!a(e))throw new TypeError(Object.prototype.toString.call(e)+" is not a function.");if(arguments[1])var r=arguments[1];for(var o,i=t._values,c=0;c<i.length;c++)(o=i[c])!==n&&e.call(r,o,o,t)})),o(i.prototype,"has",(function(e){var t=this;if("object"!=typeof t)throw new TypeError("Method Set.prototype.forEach called on incompatible receiver "+Object.prototype.toString.call(t));if(!0!==t._es6Set)throw new TypeError("Method Set.prototype.forEach called on incompatible receiver "+Object.prototype.toString.call(t));for(var r,o=t._values,i=0;i<o.length;i++)if((r=o[i])!==n&&T(r,e))return!0;return!1}));var c=function(){return t(this,"value")};o(i.prototype,"values",c),o(i.prototype,"keys",c),r&&Object.defineProperty(i.prototype,"size",{configurable:!0,enumerable:!1,get:function(){var e=this;if("object"!=typeof e)throw new TypeError("Method Set.prototype.size called on incompatible receiver "+Object.prototype.toString.call(e));if(!0!==e._es6Set)throw new TypeError("Method Set.prototype.size called on incompatible receiver "+Object.prototype.toString.call(e));for(var t=e._values,r=0,o=0;o<t.length;o++)t[o]!==n&&(r+=1);return r},set:void 0}),o(i.prototype,Symbol.iterator,c),"name"in i||Object.defineProperty(i,"name",{configurable:!0,enumerable:!1,writable:!1,value:"Set"});var l={};Object.defineProperty(l,"isSetIterator",{configurable:!1,enumerable:!1,writable:!1,value:!0}),o(l,"next",(function(){var e=this;if("object"!=typeof e)throw new TypeError("Method %SetIteratorPrototype%.next called on incompatible receiver "+Object.prototype.toString.call(e));if(!e.isSetIterator)throw new TypeError("Method %SetIteratorPrototype%.next called on incompatible receiver "+Object.prototype.toString.call(e));var t=e["[[IteratedSet]]"],r=e["[[SetNextIndex]]"],o=e["[[SetIterationKind]]"];if(void 0===t)return y(void 0,!0);if(!t._es6Set)throw new Error(Object.prototype.toString.call(t)+" does not have [[SetData]] internal slot.");for(var i,a=t._values,c=a.length;r<c;)if(i=a[r],r+=1,e["[[SetNextIndex]]"]=r,i!==n)return y("key+value"===o?[i,i]:i,!1);return e["[[IteratedSet]]"]=void 0,y(void 0,!0)})),o(l,Symbol.iterator,(function(){return this}));try{o(e,"Set",i)}catch(l){e.Set=i}}(this),"from"in Array&&function(){try{return Array.from({length:-1/0}),!0}catch(e){return!1}}()||function(){function r(e){return"string"==typeof e||"object"==typeof e&&"[object String]"===c.call(e)}var c=Object.prototype.toString,l=String.prototype.match;o(Array,"from",(function(o){var c=this,s=1<arguments.length?arguments[1]:void 0;if(void 0===s)var p=!1;else{if(!1===a(s))throw new TypeError(Object.prototype.toString.call(s)+" is not a function.");var d=2<arguments.length?arguments[2]:void 0;if(void 0!==d)var y=d;else y=void 0;p=!0}var v=h(o,Symbol.iterator);if(void 0!==v){if(g(c))var b=w(c);else b=e(0);for(var E=m(o,v),O=0;;){if(O>=Math.pow(2,53)-1){var T=new TypeError("Iteration count can not be greater than or equal 9007199254740991.");return _(E,T)}var x=M(O),L=S(E);if(!1===L)return b.length=O,b;var A=j(L);if(p)try{var k=t(s,y,[A,O])}catch(p){return _(E,p)}else k=A;try{n(b,x,k)}catch(p){return _(E,p)}O+=1}}if(r(o))var P=l.call(o,/[\uD800-\uDBFF][\uDC00-\uDFFF]?|[^\uD800-\uDFFF]|./g)||[];else P=f(o);var C=u(i(P,"length"));for(b=g(c)?w(c,[C]):e(C),O=0;O<C;){var N=i(P,x=M(O));
2n(b,x,k=1==p?t(s,y,[N,O]):N),O+=1}return b.length=C,b}))}(),function(e){"use strict";try{var t=new e.URL("http://example.com");if("href"in t&&"searchParams"in t){var r=new URL("http://example.com");if(r.search="a=1&b=2","http://example.com/?a=1&b=2"===r.href&&(r.search="","http://example.com/"===r.href)){var n=new e.URLSearchParams("a=1");if("a=1"==new e.URLSearchParams(n)+"")return!0}}return!1}catch(e){return!1}}(this)||function(e){"use strict";function t(t){return!!t&&("Symbol"in e&&"iterator"in e.Symbol&&"function"==typeof t[Symbol.iterator]||!!Array.isArray(t))}function r(e){return"from"in Array?Array.from(e):Array.prototype.slice.call(e)}!function(){function n(e){var t="",r=!0;return e.forEach((function(e){var n=encodeURIComponent(e.name),o=encodeURIComponent(e.value);r||(t+="&"),t+=n+"="+o,r=!1})),t.replace(/%20/g,"+")}function o(e,t){var r=e.split("&");t&&-1===r[0].indexOf("=")&&(r[0]="="+r[0]);var n=[];r.forEach((function(e){if(0!==e.length){var t=e.indexOf("=");if(-1!==t)var r=e.substring(0,t),o=e.substring(t+1);else r=e,o="";r=r.replace(/\+/g," "),o=o.replace(/\+/g," "),n.push({name:r,value:o})}}));var o=[];return n.forEach((function(e){o.push({name:decodeURIComponent(e.name),value:decodeURIComponent(e.value)})})),o}function i(e){var a=this;this._list=[],null==e||(e instanceof i?this._list=o(e+""):"object"==typeof e&&t(e)?r(e).forEach((function(e){if(!t(e))throw TypeError();var n=r(e);if(2!==n.length)throw TypeError();a._list.push({name:n[0]+"",value:n[1]+""})})):"object"==typeof e&&e?Object.keys(e).forEach((function(t){a._list.push({name:t+"",value:e[t]+""})})):("?"===(e+="").substring(0,1)&&(e=e.substring(1)),this._list=o(e))),this._url_object=null,this._setList=function(e){c||(a._list=e)};var c=!1;this._update_steps=function(){c||(c=!0,a._url_object&&("about:"===a._url_object.protocol&&-1!==a._url_object.pathname.indexOf("?")&&(a._url_object.pathname=a._url_object.pathname.split("?")[0]),a._url_object.search=n(a._list),c=!1))}}function a(e,t){var r=0;this.next=function(){if(r>=e.length)return{done:!0,value:void 0};var n=e[r++];return{done:!1,value:"key"===t?n.name:"value"===t?n.value:[n.name,n.value]}}}function c(t,r){function n(){var e=c.href.replace(/#$|\?$|\?(?=#)/g,"");c.href!==e&&(c.href=e)}function a(){f._setList(c.search?o(c.search.substring(1)):[]),f._update_steps()}if(!(this instanceof e.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");r&&(t=function(){if(l)return new s(t,r).href;var e;try{var n;if("[object OperaMini]"===Object.prototype.toString.call(window.operamini)?((e=document.createElement("iframe")).style.display="none",document.documentElement.appendChild(e),n=e.contentWindow.document):document.implementation&&document.implementation.createHTMLDocument?n=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((n=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(n.createElement("head")),n.documentElement.appendChild(n.createElement("body"))):window.ActiveXObject&&((n=new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"),n.close()),!n)throw Error("base not supported");var o=n.createElement("base");o.href=r,n.getElementsByTagName("head")[0].appendChild(o);var i=n.createElement("a");return i.href=t,i.href}finally{e&&e.parentNode.removeChild(e)}}());var c=function(e){if(l)return new s(e);var t=document.createElement("a");return t.href=e,t}(t||""),u=function(){if(!("defineProperties"in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(e){return!1}}()?this:document.createElement("a"),f=new i(c.search?c.search.substring(1):null);return f._url_object=u,Object.defineProperties(u,{href:{get:function(){return c.href},set:function(e){c.href=e,n(),a()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in c?c.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return c.protocol},set:function(e){c.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return c.username},set:function(e){c.username=e},enumerable:!0,configurable:!0},password:{get:function(){return c.password},set:function(e){c.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[c.protocol];return e?c.host.replace(e,""):c.host},set:function(e){c.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return c.hostname},set:function(e){c.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return c.port},set:function(e){c.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"===c.pathname.charAt(0)?c.pathname:"/"+c.pathname},set:function(e){c.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return c.search},set:function(e){c.search!==e&&(c.search=e,n(),a())},enumerable:!0,configurable:!0},searchParams:{get:function(){return f},enumerable:!0,configurable:!0},hash:{get:function(){return c.hash},set:function(e){c.hash=e,n()},enumerable:!0,configurable:!0},toString:{value:function(){return c.toString()}
vendor: 1,768 bytes, line 2
2,enumerable:!1,configurable:!0},valueOf:{value:function(){return c.valueOf()},enumerable:!1,configurable:!0}}),u}var l,s=e.URL;try{if(s){if("searchParams"in(l=new e.URL("http://example.com"))){var u=new c("http://example.com");if(u.search="a=1&b=2","http://example.com/?a=1&b=2"===u.href&&(u.search="","http://example.com/"===u.href))return}"href"in l||(l=void 0),l=void 0}}catch(e){}if(Object.defineProperties(i.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(e){for(var t=0;t<this._list.length;)this._list[t].name===e?this._list.splice(t,1):++t;this._update_steps()},writable:!0,enumerable:!0,configurable:!0},get:{value:function(e){for(var t=0;t<this._list.length;++t)if(this._list[t].name===e)return this._list[t].value;return null},writable:!0,enumerable:!0,configurable:!0},getAll:{value:function(e){for(var t=[],r=0;r<this._list.length;++r)this._list[r].name===e&&t.push(this._list[r].value);return t},writable:!0,enumerable:!0,configurable:!0},has:{value:function(e){for(var t=0;t<this._list.length;++t)if(this._list[t].name===e)return!0;return!1},writable:!0,enumerable:!0,configurable:!0},set:{value:function(e,t){for(var r=!1,n=0;n<this._list.length;)this._list[n].name===e?r?this._list.splice(n,1):(this._list[n].value=t,r=!0,++n):++n;r||this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},entries:{value:function(){return new a(this._list,"key+value")},writable:!0,enumerable:!0,configurable:!0},keys:{value:function(){return new a(this._list,"key")},writable:!0,enumerable:!0,configurable:!0},values:{value:function(){return new a(this._list,"value")},writable:!0,enumerable:!0,configurable:!0}
2,forEach:{value:function(e){var t=1<arguments.length?arguments[1]:void 0;this._list.forEach((function(r){e.call(t,r.value,r.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return n(this._list)},writable:!0,enumerable:!1,configurable:!0}}),"Symbol"in e&&"iterator"in e.Symbol&&(Object.defineProperty(i.prototype,e.Symbol.iterator,{value:i.prototype.entries,writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,e.Symbol.iterator,{value:function(){return this},writable:!0,enumerable:!0,configurable:!0})),s)for(var f in s)s.hasOwnProperty(f)&&"function"==typeof s[f]&&(c[f]=s[f]);e.URL=c,e.URLSearchParams=i}(),function(){if("1"!==new e.URLSearchParams([["a",1]]).get("a")||"1"!==new e.URLSearchParams({a:1}).get("a")){var n=e.URLSearchParams;e.URLSearchParams=function(e){if(e&&"object"==typeof e&&t(e)){var o=new n;return r(e).forEach((function(e){if(!t(e))throw TypeError();var n=r(e);if(2!==n.length)throw TypeError();o.append(n[0],n[1])})),o}return e&&"object"==typeof e?(o=new n,Object.keys(e).forEach((function(t){o.set(t,e[t])})),o):new n(e)}}}()}(self)}.call("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{}),function(){var e=function(e){return e=+e,isNaN(e)||e==1/0||e==-1/0?0:e},t=function(e){e=e||document.getElementsByTagName("BODY")[0];var t=window.getComputedStyle(e),r=window.getComputedStyle(e.parent),n=t.overflowX,o=t.overflowY,i=r.overflowX,a=r.overflowY;return("table-column"==t.display||"table-column-group"==t.display)&&"visible"!=i&&"clip"!=i&&"visible"!=a&&"clip"!=a&&"visible"!=n&&"clip"!=n&&"visible"!=o&&"clip"!=o};Element.prototype.scroll||(Element.prototype.scroll=function(){var r,n,o=arguments.length,i=this.ownerDocument,a=i.defaultView,c="BackCompat"==i.compatMode,l=document.getElementsByTagName("BODY")[0],s={};if(i==window.document&&a&&0!==o){if(1===o){var u=arguments[0];if("object"!=typeof u)throw"Failed to execute 'scrollBy' on 'Element': parameter 1 ('options') is not an object.";"left"in u&&(s.left=e(u.left)),"top"in u&&(s.top=e(u.top)),r="left"in s?s.left:this.scrollLeft,n="top"in s?s.top:this.scrollTop}else s.left=r=e(arguments[0]),s.top=n=e(arguments[1]);if(this!=document.documentElement)this!=l||!c||t(l)?(this.scrollLeft=r,this.scrollTop=n):a.scroll(s.left,s.top);else{if(c)return;a.scroll("scrollX"in a?a.scrollX:"pageXOffset"in a?a.pageXOffset:this.scrollLeft,n)}}}),Element.prototype.scrollTo||(Element.prototype.scrollTo=Element.prototype.scroll),Element.prototype.scrollBy||(Element.prototype.scrollBy=function(){var t=arguments.length,r={};if(0!==t){if(1===t){var n=arguments[0];if("object"!=typeof n)throw"Failed to execute 'scrollBy' on 'Element': parameter 1 ('options') is not an object.";"left"in n&&(r.left=e(n.left)),"top"in n&&(r.top=e(n.top))}else r.left=e(arguments[0]),r.top=e(arguments[1]);r.left="left"in r?r.left+this.scrollLeft:this.scrollLeft,r.top="top"in r?r.top+this.scrollTop:this.scrollTop,this.scroll(r)}})}(),function(e){"use strict";function t(){return f.createDocumentFragment()}function r(e){return f.createElement(e)}function n(e,t){if(!e)throw new Error("Failed to construct "+t+": 1 argument required, but only 0 present.")}function o(e){if(1===e.length)return i(e[0]);for(var r=t(),n=P.call(e),o=0;o<e.length;o++)r.appendChild(i(n[o]));return r}function i(e){return"object"==typeof e?e:f.createTextNode(e)}for(var a,c,l,s,u,f=e.document,p=Object.prototype.hasOwnProperty,h=Object.defineProperty||function(e,t,r){return p.call(r,"value")?e[t]=r.value:(p.call(r,"get")&&e.__defineGetter__(t,r.get),p.call(r,"set")&&e.__defineSetter__(t,r.set)),e},d=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},y=function(e){var t=void 0===e.className,r=t?e.getAttribute("class")||"":e.className,n=t||"object"==typeof r,o=(n?t?r:r.baseVal:r).replace(v,"");o.length&&k.push.apply(this,o.split(b)),this._isSVG=n,this._=e},m={get:function(){return new y(this)},set:function(){}},v=/^\s+|\s+$/g,b=/\s+/,g=function(e,t){return this.contains(e)?t||this.remove(e):(void 0===t||t)&&(t=!0,this.add(e)),!!t},w=e.DocumentFragment&&DocumentFragment.prototype,E=e.Node,_=(E||Element).prototype,S=e.CharacterData||E,j=S&&S.prototype,O=e.DocumentType,T=O&&O.prototype,M=(e.Element||E||e.HTMLElement).prototype,x=e.HTMLSelectElement||r("select").constructor,L=x.prototype.remove,A=e.SVGElement,k=["matches",M.matchesSelector||M.webkitMatchesSelector||M.khtmlMatchesSelector||M.mozMatchesSelector||M.msMatchesSelector||M.oMatchesSelector||function(e){var t=this.parentNode;return!!t&&-1<d.call(t.querySelectorAll(e),this)},"closest",function(e){for(var t,r=this;(t=r&&r.matches)&&!r.matches(e);)r=r.parentNode;return t?r:null},"prepend",function(){var e=this.firstChild,t=o(arguments);e?this.insertBefore(t,e):this.appendChild(t)},"append",function(){this.appendChild(o(arguments))},"before",function(){var e=this.parentNode;e&&e.insertBefore(o(arguments),this)},"after",function(){var e=this.parentNode,t=this.nextSibling,r=o(arguments);e&&(t?e.insertBefore(r,t):e.appendChild(r))},"toggleAttribute",function(e,t){var r=this.hasAttribute(e);return 1<arguments.length?r&&!t?this.removeAttribute(e):t&&!r&&this.setAttribute(e,""):r?this.removeAttribute(e):this.setAttribute(e,""),this.hasAttribute(e)},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var e=this.parentNode;e&&e.replaceChild(o(arguments),this)},"remove",function(){var e=this.parentNode;e&&e.removeChild(this)}],P=k.slice,C=k.length;C;C-=2)if((c=k[C-2])in M||(M[c]=k[C-1]),"remove"!==c||L._dom4||((x.prototype[c]=function(){return 0<arguments.length?L.apply(this,arguments):M.remove.call(this)})._dom4=!0),/^(?:before|after|replace|replaceWith|remove)$/.test(c)&&(!S||c in j||(j[c]=k[C-1]),!O||c in T||(T[c]=k[C-1])),/^(?:append|prepend)$/.test(c))if(w)c in w||(w[c]=k[C-1]);else try{t().constructor.prototype[c]=k[C-1]}catch(e){}r("a").matches("a")||(M[c]=function(e){return function(r){return e.call(this.parentNode?this:t().appendChild(this),r)}}(M[c])),y.prototype={length:0,add:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)||k.push.call(this,c);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(e){return function(t){return-1<(C=e.call(this,c=function(e){if(!e)throw"SyntaxError";if(b.test(e))throw"InvalidCharacterError";return e}(t)))}}([].indexOf||function(e){for(C=this.length;C--&&this[C]!==e;);return C}),item:function(e){return this[e]||null},remove:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)&&k.splice.call(this,C,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this}
vendor: 7,352 bytes, line 2
2,toggle:g,toString:function(){return k.join.call(this," ")}},!A||"classList"in A.prototype||h(A.prototype,"classList",m),"classList"in f.documentElement?((s=r("div").classList).add("a","b","a"),"a b"!=s&&("add"in(l=s.constructor.prototype)||(l=e.TemporaryTokenList.prototype),u=function(e){return function(){for(var t=0;t<arguments.length;)e.call(this,arguments[t++])}},l.add=u(l.add),l.remove=u(l.remove),l.toggle=g)):h(M,"classList",m),"contains"in _||h(_,"contains",{value:function(e){for(;e&&e!==this;)e=e.parentNode;return this===e}}),"head"in f||h(f,"head",{get:function(){return a||(a=f.getElementsByTagName("head")[0])}}),function(){for(var t,r=e.requestAnimationFrame,n=e.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!n&&i--;)r=r||e[o[i]+"RequestAnimationFrame"],n=e[o[i]+"CancelAnimationFrame"]||e[o[i]+"CancelRequestAnimationFrame"];n||(r?(t=r,r=function(e){var r=!0;return t((function(){r&&e.apply(this,arguments)})),function(){r=!1}},n=function(e){e()}):(r=function(e){return setTimeout(e,15,15)},n=function(e){clearTimeout(e)})),e.requestAnimationFrame=r,e.cancelAnimationFrame=n}();try{new e.CustomEvent("?")}catch(t){e.CustomEvent=function(e,t){function r(e,t,r,n){this.initEvent(e,t,r),this.detail=n}return function(n,o){var i=f.createEvent(e);if("string"!=typeof n)throw new Error("An event name must be provided");return"Event"==e&&(i.initCustomEvent=r),null==o&&(o=t),i.initCustomEvent(n,o.bubbles,o.cancelable,o.detail),i}}(e.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(t){t=function(e){function t(e,t){n(arguments.length,"Event");var r=f.createEvent("Event");return t||(t={}),r.initEvent(e,!!t.bubbles,!!t.cancelable),r}return t.prototype=e.prototype,t}(e.Event||function(){}),h(e,"Event",{value:t}),Event!==t&&(Event=t)}try{new KeyboardEvent("_",{})}catch(t){t=function(t){function r(e){for(var t=[],r=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],n=0;n<r.length;n+=2)e[r[n]]&&t.push(r[n+1]);return t.join(" ")}function o(e,t){for(var r in t)t.hasOwnProperty(r)&&!t.hasOwnProperty.call(e,r)&&(e[r]=t[r]);return e}function i(e,t,r){try{t[e]=r[e]}catch(e){}}function a(t,a){n(arguments.length,"KeyboardEvent"),a=o(a||{},s);var u,p=f.createEvent(c),h=a.ctrlKey,d=a.shiftKey,y=a.altKey,m=a.metaKey,v=a.altGraphKey,b=l>3?r(a):null,g=String(a.key),w=String(a.char),E=a.location,_=a.keyCode||(a.keyCode=g)&&g.charCodeAt(0)||0,S=a.charCode||(a.charCode=w)&&w.charCodeAt(0)||0,j=a.bubbles,O=a.cancelable,T=a.repeat,M=a.locale,x=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in p)p.initKeyEvent(t,j,O,x,h,y,d,m,_,S);else if(0<l&&"initKeyboardEvent"in p){switch(u=[t,j,O,x],l){case 1:u.push(g,E,h,d,y,m,v);break;case 2:u.push(h,y,d,m,_,S);break;case 3:u.push(g,E,h,y,d,m,v);break;case 4:u.push(g,E,b,T,M);break;default:u.push(char,g,E,b,T,M)}p.initKeyboardEvent.apply(p,u)}else p.initEvent(t,j,O);for(g in p)s.hasOwnProperty(g)&&p[g]!==a[g]&&i(g,p,a);return p}var c,l=0,s={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var u=f.createEvent("KeyboardEvent");u.initKeyboardEvent("keyup",!1,!1,e,"+",3,!0,!1,!0,!1,!1),l="+"==(u.keyIdentifier||u.key)&&3==(u.keyLocation||u.location)&&(u.ctrlKey?u.altKey?1:3:u.shiftKey?2:4)||9}catch(e){}return c=0<l?"KeyboardEvent":"Event",a.prototype=t.prototype,a}(e.KeyboardEvent||function(){}),h(e,"KeyboardEvent",{value:t}),KeyboardEvent!==t&&(KeyboardEvent=t)}try{new MouseEvent("_",{})}catch(t){t=function(t){function r(t,r){n(arguments.length,"MouseEvent");var o=f.createEvent("MouseEvent");return r||(r={}),o.initMouseEvent(t,!!r.bubbles,!!r.cancelable,r.view||e,r.detail||1,r.screenX||0,r.screenY||0,r.clientX||0,r.clientY||0,!!r.ctrlKey,!!r.altKey,!!r.shiftKey,!!r.metaKey,r.button||0,r.relatedTarget||null),o}return r.prototype=t.prototype,r}(e.MouseEvent||function(){}),h(e,"MouseEvent",{value:t}),MouseEvent!==t&&(MouseEvent=t)}f.querySelectorAll("*").forEach||function(){function e(e){var t=e.querySelectorAll;e.querySelectorAll=function(e){var r=t.call(this,e);return r.forEach=Array.prototype.forEach,r}}e(f),e(Element.prototype)}();try{f.querySelector(":scope *")}catch(e){!function(){function e(e,r,n){e.setAttribute(t,null);var o=r.call(e,String(n).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(e,r,n,o){return r+"["+t+"]"+(o||" ")})));return e.removeAttribute(t),o}var t="data-scope-"+(1e9*Math.random()>>>0),r=Element.prototype,n=r.querySelector,o=r.querySelectorAll;r.querySelector=function(t){return e(this,n,t)},r.querySelectorAll=function(t){return e(this,o,t)}}()}}(window),function(e){"use strict";function t(){}function r(e,t,n){function o(e){o.once&&(e.currentTarget.removeEventListener(e.type,t,o),o.removed=!0),o.passive&&(e.preventDefault=r.preventDefault),"function"==typeof o.callback?o.callback.call(this,e):o.callback&&o.callback.handleEvent(e),o.passive&&delete e.preventDefault}return o.type=e,o.callback=t,o.capture=!!n.capture,o.passive=!!n.passive,o.once=!!n.once,o.removed=!1,o}var n=e.WeakMap||function(){function e(e,t,r){c=r,a=!1,n=void 0,e.dispatchEvent(t)}function t(e){this.value=e}function r(){o++,this.__ce__=new i("@DOMMap:"+o+Math.random())}var n,o=0,a=!1,c=!1;return t.prototype.handleEvent=function(e){a=!0,c?e.currentTarget.removeEventListener(e.type,this,!1):n=this.value},r.prototype={constructor:r,delete:function(t){return e(t,this.__ce__,!0),a},get:function(t){e(t,this.__ce__,!1);var r=n;return n=void 0,r},has:function(t){return e(t,this.__ce__,!1),a},set:function(r,n){return e(r,this.__ce__,!0),r.addEventListener(this.__ce__.type,new t(n),!1),this}},r}();t.prototype=(Object.create||Object)(null),r.preventDefault=function(){};var o,i=e.CustomEvent,a=e.dispatchEvent,c=e.addEventListener,l=e.removeEventListener,s=0,u=function(){s++},f=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{c("_",u,{once:!0}),a(new i("_")),a(new i("_")),l("_",u,{once:!0})}catch(e){}1!==s&&function(){function i(e){return function(n,o,i){if(i&&"boolean"!=typeof i){var c,l,s,u=a.get(this),h=p(i);u||a.set(this,u=new t),n in u||(u[n]={handler:[],wrap:[]}),l=u[n],(c=f.call(l.handler,o))<0?(c=l.handler.push(o)-1,l.wrap[c]=s=new t):s=l.wrap[c],h in s||(s[h]=r(n,o,i),e.call(this,n,s[h],s[h].capture))}else e.call(this,n,o,i)}}var a=new n;o=function(e){if(e){var t=e.prototype;t.addEventListener=i(t.addEventListener),t.removeEventListener=function(e){return function(t,r,n){if(n&&"boolean"!=typeof n){var o,i,c,l,s=a.get(this);if(s&&t in s&&(c=s[t],-1<(i=f.call(c.handler,r))&&(o=p(n))in(l=c.wrap[i]))){for(o in e.call(this,t,l[o],l[o].capture),delete l[o],l)return;c.handler.splice(i,1),c.wrap.splice(i,1),0===c.handler.length&&delete s[t]}}else e.call(this,t,r,n)}}(t.removeEventListener)}},e.EventTarget?o(EventTarget):(o(e.Text),o(e.Element||e.HTMLElement),o(e.HTMLDocument),o(e.Window||{prototype:e}),o(e.XMLHttpRequest))}()}(self);var objectFitImages=function(){"use strict";function e(e,t,r){var n=function(e,t){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+e+"' height='"+t+"'%3E%3C/svg%3E"}(t||1,r||0);p.call(e,"src")!==n&&h.call(e,"src",n)}
2function t(e,r){e.naturalWidth?r(e):setTimeout(t,100,e,r)}function r(r){var o=function(e){for(var t,r=getComputedStyle(e).fontFamily,n={};null!==(t=a.exec(r));)n[t[1]]=t[2];return n}(r),c=r[i];if(o["object-fit"]=o["object-fit"]||"fill",!c.img){if("fill"===o["object-fit"])return;if(!c.skipTest&&l&&!o["object-position"])return}if(!c.img){c.img=new Image(r.width,r.height),c.img.srcset=p.call(r,"data-ofi-srcset")||r.srcset,c.img.src=p.call(r,"data-ofi-src")||r.src,h.call(r,"data-ofi-src",r.src),r.srcset&&h.call(r,"data-ofi-srcset",r.srcset),e(r,r.naturalWidth||r.width,r.naturalHeight||r.height),r.srcset&&(r.srcset="");try{n(r)}catch(r){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}(function(e){if(e.srcset&&!f&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}})(c.img),r.style.backgroundImage='url("'+(c.img.currentSrc||c.img.src).replace(/"/g,'\\"')+'")',r.style.backgroundPosition=o["object-position"]||"center",r.style.backgroundRepeat="no-repeat",r.style.backgroundOrigin="content-box",/scale-down/.test(o["object-fit"])?t(c.img,(function(){c.img.naturalWidth>r.width||c.img.naturalHeight>r.height?r.style.backgroundSize="contain":r.style.backgroundSize="auto"})):r.style.backgroundSize=o["object-fit"].replace("none","auto").replace("fill","100% 100%"),t(c.img,(function(t){e(r,t.naturalWidth,t.naturalHeight)}))}function n(e){var t={get:function(t){return e[i].img[t||"src"]},set:function(t,n){return e[i].img[n||"src"]=t,h.call(e,"data-ofi-"+n,t),r(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}function o(e,t){var n=!d&&!e;if(t=t||{},e=e||"img",s&&!t.skipTest||!u)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var a=0;a<e.length;a++)e[a][i]=e[a][i]||{skipTest:t.skipTest},r(e[a]);n&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&o(e.target,{skipTest:t.skipTest})}),!0),d=!0,e="img"),t.watchMQ&&window.addEventListener("resize",o.bind(null,e,{skipTest:t.skipTest}))}var i="fregante:object-fit-images",a=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,c="undefined"==typeof Image?{style:{"object-position":1}}:new Image,l="object-fit"in c.style,s="object-position"in c.style,u="background-size"in c.style,f="string"==typeof c.currentSrc,p=c.getAttribute,h=c.setAttribute,d=!1;return o.supportsObjectFit=l,o.supportsObjectPosition=s,function(){function e(e,t){return e[i]&&e[i].img&&("src"===t||"srcset"===t)?e[i].img:e}s||(HTMLImageElement.prototype.getAttribute=function(t){return p.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,r){return h.call(e(this,t),t,String(r))})}(),o}();objectFitImages();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.