@maggioli-design-system/magma 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-book.cjs.entry.js +53 -5
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +1 -1
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +1 -1
- package/dist/collection/components/mds-book/AGENTS.md +8 -4
- package/dist/collection/components/mds-book/documentation.json +43 -5
- package/dist/collection/components/mds-book/mds-book.css +91 -7
- package/dist/collection/components/mds-book/mds-book.js +79 -7
- package/dist/collection/components/mds-book/pattern.md +14 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +1 -1
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +1 -1
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +1 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +1 -1
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +1 -1
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +1 -1
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +1 -1
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +1 -1
- package/dist/collection/components/mds-icon/documentation.json +1 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +1 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +1 -1
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +1 -1
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +1 -1
- package/dist/collection/components/mds-link/documentation.json +1 -1
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +1 -1
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +1 -1
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +1 -1
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +1 -1
- package/dist/components/mds-book.js +1 -1
- package/dist/documentation.json +43 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-book.entry.js +53 -5
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +2 -2
- package/dist/esm-es5/mds-book.entry.js +33 -26
- package/dist/hydrate/index.js +57 -6
- package/dist/hydrate/index.mjs +57 -6
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-17ccfc01.system.entry.js → p-3bc65166.system.entry.js} +55 -48
- package/dist/magma-components/p-968a2237.entry.js +1 -0
- package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
- package/dist/stats.json +93 -19
- package/dist/types/components/mds-book/mds-book.d.ts +19 -2
- package/dist/types/components.d.ts +15 -4
- package/package.json +8 -8
- package/dist/magma-components/p-6d96d223.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as o,h as a,c as r,t as e,B as i}from"./p-TZJN-ygm.js";import{L as s}from"./p-CZjwSwe5.js";import{p as n}from"./p-CVRN4LDc.js";const p={a4:[21,29.7],a5:[14.8,21],b5:[17.6,25]},l=17/24,d=/^(\d+(?:\.\d+)?)x(\d+(?:\.\d+)?)$/,h=t=>(null!=t?t:"").trim().toLowerCase(),c=t=>{const o=h(t);if(Object.prototype.hasOwnProperty.call(p,o))return p[o];const a=d.exec(o);if(null===a)return;const r=Number(a[1]),e=Number(a[2]);return r>0&&e>0?[r,e]:void 0},b=t=>{const o=c(t);return void 0===o?void 0:o[0]/o[1]},v=t=>null!=t&&Number.isFinite(t)&&t>0?Math.max(4,Math.min(3e3,Math.round(t))):300,g={spine:{lay:0,tilt:-6,turn:28},"fore-edge":{lay:0,tilt:-6,turn:-28},front:{lay:0,tilt:0,turn:0},lying:{lay:90,tilt:-30,turn:0},"lying-turned":{lay:90,tilt:-34,turn:32}},f=t=>Object.assign({glare:0,lift:0},Object.prototype.hasOwnProperty.call(g,null!=t?t:"")?g[t]:g.spine),k=120,m=260,u=(t,o)=>t[0]*o[0]+t[1]*o[1]+t[2]*o[2],w=t=>t*Math.PI/180,y=(([t,o,a])=>{const r=Math.hypot(t,o,a);return[t/r,o/r,a/r]})([.15,-.4,.9]),q=([t,o,a],r)=>{const e=w(r);return[t,o*Math.cos(e)-a*Math.sin(e),o*Math.sin(e)+a*Math.cos(e)]},x=(t,{lay:o,tilt:a,turn:r})=>q((([t,o,a],r)=>{const e=w(r);return[t*Math.cos(e)+a*Math.sin(e),o,-t*Math.sin(e)+a*Math.cos(e)]})(q(t,o),r),a),M=t=>[Math.sin(w(t)),0,Math.cos(w(t))],z={bottom:[0,1,0],fore:M(90),front:M(0),spine:M(-90),top:[0,-1,0]},H=(t,o,a)=>Math.max(-1,Math.min(1,1.4*(u(x(t,o),y)-a))),$=(t,o)=>{const a=(.25+o*o)/(2*o),r=a-o,e=Math.asin(.5/a);return{angle:o=>e-2*e*o/t,point:t=>({x:r-a*Math.cos(t),z:a*Math.sin(t)-.5})}},X=(()=>{const{angle:t,point:o}=$(6,.14);return Array.from({length:6},((a,r)=>{const e=t(r),i=t(r+1),s=o(e),n=o(i),p=(e+i)/2;return{width:1.04*Math.hypot(s.x-n.x,s.z-n.z),x:(s.x+n.x)/2,yaw:180*Math.atan2(-Math.cos(p),Math.sin(p))/Math.PI,z:(s.z+n.z)/2}}))})(),j=(()=>{const{angle:t,point:o}=$(6,.14),a=t=>(100*t).toFixed(3)+"%";return`polygon(${Array.from({length:7},((r,e)=>{const{x:i,z:s}=o(t(e));return`${a(1+i/.14)} ${a(-s)}`})).join(", ")})`})();var E={book:"Βιβλίο",byAuthor:"{{{name}}}, {{{author}}}"},C={book:"Book",byAuthor:"{{{name}}} by {{{author}}}"},L={book:"Libro",byAuthor:"{{{name}}} de {{{author}}}"},A={book:"Libro",byAuthor:"{{{name}}} di {{{author}}}"};const Y=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.imageError=!1,this.current=f(),this.dragged=!1,this.goal=f(),this.hovering=!1,this.pointer={x:0,y:0},this.slats=[],this.t=new s({el:E,en:C,es:L,it:A}),this.binding="paperback",this.format="auto",this.loading="lazy",this.pages=300,this.pose="spine",this.watchDrag=()=>{var t;null===(t=this.dragWatch)||void 0===t||t.abort(),this.dragWatch=new AbortController;const{signal:o}=this.dragWatch,a=()=>{this.hovering=!1,this.pointer={x:0,y:0},this.endDrag(!1)},r=t=>{null===t.relatedTarget&&a()};window.addEventListener("pointerout",r,{signal:o}),window.addEventListener("mouseout",r,{signal:o}),window.addEventListener("blur",a,{signal:o}),document.addEventListener("visibilitychange",(()=>document.hidden&&a()),{signal:o})},this.endDrag=t=>{var o,a;void 0!==this.drag&&(this.dragged=t,this.drag=void 0,null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=void 0,null===(a=this.scene)||void 0===a||a.classList.remove("scene--dragging"),this.aim())},this.reducedMotion=()=>{const t=this.host.getAttribute("pref-animation");return"reduce"===t||(null===t||"system"===t)&&"function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches},this.consumption=()=>{var t;return null!==(t=this.host.getAttribute("pref-consumption"))&&void 0!==t?t:"high"},this.still=()=>this.reducedMotion()||"low"===this.consumption(),this.aim=()=>{const t=f(this.pose);if(this.still())return this.current=this.goal=t,void this.writePose();const o=this.hovering||void 0!==this.drag,a=void 0!==this.drag?1:this.hovering?.45:0;this.goal={glare:"high"===this.consumption()?a:0,lay:t.lay,lift:o?1:0,tilt:this.hovering?t.tilt-4*this.pointer.y:t.tilt,turn:void 0!==this.drag?this.goal.turn:this.hovering?t.turn+6*this.pointer.x:t.turn},this.wake()},this.wake=()=>{var t;null!==(t=this.frame)&&void 0!==t||(this.frame=requestAnimationFrame(this.tick))},this.tick=t=>{this.frame=void 0,this.current=((t,o,a)=>{const r=1-Math.exp(-a/(void 0===this.drag&&!this.hovering?m:k)),e=Object.assign({},t);for(const a of Object.keys(o)){e[a]+=(o[a]-t[a])*r;const i="glare"===a||"lift"===a?.002:.05;Math.abs(o[a]-e[a])<i&&(e[a]=o[a])}return e})(this.current,this.goal,void 0===this.lastTime?1e3/60:t-this.lastTime),this.writePose(),((t,o)=>Object.keys(t).every((a=>t[a]===o[a])))(this.current,this.goal)?this.lastTime=void 0:(this.lastTime=t,this.wake())},this.writePose=()=>{var t;const o=null===(t=this.scene)||void 0===t?void 0:t.style;if(!o)return;const a=f(this.pose),r=(t=>u(x(z.front,t),y))(a),{glare:e,lay:i,lift:s,tilt:n,turn:p}=this.current,l=((t,o)=>({bottom:H(z.bottom,t,o),fore:H(z.fore,t,o),front:H(z.front,t,o),spine:H(z.spine,t,o),top:H(z.top,t,o)}))(this.current,r);o.setProperty("--private-book-lay",i.toFixed(2)+"deg"),o.setProperty("--private-book-turn",p.toFixed(2)+"deg"),o.setProperty("--private-book-tilt",n.toFixed(2)+"deg"),o.setProperty("--private-book-lift",s.toFixed(3));const d=Math.max(0,Math.min(1,i/90));o.setProperty("--private-book-lie",d.toFixed(3)),o.setProperty("--private-book-stand",(1-d).toFixed(3)),o.setProperty("--private-book-glare",e.toFixed(3)),o.setProperty("--private-book-glare-x",((t,o)=>Math.max(0,Math.min(100,50+.8*(t-o.turn)+10*this.pointer.x)))(p,a).toFixed(1));for(const t of Object.keys(l))o.setProperty(`--private-book-${t}-light`,l[t].toFixed(3));const h=((t,o,a)=>t.map((t=>H(M(t),o,a))))(X.map((({yaw:t})=>t)),this.current,r);this.slats.forEach(((t,o)=>t.style.setProperty("--private-book-light",h[o].toFixed(3))))},this.warnInvalidFormat=t=>{(t=>{const o=h(t);return""===o||"auto"===o||void 0!==b(o)})(t)||console.warn(`mds-book: "${t}" is not a format, the book takes the proportions of its image. Use auto, a4, a5, b5 or WxH in centimetres`)},this.warnInvalidPages=t=>{(t=>null==t||Number.isFinite(t)&&t>0)(t)||console.warn(`mds-book: "${t}" is not a number of pages, the book is drawn with 300. Use a positive number, up to 3000`)},this.onLoad=t=>{const o=t.target;o.naturalWidth>0&&o.naturalHeight>0&&(this.imageRatio=o.naturalWidth/o.naturalHeight),this.coverUrl=o.currentSrc||o.src},this.onError=()=>{this.coverUrl=void 0,this.imageError=!0},this.hasImage=()=>{var t;return""!==(null!==(t=this.src)&&void 0!==t?t:"")&&!this.imageError},this.ratio=()=>{var t,o;return null!==(o=null!==(t=b(this.format))&&void 0!==t?t:this.imageRatio)&&void 0!==o?o:l},this.label=()=>{var t,o;if(null!=this.alt)return this.alt;const a=(null!==(t=this.name)&&void 0!==t?t:"").trim(),r=(null!==(o=this.author)&&void 0!==o?o:"").trim();return""!==r?this.t.get("byAuthor",{name:""!==a?a:this.t.get("book"),author:r}):""!==a?a:this.t.get("book")},this.hostRole=()=>{const t=this.label();return""===t?{role:"presentation"}:{role:"img","aria-label":t}},this.bookStyle=()=>{const t=(()=>{var t,o;return null!==(o=null===(t=c(this.format))||void 0===t?void 0:t[0])&&void 0!==o?o:17})(),o=((t,o)=>({board:o?.25/t:0,square:o?.3/t:0}))(t,"hardcover"===this.binding),a=t=>(100*t).toFixed(3)+"cqi",r={"--private-book-board":a(o.board),"--private-book-page-count":v(this.pages)+"","--private-book-square":a(o.square),"--private-book-width-mm":10*t+""};return void 0!==this.coverUrl&&this.hasImage()&&(r["--private-book-cover"]=(()=>`url("${this.coverUrl.replace(/[\\"]/g,"\\$&").replace(/[\n\r\f]/g,"")}")`)()),r},this.renderSpineText=()=>a("div",{class:"spine-text"},this.author&&a("span",{class:"spine-author"},this.author),this.name&&a("span",{class:"spine-name"},this.name),this.publisher&&a("span",{class:"spine-publisher"},this.publisher)),this.shade=()=>a("span",{class:"shade"}),this.renderHardcover=()=>[...["top","bottom"].flatMap((t=>[a("div",{key:`board-${t}-front`,class:`face board-${t} board-${t}--front lit-${t}`},this.shade()),a("div",{key:`board-${t}-back`,class:`face board-${t} board-${t}--back lit-${t}`},this.shade()),a("div",{key:"endpaper-"+t,class:`face endpaper endpaper--${t} lit-front`},this.shade()),a("div",{key:"pages-"+t,class:`face pages-${t} lit-${t}`},this.shade()),a("div",{key:"cap-"+t,class:`face cap cap--${t} lit-${t}`,style:{clipPath:j}},this.shade())])),a("div",{key:"board-fore-front",class:"face board-fore board-fore--front lit-fore"},this.shade()),a("div",{key:"board-fore-back",class:"face board-fore board-fore--back lit-fore"},this.shade()),a("div",{key:"endpaper-fore",class:"face endpaper endpaper--fore lit-front"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore lit-fore"},this.shade()),...X.map((({width:t,x:o,yaw:r,z:e},i)=>a("div",{key:"slat-"+i,class:"face slat",ref:t=>t&&(this.slats[i]=t),style:{"--private-book-slat-width":t+"","--private-book-slat-x":o+"","--private-book-slat-yaw":r+"deg","--private-book-slat-z":e+""}},this.shade()))),a("div",{key:"spine-label","aria-hidden":"true",class:"face spine-label"},this.renderSpineText())],this.renderPaperback=()=>[a("div",{key:"pages-top",class:"face pages-top pages-flush pages-flush--across lit-top"},this.shade()),a("div",{key:"pages-bottom",class:"face pages-bottom pages-flush pages-flush--across lit-bottom"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore pages-flush pages-flush--along lit-fore"},this.shade()),a("div",{key:"spine","aria-hidden":"true",class:"face spine lit-spine"},this.renderSpineText(),this.shade())]}formatHandler(t){this.warnInvalidFormat(t)}pagesHandler(t){this.warnInvalidPages(t)}poseHandler(){this.aim()}srcHandler(){this.coverUrl=void 0,this.imageError=!1,this.imageRatio=void 0}pointerEnterHandler(t){"touch"===t.pointerType||this.still()||(this.hovering=!0,this.aim())}pointerMoveHandler(t){var o,a;if(this.still())return;const{left:r,top:e,width:i,height:s}=this.host.getBoundingClientRect();if(0===i||0===s)return;const n=t=>Math.max(-1,Math.min(1,t));if("touch"!==t.pointerType&&(this.pointer={x:n((t.clientX-r)/i*2-1),y:n((t.clientY-e)/s*2-1)}),(null===(o=this.drag)||void 0===o?void 0:o.pointerId)===t.pointerId&&"touch"!==t.pointerType&&0===t.buttons&&this.endDrag(!1),(null===(a=this.drag)||void 0===a?void 0:a.pointerId)===t.pointerId){const o=t.clientX-this.drag.startX;Math.abs(o)>4&&(this.drag.moved=!0);const{max:a,min:r}=(t=>0===t.lay?{max:64,min:-64}:{max:t.turn+70,min:t.turn-70})(f(this.pose));return this.goal.turn=Math.max(r,Math.min(a,this.drag.startTurn+o/i*110)),void this.wake()}this.aim()}pointerDownHandler(t){var o;if(0===t.button&&!this.still()){this.dragged=!1,this.drag={moved:!1,pointerId:t.pointerId,startTurn:this.current.turn,startX:t.clientX};try{this.host.setPointerCapture(t.pointerId)}catch(t){}null===(o=this.scene)||void 0===o||o.classList.add("scene--dragging"),this.watchDrag(),this.aim()}}pointerUpHandler(t){var o;(null===(o=this.drag)||void 0===o?void 0:o.pointerId)===t.pointerId&&this.endDrag(this.drag.moved)}pointerLostHandler(t){var o;(null===(o=this.drag)||void 0===o?void 0:o.pointerId)===t.pointerId&&this.endDrag(!1)}pointerLeaveHandler(){void 0===this.drag&&(this.hovering=!1,this.pointer={x:0,y:0},this.aim())}clickHandler(t){this.dragged&&(this.dragged=!1,t.preventDefault(),t.stopPropagation())}componentWillLoad(){this.warnInvalidFormat(this.format),this.warnInvalidPages(this.pages),this.current=this.goal=f(this.pose)}componentDidRender(){i.isBrowser&&(this.still()&&(this.current=this.goal=f(this.pose)),this.writePose())}disconnectedCallback(){var t;void 0!==this.frame&&cancelAnimationFrame(this.frame),this.frame=void 0,this.drag=void 0,null===(t=this.dragWatch)||void 0===t||t.abort(),this.dragWatch=void 0,this.hovering=!1}render(){const t="hardcover"===this.binding;return t||(this.slats=[]),a(r,Object.assign({key:"bb31d3ccdd45d59a6586d179bec741c03f424137"},this.hostRole(),{"pref-animation":n.state.animation,"pref-consumption":n.state.consumption,style:{"--private-book-ratio":this.ratio()+""}}),a("div",{key:"d9f8342b3fbb727a4e8bf7fcc0bb8ef3ea2882bb",class:"scene",ref:t=>this.scene=t},a("div",{key:"49ed3560379bf7f7dfbc6a08674c87e80235b86f",class:"stage"},a("div",{key:"ab97382a831ca738280c51fed61c518fd536f597",class:{book:!0,"book--pending":this.hasImage()&&void 0===this.coverUrl},style:this.bookStyle()},a("div",{key:"8c91cb0b329bcf9bf6ab643fd3a0eef0722aba07",class:"floor floor--stand"}),a("div",{key:"e31e08f16ed68c3a7b43a12974ac46bb94312525",class:"floor floor--lie"}),a("div",{key:"ddc2cf056c231994f1baa01c6ebf1af6369c1459",class:"body"},a("div",{key:"6fa239a5ebfd2ec588db478faf6961cde3689950",class:"face front lit-front"},this.hasImage()?a("img",{alt:"","aria-hidden":"true",class:"cover",draggable:!1,loading:this.loading,onError:this.onError,onLoad:this.onLoad,part:"cover",src:this.src}):a("div",{"aria-hidden":"true",class:"drawn-cover"},this.author&&a("span",{class:"drawn-author"},this.author),this.name&&a("span",{class:"drawn-name"},this.name),this.publisher&&a("span",{class:"drawn-publisher"},this.publisher)),a("span",{key:"57fa73e7b9b201a245b2f0ae7ee00bb60e726556",class:"gloss"}),this.shade()),t?this.renderHardcover():this.renderPaperback())))))}get host(){return this}static get watchers(){return{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],src:[{srcHandler:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E\");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--pending{--private-book-binding:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)))}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:\"\";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-publisher{font-size:4.5cqi;margin-top:auto}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:\"\";left:0;position:absolute;top:0;width:1cqi}.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}@supports (color:color-mix(in lab,red,red)){.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:\"\";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.spine,.spine-label{box-sizing:border-box;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);height:100%;justify-content:center;padding-block:7cqi;width:var(--private-book-depth)}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}.spine-publisher{flex-shrink:0;margin-inline-start:auto}@property --tw-font-weight{syntax:\"*\";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}"}},[1,"mds-book",{alt:[1],author:[1],binding:[513],format:[513],loading:[1],name:[1],pages:[2],pose:[513],publisher:[1],src:[1],coverUrl:[32],imageError:[32],imageRatio:[32]},[[1,"pointerenter","pointerEnterHandler"],[1,"pointermove","pointerMoveHandler"],[1,"pointerdown","pointerDownHandler"],[1,"pointerup","pointerUpHandler"],[1,"pointercancel","pointerLostHandler"],[0,"lostpointercapture","pointerLostHandler"],[1,"pointerleave","pointerLeaveHandler"],[2,"click","clickHandler"]],{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],src:[{srcHandler:0}]}]),O=Y,Z=function(){"undefined"!=typeof customElements&&["mds-book"].forEach((t=>{"mds-book"===t&&(customElements.get(e(t))||customElements.define(e(t),Y))}))};export{O as MdsBook,Z as defineCustomElement}
|
|
1
|
+
import{p as o,H as t,h as a,c as r,t as e,B as i}from"./p-TZJN-ygm.js";import{L as s}from"./p-CZjwSwe5.js";import{p as n}from"./p-CVRN4LDc.js";const l={a4:[21,29.7],a5:[14.8,21],b5:[17.6,25]},p=17/24,h=/^(\d+(?:\.\d+)?)x(\d+(?:\.\d+)?)$/,d=o=>(null!=o?o:"").trim().toLowerCase(),c=o=>{const t=d(o);if(Object.prototype.hasOwnProperty.call(l,t))return l[t];const a=h.exec(t);if(null===a)return;const r=Number(a[1]),e=Number(a[2]);return r>0&&e>0?[r,e]:void 0},v=o=>{const t=c(o);return void 0===t?void 0:t[0]/t[1]},b=o=>`url("${o.replace(/[\\"]/g,"\\$&").replace(/[\n\r\f]/g,"")}")`,g=o=>null!=o&&Number.isFinite(o)&&o>0?Math.max(4,Math.min(3e3,Math.round(o))):300,m={spine:{lay:0,tilt:-6,turn:28},"fore-edge":{lay:0,tilt:-6,turn:-28},front:{lay:0,tilt:0,turn:0},lying:{lay:90,tilt:-30,turn:0},"lying-turned":{lay:90,tilt:-34,turn:32}},k=o=>Object.assign({glare:0,lift:0},Object.prototype.hasOwnProperty.call(m,null!=o?o:"")?m[o]:m.spine),f=120,u=260,w=(o,t)=>o[0]*t[0]+o[1]*t[1]+o[2]*t[2],y=o=>o*Math.PI/180,q=(([o,t,a])=>{const r=Math.hypot(o,t,a);return[o/r,t/r,a/r]})([.15,-.4,.9]),x=([o,t,a],r)=>{const e=y(r);return[o,t*Math.cos(e)-a*Math.sin(e),t*Math.sin(e)+a*Math.cos(e)]},M=(o,{lay:t,tilt:a,turn:r})=>x((([o,t,a],r)=>{const e=y(r);return[o*Math.cos(e)+a*Math.sin(e),t,-o*Math.sin(e)+a*Math.cos(e)]})(x(o,t),r),a),z=o=>[Math.sin(y(o)),0,Math.cos(y(o))],H={bottom:[0,1,0],fore:z(90),front:z(0),spine:z(-90),top:[0,-1,0]},$=(o,t,a)=>Math.max(-1,Math.min(1,1.4*(w(M(o,t),q)-a))),L=(o,t)=>{const a=(.25+t*t)/(2*t),r=a-t,e=Math.asin(.5/a);return{angle:t=>e-2*e*t/o,point:o=>({x:r-a*Math.cos(o),z:a*Math.sin(o)-.5})}},E=(()=>{const{angle:o,point:t}=L(6,.14);return Array.from({length:6},((a,r)=>{const e=o(r),i=o(r+1),s=t(e),n=t(i),l=(e+i)/2;return{width:1.04*Math.hypot(s.x-n.x,s.z-n.z),x:(s.x+n.x)/2,yaw:180*Math.atan2(-Math.cos(l),Math.sin(l))/Math.PI,z:(s.z+n.z)/2}}))})(),X=(()=>{const{angle:o,point:t}=L(6,.14),a=o=>(100*o).toFixed(3)+"%";return`polygon(${Array.from({length:7},((r,e)=>{const{x:i,z:s}=t(o(e));return`${a(1+i/.14)} ${a(-s)}`})).join(", ")})`})();var j={book:"Βιβλίο",byAuthor:"{{{name}}}, {{{author}}}"},C={book:"Book",byAuthor:"{{{name}}} by {{{author}}}"},A={book:"Libro",byAuthor:"{{{name}}} de {{{author}}}"},Y={book:"Libro",byAuthor:"{{{name}}} di {{{author}}}"};const O=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.imageError=!1,this.logoError=!1,this.current=k(),this.dragged=!1,this.goal=k(),this.hovering=!1,this.pointer={x:0,y:0},this.slats=[],this.t=new s({el:j,en:C,es:A,it:Y}),this.binding="paperback",this.format="auto",this.loading="lazy",this.pages=300,this.pose="spine",this.watchDrag=()=>{var o;null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=new AbortController;const{signal:t}=this.dragWatch,a=()=>{this.hovering=!1,this.pointer={x:0,y:0},this.endDrag(!1)},r=o=>{null===o.relatedTarget&&a()};window.addEventListener("pointerout",r,{signal:t}),window.addEventListener("mouseout",r,{signal:t}),window.addEventListener("blur",a,{signal:t}),document.addEventListener("visibilitychange",(()=>document.hidden&&a()),{signal:t})},this.endDrag=o=>{var t,a;void 0!==this.drag&&(this.dragged=o,this.drag=void 0,null===(t=this.dragWatch)||void 0===t||t.abort(),this.dragWatch=void 0,null===(a=this.scene)||void 0===a||a.classList.remove("scene--dragging"),this.aim())},this.reducedMotion=()=>{const o=this.host.getAttribute("pref-animation");return"reduce"===o||(null===o||"system"===o)&&"function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion: reduce)").matches},this.consumption=()=>{var o;return null!==(o=this.host.getAttribute("pref-consumption"))&&void 0!==o?o:"high"},this.still=()=>this.reducedMotion()||"low"===this.consumption(),this.aim=()=>{const o=k(this.pose);if(this.still())return this.current=this.goal=o,void this.writePose();const t=this.hovering||void 0!==this.drag,a=void 0!==this.drag?1:this.hovering?.45:0;this.goal={glare:"high"===this.consumption()?a:0,lay:o.lay,lift:t?1:0,tilt:this.hovering?o.tilt-4*this.pointer.y:o.tilt,turn:void 0!==this.drag?this.goal.turn:this.hovering?o.turn+6*this.pointer.x:o.turn},this.wake()},this.wake=()=>{var o;null!==(o=this.frame)&&void 0!==o||(this.frame=requestAnimationFrame(this.tick))},this.tick=o=>{this.frame=void 0,this.current=((o,t,a)=>{const r=1-Math.exp(-a/(void 0===this.drag&&!this.hovering?u:f)),e=Object.assign({},o);for(const a of Object.keys(t)){e[a]+=(t[a]-o[a])*r;const i="glare"===a||"lift"===a?.002:.05;Math.abs(t[a]-e[a])<i&&(e[a]=t[a])}return e})(this.current,this.goal,void 0===this.lastTime?1e3/60:o-this.lastTime),this.writePose(),((o,t)=>Object.keys(o).every((a=>o[a]===t[a])))(this.current,this.goal)?this.lastTime=void 0:(this.lastTime=o,this.wake())},this.writePose=()=>{var o;const t=null===(o=this.scene)||void 0===o?void 0:o.style;if(!t)return;const a=k(this.pose),r=(o=>w(M(H.front,o),q))(a),{glare:e,lay:i,lift:s,tilt:n,turn:l}=this.current,p=((o,t)=>({bottom:$(H.bottom,o,t),fore:$(H.fore,o,t),front:$(H.front,o,t),spine:$(H.spine,o,t),top:$(H.top,o,t)}))(this.current,r);t.setProperty("--private-book-lay",i.toFixed(2)+"deg"),t.setProperty("--private-book-turn",l.toFixed(2)+"deg"),t.setProperty("--private-book-tilt",n.toFixed(2)+"deg"),t.setProperty("--private-book-lift",s.toFixed(3));const h=Math.max(0,Math.min(1,i/90));t.setProperty("--private-book-lie",h.toFixed(3)),t.setProperty("--private-book-stand",(1-h).toFixed(3)),t.setProperty("--private-book-glare",e.toFixed(3)),t.setProperty("--private-book-glare-x",((o,t)=>Math.max(0,Math.min(100,50+.8*(o-t.turn)+10*this.pointer.x)))(l,a).toFixed(1));for(const o of Object.keys(p))t.setProperty(`--private-book-${o}-light`,p[o].toFixed(3));const d=((o,t,a)=>o.map((o=>$(z(o),t,a))))(E.map((({yaw:o})=>o)),this.current,r);this.slats.forEach(((o,t)=>o.style.setProperty("--private-book-light",d[t].toFixed(3))))},this.warnInvalidFormat=o=>{(o=>{const t=d(o);return""===t||"auto"===t||void 0!==v(t)})(o)||console.warn(`mds-book: "${o}" is not a format, the book takes the proportions of its image. Use auto, a4, a5, b5 or WxH in centimetres`)},this.warnInvalidPages=o=>{(o=>null==o||Number.isFinite(o)&&o>0)(o)||console.warn(`mds-book: "${o}" is not a number of pages, the book is drawn with 300. Use a positive number, up to 3000`)},this.onLoad=o=>{const t=o.target;t.naturalWidth>0&&t.naturalHeight>0&&(this.imageRatio=t.naturalWidth/t.naturalHeight),this.coverUrl=t.currentSrc||t.src},this.onError=()=>{this.coverUrl=void 0,this.imageError=!0},this.hasImage=()=>{var o;return""!==(null!==(o=this.src)&&void 0!==o?o:"")&&!this.imageError},this.loadLogo=()=>{var o;this.logoLoader&&(this.logoLoader.onload=null,this.logoLoader.onerror=null),this.logoLoader=void 0,this.logoError=!1,this.logoUrl=void 0;const t=(null!==(o=this.publisherLogo)&&void 0!==o?o:"").trim();if(""===t||!i.isBrowser)return;const a=new Image;a.crossOrigin="anonymous",a.onload=()=>{this.logoUrl=a.src},a.onerror=()=>{this.logoError=!0},a.src=t,this.logoLoader=a},this.logoPending=()=>{var o;return""!==(null!==(o=this.publisherLogo)&&void 0!==o?o:"").trim()&&void 0===this.logoUrl&&!this.logoError},this.ratio=()=>{var o,t;return null!==(t=null!==(o=v(this.format))&&void 0!==o?o:this.imageRatio)&&void 0!==t?t:p},this.label=()=>{var o,t;if(null!=this.alt)return this.alt;const a=(null!==(o=this.name)&&void 0!==o?o:"").trim(),r=(null!==(t=this.author)&&void 0!==t?t:"").trim();return""!==r?this.t.get("byAuthor",{name:""!==a?a:this.t.get("book"),author:r}):""!==a?a:this.t.get("book")},this.hostRole=()=>{const o=this.label();return""===o?{role:"presentation"}:{role:"img","aria-label":o}},this.bookStyle=()=>{const o=(()=>{var o,t;return null!==(t=null===(o=c(this.format))||void 0===o?void 0:o[0])&&void 0!==t?t:17})(),t=((o,t)=>({board:t?.25/o:0,square:t?.3/o:0}))(o,"hardcover"===this.binding),a=o=>(100*o).toFixed(3)+"cqi",r={"--private-book-board":a(t.board),"--private-book-page-count":g(this.pages)+"","--private-book-square":a(t.square),"--private-book-width-mm":10*o+""};return void 0!==this.coverUrl&&this.hasImage()&&(r["--private-book-cover"]=b(this.coverUrl)),void 0!==this.logoUrl&&(r["--private-book-logo"]=b(this.logoUrl)),r},this.renderPublisher=o=>{var t;return void 0!==this.logoUrl?a("span",{class:o+"-logo"}):this.logoPending()||""===(null!==(t=this.publisher)&&void 0!==t?t:"")?null:a("span",{class:o+"-publisher"},this.publisher)},this.renderSpineText=()=>a("div",{class:"spine-text"},this.name&&a("span",{class:"spine-name"},this.name),this.author&&a("span",{class:"spine-author"},this.author),this.renderPublisher("spine")),this.shade=()=>a("span",{class:"shade"}),this.renderHardcover=()=>[...["top","bottom"].flatMap((o=>[a("div",{key:`board-${o}-front`,class:`face board-${o} board-${o}--front lit-${o}`},this.shade()),a("div",{key:`board-${o}-back`,class:`face board-${o} board-${o}--back lit-${o}`},this.shade()),a("div",{key:"endpaper-"+o,class:`face endpaper endpaper--${o} lit-front`},this.shade()),a("div",{key:"pages-"+o,class:`face pages-${o} lit-${o}`},this.shade()),a("div",{key:"cap-"+o,class:`face cap cap--${o} lit-${o}`,style:{clipPath:X}},this.shade())])),a("div",{key:"board-fore-front",class:"face board-fore board-fore--front lit-fore"},this.shade()),a("div",{key:"board-fore-back",class:"face board-fore board-fore--back lit-fore"},this.shade()),a("div",{key:"endpaper-fore",class:"face endpaper endpaper--fore lit-front"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore lit-fore"},this.shade()),...E.map((({width:o,x:t,yaw:r,z:e},i)=>a("div",{key:"slat-"+i,class:"face slat",ref:o=>o&&(this.slats[i]=o),style:{"--private-book-slat-width":o+"","--private-book-slat-x":t+"","--private-book-slat-yaw":r+"deg","--private-book-slat-z":e+""}},this.shade()))),a("div",{key:"spine-label","aria-hidden":"true",class:"face spine-label"},this.renderSpineText())],this.renderPaperback=()=>[a("div",{key:"pages-top",class:"face pages-top pages-flush pages-flush--across lit-top"},this.shade()),a("div",{key:"pages-bottom",class:"face pages-bottom pages-flush pages-flush--across lit-bottom"},this.shade()),a("div",{key:"pages-fore",class:"face pages-fore pages-flush pages-flush--along lit-fore"},this.shade()),a("div",{key:"spine","aria-hidden":"true",class:"face spine lit-spine"},this.renderSpineText(),this.shade())]}formatHandler(o){this.warnInvalidFormat(o)}pagesHandler(o){this.warnInvalidPages(o)}poseHandler(){this.aim()}publisherLogoHandler(){this.loadLogo()}srcHandler(){this.coverUrl=void 0,this.imageError=!1,this.imageRatio=void 0}pointerEnterHandler(o){"touch"===o.pointerType||this.still()||(this.hovering=!0,this.aim())}pointerMoveHandler(o){var t,a;if(this.still())return;const{left:r,top:e,width:i,height:s}=this.host.getBoundingClientRect();if(0===i||0===s)return;const n=o=>Math.max(-1,Math.min(1,o));if("touch"!==o.pointerType&&(this.pointer={x:n((o.clientX-r)/i*2-1),y:n((o.clientY-e)/s*2-1)}),(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&"touch"!==o.pointerType&&0===o.buttons&&this.endDrag(!1),(null===(a=this.drag)||void 0===a?void 0:a.pointerId)===o.pointerId){const t=o.clientX-this.drag.startX;Math.abs(t)>4&&(this.drag.moved=!0);const{max:a,min:r}=(o=>0===o.lay?{max:64,min:-64}:{max:o.turn+70,min:o.turn-70})(k(this.pose));return this.goal.turn=Math.max(r,Math.min(a,this.drag.startTurn+t/i*110)),void this.wake()}this.aim()}pointerDownHandler(o){var t;if(0===o.button&&!this.still()){this.dragged=!1,this.drag={moved:!1,pointerId:o.pointerId,startTurn:this.current.turn,startX:o.clientX};try{this.host.setPointerCapture(o.pointerId)}catch(o){}null===(t=this.scene)||void 0===t||t.classList.add("scene--dragging"),this.watchDrag(),this.aim()}}pointerUpHandler(o){var t;(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&this.endDrag(this.drag.moved)}pointerLostHandler(o){var t;(null===(t=this.drag)||void 0===t?void 0:t.pointerId)===o.pointerId&&this.endDrag(!1)}pointerLeaveHandler(){void 0===this.drag&&(this.hovering=!1,this.pointer={x:0,y:0},this.aim())}clickHandler(o){this.dragged&&(this.dragged=!1,o.preventDefault(),o.stopPropagation())}componentWillLoad(){this.warnInvalidFormat(this.format),this.warnInvalidPages(this.pages),this.current=this.goal=k(this.pose),this.loadLogo()}componentDidRender(){i.isBrowser&&(this.still()&&(this.current=this.goal=k(this.pose)),this.writePose())}disconnectedCallback(){var o;void 0!==this.frame&&cancelAnimationFrame(this.frame),this.frame=void 0,this.drag=void 0,null===(o=this.dragWatch)||void 0===o||o.abort(),this.dragWatch=void 0,this.hovering=!1}render(){const o="hardcover"===this.binding;return o||(this.slats=[]),a(r,Object.assign({key:"6db72570ca99aeae50cd052ce53087f6838176d5"},this.hostRole(),{"pref-animation":n.state.animation,"pref-consumption":n.state.consumption,style:{"--private-book-ratio":this.ratio()+""}}),a("div",{key:"a29488e2e6b9082dfdb9eff07f02f99914226643",class:"scene",ref:o=>this.scene=o},a("div",{key:"fa6308238a1093dc99028cf46719f2e2597300fb",class:"stage"},a("div",{key:"dfd216ee44d9f22a7fc01a76553871969ce8e24d",class:{book:!0,"book--pending":this.hasImage()&&void 0===this.coverUrl},style:this.bookStyle()},a("div",{key:"b355dc416691ccb540ddfc66ef4878fb2a3b0f94",class:"floor floor--stand"}),a("div",{key:"6a9c1d6da5077a160c28e0ed042dae5331009f1e",class:"floor floor--lie"}),a("div",{key:"34ba5e97961fce9af6dd2f76e9dbc3cb66f1c5b9",class:"body"},a("div",{key:"17881cac62566ff36b44f5ed76e6d2355df3cb3f",class:"face front lit-front"},this.hasImage()?a("img",{alt:"","aria-hidden":"true",class:"cover",draggable:!1,loading:this.loading,onError:this.onError,onLoad:this.onLoad,part:"cover",src:this.src}):a("div",{"aria-hidden":"true",class:"drawn-cover"},this.author&&a("span",{class:"drawn-author"},this.author),this.name&&a("span",{class:"drawn-name"},this.name),this.renderPublisher("drawn")),a("span",{key:"0ac0926637c0a49703e658ccd67c2f01aa185c19",class:"gloss"}),this.shade()),o?this.renderHardcover():this.renderPaperback())))))}get host(){return this}static get watchers(){return{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],publisherLogo:[{publisherLogoHandler:0}],src:[{srcHandler:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-publisher-color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E\");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--pending{--private-book-binding:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)))}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:\"\";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{box-sizing:border-box;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-logo,.drawn-publisher{margin-top:auto}.drawn-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));font-size:4.5cqi}.drawn-logo,.spine-logo{background-color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;-webkit-mask-image:var(--private-book-logo);mask-image:var(--private-book-logo);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.drawn-logo{height:15cqi;-webkit-mask-position:0 100%;mask-position:0 100%;width:50cqi}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:\"\";left:0;position:absolute;top:0;width:1cqi}.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}@supports (color:color-mix(in lab,red,red)){.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:\"\";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.spine,.spine-label{box-sizing:border-box;container-type:inline-size;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);height:100%;justify-content:center;padding-block:7cqi;width:var(--private-book-depth)}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spine-logo,.spine-publisher{flex-shrink:0;margin-inline-start:auto}.spine-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.spine-logo{height:2lh;-webkit-mask-position:bottom;mask-position:bottom;width:1.4lh}@container (min-width:3em){.spine-text{display:grid;gap:0 .8lh;grid-template-columns:minmax(0,1fr) auto}.spine-name{grid-area:1/1}.spine-author{font-size:80%;grid-area:2/1}.spine-logo,.spine-publisher{grid-area:1/2/span 2}}@property --tw-font-weight{syntax:\"*\";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}"}},[1,"mds-book",{alt:[1],author:[1],binding:[513],format:[513],loading:[1],name:[1],pages:[2],pose:[513],publisher:[1],publisherLogo:[1,"publisher-logo"],src:[1],coverUrl:[32],imageError:[32],imageRatio:[32],logoError:[32],logoUrl:[32]},[[1,"pointerenter","pointerEnterHandler"],[1,"pointermove","pointerMoveHandler"],[1,"pointerdown","pointerDownHandler"],[1,"pointerup","pointerUpHandler"],[1,"pointercancel","pointerLostHandler"],[0,"lostpointercapture","pointerLostHandler"],[1,"pointerleave","pointerLeaveHandler"],[2,"click","clickHandler"]],{format:[{formatHandler:0}],pages:[{pagesHandler:0}],pose:[{poseHandler:0}],publisherLogo:[{publisherLogoHandler:0}],src:[{srcHandler:0}]}]),U=O,Z=function(){"undefined"!=typeof customElements&&["mds-book"].forEach((o=>{"mds-book"===o&&(customElements.get(e(o))||customElements.define(e(o),O))}))};export{U as MdsBook,Z as defineCustomElement}
|
package/dist/documentation.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-10-
|
|
2
|
+
"timestamp": "2026-10-27T10:28:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -3456,8 +3456,8 @@
|
|
|
3456
3456
|
}
|
|
3457
3457
|
],
|
|
3458
3458
|
"usage": {
|
|
3459
|
-
"1. Description": "The `<mds-book>` web component shows a book as a physical object, from the image of its front cover alone: front cover, spine and page block drawn in CSS 3D, turned a little so the spine shows. It is the catalogue and product-page counterpart of `<mds-img>`, for publications rather than pictures.\n\n#### Semantic Behavior\n\n- **One image of the book**: The host is a single `role=\"img\"` named by `alt`, or by `name` and `author` (\"Title by Author\", localised in el/en/es/it), or by a generic \"Book\" when there is neither. An empty `alt` marks the book as decorative (`role=\"presentation\"`). The text printed on the spine and on a drawn cover is hidden from assistive technologies, since it repeats that name.\n- **The sides come from the cover**: The spine continues the left edge of the cover image and the board edges its top and right edges, as a wraparound cover prints its design on, so no spine or back cover image is needed. Without an image they take `--mds-book-color`.\n- **A drawn cover instead of a broken image**: Without `src`, or when the image fails to load, the front shows the
|
|
3460
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-book>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### A Book from Its Cover\n\nThe canonical form: the cover image and the catalogue data. The title and the author name the book for assistive technologies and are printed on the spine.\n\n```html\n<mds-book\n src=\"/covers/operazioni-straordinarie.webp\"\n name=\"Operazioni straordinarie\"\n author=\"Antonio D'Amico e Sara Orlando\"\n publisher=\"Maggioli Editore\"\n></mds-book>\n```\n\n#### Pages and Binding from the Catalogue Record\n\nPass the page count and the binding of the record as they are: the book takes its true depth, so a booklet and a large manual do not look alike.\n\n```html\n<mds-book src=\"/covers/guida-rapida.webp\" name=\"Guida rapida al GDPR\" pages=\"64\"></mds-book>\n\n<mds-book\n src=\"/covers/codice-appalti.webp\"\n name=\"Codice dei contratti pubblici\"\n pages=\"1000\"\n binding=\"hardcover\"\n></mds-book>\n```\n\n#### A Catalogue Grid\n\nThe book takes the width of its cell. Give the grid some gap: the turned books reach a little beyond their boxes.\n\n```html\n<div class=\"grid grid-cols-4 gap-1200\">\n <mds-book src=\"/covers/1.webp\" name=\"Creare la holding\" author=\"Ennio Vial\"></mds-book>\n <mds-book src=\"/covers/2.webp\" name=\"Chief AI Officer\" pages=\"480\"></mds-book>\n <mds-book src=\"/covers/3.webp\" name=\"Aste immobiliari e vendita forzata\"></mds-book>\n <mds-book src=\"/covers/4.webp\" name=\"Agenda dei servizi demografici 2027\"></mds-book>\n</div>\n```\n\n#### A Pose for the Layout\n\nPick the pose that suits where the book sits: `spine` in a catalogue, `front` beside a description, `lying` or `lying-turned` for a book on a desk in a hero or a banner.\n\n```html\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" pose=\"front\"></mds-book>\n\n<mds-book\n src=\"/covers/codice-appalti.webp\"\n name=\"Codice dei contratti pubblici\"\n binding=\"hardcover\"\n pages=\"640\"\n pose=\"lying-turned\"\n></mds-book>\n```\n\n#### A Fixed Format\n\nWith `format=\"auto\"` (the default) the book takes the proportions of its image once it loads. Set the format when the catalogue knows it, so the book has its shape before the image arrives; write any format as `WxH` in centimetres, the width first.\n\n```html\n<mds-book src=\"/covers/modulistica.webp\" name=\"Modulistica\" format=\"a4\"></mds-book>\n\n<mds-book src=\"/covers/atlante.webp\" name=\"Atlante dei comuni\" format=\"29.7x21\"></mds-book>\n```\n\n#### A Book Without a Cover Image\n\nWithout `src`, the component draws a cover with the title, the author and the publisher. Give it the colour of the series.\n\n```html\n<mds-book\n name=\"Agenda dei servizi demografici 2027\"\n publisher=\"Maggioli Editore\"\n style=\"--mds-book-color: #f2a93b; --mds-book-text-color: #ffffff\"\n></mds-book>\n```\n\n#### A Solid Spine\n\nWhen the left edge of the cover does not continue well onto the spine (a photo, a thin white border), give the spine and the board edges a colour of their own.\n\n```html\n<mds-book\n src=\"/covers/manuale.webp\"\n name=\"Manuale\"\n style=\"--mds-book-spine-color: #123a6b\"\n></mds-book>\n```\n\n#### A Book That Opens Its Product Page\n\nThe book is an image, not a control: wrap it in a link, with the link named by the book. Turning the book with a drag does not open the link; a click does.\n\n```html\n<a href=\"/catalogo/creare-la-holding\">\n <mds-book src=\"/covers/creare-la-holding.webp\" name=\"Creare la holding\" author=\"Ennio Vial\"></mds-book>\n</a>\n```\n",
|
|
3459
|
+
"1. Description": "The `<mds-book>` web component shows a book as a physical object, from the image of its front cover alone: front cover, spine and page block drawn in CSS 3D, turned a little so the spine shows. It is the catalogue and product-page counterpart of `<mds-img>`, for publications rather than pictures.\n\n#### Semantic Behavior\n\n- **One image of the book**: The host is a single `role=\"img\"` named by `alt`, or by `name` and `author` (\"Title by Author\", localised in el/en/es/it), or by a generic \"Book\" when there is neither. An empty `alt` marks the book as decorative (`role=\"presentation\"`). The text printed on the spine and on a drawn cover is hidden from assistive technologies, since it repeats that name.\n- **The sides come from the cover**: The spine continues the left edge of the cover image and the board edges its top and right edges, as a wraparound cover prints its design on, so no spine or back cover image is needed. Without an image they take `--mds-book-color`.\n- **A drawn cover instead of a broken image**: Without `src`, or when the image fails to load, the front shows the author, the title and the publisher, or its mark, on `--mds-book-color`. A new `src` tries again.\n- **A neutral shape while loading**: Until its image arrives, a book with `src` is drawn in a neutral surface colour, so a lazy catalogue does not flash in the colour of drawn covers.\n- **Light and shadow**: The book is seen a little from above. Each face takes the light by how it turns toward it, in a light touch that shows the volume without drawing the eye. Its shadow falls on the surface it rests on, under its tail when it stands and under its back cover when it lies, darkest where it touches and soon gone; around its outline only a halo faint enough to part a light cover from a light page.\n- **Movement**: The book rests in its `pose`. On hover it rises off the surface, its shadow fading there, and leans a little toward the pointer, with a faint sheen on the cover. A drag (mouse, pen or finger) turns it further, within limits, to show the spine or the pages, never the back, or spins a lying book on its surface; it settles back when released, or when the pointer leaves the window or the frame of the page, where its release could not reach the book. A vertical swipe still scrolls the page.\n- **Not a control**: The book has no action of its own. To make it a link, wrap it: the click that ends a drag does not follow the link, a plain click does.\n- **Reduced motion**: With the animation preference set to reduce (or the system asking for it, when there is no controller), the book keeps its resting pose: no lean, no lift, no drag.\n- **Consumption**: The consumption preference sets how much the book costs to draw. At `high` (the default, and on a page without the controller) it does everything; at `medium` it moves without the sheen and without the halo, a filter computed again on every frame; at `low` it is drawn once, in its pose, and never animated. While it moves, only opacities and transforms change, which the compositor applies without painting the faces again.\n\n#### Properties & Visual Configurations\n\n- **`pose`**: how the book is shown, after the usual shots of product photography. A drag turns it from there, and it goes back to it when released.\n - `'spine'`: standing, turned to show its spine; the default, and the one for a catalogue.\n - `'fore-edge'`: standing, turned the other way to show its pages.\n - `'front'`: facing the reader, flat, the cover as it is; the light still shows the binding when it moves.\n - `'lying'`: lying on its back, seen from above, its tail toward the reader: a book on a desk.\n - `'lying-turned'`: lying, spun on the surface to show its spine and its tail.\n\n- **`format`**: the proportions of the book, in one field that also carries the orientation.\n - `'auto'`: the proportions of the image, read once it has loaded (a square cover gives a square book); before that, and without an image, 17x24. Pick it when the image already has the true proportions.\n - `'a4'`, `'a5'`, `'b5'`: the ISO formats, portrait. Any other format is `WxH` in centimetres, the order of the two numbers being the orientation: `'17x24'` portrait, `'24x17'` landscape, `'21x21'` square. A fixed format keeps its shape before the image loads and crops small differences of the image.\n- **`pages`**: the number of pages, from the catalogue record, which sets how deep the book is against the width of its format (17 cm for `'auto'`). A short book is printed on bulky paper and a long volume on thin paper, so a page goes from 0.1 mm at 1 page to 0.05 mm at 1000 pages and beyond, in proportion: 64 pages make 6 mm, 300 pages 2.5 cm, 1000 pages 5 cm, and an A4 of the same pages looks thinner than a 17x24. A spine under 5 mm carries no text.\n- **`binding`**: how the book is built, which shows on its head, its fore edge and its spine.\n - `'paperback'`: cut flush, the cover a hairline on the same edge as the pages, a flat spine.\n - `'hardcover'`: rigid boards about 2.5 mm thick, overhanging a page block set in from them by about 3 mm, the endpapers showing in the gap, a headband, a rounded spine and a hinge groove on the front.\n- **`name`**, **`author`**, **`publisher`**: the same names as on `<mds-bibliography>`, so one catalogue record feeds both.\n- **The spine**: the title, then the author, at the head, and the publisher at the foot. Where the spine has room for two lines, at least 13.5% as deep as the book is wide (about 23 mm on a 17x24, some 270 pages in paperback), the author goes under the title, smaller, as on a thick volume.\n- **`publisher-logo`**: the mark of the publisher, printed instead of its name at the foot of the spine and of a drawn cover (a cover image carries its own). Only its shape is printed, as a mask, in `--mds-book-publisher-color`, which is the colour of the text unless set, so a mark of any colour prints in the ink of the book. Give an svg, or a png on a transparent ground; an image from another origin needs CORS headers, as any mask does. The place stays empty while the mark loads, and the name of the publisher is printed if it fails.\n- **Size**: the book is sized as an image is, in the proportions of its format: give it a width, and its height follows; give it a height, and its width follows. With neither, it fills the width of its container, as a block does; where nothing gives it a width (a row of a flex layout) it is 200 px wide. Its box is the front cover at rest: the turned book reaches a little beyond it, by a few percent of its width on each side standing, by up to a third lying spun round, so leave it some room inside a container that clips.\n",
|
|
3460
|
+
"2. Pattern": "Correct and idiomatic ways to use the `<mds-book>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### A Book from Its Cover\n\nThe canonical form: the cover image and the catalogue data. The title and the author name the book for assistive technologies and are printed on the spine.\n\n```html\n<mds-book\n src=\"/covers/operazioni-straordinarie.webp\"\n name=\"Operazioni straordinarie\"\n author=\"Antonio D'Amico e Sara Orlando\"\n publisher=\"Maggioli Editore\"\n></mds-book>\n```\n\n#### Pages and Binding from the Catalogue Record\n\nPass the page count and the binding of the record as they are: the book takes its true depth, so a booklet and a large manual do not look alike.\n\n```html\n<mds-book src=\"/covers/guida-rapida.webp\" name=\"Guida rapida al GDPR\" pages=\"64\"></mds-book>\n\n<mds-book\n src=\"/covers/codice-appalti.webp\"\n name=\"Codice dei contratti pubblici\"\n pages=\"1000\"\n binding=\"hardcover\"\n></mds-book>\n```\n\n#### A Catalogue Grid\n\nThe book takes the width of its cell. Give the grid some gap: the turned books reach a little beyond their boxes.\n\n```html\n<div class=\"grid grid-cols-4 gap-1200\">\n <mds-book src=\"/covers/1.webp\" name=\"Creare la holding\" author=\"Ennio Vial\"></mds-book>\n <mds-book src=\"/covers/2.webp\" name=\"Chief AI Officer\" pages=\"480\"></mds-book>\n <mds-book src=\"/covers/3.webp\" name=\"Aste immobiliari e vendita forzata\"></mds-book>\n <mds-book src=\"/covers/4.webp\" name=\"Agenda dei servizi demografici 2027\"></mds-book>\n</div>\n```\n\n#### A Pose for the Layout\n\nPick the pose that suits where the book sits: `spine` in a catalogue, `front` beside a description, `lying` or `lying-turned` for a book on a desk in a hero or a banner.\n\n```html\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" pose=\"front\"></mds-book>\n\n<mds-book\n src=\"/covers/codice-appalti.webp\"\n name=\"Codice dei contratti pubblici\"\n binding=\"hardcover\"\n pages=\"640\"\n pose=\"lying-turned\"\n></mds-book>\n```\n\n#### A Fixed Format\n\nWith `format=\"auto\"` (the default) the book takes the proportions of its image once it loads. Set the format when the catalogue knows it, so the book has its shape before the image arrives; write any format as `WxH` in centimetres, the width first.\n\n```html\n<mds-book src=\"/covers/modulistica.webp\" name=\"Modulistica\" format=\"a4\"></mds-book>\n\n<mds-book src=\"/covers/atlante.webp\" name=\"Atlante dei comuni\" format=\"29.7x21\"></mds-book>\n```\n\n#### A Book Without a Cover Image\n\nWithout `src`, the component draws a cover with the title, the author and the publisher. Give it the colour of the series.\n\n```html\n<mds-book\n name=\"Agenda dei servizi demografici 2027\"\n publisher=\"Maggioli Editore\"\n style=\"--mds-book-color: #f2a93b; --mds-book-text-color: #ffffff\"\n></mds-book>\n```\n\n#### The Mark of the Publisher\n\nGive the mark of the publisher instead of printing its name: it goes at the foot of the spine, and of the cover when the component draws it. Its shape is printed in the colour of the text, or in `--mds-book-publisher-color`; keep `publisher`, printed if the mark does not load.\n\n```html\n<mds-book\n name=\"Agenda dei servizi demografici 2027\"\n author=\"Redazione Maggioli\"\n publisher=\"Maggioli Editore\"\n publisher-logo=\"/logos/maggioli-editore.svg\"\n style=\"--mds-book-color: #f2a93b; --mds-book-text-color: #ffffff\"\n></mds-book>\n```\n\n#### A Solid Spine\n\nWhen the left edge of the cover does not continue well onto the spine (a photo, a thin white border), give the spine and the board edges a colour of their own.\n\n```html\n<mds-book\n src=\"/covers/manuale.webp\"\n name=\"Manuale\"\n style=\"--mds-book-spine-color: #123a6b\"\n></mds-book>\n```\n\n#### A Book That Opens Its Product Page\n\nThe book is an image, not a control: wrap it in a link, with the link named by the book. Turning the book with a drag does not open the link; a click does.\n\n```html\n<a href=\"/catalogo/creare-la-holding\">\n <mds-book src=\"/covers/creare-la-holding.webp\" name=\"Creare la holding\" author=\"Ennio Vial\"></mds-book>\n</a>\n```\n",
|
|
3461
3461
|
"3. Antipattern": "Common incorrect uses of `<mds-book>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use the `title` Attribute for the Title\n\n`title` is the native tooltip of every element: it shows a tooltip and prints nothing on the book. The title of the book is `name`.\n\n```html\n<!-- INCORRECT -->\n<mds-book src=\"/covers/manuale.webp\" title=\"Manuale\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\"></mds-book>\n```\n\n#### Do Not Draw the 3D With `<mds-img>` and CSS Transforms\n\nA transformed `<mds-img>` is a tilted flat picture: no spine, no pages, no drawn cover when the image fails, no reduced-motion handling.\n\n```html\n<!-- INCORRECT -->\n<mds-img src=\"/covers/manuale.webp\" alt=\"Manuale\" style=\"transform: perspective(600px) rotateY(25deg)\"></mds-img>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\"></mds-book>\n```\n\n#### Do Not Turn the Book With a Transform\n\nA transform on the host turns the flat box the book is drawn in: the light on the faces, the shadow and the drag still work from the pose, which no longer matches. Pick a `pose`.\n\n```html\n<!-- INCORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" style=\"transform: rotateX(60deg)\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" pose=\"lying\"></mds-book>\n```\n\n#### Do Not Set Both a Width and a Height\n\nThe book keeps the proportions of its format, as an image does: one dimension sets the other. Two that disagree leave the book as wide as its box and the box with a gap or an overflow.\n\n```html\n<!-- INCORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" style=\"width: 220px; height: 220px\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" style=\"height: 320px\"></mds-book>\n```\n\n#### Do Not Write a Landscape Format as a Separate Orientation\n\nThere is no orientation prop: the order of the two numbers of `format` is the orientation.\n\n```html\n<!-- INCORRECT -->\n<mds-book name=\"Atlante\" format=\"a4\" orientation=\"landscape\"></mds-book>\n\n<!-- CORRECT -->\n<mds-book name=\"Atlante\" format=\"29.7x21\"></mds-book>\n```\n\n#### Do Not Repeat the Name Next to the Book for Assistive Technologies\n\nThe book is already named after `name` and `author`. A visible caption that repeats them makes screen readers read the title twice: mark the book decorative with `alt=\"\"` when a caption names it.\n\n```html\n<!-- INCORRECT -->\n<figure>\n <mds-book src=\"/covers/manuale.webp\" name=\"Manuale\"></mds-book>\n <figcaption>Manuale</figcaption>\n</figure>\n\n<!-- CORRECT -->\n<figure>\n <mds-book src=\"/covers/manuale.webp\" name=\"Manuale\" alt=\"\"></mds-book>\n <figcaption>Manuale</figcaption>\n</figure>\n```\n"
|
|
3462
3462
|
},
|
|
3463
3463
|
"props": [
|
|
@@ -3498,7 +3498,7 @@
|
|
|
3498
3498
|
"mutable": false,
|
|
3499
3499
|
"attr": "author",
|
|
3500
3500
|
"reflectToAttr": false,
|
|
3501
|
-
"docs": "The author, printed on the
|
|
3501
|
+
"docs": "The author, printed on the cover drawn when there is no image, above the title, and on the\nspine after the title, or under it where the spine has room for two lines",
|
|
3502
3502
|
"docsTags": [],
|
|
3503
3503
|
"values": [
|
|
3504
3504
|
{
|
|
@@ -3773,7 +3773,7 @@
|
|
|
3773
3773
|
"mutable": false,
|
|
3774
3774
|
"attr": "publisher",
|
|
3775
3775
|
"reflectToAttr": false,
|
|
3776
|
-
"docs": "The publisher, printed at the foot of the spine and of the cover drawn when there is no
|
|
3776
|
+
"docs": "The publisher, printed at the foot of the spine and of the cover drawn when there is no\nimage, unless its `publisher-logo` is printed there instead",
|
|
3777
3777
|
"docsTags": [],
|
|
3778
3778
|
"values": [
|
|
3779
3779
|
{
|
|
@@ -3788,6 +3788,37 @@
|
|
|
3788
3788
|
"getter": false,
|
|
3789
3789
|
"setter": false
|
|
3790
3790
|
},
|
|
3791
|
+
{
|
|
3792
|
+
"name": "publisherLogo",
|
|
3793
|
+
"type": "string | undefined",
|
|
3794
|
+
"complexType": {
|
|
3795
|
+
"original": "string",
|
|
3796
|
+
"resolved": "string | undefined",
|
|
3797
|
+
"references": {}
|
|
3798
|
+
},
|
|
3799
|
+
"mutable": false,
|
|
3800
|
+
"attr": "publisher-logo",
|
|
3801
|
+
"reflectToAttr": false,
|
|
3802
|
+
"docs": "The mark of the publisher, printed instead of its name at the foot of the spine and of the\ncover drawn when there is no image: the path to an svg, or a png on a transparent ground.\nIts shape is printed, not its colours, in `--mds-book-publisher-color`. An image from\nanother origin needs CORS headers, as any mask does; one that does not load leaves the name",
|
|
3803
|
+
"docsTags": [
|
|
3804
|
+
{
|
|
3805
|
+
"name": "example",
|
|
3806
|
+
"text": "'/logos/maggioli-editore.svg'"
|
|
3807
|
+
}
|
|
3808
|
+
],
|
|
3809
|
+
"values": [
|
|
3810
|
+
{
|
|
3811
|
+
"type": "string"
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"type": "undefined"
|
|
3815
|
+
}
|
|
3816
|
+
],
|
|
3817
|
+
"optional": true,
|
|
3818
|
+
"required": false,
|
|
3819
|
+
"getter": false,
|
|
3820
|
+
"setter": false
|
|
3821
|
+
},
|
|
3791
3822
|
{
|
|
3792
3823
|
"name": "src",
|
|
3793
3824
|
"type": "string | undefined",
|
|
@@ -3885,6 +3916,13 @@
|
|
|
3885
3916
|
"docs": "The colour of the page block.",
|
|
3886
3917
|
"visibility": "internal"
|
|
3887
3918
|
},
|
|
3919
|
+
{
|
|
3920
|
+
"name": "--mds-book-publisher-color",
|
|
3921
|
+
"annotation": "prop",
|
|
3922
|
+
"docs": "The colour of the publisher at the foot of the spine and of the cover drawn when there is no image, its mark or its name. Unset, the colour of the text.",
|
|
3923
|
+
"visibility": "public",
|
|
3924
|
+
"static": true
|
|
3925
|
+
},
|
|
3888
3926
|
{
|
|
3889
3927
|
"name": "--mds-book-spine-color",
|
|
3890
3928
|
"annotation": "prop",
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"mds-text\",[[257,\"mds-text\",{\"animation\":[513],\"tag\":[1537],\"text\":[513],\"truncate\":[513],\"typography\":[513],\"variant\":[513]},null,{\"text\":[{\"textHandler\":0}]}]]],[\"mds-button_3\",[[321,\"mds-button\",{\"autoFocus\":[4,\"auto-focus\"],\"label\":[1537],\"animation\":[513],\"icon\":[1537],\"iconPosition\":[513,\"icon-position\"],\"type\":[513],\"name\":[513],\"value\":[513],\"variant\":[513],\"tone\":[513],\"size\":[513],\"active\":[1540],\"disabled\":[1540],\"await\":[1540],\"href\":[513],\"target\":[1],\"truncate\":[513]},null,{\"disabled\":[{\"disabledChanged\":0}],\"label\":[{\"labelChanged\":0}],\"await\":[{\"awaitChanged\":0}],\"type\":[{\"handleTypeChange\":0}],\"href\":[{\"handleHrefChange\":0}],\"variant\":[{\"handleVariantChange\":0}],\"aria-labelledby\":[{\"handleAriaLabelledbyChange\":0}]}],[1,\"mds-spinner\",{\"running\":[1540]},null,{\"running\":[{\"handleRunning\":0}]}],[1,\"mds-icon\",{\"name\":[513],\"svgHTML\":[32],\"_iconHref\":[32],\"setSvgPath\":[64]},null,{\"name\":[{\"updateIcon\":0}]}]]],[\"mds-input-upload\",[[65,\"mds-input-upload\",{\"accept\":[513],\"disabled\":[516],\"name\":[513],\"maxFileSize\":[514,\"max-file-size\"],\"maxFiles\":[514,\"max-files\"],\"sort\":[513],\"initialValue\":[16],\"dragging\":[32],\"files\":[32],\"progress\":[32],\"animateText\":[32],\"activeSort\":[32],\"formDisabled\":[32],\"getFiles\":[64],\"getFilesError\":[64],\"reset\":[64]},null,{\"initialValue\":[{\"updateInitialValue\":0}],\"name\":[{\"handleNameChange\":0}],\"sort\":[{\"handleSortChange\":0}],\"maxFiles\":[{\"handleMaxFilesChange\":0}]}]]],[\"mds-input-otp\",[[65,\"mds-input-otp\",{\"accessibleName\":[1,\"aria-label\"],\"length\":[2],\"autosubmit\":[516],\"disabled\":[516],\"value\":[1537],\"digits\":[32],\"formDisabled\":[32]},null,{\"value\":[{\"valueChanged\":0}]}]]],[\"mds-breadcrumb\",[[257,\"mds-breadcrumb\",{\"hideBack\":[4,\"hide-back\"]},[[0,\"mdsBreadcrumbItemSelect\",\"activedEventHandler\"]]]]],[\"mds-pref-language-item\",[[1,\"mds-pref-language-item\",{\"code\":[513],\"selected\":[516]},null,{\"code\":[{\"handleCodeChange\":0}]}]]],[\"mds-dropdown\",[[257,\"mds-dropdown\",{\"hideArrow\":[516,\"hide-arrow\"],\"arrowPadding\":[2,\"arrow-padding\"],\"disableAutoPlacement\":[4,\"disable-auto-placement\"],\"backdrop\":[516],\"flip\":[4],\"interaction\":[513],\"target\":[1],\"offset\":[2],\"placement\":[1],\"disableShift\":[4,\"disable-shift\"],\"shiftPadding\":[2,\"shift-padding\"],\"disableSmooth\":[4,\"disable-smooth\"],\"strategy\":[1],\"visible\":[1540],\"zIndex\":[2,\"z-index\"]},null,{\"hideArrow\":[{\"hideArrowChanged\":0}],\"arrowPadding\":[{\"arrowPaddingChanged\":0}],\"disableAutoPlacement\":[{\"disableAutoPlacementChanged\":0}],\"backdrop\":[{\"backdropChanged\":0}],\"flip\":[{\"flipChanged\":0}],\"offset\":[{\"offsetChanged\":0}],\"placement\":[{\"placementChanged\":0}],\"disableShift\":[{\"disableShiftChanged\":0}],\"shiftPadding\":[{\"shiftPaddingChanged\":0}],\"strategy\":[{\"strategyChanged\":0}],\"target\":[{\"targetChanged\":0}],\"visible\":[{\"visibleChanged\":0}]}]]],[\"mds-input-date\",[[65,\"mds-input-date\",{\"accessibleName\":[1,\"aria-label\"],\"value\":[513],\"name\":[513],\"variant\":[1537],\"min\":[1537],\"max\":[1537],\"delay\":[514],\"size\":[513],\"hideToday\":[516,\"hide-today\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"formDisabled\":[32],\"empty\":[32],\"isValid\":[32],\"touched\":[32],\"calendarKey\":[32],\"dropdownRef\":[32],\"hasFocus\":[32],\"focusInput\":[64],\"setValue\":[64],\"getErrors\":[64]},[[0,\"invalid\",\"invalidHandler\"]],{\"value\":[{\"handleValue\":0}],\"max\":[{\"validationRulesChanged\":0}],\"min\":[{\"validationRulesChanged\":0}],\"required\":[{\"validationRulesChanged\":0}]}]]],[\"mds-policy-ai\",[[1,\"mds-policy-ai\",{\"headline\":[513],\"description\":[513],\"variant\":[513],\"href\":[513]}]]],[\"mds-avatar-stack\",[[257,\"mds-avatar-stack\",{\"size\":[513],\"total\":[514],\"itemsCount\":[32]}]]],[\"mds-input-date-range\",[[321,\"mds-input-date-range\",{\"accessibleName\":[1,\"aria-label\"],\"startDate\":[513,\"start-date\"],\"endDate\":[513,\"end-date\"],\"min\":[513],\"max\":[513],\"delay\":[514],\"size\":[513],\"hideToday\":[516,\"hide-today\"],\"dualCalendar\":[516,\"dual-calendar\"],\"name\":[513],\"disabled\":[516],\"calendarKey\":[32],\"internalStartDate\":[32],\"internalEndDate\":[32],\"visibleCalendarDate\":[32],\"dropdownRef\":[32],\"hasPreselection\":[32],\"formDisabled\":[32],\"preselect\":[64]},null,{\"startDate\":[{\"handleStartDateChange\":0}],\"endDate\":[{\"handleEndDateChange\":0}],\"min\":[{\"handleRangeChange\":0}],\"max\":[{\"handleRangeChange\":0}],\"disabled\":[{\"handleDisabledChange\":0}]}]]],[\"mds-pref-language\",[[257,\"mds-pref-language\",{\"size\":[513],\"set\":[1537],\"showDropdown\":[32]},[[0,\"mdsPrefLanguageItemSelect\",\"handleItemSelect\"]],{\"set\":[{\"handleSetChange\":0}]}]]],[\"mds-pref-theme\",[[257,\"mds-pref-theme\",{\"size\":[513],\"name\":[1537],\"scheme\":[1537],\"cornerShape\":[1537,\"corner-shape\"],\"showDropdown\":[32]},[[0,\"mdsPrefThemeItemSelect\",\"handleItemSelect\"]],{\"name\":[{\"handleNameChange\":0}],\"scheme\":[{\"handleSchemeChange\":0}],\"cornerShape\":[{\"handleCornerShapeChange\":0}]}]]],[\"mds-table-header\",[[257,\"mds-table-header\",{\"selectable\":[4],\"selectAll\":[32],\"hasActions\":[32],\"indeterminate\":[32],\"hasSelection\":[32],\"setSelection\":[64],\"setActions\":[64]}]]],[\"mds-entity\",[[257,\"mds-entity\",{\"await\":[516],\"icon\":[513],\"src\":[513],\"initials\":[513],\"tone\":[513],\"variant\":[513],\"hasDetails\":[32],\"hasActions\":[32]}]]],[\"mds-pref-animation\",[[1,\"mds-pref-animation\",{\"size\":[513],\"mode\":[1537]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-pref-consumption\",[[1,\"mds-pref-consumption\",{\"size\":[513],\"mode\":[1537]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-pref-contrast\",[[1,\"mds-pref-contrast\",{\"size\":[513],\"mode\":[1537]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-pref-mode\",[[1,\"mds-pref-mode\",{\"size\":[513],\"mode\":[1537],\"transition\":[1537],\"lockedScheme\":[513,\"locked-scheme\"]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-push-notification-item\",[[257,\"mds-push-notification-item\",{\"datetime\":[1537],\"dateFormat\":[513,\"date-format\"],\"dismissible\":[1540],\"deletable\":[1540],\"icon\":[513],\"initials\":[1537],\"message\":[513],\"preview\":[513],\"src\":[513],\"subject\":[513],\"tone\":[513],\"variant\":[513],\"hasActions\":[32],\"hasBadge\":[32]},null,{\"dismissible\":[{\"handleDismissibleChange\":0}],\"deletable\":[{\"handleDeletableChange\":0}]}]]],[\"mds-button-dropdown\",[[321,\"mds-button-dropdown\",{\"label\":[1],\"autoFocus\":[4,\"auto-focus\"],\"icon\":[1537],\"type\":[513],\"name\":[513],\"value\":[513],\"variant\":[513],\"tone\":[513],\"size\":[513],\"active\":[1540],\"disabled\":[1540],\"await\":[1540],\"href\":[513],\"target\":[1],\"truncate\":[513],\"formDisabled\":[32]}]]],[\"mds-header\",[[257,\"mds-header\",{\"appearance\":[1537],\"appearanceSet\":[513,\"appearance-set\"],\"autoHide\":[514,\"auto-hide\"],\"hideBackdrop\":[516,\"hide-backdrop\"],\"menu\":[513],\"nav\":[513],\"threshold\":[514],\"visibility\":[1537],\"hasMenu\":[32],\"isOpened\":[32],\"setOpened\":[64]},null,{\"menu\":[{\"onMenuChangedHandler\":0}],\"nav\":[{\"onNavChangedHandler\":0}],\"appearanceSet\":[{\"onAppearanceSetChangedHandler\":0}],\"visibility\":[{\"handleVisibilityChange\":0}]}]]],[\"mds-keyboard\",[[257,\"mds-keyboard\",{\"test\":[1537],\"try\":[516],\"testPassed\":[32]},null,{\"try\":[{\"handleTryProperty\":0}]}]]],[\"mds-radial-menu-item\",[[1,\"mds-radial-menu-item\",{\"tooltip\":[513],\"icon\":[1537],\"tone\":[513],\"variant\":[513],\"size\":[513]}]]],[\"mds-status-bar\",[[257,\"mds-status-bar\",{\"description\":[513],\"overflow\":[513],\"position\":[513],\"visible\":[1540],\"hide\":[64]},null,{\"visible\":[{\"handleVisbilityProp\":0}]}]]],[\"mds-stepper-bar-item\",[[1,\"mds-stepper-bar-item\",{\"label\":[1],\"step\":[4],\"badge\":[1540],\"icon\":[1],\"iconChecked\":[1,\"icon-checked\"],\"done\":[516],\"current\":[1540],\"value\":[513],\"typography\":[1],\"isDone\":[32],\"isCurrent\":[32],\"index\":[32]},null,{\"done\":[{\"selectedHandler\":0}],\"current\":[{\"currentHandler\":0}]}]]],[\"mds-accordion-timer-item\",[[257,\"mds-accordion-timer-item\",{\"typography\":[1],\"selected\":[516],\"description\":[1],\"duration\":[514],\"progress\":[2],\"uuid\":[2]},null,{\"selected\":[{\"handleSelected\":0}]}]]],[\"mds-benchmark-bar\",[[257,\"mds-benchmark-bar\",{\"label\":[1537],\"alias\":[1],\"typography\":[1],\"value\":[2],\"variant\":[513],\"size\":[513]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-breadcrumb-item\",[[1,\"mds-breadcrumb-item\",{\"selected\":[1540],\"label\":[513]}]]],[\"mds-header-bar\",[[257,\"mds-header-bar\",{\"menu\":[513],\"nav\":[513],\"hasNav\":[32],\"isOpened\":[32],\"setOpened\":[64]}]]],[\"mds-horizontal-scroll\",[[257,\"mds-horizontal-scroll\",{\"controls\":[1537],\"navigation\":[513],\"snap\":[513],\"hasCompatibility\":[32],\"showForward\":[32],\"showBack\":[32]},null,{\"navigation\":[{\"watchNavigation\":0}]}]]],[\"mds-input-date-range-preselection\",[[257,\"mds-input-date-range-preselection\",{\"selected\":[1540],\"start\":[513],\"end\":[513]}]]],[\"mds-input-select\",[[321,\"mds-input-select\",{\"accessibleName\":[1,\"aria-label\"],\"autocomplete\":[513],\"autoFocus\":[516,\"auto-focus\"],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"required\":[516],\"multiple\":[516],\"rows\":[514],\"size\":[520],\"value\":[520],\"defaultValue\":[520,\"default-value\"],\"variant\":[513],\"hasFocus\":[32],\"formDisabled\":[32],\"setValue\":[64]},null,{\"value\":[{\"valueChanged\":0}],\"required\":[{\"requiredChanged\":0}],\"name\":[{\"nameChanged\":0}],\"disabled\":[{\"disabledChanged\":0}],\"placeholder\":[{\"placeholderChanged\":0}],\"size\":[{\"sizeChanged\":0}]}]]],[\"mds-label\",[[1,\"mds-label\",{\"label\":[513],\"variant\":[513],\"tone\":[513],\"truncate\":[513],\"typography\":[1],\"deletable\":[4]}]]],[\"mds-mention\",[[1,\"mds-mention\",{\"deletable\":[516],\"icon\":[513],\"label\":[513],\"size\":[513]}]]],[\"mds-note\",[[257,\"mds-note\",{\"deletable\":[4],\"variant\":[513]}]]],[\"mds-pref-theme-item\",[[1,\"mds-pref-theme-item\",{\"label\":[1537],\"name\":[513],\"scheme\":[513],\"selected\":[516]}]]],[\"mds-push-notification\",[[257,\"mds-push-notification\",{\"visible\":[1540],\"behavior\":[1],\"show\":[64],\"hide\":[64],\"removeNotification\":[64]},null,{\"visible\":[{\"visibleChanged\":0}]}]]],[\"mds-radial-menu\",[[257,\"mds-radial-menu\",{\"angleStart\":[514,\"angle-start\"],\"angleEnd\":[514,\"angle-end\"],\"radius\":[514],\"direction\":[513],\"opened\":[1540],\"disc\":[1540],\"backdrop\":[516],\"interaction\":[513],\"icon\":[1537],\"variant\":[513],\"tone\":[513],\"size\":[513]},null,{\"disc\":[{\"onDiscChanged\":0}],\"backdrop\":[{\"backdropChanged\":0}],\"interaction\":[{\"onInteractionChange\":0}],\"angleStart\":[{\"onAngleStartChange\":0}],\"angleEnd\":[{\"onAngleEndChange\":0}],\"radius\":[{\"onRadiusChange\":0}],\"size\":[{\"onSizeChange\":0}],\"opened\":[{\"onOpenedChange\":0}]}]]],[\"mds-table-row\",[[257,\"mds-table-row\",{\"interactive\":[516],\"overlayActions\":[516,\"overlay-actions\"],\"selectable\":[516],\"selected\":[1540],\"selection\":[516],\"value\":[520],\"hasActions\":[32],\"sizerWidth\":[32]},null,{\"selected\":[{\"selectedChanged\":0}]}]]],[\"mds-toast\",[[257,\"mds-toast\",{\"duration\":[1538],\"visible\":[1540],\"variant\":[513],\"tone\":[513],\"position\":[1537],\"dismissible\":[4],\"deletable\":[4],\"hasActions\":[32],\"stacked\":[32]},null,{\"visible\":[{\"visibleChanged\":0}],\"duration\":[{\"durationChanged\":0}]}]]],[\"mds-tree-item\",[[257,\"mds-tree-item\",{\"actions\":[513],\"async\":[516],\"depth\":[514],\"label\":[1],\"toggle\":[513],\"togglePosition\":[513,\"toggle-position\"],\"appearance\":[513],\"expanded\":[1540],\"truncate\":[513],\"icon\":[1],\"hasActions\":[32],\"hasChildren\":[32],\"currentToggleIcon\":[32],\"await\":[32],\"resolvedActions\":[32],\"expand\":[64],\"refreshActions\":[64]},null,{\"toggle\":[{\"handleIconChange\":0}],\"expanded\":[{\"handleExpandedChange\":0}],\"actions\":[{\"handleActionsChange\":0}]}]]],[\"mds-url-view\",[[1,\"mds-url-view\",{\"icon\":[513],\"label\":[513],\"src\":[513],\"loading\":[513]}]]],[\"mds-file\",[[1,\"mds-file\",{\"suffix\":[513],\"description\":[1],\"filename\":[1],\"preview\":[1],\"hideDownloadedIcon\":[4,\"hide-downloaded-icon\"],\"format\":[1537],\"wasDownloaded\":[32]},null,{\"filename\":[{\"handleFilename\":0}]}]]],[\"mds-filter\",[[257,\"mds-filter\",{\"autoReset\":[516,\"auto-reset\"],\"label\":[1],\"multiple\":[516],\"reset\":[516],\"active\":[32],\"itemsSelected\":[32]},[[0,\"mdsFilterItemSelect\",\"activeEventHandler\"]]]]],[\"mds-paginator\",[[1,\"mds-paginator\",{\"pages\":[2],\"currentPage\":[1538,\"current-page\"]}]]],[\"mds-keyboard-key\",[[1,\"mds-keyboard-key\",{\"name\":[513],\"pressed\":[516]}]]],[\"mds-kpi-item\",[[1,\"mds-kpi-item\",{\"label\":[1],\"description\":[1],\"threshold\":[2],\"icon\":[1],\"isIntersecting\":[32]}]]],[\"mds-list-item\",[[257,\"mds-list-item\",{\"typography\":[513],\"variant\":[1],\"icon\":[1]}]]],[\"mds-tab-bar-item\",[[257,\"mds-tab-bar-item\",{\"icon\":[1],\"label\":[1537],\"selected\":[1540],\"typography\":[1]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-table\",[[257,\"mds-table\",{\"interactive\":[4],\"selectable\":[4],\"selection\":[1540],\"sorting\":[513],\"hasBatchActions\":[32],\"selectedRows\":[32],\"updateSelection\":[64],\"updateActions\":[64],\"selectAll\":[64]},null,{\"interactive\":[{\"onTableInteractive\":0}],\"selectable\":[{\"onTableSelectable\":0}]}]]],[\"mds-usage\",[[257,\"mds-usage\",{\"variant\":[513],\"alias\":[1],\"icon\":[1]}]]],[\"mds-accordion-item\",[[257,\"mds-accordion-item\",{\"typography\":[1],\"selected\":[1540],\"label\":[1]}]]],[\"mds-bibliography\",[[1,\"mds-bibliography\",{\"format\":[1],\"author\":[1],\"name\":[1],\"publisher\":[1],\"date\":[1],\"location\":[1],\"rel\":[1],\"typography\":[1],\"variant\":[1],\"url\":[1]}]]],[\"mds-input-field\",[[321,\"mds-input-field\",{\"label\":[1025],\"message\":[1025],\"variant\":[1537]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-input-range\",[[321,\"mds-input-range\",{\"formatValue\":[16],\"name\":[513],\"max\":[2],\"min\":[2],\"step\":[2],\"disabled\":[1540],\"value\":[1538],\"progress\":[32],\"formDisabled\":[32]},null,{\"disabled\":[{\"disabledChanged\":0}],\"value\":[{\"valueChanged\":0}],\"min\":[{\"minChanged\":0}],\"max\":[{\"maxChanged\":0}],\"step\":[{\"stepChanged\":0}]}]]],[\"mds-link\",[[273,\"mds-link\",{\"label\":[513],\"href\":[513],\"target\":[1],\"icon\":[513],\"iconPosition\":[513,\"icon-position\"],\"variant\":[513],\"tone\":[513],\"underline\":[513]}]]],[\"mds-notification\",[[1,\"mds-notification\",{\"target\":[1],\"value\":[1538],\"dismissed\":[1540],\"strategy\":[1537],\"max\":[514],\"describing\":[32]},null,{\"strategy\":[{\"strategyHandler\":0}]}]]],[\"mds-pref\",[[257,\"mds-pref\",{\"size\":[513],\"controller\":[1540],\"showReload\":[32]},[[0,\"mdsPrefChange\",\"handlePrefChange\"],[0,\"mdsPrefThemeChange\",\"handleThemeChange\"]],{\"controller\":[{\"handleControllerChange\":0}],\"size\":[{\"handleSizeChange\":0}]}]]],[\"mds-price-table-features\",[[257,\"mds-price-table-features\",{\"label\":[1]}]]],[\"mds-price-table-features-cell\",[[257,\"mds-price-table-features-cell\",{\"type\":[513]}]]],[\"mds-price-table-list\",[[257,\"mds-price-table-list\",{\"hasItems\":[32]}]]],[\"mds-price-table-list-item\",[[257,\"mds-price-table-list-item\",{\"supported\":[516],\"typography\":[513]}]]],[\"mds-quote\",[[257,\"mds-quote\",{\"typography\":[1],\"tag\":[1]}]]],[\"mds-table-footer\",[[257,\"mds-table-footer\",{\"selectable\":[4],\"hasActions\":[32]}]]],[\"mds-accordion\",[[257,\"mds-accordion\",{\"multiple\":[4],\"disableClose\":[4,\"disable-close\"]},[[0,\"mdsAccordionItemSelect\",\"selectedEventHandler\"],[0,\"mdsAccordionItemUnselect\",\"unselectedEventHandler\"]]]]],[\"mds-accordion-timer\",[[257,\"mds-accordion-timer\",{\"duration\":[514],\"paused\":[516],\"time\":[32]},[[0,\"mdsAccordionTimerItemClickSelect\",\"onClickSelect\"],[0,\"mdsAccordionTimerItemSelect\",\"onSelect\"],[0,\"mdsAccordionTimerItemMouseEnterSelect\",\"onMouseEnterSelect\"],[0,\"mdsAccordionTimerItemMouseLeaveSelect\",\"onMouseLeaveSelect\"]],{\"paused\":[{\"handlePaused\":0}]}]]],[\"mds-author\",[[257,\"mds-author\",{\"hasAvatar\":[32]}]]],[\"mds-book\",[[1,\"mds-book\",{\"alt\":[1],\"author\":[1],\"binding\":[513],\"format\":[513],\"loading\":[1],\"name\":[1],\"pages\":[2],\"pose\":[513],\"publisher\":[1],\"src\":[1],\"coverUrl\":[32],\"imageError\":[32],\"imageRatio\":[32]},[[1,\"pointerenter\",\"pointerEnterHandler\"],[1,\"pointermove\",\"pointerMoveHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"],[1,\"pointerup\",\"pointerUpHandler\"],[1,\"pointercancel\",\"pointerLostHandler\"],[0,\"lostpointercapture\",\"pointerLostHandler\"],[1,\"pointerleave\",\"pointerLeaveHandler\"],[2,\"click\",\"clickHandler\"]],{\"format\":[{\"formatHandler\":0}],\"pages\":[{\"pagesHandler\":0}],\"pose\":[{\"poseHandler\":0}],\"src\":[{\"srcHandler\":0}]}]]],[\"mds-button-group\",[[257,\"mds-button-group\"]]],[\"mds-card\",[[257,\"mds-card\",{\"disableAutoGrid\":[516,\"disable-auto-grid\"],\"layout\":[32]}]]],[\"mds-card-content\",[[257,\"mds-card-content\"]]],[\"mds-card-footer\",[[257,\"mds-card-footer\"]]],[\"mds-card-header\",[[257,\"mds-card-header\",{\"hasActions\":[32]}]]],[\"mds-card-media\",[[257,\"mds-card-media\"]]],[\"mds-details\",[[257,\"mds-details\",{\"opened\":[1540],\"isOpened\":[32],\"hasIcon\":[32]},null,{\"opened\":[{\"validateOpened\":0}]}]]],[\"mds-emoji\",[[1,\"mds-emoji\",{\"name\":[513],\"agree\":[64],\"smile\":[64],\"disagree\":[64],\"startThinking\":[64],\"stopThinking\":[64],\"startBlinking\":[64],\"stopBlinking\":[64],\"stopFollowMouse\":[64],\"startFollowMouse\":[64]},null,{\"name\":[{\"checkNameChanged\":0}]}]]],[\"mds-hr\",[[1,\"mds-hr\"]]],[\"mds-kpi\",[[257,\"mds-kpi\"]]],[\"mds-list\",[[257,\"mds-list\"]]],[\"mds-price-table\",[[257,\"mds-price-table\"]]],[\"mds-price-table-features-row\",[[257,\"mds-price-table-features-row\",{\"cellPercWidth\":[32]}]]],[\"mds-price-table-header\",[[257,\"mds-price-table-header\"]]],[\"mds-stepper-bar\",[[257,\"mds-stepper-bar\",{\"itemsDone\":[2,\"items-done\"],\"navigation\":[513],\"currentItem\":[32]},null,{\"itemsDone\":[{\"itemDone\":0}]}]]],[\"mds-tab-bar\",[[257,\"mds-tab-bar\",null,[[0,\"mdsTabBarItemSelect\",\"changeEventHandler\"]]]]],[\"mds-table-body\",[[257,\"mds-table-body\",{\"interactive\":[516],\"selection\":[516]}]]],[\"mds-toast-region\",[[257,\"mds-toast-region\",{\"position\":[513],\"max\":[514]},null,{\"position\":[{\"positionChanged\":0}],\"max\":[{\"maxChanged\":0}]}]]],[\"mds-tree\",[[257,\"mds-tree\",{\"appearance\":[513],\"async\":[516],\"label\":[1],\"toggle\":[513],\"togglePosition\":[513,\"toggle-position\"],\"expanded\":[1540],\"truncate\":[513],\"actions\":[513]},null,{\"expanded\":[{\"handleExpandedChange\":0}],\"toggle\":[{\"handleToggleChange\":0}],\"togglePosition\":[{\"handleTogglePositionChange\":0}],\"appearance\":[{\"handleAppearanceChange\":0}],\"actions\":[{\"handleActionsChange\":0}],\"truncate\":[{\"handleTruncateChange\":0}]}]]],[\"mds-video-wall\",[[257,\"mds-video-wall\",{\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"noise\":[1],\"poster\":[1],\"preload\":[1],\"src\":[1],\"hasContent\":[32]}]]],[\"mds-zero\",[[257,\"mds-zero\"]]],[\"mds-input\",[[65,\"mds-input\",{\"accessibleName\":[1,\"aria-label\"],\"autocomplete\":[513],\"autofocus\":[516],\"await\":[516],\"controlsLayout\":[513,\"controls-layout\"],\"controlsIcon\":[513,\"controls-icon\"],\"datalist\":[16],\"disabled\":[516],\"icon\":[1537],\"max\":[520],\"maxlength\":[1538],\"mic\":[516],\"min\":[520],\"minlength\":[514],\"name\":[513],\"pattern\":[513],\"placeholder\":[513],\"readonly\":[516],\"required\":[516],\"variant\":[1537],\"tip\":[513],\"size\":[513],\"step\":[513],\"type\":[513],\"typography\":[513],\"value\":[1537],\"hasFocus\":[32],\"isRecording\":[32],\"currentLengthLabel\":[32],\"countVariant\":[32],\"isPasswordVisible\":[32],\"formDisabled\":[32],\"addValidator\":[64],\"removeValidator\":[64],\"hasValidator\":[64],\"getErrors\":[64],\"setFocus\":[64],\"getInputElement\":[64]},[[0,\"invalid\",\"invalidHandler\"]],{\"max\":[{\"validationRulesChanged\":0}],\"maxlength\":[{\"validationRulesChanged\":0},{\"maxLengthChanged\":0}],\"min\":[{\"validationRulesChanged\":0}],\"minlength\":[{\"validationRulesChanged\":0}],\"pattern\":[{\"validationRulesChanged\":0}],\"required\":[{\"validationRulesChanged\":0}],\"type\":[{\"validationRulesChanged\":0}],\"value\":[{\"valueChanged\":0}],\"variant\":[{\"variantChanged\":0}],\"disabled\":[{\"disabledChanged\":0}]}]]],[\"mds-filter-item\",[[1,\"mds-filter-item\",{\"selected\":[1540],\"label\":[513],\"icon\":[513],\"value\":[513],\"count\":[513],\"disabled\":[516]}]]],[\"mds-modal\",[[257,\"mds-modal\",{\"accessibleName\":[1,\"aria-label\"],\"opened\":[1540],\"hideBackdrop\":[1540,\"hide-backdrop\"],\"position\":[1537],\"animation\":[513],\"overflow\":[513],\"interaction\":[513],\"hasBottom\":[32],\"hasTop\":[32],\"hasWindow\":[32],\"windowHeaderHeight\":[32],\"windowFooterHeight\":[32],\"close\":[64]},null,{\"opened\":[{\"handleOpenProp\":0}],\"hideBackdrop\":[{\"handleHideBackdropProp\":0}]}]]],[\"mds-img\",[[1,\"mds-img\",{\"alt\":[1537],\"crossorigin\":[1],\"height\":[1],\"loading\":[1],\"referrerpolicy\":[1],\"sizes\":[1],\"src\":[1],\"srcset\":[1],\"srcsetConsumption\":[1,\"srcset-consumption\"],\"width\":[1],\"imageConsumptionLoaded\":[32],\"imageError\":[32]},null,{\"srcsetConsumption\":[{\"srcsetConsumptionHandler\":0}],\"src\":[{\"srcHandler\":0}]}]]],[\"mds-avatar-stack-item\",[[1,\"mds-avatar-stack-item\",{\"count\":[514],\"initials\":[1537],\"src\":[513],\"tone\":[513],\"variant\":[513]}]]],[\"mds-file-preview\",[[1,\"mds-file-preview\",{\"deletable\":[516],\"downloadable\":[516],\"description\":[513],\"filename\":[513],\"filesize\":[513],\"message\":[513],\"truncate\":[513],\"src\":[513],\"suffix\":[513],\"icon\":[513],\"variant\":[513],\"format\":[1537]},null,{\"filename\":[{\"handleFilename\":0}]}]]],[\"mds-table-header-cell\",[[1,\"mds-table-header-cell\",{\"sortable\":[516],\"label\":[513],\"sortKey\":[513,\"sort-key\"],\"direction\":[1537]},null,{\"direction\":[{\"directionHandler\":0}]}]]],[\"mds-paginator-item\",[[257,\"mds-paginator-item\",{\"icon\":[513],\"selected\":[516],\"disabled\":[516]}]]],[\"mds-separator\",[[1,\"mds-separator\"]]],[\"mds-banner_3\",[[257,\"mds-banner\",{\"variant\":[513],\"tone\":[513],\"hideCockade\":[516,\"hide-cockade\"],\"dismissible\":[4],\"deletable\":[4],\"headline\":[1],\"icon\":[1],\"closeButtonVariant\":[32],\"hasActions\":[32]},null,{\"variant\":[{\"variantHandler\":0}]}],[1,\"mds-chip\",{\"clickable\":[1540],\"deletable\":[4],\"disabled\":[516],\"icon\":[1],\"label\":[513],\"selected\":[1540],\"selectable\":[516],\"variant\":[513],\"tone\":[513]},null,{\"selectable\":[{\"handleSelectableProp\":0}],\"selected\":[{\"handleSelectedProp\":0}]}],[257,\"mds-help\",{\"icon\":[1],\"disableAutoPlacement\":[516,\"disable-auto-placement\"],\"placement\":[513]}]]],[\"mds-avatar\",[[1,\"mds-avatar\",{\"icon\":[513],\"initials\":[1537],\"count\":[1538],\"src\":[513],\"tone\":[513],\"variant\":[1537],\"imageFailed\":[32],\"loaded\":[32]},null,{\"initials\":[{\"initialsHandler\":0}],\"count\":[{\"countHandler\":0}],\"src\":[{\"srcHandler\":0}]}]]],[\"mds-tooltip\",[[257,\"mds-tooltip\",{\"hideArrow\":[4,\"hide-arrow\"],\"arrowPadding\":[2,\"arrow-padding\"],\"disableAutoPlacement\":[516,\"disable-auto-placement\"],\"flip\":[4],\"target\":[513],\"offset\":[2],\"placement\":[513],\"relation\":[513],\"typography\":[1],\"disableShift\":[4,\"disable-shift\"],\"shiftPadding\":[2,\"shift-padding\"],\"strategy\":[513],\"visible\":[1540]},null,{\"hideArrow\":[{\"hideArrowChanged\":0}],\"disableAutoPlacement\":[{\"disableAutoPlacementChanged\":0}],\"flip\":[{\"flipChanged\":0}],\"offset\":[{\"offsetChanged\":0}],\"placement\":[{\"placementChanged\":0}],\"disableShift\":[{\"disableShiftChanged\":0}],\"shiftPadding\":[{\"shiftPaddingChanged\":0}],\"strategy\":[{\"strategyChanged\":0}],\"relation\":[{\"relationChanged\":0}],\"visible\":[{\"visibleChanged\":0}],\"target\":[{\"targetChanged\":0}]}]]],[\"mds-calendar_2\",[[257,\"mds-calendar\",{\"singlePicker\":[4,\"single-picker\"],\"hidePreviousButton\":[4,\"hide-previous-button\"],\"hideNextButton\":[4,\"hide-next-button\"],\"disableMonthYearSelection\":[4,\"disable-month-year-selection\"],\"hidePreselection\":[4,\"hide-preselection\"],\"hideToday\":[4,\"hide-today\"],\"viewDate\":[513,\"view-date\"],\"hoverDate\":[513,\"hover-date\"],\"startDate\":[513,\"start-date\"],\"endDate\":[513,\"end-date\"],\"min\":[513],\"max\":[513],\"hasPreselection\":[32],\"currentDate\":[32],\"weekDaysinMonth\":[32],\"weekdays\":[32],\"startDateIdentifier\":[32],\"endDateIdentifier\":[32],\"isFirstClick\":[32],\"currentView\":[32],\"selectedYear\":[32],\"internalStartDate\":[32],\"internalEndDate\":[32],\"currentMonth\":[32],\"currentYear\":[32],\"updateCurrentDate\":[64]},null,{\"startDate\":[{\"handleStartDate\":0}],\"endDate\":[{\"handleEndDate\":0}],\"viewDate\":[{\"handleViewDate\":0}],\"hoverDate\":[{\"handleHoverDate\":0}]}],[1,\"mds-calendar-cell\",{\"month\":[513],\"label\":[513],\"date\":[513],\"orientation\":[513],\"preview\":[516],\"selection\":[513],\"disabled\":[516],\"today\":[516]}]]],[\"mds-input-switch_2\",[[321,\"mds-input-switch\",{\"autofocus\":[516],\"checked\":[1540],\"disabled\":[1540],\"explicit\":[516],\"icon\":[513],\"indeterminate\":[1540],\"name\":[513],\"size\":[513],\"type\":[513],\"typography\":[513],\"variant\":[513],\"value\":[1537],\"formDisabled\":[32],\"knobSliding\":[32],\"hasText\":[32]},null,{\"disabled\":[{\"disabledChanged\":0}],\"checked\":[{\"checkedChanged\":0}],\"value\":[{\"valueChanged\":0}],\"explicit\":[{\"explicitChanged\":0}]}],[257,\"mds-table-cell\",{\"value\":[520]}]]],[\"mds-badge\",[[257,\"mds-badge\",{\"label\":[1537],\"variant\":[513],\"tone\":[513],\"typography\":[513]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-input-tip_2\",[[257,\"mds-input-tip-item\",{\"variant\":[513],\"expanded\":[1540]},null,{\"expanded\":[{\"handleEcpandedChanged\":0}]}],[257,\"mds-input-tip\",{\"active\":[516],\"position\":[513]}]]],[\"mds-progress_2\",[[1,\"mds-progress\",{\"progress\":[2],\"direction\":[513],\"variant\":[513],\"typography\":[1],\"size\":[513],\"steps\":[1],\"leftOut\":[32]},null,{\"steps\":[{\"stepsChanged\":0}],\"aria-hidden\":[{\"ariaHiddenChanged\":0}]}],[1,\"mds-radial-progress\",{\"progress\":[2],\"icon\":[513],\"typography\":[513],\"variant\":[513],\"animatedProgress\":[32]},null,{\"progress\":[{\"onProgressChange\":0}]}]]],[\"mds-tab_2\",[[1,\"mds-tab-item\",{\"await\":[516],\"selected\":[1540],\"disabled\":[1540],\"icon\":[1],\"label\":[513],\"iconPosition\":[1,\"icon-position\"],\"type\":[1],\"size\":[513],\"direction\":[513],\"animation\":[513],\"value\":[513],\"href\":[513],\"expanded\":[4],\"isSelected\":[32],\"hasText\":[32]},null,{\"selected\":[{\"validateActive\":0}]}],[257,\"mds-tab\",{\"direction\":[1537],\"scrollbar\":[1540],\"animation\":[513],\"fill\":[1540],\"overflow\":[1540],\"size\":[1537],\"sliderWidth\":[32],\"sliderHeight\":[32],\"sliderOffsetX\":[32],\"sliderOffsetY\":[32],\"sliderSlides\":[32],\"overflowLeft\":[32],\"overflowRight\":[32],\"navigation\":[32],\"hasContent\":[32]},[[0,\"mdsTabItemSelect\",\"changeEventHandler\"],[0,\"mdsTabItemFocus\",\"focusEventHandler\"]],{\"animation\":[{\"handleAnimationChange\":0}],\"direction\":[{\"handleDirectionChange\":0}],\"scrollbar\":[{\"handleScrollbarChange\":0}],\"fill\":[{\"handleFillChange\":0}],\"overflow\":[{\"handleOverflowChange\":0}],\"size\":[{\"handleSizeChange\":0}]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"mds-text\",[[257,\"mds-text\",{\"animation\":[513],\"tag\":[1537],\"text\":[513],\"truncate\":[513],\"typography\":[513],\"variant\":[513]},null,{\"text\":[{\"textHandler\":0}]}]]],[\"mds-button_3\",[[321,\"mds-button\",{\"autoFocus\":[4,\"auto-focus\"],\"label\":[1537],\"animation\":[513],\"icon\":[1537],\"iconPosition\":[513,\"icon-position\"],\"type\":[513],\"name\":[513],\"value\":[513],\"variant\":[513],\"tone\":[513],\"size\":[513],\"active\":[1540],\"disabled\":[1540],\"await\":[1540],\"href\":[513],\"target\":[1],\"truncate\":[513]},null,{\"disabled\":[{\"disabledChanged\":0}],\"label\":[{\"labelChanged\":0}],\"await\":[{\"awaitChanged\":0}],\"type\":[{\"handleTypeChange\":0}],\"href\":[{\"handleHrefChange\":0}],\"variant\":[{\"handleVariantChange\":0}],\"aria-labelledby\":[{\"handleAriaLabelledbyChange\":0}]}],[1,\"mds-spinner\",{\"running\":[1540]},null,{\"running\":[{\"handleRunning\":0}]}],[1,\"mds-icon\",{\"name\":[513],\"svgHTML\":[32],\"_iconHref\":[32],\"setSvgPath\":[64]},null,{\"name\":[{\"updateIcon\":0}]}]]],[\"mds-input-upload\",[[65,\"mds-input-upload\",{\"accept\":[513],\"disabled\":[516],\"name\":[513],\"maxFileSize\":[514,\"max-file-size\"],\"maxFiles\":[514,\"max-files\"],\"sort\":[513],\"initialValue\":[16],\"dragging\":[32],\"files\":[32],\"progress\":[32],\"animateText\":[32],\"activeSort\":[32],\"formDisabled\":[32],\"getFiles\":[64],\"getFilesError\":[64],\"reset\":[64]},null,{\"initialValue\":[{\"updateInitialValue\":0}],\"name\":[{\"handleNameChange\":0}],\"sort\":[{\"handleSortChange\":0}],\"maxFiles\":[{\"handleMaxFilesChange\":0}]}]]],[\"mds-input-otp\",[[65,\"mds-input-otp\",{\"accessibleName\":[1,\"aria-label\"],\"length\":[2],\"autosubmit\":[516],\"disabled\":[516],\"value\":[1537],\"digits\":[32],\"formDisabled\":[32]},null,{\"value\":[{\"valueChanged\":0}]}]]],[\"mds-breadcrumb\",[[257,\"mds-breadcrumb\",{\"hideBack\":[4,\"hide-back\"]},[[0,\"mdsBreadcrumbItemSelect\",\"activedEventHandler\"]]]]],[\"mds-pref-language-item\",[[1,\"mds-pref-language-item\",{\"code\":[513],\"selected\":[516]},null,{\"code\":[{\"handleCodeChange\":0}]}]]],[\"mds-dropdown\",[[257,\"mds-dropdown\",{\"hideArrow\":[516,\"hide-arrow\"],\"arrowPadding\":[2,\"arrow-padding\"],\"disableAutoPlacement\":[4,\"disable-auto-placement\"],\"backdrop\":[516],\"flip\":[4],\"interaction\":[513],\"target\":[1],\"offset\":[2],\"placement\":[1],\"disableShift\":[4,\"disable-shift\"],\"shiftPadding\":[2,\"shift-padding\"],\"disableSmooth\":[4,\"disable-smooth\"],\"strategy\":[1],\"visible\":[1540],\"zIndex\":[2,\"z-index\"]},null,{\"hideArrow\":[{\"hideArrowChanged\":0}],\"arrowPadding\":[{\"arrowPaddingChanged\":0}],\"disableAutoPlacement\":[{\"disableAutoPlacementChanged\":0}],\"backdrop\":[{\"backdropChanged\":0}],\"flip\":[{\"flipChanged\":0}],\"offset\":[{\"offsetChanged\":0}],\"placement\":[{\"placementChanged\":0}],\"disableShift\":[{\"disableShiftChanged\":0}],\"shiftPadding\":[{\"shiftPaddingChanged\":0}],\"strategy\":[{\"strategyChanged\":0}],\"target\":[{\"targetChanged\":0}],\"visible\":[{\"visibleChanged\":0}]}]]],[\"mds-input-date\",[[65,\"mds-input-date\",{\"accessibleName\":[1,\"aria-label\"],\"value\":[513],\"name\":[513],\"variant\":[1537],\"min\":[1537],\"max\":[1537],\"delay\":[514],\"size\":[513],\"hideToday\":[516,\"hide-today\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"formDisabled\":[32],\"empty\":[32],\"isValid\":[32],\"touched\":[32],\"calendarKey\":[32],\"dropdownRef\":[32],\"hasFocus\":[32],\"focusInput\":[64],\"setValue\":[64],\"getErrors\":[64]},[[0,\"invalid\",\"invalidHandler\"]],{\"value\":[{\"handleValue\":0}],\"max\":[{\"validationRulesChanged\":0}],\"min\":[{\"validationRulesChanged\":0}],\"required\":[{\"validationRulesChanged\":0}]}]]],[\"mds-policy-ai\",[[1,\"mds-policy-ai\",{\"headline\":[513],\"description\":[513],\"variant\":[513],\"href\":[513]}]]],[\"mds-avatar-stack\",[[257,\"mds-avatar-stack\",{\"size\":[513],\"total\":[514],\"itemsCount\":[32]}]]],[\"mds-input-date-range\",[[321,\"mds-input-date-range\",{\"accessibleName\":[1,\"aria-label\"],\"startDate\":[513,\"start-date\"],\"endDate\":[513,\"end-date\"],\"min\":[513],\"max\":[513],\"delay\":[514],\"size\":[513],\"hideToday\":[516,\"hide-today\"],\"dualCalendar\":[516,\"dual-calendar\"],\"name\":[513],\"disabled\":[516],\"calendarKey\":[32],\"internalStartDate\":[32],\"internalEndDate\":[32],\"visibleCalendarDate\":[32],\"dropdownRef\":[32],\"hasPreselection\":[32],\"formDisabled\":[32],\"preselect\":[64]},null,{\"startDate\":[{\"handleStartDateChange\":0}],\"endDate\":[{\"handleEndDateChange\":0}],\"min\":[{\"handleRangeChange\":0}],\"max\":[{\"handleRangeChange\":0}],\"disabled\":[{\"handleDisabledChange\":0}]}]]],[\"mds-pref-language\",[[257,\"mds-pref-language\",{\"size\":[513],\"set\":[1537],\"showDropdown\":[32]},[[0,\"mdsPrefLanguageItemSelect\",\"handleItemSelect\"]],{\"set\":[{\"handleSetChange\":0}]}]]],[\"mds-pref-theme\",[[257,\"mds-pref-theme\",{\"size\":[513],\"name\":[1537],\"scheme\":[1537],\"cornerShape\":[1537,\"corner-shape\"],\"showDropdown\":[32]},[[0,\"mdsPrefThemeItemSelect\",\"handleItemSelect\"]],{\"name\":[{\"handleNameChange\":0}],\"scheme\":[{\"handleSchemeChange\":0}],\"cornerShape\":[{\"handleCornerShapeChange\":0}]}]]],[\"mds-table-header\",[[257,\"mds-table-header\",{\"selectable\":[4],\"selectAll\":[32],\"hasActions\":[32],\"indeterminate\":[32],\"hasSelection\":[32],\"setSelection\":[64],\"setActions\":[64]}]]],[\"mds-entity\",[[257,\"mds-entity\",{\"await\":[516],\"icon\":[513],\"src\":[513],\"initials\":[513],\"tone\":[513],\"variant\":[513],\"hasDetails\":[32],\"hasActions\":[32]}]]],[\"mds-pref-animation\",[[1,\"mds-pref-animation\",{\"size\":[513],\"mode\":[1537]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-pref-consumption\",[[1,\"mds-pref-consumption\",{\"size\":[513],\"mode\":[1537]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-pref-contrast\",[[1,\"mds-pref-contrast\",{\"size\":[513],\"mode\":[1537]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-pref-mode\",[[1,\"mds-pref-mode\",{\"size\":[513],\"mode\":[1537],\"transition\":[1537],\"lockedScheme\":[513,\"locked-scheme\"]},null,{\"mode\":[{\"modeChanged\":0}]}]]],[\"mds-push-notification-item\",[[257,\"mds-push-notification-item\",{\"datetime\":[1537],\"dateFormat\":[513,\"date-format\"],\"dismissible\":[1540],\"deletable\":[1540],\"icon\":[513],\"initials\":[1537],\"message\":[513],\"preview\":[513],\"src\":[513],\"subject\":[513],\"tone\":[513],\"variant\":[513],\"hasActions\":[32],\"hasBadge\":[32]},null,{\"dismissible\":[{\"handleDismissibleChange\":0}],\"deletable\":[{\"handleDeletableChange\":0}]}]]],[\"mds-button-dropdown\",[[321,\"mds-button-dropdown\",{\"label\":[1],\"autoFocus\":[4,\"auto-focus\"],\"icon\":[1537],\"type\":[513],\"name\":[513],\"value\":[513],\"variant\":[513],\"tone\":[513],\"size\":[513],\"active\":[1540],\"disabled\":[1540],\"await\":[1540],\"href\":[513],\"target\":[1],\"truncate\":[513],\"formDisabled\":[32]}]]],[\"mds-header\",[[257,\"mds-header\",{\"appearance\":[1537],\"appearanceSet\":[513,\"appearance-set\"],\"autoHide\":[514,\"auto-hide\"],\"hideBackdrop\":[516,\"hide-backdrop\"],\"menu\":[513],\"nav\":[513],\"threshold\":[514],\"visibility\":[1537],\"hasMenu\":[32],\"isOpened\":[32],\"setOpened\":[64]},null,{\"menu\":[{\"onMenuChangedHandler\":0}],\"nav\":[{\"onNavChangedHandler\":0}],\"appearanceSet\":[{\"onAppearanceSetChangedHandler\":0}],\"visibility\":[{\"handleVisibilityChange\":0}]}]]],[\"mds-keyboard\",[[257,\"mds-keyboard\",{\"test\":[1537],\"try\":[516],\"testPassed\":[32]},null,{\"try\":[{\"handleTryProperty\":0}]}]]],[\"mds-radial-menu-item\",[[1,\"mds-radial-menu-item\",{\"tooltip\":[513],\"icon\":[1537],\"tone\":[513],\"variant\":[513],\"size\":[513]}]]],[\"mds-status-bar\",[[257,\"mds-status-bar\",{\"description\":[513],\"overflow\":[513],\"position\":[513],\"visible\":[1540],\"hide\":[64]},null,{\"visible\":[{\"handleVisbilityProp\":0}]}]]],[\"mds-stepper-bar-item\",[[1,\"mds-stepper-bar-item\",{\"label\":[1],\"step\":[4],\"badge\":[1540],\"icon\":[1],\"iconChecked\":[1,\"icon-checked\"],\"done\":[516],\"current\":[1540],\"value\":[513],\"typography\":[1],\"isDone\":[32],\"isCurrent\":[32],\"index\":[32]},null,{\"done\":[{\"selectedHandler\":0}],\"current\":[{\"currentHandler\":0}]}]]],[\"mds-accordion-timer-item\",[[257,\"mds-accordion-timer-item\",{\"typography\":[1],\"selected\":[516],\"description\":[1],\"duration\":[514],\"progress\":[2],\"uuid\":[2]},null,{\"selected\":[{\"handleSelected\":0}]}]]],[\"mds-benchmark-bar\",[[257,\"mds-benchmark-bar\",{\"label\":[1537],\"alias\":[1],\"typography\":[1],\"value\":[2],\"variant\":[513],\"size\":[513]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-breadcrumb-item\",[[1,\"mds-breadcrumb-item\",{\"selected\":[1540],\"label\":[513]}]]],[\"mds-header-bar\",[[257,\"mds-header-bar\",{\"menu\":[513],\"nav\":[513],\"hasNav\":[32],\"isOpened\":[32],\"setOpened\":[64]}]]],[\"mds-horizontal-scroll\",[[257,\"mds-horizontal-scroll\",{\"controls\":[1537],\"navigation\":[513],\"snap\":[513],\"hasCompatibility\":[32],\"showForward\":[32],\"showBack\":[32]},null,{\"navigation\":[{\"watchNavigation\":0}]}]]],[\"mds-input-date-range-preselection\",[[257,\"mds-input-date-range-preselection\",{\"selected\":[1540],\"start\":[513],\"end\":[513]}]]],[\"mds-input-select\",[[321,\"mds-input-select\",{\"accessibleName\":[1,\"aria-label\"],\"autocomplete\":[513],\"autoFocus\":[516,\"auto-focus\"],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"required\":[516],\"multiple\":[516],\"rows\":[514],\"size\":[520],\"value\":[520],\"defaultValue\":[520,\"default-value\"],\"variant\":[513],\"hasFocus\":[32],\"formDisabled\":[32],\"setValue\":[64]},null,{\"value\":[{\"valueChanged\":0}],\"required\":[{\"requiredChanged\":0}],\"name\":[{\"nameChanged\":0}],\"disabled\":[{\"disabledChanged\":0}],\"placeholder\":[{\"placeholderChanged\":0}],\"size\":[{\"sizeChanged\":0}]}]]],[\"mds-label\",[[1,\"mds-label\",{\"label\":[513],\"variant\":[513],\"tone\":[513],\"truncate\":[513],\"typography\":[1],\"deletable\":[4]}]]],[\"mds-mention\",[[1,\"mds-mention\",{\"deletable\":[516],\"icon\":[513],\"label\":[513],\"size\":[513]}]]],[\"mds-note\",[[257,\"mds-note\",{\"deletable\":[4],\"variant\":[513]}]]],[\"mds-pref-theme-item\",[[1,\"mds-pref-theme-item\",{\"label\":[1537],\"name\":[513],\"scheme\":[513],\"selected\":[516]}]]],[\"mds-push-notification\",[[257,\"mds-push-notification\",{\"visible\":[1540],\"behavior\":[1],\"show\":[64],\"hide\":[64],\"removeNotification\":[64]},null,{\"visible\":[{\"visibleChanged\":0}]}]]],[\"mds-radial-menu\",[[257,\"mds-radial-menu\",{\"angleStart\":[514,\"angle-start\"],\"angleEnd\":[514,\"angle-end\"],\"radius\":[514],\"direction\":[513],\"opened\":[1540],\"disc\":[1540],\"backdrop\":[516],\"interaction\":[513],\"icon\":[1537],\"variant\":[513],\"tone\":[513],\"size\":[513]},null,{\"disc\":[{\"onDiscChanged\":0}],\"backdrop\":[{\"backdropChanged\":0}],\"interaction\":[{\"onInteractionChange\":0}],\"angleStart\":[{\"onAngleStartChange\":0}],\"angleEnd\":[{\"onAngleEndChange\":0}],\"radius\":[{\"onRadiusChange\":0}],\"size\":[{\"onSizeChange\":0}],\"opened\":[{\"onOpenedChange\":0}]}]]],[\"mds-table-row\",[[257,\"mds-table-row\",{\"interactive\":[516],\"overlayActions\":[516,\"overlay-actions\"],\"selectable\":[516],\"selected\":[1540],\"selection\":[516],\"value\":[520],\"hasActions\":[32],\"sizerWidth\":[32]},null,{\"selected\":[{\"selectedChanged\":0}]}]]],[\"mds-toast\",[[257,\"mds-toast\",{\"duration\":[1538],\"visible\":[1540],\"variant\":[513],\"tone\":[513],\"position\":[1537],\"dismissible\":[4],\"deletable\":[4],\"hasActions\":[32],\"stacked\":[32]},null,{\"visible\":[{\"visibleChanged\":0}],\"duration\":[{\"durationChanged\":0}]}]]],[\"mds-tree-item\",[[257,\"mds-tree-item\",{\"actions\":[513],\"async\":[516],\"depth\":[514],\"label\":[1],\"toggle\":[513],\"togglePosition\":[513,\"toggle-position\"],\"appearance\":[513],\"expanded\":[1540],\"truncate\":[513],\"icon\":[1],\"hasActions\":[32],\"hasChildren\":[32],\"currentToggleIcon\":[32],\"await\":[32],\"resolvedActions\":[32],\"expand\":[64],\"refreshActions\":[64]},null,{\"toggle\":[{\"handleIconChange\":0}],\"expanded\":[{\"handleExpandedChange\":0}],\"actions\":[{\"handleActionsChange\":0}]}]]],[\"mds-url-view\",[[1,\"mds-url-view\",{\"icon\":[513],\"label\":[513],\"src\":[513],\"loading\":[513]}]]],[\"mds-file\",[[1,\"mds-file\",{\"suffix\":[513],\"description\":[1],\"filename\":[1],\"preview\":[1],\"hideDownloadedIcon\":[4,\"hide-downloaded-icon\"],\"format\":[1537],\"wasDownloaded\":[32]},null,{\"filename\":[{\"handleFilename\":0}]}]]],[\"mds-filter\",[[257,\"mds-filter\",{\"autoReset\":[516,\"auto-reset\"],\"label\":[1],\"multiple\":[516],\"reset\":[516],\"active\":[32],\"itemsSelected\":[32]},[[0,\"mdsFilterItemSelect\",\"activeEventHandler\"]]]]],[\"mds-paginator\",[[1,\"mds-paginator\",{\"pages\":[2],\"currentPage\":[1538,\"current-page\"]}]]],[\"mds-keyboard-key\",[[1,\"mds-keyboard-key\",{\"name\":[513],\"pressed\":[516]}]]],[\"mds-kpi-item\",[[1,\"mds-kpi-item\",{\"label\":[1],\"description\":[1],\"threshold\":[2],\"icon\":[1],\"isIntersecting\":[32]}]]],[\"mds-list-item\",[[257,\"mds-list-item\",{\"typography\":[513],\"variant\":[1],\"icon\":[1]}]]],[\"mds-tab-bar-item\",[[257,\"mds-tab-bar-item\",{\"icon\":[1],\"label\":[1537],\"selected\":[1540],\"typography\":[1]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-table\",[[257,\"mds-table\",{\"interactive\":[4],\"selectable\":[4],\"selection\":[1540],\"sorting\":[513],\"hasBatchActions\":[32],\"selectedRows\":[32],\"updateSelection\":[64],\"updateActions\":[64],\"selectAll\":[64]},null,{\"interactive\":[{\"onTableInteractive\":0}],\"selectable\":[{\"onTableSelectable\":0}]}]]],[\"mds-usage\",[[257,\"mds-usage\",{\"variant\":[513],\"alias\":[1],\"icon\":[1]}]]],[\"mds-accordion-item\",[[257,\"mds-accordion-item\",{\"typography\":[1],\"selected\":[1540],\"label\":[1]}]]],[\"mds-bibliography\",[[1,\"mds-bibliography\",{\"format\":[1],\"author\":[1],\"name\":[1],\"publisher\":[1],\"date\":[1],\"location\":[1],\"rel\":[1],\"typography\":[1],\"variant\":[1],\"url\":[1]}]]],[\"mds-input-field\",[[321,\"mds-input-field\",{\"label\":[1025],\"message\":[1025],\"variant\":[1537]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-input-range\",[[321,\"mds-input-range\",{\"formatValue\":[16],\"name\":[513],\"max\":[2],\"min\":[2],\"step\":[2],\"disabled\":[1540],\"value\":[1538],\"progress\":[32],\"formDisabled\":[32]},null,{\"disabled\":[{\"disabledChanged\":0}],\"value\":[{\"valueChanged\":0}],\"min\":[{\"minChanged\":0}],\"max\":[{\"maxChanged\":0}],\"step\":[{\"stepChanged\":0}]}]]],[\"mds-link\",[[273,\"mds-link\",{\"label\":[513],\"href\":[513],\"target\":[1],\"icon\":[513],\"iconPosition\":[513,\"icon-position\"],\"variant\":[513],\"tone\":[513],\"underline\":[513]}]]],[\"mds-notification\",[[1,\"mds-notification\",{\"target\":[1],\"value\":[1538],\"dismissed\":[1540],\"strategy\":[1537],\"max\":[514],\"describing\":[32]},null,{\"strategy\":[{\"strategyHandler\":0}]}]]],[\"mds-pref\",[[257,\"mds-pref\",{\"size\":[513],\"controller\":[1540],\"showReload\":[32]},[[0,\"mdsPrefChange\",\"handlePrefChange\"],[0,\"mdsPrefThemeChange\",\"handleThemeChange\"]],{\"controller\":[{\"handleControllerChange\":0}],\"size\":[{\"handleSizeChange\":0}]}]]],[\"mds-price-table-features\",[[257,\"mds-price-table-features\",{\"label\":[1]}]]],[\"mds-price-table-features-cell\",[[257,\"mds-price-table-features-cell\",{\"type\":[513]}]]],[\"mds-price-table-list\",[[257,\"mds-price-table-list\",{\"hasItems\":[32]}]]],[\"mds-price-table-list-item\",[[257,\"mds-price-table-list-item\",{\"supported\":[516],\"typography\":[513]}]]],[\"mds-quote\",[[257,\"mds-quote\",{\"typography\":[1],\"tag\":[1]}]]],[\"mds-table-footer\",[[257,\"mds-table-footer\",{\"selectable\":[4],\"hasActions\":[32]}]]],[\"mds-accordion\",[[257,\"mds-accordion\",{\"multiple\":[4],\"disableClose\":[4,\"disable-close\"]},[[0,\"mdsAccordionItemSelect\",\"selectedEventHandler\"],[0,\"mdsAccordionItemUnselect\",\"unselectedEventHandler\"]]]]],[\"mds-accordion-timer\",[[257,\"mds-accordion-timer\",{\"duration\":[514],\"paused\":[516],\"time\":[32]},[[0,\"mdsAccordionTimerItemClickSelect\",\"onClickSelect\"],[0,\"mdsAccordionTimerItemSelect\",\"onSelect\"],[0,\"mdsAccordionTimerItemMouseEnterSelect\",\"onMouseEnterSelect\"],[0,\"mdsAccordionTimerItemMouseLeaveSelect\",\"onMouseLeaveSelect\"]],{\"paused\":[{\"handlePaused\":0}]}]]],[\"mds-author\",[[257,\"mds-author\",{\"hasAvatar\":[32]}]]],[\"mds-book\",[[1,\"mds-book\",{\"alt\":[1],\"author\":[1],\"binding\":[513],\"format\":[513],\"loading\":[1],\"name\":[1],\"pages\":[2],\"pose\":[513],\"publisher\":[1],\"publisherLogo\":[1,\"publisher-logo\"],\"src\":[1],\"coverUrl\":[32],\"imageError\":[32],\"imageRatio\":[32],\"logoError\":[32],\"logoUrl\":[32]},[[1,\"pointerenter\",\"pointerEnterHandler\"],[1,\"pointermove\",\"pointerMoveHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"],[1,\"pointerup\",\"pointerUpHandler\"],[1,\"pointercancel\",\"pointerLostHandler\"],[0,\"lostpointercapture\",\"pointerLostHandler\"],[1,\"pointerleave\",\"pointerLeaveHandler\"],[2,\"click\",\"clickHandler\"]],{\"format\":[{\"formatHandler\":0}],\"pages\":[{\"pagesHandler\":0}],\"pose\":[{\"poseHandler\":0}],\"publisherLogo\":[{\"publisherLogoHandler\":0}],\"src\":[{\"srcHandler\":0}]}]]],[\"mds-button-group\",[[257,\"mds-button-group\"]]],[\"mds-card\",[[257,\"mds-card\",{\"disableAutoGrid\":[516,\"disable-auto-grid\"],\"layout\":[32]}]]],[\"mds-card-content\",[[257,\"mds-card-content\"]]],[\"mds-card-footer\",[[257,\"mds-card-footer\"]]],[\"mds-card-header\",[[257,\"mds-card-header\",{\"hasActions\":[32]}]]],[\"mds-card-media\",[[257,\"mds-card-media\"]]],[\"mds-details\",[[257,\"mds-details\",{\"opened\":[1540],\"isOpened\":[32],\"hasIcon\":[32]},null,{\"opened\":[{\"validateOpened\":0}]}]]],[\"mds-emoji\",[[1,\"mds-emoji\",{\"name\":[513],\"agree\":[64],\"smile\":[64],\"disagree\":[64],\"startThinking\":[64],\"stopThinking\":[64],\"startBlinking\":[64],\"stopBlinking\":[64],\"stopFollowMouse\":[64],\"startFollowMouse\":[64]},null,{\"name\":[{\"checkNameChanged\":0}]}]]],[\"mds-hr\",[[1,\"mds-hr\"]]],[\"mds-kpi\",[[257,\"mds-kpi\"]]],[\"mds-list\",[[257,\"mds-list\"]]],[\"mds-price-table\",[[257,\"mds-price-table\"]]],[\"mds-price-table-features-row\",[[257,\"mds-price-table-features-row\",{\"cellPercWidth\":[32]}]]],[\"mds-price-table-header\",[[257,\"mds-price-table-header\"]]],[\"mds-stepper-bar\",[[257,\"mds-stepper-bar\",{\"itemsDone\":[2,\"items-done\"],\"navigation\":[513],\"currentItem\":[32]},null,{\"itemsDone\":[{\"itemDone\":0}]}]]],[\"mds-tab-bar\",[[257,\"mds-tab-bar\",null,[[0,\"mdsTabBarItemSelect\",\"changeEventHandler\"]]]]],[\"mds-table-body\",[[257,\"mds-table-body\",{\"interactive\":[516],\"selection\":[516]}]]],[\"mds-toast-region\",[[257,\"mds-toast-region\",{\"position\":[513],\"max\":[514]},null,{\"position\":[{\"positionChanged\":0}],\"max\":[{\"maxChanged\":0}]}]]],[\"mds-tree\",[[257,\"mds-tree\",{\"appearance\":[513],\"async\":[516],\"label\":[1],\"toggle\":[513],\"togglePosition\":[513,\"toggle-position\"],\"expanded\":[1540],\"truncate\":[513],\"actions\":[513]},null,{\"expanded\":[{\"handleExpandedChange\":0}],\"toggle\":[{\"handleToggleChange\":0}],\"togglePosition\":[{\"handleTogglePositionChange\":0}],\"appearance\":[{\"handleAppearanceChange\":0}],\"actions\":[{\"handleActionsChange\":0}],\"truncate\":[{\"handleTruncateChange\":0}]}]]],[\"mds-video-wall\",[[257,\"mds-video-wall\",{\"autoplay\":[4],\"loop\":[4],\"muted\":[4],\"noise\":[1],\"poster\":[1],\"preload\":[1],\"src\":[1],\"hasContent\":[32]}]]],[\"mds-zero\",[[257,\"mds-zero\"]]],[\"mds-input\",[[65,\"mds-input\",{\"accessibleName\":[1,\"aria-label\"],\"autocomplete\":[513],\"autofocus\":[516],\"await\":[516],\"controlsLayout\":[513,\"controls-layout\"],\"controlsIcon\":[513,\"controls-icon\"],\"datalist\":[16],\"disabled\":[516],\"icon\":[1537],\"max\":[520],\"maxlength\":[1538],\"mic\":[516],\"min\":[520],\"minlength\":[514],\"name\":[513],\"pattern\":[513],\"placeholder\":[513],\"readonly\":[516],\"required\":[516],\"variant\":[1537],\"tip\":[513],\"size\":[513],\"step\":[513],\"type\":[513],\"typography\":[513],\"value\":[1537],\"hasFocus\":[32],\"isRecording\":[32],\"currentLengthLabel\":[32],\"countVariant\":[32],\"isPasswordVisible\":[32],\"formDisabled\":[32],\"addValidator\":[64],\"removeValidator\":[64],\"hasValidator\":[64],\"getErrors\":[64],\"setFocus\":[64],\"getInputElement\":[64]},[[0,\"invalid\",\"invalidHandler\"]],{\"max\":[{\"validationRulesChanged\":0}],\"maxlength\":[{\"validationRulesChanged\":0},{\"maxLengthChanged\":0}],\"min\":[{\"validationRulesChanged\":0}],\"minlength\":[{\"validationRulesChanged\":0}],\"pattern\":[{\"validationRulesChanged\":0}],\"required\":[{\"validationRulesChanged\":0}],\"type\":[{\"validationRulesChanged\":0}],\"value\":[{\"valueChanged\":0}],\"variant\":[{\"variantChanged\":0}],\"disabled\":[{\"disabledChanged\":0}]}]]],[\"mds-filter-item\",[[1,\"mds-filter-item\",{\"selected\":[1540],\"label\":[513],\"icon\":[513],\"value\":[513],\"count\":[513],\"disabled\":[516]}]]],[\"mds-modal\",[[257,\"mds-modal\",{\"accessibleName\":[1,\"aria-label\"],\"opened\":[1540],\"hideBackdrop\":[1540,\"hide-backdrop\"],\"position\":[1537],\"animation\":[513],\"overflow\":[513],\"interaction\":[513],\"hasBottom\":[32],\"hasTop\":[32],\"hasWindow\":[32],\"windowHeaderHeight\":[32],\"windowFooterHeight\":[32],\"close\":[64]},null,{\"opened\":[{\"handleOpenProp\":0}],\"hideBackdrop\":[{\"handleHideBackdropProp\":0}]}]]],[\"mds-img\",[[1,\"mds-img\",{\"alt\":[1537],\"crossorigin\":[1],\"height\":[1],\"loading\":[1],\"referrerpolicy\":[1],\"sizes\":[1],\"src\":[1],\"srcset\":[1],\"srcsetConsumption\":[1,\"srcset-consumption\"],\"width\":[1],\"imageConsumptionLoaded\":[32],\"imageError\":[32]},null,{\"srcsetConsumption\":[{\"srcsetConsumptionHandler\":0}],\"src\":[{\"srcHandler\":0}]}]]],[\"mds-avatar-stack-item\",[[1,\"mds-avatar-stack-item\",{\"count\":[514],\"initials\":[1537],\"src\":[513],\"tone\":[513],\"variant\":[513]}]]],[\"mds-file-preview\",[[1,\"mds-file-preview\",{\"deletable\":[516],\"downloadable\":[516],\"description\":[513],\"filename\":[513],\"filesize\":[513],\"message\":[513],\"truncate\":[513],\"src\":[513],\"suffix\":[513],\"icon\":[513],\"variant\":[513],\"format\":[1537]},null,{\"filename\":[{\"handleFilename\":0}]}]]],[\"mds-table-header-cell\",[[1,\"mds-table-header-cell\",{\"sortable\":[516],\"label\":[513],\"sortKey\":[513,\"sort-key\"],\"direction\":[1537]},null,{\"direction\":[{\"directionHandler\":0}]}]]],[\"mds-paginator-item\",[[257,\"mds-paginator-item\",{\"icon\":[513],\"selected\":[516],\"disabled\":[516]}]]],[\"mds-separator\",[[1,\"mds-separator\"]]],[\"mds-banner_3\",[[257,\"mds-banner\",{\"variant\":[513],\"tone\":[513],\"hideCockade\":[516,\"hide-cockade\"],\"dismissible\":[4],\"deletable\":[4],\"headline\":[1],\"icon\":[1],\"closeButtonVariant\":[32],\"hasActions\":[32]},null,{\"variant\":[{\"variantHandler\":0}]}],[1,\"mds-chip\",{\"clickable\":[1540],\"deletable\":[4],\"disabled\":[516],\"icon\":[1],\"label\":[513],\"selected\":[1540],\"selectable\":[516],\"variant\":[513],\"tone\":[513]},null,{\"selectable\":[{\"handleSelectableProp\":0}],\"selected\":[{\"handleSelectedProp\":0}]}],[257,\"mds-help\",{\"icon\":[1],\"disableAutoPlacement\":[516,\"disable-auto-placement\"],\"placement\":[513]}]]],[\"mds-avatar\",[[1,\"mds-avatar\",{\"icon\":[513],\"initials\":[1537],\"count\":[1538],\"src\":[513],\"tone\":[513],\"variant\":[1537],\"imageFailed\":[32],\"loaded\":[32]},null,{\"initials\":[{\"initialsHandler\":0}],\"count\":[{\"countHandler\":0}],\"src\":[{\"srcHandler\":0}]}]]],[\"mds-tooltip\",[[257,\"mds-tooltip\",{\"hideArrow\":[4,\"hide-arrow\"],\"arrowPadding\":[2,\"arrow-padding\"],\"disableAutoPlacement\":[516,\"disable-auto-placement\"],\"flip\":[4],\"target\":[513],\"offset\":[2],\"placement\":[513],\"relation\":[513],\"typography\":[1],\"disableShift\":[4,\"disable-shift\"],\"shiftPadding\":[2,\"shift-padding\"],\"strategy\":[513],\"visible\":[1540]},null,{\"hideArrow\":[{\"hideArrowChanged\":0}],\"disableAutoPlacement\":[{\"disableAutoPlacementChanged\":0}],\"flip\":[{\"flipChanged\":0}],\"offset\":[{\"offsetChanged\":0}],\"placement\":[{\"placementChanged\":0}],\"disableShift\":[{\"disableShiftChanged\":0}],\"shiftPadding\":[{\"shiftPaddingChanged\":0}],\"strategy\":[{\"strategyChanged\":0}],\"relation\":[{\"relationChanged\":0}],\"visible\":[{\"visibleChanged\":0}],\"target\":[{\"targetChanged\":0}]}]]],[\"mds-calendar_2\",[[257,\"mds-calendar\",{\"singlePicker\":[4,\"single-picker\"],\"hidePreviousButton\":[4,\"hide-previous-button\"],\"hideNextButton\":[4,\"hide-next-button\"],\"disableMonthYearSelection\":[4,\"disable-month-year-selection\"],\"hidePreselection\":[4,\"hide-preselection\"],\"hideToday\":[4,\"hide-today\"],\"viewDate\":[513,\"view-date\"],\"hoverDate\":[513,\"hover-date\"],\"startDate\":[513,\"start-date\"],\"endDate\":[513,\"end-date\"],\"min\":[513],\"max\":[513],\"hasPreselection\":[32],\"currentDate\":[32],\"weekDaysinMonth\":[32],\"weekdays\":[32],\"startDateIdentifier\":[32],\"endDateIdentifier\":[32],\"isFirstClick\":[32],\"currentView\":[32],\"selectedYear\":[32],\"internalStartDate\":[32],\"internalEndDate\":[32],\"currentMonth\":[32],\"currentYear\":[32],\"updateCurrentDate\":[64]},null,{\"startDate\":[{\"handleStartDate\":0}],\"endDate\":[{\"handleEndDate\":0}],\"viewDate\":[{\"handleViewDate\":0}],\"hoverDate\":[{\"handleHoverDate\":0}]}],[1,\"mds-calendar-cell\",{\"month\":[513],\"label\":[513],\"date\":[513],\"orientation\":[513],\"preview\":[516],\"selection\":[513],\"disabled\":[516],\"today\":[516]}]]],[\"mds-input-switch_2\",[[321,\"mds-input-switch\",{\"autofocus\":[516],\"checked\":[1540],\"disabled\":[1540],\"explicit\":[516],\"icon\":[513],\"indeterminate\":[1540],\"name\":[513],\"size\":[513],\"type\":[513],\"typography\":[513],\"variant\":[513],\"value\":[1537],\"formDisabled\":[32],\"knobSliding\":[32],\"hasText\":[32]},null,{\"disabled\":[{\"disabledChanged\":0}],\"checked\":[{\"checkedChanged\":0}],\"value\":[{\"valueChanged\":0}],\"explicit\":[{\"explicitChanged\":0}]}],[257,\"mds-table-cell\",{\"value\":[520]}]]],[\"mds-badge\",[[257,\"mds-badge\",{\"label\":[1537],\"variant\":[513],\"tone\":[513],\"typography\":[513]},null,{\"label\":[{\"labelChanged\":0}]}]]],[\"mds-input-tip_2\",[[257,\"mds-input-tip-item\",{\"variant\":[513],\"expanded\":[1540]},null,{\"expanded\":[{\"handleEcpandedChanged\":0}]}],[257,\"mds-input-tip\",{\"active\":[516],\"position\":[513]}]]],[\"mds-progress_2\",[[1,\"mds-progress\",{\"progress\":[2],\"direction\":[513],\"variant\":[513],\"typography\":[1],\"size\":[513],\"steps\":[1],\"leftOut\":[32]},null,{\"steps\":[{\"stepsChanged\":0}],\"aria-hidden\":[{\"ariaHiddenChanged\":0}]}],[1,\"mds-radial-progress\",{\"progress\":[2],\"icon\":[513],\"typography\":[513],\"variant\":[513],\"animatedProgress\":[32]},null,{\"progress\":[{\"onProgressChange\":0}]}]]],[\"mds-tab_2\",[[1,\"mds-tab-item\",{\"await\":[516],\"selected\":[1540],\"disabled\":[1540],\"icon\":[1],\"label\":[513],\"iconPosition\":[1,\"icon-position\"],\"type\":[1],\"size\":[513],\"direction\":[513],\"animation\":[513],\"value\":[513],\"href\":[513],\"expanded\":[4],\"isSelected\":[32],\"hasText\":[32]},null,{\"selected\":[{\"validateActive\":0}]}],[257,\"mds-tab\",{\"direction\":[1537],\"scrollbar\":[1540],\"animation\":[513],\"fill\":[1540],\"overflow\":[1540],\"size\":[1537],\"sliderWidth\":[32],\"sliderHeight\":[32],\"sliderOffsetX\":[32],\"sliderOffsetY\":[32],\"sliderSlides\":[32],\"overflowLeft\":[32],\"overflowRight\":[32],\"navigation\":[32],\"hasContent\":[32]},[[0,\"mdsTabItemSelect\",\"changeEventHandler\"],[0,\"mdsTabItemFocus\",\"focusEventHandler\"]],{\"animation\":[{\"handleAnimationChange\":0}],\"direction\":[{\"handleDirectionChange\":0}],\"scrollbar\":[{\"handleScrollbarChange\":0}],\"fill\":[{\"handleFillChange\":0}],\"overflow\":[{\"handleOverflowChange\":0}],\"size\":[{\"handleSizeChange\":0}]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|