@aiconomy/aico-components 0.0.149 → 0.0.158

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 (57) hide show
  1. package/README.md +46 -19
  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-01932a11.entry.js → p-076c2ca2.entry.js} +4 -4
  5. package/dist/aico-components/p-076c2ca2.entry.js.map +1 -0
  6. package/dist/cjs/{aico-album-content_26.cjs.entry.js → aico-album-content_27.cjs.entry.js} +88 -9
  7. package/dist/cjs/aico-album-content_27.cjs.entry.js.map +1 -0
  8. package/dist/cjs/aico-components.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/collection-manifest.json +1 -0
  11. package/dist/collection/components/aico-news-list/aico-news-list.css +2 -4
  12. package/dist/collection/components/aico-news-list/aico-news-list.js +2 -21
  13. package/dist/collection/components/aico-news-list/aico-news-list.js.map +1 -1
  14. package/dist/collection/components/aico-news-list-item/aico-news-list-item.js +2 -21
  15. package/dist/collection/components/aico-news-list-item/aico-news-list-item.js.map +1 -1
  16. package/dist/collection/components/aico-news-list-item/aico-news-list-item.stories.js +1 -0
  17. package/dist/collection/components/aico-news-list-item/aico-news-list-item.stories.js.map +1 -1
  18. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js +2 -2
  19. package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js.map +1 -1
  20. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.css +12088 -0
  21. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.js +253 -0
  22. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.js.map +1 -0
  23. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.stories.js +30 -0
  24. package/dist/collection/components/aico-top-news-carousel/aico-top-news-carousel.stories.js.map +1 -0
  25. package/dist/collection/components/aico-top-news-carousel/test/aico-top-news-carousel.e2e.js +6 -0
  26. package/dist/collection/components/aico-top-news-carousel/test/aico-top-news-carousel.e2e.js.map +1 -0
  27. package/dist/collection/components/aico-top-news-carousel/test/aico-top-news-carousel.spec.js +6 -0
  28. package/dist/collection/components/aico-top-news-carousel/test/aico-top-news-carousel.spec.js.map +1 -0
  29. package/dist/collection/model/Article.js.map +1 -1
  30. package/dist/collection/utils/utils.js +17 -0
  31. package/dist/collection/utils/utils.js.map +1 -1
  32. package/dist/components/aico-news-list-item2.js +2 -4
  33. package/dist/components/aico-news-list-item2.js.map +1 -1
  34. package/dist/components/aico-news-list.js +2 -4
  35. package/dist/components/aico-news-list.js.map +1 -1
  36. package/dist/components/aico-special-news-carousel.js +2 -2
  37. package/dist/components/aico-special-news-carousel.js.map +1 -1
  38. package/dist/components/aico-top-news-carousel.d.ts +11 -0
  39. package/dist/components/aico-top-news-carousel.js +101 -0
  40. package/dist/components/aico-top-news-carousel.js.map +1 -0
  41. package/dist/components/utils.js +18 -1
  42. package/dist/components/utils.js.map +1 -1
  43. package/dist/esm/{aico-album-content_26.entry.js → aico-album-content_27.entry.js} +88 -10
  44. package/dist/esm/aico-album-content_27.entry.js.map +1 -0
  45. package/dist/esm/aico-components.js +1 -1
  46. package/dist/esm/loader.js +1 -1
  47. package/dist/types/components/aico-news-list/aico-news-list.d.ts +0 -4
  48. package/dist/types/components/aico-news-list-item/aico-news-list-item.d.ts +0 -1
  49. package/dist/types/components/aico-top-news-carousel/aico-top-news-carousel.d.ts +59 -0
  50. package/dist/types/components/aico-top-news-carousel/aico-top-news-carousel.stories.d.ts +7 -0
  51. package/dist/types/components.d.ts +96 -10
  52. package/dist/types/model/Article.d.ts +1 -0
  53. package/dist/types/utils/utils.d.ts +1 -0
  54. package/package.json +1 -1
  55. package/dist/aico-components/p-01932a11.entry.js.map +0 -1
  56. package/dist/cjs/aico-album-content_26.cjs.entry.js.map +0 -1
  57. package/dist/esm/aico-album-content_26.entry.js.map +0 -1
package/README.md CHANGED
@@ -158,12 +158,11 @@ div.sc-aico-news-list-item {
158
158
 
159
159
  ## Properties
160
160
 
161
- | Property | Attribute | Description | Type | Default |
162
- | ------------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ----------- |
163
- | `article` _(required)_ | -- | | `{ id: string; type: string; links: { self: string; }; attributes: ArticleAttributes; }` | `undefined` |
164
- | `articleIndex` | `article-index` | | `number` | `0` |
165
- | `highlightSpecialArticle` | `highlight-special-article` | | `boolean` | `false` |
166
- | `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'` |
161
+ | Property | Attribute | Description | Type | Default |
162
+ | ---------------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ----------- |
163
+ | `article` _(required)_ | -- | | `{ id: string; type: string; links: { self: string; }; attributes: ArticleAttributes; }` | `undefined` |
164
+ | `articleIndex` | `article-index` | | `number` | `0` |
165
+ | `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'` |
167
166
 
168
167
 
169
168
  ## Events
@@ -183,19 +182,18 @@ div.sc-aico-news-list-item {
183
182
 
184
183
  ## Properties
185
184
 
186
- | Property | Attribute | Description | Type | Default |
187
- | ------------------------------ | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------ |
188
- | `aicoBearerToken` _(required)_ | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `undefined` |
189
- | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
190
- | `highlightSpecialArticles` | `highlight-special-articles` | Determines if the special articles are highlighted by taking more space. | `boolean` | `false` |
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` _(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
+ | `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'` |
190
+ | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
191
+ | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
192
+ | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
193
+ | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
194
+ | `nextButtonText` | `next-button-text` | The text used by the next button in the pagination component. | `string` | `'Next'` |
195
+ | `pageSize` | `page-size` | The page size. Prefer this number to be even. | `number` | `16` |
196
+ | `previousButtonText` | `previous-button-text` | The text used by the previous button in the pagination component. | `string` | `'Previous'` |
199
197
 
200
198
 
201
199
  ## Events
@@ -213,6 +211,35 @@ div.sc-aico-news-list-item {
213
211
 
214
212
 
215
213
 
214
+ ## Properties
215
+
216
+ | Property | Attribute | Description | Type | Default |
217
+ | ------------------------------ | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------- |
218
+ | `aicoBearerToken` _(required)_ | `aico-bearer-token` | The token used to authenticate against he Aico Api. | `string` | `undefined` |
219
+ | `aicoUrl` _(required)_ | `aico-url` | The url of the Aico Api that will be used to retrieve the article. | `string` | `undefined` |
220
+ | `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'` |
221
+ | `newsBrandIds` | `news-brand-ids` | Brand ids as a comma separated list used to filter the results. | `string` | `''` |
222
+ | `newsChannels` | `news-channels` | Channel names as a comma separated list used to filter the results. | `string` | `''` |
223
+ | `newsLanguageLocales` | `news-language-locales` | Language locales as a comma separated list used to filter the results. | `string` | `''` |
224
+ | `newsSellerIds` | `news-seller-ids` | Seller ids as a comma separated list used to filter the results. | `string` | `''` |
225
+ | `numberOfArticles` | `number-of-articles` | The number of articles shown in the carousel. Prefer this number to be small. | `number` | `6` |
226
+
227
+
228
+ ## Events
229
+
230
+ | Event | Description | Type |
231
+ | ---------------- | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
232
+ | `articleClicked` | Event emitted when a user clicks an article title. The handler receives the entire Article entity. | `CustomEvent<{ id: string; type: string; links: { self: string; }; attributes: ArticleAttributes; }>` |
233
+
234
+
235
+ ----------------------------------------------
236
+
237
+ # aico-top-news-carousel
238
+
239
+
240
+
241
+
242
+
216
243
  ## Properties
217
244
 
218
245
  | Property | Attribute | Description | Type | Default |
@@ -1,2 +1,2 @@
1
- import{p as e,b as n}from"./p-ae20e789.js";export{s as setNonce}from"./p-ae20e789.js";const t=()=>{const n=import.meta.url;const t={};if(n!==""){t.resourcesUrl=new URL(".",n).href}return e(t)};t().then((e=>n([["p-0d563d4f",[[6,"aico-asking-list-content"]]],["p-d4f3c776",[[6,"aico-collection-content"]]],["p-01932a11",[[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"],pageSize:[2,"page-size"],nextButtonText:[1,"next-button-text"],previousButtonText:[1,"previous-button-text"],locale:[1],highlightSpecialArticles:[4,"highlight-special-articles"],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-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"],highlightSpecialArticle:[4,"highlight-special-article"],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-ae20e789.js";export{s as setNonce}from"./p-ae20e789.js";const a=()=>{const n=import.meta.url;const a={};if(n!==""){a.resourcesUrl=new URL(".",n).href}return e(a)};a().then((e=>n([["p-0d563d4f",[[6,"aico-asking-list-content"]]],["p-d4f3c776",[[6,"aico-collection-content"]]],["p-076c2ca2",[[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"],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)));
2
2
  //# sourceMappingURL=aico-components.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","aicoUrl","aicoBearerToken","locale","hideDateAndAuthor","hideCategoryAndTags","articleId","articleUrlHandle","article","newsChannels","newsSellerIds","newsBrandIds","newsLanguageLocales","pageSize","nextButtonText","previousButtonText","highlightSpecialArticles","newsResponse","pageNumber","newsChannelsArr","newsSellerIdsArr","newsBrandIdsArr","newsLanguageLocalesArr","numberOfArticles","articleIndex","highlightSpecialArticle","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.9.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n 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};\nconst 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 // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\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(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAc,iDAAuC,8FAAAC,QAAA,eAAAC,gBAAA,wBAAAC,OAAA,IAAAC,kBAAA,2BAAAC,oBAAA,6BAAAC,UAAA,iBAAAC,iBAAA,yBAAAC,QAAA,4BAAAP,QAAA,eAAAC,gBAAA,wBAAAO,aAAA,oBAAAC,cAAA,sBAAAC,aAAA,qBAAAC,oBAAA,4BAAAC,SAAA,gBAAAC,eAAA,uBAAAC,mBAAA,2BAAAZ,OAAA,IAAAa,yBAAA,iCAAAC,aAAA,KAAAC,WAAA,KAAAC,gBAAA,KAAAC,iBAAA,KAAAC,gBAAA,KAAAC,uBAAA,wCAAArB,QAAA,eAAAC,gBAAA,wBAAAO,aAAA,oBAAAC,cAAA,sBAAAC,aAAA,qBAAAC,oBAAA,4BAAAW,iBAAA,yBAAApB,OAAA,IAAAc,aAAA,KAAAE,gBAAA,KAAAC,iBAAA,KAAAC,gBAAA,KAAAC,uBAAA,iCAAAd,QAAA,KAAAL,OAAA,IAAAC,kBAAA,2BAAAC,oBAAA,yDAAAG,QAAA,KAAAgB,aAAA,oBAAAC,wBAAA,gCAAAtB,OAAA,gCAAAuB,QAAA,KAAAvB,OAAA,kCAAAuB,QAAA,KAAAC,UAAA,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,+BAAAJ"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","aicoUrl","aicoBearerToken","locale","hideDateAndAuthor","hideCategoryAndTags","articleId","articleUrlHandle","article","newsChannels","newsSellerIds","newsBrandIds","newsLanguageLocales","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.9.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n 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};\nconst 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 // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\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(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAc,iDAAuC,8FAAAC,QAAA,eAAAC,gBAAA,wBAAAC,OAAA,IAAAC,kBAAA,2BAAAC,oBAAA,6BAAAC,UAAA,iBAAAC,iBAAA,yBAAAC,QAAA,4BAAAP,QAAA,eAAAC,gBAAA,wBAAAO,aAAA,oBAAAC,cAAA,sBAAAC,aAAA,qBAAAC,oBAAA,4BAAAC,SAAA,gBAAAC,eAAA,uBAAAC,mBAAA,2BAAAZ,OAAA,IAAAa,aAAA,KAAAC,WAAA,KAAAC,gBAAA,KAAAC,iBAAA,KAAAC,gBAAA,KAAAC,uBAAA,wCAAApB,QAAA,eAAAC,gBAAA,wBAAAO,aAAA,oBAAAC,cAAA,sBAAAC,aAAA,qBAAAC,oBAAA,4BAAAU,iBAAA,yBAAAnB,OAAA,IAAAa,aAAA,KAAAE,gBAAA,KAAAC,iBAAA,KAAAC,gBAAA,KAAAC,uBAAA,oCAAApB,QAAA,eAAAC,gBAAA,wBAAAO,aAAA,oBAAAC,cAAA,sBAAAC,aAAA,qBAAAC,oBAAA,4BAAAU,iBAAA,yBAAAnB,OAAA,IAAAa,aAAA,KAAAE,gBAAA,KAAAC,iBAAA,KAAAC,gBAAA,KAAAC,uBAAA,iCAAAb,QAAA,KAAAL,OAAA,IAAAC,kBAAA,2BAAAC,oBAAA,yDAAAG,QAAA,KAAAe,aAAA,oBAAApB,OAAA,gCAAAqB,QAAA,KAAArB,OAAA,kCAAAqB,QAAA,KAAAC,UAAA,iBAAAtB,OAAA,sCAAAqB,QAAA,KAAArB,OAAA,iCAAAqB,QAAA,KAAArB,OAAA,+BAAAqB,QAAA,KAAArB,OAAA,8BAAAqB,QAAA,KAAArB,OAAA,gCAAAqB,QAAA,KAAArB,OAAA,+BAAAqB,QAAA,KAAArB,OAAA,+BAAAqB,QAAA,iCAAAA,QAAA,KAAArB,OAAA,qCAAAqB,QAAA,KAAArB,OAAA,iCAAAqB,QAAA,KAAArB,OAAA,kCAAAqB,QAAA,KAAArB,OAAA,6BAAAqB,QAAA,KAAArB,OAAA,8BAAAqB,QAAA,KAAArB,OAAA,8BAAAqB,QAAA,KAAArB,OAAA,8BAAAqB,QAAA,+BAAAA,QAAA,KAAArB,OAAA,qCAAAqB,QAAA,gCAAAA,QAAA,KAAArB,OAAA,+BAAAJ"}