-
Notifications
You must be signed in to change notification settings - Fork 0
/
4753.3ef871474819afd2.js
1 lines (1 loc) · 4.16 KB
/
4753.3ef871474819afd2.js
1
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4753],{4753:(b,s,i)=>{i.r(s),i.d(s,{ion_avatar:()=>l,ion_badge:()=>t,ion_thumbnail:()=>e});var r=i(7936),d=i(1671),p=i(2854);const l=class{constructor(a){(0,r.r)(this,a)}render(){return(0,r.h)(r.H,{class:(0,d.b)(this)},(0,r.h)("slot",null))}};l.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const t=class{constructor(a){(0,r.r)(this,a)}render(){const a=(0,d.b)(this);return(0,r.h)(r.H,{class:(0,p.c)(this.color,{[a]:!0})},(0,r.h)("slot",null))}};t.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const e=class{constructor(a){(0,r.r)(this,a)}render(){return(0,r.h)(r.H,{class:(0,d.b)(this)},(0,r.h)("slot",null))}};e.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"},2854:(b,s,i)=>{i.d(s,{c:()=>p,g:()=>c,h:()=>d,o:()=>h});var r=i(5861);const d=(o,t)=>null!==t.closest(o),p=(o,t)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},t):t,c=o=>{const t={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(o).forEach(n=>t[n]=!0),t},l=/^[a-z][a-z0-9+\-.]*:/,h=function(){var o=(0,r.Z)(function*(t,n,e,a){if(null!=t&&"#"!==t[0]&&!l.test(t)){const u=document.querySelector("ion-router");if(u)return n?.preventDefault(),u.push(t,e,a)}return!1});return function(n,e,a,u){return o.apply(this,arguments)}}()}}]);