PluginProbe
Parse.ly / 3.2.1
Parse.ly v3.2.1
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
wp-parsely / build / loader.js

loader.js in Parse.ly 3.2.1, at build/loader.js

1 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 !function(){"use strict";var n={n:function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,{a:t}),t},d:function(o,t){for(var e in t)n.o(t,e)&&!n.o(o,e)&&Object.defineProperty(o,e,{enumerable:!0,get:t[e]})}};n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),n.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},function(){function n(o){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(o)}var o=window.wp.hooks;window.wpParselyHooks=(0,o.createHooks)(),function(){var o=function(){return window.wpParselyHooks.doAction("wpParselyOnLoad")};if("object"!==n(window.PARSELY))window.PARSELY={onload:o};else{if("function"!=typeof window.PARSELY.onload)return void(window.PARSELY.onload=o);var t=window.PARSELY.onload;window.PARSELY.onload=function(){t&&t(),o()}}}()}(),function(){function o(n,o,t,e,r,i,u){try{var c=n[i](u),a=c.value}catch(n){return void t(n)}c.done?o(a):Promise.resolve(a).then(e,r)}function t(n){return function(){var t=this,e=arguments;return new Promise((function(r,i){var u=n.apply(t,e);function c(n){o(u,r,i,c,a,"next",n)}function a(n){o(u,r,i,c,a,"throw",n)}c(void 0)}))}}var e=window.regeneratorRuntime,r=n.n(e);function i(){return(i=t(r().mark((function o(){var t,e,i,u;return r().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=null===(t=n.g.PARSELY)||void 0===t||null===(e=t.config)||void 0===e?void 0:e.parsely_site_uuid,window.wpParselyApiKey&&i){o.next=3;break}return o.abrupt("return");case 3:return u="https://api.parsely.com/v2/profile?apikey=".concat(encodeURIComponent(window.wpParselyApiKey),"&uuid=").concat(encodeURIComponent(i),"&url=").concat(encodeURIComponent(window.location.href)),o.abrupt("return",fetch(u));case 5:case"end":return o.stop()}}),o)})))).apply(this,arguments)}void 0!==window.wpParselyApiKey&&window.wpParselyHooks.addAction("wpParselyOnLoad","wpParsely",(function(){return i.apply(this,arguments)}))}()}();