| 1 |
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=8)}([,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=window.regeneratorRuntime},,function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(t,e,n,o,r,u,i){try{var c=t[u](i),f=c.value}catch(t){return void n(t)}c.done?e(f):Promise.resolve(f).then(o,r)}t.exports=function(t){return function(){var e=this,o=arguments;return new Promise((function(r,u){var i=t.apply(e,o);function c(t){n(i,r,u,c,f,"next",t)}function f(t){n(i,r,u,c,f,"throw",t)}c(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},,,function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"initApi",(function(){return l}));var o=n(4),r=n.n(o),u=n(5),i=n.n(u),c=n(2),f=n.n(c);function p(){return a.apply(this,arguments)}function a(){return(a=i()(f.a.mark((function e(){var n,o,r,u,i,c;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=null===(n=t.wpParsely)||void 0===n?void 0:n.apikey,i=null===(o=t.PARSELY)||void 0===o||null===(r=o.config)||void 0===r?void 0:r.parsely_site_uuid,u&&i){e.next=4;break}return e.abrupt("return");case 4:return c="https://api.parsely.com/v2/profile?apikey=".concat(encodeURIComponent(u),"&uuid=").concat(encodeURIComponent(i),"&url=").concat(encodeURIComponent(window.location.href)),e.abrupt("return",fetch(c));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){if("object"!==r()(t.PARSELY))t.PARSELY={onload:p};else{if("function"!=typeof t.PARSELY.onload)return void(t.PARSELY.onload=p);var e=t.PARSELY.onload;t.PARSELY.onload=function(){e&&e(),p()}}}l()}.call(this,n(1))}]); |