@kompasid/lit-web-components 0.2.0 → 0.3.0

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.
@@ -4,8 +4,8 @@
4
4
  name: Node.js Package
5
5
 
6
6
  on:
7
- push:
8
- branches: master
7
+ release:
8
+ types: [published]
9
9
 
10
10
  jobs:
11
11
  build:
@@ -5,7 +5,7 @@ import { TWStyles } from '../../../tailwind/tailwind.js';
5
5
  let KompasMeteredPaywall = class KompasMeteredPaywall extends LitElement {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.maxQuota = 5;
8
+ this.maxQuota = 3;
9
9
  this.subscriptionUrl = 'https://www.kompas.id/berlangganan';
10
10
  /**
11
11
  * Props
@@ -1 +1 @@
1
- {"version":3,"file":"KompasMeteredPaywall.js","sourceRoot":"","sources":["../../../../src/components/kompas-metered-paywall/KompasMeteredPaywall.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAGjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,UAAU;IAA7C;;QA+BI,aAAQ,GAAW,CAAC,CAAA;QAEpB,oBAAe,GAAW,oCAAoC,CAAA;QACvE;;WAEG;QACH;;;;;;;;;;;;;;;;;;WAkBG;QACyB,qBAAgB,GAAG,CAAC,CAAA;QACpB,qBAAgB,GAAG,EAAE,CAAA;QACrB,iCAA4B,GAAG,EAAE,CAAA;QACjC,4BAAuB,GAAG,EAAE,CAAA;QAC5B,+BAA0B,GAAG,CAAC,CAAA;QAC9B,qBAAgB,GAAG,CAAC,CAAA;QACpB,sBAAiB,GAAG,EAAE,CAAA;QACtB,uBAAkB,GAAG,EAAE,CAAA;QACvB,0BAAqB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;+DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iEAAyB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uEAA+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0EAAiC;AAvEjD,oBAAoB;IADhC,aAAa,CAAC,wBAAwB,CAAC;GAC3B,oBAAoB,CAwKhC;SAxKY,oBAAoB","sourcesContent":["import { html, css, LitElement } from 'lit'\nimport { customElement, state, property } from 'lit/decorators.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\n\n@customElement('kompas-metered-paywall')\nexport class KompasMeteredPaywall extends LitElement {\n static styles = [\n css`\n .text-transition {\n width: 100%;\n height: 5rem;\n }\n\n .body {\n position: sticky;\n top: 0;\n height: 100%;\n width: 100%;\n }\n\n .icon {\n height: 1rem;\n color: #48bb78;\n }\n\n .icon.lg {\n height: 1.5rem;\n }\n\n .icon.lg svg {\n height: 1.5rem;\n }\n `,\n TWStyles,\n ]\n\n @state() maxQuota: number = 5\n\n @state() subscriptionUrl: string = 'https://www.kompas.id/berlangganan'\n /**\n * Props\n */\n /**\n * prop countdownArticle untuk menghandle sudah berapa artikel gratis yang user baca.\n * prop paywall_location = The location where user encounter the paywall\n * prop paywall_subscription_package = The name of the subscription package viewed by user\n * prop paywall_subscription_id = The ID of the subscription package viewed by user\n * prop paywall_subscription_price = The price of the subscriprtion package viewed by user\n * prop paywall_position = The position of ther subscription package viewed by user\n * prop tracker_page_type = Type of the page\n * prop tracker_content_id = ID of article (slug)\n * prop tracker_content_type = Whether it's free article or paid article\n * prop tracker_content_title = The title of article\n * prop tracker_content_categories = The category of the content\n * prop tracker_user_type = Type of user based on their subscription\n * prop tracker_subscription_status = Status of their subscription\n * prop tracker_page_domain = Page Domain\n * prop tracker_metered_wall_type = The type of Metered Wall\n * prop tracker_epaper_edition = The edition of epaper viewed by user\n * prop tracker_metered_wall_balance = The balance of their metered wall\n */\n @property({ type: Number }) countdownArticle = 0\n @property({ type: String }) paywall_location = ''\n @property({ type: String }) paywall_subscription_package = ''\n @property({ type: String }) paywall_subscription_id = ''\n @property({ type: Number }) paywall_subscription_price = 0\n @property({ type: Number }) paywall_position = 0\n @property({ type: String }) tracker_page_type = ''\n @property({ type: String }) tracker_content_id = ''\n @property({ type: String }) tracker_content_title = ''\n @property({ type: String }) tracker_content_categories = ''\n @property({ type: String }) tracker_content_type = ''\n @property({ type: String }) tracker_user_type = ''\n @property({ type: String }) tracker_subscription_status = ''\n @property({ type: String }) tracker_page_domain = ''\n @property({ type: String }) tracker_metered_wall_type = ''\n @property({ type: Number }) tracker_metered_wall_balance = 0\n\n private getCountdownArticle() {\n const getCountdown = this.countdownArticle\n const { maxQuota } = this\n\n if (getCountdown > 0 && getCountdown < maxQuota) {\n return html`\n <p>\n Anda memiliki sisa\n <b>${maxQuota - getCountdown} dari ${maxQuota}</b> artikel premium\n gratis bulan ini. Langganan untuk akses tanpa batas\n </p>\n `\n }\n return html`\n <p>\n Anda sedang membaca <b>artikel gratis terakhir bulan ini.</b> Langganan\n untuk akses tanpa batas\n </p>\n `\n }\n\n connectedCallback() {\n super.connectedCallback()\n\n this.dataLayeronMeteredPaywall()\n }\n\n private redirectToBerlangganan() {\n this.dataLayeronLanggananButton()\n window.location.href = this.subscriptionUrl\n }\n\n private dataLayeronLanggananButton() {\n window.dataLayer.push({\n event: 'subscribe_button_clicked',\n paywall_location: this.paywall_location || '',\n paywall_subscription_package: this.paywall_subscription_package || '',\n paywall_subscription_id: this.paywall_subscription_id || '',\n paywall_subscription_price: this.paywall_subscription_price || 0,\n paywall_position: this.paywall_position || 0,\n page_type: this.tracker_page_type,\n content_id: this.tracker_content_id,\n content_title: this.tracker_content_title,\n content_categories: this.tracker_content_categories,\n content_type: this.tracker_content_type,\n user_type: this.tracker_user_type || 'R',\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'MP',\n metered_wall_balance: (this.maxQuota - this.countdownArticle) + 1\n })\n }\n\n private dataLayeronMeteredPaywall() {\n window.dataLayer.push({\n event: 'paywall_viewed',\n paywall_location: this.paywall_location || '',\n paywall_subscription_package: this.paywall_subscription_package || '',\n paywall_subscription_id: this.paywall_subscription_id || '',\n paywall_subscription_price: this.paywall_subscription_price || 0,\n paywall_position: this.paywall_position || 0,\n page_type: this.tracker_page_type,\n content_id: this.tracker_content_id,\n content_title: this.tracker_content_title,\n content_categories: this.tracker_content_categories,\n content_type: this.tracker_content_type,\n user_type: this.tracker_user_type || 'R',\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'MP',\n metered_wall_balance: (this.maxQuota - this.countdownArticle) + 1\n })\n }\n\n render() {\n return html`\n <div class=\"sticky bottom-0 w-full h-full\">\n <div\n class=\"flex flex-row w-full bg-blue-100 py-4 justify-center space-x-4 px-4 lg:px-0 bottom-0\"\n >\n <div class=\"text-grey-600 text-sm md:text-lg self-center text-left\">\n ${this.getCountdownArticle()}\n </div>\n <div class=\"self-center\">\n <button\n @click=\"${this.redirectToBerlangganan}\"\n class=\"bg-green-400 p-2 rounded-md font-bold text-grey-100 text-sm md:text-xl\"\n >\n Langganan\n </button>\n </div>\n </div>\n </div>\n `\n }\n}\n"]}
1
+ {"version":3,"file":"KompasMeteredPaywall.js","sourceRoot":"","sources":["../../../../src/components/kompas-metered-paywall/KompasMeteredPaywall.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,QAAQ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A3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8DAAqB;AACpB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gEAAwB;AACvB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mEAA2B;AAC1B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wEAAgC;AAC/B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kEAA0B;AACzB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iEAAyB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uEAA+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0EAAiC;AAvEjD,oBAAoB;IADhC,aAAa,CAAC,wBAAwB,CAAC;GAC3B,oBAAoB,CAwKhC;SAxKY,oBAAoB","sourcesContent":["import { html, css, LitElement } from 'lit'\nimport { customElement, state, property } from 'lit/decorators.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\n\n@customElement('kompas-metered-paywall')\nexport class KompasMeteredPaywall extends LitElement {\n static styles = [\n css`\n .text-transition {\n width: 100%;\n height: 5rem;\n }\n\n .body {\n position: sticky;\n top: 0;\n height: 100%;\n width: 100%;\n }\n\n .icon {\n height: 1rem;\n color: #48bb78;\n }\n\n .icon.lg {\n height: 1.5rem;\n }\n\n .icon.lg svg {\n height: 1.5rem;\n }\n `,\n TWStyles,\n ]\n\n @state() maxQuota: number = 3\n\n @state() subscriptionUrl: string = 'https://www.kompas.id/berlangganan'\n /**\n * Props\n */\n /**\n * prop countdownArticle untuk menghandle sudah berapa artikel gratis yang user baca.\n * prop paywall_location = The location where user encounter the paywall\n * prop paywall_subscription_package = The name of the subscription package viewed by user\n * prop paywall_subscription_id = The ID of the subscription package viewed by user\n * prop paywall_subscription_price = The price of the subscriprtion package viewed by user\n * prop paywall_position = The position of ther subscription package viewed by user\n * prop tracker_page_type = Type of the page\n * prop tracker_content_id = ID of article (slug)\n * prop tracker_content_type = Whether it's free article or paid article\n * prop tracker_content_title = The title of article\n * prop tracker_content_categories = The category of the content\n * prop tracker_user_type = Type of user based on their subscription\n * prop tracker_subscription_status = Status of their subscription\n * prop tracker_page_domain = Page Domain\n * prop tracker_metered_wall_type = The type of Metered Wall\n * prop tracker_epaper_edition = The edition of epaper viewed by user\n * prop tracker_metered_wall_balance = The balance of their metered wall\n */\n @property({ type: Number }) countdownArticle = 0\n @property({ type: String }) paywall_location = ''\n @property({ type: String }) paywall_subscription_package = ''\n @property({ type: String }) paywall_subscription_id = ''\n @property({ type: Number }) paywall_subscription_price = 0\n @property({ type: Number }) paywall_position = 0\n @property({ type: String }) tracker_page_type = ''\n @property({ type: String }) tracker_content_id = ''\n @property({ type: String }) tracker_content_title = ''\n @property({ type: String }) tracker_content_categories = ''\n @property({ type: String }) tracker_content_type = ''\n @property({ type: String }) tracker_user_type = ''\n @property({ type: String }) tracker_subscription_status = ''\n @property({ type: String }) tracker_page_domain = ''\n @property({ type: String }) tracker_metered_wall_type = ''\n @property({ type: Number }) tracker_metered_wall_balance = 0\n\n private getCountdownArticle() {\n const getCountdown = this.countdownArticle\n const { maxQuota } = this\n\n if (getCountdown > 0 && getCountdown < maxQuota) {\n return html`\n <p>\n Anda memiliki sisa\n <b>${maxQuota - getCountdown} dari ${maxQuota}</b> artikel premium\n gratis bulan ini. Langganan untuk akses tanpa batas\n </p>\n `\n }\n return html`\n <p>\n Anda sedang membaca <b>artikel gratis terakhir bulan ini.</b> Langganan\n untuk akses tanpa batas\n </p>\n `\n }\n\n connectedCallback() {\n super.connectedCallback()\n\n this.dataLayeronMeteredPaywall()\n }\n\n private redirectToBerlangganan() {\n this.dataLayeronLanggananButton()\n window.location.href = this.subscriptionUrl\n }\n\n private dataLayeronLanggananButton() {\n window.dataLayer.push({\n event: 'subscribe_button_clicked',\n paywall_location: this.paywall_location || '',\n paywall_subscription_package: this.paywall_subscription_package || '',\n paywall_subscription_id: this.paywall_subscription_id || '',\n paywall_subscription_price: this.paywall_subscription_price || 0,\n paywall_position: this.paywall_position || 0,\n page_type: this.tracker_page_type,\n content_id: this.tracker_content_id,\n content_title: this.tracker_content_title,\n content_categories: this.tracker_content_categories,\n content_type: this.tracker_content_type,\n user_type: this.tracker_user_type || 'R',\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'MP',\n metered_wall_balance: (this.maxQuota - this.countdownArticle) + 1\n })\n }\n\n private dataLayeronMeteredPaywall() {\n window.dataLayer.push({\n event: 'paywall_viewed',\n paywall_location: this.paywall_location || '',\n paywall_subscription_package: this.paywall_subscription_package || '',\n paywall_subscription_id: this.paywall_subscription_id || '',\n paywall_subscription_price: this.paywall_subscription_price || 0,\n paywall_position: this.paywall_position || 0,\n page_type: this.tracker_page_type,\n content_id: this.tracker_content_id,\n content_title: this.tracker_content_title,\n content_categories: this.tracker_content_categories,\n content_type: this.tracker_content_type,\n user_type: this.tracker_user_type || 'R',\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'MP',\n metered_wall_balance: (this.maxQuota - this.countdownArticle) + 1\n })\n }\n\n render() {\n return html`\n <div class=\"sticky bottom-0 w-full h-full\">\n <div\n class=\"flex flex-row w-full bg-blue-100 py-4 justify-center space-x-4 px-4 lg:px-0 bottom-0\"\n >\n <div class=\"text-grey-600 text-sm md:text-lg self-center text-left\">\n ${this.getCountdownArticle()}\n </div>\n <div class=\"self-center\">\n <button\n @click=\"${this.redirectToBerlangganan}\"\n class=\"bg-green-400 p-2 rounded-md font-bold text-grey-100 text-sm md:text-xl\"\n >\n Langganan\n </button>\n </div>\n </div>\n </div>\n `\n }\n}\n"]}
@@ -201,7 +201,8 @@ let KompasPaywallBody = class KompasPaywallBody extends LitElement {
201
201
  redirectToCheckout(url, name, id, price, position) {
202
202
  this.sendDataLayeronButtonBuyPackage(name, id, price, position);
203
203
  const originHost = encodeURIComponent(window.location.href);
204
- const directUrlCheckout = url + originHost;
204
+ const source = this.type === 'epaper' ? 'epaper' : '';
205
+ const directUrlCheckout = `${url}${originHost}&source=${source}`;
205
206
  window.open(directUrlCheckout);
206
207
  }
207
208
  redirectToPrevUrl() {
@@ -331,16 +332,21 @@ let KompasPaywallBody = class KompasPaywallBody extends LitElement {
331
332
  super.connectedCallback();
332
333
  if (this.swgEnable) {
333
334
  this.jsonScript();
334
- if (this.buttonElement) {
335
- const head = document.querySelector('head');
336
- const script = document.createElement('script');
337
- script.src = 'https://news.google.com/swg/js/v1/swg.js';
338
- script.defer = true;
339
- script.onload = this.subscribeWithGoogleButton();
340
- if (head) {
341
- head.appendChild(script);
335
+ const appendSWGButton = () => {
336
+ var _a;
337
+ this.buttonElement = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('subscribe-with-google');
338
+ if (this.buttonElement) {
339
+ const head = document.querySelector('head');
340
+ const script = document.createElement('script');
341
+ script.src = 'https://news.google.com/swg/js/v1/swg.js';
342
+ script.defer = true;
343
+ script.onload = this.subscribeWithGoogleButton();
344
+ if (head) {
345
+ head.appendChild(script);
346
+ }
342
347
  }
343
- }
348
+ };
349
+ setTimeout(appendSWGButton, 500);
344
350
  }
345
351
  }
346
352
  sendDataLayer() {
@@ -708,7 +714,7 @@ let KompasPaywallBody = class KompasPaywallBody extends LitElement {
708
714
  ${this.swgEnable
709
715
  ? html `<button
710
716
  class="border-2 bg-grey-100 border-grey-100 rounded-lg px-6 shadow-sm flex flex-row py-2 mt-1 mb-4"
711
- ref=${(el) => (this.buttonElement = el)}
717
+ id="subscribe-with-google"
712
718
  >
713
719
  <p>Subscribe with</p>
714
720
  <img class="pl-2 object-scale-down w-20 pt-0.5" src="https://kompasid-production-www.s3.ap-southeast-1.amazonaws.com/paywall-asset/google.png" alt="subscribe with google"></img>
@@ -1 +1 @@
1
- {"version":3,"file":"KompasPaywallBody.js","sourceRoot":"","sources":["../../../../src/components/kompas-paywall-body/KompasPaywallBody.ts"],"names":[],"mappings":"AAAA,qCAAqC;;AAErC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAOxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAG/C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU;IAA1C;;QAGL;;WAEG;QACH;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QAEyB,SAAI,GAAG,EAAE,CAAA;QACT,SAAI,GAAG,CAAC,CAAA;QACP,YAAO,GAAG,KAAK,CAAA;QAChB,SAAI,GAAyB,SAAS,CAAA;QACtC,gBAAW,GACrC,SAAS,CAAA;QACiB,aAAQ,GAAG,EAAE,CAAA;QACb,uBAAkB,GAAG,EAAE,CAAA;QACvB,qBAAgB,GAAG,CAAC,CAAA;QACnB,cAAS,GAAG,KAAK,CAAA;QAClB,qBAAgB,GAAG,EAAE,CAAA;QACrB,iCAA4B,GAAG,EAAE,CAAA;QACjC,4BAAuB,GAAG,CAA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CAAC;8DAAyB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oEAA+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iEAA4B;AAC3B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDAAW;AAE7B;IAAR,KAAK,EAAE;6DAAmC;AAClC;IAAR,KAAK,EAAE;yDAAkD;AACjD;IAAR,KAAK,EAAE;2DAAsD;AACrD;IAAR,KAAK,EAAE;2DAAsD;AACrD;IAAR,KAAK,EAAE;0DAA4D;AAC3D;IAAR,KAAK,EAAE;mDAA8C;AAC7C;IAAR,KAAK,EAAE;2DAA2C;AAC1C;IAAR,KAAK,EAAE;yDAAqC;AACpC;IAAR,KAAK,EAAE;uDAA0D;AACzD;IAAR,KAAK,EAAE;oDAAsB;AAvEnB,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CA2zB7B;SA3zBY,iBAAiB","sourcesContent":["/* eslint-disable no-return-assign */\n\nimport { html, css, LitElement } from 'lit'\nimport { property, state, customElement } from 'lit/decorators.js'\nimport { unsafeSVG } from 'lit/directives/unsafe-svg.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\nimport {\n PaywallProduct,\n Product,\n Packages,\n PaymentImage,\n} from '../kompas-paywall/types.js'\nimport { getFontAwesomeIcon } from '../../utils/fontawesome-setup.js'\nimport { deviceType } from '../../utils/deviceType.js'\n\n@customElement('kompas-paywall-body')\nexport class KompasPaywallBody extends LitElement {\n static styles = [css``, TWStyles]\n\n /**\n * Props\n */\n /**\n * prop slug untuk menghandle slug\n * prop isLogin untuk menghandle apakah user sudah login atau belum\n * prop type untuk menghandle tipe epaper\n * prop paywallData untuk menghandle data paywall\n * prop userGuid untuk menghandle user Guid\n * prop subscriptionStatus untuk menghandle status subscription user\n * prop countdownArticle untuk menghandle count artikel\n * prop swgEnable untuk menghandle swg apakah di aktifkan atau tidak\n * prop paywall_location = The location where user encounter the paywall\n * prop paywall_subscription_package = The name of the subscription package viewed by user\n * prop paywall_subscription_id = The ID of the subscription package viewed by user\n * prop paywall_subscription_price = The price of the subscriprtion package viewed by user\n * prop paywall_position = The position of the subscription package viewed by user\n * prop tracker_page_type = Type of the page\n * prop tracker_content_id = ID of article (slug)\n * prop tracker_content_type = Whether it's free article or paid article\n * prop tracker_content_title = The title of article\n * prop tracker_content_categories = The category of the content\n * prop tracker_user_type = Type of user based on their subscription\n * prop tracker_subscription_status = Status of their subscription\n * prop tracker_page_domain = Page Domain\n * prop tracker_metered_wall_type = The type of Metered Wall\n * prop tracker_metered_wall_balance = The balance of their metered wall\n * prop tracker_metered_wall_balance = The edition of epaper viewed by user\n * prop theme = The theme of the paywall component\n */\n\n @property({ type: String }) slug = ''\n @property({ type: Number }) udin = 0\n @property({ type: Boolean }) isLogin = false\n @property({ type: String }) type: 'epaper' | 'reguler' = 'reguler'\n @property({ type: Object }) paywallData: PaywallProduct | undefined =\n undefined\n @property({ type: String }) userGuid = ''\n @property({ type: String }) subscriptionStatus = ''\n @property({ type: Number }) countdownArticle = 0\n @property({ type: Boolean }) swgEnable = false\n @property({ type: String }) paywall_location = ''\n @property({ type: String }) paywall_subscription_package = ''\n @property({ type: Number }) paywall_subscription_id = 0\n @property({ type: Number }) paywall_subscription_price = 0\n @property({ type: Number }) paywall_position = 0\n @property({ type: String }) tracker_page_type = ''\n @property({ type: String }) tracker_content_id = ''\n @property({ type: String }) tracker_content_title = ''\n @property({ type: String }) tracker_content_categories = ''\n @property({ type: String }) tracker_content_type = ''\n @property({ type: String }) tracker_user_type = ''\n @property({ type: String }) tracker_subscription_status = ''\n @property({ type: String }) tracker_page_domain = ''\n @property({ type: String }) tracker_metered_wall_type = ''\n @property({ type: Number }) tracker_metered_wall_balance = 0\n @property({ type: String }) tracker_epaper_edition = ''\n @property({ type: String }) theme = ''\n\n @state() private isExtensionsOpened = false\n @state() private kompasAkunHost = 'https://akun.kompas.id'\n @state() private kompasApigenHost = 'https://apigen.kompas.id'\n @state() private kompasApiWcmHost = 'https://apiwcm.kompas.id'\n @state() private kompasLoginHost = 'https://account.kompas.id/login'\n @state() private selfHost = 'https://epaper.kompas.id'\n @state() private swgPublisherName = 'Harian Kompas'\n @state() private swgPublisherId = 'kompas.id'\n @state() private swgProductId = 'kompas.id:kompas_digital_premium'\n @state() private errorFlag = 0\n\n buttonElement!: HTMLButtonElement\n\n private getRupiahFormat(value: number) {\n const roundedValue = Math.round(value)\n return `Rp ${roundedValue\n .toString()\n .replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1.')}`\n }\n\n private redirectToCheckout(\n url: string,\n name: string,\n id: string,\n price: number,\n position: number\n ): void {\n this.sendDataLayeronButtonBuyPackage(name, id, price, position)\n const originHost: string = encodeURIComponent(window.location.href)\n const directUrlCheckout: string = url + originHost\n window.open(directUrlCheckout)\n }\n\n private redirectToPrevUrl(): void {\n window.history.back()\n }\n\n private redirectToSubscriber(): void {\n this.sendDataLayer()\n window.open('https://www.kompas.id/berlangganan')\n }\n\n private redirectToRegister(): void {\n const loginHost: string = 'https://account.kompas.id/login'\n const nextParams: string = encodeURIComponent(window.location.href)\n const directUrlRegister: string = `${loginHost}?next=${nextParams}?status=sukses_login&status_login=login`\n window.location.href = directUrlRegister\n }\n\n private redirectToHelpdesk(): void {\n this.sendDataLayeronHelpDesk()\n window.open(\n 'https://api.whatsapp.com/send/?phone=6281290050800&text=Halo,%20saya%20perlu%20informasi%20mengenai%20kompas.id'\n )\n }\n\n private paymentExtensionHandler(): void {\n this.isExtensionsOpened = !this.isExtensionsOpened\n }\n\n get isDark() {\n return this.theme === 'dark'\n }\n\n get redirectToLogin() {\n return `${this.kompasLoginHost}?next=${encodeURIComponent(\n this.selfHost + window.location.pathname\n )}`\n }\n\n private async getRegisterToken(path: string, payload: any): Promise<string> {\n return fetch(`${this.kompasApigenHost}/v1/user/register/token/${path}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n },\n })\n .then(response => response.json())\n .then((data: any) => data.result.token)\n .catch(error => {\n throw error\n })\n }\n\n private async getUserToken(path: string, payload: any): Promise<string> {\n return fetch(`${this.kompasApigenHost}/v1/user/token/${path}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n },\n })\n .then(response => response.json())\n .then((data: any) => data.result.token)\n .catch(error => {\n throw error\n })\n }\n\n private async getSubscriptionToken(\n path: string,\n payload: any\n ): Promise<string> {\n return fetch(`${this.kompasAkunHost}/api/subscription/login/${path}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n },\n })\n .then(response => response.json())\n .then((data: any) => {\n this.errorFlag = 0\n return data.access_token\n })\n .catch(async error => {\n const errorCode = error.response.status\n if (errorCode === 500 && this.errorFlag < 5) {\n // eslint-disable-next-line no-plusplus\n this.errorFlag++\n setTimeout(async () => {\n await this.getSubscriptionToken(path, payload)\n }, 2000)\n } else {\n this.errorFlag = 0\n throw error\n }\n })\n }\n\n private async createSwG(payload: any, token: string) {\n await fetch(`${this.kompasApiWcmHost}/v2/membership/swg/create`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n Authorization: `Bearer ${token}`,\n },\n })\n .then(response => response.json())\n .catch(error => {\n throw error\n })\n }\n\n private subscribeWithGoogleButton = (): any => {\n // @ts-ignore\n // eslint-disable-next-line no-restricted-globals\n ;(self.SWG = self.SWG || []).push((subscriptions: any) => {\n // set entitlement\n subscriptions.setOnEntitlementsResponse(() => {\n // subscriptions attach button\n subscriptions.attachButton(\n this.buttonElement,\n { theme: 'light', lang: 'en' },\n () => {\n subscriptions.showOffers({ isClosable: true })\n subscriptions.setOnLoginRequest(() => {\n window.location.href = this.redirectToLogin\n })\n subscriptions.setOnPaymentResponse(async (paymentResponse: any) => {\n const response = await paymentResponse\n const raw = JSON.parse(response.purchaseData.raw)\n const { productId, purchaseToken, packageName } = raw\n const { email } = response.userData.data\n\n const payload = {\n subscription_token: purchaseToken,\n products: productId,\n detail: 'test',\n }\n const userToken = await this.getUserToken('google', payload)\n if (userToken) {\n // login and update membership\n const accessToken = await this.getSubscriptionToken('google', {\n token: userToken,\n })\n if (accessToken) {\n const payloadSWG = {\n email,\n package_name: packageName,\n product_id: productId,\n purchase_token: purchaseToken,\n }\n await this.createSwG(payloadSWG, accessToken)\n }\n } else {\n // register and login the unknown user\n const payloadRegisterToken = {\n subscription_token: purchaseToken,\n products: productId,\n detail: 'test',\n }\n const token = await this.getRegisterToken(\n 'google',\n payloadRegisterToken\n )\n if (token) {\n const accessToken = await this.getSubscriptionToken(\n 'google',\n { token }\n )\n const payloadSWRUknown = {\n email,\n package_name: packageName,\n product_id: productId,\n purchase_token: purchaseToken,\n }\n await this.createSwG(payloadSWRUknown, accessToken)\n }\n }\n response.complete().then(() => {\n window.location.href = this.redirectToLogin\n })\n })\n }\n )\n })\n })\n }\n\n private jsonScript() {\n const jsonData = {\n '@context': 'https://schema.org',\n '@type': ['WebSite', 'WebPage'],\n isAccessibleForFree: false,\n url: this.selfHost + window.location.pathname,\n name: this.swgPublisherName,\n hasPart: {\n '@type': 'WebPageElement',\n },\n isPartOf: {\n '@type': ['CreativeWork', 'Product'],\n name: this.swgPublisherId,\n productID: this.swgProductId,\n },\n }\n const str = JSON.stringify(jsonData)\n const jsonScript = document.createElement('script')\n jsonScript.type = 'application/ld+json'\n jsonScript.text = str\n jsonScript.defer = true\n const jsonHead = document.querySelector('head')\n if (jsonHead) {\n jsonHead.appendChild(jsonScript)\n }\n }\n\n override connectedCallback() {\n // eslint-disable-next-line wc/guard-super-call\n super.connectedCallback()\n if (this.swgEnable) {\n this.jsonScript()\n if (this.buttonElement) {\n const head = document.querySelector('head')\n const script = document.createElement('script')\n script.src = 'https://news.google.com/swg/js/v1/swg.js'\n script.defer = true\n script.onload = this.subscribeWithGoogleButton()\n if (head) {\n head.appendChild(script)\n }\n }\n }\n }\n\n private sendDataLayer(): void {\n window.dataLayer.push({\n event: 'halamanBerlanggananClick',\n subscriptionStatus: '',\n GUID: '',\n interface: deviceType(),\n })\n }\n\n private sendDataLayeronHelpDesk(): void {\n window.dataLayer.push({\n event: 'helpOfferClick',\n userType: this.subscriptionStatus,\n GUID: this.userGuid,\n interface: deviceType(),\n })\n }\n\n private sendDataLayeronButtonBuyPackage(\n name: string,\n id: string,\n price: number,\n position: number\n ): void {\n const gtmParams: Record<string, any> = {\n event: 'subscribe_button_clicked',\n paywall_location: this.paywall_location,\n paywall_subscription_package: name,\n paywall_subscription_id: id,\n paywall_subscription_price: price,\n paywall_position: position,\n user_type: this.tracker_user_type,\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'HP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n }\n\n if (this.type !== 'epaper') {\n gtmParams.content_title = this.tracker_content_title\n gtmParams.content_id = this.tracker_content_id\n gtmParams.content_categories = this.tracker_content_categories\n gtmParams.content_type = this.tracker_content_type\n gtmParams.page_type = this.tracker_page_type\n } else {\n gtmParams.epaper_edition = this.tracker_epaper_edition\n }\n\n window.dataLayer.push(gtmParams)\n }\n\n private sendDataLayeronPaywallBody = (): void => {\n const gtmParams: Record<string, any> = {\n event: 'paywall_viewed',\n impressions: [\n {\n paywall_location: this.paywall_location || '',\n paywall_subscription_package:\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 12',\n paywall_subscription_id: '9802032',\n paywall_subscription_price: 360000,\n paywall_position: 1,\n user_type: this.tracker_user_type,\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'HP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n },\n {\n paywall_location: this.paywall_location || '',\n paywall_subscription_package:\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 1',\n paywall_subscription_id: '9802035',\n paywall_subscription_price: 50000,\n paywall_position: 2,\n user_type: this.tracker_user_type,\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'HP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n },\n ],\n }\n\n if (this.type === 'epaper') {\n gtmParams.impressions[0].epaper_edition = this.tracker_epaper_edition\n gtmParams.impressions[1].epaper_edition = this.tracker_epaper_edition\n } else {\n gtmParams.impressions[0].page_type = this.tracker_page_type\n gtmParams.impressions[0].content_id = this.tracker_content_id\n gtmParams.impressions[0].content_title = this.tracker_content_title\n gtmParams.impressions[0].content_categories =\n this.tracker_content_categories\n gtmParams.impressions[0].content_type = this.tracker_content_type\n\n gtmParams.impressions[1].page_type = this.tracker_page_type\n gtmParams.impressions[1].content_id = this.tracker_content_id\n gtmParams.impressions[1].content_title = this.tracker_content_title\n gtmParams.impressions[1].content_categories =\n this.tracker_content_categories\n gtmParams.impressions[1].content_type = this.tracker_content_type\n }\n\n window.dataLayer.push(gtmParams)\n }\n\n private headerSection(type: 'epaper' | 'reguler') {\n return html`\n <div class=\"flex w-full items-center\">\n ${type === 'epaper'\n ? html`<button\n @click=${() => this.redirectToPrevUrl()}\n class=\"hidden lg:block w-8 h-8 text-blue-600 pl-4\"\n >\n ${unsafeSVG(getFontAwesomeIcon('fas', 'arrow-left'))}\n </button>`\n : ''}\n <h4\n class=\"text-base md:text-xl ${this.isDark &&\n 'text-white'} text-center font-bold font-serif tracking-wide md:tracking-normal w-full\"\n >\n Langganan untuk Lanjut Membaca\n </h4>\n </div>\n `\n }\n\n private descriptionSection(data: Array<string>) {\n return html`<div class=\" flex flex-col items-center\">\n <div class=\"flex flex-col space-y-2 mt-2.5 md:mt-3\">\n ${data.map(\n item =>\n html`\n <div class=\"flex items-center\">\n <div class=\"text-green-500\">\n ${unsafeSVG(getFontAwesomeIcon('fas', 'check', 12, 12))}\n </div>\n <h6\n class=\"text-xs md:text-base ${this.isDark &&\n 'text-white'} ml-0.5 md:ml-1\"\n >\n ${item}\n </h6>\n </div>\n `\n )}\n </div>\n </div>`\n }\n\n private informationPackages() {\n return html` <div class=\"mt-4 flex justify-center\">\n <button\n @click=${() => this.redirectToSubscriber()}\n class=\"text-sm md:text-base font-bold ${this.isDark\n ? 'text-blue-300'\n : 'text-blue-600'} underline\"\n >\n Lihat Paket Lainnya\n </button>\n </div>`\n }\n\n private separatorLine() {\n return html`\n <div class=\"flex flex-row w-full justify-center\">\n <div\n class=\"border-b-2 ${this.isDark\n ? 'border-dark-2'\n : 'border-blue-200'} w-1/4 my-4 flex justify-center\"\n ></div>\n <p class=\"px-4 pt-1 ${this.isDark && 'text-dark-1'}\">atau</p>\n <div\n class=\"border-b-2 ${this.isDark\n ? 'border-dark-2'\n : 'border-blue-200'} w-1/4 my-4 flex justify-center\"\n ></div>\n </div>\n `\n }\n\n private paymentDesktopSection(data: Array<PaymentImage>) {\n return html`\n <div\n class=\"hidden md:flex w-full md:max-w-sm items-center justify-center flex-wrap\"\n >\n ${data.map(\n item =>\n html`<img\n class=\"object-cover ${this.isDark ? 'h-9' : 'h-10'}\"\n src=${item.link}\n alt=\"${item.name}-logo-payment\"\n />`\n )}\n </div>\n `\n }\n\n private paymentMobileSection(data: Array<PaymentImage>) {\n return html`\n <div\n class=\"grid md:hidden items-center grid-flow-col grid-cols-auto grid-rows-1 mt-4 mx-4\"\n >\n ${data.map(\n item =>\n html`<img\n class=\"w-16\"\n src=${item.link}\n alt=\"${item.name}-logo-payment\"\n />`\n )}\n <button\n @click=${() => this.paymentExtensionHandler()}\n class=\"text-xs md:text-sm ${this.isDark\n ? 'text-blue-300'\n : 'text-blue-600'} font-bold\"\n >\n +9 lainnya\n </button>\n </div>\n `\n }\n\n private paymentMobileExtension(data: Array<PaymentImage>) {\n return html`\n <div\n class=\"w-full ${this.isDark\n ? '-bottom-6'\n : 'bottom-0'} max-w-xs mb-1 ml-8 md:hidden absolute px-4\"\n >\n <div\n class=\"w-full ${this.isDark\n ? 'bg-dark-6 border-dark-6'\n : 'bg-white border-white'} rounded p-3 max-w-xs\"\n >\n <svg\n class=\"right-0 ${this.isDark\n ? 'text-dark-6 border-dark-6'\n : 'text-white border-white '} h-4 mr-10 -mt-7 z-0 transform rotate-180 absolute\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 255 255\"\n >\n <polygon class=\"fill-current\" points=\"0,0 127.5,127.5 255,0\" />\n </svg>\n <div\n class=\"grid place-items-center items-center grid-flow-row grid-cols-5 grid-rows-2 gap-y-4\"\n >\n ${data.map(\n item =>\n html`<img\n class=\"object-cover\"\n src=${item.link}\n alt=\"${item.name}-logo-payment\"\n />`\n )}\n </div>\n </div>\n </div>\n `\n }\n\n private primaryPackages(product: Product) {\n return html`\n <div\n class=\"flex flex-wrap justify-between items-center ${this.isDark\n ? 'bg-grey-600'\n : 'bg-white'} rounded md:mx-0 w-full max-w-xs md:max-w-sm md:w-3/5 mt-2.5 md:mt-4 border border-yellow-400 relative\"\n >\n <div class=\"flex flex-col py-3 px-4\">\n <div class=\"flex flex-none items-center\">\n <h5 class=\"text-base md:text-lg font-bold text-orange-400\">\n ${this.getRupiahFormat(product.price)}\n </h5>\n <h6\n class=\"text-xs md:text-base ${this.isDark &&\n 'text-white'} font-bold pl-1\"\n >\n / ${product.periode}\n </h6>\n </div>\n <div class=\"flex items-center\">\n <p class=\"text-xs ${this.isDark && 'text-white'}\">\n hanya <span class=\"text-orange-400\">Rp 30.000</span> / bulan\n </p>\n </div>\n </div>\n <button\n class=\"h-auto ${this.isDark\n ? 'bg-green-300 border border-green-400'\n : 'bg-green-500'} rounded mr-4\"\n @click=${() =>\n this.redirectToCheckout(\n product.url,\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 12',\n '9802032',\n 360000,\n 1\n )}\n >\n <h6\n class=\"text-xs md:text-base ${this.isDark\n ? 'text-black'\n : 'text-white'} font-bold py-2 px-4\"\n >\n Langganan\n </h6>\n </button>\n <div class=\"absolute -top-2 left-4\">\n <div class=\"rounded bg-yellow-300 px-2 py-0.5 text-xs\">\n <b>Harga Terbaik</b>\n </div>\n </div>\n </div>\n `\n }\n\n private secondaryPackages(product: Product) {\n return html`\n <div\n class=\"flex flex-wrap justify-between ${this.isDark\n ? 'bg-grey-600'\n : 'bg-white'} py-3 px-4 rounded md:mx-0 w-full max-w-xs md:max-w-sm md:w-3/5 mt-3 md:mt-4\"\n >\n <div class=\"flex items-center\">\n <h5 class=\"text-base md:text-lg font-bold text-orange-400\">\n ${this.getRupiahFormat(product.price)}\n </h5>\n <h6\n class=\"text-xs md:text-base ${this.isDark &&\n 'text-white'} font-bold pl-1\"\n >\n / ${product.periode}\n </h6>\n </div>\n <button\n @click=${() =>\n this.redirectToCheckout(\n product.url,\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 1',\n '9802035',\n 50000,\n 2\n )}\n class=\"h-auto ${!this.isDark &&\n 'bg-white'} border border-green-500 rounded\"\n >\n <h6\n class=\"text-xs md:text-base ${this.isDark\n ? 'text-green-300'\n : 'text-green-500'} font-bold py-2 px-4\"\n >\n Langganan\n </h6>\n </button>\n </div>\n `\n }\n\n private packagesSection(data: Packages) {\n return html`\n <div class=\"flex flex-col w-full items-center mt-8 lg:mt-2 px-2 \">\n <h6\n class=\"text-sm md:text-base ${this.isDark && 'text-white'} font-bold\"\n >\n ${data.title}\n </h6>\n ${data.memberships.map(item =>\n item.isHighlight\n ? this.primaryPackages(item)\n : this.secondaryPackages(item)\n )}\n </div>\n `\n }\n\n private topNavigator() {\n return html`\n <div class=\"flex lg:hidden items-center w-full pb-4 \">\n <button\n @click=${() => this.redirectToPrevUrl()}\n class=\"text-xs md:text-lg text-white flex flex-row\"\n >\n <div class=\"icon-lg icon-white w-4 h-4 mr-3.5 md:mr-5 pt-0.5\">\n ${unsafeSVG(getFontAwesomeIcon('fas', 'arrow-left'))}\n </div>\n Kembali\n </button>\n </div>\n `\n }\n\n private helpDesk() {\n return html`\n <div class=\"py-2.5 text-white self-center text-xs md:text-sm\">\n Mengalami masalah? Hubungi\n <button\n @click=${() => this.redirectToHelpdesk()}\n class=\"font-bold ${this.isDark && 'text-blue-300'} underline\"\n >\n Layanan Pelanggan.\n </button>\n </div>\n `\n }\n\n private authRegister() {\n return html`\n <div\n class=\"flex flex-row text-white px-2 py-2.5 space-x-4 md:space-x-8 self-center\"\n >\n <div class=\"flex flex-col text-left text-xs md:text-sm text-white\">\n <b>Sudah berlangganan Kompas.id?</b>\n <p>Masuk untuk lanjut membaca.</p>\n </div>\n <button\n @click=${() => this.redirectToRegister()}\n class=\"h-auto ${this.isDark\n ? 'bg-blue-300'\n : 'bg-grey-100'} rounded mr-3\"\n >\n <p\n class=\"text-xs md:text-sm ${this.isDark\n ? 'text-black'\n : 'text-blue-600'} font-bold py-2 px-4\"\n >\n Masuk / Daftar\n </p>\n </button>\n </div>\n `\n }\n\n private userAction(isLogin: boolean, type: 'epaper' | 'reguler') {\n return html`\n <div\n class=\"flex h-20 ${this.isDark\n ? 'bg-dark-4'\n : 'bg-blue-600'} w-full justify-evenly rounded-b mt-6 md:mt-8 relative\"\n >\n ${isLogin || type !== 'epaper' ? this.helpDesk() : this.authRegister()}\n </div>\n `\n }\n\n render() {\n return html`\n <div\n class=\"${this.type === 'epaper'\n ? 'bg-transparent wrapper-body'\n : 'wrapper-body'}\"\n >\n <div\n class=\"flex flex-col justify-center items-center w-full max-w-screen-sm px-4 md:px-0 my-5 relative\"\n >\n ${this.type === 'epaper' ? this.topNavigator() : ''}\n <div\n class=\"flex w-full flex-col items-center justify-center ${this\n .isDark\n ? 'bg-dark-3'\n : 'bg-blue-100'} rounded pt-6 md:pt-8 relative\"\n >\n ${this.headerSection(this.type)}\n ${this.descriptionSection(\n this.paywallData?.informations?.description ?? []\n )}\n ${this.packagesSection(\n this.paywallData?.packages ?? ({} as Packages)\n )}\n ${this.informationPackages()}\n ${this.swgEnable ? this.separatorLine() : null}\n ${this.swgEnable\n ? html`<button\n class=\"border-2 bg-grey-100 border-grey-100 rounded-lg px-6 shadow-sm flex flex-row py-2 mt-1 mb-4\"\n ref=${(el: any) => (this.buttonElement = el as HTMLButtonElement)}\n >\n <p>Subscribe with</p>\n <img class=\"pl-2 object-scale-down w-20 pt-0.5\" src=\"https://kompasid-production-www.s3.ap-southeast-1.amazonaws.com/paywall-asset/google.png\" alt=\"subscribe with google\"></img>\n </button>`\n : null}\n ${this.paymentDesktopSection(\n this.paywallData?.payment?.desktop ?? []\n )}\n ${this.paymentMobileSection(\n this.paywallData?.payment?.mobile ?? []\n )}\n ${this.userAction(this.isLogin, this.type)}\n ${this.sendDataLayeronPaywallBody()}\n </div>\n ${this.isExtensionsOpened\n ? this.paymentMobileExtension(\n this.paywallData?.payment?.ekstension ?? []\n )\n : ''}\n </div>\n </div>\n `\n }\n}\n"]}
1
+ {"version":3,"file":"KompasPaywallBody.js","sourceRoot":"","sources":["../../../../src/components/kompas-paywall-body/KompasPaywallBody.ts"],"names":[],"mappings":"AAAA,qCAAqC;;AAErC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAOxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAG/C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU;IAA1C;;QAGL;;WAEG;QACH;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QAEyB,SAAI,GAAG,EAAE,CAAA;QACT,S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D7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAm0B7B;SAn0BY,iBAAiB","sourcesContent":["/* eslint-disable no-return-assign */\n\nimport { html, css, LitElement } from 'lit'\nimport { property, state, customElement } from 'lit/decorators.js'\nimport { unsafeSVG } from 'lit/directives/unsafe-svg.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\nimport {\n PaywallProduct,\n Product,\n Packages,\n PaymentImage,\n} from '../kompas-paywall/types.js'\nimport { getFontAwesomeIcon } from '../../utils/fontawesome-setup.js'\nimport { deviceType } from '../../utils/deviceType.js'\n\n@customElement('kompas-paywall-body')\nexport class KompasPaywallBody extends LitElement {\n static styles = [css``, TWStyles]\n\n /**\n * Props\n */\n /**\n * prop slug untuk menghandle slug\n * prop isLogin untuk menghandle apakah user sudah login atau belum\n * prop type untuk menghandle tipe epaper\n * prop paywallData untuk menghandle data paywall\n * prop userGuid untuk menghandle user Guid\n * prop subscriptionStatus untuk menghandle status subscription user\n * prop countdownArticle untuk menghandle count artikel\n * prop swgEnable untuk menghandle swg apakah di aktifkan atau tidak\n * prop paywall_location = The location where user encounter the paywall\n * prop paywall_subscription_package = The name of the subscription package viewed by user\n * prop paywall_subscription_id = The ID of the subscription package viewed by user\n * prop paywall_subscription_price = The price of the subscriprtion package viewed by user\n * prop paywall_position = The position of the subscription package viewed by user\n * prop tracker_page_type = Type of the page\n * prop tracker_content_id = ID of article (slug)\n * prop tracker_content_type = Whether it's free article or paid article\n * prop tracker_content_title = The title of article\n * prop tracker_content_categories = The category of the content\n * prop tracker_user_type = Type of user based on their subscription\n * prop tracker_subscription_status = Status of their subscription\n * prop tracker_page_domain = Page Domain\n * prop tracker_metered_wall_type = The type of Metered Wall\n * prop tracker_metered_wall_balance = The balance of their metered wall\n * prop tracker_metered_wall_balance = The edition of epaper viewed by user\n * prop theme = The theme of the paywall component\n */\n\n @property({ type: String }) slug = ''\n @property({ type: Number }) udin = 0\n @property({ type: Boolean }) isLogin = false\n @property({ type: String }) type: 'epaper' | 'reguler' = 'reguler'\n @property({ type: Object }) paywallData: PaywallProduct | undefined =\n undefined\n @property({ type: String }) userGuid = ''\n @property({ type: String }) subscriptionStatus = ''\n @property({ type: Number }) countdownArticle = 0\n @property({ type: Boolean }) swgEnable = false\n @property({ type: String }) paywall_location = ''\n @property({ type: String }) paywall_subscription_package = ''\n @property({ type: Number }) paywall_subscription_id = 0\n @property({ type: Number }) paywall_subscription_price = 0\n @property({ type: Number }) paywall_position = 0\n @property({ type: String }) tracker_page_type = ''\n @property({ type: String }) tracker_content_id = ''\n @property({ type: String }) tracker_content_title = ''\n @property({ type: String }) tracker_content_categories = ''\n @property({ type: String }) tracker_content_type = ''\n @property({ type: String }) tracker_user_type = ''\n @property({ type: String }) tracker_subscription_status = ''\n @property({ type: String }) tracker_page_domain = ''\n @property({ type: String }) tracker_metered_wall_type = ''\n @property({ type: Number }) tracker_metered_wall_balance = 0\n @property({ type: String }) tracker_epaper_edition = ''\n @property({ type: String }) theme = ''\n\n @state() private isExtensionsOpened = false\n @state() private kompasAkunHost = 'https://akun.kompas.id'\n @state() private kompasApigenHost = 'https://apigen.kompas.id'\n @state() private kompasApiWcmHost = 'https://apiwcm.kompas.id'\n @state() private kompasLoginHost = 'https://account.kompas.id/login'\n @state() private selfHost = 'https://epaper.kompas.id'\n @state() private swgPublisherName = 'Harian Kompas'\n @state() private swgPublisherId = 'kompas.id'\n @state() private swgProductId = 'kompas.id:kompas_digital_premium'\n @state() private errorFlag = 0\n\n buttonElement!: HTMLButtonElement\n\n private getRupiahFormat(value: number) {\n const roundedValue = Math.round(value)\n return `Rp ${roundedValue\n .toString()\n .replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1.')}`\n }\n\n private redirectToCheckout(\n url: string,\n name: string,\n id: string,\n price: number,\n position: number\n ): void {\n this.sendDataLayeronButtonBuyPackage(name, id, price, position)\n const originHost: string = encodeURIComponent(window.location.href)\n const source: string = this.type === 'epaper' ? 'epaper' : ''\n const directUrlCheckout: string = `${url}${originHost}&source=${source}`\n window.open(directUrlCheckout)\n }\n\n private redirectToPrevUrl(): void {\n window.history.back()\n }\n\n private redirectToSubscriber(): void {\n this.sendDataLayer()\n window.open('https://www.kompas.id/berlangganan')\n }\n\n private redirectToRegister(): void {\n const loginHost: string = 'https://account.kompas.id/login'\n const nextParams: string = encodeURIComponent(window.location.href)\n const directUrlRegister: string = `${loginHost}?next=${nextParams}?status=sukses_login&status_login=login`\n window.location.href = directUrlRegister\n }\n\n private redirectToHelpdesk(): void {\n this.sendDataLayeronHelpDesk()\n window.open(\n 'https://api.whatsapp.com/send/?phone=6281290050800&text=Halo,%20saya%20perlu%20informasi%20mengenai%20kompas.id'\n )\n }\n\n private paymentExtensionHandler(): void {\n this.isExtensionsOpened = !this.isExtensionsOpened\n }\n\n get isDark() {\n return this.theme === 'dark'\n }\n\n get redirectToLogin() {\n return `${this.kompasLoginHost}?next=${encodeURIComponent(\n this.selfHost + window.location.pathname\n )}`\n }\n\n private async getRegisterToken(path: string, payload: any): Promise<string> {\n return fetch(`${this.kompasApigenHost}/v1/user/register/token/${path}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n },\n })\n .then(response => response.json())\n .then((data: any) => data.result.token)\n .catch(error => {\n throw error\n })\n }\n\n private async getUserToken(path: string, payload: any): Promise<string> {\n return fetch(`${this.kompasApigenHost}/v1/user/token/${path}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n },\n })\n .then(response => response.json())\n .then((data: any) => data.result.token)\n .catch(error => {\n throw error\n })\n }\n\n private async getSubscriptionToken(\n path: string,\n payload: any\n ): Promise<string> {\n return fetch(`${this.kompasAkunHost}/api/subscription/login/${path}`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n },\n })\n .then(response => response.json())\n .then((data: any) => {\n this.errorFlag = 0\n return data.access_token\n })\n .catch(async error => {\n const errorCode = error.response.status\n if (errorCode === 500 && this.errorFlag < 5) {\n // eslint-disable-next-line no-plusplus\n this.errorFlag++\n setTimeout(async () => {\n await this.getSubscriptionToken(path, payload)\n }, 2000)\n } else {\n this.errorFlag = 0\n throw error\n }\n })\n }\n\n private async createSwG(payload: any, token: string) {\n await fetch(`${this.kompasApiWcmHost}/v2/membership/swg/create`, {\n method: 'POST',\n body: JSON.stringify(payload),\n headers: {\n 'content-type': 'application/json',\n Authorization: `Bearer ${token}`,\n },\n })\n .then(response => response.json())\n .catch(error => {\n throw error\n })\n }\n\n private subscribeWithGoogleButton = (): any => {\n // @ts-ignore\n // eslint-disable-next-line no-restricted-globals\n ;(self.SWG = self.SWG || []).push((subscriptions: any) => {\n // set entitlement\n subscriptions.setOnEntitlementsResponse(() => {\n // subscriptions attach button\n subscriptions.attachButton(\n this.buttonElement,\n { theme: 'light', lang: 'en' },\n () => {\n subscriptions.showOffers({ isClosable: true })\n subscriptions.setOnLoginRequest(() => {\n window.location.href = this.redirectToLogin\n })\n subscriptions.setOnPaymentResponse(async (paymentResponse: any) => {\n const response = await paymentResponse\n const raw = JSON.parse(response.purchaseData.raw)\n const { productId, purchaseToken, packageName } = raw\n const { email } = response.userData.data\n\n const payload = {\n subscription_token: purchaseToken,\n products: productId,\n detail: 'test',\n }\n const userToken = await this.getUserToken('google', payload)\n if (userToken) {\n // login and update membership\n const accessToken = await this.getSubscriptionToken('google', {\n token: userToken,\n })\n if (accessToken) {\n const payloadSWG = {\n email,\n package_name: packageName,\n product_id: productId,\n purchase_token: purchaseToken,\n }\n await this.createSwG(payloadSWG, accessToken)\n }\n } else {\n // register and login the unknown user\n const payloadRegisterToken = {\n subscription_token: purchaseToken,\n products: productId,\n detail: 'test',\n }\n const token = await this.getRegisterToken(\n 'google',\n payloadRegisterToken\n )\n if (token) {\n const accessToken = await this.getSubscriptionToken(\n 'google',\n { token }\n )\n const payloadSWRUknown = {\n email,\n package_name: packageName,\n product_id: productId,\n purchase_token: purchaseToken,\n }\n await this.createSwG(payloadSWRUknown, accessToken)\n }\n }\n response.complete().then(() => {\n window.location.href = this.redirectToLogin\n })\n })\n }\n )\n })\n })\n }\n\n private jsonScript() {\n const jsonData = {\n '@context': 'https://schema.org',\n '@type': ['WebSite', 'WebPage'],\n isAccessibleForFree: false,\n url: this.selfHost + window.location.pathname,\n name: this.swgPublisherName,\n hasPart: {\n '@type': 'WebPageElement',\n },\n isPartOf: {\n '@type': ['CreativeWork', 'Product'],\n name: this.swgPublisherId,\n productID: this.swgProductId,\n },\n }\n const str = JSON.stringify(jsonData)\n const jsonScript = document.createElement('script')\n jsonScript.type = 'application/ld+json'\n jsonScript.text = str\n jsonScript.defer = true\n const jsonHead = document.querySelector('head')\n if (jsonHead) {\n jsonHead.appendChild(jsonScript)\n }\n }\n\n override connectedCallback() {\n // eslint-disable-next-line wc/guard-super-call\n super.connectedCallback()\n if (this.swgEnable) {\n this.jsonScript()\n const appendSWGButton = () => {\n this.buttonElement = this.shadowRoot?.getElementById(\n 'subscribe-with-google'\n ) as HTMLButtonElement\n if (this.buttonElement) {\n const head = document.querySelector('head')\n const script = document.createElement('script')\n script.src = 'https://news.google.com/swg/js/v1/swg.js'\n script.defer = true\n script.onload = this.subscribeWithGoogleButton()\n if (head) {\n head.appendChild(script)\n }\n }\n }\n\n setTimeout(appendSWGButton, 500)\n }\n }\n\n private sendDataLayer(): void {\n window.dataLayer.push({\n event: 'halamanBerlanggananClick',\n subscriptionStatus: '',\n GUID: '',\n interface: deviceType(),\n })\n }\n\n private sendDataLayeronHelpDesk(): void {\n window.dataLayer.push({\n event: 'helpOfferClick',\n userType: this.subscriptionStatus,\n GUID: this.userGuid,\n interface: deviceType(),\n })\n }\n\n private sendDataLayeronButtonBuyPackage(\n name: string,\n id: string,\n price: number,\n position: number\n ): void {\n const gtmParams: Record<string, any> = {\n event: 'subscribe_button_clicked',\n paywall_location: this.paywall_location,\n paywall_subscription_package: name,\n paywall_subscription_id: id,\n paywall_subscription_price: price,\n paywall_position: position,\n user_type: this.tracker_user_type,\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'HP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n }\n\n if (this.type !== 'epaper') {\n gtmParams.content_title = this.tracker_content_title\n gtmParams.content_id = this.tracker_content_id\n gtmParams.content_categories = this.tracker_content_categories\n gtmParams.content_type = this.tracker_content_type\n gtmParams.page_type = this.tracker_page_type\n } else {\n gtmParams.epaper_edition = this.tracker_epaper_edition\n }\n\n window.dataLayer.push(gtmParams)\n }\n\n private sendDataLayeronPaywallBody = (): void => {\n const gtmParams: Record<string, any> = {\n event: 'paywall_viewed',\n impressions: [\n {\n paywall_location: this.paywall_location || '',\n paywall_subscription_package:\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 12',\n paywall_subscription_id: '9802032',\n paywall_subscription_price: 360000,\n paywall_position: 1,\n user_type: this.tracker_user_type,\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'HP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n },\n {\n paywall_location: this.paywall_location || '',\n paywall_subscription_package:\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 1',\n paywall_subscription_id: '9802035',\n paywall_subscription_price: 50000,\n paywall_position: 2,\n user_type: this.tracker_user_type,\n subscription_status: this.tracker_subscription_status,\n page_domain: this.tracker_page_domain || 'Kompas.id',\n metered_wall_type: this.tracker_metered_wall_type || 'HP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n },\n ],\n }\n\n if (this.type === 'epaper') {\n gtmParams.impressions[0].epaper_edition = this.tracker_epaper_edition\n gtmParams.impressions[1].epaper_edition = this.tracker_epaper_edition\n } else {\n gtmParams.impressions[0].page_type = this.tracker_page_type\n gtmParams.impressions[0].content_id = this.tracker_content_id\n gtmParams.impressions[0].content_title = this.tracker_content_title\n gtmParams.impressions[0].content_categories =\n this.tracker_content_categories\n gtmParams.impressions[0].content_type = this.tracker_content_type\n\n gtmParams.impressions[1].page_type = this.tracker_page_type\n gtmParams.impressions[1].content_id = this.tracker_content_id\n gtmParams.impressions[1].content_title = this.tracker_content_title\n gtmParams.impressions[1].content_categories =\n this.tracker_content_categories\n gtmParams.impressions[1].content_type = this.tracker_content_type\n }\n\n window.dataLayer.push(gtmParams)\n }\n\n private headerSection(type: 'epaper' | 'reguler') {\n return html`\n <div class=\"flex w-full items-center\">\n ${type === 'epaper'\n ? html`<button\n @click=${() => this.redirectToPrevUrl()}\n class=\"hidden lg:block w-8 h-8 text-blue-600 pl-4\"\n >\n ${unsafeSVG(getFontAwesomeIcon('fas', 'arrow-left'))}\n </button>`\n : ''}\n <h4\n class=\"text-base md:text-xl ${this.isDark &&\n 'text-white'} text-center font-bold font-serif tracking-wide md:tracking-normal w-full\"\n >\n Langganan untuk Lanjut Membaca\n </h4>\n </div>\n `\n }\n\n private descriptionSection(data: Array<string>) {\n return html`<div class=\" flex flex-col items-center\">\n <div class=\"flex flex-col space-y-2 mt-2.5 md:mt-3\">\n ${data.map(\n item =>\n html`\n <div class=\"flex items-center\">\n <div class=\"text-green-500\">\n ${unsafeSVG(getFontAwesomeIcon('fas', 'check', 12, 12))}\n </div>\n <h6\n class=\"text-xs md:text-base ${this.isDark &&\n 'text-white'} ml-0.5 md:ml-1\"\n >\n ${item}\n </h6>\n </div>\n `\n )}\n </div>\n </div>`\n }\n\n private informationPackages() {\n return html` <div class=\"mt-4 flex justify-center\">\n <button\n @click=${() => this.redirectToSubscriber()}\n class=\"text-sm md:text-base font-bold ${this.isDark\n ? 'text-blue-300'\n : 'text-blue-600'} underline\"\n >\n Lihat Paket Lainnya\n </button>\n </div>`\n }\n\n private separatorLine() {\n return html`\n <div class=\"flex flex-row w-full justify-center\">\n <div\n class=\"border-b-2 ${this.isDark\n ? 'border-dark-2'\n : 'border-blue-200'} w-1/4 my-4 flex justify-center\"\n ></div>\n <p class=\"px-4 pt-1 ${this.isDark && 'text-dark-1'}\">atau</p>\n <div\n class=\"border-b-2 ${this.isDark\n ? 'border-dark-2'\n : 'border-blue-200'} w-1/4 my-4 flex justify-center\"\n ></div>\n </div>\n `\n }\n\n private paymentDesktopSection(data: Array<PaymentImage>) {\n return html`\n <div\n class=\"hidden md:flex w-full md:max-w-sm items-center justify-center flex-wrap\"\n >\n ${data.map(\n item =>\n html`<img\n class=\"object-cover ${this.isDark ? 'h-9' : 'h-10'}\"\n src=${item.link}\n alt=\"${item.name}-logo-payment\"\n />`\n )}\n </div>\n `\n }\n\n private paymentMobileSection(data: Array<PaymentImage>) {\n return html`\n <div\n class=\"grid md:hidden items-center grid-flow-col grid-cols-auto grid-rows-1 mt-4 mx-4\"\n >\n ${data.map(\n item =>\n html`<img\n class=\"w-16\"\n src=${item.link}\n alt=\"${item.name}-logo-payment\"\n />`\n )}\n <button\n @click=${() => this.paymentExtensionHandler()}\n class=\"text-xs md:text-sm ${this.isDark\n ? 'text-blue-300'\n : 'text-blue-600'} font-bold\"\n >\n +9 lainnya\n </button>\n </div>\n `\n }\n\n private paymentMobileExtension(data: Array<PaymentImage>) {\n return html`\n <div\n class=\"w-full ${this.isDark\n ? '-bottom-6'\n : 'bottom-0'} max-w-xs mb-1 ml-8 md:hidden absolute px-4\"\n >\n <div\n class=\"w-full ${this.isDark\n ? 'bg-dark-6 border-dark-6'\n : 'bg-white border-white'} rounded p-3 max-w-xs\"\n >\n <svg\n class=\"right-0 ${this.isDark\n ? 'text-dark-6 border-dark-6'\n : 'text-white border-white '} h-4 mr-10 -mt-7 z-0 transform rotate-180 absolute\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 255 255\"\n >\n <polygon class=\"fill-current\" points=\"0,0 127.5,127.5 255,0\" />\n </svg>\n <div\n class=\"grid place-items-center items-center grid-flow-row grid-cols-5 grid-rows-2 gap-y-4\"\n >\n ${data.map(\n item =>\n html`<img\n class=\"object-cover\"\n src=${item.link}\n alt=\"${item.name}-logo-payment\"\n />`\n )}\n </div>\n </div>\n </div>\n `\n }\n\n private primaryPackages(product: Product) {\n return html`\n <div\n class=\"flex flex-wrap justify-between items-center ${this.isDark\n ? 'bg-grey-600'\n : 'bg-white'} rounded md:mx-0 w-full max-w-xs md:max-w-sm md:w-3/5 mt-2.5 md:mt-4 border border-yellow-400 relative\"\n >\n <div class=\"flex flex-col py-3 px-4\">\n <div class=\"flex flex-none items-center\">\n <h5 class=\"text-base md:text-lg font-bold text-orange-400\">\n ${this.getRupiahFormat(product.price)}\n </h5>\n <h6\n class=\"text-xs md:text-base ${this.isDark &&\n 'text-white'} font-bold pl-1\"\n >\n / ${product.periode}\n </h6>\n </div>\n <div class=\"flex items-center\">\n <p class=\"text-xs ${this.isDark && 'text-white'}\">\n hanya <span class=\"text-orange-400\">Rp 30.000</span> / bulan\n </p>\n </div>\n </div>\n <button\n class=\"h-auto ${this.isDark\n ? 'bg-green-300 border border-green-400'\n : 'bg-green-500'} rounded mr-4\"\n @click=${() =>\n this.redirectToCheckout(\n product.url,\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 12',\n '9802032',\n 360000,\n 1\n )}\n >\n <h6\n class=\"text-xs md:text-base ${this.isDark\n ? 'text-black'\n : 'text-white'} font-bold py-2 px-4\"\n >\n Langganan\n </h6>\n </button>\n <div class=\"absolute -top-2 left-4\">\n <div class=\"rounded bg-yellow-300 px-2 py-0.5 text-xs\">\n <b>Harga Terbaik</b>\n </div>\n </div>\n </div>\n `\n }\n\n private secondaryPackages(product: Product) {\n return html`\n <div\n class=\"flex flex-wrap justify-between ${this.isDark\n ? 'bg-grey-600'\n : 'bg-white'} py-3 px-4 rounded md:mx-0 w-full max-w-xs md:max-w-sm md:w-3/5 mt-3 md:mt-4\"\n >\n <div class=\"flex items-center\">\n <h5 class=\"text-base md:text-lg font-bold text-orange-400\">\n ${this.getRupiahFormat(product.price)}\n </h5>\n <h6\n class=\"text-xs md:text-base ${this.isDark &&\n 'text-white'} font-bold pl-1\"\n >\n / ${product.periode}\n </h6>\n </div>\n <button\n @click=${() =>\n this.redirectToCheckout(\n product.url,\n 'Cash-B2C-Halaman Berlangganan-Reguler_Digital-KDP 1',\n '9802035',\n 50000,\n 2\n )}\n class=\"h-auto ${!this.isDark &&\n 'bg-white'} border border-green-500 rounded\"\n >\n <h6\n class=\"text-xs md:text-base ${this.isDark\n ? 'text-green-300'\n : 'text-green-500'} font-bold py-2 px-4\"\n >\n Langganan\n </h6>\n </button>\n </div>\n `\n }\n\n private packagesSection(data: Packages) {\n return html`\n <div class=\"flex flex-col w-full items-center mt-8 lg:mt-2 px-2 \">\n <h6\n class=\"text-sm md:text-base ${this.isDark && 'text-white'} font-bold\"\n >\n ${data.title}\n </h6>\n ${data.memberships.map(item =>\n item.isHighlight\n ? this.primaryPackages(item)\n : this.secondaryPackages(item)\n )}\n </div>\n `\n }\n\n private topNavigator() {\n return html`\n <div class=\"flex lg:hidden items-center w-full pb-4 \">\n <button\n @click=${() => this.redirectToPrevUrl()}\n class=\"text-xs md:text-lg text-white flex flex-row\"\n >\n <div class=\"icon-lg icon-white w-4 h-4 mr-3.5 md:mr-5 pt-0.5\">\n ${unsafeSVG(getFontAwesomeIcon('fas', 'arrow-left'))}\n </div>\n Kembali\n </button>\n </div>\n `\n }\n\n private helpDesk() {\n return html`\n <div class=\"py-2.5 text-white self-center text-xs md:text-sm\">\n Mengalami masalah? Hubungi\n <button\n @click=${() => this.redirectToHelpdesk()}\n class=\"font-bold ${this.isDark && 'text-blue-300'} underline\"\n >\n Layanan Pelanggan.\n </button>\n </div>\n `\n }\n\n private authRegister() {\n return html`\n <div\n class=\"flex flex-row text-white px-2 py-2.5 space-x-4 md:space-x-8 self-center\"\n >\n <div class=\"flex flex-col text-left text-xs md:text-sm text-white\">\n <b>Sudah berlangganan Kompas.id?</b>\n <p>Masuk untuk lanjut membaca.</p>\n </div>\n <button\n @click=${() => this.redirectToRegister()}\n class=\"h-auto ${this.isDark\n ? 'bg-blue-300'\n : 'bg-grey-100'} rounded mr-3\"\n >\n <p\n class=\"text-xs md:text-sm ${this.isDark\n ? 'text-black'\n : 'text-blue-600'} font-bold py-2 px-4\"\n >\n Masuk / Daftar\n </p>\n </button>\n </div>\n `\n }\n\n private userAction(isLogin: boolean, type: 'epaper' | 'reguler') {\n return html`\n <div\n class=\"flex h-20 ${this.isDark\n ? 'bg-dark-4'\n : 'bg-blue-600'} w-full justify-evenly rounded-b mt-6 md:mt-8 relative\"\n >\n ${isLogin || type !== 'epaper' ? this.helpDesk() : this.authRegister()}\n </div>\n `\n }\n\n render() {\n return html`\n <div\n class=\"${this.type === 'epaper'\n ? 'bg-transparent wrapper-body'\n : 'wrapper-body'}\"\n >\n <div\n class=\"flex flex-col justify-center items-center w-full max-w-screen-sm px-4 md:px-0 my-5 relative\"\n >\n ${this.type === 'epaper' ? this.topNavigator() : ''}\n <div\n class=\"flex w-full flex-col items-center justify-center ${this\n .isDark\n ? 'bg-dark-3'\n : 'bg-blue-100'} rounded pt-6 md:pt-8 relative\"\n >\n ${this.headerSection(this.type)}\n ${this.descriptionSection(\n this.paywallData?.informations?.description ?? []\n )}\n ${this.packagesSection(\n this.paywallData?.packages ?? ({} as Packages)\n )}\n ${this.informationPackages()}\n ${this.swgEnable ? this.separatorLine() : null}\n ${this.swgEnable\n ? html`<button\n class=\"border-2 bg-grey-100 border-grey-100 rounded-lg px-6 shadow-sm flex flex-row py-2 mt-1 mb-4\"\n id=\"subscribe-with-google\"\n >\n <p>Subscribe with</p>\n <img class=\"pl-2 object-scale-down w-20 pt-0.5\" src=\"https://kompasid-production-www.s3.ap-southeast-1.amazonaws.com/paywall-asset/google.png\" alt=\"subscribe with google\"></img>\n </button>`\n : null}\n ${this.paymentDesktopSection(\n this.paywallData?.payment?.desktop ?? []\n )}\n ${this.paymentMobileSection(\n this.paywallData?.payment?.mobile ?? []\n )}\n ${this.userAction(this.isLogin, this.type)}\n ${this.sendDataLayeronPaywallBody()}\n </div>\n ${this.isExtensionsOpened\n ? this.paymentMobileExtension(\n this.paywallData?.payment?.ekstension ?? []\n )\n : ''}\n </div>\n </div>\n `\n }\n}\n"]}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../components.d.ts","../node_modules/tslib/tslib.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/css-tag.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/reactive-controller.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/reactive-element.d.ts","../node_modules/@types/trusted-types/lib/index.d.ts","../node_modules/@types/trusted-types/index.d.ts","../node_modules/lit/node_modules/lit-html/directive.d.ts","../node_modules/lit/node_modules/lit-html/lit-html.d.ts","../node_modules/lit-element/node_modules/@lit/reactive-element/reactive-element.d.ts","../node_modules/lit-element/node_modules/lit-html/lit-html.d.ts","../node_modules/lit-element/lit-element.d.ts","../node_modules/lit/node_modules/lit-html/is-server.d.ts","../node_modules/lit/index.d.ts","../assets/font-awesome.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/base.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/property.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/state.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/event-options.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-all.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-async.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../node_modules/lit/decorators.d.ts","../tailwind/tailwind.ts","../src/components/kompas-paywall/types.ts","../node_modules/lit/node_modules/lit-html/directives/unsafe-html.d.ts","../node_modules/lit/node_modules/lit-html/directives/unsafe-svg.d.ts","../node_modules/lit/directives/unsafe-svg.d.ts","../node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","../node_modules/@fortawesome/free-solid-svg-icons/index.d.ts","../node_modules/@fortawesome/free-regular-svg-icons/index.d.ts","../node_modules/@fortawesome/free-brands-svg-icons/index.d.ts","../src/utils/fontawesome-setup.ts","../src/utils/deviceType.ts","../src/components/kompas-paywall-body/KompasPaywallBody.ts","../src/components/kompas-paywall-banner-registration/KompasPaywallBannerRegistration.ts","../src/components/kompas-paywall-information-header/KompasPaywallInformationHeader.ts","../src/components/kompas-paywall/KompasPaywall.ts","../src/components/kompas-footer/types.ts","../src/components/kompas-footer/KompasFooter.ts","../src/components/kompas-paywall-video/KompasPaywallVideo.ts","../src/components/kompas-metered-paywall/KompasMeteredPaywall.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/accepts/index.d.ts","../node_modules/@types/babel__code-frame/index.d.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/body-parser/index.d.ts","../node_modules/@types/chai/index.d.ts","../node_modules/@types/chai-dom/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/co-body/index.d.ts","../node_modules/@types/command-line-args/index.d.ts","../node_modules/@types/content-disposition/index.d.ts","../node_modules/@types/convert-source-map/index.d.ts","../node_modules/@types/send/node_modules/@types/mime/index.d.ts","../node_modules/@types/send/index.d.ts","../node_modules/@types/range-parser/index.d.ts","../node_modules/@types/express-serve-static-core/index.d.ts","../node_modules/@types/http-errors/index.d.ts","../node_modules/@types/mime/Mime.d.ts","../node_modules/@types/mime/index.d.ts","../node_modules/@types/serve-static/index.d.ts","../node_modules/@types/express/index.d.ts","../node_modules/@types/keygrip/index.d.ts","../node_modules/@types/cookies/index.d.ts","../node_modules/@types/debounce/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/http-assert/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/koa-compose/index.d.ts","../node_modules/@types/koa/index.d.ts","../node_modules/@types/mocha/index.d.ts","../node_modules/@types/parse-json/index.d.ts","../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../node_modules/@types/parse5/index.d.ts","../node_modules/@types/resolve/index.d.ts","../node_modules/@types/semver/classes/semver.d.ts","../node_modules/@types/semver/functions/parse.d.ts","../node_modules/@types/semver/functions/valid.d.ts","../node_modules/@types/semver/functions/clean.d.ts","../node_modules/@types/semver/functions/inc.d.ts","../node_modules/@types/semver/functions/diff.d.ts","../node_modules/@types/semver/functions/major.d.ts","../node_modules/@types/semver/functions/minor.d.ts","../node_modules/@types/semver/functions/patch.d.ts","../node_modules/@types/semver/functions/prerelease.d.ts","../node_modules/@types/semver/functions/compare.d.ts","../node_modules/@types/semver/functions/rcompare.d.ts","../node_modules/@types/semver/functions/compare-loose.d.ts","../node_modules/@types/semver/functions/compare-build.d.ts","../node_modules/@types/semver/functions/sort.d.ts","../node_modules/@types/semver/functions/rsort.d.ts","../node_modules/@types/semver/functions/gt.d.ts","../node_modules/@types/semver/functions/lt.d.ts","../node_modules/@types/semver/functions/eq.d.ts","../node_modules/@types/semver/functions/neq.d.ts","../node_modules/@types/semver/functions/gte.d.ts","../node_modules/@types/semver/functions/lte.d.ts","../node_modules/@types/semver/functions/cmp.d.ts","../node_modules/@types/semver/functions/coerce.d.ts","../node_modules/@types/semver/classes/comparator.d.ts","../node_modules/@types/semver/classes/range.d.ts","../node_modules/@types/semver/functions/satisfies.d.ts","../node_modules/@types/semver/ranges/max-satisfying.d.ts","../node_modules/@types/semver/ranges/min-satisfying.d.ts","../node_modules/@types/semver/ranges/to-comparators.d.ts","../node_modules/@types/semver/ranges/min-version.d.ts","../node_modules/@types/semver/ranges/valid.d.ts","../node_modules/@types/semver/ranges/outside.d.ts","../node_modules/@types/semver/ranges/gtr.d.ts","../node_modules/@types/semver/ranges/ltr.d.ts","../node_modules/@types/semver/ranges/intersects.d.ts","../node_modules/@types/semver/ranges/simplify.d.ts","../node_modules/@types/semver/ranges/subset.d.ts","../node_modules/@types/semver/internals/identifiers.d.ts","../node_modules/@types/semver/index.d.ts","../node_modules/@types/sinonjs__fake-timers/index.d.ts","../node_modules/@types/sinon/index.d.ts","../node_modules/@types/sinon-chai/index.d.ts","../node_modules/@types/ws/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"325cf4f6db7cb37bc0f0e3f2677781513297dad5d52ac672e5da3bb1ed2427ec","7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","274ed44f5d5ebbdb30e8257c5445d59a0b42f2524d9a2c882cf38823d8a260ec","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a",{"version":"b6dcee37833ac830d76161d86dc68089f50e57aba65fca6d4369bb2b7ef1eac6","affectsGlobalScope":true},"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e",{"version":"17f2b4d00e42e0cc1dfc3be692a6da5a14a6cb73b87259e6d20ff02bcd6d573f","affectsGlobalScope":true},"2f84bc2655654a2d8c149f5086a7e99ba1f2807dfc3a5b4ab7ee6e01f5e40e8f","f2414aa3539c9ed7e4985ad356e4865c8f2d19ce0c93fbabda8554f7299f484d",{"version":"b6dcee37833ac830d76161d86dc68089f50e57aba65fca6d4369bb2b7ef1eac6","affectsGlobalScope":true},"f2414aa3539c9ed7e4985ad356e4865c8f2d19ce0c93fbabda8554f7299f484d","bb0b973bdc7d00b95dab73142cef7f92ba96f276b152c80c2c933ac3ead51431","5e7e090243bf203382a5cb04eabbdc38d78f6d5922f16f543e4da8fa007d5ff9","cd823094ded7c8ac4f94ab6dc387dab699293eb8323d9f948304efc07e4ae7b2",{"version":"d51d3f14a9fcda1570427d19249c9cf209a276aedf3d02e9cc72b22bd01d5aa5","signature":"7efb0e2251e36655b6252f5d0a756bab247a0e01577e97b10f6c1857bef49eec"},"444402ce58193c6200a4bc0f2fa49981fc2876a75c52c8348a2293b25116ddf9","278773120821f65d2c545914678eaf7119036962fb509415d8fbee90f48febdf","049bebe48b63ecbd1a7c90ce9a523bf894174cdfd73cb6d535c695e1ddb52281","6d1b27c60d543e0ccee15646fb1410fdcdd2f9924638dbecf550174f9ad1a433","35ab2aa25db33860d80b44f6b4281d40e11638cf6540f45bc15090ffcbeeed22","358312c635fd74a7e6e6c61d298341d12c1282be9423c13df43f7bf6b0fcfde7","6eab9baa28d5af65e9725319dda4f7a34dadefa8d2a7180efed1f156aaa64f1d","74800ff360a51f013407726011b96c0310dd4f3e5789abc73b166385a7ebdd77","6e303e9b77772e5496a58307cffc158a497301f7ec462d52a77f1f6985a8b158","b144df450421a0b83fa165d973afae89fc2d73bfbda5403cabdf13a6dfc3cc6d","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a",{"version":"af058f08259e6c352cc46241b2a5e0e9dbdfc4af9484e60f60dda442a7504e63","signature":"7c5bc7e6668f5015f71987e827f620fe47e2713c81ea489381426714d1d88d09"},{"version":"f0913a4b3c36b03e5913454a71b36f866ba2a400718b14951550c4cb248c7cd2","signature":"0d59edb4a5d13481030748f17995c182a6813ece9d4d275ae56fad4f402ef835"},"26aa10392523f33116e3664ce9fb554c0fde7df98aec59e5e017c9e4509a01dc","0fae6f40270f0795968d2655688cefd1607d7d587a405fb37435660fc2bee83f","c3fd63ac3d69d9ef4e74be917fdd084da34e27cf6ec2ef77a844a9053fe7f54d","08529265b143af2e729d3198e59f6a7acd014f9c9688831bd680688023ea65e9","41045c9571b4ce67b52f9f81ea9ba29b105af178a1701de465a74a034dd93174","be25d1ff8e9d092ee3d010c62f5aa00b1474ab6bff62de307beb928b5543c994","ce5a3e6db4c03cdea4f81bb90eff65e0cdddb13736a29f8679d899871860933e","039f0d805de1e1d41210afc44a7babad2b030d138eca9b47478e2d893e10855a",{"version":"47a8085fc7a0771306ed9a157aefe756937e3d0e92c88984944d25229f7cf6f5","signature":"4d7ec75710e7aabd83a0d5f811a327c6f426ec9752e2fa4edc86fbd478a95c7d"},{"version":"1201ad872353b5dfe360131dc577b187b9776d252472058b5fc7336afc31cebe","signature":"c8f5cb96868129dbf30b86472826ae484bc7c882769356cad3c9f454d190591e"},{"version":"83820185bb881bc81429c57062e8a9fc25088f074819b213ce4465eb4eb3d09c","signature":"893c21dbd6bfcd3930b6dc0f00338de508c30b308e1afbd86abb0511ce0084c9"},{"version":"4a0f00fd3d79dccb9e3d3d157e94dd71bd514c0c9ad4c2f31d5c513fb69353ab","signature":"960bbded2b7bf33d19abf7df727025c720a6b101e13c06fd95695376d65afa27"},{"version":"975c5c30f98535d544074e691c5f4c76d98d8a3f6f83d9bfd5152bd8535b2138","signature":"0b1bb88708eecdeebce03dfc53b707be0c25152e28dbd61a7a752290d0d6253c"},{"version":"5d69224c845258ed2ce114e9b20a067a20bc9d6a1e31179cc4ac7196564a8ea9","signature":"064e606da532af33dd6a8bad9dd2b8665fe900d09f612a74680a596ca0dfabc9"},{"version":"401b36fa0c6dba4be00ad87b1b27b8cacefa06978d9c71f17d986283adc96506","signature":"ef49b3f8045a84af3fb1604875d97b8cc94b9c12f74a157e27232166a3291047"},{"version":"e086549c9d68c97645b61837925a78d0a1d94bd6d63d12965ea5d37572f8988e","signature":"381ebbb22153c41a677fce9962f0a7cef2ea09b39279c51fdf6f7f84f556ed02"},{"version":"ddb6d335ea0b54c4ffb4fad2b788991734c1ad6b62405877f4dfafe95b685a95","signature":"128fdeaf3d07894c6d0618855cd52c7fae5844c3c931a425af4d4b194281e8c9"},{"version":"70967ad79eceb20023457e5cd053abbb6286edf1a1fedb348a13062b5c1f004e","signature":"49c53ccf21a5090ac2c5051696bd7998494c2c8aad68f33a3bbeeca474db073c"},{"version":"248daf7c59d82efde9e917f407339d259e67f992983a801b8325b27e788ca29d","signature":"a73ae450e65b643b29bc0eb9a704800d6ff3e68e935bd2332f381fe8bfaaf8ca","affectsGlobalScope":true},"09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"bb6872f39c58753205c19b9f89e1e07d61116ae5d82539cef0f3bde5e8fecb57","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","3a3b3310118e79c8d394171a87f4dc8fd562337a85e33f9fa9636040a2ec2fde","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"738a0de235edb5caf581c5aa86f5dd48ee28b2d0da1e327cbc57cdabde116bda","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","f4016bf7fd9b760162521f2f18fab4023095795e4fb34496d8c61c59acfd0a56","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","ad8848c289c0b633452e58179f46edccd14b5a0fe90ebce411f79ff040b803e0",{"version":"120285cc97da7b20b0cbf2c557a5db7d215ec17ee688165ac8aff7f8de035b75","affectsGlobalScope":true},"5ca4a9fb7c9ee4f60df6d3bb6460e2c7f3a9cd7b8f7ebae29110fac74de4e50c","42a7993edf3288c33755ec08faefb1a40fd9f5f0844f82e48ae152791e80c76a","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"f49fb15c4aa06b65b0dce4db4584bfd8a9f74644baef1511b404dc95be34af00","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"0466fc426b5d684b299855ed3898c30e6ce90cd742730ba5f619075507ea135a","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"290276bcec65d49eb152489c62845b28bed530258751c80d04d167b36b33be72","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"16dcbd7095be9ba030b671ef982dc760e03d40a0f54f27f2a6f1fa00f5670fe7","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","ef437dd282a112d1172b50ac7fd86713d475a496da7aeb31119f529f1313c8d5","82819f9ecc249a6a3e284003540d02ea1b1f56f410c23231797b9e1e4b9622df","81a109b6bb6adf5ed70f2c7e6d907b8c3adcf7b47b5ee09701c5f97370fd29b7",{"version":"1fb008c1a29f86a8a0e9a674b7235f23c6d2a86c9658772941fb626a60aac53b","affectsGlobalScope":true},{"version":"31214658e22c23eb58ff8383346bf6c8d135b3eab0748f3226aa7b6f30d2021f","affectsGlobalScope":true},"c7da551241b7be719b7bd654ab12a5098c3206fbb189076dd2d8871011a6ab5a","f78253406029c78c96d8923b15e89a5900836e47a2b98bee6c83dc142421d395","5ae76b5a59f2f787e9eb2d4f1a066ceb4505a52bf8fe77ac321d791ef2e72000","64fcc79ee3c237816b9cef0a9289b00bf3da5b17040cd970ac04ba03c4ac1595","49f1d42ac650932fe64a9b623c27ea6e681335ea2e7cda52a5358f4248701001","f6218314af6f492ce5461bdadac5b829f5b4b31a3d1da3d04e77ed0afe0829fb","7167d932a7e2e991084421bb22af20024ada5a046d948c742de0f89996de5d0b","e2d3bfa79f0fad3ad67dfb0685c50dbe19b364a440160a2d40d0e3f44c75938c",{"version":"1c598f8d911f0bc39f04910c8c93f2f76fbb65f892ee5ecc38a2b58bb95af752","affectsGlobalScope":true},"4eadf1158f1ae8f7b0deea0f96b391359042cf74d1eb3ce1dacdb69de96e590d","d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1","6d1438dc186a32e0441133a6ea7befa732b92d37d96020fafa82ff3b9a7f9cc5","f0120fc76274f614e7b8f5420a74abce69eee25b81e2084479fa426f33ccd46a","003f07cf566395059625b39785398f18652c8952e19790e7d6eeb22a9cbe0440","432dc46f22f9790797d98ccf09f7dc4a897bb5e874921217b951fb808947446b","28ed61ddc42936537ad29ade1404d533b4b28967460e29811409e5a40d9fc3b3","a36023d4a654c11e071b99cde8203d55d9feaf4940c766b9c960b8e0eb4f4c1f","89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","c79bd2f3e5c05e7ad80dc82ce8d339cac23ac1f5e6cfab96c860bb70d5162873","e3328cedfe4d7fac23ba75d00bf5169269800ab949d0837cd88c4211a52c3762","dd89872dd0647dfd63665f3d525c06d114310a2f7a5a9277e5982a152b31be2b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","fa849c825ac37d70ca78097a1cd06bb5ac281651f765fff8e491cfb0709de57b","c39e1ee964fa0bb318ee2db72c430b3aede3b50dbde414b03b4e43915f80c292",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true},"2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","cc0700b1b97e18a3d5d9184470502d8762ec85158819d662730c3a8c5d702584","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","f77ff4cd234d3fd18ddd5aeadb6f94374511931976d41f4b9f594cb71f7ce6f3","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","4f18b4e6081e5e980ef53ddf57b9c959d36cffe1eb153865f512a01aeffb5e1e","7f17d4846a88eca5fe71c4474ef687ee89c4acf9b5372ab9b2ee68644b7e0fe0","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","58e0cee50add50d4b6d47a935e26aeb0080d98c9cf729f8af389511cdfa10526","cc75216f6b332971954ef74bf3d14c3881c461e82987050d5f62af3e5966e845","a84405f025881a64a23f95a882701f53981e4ccf41abf485868ae53f462e61c5",{"version":"4b93bb181cf4f25ccbf2ec1f559912c81678433a9784ce84163b5c9e1548998f","affectsGlobalScope":true},"bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","75fa6a9be075402ea969c1fcec4bb1421f72efbc3e2f340032684cdd3115197c","2eae2c50864a720fad05e116a0121a6ee6b6231266763c75d1f3503ddc22714a","5fdc3a2b97a9b1987cea799a36c6a4ea2f34fb60e52734361451cb5445f11a94"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[44,56,136],[136],[74,136],[109,136,143],[109,136,143,146],[136,148],[109,136,143,150],[109,136,143,146,163,164],[106,109,136,143,150,156,157],[136,147,150,158,162],[136,169],[136,170],[136,175],[106,109,110,114,120,135,136,143,144,153,159,164,165,168,174],[136,161],[136,160],[90,136],[93,136],[94,99,127,136],[95,106,107,114,124,135,136],[95,96,106,114,136],[97,136],[98,99,107,115,136],[99,124,132,136],[100,102,106,114,136],[101,136],[102,103,136],[106,136],[104,106,136],[106,107,108,124,135,136],[106,107,108,121,124,127,136],[136,140],[102,106,109,114,124,135,136],[106,107,109,110,114,124,132,135,136],[109,111,124,132,135,136],[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142],[106,112,136],[113,135,136,140],[102,106,114,124,136],[115,136],[116,136],[93,117,136],[118,134,136,140],[119,136],[120,136],[106,121,122,136],[121,123,136,138],[94,106,124,125,126,127,136],[94,124,126,136],[124,125,136],[127,136],[128,136],[93,124,136],[106,130,131,136],[130,131,136],[99,114,124,132,136],[133,136],[114,134,136],[94,109,120,135,136],[99,136],[124,136,137],[113,136,138],[136,139],[94,99,106,108,117,124,135,136,138,140],[124,136,141],[136,178],[136,179],[136,143],[136,181,220],[136,181,205,220],[136,220],[136,181],[136,181,206,220],[136,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219],[136,206,220],[107,124,136,143,155],[109,136,143,159,161],[136,148,222],[136,221],[48,136],[106,109,111,114,124,132,135,136,141,143],[136,225],[106,124,136,143],[47,51,136],[45,46,136],[49,50,136],[59,60,61,62,63,64,65,66,67,136],[72,136],[47,51,54,55,136],[58,136],[47,58,136],[47,58,66,136],[60,136],[51,136],[50,51,136],[50,51,71,136],[44,56,68,69,73,79,85,136],[44,136],[44,56,68,69,136],[44,56,68,69,70,80,136],[44,56,68,69,70,73,79,80,136],[44,56,68,69,80,136],[44,56,68,69,70,81,82,83,136],[44,84,86,87,88,136],[44,75,76,77,78,136],[56],[56,85],[56,70],[56,70,81,82,83],[84,86,87,88]],"referencedMap":[[57,1],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[144,4],[145,2],[147,5],[149,6],[148,2],[151,7],[152,2],[146,4],[153,2],[154,2],[165,8],[166,2],[167,2],[158,9],[163,10],[168,2],[159,2],[169,2],[170,11],[171,12],[172,2],[173,2],[164,2],[174,13],[175,14],[160,15],[161,16],[176,2],[90,17],[91,17],[93,18],[94,19],[95,20],[96,21],[97,22],[98,23],[99,24],[100,25],[101,26],[102,27],[103,27],[105,28],[104,29],[106,28],[107,30],[108,31],[92,32],[142,2],[109,33],[110,34],[111,35],[143,36],[112,37],[113,38],[114,39],[115,40],[116,41],[117,42],[118,43],[119,44],[120,45],[121,46],[122,46],[123,47],[124,48],[126,49],[125,50],[127,51],[128,52],[129,53],[130,54],[131,55],[132,56],[133,57],[134,58],[135,59],[136,60],[137,61],[138,62],[139,63],[140,64],[141,65],[177,2],[179,66],[178,67],[150,2],[157,2],[180,68],[205,69],[206,70],[181,71],[184,71],[203,69],[204,69],[194,69],[193,72],[191,69],[186,69],[199,69],[197,69],[201,69],[185,69],[198,69],[202,69],[187,69],[188,69],[200,69],[182,69],[189,69],[190,69],[192,69],[196,69],[207,73],[195,69],[183,69],[220,74],[219,2],[214,73],[216,75],[215,73],[208,73],[209,73],[211,73],[213,73],[217,75],[218,75],[210,75],[212,75],[156,76],[155,2],[162,77],[223,78],[222,79],[221,2],[49,80],[48,2],[224,81],[225,2],[226,82],[227,83],[54,84],[52,85],[53,86],[68,87],[73,88],[56,89],[45,2],[58,2],[59,90],[62,91],[60,91],[64,91],[67,92],[66,91],[65,91],[63,91],[61,93],[46,2],[47,85],[50,94],[71,95],[72,96],[55,2],[51,86],[44,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[86,97],[85,98],[88,99],[82,100],[81,101],[83,99],[87,102],[84,103],[70,98],[89,104],[80,98],[79,105],[69,1]],"exportedModulesMap":[[57,106],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[144,4],[145,2],[147,5],[149,6],[148,2],[151,7],[152,2],[146,4],[153,2],[154,2],[165,8],[166,2],[167,2],[158,9],[163,10],[168,2],[159,2],[169,2],[170,11],[171,12],[172,2],[173,2],[164,2],[174,13],[175,14],[160,15],[161,16],[176,2],[90,17],[91,17],[93,18],[94,19],[95,20],[96,21],[97,22],[98,23],[99,24],[100,25],[101,26],[102,27],[103,27],[105,28],[104,29],[106,28],[107,30],[108,31],[92,32],[142,2],[109,33],[110,34],[111,35],[143,36],[112,37],[113,38],[114,39],[115,40],[116,41],[117,42],[118,43],[119,44],[120,45],[121,46],[122,46],[123,47],[124,48],[126,49],[125,50],[127,51],[128,52],[129,53],[130,54],[131,55],[132,56],[133,57],[134,58],[135,59],[136,60],[137,61],[138,62],[139,63],[140,64],[141,65],[177,2],[179,66],[178,67],[150,2],[157,2],[180,68],[205,69],[206,70],[181,71],[184,71],[203,69],[204,69],[194,69],[193,72],[191,69],[186,69],[199,69],[197,69],[201,69],[185,69],[198,69],[202,69],[187,69],[188,69],[200,69],[182,69],[189,69],[190,69],[192,69],[196,69],[207,73],[195,69],[183,69],[220,74],[219,2],[214,73],[216,75],[215,73],[208,73],[209,73],[211,73],[213,73],[217,75],[218,75],[210,75],[212,75],[156,76],[155,2],[162,77],[223,78],[222,79],[221,2],[49,80],[48,2],[224,81],[225,2],[226,82],[227,83],[54,84],[52,85],[53,86],[68,87],[73,88],[56,89],[45,2],[58,2],[59,90],[62,91],[60,91],[64,91],[67,92],[66,91],[65,91],[63,91],[61,93],[46,2],[47,85],[50,94],[71,95],[72,96],[55,2],[51,86],[44,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[86,107],[88,106],[82,108],[81,108],[83,106],[87,106],[84,109],[89,110],[69,106]],"semanticDiagnosticsPerFile":[57,43,74,75,78,77,76,144,145,147,149,148,151,152,146,153,154,165,166,167,158,163,168,159,169,170,171,172,173,164,174,175,160,161,176,90,91,93,94,95,96,97,98,99,100,101,102,103,105,104,106,107,108,92,142,109,110,111,143,112,113,114,115,116,117,118,119,120,121,122,123,124,126,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,177,179,178,150,157,180,205,206,181,184,203,204,194,193,191,186,199,197,201,185,198,202,187,188,200,182,189,190,192,196,207,195,183,220,219,214,216,215,208,209,211,213,217,218,210,212,156,155,162,223,222,221,49,48,224,225,226,227,54,52,53,68,73,56,45,58,59,62,60,64,67,66,65,63,61,46,47,50,71,72,55,51,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,86,85,88,82,81,83,87,84,70,89,80,79,69]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../components.d.ts","../node_modules/tslib/tslib.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/css-tag.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/reactive-controller.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/reactive-element.d.ts","../node_modules/@types/trusted-types/lib/index.d.ts","../node_modules/@types/trusted-types/index.d.ts","../node_modules/lit/node_modules/lit-html/directive.d.ts","../node_modules/lit/node_modules/lit-html/lit-html.d.ts","../node_modules/lit-element/node_modules/@lit/reactive-element/reactive-element.d.ts","../node_modules/lit-element/node_modules/lit-html/lit-html.d.ts","../node_modules/lit-element/lit-element.d.ts","../node_modules/lit/node_modules/lit-html/is-server.d.ts","../node_modules/lit/index.d.ts","../assets/font-awesome.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/base.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/property.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/state.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/event-options.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-all.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-async.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../node_modules/lit/decorators.d.ts","../tailwind/tailwind.ts","../src/components/kompas-paywall/types.ts","../node_modules/lit/node_modules/lit-html/directives/unsafe-html.d.ts","../node_modules/lit/node_modules/lit-html/directives/unsafe-svg.d.ts","../node_modules/lit/directives/unsafe-svg.d.ts","../node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","../node_modules/@fortawesome/free-solid-svg-icons/index.d.ts","../node_modules/@fortawesome/free-regular-svg-icons/index.d.ts","../node_modules/@fortawesome/free-brands-svg-icons/index.d.ts","../src/utils/fontawesome-setup.ts","../src/utils/deviceType.ts","../src/components/kompas-paywall-body/KompasPaywallBody.ts","../src/components/kompas-paywall-banner-registration/KompasPaywallBannerRegistration.ts","../src/components/kompas-paywall-information-header/KompasPaywallInformationHeader.ts","../src/components/kompas-paywall/KompasPaywall.ts","../src/components/kompas-footer/types.ts","../src/components/kompas-footer/KompasFooter.ts","../src/components/kompas-paywall-video/KompasPaywallVideo.ts","../src/components/kompas-metered-paywall/KompasMeteredPaywall.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/accepts/index.d.ts","../node_modules/@types/babel__code-frame/index.d.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/body-parser/index.d.ts","../node_modules/@types/chai/index.d.ts","../node_modules/@types/chai-dom/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/co-body/index.d.ts","../node_modules/@types/command-line-args/index.d.ts","../node_modules/@types/content-disposition/index.d.ts","../node_modules/@types/convert-source-map/index.d.ts","../node_modules/@types/send/node_modules/@types/mime/index.d.ts","../node_modules/@types/send/index.d.ts","../node_modules/@types/range-parser/index.d.ts","../node_modules/@types/express-serve-static-core/index.d.ts","../node_modules/@types/http-errors/index.d.ts","../node_modules/@types/mime/Mime.d.ts","../node_modules/@types/mime/index.d.ts","../node_modules/@types/serve-static/index.d.ts","../node_modules/@types/express/index.d.ts","../node_modules/@types/keygrip/index.d.ts","../node_modules/@types/cookies/index.d.ts","../node_modules/@types/debounce/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/http-assert/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/koa-compose/index.d.ts","../node_modules/@types/koa/index.d.ts","../node_modules/@types/mocha/index.d.ts","../node_modules/@types/parse-json/index.d.ts","../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../node_modules/@types/parse5/index.d.ts","../node_modules/@types/resolve/index.d.ts","../node_modules/@types/semver/classes/semver.d.ts","../node_modules/@types/semver/functions/parse.d.ts","../node_modules/@types/semver/functions/valid.d.ts","../node_modules/@types/semver/functions/clean.d.ts","../node_modules/@types/semver/functions/inc.d.ts","../node_modules/@types/semver/functions/diff.d.ts","../node_modules/@types/semver/functions/major.d.ts","../node_modules/@types/semver/functions/minor.d.ts","../node_modules/@types/semver/functions/patch.d.ts","../node_modules/@types/semver/functions/prerelease.d.ts","../node_modules/@types/semver/functions/compare.d.ts","../node_modules/@types/semver/functions/rcompare.d.ts","../node_modules/@types/semver/functions/compare-loose.d.ts","../node_modules/@types/semver/functions/compare-build.d.ts","../node_modules/@types/semver/functions/sort.d.ts","../node_modules/@types/semver/functions/rsort.d.ts","../node_modules/@types/semver/functions/gt.d.ts","../node_modules/@types/semver/functions/lt.d.ts","../node_modules/@types/semver/functions/eq.d.ts","../node_modules/@types/semver/functions/neq.d.ts","../node_modules/@types/semver/functions/gte.d.ts","../node_modules/@types/semver/functions/lte.d.ts","../node_modules/@types/semver/functions/cmp.d.ts","../node_modules/@types/semver/functions/coerce.d.ts","../node_modules/@types/semver/classes/comparator.d.ts","../node_modules/@types/semver/classes/range.d.ts","../node_modules/@types/semver/functions/satisfies.d.ts","../node_modules/@types/semver/ranges/max-satisfying.d.ts","../node_modules/@types/semver/ranges/min-satisfying.d.ts","../node_modules/@types/semver/ranges/to-comparators.d.ts","../node_modules/@types/semver/ranges/min-version.d.ts","../node_modules/@types/semver/ranges/valid.d.ts","../node_modules/@types/semver/ranges/outside.d.ts","../node_modules/@types/semver/ranges/gtr.d.ts","../node_modules/@types/semver/ranges/ltr.d.ts","../node_modules/@types/semver/ranges/intersects.d.ts","../node_modules/@types/semver/ranges/simplify.d.ts","../node_modules/@types/semver/ranges/subset.d.ts","../node_modules/@types/semver/internals/identifiers.d.ts","../node_modules/@types/semver/index.d.ts","../node_modules/@types/sinonjs__fake-timers/index.d.ts","../node_modules/@types/sinon/index.d.ts","../node_modules/@types/sinon-chai/index.d.ts","../node_modules/@types/ws/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../node_modules/@types/yauzl/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"325cf4f6db7cb37bc0f0e3f2677781513297dad5d52ac672e5da3bb1ed2427ec","7a1971efcba559ea9002ada4c4e3c925004fb67a755300d53b5edf9399354900","274ed44f5d5ebbdb30e8257c5445d59a0b42f2524d9a2c882cf38823d8a260ec","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a",{"version":"b6dcee37833ac830d76161d86dc68089f50e57aba65fca6d4369bb2b7ef1eac6","affectsGlobalScope":true},"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e",{"version":"17f2b4d00e42e0cc1dfc3be692a6da5a14a6cb73b87259e6d20ff02bcd6d573f","affectsGlobalScope":true},"2f84bc2655654a2d8c149f5086a7e99ba1f2807dfc3a5b4ab7ee6e01f5e40e8f","f2414aa3539c9ed7e4985ad356e4865c8f2d19ce0c93fbabda8554f7299f484d",{"version":"b6dcee37833ac830d76161d86dc68089f50e57aba65fca6d4369bb2b7ef1eac6","affectsGlobalScope":true},"f2414aa3539c9ed7e4985ad356e4865c8f2d19ce0c93fbabda8554f7299f484d","bb0b973bdc7d00b95dab73142cef7f92ba96f276b152c80c2c933ac3ead51431","5e7e090243bf203382a5cb04eabbdc38d78f6d5922f16f543e4da8fa007d5ff9","cd823094ded7c8ac4f94ab6dc387dab699293eb8323d9f948304efc07e4ae7b2",{"version":"d51d3f14a9fcda1570427d19249c9cf209a276aedf3d02e9cc72b22bd01d5aa5","signature":"7efb0e2251e36655b6252f5d0a756bab247a0e01577e97b10f6c1857bef49eec"},"444402ce58193c6200a4bc0f2fa49981fc2876a75c52c8348a2293b25116ddf9","278773120821f65d2c545914678eaf7119036962fb509415d8fbee90f48febdf","049bebe48b63ecbd1a7c90ce9a523bf894174cdfd73cb6d535c695e1ddb52281","6d1b27c60d543e0ccee15646fb1410fdcdd2f9924638dbecf550174f9ad1a433","35ab2aa25db33860d80b44f6b4281d40e11638cf6540f45bc15090ffcbeeed22","358312c635fd74a7e6e6c61d298341d12c1282be9423c13df43f7bf6b0fcfde7","6eab9baa28d5af65e9725319dda4f7a34dadefa8d2a7180efed1f156aaa64f1d","74800ff360a51f013407726011b96c0310dd4f3e5789abc73b166385a7ebdd77","6e303e9b77772e5496a58307cffc158a497301f7ec462d52a77f1f6985a8b158","b144df450421a0b83fa165d973afae89fc2d73bfbda5403cabdf13a6dfc3cc6d","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a",{"version":"af058f08259e6c352cc46241b2a5e0e9dbdfc4af9484e60f60dda442a7504e63","signature":"7c5bc7e6668f5015f71987e827f620fe47e2713c81ea489381426714d1d88d09"},{"version":"f0913a4b3c36b03e5913454a71b36f866ba2a400718b14951550c4cb248c7cd2","signature":"0d59edb4a5d13481030748f17995c182a6813ece9d4d275ae56fad4f402ef835"},"26aa10392523f33116e3664ce9fb554c0fde7df98aec59e5e017c9e4509a01dc","0fae6f40270f0795968d2655688cefd1607d7d587a405fb37435660fc2bee83f","c3fd63ac3d69d9ef4e74be917fdd084da34e27cf6ec2ef77a844a9053fe7f54d","08529265b143af2e729d3198e59f6a7acd014f9c9688831bd680688023ea65e9","41045c9571b4ce67b52f9f81ea9ba29b105af178a1701de465a74a034dd93174","be25d1ff8e9d092ee3d010c62f5aa00b1474ab6bff62de307beb928b5543c994","ce5a3e6db4c03cdea4f81bb90eff65e0cdddb13736a29f8679d899871860933e","039f0d805de1e1d41210afc44a7babad2b030d138eca9b47478e2d893e10855a",{"version":"47a8085fc7a0771306ed9a157aefe756937e3d0e92c88984944d25229f7cf6f5","signature":"4d7ec75710e7aabd83a0d5f811a327c6f426ec9752e2fa4edc86fbd478a95c7d"},{"version":"1201ad872353b5dfe360131dc577b187b9776d252472058b5fc7336afc31cebe","signature":"c8f5cb96868129dbf30b86472826ae484bc7c882769356cad3c9f454d190591e"},{"version":"0ef4309387e900652978b264166a248d63a853ab78f5f0f204ba91d9a4e62d1e","signature":"893c21dbd6bfcd3930b6dc0f00338de508c30b308e1afbd86abb0511ce0084c9"},{"version":"4a0f00fd3d79dccb9e3d3d157e94dd71bd514c0c9ad4c2f31d5c513fb69353ab","signature":"960bbded2b7bf33d19abf7df727025c720a6b101e13c06fd95695376d65afa27"},{"version":"975c5c30f98535d544074e691c5f4c76d98d8a3f6f83d9bfd5152bd8535b2138","signature":"0b1bb88708eecdeebce03dfc53b707be0c25152e28dbd61a7a752290d0d6253c"},{"version":"5d69224c845258ed2ce114e9b20a067a20bc9d6a1e31179cc4ac7196564a8ea9","signature":"064e606da532af33dd6a8bad9dd2b8665fe900d09f612a74680a596ca0dfabc9"},{"version":"401b36fa0c6dba4be00ad87b1b27b8cacefa06978d9c71f17d986283adc96506","signature":"ef49b3f8045a84af3fb1604875d97b8cc94b9c12f74a157e27232166a3291047"},{"version":"e086549c9d68c97645b61837925a78d0a1d94bd6d63d12965ea5d37572f8988e","signature":"381ebbb22153c41a677fce9962f0a7cef2ea09b39279c51fdf6f7f84f556ed02"},{"version":"ddb6d335ea0b54c4ffb4fad2b788991734c1ad6b62405877f4dfafe95b685a95","signature":"128fdeaf3d07894c6d0618855cd52c7fae5844c3c931a425af4d4b194281e8c9"},{"version":"81708f4df189885e4c6e0211511a90a52fc604e4dc2f6a348ad6b908aef6cfa2","signature":"49c53ccf21a5090ac2c5051696bd7998494c2c8aad68f33a3bbeeca474db073c"},{"version":"248daf7c59d82efde9e917f407339d259e67f992983a801b8325b27e788ca29d","signature":"a73ae450e65b643b29bc0eb9a704800d6ff3e68e935bd2332f381fe8bfaaf8ca","affectsGlobalScope":true},"09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"bb6872f39c58753205c19b9f89e1e07d61116ae5d82539cef0f3bde5e8fecb57","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","3a3b3310118e79c8d394171a87f4dc8fd562337a85e33f9fa9636040a2ec2fde","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"738a0de235edb5caf581c5aa86f5dd48ee28b2d0da1e327cbc57cdabde116bda","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","f4016bf7fd9b760162521f2f18fab4023095795e4fb34496d8c61c59acfd0a56","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","ad8848c289c0b633452e58179f46edccd14b5a0fe90ebce411f79ff040b803e0",{"version":"120285cc97da7b20b0cbf2c557a5db7d215ec17ee688165ac8aff7f8de035b75","affectsGlobalScope":true},"5ca4a9fb7c9ee4f60df6d3bb6460e2c7f3a9cd7b8f7ebae29110fac74de4e50c","42a7993edf3288c33755ec08faefb1a40fd9f5f0844f82e48ae152791e80c76a","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"f49fb15c4aa06b65b0dce4db4584bfd8a9f74644baef1511b404dc95be34af00","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"0466fc426b5d684b299855ed3898c30e6ce90cd742730ba5f619075507ea135a","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"290276bcec65d49eb152489c62845b28bed530258751c80d04d167b36b33be72","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"16dcbd7095be9ba030b671ef982dc760e03d40a0f54f27f2a6f1fa00f5670fe7","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","ef437dd282a112d1172b50ac7fd86713d475a496da7aeb31119f529f1313c8d5","82819f9ecc249a6a3e284003540d02ea1b1f56f410c23231797b9e1e4b9622df","81a109b6bb6adf5ed70f2c7e6d907b8c3adcf7b47b5ee09701c5f97370fd29b7",{"version":"1fb008c1a29f86a8a0e9a674b7235f23c6d2a86c9658772941fb626a60aac53b","affectsGlobalScope":true},{"version":"31214658e22c23eb58ff8383346bf6c8d135b3eab0748f3226aa7b6f30d2021f","affectsGlobalScope":true},"c7da551241b7be719b7bd654ab12a5098c3206fbb189076dd2d8871011a6ab5a","f78253406029c78c96d8923b15e89a5900836e47a2b98bee6c83dc142421d395","5ae76b5a59f2f787e9eb2d4f1a066ceb4505a52bf8fe77ac321d791ef2e72000","64fcc79ee3c237816b9cef0a9289b00bf3da5b17040cd970ac04ba03c4ac1595","49f1d42ac650932fe64a9b623c27ea6e681335ea2e7cda52a5358f4248701001","f6218314af6f492ce5461bdadac5b829f5b4b31a3d1da3d04e77ed0afe0829fb","7167d932a7e2e991084421bb22af20024ada5a046d948c742de0f89996de5d0b","e2d3bfa79f0fad3ad67dfb0685c50dbe19b364a440160a2d40d0e3f44c75938c",{"version":"1c598f8d911f0bc39f04910c8c93f2f76fbb65f892ee5ecc38a2b58bb95af752","affectsGlobalScope":true},"4eadf1158f1ae8f7b0deea0f96b391359042cf74d1eb3ce1dacdb69de96e590d","d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1","6d1438dc186a32e0441133a6ea7befa732b92d37d96020fafa82ff3b9a7f9cc5","f0120fc76274f614e7b8f5420a74abce69eee25b81e2084479fa426f33ccd46a","003f07cf566395059625b39785398f18652c8952e19790e7d6eeb22a9cbe0440","432dc46f22f9790797d98ccf09f7dc4a897bb5e874921217b951fb808947446b","28ed61ddc42936537ad29ade1404d533b4b28967460e29811409e5a40d9fc3b3","a36023d4a654c11e071b99cde8203d55d9feaf4940c766b9c960b8e0eb4f4c1f","89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","c79bd2f3e5c05e7ad80dc82ce8d339cac23ac1f5e6cfab96c860bb70d5162873","e3328cedfe4d7fac23ba75d00bf5169269800ab949d0837cd88c4211a52c3762","dd89872dd0647dfd63665f3d525c06d114310a2f7a5a9277e5982a152b31be2b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","fa849c825ac37d70ca78097a1cd06bb5ac281651f765fff8e491cfb0709de57b","c39e1ee964fa0bb318ee2db72c430b3aede3b50dbde414b03b4e43915f80c292",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true},"2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","cc0700b1b97e18a3d5d9184470502d8762ec85158819d662730c3a8c5d702584","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","f77ff4cd234d3fd18ddd5aeadb6f94374511931976d41f4b9f594cb71f7ce6f3","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","4f18b4e6081e5e980ef53ddf57b9c959d36cffe1eb153865f512a01aeffb5e1e","7f17d4846a88eca5fe71c4474ef687ee89c4acf9b5372ab9b2ee68644b7e0fe0","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","58e0cee50add50d4b6d47a935e26aeb0080d98c9cf729f8af389511cdfa10526","cc75216f6b332971954ef74bf3d14c3881c461e82987050d5f62af3e5966e845","a84405f025881a64a23f95a882701f53981e4ccf41abf485868ae53f462e61c5",{"version":"4b93bb181cf4f25ccbf2ec1f559912c81678433a9784ce84163b5c9e1548998f","affectsGlobalScope":true},"bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","75fa6a9be075402ea969c1fcec4bb1421f72efbc3e2f340032684cdd3115197c","2eae2c50864a720fad05e116a0121a6ee6b6231266763c75d1f3503ddc22714a","5fdc3a2b97a9b1987cea799a36c6a4ea2f34fb60e52734361451cb5445f11a94"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[44,56,136],[136],[74,136],[109,136,143],[109,136,143,146],[136,148],[109,136,143,150],[109,136,143,146,163,164],[106,109,136,143,150,156,157],[136,147,150,158,162],[136,169],[136,170],[136,175],[106,109,110,114,120,135,136,143,144,153,159,164,165,168,174],[136,161],[136,160],[90,136],[93,136],[94,99,127,136],[95,106,107,114,124,135,136],[95,96,106,114,136],[97,136],[98,99,107,115,136],[99,124,132,136],[100,102,106,114,136],[101,136],[102,103,136],[106,136],[104,106,136],[106,107,108,124,135,136],[106,107,108,121,124,127,136],[136,140],[102,106,109,114,124,135,136],[106,107,109,110,114,124,132,135,136],[109,111,124,132,135,136],[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142],[106,112,136],[113,135,136,140],[102,106,114,124,136],[115,136],[116,136],[93,117,136],[118,134,136,140],[119,136],[120,136],[106,121,122,136],[121,123,136,138],[94,106,124,125,126,127,136],[94,124,126,136],[124,125,136],[127,136],[128,136],[93,124,136],[106,130,131,136],[130,131,136],[99,114,124,132,136],[133,136],[114,134,136],[94,109,120,135,136],[99,136],[124,136,137],[113,136,138],[136,139],[94,99,106,108,117,124,135,136,138,140],[124,136,141],[136,178],[136,179],[136,143],[136,181,220],[136,181,205,220],[136,220],[136,181],[136,181,206,220],[136,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219],[136,206,220],[107,124,136,143,155],[109,136,143,159,161],[136,148,222],[136,221],[48,136],[106,109,111,114,124,132,135,136,141,143],[136,225],[106,124,136,143],[47,51,136],[45,46,136],[49,50,136],[59,60,61,62,63,64,65,66,67,136],[72,136],[47,51,54,55,136],[58,136],[47,58,136],[47,58,66,136],[60,136],[51,136],[50,51,136],[50,51,71,136],[44,56,68,69,73,79,85,136],[44,136],[44,56,68,69,136],[44,56,68,69,70,80,136],[44,56,68,69,70,73,79,80,136],[44,56,68,69,80,136],[44,56,68,69,70,81,82,83,136],[44,84,86,87,88,136],[44,75,76,77,78,136],[56],[56,85],[56,70],[56,70,81,82,83],[84,86,87,88]],"referencedMap":[[57,1],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[144,4],[145,2],[147,5],[149,6],[148,2],[151,7],[152,2],[146,4],[153,2],[154,2],[165,8],[166,2],[167,2],[158,9],[163,10],[168,2],[159,2],[169,2],[170,11],[171,12],[172,2],[173,2],[164,2],[174,13],[175,14],[160,15],[161,16],[176,2],[90,17],[91,17],[93,18],[94,19],[95,20],[96,21],[97,22],[98,23],[99,24],[100,25],[101,26],[102,27],[103,27],[105,28],[104,29],[106,28],[107,30],[108,31],[92,32],[142,2],[109,33],[110,34],[111,35],[143,36],[112,37],[113,38],[114,39],[115,40],[116,41],[117,42],[118,43],[119,44],[120,45],[121,46],[122,46],[123,47],[124,48],[126,49],[125,50],[127,51],[128,52],[129,53],[130,54],[131,55],[132,56],[133,57],[134,58],[135,59],[136,60],[137,61],[138,62],[139,63],[140,64],[141,65],[177,2],[179,66],[178,67],[150,2],[157,2],[180,68],[205,69],[206,70],[181,71],[184,71],[203,69],[204,69],[194,69],[193,72],[191,69],[186,69],[199,69],[197,69],[201,69],[185,69],[198,69],[202,69],[187,69],[188,69],[200,69],[182,69],[189,69],[190,69],[192,69],[196,69],[207,73],[195,69],[183,69],[220,74],[219,2],[214,73],[216,75],[215,73],[208,73],[209,73],[211,73],[213,73],[217,75],[218,75],[210,75],[212,75],[156,76],[155,2],[162,77],[223,78],[222,79],[221,2],[49,80],[48,2],[224,81],[225,2],[226,82],[227,83],[54,84],[52,85],[53,86],[68,87],[73,88],[56,89],[45,2],[58,2],[59,90],[62,91],[60,91],[64,91],[67,92],[66,91],[65,91],[63,91],[61,93],[46,2],[47,85],[50,94],[71,95],[72,96],[55,2],[51,86],[44,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[86,97],[85,98],[88,99],[82,100],[81,101],[83,99],[87,102],[84,103],[70,98],[89,104],[80,98],[79,105],[69,1]],"exportedModulesMap":[[57,106],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[144,4],[145,2],[147,5],[149,6],[148,2],[151,7],[152,2],[146,4],[153,2],[154,2],[165,8],[166,2],[167,2],[158,9],[163,10],[168,2],[159,2],[169,2],[170,11],[171,12],[172,2],[173,2],[164,2],[174,13],[175,14],[160,15],[161,16],[176,2],[90,17],[91,17],[93,18],[94,19],[95,20],[96,21],[97,22],[98,23],[99,24],[100,25],[101,26],[102,27],[103,27],[105,28],[104,29],[106,28],[107,30],[108,31],[92,32],[142,2],[109,33],[110,34],[111,35],[143,36],[112,37],[113,38],[114,39],[115,40],[116,41],[117,42],[118,43],[119,44],[120,45],[121,46],[122,46],[123,47],[124,48],[126,49],[125,50],[127,51],[128,52],[129,53],[130,54],[131,55],[132,56],[133,57],[134,58],[135,59],[136,60],[137,61],[138,62],[139,63],[140,64],[141,65],[177,2],[179,66],[178,67],[150,2],[157,2],[180,68],[205,69],[206,70],[181,71],[184,71],[203,69],[204,69],[194,69],[193,72],[191,69],[186,69],[199,69],[197,69],[201,69],[185,69],[198,69],[202,69],[187,69],[188,69],[200,69],[182,69],[189,69],[190,69],[192,69],[196,69],[207,73],[195,69],[183,69],[220,74],[219,2],[214,73],[216,75],[215,73],[208,73],[209,73],[211,73],[213,73],[217,75],[218,75],[210,75],[212,75],[156,76],[155,2],[162,77],[223,78],[222,79],[221,2],[49,80],[48,2],[224,81],[225,2],[226,82],[227,83],[54,84],[52,85],[53,86],[68,87],[73,88],[56,89],[45,2],[58,2],[59,90],[62,91],[60,91],[64,91],[67,92],[66,91],[65,91],[63,91],[61,93],[46,2],[47,85],[50,94],[71,95],[72,96],[55,2],[51,86],[44,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[86,107],[88,106],[82,108],[81,108],[83,106],[87,106],[84,109],[89,110],[69,106]],"semanticDiagnosticsPerFile":[57,43,74,75,78,77,76,144,145,147,149,148,151,152,146,153,154,165,166,167,158,163,168,159,169,170,171,172,173,164,174,175,160,161,176,90,91,93,94,95,96,97,98,99,100,101,102,103,105,104,106,107,108,92,142,109,110,111,143,112,113,114,115,116,117,118,119,120,121,122,123,124,126,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,177,179,178,150,157,180,205,206,181,184,203,204,194,193,191,186,199,197,201,185,198,202,187,188,200,182,189,190,192,196,207,195,183,220,219,214,216,215,208,209,211,213,217,218,210,212,156,155,162,223,222,221,49,48,224,225,226,227,54,52,53,68,73,56,45,58,59,62,60,64,67,66,65,63,61,46,47,50,71,72,55,51,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,86,85,88,82,81,83,87,84,70,89,80,79,69]},"version":"4.9.5"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Kompas.id reusable web components",
4
4
  "license": "MIT",
5
5
  "author": "kompas.id",
6
- "version": "v0.2.0",
6
+ "version": "v0.3.0",
7
7
  "type": "module",
8
8
  "main": "dist/src/index.js",
9
9
  "module": "dist/src/index.js",
@@ -0,0 +1,9 @@
1
+ ## Description
2
+ <!--- Jelaskan secara singkat mengenai perubahaan -->
3
+
4
+ ## Screenshots/Schema/Design etc:
5
+ <!--- Lampirkan bila tersedia -->
6
+
7
+ ## Keterangan Azure Devops/Github
8
+ <!--- Wajib melampirkan azure devops work item kalau tidak silahkan pindahkan sendiri boardnya -->
9
+ Fixed AB#
@@ -34,7 +34,7 @@ export class KompasMeteredPaywall extends LitElement {
34
34
  TWStyles,
35
35
  ]
36
36
 
37
- @state() maxQuota: number = 5
37
+ @state() maxQuota: number = 3
38
38
 
39
39
  @state() subscriptionUrl: string = 'https://www.kompas.id/berlangganan'
40
40
  /**
@@ -1,31 +1,25 @@
1
- # kompas-paywall-meter
2
-
3
-
4
-
5
- <!-- Auto Generated Below -->
6
-
1
+ # kompas-metered-paywall
7
2
 
8
3
  ## Properties
9
4
 
10
- | Property | Attribute | Description | Type | Default |
11
- | ------------------------------ | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
12
- | `countdownArticle` | `countdown-article` | prop countdownArticle untuk menghandle sudah berapa artikel gratis yang user baca. prop paywall_location = The location where user encounter the paywall prop paywall_subscription_package = The name of the subscription package viewed by user prop paywall_subscription_id = The ID of the subscription package viewed by user prop paywall_subscription_price = The price of the subscriprtion package viewed by user prop paywall_position = The position of ther subscription package viewed by user prop tracker_page_type = Type of the page prop tracker_content_id = ID of article (slug) prop tracker_content_type = Whether it's free article or paid article prop tracker_content_title = The title of article prop tracker_content_categories = The category of the content prop tracker_user_type = Type of user based on their subscription prop tracker_subscription_status = Status of their subscription prop tracker_page_domain = Page Domain prop tracker_metered_wall_type = The type of Metered Wall prop tracker_epaper_edition = The edition of epaper viewed by user prop tracker_metered_wall_balance = The balance of their metered wall | `number` | `0` |
13
- | `paywall_location` | `paywall_location` | | `string` | `''` |
14
- | `paywall_position` | `paywall_position` | | `number` | `0` |
15
- | `paywall_subscription_id` | `paywall_subscription_id` | | `string` | `''` |
16
- | `paywall_subscription_package` | `paywall_subscription_package` | | `string` | `''` |
17
- | `paywall_subscription_price` | `paywall_subscription_price` | | `number` | `0` |
18
- | `tracker_content_categories` | `tracker_content_categories` | | `string` | `''` |
19
- | `tracker_content_id` | `tracker_content_id` | | `string` | `''` |
20
- | `tracker_content_title` | `tracker_content_title` | | `string` | `''` |
21
- | `tracker_content_type` | `tracker_content_type` | | `string` | `''` |
22
- | `tracker_metered_wall_balance` | `tracker_metered_wall_balance` | | `number` | `0` |
23
- | `tracker_metered_wall_type` | `tracker_metered_wall_type` | | `string` | `''` |
24
- | `tracker_page_domain` | `tracker_page_domain` | | `string` | `''` |
25
- | `tracker_page_type` | `tracker_page_type` | | `string` | `''` |
26
- | `tracker_subscription_status` | `tracker_subscription_status` | | `string` | `''` |
27
- | `tracker_user_type` | `tracker_user_type` | | `string` | `''` |
28
-
5
+ | Property | Attribute | Description | Type | Default |
6
+ | ------------------------------ | ------------------------------ | ---------------------------------------------------------------------------------------- | -------- | ------- |
7
+ | `countdownArticle` | `countdown-article` | prop countdownArticle untuk menghandle sudah berapa artikel gratis yang user baca | `number` | `0` |
8
+ | `paywall_location` | `paywall_location` | prop paywall_location = The location where user encounter the paywall | `string` | `''` |
9
+ | `paywall_position` | `paywall_position` | prop paywall_position = The position of ther subscription package viewed by user | `number` | `0` |
10
+ | `paywall_subscription_id` | `paywall_subscription_id` | prop paywall_subscription_id = The ID of the subscription package viewed by user | `string` | `''` |
11
+ | `paywall_subscription_package` | `paywall_subscription_package` | prop paywall_subscription_package = The name of the subscription package viewed by user | `string` | `''` |
12
+ | `paywall_subscription_price` | `paywall_subscription_price` | prop paywall_subscription_price = The price of the subscription package viewed by user | `number` | `0` |
13
+ | `tracker_content_categories` | `tracker_content_categories` | prop tracker_content_categories = The category of the content | `string` | `''` |
14
+ | `tracker_content_id` | `tracker_content_id` | prop tracker_content_id = ID of article (slug) | `string` | `''` |
15
+ | `tracker_content_title` | `tracker_content_title` | prop tracker_content_title = The title of article | `string` | `''` |
16
+ | `tracker_content_type` | `tracker_content_type` | prop tracker_content_type = Whether it's free article or paid article | `string` | `''` |
17
+ | `tracker_metered_wall_balance` | `tracker_metered_wall_balance` | prop tracker_metered_wall_balance = The balance of their metered wall | `number` | `0` |
18
+ | `tracker_metered_wall_type` | `tracker_metered_wall_type` | prop tracker_metered_wall_type = The type of Metered Wall | `string` | `''` |
19
+ | `tracker_page_domain` | `tracker_page_domain` | prop tracker_page_domain = Page Domain | `string` | `''` |
20
+ | `tracker_page_type` | `tracker_page_type` | prop tracker_page_type = Type of the page | `string` | `''` |
21
+ | `tracker_subscription_status` | `tracker_subscription_status` | prop tracker_subscription_status = Status of their subscription | `string` | `''` |
22
+ | `tracker_user_type` | `tracker_user_type` | prop tracker_user_type = Type of user based on their subscription | `string` | `''` |
29
23
 
30
24
  ----------------------------------------------
31
25
 
@@ -2,117 +2,6 @@
2
2
 
3
3
  Ini adalah redesign komponen _paywall_ yang digunakan pada [epaper.kompas.id](https://epaper.kompas.id) dan [kompas.id](https://kompas.id). Penggunaan komponen ini dapat dibedakan berdasarkan type productnya ( epaper atau reguler(kompas.id)).
4
4
 
5
- ## Pemasangan
6
-
7
- ### - CDN
8
-
9
- Selalu menggunakan versi terbaru:
10
- ```html
11
- <script src="https://unpkg.com/@kompasid/web-components@latest" type="module" async defer></script>
12
- ```
13
- atau menggunakan versi tertentu, saat ini belum disarankan:
14
- ```html
15
- <script src="https://unpkg.com/@kompasid/web-components@0.0.1-alpha-5" type="module" async defer></script>
16
- ```
17
-
18
- ### - NPM
19
- ```bash
20
- npm i -D @kompasid/web-components
21
- ```
22
-
23
- ### - Yarn
24
- ```bash
25
- yarn add -D @kompasid/web-components
26
- ```
27
-
28
- ## Penggunaan
29
-
30
- ### - Vue.js
31
- Apabila menggunakan Vue.js sebagai kerangka kerja Javascript, Anda perlu menambahkan konfigurasi berikut di `./src/main.js`:
32
-
33
- ```javascript
34
- import Vue from "vue";
35
- import App from "./App.vue";
36
-
37
- import {
38
- applyPolyfills,
39
- defineCustomElements,
40
- } from "@kompasid/web-components/loader";
41
-
42
- Vue.config.productionTip = false;
43
-
44
- // Perintahkan Vue untuk mengabaikan komponen dengan prefiks 'kompas-'
45
- Vue.config.ignoredElements = [/kompas-\w*/];
46
-
47
- // Bebat komponen kustom ke obyek window
48
- applyPolyfills().then(() => {
49
- defineCustomElements();
50
- });
51
-
52
- new Vue({
53
- render: (h) => h(App),
54
- }).$mount("#app");
55
- ```
56
-
57
- ### - NuxtJS
58
- Apabila menggunakan NuxtJS, Anda bisa menggunakan pustaka [Gomah/nuxt-stencil](https://github.com/Gomah/nuxt-stencil). Tugas selanjutnya adalah menambahkan konfigurasi berikut di `nuxt.config.js`:
59
-
60
- ```javascript
61
- export default {
62
- modules: [
63
- 'nuxt-stencil'
64
- ],
65
- stencil: {
66
- lib: '@kompasid/web-components',
67
- prefix: 'kompas-',
68
- renderOptions: {},
69
- hydratePath: '@kompasid/web-components/hydrate',
70
- loaderPath: '@kompasid/web-components/loader',
71
- ignoredElements: null
72
- },
73
- }
74
- ```
75
-
76
- ### Standar
77
- Anda perlu meletakkan _tag_ komponen `<kompas-paywall />` pada halaman anda.
78
-
79
- Contoh:
80
-
81
- <img width="500" alt="" src="https://i.ibb.co/BwdhYsJ/Screenshot-2022-04-07-151048.png">
82
-
83
-
84
- ### Elemen
85
- ```javascript
86
- <kompas-paywall
87
- type="reguler"
88
- is-with-header="true"
89
- header-text="this is defult text message"
90
- />
91
- ```
92
-
93
- ### Catatan
94
-
95
- Kompas Paywall ini terdiri dari beberapa sub-komponen sebagai berikut :
96
-
97
- 1. kompas-paywall-body <br>
98
- sub-komponen ini merupakan bagian paywall body yang memiliki dua tipe yaitu _epaper_ dan _reguler_
99
- <br>
100
- * epaper <br>
101
- <img width="300" src="https://user-images.githubusercontent.com/43400392/162157850-b82cd11a-a15e-4a44-9f7e-b5b9bab62ee9.png">
102
- * reguler <br>
103
- <img width="300" src="https://user-images.githubusercontent.com/43400392/162159351-9dbef0ce-0113-4cbb-a8a6-9709fbaf1974.png">
104
-
105
- 2. kompas-paywall-banner-registration <br>
106
- sub-komponen ini merupakan komponen banner registration user <br>
107
- <img width="300" src="https://user-images.githubusercontent.com/43400392/162159659-3bbc12ca-78bb-4985-baf6-0df35a5e89a2.png">
108
-
109
- 3. kompas-paywall-information-header <br>
110
- sub-komponen ini merupakan komponen yang digunakan pada mettered paywall ketika mencapai kuota maksimal <br>
111
- <img width="300" src="https://user-images.githubusercontent.com/43400392/162159671-39462ffd-8dd8-4cf5-93ed-fb3bd8751d89.png">
112
-
113
- <!-- Auto Generated Below -->
114
-
115
-
116
5
  ## Properties
117
6
 
118
7
  | Property | Attribute | Description | Type | Default |
@@ -1,10 +1,5 @@
1
1
  # kompas-paywall-banner-registration
2
2
 
3
-
4
-
5
- <!-- Auto Generated Below -->
6
-
7
-
8
3
  ## Properties
9
4
 
10
5
  | Property | Attribute | Description | Type | Default |
@@ -105,7 +105,8 @@ export class KompasPaywallBody extends LitElement {
105
105
  ): void {
106
106
  this.sendDataLayeronButtonBuyPackage(name, id, price, position)
107
107
  const originHost: string = encodeURIComponent(window.location.href)
108
- const directUrlCheckout: string = url + originHost
108
+ const source: string = this.type === 'epaper' ? 'epaper' : ''
109
+ const directUrlCheckout: string = `${url}${originHost}&source=${source}`
109
110
  window.open(directUrlCheckout)
110
111
  }
111
112
 
@@ -330,16 +331,23 @@ export class KompasPaywallBody extends LitElement {
330
331
  super.connectedCallback()
331
332
  if (this.swgEnable) {
332
333
  this.jsonScript()
333
- if (this.buttonElement) {
334
- const head = document.querySelector('head')
335
- const script = document.createElement('script')
336
- script.src = 'https://news.google.com/swg/js/v1/swg.js'
337
- script.defer = true
338
- script.onload = this.subscribeWithGoogleButton()
339
- if (head) {
340
- head.appendChild(script)
334
+ const appendSWGButton = () => {
335
+ this.buttonElement = this.shadowRoot?.getElementById(
336
+ 'subscribe-with-google'
337
+ ) as HTMLButtonElement
338
+ if (this.buttonElement) {
339
+ const head = document.querySelector('head')
340
+ const script = document.createElement('script')
341
+ script.src = 'https://news.google.com/swg/js/v1/swg.js'
342
+ script.defer = true
343
+ script.onload = this.subscribeWithGoogleButton()
344
+ if (head) {
345
+ head.appendChild(script)
346
+ }
341
347
  }
342
348
  }
349
+
350
+ setTimeout(appendSWGButton, 500)
343
351
  }
344
352
  }
345
353
 
@@ -817,7 +825,7 @@ export class KompasPaywallBody extends LitElement {
817
825
  ${this.swgEnable
818
826
  ? html`<button
819
827
  class="border-2 bg-grey-100 border-grey-100 rounded-lg px-6 shadow-sm flex flex-row py-2 mt-1 mb-4"
820
- ref=${(el: any) => (this.buttonElement = el as HTMLButtonElement)}
828
+ id="subscribe-with-google"
821
829
  >
822
830
  <p>Subscribe with</p>
823
831
  <img class="pl-2 object-scale-down w-20 pt-0.5" src="https://kompasid-production-www.s3.ap-southeast-1.amazonaws.com/paywall-asset/google.png" alt="subscribe with google"></img>
@@ -1,10 +1,5 @@
1
1
  # kompas-paywall-body
2
2
 
3
-
4
-
5
- <!-- Auto Generated Below -->
6
-
7
-
8
3
  ## Properties
9
4
 
10
5
  | Property | Attribute | Description | Type | Default |
@@ -1,10 +1,5 @@
1
1
  # kompas-paywall-information-header
2
2
 
3
-
4
-
5
- <!-- Auto Generated Below -->
6
-
7
-
8
3
  ## Properties
9
4
 
10
5
  | Property | Attribute | Description | Type | Default |
@@ -16,30 +16,26 @@ Contoh Penerapan:
16
16
  <img width="500" src="https://user-images.githubusercontent.com/43400392/198214862-16f0f0b1-d179-48b8-9e30-a7667ede1a95.jpg">
17
17
 
18
18
 
19
- <!-- Auto Generated Below -->
20
-
21
-
22
19
  ## Properties
23
20
 
24
21
  | Property | Attribute | Description | Type | Default |
25
- | ------------------------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------- |
26
- | `isLogin` | `is-login` | prop isLogin untuk menghandle apakah user sudah login atau belum prop paywall_location = The location where user encounter the paywall prop paywall_subscription_package = The name of the subscription package viewed by user prop paywall_subscription_id = The ID of the subscription package viewed by user prop paywall_subscription_price = The price of the subscriprtion package viewed by user prop paywall_position = The position of the subscription package viewed by user prop page_type = Type of the page prop content_id = ID of article (slug) prop content_type = Whether it's free article or paid article prop content_title = The title of article prop tracker_content_categories = The category of the content prop user_type = Type of user based on their subscription prop subscription_status = Status of their subscription prop page_domain = Page Domain prop metered_wall_type = The type of Metered Wall prop metered_wall_balance = The balance of their metered wall | `boolean` | `false` |
27
- | `paywall_location` | `paywall_location` | | `string` | `''` |
28
- | `paywall_position` | `paywall_position` | | `number` | `0` |
29
- | `paywall_subscription_id` | `paywall_subscription_id` | | `string` | `''` |
30
- | `paywall_subscription_package` | `paywall_subscription_package` | | `string` | `''` |
31
- | `paywall_subscription_price` | `paywall_subscription_price` | | `number` | `0` |
32
- | `tracker_content_categories` | `tracker_content_categories` | | `string` | `''` |
33
- | `tracker_content_id` | `tracker_content_id` | | `string` | `''` |
34
- | `tracker_content_title` | `tracker_content_title` | | `string` | `''` |
35
- | `tracker_content_type` | `tracker_content_type` | | `string` | `''` |
36
- | `tracker_metered_wall_balance` | `tracker_metered_wall_balance` | | `number` | `0` |
37
- | `tracker_metered_wall_type` | `tracker_metered_wall_type` | | `string` | `''` |
38
- | `tracker_page_domain` | `tracker_page_domain` | | `string` | `''` |
39
- | `tracker_page_type` | `tracker_page_type` | | `string` | `''` |
40
- | `tracker_subscription_status` | `tracker_subscription_status` | | `string` | `''` |
41
- | `tracker_user_type` | `tracker_user_type` | | `string` | `''` |
42
-
22
+ | ------------------------------ | ------------------------------ | ---------------------------------------------------------------------------------------- | --------- | ------- |
23
+ | `isLogin` | `is-login` | prop isLogin untuk menghandle apakah user sudah login atau belum | `boolean` | `false` |
24
+ | `paywall_location` | `paywall_location` | prop paywall_location = The location where user encounter the paywall | `string` | `''` |
25
+ | `paywall_position` | `paywall_position` | prop paywall_position = The position of the subscription package viewed by user | `number` | `0` |
26
+ | `paywall_subscription_id` | `paywall_subscription_id` | prop paywall_subscription_id = The ID of the subscription package viewed by user | `string` | `''` |
27
+ | `paywall_subscription_package` | `paywall_subscription_package` | prop paywall_subscription_package = The name of the subscription package viewed by user | `string` | `''` |
28
+ | `paywall_subscription_price` | `paywall_subscription_price` | prop paywall_subscription_price = The price of the subscriprtion package viewed by user | `number` | `0` |
29
+ | `tracker_content_categories` | `tracker_content_categories` | prop tracker_content_categories = The category of the content | `string` | `''` |
30
+ | `tracker_content_id` | `tracker_content_id` | prop content_id = ID of article (slug) | `string` | `''` |
31
+ | `tracker_content_title` | `tracker_content_title` | prop content_title = The title of article | `string` | `''` |
32
+ | `tracker_content_type` | `tracker_content_type` | prop content_type = Whether it's free article or paid article | `string` | `''` |
33
+ | `tracker_metered_wall_balance` | `tracker_metered_wall_balance` | prop metered_wall_balance = The balance of their metered wall | `number` | `0` |
34
+ | `tracker_metered_wall_type` | `tracker_metered_wall_type` | prop metered_wall_type = The type of Metered Wall | `string` | `''` |
35
+ | `tracker_page_domain` | `tracker_page_domain` | prop page_domain = Page Domain | `string` | `''` |
36
+ | `tracker_page_type` | `tracker_page_type` | prop page_type = Type of the page | `string` | `''` |
37
+ | `tracker_subscription_status` | `tracker_subscription_status` | prop subscription_status = Status of their subscription | `string` | `''` |
38
+ | `tracker_user_type` | `tracker_user_type` | prop user_type = Type of user based on their subscription | `string` | `''` |
43
39
 
44
40
  ----------------------------------------------
45
41