1"use strict";(self.webpackChunkDashboard=self.webpackChunkDashboard||[]).push([[383],{6245:(t,e,a)=>{a.a(t,(async t=>{a.d(e,{Z:()=>l});var r=a(46015),n=a(79231),o=t([n]);function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function s(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function c(t,e,a,r,n,o,i){try{var s=t[o](i),c=s.value}catch(t){return void a(t)}s.done?e(c):Promise.resolve(c).then(r,n)}function d(t){return function(){var e=this,a=arguments;return new Promise((function(r,n){var o=t.apply(e,a);function i(t){c(o,r,n,i,s,"next",t)}function s(t){c(o,r,n,i,s,"throw",t)}i(void 0)}))}}const l={name:"ProjectMetadataView",components:{LoadingWrapper:function(){return a.e(1028).then(a.bind(a,25094))},AlertContainer:function(){return a.e(7561).then(a.bind(a,89451))},StepProgressBar:function(){return Promise.all([a.e(9187),a.e(2049)]).then(a.bind(a,94940))},ProjectInfoBox:function(){return a.e(237).then(a.bind(a,74962))},ProjectHelpinfo:function(){return a.e(8009).then(a.bind(a,78169))},ProjectMetadataCataloginfo:function(){return Promise.all([a.e(29),a.e(7913),a.e(7925),a.e(1062),a.e(8030)]).then(a.bind(a,12900))},ProjectMetadataProductGroupWrapper:function(){return Promise.all([a.e(8779),a.e(3248),a.e(7699),a.e(5999),a.e(3606)]).then(a.bind(a,21768))},ProjectMetadataKeywords:function(){return a.e(8638).then(a.bind(a,99480))},ProjectMetadataOnlineMarketing:function(){return a.e(7745).then(a.bind(a,7125))},ProjectMetadataInternationalSales:function(){return a.e(1).then(a.bind(a,10862))},ProjectMetadataReleaseDate:function(){return Promise.all([a.e(8255),a.e(7143)]).then(a.bind(a,16153))},ProjectMetadataSampleCopy:function(){return a.e(296).then(a.bind(a,47752))},ProjectMetadataEbookRental:function(){return a.e(1629).then(a.bind(a,77361))},ProjectMetadataEbookCopyProtection:function(){return a.e(7979).then(a.bind(a,19335))}},mixins:[(n=(o.then?await o:o)[0]).default.ServiceManager],data:function(){return{group:"metadata",requiredParams:["projectId"]}},computed:{allowedInternationalSale:function(){var t;return null===(t=this.data)||void 0===t?void 0:t.internationalSaleAllowed},allowedReleaseDatePrint:function(){var t;return null===(t=this.data)||void 0===t?void 0:t.allowedReleaseDatePrint},isEbook:function(){var t;return null===(t=this.data)||void 0===t?void 0:t.ebook},ebookRental:function(){var t;return this.isEbook&&(null===(t=this.data)||void 0===t?void 0:t.libDistributionAllowed)},allowedOnlineMarketing:function(){return this.isGermany&&this.isAuthor},allowedSampleCopy:function(){var t;return"Publish"===(null===(t=this.data)||void 0===t?void 0:t.product)},isAuthor:function(){return this.$store.getters.user.isAuthor},isGermany:function(){return"de"==r.$r}},methods:{getProjectDataAfterHook:function(){this.addEventTracking()},submitFormNextStep:function(){this.submitForm(!0)},submitForm:function(){var t=arguments,e=this;return d(regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=t.length>0&&void 0!==t[0]&&t[0],a.next=3,e.$refs.mainFormObserver.validate();case 3:if(a.sent){a.next=7;break}return document.querySelector('.is-invalid:not([type="hidden"])').scrollIntoView({behavior:"smooth",block:"center"}),a.abrupt("return");case 7:null===e.data.libDistribution&&(e.data.libDistribution=!1),null===e.data.ebookCopyProtection&&(e.data.ebookCopyProtection=!1),e.nextStep=r,e.setProjectData();case 11:case"end":return a.stop()}}),a)})))()},setProjectDataAfterHook:function(t){this.$refs.mainFormObserver.reset(),this.nextStep&&(this.$router.push({name:this.nextRoute(3),params:{projectId:this.projectId}}),this.nextStep=!1)},updateThemaItems:function(t){this.data.themaItems=function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach((function(e){s(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},t)}}}}))},33693:(t,e,a)=>{a.a(t,(async t=>{a.r(e),a.d(e,{default:()=>s});var r=a(94511),n=a(7766),o=a(51900),i=t([n]);n=(i.then?await i:i)[0];const s=(0,o.Z)(n.Z,r.s,r.x,!1,null,null,null).exports}))},7766:(t,e,a)=>{a.a(t,(async t=>{a.d(e,{Z:()=>o});var r=a(6245),n=t([r]);const o=(r=(n.then?await n:n)[0]).Z}))},94511:(t,e,a)=>{a.d(e,{s:()=>r,x:()=>n});var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"project-metadata-view"},[a("step-progress-bar",{attrs:{step:3,data:{projectId:t.projectId,stepConfig:t.stepConfig,stepStatus:t.stepStatus,projectStatus:t.projectStatus}}}),t._v(" "),a("loading-wrapper",{attrs:{loading:t.loading,error:t.error,errorText:t.errorText}},[a("ValidationObserver",{ref:"mainFormObserver",attrs:{slim:""}},[a("project-info-box",{attrs:{data:t.data}}),t._v(" "),a("project-metadata-cataloginfo",{attrs:{data:t.data}}),t._v(" "),a("project-metadata-product-group-wrapper",{attrs:{data:t.data},on:{input:t.updateThemaItems}}),t._v(" "),a("project-metadata-keywords",{attrs:{data:t.data}}),t._v(" "),t.allowedOnlineMarketing?[a("project-metadata-online-marketing",{attrs:{data:t.data}})]:t._e(),t._v(" "),t.allowedInternationalSale?[a("project-metadata-international-sales",{attrs:{data:t.data}})]:t._e(),t._v(" "),t.allowedReleaseDatePrint?[a("project-metadata-release-date",{attrs:{data:t.data}})]:t._e(),t._v(" "),t.allowedSampleCopy?[a("project-metadata-sample-copy",{attrs:{data:t.data}})]:t._e(),t._v(" "),t.ebookRental?[a("project-metadata-ebook-rental",{attrs:{data:t.data}})]:t._e(),t._v(" "),t.isEbook?[a("project-metadata-ebook-copy-protection",{attrs:{data:t.data}})]:t._e(),t._v(" "),t.projectError?a("alert-container",{staticClass:"mt-3",attrs:{data:t.projectError,layoutType:2}}):t._e(),t._v(" "),a("div",{staticClass:"row g-4 mt-4 justify-content-between"},[a("div",{staticClass:"d-grid col-md-8 col-xl-6 order-md-last"},[a("button",{staticClass:"btn btn-bodorange rounded-pill",attrs:{id:"btnNext"},on:{click:function(e){return e.preventDefault(),t.submitFormNextStep()}}},[t._v("\n "+t._s(t.$t("project.general.button.next"))+" "),a("i",{staticClass:"fa-regular fa-chevron-right"})])]),t._v(" "),a("div",{staticClass:"d-grid col-md-8 col-xl-6"},[a("button",{staticClass:"btn btn-outline-dark rounded-pill",attrs:{id:"btnSave"},on:{click:function(e){return e.preventDefault(),t.submitForm()}}},[t._v("\n "+t._s(t.$t("project.general.button.save"))+"\n ")])]),t._v(" "),a("div",{staticClass:"d-grid col-md-8 col-xl-6 order-md-first"},[a("router-link",{staticClass:"btn btn-outline-dark rounded-pill",attrs:{to:{name:t.prevRoute(3),params:{projectId:t.projectId}},id:"btnBack"}},[a("i",{staticClass:"fa-regular fa-chevron-left"}),t._v(" "+t._s(t.$t("project.general.button.prev"))+"\n ")])],1)])],2)],1),t._v(" "),a("project-helpinfo",{attrs:{data:t.data}})],1)},n=[]}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.