photos/js/photos-node_modules_blurhas...

3 lines
20 KiB
JavaScript

/*! For license information please see photos-node_modules_blurhash_dist_esm_index_js-node_modules_vue-material-design-icons_ArrowLeft_vue--996eaf.js.LICENSE.txt */
"use strict";(self.webpackChunkphotos=self.webpackChunkphotos||[]).push([["node_modules_blurhash_dist_esm_index_js-node_modules_vue-material-design-icons_ArrowLeft_vue--996eaf"],{60213:(t,e,l)=>{l.d(e,{Z:()=>c});var i=l(20629),n=l(64024),o=l(69363),a=l(87076),s=l(59537),r=l(32114);const c={name:"FetchCollectionContentMixin",data:()=>({fetchSemaphore:new r.Z(1),loadingCollection:!1,loadingCollectionFiles:!1,errorFetchingCollection:null,errorFetchingCollectionFiles:null}),mixins:[o.Z],methods:{...(0,i.nv)(["appendFiles","addCollections","setCollectionFiles"]),async fetchCollection(t,e,l){if(this.loadingCollection)return null;try{this.loadingCollection=!0,this.errorFetchingCollection=null;const i=await(0,a.lA)(t,{signal:this.abortController.signal},e,l);return this.addCollections({collections:[i]}),i}catch(t){var i;if(404===(null===(i=t.response)||void 0===i?void 0:i.status))return this.errorFetchingCollection=404,null;this.errorFetchingCollection=t,s.Z.error("[PublicCollectionContent] Error fetching collection",{error:t}),(0,n.x2)(this.t("photos","Failed to fetch collection."))}finally{this.loadingCollection=!1}return null},async fetchCollectionFiles(t,e,l){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(this.loadingCollectionFiles)return[];const o=await this.fetchSemaphore.acquire();try{this.errorFetchingCollectionFiles=null,this.loadingCollectionFiles=!0;let n=await(0,a.dB)(t,{signal:this.abortController.signal},e,l);const o=n.map((t=>t.fileid.toString()));return i.forEach((t=>n=n.map(t))),this.appendFiles(n),n.length>0&&await this.$store.commit("setCollectionFiles",{collectionFileName:t,fileIds:o}),n}catch(t){var r;if(404===(null===(r=t.response)||void 0===r?void 0:r.status))return this.errorFetchingCollectionFiles=404,[];this.errorFetchingCollectionFiles=t,(0,n.x2)(this.t("photos","Failed to fetch collections list.")),s.Z.error("[PublicCollectionContent] Error fetching collection files",{error:t})}finally{this.loadingCollectionFiles=!1,this.fetchSemaphore.release(o)}return[]}}}},43985:(t,e,l)=>{l.d(e,{Jx:()=>m});var i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],n=t=>{let e=0;for(let l=0;l<t.length;l++){let n=t[l];e=83*e+i.indexOf(n)}return e},o=t=>{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},a=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.trunc(12.92*e*255+.5):Math.trunc(255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5)},s=(t,e)=>(t=>t<0?-1:1)(t)*Math.pow(Math.abs(t),e),r=class extends Error{constructor(t){super(t),this.name="ValidationError",this.message=t}},c=t=>{if(!t||t.length<6)throw new r("The blurhash string must be at least 6 characters");let e=n(t[0]),l=Math.floor(e/9)+1,i=e%9+1;if(t.length!==4+2*i*l)throw new r(`blurhash length mismatch: length is ${t.length} but it should be ${4+2*i*l}`)},d=t=>{let e=t>>8&255,l=255&t;return[o(t>>16),o(e),o(l)]},u=(t,e)=>{let l=Math.floor(t/361),i=Math.floor(t/19)%19,n=t%19;return[s((l-9)/9,2)*e,s((i-9)/9,2)*e,s((n-9)/9,2)*e]},m=(t,e,l,i)=>{c(t),i|=1;let o=n(t[0]),s=Math.floor(o/9)+1,r=o%9+1,m=(n(t[1])+1)/166,h=new Array(r*s);for(let e=0;e<h.length;e++)if(0===e){let l=n(t.substring(2,6));h[e]=d(l)}else{let l=n(t.substring(4+2*e,6+2*e));h[e]=u(l,m*i)}let p=4*e,g=new Uint8ClampedArray(p*l);for(let t=0;t<l;t++)for(let i=0;i<e;i++){let n=0,o=0,c=0;for(let a=0;a<s;a++)for(let s=0;s<r;s++){let d=Math.cos(Math.PI*i*s/e)*Math.cos(Math.PI*t*a/l),u=h[s+a*r];n+=u[0]*d,o+=u[1]*d,c+=u[2]*d}let d=a(n),u=a(o),m=a(c);g[4*i+0+t*p]=d,g[4*i+1+t*p]=u,g[4*i+2+t*p]=m,g[4*i+3+t*p]=255}return g}},41935:(t,e,l)=>{l.d(e,{Z:()=>s});var i=l(87537),n=l.n(i),o=l(23645),a=l.n(o)()(n());a.push([t.id,".collection[data-v-550e2ad4]{display:flex;flex-direction:column}.collection__media[data-v-550e2ad4]{padding:0 64px}@media only screen and (max-width: 1200px){.collection__media[data-v-550e2ad4]{padding:0 4px}}","",{version:3,sources:["webpack://./src/components/Collection/CollectionContent.vue"],names:[],mappings:"AAEA,6BACC,YAAA,CACA,qBAAA,CAEA,oCACC,cAAA,CAEA,2CAHD,oCAIE,aAAA,CAAA",sourcesContent:['$sizes: ("400": ("count": 3, "marginTop": 66, "marginW": 8), "700": ("count": 4, "marginTop": 66, "marginW": 8), "1024": ("count": 5, "marginTop": 66, "marginW": 44), "1280": ("count": 4, "marginTop": 66, "marginW": 44), "1440": ("count": 5, "marginTop": 88, "marginW": 66), "1600": ("count": 6, "marginTop": 88, "marginW": 66), "2048": ("count": 7, "marginTop": 88, "marginW": 66), "2560": ("count": 8, "marginTop": 88, "marginW": 88), "3440": ("count": 9, "marginTop": 88, "marginW": 88), "max": ("count": 10, "marginTop": 88, "marginW": 88));\n\n.collection {\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t&__media {\n\t\tpadding: 0 64px;\n\n\t\t@media only screen and (max-width: 1200px) {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const s=a},38766:(t,e,l)=>{l.d(e,{Z:()=>s});var i=l(87537),n=l.n(i),o=l(23645),a=l.n(o)()(n());a.push([t.id,".album[data-v-041493d5]{display:flex;flex-direction:column}.album__title[data-v-041493d5]{width:100%}.album__name[data-v-041493d5]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.album__location[data-v-041493d5]{margin-left:-4px;display:flex;color:var(--color-text-lighter)}","",{version:3,sources:["webpack://./src/views/PublicAlbumContent.vue"],names:[],mappings:"AAEA,wBACC,YAAA,CACA,qBAAA,CAEA,+BACC,UAAA,CAGD,8BACC,eAAA,CACA,kBAAA,CACA,sBAAA,CAGD,kCACC,gBAAA,CACA,YAAA,CACA,+BAAA",sourcesContent:['$sizes: ("400": ("count": 3, "marginTop": 66, "marginW": 8), "700": ("count": 4, "marginTop": 66, "marginW": 8), "1024": ("count": 5, "marginTop": 66, "marginW": 44), "1280": ("count": 4, "marginTop": 66, "marginW": 44), "1440": ("count": 5, "marginTop": 88, "marginW": 66), "1600": ("count": 6, "marginTop": 88, "marginW": 66), "2048": ("count": 7, "marginTop": 88, "marginW": 66), "2560": ("count": 8, "marginTop": 88, "marginW": 88), "3440": ("count": 9, "marginTop": 88, "marginW": 88), "max": ("count": 10, "marginTop": 88, "marginW": 88));\n\n.album {\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t&__title {\n\t\twidth: 100%;\n\t}\n\n\t&__name {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t&__location {\n\t\tmargin-left: -4px;\n\t\tdisplay: flex;\n\t\tcolor: var(--color-text-lighter);\n\t}\n}\n'],sourceRoot:""}]);const s=a},84320:(t,e,l)=>{l.d(e,{Z:()=>n});const i={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const n=(0,l(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports},69254:(t,e,l)=>{l.d(e,{Z:()=>n});const i={name:"ArrowLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const n=(0,l(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon arrow-left-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports},99147:(t,e,l)=>{l.d(e,{Z:()=>n});const i={name:"FolderMultipleImageIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const n=(0,l(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon folder-multiple-image-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7,15L11.5,9L15,13.5L17.5,10.5L21,15M22,4H14L12,2H6A2,2 0 0,0 4,4V16A2,2 0 0,0 6,18H22A2,2 0 0,0 24,16V6A2,2 0 0,0 22,4M2,6H0V11H0V20A2,2 0 0,0 2,22H20V20H2V6Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports},41316:(t,e,l)=>{l.d(e,{Z:()=>n});const i={name:"MapMarkerIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const n=(0,l(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon map-marker-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports},68204:(t,e,l)=>{l.d(e,{Z:()=>n});const i={name:"PackageVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const n=(0,l(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon package-variant-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports},39650:(t,e,l)=>{l.d(e,{Z:()=>o});var i=l(9073),n=l(91211);const o=(0,l(51900).Z)(n.Z,i.s,i.x,!1,null,null,null).exports},8131:(t,e,l)=>{l.d(e,{Z:()=>i});const i={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}}},97167:(t,e,l)=>{l.d(e,{Z:()=>o});var i=l(59541),n=l(6900);const o=(0,l(51900).Z)(n.Z,i.s,i.x,!1,null,null,null).exports},90244:(t,e,l)=>{l.d(e,{Z:()=>i});const i={name:"VideoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}}},70877:(t,e,l)=>{l.d(e,{Z:()=>x});var i=l(84320),n=l(99147),o=l(64882),a=l(31352),s=l(98171),r=l(97519),c=l(64811);const d={name:"CollectionContent",components:{AlertCircle:i.Z,FolderMultipleImage:n.Z,NcEmptyContent:o.SL,FilesListViewer:r.Z,File:c.Z},mixins:[s.Z,o.tq],props:{collection:{type:Object,default:()=>{}},collectionFileIds:{type:Array,required:!0},loading:{type:Boolean,default:!1},allowSelection:{type:Boolean,default:!0},error:{type:[Error,Number],default:null}},data:()=>({appContent:document.getElementById("app-content-vue")}),computed:{files(){return this.$store.getters.files},sortedCollectionFileIds(){return this.collectionFileIds.toSorted(((t,e)=>this.files[t].timestamp<this.files[e].timestamp?-1:1))}},methods:{openViewer(t){const e=this.files[t];OCA.Viewer.open({fileInfo:e,list:this.sortedCollectionFileIds.map((t=>this.files[t])).filter((t=>!t.sectionHeader)),loadMore:e.loadMore?async()=>await e.loadMore(!0):()=>[],canLoop:e.canLoop})},t:a.Iu}};var u=l(93379),m=l.n(u),h=l(7795),p=l.n(h),g=l(90569),C=l.n(g),f=l(3565),A=l.n(f),v=l(19216),_=l.n(v),b=l(44589),w=l.n(b),y=l(41935),F={};F.styleTagTransform=w(),F.setAttributes=A(),F.insert=C().bind(null,"head"),F.domAPI=p(),F.insertStyleElement=_();m()(y.Z,F);y.Z&&y.Z.locals&&y.Z.locals;const x=(0,l(51900).Z)(d,(function(){var t=this,e=t._self._c;return void 0===t.collection&&!t.loading||404===t.error?e("NcEmptyContent",{staticClass:"empty-content-with-illustration",attrs:{name:t.t("photos","This collection does not exist")}},[e("FolderMultipleImage",{attrs:{slot:"icon"},slot:"icon"})],1):t.error?e("NcEmptyContent",{attrs:{name:t.t("photos","An error occurred")}},[e("AlertCircle",{attrs:{slot:"icon"},slot:"icon"})],1):e("div",{staticClass:"collection"},[t._t("header",null,{selectedFileIds:t.selectedFileIds,resetSelection:t.resetSelection}),t._v(" "),0!==t.sortedCollectionFileIds.length||t.loading?t._e():t._t("empty-content"),t._v(" "),void 0!==t.collection?e("FilesListViewer",{staticClass:"collection__media",attrs:{"container-element":t.appContent,"file-ids":t.sortedCollectionFileIds,"base-height":t.isMobile?120:200,loading:t.loading},scopedSlots:t._u([{key:"default",fn:function(l){let{file:i,distance:n}=l;return e("File",{attrs:{file:t.files[i.id],"allow-selection":t.allowSelection,selected:!0===t.selection[i.id],distance:n},on:{click:t.openViewer,"select-toggled":t.onFileSelectToggle}})}}],null,!1,3813029717)}):t._e()],2)}),[],!1,null,"550e2ad4",null).exports},57882:(t,e,l)=>{l.r(e),l.d(e,{default:()=>S});var i=l(20629),n=l(48796),o=l(41316);const a={name:"ImageOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var s=l(51900);const r=(0,s.Z)(a,(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon image-off-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M21 17.2L6.8 3H19C20.1 3 21 3.9 21 5V17.2M20.7 22L19.7 21H5C3.9 21 3 20.1 3 19V4.3L2 3.3L3.3 2L22 20.7L20.7 22M16.8 18L12.9 14.1L11 16.5L8.5 13.5L5 18H16.8Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null).exports;var c=l(64882),d=l(93664),u=l(11480),m=l(31352),h=l(70877),p=l(41197),g=l(60213);(0,n.getPatcher)().patch("request",d.Z);const C=(0,u.c)("dav"),f={name:"PublicAlbumContent",components:{MapMarker:o.Z,ImageOff:r,NcEmptyContent:c.SL,NcActions:c.O3,CollectionContent:h.Z,HeaderNavigation:p.Z},mixins:[g.Z,c.tq],props:{token:{type:String,required:!0}},data(){return{showAddPhotosModal:!1,loadingCount:0,loadingAddFilesToAlbum:!1,albumOriginalName:"",publicClient:(0,n.createClient)(C,{username:this.token,password:null})}},computed:{album(){return this.$store.getters.getPublicAlbum(this.albumName)},albumName(){return this.token},albumFileIds(){return this.$store.getters.getPublicAlbumFiles(this.albumName)},publicAlbumFileName(){return this.$store.getters.getPublicAlbumName(this.albumName)}},async beforeMount(){await this.fetchAlbumInfo(),await this.fetchAlbumContent()},methods:{...(0,i.nv)(["appendFiles","addCollection","addFilesToCollection","removeFilesFromCollection"]),async fetchAlbumInfo(){const t=await this.fetchCollection("/photospublic/".concat(this.token),["<nc:location />","<nc:dateRange />","<nc:collaborators />","<nc:original-name />"],this.publicClient);this.albumOriginalName=t.originalName},async fetchAlbumContent(){await this.fetchCollectionFiles("/photospublic/".concat(this.token),["<nc:location />","<nc:dateRange />","<nc:collaborators />","<nc:original-name />"],this.publicClient,[t=>({...t,previewUrl:(0,u.nu)("/apps/photos/api/v1/publicPreview/".concat(t.fileid,"?x=2048&y=2048&token=").concat(this.token)),hasPreview:!1})])},async handleFilesPicked(t){this.showAddPhotosModal=!1,await this.addFilesToCollection({collectionFileName:this.albumName,fileIdsToAdd:t}),await this.fetchAlbumContent()},async handleRemoveFilesFromAlbum(t){this.$refs.collectionContent.onUncheckFiles(t),await this.removeFilesFromCollection({collectionFileName:this.albumName,fileIdsToRemove:t})},t:m.Iu}};var A=l(93379),v=l.n(A),_=l(7795),b=l.n(_),w=l(90569),y=l.n(w),F=l(3565),x=l.n(F),L=l(19216),Z=l.n(L),M=l(44589),k=l.n(M),I=l(38766),N={};N.styleTagTransform=k(),N.setAttributes=x(),N.insert=y().bind(null,"head"),N.domAPI=b(),N.insertStyleElement=Z();v()(I.Z,N);I.Z&&I.Z.locals&&I.Z.locals;const S=(0,s.Z)(f,(function(){var t=this,e=t._self._c;return e("div",[e("CollectionContent",{ref:"collectionContent",attrs:{collection:t.album,"collection-file-ids":t.albumFileIds,"allow-selection":!1,loading:t.loadingCollection||t.loadingCollectionFiles,error:t.errorFetchingCollection||t.errorFetchingCollectionFiles},scopedSlots:t._u([{key:"header",fn:function(l){let{selectedFileIds:i}=l;return""!==t.albumOriginalName?e("HeaderNavigation",{key:"navigation",attrs:{loading:t.loadingCollection||t.loadingCollectionFiles,params:{token:t.token},path:"/","root-title":t.albumOriginalName,title:t.albumOriginalName},on:{refresh:t.fetchAlbumContent}},[""!==t.album.location?e("div",{staticClass:"album__location",attrs:{slot:"subtitle"},slot:"subtitle"},[e("MapMarker"),t._v(t._s(t.album.location)+"\n\t\t\t")],1):t._e(),t._v(" "),void 0!==t.album?e("template",{slot:"right"},[e("NcActions",{attrs:{"force-menu":!0,"aria-label":t.t("photos","Open actions menu")}},[i.length>0?void 0:t._e()],2)],1):t._e()],2):t._e()}}],null,!0)},[t._v(" "),e("NcEmptyContent",{staticClass:"album__empty",attrs:{slot:"empty-content",name:t.t("photos","This album does not have any photos or videos yet!")},slot:"empty-content"},[e("ImageOff",{attrs:{slot:"icon"},slot:"icon"})],1)],1)],1)}),[],!1,null,"041493d5",null).exports},91211:(t,e,l)=>{l.d(e,{Z:()=>i});const i=l(8131).Z},6900:(t,e,l)=>{l.d(e,{Z:()=>i});const i=l(90244).Z},9073:(t,e,l)=>{l.d(e,{s:()=>i,x:()=>n});var i=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon play-circle-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},n=[]},59541:(t,e,l)=>{l.d(e,{s:()=>i,x:()=>n});var i=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon video-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},n=[]},18398:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-star" viewBox="0 0 24 24"><path d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z" /></svg>'}}]);
//# sourceMappingURL=photos-node_modules_blurhash_dist_esm_index_js-node_modules_vue-material-design-icons_ArrowLeft_vue--996eaf.js.map?v=55a85df758d839e957b7