ffc/js/chunk-065f4018.089c1ae0.js
2021-06-17 15:03:11 +00:00

2 lines
No EOL
3.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-065f4018"],{"5ed6":function(t,e,a){"use strict";var s=a("6318"),i=a.n(s);i.a},6318:function(t,e,a){},b5b6:function(t,e,a){},f820:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"about"},[a("v-container",{attrs:{fluid:""}},[a("v-row",{attrs:{align:"center",justify:"center"}},[a("v-col",{attrs:{cols:"10"}},[a("span",{staticClass:"title"},[t._v("Fancy Flashcard")]),a("br"),a("span",{staticClass:"version"},[t._v("Version "+t._s(t.getVersion()))]),a("br"),a("v-btn",{staticClass:"my-4",attrs:{color:"indigo"},on:{click:t.shareApp}},[t._v("Share Fancy Flashcard")]),a("v-footer",{attrs:{app:""}},[a("span",{staticClass:"px-4 copyright"},[t._v(" © "+t._s((new Date).getFullYear())+" Niko Lockenvitz & Rene-Pascal Fischer "),a("br"),a("a",{attrs:{href:"https://github.com/fancy-flashcard/ffc"}},[t._v("https://github.com/fancy-flashcard/ffc")])])])],1)],1)],1)],1)},i=[],o=a("d4ec"),n=a("bee2"),c=a("262e"),r=a("2caf"),l=a("9ab4"),h=a("2b0e"),f=a("2fe1"),u=a("ebe2");function p(){var t=document.getElementById("ffc-url");t&&(t.select(),t.setSelectionRange(0,t.value.length),document.execCommand("copy"),t.blur())}var d=function(t){Object(c["a"])(a,t);var e=Object(r["a"])(a);function a(){return Object(o["a"])(this,a),e.apply(this,arguments)}return Object(n["a"])(a,[{key:"shareApp",value:function(){if(navigator.share)navigator.share({title:"Fancy Flashcard",url:"https://fancy-flashcard.github.io/ffc/",text:"Try out this cool app I found."}).then((function(){console.log("Thanks for sharing!")})).catch(console.error);else{var t={title:"Share Fancy Flashcard",url:"https://fancy-flashcard.github.io/ffc/",buttons:[{name:"Close",color:"grey"},{name:"Copy URL",color:"indigo",callback:p}]};this.$eventHub.$emit(u["a"].SHOW_CUSTOM_DIALOG,t)}}},{key:"getVersion",value:function(){return"2.2.1"}}]),a}(h["a"]);d=Object(l["a"])([f["a"]],d);var b=d,v=b,g=(a("5ed6"),a("2877")),y=a("6544"),m=a.n(y),O=a("8336"),j=a("62ad"),C=a("a523"),F=(a("a9e3"),a("c7cd"),a("5530")),k=(a("b5b6"),a("8dd9")),_=a("3a66"),w=a("d10f"),$=a("58df"),x=a("80d2"),B=Object($["a"])(k["a"],Object(_["a"])("footer",["height","inset"]),w["a"]).extend({name:"v-footer",props:{height:{default:"auto",type:[Number,String]},inset:Boolean,padless:Boolean,tag:{type:String,default:"footer"}},computed:{applicationProperty:function(){return this.inset?"insetFooter":"footer"},classes:function(){return Object(F["a"])(Object(F["a"])({},k["a"].options.computed.classes.call(this)),{},{"v-footer--absolute":this.absolute,"v-footer--fixed":!this.absolute&&(this.app||this.fixed),"v-footer--padless":this.padless,"v-footer--inset":this.inset})},computedBottom:function(){if(this.isPositioned)return this.app?this.$vuetify.application.bottom:0},computedLeft:function(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.left:0},computedRight:function(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.right:0},isPositioned:function(){return Boolean(this.absolute||this.fixed||this.app)},styles:function(){var t=parseInt(this.height);return Object(F["a"])(Object(F["a"])({},k["a"].options.computed.styles.call(this)),{},{height:isNaN(t)?t:Object(x["f"])(t),left:Object(x["f"])(this.computedLeft),right:Object(x["f"])(this.computedRight),bottom:Object(x["f"])(this.computedBottom)})}},methods:{updateApplication:function(){var t=parseInt(this.height);return isNaN(t)?this.$el?this.$el.clientHeight:0:t}},render:function(t){var e=this.setBackgroundColor(this.color,{staticClass:"v-footer",class:this.classes,style:this.styles});return t(this.tag,e,this.$slots.default)}}),V=a("0fd9"),S=Object(g["a"])(v,s,i,!1,null,"6ffe5d5d",null);e["default"]=S.exports;m()(S,{VBtn:O["a"],VCol:j["a"],VContainer:C["a"],VFooter:B,VRow:V["a"]})}}]);
//# sourceMappingURL=chunk-065f4018.089c1ae0.js.map