-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path1648-es2015.ae318ecd796bbe7f3edf.js
1 lines (1 loc) · 8.75 KB
/
1648-es2015.ae318ecd796bbe7f3edf.js
1
(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1648],{21648:function(t,a,r){"use strict";r.r(a),r.d(a,{CardExamplesModule:function(){return m},CardFancyExample:function(){return c},CardHarnessExample:function(){return o},CardOverviewExample:function(){return d}});var n=r(35366),e=r(84369),i=r(22797);let c=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["card-fancy-example"]],decls:16,vars:0,consts:[[1,"example-card"],["mat-card-avatar","",1,"example-header-image"],["mat-card-image","","src","https://material.angular.io/assets/img/examples/shiba2.jpg","alt","Photo of a Shiba Inu"],["mat-button",""]],template:function(t,a){1&t&&(n.TgZ(0,"mat-card",0),n.TgZ(1,"mat-card-header"),n._UZ(2,"div",1),n.TgZ(3,"mat-card-title"),n._uU(4,"Shiba Inu"),n.qZA(),n.TgZ(5,"mat-card-subtitle"),n._uU(6,"Dog Breed"),n.qZA(),n.qZA(),n._UZ(7,"img",2),n.TgZ(8,"mat-card-content"),n.TgZ(9,"p"),n._uU(10," The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan. A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally bred for hunting. "),n.qZA(),n.qZA(),n.TgZ(11,"mat-card-actions"),n.TgZ(12,"button",3),n._uU(13,"LIKE"),n.qZA(),n.TgZ(14,"button",3),n._uU(15,"SHARE"),n.qZA(),n.qZA(),n.qZA())},directives:[i.a8,i.dk,i.kc,i.n5,i.$j,i.G2,i.dn,i.hq,e.lW],styles:[".example-card[_ngcontent-%COMP%] {\n max-width: 400px;\n}\n\n.example-header-image[_ngcontent-%COMP%] {\n background-image: url('https://material.angular.io/assets/img/examples/shiba1.jpg');\n background-size: cover;\n}"]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["card-overview-example"]],decls:2,vars:0,template:function(t,a){1&t&&(n.TgZ(0,"mat-card"),n._uU(1,"Simple card"),n.qZA())},directives:[i.a8],encapsulation:2}),t})(),o=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["card-harness-example"]],decls:17,vars:0,consts:[["mat-card-avatar",""],["mat-card-image",""],["mat-button",""]],template:function(t,a){1&t&&(n._UZ(0,"mat-card"),n.TgZ(1,"mat-card"),n.TgZ(2,"mat-card-header"),n._UZ(3,"div",0),n.TgZ(4,"mat-card-title"),n._uU(5,"Shiba Inu"),n.qZA(),n.TgZ(6,"mat-card-subtitle"),n._uU(7,"Dog Breed"),n.qZA(),n.qZA(),n._UZ(8,"div",1),n.TgZ(9,"mat-card-content"),n.TgZ(10,"p"),n._uU(11," The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan. A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally bred for hunting. "),n.qZA(),n.qZA(),n.TgZ(12,"mat-card-actions"),n.TgZ(13,"button",2),n._uU(14,"LIKE"),n.qZA(),n.TgZ(15,"button",2),n._uU(16,"SHARE"),n.qZA(),n.qZA(),n.qZA())},directives:[i.a8,i.dk,i.kc,i.n5,i.$j,i.G2,i.dn,i.hq,e.lW],encapsulation:2}),t})(),m=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[e.ot,i.QW]]}),t})()},22797:function(t,a,r){"use strict";r.d(a,{a8:function(){return f},hq:function(){return p},kc:function(){return h},dn:function(){return s},dk:function(){return x},G2:function(){return g},QW:function(){return b},$j:function(){return u},n5:function(){return l}});var n=r(26136),e=r(87064),i=r(35366);const c=["*",[["mat-card-footer"]]],d=["*","mat-card-footer"],o=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let s=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),l=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),u=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t})(),p=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,a){2&t&&i.ekj("mat-card-actions-align-end","end"===a.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),t})(),f=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(a){return new(a||t)(i.Y36(n.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,a){2&t&&i.ekj("_mat-animation-noopable","NoopAnimations"===a._animationMode)},exportAs:["matCard"],ngContentSelectors:d,decls:2,vars:0,template:function(t,a){1&t&&(i.F$t(c),i.Hsn(0),i.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),x=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,a){1&t&&(i.F$t(o),i.Hsn(0),i.TgZ(1,"div",0),i.Hsn(2,1),i.qZA(),i.Hsn(3,2))},encapsulation:2,changeDetection:0}),t})(),b=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[e.BQ],e.BQ]}),t})()}}]);