{"version":3,"sources":["webpack:///./src/assets/font-awesomes/lock.svg","webpack:///./src/assets/font-awesomes/folder.svg","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.less?0b02","webpack:///./src/components/learningLibrary/ConfigureLearningLibraryCollection.less?e7ed","webpack:///./src/commoncomponents/Checkbox.vue?03d6","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?cf84","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.ts","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?0f28","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?47c6","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue","webpack:///./src/commoncomponents/CollectionCardComponent/CollectionCardComponent.vue?2a82","webpack:///./src/commoncomponents/CollectionCardComponent/CollectionCardComponent.ts","webpack:///./src/commoncomponents/CollectionCardComponent/CollectionCardComponent.vue?c212","webpack:///./src/commoncomponents/CollectionCardComponent/CollectionCardComponent.vue?5ab3","webpack:///./src/commoncomponents/CollectionCardComponent/CollectionCardComponent.vue","webpack:///./src/components/learningLibrary/ConfigureLearningLibraryCollection.vue?7358","webpack:///./src/components/learningLibrary/ConfigureLearningLibraryCollection.ts","webpack:///./src/components/learningLibrary/ConfigureLearningLibraryCollection.vue?690f","webpack:///./src/components/learningLibrary/ConfigureLearningLibraryCollection.vue?5f69","webpack:///./src/components/learningLibrary/ConfigureLearningLibraryCollection.vue","webpack:///./src/popupcomponents/collections/DeleteCollectionModal.less?7f43","webpack:///./src/assets/font-awesomes/folder-open.svg","webpack:///./src/popupcomponents/collections/DeleteCollectionModal.vue?a950","webpack:///./src/popupcomponents/collections/DeleteCollectionModal.ts","webpack:///./src/popupcomponents/collections/DeleteCollectionModal.vue?7a29","webpack:///./src/popupcomponents/collections/DeleteCollectionModal.vue?4982","webpack:///./src/popupcomponents/collections/DeleteCollectionModal.vue","webpack:///./src/components/cms/collections/MyCollectionsPage.less?f626","webpack:///./src/services/collections/api.ts","webpack:///./src/commoncomponents/Checkbox.vue?1846","webpack:///./src/commoncomponents/Checkbox.vue?fb11","webpack:///./src/commoncomponents/Checkbox.vue?d431","webpack:///./src/commoncomponents/Checkbox.vue","webpack:///./src/utilities/collectionsUtilities.ts","webpack:///./src/components/cms/collections/MyCollectionsPage.vue?1bce","webpack:///./src/components/cms/collections/MyCollectionsPage.ts","webpack:///./src/components/cms/collections/MyCollectionsPage.vue?f379","webpack:///./src/components/cms/collections/MyCollectionsPage.vue?37c1","webpack:///./src/components/cms/collections/MyCollectionsPage.vue","webpack:///./src/commoncomponents/CollectionCardComponent/CollectionCardComponent.less?79c0","webpack:///./node_modules/vue-infinite-loading/dist/vue-infinite-loading.js"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","key","style","STYLE","COLOR","PRIMARY_700","attrs","_v","_s","getScreenText","staticRenderFns","BouncingPreloaderComponent","screenText","ScreenText","APP_CONST","Vue","tslib_1","Prop","Component","component","class","selected","collectionChecked","small","routeTo","cardData","contentImages","length","slice","_e","totalItemsText","title","collectionId","on","handleSelect","handleEdit","handleDelete","CollectionCardComponent","$emit","value","data","totalItems","name","params","type","Object","Boolean","components","CmsCheckbox","ContextMenu","ContextMenuItem","ref","required","unique","nameValidationRules","scopedSlots","_u","fn","errors","directives","rawName","expression","modifiers","domProps","$event","target","composing","collectionName","trim","$forceUpdate","cancel","save","ConfigureLearningLibraryCollection","collectionValidationProvider","reset","validate","valid","resetValidation","modelValue","newValue","collectionNameValidationRules","Model","Ref","ValidationProvider","isVisibleSync","confirm","DeleteCollectionModal","PropSync","BaseModal","getUserCollections","request","httpIdentityClient","get","API_CONST","COLLECTIONS","getDefaultCollections","getCollection","id","createUserCollection","post","updateCollection","put","deleteUserCollection","delete","validateCollectionName","checked","handleChange","Checkbox","e","String","default","max","validator","addCollection","_l","card","index","editCollection","openDeleteCollectionModal","handleInfiniteLoader","proxy","getUserCollectionsErrorMessage","showConfigureCollectionFlyout","cancelCollectionConfiguration","saveCollection","model","callback","$$v","selectedCollection","isDeleteCollectionModalVisible","deleteCollection","cancelDeleteCollection","MyCollectionsPage","defaultCollections","userCollections","pagination","page","isLoadingDefaultCollections","getDefaultCollectionsErrorMessage","isLoadingCollections","createUserCollectionErrorMessage","isCreatingCollection","updateCollectionErrorMessage","isUpdatingCollection","deleteCollectionErrorMessage","isDeletingCollection","fetchDefaultCollections","makeEmptyCollection","collection","find","toString","createdAt","modifiedAt","DEFAULT_COLLECTION_NAME","generalCollection","shift","unshift","undefined","message","updatedCollectionIndex","findIndex","updatedUserCollection","splice","posts","isLocked","addUserCollection","userId","APP_UTILITIES","getUserID","updateUserCollection","getFeatureFlag","FEATURE_KEYS","sharedCollections","isSharedCollectionsEnabled","$state","newPage","items","complete","loaded","deletedCollectionIndex","lastPage","Math","ceil","collections","map","OffCanvas","InfiniteLoading","t","n","i","a","l","call","m","c","d","o","defineProperty","enumerable","r","Symbol","toStringTag","__esModule","create","bind","prototype","hasOwnProperty","p","s","locals","btoa","unescape","encodeURIComponent","JSON","stringify","sources","sourceRoot","concat","join","push","css","media","sourceMap","parts","f","document","DEBUG","Error","head","getElementsByTagName","u","navigator","test","userAgent","toLowerCase","b","refs","h","createElement","appendChild","querySelector","parentNode","removeChild","w","y","g","v","filter","styleSheet","cssText","createTextNode","childNodes","insertBefore","setAttribute","ssrId","firstChild","iterator","constructor","throttleLimit","loopCheckTimeout","loopCheckMaxCalls","passive","window","addEventListener","remove","STATE_CHANGER","INFINITE_EVENT","IDENTIFIER","INFINITE_LOOP","READY","LOADING","COMPLETE","ERROR","color","fontSize","padding","mode","props","spinner","distance","forceUseInfiniteWrapper","system","slots","noResults","noMore","error","errorBtnText","WARNINGS","ERRORS","STATUS","BUBBLES","Array","apply","CIRCLES","DEFAULT","SPIRAL","WAVEDOTS","options","_compiled","functional","_scopeId","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","beforeCreate","computed","spinnerView","$attrs","toUpperCase","spinnerInConfig","tag","__inject__","console","warn","timers","caches","throttle","indexOf","setTimeout","forEach","clearTimeout","isChecked","timer","times","track","getScrollElm","documentElement","scrollHeight","restore","scrollTop","replace","x","offsetWidth","offsetHeight","k","scrollParent","scrollHandler","isFirstLoad","status","Spinner","isShowSpinner","isShowError","isShowNoResults","isShowNoMore","slotStyles","keys","$slots","Number","direction","identifier","Date","onInfinite","Function","watch","stateChanger","mounted","$watch","getScrollParent","immediate","Event","$el","attemptLoad","$on","$nextTick","removeEventListener","deactivated","activated","methods","getCurrentDistance","pageYOffset","getBoundingClientRect","top","innerHeight","bottom","arguments","tagName","getComputedStyle","overflowY","hasAttribute","destroyed","_t","trigger","textContent","click","E","config","productionTip","configurable","assign"],"mappings":"2MAAAA,EAAOC,QAAU,IAA0B,yB,uBCA3CD,EAAOC,QAAU,IAA0B,2B,oCCA3C,W,kCCAA,W,kCCAA,W,oECAA,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACF,EAAG,MAAM,CAACG,IAAI,kBAAkBC,MAAM,CAAG,MAASR,EAAIS,MAAMC,MAAMC,aAAeC,MAAM,CAAC,aAAa,mBAAmBR,EAAG,OAAO,CAACJ,EAAIa,GAAGb,EAAIc,GAAGd,EAAIe,cAAc,qCAC5SC,EAAkB,G,4GCITC,EAA0B,YADvC,mBAMmC,OANnC,uB,+DAIU,EAAAC,WAAyB,IAAIC,OAE5B,EAAAV,MAAQW,OAAUX,MAAM,EAIhC,OAToC,oBAUtC,sDAHsBF,GACnB,OAAON,KAAKiB,WAAWH,cAAcR,OACtC,EAToC,CAASc,QACtCC,QAAPC,kBAAM,gCADIN,EAA0B,QADtCO,QACYP,GCQEA,QCbwZ,I,wB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cAAcjG,EAAE,MAAMD,EAAEpL,GAAG,KAAKqL,EAAE,SAAS,CAAC5L,YAAY,mBAAmB+D,SAAS,CAACuU,YAAY3M,EAAEnL,GAAGmL,EAAE+F,MAAMI,eAAe7P,GAAG,CAACsW,MAAM5M,EAAEsL,iBAAiB,CAACoB,QAAQ1M,EAAEsL,eAAe,OAAO,IAAG,GAAG,SAAUtL,GAAG,IAAI/E,EAAEgF,EAAE,GAAGhF,EAAEmN,YAAYnN,EAAEmN,WAAWpI,KAAK,WAAW,MAAMnM,QAAQ,SAASgZ,EAAE7M,GAAGQ,EAAEiF,KAAKzF,EAAE8M,OAAOC,cAAc,cAAc,aAAa7V,OAAOwJ,eAAeiJ,EAAE,UAAU,CAACqD,cAAa,EAAGrM,YAAW,EAAG/J,MAAM,SAASoJ,EAAE/E,GAAG/D,OAAO+V,OAAOzM,EAAEkF,MAAMzK,GAAGA,EAAEyK,OAAOxO,OAAO+V,OAAOzM,EAAEuF,MAAM9K,GAAGA,EAAE8K,OAAO7O,OAAO+V,OAAOzM,EAAEsF,OAAO7K,GAAGA,EAAE6K,QAAQ9F,EAAExK,UAAU,mBAAmBmU,GAAGkD,EAAE7M,MAAM,oBAAoB2E,QAAQA,OAAOvP,MAAMuP,OAAOvP,IAAII,UAAU,mBAAmBmU,GAAGkD,EAAElI,OAAOvP,MAAM6F,EAAEE,QAAQwO","file":"js/chunk-8b35041c.73a08b43b5c21e9919fe.1722011900316.min.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/lock.ddfe9bf2.svg\";","module.exports = __webpack_public_path__ + \"img/folder.f30614ff.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./BouncingPreloaderComponent.less?vue&type=style&index=0&id=4eff2a66&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./ConfigureLearningLibraryCollection.less?vue&type=style&index=0&id=004a07fe&lang=less&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkbox.vue?vue&type=style&index=0&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bouncing-preloader\"},[_c('div',{key:\"spinner_loading\",style:({ 'color': _vm.STYLE.COLOR.PRIMARY_700 }),attrs:{\"uk-spinner\":\"ratio: 3.2667\"}}),_c('span',[_vm._v(_vm._s(_vm.getScreenText(\"BOUNCING_PRELOADER_LOADING\")))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport APP_CONST from '@/constants/AppConst';\n\n@Component\nexport class BouncingPreloaderComponent extends Vue {\n @Prop() viewClass!: string;\n\n private screenText: ScreenText = new ScreenText();\n\n readonly STYLE = APP_CONST.STYLE;\n\n public getScreenText(key: string): string {\n return this.screenText.getScreenText(key);\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\nimport { BouncingPreloaderComponent } from '@/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent';\nexport default BouncingPreloaderComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BouncingPreloaderComponent.vue?vue&type=template&id=4eff2a66&scoped=true&\"\nimport script from \"./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BouncingPreloaderComponent.less?vue&type=style&index=0&id=4eff2a66&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4eff2a66\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\",class:{selected: _vm.collectionChecked}},[_c('RouterLink',{staticClass:\"card-container\",class:{small: _vm.small},attrs:{\"to\":_vm.routeTo}},[_c('div',{staticClass:\"card-image\"},[(!_vm.cardData.contentImages || _vm.cardData.contentImages.length === 0)?_c('img',{staticClass:\"card-image-single\",attrs:{\"src\":require(\"../../assets/font-awesomes/folder-open.svg\")}}):(_vm.cardData.contentImages.length <= 3)?_c('img',{staticClass:\"card-image-single\",attrs:{\"src\":_vm.cardData.contentImages.slice(-1)}}):[_c('img',{staticClass:\"card-image-collage\",attrs:{\"src\":_vm.cardData.contentImages.slice(-1)}}),_c('img',{staticClass:\"card-image-collage\",attrs:{\"src\":_vm.cardData.contentImages.slice(-2, -1)}}),_c('img',{staticClass:\"card-image-collage\",attrs:{\"src\":_vm.cardData.contentImages.slice(-3, -2)}}),_c('img',{staticClass:\"card-image-collage\",attrs:{\"src\":_vm.cardData.contentImages.slice(-4, -3)}})]],2),_c('div',{staticClass:\"card-header\"},[(!_vm.small)?_c('span',[_c('img',{attrs:{\"src\":require(\"../../assets/font-awesomes/folder.svg\")}})]):_vm._e(),(!_vm.small)?_c('span',{staticClass:\"card-content-type\"},[_vm._v(\"COLLECTION\")]):_vm._e(),(!_vm.small)?_c('span',{staticClass:\"card-count\"},[_vm._v(_vm._s(_vm.totalItemsText))]):_vm._e(),_c('h4',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.cardData.title))]),(_vm.small)?_c('span',{staticClass:\"card-count\"},[_vm._v(_vm._s(_vm.totalItemsText))]):_vm._e(),(!_vm.small)?_c('span',{staticClass:\"card-count-mobile\"},[_vm._v(_vm._s(_vm.totalItemsText))]):_vm._e()])]),(_vm.small)?_c('div',{staticClass:\"card-actions active\"},[_c('CmsCheckbox',{attrs:{\"id\":_vm.cardData.collectionId},on:{\"change\":_vm.handleSelect}})],1):_vm._e(),(!_vm.small)?_c('div',{staticClass:\"card-actions\"},[(_vm.cardData.isLocked)?_c('img',{attrs:{\"src\":require(\"../../assets/font-awesomes/lock.svg\")}}):_c('div',{staticClass:\"card-context-menu\"},[_c('ContextMenu',{attrs:{\"variant\":\"neutral\",\"elevation\":\"400\",\"mode\":\"click\",\"position\":\"bottom-right\"}},[_c('ContextMenuItem',{on:{\"click\":_vm.handleEdit}},[_vm._v(\"Edit\")]),_c('ContextMenuItem',{on:{\"click\":_vm.handleDelete}},[_vm._v(\"Delete\")])],1)],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CollectionCardData } from '@/utilities/cmsUtilities';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { Location } from 'vue-router';\nimport ContextMenu from '../contextMenuComponents/ContextMenu.vue';\nimport ContextMenuItem from '../contextMenuComponents/ContextMenuItem.vue';\nimport CmsCheckbox from \"@/commoncomponents/Checkbox.vue\";\n\n@Component({\n name: 'collection-card',\n components: {\n CmsCheckbox,\n ContextMenu,\n ContextMenuItem,\n },\n})\nexport default class CollectionCardComponent extends Vue {\n @Prop({ type: Object })\n cardData!: CollectionCardData;\n\n @Prop({ type: Boolean })\n small?: boolean;\n\n collectionChecked: boolean = false;\n\n get totalItemsText() {\n return `${this.cardData.totalItems} ${\n this.cardData.totalItems === 1\n ? 'item'\n : 'items'\n }`;\n }\n\n get routeTo(): Location {\n return {\n name: 'Single Collection',\n params: {\n collectionId: this.cardData.collectionId,\n }\n };\n }\n\n handleEdit(): void {\n this.$emit('edit', this.cardData);\n }\n\n handleDelete(): void {\n this.$emit('delete', this.cardData);\n }\n\n handleSelect(value: boolean): void {\n this.collectionChecked = value;\n this.$emit('select', {\n selected: this.collectionChecked,\n data: this.cardData,\n });\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport CollectionCardComponent from \"./CollectionCardComponent\";\nexport default CollectionCardComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollectionCardComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CollectionCardComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CollectionCardComponent.vue?vue&type=template&id=1f7dfc36&scoped=true&\"\nimport script from \"./CollectionCardComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./CollectionCardComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CollectionCardComponent.less?vue&type=style&index=0&id=1f7dfc36&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f7dfc36\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ConfigureLearningLibraryCollection\"},[_c('section',{staticClass:\"ConfigureLearningLibraryCollection__section\"},[_c('h3',{staticClass:\"ConfigureLearningLibraryCollection__title\"},[_vm._v(\" Configure collection \")]),_c('ValidationProvider',{ref:\"collectionValidationProvider\",staticClass:\"ConfigureLearningLibraryCollection__field\",attrs:{\"custom-messages\":{ required: 'Enter a name.', unique: 'Sorry, that name is already taken.'},\"name\":\"Name\",\"tag\":\"div\",\"rules\":_vm.nameValidationRules,\"mode\":\"passive\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('label',{staticClass:\"ConfigureLearningLibraryCollection__label\",attrs:{\"for\":\"learning-library-collection-name\"}},[_vm._v(\" Name\"),_c('span',{staticClass:\"ConfigureLearningLibraryCollection__required\"},[_vm._v(\"*\")])]),_c('div',{staticClass:\"ConfigureLearningLibraryCollection__description\"},[_vm._v(\" Give your collection a unique name. \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.collectionName),expression:\"collectionName\",modifiers:{\"trim\":true}}],staticClass:\"ConfigureLearningLibraryCollection__input\",attrs:{\"type\":\"text\",\"required\":\"\"},domProps:{\"value\":(_vm.collectionName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.collectionName=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors[0]),expression:\"errors[0]\"}],staticClass:\"ConfigureLearningLibraryCollection__error\"},[_c('i',{staticClass:\"fa-solid fa-exclamation-circle\"}),_vm._v(\" \"+_vm._s(errors[0])+\" \")])]}}])}),_c('div',{staticClass:\"ConfigureLearningLibraryCollection__actions\"},[_c('button',{staticClass:\"btn-secondary\",on:{\"click\":_vm.cancel}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"btn-primary\",on:{\"click\":_vm.save}},[_vm._v(\" Save \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { CollectionsDto } from '@/Model/collections/types';\nimport { ValidationProvider } from 'vee-validate';\nimport { ProviderInstance } from 'vee-validate/dist/types/types';\nimport { PropType } from 'vue';\nimport { Component, Model, Ref, Vue } from 'vue-property-decorator';\nimport {validateCollectionName} from '@/services/collections/api';\nimport {collectionNameValidationRules} from \"@/utilities/collectionsUtilities\";\n\n@Component({\n components: {\n ValidationProvider,\n }\n})\nexport default class ConfigureLearningLibraryCollection extends Vue {\n @Model('update:modelValue', { type: Object as PropType })\n readonly modelValue!: CollectionsDto;\n\n @Ref('collectionValidationProvider')\n public collectionValidationProvider?: ProviderInstance;\n\n get collectionName(): string {\n return this.modelValue.name;\n }\n\n set collectionName(newValue: string) {\n this.$emit('update:modelValue', {\n ...this.modelValue,\n name: newValue,\n });\n }\n\n resetValidation(): void {\n this.collectionValidationProvider && this.collectionValidationProvider.reset();\n }\n\n get nameValidationRules(): Record {\n return collectionNameValidationRules();\n }\n\n async save(): Promise {\n if (!this.collectionValidationProvider) {\n return;\n }\n\n const { valid } = await this.collectionValidationProvider.validate();\n\n if (!valid) {\n return;\n }\n\n this.$emit('save');\n\n this.resetValidation();\n }\n\n cancel(): void {\n this.$emit('cancel');\n this.resetValidation();\n }\n}\n","\n\nimport ConfigureLearningLibraryCollection from './ConfigureLearningLibraryCollection';\nexport default ConfigureLearningLibraryCollection;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigureLearningLibraryCollection.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfigureLearningLibraryCollection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConfigureLearningLibraryCollection.vue?vue&type=template&id=004a07fe&scoped=true&\"\nimport script from \"./ConfigureLearningLibraryCollection.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConfigureLearningLibraryCollection.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ConfigureLearningLibraryCollection.less?vue&type=style&index=0&id=004a07fe&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"004a07fe\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./DeleteCollectionModal.less?vue&type=style&index=0&id=52b11f59&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/folder-open.e5016a12.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseModal',{attrs:{\"is-visible\":_vm.isVisibleSync},on:{\"update:isVisible\":function($event){_vm.isVisibleSync=$event},\"update:is-visible\":function($event){_vm.isVisibleSync=$event},\"closepopup\":_vm.cancel}},[_c('div',{staticClass:\"DeleteCollectionModal\"},[_c('div',{staticClass:\"DeleteCollectionModal__header\"},[_c('div',{staticClass:\"DeleteCollectionModal__illustration\"},[_c('i',{staticClass:\"DeleteCollectionModal__icon fa-solid fa-trash\"})]),_c('h2',{staticClass:\"DeleteCollectionModal__title\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('DELETE_COLLECTION_MODAL_TITLE'))+\" \")])]),_c('div',{staticClass:\"DeleteCollectionModal__copy\"},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('DELETE_COLLECTION_MODAL_COPY'))+\" \")]),_c('div',{staticClass:\"DeleteCollectionModal__actions\"},[_c('button',{staticClass:\"btn-secondary\",on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('BTN_CANCEL_CAPS'))+\" \")]),_c('button',{staticClass:\"btn-danger\",on:{\"click\":_vm.confirm}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('BTN_DELETE_COLLECTION_CAPS'))+\" \")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { ScreenText } from '@/lang/ScreenText';\nimport BaseModal from '@/popupcomponents/BaseModal.vue';\nimport { Component, PropSync, Vue } from 'vue-property-decorator';\n\n@Component({\n components: {\n BaseModal\n },\n})\nexport default class DeleteCollectionModal extends Vue {\n screenText = new ScreenText();\n\n @PropSync('isVisible', { type: Boolean, required: true })\n isVisibleSync!: boolean;\n\n cancel() {\n this.$emit('cancel');\n }\n\n confirm() {\n this.$emit('confirm');\n }\n}\n","\nimport DeleteCollectionModal from './DeleteCollectionModal';\nexport default DeleteCollectionModal;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteCollectionModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteCollectionModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeleteCollectionModal.vue?vue&type=template&id=52b11f59&scoped=true&\"\nimport script from \"./DeleteCollectionModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeleteCollectionModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DeleteCollectionModal.less?vue&type=style&index=0&id=52b11f59&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"52b11f59\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./MyCollectionsPage.less?vue&type=style&index=0&id=03f7f9c5&lang=less&scoped=true&\"","import {\n CollectionsDto,\n CreateUserCollectionRequest,\n DeleteCollectionRequest,\n GetAllUserCollectionsRequest,\n GetCollectionRequest,\n GetUserCollectionsResponse,\n UpdateCollectionRequest,\n UserCollection\n} from '@/Model/collections/types';\nimport API_CONST from '@/constants/ApiConst';\nimport { httpIdentityClient } from '../common/httpClient';\n\nexport async function getUserCollections(request: GetAllUserCollectionsRequest) {\n return httpIdentityClient().get(`${API_CONST.COLLECTIONS}`, { params: request });\n}\n\nexport async function getDefaultCollections() {\n return httpIdentityClient().get(`${API_CONST.COLLECTIONS}/default`);\n}\n\nexport async function getCollection(request: GetCollectionRequest) {\n return httpIdentityClient().get(`${API_CONST.COLLECTIONS}/${request.id}`);\n}\n\nexport async function createUserCollection(request: CreateUserCollectionRequest) {\n return httpIdentityClient().post(API_CONST.COLLECTIONS, request);\n}\n\nexport async function updateCollection(request: UpdateCollectionRequest) {\n return httpIdentityClient().put(`${API_CONST.COLLECTIONS}/${request.id}`, request);\n}\n\nexport async function deleteUserCollection(request: DeleteCollectionRequest) {\n return httpIdentityClient().delete(`${API_CONST.COLLECTIONS}/${request.id}`);\n}\n\nexport async function validateCollectionName(name: string) {\n return httpIdentityClient().get(`${API_CONST.COLLECTIONS}/exists?name=${name}`);\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',{staticClass:\"cms-input\",attrs:{\"id\":_vm.id,\"type\":\"checkbox\"},domProps:{\"checked\":_vm.checked},on:{\"click\":_vm.handleChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport {Component, Prop} from 'vue-property-decorator';\n\n@Component({\n name: 'CmsCheckbox'\n})\nexport default class Checkbox extends Vue {\n @Prop({type: String}) id: string = '';\n @Prop({type: Boolean, default: false}) readonly checked: boolean = false;\n\n handleChange(e: any) {\n this.$emit('change', e.target.checked);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkbox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkbox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Checkbox.vue?vue&type=template&id=437cfe00&\"\nimport script from \"./Checkbox.vue?vue&type=script&lang=ts&\"\nexport * from \"./Checkbox.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Checkbox.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import {validateCollectionName} from '@/services/collections/api';\n\nexport function collectionNameValidationRules(): Record {\n return {\n required: true,\n max: 66,\n unique: {\n validator: validateCollectionName\n },\n };\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"MyCollectionsPage\",attrs:{\"id\":\"collections\"}},[_c('div',{staticClass:\"MyCollectionsPage__container\"},[_c('div',{staticClass:\"MyCollectionsPage__header\"},[_c('h2',{staticClass:\"MyCollectionsPage__title\"},[_vm._v(\" My collections \")]),_c('div',[_c('button',{staticClass:\"MyCollectionsPage__button btn-primary\",on:{\"click\":_vm.addCollection}},[_c('i',{staticClass:\"fa-solid fa-plus\"}),_c('span',{staticClass:\"MyCollectionsPage__call-to-action\"},[_vm._v(\" Collection \")])])])]),_c('div',{staticClass:\"MyCollectionsPage__cards\"},_vm._l((_vm.collectionCards),function(card,index){return _c('CollectionCardComponent',{key:((card.collectionId) + \"-\" + index),attrs:{\"card-data\":card},on:{\"edit\":_vm.editCollection,\"delete\":_vm.openDeleteCollectionModal}})}),1),_c('InfiniteLoading',{on:{\"infinite\":_vm.handleInfiniteLoader},scopedSlots:_vm._u([{key:\"spinner\",fn:function(){return [_c('BouncingPreloaderComponent')]},proxy:true},{key:\"error\",fn:function(){return [_c('div',[_vm._v(\" \"+_vm._s(_vm.getUserCollectionsErrorMessage)+\" \")])]},proxy:true},{key:\"no-results\",fn:function(){return [_c('span')]},proxy:true},{key:\"no-more\",fn:function(){return [_c('span')]},proxy:true}])})],1),_c('OffCanvas',{staticClass:\"MyCollectionsPage__off-canvas\",attrs:{\"isVisible\":_vm.showConfigureCollectionFlyout},on:{\"update:isVisible\":function($event){_vm.showConfigureCollectionFlyout=$event},\"update:is-visible\":function($event){_vm.showConfigureCollectionFlyout=$event},\"onClose\":_vm.cancelCollectionConfiguration}},[(_vm.selectedCollection)?_c('ConfigureLearningLibraryCollection',{on:{\"cancel\":_vm.cancelCollectionConfiguration,\"save\":_vm.saveCollection},model:{value:(_vm.selectedCollection),callback:function ($$v) {_vm.selectedCollection=$$v},expression:\"selectedCollection\"}}):_vm._e()],1),_c('DeleteCollectionModal',{attrs:{\"is-visible\":_vm.isDeleteCollectionModalVisible},on:{\"confirm\":_vm.deleteCollection,\"cancel\":_vm.cancelDeleteCollection}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { CollectionsDto, CreateUserCollectionRequest, UpdateCollectionRequest } from '@/Model/collections/types';\nimport CollectionCardComponent from '@/commoncomponents/CollectionCardComponent/CollectionCardComponent.vue';\nimport OffCanvas from '@/commoncomponents/OffCanvas.vue';\nimport BouncingPreloaderComponent from '@/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue';\nimport ConfigureLearningLibraryCollection from '@/components/learningLibrary/ConfigureLearningLibraryCollection.vue';\nimport DeleteCollectionModal from '@/popupcomponents/collections/DeleteCollectionModal.vue';\nimport { createUserCollection, deleteUserCollection, getDefaultCollections, getUserCollections, updateCollection } from '@/services/collections/api';\nimport { CollectionCardData } from '@/utilities/cmsUtilities';\nimport APP_UTILITIES from '@/utilities/commonFunctions';\nimport { AxiosError } from 'axios';\nimport InfiniteLoading from 'vue-infinite-loading';\nimport { Component, Vue } from 'vue-property-decorator';\nimport APP_CONST from \"@/constants/AppConst\";\n\n@Component({\n components: {\n CollectionCardComponent,\n ConfigureLearningLibraryCollection,\n OffCanvas,\n BouncingPreloaderComponent,\n InfiniteLoading,\n DeleteCollectionModal,\n },\n})\nexport default class MyCollectionsPage extends Vue {\n public defaultCollections: CollectionsDto[] = [];\n public userCollections: CollectionsDto[] = [];\n public selectedCollection: CollectionsDto | null = null;\n\n public totalItems = 0;\n public pagination = {\n page: 0,\n max: 25,\n };\n\n public isLoadingDefaultCollections = false;\n public getDefaultCollectionsErrorMessage: string | null = null;\n\n public isLoadingCollections = false;\n public getUserCollectionsErrorMessage: string | null = null;\n\n public showConfigureCollectionFlyout = false;\n\n public createUserCollectionErrorMessage: string | null = null;\n public isCreatingCollection = false;\n\n public updateCollectionErrorMessage: string | null = null;\n public isUpdatingCollection = false;\n\n public isDeleteCollectionModalVisible = false;\n public deleteCollectionErrorMessage: string | null = null;\n public isDeletingCollection = false;\n\n get collections(): CollectionsDto[] {\n return [...this.defaultCollections, ...this.userCollections];\n }\n\n get collectionCards(): CollectionCardData[] {\n return this.collections.map(({ id, name, posts, isLocked }) => ({\n collectionId: id.toString(),\n title: name,\n totalItems: posts.length,\n isLocked,\n contentImages: [],\n }));\n }\n\n created() {\n this.fetchDefaultCollections();\n }\n\n public addCollection(): void {\n this.selectedCollection = this.makeEmptyCollection();\n this.showConfigureCollectionFlyout = true;\n }\n\n public editCollection({ collectionId }: CollectionCardData): void {\n const collection = this.userCollections.find((collection) => collection.id.toString() === collectionId);\n\n if (!collection) {\n return;\n }\n\n this.selectedCollection = collection;\n this.showConfigureCollectionFlyout = true;\n }\n\n public cancelCollectionConfiguration(): void {\n this.showConfigureCollectionFlyout = false;\n this.selectedCollection = null;\n }\n\n public async addUserCollection(request: CreateUserCollectionRequest): Promise {\n try {\n this.createUserCollectionErrorMessage = null;\n this.isCreatingCollection = true;\n\n const { data: { id, createdAt, modifiedAt } } = await createUserCollection(request);\n\n let generalCollection: CollectionsDto | undefined;\n if (this.userCollections[0].name === APP_CONST.DEFAULT_COLLECTION_NAME) {\n generalCollection = this.userCollections.shift();\n }\n\n this.userCollections.unshift({\n ...request,\n id,\n createdAt,\n modifiedAt,\n });\n\n if (generalCollection !== undefined) {\n this.userCollections.unshift(generalCollection);\n }\n\n this.showConfigureCollectionFlyout = false;\n this.selectedCollection = null;\n }\n catch (error) {\n this.createUserCollectionErrorMessage = (error as AxiosError | Error).message;\n }\n finally {\n this.isCreatingCollection = false;\n }\n }\n\n public async updateUserCollection(request: UpdateCollectionRequest): Promise {\n try {\n this.updateCollectionErrorMessage = null;\n this.isUpdatingCollection = true;\n\n await updateCollection(request);\n\n const updatedCollectionIndex = this.userCollections.findIndex((collection) => collection.id === request.id);\n\n if (updatedCollectionIndex !== -1) {\n const updatedUserCollection = { ...this.userCollections[updatedCollectionIndex], ...request };\n this.userCollections.splice(updatedCollectionIndex, 1,);\n let generalCollection: CollectionsDto | undefined;\n if (this.userCollections[0].name === APP_CONST.DEFAULT_COLLECTION_NAME) {\n generalCollection = this.userCollections.shift();\n }\n this.userCollections.unshift(updatedUserCollection);\n if (generalCollection !== undefined) {\n this.userCollections.unshift(generalCollection);\n }\n }\n\n this.showConfigureCollectionFlyout = false;\n this.selectedCollection = null;\n }\n catch (error) {\n this.updateCollectionErrorMessage = (error as AxiosError | Error).message;\n }\n finally {\n this.isUpdatingCollection = false;\n }\n }\n\n public async saveCollection(): Promise {\n if (!this.selectedCollection || this.isUpdatingCollection) {\n return;\n }\n\n if (!this.selectedCollection.id) {\n const { name, posts, isLocked } = this.selectedCollection;\n await this.addUserCollection({\n name,\n posts,\n isLocked,\n userId: APP_UTILITIES.getUserID(),\n });\n }\n else {\n await this.updateUserCollection({\n id: this.selectedCollection.id,\n name: this.selectedCollection.name,\n userId: APP_UTILITIES.getUserID(),\n posts: this.selectedCollection.posts,\n });\n }\n }\n\n public async fetchDefaultCollections(): Promise {\n const isSharedCollectionsEnabled = await APP_UTILITIES.getFeatureFlag(APP_CONST.FEATURE_KEYS.sharedCollections);\n if (!isSharedCollectionsEnabled) {\n this.defaultCollections = [];\n return;\n }\n try {\n this.isLoadingDefaultCollections = true;\n\n const { data } = await getDefaultCollections();\n\n this.defaultCollections = data;\n }\n catch (error) {\n this.defaultCollections = [];\n this.getDefaultCollectionsErrorMessage = (error as AxiosError | Error).message;\n }\n finally {\n this.isLoadingDefaultCollections = false;\n }\n }\n\n public async handleInfiniteLoader($state: {\n loaded: () => void;\n complete: () => void;\n }): Promise {\n try {\n this.isLoadingCollections = true;\n\n const newPage = this.pagination.page + 1;\n\n const {\n data: {\n items,\n totalItems\n }\n } = await getUserCollections({\n page: newPage,\n max: this.pagination.max\n });\n\n this.userCollections = [\n ...this.userCollections,\n ...items\n ];\n this.pagination.page = newPage;\n this.totalItems = totalItems;\n\n if (this.userCollections.length === totalItems) {\n $state.complete();\n }\n else {\n $state.loaded();\n }\n }\n catch (error) {\n this.getUserCollectionsErrorMessage = (error as AxiosError | Error).message;\n throw error;\n }\n finally {\n this.isLoadingCollections = false;\n }\n }\n\n openDeleteCollectionModal({ collectionId }: CollectionCardData): void {\n const collection = this.userCollections.find(collection => collection.id.toString() === collectionId);\n\n if (!collection) {\n return;\n }\n\n this.selectedCollection = collection;\n this.isDeleteCollectionModalVisible = true;\n }\n\n cancelDeleteCollection(): void {\n this.isDeleteCollectionModalVisible = false;\n this.selectedCollection = null;\n }\n\n async deleteCollection(): Promise {\n if (!this.selectedCollection || this.isDeletingCollection) {\n return;\n }\n\n try {\n this.isDeletingCollection = true;\n this.deleteCollectionErrorMessage = null;\n\n const { id } = this.selectedCollection;\n\n await deleteUserCollection({ id });\n\n const deletedCollectionIndex = this.userCollections.findIndex((collection) => collection.id === id);\n\n if (deletedCollectionIndex !== -1) {\n const {\n data: {\n items,\n totalItems\n }\n } = await getUserCollections({\n page: 1,\n max: this.pagination.max * this.pagination.page\n });\n\n this.userCollections = items;\n this.totalItems = totalItems;\n\n const lastPage = Math.ceil(totalItems / this.pagination.max);\n\n if (this.pagination.page > lastPage) {\n this.pagination.page = lastPage;\n }\n }\n\n this.isDeleteCollectionModalVisible = false;\n this.selectedCollection = null;\n }\n catch (error) {\n this.deleteCollectionErrorMessage = (error as AxiosError | Error).message;\n }\n finally {\n this.isDeletingCollection = false;\n }\n }\n\n private makeEmptyCollection(): CollectionsDto {\n return {\n id: 0,\n name: '',\n posts: [],\n isLocked: false,\n userId: null,\n createdAt: '',\n modifiedAt: null,\n };\n }\n}\n","\nimport MyCollectionsPage from './MyCollectionsPage';\nexport default MyCollectionsPage;\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyCollectionsPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyCollectionsPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MyCollectionsPage.vue?vue&type=template&id=03f7f9c5&scoped=true&\"\nimport script from \"./MyCollectionsPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./MyCollectionsPage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MyCollectionsPage.less?vue&type=style&index=0&id=03f7f9c5&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"03f7f9c5\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./CollectionCardComponent.less?vue&type=style&index=0&id=1f7dfc36&lang=less&scoped=true&\"","/*!\n * vue-infinite-loading v2.4.5\n * (c) 2016-2020 PeachScript\n * MIT License\n */\n!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.VueInfiniteLoading=e():t.VueInfiniteLoading=e()}(this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\"a\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\"\",n(n.s=9)}([function(t,e,n){var i=n(6);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]),i.locals&&(t.exports=i.locals);(0,n(3).default)(\"6223ff68\",i,!0,{})},function(t,e,n){var i=n(8);\"string\"==typeof i&&(i=[[t.i,i,\"\"]]),i.locals&&(t.exports=i.locals);(0,n(3).default)(\"27f0e51f\",i,!0,{})},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||\"\",i=t[3];if(!i)return n;if(e&&\"function\"==typeof btoa){var a=(o=i,\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+\" */\"),r=i.sources.map((function(t){return\"/*# sourceURL=\"+i.sourceRoot+t+\" */\"}));return[n].concat(r).concat([a]).join(\"\\n\")}var o;return[n].join(\"\\n\")}(e,t);return e[2]?\"@media \"+e[2]+\"{\"+n+\"}\":n})).join(\"\")},e.i=function(t,n){\"string\"==typeof t&&(t=[[null,t,\"\"]]);for(var i={},a=0;an.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a',\"\\nscript:\\n...\\ninfiniteHandler($state) {\\n ajax('https://www.example.com/api/news')\\n .then((res) => {\\n if (res.data.length) {\\n $state.loaded();\\n } else {\\n $state.complete();\\n }\\n });\\n}\\n...\",\"\",\"more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549\"].join(\"\\n\"),INFINITE_EVENT:\"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.\",IDENTIFIER:\"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property.\"},o={INFINITE_LOOP:[\"executed the callback function more than \".concat(i.loopCheckMaxCalls,\" times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:\"),'\\n\\x3c!-- add a special attribute for the real scroll wrapper --\\x3e\\n
\\n ...\\n \\x3c!-- set force-use-infinite-wrapper --\\x3e\\n \\n
\\nor\\n
\\n ...\\n \\x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\\x3e\\n \\n
\\n ',\"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169\"].join(\"\\n\")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},l={color:\"#666\",fontSize:\"14px\",padding:\"10px 0\"},d={mode:\"development\",props:{spinner:\"default\",distance:100,forceUseInfiniteWrapper:!1},system:i,slots:{noResults:\"No results :(\",noMore:\"No more data :)\",error:\"Opps, something went wrong :(\",errorBtnText:\"Retry\",spinner:\"\"},WARNINGS:r,ERRORS:o,STATUS:s},c=n(4),u=n.n(c),p={BUBBLES:{render:function(t){return t(\"span\",{attrs:{class:\"loading-bubbles\"}},Array.apply(Array,Array(8)).map((function(){return t(\"span\",{attrs:{class:\"bubble-item\"}})})))}},CIRCLES:{render:function(t){return t(\"span\",{attrs:{class:\"loading-circles\"}},Array.apply(Array,Array(8)).map((function(){return t(\"span\",{attrs:{class:\"circle-item\"}})})))}},DEFAULT:{render:function(t){return t(\"i\",{attrs:{class:\"loading-default\"}})}},SPIRAL:{render:function(t){return t(\"i\",{attrs:{class:\"loading-spiral\"}})}},WAVEDOTS:{render:function(t){return t(\"span\",{attrs:{class:\"loading-wave-dots\"}},Array.apply(Array,Array(5)).map((function(){return t(\"span\",{attrs:{class:\"wave-item\"}})})))}}};function f(t,e,n,i,a,r,o,s){var l,d=\"function\"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),r&&(d._scopeId=\"data-v-\"+r),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||\"undefined\"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}var b=f({name:\"Spinner\",computed:{spinnerView:function(){return p[(this.$attrs.spinner||\"\").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return d.slots.spinner&&\"string\"==typeof d.slots.spinner?{render:function(){return this._v(d.slots.spinner)}}:\"object\"===u()(d.slots.spinner)?d.slots.spinner:p[d.props.spinner.toUpperCase()]||p.DEFAULT}}},(function(){var t=this.$createElement;return(this._self._c||t)(this.spinnerView,{tag:\"component\"})}),[],!1,(function(t){var e=n(5);e.__inject__&&e.__inject__(t)}),\"46b20d22\",null).exports;function h(t){\"production\"!==d.mode&&console.warn(\"[Vue-infinite-loading warn]: \".concat(t))}function m(t){console.error(\"[Vue-infinite-loading error]: \".concat(t))}var g={timers:[],caches:[],throttle:function(t){var e=this;-1===this.caches.indexOf(t)&&(this.caches.push(t),this.timers.push(setTimeout((function(){t(),e.caches.splice(e.caches.indexOf(t),1),e.timers.shift()}),d.system.throttleLimit)))},reset:function(){this.timers.forEach((function(t){clearTimeout(t)})),this.timers.length=0,this.caches=[]}},v={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout((function(){t.isChecked=!0}),d.system.loopCheckTimeout),this.times>d.system.loopCheckMaxCalls&&(m(o.INFINITE_LOOP),this.isChecked=!0)}},w={key:\"_infiniteScrollHeight\",getScrollElm:function(t){return t===window?document.documentElement:t},save:function(t){var e=this.getScrollElm(t);e[this.key]=e.scrollHeight},restore:function(t){var e=this.getScrollElm(t);\"number\"==typeof e[this.key]&&(e.scrollTop=e.scrollHeight-e[this.key]+e.scrollTop),this.remove(e)},remove:function(t){void 0!==t[this.key]&&delete t[this.key]}};function y(t){return t.replace(/[A-Z]/g,(function(t){return\"-\".concat(t.toLowerCase())}))}function x(t){return t.offsetWidth+t.offsetHeight>0}var k=f({name:\"InfiniteLoading\",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:d.slots}},components:{Spinner:b},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var t=this,e={};return Object.keys(d.slots).forEach((function(n){var i=y(n);(!t.$slots[i]&&!d.slots[n].render||t.$slots[i]&&!t.$slots[i][0].tag)&&(e[n]=l)})),e}},props:{distance:{type:Number,default:d.props.distance},spinner:String,direction:{type:String,default:\"bottom\"},forceUseInfiniteWrapper:{type:[Boolean,String],default:d.props.forceUseInfiniteWrapper},identifier:{default:+new Date},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var t=this;this.$watch(\"forceUseInfiniteWrapper\",(function(){t.scrollParent=t.getScrollParent()}),{immediate:!0}),this.scrollHandler=function(e){t.status===s.READY&&(e&&e.constructor===Event&&x(t.$el)?g.throttle(t.attemptLoad):t.attemptLoad())},setTimeout((function(){t.scrollHandler(),t.scrollParent.addEventListener(\"scroll\",t.scrollHandler,a)}),1),this.$on(\"$InfiniteLoading:loaded\",(function(e){t.isFirstLoad=!1,\"top\"===t.direction&&t.$nextTick((function(){w.restore(t.scrollParent)})),t.status===s.LOADING&&t.$nextTick(t.attemptLoad.bind(null,!0)),e&&e.target===t||h(r.STATE_CHANGER)})),this.$on(\"$InfiniteLoading:complete\",(function(e){t.status=s.COMPLETE,t.$nextTick((function(){t.$forceUpdate()})),t.scrollParent.removeEventListener(\"scroll\",t.scrollHandler,a),e&&e.target===t||h(r.STATE_CHANGER)})),this.$on(\"$InfiniteLoading:reset\",(function(e){t.status=s.READY,t.isFirstLoad=!0,w.remove(t.scrollParent),t.scrollParent.addEventListener(\"scroll\",t.scrollHandler,a),setTimeout((function(){g.reset(),t.scrollHandler()}),1),e&&e.target===t||h(r.IDENTIFIER)})),this.stateChanger={loaded:function(){t.$emit(\"$InfiniteLoading:loaded\",{target:t})},complete:function(){t.$emit(\"$InfiniteLoading:complete\",{target:t})},reset:function(){t.$emit(\"$InfiniteLoading:reset\",{target:t})},error:function(){t.status=s.ERROR,g.reset()}},this.onInfinite&&h(r.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener(\"scroll\",this.scrollHandler,a)},activated:function(){this.scrollParent.addEventListener(\"scroll\",this.scrollHandler,a)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&x(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,\"top\"===this.direction&&this.$nextTick((function(){w.save(e.scrollParent)})),\"function\"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit(\"infinite\",this.stateChanger),!t||this.forceUseInfiniteWrapper||v.isChecked||v.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){var t;\"top\"===this.direction?t=\"number\"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:t=this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom);return t},getScrollParent:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return\"string\"==typeof this.forceUseInfiniteWrapper&&(t=document.querySelector(this.forceUseInfiniteWrapper)),t||(\"BODY\"===e.tagName?t=window:!this.forceUseInfiniteWrapper&&[\"scroll\",\"auto\"].indexOf(getComputedStyle(e).overflowY)>-1?t=e:(e.hasAttribute(\"infinite-wrapper\")||e.hasAttribute(\"data-infinite-wrapper\"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(g.reset(),w.remove(this.scrollParent),this.scrollParent.removeEventListener(\"scroll\",this.scrollHandler,a))}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(\"div\",{staticClass:\"infinite-loading-container\"},[n(\"div\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.isShowSpinner,expression:\"isShowSpinner\"}],staticClass:\"infinite-status-prompt\",style:t.slotStyles.spinner},[t._t(\"spinner\",[n(\"spinner\",{attrs:{spinner:t.spinner}})])],2),t._v(\" \"),n(\"div\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.isShowNoResults,expression:\"isShowNoResults\"}],staticClass:\"infinite-status-prompt\",style:t.slotStyles.noResults},[t._t(\"no-results\",[t.slots.noResults.render?n(t.slots.noResults,{tag:\"component\"}):[t._v(t._s(t.slots.noResults))]])],2),t._v(\" \"),n(\"div\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.isShowNoMore,expression:\"isShowNoMore\"}],staticClass:\"infinite-status-prompt\",style:t.slotStyles.noMore},[t._t(\"no-more\",[t.slots.noMore.render?n(t.slots.noMore,{tag:\"component\"}):[t._v(t._s(t.slots.noMore))]])],2),t._v(\" \"),n(\"div\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.isShowError,expression:\"isShowError\"}],staticClass:\"infinite-status-prompt\",style:t.slotStyles.error},[t._t(\"error\",[t.slots.error.render?n(t.slots.error,{tag:\"component\",attrs:{trigger:t.attemptLoad}}):[t._v(\"\\n \"+t._s(t.slots.error)+\"\\n \"),n(\"br\"),t._v(\" \"),n(\"button\",{staticClass:\"btn-try-infinite\",domProps:{textContent:t._s(t.slots.errorBtnText)},on:{click:t.attemptLoad}})]],{trigger:t.attemptLoad})],2)])}),[],!1,(function(t){var e=n(7);e.__inject__&&e.__inject__(t)}),\"644ea9c9\",null).exports;function E(t){d.mode=t.config.productionTip?\"development\":\"production\"}Object.defineProperty(k,\"install\",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(d.props,e&&e.props),Object.assign(d.slots,e&&e.slots),Object.assign(d.system,e&&e.system),t.component(\"infinite-loading\",k),E(t)}}),\"undefined\"!=typeof window&&window.Vue&&(window.Vue.component(\"infinite-loading\",k),E(window.Vue));e.default=k}])}));"],"sourceRoot":""}