@zanichelli/delta_share 2.0.4 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wc/cjs/delta_share.cjs.js +1 -1
- package/dist/wc/cjs/{index-771eb01e.js → index-458dc8f4.js} +0 -3
- package/dist/wc/cjs/license-activation_16.cjs.entry.js +18 -12
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-app-topbar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-body.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-cover.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-footer.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-header.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-icon.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-divider.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-header.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-heading.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-list-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pagination-page.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-body.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-cell.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-footer.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-head.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-header.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-row.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-registro-table.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +1 -1
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +3 -3
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +18 -11
- package/dist/wc/custom-elements/index.js +17 -11
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/{p-8daed5d0.entry.js → p-04b614bf.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8025bbbe.entry.js → p-0a05abe2.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ece80039.entry.js → p-10d9e4f5.entry.js} +1 -1
- package/dist/wc/delta_share/{p-69565c8e.entry.js → p-21e76fc5.entry.js} +1 -1
- package/dist/wc/delta_share/{p-95b560f6.entry.js → p-26d039ff.entry.js} +1 -1
- package/dist/wc/delta_share/{p-28b46738.entry.js → p-3995e58c.entry.js} +1 -1
- package/dist/wc/delta_share/{p-0712f9d3.entry.js → p-3c0ba1d7.entry.js} +1 -1
- package/dist/wc/delta_share/{p-69825d47.entry.js → p-3dae174e.entry.js} +1 -1
- package/dist/wc/delta_share/{p-01886650.entry.js → p-466d0fc0.entry.js} +1 -1
- package/dist/wc/delta_share/{p-35f7bacb.entry.js → p-57e825ae.entry.js} +1 -1
- package/dist/wc/delta_share/{p-04aac627.entry.js → p-5a2d329b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-6523780b.entry.js → p-5e35124a.entry.js} +1 -1
- package/dist/wc/delta_share/{p-f70f03be.entry.js → p-6215ddbd.entry.js} +1 -1
- package/dist/wc/delta_share/{p-eee2d197.entry.js → p-65c48026.entry.js} +1 -1
- package/dist/wc/delta_share/{p-d68368aa.entry.js → p-6684b880.entry.js} +1 -1
- package/dist/wc/delta_share/{p-56331fcd.entry.js → p-7145c713.entry.js} +1 -1
- package/dist/wc/delta_share/p-79e22647.entry.js +3 -0
- package/dist/wc/delta_share/{p-63ce3cde.entry.js → p-7a08a26d.entry.js} +1 -1
- package/dist/wc/delta_share/{p-a65a76cb.entry.js → p-7adbb1ec.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e8390258.entry.js → p-800cd436.entry.js} +1 -1
- package/dist/wc/delta_share/{p-5363ac78.entry.js → p-804eb658.entry.js} +1 -1
- package/dist/wc/delta_share/{p-16484902.entry.js → p-81d7702b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ffd4a20e.entry.js → p-85623203.entry.js} +1 -1
- package/dist/wc/delta_share/p-873e098b.entry.js +1 -0
- package/dist/wc/delta_share/{p-165af99f.entry.js → p-a03963a8.entry.js} +1 -1
- package/dist/wc/delta_share/{p-80cd9ec1.entry.js → p-a259b62e.entry.js} +1 -1
- package/dist/wc/delta_share/{p-2eba2455.entry.js → p-ab7c95da.entry.js} +1 -1
- package/dist/wc/delta_share/{p-3e244a3d.entry.js → p-abd1d378.entry.js} +1 -1
- package/dist/wc/delta_share/{p-21601525.entry.js → p-acfe9eb3.entry.js} +1 -1
- package/dist/wc/delta_share/{p-69dee729.entry.js → p-b5eb340c.entry.js} +1 -1
- package/dist/wc/delta_share/{p-7050a138.entry.js → p-b60651f2.entry.js} +1 -1
- package/dist/wc/delta_share/{p-49c2342b.entry.js → p-c56e8a41.entry.js} +1 -1
- package/dist/wc/delta_share/{p-5dd5dcba.entry.js → p-c69e24bf.entry.js} +1 -1
- package/dist/wc/delta_share/{p-20c65209.entry.js → p-ca57e6ec.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e1c8d36a.entry.js → p-cad0320b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-b76e0aee.entry.js → p-d1270e75.entry.js} +1 -1
- package/dist/wc/delta_share/{p-2ec1c7f6.entry.js → p-d2b8f445.entry.js} +1 -1
- package/dist/wc/delta_share/{p-9ba5ddb4.js → p-d489328b.js} +1 -1
- package/dist/wc/delta_share/{p-5f995b84.entry.js → p-de921fbb.entry.js} +1 -1
- package/dist/wc/delta_share/{p-83363ed1.entry.js → p-ec64cd8e.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8c8c2605.entry.js → p-ef4da7dc.entry.js} +1 -1
- package/dist/wc/delta_share/{p-f8cddd5b.entry.js → p-f1ba2542.entry.js} +1 -1
- package/dist/wc/delta_share/{p-235bcd66.entry.js → p-f500eb2e.entry.js} +1 -1
- package/dist/wc/delta_share/{p-56cdbd95.entry.js → p-f5d6ffbf.entry.js} +1 -1
- package/dist/wc/delta_share/{p-b8c95b08.entry.js → p-f6cf7f9f.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e0160074.entry.js → p-f9175533.entry.js} +2 -2
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/{index-2fc5398d.js → index-5ecd661f.js} +0 -3
- package/dist/wc/esm/license-activation_16.entry.js +18 -12
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/esm/z-app-header.entry.js +1 -1
- package/dist/wc/esm/z-app-switcher.entry.js +1 -1
- package/dist/wc/esm/z-app-topbar.entry.js +1 -1
- package/dist/wc/esm/z-button-sort.entry.js +1 -1
- package/dist/wc/esm/z-candybar.entry.js +1 -1
- package/dist/wc/esm/z-card-alert.entry.js +1 -1
- package/dist/wc/esm/z-card-body.entry.js +1 -1
- package/dist/wc/esm/z-card-cover.entry.js +1 -1
- package/dist/wc/esm/z-card-footer.entry.js +1 -1
- package/dist/wc/esm/z-card-header.entry.js +1 -1
- package/dist/wc/esm/z-card-icon.entry.js +1 -1
- package/dist/wc/esm/z-card-list.entry.js +1 -1
- package/dist/wc/esm/z-card.entry.js +1 -1
- package/dist/wc/esm/z-chip.entry.js +1 -1
- package/dist/wc/esm/z-combobox.entry.js +1 -1
- package/dist/wc/esm/z-cookiebar.entry.js +1 -1
- package/dist/wc/esm/z-divider.entry.js +1 -1
- package/dist/wc/esm/z-footer-link_3.entry.js +1 -1
- package/dist/wc/esm/z-footer.entry.js +1 -1
- package/dist/wc/esm/z-header.entry.js +1 -1
- package/dist/wc/esm/z-heading.entry.js +1 -1
- package/dist/wc/esm/z-icon-package.entry.js +1 -1
- package/dist/wc/esm/z-list-item.entry.js +1 -1
- package/dist/wc/esm/z-list_2.entry.js +1 -1
- package/dist/wc/esm/z-logo.entry.js +1 -1
- package/dist/wc/esm/z-menu-section.entry.js +1 -1
- package/dist/wc/esm/z-menu.entry.js +1 -1
- package/dist/wc/esm/z-modal-login.entry.js +1 -1
- package/dist/wc/esm/z-pagination-bar.entry.js +1 -1
- package/dist/wc/esm/z-pagination-page.entry.js +1 -1
- package/dist/wc/esm/z-panel-elem.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-body.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-cell.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-footer.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-head.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-header.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-row.entry.js +1 -1
- package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +1 -1
- package/dist/wc/esm/z-registro-table.entry.js +1 -1
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-stepper.entry.js +1 -1
- package/dist/wc/esm/z-toggle-button.entry.js +1 -1
- package/dist/wc/esm/z-tooltip.entry.js +1 -1
- package/dist/wc/esm/z-user-dropdown.entry.js +1 -1
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +1 -1
- package/package.json +1 -1
- package/dist/wc/delta_share/p-34f2c21d.entry.js +0 -1
- package/dist/wc/delta_share/p-6b448345.entry.js +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
let e,t,l,n=!1,o=!1,s=!1,i=!1,r=null,c=!1;const f="undefined"!=typeof window?window:{},a=f.document||{head:{}},u={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),p=(e,t,l)=>{l&&l.map((([l,n,o])=>{const s=m(e,l),i=h(t,o),r=y(l);u.ael(s,n,i,r),(t.o=t.o||[]).push((()=>u.rel(s,n,i,r)))}))},h=(e,t)=>l=>{try{256&e.t?e.i[t](l):(e.u=e.u||[]).push([t,l])}catch(e){ue(e)}},m=(e,t)=>4&t?a:8&t?f:e,y=e=>0!=(2&e),w="http://www.w3.org/1999/xlink",b=new WeakMap,g=e=>"sc-"+e.$,v={},k=e=>"object"==(e=typeof e)||"function"===e,j=(e,t,...l)=>{let n=null,o=null,s=null,i=!1,r=!1,c=[];const f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!k(n))&&(n+=""),i&&r?c[c.length-1].p+=n:c.push(i?S(null,n):n),r=i)};if(f(l),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=S(e,null);return a.h=t,c.length>0&&(a.m=c),a.g=o,a.v=s,a},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),O={},M=(e,t,l,n,o,s)=>{if(l!==n){let i=ae(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=C(l),s=C(n);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=k(n);if((i||c&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let o=null==n?"":n;"list"===t?i=!1:null!=l&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(w,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(n=!0===n?"":n,f?e.setAttributeNS(w,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):ae(f,r)?r.slice(2):r[2]+t.slice(3),l&&u.rel(e,t,l,!1),n&&u.ael(e,t,n,!1)}},x=/\s/,C=e=>e?e.split(x):[],R=(e,t,l,n)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||v,i=t.h||v;for(n in s)n in i||M(o,n,s[n],void 0,l,t.t);for(n in i)M(o,n,s[n],i[n],l,t.t)},P=(o,r,c,f)=>{let u,$,d,p=r.m[c],h=0;if(n||(s=!0,"slot"===p.k&&(e&&f.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)u=p.j=a.createTextNode(p.p);else if(1&p.t)u=p.j=a.createTextNode("");else{if(i||(i="svg"===p.k),u=p.j=a.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),i&&"foreignObject"===p.k&&(i=!1),R(null,p,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)$=P(o,p,h,u),$&&u.appendChild($);"svg"===p.k?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=l,3&p.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=p.v||"",d=o&&o.m&&o.m[c],d&&d.k===p.k&&o.j&&T(o.j,!1)),u},T=(e,t)=>{u.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==l&&o["s-ol"]&&(A(o).insertBefore(o,E(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&T(o,t)}u.t&=-2},W=(e,t,n,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===l&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=P(null,n,s,e),r&&(o[s].j=r,c.insertBefore(r,E(t))))},L=(e,t,l,n,s)=>{for(;t<=l;++t)(n=e[t])&&(s=n.j,q(n),o=!0,s["s-ol"]?s["s-ol"].remove():T(s,!0),s.remove())},U=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),E=e=>e&&e["s-ol"]||e,A=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,D=(e,t)=>{const l=t.j=e.j,n=e.m,o=t.m,s=t.k,r=t.p;let c;null===r?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||R(e,t,i),null!==n&&null!==o?((e,t,l,n)=>{let o,s,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],$=t[a],d=n.length-1,p=n[0],h=n[d];for(;i<=a&&r<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--a];else if(null==p)p=n[++r];else if(null==h)h=n[--d];else if(U(u,p))D(u,p),u=t[++i],p=n[++r];else if(U($,h))D($,h),$=t[--a],h=n[--d];else if(U(u,h))"slot"!==u.k&&"slot"!==h.k||T(u.j.parentNode,!1),D(u,h),e.insertBefore(u.j,$.j.nextSibling),u=t[++i],h=n[--d];else if(U($,p))"slot"!==u.k&&"slot"!==h.k||T($.j.parentNode,!1),D($,p),e.insertBefore($.j,u.j),$=t[--a],p=n[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===p.g){c=f;break}c>=0?(s=t[c],s.k!==p.k?o=P(t&&t[r],l,c,e):(D(s,p),t[c]=void 0,o=s.j),p=n[++r]):(o=P(t&&t[r],l,r,e),p=n[++r]),o&&A(u.j).insertBefore(o,E(u.j))}i>a?W(e,null==n[d+1]?null:n[d+1].j,l,n,r,d):r>d&&L(t,i,a)})(l,n,t,o):null!==o?(null!==e.p&&(l.textContent=""),W(l,null,t,o,0,o.length-1)):null!==n&&L(n,0,n.length-1),i&&"svg"===s&&(i=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:e.p!==r&&(l.data=r)},F=e=>{let t,l,n,o,s,i,r=e.childNodes;for(l=0,n=r.length;l<n;l++)if(t=r[l],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<n;o++)if(i=r[o].nodeType,r[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}F(t)}},H=[],N=e=>{let t,l,n,s,i,r,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(n=l.parentNode.childNodes,s=t["s-sn"],r=n.length-1;r>=0;r--)l=n[r],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(_(l,s)?(i=H.find((e=>e.S===l)),o=!0,l["s-sn"]=l["s-sn"]||s,i?i.O=t:H.push({O:t,S:l}),l["s-sr"]&&H.map((e=>{_(e.S,l["s-sn"])&&(i=H.find((e=>e.S===l)),i&&!e.O&&(e.O=i.O))}))):H.some((e=>e.S===l))||H.push({S:l}));1===t.nodeType&&N(t)}},_=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,q=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(q)},V=e=>re(e).M,z=(e,t,l)=>{const n=V(e);return{emit:e=>B(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},B=(e,t,l)=>{const n=u.ce(t,l);return e.dispatchEvent(n),n},G=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},I=(e,t)=>{if(e.t|=16,!(4&e.t))return G(e,e.R),ve((()=>J(e,t)));e.t|=512},J=(e,t)=>{const l=e.i;let n;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>te(l,e,t))),e.u=null),n=te(l,"componentWillLoad")):n=te(l,"componentWillUpdate"),n=le(n,(()=>te(l,"componentWillRender"))),le(n,(()=>K(e,l,t)))},K=async(e,t,l)=>{const n=e.M,o=n["s-rc"];l&&(e=>{const t=e.P,l=e.M,n=t.t,o=((e,t)=>{let l=g(t),n=pe.get(l);if(e=11===e.nodeType?e:a,n)if("string"==typeof n){let t,o=b.get(e=e.head||e);o||b.set(e,o=new Set),o.has(l)||(t=a.createElement("style"),t.innerHTML=n,e.insertBefore(t,e.querySelector("link")),o&&o.add(l))}else e.adoptedStyleSheets.includes(n)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]);return l})(l.shadowRoot?l.shadowRoot:l.getRootNode(),t);10&n&&(l["s-sc"]=o,l.classList.add(o+"-h"),2&n&&l.classList.add(o+"-s"))})(e);Q(e,t),o&&(o.map((e=>e())),n["s-rc"]=void 0);{const t=n["s-p"],l=()=>Y(e);0===t.length?l():(Promise.all(t).then(l),e.t|=4,t.length=0)}},Q=(i,c)=>{try{r=c,c=c.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.M,f=i.P,$=i.T||S(null,null),d=(e=>e&&e.k===O)(r)?r:j(null,null,r);if(l=c.tagName,f.W&&(d.h=d.h||{},f.W.map((([e,t])=>d.h[t]=c[e]))),d.k=null,d.t|=4,i.T=d,d.j=$.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],n=0!=(1&f.t),o=!1,D($,d),u.t|=1,s){let e,t,l,n,o,s;N(d.j);let i=0;for(;i<H.length;i++)e=H[i],t=e.S,t["s-ol"]||(l=a.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<H.length;i++)if(e=H[i],t=e.S,e.O){for(n=e.O.parentNode,o=e.O.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(s=l["s-nr"],s&&s["s-sn"]===t["s-sn"]&&n===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&n!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&F(d.j),u.t&=-2,H.length=0})(i,c)}catch(e){ue(e,i.M)}return r=null,null},X=()=>r,Y=e=>{const t=e.M,l=e.i,n=e.R;64&e.t?te(l,"componentDidUpdate"):(e.t|=64,ne(t),te(l,"componentDidLoad"),e.L(t),n||ee()),e.U(t),e.C&&(e.C(),e.C=void 0),512&e.t&&ge((()=>I(e,!1))),e.t&=-517},Z=e=>{{const t=re(e),l=t.M.isConnected;return l&&2==(18&t.t)&&I(t,!1),l}},ee=()=>{ne(a.documentElement),ge((()=>B(f,"appload",{detail:{namespace:"delta_share"}})))},te=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){ue(e)}},le=(e,t)=>e&&e.then?e.then(t):t(),ne=e=>e.classList.add("hydrated"),oe=(e,t,l)=>{if(t.A){e.watchers&&(t.D=e.watchers);const n=Object.entries(t.A),o=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(o,e,{get(){return((e,t)=>re(this).F.get(t))(0,e)},set(l){((e,t,l,n)=>{const o=re(e),s=o.M,i=o.F.get(t),r=o.t,c=o.i;if(l=((e,t)=>null==e||k(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.A[t][0]),!(8&r&&void 0!==i||l===i)&&(o.F.set(t,l),c)){if(n.D&&128&r){const e=n.D[t];e&&e.map((e=>{try{c[e](l,i,t)}catch(e){ue(e,s)}}))}2==(18&r)&&I(o,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(o,e,{value(...t){const l=re(this);return l.H.then((()=>l.i[e](...t)))}})})),1&l){const l=new Map;o.attributeChangedCallback=function(e,t,n){u.jmp((()=>{const t=l.get(e);this[t]=(null!==n||"boolean"!=typeof this[t])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,n])=>{const o=n[1]||e;return l.set(o,e),512&n[0]&&t.W.push([e,o]),o}))}}return e},se=(e,t={})=>{const l=[],n=t.exclude||[],o=f.customElements,s=a.head,i=s.querySelector("meta[charset]"),r=a.createElement("style"),c=[];let $,h=!0;Object.assign(u,t),u.l=new URL(t.resourcesUrl||"./",a.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],A:t[2],N:t[3]};s.A=t[2],s.N=t[3],s.W=[],s.D={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),fe(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){$&&(clearTimeout($),$=null),h?c.push(this):u.jmp((()=>(e=>{if(0==(1&u.t)){const t=re(e),l=t.P,n=()=>{};if(1&t.t)p(e,t,l.N);else{t.t|=1,12&l.t&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let l=e;for(;l=l.parentNode||l.host;)if(l["s-p"]){G(t,t.R=l);break}}l.A&&Object.entries(l.A).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=de(l)).then){const e=()=>{};o=await o,e()}o.isProxied||(l.D=o.watchers,oe(o,l,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){ue(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=g(l);if(!pe.has(t)){const n=()=>{};((e,t,l)=>{let n=pe.get(e);d&&l?(n=n||new CSSStyleSheet,n.replace(t)):n=t,pe.set(e,n)})(t,e,!!(1&l.t)),n()}}}const s=t.R,i=()=>I(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,l)}n()}})(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const e=re(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return re(this)._}};s.q=e[0],n.includes(i)||o.get(i)||(l.push(i),o.define(i,oe(r,s,1)))})))),r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),h=!1,c.length?c.map((e=>e.connectedCallback())):u.jmp((()=>$=setTimeout(ee,30)))},ie=new WeakMap,re=e=>ie.get(e),ce=(e,t)=>ie.set(t.i=e,t),fe=(e,t)=>{const l={t:0,M:e,P:t,F:new Map};return l.H=new Promise((e=>l.U=e)),l._=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],p(e,l,t.N),ie.set(e,l)},ae=(e,t)=>t in e,ue=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.$.replace(/-/g,"_"),l=e.q,n=$e.get(l);return n?n[t]:import(`./${l}.entry.js`).then((e=>($e.set(l,e),e[t])),ue)},pe=new Map,he=[],me=[],ye=(e,t)=>l=>{e.push(l),c||(c=!0,t&&4&u.t?ge(be):u.raf(be))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ue(e)}e.length=0},be=()=>{we(he),we(me),(c=he.length>0)&&u.raf(be)},ge=e=>$().then(e),ve=ye(me,!0);export{O as H,V as a,se as b,z as c,Z as f,X as g,j as h,$ as p,ce as r}
|
|
1
|
+
let e,t,l,n=!1,o=!1,s=!1,i=!1,r=null,c=!1;const f="undefined"!=typeof window?window:{},a=f.document||{head:{}},u={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},$=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),p=(e,t,l)=>{l&&l.map((([l,n,o])=>{const s=y(e,l),i=h(t,o),r=m(l);u.ael(s,n,i,r),(t.o=t.o||[]).push((()=>u.rel(s,n,i,r)))}))},h=(e,t)=>l=>{try{256&e.t?e.i[t](l):(e.u=e.u||[]).push([t,l])}catch(e){ue(e)}},y=(e,t)=>4&t?a:8&t?f:e,m=e=>0!=(2&e),w="http://www.w3.org/1999/xlink",b=new WeakMap,g=e=>"sc-"+e.$,v={},k=e=>"object"==(e=typeof e)||"function"===e,j=(e,t,...l)=>{let n=null,o=null,s=null,i=!1,r=!1,c=[];const f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!k(n))&&(n+=""),i&&r?c[c.length-1].p+=n:c.push(i?S(null,n):n),r=i)};if(f(l),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=S(e,null);return a.h=t,c.length>0&&(a.m=c),a.g=o,a.v=s,a},S=(e,t)=>({t:0,k:e,p:t,j:null,m:null,h:null,g:null,v:null}),O={},M=(e,t,l,n,o,s)=>{if(l!==n){let i=ae(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=C(l),s=C(n);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=k(n);if((i||c&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let o=null==n?"":n;"list"===t?i=!1:null!=l&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(w,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(n=!0===n?"":n,f?e.setAttributeNS(w,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):ae(f,r)?r.slice(2):r[2]+t.slice(3),l&&u.rel(e,t,l,!1),n&&u.ael(e,t,n,!1)}},x=/\s/,C=e=>e?e.split(x):[],R=(e,t,l,n)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.h||v,i=t.h||v;for(n in s)n in i||M(o,n,s[n],void 0,l,t.t);for(n in i)M(o,n,s[n],i[n],l,t.t)},P=(o,r,c,f)=>{let u,$,d,p=r.m[c],h=0;if(n||(s=!0,"slot"===p.k&&(e&&f.classList.add(e+"-s"),p.t|=p.m?2:1)),null!==p.p)u=p.j=a.createTextNode(p.p);else if(1&p.t)u=p.j=a.createTextNode("");else{if(i||(i="svg"===p.k),u=p.j=a.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),i&&"foreignObject"===p.k&&(i=!1),R(null,p,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),p.m)for(h=0;h<p.m.length;++h)$=P(o,p,h,u),$&&u.appendChild($);"svg"===p.k?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=l,3&p.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=p.v||"",d=o&&o.m&&o.m[c],d&&d.k===p.k&&o.j&&T(o.j,!1)),u},T=(e,t)=>{u.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==l&&o["s-ol"]&&(A(o).insertBefore(o,U(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&T(o,t)}u.t&=-2},W=(e,t,n,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===l&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=P(null,n,s,e),r&&(o[s].j=r,c.insertBefore(r,U(t))))},L=(e,t,l,n,s)=>{for(;t<=l;++t)(n=e[t])&&(s=n.j,D(n),o=!0,s["s-ol"]?s["s-ol"].remove():T(s,!0),s.remove())},E=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),U=e=>e&&e["s-ol"]||e,A=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,F=(e,t)=>{const l=t.j=e.j,n=e.m,o=t.m,s=t.k,r=t.p;let c;null===r?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||R(e,t,i),null!==n&&null!==o?((e,t,l,n)=>{let o,s,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],$=t[a],d=n.length-1,p=n[0],h=n[d];for(;i<=a&&r<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--a];else if(null==p)p=n[++r];else if(null==h)h=n[--d];else if(E(u,p))F(u,p),u=t[++i],p=n[++r];else if(E($,h))F($,h),$=t[--a],h=n[--d];else if(E(u,h))"slot"!==u.k&&"slot"!==h.k||T(u.j.parentNode,!1),F(u,h),e.insertBefore(u.j,$.j.nextSibling),u=t[++i],h=n[--d];else if(E($,p))"slot"!==u.k&&"slot"!==h.k||T($.j.parentNode,!1),F($,p),e.insertBefore($.j,u.j),$=t[--a],p=n[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===p.g){c=f;break}c>=0?(s=t[c],s.k!==p.k?o=P(t&&t[r],l,c,e):(F(s,p),t[c]=void 0,o=s.j),p=n[++r]):(o=P(t&&t[r],l,r,e),p=n[++r]),o&&A(u.j).insertBefore(o,U(u.j))}i>a?W(e,null==n[d+1]?null:n[d+1].j,l,n,r,d):r>d&&L(t,i,a)})(l,n,t,o):null!==o?(null!==e.p&&(l.textContent=""),W(l,null,t,o,0,o.length-1)):null!==n&&L(n,0,n.length-1),i&&"svg"===s&&(i=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:e.p!==r&&(l.data=r)},H=e=>{let t,l,n,o,s,i,r=e.childNodes;for(l=0,n=r.length;l<n;l++)if(t=r[l],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<n;o++)if(i=r[o].nodeType,r[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}H(t)}},N=[],_=e=>{let t,l,n,s,i,r,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(n=l.parentNode.childNodes,s=t["s-sn"],r=n.length-1;r>=0;r--)l=n[r],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(q(l,s)?(i=N.find((e=>e.S===l)),o=!0,l["s-sn"]=l["s-sn"]||s,i?i.O=t:N.push({O:t,S:l}),l["s-sr"]&&N.map((e=>{q(e.S,l["s-sn"])&&(i=N.find((e=>e.S===l)),i&&!e.O&&(e.O=i.O))}))):N.some((e=>e.S===l))||N.push({S:l}));1===t.nodeType&&_(t)}},q=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,D=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(D)},V=e=>re(e).M,z=(e,t,l)=>{const n=V(e);return{emit:e=>B(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},B=(e,t,l)=>{const n=u.ce(t,l);return e.dispatchEvent(n),n},G=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},I=(e,t)=>{if(e.t|=16,!(4&e.t))return G(e,e.R),ve((()=>J(e,t)));e.t|=512},J=(e,t)=>{const l=e.i;let n;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>te(l,e,t))),e.u=null),n=te(l,"componentWillLoad")):n=te(l,"componentWillUpdate"),n=le(n,(()=>te(l,"componentWillRender"))),le(n,(()=>K(e,l,t)))},K=async(e,t,l)=>{const n=e.M,o=n["s-rc"];l&&(e=>{const t=e.P,l=e.M,n=t.t,o=((e,t)=>{let l=g(t),n=pe.get(l);if(e=11===e.nodeType?e:a,n)if("string"==typeof n){let t,o=b.get(e=e.head||e);o||b.set(e,o=new Set),o.has(l)||(t=a.createElement("style"),t.innerHTML=n,e.insertBefore(t,e.querySelector("link")),o&&o.add(l))}else e.adoptedStyleSheets.includes(n)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]);return l})(l.shadowRoot?l.shadowRoot:l.getRootNode(),t);10&n&&(l["s-sc"]=o,l.classList.add(o+"-h"),2&n&&l.classList.add(o+"-s"))})(e);Q(e,t),o&&(o.map((e=>e())),n["s-rc"]=void 0);{const t=n["s-p"],l=()=>Y(e);0===t.length?l():(Promise.all(t).then(l),e.t|=4,t.length=0)}},Q=(i,c)=>{try{r=c,c=c.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.M,f=i.P,$=i.T||S(null,null),d=(e=>e&&e.k===O)(r)?r:j(null,null,r);if(l=c.tagName,f.W&&(d.h=d.h||{},f.W.map((([e,t])=>d.h[t]=c[e]))),d.k=null,d.t|=4,i.T=d,d.j=$.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],n=0!=(1&f.t),o=!1,F($,d),u.t|=1,s){let e,t,l,n,o,s;_(d.j);let i=0;for(;i<N.length;i++)e=N[i],t=e.S,t["s-ol"]||(l=a.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<N.length;i++)if(e=N[i],t=e.S,e.O){for(n=e.O.parentNode,o=e.O.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(s=l["s-nr"],s&&s["s-sn"]===t["s-sn"]&&n===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&n!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&H(d.j),u.t&=-2,N.length=0})(i,c)}catch(e){ue(e,i.M)}return r=null,null},X=()=>r,Y=e=>{const t=e.M,l=e.i,n=e.R;64&e.t||(e.t|=64,ne(t),te(l,"componentDidLoad"),e.L(t),n||ee()),e.U(t),e.C&&(e.C(),e.C=void 0),512&e.t&&ge((()=>I(e,!1))),e.t&=-517},Z=e=>{{const t=re(e),l=t.M.isConnected;return l&&2==(18&t.t)&&I(t,!1),l}},ee=()=>{ne(a.documentElement),ge((()=>B(f,"appload",{detail:{namespace:"delta_share"}})))},te=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){ue(e)}},le=(e,t)=>e&&e.then?e.then(t):t(),ne=e=>e.classList.add("hydrated"),oe=(e,t,l)=>{if(t.A){e.watchers&&(t.F=e.watchers);const n=Object.entries(t.A),o=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(o,e,{get(){return((e,t)=>re(this).H.get(t))(0,e)},set(l){((e,t,l,n)=>{const o=re(e),s=o.M,i=o.H.get(t),r=o.t,c=o.i;if(l=((e,t)=>null==e||k(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.A[t][0]),!(8&r&&void 0!==i||l===i)&&(o.H.set(t,l),c)){if(n.F&&128&r){const e=n.F[t];e&&e.map((e=>{try{c[e](l,i,t)}catch(e){ue(e,s)}}))}2==(18&r)&&I(o,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(o,e,{value(...t){const l=re(this);return l.N.then((()=>l.i[e](...t)))}})})),1&l){const l=new Map;o.attributeChangedCallback=function(e,t,n){u.jmp((()=>{const t=l.get(e);this[t]=(null!==n||"boolean"!=typeof this[t])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,n])=>{const o=n[1]||e;return l.set(o,e),512&n[0]&&t.W.push([e,o]),o}))}}return e},se=(e,t={})=>{const l=[],n=t.exclude||[],o=f.customElements,s=a.head,i=s.querySelector("meta[charset]"),r=a.createElement("style"),c=[];let $,h=!0;Object.assign(u,t),u.l=new URL(t.resourcesUrl||"./",a.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],A:t[2],_:t[3]};s.A=t[2],s._=t[3],s.W=[],s.F={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),fe(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){$&&(clearTimeout($),$=null),h?c.push(this):u.jmp((()=>(e=>{if(0==(1&u.t)){const t=re(e),l=t.P,n=()=>{};if(1&t.t)p(e,t,l._);else{t.t|=1,12&l.t&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let l=e;for(;l=l.parentNode||l.host;)if(l["s-p"]){G(t,t.R=l);break}}l.A&&Object.entries(l.A).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=de(l)).then){const e=()=>{};o=await o,e()}o.isProxied||(l.F=o.watchers,oe(o,l,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){ue(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=g(l);if(!pe.has(t)){const n=()=>{};((e,t,l)=>{let n=pe.get(e);d&&l?(n=n||new CSSStyleSheet,n.replace(t)):n=t,pe.set(e,n)})(t,e,!!(1&l.t)),n()}}}const s=t.R,i=()=>I(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,l)}n()}})(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const e=re(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return re(this).q}};s.D=e[0],n.includes(i)||o.get(i)||(l.push(i),o.define(i,oe(r,s,1)))})))),r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),h=!1,c.length?c.map((e=>e.connectedCallback())):u.jmp((()=>$=setTimeout(ee,30)))},ie=new WeakMap,re=e=>ie.get(e),ce=(e,t)=>ie.set(t.i=e,t),fe=(e,t)=>{const l={t:0,M:e,P:t,H:new Map};return l.N=new Promise((e=>l.U=e)),l.q=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],p(e,l,t._),ie.set(e,l)},ae=(e,t)=>t in e,ue=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.$.replace(/-/g,"_"),l=e.D,n=$e.get(l);return n?n[t]:import(`./${l}.entry.js`).then((e=>($e.set(l,e),e[t])),ue)},pe=new Map,he=[],ye=[],me=(e,t)=>l=>{e.push(l),c||(c=!0,t&&4&u.t?ge(be):u.raf(be))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ue(e)}e.length=0},be=()=>{we(he),we(ye),(c=he.length>0)&&u.raf(be)},ge=e=>$().then(e),ve=me(ye,!0);export{O as H,V as a,se as b,z as c,Z as f,X as g,j as h,$ as p,ce as r}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i,a as t}from"./p-9ba5ddb4.js";import{B as n}from"./p-fb1885ec.js";import{m as a}from"./p-9dd299b2.js";const r=class{constructor(i){e(this,i),this.isMobile=!0,this.isMenuMobileOpen=!1,this.intMenuData=[],this.extMenuData=[],this.isLogged=!1}activeIntLinkChange(e){this.activeMenuItem=this.currentMenuItem=this.intMenuData.find((i=>i.id===e))}handleResize(){this.isMobile=window.innerWidth<=a}handleZListItemLinkClick(){this.isMenuMobileOpen=!1}handleZListItemClick(){this.isMenuMobileOpen=!1}componentWillLoad(){this.intlinkdata&&(this.intMenuData="string"==typeof this.intlinkdata?JSON.parse(this.intlinkdata):this.intlinkdata),this.activeMenuItem=this.currentMenuItem=this.intMenuData.find((e=>e.id===this.activeintlinkid)),this.extlinkdata&&(this.extMenuData="string"==typeof this.extlinkdata?JSON.parse(this.extlinkdata):this.extlinkdata),this.userdata&&(this.userData="string"==typeof this.userdata?JSON.parse(this.userdata):this.userdata,this.isLogged=this.userData.islogged),this.handleResize()}renderLogoDiv(){return i("div",{class:"logo"},i("z-logo",{link:this.logolink?this.logolink:null,targetblank:!0,width:144,height:36,imagealt:this.imagealt}))}renderIntMenu(e){if(this.isLogged&&this.ismyz)return i("div",{id:"link-int",class:"link-int"},e.map((e=>this.renderIntMenuItem(e))))}renderIntMenuItem(e){const{id:t,label:n,link:a}=e;return i("span",null,i("a",{href:a||null,id:t,class:"menu-item",onClick:()=>{this.activeMenuItem=this.currentMenuItem=e,this.activeintlinkid=e.id,e.subMenu&&this.handleToggleMobileMenuItem(e.id)},onMouseEnter:()=>{this.activeMenuItem=e},onMouseLeave:()=>{this.activeMenuItem=this.currentMenuItem},role:a?"link":"button",tabindex:this.getIntMenuItemTabindex(e)},i("span",null,n),e.subMenu?i("i",null):null),i("svg",{height:"8",width:"16",class:this.activeMenuItem&&this.activeMenuItem.id===t?"":"hidden"},i("polygon",{points:"8,0 16,8 0,8",class:"arrow"})),this.isMobile&&this.renderMenuItemsData(e))}getIntMenuItemTabindex(e){return this.intMenuData.indexOf(e)+1}handleToggleMobileMenuItem(e){this.isMobile&&(this.element.shadowRoot.getElementById(e).classList.toggle("isopen"),this.element.shadowRoot.getElementById("mobile-dropdown-"+e).classList.toggle("visible"))}renderMenuItemsData(e){if(!e.subMenu)return null;const i=e.subMenu.map((e=>({id:e.id,text:e.label,link:e.link,listitemid:e.id})));return this.renderMobileSubMenu(i,e.id)}renderMobileSubMenu(e,t){return i("span",{class:"mobile-dropdown",id:t?`mobile-dropdown-${t}`:""},i("z-list",{list:e}))}renderSubMenu(e){if(this.ismyz&&this.isLogged)return e&&e.subMenu?i("div",{id:"dropdown-menu",class:"dropdown-menu"},i("ul",{class:"dropdown-links"},e.subMenu.map((t=>i("li",null,i("a",{id:t.id,class:t.id===this.activesublinkid?"active":"",href:t.link?t.link:null,role:t.link?"link":"button",tabindex:this.getIntMenuItemTabindex(e)},t.label)))))):i("div",{id:"dropdown-menu",class:"dropdown-menu hidden"})}renderExtMenu(e){return this.isLogged?i("div",{id:"link-ext",class:"link-ext"},e.map((e=>{const{id:t,label:n,link:a,icon:r}=e;return i("span",{class:"link-ext-span"+(this.ismyz?" myz":"")},i("z-link",{id:t,htmlid:t,href:a,icon:r,iswhite:!!this.ismyz,target:"_blank",htmltabindex:10},n))}))):i("div",null)}renderLoginDiv(e){return i("div",{class:"login"},this.isLogged?i("z-menu-dropdown",{nomeutente:e.name,menucontent:JSON.stringify(e.userlinks)}):this.renderLoginButton())}renderLoginButton(){if(!this.hideloginbutton)return i("z-button",{htmlid:"login-button",variant:this.ismyz?n.secondary:n.tertiary,icon:"login",issmall:!0},"entra")}renderMobileLoginDiv(e){return i("div",{id:"mobile-login",class:"mobile-login"},i("span",null,i("a",{class:"menu-item",id:"user-data",onClick:()=>this.handleToggleMobileMenuItem("user-data"),role:"button"},i("span",null,i("z-icon",{name:"user-avatar",height:16,width:16}),e.name),i("i",null)),this.renderUserData(e)))}renderUserData(e){if(this.isMobile&&!e)return null;const i=e.userlinks.map((e=>({text:e.label,link:e.link,icon:e.icon,listitemid:e.id})));return this.renderMobileSubMenu(i,"user-data")}renderDesktopHeader(){return i("header",{class:this.ismyz?"":"myz-out"},this.renderMainHeader(),this.renderSubMenu(this.activeMenuItem))}renderMainHeader(){return i("div",{id:"main-header",class:"main-header"+(this.ismyz?"":" myz-out")},this.renderLogoDiv(),this.renderIntMenu(this.intMenuData),this.renderExtMenu(this.extMenuData),this.renderLoginDiv(this.userData))}renderMobileHeader(){return i("header",null,this.renderMobileMenu(),this.renderMobileMenuContent())}renderMobileMenu(){return i("div",{id:"mobile-header",class:"mobile-header"+(this.ismyz?"":" myz-out")},this.renderLogoDiv(),this.renderMobileMenuToggle())}renderMobileMenuToggle(){return this.isLogged?i("div",{class:"menu-mobile",id:"mobile-menu-wrapper",onClick:()=>this.isMenuMobileOpen=!this.isMenuMobileOpen},i("div",{class:"menu-toggle"+(this.isMenuMobileOpen?" is-active":""),id:"mobile-menu"},i("span",{class:"bar"}),i("span",{class:"bar"}),i("span",{class:"bar"})),i("span",null,"Menu")):this.renderLoginButton()}renderMobileMenuContent(){return this.isLogged?i("div",{id:"mobile-content",class:`mobile-content${this.isMenuMobileOpen?" open":""}${this.ismyz?"":" myz-out"}`},this.renderMobileLoginDiv(this.userData),this.ismyz&&i("hr",null),this.renderIntMenu(this.intMenuData),i("hr",null),this.renderExtMenu(this.extMenuData)):null}render(){return this.isMobile?this.renderMobileHeader():this.renderDesktopHeader()}get element(){return t(this)}static get watchers(){return{activeintlinkid:["activeIntLinkChange"]}}};r.style=':host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"main-header";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:"logo link-int link-ext login";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * .5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * .5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * .5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:" ";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:"main-header main-header main-header main-header main-header" "dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:"logo link-int link-ext login";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"dropdown-links";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * .5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * .5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}';export{r as z_header}
|
|
1
|
+
import{r as e,h as i,a as t}from"./p-d489328b.js";import{B as n}from"./p-fb1885ec.js";import{m as a}from"./p-9dd299b2.js";const r=class{constructor(i){e(this,i),this.isMobile=!0,this.isMenuMobileOpen=!1,this.intMenuData=[],this.extMenuData=[],this.isLogged=!1}activeIntLinkChange(e){this.activeMenuItem=this.currentMenuItem=this.intMenuData.find((i=>i.id===e))}handleResize(){this.isMobile=window.innerWidth<=a}handleZListItemLinkClick(){this.isMenuMobileOpen=!1}handleZListItemClick(){this.isMenuMobileOpen=!1}componentWillLoad(){this.intlinkdata&&(this.intMenuData="string"==typeof this.intlinkdata?JSON.parse(this.intlinkdata):this.intlinkdata),this.activeMenuItem=this.currentMenuItem=this.intMenuData.find((e=>e.id===this.activeintlinkid)),this.extlinkdata&&(this.extMenuData="string"==typeof this.extlinkdata?JSON.parse(this.extlinkdata):this.extlinkdata),this.userdata&&(this.userData="string"==typeof this.userdata?JSON.parse(this.userdata):this.userdata,this.isLogged=this.userData.islogged),this.handleResize()}renderLogoDiv(){return i("div",{class:"logo"},i("z-logo",{link:this.logolink?this.logolink:null,targetblank:!0,width:144,height:36,imagealt:this.imagealt}))}renderIntMenu(e){if(this.isLogged&&this.ismyz)return i("div",{id:"link-int",class:"link-int"},e.map((e=>this.renderIntMenuItem(e))))}renderIntMenuItem(e){const{id:t,label:n,link:a}=e;return i("span",null,i("a",{href:a||null,id:t,class:"menu-item",onClick:()=>{this.activeMenuItem=this.currentMenuItem=e,this.activeintlinkid=e.id,e.subMenu&&this.handleToggleMobileMenuItem(e.id)},onMouseEnter:()=>{this.activeMenuItem=e},onMouseLeave:()=>{this.activeMenuItem=this.currentMenuItem},role:a?"link":"button",tabindex:this.getIntMenuItemTabindex(e)},i("span",null,n),e.subMenu?i("i",null):null),i("svg",{height:"8",width:"16",class:this.activeMenuItem&&this.activeMenuItem.id===t?"":"hidden"},i("polygon",{points:"8,0 16,8 0,8",class:"arrow"})),this.isMobile&&this.renderMenuItemsData(e))}getIntMenuItemTabindex(e){return this.intMenuData.indexOf(e)+1}handleToggleMobileMenuItem(e){this.isMobile&&(this.element.shadowRoot.getElementById(e).classList.toggle("isopen"),this.element.shadowRoot.getElementById("mobile-dropdown-"+e).classList.toggle("visible"))}renderMenuItemsData(e){if(!e.subMenu)return null;const i=e.subMenu.map((e=>({id:e.id,text:e.label,link:e.link,listitemid:e.id})));return this.renderMobileSubMenu(i,e.id)}renderMobileSubMenu(e,t){return i("span",{class:"mobile-dropdown",id:t?`mobile-dropdown-${t}`:""},i("z-list",{list:e}))}renderSubMenu(e){if(this.ismyz&&this.isLogged)return e&&e.subMenu?i("div",{id:"dropdown-menu",class:"dropdown-menu"},i("ul",{class:"dropdown-links"},e.subMenu.map((t=>i("li",null,i("a",{id:t.id,class:t.id===this.activesublinkid?"active":"",href:t.link?t.link:null,role:t.link?"link":"button",tabindex:this.getIntMenuItemTabindex(e)},t.label)))))):i("div",{id:"dropdown-menu",class:"dropdown-menu hidden"})}renderExtMenu(e){return this.isLogged?i("div",{id:"link-ext",class:"link-ext"},e.map((e=>{const{id:t,label:n,link:a,icon:r}=e;return i("span",{class:"link-ext-span"+(this.ismyz?" myz":"")},i("z-link",{id:t,htmlid:t,href:a,icon:r,iswhite:!!this.ismyz,target:"_blank",htmltabindex:10},n))}))):i("div",null)}renderLoginDiv(e){return i("div",{class:"login"},this.isLogged?i("z-menu-dropdown",{nomeutente:e.name,menucontent:JSON.stringify(e.userlinks)}):this.renderLoginButton())}renderLoginButton(){if(!this.hideloginbutton)return i("z-button",{htmlid:"login-button",variant:this.ismyz?n.secondary:n.tertiary,icon:"login",issmall:!0},"entra")}renderMobileLoginDiv(e){return i("div",{id:"mobile-login",class:"mobile-login"},i("span",null,i("a",{class:"menu-item",id:"user-data",onClick:()=>this.handleToggleMobileMenuItem("user-data"),role:"button"},i("span",null,i("z-icon",{name:"user-avatar",height:16,width:16}),e.name),i("i",null)),this.renderUserData(e)))}renderUserData(e){if(this.isMobile&&!e)return null;const i=e.userlinks.map((e=>({text:e.label,link:e.link,icon:e.icon,listitemid:e.id})));return this.renderMobileSubMenu(i,"user-data")}renderDesktopHeader(){return i("header",{class:this.ismyz?"":"myz-out"},this.renderMainHeader(),this.renderSubMenu(this.activeMenuItem))}renderMainHeader(){return i("div",{id:"main-header",class:"main-header"+(this.ismyz?"":" myz-out")},this.renderLogoDiv(),this.renderIntMenu(this.intMenuData),this.renderExtMenu(this.extMenuData),this.renderLoginDiv(this.userData))}renderMobileHeader(){return i("header",null,this.renderMobileMenu(),this.renderMobileMenuContent())}renderMobileMenu(){return i("div",{id:"mobile-header",class:"mobile-header"+(this.ismyz?"":" myz-out")},this.renderLogoDiv(),this.renderMobileMenuToggle())}renderMobileMenuToggle(){return this.isLogged?i("div",{class:"menu-mobile",id:"mobile-menu-wrapper",onClick:()=>this.isMenuMobileOpen=!this.isMenuMobileOpen},i("div",{class:"menu-toggle"+(this.isMenuMobileOpen?" is-active":""),id:"mobile-menu"},i("span",{class:"bar"}),i("span",{class:"bar"}),i("span",{class:"bar"})),i("span",null,"Menu")):this.renderLoginButton()}renderMobileMenuContent(){return this.isLogged?i("div",{id:"mobile-content",class:`mobile-content${this.isMenuMobileOpen?" open":""}${this.ismyz?"":" myz-out"}`},this.renderMobileLoginDiv(this.userData),this.ismyz&&i("hr",null),this.renderIntMenu(this.intMenuData),i("hr",null),this.renderExtMenu(this.extMenuData)):null}render(){return this.isMobile?this.renderMobileHeader():this.renderDesktopHeader()}get element(){return t(this)}static get watchers(){return{activeintlinkid:["activeIntLinkChange"]}}};r.style=':host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"main-header";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:"logo link-int link-ext login";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * .5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * .5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * .5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:" ";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:"main-header main-header main-header main-header main-header" "dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:"logo link-int link-ext login";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"dropdown-links";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * .5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * .5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}';export{r as z_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,a as t}from"./p-
|
|
1
|
+
import{r,h as o,a as t}from"./p-d489328b.js";const e=class{constructor(o){r(this,o)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return o("slot",null)}get host(){return t(this)}};e.style=".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{e as z_registro_table_footer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o}from"./p-
|
|
1
|
+
import{r as t,h as o}from"./p-d489328b.js";const r=class{constructor(o){t(this,o)}render(){return o("slot",null)}};r.style=":host{box-sizing:border-box;position:relative;display:flex;flex-direction:row;width:100%;max-width:100%;margin:0;padding:0;font-family:var(--dashboard-font);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";export{r as z_stepper}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s}from"./p-
|
|
1
|
+
import{r,h as s}from"./p-d489328b.js";const t=class{constructor(s){r(this,s)}hadleOnImageError(){this.img=this.defaultimg}render(){return s("img",{class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};t.style="img{display:block;max-height:340px;margin:auto auto}img.faded{opacity:0.3}";export{t as z_card_cover}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r}from"./p-
|
|
1
|
+
import{r as t,h as r}from"./p-d489328b.js";const s=class{constructor(r){t(this,r),this.variant="regular"}render(){return r("z-typography",{component:this.component||`h${this.level}`,level:`h${this.level}`,variant:this.variant},r("slot",null))}};export{s as z_heading}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,H as i,a as o}from"./p-
|
|
1
|
+
import{r as t,c as e,h as s,H as i,a as o}from"./p-d489328b.js";const a=class{constructor(s){t(this,s),this.opened=e(this,"opened",7),this.closed=e(this,"closed",7)}toggle(){this.hasContent&&(this.open=!this.open,this.open?this.opened.emit():this.closed.emit())}handleClick(t){this.open&&!this.hostElement.contains(t.target)&&(this.open=!1,this.closed.emit())}checkContent(){this.hasContent=!!this.hostElement.querySelectorAll('[slot="item"]').length}componentWillLoad(){this.checkContent()}render(){return s(i,{role:"menu",open:this.open},s("button",{class:"label","aria-pressed":this.open?"true":"false",onClick:this.toggle.bind(this)},s("slot",null),this.hasContent&&s("z-icon",{name:this.open?"chevron-up":"chevron-down"})),this.open&&s("div",{class:"items"},s("slot",{name:"item",onSlotchange:this.checkContent.bind(this)})))}get hostElement(){return o(this)}};a.style=":host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--dashboard-font);--focus-shadow:0 0 2px 2px var(--blue100)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){font-family:var(--dashboard-font);font-weight:var(--font-rg);color:var(--text-grey-800)}:host([active]) .label,:host([open]) .label,.label:hover{border-color:var(--blue500)}.label{display:flex;align-items:center;width:100%;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);text-align:left;background:transparent;border-radius:0;border:0;border-bottom:var(--border-size-small) solid var(--bg-grey-800);cursor:pointer}.label ::slotted(*){width:100%;margin:0;font-size:16px;line-height:20px}.label:focus:focus-visible{outline:none;box-shadow:var(--focus-shadow)}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--bg-grey-800)}.items{display:flex;flex-direction:column;width:100%;padding:calc(var(--space-unit) / 2) 0 calc(var(--space-unit) / 2 * 3)}.items>::slotted([slot='item']){display:inline-flex;margin:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) / 2);font-size:14px;line-height:20px;outline:none}.items>::slotted([slot='item']:focus:focus-visible){box-shadow:var(--focus-shadow)}.items>::slotted([slot='item']:hover){color:var(--blue500)}";export{a as z_menu_section}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-d489328b.js";import{h as e}from"./p-cac71697.js";import"./p-fb1885ec.js";const a=class{constructor(s){t(this,s),this.zListItemLinkClick=i(this,"zListItemLinkClick",7),this.zListItemClick=i(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(t,i){this.zListItemLinkClick.emit({e:t,linkId:i})}emitZListItemClick(t,i){this.zListItemClick.emit({e:t,listitemid:i})}render(){const t=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:t=>this.emitZListItemClick(t,this.listitemid),onKeyPress:t=>e(t,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:t,onClick:i=>this.emitZListItemLinkClick(i,t),onKeyPress:i=>e(i,this.emitZListItemLinkClick,t),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};a.style=":host li{all:unset;all:reset;width:100%}:host li{list-style-type:none;line-height:14px}:host li>span{line-height:14px;padding:calc(var(--space-unit) * 2) 0;display:flex;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;letter-spacing:0.23px;color:var(--text-grey-800);fill:var(--text-grey-800)}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{color:var(--myz-blue);fill:var(--myz-blue);height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-size:contain;background-repeat:no-repeat}";export{a as z_list_item}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as t,c as i,h as n}from"./p-
|
|
1
|
+
import{r as t,c as i,h as n}from"./p-d489328b.js";import{c as s}from"./p-112455b1.js";import{h as e}from"./p-cac71697.js";import"./p-fb1885ec.js";var r=s((function(t){
|
|
2
2
|
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
3
3
|
* http://hammerjs.github.io/
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2016 Jorik Tangelder;
|
|
6
6
|
* Licensed under the MIT license */
|
|
7
|
-
!function(i,n,s,e){var r,h=["","webkit","Moz","MS","ms","o"],o=n.createElement("div"),u=Math.round,c=Math.abs,a=Date.now;function f(t,i,n){return setTimeout(T(t,n),i)}function l(t,i,n){return!!Array.isArray(t)&&(v(t,n[i],n),!0)}function v(t,i,n){var s;if(t)if(t.forEach)t.forEach(i,n);else if(t.length!==e)for(s=0;s<t.length;)i.call(n,t[s],s,t),s++;else for(s in t)t.hasOwnProperty(s)&&i.call(n,t[s],s,t)}function p(t,n,s){var e="DEPRECATED METHOD: "+n+"\n"+s+" AT \n";return function(){var n=new Error("get-stack-trace"),s=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=i.console&&(i.console.warn||i.console.log);return r&&r.call(i.console,e,s),t.apply(this,arguments)}}r="function"!=typeof Object.assign?function(t){if(t===e||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),n=1;n<arguments.length;n++){var s=arguments[n];if(s!==e&&null!==s)for(var r in s)s.hasOwnProperty(r)&&(i[r]=s[r])}return i}:Object.assign;var d=p((function(t,i,n){for(var s=Object.keys(i),r=0;r<s.length;)(!n||n&&t[s[r]]===e)&&(t[s[r]]=i[s[r]]),r++;return t}),"extend","Use `assign`."),g=p((function(t,i){return d(t,i,!0)}),"merge","Use `assign`.");function m(t,i,n){var s,e=i.prototype;(s=t.prototype=Object.create(e)).constructor=t,s._super=e,n&&r(s,n)}function T(t,i){return function(){return t.apply(i,arguments)}}function E(t,i){return"function"==typeof t?t.apply(i&&i[0]||e,i):t}function y(t,i){return t===e?i:t}function w(t,i,n){v(P(i),(function(i){t.addEventListener(i,n,!1)}))}function b(t,i,n){v(P(i),(function(i){t.removeEventListener(i,n,!1)}))}function I(t,i){for(;t;){if(t==i)return!0;t=t.parentNode}return!1}function A(t,i){return t.indexOf(i)>-1}function P(t){return t.trim().split(/\s+/g)}function M(t,i,n){if(t.indexOf&&!n)return t.indexOf(i);for(var s=0;s<t.length;){if(n&&t[s][n]==i||!n&&t[s]===i)return s;s++}return-1}function N(t){return Array.prototype.slice.call(t,0)}function R(t,i,n){for(var s=[],e=[],r=0;r<t.length;){var h=i?t[r][i]:t[r];M(e,h)<0&&s.push(t[r]),e[r]=h,r++}return n&&(s=i?s.sort((function(t,n){return t[i]>n[i]})):s.sort()),s}function C(t,i){for(var n,s,r=i[0].toUpperCase()+i.slice(1),o=0;o<h.length;){if((s=(n=h[o])?n+r:i)in t)return s;o++}return e}var D=1;function S(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||i}var O="ontouchstart"in i,x=C(i,"PointerEvent")!==e,_=O&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),z="touch",L="mouse",j=["x","y"],k=["clientX","clientY"];function U(t,i){var n=this;this.manager=t,this.callback=i,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(i){E(t.options.enable,[t])&&n.handler(i)},this.init()}function W(t,i,n){var s=n.pointers.length,r=n.changedPointers.length,h=1&i&&s-r==0,o=12&i&&s-r==0;n.isFirst=!!h,n.isFinal=!!o,h&&(t.session={}),n.eventType=i,function(t,i){var n=t.session,s=i.pointers,r=s.length;n.firstInput||(n.firstInput=F(i)),r>1&&!n.firstMultiple?n.firstMultiple=F(i):1===r&&(n.firstMultiple=!1);var h=n.firstInput,o=n.firstMultiple,u=o?o.center:h.center,f=i.center=H(s);i.timeStamp=a(),i.deltaTime=i.timeStamp-h.timeStamp,i.angle=X(u,f),i.distance=K(u,f),function(t,i){var n=i.center,s=t.offsetDelta||{},e=t.prevDelta||{},r=t.prevInput||{};1!==i.eventType&&4!==r.eventType||(e=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},s=t.offsetDelta={x:n.x,y:n.y}),i.deltaX=e.x+(n.x-s.x),i.deltaY=e.y+(n.y-s.y)}(n,i),i.offsetDirection=G(i.deltaX,i.deltaY);var l,v,p=q(i.deltaTime,i.deltaX,i.deltaY);i.overallVelocityX=p.x,i.overallVelocityY=p.y,i.overallVelocity=c(p.x)>c(p.y)?p.x:p.y,i.scale=o?(l=o.pointers,K((v=s)[0],v[1],k)/K(l[0],l[1],k)):1,i.rotation=o?function(t,i){return X(i[1],i[0],k)+X(t[1],t[0],k)}(o.pointers,s):0,i.maxPointers=n.prevInput?i.pointers.length>n.prevInput.maxPointers?i.pointers.length:n.prevInput.maxPointers:i.pointers.length,function(t,i){var n,s,r,h,o=t.lastInterval||i,u=i.timeStamp-o.timeStamp;if(8!=i.eventType&&(u>25||o.velocity===e)){var a=i.deltaX-o.deltaX,f=i.deltaY-o.deltaY,l=q(u,a,f);s=l.x,r=l.y,n=c(l.x)>c(l.y)?l.x:l.y,h=G(a,f),t.lastInterval=i}else n=o.velocity,s=o.velocityX,r=o.velocityY,h=o.direction;i.velocity=n,i.velocityX=s,i.velocityY=r,i.direction=h}(n,i);var d=t.element;I(i.srcEvent.target,d)&&(d=i.srcEvent.target),i.target=d}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function F(t){for(var i=[],n=0;n<t.pointers.length;)i[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:a(),pointers:i,center:H(i),deltaX:t.deltaX,deltaY:t.deltaY}}function H(t){var i=t.length;if(1===i)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,s=0,e=0;e<i;)n+=t[e].clientX,s+=t[e].clientY,e++;return{x:u(n/i),y:u(s/i)}}function q(t,i,n){return{x:i/t||0,y:n/t||0}}function G(t,i){return t===i?1:c(t)>=c(i)?t<0?2:4:i<0?8:16}function K(t,i,n){n||(n=j);var s=i[n[0]]-t[n[0]],e=i[n[1]]-t[n[1]];return Math.sqrt(s*s+e*e)}function X(t,i,n){return n||(n=j),180*Math.atan2(i[n[1]]-t[n[1]],i[n[0]]-t[n[0]])/Math.PI}U.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(S(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&b(this.element,this.evEl,this.domHandler),this.evTarget&&b(this.target,this.evTarget,this.domHandler),this.evWin&&b(S(this.element),this.evWin,this.domHandler)}};var Y={mousedown:1,mousemove:2,mouseup:4},Z="mousedown",B="mousemove mouseup";function V(){this.evEl=Z,this.evWin=B,this.pressed=!1,U.apply(this,arguments)}m(V,U,{handler:function(t){var i=Y[t.type];1&i&&0===t.button&&(this.pressed=!0),2&i&&1!==t.which&&(i=4),this.pressed&&(4&i&&(this.pressed=!1),this.callback(this.manager,i,{pointers:[t],changedPointers:[t],pointerType:L,srcEvent:t}))}});var J={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},$={2:z,3:"pen",4:L,5:"kinect"},Q="pointerdown",tt="pointermove pointerup pointercancel";function it(){this.evEl=Q,this.evWin=tt,U.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(Q="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),m(it,U,{handler:function(t){var i=this.store,n=!1,s=t.type.toLowerCase().replace("ms",""),e=J[s],r=$[t.pointerType]||t.pointerType,h=r==z,o=M(i,t.pointerId,"pointerId");1&e&&(0===t.button||h)?o<0&&(i.push(t),o=i.length-1):12&e&&(n=!0),o<0||(i[o]=t,this.callback(this.manager,e,{pointers:i,changedPointers:[t],pointerType:r,srcEvent:t}),n&&i.splice(o,1))}});var nt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},st="touchstart",et="touchstart touchmove touchend touchcancel";function rt(){this.evTarget=st,this.evWin=et,this.started=!1,U.apply(this,arguments)}function ht(t,i){var n=N(t.touches),s=N(t.changedTouches);return 12&i&&(n=R(n.concat(s),"identifier",!0)),[n,s]}m(rt,U,{handler:function(t){var i=nt[t.type];if(1===i&&(this.started=!0),this.started){var n=ht.call(this,t,i);12&i&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:t})}}});var ot={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ut="touchstart touchmove touchend touchcancel";function ct(){this.evTarget=ut,this.targetIds={},U.apply(this,arguments)}function at(t,i){var n=N(t.touches),s=this.targetIds;if(3&i&&1===n.length)return s[n[0].identifier]=!0,[n,n];var e,r,h=N(t.changedTouches),o=[],u=this.target;if(r=n.filter((function(t){return I(t.target,u)})),1===i)for(e=0;e<r.length;)s[r[e].identifier]=!0,e++;for(e=0;e<h.length;)s[h[e].identifier]&&o.push(h[e]),12&i&&delete s[h[e].identifier],e++;return o.length?[R(r.concat(o),"identifier",!0),o]:void 0}function ft(){U.apply(this,arguments);var t=T(this.handler,this);this.touch=new ct(this.manager,t),this.mouse=new V(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function lt(t,i){1&t?(this.primaryTouch=i.changedPointers[0].identifier,vt.call(this,i)):12&t&&vt.call(this,i)}function vt(t){var i=t.changedPointers[0];if(i.identifier===this.primaryTouch){var n={x:i.clientX,y:i.clientY};this.lastTouches.push(n);var s=this.lastTouches;setTimeout((function(){var t=s.indexOf(n);t>-1&&s.splice(t,1)}),2500)}}function pt(t){for(var i=t.srcEvent.clientX,n=t.srcEvent.clientY,s=0;s<this.lastTouches.length;s++){var e=this.lastTouches[s],r=Math.abs(i-e.x),h=Math.abs(n-e.y);if(r<=25&&h<=25)return!0}return!1}m(ct,U,{handler:function(t){var i=ot[t.type],n=at.call(this,t,i);n&&this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:t})}}),m(ft,U,{handler:function(t,i,n){var s=n.pointerType==L;if(!(s&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(n.pointerType==z)lt.call(this,i,n);else if(s&&pt.call(this,n))return;this.callback(t,i,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var dt=C(o.style,"touchAction"),gt=dt!==e,mt="compute",Tt="auto",Et="manipulation",yt="none",wt="pan-x",bt="pan-y",It=function(){if(!gt)return!1;var t={},n=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(s){t[s]=!n||i.CSS.supports("touch-action",s)})),t}();function At(t,i){this.manager=t,this.set(i)}At.prototype={set:function(t){t==mt&&(t=this.compute()),gt&&this.manager.element.style&&It[t]&&(this.manager.element.style[dt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(i){E(i.options.enable,[i])&&(t=t.concat(i.getTouchAction()))})),function(t){if(A(t,yt))return yt;var i=A(t,wt),n=A(t,bt);return i&&n?yt:i||n?i?wt:bt:A(t,Et)?Et:Tt}(t.join(" "))},preventDefaults:function(t){var i=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)i.preventDefault();else{var s=this.actions,e=A(s,yt)&&!It.none,r=A(s,bt)&&!It["pan-y"],h=A(s,wt)&&!It["pan-x"];if(e&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!h||!r)return e||r&&6&n||h&&24&n?this.preventSrc(i):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Pt=32;function Mt(t){this.options=r({},this.defaults,t||{}),this.id=D++,this.manager=null,this.options.enable=y(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Nt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Rt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Ct(t,i){var n=i.manager;return n?n.get(t):t}function Dt(){Mt.apply(this,arguments)}function St(){Dt.apply(this,arguments),this.pX=null,this.pY=null}function Ot(){Dt.apply(this,arguments)}function xt(){Mt.apply(this,arguments),this._timer=null,this._input=null}function _t(){Dt.apply(this,arguments)}function zt(){Dt.apply(this,arguments)}function Lt(){Mt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function jt(t,i){return(i=i||{}).recognizers=y(i.recognizers,jt.defaults.preset),new kt(t,i)}function kt(t,i){this.options=r({},jt.defaults,i||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(x?it:_?ct:O?ft:V))(this,W),this.touchAction=new At(this,this.options.touchAction),Ut(this,!0),v(this.options.recognizers,(function(t){var i=this.add(new t[0](t[1]));t[2]&&i.recognizeWith(t[2]),t[3]&&i.requireFailure(t[3])}),this)}function Ut(t,i){var n,s=t.element;s.style&&(v(t.options.cssProps,(function(e,r){n=C(s.style,r),i?(t.oldCssProps[n]=s.style[n],s.style[n]=e):s.style[n]=t.oldCssProps[n]||""})),i||(t.oldCssProps={}))}Mt.prototype={defaults:{},set:function(t){return r(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(l(t,"recognizeWith",this))return this;var i=this.simultaneous;return i[(t=Ct(t,this)).id]||(i[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return l(t,"dropRecognizeWith",this)||(t=Ct(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(l(t,"requireFailure",this))return this;var i=this.requireFail;return-1===M(i,t=Ct(t,this))&&(i.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(l(t,"dropRequireFailure",this))return this;t=Ct(t,this);var i=M(this.requireFail,t);return i>-1&&this.requireFail.splice(i,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var i=this,n=this.state;function s(n){i.manager.emit(n,t)}n<8&&s(i.options.event+Nt(n)),s(i.options.event),t.additionalEvent&&s(t.additionalEvent),n>=8&&s(i.options.event+Nt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Pt},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var i=r({},t);if(!E(this.options.enable,[this,i]))return this.reset(),void(this.state=Pt);56&this.state&&(this.state=1),this.state=this.process(i),30&this.state&&this.tryEmit(i)},process:function(){},getTouchAction:function(){},reset:function(){}},m(Dt,Mt,{defaults:{pointers:1},attrTest:function(t){var i=this.options.pointers;return 0===i||t.pointers.length===i},process:function(t){var i=this.state,n=t.eventType,s=6&i,e=this.attrTest(t);return s&&(8&n||!e)?16|i:s||e?4&n?8|i:2&i?4|i:2:Pt}}),m(St,Dt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,i=[];return 6&t&&i.push(bt),24&t&&i.push(wt),i},directionTest:function(t){var i=this.options,n=!0,s=t.distance,e=t.direction,r=t.deltaX,h=t.deltaY;return e&i.direction||(6&i.direction?(e=0===r?1:r<0?2:4,n=r!=this.pX,s=Math.abs(t.deltaX)):(e=0===h?1:h<0?8:16,n=h!=this.pY,s=Math.abs(t.deltaY))),t.direction=e,n&&s>i.threshold&&e&i.direction},attrTest:function(t){return Dt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var i=Rt(t.direction);i&&(t.additionalEvent=this.options.event+i),this._super.emit.call(this,t)}}),m(Ot,Dt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[yt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),m(xt,Mt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Tt]},process:function(t){var i=this.options,n=t.pointers.length===i.pointers,s=t.distance<i.threshold,e=t.deltaTime>i.time;if(this._input=t,!s||!n||12&t.eventType&&!e)this.reset();else if(1&t.eventType)this.reset(),this._timer=f((function(){this.state=8,this.tryEmit()}),i.time,this);else if(4&t.eventType)return 8;return Pt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=a(),this.manager.emit(this.options.event,this._input)))}}),m(_t,Dt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[yt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),m(zt,Dt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return St.prototype.getTouchAction.call(this)},attrTest:function(t){var i,n=this.options.direction;return 30&n?i=t.overallVelocity:6&n?i=t.overallVelocityX:24&n&&(i=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(i)>this.options.velocity&&4&t.eventType},emit:function(t){var i=Rt(t.offsetDirection);i&&this.manager.emit(this.options.event+i,t),this.manager.emit(this.options.event,t)}}),m(Lt,Mt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Et]},process:function(t){var i=this.options,n=t.pointers.length===i.pointers,s=t.distance<i.threshold,e=t.deltaTime<i.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(s&&e&&n){if(4!=t.eventType)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<i.interval,h=!this.pCenter||K(this.pCenter,t.center)<i.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,h&&r?this.count+=1:this.count=1,this._input=t,0==this.count%i.taps)return this.hasRequireFailures()?(this._timer=f((function(){this.state=8,this.tryEmit()}),i.interval,this),2):8}return Pt},failTimeout:function(){return this._timer=f((function(){this.state=Pt}),this.options.interval,this),Pt},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),jt.VERSION="2.0.7",jt.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[_t,{enable:!1}],[Ot,{enable:!1},["rotate"]],[zt,{direction:6}],[St,{direction:6},["swipe"]],[Lt],[Lt,{event:"doubletap",taps:2},["tap"]],[xt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},kt.prototype={set:function(t){return r(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var i=this.session;if(!i.stopped){var n;this.touchAction.preventDefaults(t);var s=this.recognizers,e=i.curRecognizer;(!e||e&&8&e.state)&&(e=i.curRecognizer=null);for(var r=0;r<s.length;)n=s[r],2===i.stopped||e&&n!=e&&!n.canRecognizeWith(e)?n.reset():n.recognize(t),!e&&14&n.state&&(e=i.curRecognizer=n),r++}},get:function(t){if(t instanceof Mt)return t;for(var i=this.recognizers,n=0;n<i.length;n++)if(i[n].options.event==t)return i[n];return null},add:function(t){if(l(t,"add",this))return this;var i=this.get(t.options.event);return i&&this.remove(i),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(l(t,"remove",this))return this;if(t=this.get(t)){var i=this.recognizers,n=M(i,t);-1!==n&&(i.splice(n,1),this.touchAction.update())}return this},on:function(t,i){if(t!==e&&i!==e){var n=this.handlers;return v(P(t),(function(t){n[t]=n[t]||[],n[t].push(i)})),this}},off:function(t,i){if(t!==e){var n=this.handlers;return v(P(t),(function(t){i?n[t]&&n[t].splice(M(n[t],i),1):delete n[t]})),this}},emit:function(t,i){this.options.domEvents&&function(t,i){var s=n.createEvent("Event");s.initEvent(t,!0,!0),s.gesture=i,i.target.dispatchEvent(s)}(t,i);var s=this.handlers[t]&&this.handlers[t].slice();if(s&&s.length){i.type=t,i.preventDefault=function(){i.srcEvent.preventDefault()};for(var e=0;e<s.length;)s[e](i),e++}},destroy:function(){this.element&&Ut(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},r(jt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Pt,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:kt,Input:U,TouchAction:At,TouchInput:ct,MouseInput:V,PointerEventInput:it,TouchMouseInput:ft,SingleTouchInput:rt,Recognizer:Mt,AttrRecognizer:Dt,Tap:Lt,Pan:St,Swipe:zt,Pinch:Ot,Rotate:_t,Press:xt,on:w,off:b,each:v,merge:g,extend:d,assign:r,inherit:m,bindFn:T,prefixed:C}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=jt,t.exports?t.exports=jt:i.Hammer=jt}(window,document)}));const h=class{constructor(n){t(this,n),this.goToPage=i(this,"goToPage",7),this.changeStartPage=i(this,"changeStartPage",7),this.addPageToHistory=i(this,"addPageToHistory",7),this.currentpage=1,this.startpage=1,this.listhistoryrow=[],this.currentPages=[],this.velocityConstantMultiplier=2,this.navigateRight=this.navigateRight.bind(this),this.navigateLeft=this.navigateLeft.bind(this),this.emitGoToPage=this.emitGoToPage.bind(this)}componentDidLoad(){this.scrollPage=this.scrollPage.bind(this);let t=new r(this.bar);t.on("swiperight",this.scrollPage),t.on("swipeleft",this.scrollPage)}componentWillRender(){this.initPagination()}componentWillUpdate(){this.initPagination()}initPagination(){this.loadPages(),this.historyraw&&this.parsehistoryraw(this.historyraw)}parsehistoryraw(t){this.listhistoryrow=[...JSON.parse(t)]}scrollPage(t){let i=Math.round(Math.abs(t.velocity))*this.velocityConstantMultiplier;const n=Math.max(1,i);switch(t.type){case"swiperight":if(!this.canNavigateLeft())break;const t=this.startpage-n;this.emitChangeStartPage(t>1?t:1);break;case"swipeleft":if(!this.canNavigateRight())break;const i=this.startpage+n;this.emitChangeStartPage(i<this.pages-this.visiblepages+1?i:this.pages-this.visiblepages+1)}}emitGoToPage(t){this.currentpage=t,this.goToPage.emit({page:t}),this.addPageToHistory.emit({page:t})}emitChangeStartPage(t){this.startpage=t,this.changeStartPage.emit({startpage:t})}emitAddPageToHistory(t){this.listhistoryrow.push(t),this.changeStartPage.emit({page:t})}loadPages(){this.currentPages.splice(0);const t=this.pageWindow();let i;for(i=0;i<t;i++)this.currentPages.push(i+this.startpage)}pageWindow(){return Math.min(this.pages,this.visiblepages)}canNavigateLeft(){return this.startpage>1}canNavigateRight(){return this.startpage+this.visiblepages-1<this.pages}navigateLeft(){this.canNavigateLeft()&&(this.startpage--,this.emitChangeStartPage(this.startpage),this.loadPages())}navigateRight(){this.canNavigateRight()&&(this.startpage++,this.emitChangeStartPage(this.startpage),this.loadPages())}render(){return n("div",{ref:t=>this.bar=t},n("z-icon",{name:"chevron-left",class:!this.canNavigateLeft()&&"disabled",onClick:()=>this.navigateLeft(),onKeyPress:t=>e(t,this.navigateLeft),tabindex:this.canNavigateLeft()?0:-1}),this.currentPages.map((t=>n("z-pagination-page",{value:t,isselected:t===this.currentpage,onClick:()=>this.emitGoToPage(t),onKeyDown:i=>e(i,this.emitGoToPage,t),isvisited:this.listhistoryrow.includes(t)}))),n("z-icon",{name:"chevron-right",class:!this.canNavigateRight()&&"disabled",onClick:()=>this.navigateRight(),onKeyPress:t=>e(t,this.navigateRight),tabindex:this.canNavigateRight()?0:-1}))}};h.style=":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:15px 0;color:var(--myz-blue);fill:var(--myz-blue)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--bg-neutral-200);fill:var(--bg-neutral-200)}";export{h as z_pagination_bar}
|
|
7
|
+
!function(i,n,s,e){var r,h=["","webkit","Moz","MS","ms","o"],o=n.createElement("div"),u=Math.round,c=Math.abs,a=Date.now;function f(t,i,n){return setTimeout(T(t,n),i)}function l(t,i,n){return!!Array.isArray(t)&&(v(t,n[i],n),!0)}function v(t,i,n){var s;if(t)if(t.forEach)t.forEach(i,n);else if(t.length!==e)for(s=0;s<t.length;)i.call(n,t[s],s,t),s++;else for(s in t)t.hasOwnProperty(s)&&i.call(n,t[s],s,t)}function p(t,n,s){var e="DEPRECATED METHOD: "+n+"\n"+s+" AT \n";return function(){var n=new Error("get-stack-trace"),s=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=i.console&&(i.console.warn||i.console.log);return r&&r.call(i.console,e,s),t.apply(this,arguments)}}r="function"!=typeof Object.assign?function(t){if(t===e||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),n=1;n<arguments.length;n++){var s=arguments[n];if(s!==e&&null!==s)for(var r in s)s.hasOwnProperty(r)&&(i[r]=s[r])}return i}:Object.assign;var d=p((function(t,i,n){for(var s=Object.keys(i),r=0;r<s.length;)(!n||n&&t[s[r]]===e)&&(t[s[r]]=i[s[r]]),r++;return t}),"extend","Use `assign`."),g=p((function(t,i){return d(t,i,!0)}),"merge","Use `assign`.");function m(t,i,n){var s,e=i.prototype;(s=t.prototype=Object.create(e)).constructor=t,s._super=e,n&&r(s,n)}function T(t,i){return function(){return t.apply(i,arguments)}}function E(t,i){return"function"==typeof t?t.apply(i&&i[0]||e,i):t}function y(t,i){return t===e?i:t}function w(t,i,n){v(P(i),(function(i){t.addEventListener(i,n,!1)}))}function I(t,i,n){v(P(i),(function(i){t.removeEventListener(i,n,!1)}))}function b(t,i){for(;t;){if(t==i)return!0;t=t.parentNode}return!1}function A(t,i){return t.indexOf(i)>-1}function P(t){return t.trim().split(/\s+/g)}function M(t,i,n){if(t.indexOf&&!n)return t.indexOf(i);for(var s=0;s<t.length;){if(n&&t[s][n]==i||!n&&t[s]===i)return s;s++}return-1}function N(t){return Array.prototype.slice.call(t,0)}function R(t,i,n){for(var s=[],e=[],r=0;r<t.length;){var h=i?t[r][i]:t[r];M(e,h)<0&&s.push(t[r]),e[r]=h,r++}return n&&(s=i?s.sort((function(t,n){return t[i]>n[i]})):s.sort()),s}function C(t,i){for(var n,s,r=i[0].toUpperCase()+i.slice(1),o=0;o<h.length;){if((s=(n=h[o])?n+r:i)in t)return s;o++}return e}var D=1;function S(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||i}var O="ontouchstart"in i,x=C(i,"PointerEvent")!==e,_=O&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),z="touch",L="mouse",j=["x","y"],k=["clientX","clientY"];function U(t,i){var n=this;this.manager=t,this.callback=i,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(i){E(t.options.enable,[t])&&n.handler(i)},this.init()}function W(t,i,n){var s=n.pointers.length,r=n.changedPointers.length,h=1&i&&s-r==0,o=12&i&&s-r==0;n.isFirst=!!h,n.isFinal=!!o,h&&(t.session={}),n.eventType=i,function(t,i){var n=t.session,s=i.pointers,r=s.length;n.firstInput||(n.firstInput=F(i)),r>1&&!n.firstMultiple?n.firstMultiple=F(i):1===r&&(n.firstMultiple=!1);var h=n.firstInput,o=n.firstMultiple,u=o?o.center:h.center,f=i.center=H(s);i.timeStamp=a(),i.deltaTime=i.timeStamp-h.timeStamp,i.angle=X(u,f),i.distance=K(u,f),function(t,i){var n=i.center,s=t.offsetDelta||{},e=t.prevDelta||{},r=t.prevInput||{};1!==i.eventType&&4!==r.eventType||(e=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},s=t.offsetDelta={x:n.x,y:n.y}),i.deltaX=e.x+(n.x-s.x),i.deltaY=e.y+(n.y-s.y)}(n,i),i.offsetDirection=G(i.deltaX,i.deltaY);var l,v,p=q(i.deltaTime,i.deltaX,i.deltaY);i.overallVelocityX=p.x,i.overallVelocityY=p.y,i.overallVelocity=c(p.x)>c(p.y)?p.x:p.y,i.scale=o?(l=o.pointers,K((v=s)[0],v[1],k)/K(l[0],l[1],k)):1,i.rotation=o?function(t,i){return X(i[1],i[0],k)+X(t[1],t[0],k)}(o.pointers,s):0,i.maxPointers=n.prevInput?i.pointers.length>n.prevInput.maxPointers?i.pointers.length:n.prevInput.maxPointers:i.pointers.length,function(t,i){var n,s,r,h,o=t.lastInterval||i,u=i.timeStamp-o.timeStamp;if(8!=i.eventType&&(u>25||o.velocity===e)){var a=i.deltaX-o.deltaX,f=i.deltaY-o.deltaY,l=q(u,a,f);s=l.x,r=l.y,n=c(l.x)>c(l.y)?l.x:l.y,h=G(a,f),t.lastInterval=i}else n=o.velocity,s=o.velocityX,r=o.velocityY,h=o.direction;i.velocity=n,i.velocityX=s,i.velocityY=r,i.direction=h}(n,i);var d=t.element;b(i.srcEvent.target,d)&&(d=i.srcEvent.target),i.target=d}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function F(t){for(var i=[],n=0;n<t.pointers.length;)i[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:a(),pointers:i,center:H(i),deltaX:t.deltaX,deltaY:t.deltaY}}function H(t){var i=t.length;if(1===i)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,s=0,e=0;e<i;)n+=t[e].clientX,s+=t[e].clientY,e++;return{x:u(n/i),y:u(s/i)}}function q(t,i,n){return{x:i/t||0,y:n/t||0}}function G(t,i){return t===i?1:c(t)>=c(i)?t<0?2:4:i<0?8:16}function K(t,i,n){n||(n=j);var s=i[n[0]]-t[n[0]],e=i[n[1]]-t[n[1]];return Math.sqrt(s*s+e*e)}function X(t,i,n){return n||(n=j),180*Math.atan2(i[n[1]]-t[n[1]],i[n[0]]-t[n[0]])/Math.PI}U.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(S(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&I(this.element,this.evEl,this.domHandler),this.evTarget&&I(this.target,this.evTarget,this.domHandler),this.evWin&&I(S(this.element),this.evWin,this.domHandler)}};var Y={mousedown:1,mousemove:2,mouseup:4},Z="mousedown",B="mousemove mouseup";function V(){this.evEl=Z,this.evWin=B,this.pressed=!1,U.apply(this,arguments)}m(V,U,{handler:function(t){var i=Y[t.type];1&i&&0===t.button&&(this.pressed=!0),2&i&&1!==t.which&&(i=4),this.pressed&&(4&i&&(this.pressed=!1),this.callback(this.manager,i,{pointers:[t],changedPointers:[t],pointerType:L,srcEvent:t}))}});var J={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},$={2:z,3:"pen",4:L,5:"kinect"},Q="pointerdown",tt="pointermove pointerup pointercancel";function it(){this.evEl=Q,this.evWin=tt,U.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(Q="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),m(it,U,{handler:function(t){var i=this.store,n=!1,s=t.type.toLowerCase().replace("ms",""),e=J[s],r=$[t.pointerType]||t.pointerType,h=r==z,o=M(i,t.pointerId,"pointerId");1&e&&(0===t.button||h)?o<0&&(i.push(t),o=i.length-1):12&e&&(n=!0),o<0||(i[o]=t,this.callback(this.manager,e,{pointers:i,changedPointers:[t],pointerType:r,srcEvent:t}),n&&i.splice(o,1))}});var nt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},st="touchstart",et="touchstart touchmove touchend touchcancel";function rt(){this.evTarget=st,this.evWin=et,this.started=!1,U.apply(this,arguments)}function ht(t,i){var n=N(t.touches),s=N(t.changedTouches);return 12&i&&(n=R(n.concat(s),"identifier",!0)),[n,s]}m(rt,U,{handler:function(t){var i=nt[t.type];if(1===i&&(this.started=!0),this.started){var n=ht.call(this,t,i);12&i&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:t})}}});var ot={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ut="touchstart touchmove touchend touchcancel";function ct(){this.evTarget=ut,this.targetIds={},U.apply(this,arguments)}function at(t,i){var n=N(t.touches),s=this.targetIds;if(3&i&&1===n.length)return s[n[0].identifier]=!0,[n,n];var e,r,h=N(t.changedTouches),o=[],u=this.target;if(r=n.filter((function(t){return b(t.target,u)})),1===i)for(e=0;e<r.length;)s[r[e].identifier]=!0,e++;for(e=0;e<h.length;)s[h[e].identifier]&&o.push(h[e]),12&i&&delete s[h[e].identifier],e++;return o.length?[R(r.concat(o),"identifier",!0),o]:void 0}function ft(){U.apply(this,arguments);var t=T(this.handler,this);this.touch=new ct(this.manager,t),this.mouse=new V(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function lt(t,i){1&t?(this.primaryTouch=i.changedPointers[0].identifier,vt.call(this,i)):12&t&&vt.call(this,i)}function vt(t){var i=t.changedPointers[0];if(i.identifier===this.primaryTouch){var n={x:i.clientX,y:i.clientY};this.lastTouches.push(n);var s=this.lastTouches;setTimeout((function(){var t=s.indexOf(n);t>-1&&s.splice(t,1)}),2500)}}function pt(t){for(var i=t.srcEvent.clientX,n=t.srcEvent.clientY,s=0;s<this.lastTouches.length;s++){var e=this.lastTouches[s],r=Math.abs(i-e.x),h=Math.abs(n-e.y);if(r<=25&&h<=25)return!0}return!1}m(ct,U,{handler:function(t){var i=ot[t.type],n=at.call(this,t,i);n&&this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:t})}}),m(ft,U,{handler:function(t,i,n){var s=n.pointerType==L;if(!(s&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(n.pointerType==z)lt.call(this,i,n);else if(s&&pt.call(this,n))return;this.callback(t,i,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var dt=C(o.style,"touchAction"),gt=dt!==e,mt="compute",Tt="auto",Et="manipulation",yt="none",wt="pan-x",It="pan-y",bt=function(){if(!gt)return!1;var t={},n=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(s){t[s]=!n||i.CSS.supports("touch-action",s)})),t}();function At(t,i){this.manager=t,this.set(i)}At.prototype={set:function(t){t==mt&&(t=this.compute()),gt&&this.manager.element.style&&bt[t]&&(this.manager.element.style[dt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(i){E(i.options.enable,[i])&&(t=t.concat(i.getTouchAction()))})),function(t){if(A(t,yt))return yt;var i=A(t,wt),n=A(t,It);return i&&n?yt:i||n?i?wt:It:A(t,Et)?Et:Tt}(t.join(" "))},preventDefaults:function(t){var i=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)i.preventDefault();else{var s=this.actions,e=A(s,yt)&&!bt.none,r=A(s,It)&&!bt["pan-y"],h=A(s,wt)&&!bt["pan-x"];if(e&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!h||!r)return e||r&&6&n||h&&24&n?this.preventSrc(i):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Pt=32;function Mt(t){this.options=r({},this.defaults,t||{}),this.id=D++,this.manager=null,this.options.enable=y(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Nt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Rt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Ct(t,i){var n=i.manager;return n?n.get(t):t}function Dt(){Mt.apply(this,arguments)}function St(){Dt.apply(this,arguments),this.pX=null,this.pY=null}function Ot(){Dt.apply(this,arguments)}function xt(){Mt.apply(this,arguments),this._timer=null,this._input=null}function _t(){Dt.apply(this,arguments)}function zt(){Dt.apply(this,arguments)}function Lt(){Mt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function jt(t,i){return(i=i||{}).recognizers=y(i.recognizers,jt.defaults.preset),new kt(t,i)}function kt(t,i){this.options=r({},jt.defaults,i||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(x?it:_?ct:O?ft:V))(this,W),this.touchAction=new At(this,this.options.touchAction),Ut(this,!0),v(this.options.recognizers,(function(t){var i=this.add(new t[0](t[1]));t[2]&&i.recognizeWith(t[2]),t[3]&&i.requireFailure(t[3])}),this)}function Ut(t,i){var n,s=t.element;s.style&&(v(t.options.cssProps,(function(e,r){n=C(s.style,r),i?(t.oldCssProps[n]=s.style[n],s.style[n]=e):s.style[n]=t.oldCssProps[n]||""})),i||(t.oldCssProps={}))}Mt.prototype={defaults:{},set:function(t){return r(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(l(t,"recognizeWith",this))return this;var i=this.simultaneous;return i[(t=Ct(t,this)).id]||(i[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return l(t,"dropRecognizeWith",this)||(t=Ct(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(l(t,"requireFailure",this))return this;var i=this.requireFail;return-1===M(i,t=Ct(t,this))&&(i.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(l(t,"dropRequireFailure",this))return this;t=Ct(t,this);var i=M(this.requireFail,t);return i>-1&&this.requireFail.splice(i,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var i=this,n=this.state;function s(n){i.manager.emit(n,t)}n<8&&s(i.options.event+Nt(n)),s(i.options.event),t.additionalEvent&&s(t.additionalEvent),n>=8&&s(i.options.event+Nt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Pt},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var i=r({},t);if(!E(this.options.enable,[this,i]))return this.reset(),void(this.state=Pt);56&this.state&&(this.state=1),this.state=this.process(i),30&this.state&&this.tryEmit(i)},process:function(){},getTouchAction:function(){},reset:function(){}},m(Dt,Mt,{defaults:{pointers:1},attrTest:function(t){var i=this.options.pointers;return 0===i||t.pointers.length===i},process:function(t){var i=this.state,n=t.eventType,s=6&i,e=this.attrTest(t);return s&&(8&n||!e)?16|i:s||e?4&n?8|i:2&i?4|i:2:Pt}}),m(St,Dt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,i=[];return 6&t&&i.push(It),24&t&&i.push(wt),i},directionTest:function(t){var i=this.options,n=!0,s=t.distance,e=t.direction,r=t.deltaX,h=t.deltaY;return e&i.direction||(6&i.direction?(e=0===r?1:r<0?2:4,n=r!=this.pX,s=Math.abs(t.deltaX)):(e=0===h?1:h<0?8:16,n=h!=this.pY,s=Math.abs(t.deltaY))),t.direction=e,n&&s>i.threshold&&e&i.direction},attrTest:function(t){return Dt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var i=Rt(t.direction);i&&(t.additionalEvent=this.options.event+i),this._super.emit.call(this,t)}}),m(Ot,Dt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[yt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),m(xt,Mt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Tt]},process:function(t){var i=this.options,n=t.pointers.length===i.pointers,s=t.distance<i.threshold,e=t.deltaTime>i.time;if(this._input=t,!s||!n||12&t.eventType&&!e)this.reset();else if(1&t.eventType)this.reset(),this._timer=f((function(){this.state=8,this.tryEmit()}),i.time,this);else if(4&t.eventType)return 8;return Pt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=a(),this.manager.emit(this.options.event,this._input)))}}),m(_t,Dt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[yt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),m(zt,Dt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return St.prototype.getTouchAction.call(this)},attrTest:function(t){var i,n=this.options.direction;return 30&n?i=t.overallVelocity:6&n?i=t.overallVelocityX:24&n&&(i=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(i)>this.options.velocity&&4&t.eventType},emit:function(t){var i=Rt(t.offsetDirection);i&&this.manager.emit(this.options.event+i,t),this.manager.emit(this.options.event,t)}}),m(Lt,Mt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Et]},process:function(t){var i=this.options,n=t.pointers.length===i.pointers,s=t.distance<i.threshold,e=t.deltaTime<i.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(s&&e&&n){if(4!=t.eventType)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<i.interval,h=!this.pCenter||K(this.pCenter,t.center)<i.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,h&&r?this.count+=1:this.count=1,this._input=t,0==this.count%i.taps)return this.hasRequireFailures()?(this._timer=f((function(){this.state=8,this.tryEmit()}),i.interval,this),2):8}return Pt},failTimeout:function(){return this._timer=f((function(){this.state=Pt}),this.options.interval,this),Pt},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),jt.VERSION="2.0.7",jt.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[_t,{enable:!1}],[Ot,{enable:!1},["rotate"]],[zt,{direction:6}],[St,{direction:6},["swipe"]],[Lt],[Lt,{event:"doubletap",taps:2},["tap"]],[xt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},kt.prototype={set:function(t){return r(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var i=this.session;if(!i.stopped){var n;this.touchAction.preventDefaults(t);var s=this.recognizers,e=i.curRecognizer;(!e||e&&8&e.state)&&(e=i.curRecognizer=null);for(var r=0;r<s.length;)n=s[r],2===i.stopped||e&&n!=e&&!n.canRecognizeWith(e)?n.reset():n.recognize(t),!e&&14&n.state&&(e=i.curRecognizer=n),r++}},get:function(t){if(t instanceof Mt)return t;for(var i=this.recognizers,n=0;n<i.length;n++)if(i[n].options.event==t)return i[n];return null},add:function(t){if(l(t,"add",this))return this;var i=this.get(t.options.event);return i&&this.remove(i),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(l(t,"remove",this))return this;if(t=this.get(t)){var i=this.recognizers,n=M(i,t);-1!==n&&(i.splice(n,1),this.touchAction.update())}return this},on:function(t,i){if(t!==e&&i!==e){var n=this.handlers;return v(P(t),(function(t){n[t]=n[t]||[],n[t].push(i)})),this}},off:function(t,i){if(t!==e){var n=this.handlers;return v(P(t),(function(t){i?n[t]&&n[t].splice(M(n[t],i),1):delete n[t]})),this}},emit:function(t,i){this.options.domEvents&&function(t,i){var s=n.createEvent("Event");s.initEvent(t,!0,!0),s.gesture=i,i.target.dispatchEvent(s)}(t,i);var s=this.handlers[t]&&this.handlers[t].slice();if(s&&s.length){i.type=t,i.preventDefault=function(){i.srcEvent.preventDefault()};for(var e=0;e<s.length;)s[e](i),e++}},destroy:function(){this.element&&Ut(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},r(jt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Pt,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:kt,Input:U,TouchAction:At,TouchInput:ct,MouseInput:V,PointerEventInput:it,TouchMouseInput:ft,SingleTouchInput:rt,Recognizer:Mt,AttrRecognizer:Dt,Tap:Lt,Pan:St,Swipe:zt,Pinch:Ot,Rotate:_t,Press:xt,on:w,off:I,each:v,merge:g,extend:d,assign:r,inherit:m,bindFn:T,prefixed:C}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=jt,t.exports?t.exports=jt:i.Hammer=jt}(window,document)}));const h=class{constructor(n){t(this,n),this.goToPage=i(this,"goToPage",7),this.changeStartPage=i(this,"changeStartPage",7),this.addPageToHistory=i(this,"addPageToHistory",7),this.currentpage=1,this.startpage=1,this.listhistoryrow=[],this.currentPages=[],this.velocityConstantMultiplier=2,this.navigateRight=this.navigateRight.bind(this),this.navigateLeft=this.navigateLeft.bind(this),this.emitGoToPage=this.emitGoToPage.bind(this)}componentDidLoad(){this.scrollPage=this.scrollPage.bind(this);let t=new r(this.bar);t.on("swiperight",this.scrollPage),t.on("swipeleft",this.scrollPage)}componentWillRender(){this.initPagination()}componentWillUpdate(){this.initPagination()}initPagination(){this.loadPages(),this.historyraw&&this.parsehistoryraw(this.historyraw)}parsehistoryraw(t){this.listhistoryrow=[...JSON.parse(t)]}scrollPage(t){let i=Math.round(Math.abs(t.velocity))*this.velocityConstantMultiplier;const n=Math.max(1,i);switch(t.type){case"swiperight":if(!this.canNavigateLeft())break;const t=this.startpage-n;this.emitChangeStartPage(t>1?t:1);break;case"swipeleft":if(!this.canNavigateRight())break;const i=this.startpage+n;this.emitChangeStartPage(i<this.pages-this.visiblepages+1?i:this.pages-this.visiblepages+1)}}emitGoToPage(t){this.currentpage=t,this.goToPage.emit({page:t}),this.addPageToHistory.emit({page:t})}emitChangeStartPage(t){this.startpage=t,this.changeStartPage.emit({startpage:t})}emitAddPageToHistory(t){this.listhistoryrow.push(t),this.changeStartPage.emit({page:t})}loadPages(){this.currentPages.splice(0);const t=this.pageWindow();let i;for(i=0;i<t;i++)this.currentPages.push(i+this.startpage)}pageWindow(){return Math.min(this.pages,this.visiblepages)}canNavigateLeft(){return this.startpage>1}canNavigateRight(){return this.startpage+this.visiblepages-1<this.pages}navigateLeft(){this.canNavigateLeft()&&(this.startpage--,this.emitChangeStartPage(this.startpage),this.loadPages())}navigateRight(){this.canNavigateRight()&&(this.startpage++,this.emitChangeStartPage(this.startpage),this.loadPages())}render(){return n("div",{ref:t=>this.bar=t},n("z-icon",{name:"chevron-left",class:!this.canNavigateLeft()&&"disabled",onClick:()=>this.navigateLeft(),onKeyPress:t=>e(t,this.navigateLeft),tabindex:this.canNavigateLeft()?0:-1}),this.currentPages.map((t=>n("z-pagination-page",{value:t,isselected:t===this.currentpage,onClick:()=>this.emitGoToPage(t),onKeyDown:i=>e(i,this.emitGoToPage,t),isvisited:this.listhistoryrow.includes(t)}))),n("z-icon",{name:"chevron-right",class:!this.canNavigateRight()&&"disabled",onClick:()=>this.navigateRight(),onKeyPress:t=>e(t,this.navigateRight),tabindex:this.canNavigateRight()?0:-1}))}};h.style=":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:15px 0;color:var(--myz-blue);fill:var(--myz-blue)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--bg-neutral-200);fill:var(--bg-neutral-200)}";export{h as z_pagination_bar}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-5ecd661f.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9943807e.js';
|
|
3
3
|
import { B as ButtonVariantEnum, a as ButtonTypeEnum, b as ButtonSizeEnum, I as InputTypeEnum, k as keybordKeyCodeEnum, c as InputStatusEnum } from './index-e68ea3a2.js';
|
|
4
4
|
import { c as classnames } from './index-abb47b30.js';
|
|
@@ -1950,7 +1950,7 @@ const LicenseActivationBox = class {
|
|
|
1950
1950
|
};
|
|
1951
1951
|
LicenseActivationBox.style = licenseActivationBoxCss;
|
|
1952
1952
|
|
|
1953
|
-
const licenseActivationFormCss = ":host{display:block;padding:calc(var(--space-unit) * 2)}:host>div>z-body{margin-bottom:calc(var(--space-unit) * 2)}:host>div>z-button{padding:calc(var(--space-unit) * 2) 0;width:100%}:host>div>z-input{width:100%}:host>z-link{font-weight:bold}:host>div>z-info-box>div{display:flex}:host([variant=\"modal\"]) .error-section{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--bg-grey-200);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}:host([variant=\"modal\"]) .error-section>span{padding:var(--basex2) 0;display:block;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}:host([variant=\"preview\"]){margin:0;padding:0}:host([variant=\"preview\"]) z-button{margin:0;padding:0;width:initial}:host([variant=\"preview\"])
|
|
1953
|
+
const licenseActivationFormCss = ":host{display:block;padding:calc(var(--space-unit) * 2)}:host>div>z-body{margin-bottom:calc(var(--space-unit) * 2)}:host>div>z-button{padding:calc(var(--space-unit) * 2) 0;width:100%}:host>div>z-input{width:100%}:host>z-link{font-weight:bold}:host>div>z-info-box>div{display:flex}:host([variant=\"modal\"]) .error-section{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--bg-grey-200);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}:host([variant=\"modal\"]) .error-section>span{padding:var(--basex2) 0;display:block;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}:host([variant=\"preview\"]){margin:0;padding:0}:host([variant=\"preview\"]) z-button{margin:0;padding:0;width:initial}:host([variant=\"preview\"]) .license-input-container{width:100%;margin-right:calc(var(--space-unit) * 2)}:host .license-input-container>z-input{width:100%}@media only screen and (min-width: 768px){:host{padding:0}:host([variant=\"modal\"]){padding:32px;width:396px}:host>div{display:flex;flex-direction:row}:host([variant=\"modal\"])>div{flex-direction:column}:host>div>z-button{padding-top:calc(var(--space-unit) * 4);padding-left:calc(var(--space-unit) * 2);width:auto}:host([variant=\"preview\"])>div>z-button{padding-top:0}:host([variant=\"modal\"])>div>z-button{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}:host([variant=\"modal\"]) .error-section>z-button{width:max-content}}@media only screen and (min-width: 1152px){:host([variant=\"modal\"]){width:477px}:host>div{flex-direction:row}}";
|
|
1954
1954
|
|
|
1955
1955
|
const LicenseActivationForm = class {
|
|
1956
1956
|
constructor(hostRef) {
|
|
@@ -1959,15 +1959,17 @@ const LicenseActivationForm = class {
|
|
|
1959
1959
|
this.submitButtonClick = createEvent(this, "submitButtonClick", 7);
|
|
1960
1960
|
this.redirectToSupport = this.redirectToSupport.bind(this);
|
|
1961
1961
|
}
|
|
1962
|
+
watchPropHandler() {
|
|
1963
|
+
if (!this.requestLoading) {
|
|
1964
|
+
if (this.inputMessageRef && this.error) {
|
|
1965
|
+
this.inputMessageRef.focus();
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1962
1969
|
componentWillLoad() {
|
|
1963
1970
|
this.showInfoBox = !!this.initialShowInfoBox;
|
|
1964
1971
|
this.inputVal = this.initialCode ? this.initialCode : "";
|
|
1965
1972
|
}
|
|
1966
|
-
componentDidUpdate() {
|
|
1967
|
-
if (this.inputMessageRef && this.error) {
|
|
1968
|
-
this.inputMessageRef.focus();
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
1973
|
handleFormInputChange(detail) {
|
|
1972
1974
|
this.inputVal = detail.value;
|
|
1973
1975
|
this.formInputChange.emit(detail);
|
|
@@ -1993,19 +1995,20 @@ const LicenseActivationForm = class {
|
|
|
1993
1995
|
? ""
|
|
1994
1996
|
: inputLabel, placeholder: this.variant === LicenseActivationVariantEnum.preview
|
|
1995
1997
|
? previewInputPlaceholder
|
|
1996
|
-
: placeholder, status: this.variant === LicenseActivationVariantEnum.box
|
|
1998
|
+
: placeholder, status: this.variant === LicenseActivationVariantEnum.box
|
|
1999
|
+
? null
|
|
2000
|
+
: inputStatus, hasmessage: false, htmltitle: placeholder, disabled: !!this.requestLoading, onInputChange: (e) => this.handleFormInputChange(e.detail) }), this.renderInputMessage()));
|
|
1997
2001
|
}
|
|
1998
2002
|
renderInputMessage() {
|
|
1999
|
-
const { inputMessage, inputStatus
|
|
2000
|
-
if (this.variant === LicenseActivationVariantEnum.preview
|
|
2001
|
-
!previewInputPlaceholder)
|
|
2003
|
+
const { inputMessage, inputStatus } = this.formTexts;
|
|
2004
|
+
if (this.variant === LicenseActivationVariantEnum.preview)
|
|
2002
2005
|
return;
|
|
2003
2006
|
const message = this.variant === LicenseActivationVariantEnum.box
|
|
2004
2007
|
? inputMessage
|
|
2005
2008
|
: this.error
|
|
2006
2009
|
? this.error
|
|
2007
2010
|
: inputMessage;
|
|
2008
|
-
return (h("z-input-message", { ref: (el) => (this.inputMessageRef = el), message:
|
|
2011
|
+
return (h("z-input-message", { ref: (el) => (this.inputMessageRef = el), message: message, status: this.variant === LicenseActivationVariantEnum.box ? null : inputStatus }));
|
|
2009
2012
|
}
|
|
2010
2013
|
renderButton() {
|
|
2011
2014
|
const disabled = (this.variant === LicenseActivationVariantEnum.modal && !this.inputVal) ||
|
|
@@ -2086,6 +2089,9 @@ const LicenseActivationForm = class {
|
|
|
2086
2089
|
render() {
|
|
2087
2090
|
return (h(Host, { variant: this.variant }, h("div", null, this.renderAdditionalDescription(), this.renderInput(), this.renderButton()), this.renderInfoLink(), h("div", null, this.renderInfoBox(), this.renderErrorSection())));
|
|
2088
2091
|
}
|
|
2092
|
+
static get watchers() { return {
|
|
2093
|
+
"requestLoading": ["watchPropHandler"]
|
|
2094
|
+
}; }
|
|
2089
2095
|
};
|
|
2090
2096
|
LicenseActivationForm.style = licenseActivationFormCss;
|
|
2091
2097
|
|
package/dist/wc/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}:host(:not(:empty)){padding-top:calc(var(--space-unit) * 3.5);padding-bottom:calc(var(--space-unit) * 4.5)}::slotted(*){margin:0;color:var(--text-grey-800)}::slotted([slot='title']){font-weight:700;font-family:'IBM Plex Serif', serif;font-size:var(--app-header-typography-3-size);line-height:var(--app-header-typography-3-lineheight);letter-spacing:var(--app-header-typography-3-tracking)}::slotted([slot='subtitle']){margin-top:var(--space-unit);font-family:var(--dashboard-font);font-style:italic;font-weight:500;font-size:20px;line-height:1.2}@media only screen and (min-width: 768px){::slotted([slot='title']){font-size:var(--app-header-typography-5-size);line-height:var(--app-header-typography-5-lineheight);letter-spacing:var(--app-header-typography-5-tracking)}}@media only screen and (min-width: 1152px){::slotted([slot='title']){font-size:var(--app-header-typography-7-size);line-height:var(--app-header-typography-7-lineheight);letter-spacing:var(--app-header-typography-7-tracking)}}@media only screen and (min-width: 1366px){::slotted([slot='title']){font-size:var(--app-header-typography-9-size);line-height:var(--app-header-typography-9-lineheight);letter-spacing:var(--app-header-typography-9-tracking)}}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-5ecd661f.js';
|
|
2
2
|
import { T as ThemeVariant } from './index-e68ea3a2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;justify-content:center;align-content:center;background-color:transparent;border:none;padding:0}button>z-icon{color:var(--bg-white);fill:currentColor}button>z-icon.light{color:var(--bg-grey-900);fill:currentColor}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-5ecd661f.js';
|
|
2
2
|
import { T as ThemeVariant } from './index-e68ea3a2.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-75d56fd9.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = "button{height:36px;border:var(--border-size-medium) solid var(--myz-blue);border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);outline:none;padding:0 var(--space-unit);cursor:pointer}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{cursor:pointer;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;margin-right:calc(var(--space-unit) * 2)}button>span{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:14px;margin-right:calc(var(--space-unit) * .5)}button>z-icon{padding-top:calc(var(--space-unit) * .5)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center}:host>div{position:fixed;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;top:30vh;max-width:297px;height:fit-content;min-height:232px;z-index:1000;margin:auto;overflow:auto;overflow:-moz-scrollbars-none;-ms-overflow-style:none;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * .5);box-shadow:0px -2px 4px 0px rgba(66, 69, 72, 0.4)}@media only screen and (min-width: 768px){:host>div{position:initial;flex-wrap:nowrap;justify-content:space-between;align-items:center;align-content:stretch;position:fixed;top:auto;bottom:0;margin:0 auto;left:0;right:0;height:auto;min-height:138px;max-width:100%;border-radius:0px}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{position:absolute;font-family:var(--dashboard-font);font-weight:var(--font-rg);width:100%;top:0px;left:0px;z-index:2}.relativeContainer{position:relative;height:48px;display:grid;grid-template-columns:34px auto 48px;grid-template-rows:1fr;grid-column-gap:8px;align-items:center;padding:0 var(--space-unit);outline:none}.relativeContainer::-moz-focus-inner{border:0}:host div.addAlert{background:var(--status-success-green-lighter)}:host div.removeAlert{background:var(--status-warning-yellow-lighter);border:var(--border-size-medium) solid var(--bg-grey-200);border-top:none}:host div>.contentText{color:var(--text-grey-800);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.contentAction{color:var(--myz-blue);font-size:12px;font-weight:var(--font-sb);height:20px;letter-spacing:0.32px;line-height:20px;cursor:pointer}:host div>z-icon{justify-self:center}:host div>z-icon.addAlert{color:var(--status-success-green);fill:var(--status-success-green)}:host div>z-icon.removeAlert{color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{height:340px;width:auto}:host>div{height:340px;width:auto;display:flex;align-items:center;justify-content:center;position:relative}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
import { L as LicenseTypeEnum } from './index-e68ea3a2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "footer{font-family:var(--dashboard-font);font-weight:var(--font-rg);color:var(--text-grey-800);background-color:var(--bg-white);margin:0px;padding:0px;position:relative;z-index:5;height:48px;width:auto;top:0px;transition:height 500ms ease-in-out, top 500ms ease-in-out;border-radius:0px 0px var(--border-radius) var(--border-radius);border-top:var(--border-size-medium) solid var(--bg-grey-200)}footer.real,footer.trial{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--dashboard-font);font-weight:var(--font-sb)}footer>h2{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;line-height:22px;height:40px;margin:0px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);overflow:hidden;background-color:var(--bg-white);transition:all 200ms linear}footer.isopen>h2{font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear;background-color:var(--bg-neutral-200)}footer.isopen.real>h2,footer.isopen.trial>h2{background-color:var(--accent)}footer>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2);height:40px;overflow:hidden}footer .visible{display:block}footer .hidden{display:none}footer>div>p{font-size:14px;height:20px;line-height:20px;margin:0px;padding:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer>div>p.year_isbn{padding-top:var(--space-unit);display:flex;flex-direction:row;justify-content:space-between}footer>div>p.year_isbn>span.isbn{text-overflow:ellipsis;overflow:hidden}footer.isopen>div:not(.slot-handler){height:68px}footer.isopen>div>p.authors{height:40px;white-space:initial;text-overflow:initial}footer.isopen{height:300px;top:-200px;transition:height 500ms ease-in-out, top 500ms ease-in-out}.toggle{position:absolute;top:-24px;left:16px;z-index:10}.faded{opacity:0.3;pointer-events:none}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
import { L as LicenseTypeEnum } from './index-e68ea3a2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "header{display:flex;flex-direction:row;align-items:flex-start;width:auto;height:calc(var(--space-unit) * 6);position:relative;border-bottom:var(--border-size-medium) solid var(--bg-grey-200);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius)\n var(--border-no-radius);background-color:var(--bg-white)}header.real,header.trial{background-color:var(--accent-lighter);border-bottom:var(--border-size-medium) solid var(--accent)}h2{font-family:var(--dashboard-font);font-weight:var(--font-sb);color:var(--text-grey-800);width:80%;height:calc(var(--space-unit) * 2);font-size:12px;text-transform:uppercase;letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);margin:0px;padding:calc(var(--space-unit) * 2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.faded{border-top:var(--border-size-medium) solid var(--bg-grey-200);border-right:var(--border-size-medium) solid var(--bg-grey-200);border-left:var(--border-size-medium) solid var(--bg-grey-200)}.faded.real,.faded.trial{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = "button{width:42px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--myz-blue);fill:var(--myz-blue);cursor:pointer;outline:none;background:none;border:none;border-left:var(--border-size-medium) solid var(--bg-grey-200);border-radius:0px var(--border-radius) 0px 0px;margin:0;padding:0px;width:48px;height:48px}button:active,button:focus{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button>span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--border-radius);border:0px}button:hover>span{background:var(--myz-blue-lighter)}button:focus>span{background:var(--bg-white);border-radius:var(--border-radius);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active>span{background:var(--bg-white);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--bg-grey-200)}button::-moz-focus-inner{border:0}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = "ul{font-family:var(--dashboard-font);color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);padding:0px;overflow:hidden;list-style:none;width:auto;height:auto}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;font-size:14px;font-weight:var(--font-sb);text-decoration:none;color:var(--myz-blue);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);padding-top:calc(var(--space-unit) * .5)}ul>li>a:before{content:\"•\";padding-right:5px}ul>li>span{font-size:14px;font-weight:var(--font-rg);text-decoration:none;color:var(--text-grey-700);padding:0 calc(var(--space-unit) * 2);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
import { L as LicenseTypeEnum } from './index-e68ea3a2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "div{background-color:var(--bg-white);display:flex;flex-direction:column;overflow:hidden;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--bg-grey-200);border-radius:var(--border-radius)}div.real,div.trial{border-color:var(--accent)}div.faded{border:none}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:0px 0px 2px 2px var(--accent-dark);outline:none}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-5ecd661f.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host>div{display:inline-block;min-height:28px;line-height:28px;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:12px}.boldtext{font-weight:bold}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-5ecd661f.js';
|
|
2
2
|
import { I as InputTypeEnum, k as keybordKeyCodeEnum } from './index-e68ea3a2.js';
|
|
3
3
|
import { h as handleKeyboardSubmit } from './utils-1c638931.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-5ecd661f.js';
|
|
2
2
|
import { B as ButtonVariantEnum } from './index-e68ea3a2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * .5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-5ecd661f.js';
|
|
2
2
|
import { D as DividerSize, d as DividerOrientation } from './index-e68ea3a2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|