@pushwoosh/session-store 2.3.5 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/user.d.ts +0 -10
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/entities/user.d.ts
CHANGED
|
@@ -23,16 +23,6 @@ export declare class User {
|
|
|
23
23
|
readonly intercomUserHash: string;
|
|
24
24
|
/** Подписан ли пользователь на получение новостей */
|
|
25
25
|
readonly isSubscribedForNewsletters: boolean;
|
|
26
|
-
/** Подписан ли пользователь на получение ежедневных отчетов */
|
|
27
|
-
readonly isSubscribedForDailyStatsGlobal: boolean;
|
|
28
|
-
/** Подписан ли пользователь на получение сообщений о превышении лимита подписчиков */
|
|
29
|
-
readonly isSubscribedForNotificationSubscribersLimitReached: boolean;
|
|
30
|
-
/** Подписан ли пользователь на получения сообщений об истечении срока действия Apple сертификата */
|
|
31
|
-
readonly isSubscribedForNotificationExpiredIOSCertificate: boolean;
|
|
32
|
-
/** Подписан ли пользователь на получение сообщений об отсутствии активности */
|
|
33
|
-
readonly isSubscribedForNotificationUserInactivity: boolean;
|
|
34
|
-
/** Подписан ли пользователь на получение сообщений об отключении платформ */
|
|
35
|
-
readonly isSubscribedForNotificationDisablePlatform: boolean;
|
|
36
26
|
constructor(accountData: AuthInfoAccountAsObject, userData: AuthInfoUserAsObject);
|
|
37
27
|
}
|
|
38
28
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/entities/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,KAAK,uBAAuB,GAAG,UAAU,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;AAChH,KAAK,oBAA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gC;IAChC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IAEjC,2CAA2C;IAC3C,SAAgB,cAAc,EAAE,MAAM,CAAC;IAEvC,+CAA+C;IAC/C,SAAgB,YAAY,EAAE,MAAM,CAAC;IAErC,qDAAqD;IACrD,SAAgB,gBAAgB,EAAE,MAAM,CAAC;IAEzC,qDAAqD;IACrD,SAAgB,0BAA0B,EAAE,OAAO,CAAC;gBAExC,WAAW,EAAE,uBAAuB,EAAE,QAAQ,EAAE,oBAAoB;CAkBjF"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("rxjs"),require("@pushwoosh/grpc-bridge")):"function"==typeof define&&define.amd?define(["tslib","rxjs","@pushwoosh/grpc-bridge"],e):"object"==typeof exports?exports["@pushwoosh/session-store"]=e(require("tslib"),require("rxjs"),require("@pushwoosh/grpc-bridge")):t["@pushwoosh/session-store"]=e(t.tslib,t.rxjs,t["@pushwoosh/grpc-bridge"])}(self,((t,e,s)=>(()=>{var i={1157:t=>{"use strict";t.exports=s},3961:t=>{"use strict";t.exports=e},5652:e=>{"use strict";e.exports=t},8628:(t,e,s)=>{t.exports=s(6343)},3981:(t,e,s)=>{t.exports=s(6462)},1362:(t,e,s)=>{"use strict";s(9748);var i=s(1747);t.exports=i("Array","includes")},6880:(t,e,s)=>{"use strict";var i=s(8280),r=s(1362),o=s(4378),n=Array.prototype,a=String.prototype;t.exports=function(t){var e=t.includes;return t===n||i(n,t)&&e===n.includes?r:"string"==typeof t||t===a||i(a,t)&&e===a.includes?o:e}},9929:(t,e,s)=>{"use strict";s(9502);var i=s(2046);t.exports=i.parseFloat},4378:(t,e,s)=>{"use strict";s(9770);var i=s(1747);t.exports=i("String","includes")},2159:(t,e,s)=>{"use strict";var i=s(2250),r=s(4640),o=TypeError;t.exports=function(t){if(i(t))return t;throw new o(r(t)+" is not a function")}},2156:t=>{"use strict";t.exports=function(){}},6624:(t,e,s)=>{"use strict";var i=s(6285),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw new o(r(t)+" is not an object")}},4436:(t,e,s)=>{"use strict";var i=s(7374),r=s(4849),o=s(575),n=function(t){return function(e,s,n){var a=i(e),u=o(a);if(0===u)return!t&&-1;var l,c=r(n,u);if(t&&s!=s){for(;u>c;)if((l=a[c++])!=l)return!0}else for(;u>c;c++)if((t||c in a)&&a[c]===s)return t||c||0;return!t&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}},5807:(t,e,s)=>{"use strict";var i=s(1907),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},3948:(t,e,s)=>{"use strict";var i=s(2623),r=s(2250),o=s(5807),n=s(6264)("toStringTag"),a=Object,u="Arguments"===o(function(){return arguments}());t.exports=i?o:function(t){var e,s,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(e=a(t),n))?s:u?o(e):"Object"===(i=o(e))&&r(e.callee)?"Arguments":i}},5735:(t,e,s)=>{"use strict";var i=s(6264)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(s){try{return e[i]=!1,"/./"[t](e)}catch(t){}}return!1}},1626:(t,e,s)=>{"use strict";var i=s(9447),r=s(4284),o=s(5817);t.exports=i?function(t,e,s){return r.f(t,e,o(1,s))}:function(t,e,s){return t[e]=s,t}},5817:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2532:(t,e,s)=>{"use strict";var i=s(1010),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(s){i[t]=e}return e}},9447:(t,e,s)=>{"use strict";var i=s(8828);t.exports=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:(t,e,s)=>{"use strict";var i=s(1010),r=s(6285),o=i.document,n=r(o)&&r(o.createElement);t.exports=function(t){return n?o.createElement(t):{}}},4723:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5683:(t,e,s)=>{"use strict";var i,r,o=s(1010),n=s(4723),a=o.process,u=o.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(r=(i=c.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&n&&(!(i=n.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},1091:(t,e,s)=>{"use strict";var i=s(1010),r=s(6024),o=s(2361),n=s(2250),a=s(3846).f,u=s(7463),l=s(2046),c=s(8311),p=s(1626),h=s(9724);s(6128);var d=function(t){var e=function(s,i,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(s);case 2:return new t(s,i)}return new t(s,i,o)}return r(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var s,r,f,m,v,b,g,y,w,x=t.target,S=t.global,A=t.stat,C=t.proto,O=S?i:A?i[x]:i[x]&&i[x].prototype,M=S?l:l[x]||p(l,x,{})[x],E=M.prototype;for(m in e)r=!(s=u(S?m:x+(A?".":"#")+m,t.forced))&&O&&h(O,m),b=M[m],r&&(g=t.dontCallGetSet?(w=a(O,m))&&w.value:O[m]),v=r&&g?g:e[m],(s||C||typeof b!=typeof v)&&(y=t.bind&&r?c(v,i):t.wrap&&r?d(v):C&&n(v)?o(v):v,(t.sham||v&&v.sham||b&&b.sham)&&p(y,"sham",!0),p(M,m,y),C&&(h(l,f=x+"Prototype")||p(l,f,{}),p(l[f],m,v),t.real&&E&&(s||!E[m])&&p(E,m,v)))}},8828:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},6024:(t,e,s)=>{"use strict";var i=s(1505),r=Function.prototype,o=r.apply,n=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?n.bind(o):function(){return n.apply(o,arguments)})},8311:(t,e,s)=>{"use strict";var i=s(2361),r=s(2159),o=s(1505),n=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?n(t,e):function(){return t.apply(e,arguments)}}},1505:(t,e,s)=>{"use strict";var i=s(8828);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},3930:(t,e,s)=>{"use strict";var i=s(1505),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},2361:(t,e,s)=>{"use strict";var i=s(5807),r=s(1907);t.exports=function(t){if("Function"===i(t))return r(t)}},1907:(t,e,s)=>{"use strict";var i=s(1505),r=Function.prototype,o=r.call,n=i&&r.bind.bind(o,o);t.exports=i?n:function(t){return function(){return o.apply(t,arguments)}}},1747:(t,e,s)=>{"use strict";var i=s(1010),r=s(2046);t.exports=function(t,e){var s=r[t+"Prototype"],o=s&&s[e];if(o)return o;var n=i[t],a=n&&n.prototype;return a&&a[e]}},5582:(t,e,s)=>{"use strict";var i=s(2046),r=s(1010),o=s(2250),n=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?n(i[t])||n(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e]}},9367:(t,e,s)=>{"use strict";var i=s(2159),r=s(7136);t.exports=function(t,e){var s=t[e];return r(s)?void 0:i(s)}},1010:function(t,e,s){"use strict";var i=function(t){return t&&t.Math===Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof s.g&&s.g)||i("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9724:(t,e,s)=>{"use strict";var i=s(1907),r=s(9298),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},3648:(t,e,s)=>{"use strict";var i=s(9447),r=s(8828),o=s(9552);t.exports=!i&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},6946:(t,e,s)=>{"use strict";var i=s(1907),r=s(8828),o=s(5807),n=Object,a=i("".split);t.exports=r((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?a(t,""):n(t)}:n},2250:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},7463:(t,e,s)=>{"use strict";var i=s(8828),r=s(2250),o=/#|\.prototype\./,n=function(t,e){var s=u[a(t)];return s===c||s!==l&&(r(e)?i(e):!!e)},a=n.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=n.data={},l=n.NATIVE="N",c=n.POLYFILL="P";t.exports=n},7136:t=>{"use strict";t.exports=function(t){return null==t}},6285:(t,e,s)=>{"use strict";var i=s(2250);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},7376:t=>{"use strict";t.exports=!0},2087:(t,e,s)=>{"use strict";var i=s(6285),r=s(5807),o=s(6264)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===r(t))}},5594:(t,e,s)=>{"use strict";var i=s(5582),r=s(2250),o=s(8280),n=s(1175),a=Object;t.exports=n?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&o(e.prototype,a(t))}},575:(t,e,s)=>{"use strict";var i=s(3121);t.exports=function(t){return i(t.length)}},1176:t=>{"use strict";var e=Math.ceil,s=Math.floor;t.exports=Math.trunc||function(t){var i=+t;return(i>0?s:e)(i)}},2074:(t,e,s)=>{"use strict";var i=s(2087),r=TypeError;t.exports=function(t){if(i(t))throw new r("The method doesn't accept regular expressions");return t}},7213:(t,e,s)=>{"use strict";var i=s(1010),r=s(8828),o=s(1907),n=s(160),a=s(5993).trim,u=s(6395),l=o("".charAt),c=i.parseFloat,p=i.Symbol,h=p&&p.iterator,d=1/c(u+"-0")!=-1/0||h&&!r((function(){c(Object(h))}));t.exports=d?function(t){var e=a(n(t)),s=c(e);return 0===s&&"-"===l(e,0)?-0:s}:c},4284:(t,e,s)=>{"use strict";var i=s(9447),r=s(3648),o=s(8661),n=s(6624),a=s(470),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",d="writable";e.f=i?o?function(t,e,s){if(n(t),e=a(e),n(s),"function"==typeof t&&"prototype"===e&&"value"in s&&d in s&&!s[d]){var i=c(t,e);i&&i[d]&&(t[e]=s.value,s={configurable:h in s?s[h]:i[h],enumerable:p in s?s[p]:i[p],writable:!1})}return l(t,e,s)}:l:function(t,e,s){if(n(t),e=a(e),n(s),r)try{return l(t,e,s)}catch(t){}if("get"in s||"set"in s)throw new u("Accessors not supported");return"value"in s&&(t[e]=s.value),t}},3846:(t,e,s)=>{"use strict";var i=s(9447),r=s(3930),o=s(2574),n=s(5817),a=s(7374),u=s(470),l=s(9724),c=s(3648),p=Object.getOwnPropertyDescriptor;e.f=i?p:function(t,e){if(t=a(t),e=u(e),c)try{return p(t,e)}catch(t){}if(l(t,e))return n(!r(o.f,t,e),t[e])}},8280:(t,e,s)=>{"use strict";var i=s(1907);t.exports=i({}.isPrototypeOf)},2574:(t,e)=>{"use strict";var s={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!s.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:s},581:(t,e,s)=>{"use strict";var i=s(3930),r=s(2250),o=s(6285),n=TypeError;t.exports=function(t,e){var s,a;if("string"===e&&r(s=t.toString)&&!o(a=i(s,t)))return a;if(r(s=t.valueOf)&&!o(a=i(s,t)))return a;if("string"!==e&&r(s=t.toString)&&!o(a=i(s,t)))return a;throw new n("Can't convert object to primitive value")}},2046:t=>{"use strict";t.exports={}},4239:(t,e,s)=>{"use strict";var i=s(7136),r=TypeError;t.exports=function(t){if(i(t))throw new r("Can't call method on "+t);return t}},6128:(t,e,s)=>{"use strict";var i=s(7376),r=s(1010),o=s(2532),n="__core-js_shared__",a=t.exports=r[n]||o(n,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:i?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5816:(t,e,s)=>{"use strict";var i=s(6128);t.exports=function(t,e){return i[t]||(i[t]=e||{})}},5993:(t,e,s)=>{"use strict";var i=s(1907),r=s(4239),o=s(160),n=s(6395),a=i("".replace),u=RegExp("^["+n+"]+"),l=RegExp("(^|[^"+n+"])["+n+"]+$"),c=function(t){return function(e){var s=o(r(e));return 1&t&&(s=a(s,u,"")),2&t&&(s=a(s,l,"$1")),s}};t.exports={start:c(1),end:c(2),trim:c(3)}},9846:(t,e,s)=>{"use strict";var i=s(5683),r=s(8828),o=s(1010).String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},4849:(t,e,s)=>{"use strict";var i=s(5482),r=Math.max,o=Math.min;t.exports=function(t,e){var s=i(t);return s<0?r(s+e,0):o(s,e)}},7374:(t,e,s)=>{"use strict";var i=s(6946),r=s(4239);t.exports=function(t){return i(r(t))}},5482:(t,e,s)=>{"use strict";var i=s(1176);t.exports=function(t){var e=+t;return e!=e||0===e?0:i(e)}},3121:(t,e,s)=>{"use strict";var i=s(5482),r=Math.min;t.exports=function(t){var e=i(t);return e>0?r(e,9007199254740991):0}},9298:(t,e,s)=>{"use strict";var i=s(4239),r=Object;t.exports=function(t){return r(i(t))}},6028:(t,e,s)=>{"use strict";var i=s(3930),r=s(6285),o=s(5594),n=s(9367),a=s(581),u=s(6264),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var s,u=n(t,c);if(u){if(void 0===e&&(e="default"),s=i(u,t,e),!r(s)||o(s))return s;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},470:(t,e,s)=>{"use strict";var i=s(6028),r=s(5594);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},2623:(t,e,s)=>{"use strict";var i={};i[s(6264)("toStringTag")]="z",t.exports="[object z]"===String(i)},160:(t,e,s)=>{"use strict";var i=s(3948),r=String;t.exports=function(t){if("Symbol"===i(t))throw new TypeError("Cannot convert a Symbol value to a string");return r(t)}},4640:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6499:(t,e,s)=>{"use strict";var i=s(1907),r=0,o=Math.random(),n=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++r+o,36)}},1175:(t,e,s)=>{"use strict";var i=s(9846);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8661:(t,e,s)=>{"use strict";var i=s(9447),r=s(8828);t.exports=i&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6264:(t,e,s)=>{"use strict";var i=s(1010),r=s(5816),o=s(9724),n=s(6499),a=s(9846),u=s(1175),l=i.Symbol,c=r("wks"),p=u?l.for||l:l&&l.withoutSetter||n;t.exports=function(t){return o(c,t)||(c[t]=a&&o(l,t)?l[t]:p("Symbol."+t)),c[t]}},6395:t=>{"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9748:(t,e,s)=>{"use strict";var i=s(1091),r=s(4436).includes,o=s(8828),n=s(2156);i({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")},9502:(t,e,s)=>{"use strict";var i=s(1091),r=s(7213);i({global:!0,forced:parseFloat!==r},{parseFloat:r})},9770:(t,e,s)=>{"use strict";var i=s(1091),r=s(1907),o=s(2074),n=s(4239),a=s(160),u=s(5735),l=r("".indexOf);i({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(a(n(this)),a(o(t)),arguments.length>1?arguments[1]:void 0)}})},6343:(t,e,s)=>{"use strict";var i=s(6880);t.exports=i},6462:(t,e,s)=>{"use strict";var i=s(9929);t.exports=i}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var s=r[t]={exports:{}};return i[t].call(s.exports,s,s.exports,o),s.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var s in e)o.o(e,s)&&!o.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";o.r(n),o.d(n,{Account:()=>i,Counters:()=>p,Permissions:()=>r,Platform:()=>e,PlatformName:()=>s,Platforms:()=>l,ProductType:()=>t,Restrictions:()=>c,SessionStore:()=>w,User:()=>f});var t;!function(t){t.FREE="Free",t.DEVELOPER="Developer",t.MARKETING="Marketing",t.ENTERPRISE="Enterprise"}(t||(t={}));var e,s,i=function(t){var e,s,i,r,o,n,a,u,l,c,p,h,d,f,m,v,b,g,y,w,x,S,A,C,O;this.id=t.id,this.name=t.name,this.domain=t.domain,this.registrationDate=(S=t.registrationDate,A=(null==S?void 0:S.seconds)||0,C=(null==S?void 0:S.nanos)||0,new Date(1e3*A+C/1e6).toISOString()),this.hasActiveOrder=t.hasActiveOrder,this.currentOrder=t.currentOrder,this.billing={companyName:null===(e=t.billingAddress)||void 0===e?void 0:e.companyName,accountCompanyName:null===(s=t.billingAddress)||void 0===s?void 0:s.accountCompanyName,companyCountry:null===(i=t.billingAddress)||void 0===i?void 0:i.country,companyCountryCode:null===(r=t.billingAddress)||void 0===r?void 0:r.countryCode,companyState:null===(o=t.billingAddress)||void 0===o?void 0:o.state,companyStateCode:null===(n=t.billingAddress)||void 0===n?void 0:n.stateCode,companyCity:null===(a=t.billingAddress)||void 0===a?void 0:a.city,companyStreet:null===(u=t.billingAddress)||void 0===u?void 0:u.street,companyZip:null===(l=t.billingAddress)||void 0===l?void 0:l.zipCode,companyPhone:null===(c=t.billingAddress)||void 0===c?void 0:c.phone,companyVAT:null===(p=t.billingAddress)||void 0===p?void 0:p.vatNumber,companyNumber:null===(h=t.billingAddress)||void 0===h?void 0:h.companyNumber,primaryPersonFirstName:null===(d=t.billingAddress)||void 0===d?void 0:d.firstName,primaryPersonLastName:null===(f=t.billingAddress)||void 0===f?void 0:f.lastName,primaryPersonEmail:null===(m=t.billingAddress)||void 0===m?void 0:m.paymentEmail,secondaryPersonFirstName:null===(v=t.billingAddress)||void 0===v?void 0:v.secondaryPersonFirstName,secondaryPersonLastName:null===(b=t.billingAddress)||void 0===b?void 0:b.secondaryPersonLastName,secondaryPersonEmail:null===(g=t.billingAddress)||void 0===g?void 0:g.secondaryPersonEmail,industry:null===(y=t.billingAddress)||void 0===y?void 0:y.industry,department:null===(w=t.billingAddress)||void 0===w?void 0:w.department,additionalEmails:(O=null===(x=t.billingAddress)||void 0===x?void 0:x.additionalEmailsList,O?O.join(", "):"")},this.productType=t.productType,this.productName=t.restriction,this.isEnterprise=t.isEnterprise,this.expiryDate=t.expireDate,this.isFrozen=t.frozen,this.isDeviceLimitReached=t.isDeviceLimitReached,this.statistics={totalSubscribers:t.pushNotAvailableSubscribers+t.pushAvailableSubscribers,pushAvailableSubscribers:t.pushAvailableSubscribers,pushNotAvailableSubscribers:t.pushNotAvailableSubscribers,freeEmailsQuotaUpdateDate:t.freeEmailLimitUpdateDate,paidEmailsQuotaExpiryDate:t.paidEmailExpireDate},Object.freeze(this.currentOrder),Object.freeze(this.billing),Object.freeze(this.statistics),Object.freeze(this)},r=function(t){this.hasSuperRights=t.aceSuperRight,this.canManageSubscription=t.aceManageSubscription,this.canManageAccessTokens=t.aceSeeApiAccess,this.canManageDomainsAndEmails=t.aceDomainAndEmailVerification,this.canManageSubUsers=t.aceManageUsers,this.canSeeApplications=t.aceSeeApplications,this.canModifyApplications=t.aceModifyApplications,this.canSeeApplicationGroups=t.aceSeeAppGroups,this.canModifyApplicationGroups=t.aceModifyAppGroups,this.canSeeMessages=t.aceSeeMessages,this.canModifyMessages=t.aceModifyMessages&&this.canSeeMessages,this.canSendMessages=t.aceSendMessages&&this.canSeeMessages,this.canSeeTags=t.aceSeeTags,this.canModifyTags=t.aceModifyTags,this.canSeeSegments=t.aceSeeFilters&&this.canSeeTags,this.canModifySegments=t.aceModifyFilters&&this.canSeeTags,this.canSeeRichMedia=t.aceSeeRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canModifyRichMedia=t.aceModifyRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canSeeInApps=this.canSeeTags&&this.canSeeSegments&&this.canSeeRichMedia,this.canSeeEmailTemplates=t.aceSeeEmailTemplates&&this.canSeeTags,this.canModifyEmailTemplates=t.aceModifyEmailTemplates&&this.canSeeTags,Object.freeze(this)},a=o(8628),u=o.n(a);!function(t){t[t.IOS=1]="IOS",t[t.ANDROID=3]="ANDROID",t[t.MAC_OS=7]="MAC_OS",t[t.WINDOWS=8]="WINDOWS",t[t.AMAZON=9]="AMAZON",t[t.SAFARI=10]="SAFARI",t[t.CHROME=11]="CHROME",t[t.FIREFOX=12]="FIREFOX",t[t.IE=13]="IE",t[t.EMAIL=14]="EMAIL",t[t.BAIDU=16]="BAIDU",t[t.HUAWEI=17]="HUAWEI",t[t.SMS=18]="SMS",t[t.XIAOMI=19]="XIAOMI",t[t.WHATSAPP=21]="WHATSAPP"}(e||(e={})),function(t){t.IOS="iOS",t.ANDROID="Android",t.MAC_OS="Mac OS",t.WINDOWS="Windows",t.AMAZON="Amazon",t.SAFARI="Safari",t.CHROME="Chrome",t.FIREFOX="Firefox",t.IE="Internet Explorer",t.EMAIL="Email",t.BAIDU="Baidu",t.HUAWEI="Huawei",t.SMS="SMS",t.XIAOMI="Xiaomi",t.WHATSAPP="WhatsApp"}(s||(s={}));var l=function(){function t(e){var s=this;this.checkIsAvailablePlatform=function(t){var e;return u()(e=s.available).call(e,t)},this.available=t.filterAllowPlatforms(e.allowedPlatformsList),Object.freeze(this)}return t.filterAllowPlatforms=function(t){var s=Object.values(e);return t.filter((function(t){return u()(s).call(s,t)}))},t.getPlatformName=function(t){var i=Object.keys(s).find((function(s){return e[s]===t}));return i?s[i]:"Unknown platform!"},t}(),c=function(t){var e=t.restrictions;this.allowUseSubUsers=e.maxusers>1,this.maxUsersCount=e.maxusers,this.allowUseBaiduAndroid=e.allowbaiduandroidplatformusage,this.maxDevicesCount=e.maxdevices,this.maxApplicationsCount=e.maxapps,this.maxApplicationGroupsCount=e.maxapplicationgroups,this.allowUseApplicationGroups=this.maxApplicationGroupsCount>1,this.maxCampaignsCount=e.maxcampaigns,this.allowUseCampaigns=this.maxCampaignsCount>1,this.maxTagsCount=e.maxtags,this.allowUseTags=this.maxTagsCount>0,this.allowUseUserSpecificTags=e.maxuserspecifictags>0,this.maxFiltersCount=e.maxfilters,this.maxFastFiltersCount=e.maxpreparedfilters,this.allowUseFilters=this.maxFiltersCount>0,this.allowUseFiltersCompiling=e.allowcompilefilter,this.allowUseFiltersWithTagNotSet=e.allowtagnotsetfilter,this.maxEventsCount=e.maxevents,this.allowUseEvents=this.maxEventsCount>0,this.maxRichMediaCount=e.maxrichmedia,this.allowUseRichMedia=this.maxRichMediaCount>0,this.maxInAppsCount=e.maxinapps,this.allowUseInApps=this.maxInAppsCount>0,this.maxMailsCount=e.maxverifyingemails,this.maxDomainsCount=e.maxverifyingdomains,this.maxEmailTemplatesCount=e.maxemailtemplates,this.allowUseEmailPlatform=this.maxEmailTemplatesCount>0,this.maxPresetsCount=e.maxpresets,this.allowUsePresets=this.maxPresetsCount>0,this.maxAutoPushesCount=e.maxautopushes,this.allowUseAutoPushes=this.maxAutoPushesCount>0,this.allowUseGeozones=e.allowgeozoneapi,this.allowUseSendToGeozones=e.allowsendtogeozone,this.maxGeozonesCount=e.maxgeozones,this.maxGeozoneRange=e.maxgeozonerange,this.minGeozoneRange=50,this.maxDeepLinksCount=e.maxdeeplinks,this.allowUseDeepLinks=this.maxDeepLinksCount>0,this.maxTwitterFeedsCount=e.maxtwitterfeeds,this.allowUseTwitterFeeds=this.maxTwitterFeedsCount>0,this.maxRssFeedsCount=e.maxrssfeeds,this.allowUseRssFeeds=this.maxRssFeedsCount>0,this.allowUseRssFeedsCustomPollingInterval=e.allowcustomrsspollinginterval,this.maxTestDevicesCount=e.maxtestdevices,this.allowUseTestDevices=this.maxTestDevicesCount>0,this.allowUseAccessTokens=e.allowapi,this.allowUseDataKeys=e.allowcustomdata,this.allowUseStatistics=e.allowstatsaccess,this.allowUseScheduling=e.allowscheduling,this.allowUseIOSAutoConfig=e.allowautoconfig,this.allowUseTwoFactorAuth=e.allowtwofactorauth,this.allowUseSendMessageByCsv=e.allowcsvmessage,this.allowUseAbTests=e.allowabtests,this.allowUseHtmlPages=!1,this.allowUseRemotePage=e.allowremotepage,this.allowUseIOSCategories=e.maxioscategories>0,this.allowUseGoalTracking=e.allowgoaltracking,this.allowUseGetMessageLog=e.allowapigetmessagelog,this.allowUseIEPlatform=e.allowieplatformusage,this.allowUseDebugMode=e.allowdebugmode,this.allowUseUninstallTracking=e.allowtrackuninstalls,this.allowUseFrequencyCapping=e.allowfrequencycapping,this.allowUseInbox=e.allowinbox,this.maxInboxTtlDays=e.maxinboxttldays,this.allowUseSendExternalAndroidStatistics=e.allowsendexternalstats,this.allowUseGDPR=e.allowgdpr,this.sendRateMin=e.minsendrate,this.sendRateMax=e.maxsendrate,this.messageHistoryStoriedPeriodInDays=e.messagehistorystoreperiod,this.allowShowDeliveryStatistics=e.allowshowdeliverystatistics,this.allowBestTimeToSend=e.allowbesttimetosend,this.allowSegmentsGroups=e.allowsegmentsgroups,this.allowEventSegmentation=e.alloweventsegmentation,this.allowCustomerJourney=e.allowcustomerjourney,this.allowEventsFunnel=e.alloweventsfunnel,this.isEnabledBackup=e.allowbackup,this.allowChannelsSection=e.allowchannelssection,this.allowUseSMSPlatform=e.allowcjsms,this.allowUseWhatsAppPlatform=e.allowwhatsapp,Object.freeze(this)},p=function(t){this.totalApplicationsCount=t.applicationsCount,this.totalApplicationGroupsCount=t.appGroupsCount,this.totalCampaignsCount=t.campaignsCount,this.totalTagsCount=t.tagsCount,this.totalFiltersCount=t.filtersCount,this.totalEventsCount=t.eventsCount,this.totalRichMediaCount=t.richMediaCount,this.totalInAppsCount=t.inAppsCount,this.totalDomainsCount=t.accountDomainsCount,this.totalMailsCount=t.accountMailsCount,this.totalEmailTemplatesCount=t.emailTemplatesCount,this.totalPresetsCount=t.presetsCount,this.totalAutoPushesCount=t.autoPushesCount,this.totalGeozonesCount=t.geoZonesCount,this.totalDeepLinksCount=t.deeplinksCount,this.totalRssFeedsCount=t.rssFeedsCount,this.totalTestDevicesCount=t.testDevicesCount},h=o(3981),d=o.n(h),f=function(t,e){this.name=e.username,this.email=e.email,this.isActive=e.isActive,this.isOwner=t.admin,this.timezone=e.timezone,this.timezoneOffset=60*d()(e.timezoneOffset),this.accountCount=e.accountsCount,this.intercomUserHash=e.intercomUserHash,this.isSubscribedForNewsletters=e.allowNewsletters,this.isSubscribedForDailyStatsGlobal=e.allowDailyStatsGlobal,this.isSubscribedForNotificationSubscribersLimitReached=e.allowNotificationSubscribers,this.isSubscribedForNotificationExpiredIOSCertificate=e.allowNotificationIosLicense,this.isSubscribedForNotificationUserInactivity=e.allowNotificationUserInactivity,this.isSubscribedForNotificationDisablePlatform=e.allowNotificationDisablePlatform,Object.freeze(this)},m=o(5652),v=o(3961),b=o(1157).rpcServiceClient.accounts,g=b.GetAuthInfoServiceClient,y=b.GetAuthInfoRequest,w=function(t){var e=this;this.updateSubject=function(t,s){e.subject.next({account:new i(t),counters:new p(t),platforms:new l(t),permissions:new r(t),restrictions:new c(t),user:new f(t,s)})},this.load=function(){return(0,m.__awaiter)(e,void 0,void 0,(function(){var t,e,s,i,r,o;return(0,m.__generator)(this,(function(n){switch(n.label){case 0:return t=this.grpcClient.createServiceClient(g),e=new y,[4,t.getAuthInfo(e,{})];case 1:return s=n.sent(),i=s.toObject(),r=i.account,o=i.user,[2,[r,o]]}}))}))},this.update=function(){return(0,m.__awaiter)(e,void 0,void 0,(function(){var t,e,s;return(0,m.__generator)(this,(function(i){switch(i.label){case 0:return[4,this.load()];case 1:return t=i.sent(),e=t[0],s=t[1],this.updateSubject(e,s),[2]}}))}))},this.subscribe=function(t){return e.subject.subscribe(t)},this.grpcClient=t,this.subject=new v.ReplaySubject(1)}})(),n})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("rxjs"),require("@pushwoosh/grpc-bridge")):"function"==typeof define&&define.amd?define(["tslib","rxjs","@pushwoosh/grpc-bridge"],e):"object"==typeof exports?exports["@pushwoosh/session-store"]=e(require("tslib"),require("rxjs"),require("@pushwoosh/grpc-bridge")):t["@pushwoosh/session-store"]=e(t.tslib,t.rxjs,t["@pushwoosh/grpc-bridge"])}(self,((t,e,s)=>(()=>{var r={1157:t=>{"use strict";t.exports=s},3961:t=>{"use strict";t.exports=e},5652:e=>{"use strict";e.exports=t},8628:(t,e,s)=>{t.exports=s(6343)},3981:(t,e,s)=>{t.exports=s(6462)},1362:(t,e,s)=>{"use strict";s(9748);var r=s(1747);t.exports=r("Array","includes")},6880:(t,e,s)=>{"use strict";var r=s(8280),i=s(1362),o=s(4378),n=Array.prototype,a=String.prototype;t.exports=function(t){var e=t.includes;return t===n||r(n,t)&&e===n.includes?i:"string"==typeof t||t===a||r(a,t)&&e===a.includes?o:e}},9929:(t,e,s)=>{"use strict";s(9502);var r=s(2046);t.exports=r.parseFloat},4378:(t,e,s)=>{"use strict";s(9770);var r=s(1747);t.exports=r("String","includes")},2159:(t,e,s)=>{"use strict";var r=s(2250),i=s(4640),o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not a function")}},2156:t=>{"use strict";t.exports=function(){}},6624:(t,e,s)=>{"use strict";var r=s(6285),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not an object")}},4436:(t,e,s)=>{"use strict";var r=s(7374),i=s(4849),o=s(575),n=function(t){return function(e,s,n){var a=r(e),u=o(a);if(0===u)return!t&&-1;var l,c=i(n,u);if(t&&s!=s){for(;u>c;)if((l=a[c++])!=l)return!0}else for(;u>c;c++)if((t||c in a)&&a[c]===s)return t||c||0;return!t&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}},5807:(t,e,s)=>{"use strict";var r=s(1907),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},3948:(t,e,s)=>{"use strict";var r=s(2623),i=s(2250),o=s(5807),n=s(6264)("toStringTag"),a=Object,u="Arguments"===o(function(){return arguments}());t.exports=r?o:function(t){var e,s,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(e=a(t),n))?s:u?o(e):"Object"===(r=o(e))&&i(e.callee)?"Arguments":r}},5735:(t,e,s)=>{"use strict";var r=s(6264)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(s){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},1626:(t,e,s)=>{"use strict";var r=s(9447),i=s(4284),o=s(5817);t.exports=r?function(t,e,s){return i.f(t,e,o(1,s))}:function(t,e,s){return t[e]=s,t}},5817:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2532:(t,e,s)=>{"use strict";var r=s(1010),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(s){r[t]=e}return e}},9447:(t,e,s)=>{"use strict";var r=s(8828);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:(t,e,s)=>{"use strict";var r=s(1010),i=s(6285),o=r.document,n=i(o)&&i(o.createElement);t.exports=function(t){return n?o.createElement(t):{}}},4723:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5683:(t,e,s)=>{"use strict";var r,i,o=s(1010),n=s(4723),a=o.process,u=o.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&n&&(!(r=n.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=n.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},1091:(t,e,s)=>{"use strict";var r=s(1010),i=s(6024),o=s(2361),n=s(2250),a=s(3846).f,u=s(7463),l=s(2046),c=s(8311),p=s(1626),h=s(9724);s(6128);var d=function(t){var e=function(s,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(s);case 2:return new t(s,r)}return new t(s,r,o)}return i(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var s,i,f,m,v,g,b,y,x,w=t.target,S=t.global,A=t.stat,C=t.proto,O=S?r:A?r[w]:r[w]&&r[w].prototype,M=S?l:l[w]||p(l,w,{})[w],E=M.prototype;for(m in e)i=!(s=u(S?m:w+(A?".":"#")+m,t.forced))&&O&&h(O,m),g=M[m],i&&(b=t.dontCallGetSet?(x=a(O,m))&&x.value:O[m]),v=i&&b?b:e[m],(s||C||typeof g!=typeof v)&&(y=t.bind&&i?c(v,r):t.wrap&&i?d(v):C&&n(v)?o(v):v,(t.sham||v&&v.sham||g&&g.sham)&&p(y,"sham",!0),p(M,m,y),C&&(h(l,f=w+"Prototype")||p(l,f,{}),p(l[f],m,v),t.real&&E&&(s||!E[m])&&p(E,m,v)))}},8828:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},6024:(t,e,s)=>{"use strict";var r=s(1505),i=Function.prototype,o=i.apply,n=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?n.bind(o):function(){return n.apply(o,arguments)})},8311:(t,e,s)=>{"use strict";var r=s(2361),i=s(2159),o=s(1505),n=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?n(t,e):function(){return t.apply(e,arguments)}}},1505:(t,e,s)=>{"use strict";var r=s(8828);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},3930:(t,e,s)=>{"use strict";var r=s(1505),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},2361:(t,e,s)=>{"use strict";var r=s(5807),i=s(1907);t.exports=function(t){if("Function"===r(t))return i(t)}},1907:(t,e,s)=>{"use strict";var r=s(1505),i=Function.prototype,o=i.call,n=r&&i.bind.bind(o,o);t.exports=r?n:function(t){return function(){return o.apply(t,arguments)}}},1747:(t,e,s)=>{"use strict";var r=s(1010),i=s(2046);t.exports=function(t,e){var s=i[t+"Prototype"],o=s&&s[e];if(o)return o;var n=r[t],a=n&&n.prototype;return a&&a[e]}},5582:(t,e,s)=>{"use strict";var r=s(2046),i=s(1010),o=s(2250),n=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?n(r[t])||n(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},9367:(t,e,s)=>{"use strict";var r=s(2159),i=s(7136);t.exports=function(t,e){var s=t[e];return i(s)?void 0:r(s)}},1010:function(t,e,s){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof s.g&&s.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9724:(t,e,s)=>{"use strict";var r=s(1907),i=s(9298),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3648:(t,e,s)=>{"use strict";var r=s(9447),i=s(8828),o=s(9552);t.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},6946:(t,e,s)=>{"use strict";var r=s(1907),i=s(8828),o=s(5807),n=Object,a=r("".split);t.exports=i((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?a(t,""):n(t)}:n},2250:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},7463:(t,e,s)=>{"use strict";var r=s(8828),i=s(2250),o=/#|\.prototype\./,n=function(t,e){var s=u[a(t)];return s===c||s!==l&&(i(e)?r(e):!!e)},a=n.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=n.data={},l=n.NATIVE="N",c=n.POLYFILL="P";t.exports=n},7136:t=>{"use strict";t.exports=function(t){return null==t}},6285:(t,e,s)=>{"use strict";var r=s(2250);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},7376:t=>{"use strict";t.exports=!0},2087:(t,e,s)=>{"use strict";var r=s(6285),i=s(5807),o=s(6264)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},5594:(t,e,s)=>{"use strict";var r=s(5582),i=s(2250),o=s(8280),n=s(1175),a=Object;t.exports=n?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,a(t))}},575:(t,e,s)=>{"use strict";var r=s(3121);t.exports=function(t){return r(t.length)}},1176:t=>{"use strict";var e=Math.ceil,s=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?s:e)(r)}},2074:(t,e,s)=>{"use strict";var r=s(2087),i=TypeError;t.exports=function(t){if(r(t))throw new i("The method doesn't accept regular expressions");return t}},7213:(t,e,s)=>{"use strict";var r=s(1010),i=s(8828),o=s(1907),n=s(160),a=s(5993).trim,u=s(6395),l=o("".charAt),c=r.parseFloat,p=r.Symbol,h=p&&p.iterator,d=1/c(u+"-0")!=-1/0||h&&!i((function(){c(Object(h))}));t.exports=d?function(t){var e=a(n(t)),s=c(e);return 0===s&&"-"===l(e,0)?-0:s}:c},4284:(t,e,s)=>{"use strict";var r=s(9447),i=s(3648),o=s(8661),n=s(6624),a=s(470),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",d="writable";e.f=r?o?function(t,e,s){if(n(t),e=a(e),n(s),"function"==typeof t&&"prototype"===e&&"value"in s&&d in s&&!s[d]){var r=c(t,e);r&&r[d]&&(t[e]=s.value,s={configurable:h in s?s[h]:r[h],enumerable:p in s?s[p]:r[p],writable:!1})}return l(t,e,s)}:l:function(t,e,s){if(n(t),e=a(e),n(s),i)try{return l(t,e,s)}catch(t){}if("get"in s||"set"in s)throw new u("Accessors not supported");return"value"in s&&(t[e]=s.value),t}},3846:(t,e,s)=>{"use strict";var r=s(9447),i=s(3930),o=s(2574),n=s(5817),a=s(7374),u=s(470),l=s(9724),c=s(3648),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=a(t),e=u(e),c)try{return p(t,e)}catch(t){}if(l(t,e))return n(!i(o.f,t,e),t[e])}},8280:(t,e,s)=>{"use strict";var r=s(1907);t.exports=r({}.isPrototypeOf)},2574:(t,e)=>{"use strict";var s={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!s.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:s},581:(t,e,s)=>{"use strict";var r=s(3930),i=s(2250),o=s(6285),n=TypeError;t.exports=function(t,e){var s,a;if("string"===e&&i(s=t.toString)&&!o(a=r(s,t)))return a;if(i(s=t.valueOf)&&!o(a=r(s,t)))return a;if("string"!==e&&i(s=t.toString)&&!o(a=r(s,t)))return a;throw new n("Can't convert object to primitive value")}},2046:t=>{"use strict";t.exports={}},4239:(t,e,s)=>{"use strict";var r=s(7136),i=TypeError;t.exports=function(t){if(r(t))throw new i("Can't call method on "+t);return t}},6128:(t,e,s)=>{"use strict";var r=s(7376),i=s(1010),o=s(2532),n="__core-js_shared__",a=t.exports=i[n]||o(n,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5816:(t,e,s)=>{"use strict";var r=s(6128);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},5993:(t,e,s)=>{"use strict";var r=s(1907),i=s(4239),o=s(160),n=s(6395),a=r("".replace),u=RegExp("^["+n+"]+"),l=RegExp("(^|[^"+n+"])["+n+"]+$"),c=function(t){return function(e){var s=o(i(e));return 1&t&&(s=a(s,u,"")),2&t&&(s=a(s,l,"$1")),s}};t.exports={start:c(1),end:c(2),trim:c(3)}},9846:(t,e,s)=>{"use strict";var r=s(5683),i=s(8828),o=s(1010).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4849:(t,e,s)=>{"use strict";var r=s(5482),i=Math.max,o=Math.min;t.exports=function(t,e){var s=r(t);return s<0?i(s+e,0):o(s,e)}},7374:(t,e,s)=>{"use strict";var r=s(6946),i=s(4239);t.exports=function(t){return r(i(t))}},5482:(t,e,s)=>{"use strict";var r=s(1176);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},3121:(t,e,s)=>{"use strict";var r=s(5482),i=Math.min;t.exports=function(t){var e=r(t);return e>0?i(e,9007199254740991):0}},9298:(t,e,s)=>{"use strict";var r=s(4239),i=Object;t.exports=function(t){return i(r(t))}},6028:(t,e,s)=>{"use strict";var r=s(3930),i=s(6285),o=s(5594),n=s(9367),a=s(581),u=s(6264),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var s,u=n(t,c);if(u){if(void 0===e&&(e="default"),s=r(u,t,e),!i(s)||o(s))return s;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},470:(t,e,s)=>{"use strict";var r=s(6028),i=s(5594);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},2623:(t,e,s)=>{"use strict";var r={};r[s(6264)("toStringTag")]="z",t.exports="[object z]"===String(r)},160:(t,e,s)=>{"use strict";var r=s(3948),i=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},4640:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6499:(t,e,s)=>{"use strict";var r=s(1907),i=0,o=Math.random(),n=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++i+o,36)}},1175:(t,e,s)=>{"use strict";var r=s(9846);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8661:(t,e,s)=>{"use strict";var r=s(9447),i=s(8828);t.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6264:(t,e,s)=>{"use strict";var r=s(1010),i=s(5816),o=s(9724),n=s(6499),a=s(9846),u=s(1175),l=r.Symbol,c=i("wks"),p=u?l.for||l:l&&l.withoutSetter||n;t.exports=function(t){return o(c,t)||(c[t]=a&&o(l,t)?l[t]:p("Symbol."+t)),c[t]}},6395:t=>{"use strict";t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9748:(t,e,s)=>{"use strict";var r=s(1091),i=s(4436).includes,o=s(8828),n=s(2156);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")},9502:(t,e,s)=>{"use strict";var r=s(1091),i=s(7213);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},9770:(t,e,s)=>{"use strict";var r=s(1091),i=s(1907),o=s(2074),n=s(4239),a=s(160),u=s(5735),l=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(a(n(this)),a(o(t)),arguments.length>1?arguments[1]:void 0)}})},6343:(t,e,s)=>{"use strict";var r=s(6880);t.exports=r},6462:(t,e,s)=>{"use strict";var r=s(9929);t.exports=r}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var s=i[t]={exports:{}};return r[t].call(s.exports,s,s.exports,o),s.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var s in e)o.o(e,s)&&!o.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";o.r(n),o.d(n,{Account:()=>r,Counters:()=>p,Permissions:()=>i,Platform:()=>e,PlatformName:()=>s,Platforms:()=>l,ProductType:()=>t,Restrictions:()=>c,SessionStore:()=>x,User:()=>f});var t;!function(t){t.FREE="Free",t.DEVELOPER="Developer",t.MARKETING="Marketing",t.ENTERPRISE="Enterprise"}(t||(t={}));var e,s,r=function(t){var e,s,r,i,o,n,a,u,l,c,p,h,d,f,m,v,g,b,y,x,w,S,A,C,O;this.id=t.id,this.name=t.name,this.domain=t.domain,this.registrationDate=(S=t.registrationDate,A=(null==S?void 0:S.seconds)||0,C=(null==S?void 0:S.nanos)||0,new Date(1e3*A+C/1e6).toISOString()),this.hasActiveOrder=t.hasActiveOrder,this.currentOrder=t.currentOrder,this.billing={companyName:null===(e=t.billingAddress)||void 0===e?void 0:e.companyName,accountCompanyName:null===(s=t.billingAddress)||void 0===s?void 0:s.accountCompanyName,companyCountry:null===(r=t.billingAddress)||void 0===r?void 0:r.country,companyCountryCode:null===(i=t.billingAddress)||void 0===i?void 0:i.countryCode,companyState:null===(o=t.billingAddress)||void 0===o?void 0:o.state,companyStateCode:null===(n=t.billingAddress)||void 0===n?void 0:n.stateCode,companyCity:null===(a=t.billingAddress)||void 0===a?void 0:a.city,companyStreet:null===(u=t.billingAddress)||void 0===u?void 0:u.street,companyZip:null===(l=t.billingAddress)||void 0===l?void 0:l.zipCode,companyPhone:null===(c=t.billingAddress)||void 0===c?void 0:c.phone,companyVAT:null===(p=t.billingAddress)||void 0===p?void 0:p.vatNumber,companyNumber:null===(h=t.billingAddress)||void 0===h?void 0:h.companyNumber,primaryPersonFirstName:null===(d=t.billingAddress)||void 0===d?void 0:d.firstName,primaryPersonLastName:null===(f=t.billingAddress)||void 0===f?void 0:f.lastName,primaryPersonEmail:null===(m=t.billingAddress)||void 0===m?void 0:m.paymentEmail,secondaryPersonFirstName:null===(v=t.billingAddress)||void 0===v?void 0:v.secondaryPersonFirstName,secondaryPersonLastName:null===(g=t.billingAddress)||void 0===g?void 0:g.secondaryPersonLastName,secondaryPersonEmail:null===(b=t.billingAddress)||void 0===b?void 0:b.secondaryPersonEmail,industry:null===(y=t.billingAddress)||void 0===y?void 0:y.industry,department:null===(x=t.billingAddress)||void 0===x?void 0:x.department,additionalEmails:(O=null===(w=t.billingAddress)||void 0===w?void 0:w.additionalEmailsList,O?O.join(", "):"")},this.productType=t.productType,this.productName=t.restriction,this.isEnterprise=t.isEnterprise,this.expiryDate=t.expireDate,this.isFrozen=t.frozen,this.isDeviceLimitReached=t.isDeviceLimitReached,this.statistics={totalSubscribers:t.pushNotAvailableSubscribers+t.pushAvailableSubscribers,pushAvailableSubscribers:t.pushAvailableSubscribers,pushNotAvailableSubscribers:t.pushNotAvailableSubscribers,freeEmailsQuotaUpdateDate:t.freeEmailLimitUpdateDate,paidEmailsQuotaExpiryDate:t.paidEmailExpireDate},Object.freeze(this.currentOrder),Object.freeze(this.billing),Object.freeze(this.statistics),Object.freeze(this)},i=function(t){this.hasSuperRights=t.aceSuperRight,this.canManageSubscription=t.aceManageSubscription,this.canManageAccessTokens=t.aceSeeApiAccess,this.canManageDomainsAndEmails=t.aceDomainAndEmailVerification,this.canManageSubUsers=t.aceManageUsers,this.canSeeApplications=t.aceSeeApplications,this.canModifyApplications=t.aceModifyApplications,this.canSeeApplicationGroups=t.aceSeeAppGroups,this.canModifyApplicationGroups=t.aceModifyAppGroups,this.canSeeMessages=t.aceSeeMessages,this.canModifyMessages=t.aceModifyMessages&&this.canSeeMessages,this.canSendMessages=t.aceSendMessages&&this.canSeeMessages,this.canSeeTags=t.aceSeeTags,this.canModifyTags=t.aceModifyTags,this.canSeeSegments=t.aceSeeFilters&&this.canSeeTags,this.canModifySegments=t.aceModifyFilters&&this.canSeeTags,this.canSeeRichMedia=t.aceSeeRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canModifyRichMedia=t.aceModifyRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canSeeInApps=this.canSeeTags&&this.canSeeSegments&&this.canSeeRichMedia,this.canSeeEmailTemplates=t.aceSeeEmailTemplates&&this.canSeeTags,this.canModifyEmailTemplates=t.aceModifyEmailTemplates&&this.canSeeTags,Object.freeze(this)},a=o(8628),u=o.n(a);!function(t){t[t.IOS=1]="IOS",t[t.ANDROID=3]="ANDROID",t[t.MAC_OS=7]="MAC_OS",t[t.WINDOWS=8]="WINDOWS",t[t.AMAZON=9]="AMAZON",t[t.SAFARI=10]="SAFARI",t[t.CHROME=11]="CHROME",t[t.FIREFOX=12]="FIREFOX",t[t.IE=13]="IE",t[t.EMAIL=14]="EMAIL",t[t.BAIDU=16]="BAIDU",t[t.HUAWEI=17]="HUAWEI",t[t.SMS=18]="SMS",t[t.XIAOMI=19]="XIAOMI",t[t.WHATSAPP=21]="WHATSAPP"}(e||(e={})),function(t){t.IOS="iOS",t.ANDROID="Android",t.MAC_OS="Mac OS",t.WINDOWS="Windows",t.AMAZON="Amazon",t.SAFARI="Safari",t.CHROME="Chrome",t.FIREFOX="Firefox",t.IE="Internet Explorer",t.EMAIL="Email",t.BAIDU="Baidu",t.HUAWEI="Huawei",t.SMS="SMS",t.XIAOMI="Xiaomi",t.WHATSAPP="WhatsApp"}(s||(s={}));var l=function(){function t(e){var s=this;this.checkIsAvailablePlatform=function(t){var e;return u()(e=s.available).call(e,t)},this.available=t.filterAllowPlatforms(e.allowedPlatformsList),Object.freeze(this)}return t.filterAllowPlatforms=function(t){var s=Object.values(e);return t.filter((function(t){return u()(s).call(s,t)}))},t.getPlatformName=function(t){var r=Object.keys(s).find((function(s){return e[s]===t}));return r?s[r]:"Unknown platform!"},t}(),c=function(t){var e=t.restrictions;this.allowUseSubUsers=e.maxusers>1,this.maxUsersCount=e.maxusers,this.allowUseBaiduAndroid=e.allowbaiduandroidplatformusage,this.maxDevicesCount=e.maxdevices,this.maxApplicationsCount=e.maxapps,this.maxApplicationGroupsCount=e.maxapplicationgroups,this.allowUseApplicationGroups=this.maxApplicationGroupsCount>1,this.maxCampaignsCount=e.maxcampaigns,this.allowUseCampaigns=this.maxCampaignsCount>1,this.maxTagsCount=e.maxtags,this.allowUseTags=this.maxTagsCount>0,this.allowUseUserSpecificTags=e.maxuserspecifictags>0,this.maxFiltersCount=e.maxfilters,this.maxFastFiltersCount=e.maxpreparedfilters,this.allowUseFilters=this.maxFiltersCount>0,this.allowUseFiltersCompiling=e.allowcompilefilter,this.allowUseFiltersWithTagNotSet=e.allowtagnotsetfilter,this.maxEventsCount=e.maxevents,this.allowUseEvents=this.maxEventsCount>0,this.maxRichMediaCount=e.maxrichmedia,this.allowUseRichMedia=this.maxRichMediaCount>0,this.maxInAppsCount=e.maxinapps,this.allowUseInApps=this.maxInAppsCount>0,this.maxMailsCount=e.maxverifyingemails,this.maxDomainsCount=e.maxverifyingdomains,this.maxEmailTemplatesCount=e.maxemailtemplates,this.allowUseEmailPlatform=this.maxEmailTemplatesCount>0,this.maxPresetsCount=e.maxpresets,this.allowUsePresets=this.maxPresetsCount>0,this.maxAutoPushesCount=e.maxautopushes,this.allowUseAutoPushes=this.maxAutoPushesCount>0,this.allowUseGeozones=e.allowgeozoneapi,this.allowUseSendToGeozones=e.allowsendtogeozone,this.maxGeozonesCount=e.maxgeozones,this.maxGeozoneRange=e.maxgeozonerange,this.minGeozoneRange=50,this.maxDeepLinksCount=e.maxdeeplinks,this.allowUseDeepLinks=this.maxDeepLinksCount>0,this.maxTwitterFeedsCount=e.maxtwitterfeeds,this.allowUseTwitterFeeds=this.maxTwitterFeedsCount>0,this.maxRssFeedsCount=e.maxrssfeeds,this.allowUseRssFeeds=this.maxRssFeedsCount>0,this.allowUseRssFeedsCustomPollingInterval=e.allowcustomrsspollinginterval,this.maxTestDevicesCount=e.maxtestdevices,this.allowUseTestDevices=this.maxTestDevicesCount>0,this.allowUseAccessTokens=e.allowapi,this.allowUseDataKeys=e.allowcustomdata,this.allowUseStatistics=e.allowstatsaccess,this.allowUseScheduling=e.allowscheduling,this.allowUseIOSAutoConfig=e.allowautoconfig,this.allowUseTwoFactorAuth=e.allowtwofactorauth,this.allowUseSendMessageByCsv=e.allowcsvmessage,this.allowUseAbTests=e.allowabtests,this.allowUseHtmlPages=!1,this.allowUseRemotePage=e.allowremotepage,this.allowUseIOSCategories=e.maxioscategories>0,this.allowUseGoalTracking=e.allowgoaltracking,this.allowUseGetMessageLog=e.allowapigetmessagelog,this.allowUseIEPlatform=e.allowieplatformusage,this.allowUseDebugMode=e.allowdebugmode,this.allowUseUninstallTracking=e.allowtrackuninstalls,this.allowUseFrequencyCapping=e.allowfrequencycapping,this.allowUseInbox=e.allowinbox,this.maxInboxTtlDays=e.maxinboxttldays,this.allowUseSendExternalAndroidStatistics=e.allowsendexternalstats,this.allowUseGDPR=e.allowgdpr,this.sendRateMin=e.minsendrate,this.sendRateMax=e.maxsendrate,this.messageHistoryStoriedPeriodInDays=e.messagehistorystoreperiod,this.allowShowDeliveryStatistics=e.allowshowdeliverystatistics,this.allowBestTimeToSend=e.allowbesttimetosend,this.allowSegmentsGroups=e.allowsegmentsgroups,this.allowEventSegmentation=e.alloweventsegmentation,this.allowCustomerJourney=e.allowcustomerjourney,this.allowEventsFunnel=e.alloweventsfunnel,this.isEnabledBackup=e.allowbackup,this.allowChannelsSection=e.allowchannelssection,this.allowUseSMSPlatform=e.allowcjsms,this.allowUseWhatsAppPlatform=e.allowwhatsapp,Object.freeze(this)},p=function(t){this.totalApplicationsCount=t.applicationsCount,this.totalApplicationGroupsCount=t.appGroupsCount,this.totalCampaignsCount=t.campaignsCount,this.totalTagsCount=t.tagsCount,this.totalFiltersCount=t.filtersCount,this.totalEventsCount=t.eventsCount,this.totalRichMediaCount=t.richMediaCount,this.totalInAppsCount=t.inAppsCount,this.totalDomainsCount=t.accountDomainsCount,this.totalMailsCount=t.accountMailsCount,this.totalEmailTemplatesCount=t.emailTemplatesCount,this.totalPresetsCount=t.presetsCount,this.totalAutoPushesCount=t.autoPushesCount,this.totalGeozonesCount=t.geoZonesCount,this.totalDeepLinksCount=t.deeplinksCount,this.totalRssFeedsCount=t.rssFeedsCount,this.totalTestDevicesCount=t.testDevicesCount},h=o(3981),d=o.n(h),f=function(t,e){this.name=e.username,this.email=e.email,this.isActive=e.isActive,this.isOwner=t.admin,this.timezone=e.timezone,this.timezoneOffset=60*d()(e.timezoneOffset),this.accountCount=e.accountsCount,this.intercomUserHash=e.intercomUserHash,this.isSubscribedForNewsletters=e.allowNewsletters,Object.freeze(this)},m=o(5652),v=o(3961),g=o(1157).rpcServiceClient.accounts,b=g.GetAuthInfoServiceClient,y=g.GetAuthInfoRequest,x=function(t){var e=this;this.updateSubject=function(t,s){e.subject.next({account:new r(t),counters:new p(t),platforms:new l(t),permissions:new i(t),restrictions:new c(t),user:new f(t,s)})},this.load=function(){return(0,m.__awaiter)(e,void 0,void 0,(function(){var t,e,s,r,i,o;return(0,m.__generator)(this,(function(n){switch(n.label){case 0:return t=this.grpcClient.createServiceClient(b),e=new y,[4,t.getAuthInfo(e,{})];case 1:return s=n.sent(),r=s.toObject(),i=r.account,o=r.user,[2,[i,o]]}}))}))},this.update=function(){return(0,m.__awaiter)(e,void 0,void 0,(function(){var t,e,s;return(0,m.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.load()];case 1:return t=r.sent(),e=t[0],s=t[1],this.updateSubject(e,s),[2]}}))}))},this.subscribe=function(t){return e.subject.subscribe(t)},this.grpcClient=t,this.subject=new v.ReplaySubject(1)}})(),n})()));
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
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qB,2EACkB,SAAMlT,KAAKyhB,Q,cAArC7V,EAA0BG,EAAAiW,OAAzBjX,EAAWa,EAAA,GAAEyT,EAAQzT,EAAA,GAC5B5L,KAAKmhB,cAAcpW,EAAasU,G,YAQ3B,KAAA6C,UAAY,SAACC,GAAsD,OACxEjP,EAAKkO,QAAQc,UAAUC,EADiD,EA5CxEniB,KAAKkhB,WAAaA,EAElBlhB,KAAKohB,QAAU,IAAIgB,EAAAA,cAAuB,EAC5C,C","sources":["webpack://@pushwoosh/session-store/webpack/universalModuleDefinition","webpack://@pushwoosh/session-store/external umd \"@pushwoosh/grpc-bridge\"","webpack://@pushwoosh/session-store/external umd \"rxjs\"","webpack://@pushwoosh/session-store/external umd \"tslib\"","webpack://@pushwoosh/session-store/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js","webpack://@pushwoosh/session-store/./node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/array/virtual/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/instance/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/string/virtual/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/a-callable.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/add-to-unscopables.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/an-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/array-includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/classof-raw.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/classof.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/correct-is-regexp-logic.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/create-non-enumerable-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/create-property-descriptor.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/define-global-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/descriptors.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/document-create-element.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/engine-user-agent.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/engine-v8-version.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/export.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/fails.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-apply.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-bind-context.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-bind-native.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-call.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-uncurry-this-clause.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-uncurry-this.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/get-built-in-prototype-method.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/get-built-in.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/get-method.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/global.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/has-own-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/ie8-dom-define.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/indexed-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-callable.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-forced.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-null-or-undefined.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-pure.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-regexp.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-symbol.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/length-of-array-like.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/math-trunc.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/not-a-regexp.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/number-parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-define-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-is-prototype-of.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-property-is-enumerable.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/ordinary-to-primitive.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/path.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/require-object-coercible.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/shared-store.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/shared.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/string-trim.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/symbol-constructor-detection.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-absolute-index.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-indexed-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-integer-or-infinity.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-length.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-primitive.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-property-key.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-string-tag-support.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-string.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/try-to-string.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/uid.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/use-symbol-as-uid.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/v8-prototype-define-bug.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/well-known-symbol.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/whitespaces.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/modules/es.array.includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/modules/es.parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/modules/es.string.includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/stable/instance/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/stable/parse-float.js","webpack://@pushwoosh/session-store/webpack/bootstrap","webpack://@pushwoosh/session-store/webpack/runtime/compat get default export","webpack://@pushwoosh/session-store/webpack/runtime/define property getters","webpack://@pushwoosh/session-store/webpack/runtime/global","webpack://@pushwoosh/session-store/webpack/runtime/hasOwnProperty shorthand","webpack://@pushwoosh/session-store/webpack/runtime/make namespace object","webpack://@pushwoosh/session-store/./src/session-store.helpers.ts","webpack://@pushwoosh/session-store/./src/entities/account.ts","webpack://@pushwoosh/session-store/./src/entities/platforms.ts","webpack://@pushwoosh/session-store/./src/entities/permissions.ts","webpack://@pushwoosh/session-store/./src/entities/restrictions.ts","webpack://@pushwoosh/session-store/./src/entities/counters.ts","webpack://@pushwoosh/session-store/./src/entities/user.ts","webpack://@pushwoosh/session-store/./src/session-store.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"tslib\"), require(\"rxjs\"), require(\"@pushwoosh/grpc-bridge\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"tslib\", \"rxjs\", \"@pushwoosh/grpc-bridge\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"@pushwoosh/session-store\"] = factory(require(\"tslib\"), require(\"rxjs\"), require(\"@pushwoosh/grpc-bridge\"));\n\telse\n\t\troot[\"@pushwoosh/session-store\"] = factory(root[\"tslib\"], root[\"rxjs\"], root[\"@pushwoosh/grpc-bridge\"]);\n})(self, (__WEBPACK_EXTERNAL_MODULE__5652__, __WEBPACK_EXTERNAL_MODULE__3961__, __WEBPACK_EXTERNAL_MODULE__1157__) => {\nreturn ","module.exports = __WEBPACK_EXTERNAL_MODULE__1157__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3961__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5652__;","module.exports = require(\"core-js-pure/stable/instance/includes\");","module.exports = require(\"core-js-pure/stable/parse-float\");","'use strict';\nrequire('../../../modules/es.array.includes');\nvar getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method');\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'includes');\n","'use strict';\nvar isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar arrayMethod = require('../array/virtual/includes');\nvar stringMethod = require('../string/virtual/includes');\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.includes;\n if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n return stringMethod;\n } return own;\n};\n","'use strict';\nrequire('../modules/es.parse-float');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseFloat;\n","'use strict';\nrequire('../../../modules/es.string.includes');\nvar getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method');\n\nmodule.exports = getBuiltInPrototypeMethod('String', 'includes');\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nmodule.exports = function () { /* empty */ };\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n// add debugging info\nrequire('../internals/shared-store');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind methods to global for calling from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changes in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar path = require('../internals/path');\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n var Namespace = path[CONSTRUCTOR + 'Prototype'];\n var pureMethod = Namespace && Namespace[METHOD];\n if (pureMethod) return pureMethod;\n var NativeConstructor = global[CONSTRUCTOR];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n return NativePrototype && NativePrototype[METHOD];\n};\n","'use strict';\nvar path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = true;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw new $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar charAt = uncurryThis(''.charAt);\nvar $parseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = $parseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;\n} : $parseFloat;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.37.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar $ = require('../internals/export');\nvar $parseFloat = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat !== $parseFloat }, {\n parseFloat: $parseFloat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar parent = require('../../es/instance/includes');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../es/parse-float');\n\nmodule.exports = parent;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import type { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';\n\nexport function timestampToUtcDate(timestamp?: Timestamp.AsObject): string {\n const seconds = timestamp?.seconds || 0;\n const nanos = timestamp?.nanos || 0;\n const milliseconds = seconds * 1000 + nanos / 1e6;\n const utcDate = new Date(milliseconds);\n\n return utcDate.toISOString();\n}\n\nexport const formatEmailsList = (emails?: string[]): string => (\n emails ? emails.join(', ') : ''\n);\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\nimport { timestampToUtcDate, formatEmailsList } from '../session-store.helpers';\nimport { type NonNullableReturnType } from '../types';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\ntype CurrentOrderRes = NonNullableReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['getCurrentOrder']>;\ntype CurrentOrderAsObject = ReturnType<CurrentOrderRes['toObject']>;\n\nexport enum ProductType {\n FREE = 'Free',\n DEVELOPER = 'Developer',\n MARKETING = 'Marketing',\n ENTERPRISE = 'Enterprise',\n}\n\n/**\n * Информация об аккаунте\n */\nexport class Account {\n /** ID аккаунта */\n public readonly id: number;\n\n /** Название аккаунта */\n public readonly name: string;\n\n /** Домен аккаунта */\n public readonly domain: string;\n\n /** Дата регистрации аккаунта */\n public readonly registrationDate: string;\n\n /** Наличие активной подписки */\n public readonly hasActiveOrder: boolean;\n\n /** Текущая подписка */\n public readonly currentOrder?: CurrentOrderAsObject;\n\n /** Данные для выставления счетов */\n public readonly billing: {\n /** Название компании */\n readonly companyName: string | undefined;\n\n /** Название компании */\n readonly accountCompanyName: string | undefined;\n\n /** Страна */\n readonly companyCountry: string | undefined;\n\n /** Код страны */\n readonly companyCountryCode: string | undefined;\n\n /** Штат (только для USA) */\n readonly companyState: string | undefined;\n\n /** Код штата (только для USA) */\n readonly companyStateCode: string | undefined;\n\n /** Город */\n readonly companyCity: string | undefined;\n\n /** Улица */\n readonly companyStreet: string | undefined;\n\n /** Почтовый индекс */\n readonly companyZip: string | undefined;\n\n /** Телефонный номер */\n readonly companyPhone: string | undefined;\n\n /** ИНН предприятия */\n readonly companyVAT: string | undefined;\n\n /** Используется как номер закупки */\n readonly companyNumber: string | undefined;\n\n /** Имя контакта для связи */\n readonly primaryPersonFirstName: string | undefined;\n\n /** Фамилия контакта для связи */\n readonly primaryPersonLastName: string | undefined;\n\n /** Эл. почта контакта для связи */\n readonly primaryPersonEmail: string | undefined;\n\n /** Имя дополнительного контакта для связи */\n readonly secondaryPersonFirstName: string | undefined;\n\n /** Фамилия дополнительного контакта для связи */\n readonly secondaryPersonLastName: string | undefined;\n\n /** Эл. почта дополнительного контакта для связи */\n readonly secondaryPersonEmail: string | undefined;\n\n /** Сфера промышленности */\n readonly industry: string | undefined;\n\n /** Департамент */\n readonly department: string | undefined;\n\n /** Дополнительные эл. адреса для связи */\n readonly additionalEmails: string | undefined;\n };\n\n /** Какой тип подписки куплен */\n public readonly productType: ProductType;\n\n /** Название плана подписки. Просто строка, чтобы отобразить в настройках */\n public readonly productName: string;\n\n /** Является ли аккаунт энтерпрайзом */\n public readonly isEnterprise: boolean;\n\n /** Дата окончания подписки */\n public readonly expiryDate: string;\n\n /** Заморожен ли аккаунт */\n public readonly isFrozen: boolean;\n\n /** Превышено ли количество доступных девайсов */\n public readonly isDeviceLimitReached: boolean;\n\n /** Статистика по аккаунту */\n public readonly statistics: {\n /** Количество подписчиков */\n readonly totalSubscribers: number;\n\n /** Количество устройств, которым есть возможность показывать пуш-уведомления */\n readonly pushAvailableSubscribers: number;\n\n /** Количество устройств, которым нельзя показывать пуш-уведомления */\n readonly pushNotAvailableSubscribers: number;\n\n /** Дата обновления квоты бесплатных писем */\n readonly freeEmailsQuotaUpdateDate: string | undefined;\n\n /** Дата окончания действия квоты купленных писем */\n readonly paidEmailsQuotaExpiryDate: string | undefined;\n };\n\n constructor(accountData: AuthInfoAccountAsObject) {\n this.id = accountData.id;\n this.name = accountData.name;\n this.domain = accountData.domain;\n this.registrationDate = timestampToUtcDate(accountData.registrationDate);\n this.hasActiveOrder = accountData.hasActiveOrder;\n this.currentOrder = accountData.currentOrder;\n\n this.billing = {\n companyName: accountData.billingAddress?.companyName,\n accountCompanyName: accountData.billingAddress?.accountCompanyName,\n companyCountry: accountData.billingAddress?.country,\n companyCountryCode: accountData.billingAddress?.countryCode,\n companyState: accountData.billingAddress?.state,\n companyStateCode: accountData.billingAddress?.stateCode,\n companyCity: accountData.billingAddress?.city,\n companyStreet: accountData.billingAddress?.street,\n companyZip: accountData.billingAddress?.zipCode,\n companyPhone: accountData.billingAddress?.phone,\n companyVAT: accountData.billingAddress?.vatNumber,\n companyNumber: accountData.billingAddress?.companyNumber,\n primaryPersonFirstName: accountData.billingAddress?.firstName,\n primaryPersonLastName: accountData.billingAddress?.lastName,\n primaryPersonEmail: accountData.billingAddress?.paymentEmail,\n secondaryPersonFirstName: accountData.billingAddress?.secondaryPersonFirstName,\n secondaryPersonLastName: accountData.billingAddress?.secondaryPersonLastName,\n secondaryPersonEmail: accountData.billingAddress?.secondaryPersonEmail,\n industry: accountData.billingAddress?.industry,\n department: accountData.billingAddress?.department,\n additionalEmails: formatEmailsList(accountData.billingAddress?.additionalEmailsList),\n };\n\n this.productType = accountData.productType as ProductType;\n this.productName = accountData.restriction;\n this.isEnterprise = accountData.isEnterprise;\n this.expiryDate = accountData.expireDate;\n\n this.isFrozen = accountData.frozen;\n this.isDeviceLimitReached = accountData.isDeviceLimitReached;\n\n this.statistics = {\n totalSubscribers: accountData.pushNotAvailableSubscribers + accountData.pushAvailableSubscribers,\n pushAvailableSubscribers: accountData.pushAvailableSubscribers,\n pushNotAvailableSubscribers: accountData.pushNotAvailableSubscribers,\n freeEmailsQuotaUpdateDate: accountData.freeEmailLimitUpdateDate,\n paidEmailsQuotaExpiryDate: accountData.paidEmailExpireDate,\n };\n\n Object.freeze(this.currentOrder);\n Object.freeze(this.billing);\n Object.freeze(this.statistics);\n Object.freeze(this);\n }\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\n/**\n * Идентификатор платформы.\n */\nexport enum Platform {\n IOS = 1,\n // BLACKBERRY = 2, // RIP\n ANDROID = 3,\n // ASHA = 4, // RIP\n // WINDOWS_PHONE = 5, // RIP\n // BADA = 6, // RIP\n MAC_OS = 7,\n WINDOWS = 8,\n AMAZON = 9,\n SAFARI = 10,\n CHROME = 11,\n FIREFOX = 12,\n IE = 13,\n EMAIL = 14,\n // FACEBOOK_MESSENGER = 15, // RIP\n BAIDU = 16,\n HUAWEI = 17,\n SMS = 18,\n XIAOMI = 19,\n // WEB = 20, // INACTIVE\n WHATSAPP = 21,\n}\n\n/**\n * Название платформы.\n */\nexport enum PlatformName {\n IOS = 'iOS',\n // BLACKBERRY = 'Blackberry', // RIP\n ANDROID = 'Android',\n // ASHA = 'Asha', // RIP\n // WINDOWS_PHONE = 'Windows Phone', // RIP\n // BADA = 'Bada', // RIP\n MAC_OS = 'Mac OS',\n WINDOWS = 'Windows',\n AMAZON = 'Amazon',\n SAFARI = 'Safari',\n CHROME = 'Chrome',\n FIREFOX = 'Firefox',\n IE = 'Internet Explorer',\n EMAIL = 'Email',\n // FACEBOOK_MESSENGER = 'Facebook Messenger', // RIP\n BAIDU = 'Baidu',\n HUAWEI = 'Huawei',\n SMS = 'SMS',\n XIAOMI = 'Xiaomi',\n // WEB = 'Web', // INACTIVE\n WHATSAPP = 'WhatsApp',\n}\n\n/**\n * Вспомогательный класс для работы с платформами.\n */\nexport class Platforms {\n /**\n * Отсеять неизвестные значения.\n *\n * @param { Array<number> } platforms - массив доступных платформ.\n * @return { Array<Platform> } platforms - безопасный массив доступных платформ.\n */\n private static filterAllowPlatforms = (platforms: Array<number>): Array<Platform> => {\n const platformTypes = Object.values(Platform) as Array<Platform>;\n return platforms.filter((platform) => (\n platformTypes.includes(platform)\n ));\n };\n\n /**\n * Получить название платформы по ее идентификатору.\n *\n * @param { Platform } platform - идентификатор платформы.\n * @return { string } идентификатор платформы.\n */\n public static getPlatformName = (platform: Platform): string => {\n const platformKeys = Object.keys(PlatformName) as Array<keyof typeof PlatformName>;\n const foundedPlatform = platformKeys.find((key) => Platform[key] === platform);\n if (!foundedPlatform) {\n return 'Unknown platform!';\n }\n\n return PlatformName[foundedPlatform];\n };\n\n /**\n * Массив доступных платформ.\n */\n public readonly available: Array<Platform>;\n\n constructor(accountData: AuthInfoAccountAsObject) {\n this.available = Platforms.filterAllowPlatforms(accountData.allowedPlatformsList);\n Object.freeze(this);\n }\n\n /**\n * Проверить, доступна ли платформа для использования.\n *\n * @param { Platform } platform - идентификатор платформы.\n * @return { boolean } - доступна ли платформа для использования.\n */\n public checkIsAvailablePlatform = (platform: Platform): boolean => (\n this.available.includes(platform)\n );\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\n/**\n * Разрешения на использование функционала со стороны владельца аккаунта\n */\nexport class Permissions {\n /** Есть ли у пользователя супер-права */\n public readonly hasSuperRights: boolean;\n\n /** Может ли пользователь управлять подпиской */\n public readonly canManageSubscription: boolean;\n\n /** Может ли пользователь управлять ключами доступа */\n public readonly canManageAccessTokens: boolean;\n\n /** Может ли пользователь управлять доменами и электронными адресами */\n public readonly canManageDomainsAndEmails: boolean;\n\n /** Может ли пользователь управлять правами других пользователей */\n public readonly canManageSubUsers: boolean;\n\n /** Может ли пользователь просматривать приложения */\n public readonly canSeeApplications: boolean;\n\n /** Может ли пользователь редактировать приложения */\n public readonly canModifyApplications: boolean;\n\n /** Может ли пользователь просматривать группы приложений */\n public readonly canSeeApplicationGroups: boolean;\n\n /** Может ли пользователь редактировать группы приложений */\n public readonly canModifyApplicationGroups: boolean;\n\n /** Может ли пользователь просматривать отправленные сообщения */\n public readonly canSeeMessages: boolean;\n\n /** Может ли пользователь редактировать (отменять) отправленные сообщения */\n public readonly canModifyMessages: boolean;\n\n /** Может ли пользователь отправлять сообщения */\n public readonly canSendMessages: boolean;\n\n /** Может ли пользователь просматривать теги */\n public readonly canSeeTags: boolean;\n\n /** Может ли пользователь редактировать теги */\n public readonly canModifyTags: boolean;\n\n /** Может ли пользователь просматривать сегменты */\n public readonly canSeeSegments: boolean;\n\n /** Может ли пользователь редактировать сегменты */\n public readonly canModifySegments: boolean;\n\n /** Может ли пользователь просматривать рич-медиа */\n public readonly canSeeRichMedia: boolean;\n\n /** Может ли пользователь редактировать рич-медиа */\n public readonly canModifyRichMedia: boolean;\n\n /** Может ли пользователь просматривать рич-медиа */\n public readonly canSeeInApps: boolean;\n\n /** Может ли пользователь просматривать шаблоны писем */\n public readonly canSeeEmailTemplates: boolean;\n\n /** Может ли пользователь редактировать шаблоны писем */\n public readonly canModifyEmailTemplates: boolean;\n\n constructor(account: AuthInfoAccountAsObject) {\n this.hasSuperRights = account.aceSuperRight;\n\n this.canManageSubscription = account.aceManageSubscription;\n\n this.canManageAccessTokens = account.aceSeeApiAccess;\n\n this.canManageDomainsAndEmails = account.aceDomainAndEmailVerification;\n\n this.canManageSubUsers = account.aceManageUsers;\n\n this.canSeeApplications = account.aceSeeApplications;\n this.canModifyApplications = account.aceModifyApplications;\n\n this.canSeeApplicationGroups = account.aceSeeAppGroups;\n this.canModifyApplicationGroups = account.aceModifyAppGroups;\n\n this.canSeeMessages = account.aceSeeMessages;\n this.canModifyMessages = account.aceModifyMessages && this.canSeeMessages;\n this.canSendMessages = account.aceSendMessages && this.canSeeMessages;\n\n this.canSeeTags = account.aceSeeTags;\n this.canModifyTags = account.aceModifyTags;\n\n this.canSeeSegments = account.aceSeeFilters && this.canSeeTags;\n this.canModifySegments = account.aceModifyFilters && this.canSeeTags;\n\n this.canSeeRichMedia = account.aceSeeRichMedia && this.canSeeTags && this.canSeeSegments;\n this.canModifyRichMedia = account.aceModifyRichMedia && this.canSeeTags && this.canSeeSegments;\n\n this.canSeeInApps = this.canSeeTags && this.canSeeSegments && this.canSeeRichMedia;\n\n this.canSeeEmailTemplates = account.aceSeeEmailTemplates && this.canSeeTags;\n this.canModifyEmailTemplates = account.aceModifyEmailTemplates && this.canSeeTags;\n\n Object.freeze(this);\n }\n}\n","import type { RestrictionsData } from '../session-store.types';\n\n/**\n * Ограничения на использование функционала со стороны PW\n */\nexport class Restrictions {\n /** Доступно ли использование суб-пользователей */\n public readonly allowUseSubUsers: boolean;\n\n /** Доступное количество пользователей (включая владельца аккаунта) */\n public readonly maxUsersCount: number;\n\n /** Включено ли разрешение использовать Baidu Android */\n public readonly allowUseBaiduAndroid: boolean;\n\n /** Доступное количество девайсов */\n public readonly maxDevicesCount: number;\n\n /** Доступное количество \"Applications\" */\n public readonly maxApplicationsCount: number;\n\n /** Доступное количество \"Application Groups\" */\n public readonly maxApplicationGroupsCount: number;\n\n /** Доступно ли использование \"Application Groups\" */\n public readonly allowUseApplicationGroups: boolean;\n\n /** Доступное количество \"Campaigns\" */\n public readonly maxCampaignsCount: number;\n\n /** Доступно ли использование \"Campaigns\" */\n public readonly allowUseCampaigns: boolean;\n\n /** Доступное количество \"Tags\" */\n public readonly maxTagsCount: number;\n\n /** Доступно ли использование \"Tags\" */\n public readonly allowUseTags: boolean;\n\n /** Доступно ли использование \"User Specific Tags\" */\n public readonly allowUseUserSpecificTags: boolean;\n\n /** Доступное количество \"Filters\" */\n public readonly maxFiltersCount: number;\n\n /** Доступное количество \"Fast Filters\" */\n public readonly maxFastFiltersCount: number;\n\n /** Доступно ли использование \"Filters\" */\n public readonly allowUseFilters: boolean;\n\n /** Доступно ли использование \"Filters Compiling\" */\n public readonly allowUseFiltersCompiling: boolean;\n\n /** Доступно ли использование \"Filter With Tag Not Set\" */\n public readonly allowUseFiltersWithTagNotSet: boolean;\n\n /** Доступное количество \"Events\" */\n public readonly maxEventsCount: number;\n\n /** Доступно ли использование \"Events\" */\n public readonly allowUseEvents: boolean;\n\n /** Доступное количество \"Rich Media\" */\n public readonly maxRichMediaCount: number;\n\n /** Доступно ли использование \"Rich Media\" */\n public readonly allowUseRichMedia: boolean;\n\n /** Доступное количество \"In Apps\" */\n public readonly maxInAppsCount: number;\n\n /** Доступно ли использование \"InApps\" */\n public readonly allowUseInApps: boolean;\n\n /** Доступное количество сконфигурированных электронных адресов */\n public readonly maxMailsCount: number;\n\n /** Доступное количество сконфигурированных доменов */\n public readonly maxDomainsCount: number;\n\n /** Доступное количество шаблонов электронных писем */\n public readonly maxEmailTemplatesCount: number;\n\n /** Доступен ли Email */\n public readonly allowUseEmailPlatform: boolean;\n\n /** Доступное количество \"Presets\" */\n public readonly maxPresetsCount: number;\n\n /** Доступно ли использование \"Presets\" */\n public readonly allowUsePresets: boolean;\n\n /** Доступное количество \"Auto Pushes\" */\n public readonly maxAutoPushesCount: number;\n\n /** Доступно ли использование \"Auto Pushes\" */\n public readonly allowUseAutoPushes: boolean;\n\n /** Доступно ли использование \"Geozones\" */\n public readonly allowUseGeozones: boolean;\n\n /** Доступна ли отправка сообщений с использованием \"Geozones\" */\n public readonly allowUseSendToGeozones: boolean;\n\n /** Доступное количество \"Geozones\" */\n public readonly maxGeozonesCount: number;\n\n /** Максимальная зона выделения \"Geozone\" */\n public readonly maxGeozoneRange: number;\n\n /** Минимальная зона выделения \"Geozone\" */\n public readonly minGeozoneRange: number;\n\n /** Доступное количество \"Deep Links\" */\n public readonly maxDeepLinksCount: number;\n\n /** Доступно ли использование \"Deep Links\" */\n public readonly allowUseDeepLinks: boolean;\n\n /** Доступное количество \"Twitter Feeds\" */\n public readonly maxTwitterFeedsCount: number;\n\n /** Доступно ли использование \"Twitter Feeds\" */\n public readonly allowUseTwitterFeeds: boolean;\n\n /** Доступное количество \"Rss Feeds\" */\n public readonly maxRssFeedsCount: number;\n\n /** Доступно ли использование \"Rss Feeds\" */\n public readonly allowUseRssFeeds: boolean;\n\n /** Доступно ли использование \"Rss Feeds Custom Polling Interval\" */\n public readonly allowUseRssFeedsCustomPollingInterval: boolean;\n\n /** Доступное количество \"Test Devices\" */\n public readonly maxTestDevicesCount: number;\n\n /** Доступно ли использование \"Test Devices\" */\n public readonly allowUseTestDevices: boolean;\n\n /** Доступно ли использование \"Access Tokens\" */\n public readonly allowUseAccessTokens: boolean;\n\n /** Доступно ли использование \"Data Keys\" */\n public readonly allowUseDataKeys: boolean;\n\n /** Доступен ли просмотр различной статистики */\n public readonly allowUseStatistics: boolean;\n\n /** Доступна ли отправка сообщений по расписанию */\n public readonly allowUseScheduling: boolean;\n\n /** Доступно ли использование автоконфигурации IOS платформы */\n public readonly allowUseIOSAutoConfig: boolean;\n\n /** Доступно ли использование двухфакторной аутентификации */\n public readonly allowUseTwoFactorAuth: boolean;\n\n /** Доступна ли отправка сообщений по CSV */\n public readonly allowUseSendMessageByCsv: boolean;\n\n /** Доступно ли использование \"AB Tests\" */\n public readonly allowUseAbTests: boolean;\n\n /** Доступно ли использование \"Html Pages\" */\n public readonly allowUseHtmlPages: boolean;\n\n /** Доступно ли использование \"Remote Pages\" */\n public readonly allowUseRemotePage: boolean;\n\n /** Доступно ли использование \"IOS Categories\" */\n public readonly allowUseIOSCategories: boolean;\n\n /** Доступно ли использование \"Goal Tracking\" */\n public readonly allowUseGoalTracking: boolean;\n\n /** Доступно ли использование \"API GetMessageLog\" */\n public readonly allowUseGetMessageLog: boolean;\n\n /** Доступно ли использование \"IE\" */\n public readonly allowUseIEPlatform: boolean;\n\n /** Доступно ли использование \"Debug Mode\" */\n public readonly allowUseDebugMode: boolean;\n\n /** Доступно ли использование \"Tracking Uninstall\" */\n public readonly allowUseUninstallTracking: boolean;\n\n /** Доступно ли использование \"Frequency Capping\" */\n public readonly allowUseFrequencyCapping: boolean;\n\n /** Доступно ли использование \"Inbox\" */\n public readonly allowUseInbox: boolean;\n\n /** Время хранения сообщения в \"Inbox\" */\n public readonly maxInboxTtlDays: number;\n\n /** Доступна ли отправка дополнительной статистики для Android приложений */\n public readonly allowUseSendExternalAndroidStatistics: boolean;\n\n /** Доступно ли использование \"GDPR\" */\n public readonly allowUseGDPR: boolean;\n\n /** Минимальная скорость отправки сообщений */\n public readonly sendRateMin: number;\n\n /** Максимальная скорость отправки сообщений */\n public readonly sendRateMax: number;\n\n /** Период сохранения истории сообщений в днях */\n public readonly messageHistoryStoriedPeriodInDays: number;\n\n /** Показывать delivered rate на страницах статистики */\n public readonly allowShowDeliveryStatistics: boolean;\n\n /** Показывать optimal send time */\n public readonly allowBestTimeToSend: boolean;\n\n /** Разрешить созданий групп сегментов */\n public readonly allowSegmentsGroups: boolean;\n\n /** Разрешить сегментацию по событиям */\n public readonly allowEventSegmentation: boolean;\n\n /** Разрешить Customer Journey */\n public readonly allowCustomerJourney: boolean;\n\n /** Разрешить Events Funnel */\n public readonly allowEventsFunnel: boolean;\n\n /** Включено ли создание резервных копий */\n public readonly isEnabledBackup: boolean;\n\n /** Есть ли у пользователя вкладка Channels и доступ до one-time форм */\n public readonly allowChannelsSection: boolean;\n\n /** can use SMS platform */\n public readonly allowUseSMSPlatform: boolean;\n\n /** can use WhatsApp platform */\n public readonly allowUseWhatsAppPlatform: boolean;\n\n constructor({ restrictions }: RestrictionsData) {\n this.allowUseSubUsers = restrictions.maxusers > 1;\n\n this.maxUsersCount = restrictions.maxusers;\n\n this.allowUseBaiduAndroid = restrictions.allowbaiduandroidplatformusage;\n\n this.maxDevicesCount = restrictions.maxdevices;\n\n this.maxApplicationsCount = restrictions.maxapps;\n\n this.maxApplicationGroupsCount = restrictions.maxapplicationgroups;\n this.allowUseApplicationGroups = this.maxApplicationGroupsCount > 1;\n\n this.maxCampaignsCount = restrictions.maxcampaigns;\n this.allowUseCampaigns = this.maxCampaignsCount > 1;\n\n this.maxTagsCount = restrictions.maxtags;\n this.allowUseTags = this.maxTagsCount > 0;\n this.allowUseUserSpecificTags = restrictions.maxuserspecifictags > 0;\n\n this.maxFiltersCount = restrictions.maxfilters;\n this.maxFastFiltersCount = restrictions.maxpreparedfilters;\n this.allowUseFilters = this.maxFiltersCount > 0;\n this.allowUseFiltersCompiling = restrictions.allowcompilefilter;\n this.allowUseFiltersWithTagNotSet = restrictions.allowtagnotsetfilter;\n\n this.maxEventsCount = restrictions.maxevents;\n this.allowUseEvents = this.maxEventsCount > 0;\n\n this.maxRichMediaCount = restrictions.maxrichmedia;\n this.allowUseRichMedia = this.maxRichMediaCount > 0;\n\n this.maxInAppsCount = restrictions.maxinapps;\n this.allowUseInApps = this.maxInAppsCount > 0;\n\n this.maxMailsCount = restrictions.maxverifyingemails;\n this.maxDomainsCount = restrictions.maxverifyingdomains;\n this.maxEmailTemplatesCount = restrictions.maxemailtemplates;\n this.allowUseEmailPlatform = this.maxEmailTemplatesCount > 0;\n\n this.maxPresetsCount = restrictions.maxpresets;\n this.allowUsePresets = this.maxPresetsCount > 0;\n\n this.maxAutoPushesCount = restrictions.maxautopushes;\n this.allowUseAutoPushes = this.maxAutoPushesCount > 0;\n\n this.allowUseGeozones = restrictions.allowgeozoneapi;\n this.allowUseSendToGeozones = restrictions.allowsendtogeozone;\n this.maxGeozonesCount = restrictions.maxgeozones;\n this.maxGeozoneRange = restrictions.maxgeozonerange;\n this.minGeozoneRange = 50;\n\n this.maxDeepLinksCount = restrictions.maxdeeplinks;\n this.allowUseDeepLinks = this.maxDeepLinksCount > 0;\n\n this.maxTwitterFeedsCount = restrictions.maxtwitterfeeds;\n this.allowUseTwitterFeeds = this.maxTwitterFeedsCount > 0;\n\n this.maxRssFeedsCount = restrictions.maxrssfeeds;\n this.allowUseRssFeeds = this.maxRssFeedsCount > 0;\n this.allowUseRssFeedsCustomPollingInterval = restrictions.allowcustomrsspollinginterval;\n\n this.maxTestDevicesCount = restrictions.maxtestdevices;\n this.allowUseTestDevices = this.maxTestDevicesCount > 0;\n\n this.allowUseAccessTokens = restrictions.allowapi;\n\n this.allowUseDataKeys = restrictions.allowcustomdata;\n\n this.allowUseStatistics = restrictions.allowstatsaccess;\n\n this.allowUseScheduling = restrictions.allowscheduling;\n\n this.allowUseIOSAutoConfig = restrictions.allowautoconfig;\n\n this.allowUseTwoFactorAuth = restrictions.allowtwofactorauth;\n\n this.allowUseSendMessageByCsv = restrictions.allowcsvmessage;\n\n this.allowUseAbTests = restrictions.allowabtests;\n\n this.allowUseHtmlPages = false;\n\n this.allowUseRemotePage = restrictions.allowremotepage;\n\n this.allowUseIOSCategories = restrictions.maxioscategories > 0;\n\n this.allowUseGoalTracking = restrictions.allowgoaltracking;\n\n this.allowUseGetMessageLog = restrictions.allowapigetmessagelog;\n\n this.allowUseIEPlatform = restrictions.allowieplatformusage;\n\n this.allowUseDebugMode = restrictions.allowdebugmode;\n\n this.allowUseUninstallTracking = restrictions.allowtrackuninstalls;\n\n this.allowUseFrequencyCapping = restrictions.allowfrequencycapping;\n\n this.allowUseInbox = restrictions.allowinbox;\n this.maxInboxTtlDays = restrictions.maxinboxttldays;\n\n this.allowUseSendExternalAndroidStatistics = restrictions.allowsendexternalstats;\n this.allowUseGDPR = restrictions.allowgdpr;\n\n this.sendRateMin = restrictions.minsendrate;\n this.sendRateMax = restrictions.maxsendrate;\n\n this.messageHistoryStoriedPeriodInDays = restrictions.messagehistorystoreperiod;\n\n this.allowShowDeliveryStatistics = restrictions.allowshowdeliverystatistics;\n\n this.allowBestTimeToSend = restrictions.allowbesttimetosend;\n\n this.allowSegmentsGroups = restrictions.allowsegmentsgroups;\n this.allowEventSegmentation = restrictions.alloweventsegmentation;\n\n this.allowCustomerJourney = restrictions.allowcustomerjourney;\n\n this.allowEventsFunnel = restrictions.alloweventsfunnel;\n\n this.isEnabledBackup = restrictions.allowbackup;\n\n this.allowChannelsSection = restrictions.allowchannelssection;\n\n this.allowUseSMSPlatform = restrictions.allowcjsms;\n\n this.allowUseWhatsAppPlatform = restrictions.allowwhatsapp;\n\n Object.freeze(this);\n }\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\n/**\n * Счетчики владельца аккаунта\n */\nexport class Counters {\n /** Количество существующих \"Applications\" */\n public readonly totalApplicationsCount: number;\n\n /** Количество существующих \"Application Groups\" */\n public readonly totalApplicationGroupsCount: number;\n\n /** Количество существующих \"Campaigns\" */\n public readonly totalCampaignsCount: number;\n\n /** Количество существующих \"Tags\" */\n public readonly totalTagsCount: number;\n\n /** Количество существующих \"Filters\" */\n public readonly totalFiltersCount: number;\n\n /** Количество существующих \"Events\" */\n public readonly totalEventsCount: number;\n\n /** Количество существующих \"Rich Media\" */\n public readonly totalRichMediaCount: number;\n\n /** Количество существующих \"In Apps\" */\n public readonly totalInAppsCount: number;\n\n /** Количество существующих сконфигурированных доменов */\n public readonly totalDomainsCount: number;\n\n /** Количество существующих сконфигурированных электронных адресов */\n public readonly totalMailsCount: number;\n\n /** Количество существующих шаблонов электронных писем */\n public readonly totalEmailTemplatesCount: number;\n\n /** Количество существующих \"Presets\" */\n public readonly totalPresetsCount: number;\n\n /** Количество существующих \"Auto Pushes\" */\n public readonly totalAutoPushesCount: number;\n\n /** Количество существующих \"Geozones\" */\n public readonly totalGeozonesCount: number;\n\n /** Количество существующих \"Deep Links\" */\n public readonly totalDeepLinksCount: number;\n\n /** Количество существующих \"Rss Feeds\" */\n public readonly totalRssFeedsCount: number;\n\n /** Количество существующих \"Test Devices\" */\n public readonly totalTestDevicesCount: number;\n\n constructor(accountData: AuthInfoAccountAsObject) {\n this.totalApplicationsCount = accountData.applicationsCount;\n this.totalApplicationGroupsCount = accountData.appGroupsCount;\n this.totalCampaignsCount = accountData.campaignsCount;\n this.totalTagsCount = accountData.tagsCount;\n this.totalFiltersCount = accountData.filtersCount;\n this.totalEventsCount = accountData.eventsCount;\n this.totalRichMediaCount = accountData.richMediaCount;\n this.totalInAppsCount = accountData.inAppsCount;\n this.totalDomainsCount = accountData.accountDomainsCount;\n this.totalMailsCount = accountData.accountMailsCount;\n this.totalEmailTemplatesCount = accountData.emailTemplatesCount;\n this.totalPresetsCount = accountData.presetsCount;\n this.totalAutoPushesCount = accountData.autoPushesCount;\n this.totalGeozonesCount = accountData.geoZonesCount;\n this.totalDeepLinksCount = accountData.deeplinksCount;\n this.totalRssFeedsCount = accountData.rssFeedsCount;\n this.totalTestDevicesCount = accountData.testDevicesCount;\n }\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\ntype AuthInfoUserAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoUser']['toObject']>;\n\n/**\n * Информация о пользователе\n */\nexport class User {\n /** Имя пользователя */\n public readonly name: string;\n\n /** Электронная почта пользователя */\n public readonly email: string;\n\n /** Активен ли пользователь */\n public readonly isActive: boolean;\n\n /** Является ли пользователь владельцем рабочего пространства */\n public readonly isOwner: boolean;\n\n /** Часовой пояс пользователя */\n public readonly timezone: string;\n\n /** Смещение часового пояса пользователя */\n public readonly timezoneOffset: number;\n\n /** Доступное количество аккаунтов для входа */\n public readonly accountCount: number;\n\n /** Хеш для аутентификации пользователя в Intercom */\n public readonly intercomUserHash: string;\n\n /** Подписан ли пользователь на получение новостей */\n public readonly isSubscribedForNewsletters: boolean;\n\n /** Подписан ли пользователь на получение ежедневных отчетов */\n public readonly isSubscribedForDailyStatsGlobal: boolean;\n\n /** Подписан ли пользователь на получение сообщений о превышении лимита подписчиков */\n public readonly isSubscribedForNotificationSubscribersLimitReached: boolean;\n\n /** Подписан ли пользователь на получения сообщений об истечении срока действия Apple сертификата */\n public readonly isSubscribedForNotificationExpiredIOSCertificate: boolean;\n\n /** Подписан ли пользователь на получение сообщений об отсутствии активности */\n public readonly isSubscribedForNotificationUserInactivity: boolean;\n\n /** Подписан ли пользователь на получение сообщений об отключении платформ */\n public readonly isSubscribedForNotificationDisablePlatform: boolean;\n\n constructor(accountData: AuthInfoAccountAsObject, userData: AuthInfoUserAsObject) {\n this.name = userData.username;\n this.email = userData.email;\n\n this.isActive = userData.isActive;\n this.isOwner = accountData.admin;\n\n this.timezone = userData.timezone;\n this.timezoneOffset = parseFloat(userData.timezoneOffset) * 60;\n\n this.accountCount = userData.accountsCount;\n\n this.intercomUserHash = userData.intercomUserHash;\n\n this.isSubscribedForNewsletters = userData.allowNewsletters;\n this.isSubscribedForDailyStatsGlobal = userData.allowDailyStatsGlobal;\n this.isSubscribedForNotificationSubscribersLimitReached = userData.allowNotificationSubscribers;\n this.isSubscribedForNotificationExpiredIOSCertificate = userData.allowNotificationIosLicense;\n this.isSubscribedForNotificationUserInactivity = userData.allowNotificationUserInactivity;\n this.isSubscribedForNotificationDisablePlatform = userData.allowNotificationDisablePlatform;\n\n Object.freeze(this);\n }\n}\n","import { ReplaySubject, type Subscription } from 'rxjs';\n\nimport { type GrpcClient } from '@pushwoosh/http-client';\nimport { type RpcServiceClientInstances, rpcServiceClient } from '@pushwoosh/grpc-bridge';\n\nimport { Account } from './entities/account';\nimport { Permissions } from './entities/permissions';\nimport { Platforms } from './entities/platforms';\nimport { Restrictions } from './entities/restrictions';\nimport { Counters } from './entities/counters';\nimport { User } from './entities/user';\n\nimport type { Session, RestrictionsData } from './session-store.types';\n\nconst {\n GetAuthInfoServiceClient,\n GetAuthInfoRequest,\n} = rpcServiceClient.accounts;\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\ntype AuthInfoUserAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoUser']['toObject']>;\n\nexport class SessionStore {\n /**\n * Клиент для работы c grpc\n */\n private readonly grpcClient: GrpcClient;\n\n /**\n * \"Наблюдаемый объект\" сеанса\n */\n private readonly subject: ReplaySubject<Session>;\n\n /**\n * Создать экземпляр класса SessionStore\n *\n * @param grpcClient - клиент grpc\n */\n constructor(grpcClient: GrpcClient) {\n this.grpcClient = grpcClient;\n\n this.subject = new ReplaySubject<Session>(1);\n }\n\n /**\n * Обновить \"Наблюдаемый объект\" текущего сеанса\n */\n private updateSubject = (accountData: AuthInfoAccountAsObject, userData: AuthInfoUserAsObject): void => {\n this.subject.next({\n account: new Account(accountData),\n counters: new Counters(accountData),\n platforms: new Platforms(accountData),\n permissions: new Permissions(accountData),\n restrictions: new Restrictions(accountData as RestrictionsData),\n user: new User(accountData, userData),\n });\n };\n\n /**\n * Загрузить данные об аккаунте и пользователе\n */\n public load = async (): Promise<[AuthInfoAccountAsObject, AuthInfoUserAsObject]> => {\n const serviceClient = this.grpcClient.createServiceClient(GetAuthInfoServiceClient);\n const request = (new GetAuthInfoRequest());\n const response = await serviceClient.getAuthInfo(request, {});\n const { account, user } = response.toObject();\n\n return [account as AuthInfoAccountAsObject, user as AuthInfoUserAsObject];\n };\n\n /**\n * Обновить сеанс\n */\n public update = async (): Promise<void> => {\n const [accountData, userData] = await this.load();\n this.updateSubject(accountData, userData);\n };\n\n /**\n * Подписаться на изменение сеанса\n *\n * @param callback - колбэк, который будет вызван при изменении сеанса\n */\n public subscribe = (callback: (session: Session) => any): Subscription => (\n this.subject.subscribe(callback)\n );\n}\n"],"names":["root","factory","exports","module","require","define","amd","self","__WEBPACK_EXTERNAL_MODULE__5652__","__WEBPACK_EXTERNAL_MODULE__3961__","__WEBPACK_EXTERNAL_MODULE__1157__","getBuiltInPrototypeMethod","isPrototypeOf","arrayMethod","stringMethod","ArrayPrototype","Array","prototype","StringPrototype","String","it","own","includes","path","parseFloat","isCallable","tryToString","$TypeError","TypeError","argument","isObject","$String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","O","length","value","index","indexOf","uncurryThis","toString","stringSlice","slice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","wellKnownSymbol","$Object","Object","CORRECT_ARGUMENTS","arguments","tag","result","undefined","key","error","tryGet","callee","MATCH","METHOD_NAME","regexp","error1","error2","DESCRIPTORS","definePropertyModule","createPropertyDescriptor","object","f","bitmap","enumerable","configurable","writable","global","defineProperty","fails","get","document","EXISTS","createElement","navigator","userAgent","match","version","process","Deno","versions","v8","split","apply","getOwnPropertyDescriptor","isForced","bind","createNonEnumerableProperty","hasOwn","wrapConstructor","NativeConstructor","Wrapper","a","b","c","this","options","source","FORCED","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","descriptor","TARGET","target","GLOBAL","STATIC","stat","PROTO","proto","nativeSource","targetPrototype","forced","dontCallGetSet","wrap","sham","real","exec","NATIVE_BIND","FunctionPrototype","Function","call","Reflect","aCallable","fn","that","test","hasOwnProperty","uncurryThisWithBind","CONSTRUCTOR","METHOD","Namespace","pureMethod","NativePrototype","aFunction","variable","namespace","method","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","toObject","classof","propertyIsEnumerable","documentAll","all","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isRegExp","getBuiltIn","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","ceil","floor","trunc","x","n","trim","whitespaces","charAt","$parseFloat","Symbol","ITERATOR","iterator","Infinity","trimmedString","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","IS_PURE","defineGlobalProperty","SHARED","store","push","mode","copyright","license","requireObjectCoercible","ltrim","RegExp","rtrim","TYPE","start","end","V8_VERSION","getOwnPropertySymbols","symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","number","len","isSymbol","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","shared","uid","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","name","$","$includes","addToUnscopables","notARegExp","correctIsRegExpLogic","stringIndexOf","searchString","parent","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","__esModule","d","definition","o","e","prop","r","toStringTag","ProductType","Platform","PlatformName","Account","accountData","timestamp","seconds","nanos","emails","domain","registrationDate","Date","toISOString","hasActiveOrder","currentOrder","billing","companyName","_a","billingAddress","accountCompanyName","_b","companyCountry","_c","country","companyCountryCode","_d","countryCode","companyState","_e","state","companyStateCode","_f","stateCode","companyCity","_g","city","companyStreet","_h","street","companyZip","_j","zipCode","companyPhone","_k","phone","companyVAT","_l","vatNumber","companyNumber","_m","primaryPersonFirstName","_o","firstName","primaryPersonLastName","_p","lastName","primaryPersonEmail","_q","paymentEmail","secondaryPersonFirstName","_r","secondaryPersonLastName","_s","secondaryPersonEmail","_t","industry","_u","department","_v","additionalEmails","_w","additionalEmailsList","join","productType","productName","restriction","isEnterprise","expiryDate","expireDate","isFrozen","frozen","isDeviceLimitReached","statistics","totalSubscribers","pushNotAvailableSubscribers","pushAvailableSubscribers","freeEmailsQuotaUpdateDate","freeEmailLimitUpdateDate","paidEmailsQuotaExpiryDate","paidEmailExpireDate","freeze","Permissions","account","hasSuperRights","aceSuperRight","canManageSubscription","aceManageSubscription","canManageAccessTokens","aceSeeApiAccess","canManageDomainsAndEmails","aceDomainAndEmailVerification","canManageSubUsers","aceManageUsers","canSeeApplications","aceSeeApplications","canModifyApplications","aceModifyApplications","canSeeApplicationGroups","aceSeeAppGroups","canModifyApplicationGroups","aceModifyAppGroups","canSeeMessages","aceSeeMessages","canModifyMessages","aceModifyMessages","canSendMessages","aceSendMessages","canSeeTags","aceSeeTags","canModifyTags","aceModifyTags","canSeeSegments","aceSeeFilters","canModifySegments","aceModifyFilters","canSeeRichMedia","aceSeeRichMedia","canModifyRichMedia","aceModifyRichMedia","canSeeInApps","canSeeEmailTemplates","aceSeeEmailTemplates","canModifyEmailTemplates","aceModifyEmailTemplates","Platforms","_this","checkIsAvailablePlatform","platform","_context","_includesInstanceProperty","available","filterAllowPlatforms","allowedPlatformsList","platforms","platformTypes","values","filter","getPlatformName","foundedPlatform","keys","find","Restrictions","restrictions","allowUseSubUsers","maxusers","maxUsersCount","allowUseBaiduAndroid","allowbaiduandroidplatformusage","maxDevicesCount","maxdevices","maxApplicationsCount","maxapps","maxApplicationGroupsCount","maxapplicationgroups","allowUseApplicationGroups","maxCampaignsCount","maxcampaigns","allowUseCampaigns","maxTagsCount","maxtags","allowUseTags","allowUseUserSpecificTags","maxuserspecifictags","maxFiltersCount","maxfilters","maxFastFiltersCount","maxpreparedfilters","allowUseFilters","allowUseFiltersCompiling","allowcompilefilter","allowUseFiltersWithTagNotSet","allowtagnotsetfilter","maxEventsCount","maxevents","allowUseEvents","maxRichMediaCount","maxrichmedia","allowUseRichMedia","maxInAppsCount","maxinapps","allowUseInApps","maxMailsCount","maxverifyingemails","maxDomainsCount","maxverifyingdomains","maxEmailTemplatesCount","maxemailtemplates","allowUseEmailPlatform","maxPresetsCount","maxpresets","allowUsePresets","maxAutoPushesCount","maxautopushes","allowUseAutoPushes","allowUseGeozones","allowgeozoneapi","allowUseSendToGeozones","allowsendtogeozone","maxGeozonesCount","maxgeozones","maxGeozoneRange","maxgeozonerange","minGeozoneRange","maxDeepLinksCount","maxdeeplinks","allowUseDeepLinks","maxTwitterFeedsCount","maxtwitterfeeds","allowUseTwitterFeeds","maxRssFeedsCount","maxrssfeeds","allowUseRssFeeds","allowUseRssFeedsCustomPollingInterval","allowcustomrsspollinginterval","maxTestDevicesCount","maxtestdevices","allowUseTestDevices","allowUseAccessTokens","allowapi","allowUseDataKeys","allowcustomdata","allowUseStatistics","allowstatsaccess","allowUseScheduling","allowscheduling","allowUseIOSAutoConfig","allowautoconfig","allowUseTwoFactorAuth","allowtwofactorauth","allowUseSendMessageByCsv","allowcsvmessage","allowUseAbTests","allowabtests","allowUseHtmlPages","allowUseRemotePage","allowremotepage","allowUseIOSCategories","maxioscategories","allowUseGoalTracking","allowgoaltracking","allowUseGetMessageLog","allowapigetmessagelog","allowUseIEPlatform","allowieplatformusage","allowUseDebugMode","allowdebugmode","allowUseUninstallTracking","allowtrackuninstalls","allowUseFrequencyCapping","allowfrequencycapping","allowUseInbox","allowinbox","maxInboxTtlDays","maxinboxttldays","allowUseSendExternalAndroidStatistics","allowsendexternalstats","allowUseGDPR","allowgdpr","sendRateMin","minsendrate","sendRateMax","maxsendrate","messageHistoryStoriedPeriodInDays","messagehistorystoreperiod","allowShowDeliveryStatistics","allowshowdeliverystatistics","allowBestTimeToSend","allowbesttimetosend","allowSegmentsGroups","allowsegmentsgroups","allowEventSegmentation","alloweventsegmentation","allowCustomerJourney","allowcustomerjourney","allowEventsFunnel","alloweventsfunnel","isEnabledBackup","allowbackup","allowChannelsSection","allowchannelssection","allowUseSMSPlatform","allowcjsms","allowUseWhatsAppPlatform","allowwhatsapp","Counters","totalApplicationsCount","applicationsCount","totalApplicationGroupsCount","appGroupsCount","totalCampaignsCount","campaignsCount","totalTagsCount","tagsCount","totalFiltersCount","filtersCount","totalEventsCount","eventsCount","totalRichMediaCount","richMediaCount","totalInAppsCount","inAppsCount","totalDomainsCount","accountDomainsCount","totalMailsCount","accountMailsCount","totalEmailTemplatesCount","emailTemplatesCount","totalPresetsCount","presetsCount","totalAutoPushesCount","autoPushesCount","totalGeozonesCount","geoZonesCount","totalDeepLinksCount","deeplinksCount","totalRssFeedsCount","rssFeedsCount","totalTestDevicesCount","testDevicesCount","User","userData","username","email","isActive","isOwner","admin","timezone","timezoneOffset","_parseFloat","accountCount","accountsCount","intercomUserHash","isSubscribedForNewsletters","allowNewsletters","isSubscribedForDailyStatsGlobal","allowDailyStatsGlobal","isSubscribedForNotificationSubscribersLimitReached","allowNotificationSubscribers","isSubscribedForNotificationExpiredIOSCertificate","allowNotificationIosLicense","isSubscribedForNotificationUserInactivity","allowNotificationUserInactivity","isSubscribedForNotificationDisablePlatform","allowNotificationDisablePlatform","rpcServiceClient","accounts","GetAuthInfoServiceClient","GetAuthInfoRequest","SessionStore","grpcClient","updateSubject","subject","next","counters","permissions","user","load","__awaiter","serviceClient","createServiceClient","request","getAuthInfo","response","sent","update","subscribe","callback","ReplaySubject"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,SAAUA,QAAQ,QAASA,QAAQ,2BAC3C,mBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,CAAC,QAAS,OAAQ,0BAA2BJ,GAC1B,iBAAZC,QACdA,QAAQ,4BAA8BD,EAAQG,QAAQ,SAAUA,QAAQ,QAASA,QAAQ,2BAEzFJ,EAAK,4BAA8BC,EAAQD,EAAY,MAAGA,EAAW,KAAGA,EAAK,0BAC9E,CATD,CASGO,MAAM,CAACC,EAAmCC,EAAmCC,I,mCCThFP,EAAOD,QAAUQ,C,wBCAjBP,EAAOD,QAAUO,C,wBCAjBN,EAAOD,QAAUM,C,iBCAjBL,EAAOD,QAAU,EAAjB,K,iBCAAC,EAAOD,QAAU,EAAjB,K,8BCCA,EAAQ,MACR,IAAIS,EAA4B,EAAQ,MAExCR,EAAOD,QAAUS,EAA0B,QAAS,W,8BCHpD,IAAIC,EAAgB,EAAQ,MACxBC,EAAc,EAAQ,MACtBC,EAAe,EAAQ,MAEvBC,EAAiBC,MAAMC,UACvBC,EAAkBC,OAAOF,UAE7Bd,EAAOD,QAAU,SAAUkB,GACzB,IAAIC,EAAMD,EAAGE,SACb,OAAIF,IAAOL,GAAmBH,EAAcG,EAAgBK,IAAOC,IAAQN,EAAeO,SAAkBT,EAC3F,iBAANO,GAAkBA,IAAOF,GAAoBN,EAAcM,EAAiBE,IAAOC,IAAQH,EAAgBI,SAC7GR,EACAO,CACX,C,8BCbA,EAAQ,MACR,IAAIE,EAAO,EAAQ,MAEnBpB,EAAOD,QAAUqB,EAAKC,U,8BCHtB,EAAQ,MACR,IAAIb,EAA4B,EAAQ,MAExCR,EAAOD,QAAUS,EAA0B,SA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EAAA,GAC5B5L,KAAKygB,cAAc1V,EAAasU,G,YAQ3B,KAAAmC,UAAY,SAACC,GAAsD,OACxEvO,EAAKwN,QAAQc,UAAUC,EADiD,EA5CxEzhB,KAAKwgB,WAAaA,EAElBxgB,KAAK0gB,QAAU,IAAIgB,EAAAA,cAAuB,EAC5C,C","sources":["webpack://@pushwoosh/session-store/webpack/universalModuleDefinition","webpack://@pushwoosh/session-store/external umd \"@pushwoosh/grpc-bridge\"","webpack://@pushwoosh/session-store/external umd \"rxjs\"","webpack://@pushwoosh/session-store/external umd \"tslib\"","webpack://@pushwoosh/session-store/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js","webpack://@pushwoosh/session-store/./node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/array/virtual/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/instance/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/es/string/virtual/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/a-callable.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/add-to-unscopables.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/an-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/array-includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/classof-raw.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/classof.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/correct-is-regexp-logic.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/create-non-enumerable-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/create-property-descriptor.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/define-global-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/descriptors.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/document-create-element.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/engine-user-agent.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/engine-v8-version.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/export.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/fails.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-apply.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-bind-context.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-bind-native.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-call.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-uncurry-this-clause.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/function-uncurry-this.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/get-built-in-prototype-method.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/get-built-in.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/get-method.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/global.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/has-own-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/ie8-dom-define.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/indexed-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-callable.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-forced.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-null-or-undefined.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-pure.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-regexp.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/is-symbol.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/length-of-array-like.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/math-trunc.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/not-a-regexp.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/number-parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-define-property.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-is-prototype-of.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/object-property-is-enumerable.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/ordinary-to-primitive.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/path.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/require-object-coercible.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/shared-store.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/shared.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/string-trim.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/symbol-constructor-detection.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-absolute-index.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-indexed-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-integer-or-infinity.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-length.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-object.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-primitive.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-property-key.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-string-tag-support.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/to-string.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/try-to-string.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/uid.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/use-symbol-as-uid.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/v8-prototype-define-bug.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/well-known-symbol.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/internals/whitespaces.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/modules/es.array.includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/modules/es.parse-float.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/modules/es.string.includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/stable/instance/includes.js","webpack://@pushwoosh/session-store/./node_modules/core-js-pure/stable/parse-float.js","webpack://@pushwoosh/session-store/webpack/bootstrap","webpack://@pushwoosh/session-store/webpack/runtime/compat get default export","webpack://@pushwoosh/session-store/webpack/runtime/define property getters","webpack://@pushwoosh/session-store/webpack/runtime/global","webpack://@pushwoosh/session-store/webpack/runtime/hasOwnProperty shorthand","webpack://@pushwoosh/session-store/webpack/runtime/make namespace object","webpack://@pushwoosh/session-store/./src/session-store.helpers.ts","webpack://@pushwoosh/session-store/./src/entities/account.ts","webpack://@pushwoosh/session-store/./src/entities/platforms.ts","webpack://@pushwoosh/session-store/./src/entities/permissions.ts","webpack://@pushwoosh/session-store/./src/entities/restrictions.ts","webpack://@pushwoosh/session-store/./src/entities/counters.ts","webpack://@pushwoosh/session-store/./src/entities/user.ts","webpack://@pushwoosh/session-store/./src/session-store.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"tslib\"), require(\"rxjs\"), require(\"@pushwoosh/grpc-bridge\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"tslib\", \"rxjs\", \"@pushwoosh/grpc-bridge\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"@pushwoosh/session-store\"] = factory(require(\"tslib\"), require(\"rxjs\"), require(\"@pushwoosh/grpc-bridge\"));\n\telse\n\t\troot[\"@pushwoosh/session-store\"] = factory(root[\"tslib\"], root[\"rxjs\"], root[\"@pushwoosh/grpc-bridge\"]);\n})(self, (__WEBPACK_EXTERNAL_MODULE__5652__, __WEBPACK_EXTERNAL_MODULE__3961__, __WEBPACK_EXTERNAL_MODULE__1157__) => {\nreturn ","module.exports = __WEBPACK_EXTERNAL_MODULE__1157__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3961__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5652__;","module.exports = require(\"core-js-pure/stable/instance/includes\");","module.exports = require(\"core-js-pure/stable/parse-float\");","'use strict';\nrequire('../../../modules/es.array.includes');\nvar getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method');\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'includes');\n","'use strict';\nvar isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar arrayMethod = require('../array/virtual/includes');\nvar stringMethod = require('../string/virtual/includes');\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.includes;\n if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n return stringMethod;\n } return own;\n};\n","'use strict';\nrequire('../modules/es.parse-float');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseFloat;\n","'use strict';\nrequire('../../../modules/es.string.includes');\nvar getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method');\n\nmodule.exports = getBuiltInPrototypeMethod('String', 'includes');\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nmodule.exports = function () { /* empty */ };\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n// add debugging info\nrequire('../internals/shared-store');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind methods to global for calling from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changes in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar path = require('../internals/path');\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n var Namespace = path[CONSTRUCTOR + 'Prototype'];\n var pureMethod = Namespace && Namespace[METHOD];\n if (pureMethod) return pureMethod;\n var NativeConstructor = global[CONSTRUCTOR];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n return NativePrototype && NativePrototype[METHOD];\n};\n","'use strict';\nvar path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = true;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw new $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar charAt = uncurryThis(''.charAt);\nvar $parseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = $parseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;\n} : $parseFloat;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.37.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar $ = require('../internals/export');\nvar $parseFloat = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat !== $parseFloat }, {\n parseFloat: $parseFloat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar parent = require('../../es/instance/includes');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../es/parse-float');\n\nmodule.exports = parent;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import type { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';\n\nexport function timestampToUtcDate(timestamp?: Timestamp.AsObject): string {\n const seconds = timestamp?.seconds || 0;\n const nanos = timestamp?.nanos || 0;\n const milliseconds = seconds * 1000 + nanos / 1e6;\n const utcDate = new Date(milliseconds);\n\n return utcDate.toISOString();\n}\n\nexport const formatEmailsList = (emails?: string[]): string => (\n emails ? emails.join(', ') : ''\n);\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\nimport { timestampToUtcDate, formatEmailsList } from '../session-store.helpers';\nimport { type NonNullableReturnType } from '../types';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\ntype CurrentOrderRes = NonNullableReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['getCurrentOrder']>;\ntype CurrentOrderAsObject = ReturnType<CurrentOrderRes['toObject']>;\n\nexport enum ProductType {\n FREE = 'Free',\n DEVELOPER = 'Developer',\n MARKETING = 'Marketing',\n ENTERPRISE = 'Enterprise',\n}\n\n/**\n * Информация об аккаунте\n */\nexport class Account {\n /** ID аккаунта */\n public readonly id: number;\n\n /** Название аккаунта */\n public readonly name: string;\n\n /** Домен аккаунта */\n public readonly domain: string;\n\n /** Дата регистрации аккаунта */\n public readonly registrationDate: string;\n\n /** Наличие активной подписки */\n public readonly hasActiveOrder: boolean;\n\n /** Текущая подписка */\n public readonly currentOrder?: CurrentOrderAsObject;\n\n /** Данные для выставления счетов */\n public readonly billing: {\n /** Название компании */\n readonly companyName: string | undefined;\n\n /** Название компании */\n readonly accountCompanyName: string | undefined;\n\n /** Страна */\n readonly companyCountry: string | undefined;\n\n /** Код страны */\n readonly companyCountryCode: string | undefined;\n\n /** Штат (только для USA) */\n readonly companyState: string | undefined;\n\n /** Код штата (только для USA) */\n readonly companyStateCode: string | undefined;\n\n /** Город */\n readonly companyCity: string | undefined;\n\n /** Улица */\n readonly companyStreet: string | undefined;\n\n /** Почтовый индекс */\n readonly companyZip: string | undefined;\n\n /** Телефонный номер */\n readonly companyPhone: string | undefined;\n\n /** ИНН предприятия */\n readonly companyVAT: string | undefined;\n\n /** Используется как номер закупки */\n readonly companyNumber: string | undefined;\n\n /** Имя контакта для связи */\n readonly primaryPersonFirstName: string | undefined;\n\n /** Фамилия контакта для связи */\n readonly primaryPersonLastName: string | undefined;\n\n /** Эл. почта контакта для связи */\n readonly primaryPersonEmail: string | undefined;\n\n /** Имя дополнительного контакта для связи */\n readonly secondaryPersonFirstName: string | undefined;\n\n /** Фамилия дополнительного контакта для связи */\n readonly secondaryPersonLastName: string | undefined;\n\n /** Эл. почта дополнительного контакта для связи */\n readonly secondaryPersonEmail: string | undefined;\n\n /** Сфера промышленности */\n readonly industry: string | undefined;\n\n /** Департамент */\n readonly department: string | undefined;\n\n /** Дополнительные эл. адреса для связи */\n readonly additionalEmails: string | undefined;\n };\n\n /** Какой тип подписки куплен */\n public readonly productType: ProductType;\n\n /** Название плана подписки. Просто строка, чтобы отобразить в настройках */\n public readonly productName: string;\n\n /** Является ли аккаунт энтерпрайзом */\n public readonly isEnterprise: boolean;\n\n /** Дата окончания подписки */\n public readonly expiryDate: string;\n\n /** Заморожен ли аккаунт */\n public readonly isFrozen: boolean;\n\n /** Превышено ли количество доступных девайсов */\n public readonly isDeviceLimitReached: boolean;\n\n /** Статистика по аккаунту */\n public readonly statistics: {\n /** Количество подписчиков */\n readonly totalSubscribers: number;\n\n /** Количество устройств, которым есть возможность показывать пуш-уведомления */\n readonly pushAvailableSubscribers: number;\n\n /** Количество устройств, которым нельзя показывать пуш-уведомления */\n readonly pushNotAvailableSubscribers: number;\n\n /** Дата обновления квоты бесплатных писем */\n readonly freeEmailsQuotaUpdateDate: string | undefined;\n\n /** Дата окончания действия квоты купленных писем */\n readonly paidEmailsQuotaExpiryDate: string | undefined;\n };\n\n constructor(accountData: AuthInfoAccountAsObject) {\n this.id = accountData.id;\n this.name = accountData.name;\n this.domain = accountData.domain;\n this.registrationDate = timestampToUtcDate(accountData.registrationDate);\n this.hasActiveOrder = accountData.hasActiveOrder;\n this.currentOrder = accountData.currentOrder;\n\n this.billing = {\n companyName: accountData.billingAddress?.companyName,\n accountCompanyName: accountData.billingAddress?.accountCompanyName,\n companyCountry: accountData.billingAddress?.country,\n companyCountryCode: accountData.billingAddress?.countryCode,\n companyState: accountData.billingAddress?.state,\n companyStateCode: accountData.billingAddress?.stateCode,\n companyCity: accountData.billingAddress?.city,\n companyStreet: accountData.billingAddress?.street,\n companyZip: accountData.billingAddress?.zipCode,\n companyPhone: accountData.billingAddress?.phone,\n companyVAT: accountData.billingAddress?.vatNumber,\n companyNumber: accountData.billingAddress?.companyNumber,\n primaryPersonFirstName: accountData.billingAddress?.firstName,\n primaryPersonLastName: accountData.billingAddress?.lastName,\n primaryPersonEmail: accountData.billingAddress?.paymentEmail,\n secondaryPersonFirstName: accountData.billingAddress?.secondaryPersonFirstName,\n secondaryPersonLastName: accountData.billingAddress?.secondaryPersonLastName,\n secondaryPersonEmail: accountData.billingAddress?.secondaryPersonEmail,\n industry: accountData.billingAddress?.industry,\n department: accountData.billingAddress?.department,\n additionalEmails: formatEmailsList(accountData.billingAddress?.additionalEmailsList),\n };\n\n this.productType = accountData.productType as ProductType;\n this.productName = accountData.restriction;\n this.isEnterprise = accountData.isEnterprise;\n this.expiryDate = accountData.expireDate;\n\n this.isFrozen = accountData.frozen;\n this.isDeviceLimitReached = accountData.isDeviceLimitReached;\n\n this.statistics = {\n totalSubscribers: accountData.pushNotAvailableSubscribers + accountData.pushAvailableSubscribers,\n pushAvailableSubscribers: accountData.pushAvailableSubscribers,\n pushNotAvailableSubscribers: accountData.pushNotAvailableSubscribers,\n freeEmailsQuotaUpdateDate: accountData.freeEmailLimitUpdateDate,\n paidEmailsQuotaExpiryDate: accountData.paidEmailExpireDate,\n };\n\n Object.freeze(this.currentOrder);\n Object.freeze(this.billing);\n Object.freeze(this.statistics);\n Object.freeze(this);\n }\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\n/**\n * Идентификатор платформы.\n */\nexport enum Platform {\n IOS = 1,\n // BLACKBERRY = 2, // RIP\n ANDROID = 3,\n // ASHA = 4, // RIP\n // WINDOWS_PHONE = 5, // RIP\n // BADA = 6, // RIP\n MAC_OS = 7,\n WINDOWS = 8,\n AMAZON = 9,\n SAFARI = 10,\n CHROME = 11,\n FIREFOX = 12,\n IE = 13,\n EMAIL = 14,\n // FACEBOOK_MESSENGER = 15, // RIP\n BAIDU = 16,\n HUAWEI = 17,\n SMS = 18,\n XIAOMI = 19,\n // WEB = 20, // INACTIVE\n WHATSAPP = 21,\n}\n\n/**\n * Название платформы.\n */\nexport enum PlatformName {\n IOS = 'iOS',\n // BLACKBERRY = 'Blackberry', // RIP\n ANDROID = 'Android',\n // ASHA = 'Asha', // RIP\n // WINDOWS_PHONE = 'Windows Phone', // RIP\n // BADA = 'Bada', // RIP\n MAC_OS = 'Mac OS',\n WINDOWS = 'Windows',\n AMAZON = 'Amazon',\n SAFARI = 'Safari',\n CHROME = 'Chrome',\n FIREFOX = 'Firefox',\n IE = 'Internet Explorer',\n EMAIL = 'Email',\n // FACEBOOK_MESSENGER = 'Facebook Messenger', // RIP\n BAIDU = 'Baidu',\n HUAWEI = 'Huawei',\n SMS = 'SMS',\n XIAOMI = 'Xiaomi',\n // WEB = 'Web', // INACTIVE\n WHATSAPP = 'WhatsApp',\n}\n\n/**\n * Вспомогательный класс для работы с платформами.\n */\nexport class Platforms {\n /**\n * Отсеять неизвестные значения.\n *\n * @param { Array<number> } platforms - массив доступных платформ.\n * @return { Array<Platform> } platforms - безопасный массив доступных платформ.\n */\n private static filterAllowPlatforms = (platforms: Array<number>): Array<Platform> => {\n const platformTypes = Object.values(Platform) as Array<Platform>;\n return platforms.filter((platform) => (\n platformTypes.includes(platform)\n ));\n };\n\n /**\n * Получить название платформы по ее идентификатору.\n *\n * @param { Platform } platform - идентификатор платформы.\n * @return { string } идентификатор платформы.\n */\n public static getPlatformName = (platform: Platform): string => {\n const platformKeys = Object.keys(PlatformName) as Array<keyof typeof PlatformName>;\n const foundedPlatform = platformKeys.find((key) => Platform[key] === platform);\n if (!foundedPlatform) {\n return 'Unknown platform!';\n }\n\n return PlatformName[foundedPlatform];\n };\n\n /**\n * Массив доступных платформ.\n */\n public readonly available: Array<Platform>;\n\n constructor(accountData: AuthInfoAccountAsObject) {\n this.available = Platforms.filterAllowPlatforms(accountData.allowedPlatformsList);\n Object.freeze(this);\n }\n\n /**\n * Проверить, доступна ли платформа для использования.\n *\n * @param { Platform } platform - идентификатор платформы.\n * @return { boolean } - доступна ли платформа для использования.\n */\n public checkIsAvailablePlatform = (platform: Platform): boolean => (\n this.available.includes(platform)\n );\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\n/**\n * Разрешения на использование функционала со стороны владельца аккаунта\n */\nexport class Permissions {\n /** Есть ли у пользователя супер-права */\n public readonly hasSuperRights: boolean;\n\n /** Может ли пользователь управлять подпиской */\n public readonly canManageSubscription: boolean;\n\n /** Может ли пользователь управлять ключами доступа */\n public readonly canManageAccessTokens: boolean;\n\n /** Может ли пользователь управлять доменами и электронными адресами */\n public readonly canManageDomainsAndEmails: boolean;\n\n /** Может ли пользователь управлять правами других пользователей */\n public readonly canManageSubUsers: boolean;\n\n /** Может ли пользователь просматривать приложения */\n public readonly canSeeApplications: boolean;\n\n /** Может ли пользователь редактировать приложения */\n public readonly canModifyApplications: boolean;\n\n /** Может ли пользователь просматривать группы приложений */\n public readonly canSeeApplicationGroups: boolean;\n\n /** Может ли пользователь редактировать группы приложений */\n public readonly canModifyApplicationGroups: boolean;\n\n /** Может ли пользователь просматривать отправленные сообщения */\n public readonly canSeeMessages: boolean;\n\n /** Может ли пользователь редактировать (отменять) отправленные сообщения */\n public readonly canModifyMessages: boolean;\n\n /** Может ли пользователь отправлять сообщения */\n public readonly canSendMessages: boolean;\n\n /** Может ли пользователь просматривать теги */\n public readonly canSeeTags: boolean;\n\n /** Может ли пользователь редактировать теги */\n public readonly canModifyTags: boolean;\n\n /** Может ли пользователь просматривать сегменты */\n public readonly canSeeSegments: boolean;\n\n /** Может ли пользователь редактировать сегменты */\n public readonly canModifySegments: boolean;\n\n /** Может ли пользователь просматривать рич-медиа */\n public readonly canSeeRichMedia: boolean;\n\n /** Может ли пользователь редактировать рич-медиа */\n public readonly canModifyRichMedia: boolean;\n\n /** Может ли пользователь просматривать рич-медиа */\n public readonly canSeeInApps: boolean;\n\n /** Может ли пользователь просматривать шаблоны писем */\n public readonly canSeeEmailTemplates: boolean;\n\n /** Может ли пользователь редактировать шаблоны писем */\n public readonly canModifyEmailTemplates: boolean;\n\n constructor(account: AuthInfoAccountAsObject) {\n this.hasSuperRights = account.aceSuperRight;\n\n this.canManageSubscription = account.aceManageSubscription;\n\n this.canManageAccessTokens = account.aceSeeApiAccess;\n\n this.canManageDomainsAndEmails = account.aceDomainAndEmailVerification;\n\n this.canManageSubUsers = account.aceManageUsers;\n\n this.canSeeApplications = account.aceSeeApplications;\n this.canModifyApplications = account.aceModifyApplications;\n\n this.canSeeApplicationGroups = account.aceSeeAppGroups;\n this.canModifyApplicationGroups = account.aceModifyAppGroups;\n\n this.canSeeMessages = account.aceSeeMessages;\n this.canModifyMessages = account.aceModifyMessages && this.canSeeMessages;\n this.canSendMessages = account.aceSendMessages && this.canSeeMessages;\n\n this.canSeeTags = account.aceSeeTags;\n this.canModifyTags = account.aceModifyTags;\n\n this.canSeeSegments = account.aceSeeFilters && this.canSeeTags;\n this.canModifySegments = account.aceModifyFilters && this.canSeeTags;\n\n this.canSeeRichMedia = account.aceSeeRichMedia && this.canSeeTags && this.canSeeSegments;\n this.canModifyRichMedia = account.aceModifyRichMedia && this.canSeeTags && this.canSeeSegments;\n\n this.canSeeInApps = this.canSeeTags && this.canSeeSegments && this.canSeeRichMedia;\n\n this.canSeeEmailTemplates = account.aceSeeEmailTemplates && this.canSeeTags;\n this.canModifyEmailTemplates = account.aceModifyEmailTemplates && this.canSeeTags;\n\n Object.freeze(this);\n }\n}\n","import type { RestrictionsData } from '../session-store.types';\n\n/**\n * Ограничения на использование функционала со стороны PW\n */\nexport class Restrictions {\n /** Доступно ли использование суб-пользователей */\n public readonly allowUseSubUsers: boolean;\n\n /** Доступное количество пользователей (включая владельца аккаунта) */\n public readonly maxUsersCount: number;\n\n /** Включено ли разрешение использовать Baidu Android */\n public readonly allowUseBaiduAndroid: boolean;\n\n /** Доступное количество девайсов */\n public readonly maxDevicesCount: number;\n\n /** Доступное количество \"Applications\" */\n public readonly maxApplicationsCount: number;\n\n /** Доступное количество \"Application Groups\" */\n public readonly maxApplicationGroupsCount: number;\n\n /** Доступно ли использование \"Application Groups\" */\n public readonly allowUseApplicationGroups: boolean;\n\n /** Доступное количество \"Campaigns\" */\n public readonly maxCampaignsCount: number;\n\n /** Доступно ли использование \"Campaigns\" */\n public readonly allowUseCampaigns: boolean;\n\n /** Доступное количество \"Tags\" */\n public readonly maxTagsCount: number;\n\n /** Доступно ли использование \"Tags\" */\n public readonly allowUseTags: boolean;\n\n /** Доступно ли использование \"User Specific Tags\" */\n public readonly allowUseUserSpecificTags: boolean;\n\n /** Доступное количество \"Filters\" */\n public readonly maxFiltersCount: number;\n\n /** Доступное количество \"Fast Filters\" */\n public readonly maxFastFiltersCount: number;\n\n /** Доступно ли использование \"Filters\" */\n public readonly allowUseFilters: boolean;\n\n /** Доступно ли использование \"Filters Compiling\" */\n public readonly allowUseFiltersCompiling: boolean;\n\n /** Доступно ли использование \"Filter With Tag Not Set\" */\n public readonly allowUseFiltersWithTagNotSet: boolean;\n\n /** Доступное количество \"Events\" */\n public readonly maxEventsCount: number;\n\n /** Доступно ли использование \"Events\" */\n public readonly allowUseEvents: boolean;\n\n /** Доступное количество \"Rich Media\" */\n public readonly maxRichMediaCount: number;\n\n /** Доступно ли использование \"Rich Media\" */\n public readonly allowUseRichMedia: boolean;\n\n /** Доступное количество \"In Apps\" */\n public readonly maxInAppsCount: number;\n\n /** Доступно ли использование \"InApps\" */\n public readonly allowUseInApps: boolean;\n\n /** Доступное количество сконфигурированных электронных адресов */\n public readonly maxMailsCount: number;\n\n /** Доступное количество сконфигурированных доменов */\n public readonly maxDomainsCount: number;\n\n /** Доступное количество шаблонов электронных писем */\n public readonly maxEmailTemplatesCount: number;\n\n /** Доступен ли Email */\n public readonly allowUseEmailPlatform: boolean;\n\n /** Доступное количество \"Presets\" */\n public readonly maxPresetsCount: number;\n\n /** Доступно ли использование \"Presets\" */\n public readonly allowUsePresets: boolean;\n\n /** Доступное количество \"Auto Pushes\" */\n public readonly maxAutoPushesCount: number;\n\n /** Доступно ли использование \"Auto Pushes\" */\n public readonly allowUseAutoPushes: boolean;\n\n /** Доступно ли использование \"Geozones\" */\n public readonly allowUseGeozones: boolean;\n\n /** Доступна ли отправка сообщений с использованием \"Geozones\" */\n public readonly allowUseSendToGeozones: boolean;\n\n /** Доступное количество \"Geozones\" */\n public readonly maxGeozonesCount: number;\n\n /** Максимальная зона выделения \"Geozone\" */\n public readonly maxGeozoneRange: number;\n\n /** Минимальная зона выделения \"Geozone\" */\n public readonly minGeozoneRange: number;\n\n /** Доступное количество \"Deep Links\" */\n public readonly maxDeepLinksCount: number;\n\n /** Доступно ли использование \"Deep Links\" */\n public readonly allowUseDeepLinks: boolean;\n\n /** Доступное количество \"Twitter Feeds\" */\n public readonly maxTwitterFeedsCount: number;\n\n /** Доступно ли использование \"Twitter Feeds\" */\n public readonly allowUseTwitterFeeds: boolean;\n\n /** Доступное количество \"Rss Feeds\" */\n public readonly maxRssFeedsCount: number;\n\n /** Доступно ли использование \"Rss Feeds\" */\n public readonly allowUseRssFeeds: boolean;\n\n /** Доступно ли использование \"Rss Feeds Custom Polling Interval\" */\n public readonly allowUseRssFeedsCustomPollingInterval: boolean;\n\n /** Доступное количество \"Test Devices\" */\n public readonly maxTestDevicesCount: number;\n\n /** Доступно ли использование \"Test Devices\" */\n public readonly allowUseTestDevices: boolean;\n\n /** Доступно ли использование \"Access Tokens\" */\n public readonly allowUseAccessTokens: boolean;\n\n /** Доступно ли использование \"Data Keys\" */\n public readonly allowUseDataKeys: boolean;\n\n /** Доступен ли просмотр различной статистики */\n public readonly allowUseStatistics: boolean;\n\n /** Доступна ли отправка сообщений по расписанию */\n public readonly allowUseScheduling: boolean;\n\n /** Доступно ли использование автоконфигурации IOS платформы */\n public readonly allowUseIOSAutoConfig: boolean;\n\n /** Доступно ли использование двухфакторной аутентификации */\n public readonly allowUseTwoFactorAuth: boolean;\n\n /** Доступна ли отправка сообщений по CSV */\n public readonly allowUseSendMessageByCsv: boolean;\n\n /** Доступно ли использование \"AB Tests\" */\n public readonly allowUseAbTests: boolean;\n\n /** Доступно ли использование \"Html Pages\" */\n public readonly allowUseHtmlPages: boolean;\n\n /** Доступно ли использование \"Remote Pages\" */\n public readonly allowUseRemotePage: boolean;\n\n /** Доступно ли использование \"IOS Categories\" */\n public readonly allowUseIOSCategories: boolean;\n\n /** Доступно ли использование \"Goal Tracking\" */\n public readonly allowUseGoalTracking: boolean;\n\n /** Доступно ли использование \"API GetMessageLog\" */\n public readonly allowUseGetMessageLog: boolean;\n\n /** Доступно ли использование \"IE\" */\n public readonly allowUseIEPlatform: boolean;\n\n /** Доступно ли использование \"Debug Mode\" */\n public readonly allowUseDebugMode: boolean;\n\n /** Доступно ли использование \"Tracking Uninstall\" */\n public readonly allowUseUninstallTracking: boolean;\n\n /** Доступно ли использование \"Frequency Capping\" */\n public readonly allowUseFrequencyCapping: boolean;\n\n /** Доступно ли использование \"Inbox\" */\n public readonly allowUseInbox: boolean;\n\n /** Время хранения сообщения в \"Inbox\" */\n public readonly maxInboxTtlDays: number;\n\n /** Доступна ли отправка дополнительной статистики для Android приложений */\n public readonly allowUseSendExternalAndroidStatistics: boolean;\n\n /** Доступно ли использование \"GDPR\" */\n public readonly allowUseGDPR: boolean;\n\n /** Минимальная скорость отправки сообщений */\n public readonly sendRateMin: number;\n\n /** Максимальная скорость отправки сообщений */\n public readonly sendRateMax: number;\n\n /** Период сохранения истории сообщений в днях */\n public readonly messageHistoryStoriedPeriodInDays: number;\n\n /** Показывать delivered rate на страницах статистики */\n public readonly allowShowDeliveryStatistics: boolean;\n\n /** Показывать optimal send time */\n public readonly allowBestTimeToSend: boolean;\n\n /** Разрешить созданий групп сегментов */\n public readonly allowSegmentsGroups: boolean;\n\n /** Разрешить сегментацию по событиям */\n public readonly allowEventSegmentation: boolean;\n\n /** Разрешить Customer Journey */\n public readonly allowCustomerJourney: boolean;\n\n /** Разрешить Events Funnel */\n public readonly allowEventsFunnel: boolean;\n\n /** Включено ли создание резервных копий */\n public readonly isEnabledBackup: boolean;\n\n /** Есть ли у пользователя вкладка Channels и доступ до one-time форм */\n public readonly allowChannelsSection: boolean;\n\n /** can use SMS platform */\n public readonly allowUseSMSPlatform: boolean;\n\n /** can use WhatsApp platform */\n public readonly allowUseWhatsAppPlatform: boolean;\n\n constructor({ restrictions }: RestrictionsData) {\n this.allowUseSubUsers = restrictions.maxusers > 1;\n\n this.maxUsersCount = restrictions.maxusers;\n\n this.allowUseBaiduAndroid = restrictions.allowbaiduandroidplatformusage;\n\n this.maxDevicesCount = restrictions.maxdevices;\n\n this.maxApplicationsCount = restrictions.maxapps;\n\n this.maxApplicationGroupsCount = restrictions.maxapplicationgroups;\n this.allowUseApplicationGroups = this.maxApplicationGroupsCount > 1;\n\n this.maxCampaignsCount = restrictions.maxcampaigns;\n this.allowUseCampaigns = this.maxCampaignsCount > 1;\n\n this.maxTagsCount = restrictions.maxtags;\n this.allowUseTags = this.maxTagsCount > 0;\n this.allowUseUserSpecificTags = restrictions.maxuserspecifictags > 0;\n\n this.maxFiltersCount = restrictions.maxfilters;\n this.maxFastFiltersCount = restrictions.maxpreparedfilters;\n this.allowUseFilters = this.maxFiltersCount > 0;\n this.allowUseFiltersCompiling = restrictions.allowcompilefilter;\n this.allowUseFiltersWithTagNotSet = restrictions.allowtagnotsetfilter;\n\n this.maxEventsCount = restrictions.maxevents;\n this.allowUseEvents = this.maxEventsCount > 0;\n\n this.maxRichMediaCount = restrictions.maxrichmedia;\n this.allowUseRichMedia = this.maxRichMediaCount > 0;\n\n this.maxInAppsCount = restrictions.maxinapps;\n this.allowUseInApps = this.maxInAppsCount > 0;\n\n this.maxMailsCount = restrictions.maxverifyingemails;\n this.maxDomainsCount = restrictions.maxverifyingdomains;\n this.maxEmailTemplatesCount = restrictions.maxemailtemplates;\n this.allowUseEmailPlatform = this.maxEmailTemplatesCount > 0;\n\n this.maxPresetsCount = restrictions.maxpresets;\n this.allowUsePresets = this.maxPresetsCount > 0;\n\n this.maxAutoPushesCount = restrictions.maxautopushes;\n this.allowUseAutoPushes = this.maxAutoPushesCount > 0;\n\n this.allowUseGeozones = restrictions.allowgeozoneapi;\n this.allowUseSendToGeozones = restrictions.allowsendtogeozone;\n this.maxGeozonesCount = restrictions.maxgeozones;\n this.maxGeozoneRange = restrictions.maxgeozonerange;\n this.minGeozoneRange = 50;\n\n this.maxDeepLinksCount = restrictions.maxdeeplinks;\n this.allowUseDeepLinks = this.maxDeepLinksCount > 0;\n\n this.maxTwitterFeedsCount = restrictions.maxtwitterfeeds;\n this.allowUseTwitterFeeds = this.maxTwitterFeedsCount > 0;\n\n this.maxRssFeedsCount = restrictions.maxrssfeeds;\n this.allowUseRssFeeds = this.maxRssFeedsCount > 0;\n this.allowUseRssFeedsCustomPollingInterval = restrictions.allowcustomrsspollinginterval;\n\n this.maxTestDevicesCount = restrictions.maxtestdevices;\n this.allowUseTestDevices = this.maxTestDevicesCount > 0;\n\n this.allowUseAccessTokens = restrictions.allowapi;\n\n this.allowUseDataKeys = restrictions.allowcustomdata;\n\n this.allowUseStatistics = restrictions.allowstatsaccess;\n\n this.allowUseScheduling = restrictions.allowscheduling;\n\n this.allowUseIOSAutoConfig = restrictions.allowautoconfig;\n\n this.allowUseTwoFactorAuth = restrictions.allowtwofactorauth;\n\n this.allowUseSendMessageByCsv = restrictions.allowcsvmessage;\n\n this.allowUseAbTests = restrictions.allowabtests;\n\n this.allowUseHtmlPages = false;\n\n this.allowUseRemotePage = restrictions.allowremotepage;\n\n this.allowUseIOSCategories = restrictions.maxioscategories > 0;\n\n this.allowUseGoalTracking = restrictions.allowgoaltracking;\n\n this.allowUseGetMessageLog = restrictions.allowapigetmessagelog;\n\n this.allowUseIEPlatform = restrictions.allowieplatformusage;\n\n this.allowUseDebugMode = restrictions.allowdebugmode;\n\n this.allowUseUninstallTracking = restrictions.allowtrackuninstalls;\n\n this.allowUseFrequencyCapping = restrictions.allowfrequencycapping;\n\n this.allowUseInbox = restrictions.allowinbox;\n this.maxInboxTtlDays = restrictions.maxinboxttldays;\n\n this.allowUseSendExternalAndroidStatistics = restrictions.allowsendexternalstats;\n this.allowUseGDPR = restrictions.allowgdpr;\n\n this.sendRateMin = restrictions.minsendrate;\n this.sendRateMax = restrictions.maxsendrate;\n\n this.messageHistoryStoriedPeriodInDays = restrictions.messagehistorystoreperiod;\n\n this.allowShowDeliveryStatistics = restrictions.allowshowdeliverystatistics;\n\n this.allowBestTimeToSend = restrictions.allowbesttimetosend;\n\n this.allowSegmentsGroups = restrictions.allowsegmentsgroups;\n this.allowEventSegmentation = restrictions.alloweventsegmentation;\n\n this.allowCustomerJourney = restrictions.allowcustomerjourney;\n\n this.allowEventsFunnel = restrictions.alloweventsfunnel;\n\n this.isEnabledBackup = restrictions.allowbackup;\n\n this.allowChannelsSection = restrictions.allowchannelssection;\n\n this.allowUseSMSPlatform = restrictions.allowcjsms;\n\n this.allowUseWhatsAppPlatform = restrictions.allowwhatsapp;\n\n Object.freeze(this);\n }\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\n\n/**\n * Счетчики владельца аккаунта\n */\nexport class Counters {\n /** Количество существующих \"Applications\" */\n public readonly totalApplicationsCount: number;\n\n /** Количество существующих \"Application Groups\" */\n public readonly totalApplicationGroupsCount: number;\n\n /** Количество существующих \"Campaigns\" */\n public readonly totalCampaignsCount: number;\n\n /** Количество существующих \"Tags\" */\n public readonly totalTagsCount: number;\n\n /** Количество существующих \"Filters\" */\n public readonly totalFiltersCount: number;\n\n /** Количество существующих \"Events\" */\n public readonly totalEventsCount: number;\n\n /** Количество существующих \"Rich Media\" */\n public readonly totalRichMediaCount: number;\n\n /** Количество существующих \"In Apps\" */\n public readonly totalInAppsCount: number;\n\n /** Количество существующих сконфигурированных доменов */\n public readonly totalDomainsCount: number;\n\n /** Количество существующих сконфигурированных электронных адресов */\n public readonly totalMailsCount: number;\n\n /** Количество существующих шаблонов электронных писем */\n public readonly totalEmailTemplatesCount: number;\n\n /** Количество существующих \"Presets\" */\n public readonly totalPresetsCount: number;\n\n /** Количество существующих \"Auto Pushes\" */\n public readonly totalAutoPushesCount: number;\n\n /** Количество существующих \"Geozones\" */\n public readonly totalGeozonesCount: number;\n\n /** Количество существующих \"Deep Links\" */\n public readonly totalDeepLinksCount: number;\n\n /** Количество существующих \"Rss Feeds\" */\n public readonly totalRssFeedsCount: number;\n\n /** Количество существующих \"Test Devices\" */\n public readonly totalTestDevicesCount: number;\n\n constructor(accountData: AuthInfoAccountAsObject) {\n this.totalApplicationsCount = accountData.applicationsCount;\n this.totalApplicationGroupsCount = accountData.appGroupsCount;\n this.totalCampaignsCount = accountData.campaignsCount;\n this.totalTagsCount = accountData.tagsCount;\n this.totalFiltersCount = accountData.filtersCount;\n this.totalEventsCount = accountData.eventsCount;\n this.totalRichMediaCount = accountData.richMediaCount;\n this.totalInAppsCount = accountData.inAppsCount;\n this.totalDomainsCount = accountData.accountDomainsCount;\n this.totalMailsCount = accountData.accountMailsCount;\n this.totalEmailTemplatesCount = accountData.emailTemplatesCount;\n this.totalPresetsCount = accountData.presetsCount;\n this.totalAutoPushesCount = accountData.autoPushesCount;\n this.totalGeozonesCount = accountData.geoZonesCount;\n this.totalDeepLinksCount = accountData.deeplinksCount;\n this.totalRssFeedsCount = accountData.rssFeedsCount;\n this.totalTestDevicesCount = accountData.testDevicesCount;\n }\n}\n","import type { RpcServiceClientInstances } from '@pushwoosh/grpc-bridge';\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\ntype AuthInfoUserAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoUser']['toObject']>;\n\n/**\n * Информация о пользователе\n */\nexport class User {\n /** Имя пользователя */\n public readonly name: string;\n\n /** Электронная почта пользователя */\n public readonly email: string;\n\n /** Активен ли пользователь */\n public readonly isActive: boolean;\n\n /** Является ли пользователь владельцем рабочего пространства */\n public readonly isOwner: boolean;\n\n /** Часовой пояс пользователя */\n public readonly timezone: string;\n\n /** Смещение часового пояса пользователя */\n public readonly timezoneOffset: number;\n\n /** Доступное количество аккаунтов для входа */\n public readonly accountCount: number;\n\n /** Хеш для аутентификации пользователя в Intercom */\n public readonly intercomUserHash: string;\n\n /** Подписан ли пользователь на получение новостей */\n public readonly isSubscribedForNewsletters: boolean;\n\n constructor(accountData: AuthInfoAccountAsObject, userData: AuthInfoUserAsObject) {\n this.name = userData.username;\n this.email = userData.email;\n\n this.isActive = userData.isActive;\n this.isOwner = accountData.admin;\n\n this.timezone = userData.timezone;\n this.timezoneOffset = parseFloat(userData.timezoneOffset) * 60;\n\n this.accountCount = userData.accountsCount;\n\n this.intercomUserHash = userData.intercomUserHash;\n\n this.isSubscribedForNewsletters = userData.allowNewsletters;\n\n Object.freeze(this);\n }\n}\n","import { ReplaySubject, type Subscription } from 'rxjs';\n\nimport { type GrpcClient } from '@pushwoosh/http-client';\nimport { type RpcServiceClientInstances, rpcServiceClient } from '@pushwoosh/grpc-bridge';\n\nimport { Account } from './entities/account';\nimport { Permissions } from './entities/permissions';\nimport { Platforms } from './entities/platforms';\nimport { Restrictions } from './entities/restrictions';\nimport { Counters } from './entities/counters';\nimport { User } from './entities/user';\n\nimport type { Session, RestrictionsData } from './session-store.types';\n\nconst {\n GetAuthInfoServiceClient,\n GetAuthInfoRequest,\n} = rpcServiceClient.accounts;\n\ntype AuthInfoAccountAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoAccount']['toObject']>;\ntype AuthInfoUserAsObject = ReturnType<RpcServiceClientInstances['accounts']['AuthInfoUser']['toObject']>;\n\nexport class SessionStore {\n /**\n * Клиент для работы c grpc\n */\n private readonly grpcClient: GrpcClient;\n\n /**\n * \"Наблюдаемый объект\" сеанса\n */\n private readonly subject: ReplaySubject<Session>;\n\n /**\n * Создать экземпляр класса SessionStore\n *\n * @param grpcClient - клиент grpc\n */\n constructor(grpcClient: GrpcClient) {\n this.grpcClient = grpcClient;\n\n this.subject = new ReplaySubject<Session>(1);\n }\n\n /**\n * Обновить \"Наблюдаемый объект\" текущего сеанса\n */\n private updateSubject = (accountData: AuthInfoAccountAsObject, userData: AuthInfoUserAsObject): void => {\n this.subject.next({\n account: new Account(accountData),\n counters: new Counters(accountData),\n platforms: new Platforms(accountData),\n permissions: new Permissions(accountData),\n restrictions: new Restrictions(accountData as RestrictionsData),\n user: new User(accountData, userData),\n });\n };\n\n /**\n * Загрузить данные об аккаунте и пользователе\n */\n public load = async (): Promise<[AuthInfoAccountAsObject, AuthInfoUserAsObject]> => {\n const serviceClient = this.grpcClient.createServiceClient(GetAuthInfoServiceClient);\n const request = (new GetAuthInfoRequest());\n const response = await serviceClient.getAuthInfo(request, {});\n const { account, user } = response.toObject();\n\n return [account as AuthInfoAccountAsObject, user as AuthInfoUserAsObject];\n };\n\n /**\n * Обновить сеанс\n */\n public update = async (): Promise<void> => {\n const [accountData, userData] = await this.load();\n this.updateSubject(accountData, userData);\n };\n\n /**\n * Подписаться на изменение сеанса\n *\n * @param callback - колбэк, который будет вызван при изменении сеанса\n */\n public subscribe = (callback: (session: Session) => any): Subscription => (\n this.subject.subscribe(callback)\n );\n}\n"],"names":["root","factory","exports","module","require","define","amd","self","__WEBPACK_EXTERNAL_MODULE__5652__","__WEBPACK_EXTERNAL_MODULE__3961__","__WEBPACK_EXTERNAL_MODULE__1157__","getBuiltInPrototypeMethod","isPrototypeOf","arrayMethod","stringMethod","ArrayPrototype","Array","prototype","StringPrototype","String","it","own","includes","path","parseFloat","isCallable","tryToString","$TypeError","TypeError","argument","isObject","$String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","O","length","value","index","indexOf","uncurryThis","toString","stringSlice","slice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","wellKnownSymbol","$Object","Object","CORRECT_ARGUMENTS","arguments","tag","result","undefined","key","error","tryGet","callee","MATCH","METHOD_NAME","regexp","error1","error2","DESCRIPTORS","definePropertyModule","createPropertyDescriptor","object","f","bitmap","enumerable","configurable","writable","global","defineProperty","fails","get","document","EXISTS","createElement","navigator","userAgent","match","version","process","Deno","versions","v8","split","apply","getOwnPropertyDescriptor","isForced","bind","createNonEnumerableProperty","hasOwn","wrapConstructor","NativeConstructor","Wrapper","a","b","c","this","options","source","FORCED","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","descriptor","TARGET","target","GLOBAL","STATIC","stat","PROTO","proto","nativeSource","targetPrototype","forced","dontCallGetSet","wrap","sham","real","exec","NATIVE_BIND","FunctionPrototype","Function","call","Reflect","aCallable","fn","that","test","hasOwnProperty","uncurryThisWithBind","CONSTRUCTOR","METHOD","Namespace","pureMethod","NativePrototype","aFunction","variable","namespace","method","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","toObject","classof","propertyIsEnumerable","documentAll","all","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isRegExp","getBuiltIn","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","ceil","floor","trunc","x","n","trim","whitespaces","charAt","$parseFloat","Symbol","ITERATOR","iterator","Infinity","trimmedString","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","IS_PURE","defineGlobalProperty","SHARED","store","push","mode","copyright","license","requireObjectCoercible","ltrim","RegExp","rtrim","TYPE","start","end","V8_VERSION","getOwnPropertySymbols","symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","number","len","isSymbol","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","shared","uid","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","name","$","$includes","addToUnscopables","notARegExp","correctIsRegExpLogic","stringIndexOf","searchString","parent","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","__esModule","d","definition","o","e","prop","r","toStringTag","ProductType","Platform","PlatformName","Account","accountData","timestamp","seconds","nanos","emails","domain","registrationDate","Date","toISOString","hasActiveOrder","currentOrder","billing","companyName","_a","billingAddress","accountCompanyName","_b","companyCountry","_c","country","companyCountryCode","_d","countryCode","companyState","_e","state","companyStateCode","_f","stateCode","companyCity","_g","city","companyStreet","_h","street","companyZip","_j","zipCode","companyPhone","_k","phone","companyVAT","_l","vatNumber","companyNumber","_m","primaryPersonFirstName","_o","firstName","primaryPersonLastName","_p","lastName","primaryPersonEmail","_q","paymentEmail","secondaryPersonFirstName","_r","secondaryPersonLastName","_s","secondaryPersonEmail","_t","industry","_u","department","_v","additionalEmails","_w","additionalEmailsList","join","productType","productName","restriction","isEnterprise","expiryDate","expireDate","isFrozen","frozen","isDeviceLimitReached","statistics","totalSubscribers","pushNotAvailableSubscribers","pushAvailableSubscribers","freeEmailsQuotaUpdateDate","freeEmailLimitUpdateDate","paidEmailsQuotaExpiryDate","paidEmailExpireDate","freeze","Permissions","account","hasSuperRights","aceSuperRight","canManageSubscription","aceManageSubscription","canManageAccessTokens","aceSeeApiAccess","canManageDomainsAndEmails","aceDomainAndEmailVerification","canManageSubUsers","aceManageUsers","canSeeApplications","aceSeeApplications","canModifyApplications","aceModifyApplications","canSeeApplicationGroups","aceSeeAppGroups","canModifyApplicationGroups","aceModifyAppGroups","canSeeMessages","aceSeeMessages","canModifyMessages","aceModifyMessages","canSendMessages","aceSendMessages","canSeeTags","aceSeeTags","canModifyTags","aceModifyTags","canSeeSegments","aceSeeFilters","canModifySegments","aceModifyFilters","canSeeRichMedia","aceSeeRichMedia","canModifyRichMedia","aceModifyRichMedia","canSeeInApps","canSeeEmailTemplates","aceSeeEmailTemplates","canModifyEmailTemplates","aceModifyEmailTemplates","Platforms","_this","checkIsAvailablePlatform","platform","_context","_includesInstanceProperty","available","filterAllowPlatforms","allowedPlatformsList","platforms","platformTypes","values","filter","getPlatformName","foundedPlatform","keys","find","Restrictions","restrictions","allowUseSubUsers","maxusers","maxUsersCount","allowUseBaiduAndroid","allowbaiduandroidplatformusage","maxDevicesCount","maxdevices","maxApplicationsCount","maxapps","maxApplicationGroupsCount","maxapplicationgroups","allowUseApplicationGroups","maxCampaignsCount","maxcampaigns","allowUseCampaigns","maxTagsCount","maxtags","allowUseTags","allowUseUserSpecificTags","maxuserspecifictags","maxFiltersCount","maxfilters","maxFastFiltersCount","maxpreparedfilters","allowUseFilters","allowUseFiltersCompiling","allowcompilefilter","allowUseFiltersWithTagNotSet","allowtagnotsetfilter","maxEventsCount","maxevents","allowUseEvents","maxRichMediaCount","maxrichmedia","allowUseRichMedia","maxInAppsCount","maxinapps","allowUseInApps","maxMailsCount","maxverifyingemails","maxDomainsCount","maxverifyingdomains","maxEmailTemplatesCount","maxemailtemplates","allowUseEmailPlatform","maxPresetsCount","maxpresets","allowUsePresets","maxAutoPushesCount","maxautopushes","allowUseAutoPushes","allowUseGeozones","allowgeozoneapi","allowUseSendToGeozones","allowsendtogeozone","maxGeozonesCount","maxgeozones","maxGeozoneRange","maxgeozonerange","minGeozoneRange","maxDeepLinksCount","maxdeeplinks","allowUseDeepLinks","maxTwitterFeedsCount","maxtwitterfeeds","allowUseTwitterFeeds","maxRssFeedsCount","maxrssfeeds","allowUseRssFeeds","allowUseRssFeedsCustomPollingInterval","allowcustomrsspollinginterval","maxTestDevicesCount","maxtestdevices","allowUseTestDevices","allowUseAccessTokens","allowapi","allowUseDataKeys","allowcustomdata","allowUseStatistics","allowstatsaccess","allowUseScheduling","allowscheduling","allowUseIOSAutoConfig","allowautoconfig","allowUseTwoFactorAuth","allowtwofactorauth","allowUseSendMessageByCsv","allowcsvmessage","allowUseAbTests","allowabtests","allowUseHtmlPages","allowUseRemotePage","allowremotepage","allowUseIOSCategories","maxioscategories","allowUseGoalTracking","allowgoaltracking","allowUseGetMessageLog","allowapigetmessagelog","allowUseIEPlatform","allowieplatformusage","allowUseDebugMode","allowdebugmode","allowUseUninstallTracking","allowtrackuninstalls","allowUseFrequencyCapping","allowfrequencycapping","allowUseInbox","allowinbox","maxInboxTtlDays","maxinboxttldays","allowUseSendExternalAndroidStatistics","allowsendexternalstats","allowUseGDPR","allowgdpr","sendRateMin","minsendrate","sendRateMax","maxsendrate","messageHistoryStoriedPeriodInDays","messagehistorystoreperiod","allowShowDeliveryStatistics","allowshowdeliverystatistics","allowBestTimeToSend","allowbesttimetosend","allowSegmentsGroups","allowsegmentsgroups","allowEventSegmentation","alloweventsegmentation","allowCustomerJourney","allowcustomerjourney","allowEventsFunnel","alloweventsfunnel","isEnabledBackup","allowbackup","allowChannelsSection","allowchannelssection","allowUseSMSPlatform","allowcjsms","allowUseWhatsAppPlatform","allowwhatsapp","Counters","totalApplicationsCount","applicationsCount","totalApplicationGroupsCount","appGroupsCount","totalCampaignsCount","campaignsCount","totalTagsCount","tagsCount","totalFiltersCount","filtersCount","totalEventsCount","eventsCount","totalRichMediaCount","richMediaCount","totalInAppsCount","inAppsCount","totalDomainsCount","accountDomainsCount","totalMailsCount","accountMailsCount","totalEmailTemplatesCount","emailTemplatesCount","totalPresetsCount","presetsCount","totalAutoPushesCount","autoPushesCount","totalGeozonesCount","geoZonesCount","totalDeepLinksCount","deeplinksCount","totalRssFeedsCount","rssFeedsCount","totalTestDevicesCount","testDevicesCount","User","userData","username","email","isActive","isOwner","admin","timezone","timezoneOffset","_parseFloat","accountCount","accountsCount","intercomUserHash","isSubscribedForNewsletters","allowNewsletters","rpcServiceClient","accounts","GetAuthInfoServiceClient","GetAuthInfoRequest","SessionStore","grpcClient","updateSubject","subject","next","counters","permissions","user","load","__awaiter","serviceClient","createServiceClient","request","getAuthInfo","response","sent","update","subscribe","callback","ReplaySubject"],"sourceRoot":""}
|
package/package.json
CHANGED