(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{"0MkY":function(e,t,i){"use strict";i("J4OL")},"3jZZ":function(e,t,i){var n=i("sjEU");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},"8Gay":function(e,t,i){"use strict";i("DjGp")},A2eD:function(e,t,i){"use strict";i("oxHN")},AjFi:function(e,t,i){(e.exports=i("I1BE")(!1)).push([e.i,".slide-from-left-move[data-v-07eb9b03]{transition:transform 300s ease}.slide-from-left-enter-active[data-v-07eb9b03],.slide-from-left-leave-active[data-v-07eb9b03],.slide-from-right-enter-active[data-v-07eb9b03],.slide-from-right-leave-active[data-v-07eb9b03]{transition:all .3s}.slide-from-left-enter[data-v-07eb9b03],.slide-from-left-leave-to[data-v-07eb9b03]{opacity:0;transform:translateX(-100%)}.slide-from-right-enter[data-v-07eb9b03],.slide-from-right-leave-to[data-v-07eb9b03]{opacity:0;transform:translateX(100%)}.check-select[data-v-07eb9b03]{margin-right:15px;margin-left:6px}.check-select .select-box[data-v-07eb9b03]{width:20px;height:20px;background-color:#e6e8eb;display:flex;justify-content:center;align-items:center;border-radius:5px}.check-select .select-box-active[data-v-07eb9b03]{background-color:#00bc7e}.check-select .select-box-active .icon[data-v-07eb9b03]{stroke:#fff}.file-wrapper[data-v-07eb9b03]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.file-wrapper[data-v-07eb9b03]:hover{border-color:transparent}.file-wrapper .actions[data-v-07eb9b03]{text-align:right;width:50px}.file-wrapper .actions .show-actions[data-v-07eb9b03]{cursor:pointer;padding:12px 0 12px 6px}.file-wrapper .actions .show-actions .icon-action[data-v-07eb9b03]{margin-top:9px;font-size:.875em}.file-wrapper .actions .show-actions .icon-action circle[data-v-07eb9b03]{color:inherit}.file-wrapper .item-name[data-v-07eb9b03]{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-wrapper .item-name .item-info[data-v-07eb9b03]{display:block;line-height:1}.file-wrapper .item-name .item-shared[data-v-07eb9b03]{display:inline-block}.file-wrapper .item-name .item-shared .label[data-v-07eb9b03]{font-size:.75em;font-weight:400;color:#00bc7e}.file-wrapper .item-name .item-shared .shared-icon[data-v-07eb9b03]{vertical-align:middle}.file-wrapper .item-name .item-shared .shared-icon circle[data-v-07eb9b03],.file-wrapper .item-name .item-shared .shared-icon line[data-v-07eb9b03],.file-wrapper .item-name .item-shared .shared-icon path[data-v-07eb9b03]{color:inherit}.file-wrapper .item-name .item-length[data-v-07eb9b03],.file-wrapper .item-name .item-size[data-v-07eb9b03]{font-size:.6875em;font-weight:400;color:rgba(27,37,57,.7)}.file-wrapper .item-name .name[data-v-07eb9b03]{white-space:nowrap}.file-wrapper .item-name .name[contenteditable][data-v-07eb9b03]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.file-wrapper .item-name .name[contenteditable=true][data-v-07eb9b03]:hover{text-decoration:underline}.file-wrapper .item-name .name[data-v-07eb9b03]{color:#1b2539;font-size:.875em;font-weight:700;max-height:40px;overflow:hidden;text-overflow:ellipsis}.file-wrapper .item-name .name.actived[data-v-07eb9b03]{max-height:none}.file-wrapper.selected .file-item[data-v-07eb9b03]{background:#f4f5f6}.file-wrapper .icon-item[data-v-07eb9b03]{text-align:center;position:relative;flex:0 0 50px;line-height:0;margin-right:20px}.file-wrapper .icon-item .folder[data-v-07eb9b03]{width:52px;height:52px}.file-wrapper .icon-item .folder[data-v-07eb9b03] .folder-icon{font-size:3.25em}.file-wrapper .icon-item .file-icon[data-v-07eb9b03]{font-size:2.8125em}.file-wrapper .icon-item .file-icon path[data-v-07eb9b03]{fill:#fafafc;stroke:#dfe0e8;stroke-width:1}.file-wrapper .icon-item .file-icon-text[data-v-07eb9b03]{line-height:1;top:40%;font-size:.6875em;margin:0 auto;position:absolute;text-align:center;left:0;right:0;font-weight:600;max-width:50px;max-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-wrapper .icon-item .file-icon-text[data-v-07eb9b03],.file-wrapper .icon-item .image[data-v-07eb9b03]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.file-wrapper .icon-item .image[data-v-07eb9b03]{-o-object-fit:contain;object-fit:contain;max-width:100%;border-radius:5px;width:50px;height:50px;pointer-events:none}.file-wrapper .file-item[data-v-07eb9b03]{border:2px dashed transparent;width:100%;display:flex;align-items:center;padding:7px 7px 7px 15px}.file-wrapper .file-item.is-dragenter[data-v-07eb9b03]{border-radius:8px}.file-wrapper .file-item.no-clicked[data-v-07eb9b03]{background:#fff!important}.file-wrapper .file-item.no-clicked .item-name .name[data-v-07eb9b03]{color:#1b2539!important}.file-wrapper .file-item.is-clicked[data-v-07eb9b03],.file-wrapper .file-item[data-v-07eb9b03]:hover{border-radius:8px;background:#f4f5f6}@media (prefers-color-scheme:dark){.check-select .select-box[data-v-07eb9b03]{background-color:#353940}.check-select .select-box-active[data-v-07eb9b03]{background-color:#00bc7e}.check-select .select-box-active .icon[data-v-07eb9b03]{stroke:#fff}.file-wrapper .icon-item .file-icon path[data-v-07eb9b03]{fill:#1e2024;stroke:#2f3c54}.file-wrapper .file-item.no-clicked[data-v-07eb9b03]{background:#141414!important}.file-wrapper .file-item.no-clicked .file-icon path[data-v-07eb9b03]{fill:#1e2024!important;stroke:#2f3c54}.file-wrapper .file-item.no-clicked .item-name .name[data-v-07eb9b03]{color:#bec6cf!important}.file-wrapper .file-item.is-clicked[data-v-07eb9b03],.file-wrapper .file-item[data-v-07eb9b03]:hover{background:#1e2024}.file-wrapper .file-item.is-clicked .file-icon path[data-v-07eb9b03],.file-wrapper .file-item:hover .file-icon path[data-v-07eb9b03]{fill:#141414}.file-wrapper .item-name .name[data-v-07eb9b03]{color:#bec6cf}.file-wrapper .item-name .item-length[data-v-07eb9b03],.file-wrapper .item-name .item-size[data-v-07eb9b03]{color:#7d858c}}",""])},BNHs:function(e,t,i){(e.exports=i("I1BE")(!1)).push([e.i,".button-enter-active[data-v-6d305b84],.button-leave-active[data-v-6d305b84]{transition:all .25s}.button-enter[data-v-6d305b84]{opacity:0;transform:translateY(-50%)}.button-leave-to[data-v-6d305b84]{opacity:0;transform:translateY(50%)}.button-leave-active[data-v-6d305b84]{position:absolute}#mobile-actions-wrapper[data-v-6d305b84]{display:none;background:#fff;position:sticky;top:35px;z-index:3}.mobile-actions[data-v-6d305b84]{white-space:nowrap;overflow-x:auto;margin:0 -15px;padding:10px 0 10px 15px}@media only screen and (max-width:960px){#mobile-actions-wrapper[data-v-6d305b84]{display:block}}@media (prefers-color-scheme:dark){#mobile-actions-wrapper[data-v-6d305b84]{background:#141414}}",""])},CTZn:function(e,t,i){(e.exports=i("I1BE")(!1)).push([e.i,".empty-page[data-v-2a4938d9]{position:absolute;left:0;right:0;bottom:0;top:0;margin-top:20px;display:flex;align-items:center}.empty-page .empty-state[data-v-2a4938d9]{margin:0 auto;padding-left:15px;padding-right:15px}.text-content[data-v-2a4938d9]{text-align:center;margin:30px 0}.text-content .title[data-v-2a4938d9]{font-size:1.25em;color:#1b2539;font-weight:700;margin:0}.text-content .description[data-v-2a4938d9]{font-size:.8125em;color:rgba(27,37,57,.7);margin-bottom:20px;display:block}.text-content .button[data-v-2a4938d9]{margin-left:auto;margin-right:auto}@media (prefers-color-scheme:dark){.text-content .title[data-v-2a4938d9]{color:#bec6cf}.text-content .description[data-v-2a4938d9]{color:#7d858c}}",""])},DjGp:function(e,t,i){var n=i("AjFi");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},DuK0:function(e,t,i){(e.exports=i("I1BE")(!1)).push([e.i,".is-inactive[data-v-c047da72]{opacity:.25;pointer-events:none}.toolbar-wrapper[data-v-c047da72]{padding-top:10px;padding-bottom:10px;justify-content:space-between;position:relative;z-index:2}.location[data-v-c047da72],.toolbar-wrapper[data-v-c047da72]{display:flex;align-items:center}.location[data-v-c047da72]{cursor:pointer}.location .icon-back[data-v-c047da72]{transition:all .15s ease;pointer-events:none;margin-right:6px;flex-shrink:0;opacity:.15}.location .icon-back.is-active[data-v-c047da72]{opacity:1;pointer-events:auto}.location .location-title[data-v-c047da72]{font-size:.9375em;line-height:1;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1b2539}.location .location-more[data-v-c047da72]{margin-left:6px;padding:1px 4px;line-height:0;border-radius:3px;transition:all .15s ease}.location .location-more svg circle[data-v-c047da72]{transition:all .15s ease}.location .location-more[data-v-c047da72]:hover{background:#f4f5f6}.location .location-more:hover svg circle[data-v-c047da72]{color:inherit}.toolbar-position[data-v-c047da72]{text-align:center}.toolbar-position span[data-v-c047da72]{font-size:1.0625em;font-weight:600}@media only screen and (max-width:1024px){.location .location-title[data-v-c047da72]{max-width:120px}.toolbar-tools .button[data-v-c047da72]{margin-left:0;height:40px;width:40px}}@media only screen and (max-width:960px){#desktop-toolbar[data-v-c047da72]{display:none}}@media (prefers-color-scheme:dark){.location .location-title[data-v-c047da72]{color:#bec6cf}.location .location-more[data-v-c047da72]:hover{background:#1e2024}}",""])},J4OL:function(e,t,i){var n=i("CTZn");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},PNbf:function(e,t,i){var n=i("ru6N");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},QwaD:function(e,t,i){"use strict";var n=i("axtU"),o=i("uFbu"),a=i("CjXH"),r={name:"InvoiceSortingOptions",components:{OptionGroup:n.a,ArrowUpIcon:a.b,Option:o.a},computed:{arrowForCreatedAtField:function(){if("created_at"===this.filter.field)return"DESC"===this.filter.sort?"up":"down"},arrowForTotalNetField:function(){if("total_net"===this.filter.field)return"DESC"===this.filter.sort?"up":"down"},arrowForInvoiceNumberField:function(){if("invoice_number"===this.filter.field)return"DESC"===this.filter.sort?"up":"down"}},data:function(){return{filter:{sort:"DESC",field:"created_at"}}},methods:{sort:function(e){this.filter.field=e,"DESC"===this.filter.sort?this.filter.sort="ASC":"ASC"===this.filter.sort&&(this.filter.sort="DESC"),localStorage.setItem("sorting-invoices",JSON.stringify({sort:this.filter.sort,field:this.filter.field})),this.$store.commit("UPDATE_INVOICE_SORTING"),this.$getInvoiceDataByLocation()}},mounted:function(){var e=JSON.parse(localStorage.getItem("sorting-invoices"));this.filter.sort=e?e.sort:"DESC",this.filter.field=e?e.field:"created_at"}},s=i("KHd+"),c=Object(s.a)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.$isThisLocation(["regular-invoice","advance-invoice"])?i("OptionGroup",[i("Option",{attrs:{arrow:e.arrowForCreatedAtField,title:e.$t("preview_sorting.sort_date"),icon:"calendar"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("created_at")}}}),e._v(" "),i("Option",{attrs:{arrow:e.arrowForTotalNetField,title:e.$t("in.sort_by_net"),icon:"dollar"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("total_net")}}}),e._v(" "),i("Option",{attrs:{arrow:e.arrowForInvoiceNumberField,title:e.$t("in.sort_by_invoice_number"),icon:"file-text"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("invoice_number")}}})],1):e._e(),e._v(" "),e.$isThisLocation("clients")?i("OptionGroup",[i("Option",{attrs:{title:e.$t("preview_sorting.sort_date"),icon:"calendar"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("created_at")}}}),e._v(" "),i("Option",{attrs:{title:e.$t("preview_sorting.sort_alphabet"),icon:"alphabet"},nativeOn:{click:function(t){return t.stopPropagation(),e.sort("name")}}})],1):e._e()],1)}),[],!1,null,null,null);t.a=c.exports},RQg9:function(e,t,i){"use strict";i("kXDk")},Ryfy:function(e,t,i){"use strict";i("U2bg")},U2bg:function(e,t,i){var n=i("nlQl");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},Wuw1:function(e,t,i){(e.exports=i("I1BE")(!1)).push([e.i,".no-options[data-v-6de2cd4f] .text-label{color:rgba(27,37,57,.7)!important}[data-v-6de2cd4f] .no-options:hover{background:transparent}.no-options[data-v-6de2cd4f] circle,.no-options[data-v-6de2cd4f] line,.no-options[data-v-6de2cd4f] path{stroke:rgba(27,37,57,.7)!important}.contextmenu[data-v-6de2cd4f]{min-width:250px;position:absolute;z-index:99;box-shadow:0 7px 25px 1px rgba(0,0,0,.12);background:#fff;border-radius:8px;overflow:hidden}.contextmenu.showed[data-v-6de2cd4f]{display:block}.menu-options[data-v-6de2cd4f]{list-style:none;width:100%;margin:0;padding:0}@media (prefers-color-scheme:dark){.contextmenu[data-v-6de2cd4f]{background:#1e2024}.no-options[data-v-6de2cd4f] .text-label{color:#7d858c!important}[data-v-6de2cd4f] .no-options:hover{background:transparent}.no-options[data-v-6de2cd4f] circle,.no-options[data-v-6de2cd4f] line,.no-options[data-v-6de2cd4f] path{stroke:#7d858c!important}}",""])},"Ymy/":function(e,t,i){"use strict";i("3jZZ")},"a+pn":function(e,t,i){var n=i("BNHs");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},bfSx:function(e,t,i){var n=i("n/Pk");"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i("aET+")(n,o);n.locals&&(e.exports=n.locals)},"hjs+":function(e,t,i){"use strict";i.r(t);var n=i("QwaD"),o=i("CjXH"),a=i("R+IU"),r=i("UUIA"),s=i("0gRs"),c=i("JilC"),l=i("axtU"),p=i("8uc6"),d=i("nSi/"),f=i("uFbu"),m=i("L2JU"),u=i("xCqy");function b(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function v(e){for(var t=1;t=n;a--)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[a])}else this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);else this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);!this.isMobileSelectMode&&this.$isMobile()&&(this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item),u.a.$emit("file-preview:show")),this.isMobileSelectMode&&this.$isMobile()&&(this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item))},showInvoice:function(){u.a.$emit("file-preview:show")}},created:function(){var e=this;u.a.$on("mobileSelecting:start",(function(){e.isMobileSelectMode=!0,e.$store.commit("CLIPBOARD_CLEAR")})),u.a.$on("mobileSelecting:stop",(function(){e.isMobileSelectMode=!1,e.$store.commit("CLIPBOARD_CLEAR")}))}},Q=(i("Ymy/"),Object(w.a)(W,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"file-wrapper",on:{mouseup:function(t){return t.stopPropagation(),e.clickedItem(t)},dblclick:e.showInvoice}},[i("div",{staticClass:"file-item",class:{"is-clicked":e.isClicked,"no-clicked":!e.isClicked&&e.$isMobile()}},[i("transition",{attrs:{name:"slide-from-left"}},[e.isMobileSelectMode?i("div",{staticClass:"check-select"},[i("div",{staticClass:"select-box",class:{"select-box-active":e.isClicked}},[e.isClicked?i("CheckIcon",{staticClass:"icon",attrs:{size:"17"}}):e._e()],1)]):e._e()]),e._v(" "),i("div",{staticClass:"item-name"},[i("b",{ref:e.item.id,staticClass:"name"},[e._v("\n "+e._s(e.item.client_name)+" - "+e._s(e.item.total)+"\n ")]),e._v(" "),i("div",{staticClass:"item-info"},[i("span",{staticClass:"item-size"},[e._v("\n\t\t\t\t\t\t"+e._s(e.item.created_at)+", "+e._s(e.$t("in.n-abbreviation"))+" "+e._s(e.item.invoice_number)+"\n\t\t\t\t\t")])])]),e._v(" "),i("transition",{attrs:{name:"slide-from-right"}},[e.$isMobile()&&!e.isMobileSelectMode?i("div",{staticClass:"actions"},[i("span",{staticClass:"show-actions",on:{mousedown:function(t){return t.stopPropagation(),e.showItemActions(t)}}},[i("MoreVerticalIcon",{staticClass:"icon-action text-theme",attrs:{size:"16"}})],1)]):e._e()])],1)])}),[],!1,null,"0efb7529",null).exports);function Z(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function ee(e){for(var t=1;t=n;a--)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[a])}else this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);else this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);!this.isMobileSelectMode&&this.$isMobile()&&this.$router.push({name:"ClientDetail",params:{id:this.item.id}}),this.isMobileSelectMode&&this.$isMobile()&&(this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item))},showClient:function(){this.$router.push({name:"ClientDetail",params:{id:this.item.id}})}},created:function(){var e=this;u.a.$on("mobileSelecting:start",(function(){e.isMobileSelectMode=!0,e.$store.commit("CLIPBOARD_CLEAR")})),u.a.$on("mobileSelecting:stop",(function(){e.isMobileSelectMode=!1,e.$store.commit("CLIPBOARD_CLEAR")}))}},ne=(i("8Gay"),Object(w.a)(ie,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"file-wrapper",on:{mouseup:function(t){return t.stopPropagation(),e.clickedItem(t)},dblclick:e.showClient}},[i("div",{staticClass:"file-item",class:{"is-clicked":e.isClicked,"no-clicked":!e.isClicked&&e.$isMobile()}},[i("transition",{attrs:{name:"slide-from-left"}},[e.isMobileSelectMode?i("div",{staticClass:"check-select"},[i("div",{staticClass:"select-box",class:{"select-box-active":e.isClicked}},[e.isClicked?i("CheckIcon",{staticClass:"icon",attrs:{size:"17"}}):e._e()],1)]):e._e()]),e._v(" "),i("div",{staticClass:"icon-item"},[i("img",{staticClass:"image",attrs:{loading:"lazy",src:e.item.avatar,alt:e.item.name}})]),e._v(" "),i("div",{staticClass:"item-name"},[i("b",{ref:e.item.id,staticClass:"name"},[e._v("\n "+e._s(e.item.name)+"\n ")]),e._v(" "),i("div",{staticClass:"item-info"},[i("span",{staticClass:"item-size"},[e._v("\n\t\t\t\t\t\t"+e._s(e.$t("file_detail.created_at"))+": "+e._s(e.item.created_at)+", "+e._s(e.$t("global.total"))+": "+e._s(e.item.totalNet)+"\n\t\t\t\t\t")])])]),e._v(" "),i("transition",{attrs:{name:"slide-from-right"}},[e.$isMobile()&&!e.isMobileSelectMode?i("div",{staticClass:"actions"},[i("span",{staticClass:"show-actions",on:{mousedown:function(t){return t.stopPropagation(),e.showItemActions(t)}}},[i("MoreVerticalIcon",{staticClass:"icon-action text-theme",attrs:{size:"16"}})],1)]):e._e()])],1)])}),[],!1,null,"07eb9b03",null).exports);function oe(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function ae(e){for(var t=1;t0&&this.$checkPermission("master")||this.$checkPermission("editor"))&&this.$store.dispatch("deleteItem")},contextMenu:function(e,t){u.a.$emit("contextMenu:show",e,t)},filesContainerClick:function(){this.$store.commit("CLIPBOARD_CLEAR")}},created:function(){var e=this;u.a.$on("mobileSelecting:start",(function(){e.isMultiSelect=!0})),u.a.$on("mobileSelecting:stop",(function(){e.isMultiSelect=!1})),u.a.$on("fileItem:deselect",(function(){e.$store.commit("CLIPBOARD_CLEAR")}))}},ce=(i("Ryfy"),Object(w.a)(se,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"file-content",attrs:{id:"file-content-id",tabindex:"-1"}},[i("div",{ref:"fileContainer",staticClass:"files-container",class:{"is-visible":e.isVisibleSidebar,"mobile-multi-select":e.isMultiSelect},on:{click:function(t){return t.target!==t.currentTarget?null:e.filesContainerClick(t)}}},[i("MobileToolbar"),e._v(" "),e.hasBillingProfile?i("SearchBar",{staticClass:"mobile-search",attrs:{placeholder:e.searchPlaceholder},on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}}):e._e(),e._v(" "),e.hasBillingProfile?i("InvoiceActionsMobile"):e._e(),e._v(" "),i("div",{staticClass:"file-list-wrapper"},[i("transition-group",{staticClass:"file-list",attrs:{name:"file",tag:"section"}},[e._l(e.entries,(function(t){return"invoice"===t.type?i("InvoiceItem",{key:t.id,staticClass:"file-item",attrs:{item:t},nativeOn:{contextmenu:function(i){return i.preventDefault(),e.contextMenu(i,t)}}}):e._e()})),e._v(" "),e._l(e.entries,(function(t){return"client"===t.type?i("ClientItem",{key:t.id,staticClass:"file-item",attrs:{item:t},nativeOn:{contextmenu:function(i){return i.preventDefault(),e.contextMenu(i,t)}}}):e._e()}))],2)],1),e._v(" "),e.isSearching?e._e():i("EmptyInvoicePage"),e._v(" "),e.isSearching&&e.isEmpty?i("EmptyMessage",{attrs:{message:e.$t("messages.nothing_was_found"),icon:"eye-slash"}}):e._e()],1),e._v(" "),i("div",{staticClass:"file-info-container",class:{"is-visible":e.isVisibleSidebar}},[i("InvoiceInfoSidebar")],1)])}),[],!1,null,"ba85c656",null).exports);function le(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function pe(e){for(var t=1;t