LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/6.17.0/initializer.jsm

3 lines
230 KiB
JavaScript
Raw Normal View History

2021-02-28 18:10:28 +01:00
/*! For license information please see initializer.js.LICENSE */
(window.findifyJsonp=window.findifyJsonp||[]).push([[3],{"+2LJ":function(e,t,n){var r=n("0i6L"),o=n("GRPs"),i="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==c||t==i||t==u}},"+MG2":function(e,t,n){"use strict";var r,o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},a=this;Object.defineProperty(t,"__esModule",{value:!0}),n("YZJG");var c=n("rUL2"),u=n("OMN4"),s=n("MEhU"),l=n("qN1k"),f=n("kKBM"),d=n("dCi8"),p=((r={})[d.Method.POST]=function(e){return o(a,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return t={"x-key":e.body.key,"Content-type":"application/json"},c.default("sdk:api:post")("url: ",e.url),c.default("sdk:api:post")("body: ",e.body),c.default("sdk:api:post")("headers: ",t),[4,u.default.post(e.url,e.body,{headers:t})];case 1:return n=r.sent(),c.default("sdk:api:post")("response: ",n),[2,n.data]}}))}))},r[d.Method.JSONP]=function(e,t){var n=s.stringify(e.body,{addQueryPrefix:!0}),r=""+e.url+n;return new Promise((function(n,o){c.default("sdk:api:jsonp")("url: ",r),c.default("sdk:api:jsonp")("options: ",e.options),l.default(r,e.options,(function(r,i){t()===e.id&&(r?o(r):"object"!=typeof i||i instanceof Array?n():n(i))}))}))},r);t.send=function(e,t){return f.retryTimes(e.retryCount,(function(){return p[e.method](e,t)}))}},"+OBi":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("rj/w"),o=n("gNLg").Map(),i=function(){function e(e){this.cache=o,this.resolve=r.debounce(this.invalidate),this.resolver=e,this.invalidate=this.invalidate.bind(this)}return e.prototype.invalidate=function(){this.resolver(this.cache),this.purge()},e.prototype.set=function(e,t){this.cache=this.cache.set(e,t),this.resolve()},e.prototype.reset=function(e){this.cache=e?this.cache.delete(e):o,this.resolve()},e.prototype.purge=function(){this.cache=o},e}();t.Cache=i},"+PzY":function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var i=n("PpOF"),a=n("G7Dt"),c=function(e){return Array.prototype.slice.call(e)},u=function(e){return void 0===e&&(e={}),Object.keys(e).reduce((fu
//# sourceMappingURL=initializer.js.map