PageSourceSearch

https://www.playworks.org/wp-content/themes/playworks/assets/dist/polyfill.min.js?ver=1790563220

js playworks.org collected 2026-10-02 02:12:50 UTC 9,166 bytes, 11 lines download raw bytes

1/*!
2 * DO NOT EDIT THIS FILE.
3 * Generated with `npm run build`
4 *
5 * wdg-wordpress-theme - WDG's opinionated WordPress theme
6 * @version 0.7.0
7 * @author [object Object]
8 * @link 
9 */
10
11"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||(e=>{if("Element"in e){var n="classList",t="prototype",e=e.Element[t],r=Object,i=String[t].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[t].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1},s=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},c=function(t,e){if(""===e)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return o.call(t,e)},u=function(t){for(var e=i.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],r=0,o=n.length;r<o;r++)this.push(n[r]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},a=u[t]=[],l=function(){return new u(this)};if(s[t]=Error[t],a.item=function(t){return this[t]||null},a.contains=function(t){return-1!==c(this,t+="")},a.add=function(){for(var t,e=arguments,n=0,r=e.length,o=!1;-1===c(this,t=e[n]+"")&&(this.push(t),o=!0),++n<r;);o&&this._updateClassName()},a.remove=function(){var t,e,n=arguments,r=0,o=n.length,i=!1;do{for(e=c(this,t=n[r]+"");-1!==e;)this.splice(e,1),i=!0,e=c(this,t)}while(++r<o);i&&this._updateClassName()},a.toggle=function(t,e){var n=this.contains(t+=""),r=n?!0!==e&&"remove":!1!==e&&"add";return r&&this[r](t),!0===e||!1===e?e:!n},a.toString=function(){return this.join(" ")},r.defineProperty){a={get:l,enumerable:!0,configurable:!0};try{r.defineProperty(e,n,a)}catch(t){void 0!==t.number&&-2146823252!==t.number||(a.enumerable=!1,r.defineProperty(e,n,a))}}else r[t].__defineGetter__&&e.__defineGetter__(n,l)}})(window.self),(()=>{var t,n,e=document.createElement("_");e.classList.add("c1","c2"),e.classList.contains("c2")||((t=function(t){var r=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){for(var e=arguments.length,n=0;n<e;n++)r.call(this,arguments[n])}})("add"),t("remove")),e.classList.toggle("c3",!1),e.classList.contains("c3")&&(n=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)})})()),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ES6Promise=e()})(this,function(){function a(t){return"function"==typeof t}function e(){var t=setTimeout;return function(){return t(n,1)}}function n(){for(var t=0;t<i;t+=2)(0,C[t])(C[t+1]),C[t]=void 0,C[t+1]=void 0;i=0}function s(t,e){var n,r=this,o=new this.constructor(u),i=(void 0===o[T]&&_(o),r._state);return i?(n=arguments[i-1],E(function(){return y(i,o,n,r._result)})):v(r,o,t,e),o}function c(t){var e;return t&&"object"==typeof t&&t.constructor===this?t:(h(e=new this(u),t),e)}function u(){}function l(t){try{return t.then}catch(t){return P.error=t,P}}function R(t,r,o){E(function(e){var n=!1,t=((t,e,n,r)=>{try{t.call(e,n,r)}catch(t){return t}})(o,r,function(t){n||(n=!0,(r!==t?h:p)(e,t))},function(t){n||(n=!0,d(e,t))},e._label);!n&&t&&(n=!0,d(e,t))},t)}function f(t,e,n){var r,o;e.constructor===t.constructor&&n===s&&e.constructor.resolve===c?(r=t,(o=e)._state===L?p(r,o._result):o._state===O?d(r,o._result):v(o,void 0,function(t){return h(r,t)},function(t){return d(r,t)})):n===P?(d(t,P.error),P.error=null):void 0!==n&&a(n)?R(t,e,n):p(t,e)}function h(t,e){var n;t===e?d(t,new TypeError("You cannot resolve a promise with itself")):(n=typeof e,null===e||"object"!=n&&"function"!=n?p(t,e):f(t,e,l(e)))}function Y(t){t._onerror&&t._onerror(t._result),m(t)}function p(t,e){t._state===j&&(t._result=e,t._state=L,0!==t._subscribers.length)&&E(m,t)}function d(t,e){t._state===j&&(t._state=O,t._result=e,E(Y,t))}function v(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+L]=n,o[i+O]=r,0===i&&t._state&&E(m,t)}function m(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?y(n,r,o,i):o(i);t._subscribers.length=0}}function y(t,e,n,r){var o=a(n),i=void 0,s=void 0,c=void 0,u=void 0;if(o){if((i=((t,e)=>{try{return t(e)}catch(t){return P.error=t,P}})(n,r))===P?(u=!0,s=i.error,i.error=null):c=!0,e===i)return void d(e,new TypeError("A promises callback cannot return that same promise."))}else i=r,c=!0;e._state===j&&(o&&c?h(e,i):u?d(e,s):t===L?p(e,i):t===O&&d(e,i))}function _(t){t[T]=x++,t._state=void 0,t._result=void 0,t._subscribers=[]}var t,r,o,g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=0,w=void 0,b=void 0,E=function(t,e){C[i]=t,C[i+1]=e,2===(i+=2)&&(b?b(n):F())},A="undefined"!=typeof window?window:void 0,S=A||{},S=S.MutationObserver||S.WebKitMutationObserver,M="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),q="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,C=new Array(1e3),F=void 0,F=M?function(){return process.nextTick(n)}:S?(r=0,M=new S(n),o=document.createTextNode(""),M.observe(o,{characterData:!0}
11),function(){o.data=r=++r%2}):q?((t=new MessageChannel).port1.onmessage=n,function(){return t.port2.postMessage(0)}):(void 0===A&&"function"==typeof require?()=>{try{var t=Function("return this")().require("vertx");return void 0!==(w=t.runOnLoop||t.runOnContext)?function(){w(n)}:e()}catch(t){return e()}}:e)(),T=Math.random().toString(36).substring(2),j=void 0,L=1,O=2,P={error:null},x=0,G=(k.prototype._enumerate=function(t){for(var e=0;this._state===j&&e<t.length;e++)this._eachEntry(t[e],e)},k.prototype._eachEntry=function(e,t){var n,r,o=this._instanceConstructor,i=o.resolve;i===c?(n=l(e))===s&&e._state!==j?this._settledAt(e._state,t,e._result):"function"!=typeof n?(this._remaining--,this._result[t]=e):o===D?(f(r=new o(u),e,n),this._willSettleAt(r,t)):this._willSettleAt(new o(function(t){return t(e)}),t):this._willSettleAt(i(e),t)},k.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===j&&(this._remaining--,t===O?d(r,n):this._result[e]=n),0===this._remaining&&p(r,this._result)},k.prototype._willSettleAt=function(t,e){var n=this;v(t,void 0,function(t){return n._settledAt(L,e,t)},function(t){return n._settledAt(O,e,t)})},k),D=(N.prototype.catch=function(t){return this.then(null,t)},N.prototype.finally=function(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})})},N);function N(t){if(this[T]=x++,this._result=this._state=void 0,this._subscribers=[],u!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof N))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object c
11onstructor cannot be called as a function.");var e=this;try{t(function(t){h(e,t)},function(t){d(e,t)})}catch(t){d(e,t)}}}function k(t,e){this._instanceConstructor=t,this.promise=new t(u),this.promise[T]||_(this.promise),g(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(e),0!==this._remaining)||p(this.promise,this._result)):d(this.promise,new Error("Array Methods must be provided an Array"))}return D.prototype.then=s,D.all=function(t){return new G(this,t).promise},D.race=function(o){var i=this;return new i(g(o)?function(t,e){for(var n=o.length,r=0;r<n;r++)i.resolve(o[r]).then(t,e)}:function(t,e){return e(new TypeError("You must pass an array to race."))})},D.resolve=c,D.reject=function(t){var e=new this(u);return d(e,t),e},D._setScheduler=function(t){b=t},D._setAsap=function(t){E=t},D._asap=E,D.polyfill=function(){var t=void 0;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=D},(D.Promise=D).polyfill(),D}),"function"!=typeof Array.from&&(Array.from=function(t){return Array.prototype.slice.call(t)}),(()=>{function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)})(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;0<=--n&&e.item(n)!==this;);return-1<n});

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.