@aiconomy/aico-components 0.0.181 → 0.0.191

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.
Files changed (41) hide show
  1. package/README.md +38 -34
  2. package/dist/aico-components/aico-components.esm.js +1 -1
  3. package/dist/aico-components/aico-components.esm.js.map +1 -1
  4. package/dist/aico-components/{p-a0c58a5e.entry.js → p-cec46101.entry.js} +3 -3
  5. package/dist/aico-components/p-cec46101.entry.js.map +1 -0
  6. package/dist/cjs/aico-album-content_27.cjs.entry.js +92 -64
  7. package/dist/cjs/aico-album-content_27.cjs.entry.js.map +1 -1
  8. package/dist/cjs/aico-components.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/components/aico-news-list/aico-news-list.js +63 -23
  11. package/dist/collection/components/aico-news-list/aico-news-list.js.map +1 -1
  12. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js +25 -5
  13. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js.map +1 -1
  14. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.js +25 -5
  15. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.js.map +1 -1
  16. package/dist/collection/model/AicoApiRequestInfo.js +7 -3
  17. package/dist/collection/model/AicoApiRequestInfo.js.map +1 -1
  18. package/dist/collection/utils/utils.js +53 -34
  19. package/dist/collection/utils/utils.js.map +1 -1
  20. package/dist/components/aico-news-list.js +26 -21
  21. package/dist/components/aico-news-list.js.map +1 -1
  22. package/dist/components/aico-special-news-carousel.js +5 -3
  23. package/dist/components/aico-special-news-carousel.js.map +1 -1
  24. package/dist/components/aico-top-news-carousel.js +5 -3
  25. package/dist/components/aico-top-news-carousel.js.map +1 -1
  26. package/dist/components/utils.js +60 -37
  27. package/dist/components/utils.js.map +1 -1
  28. package/dist/esm/aico-album-content_27.entry.js +92 -64
  29. package/dist/esm/aico-album-content_27.entry.js.map +1 -1
  30. package/dist/esm/aico-components.js +1 -1
  31. package/dist/esm/loader.js +1 -1
  32. package/dist/ssr/index.js +97 -65
  33. package/dist/ssr/index.mjs +97 -65
  34. package/dist/types/components/aico-news-list/aico-news-list.d.ts +8 -0
  35. package/dist/types/components/aico-special-news-carousel/aico-special-news-carousel.d.ts +4 -0
  36. package/dist/types/components/aico-top-news-carousel/aico-top-news-carousel.d.ts +4 -0
  37. package/dist/types/components.d.ts +35 -3
  38. package/dist/types/model/AicoApiRequestInfo.d.ts +3 -2
  39. package/dist/types/utils/utils.d.ts +1 -1
  40. package/package.json +1 -1
  41. package/dist/aico-components/p-a0c58a5e.entry.js.map +0 -1
package/README.md CHANGED
@@ -182,20 +182,22 @@ div.sc-aico-news-list-item {
182
182
 
183
183
  ## Properties
184
184
 
185
- | Property | Attribute | Description | Type | Default |
186
- | ------------------------------ | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------ |
187
- | `aicoBearerToken` _(required)_ | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `undefined` |
188
- | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
189
- | `hideSpecialArticles` | `hide-special-articles` | Determines wheter special articles will be included in the list or not. | `boolean` | `false` |
190
- | `hideTopArticles` | `hide-top-articles` | Determines wheter top articles will be included in the list or not. | `boolean` | `true` |
191
- | `locale` | `locale` | The article translation that will be used to render the content. If the locale specified is not present in the article's translations, most content will not be shown. | `string` | `'de'` |
192
- | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
193
- | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
194
- | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
195
- | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
196
- | `nextButtonText` | `next-button-text` | The text used by the next button in the pagination component. | `string` | `'Next'` |
197
- | `pageSize` | `page-size` | The page size. Prefer this number to be even. | `number` | `16` |
198
- | `previousButtonText` | `previous-button-text` | The text used by the previous button in the pagination component. | `string` | `'Previous'` |
185
+ | Property | Attribute | Description | Type | Default |
186
+ | ---------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------ |
187
+ | `aicoBearerToken` | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `''` |
188
+ | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
189
+ | `hideSpecialArticles` | `hide-special-articles` | Determines wheter special articles will be included in the list or not. | `boolean` | `false` |
190
+ | `hideTopArticles` | `hide-top-articles` | Determines wheter top articles will be included in the list or not. | `boolean` | `true` |
191
+ | `latestNews` | `latest-news` | Determines wheter special articles will be included in the list or not. | `boolean` | `false` |
192
+ | `locale` | `locale` | The article translation that will be used to render the content. If the locale specified is not present in the article's translations, most content will not be shown. | `string` | `'de'` |
193
+ | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
194
+ | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
195
+ | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
196
+ | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
197
+ | `nextButtonText` | `next-button-text` | The text used by the next button in the pagination component. | `string` | `'Next'` |
198
+ | `pageSize` | `page-size` | The page size. Prefer this number to be even. | `number` | `16` |
199
+ | `previousButtonText` | `previous-button-text` | The text used by the previous button in the pagination component. | `string` | `'Previous'` |
200
+ | `userAccessToken` | `user-access-token` | The user access token | `string` | `''` |
199
201
 
200
202
 
201
203
  ## Events
@@ -215,16 +217,17 @@ div.sc-aico-news-list-item {
215
217
 
216
218
  ## Properties
217
219
 
218
- | Property | Attribute | Description | Type | Default |
219
- | ------------------------------ | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------- |
220
- | `aicoBearerToken` _(required)_ | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `undefined` |
221
- | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
222
- | `locale` | `locale` | The article translation that will be used to render the content. If the locale specified is not present in the article's translations, most content will not be shown. | `string` | `'de'` |
223
- | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
224
- | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
225
- | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
226
- | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
227
- | `numberOfArticles` | `number-of-articles` | The number of articles shown in the carousel. Prefer this number to be small. | `number` | `6` |
220
+ | Property | Attribute | Description | Type | Default |
221
+ | ---------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------- |
222
+ | `aicoBearerToken` | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `''` |
223
+ | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
224
+ | `locale` | `locale` | The article translation that will be used to render the content. If the locale specified is not present in the article's translations, most content will not be shown. | `string` | `'de'` |
225
+ | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
226
+ | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
227
+ | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
228
+ | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
229
+ | `numberOfArticles` | `number-of-articles` | The number of articles shown in the carousel. Prefer this number to be small. | `number` | `6` |
230
+ | `userAccessToken` | `user-access-token` | The user access token | `string` | `''` |
228
231
 
229
232
 
230
233
  ## Events
@@ -244,16 +247,17 @@ div.sc-aico-news-list-item {
244
247
 
245
248
  ## Properties
246
249
 
247
- | Property | Attribute | Description | Type | Default |
248
- | ------------------------------ | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------- |
249
- | `aicoBearerToken` _(required)_ | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `undefined` |
250
- | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
251
- | `locale` | `locale` | The article translation that will be used to render the content. If the locale specified is not present in the article's translations, most content will not be shown. | `string` | `'de'` |
252
- | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
253
- | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
254
- | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
255
- | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
256
- | `numberOfArticles` | `number-of-articles` | The number of articles shown in the carousel. Prefer this number to be small. | `number` | `6` |
250
+ | Property | Attribute | Description | Type | Default |
251
+ | ---------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------- |
252
+ | `aicoBearerToken` | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `''` |
253
+ | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
254
+ | `locale` | `locale` | The article translation that will be used to render the content. If the locale specified is not present in the article's translations, most content will not be shown. | `string` | `'de'` |
255
+ | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
256
+ | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
257
+ | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
258
+ | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
259
+ | `numberOfArticles` | `number-of-articles` | The number of articles shown in the carousel. Prefer this number to be small. | `number` | `6` |
260
+ | `userAccessToken` | `user-access-token` | The user access token | `string` | `''` |
257
261
 
258
262
 
259
263
  ## Events
@@ -1,2 +1,2 @@
1
- import{p as e,b as n}from"./p-81435e83.js";export{s as setNonce}from"./p-81435e83.js";import{g as a}from"./p-e1255160.js";var o=()=>{const n=import.meta.url;const a={};if(n!==""){a.resourcesUrl=new URL(".",n).href}return e(a)};o().then((async e=>{await a();return n([["p-aefa9cf0",[[6,"aico-asking-list-content"]]],["p-1339c354",[[6,"aico-collection-content"]]],["p-a0c58a5e",[[2,"aico-fetch-article-detail",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],locale:[1],hideDateAndAuthor:[4,"hide-date-and-author"],hideCategoryAndTags:[4,"hide-category-and-tags"],articleId:[1,"article-id"],articleUrlHandle:[1,"article-url-handle"],article:[32]}],[2,"aico-news-list",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],newsChannels:[1,"news-channels"],newsSellerIds:[1,"news-seller-ids"],newsBrandIds:[1,"news-brand-ids"],newsLanguageLocales:[1,"news-language-locales"],hideTopArticles:[4,"hide-top-articles"],hideSpecialArticles:[4,"hide-special-articles"],pageSize:[2,"page-size"],nextButtonText:[1,"next-button-text"],previousButtonText:[1,"previous-button-text"],locale:[1],newsResponse:[32],pageNumber:[32],newsChannelsArr:[32],newsSellerIdsArr:[32],newsBrandIdsArr:[32],newsLanguageLocalesArr:[32]}],[2,"aico-special-news-carousel",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],newsChannels:[1,"news-channels"],newsSellerIds:[1,"news-seller-ids"],newsBrandIds:[1,"news-brand-ids"],newsLanguageLocales:[1,"news-language-locales"],numberOfArticles:[2,"number-of-articles"],locale:[1],newsResponse:[32],newsChannelsArr:[32],newsSellerIdsArr:[32],newsBrandIdsArr:[32],newsLanguageLocalesArr:[32]}],[2,"aico-top-news-carousel",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],newsChannels:[1,"news-channels"],newsSellerIds:[1,"news-seller-ids"],newsBrandIds:[1,"news-brand-ids"],newsLanguageLocales:[1,"news-language-locales"],numberOfArticles:[2,"number-of-articles"],locale:[1],newsResponse:[32],newsChannelsArr:[32],newsSellerIdsArr:[32],newsBrandIdsArr:[32],newsLanguageLocalesArr:[32]}],[2,"aico-article-detail",{article:[16],locale:[1],hideDateAndAuthor:[4,"hide-date-and-author"],hideCategoryAndTags:[4,"hide-category-and-tags"]}],[2,"aico-news-list-item",{article:[16],articleIndex:[2,"article-index"],locale:[1]}],[2,"aico-bullet-content",{content:[16],locale:[1]}],[2,"aico-carousel-content",{content:[16],hasArrows:[4,"has-arrows"],locale:[1]}],[2,"aico-content-card-content",{content:[16],locale:[1]}],[2,"aico-heading-content",{content:[16],locale:[1]}],[2,"aico-table-content",{content:[16],locale:[1]}],[2,"aico-text-content",{content:[16],locale:[1]}],[2,"aico-upload-content",{content:[16],locale:[1]}],[2,"aico-video-content",{content:[16],locale:[1]}],[2,"aico-album-content",{content:[16]}],[2,"aico-asking-content",{content:[16],locale:[1]}],[2,"aico-block-quote-content",{content:[16],locale:[1]}],[2,"aico-divider-content",{content:[16],locale:[1]}],[2,"aico-document-content",{content:[16],locale:[1]}],[2,"aico-faq-content",{content:[16],locale:[1]}],[2,"aico-html-content",{content:[16],locale:[1]}],[2,"aico-link-content",{content:[16],locale:[1]}],[2,"aico-news-content",{content:[16]}],[2,"aico-page-content",{content:[16],locale:[1]}],[2,"aico-testimonial-content",{content:[16]}],[2,"aico-title-content",{content:[16],locale:[1]}],[2,"aico-no-content"]]]],e)}));
1
+ import{p as e,b as n}from"./p-81435e83.js";export{s as setNonce}from"./p-81435e83.js";import{g as a}from"./p-e1255160.js";var o=()=>{const n=import.meta.url;const a={};if(n!==""){a.resourcesUrl=new URL(".",n).href}return e(a)};o().then((async e=>{await a();return n([["p-aefa9cf0",[[6,"aico-asking-list-content"]]],["p-1339c354",[[6,"aico-collection-content"]]],["p-cec46101",[[2,"aico-fetch-article-detail",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],locale:[1],hideDateAndAuthor:[4,"hide-date-and-author"],hideCategoryAndTags:[4,"hide-category-and-tags"],articleId:[1,"article-id"],articleUrlHandle:[1,"article-url-handle"],article:[32]}],[2,"aico-news-list",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],userAccessToken:[1,"user-access-token"],newsChannels:[1,"news-channels"],newsSellerIds:[1,"news-seller-ids"],newsBrandIds:[1,"news-brand-ids"],newsLanguageLocales:[1,"news-language-locales"],hideTopArticles:[4,"hide-top-articles"],hideSpecialArticles:[4,"hide-special-articles"],latestNews:[4,"latest-news"],pageSize:[2,"page-size"],nextButtonText:[1,"next-button-text"],previousButtonText:[1,"previous-button-text"],locale:[1],newsResponse:[32],pageNumber:[32],newsChannelsArr:[32],newsSellerIdsArr:[32],newsBrandIdsArr:[32],newsLanguageLocalesArr:[32]}],[2,"aico-special-news-carousel",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],userAccessToken:[1,"user-access-token"],newsChannels:[1,"news-channels"],newsSellerIds:[1,"news-seller-ids"],newsBrandIds:[1,"news-brand-ids"],newsLanguageLocales:[1,"news-language-locales"],numberOfArticles:[2,"number-of-articles"],locale:[1],newsResponse:[32],newsChannelsArr:[32],newsSellerIdsArr:[32],newsBrandIdsArr:[32],newsLanguageLocalesArr:[32]}],[2,"aico-top-news-carousel",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],userAccessToken:[1,"user-access-token"],newsChannels:[1,"news-channels"],newsSellerIds:[1,"news-seller-ids"],newsBrandIds:[1,"news-brand-ids"],newsLanguageLocales:[1,"news-language-locales"],numberOfArticles:[2,"number-of-articles"],locale:[1],newsResponse:[32],newsChannelsArr:[32],newsSellerIdsArr:[32],newsBrandIdsArr:[32],newsLanguageLocalesArr:[32]}],[2,"aico-article-detail",{article:[16],locale:[1],hideDateAndAuthor:[4,"hide-date-and-author"],hideCategoryAndTags:[4,"hide-category-and-tags"]}],[2,"aico-news-list-item",{article:[16],articleIndex:[2,"article-index"],locale:[1]}],[2,"aico-bullet-content",{content:[16],locale:[1]}],[2,"aico-carousel-content",{content:[16],hasArrows:[4,"has-arrows"],locale:[1]}],[2,"aico-content-card-content",{content:[16],locale:[1]}],[2,"aico-heading-content",{content:[16],locale:[1]}],[2,"aico-table-content",{content:[16],locale:[1]}],[2,"aico-text-content",{content:[16],locale:[1]}],[2,"aico-upload-content",{content:[16],locale:[1]}],[2,"aico-video-content",{content:[16],locale:[1]}],[2,"aico-album-content",{content:[16]}],[2,"aico-asking-content",{content:[16],locale:[1]}],[2,"aico-block-quote-content",{content:[16],locale:[1]}],[2,"aico-divider-content",{content:[16],locale:[1]}],[2,"aico-document-content",{content:[16],locale:[1]}],[2,"aico-faq-content",{content:[16],locale:[1]}],[2,"aico-html-content",{content:[16],locale:[1]}],[2,"aico-link-content",{content:[16],locale:[1]}],[2,"aico-news-content",{content:[16]}],[2,"aico-page-content",{content:[16],locale:[1]}],[2,"aico-testimonial-content",{content:[16]}],[2,"aico-title-content",{content:[16],locale:[1]}],[2,"aico-no-content"]]]],e)}));
2
2
  //# sourceMappingURL=aico-components.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","aicoUrl","aicoBearerToken","locale","hideDateAndAuthor","hideCategoryAndTags","articleId","articleUrlHandle","article","newsChannels","newsSellerIds","newsBrandIds","newsLanguageLocales","hideTopArticles","hideSpecialArticles","pageSize","nextButtonText","previousButtonText","newsResponse","pageNumber","newsChannelsArr","newsSellerIdsArr","newsBrandIdsArr","newsLanguageLocalesArr","numberOfArticles","articleIndex","content","hasArrows"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (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A,iBAAAxB,OAAA,sCAAAuB,QAAA,KAAAvB,OAAA,iCAAAuB,QAAA,KAAAvB,OAAA,+BAAAuB,QAAA,KAAAvB,OAAA,8BAAAuB,QAAA,KAAAvB,OAAA,gCAAAuB,QAAA,KAAAvB,OAAA,+BAAAuB,QAAA,KAAAvB,OAAA,+BAAAuB,QAAA,iCAAAA,QAAA,KAAAvB,OAAA,qCAAAuB,QAAA,KAAAvB,OAAA,iCAAAuB,QAAA,KAAAvB,OAAA,kCAAAuB,QAAA,KAAAvB,OAAA,6BAAAuB,QAAA,KAAAvB,OAAA,8BAAAuB,QAAA,KAAAvB,OAAA,8BAAAuB,QAAA,KAAAvB,OAAA,8BAAAuB,QAAA,+BAAAA,QAAA,KAAAvB,OAAA,qCAAAuB,QAAA,gCAAAA,QAAA,KAAAvB,OAAA,+BAAAL,EAAA","ignoreList":[]}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","aicoUrl","aicoBearerToken","locale","hideDateAndAuthor","hideCategoryAndTags","articleId","articleUrlHandle","article","userAccessToken","newsChannels","newsSellerIds","newsBrandIds","newsLanguageLocales","hideTopArticles","hideSpecialArticles","latestNews","pageSize","nextButtonText","previousButtonText","newsResponse","pageNumber","newsChannelsArr","newsSellerIdsArr","newsBrandIdsArr","newsLanguageLocalesArr","numberOfArticles","articleIndex","content","hasArrows"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,iDAAuC,8FAAAC,QAAA,eAAAC,gBAAA,wBAAAC,OAAA,IAAAC,kBAAA,2BAAAC,oBAAA,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