{"version":3,"sources":["../../../../src/components/Vuetify/mixins/application.ts"],"names":[],"mappings":";;;;;;;;kBAMe;AACb,SAAK,CADQ;AAEb,YAAQ,CAFK;AAGb,YAAQ,CAHK;AAIb,iBAAa,CAJA;AAKb,UAAM,CALO;AAMb,WAAO,CANM;AAOb,SAAK,CAPQ;AAQb,gBAAY;AACV,aAAK,EADK;AAEV,gBAAQ,EAFE;AAGV,gBAAQ,EAHE;AAIV,qBAAa,EAJH;AAKV,cAAM,EALI;AAMV,eAAO,EANG;AAOV,aAAK;AAPK,KARC;AAiBb,QAjBa,gBAiBP,GAjBO,EAiBM,MAjBN,EAiB0B,KAjB1B,EAiBuC;AAClD,YAAI,CAAC,KAAK,UAAL,CAAgB,MAAhB,CAAL,EAA8B;AAE9B,aAAK,UAAL,CAAgB,MAAhB,wBAA6B,GAA7B,EAAmC,KAAnC;AACA,aAAK,MAAL,CAAY,MAAZ;AACD,KAtBY;AAuBb,UAvBa,kBAuBL,GAvBK,EAuBQ,MAvBR,EAuB0B;AACrC,YAAI,KAAK,UAAL,CAAgB,MAAhB,EAAwB,GAAxB,KAAgC,IAApC,EAA0C;AAE1C,eAAQ,KAAK,UAAL,CAAwB,MAAxB,EAAgC,GAAhC,CAAR;AACA,aAAK,MAAL,CAAY,MAAZ;AACD,KA5BY;AA6Bb,UA7Ba,kBA6BL,MA7BK,EA6Ba;AACxB,aAAK,MAAL,IAAe,OAAO,MAAP,CAAc,KAAK,UAAL,CAAgB,MAAhB,CAAd,EACZ,MADY,CACL,UAAC,GAAD,EAAc,GAAd;AAAA,mBAAuC,MAAM,GAA7C;AAAA,SADK,EAC8C,CAD9C,CAAf;AAED;AAhCY,C","sourcesContent":["export type TargetProp = 'bar' | 'bottom' | 'footer' | 'insetFooter' | 'left' | 'right' | 'top'\n\ninterface TargetPropValues {\n [uid: number]: number\n}\n\nexport default {\n bar: 0,\n bottom: 0,\n footer: 0,\n insetFooter: 0,\n left: 0,\n right: 0,\n top: 0,\n components: {\n bar: {} as TargetPropValues,\n bottom: {} as TargetPropValues,\n footer: {} as TargetPropValues,\n insetFooter: {} as TargetPropValues,\n left: {} as TargetPropValues,\n right: {} as TargetPropValues,\n top: {} as TargetPropValues\n },\n bind (uid: number, target: TargetProp, value: number): void {\n if (!this.components[target]) return\n\n this.components[target] = { [uid]: value }\n this.update(target)\n },\n unbind (uid: number, target: TargetProp): void {\n if (this.components[target][uid] == null) return\n\n delete (this.components as any)[target][uid]\n this.update(target)\n },\n update (target: TargetProp): void {\n this[target] = Object.values(this.components[target])\n .reduce((acc: number, cur: number): number => (acc + cur), 0)\n }\n}\n"],"sourceRoot":""}