@kompasid/lit-web-components 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/kompasid-freewall/KompasFreewall.d.ts +1 -0
- package/dist/src/components/kompasid-freewall/KompasFreewall.js +15 -9
- package/dist/src/components/kompasid-freewall/KompasFreewall.js.map +1 -1
- package/dist/src/components/kompasid-paywall-video/KompasPaywallVideo.d.ts +1 -0
- package/dist/src/components/kompasid-paywall-video/KompasPaywallVideo.js +15 -8
- package/dist/src/components/kompasid-paywall-video/KompasPaywallVideo.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/kompasid-freewall/KompasFreewall.ts +26 -15
- package/src/components/kompasid-paywall-video/KompasPaywallVideo.ts +27 -14
|
@@ -80,9 +80,8 @@ let KompasFreewall = class KompasFreewall extends LitElement {
|
|
|
80
80
|
/**
|
|
81
81
|
* Data Layer
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
prepareImpressionsData() {
|
|
84
84
|
const baseData = {
|
|
85
|
-
event,
|
|
86
85
|
paywall_location: this.paywall_location,
|
|
87
86
|
paywall_subscription_package: this.paywall_subscription_package || this.packageData.title,
|
|
88
87
|
paywall_subscription_id: this.paywall_subscription_id || this.packageData.id,
|
|
@@ -95,23 +94,30 @@ let KompasFreewall = class KompasFreewall extends LitElement {
|
|
|
95
94
|
metered_wall_type: this.tracker_metered_wall_type || 'FP',
|
|
96
95
|
metered_wall_balance: this.tracker_metered_wall_balance,
|
|
97
96
|
};
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
if (this.isArticle) {
|
|
98
|
+
return {
|
|
100
99
|
...baseData,
|
|
101
100
|
content_id: this.tracker_content_id,
|
|
102
101
|
content_title: this.tracker_content_title,
|
|
103
102
|
content_categories: this.tracker_content_categories,
|
|
104
103
|
content_type: this.tracker_content_type,
|
|
105
|
-
}
|
|
106
|
-
: {
|
|
107
|
-
...baseData,
|
|
108
|
-
page_title: this.tracker_page_title,
|
|
109
104
|
};
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
...baseData,
|
|
108
|
+
page_title: this.tracker_page_title,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
sendDataLayer(event, includeImpressions = false) {
|
|
112
|
+
const impressionsData = this.prepareImpressionsData();
|
|
113
|
+
const data = includeImpressions
|
|
114
|
+
? { event, impressions: [impressionsData] }
|
|
115
|
+
: { event, ...impressionsData };
|
|
110
116
|
window.dataLayer.push(data);
|
|
111
117
|
}
|
|
112
118
|
sendDataLayerPaywallViewed() {
|
|
113
119
|
if (this.isExpand)
|
|
114
|
-
this.sendDataLayer('paywall_viewed');
|
|
120
|
+
this.sendDataLayer('paywall_viewed', true);
|
|
115
121
|
}
|
|
116
122
|
sendDataLayerSubscribeButtonClicked() {
|
|
117
123
|
this.sendDataLayer('subscribe_button_clicked');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KompasFreewall.js","sourceRoot":"","sources":["../../../../src/components/kompasid-freewall/KompasFreewall.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,iDAAiD,CAAA;AACxD,OAAO,iDAAiD,CAAA;AAGjD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAcL;;WAEG;QACH;;;;;;;;;;;;;;;;;;;;;;WAsBG;QAE0B,YAAO,GAAG,KAAK,CAAA;QAChB,SAAI,GAA+B,SAAS,CAAA;QAC5C,qBAAgB,GAAG,EAAE,CAAA;QACr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3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2DAAyB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iEAA+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oEAAiC;AAiBnD;IAAR,KAAK,EAAE;gDAAiC;AAChC;IAAR,KAAK,EAAE;mDAAqD;AA/ElD,cAAc;IAD1B,aAAa,CAAC,mBAAmB,CAAC;GACtB,cAAc,CAyM1B;SAzMY,cAAc","sourcesContent":["import { html, css, LitElement, nothing } from 'lit'\nimport { property, customElement, state } from 'lit/decorators.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\nimport { PackageData } from './types.js'\nimport { redirectToCheckout } from '../../utils/cta.js'\nimport '../kompasid-freewall-head/KompasFreewallHead.js'\nimport '../kompasid-freewall-body/KompasFreewallBody.js'\n\n@customElement('kompasid-freewall')\nexport class KompasFreewall extends LitElement {\n static styles = [\n css`\n :host {\n font-family: 'PT Sans', sans-serif;\n }\n\n .top-shadow {\n box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16);\n }\n `,\n TWStyles,\n ]\n\n /**\n * Props\n */\n /**\n * property isLogin untuk menghandle apakah user sudah login atau belum\n * property type untuk menghandle tipe freewall\n * property head_copy_expand to update copy header when expand\n * property head_copy_collapse to update copy header when collapse\n * property expand to handle expand/collapse\n * property paywall_location is the location where user encounter the paywall\n * property paywall_subscription_package is the name of the subscription package viewed by user\n * property paywall_subscription_id is the ID of the subscription package viewed by user\n * property paywall_subscription_price is the price of the subscription package viewed by user\n * property paywall_position is the position of the subscription package viewed by user\n * property tracker_page_type is the type of the page\n * property tracker_page_title is the title of the page\n * property tracker_content_id is the ID of article (slug)\n * property content_title is the title of article\n * property tracker_content_categories is the category of the content\n * property tracker_content_type is to decide whether it's free article or paid article\n * property tracker_user_type is the type of user based on their subscription\n * property tracker_subscription_status is the status of their subscription\n * property tracker_page_domain is the page domain\n * property tracker_metered_wall_type is the type of metered wall\n * property tracker_metered_wall_balance is the balance of their metered wall\n */\n\n @property({ type: Boolean }) isLogin = false\n @property({ type: String }) type: 'article' | 'landing_page' = 'article'\n @property({ type: String }) head_copy_expand = ''\n @property({ type: String }) head_copy_collapse = ''\n @property({ type: Boolean }) expand = true\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 = 1\n @property({ type: String }) tracker_page_type = ''\n @property({ type: String }) tracker_page_title = ''\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 showPackage = {\n duration: 1,\n durationType: 3,\n id: '9802035',\n link: 'kdp?productId=9802035&referrer=',\n price: 50000,\n position: 1,\n title: 'Kompas Digital Premium 1 Bulan',\n referrer: '',\n }\n\n /**\n * State\n */\n\n @state() private isExpand: boolean = true\n @state() private packageData: PackageData = {} as PackageData\n\n /**\n * Getter\n */\n\n get isArticle() {\n return this.type === 'article'\n }\n\n /**\n * Data Layer\n */\n\n private sendDataLayer(event: string): void {\n const baseData = {\n event,\n paywall_location: this.paywall_location,\n paywall_subscription_package:\n this.paywall_subscription_package || this.packageData.title,\n paywall_subscription_id:\n this.paywall_subscription_id || this.packageData.id,\n paywall_subscription_price:\n this.paywall_subscription_price || this.packageData.price,\n paywall_position: this.paywall_position || this.packageData.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 page_type: this.tracker_page_type,\n metered_wall_type: this.tracker_metered_wall_type || 'FP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n }\n\n const data = this.isArticle\n ? {\n ...baseData,\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 }\n : {\n ...baseData,\n page_title: this.tracker_page_title,\n }\n\n window.dataLayer.push(data)\n }\n\n private sendDataLayerPaywallViewed(): void {\n if (this.isExpand) this.sendDataLayer('paywall_viewed')\n }\n\n private sendDataLayerSubscribeButtonClicked(): void {\n this.sendDataLayer('subscribe_button_clicked')\n }\n\n /**\n * Logic Function\n */\n\n private toggleExpand() {\n this.isExpand = !this.isExpand\n this.sendDataLayerPaywallViewed()\n }\n\n private onSubscriptionClick() {\n this.sendDataLayerSubscribeButtonClicked()\n redirectToCheckout({\n link: `${this.packageData.link}${this.packageData.referrer}`,\n source: this.type,\n })\n }\n\n /**\n * Lifecycle\n */\n\n override async connectedCallback() {\n super.connectedCallback()\n await this.updateComplete\n\n this.isExpand = this.expand\n\n const originHost: string = encodeURIComponent(window.location.href)\n this.packageData = { ...this.showPackage, referrer: originHost }\n\n this.sendDataLayerPaywallViewed()\n }\n\n /**\n * Render Statement\n */\n\n render() {\n return html`\n <div class=\"sticky bottom-0 w-full h-full z-20 top-shadow\">\n <div\n class=\"flex flex-col w-full bg-blue-100 justify-center ${this\n .isExpand && 'pb-6 md:pb-7'} md:px-4 lg:px-24\"\n >\n <kompasid-freewall-head\n .expand=${this.isExpand}\n .type=${this.type}\n .head_copy_expand=${this.head_copy_expand}\n .head_copy_collapse=${this.head_copy_collapse}\n .toggleExpand=${() => this.toggleExpand()}\n .onSubscriptionClick=${() => this.onSubscriptionClick()}\n .packageData=${this.packageData}\n ></kompasid-freewall-head>\n ${this.isExpand\n ? html`<kompasid-freewall-body\n .type=${this.type}\n .onSubscriptionClick=${() => this.onSubscriptionClick()}\n .packageData=${this.packageData}\n ?isLogin=${this.isLogin}\n ></kompasid-freewall-body>`\n : nothing}\n </div>\n </div>\n `\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"KompasFreewall.js","sourceRoot":"","sources":["../../../../src/components/kompasid-freewall/KompasFreewall.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,iDAAiD,CAAA;AACxD,OAAO,iDAAiD,CAAA;AAGjD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAcL;;WAEG;QACH;;;;;;;;;;;;;;;;;;;;;;WAsBG;QAE0B,YAAO,GAAG,KAAK,CAAA;QAChB,SAAI,GAA+B,SAAS,CAAA;QAC5C,qBAAgB,GAAG,EAAE,CAAA;QACrB,uBAAkB,GAAG,EAAE,CAAA;QACtB,WAAM,GAAG,IAAI,CAAA;QACd,qBAAgB,GAAG,EAAE,CAAA;QACrB,iCAA4B,GAAG,EAAE,CAAA;QACjC,4BAAuB,GAAG,CAAC,CAAA;QAC3B,+BAA0B,GAAG,CAAC,CAAA;QAC9B,qBAAgB,GAAG,CAAC,CAAA;QACpB,sBAAiB,GAAG,EAAE,CAAA;QACtB,uBAAkB,GAAG,EAAE,CAAA;QACvB,uBAAkB,GAAG,EAAE,CAAA;QACvB,0BAAqB,GAAG,EAAE,CAAA;QAC1B,+BAA0B,GAAG,EAAE,CAAA;QAC/B,yBAAoB,GAAG,EAAE,CAAA;QACzB,sBAAiB,GAAG,EAAE,CAAA;QACtB,gCAA2B,GAAG,EAAE,CAAA;QAChC,wBAAmB,GAAG,EAAE,CAAA;QACxB,8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,CAAC;oEAAiC;AAiBnD;IAAR,KAAK,EAAE;gDAAiC;AAChC;IAAR,KAAK,EAAE;mDAAqD;AA/ElD,cAAc;IAD1B,aAAa,CAAC,mBAAmB,CAAC;GACtB,cAAc,CAoN1B;SApNY,cAAc","sourcesContent":["import { html, css, LitElement, nothing } from 'lit'\nimport { property, customElement, state } from 'lit/decorators.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\nimport { PackageData } from './types.js'\nimport { redirectToCheckout } from '../../utils/cta.js'\nimport '../kompasid-freewall-head/KompasFreewallHead.js'\nimport '../kompasid-freewall-body/KompasFreewallBody.js'\n\n@customElement('kompasid-freewall')\nexport class KompasFreewall extends LitElement {\n static styles = [\n css`\n :host {\n font-family: 'PT Sans', sans-serif;\n }\n\n .top-shadow {\n box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16);\n }\n `,\n TWStyles,\n ]\n\n /**\n * Props\n */\n /**\n * property isLogin untuk menghandle apakah user sudah login atau belum\n * property type untuk menghandle tipe freewall\n * property head_copy_expand to update copy header when expand\n * property head_copy_collapse to update copy header when collapse\n * property expand to handle expand/collapse\n * property paywall_location is the location where user encounter the paywall\n * property paywall_subscription_package is the name of the subscription package viewed by user\n * property paywall_subscription_id is the ID of the subscription package viewed by user\n * property paywall_subscription_price is the price of the subscription package viewed by user\n * property paywall_position is the position of the subscription package viewed by user\n * property tracker_page_type is the type of the page\n * property tracker_page_title is the title of the page\n * property tracker_content_id is the ID of article (slug)\n * property content_title is the title of article\n * property tracker_content_categories is the category of the content\n * property tracker_content_type is to decide whether it's free article or paid article\n * property tracker_user_type is the type of user based on their subscription\n * property tracker_subscription_status is the status of their subscription\n * property tracker_page_domain is the page domain\n * property tracker_metered_wall_type is the type of metered wall\n * property tracker_metered_wall_balance is the balance of their metered wall\n */\n\n @property({ type: Boolean }) isLogin = false\n @property({ type: String }) type: 'article' | 'landing_page' = 'article'\n @property({ type: String }) head_copy_expand = ''\n @property({ type: String }) head_copy_collapse = ''\n @property({ type: Boolean }) expand = true\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 = 1\n @property({ type: String }) tracker_page_type = ''\n @property({ type: String }) tracker_page_title = ''\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 showPackage = {\n duration: 1,\n durationType: 3,\n id: '9802035',\n link: 'kdp?productId=9802035&referrer=',\n price: 50000,\n position: 1,\n title: 'Kompas Digital Premium 1 Bulan',\n referrer: '',\n }\n\n /**\n * State\n */\n\n @state() private isExpand: boolean = true\n @state() private packageData: PackageData = {} as PackageData\n\n /**\n * Getter\n */\n\n get isArticle() {\n return this.type === 'article'\n }\n\n /**\n * Data Layer\n */\n\n private prepareImpressionsData(): Record<string, any> {\n const baseData = {\n paywall_location: this.paywall_location,\n paywall_subscription_package:\n this.paywall_subscription_package || this.packageData.title,\n paywall_subscription_id:\n this.paywall_subscription_id || this.packageData.id,\n paywall_subscription_price:\n this.paywall_subscription_price || this.packageData.price,\n paywall_position: this.paywall_position || this.packageData.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 page_type: this.tracker_page_type,\n metered_wall_type: this.tracker_metered_wall_type || 'FP',\n metered_wall_balance: this.tracker_metered_wall_balance,\n }\n\n if (this.isArticle) {\n return {\n ...baseData,\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 }\n }\n return {\n ...baseData,\n page_title: this.tracker_page_title,\n }\n }\n\n private sendDataLayer(\n event: string,\n includeImpressions: boolean = false\n ): void {\n const impressionsData = this.prepareImpressionsData()\n\n const data = includeImpressions\n ? { event, impressions: [impressionsData] }\n : { event, ...impressionsData }\n\n window.dataLayer.push(data)\n }\n\n private sendDataLayerPaywallViewed(): void {\n if (this.isExpand) this.sendDataLayer('paywall_viewed', true)\n }\n\n private sendDataLayerSubscribeButtonClicked(): void {\n this.sendDataLayer('subscribe_button_clicked')\n }\n\n /**\n * Logic Function\n */\n\n private toggleExpand() {\n this.isExpand = !this.isExpand\n this.sendDataLayerPaywallViewed()\n }\n\n private onSubscriptionClick() {\n this.sendDataLayerSubscribeButtonClicked()\n redirectToCheckout({\n link: `${this.packageData.link}${this.packageData.referrer}`,\n source: this.type,\n })\n }\n\n /**\n * Lifecycle\n */\n\n override async connectedCallback() {\n super.connectedCallback()\n await this.updateComplete\n\n this.isExpand = this.expand\n\n const originHost: string = encodeURIComponent(window.location.href)\n this.packageData = { ...this.showPackage, referrer: originHost }\n\n this.sendDataLayerPaywallViewed()\n }\n\n /**\n * Render Statement\n */\n\n render() {\n return html`\n <div class=\"sticky bottom-0 w-full h-full z-20 top-shadow\">\n <div\n class=\"flex flex-col w-full bg-blue-100 justify-center ${this\n .isExpand && 'pb-6 md:pb-7'} md:px-4 lg:px-24\"\n >\n <kompasid-freewall-head\n .expand=${this.isExpand}\n .type=${this.type}\n .head_copy_expand=${this.head_copy_expand}\n .head_copy_collapse=${this.head_copy_collapse}\n .toggleExpand=${() => this.toggleExpand()}\n .onSubscriptionClick=${() => this.onSubscriptionClick()}\n .packageData=${this.packageData}\n ></kompasid-freewall-head>\n ${this.isExpand\n ? html`<kompasid-freewall-body\n .type=${this.type}\n .onSubscriptionClick=${() => this.onSubscriptionClick()}\n .packageData=${this.packageData}\n ?isLogin=${this.isLogin}\n ></kompasid-freewall-body>`\n : nothing}\n </div>\n </div>\n `\n }\n}\n"]}
|
|
@@ -98,7 +98,6 @@ let KompasPaywallVideo = class KompasPaywallVideo extends LitElement {
|
|
|
98
98
|
defaultComponent() {
|
|
99
99
|
return html `
|
|
100
100
|
<div class="flex flex-col items-center space-y-2 md:space-y-4">
|
|
101
|
-
${this.sendDataLayeronNonLogin()} ${this.sendDataLayerPaywallViewed()}
|
|
102
101
|
<h5
|
|
103
102
|
class="leading-5 md:leading-6 w-[296px] md:w-[400px] text-white text-center text-base mb-2 md:mb-0 ${!this
|
|
104
103
|
.isLogin &&
|
|
@@ -132,9 +131,8 @@ let KompasPaywallVideo = class KompasPaywallVideo extends LitElement {
|
|
|
132
131
|
/**
|
|
133
132
|
* Data Layer
|
|
134
133
|
*/
|
|
135
|
-
|
|
134
|
+
prepareImpressionsData() {
|
|
136
135
|
const baseData = {
|
|
137
|
-
event,
|
|
138
136
|
paywall_location: this.paywall_location,
|
|
139
137
|
paywall_subscription_package: this.paywall_subscription_package || this.packageData.title,
|
|
140
138
|
paywall_subscription_id: this.paywall_subscription_id || this.packageData.id,
|
|
@@ -146,20 +144,27 @@ let KompasPaywallVideo = class KompasPaywallVideo extends LitElement {
|
|
|
146
144
|
metered_wall_type: this.tracker_metered_wall_type || 'HP',
|
|
147
145
|
metered_wall_balance: this.tracker_metered_wall_balance,
|
|
148
146
|
};
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
if (this.isArticle) {
|
|
148
|
+
return {
|
|
151
149
|
...baseData,
|
|
152
150
|
page_type: this.tracker_page_type,
|
|
153
151
|
content_id: this.tracker_content_id,
|
|
154
152
|
content_title: this.tracker_content_title,
|
|
155
153
|
content_categories: this.tracker_content_categories,
|
|
156
154
|
content_type: this.tracker_content_type,
|
|
157
|
-
}
|
|
158
|
-
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
return baseData;
|
|
158
|
+
}
|
|
159
|
+
sendDataLayer(event, includeImpressions = false) {
|
|
160
|
+
const impressionsData = this.prepareImpressionsData();
|
|
161
|
+
const data = includeImpressions
|
|
162
|
+
? { event, impressions: [impressionsData] }
|
|
163
|
+
: { event, ...impressionsData };
|
|
159
164
|
window.dataLayer.push(data);
|
|
160
165
|
}
|
|
161
166
|
sendDataLayerPaywallViewed() {
|
|
162
|
-
this.sendDataLayer('paywall_viewed');
|
|
167
|
+
this.sendDataLayer('paywall_viewed', true);
|
|
163
168
|
}
|
|
164
169
|
sendDataLayerSubscribeButtonClicked() {
|
|
165
170
|
this.sendDataLayer('subscribe_button_clicked');
|
|
@@ -210,6 +215,8 @@ let KompasPaywallVideo = class KompasPaywallVideo extends LitElement {
|
|
|
210
215
|
addGoogleFonts(['pt-sans']);
|
|
211
216
|
const originHost = encodeURIComponent(window.location.href);
|
|
212
217
|
this.packageData = { ...this.showPackage, referrer: originHost };
|
|
218
|
+
this.sendDataLayeronNonLogin();
|
|
219
|
+
this.sendDataLayerPaywallViewed();
|
|
213
220
|
}
|
|
214
221
|
/**
|
|
215
222
|
* Render Statement
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KompasPaywallVideo.js","sourceRoot":"","sources":["../../../../src/components/kompasid-paywall-video/KompasPaywallVideo.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAE1E,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,GACnB,MAAM,oBAAoB,CAAA;AAGpB,IAAM,kBAAkB,GAAxB,MAAM,kBAA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A+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4DAAqB;AACpB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8DAAwB;AACvB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iEAA2B;AAC1B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sEAAgC;AAC/B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gEAA0B;AACzB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+DAAyB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qEAA+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDAAyC;AAiB3D;IAAR,KAAK,EAAE;2DAC8B;AAC7B;IAAR,KAAK,EAAE;uDAAqD;AApElD,kBAAkB;IAD9B,aAAa,CAAC,wBAAwB,CAAC;GAC3B,kBAAkB,CA2P9B;SA3PY,kBAAkB","sourcesContent":["/* eslint-disable class-methods-use-this */\nimport { html, css, LitElement, nothing } from 'lit'\nimport { property, customElement, state } from 'lit/decorators.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\nimport { deviceType } from '../../utils/deviceType.js'\nimport { formatRupiah } from '../../utils/formatRupiah.js'\nimport { addGoogleFonts } from '../../utils/googleFont.js'\nimport { generateCopyDuration } from '../../utils/generateCopyDuration.js'\nimport { PackageData } from '../kompasid-freewall/types.js'\nimport {\n redirectToCheckout,\n redirectToLogin,\n redirectToRegister,\n} from '../../utils/cta.js'\n\n@customElement('kompasid-paywall-video')\nexport class KompasPaywallVideo extends LitElement {\n static styles = [\n css`\n :host {\n font-family: 'PT Sans', sans-serif;\n }\n `,\n TWStyles,\n ]\n\n /**\n * Props\n */\n /**\n * prop isLogin untuk menghandle apakah user sudah login atau belum\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 page_type = Type of the page\n * prop content_id = ID of article (slug)\n * prop content_type = Whether it's free article or paid article\n * prop content_title = The title of article\n * prop tracker_content_categories = The category of the content\n * prop user_type = Type of user based on their subscription\n * prop subscription_status = Status of their subscription\n * prop page_domain = Page Domain\n * prop metered_wall_type = The type of Metered Wall\n * prop metered_wall_balance = The balance of their metered wall\n * prop type = The type of video paywall\n */\n\n @property({ type: Boolean }) isLogin = false\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 @property({ type: String }) type: 'article' | 'homepage' = 'article'\n\n showPackage = {\n duration: 1,\n durationType: 3,\n id: '9802035',\n link: 'kdp?productId=9802035&referrer=',\n price: 50000,\n position: 1,\n title: 'Kompas Digital Premium 1 Bulan',\n referrer: '',\n }\n\n /**\n * State\n */\n\n @state() private subscriptionUrl: string =\n 'https://www.kompas.id/berlangganan'\n @state() private packageData: PackageData = {} as PackageData\n\n /**\n * Component\n */\n\n private regulerRegistrationSection() {\n return html`\n <div\n class=\"flex flex-col text-grey-300 text-sm md:text-base items-center justify-center\"\n >\n <div>\n <button\n @click=${() => this.onRegisterClick('Daftar')}\n class=\"text-blue-300 font-bold\"\n >\n Daftar\n </button>\n <span> untuk akses konten gratis.</span>\n </div>\n <div>\n <span>Sudah punya akun? </span>\n <button\n @click=${() => redirectToLogin('video_paywall')}\n class=\"text-blue-300 font-bold\"\n >\n Masuk<span class=\"text-grey-300 font-normal\">.</span>\n </button>\n </div>\n </div>\n `\n }\n\n private defaultComponent() {\n return html`\n <div class=\"flex flex-col items-center space-y-2 md:space-y-4\">\n ${this.sendDataLayeronNonLogin()} ${this.sendDataLayerPaywallViewed()}\n <h5\n class=\"leading-5 md:leading-6 w-[296px] md:w-[400px] text-white text-center text-base mb-2 md:mb-0 ${!this\n .isLogin &&\n !this.isArticle &&\n 'mb-0'} md:text-xl max-w-xl\"\n >\n ${this.isArticle\n ? 'Langganan untuk lanjut menonton video'\n : 'Langganan sekarang untuk akses seluruh konten Kompas.id'}\n </h5>\n <button\n @click=${this.redirectToSelectedPackage}\n class=\"bg-green-500 rounded md:rounded-lg h-8 md:h-12 px-4 md:px-6 text-sm md:text-lg text-white font-bold leading-[18px]\"\n >\n Langganan ${formatRupiah(this.packageData.price)}\n /${generateCopyDuration(this.packageData.durationType)}\n </button>\n <button\n @click=${this.redirectToBerlangganan}\n class=\"text-sm md:text-lg leading-[22px] text-white font-bold underline ${!this\n .isLogin && this.isArticle\n ? 'pb-3'\n : 'pb-2'} md:pb-4\"\n >\n Paket Lainnya\n </button>\n ${!this.isLogin ? this.regulerRegistrationSection() : nothing}\n </div>\n `\n }\n\n /**\n * Data Layer\n */\n\n private sendDataLayer(event: string): void {\n const baseData = {\n event,\n paywall_location: this.paywall_location,\n paywall_subscription_package:\n this.paywall_subscription_package || this.packageData.title,\n paywall_subscription_id:\n this.paywall_subscription_id || this.packageData.id,\n paywall_subscription_price:\n this.paywall_subscription_price || this.packageData.price,\n paywall_position: this.paywall_position || this.packageData.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 const data = this.isArticle\n ? {\n ...baseData,\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 }\n : baseData\n\n window.dataLayer.push(data)\n }\n\n private sendDataLayerPaywallViewed(): void {\n this.sendDataLayer('paywall_viewed')\n }\n\n private sendDataLayerSubscribeButtonClicked(): void {\n this.sendDataLayer('subscribe_button_clicked')\n }\n\n private sendDataLayerOtherPackagesClicked(): void {\n this.sendDataLayer('other_packages_clicked')\n }\n\n private sendDataLayeronButtonLogin(triggerClick: string): void {\n window.dataLayer.push({\n event: 'registrationOfferClick',\n interface: deviceType(),\n buttonClicked: triggerClick,\n })\n }\n\n private sendDataLayeronNonLogin(): void {\n window.dataLayer.push({\n event: 'registrationOfferimppression',\n interface: deviceType(),\n })\n }\n\n /**\n * Getter\n */\n\n get isArticle() {\n return this.type === 'article'\n }\n\n /**\n * Logic Function\n */\n\n private onRegisterClick(triggerClick: string): void {\n this.sendDataLayeronButtonLogin(triggerClick)\n redirectToRegister('video_paywall')\n }\n\n private redirectToSelectedPackage(): void {\n this.sendDataLayerSubscribeButtonClicked()\n redirectToCheckout({\n link: `${this.packageData.link}${this.packageData.referrer}`,\n source: this.type,\n })\n }\n\n private redirectToBerlangganan(): void {\n this.sendDataLayerOtherPackagesClicked()\n window.open(this.subscriptionUrl, '_blank')\n }\n\n override async connectedCallback() {\n super.connectedCallback()\n await this.updateComplete\n addGoogleFonts(['pt-sans'])\n\n const originHost: string = encodeURIComponent(window.location.href)\n this.packageData = { ...this.showPackage, referrer: originHost }\n }\n\n /**\n * Render Statement\n */\n\n render() {\n return html`\n <div\n class=\"radius absolute z-20 bg-black bg-opacity-75 p-4 top-0 bottom-0 left-0 flex flex-col w-full h-full justify-center items-center\"\n >\n ${this.defaultComponent()}\n </div>\n `\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"KompasPaywallVideo.js","sourceRoot":"","sources":["../../../../src/components/kompasid-paywall-video/KompasPaywallVideo.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAE1E,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,GACnB,MAAM,oBAAoB,CAAA;AAGpB,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IAA3C;;QAUL;;WAEG;QACH;;;;;;;;;;;;;;;;;;WAkBG;QAE0B,YAAO,GAAG,KAAK,CAAA;QAChB,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,GA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+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4DAAqB;AACpB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8DAAwB;AACvB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iEAA2B;AAC1B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sEAAgC;AAC/B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gEAA0B;AACzB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6DAAuB;AACtB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+DAAyB;AACxB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qEAA+B;AAC9B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wEAAiC;AAChC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDAAyC;AAiB3D;IAAR,KAAK,EAAE;2DAC8B;AAC7B;IAAR,KAAK,EAAE;uDAAqD;AApElD,kBAAkB;IAD9B,aAAa,CAAC,wBAAwB,CAAC;GAC3B,kBAAkB,CAwQ9B;SAxQY,kBAAkB","sourcesContent":["/* eslint-disable class-methods-use-this */\nimport { html, css, LitElement, nothing } from 'lit'\nimport { property, customElement, state } from 'lit/decorators.js'\nimport { TWStyles } from '../../../tailwind/tailwind.js'\nimport { deviceType } from '../../utils/deviceType.js'\nimport { formatRupiah } from '../../utils/formatRupiah.js'\nimport { addGoogleFonts } from '../../utils/googleFont.js'\nimport { generateCopyDuration } from '../../utils/generateCopyDuration.js'\nimport { PackageData } from '../kompasid-freewall/types.js'\nimport {\n redirectToCheckout,\n redirectToLogin,\n redirectToRegister,\n} from '../../utils/cta.js'\n\n@customElement('kompasid-paywall-video')\nexport class KompasPaywallVideo extends LitElement {\n static styles = [\n css`\n :host {\n font-family: 'PT Sans', sans-serif;\n }\n `,\n TWStyles,\n ]\n\n /**\n * Props\n */\n /**\n * prop isLogin untuk menghandle apakah user sudah login atau belum\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 page_type = Type of the page\n * prop content_id = ID of article (slug)\n * prop content_type = Whether it's free article or paid article\n * prop content_title = The title of article\n * prop tracker_content_categories = The category of the content\n * prop user_type = Type of user based on their subscription\n * prop subscription_status = Status of their subscription\n * prop page_domain = Page Domain\n * prop metered_wall_type = The type of Metered Wall\n * prop metered_wall_balance = The balance of their metered wall\n * prop type = The type of video paywall\n */\n\n @property({ type: Boolean }) isLogin = false\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 @property({ type: String }) type: 'article' | 'homepage' = 'article'\n\n showPackage = {\n duration: 1,\n durationType: 3,\n id: '9802035',\n link: 'kdp?productId=9802035&referrer=',\n price: 50000,\n position: 1,\n title: 'Kompas Digital Premium 1 Bulan',\n referrer: '',\n }\n\n /**\n * State\n */\n\n @state() private subscriptionUrl: string =\n 'https://www.kompas.id/berlangganan'\n @state() private packageData: PackageData = {} as PackageData\n\n /**\n * Component\n */\n\n private regulerRegistrationSection() {\n return html`\n <div\n class=\"flex flex-col text-grey-300 text-sm md:text-base items-center justify-center\"\n >\n <div>\n <button\n @click=${() => this.onRegisterClick('Daftar')}\n class=\"text-blue-300 font-bold\"\n >\n Daftar\n </button>\n <span> untuk akses konten gratis.</span>\n </div>\n <div>\n <span>Sudah punya akun? </span>\n <button\n @click=${() => redirectToLogin('video_paywall')}\n class=\"text-blue-300 font-bold\"\n >\n Masuk<span class=\"text-grey-300 font-normal\">.</span>\n </button>\n </div>\n </div>\n `\n }\n\n private defaultComponent() {\n return html`\n <div class=\"flex flex-col items-center space-y-2 md:space-y-4\">\n <h5\n class=\"leading-5 md:leading-6 w-[296px] md:w-[400px] text-white text-center text-base mb-2 md:mb-0 ${!this\n .isLogin &&\n !this.isArticle &&\n 'mb-0'} md:text-xl max-w-xl\"\n >\n ${this.isArticle\n ? 'Langganan untuk lanjut menonton video'\n : 'Langganan sekarang untuk akses seluruh konten Kompas.id'}\n </h5>\n <button\n @click=${this.redirectToSelectedPackage}\n class=\"bg-green-500 rounded md:rounded-lg h-8 md:h-12 px-4 md:px-6 text-sm md:text-lg text-white font-bold leading-[18px]\"\n >\n Langganan ${formatRupiah(this.packageData.price)}\n /${generateCopyDuration(this.packageData.durationType)}\n </button>\n <button\n @click=${this.redirectToBerlangganan}\n class=\"text-sm md:text-lg leading-[22px] text-white font-bold underline ${!this\n .isLogin && this.isArticle\n ? 'pb-3'\n : 'pb-2'} md:pb-4\"\n >\n Paket Lainnya\n </button>\n ${!this.isLogin ? this.regulerRegistrationSection() : nothing}\n </div>\n `\n }\n\n /**\n * Data Layer\n */\n\n private prepareImpressionsData(): Record<string, any> {\n const baseData = {\n paywall_location: this.paywall_location,\n paywall_subscription_package:\n this.paywall_subscription_package || this.packageData.title,\n paywall_subscription_id:\n this.paywall_subscription_id || this.packageData.id,\n paywall_subscription_price:\n this.paywall_subscription_price || this.packageData.price,\n paywall_position: this.paywall_position || this.packageData.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.isArticle) {\n return {\n ...baseData,\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 }\n }\n return baseData\n }\n\n private sendDataLayer(\n event: string,\n includeImpressions: boolean = false\n ): void {\n const impressionsData = this.prepareImpressionsData()\n\n const data = includeImpressions\n ? { event, impressions: [impressionsData] }\n : { event, ...impressionsData }\n\n window.dataLayer.push(data)\n }\n\n private sendDataLayerPaywallViewed(): void {\n this.sendDataLayer('paywall_viewed', true)\n }\n\n private sendDataLayerSubscribeButtonClicked(): void {\n this.sendDataLayer('subscribe_button_clicked')\n }\n\n private sendDataLayerOtherPackagesClicked(): void {\n this.sendDataLayer('other_packages_clicked')\n }\n\n private sendDataLayeronButtonLogin(triggerClick: string): void {\n window.dataLayer.push({\n event: 'registrationOfferClick',\n interface: deviceType(),\n buttonClicked: triggerClick,\n })\n }\n\n private sendDataLayeronNonLogin(): void {\n window.dataLayer.push({\n event: 'registrationOfferimppression',\n interface: deviceType(),\n })\n }\n\n /**\n * Getter\n */\n\n get isArticle() {\n return this.type === 'article'\n }\n\n /**\n * Logic Function\n */\n\n private onRegisterClick(triggerClick: string): void {\n this.sendDataLayeronButtonLogin(triggerClick)\n redirectToRegister('video_paywall')\n }\n\n private redirectToSelectedPackage(): void {\n this.sendDataLayerSubscribeButtonClicked()\n redirectToCheckout({\n link: `${this.packageData.link}${this.packageData.referrer}`,\n source: this.type,\n })\n }\n\n private redirectToBerlangganan(): void {\n this.sendDataLayerOtherPackagesClicked()\n window.open(this.subscriptionUrl, '_blank')\n }\n\n override async connectedCallback() {\n super.connectedCallback()\n await this.updateComplete\n addGoogleFonts(['pt-sans'])\n\n const originHost: string = encodeURIComponent(window.location.href)\n this.packageData = { ...this.showPackage, referrer: originHost }\n\n this.sendDataLayeronNonLogin()\n this.sendDataLayerPaywallViewed()\n }\n\n /**\n * Render Statement\n */\n\n render() {\n return html`\n <div\n class=\"radius absolute z-20 bg-black bg-opacity-75 p-4 top-0 bottom-0 left-0 flex flex-col w-full h-full justify-center items-center\"\n >\n ${this.defaultComponent()}\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/kompasid-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/utils/formatRupiah.ts","../src/utils/googleFont.ts","../src/utils/cta.ts","../src/components/kompasid-paywall-body/KompasPaywallBody.ts","../src/components/kompasid-paywall-banner-registration/KompasPaywallBannerRegistration.ts","../src/components/kompasid-paywall-information-header/KompasPaywallInformationHeader.ts","../src/components/kompasid-paywall/KompasPaywall.ts","../src/components/kompasid-footer/types.ts","../src/components/kompasid-footer/KompasFooter.ts","../src/utils/generateCopyDuration.ts","../src/components/kompasid-freewall/types.ts","../src/components/kompasid-paywall-video/KompasPaywallVideo.ts","../src/components/kompasid-metered-paywall/KompasMeteredPaywall.ts","../src/components/kompasid-freewall-head/KompasFreewallHead.ts","../src/components/kompasid-freewall-body/KompasFreewallBody.ts","../src/components/kompasid-freewall/KompasFreewall.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/js-cookie/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":"ab2296273f2298eb70095ff40590d04fe71e027a1e3ed8f8e38c2fb5a2e757a6","signature":"56ca13efb1e06b04a8b46b8f22a5ce8daa44cb0fe90758d8321618b903195ef1"},"444402ce58193c6200a4bc0f2fa49981fc2876a75c52c8348a2293b25116ddf9","278773120821f65d2c545914678eaf7119036962fb509415d8fbee90f48febdf","049bebe48b63ecbd1a7c90ce9a523bf894174cdfd73cb6d535c695e1ddb52281","6d1b27c60d543e0ccee15646fb1410fdcdd2f9924638dbecf550174f9ad1a433","35ab2aa25db33860d80b44f6b4281d40e11638cf6540f45bc15090ffcbeeed22","358312c635fd74a7e6e6c61d298341d12c1282be9423c13df43f7bf6b0fcfde7","6eab9baa28d5af65e9725319dda4f7a34dadefa8d2a7180efed1f156aaa64f1d","74800ff360a51f013407726011b96c0310dd4f3e5789abc73b166385a7ebdd77","6e303e9b77772e5496a58307cffc158a497301f7ec462d52a77f1f6985a8b158","b144df450421a0b83fa165d973afae89fc2d73bfbda5403cabdf13a6dfc3cc6d","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a",{"version":"51bb725e89d6bd65164738fae067d71faa0bd65c95b2e939114c7ac817a175f2","signature":"7c5bc7e6668f5015f71987e827f620fe47e2713c81ea489381426714d1d88d09"},{"version":"f0913a4b3c36b03e5913454a71b36f866ba2a400718b14951550c4cb248c7cd2","signature":"0d59edb4a5d13481030748f17995c182a6813ece9d4d275ae56fad4f402ef835"},"26aa10392523f33116e3664ce9fb554c0fde7df98aec59e5e017c9e4509a01dc","0fae6f40270f0795968d2655688cefd1607d7d587a405fb37435660fc2bee83f","c3fd63ac3d69d9ef4e74be917fdd084da34e27cf6ec2ef77a844a9053fe7f54d","08529265b143af2e729d3198e59f6a7acd014f9c9688831bd680688023ea65e9","41045c9571b4ce67b52f9f81ea9ba29b105af178a1701de465a74a034dd93174","be25d1ff8e9d092ee3d010c62f5aa00b1474ab6bff62de307beb928b5543c994","ce5a3e6db4c03cdea4f81bb90eff65e0cdddb13736a29f8679d899871860933e","039f0d805de1e1d41210afc44a7babad2b030d138eca9b47478e2d893e10855a",{"version":"47a8085fc7a0771306ed9a157aefe756937e3d0e92c88984944d25229f7cf6f5","signature":"4d7ec75710e7aabd83a0d5f811a327c6f426ec9752e2fa4edc86fbd478a95c7d"},{"version":"1201ad872353b5dfe360131dc577b187b9776d252472058b5fc7336afc31cebe","signature":"c8f5cb96868129dbf30b86472826ae484bc7c882769356cad3c9f454d190591e"},{"version":"f0774e11a909efa3fa995e0f905b6e8c21099111e2eeef23f012e3708fed6e3d","signature":"c30ee6e4008507dda37313eae9824c7b0caa46095156aa36e0ec74fa27de96be"},{"version":"5a33bdbae7abeb86fb3fcdf0a2a784fb480ce437dbde3167194c46ddf29c1c28","signature":"f1753bba9479e3b025325fb6e8fc26f117ac87fef0902aae7be149f9c35b40c1"},{"version":"aa2564b467e0f07f5d24d096b4dc1cd02197b2edf6253f8219cf4486767ed284","signature":"5e0ea66af8ffe7e16ae7c33ffc0ce92ffdf060da26df63cda2912a88563b9703"},{"version":"4dc4973d2482bcc3d5645b1c31bbc117496e2569808413eeac3a3dc812945594","signature":"97f3b8da50ca28fc10088d6de4dc2c9a4c71e981b7855c801f8f864a37046deb"},{"version":"68b6e1a86a2d8243b85daad98dadca8e61735f8338765c3d95d3ce6d9baeb8b0","signature":"3c3bc54ae3f104cb9ea59adfca7442d1794c79a467f422e3a37d73ffbb48056b"},{"version":"ab893bbe26a24c68d184c860cfea3ed02137d53f9a45a8cbcc9d9a78d0dfc44d","signature":"0b1bb88708eecdeebce03dfc53b707be0c25152e28dbd61a7a752290d0d6253c"},{"version":"75a66b17ff06fa7eb11a5ffa4b6e0505b9df2d8074292a41b329c5f2b5510f6c","signature":"e6af40970ac761e8977155681b37d411af6a75676cdea08a4782649193ed394e"},{"version":"401b36fa0c6dba4be00ad87b1b27b8cacefa06978d9c71f17d986283adc96506","signature":"ef49b3f8045a84af3fb1604875d97b8cc94b9c12f74a157e27232166a3291047"},{"version":"ac0096c38b55b9dedc0728cd3e18f30060d21eabb09d70e6c9e61fcadecc8679","signature":"6b53c1faf20447e90a2d7cdb5cec48beed59b794d5a9ffb2e269a04bb9dd5f93"},{"version":"6a74cd8d38529390bf0dd71f50525251fa1492d8908c0619fd3837a7209f419b","signature":"00f7689be8f7ff58d8a1d93d341e4a4163f32630de849f5471c75551cb9beb8b"},{"version":"fe257af61ced26ee6885ffecdd499f8f940de6c157b120696341598ff2000edf","signature":"d731d97820b7bed927df1d4a85631ad46754c76b630ebec70ef3419911ed265e"},{"version":"b662e9a9221cff58a9dcff87d7485f2c0cc6323d8bdd9f960ce1c2f730ab09ca","signature":"3bccd81330ddec25bfc5f4813bead2c699963cd954a0a03baa8bf01fb87bb9f0"},{"version":"044830f41539a3c2f081700703fd2efdc47ee1018aad98cb7e6943d1a1b5bfc8","signature":"49c53ccf21a5090ac2c5051696bd7998494c2c8aad68f33a3bbeeca474db073c"},{"version":"ffb6a1d20e7060f19c56be4879b998346b4be890666e12c2463b855e60c9ca2b","signature":"2c86c15ee22d5cee713dca50e76b2de94583dbfc9e4af7db8c181b45df7b8bed"},{"version":"1c8c9670411c3adaffb6c9334332af72019c08035cb2d749784095e747283dcd","signature":"cbf2aa47aff4d6c5f9e4b66a1540dcee46d8b333e7f516a3f13c2158108f2ed6"},{"version":"661f092c39a38762b8e7698ccbc45d5202000e0921d9bfa4de1d133b34dfee67","signature":"2ad3c0e01ae35de90f05f43e581423f432a77860a2f8f78e4cd537777315f3e0"},{"version":"3f3223d5a1f3ef93153887bc71f19bc23f13a6a25ff3bf5b93700f635ca3876e","signature":"6d1af4043b364c3286d7490cc7a2269b507a75b25b18739ff8afda600b1a6e9b","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","117816592ad26d78651f5e8322ea571fd8d413d8d3b7d79944d27468e2636989","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,144],[144],[74,144],[117,144,151],[117,144,151,154],[144,156],[117,144,151,158],[117,144,151,154,171,172],[114,117,144,151,158,164,165],[144,155,158,166,170],[144,177],[144,178],[144,184],[114,117,118,122,128,143,144,151,152,161,167,172,173,176,183],[144,169],[144,168],[98,144],[101,144],[102,107,135,144],[103,114,115,122,132,143,144],[103,104,114,122,144],[105,144],[106,107,115,123,144],[107,132,140,144],[108,110,114,122,144],[109,144],[110,111,144],[114,144],[112,114,144],[114,115,116,132,143,144],[114,115,116,129,132,135,144],[144,148],[110,114,117,122,132,143,144],[114,115,117,118,122,132,140,143,144],[117,119,132,140,143,144],[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,143,144,145,146,147,148,149,150],[114,120,144],[121,143,144,148],[110,114,122,132,144],[123,144],[124,144],[101,125,144],[126,142,144,148],[127,144],[128,144],[114,129,130,144],[129,131,144,146],[102,114,132,133,134,135,144],[102,132,134,144],[132,133,144],[135,144],[136,144],[101,132,144],[114,138,139,144],[138,139,144],[107,122,132,140,144],[141,144],[122,142,144],[102,117,128,143,144],[107,144],[132,144,145],[121,144,146],[144,147],[102,107,114,116,125,132,143,144,146,148],[132,144,149],[144,187],[144,188],[144,151],[144,190,229],[144,190,214,229],[144,229],[144,190],[144,190,215,229],[144,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,220,221,222,223,224,225,226,227,228],[144,215,229],[115,132,144,151,163],[117,144,151,167,169],[144,156,231],[144,230],[48,144],[114,117,119,122,132,140,143,144,149,151],[144,234],[114,132,144,151],[47,51,144],[45,46,144],[49,50,144],[59,60,61,62,63,64,65,66,67,144],[72,144],[47,51,54,55,144],[58,144],[47,58,144],[47,58,66,144],[60,144],[51,144],[50,51,144],[50,51,71,144],[44,56,68,69,73,79,82,88,144],[44,144],[44,56,57,68,69,81,82,83,90,91,144],[44,56,68,69,73,79,81,82,90,91,144],[44,56,68,69,83,91,94,95,144],[44,56,68,69,144],[44,56,68,69,70,80,144],[44,56,68,69,70,73,79,80,81,82,83,144],[44,56,68,69,80,81,82,83,90,91,144],[44,56,68,69,70,84,85,86,144],[44,87,89,92,93,96,144],[44,75,76,77,78,144],[56],[56,88],[56,91],[56,94,95],[56,70],[56,70,84,85,86],[87,89,92,93,96]],"referencedMap":[[57,1],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[152,4],[153,2],[155,5],[157,6],[156,2],[159,7],[160,2],[154,4],[161,2],[162,2],[173,8],[174,2],[175,2],[166,9],[171,10],[176,2],[167,2],[177,2],[178,11],[179,12],[180,2],[181,2],[182,2],[172,2],[183,13],[184,14],[168,15],[169,16],[185,2],[98,17],[99,17],[101,18],[102,19],[103,20],[104,21],[105,22],[106,23],[107,24],[108,25],[109,26],[110,27],[111,27],[113,28],[112,29],[114,28],[115,30],[116,31],[100,32],[150,2],[117,33],[118,34],[119,35],[151,36],[120,37],[121,38],[122,39],[123,40],[124,41],[125,42],[126,43],[127,44],[128,45],[129,46],[130,46],[131,47],[132,48],[134,49],[133,50],[135,51],[136,52],[137,53],[138,54],[139,55],[140,56],[141,57],[142,58],[143,59],[144,60],[145,61],[146,62],[147,63],[148,64],[149,65],[186,2],[188,66],[187,67],[158,2],[165,2],[189,68],[214,69],[215,70],[190,71],[193,71],[212,69],[213,69],[203,69],[202,72],[200,69],[195,69],[208,69],[206,69],[210,69],[194,69],[207,69],[211,69],[196,69],[197,69],[209,69],[191,69],[198,69],[199,69],[201,69],[205,69],[216,73],[204,69],[192,69],[229,74],[228,2],[223,73],[225,75],[224,73],[217,73],[218,73],[220,73],[222,73],[226,75],[227,75],[219,75],[221,75],[164,76],[163,2],[170,77],[232,78],[231,79],[230,2],[49,80],[48,2],[233,81],[234,2],[235,82],[236,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],[89,97],[88,98],[95,99],[94,100],[96,101],[91,98],[93,102],[85,103],[84,104],[86,102],[92,105],[87,106],[70,98],[97,107],[83,98],[80,98],[79,108],[81,98],[90,98],[82,98],[69,1]],"exportedModulesMap":[[57,109],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[152,4],[153,2],[155,5],[157,6],[156,2],[159,7],[160,2],[154,4],[161,2],[162,2],[173,8],[174,2],[175,2],[166,9],[171,10],[176,2],[167,2],[177,2],[178,11],[179,12],[180,2],[181,2],[182,2],[172,2],[183,13],[184,14],[168,15],[169,16],[185,2],[98,17],[99,17],[101,18],[102,19],[103,20],[104,21],[105,22],[106,23],[107,24],[108,25],[109,26],[110,27],[111,27],[113,28],[112,29],[114,28],[115,30],[116,31],[100,32],[150,2],[117,33],[118,34],[119,35],[151,36],[120,37],[121,38],[122,39],[123,40],[124,41],[125,42],[126,43],[127,44],[128,45],[129,46],[130,46],[131,47],[132,48],[134,49],[133,50],[135,51],[136,52],[137,53],[138,54],[139,55],[140,56],[141,57],[142,58],[143,59],[144,60],[145,61],[146,62],[147,63],[148,64],[149,65],[186,2],[188,66],[187,67],[158,2],[165,2],[189,68],[214,69],[215,70],[190,71],[193,71],[212,69],[213,69],[203,69],[202,72],[200,69],[195,69],[208,69],[206,69],[210,69],[194,69],[207,69],[211,69],[196,69],[197,69],[209,69],[191,69],[198,69],[199,69],[201,69],[205,69],[216,73],[204,69],[192,69],[229,74],[228,2],[223,73],[225,75],[224,73],[217,73],[218,73],[220,73],[222,73],[226,75],[227,75],[219,75],[221,75],[164,76],[163,2],[170,77],[232,78],[231,79],[230,2],[49,80],[48,2],[233,81],[234,2],[235,82],[236,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],[89,110],[95,111],[94,111],[96,112],[93,109],[85,113],[84,113],[86,109],[92,109],[87,114],[97,115],[69,109]],"semanticDiagnosticsPerFile":[57,43,74,75,78,77,76,152,153,155,157,156,159,160,154,161,162,173,174,175,166,171,176,167,177,178,179,180,181,182,172,183,184,168,169,185,98,99,101,102,103,104,105,106,107,108,109,110,111,113,112,114,115,116,100,150,117,118,119,151,120,121,122,123,124,125,126,127,128,129,130,131,132,134,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,186,188,187,158,165,189,214,215,190,193,212,213,203,202,200,195,208,206,210,194,207,211,196,197,209,191,198,199,201,205,216,204,192,229,228,223,225,224,217,218,220,222,226,227,219,221,164,163,170,232,231,230,49,48,233,234,235,236,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,89,88,95,94,96,91,93,85,84,86,92,87,70,97,83,80,79,81,90,82,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/kompasid-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/utils/formatRupiah.ts","../src/utils/googleFont.ts","../src/utils/cta.ts","../src/components/kompasid-paywall-body/KompasPaywallBody.ts","../src/components/kompasid-paywall-banner-registration/KompasPaywallBannerRegistration.ts","../src/components/kompasid-paywall-information-header/KompasPaywallInformationHeader.ts","../src/components/kompasid-paywall/KompasPaywall.ts","../src/components/kompasid-footer/types.ts","../src/components/kompasid-footer/KompasFooter.ts","../src/utils/generateCopyDuration.ts","../src/components/kompasid-freewall/types.ts","../src/components/kompasid-paywall-video/KompasPaywallVideo.ts","../src/components/kompasid-metered-paywall/KompasMeteredPaywall.ts","../src/components/kompasid-freewall-head/KompasFreewallHead.ts","../src/components/kompasid-freewall-body/KompasFreewallBody.ts","../src/components/kompasid-freewall/KompasFreewall.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/js-cookie/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":"ab2296273f2298eb70095ff40590d04fe71e027a1e3ed8f8e38c2fb5a2e757a6","signature":"56ca13efb1e06b04a8b46b8f22a5ce8daa44cb0fe90758d8321618b903195ef1"},"444402ce58193c6200a4bc0f2fa49981fc2876a75c52c8348a2293b25116ddf9","278773120821f65d2c545914678eaf7119036962fb509415d8fbee90f48febdf","049bebe48b63ecbd1a7c90ce9a523bf894174cdfd73cb6d535c695e1ddb52281","6d1b27c60d543e0ccee15646fb1410fdcdd2f9924638dbecf550174f9ad1a433","35ab2aa25db33860d80b44f6b4281d40e11638cf6540f45bc15090ffcbeeed22","358312c635fd74a7e6e6c61d298341d12c1282be9423c13df43f7bf6b0fcfde7","6eab9baa28d5af65e9725319dda4f7a34dadefa8d2a7180efed1f156aaa64f1d","74800ff360a51f013407726011b96c0310dd4f3e5789abc73b166385a7ebdd77","6e303e9b77772e5496a58307cffc158a497301f7ec462d52a77f1f6985a8b158","b144df450421a0b83fa165d973afae89fc2d73bfbda5403cabdf13a6dfc3cc6d","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a",{"version":"51bb725e89d6bd65164738fae067d71faa0bd65c95b2e939114c7ac817a175f2","signature":"7c5bc7e6668f5015f71987e827f620fe47e2713c81ea489381426714d1d88d09"},{"version":"f0913a4b3c36b03e5913454a71b36f866ba2a400718b14951550c4cb248c7cd2","signature":"0d59edb4a5d13481030748f17995c182a6813ece9d4d275ae56fad4f402ef835"},"26aa10392523f33116e3664ce9fb554c0fde7df98aec59e5e017c9e4509a01dc","0fae6f40270f0795968d2655688cefd1607d7d587a405fb37435660fc2bee83f","c3fd63ac3d69d9ef4e74be917fdd084da34e27cf6ec2ef77a844a9053fe7f54d","08529265b143af2e729d3198e59f6a7acd014f9c9688831bd680688023ea65e9","41045c9571b4ce67b52f9f81ea9ba29b105af178a1701de465a74a034dd93174","be25d1ff8e9d092ee3d010c62f5aa00b1474ab6bff62de307beb928b5543c994","ce5a3e6db4c03cdea4f81bb90eff65e0cdddb13736a29f8679d899871860933e","039f0d805de1e1d41210afc44a7babad2b030d138eca9b47478e2d893e10855a",{"version":"47a8085fc7a0771306ed9a157aefe756937e3d0e92c88984944d25229f7cf6f5","signature":"4d7ec75710e7aabd83a0d5f811a327c6f426ec9752e2fa4edc86fbd478a95c7d"},{"version":"1201ad872353b5dfe360131dc577b187b9776d252472058b5fc7336afc31cebe","signature":"c8f5cb96868129dbf30b86472826ae484bc7c882769356cad3c9f454d190591e"},{"version":"f0774e11a909efa3fa995e0f905b6e8c21099111e2eeef23f012e3708fed6e3d","signature":"c30ee6e4008507dda37313eae9824c7b0caa46095156aa36e0ec74fa27de96be"},{"version":"5a33bdbae7abeb86fb3fcdf0a2a784fb480ce437dbde3167194c46ddf29c1c28","signature":"f1753bba9479e3b025325fb6e8fc26f117ac87fef0902aae7be149f9c35b40c1"},{"version":"aa2564b467e0f07f5d24d096b4dc1cd02197b2edf6253f8219cf4486767ed284","signature":"5e0ea66af8ffe7e16ae7c33ffc0ce92ffdf060da26df63cda2912a88563b9703"},{"version":"4dc4973d2482bcc3d5645b1c31bbc117496e2569808413eeac3a3dc812945594","signature":"97f3b8da50ca28fc10088d6de4dc2c9a4c71e981b7855c801f8f864a37046deb"},{"version":"68b6e1a86a2d8243b85daad98dadca8e61735f8338765c3d95d3ce6d9baeb8b0","signature":"3c3bc54ae3f104cb9ea59adfca7442d1794c79a467f422e3a37d73ffbb48056b"},{"version":"ab893bbe26a24c68d184c860cfea3ed02137d53f9a45a8cbcc9d9a78d0dfc44d","signature":"0b1bb88708eecdeebce03dfc53b707be0c25152e28dbd61a7a752290d0d6253c"},{"version":"75a66b17ff06fa7eb11a5ffa4b6e0505b9df2d8074292a41b329c5f2b5510f6c","signature":"e6af40970ac761e8977155681b37d411af6a75676cdea08a4782649193ed394e"},{"version":"401b36fa0c6dba4be00ad87b1b27b8cacefa06978d9c71f17d986283adc96506","signature":"ef49b3f8045a84af3fb1604875d97b8cc94b9c12f74a157e27232166a3291047"},{"version":"ac0096c38b55b9dedc0728cd3e18f30060d21eabb09d70e6c9e61fcadecc8679","signature":"6b53c1faf20447e90a2d7cdb5cec48beed59b794d5a9ffb2e269a04bb9dd5f93"},{"version":"6a74cd8d38529390bf0dd71f50525251fa1492d8908c0619fd3837a7209f419b","signature":"00f7689be8f7ff58d8a1d93d341e4a4163f32630de849f5471c75551cb9beb8b"},{"version":"fe257af61ced26ee6885ffecdd499f8f940de6c157b120696341598ff2000edf","signature":"d731d97820b7bed927df1d4a85631ad46754c76b630ebec70ef3419911ed265e"},{"version":"eedcd837cb29292f01c431d34426e1a077a63847adf52bb42297f44d79799753","signature":"25b2151dc3bf5f73ff38da3e4630fa9edbc099221286c7582eb99000927f6d75"},{"version":"044830f41539a3c2f081700703fd2efdc47ee1018aad98cb7e6943d1a1b5bfc8","signature":"49c53ccf21a5090ac2c5051696bd7998494c2c8aad68f33a3bbeeca474db073c"},{"version":"ffb6a1d20e7060f19c56be4879b998346b4be890666e12c2463b855e60c9ca2b","signature":"2c86c15ee22d5cee713dca50e76b2de94583dbfc9e4af7db8c181b45df7b8bed"},{"version":"1c8c9670411c3adaffb6c9334332af72019c08035cb2d749784095e747283dcd","signature":"cbf2aa47aff4d6c5f9e4b66a1540dcee46d8b333e7f516a3f13c2158108f2ed6"},{"version":"324d482f823b37cbb875c2e9369e7d0360a99fffed70a284ea11ed52a7bf4b93","signature":"fa657737939324c2ad1d42982c7ea485b4da902e4d324412d5e095cdc692dbf8"},{"version":"3f3223d5a1f3ef93153887bc71f19bc23f13a6a25ff3bf5b93700f635ca3876e","signature":"6d1af4043b364c3286d7490cc7a2269b507a75b25b18739ff8afda600b1a6e9b","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","117816592ad26d78651f5e8322ea571fd8d413d8d3b7d79944d27468e2636989","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,144],[144],[74,144],[117,144,151],[117,144,151,154],[144,156],[117,144,151,158],[117,144,151,154,171,172],[114,117,144,151,158,164,165],[144,155,158,166,170],[144,177],[144,178],[144,184],[114,117,118,122,128,143,144,151,152,161,167,172,173,176,183],[144,169],[144,168],[98,144],[101,144],[102,107,135,144],[103,114,115,122,132,143,144],[103,104,114,122,144],[105,144],[106,107,115,123,144],[107,132,140,144],[108,110,114,122,144],[109,144],[110,111,144],[114,144],[112,114,144],[114,115,116,132,143,144],[114,115,116,129,132,135,144],[144,148],[110,114,117,122,132,143,144],[114,115,117,118,122,132,140,143,144],[117,119,132,140,143,144],[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,143,144,145,146,147,148,149,150],[114,120,144],[121,143,144,148],[110,114,122,132,144],[123,144],[124,144],[101,125,144],[126,142,144,148],[127,144],[128,144],[114,129,130,144],[129,131,144,146],[102,114,132,133,134,135,144],[102,132,134,144],[132,133,144],[135,144],[136,144],[101,132,144],[114,138,139,144],[138,139,144],[107,122,132,140,144],[141,144],[122,142,144],[102,117,128,143,144],[107,144],[132,144,145],[121,144,146],[144,147],[102,107,114,116,125,132,143,144,146,148],[132,144,149],[144,187],[144,188],[144,151],[144,190,229],[144,190,214,229],[144,229],[144,190],[144,190,215,229],[144,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,220,221,222,223,224,225,226,227,228],[144,215,229],[115,132,144,151,163],[117,144,151,167,169],[144,156,231],[144,230],[48,144],[114,117,119,122,132,140,143,144,149,151],[144,234],[114,132,144,151],[47,51,144],[45,46,144],[49,50,144],[59,60,61,62,63,64,65,66,67,144],[72,144],[47,51,54,55,144],[58,144],[47,58,144],[47,58,66,144],[60,144],[51,144],[50,51,144],[50,51,71,144],[44,56,68,69,73,79,82,88,144],[44,144],[44,56,57,68,69,81,82,83,90,91,144],[44,56,68,69,73,79,81,82,90,91,144],[44,56,68,69,83,91,94,95,144],[44,56,68,69,144],[44,56,68,69,70,80,144],[44,56,68,69,70,73,79,80,81,82,83,144],[44,56,68,69,80,81,82,83,90,91,144],[44,56,68,69,70,84,85,86,144],[44,87,89,92,93,96,144],[44,75,76,77,78,144],[56],[56,88],[56,91],[56,94,95],[56,70],[56,70,84,85,86],[87,89,92,93,96]],"referencedMap":[[57,1],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[152,4],[153,2],[155,5],[157,6],[156,2],[159,7],[160,2],[154,4],[161,2],[162,2],[173,8],[174,2],[175,2],[166,9],[171,10],[176,2],[167,2],[177,2],[178,11],[179,12],[180,2],[181,2],[182,2],[172,2],[183,13],[184,14],[168,15],[169,16],[185,2],[98,17],[99,17],[101,18],[102,19],[103,20],[104,21],[105,22],[106,23],[107,24],[108,25],[109,26],[110,27],[111,27],[113,28],[112,29],[114,28],[115,30],[116,31],[100,32],[150,2],[117,33],[118,34],[119,35],[151,36],[120,37],[121,38],[122,39],[123,40],[124,41],[125,42],[126,43],[127,44],[128,45],[129,46],[130,46],[131,47],[132,48],[134,49],[133,50],[135,51],[136,52],[137,53],[138,54],[139,55],[140,56],[141,57],[142,58],[143,59],[144,60],[145,61],[146,62],[147,63],[148,64],[149,65],[186,2],[188,66],[187,67],[158,2],[165,2],[189,68],[214,69],[215,70],[190,71],[193,71],[212,69],[213,69],[203,69],[202,72],[200,69],[195,69],[208,69],[206,69],[210,69],[194,69],[207,69],[211,69],[196,69],[197,69],[209,69],[191,69],[198,69],[199,69],[201,69],[205,69],[216,73],[204,69],[192,69],[229,74],[228,2],[223,73],[225,75],[224,73],[217,73],[218,73],[220,73],[222,73],[226,75],[227,75],[219,75],[221,75],[164,76],[163,2],[170,77],[232,78],[231,79],[230,2],[49,80],[48,2],[233,81],[234,2],[235,82],[236,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],[89,97],[88,98],[95,99],[94,100],[96,101],[91,98],[93,102],[85,103],[84,104],[86,102],[92,105],[87,106],[70,98],[97,107],[83,98],[80,98],[79,108],[81,98],[90,98],[82,98],[69,1]],"exportedModulesMap":[[57,109],[43,2],[74,2],[75,3],[78,3],[77,3],[76,3],[152,4],[153,2],[155,5],[157,6],[156,2],[159,7],[160,2],[154,4],[161,2],[162,2],[173,8],[174,2],[175,2],[166,9],[171,10],[176,2],[167,2],[177,2],[178,11],[179,12],[180,2],[181,2],[182,2],[172,2],[183,13],[184,14],[168,15],[169,16],[185,2],[98,17],[99,17],[101,18],[102,19],[103,20],[104,21],[105,22],[106,23],[107,24],[108,25],[109,26],[110,27],[111,27],[113,28],[112,29],[114,28],[115,30],[116,31],[100,32],[150,2],[117,33],[118,34],[119,35],[151,36],[120,37],[121,38],[122,39],[123,40],[124,41],[125,42],[126,43],[127,44],[128,45],[129,46],[130,46],[131,47],[132,48],[134,49],[133,50],[135,51],[136,52],[137,53],[138,54],[139,55],[140,56],[141,57],[142,58],[143,59],[144,60],[145,61],[146,62],[147,63],[148,64],[149,65],[186,2],[188,66],[187,67],[158,2],[165,2],[189,68],[214,69],[215,70],[190,71],[193,71],[212,69],[213,69],[203,69],[202,72],[200,69],[195,69],[208,69],[206,69],[210,69],[194,69],[207,69],[211,69],[196,69],[197,69],[209,69],[191,69],[198,69],[199,69],[201,69],[205,69],[216,73],[204,69],[192,69],[229,74],[228,2],[223,73],[225,75],[224,73],[217,73],[218,73],[220,73],[222,73],[226,75],[227,75],[219,75],[221,75],[164,76],[163,2],[170,77],[232,78],[231,79],[230,2],[49,80],[48,2],[233,81],[234,2],[235,82],[236,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],[89,110],[95,111],[94,111],[96,112],[93,109],[85,113],[84,113],[86,109],[92,109],[87,114],[97,115],[69,109]],"semanticDiagnosticsPerFile":[57,43,74,75,78,77,76,152,153,155,157,156,159,160,154,161,162,173,174,175,166,171,176,167,177,178,179,180,181,182,172,183,184,168,169,185,98,99,101,102,103,104,105,106,107,108,109,110,111,113,112,114,115,116,100,150,117,118,119,151,120,121,122,123,124,125,126,127,128,129,130,131,132,134,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,186,188,187,158,165,189,214,215,190,193,212,213,203,202,200,195,208,206,210,194,207,211,196,197,209,191,198,199,201,205,216,204,192,229,228,223,225,224,217,218,220,222,226,227,219,221,164,163,170,232,231,230,49,48,233,234,235,236,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,89,88,95,94,96,91,93,85,84,86,92,87,70,97,83,80,79,81,90,82,69]},"version":"4.9.5"}
|
package/package.json
CHANGED
|
@@ -100,9 +100,8 @@ export class KompasFreewall extends LitElement {
|
|
|
100
100
|
* Data Layer
|
|
101
101
|
*/
|
|
102
102
|
|
|
103
|
-
private
|
|
103
|
+
private prepareImpressionsData(): Record<string, any> {
|
|
104
104
|
const baseData = {
|
|
105
|
-
event,
|
|
106
105
|
paywall_location: this.paywall_location,
|
|
107
106
|
paywall_subscription_package:
|
|
108
107
|
this.paywall_subscription_package || this.packageData.title,
|
|
@@ -119,24 +118,36 @@ export class KompasFreewall extends LitElement {
|
|
|
119
118
|
metered_wall_balance: this.tracker_metered_wall_balance,
|
|
120
119
|
}
|
|
121
120
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
121
|
+
if (this.isArticle) {
|
|
122
|
+
return {
|
|
123
|
+
...baseData,
|
|
124
|
+
content_id: this.tracker_content_id,
|
|
125
|
+
content_title: this.tracker_content_title,
|
|
126
|
+
content_categories: this.tracker_content_categories,
|
|
127
|
+
content_type: this.tracker_content_type,
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
...baseData,
|
|
132
|
+
page_title: this.tracker_page_title,
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
private sendDataLayer(
|
|
137
|
+
event: string,
|
|
138
|
+
includeImpressions: boolean = false
|
|
139
|
+
): void {
|
|
140
|
+
const impressionsData = this.prepareImpressionsData()
|
|
141
|
+
|
|
142
|
+
const data = includeImpressions
|
|
143
|
+
? { event, impressions: [impressionsData] }
|
|
144
|
+
: { event, ...impressionsData }
|
|
134
145
|
|
|
135
146
|
window.dataLayer.push(data)
|
|
136
147
|
}
|
|
137
148
|
|
|
138
149
|
private sendDataLayerPaywallViewed(): void {
|
|
139
|
-
if (this.isExpand) this.sendDataLayer('paywall_viewed')
|
|
150
|
+
if (this.isExpand) this.sendDataLayer('paywall_viewed', true)
|
|
140
151
|
}
|
|
141
152
|
|
|
142
153
|
private sendDataLayerSubscribeButtonClicked(): void {
|
|
@@ -118,7 +118,6 @@ export class KompasPaywallVideo extends LitElement {
|
|
|
118
118
|
private defaultComponent() {
|
|
119
119
|
return html`
|
|
120
120
|
<div class="flex flex-col items-center space-y-2 md:space-y-4">
|
|
121
|
-
${this.sendDataLayeronNonLogin()} ${this.sendDataLayerPaywallViewed()}
|
|
122
121
|
<h5
|
|
123
122
|
class="leading-5 md:leading-6 w-[296px] md:w-[400px] text-white text-center text-base mb-2 md:mb-0 ${!this
|
|
124
123
|
.isLogin &&
|
|
@@ -154,9 +153,8 @@ export class KompasPaywallVideo extends LitElement {
|
|
|
154
153
|
* Data Layer
|
|
155
154
|
*/
|
|
156
155
|
|
|
157
|
-
private
|
|
156
|
+
private prepareImpressionsData(): Record<string, any> {
|
|
158
157
|
const baseData = {
|
|
159
|
-
event,
|
|
160
158
|
paywall_location: this.paywall_location,
|
|
161
159
|
paywall_subscription_package:
|
|
162
160
|
this.paywall_subscription_package || this.packageData.title,
|
|
@@ -172,22 +170,34 @@ export class KompasPaywallVideo extends LitElement {
|
|
|
172
170
|
metered_wall_balance: this.tracker_metered_wall_balance,
|
|
173
171
|
}
|
|
174
172
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
173
|
+
if (this.isArticle) {
|
|
174
|
+
return {
|
|
175
|
+
...baseData,
|
|
176
|
+
page_type: this.tracker_page_type,
|
|
177
|
+
content_id: this.tracker_content_id,
|
|
178
|
+
content_title: this.tracker_content_title,
|
|
179
|
+
content_categories: this.tracker_content_categories,
|
|
180
|
+
content_type: this.tracker_content_type,
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return baseData
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
private sendDataLayer(
|
|
187
|
+
event: string,
|
|
188
|
+
includeImpressions: boolean = false
|
|
189
|
+
): void {
|
|
190
|
+
const impressionsData = this.prepareImpressionsData()
|
|
191
|
+
|
|
192
|
+
const data = includeImpressions
|
|
193
|
+
? { event, impressions: [impressionsData] }
|
|
194
|
+
: { event, ...impressionsData }
|
|
185
195
|
|
|
186
196
|
window.dataLayer.push(data)
|
|
187
197
|
}
|
|
188
198
|
|
|
189
199
|
private sendDataLayerPaywallViewed(): void {
|
|
190
|
-
this.sendDataLayer('paywall_viewed')
|
|
200
|
+
this.sendDataLayer('paywall_viewed', true)
|
|
191
201
|
}
|
|
192
202
|
|
|
193
203
|
private sendDataLayerSubscribeButtonClicked(): void {
|
|
@@ -250,6 +260,9 @@ export class KompasPaywallVideo extends LitElement {
|
|
|
250
260
|
|
|
251
261
|
const originHost: string = encodeURIComponent(window.location.href)
|
|
252
262
|
this.packageData = { ...this.showPackage, referrer: originHost }
|
|
263
|
+
|
|
264
|
+
this.sendDataLayeronNonLogin()
|
|
265
|
+
this.sendDataLayerPaywallViewed()
|
|
253
266
|
}
|
|
254
267
|
|
|
255
268
|
/**
|