@penn-libraries/web 1.3.0 → 1.3.1

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 (49) hide show
  1. package/dist/cjs/{index-BjipeTKY.js → index-BZwAUTFd.js} +2 -64
  2. package/dist/cjs/index-BZwAUTFd.js.map +1 -0
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/pennlibs-autocomplete.cjs.entry.js +1 -1
  6. package/dist/cjs/pennlibs-banner.cjs.entry.js +1 -1
  7. package/dist/cjs/pennlibs-chat.cjs.entry.js +1 -1
  8. package/dist/cjs/pennlibs-fallback-img.cjs.entry.js +1 -1
  9. package/dist/cjs/pennlibs-feedback.pennlibs-footer.pennlibs-header.entry.cjs.js.map +1 -1
  10. package/dist/cjs/pennlibs-feedback_3.cjs.entry.js +2 -2
  11. package/dist/cjs/pennlibs-hero.cjs.entry.js +1 -1
  12. package/dist/cjs/pennlibs-iiif-img.cjs.entry.js +1 -1
  13. package/dist/cjs/web.cjs.js +2 -2
  14. package/dist/collection/components/pennlibs-feedback/pennlibs-feedback.js +1 -1
  15. package/dist/collection/components/pennlibs-feedback/pennlibs-feedback.js.map +1 -1
  16. package/dist/components/pennlibs-feedback.js +3 -2
  17. package/dist/components/pennlibs-feedback.js.map +1 -1
  18. package/dist/docs.json +2 -2
  19. package/dist/{web/p--JSTNIPP.js → esm/index-DF84VN1-.js} +2 -64
  20. package/dist/esm/index-DF84VN1-.js.map +1 -0
  21. package/dist/esm/index.js +1 -1
  22. package/dist/esm/loader.js +3 -3
  23. package/dist/esm/pennlibs-autocomplete.entry.js +1 -1
  24. package/dist/esm/pennlibs-banner.entry.js +1 -1
  25. package/dist/esm/pennlibs-chat.entry.js +1 -1
  26. package/dist/esm/pennlibs-fallback-img.entry.js +1 -1
  27. package/dist/esm/pennlibs-feedback.pennlibs-footer.pennlibs-header.entry.js.map +1 -1
  28. package/dist/esm/pennlibs-feedback_3.entry.js +2 -2
  29. package/dist/esm/pennlibs-hero.entry.js +1 -1
  30. package/dist/esm/pennlibs-iiif-img.entry.js +1 -1
  31. package/dist/esm/web.js +3 -3
  32. package/dist/web/index.esm.js +1 -1
  33. package/dist/web/{p-3f4e4cc4.entry.js → p-15aaa482.entry.js} +1 -1
  34. package/dist/web/{p-d181e289.entry.js → p-17a97fcf.entry.js} +1 -1
  35. package/dist/web/{p-49cb9b60.entry.js → p-4d671d86.entry.js} +1 -1
  36. package/dist/{esm/index--JSTNIPP.js → web/p-DF84VN1-.js} +2 -64
  37. package/dist/web/p-DF84VN1-.js.map +1 -0
  38. package/dist/web/{p-fb5dac93.entry.js → p-c978cff4.entry.js} +1 -1
  39. package/dist/web/{p-a4174c44.entry.js → p-dc790d88.entry.js} +1 -1
  40. package/dist/web/{p-37ab2cf7.entry.js → p-f797c7a7.entry.js} +2 -2
  41. package/dist/web/{p-a73736ff.entry.js → p-fc772aef.entry.js} +1 -1
  42. package/dist/web/pennlibs-feedback.pennlibs-footer.pennlibs-header.entry.esm.js.map +1 -1
  43. package/dist/web/web.esm.js +3 -3
  44. package/hydrate/index.js +2 -31
  45. package/hydrate/index.mjs +2 -31
  46. package/package.json +1 -1
  47. package/dist/cjs/index-BjipeTKY.js.map +0 -1
  48. package/dist/esm/index--JSTNIPP.js.map +0 -1
  49. package/dist/web/p--JSTNIPP.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, d as getAssetPath, a as getElement } from './index--JSTNIPP.js';
1
+ import { r as registerInstance, c as createEvent, h, d as getAssetPath, a as getElement } from './index-DF84VN1-.js';
2
2
 
3
- const pennlibsFeedbackCss = ".feedback__container.sc-pennlibs-feedback{display:block;background:#eeeff4;font-family:var(--pl-font-family);font-size:var(--pl-font-size);color:var(--pl-color-fg-default);line-height:1.4;box-sizing:border-box;padding:0.75em 0}@media print{.sc-pennlibs-feedback-h{display:none}}*.sc-pennlibs-feedback,*.sc-pennlibs-feedback::before,*.sc-pennlibs-feedback::after{box-sizing:border-box}.viewport-margins.sc-pennlibs-feedback{max-width:var(--pl-viewport-margins-max-width);margin:0 auto;padding:0 var(--pl-viewport-margins-gutter, 1em)}.feedback__content.sc-pennlibs-feedback{display:flex;justify-content:space-between;gap:var(--pl-space-s);flex-wrap:wrap}.feedback__inline-question.sc-pennlibs-feedback{display:flex;flex-wrap:wrap;gap:0.5em;align-items:center}h2.sc-pennlibs-feedback{display:inline-block;margin:0;font-family:var(--pl-font-sans-serif);font-size:1em;font-weight:400}p.sc-pennlibs-feedback{margin:0;padding:calc(0.5em + 1px) 0}a.sc-pennlibs-feedback{color:var(--pl-color-fg-accent);text-decoration:underline;text-underline-offset:var(--pl-link-text-underline-offset);text-decoration-thickness:var(--pl-link-hover-text-decoration-thickness)}button.sc-pennlibs-feedback{all:unset;display:flex;align-items:center;gap:0.5em;padding:0.25em 1.25em;font-family:var(--pl-font-family);font-weight:500;line-height:1.4;color:var(--pl-color-fg-default);background:var(--pl-color-bg-default);border:solid 1px var(--pl-color-fg-subtle);border-radius:1em;box-sizing:border-box}button.sc-pennlibs-feedback:hover{cursor:pointer}button.sc-pennlibs-feedback:hover span.sc-pennlibs-feedback{text-decoration:underline}button.selected.sc-pennlibs-feedback{background:var(--pl-color-bg-accent-emphasis);color:var(--pl-color-fg-on-emphasis);border-color:var(--pl-color-bg-accent-emphasis)}.feedback__inline-question.sc-pennlibs-feedback+.feedback__share-feedback.sc-pennlibs-feedback,p.sc-pennlibs-feedback{animation:none}.feedback__content.sc-pennlibs-feedback>p.sc-pennlibs-feedback{animation:fadeIn 300ms ease-in}@keyframes fadeIn{from{opacity:0}to{opacity:1}}*.sc-pennlibs-feedback:focus{outline:0;box-shadow:0 0 0 2px var(--pl-color-bg-attention),\n 0 0 0 3px var(--pl-color-bg-emphasis)}@media (max-width: 26em){h2.sc-pennlibs-feedback{display:block;width:100%}}.visually-hidden.sc-pennlibs-feedback{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}";
3
+ const pennlibsFeedbackCss = ".feedback__container{display:block;background:#eeeff4;font-family:var(--pl-font-family);font-size:var(--pl-font-size);color:var(--pl-color-fg-default);line-height:1.4;box-sizing:border-box;padding:0.75em 0}@media print{:host{display:none}}*,*::before,*::after{box-sizing:border-box}.viewport-margins{max-width:var(--pl-viewport-margins-max-width);margin:0 auto;padding:0 var(--pl-viewport-margins-gutter, 1em)}.feedback__content{display:flex;justify-content:space-between;gap:var(--pl-space-s);flex-wrap:wrap}.feedback__inline-question{display:flex;flex-wrap:wrap;gap:0.5em;align-items:center}h2{display:inline-block;margin:0;font-family:var(--pl-font-sans-serif);font-size:1em;font-weight:400}p{margin:0;padding:calc(0.5em + 1px) 0}a{color:var(--pl-color-fg-accent);text-decoration:underline;text-underline-offset:var(--pl-link-text-underline-offset);text-decoration-thickness:var(--pl-link-hover-text-decoration-thickness)}button{all:unset;display:flex;align-items:center;gap:0.5em;padding:0.25em 1.25em;font-family:var(--pl-font-family);font-weight:500;line-height:1.4;color:var(--pl-color-fg-default);background:var(--pl-color-bg-default);border:solid 1px var(--pl-color-fg-subtle);border-radius:1em;box-sizing:border-box}button:hover{cursor:pointer}button:hover span{text-decoration:underline}button.selected{background:var(--pl-color-bg-accent-emphasis);color:var(--pl-color-fg-on-emphasis);border-color:var(--pl-color-bg-accent-emphasis)}.feedback__inline-question+.feedback__share-feedback,p{animation:none}.feedback__content>p{animation:fadeIn 300ms ease-in}@keyframes fadeIn{from{opacity:0}to{opacity:1}}*:focus{outline:0;box-shadow:0 0 0 2px var(--pl-color-bg-attention),\n 0 0 0 3px var(--pl-color-bg-emphasis)}@media (max-width: 26em){h2{display:block;width:100%}}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}";
4
4
 
5
5
  const FEEDBACK_TTL = 5 * 60 * 1000; // 5 minutes
6
6
  const FEEDBACK_QUESTION = 'Did you find what you need?';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as getElement } from './index--JSTNIPP.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-DF84VN1-.js';
2
2
 
3
3
  const pennlibsHeroCss = ":host{--pl-hero-height:clamp(42vh, 32rem, 26rem);--pl-hero-heading-font:var(--pl-font-serif);--pl-hero-color:var(--pl-color-fg-on-emphasis)}*,*:before,*:after{box-sizing:inherit}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.viewport-margins{width:100%;max-width:var(--pl-viewport-margins-max-width);margin:0 auto;padding:0 var(--pl-viewport-margins-gutter, 1em)}.hero{position:relative;min-height:var(--pl-hero-height);height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 33%;display:flex}.hero::before{content:\"\";display:flex;width:100%;height:100%;top:0;position:absolute;background:linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.05) 100%);z-index:0}.hero::after{content:\"\";display:flex;width:100%;height:100%;top:0;position:absolute;background:linear-gradient(180deg, rgba(1, 31, 91, 1) 0%, rgba(1, 31, 91, 0.9) 10%, rgba(1, 31, 91, 0.8) 20%, rgba(1, 31, 91, 0.1) 50%, rgba(1, 31, 91, 0.0) 100%);z-index:0}.hero__content{position:relative;display:flex;flex-direction:column;width:100%;z-index:1}.hero__heading-container{margin-top:auto;padding-top:var(--pl-space-3xl);padding-bottom:var(--pl-space-3xl)}.hero__heading{text-shadow:1px 1px 2px var(--pl-color-fg-default);line-height:1;font-size:var(--pl-font-size-5xl);font-weight:400;font-family:var(--pl-hero-heading-font);text-wrap:pretty;max-width:30ch;margin:0;color:var(--pl-hero-color)}@media (max-width: 920px){.hero__heading{font-size:var(--pl-font-size-4xl)}}.hero__sub-heading{font-size:1.25em;font-family:var(--pl-font-family);font-weight:400;color:var(--pl-hero-color);max-width:52ch;text-wrap:pretty;margin-top:var(--pl-space-s);margin-bottom:0}.hero__sub-heading a{text-decoration:underline;text-underline-offset:var(--pl-link-text-underline-offset);text-decoration-thickness:var(--pl-link-text-decoration-thickness);color:var(--pl-hero-color)}.hero__sub-heading a:hover{text-decoration-thickness:var(--pl-link-hover-text-decoration-thickness)}.hero__sub-heading strong{font-weight:bold}@media (max-width: 620px){.hero__heading{font-size:2.75em}.hero__sub-heading{font-size:1em}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as getElement } from './index--JSTNIPP.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-DF84VN1-.js';
2
2
 
3
3
  const pennlibsIiifImgCss = ":host{display:block;width:100%;max-width:100%;align-self:flex-start;aspect-ratio:var(--aspect-ratio, auto)}picture{display:block;line-height:0}.iiif-img{display:block;width:100%;max-width:100%;height:auto;opacity:0;filter:blur(5px);transition:opacity 0.15s ease-in, filter 0.15s ease-in}.iiif-img.loaded{opacity:1;filter:blur(0)}.fallback-container{display:block;width:100%;height:100%}.fallback-container pennlibs-fallback-img{width:100%;height:100%}pennlibs-fallback-img{display:block;width:100%;height:100%}";
4
4
 
package/dist/esm/web.js CHANGED
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index--JSTNIPP.js';
2
- export { s as setNonce } from './index--JSTNIPP.js';
1
+ import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-DF84VN1-.js';
2
+ export { s as setNonce } from './index-DF84VN1-.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Browser v4.38.1 | MIT Licensed | https://stenciljs.com
@@ -16,6 +16,6 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["pennlibs-iiif-img",[[257,"pennlibs-iiif-img",{"uuid":[1],"alt":[1],"region":[513],"rotation":[1],"quality":[1],"loading":[1],"showFallback":[4,"show-fallback"],"isLoaded":[32],"hasError":[32],"imageDimensions":[32],"observedWidth":[32]},null,{"region":["handleRegionChange"]}]]],["pennlibs-feedback_3",[[258,"pennlibs-feedback",{"hideQuestion":[4,"hide-question"],"answer":[32],"selected":[32]}],[257,"pennlibs-footer",{"showBuiltWith":[4,"show-built-with"],"navigationByChildren":[32]}],[257,"pennlibs-header",{"serviceName":[1,"service-name"],"serviceLede":[1,"service-lede"],"serviceHref":[1,"service-href"],"theme":[1],"isMenuOpen":[32],"navigation":[32]}]]],["pennlibs-autocomplete",[[257,"pennlibs-autocomplete",{"for":[1],"showSuggestions":[32],"currentIndex":[32],"originalValue":[32],"options":[32]},[[0,"slotchange","handleSlotChange"],[16,"input","handleInputEvent"],[16,"focus","handleFocusEvent"],[16,"blur","handleBlurEvent"],[0,"focusout","handleFocusOut"],[4,"keydown","handleKeyDown"]]]]],["pennlibs-banner",[[257,"pennlibs-banner"]]],["pennlibs-chat",[[257,"pennlibs-chat",{"href":[32]}]]],["pennlibs-hero",[[257,"pennlibs-hero",{"heroPictureElement":[32],"heroHeadingElement":[32],"heroParagraphElement":[32],"heroSrc":[32]}]]],["pennlibs-fallback-img",[[257,"pennlibs-fallback-img"]]]], options);
19
+ return bootstrapLazy([["pennlibs-iiif-img",[[257,"pennlibs-iiif-img",{"uuid":[1],"alt":[1],"region":[513],"rotation":[1],"quality":[1],"loading":[1],"showFallback":[4,"show-fallback"],"isLoaded":[32],"hasError":[32],"imageDimensions":[32],"observedWidth":[32]},null,{"region":["handleRegionChange"]}]]],["pennlibs-feedback_3",[[257,"pennlibs-feedback",{"hideQuestion":[4,"hide-question"],"answer":[32],"selected":[32]}],[257,"pennlibs-footer",{"showBuiltWith":[4,"show-built-with"],"navigationByChildren":[32]}],[257,"pennlibs-header",{"serviceName":[1,"service-name"],"serviceLede":[1,"service-lede"],"serviceHref":[1,"service-href"],"theme":[1],"isMenuOpen":[32],"navigation":[32]}]]],["pennlibs-autocomplete",[[257,"pennlibs-autocomplete",{"for":[1],"showSuggestions":[32],"currentIndex":[32],"originalValue":[32],"options":[32]},[[0,"slotchange","handleSlotChange"],[16,"input","handleInputEvent"],[16,"focus","handleFocusEvent"],[16,"blur","handleBlurEvent"],[0,"focusout","handleFocusOut"],[4,"keydown","handleKeyDown"]]]]],["pennlibs-banner",[[257,"pennlibs-banner"]]],["pennlibs-chat",[[257,"pennlibs-chat",{"href":[32]}]]],["pennlibs-hero",[[257,"pennlibs-hero",{"heroPictureElement":[32],"heroHeadingElement":[32],"heroParagraphElement":[32],"heroSrc":[32]}]]],["pennlibs-fallback-img",[[257,"pennlibs-fallback-img"]]]], options);
20
20
  });
21
21
  //# sourceMappingURL=web.js.map
@@ -1,2 +1,2 @@
1
- export { e as setAssetPath } from './p--JSTNIPP.js';
1
+ export { e as setAssetPath } from './p-DF84VN1-.js';
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as getAssetPath, h } from './p--JSTNIPP.js';
1
+ import { r as registerInstance, d as getAssetPath, h } from './p-DF84VN1-.js';
2
2
 
3
3
  const pennlibsBannerCss = ":host{font-family:var(--pl-font-family);font-size:var(--pl-font-size);--max-width:1080px}.viewport-margins{max-width:calc(var(--max-width) + 0.5em);margin:0 auto;padding:0 var(--pl-viewport-margins-gutter, 1em)}.skip-to-content-link{position:absolute;transform:translateY(-300%);background:var(--pl-color-bg-default);left:0.5em;padding:0.5em 1em;margin-top:0.5em;position:absolute}.skip-to-content-link:focus{transform:translateY(0%);color:var(--pl-color-fg-default)}.universal-nav{background:var(--pl-color-penn-blue)}.universal-nav ul{display:flex;align-items:baseline;flex-wrap:wrap;scrollbar-color:var(--pl-color-penn-red);list-style:none;padding:0;margin:0}.universal-nav li{display:inline-block}.universal-nav a{display:inline-block;text-transform:uppercase;font-size:0.75em;letter-spacing:0.075em;font-weight:600;color:var(--pl-color-fg-subtle-on-emphasis);padding:0.5em;text-decoration:none}.universal-nav a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.15em}.universal-nav__shield-image{vertical-align:sub;height:1em;padding-right:0.5em;height:auto}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './p--JSTNIPP.js';
1
+ import { r as registerInstance, h } from './p-DF84VN1-.js';
2
2
 
3
3
  const pennlibsChatCss = ":host {\n font-family: var(--pl-font-family);\n font-size: var(--pl-font-size);\n line-height: normal;\n}\n\n@media print {\n :host {\n display: none;\n }\n}\n\na {\n display: flex;\n align-items: center;\n background: linear-gradient(45deg, #faa755, #fcca99);\n border-radius: 1em;\n position: fixed;\n bottom: 0.75em;\n right: 0.75em;\n box-shadow: rgba(0,0,0,0.3) 0px 2px 16px 0px;\n color: var(--pl-color-penn-blue);\n text-decoration: none;\n font-weight: 500;\n padding: 0.15em;\n font-size: 1em;\n\n @media (min-width: 820px) {\n bottom: 1.5em;\n right: 1.5em;\n width: auto;\n padding: 0.15em 0.75em;\n padding-left: 0.5em;\n }\n}\n\na:hover {\n text-decoration: underline;\n text-underline-offset: var(--pl-link-text-underline-offset);\n text-decoration-thickness: var(--pl-link-hover-text-decoration-thickness);\n}\n\na:hover,\na:focus {\n outline: none;\n box-shadow: 0 0 0 2px var(--pl-color-bg-attention),0 0 0 4px var(--pl-color-penn-blue), rgba(0,0,0,0.3) 0px 2px 16px 0px;;\n}\n\nsvg {\n width: 2.5em;\n height: 2.5em;\n}\n\nspan {\n display: none;\n font-size: 1.1em;\n\n @media (min-width: 820px) {\n display: inline;\n }\n}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as getElement } from './p--JSTNIPP.js';
1
+ import { r as registerInstance, h, a as getElement } from './p-DF84VN1-.js';
2
2
 
3
3
  const pennlibsIiifImgCss = ":host{display:block;width:100%;max-width:100%;align-self:flex-start;aspect-ratio:var(--aspect-ratio, auto)}picture{display:block;line-height:0}.iiif-img{display:block;width:100%;max-width:100%;height:auto;opacity:0;filter:blur(5px);transition:opacity 0.15s ease-in, filter 0.15s ease-in}.iiif-img.loaded{opacity:1;filter:blur(0)}.fallback-container{display:block;width:100%;height:100%}.fallback-container pennlibs-fallback-img{width:100%;height:100%}pennlibs-fallback-img{display:block;width:100%;height:100%}";
4
4
 
@@ -201,9 +201,6 @@ var getAssetPath = (path) => {
201
201
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
202
202
  };
203
203
  var setAssetPath = (path) => plt.$resourcesUrl$ = path;
204
-
205
- // src/utils/helpers.ts
206
- var isDef = (v) => v != null && v !== void 0;
207
204
  var isComplexType = (o) => {
208
205
  o = typeof o;
209
206
  return o === "object" || o === "function";
@@ -714,16 +711,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
714
711
  const shadowRootNodes = shadowRoot ? [] : null;
715
712
  const vnode = newVNode(tagName, null);
716
713
  vnode.$elm$ = hostElm;
717
- let scopeId2;
718
- {
719
- const cmpMeta = hostRef.$cmpMeta$;
720
- if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
721
- scopeId2 = hostElm["s-sc"];
722
- hostElm.classList.add(scopeId2 + "-h");
723
- } else if (hostElm["s-sc"]) {
724
- delete hostElm["s-sc"];
725
- }
726
- }
727
714
  if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
728
715
  initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
729
716
  }
@@ -827,11 +814,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
827
814
  }
828
815
  }
829
816
  }
830
- if (scopeId2 && slotNodes.length) {
831
- slotNodes.forEach((slot) => {
832
- slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
833
- });
834
- }
835
817
  if (shadowRoot) {
836
818
  let rnIdex = 0;
837
819
  const rnLen = shadowRootNodes.length;
@@ -861,7 +843,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
861
843
  let childIdSplt;
862
844
  let childVNode;
863
845
  let i2;
864
- const scopeId2 = hostElm["s-sc"];
865
846
  if (node.nodeType === 1 /* ElementNode */) {
866
847
  childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
867
848
  if (childNodeType) {
@@ -884,10 +865,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
884
865
  if (!parentVNode.$children$) {
885
866
  parentVNode.$children$ = [];
886
867
  }
887
- if (scopeId2 && childIdSplt[0] === hostId) {
888
- node["s-si"] = scopeId2;
889
- childVNode.$attrs$.class += " " + scopeId2;
890
- }
891
868
  const slotName = childVNode.$elm$.getAttribute("s-sn");
892
869
  if (typeof slotName === "string") {
893
870
  if (childVNode.$tag$ === "slot-fb") {
@@ -902,9 +879,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
902
879
  shadowRootNodes,
903
880
  slottedNodes
904
881
  );
905
- if (scopeId2) {
906
- node.classList.add(scopeId2);
907
- }
908
882
  }
909
883
  childVNode.$elm$["s-sn"] = slotName;
910
884
  childVNode.$elm$.removeAttribute("s-sn");
@@ -1319,9 +1293,6 @@ function sortedAttrNames(attrNames) {
1319
1293
  attrNames
1320
1294
  );
1321
1295
  }
1322
-
1323
- // src/runtime/vdom/vdom-render.ts
1324
- var scopeId;
1325
1296
  var hostTagName;
1326
1297
  var isSvgMode = false;
1327
1298
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
@@ -1350,9 +1321,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
1350
1321
  {
1351
1322
  updateElement(null, newVNode2, isSvgMode);
1352
1323
  }
1353
- if (isDef(scopeId) && elm["s-si"] !== scopeId) {
1354
- elm.classList.add(elm["s-si"] = scopeId);
1355
- }
1356
1324
  if (newVNode2.$children$) {
1357
1325
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
1358
1326
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -1531,34 +1499,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1531
1499
  }
1532
1500
  };
1533
1501
  var insertBefore = (parent, newNode, reference) => {
1534
- if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
1535
- addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
1536
- }
1537
1502
  {
1538
1503
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1539
1504
  }
1540
1505
  };
1541
- function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
1542
- var _a, _b;
1543
- let scopeId2;
1544
- if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
1545
- const scopeName = slotNode["s-sn"];
1546
- const hostName = slotNode["s-hn"];
1547
- (_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
1548
- if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
1549
- let child = (oldParent.__childNodes || oldParent.childNodes)[0];
1550
- let found = false;
1551
- while (child) {
1552
- if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
1553
- found = true;
1554
- break;
1555
- }
1556
- child = child.nextSibling;
1557
- }
1558
- if (!found) oldParent.classList.remove(scopeId2 + "-s");
1559
- }
1560
- }
1561
- }
1562
1506
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1563
1507
  const hostElm = hostRef.$hostElement$;
1564
1508
  const cmpMeta = hostRef.$cmpMeta$;
@@ -1585,9 +1529,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1585
1529
  rootVnode.$flags$ |= 4 /* isHost */;
1586
1530
  hostRef.$vnode$ = rootVnode;
1587
1531
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1588
- {
1589
- scopeId = hostElm["s-sc"];
1590
- }
1591
1532
  patch(oldVNode, rootVnode, isInitialLoad);
1592
1533
  };
1593
1534
 
@@ -2059,9 +2000,6 @@ var connectedCallback = (elm) => {
2059
2000
  if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2060
2001
  const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
2061
2002
  elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
2062
- } else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2063
- const scopeId2 = getScopeId(cmpMeta);
2064
- elm["s-sc"] = scopeId2;
2065
2003
  }
2066
2004
  initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2067
2005
  }
@@ -2320,6 +2258,6 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2320
2258
  var setNonce = (nonce) => plt.$nonce$ = nonce;
2321
2259
 
2322
2260
  export { getElement as a, bootstrapLazy as b, createEvent as c, getAssetPath as d, setAssetPath as e, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2323
- //# sourceMappingURL=index--JSTNIPP.js.map
2261
+ //# sourceMappingURL=p-DF84VN1-.js.map
2324
2262
 
2325
- //# sourceMappingURL=index--JSTNIPP.js.map
2263
+ //# sourceMappingURL=p-DF84VN1-.js.map