1"use strict";(self["webpackChunknola"]=self["webpackChunknola"]||[]).push([[4253],{1487:function(t,e,a){a.d(e,{A:function(){return c}});var s=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon checkbox-blank-outline-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:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},i=[],l={name:"CheckboxBlankOutlineIcon",props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},n=l,r=a(81656),o=(0,r.A)(n,s,i,!1,null,null,null),c=o.exports},75413:function(t,e,a){a.d(e,{A:function(){return m}});var s=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{class:{image:!0,fadein:t.loaded,loading:!t.loaded},attrs:{src:t.imagePath,alt:"image",draggable:"false"},on:{load:t.onLoad,error:t.onError}})},i=[],l=a(85471),n=a(77965),r=a(22514),o=a(13803),c=l["default"].extend({props:{src:String,placeholder:{type:String,default:"/img/placeholders/novel.png"}},data(){return{imagePath:void 0,loaded:!1}},async created(){this.loadImageFile()},methods:{async loadImageFile(){var t;const{src:e,placeholder:a}=this;let s=null;if(this.imagePath=a,!e)return void(this.loaded=!0);const i=e.startsWith("preset:"),l=e.startsWith("shared"),c=e.startsWith("file:"),u=e.startsWith("novels/"),d=e.startsWith("nolaNovel:");if(i||l||c||u||d){if(d){const t=await o.EO.get(e.substring(10),{level:"public"});s=t}if(i){const t=await n.nC.get("Rest",`/s3/public/${e.substring(7)}`,{});s=t.url}if(l){const t=await n.nC.get("Rest",`/s3/public/${e}`,{});s=t.url}if(c){const t=e.substring(5),a=await n.dR.vault.get(t,{download:!1});s=a}u&&(s=await(new r.Yx).getImagePath(e)),this.imagePath=null!==(t=s)&&void 0!==t?t:void 0}else this.loaded=!0},onLoad(){this.loaded=!0},onError(){this.imagePath=this.placeholder,this.loaded=!0}},watch:{src(){this.loadImageFile()}}}),u=c,d=a(81656),A=(0,d.A)(u,s,i,!1,null,"c934b7a4",null),m=A.exports},83923:function(t,e,a){a.d(e,{A:function(){return d}});var s=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.src}})},i=[],l=a(22514),n=a(85471),r=n["default"].extend({created(){const{getImageUrl:t}=this;t()},data(){return{src:this.placeholder}},props:{path:String,placeholder:String},methods:{async getImageUrl(){const{path:t}=this;this.src=t?await(new l.Yx).getImagePath(t):this.placeholder}},watch:{path(){const{getImageUrl:t}=this;t()}}}),o=r,c=a(81656),u=(0,c.A)(o,s,i,!1,null,null,null),d=u.exports},64155:function(t,e,a){a.d(e,{A:function(){return u}});var s=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("li",{staticClass:"list-tile",class:{active:t.isActive},style:t.style},[t._t("leading"),e("div",{staticClass:"content"},[t._t("content")],2),t._t("trailing")],2)},i=[],l=a(85471),n=l["default"].extend({props:{height:{type:String,default:"auto"},isActive:{type:Boolean,default:!1}},computed:{style(){const{height:t}=this;return{height:t}}}}),r=n,o=a(81656),c=(0,o.A)(r,s,i,!1,null,"6ceaa07e",null),u=c.exports},33972:function(t,e,a){a.d(e,{A:function(){return v}});var s=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.materialId&&t.novelMaterial?e("div",{staticClass:"container"},["resume-layout"===t.layoutType?e("div",{staticClass:"material-basic-items resume-layout"},[e("load-image",{staticClass:"basic-image",class:{preset:t.isPreset(t.novelMaterial.items[2].imagePath)},attrs:{path:t.novelMaterial.items[2].imagePath,placeholder:"/img/placeholders/no_image_default.png"}}),e("div",{staticClass:"resume-main"},[e("div",{staticClass:"basic-text"},[e("span",{staticClass:"name"},[t._v(t._s(t.novelMaterial.items[0].value))]),t.novelMaterial.items[1].value?e("span",{staticClass:"ruby"},[t._v(t._s(t.novelMaterial.items[1].value))]):t._e()]),!t.preview&&t.manuscriptsReady?e("button",{staticClass:"scene-link resume-scene-link",attrs:{type:"button"},on:{click:t.openSceneModal}},[e("span",{staticClass:"scene-link-text"},[t._v(t._s(t.sceneCountText))]),e("icon-chevron-right",{staticClass:"scene-link-chevron"})],1):t._e()])],1):t._e(),"enlargement-layout"===t.layoutType?e("div",{staticClass:"material-basic-items enlargement-layout"},[e("div",{staticClass:"image-container"},[e("load-image",{staticClass:"background-image blur-img",class:{preset:t.isPreset(t.novelMaterial.items[2].imagePath)},attrs:{path:t.novelMaterial.items[2].imagePath,placeholder:"/img/placeholders/no_image_default.png"}}),e("load-image",{staticClass:"basic-image",class:{preset:t.isPreset(t.novelMaterial.items[2].imagePath)},attrs:{path:t.novelMaterial.items[2].imagePath,placeholder:"/img/placeholders/no_image_default.png"}})],1),e("div",{staticClass:"basic-text"},[e("span",{staticClass:"name"},[t._v(t._s(t.novelMaterial.items[0].value))]),t.novelMaterial.items[1].value?e("span",{staticClass:"ruby"},[t._v(t._s(t.novelMaterial.items[1].value))]):t._e()])]):t._e(),"dictionary-layout"===t.layoutType?e("div",{staticClass:"material-basic-items dictionary-layout"},[e("div",{staticClass:"basic-text"},[e("span",{staticClass:"name"},[t._v(t._s(t.novelMaterial.items[0].value))]),t.novelMaterial.items[1].value?e("span",{staticClass:"ruby"},[t._v(t._s(t.novelMaterial.items[1].value))]):t._e()])]):t._e(),!t.preview&&t.manuscriptsReady&&"resume-layout"!==t.layoutType?e("button",{staticClass:"scene-link",attrs:{type:"button"},on:{click:t.openSceneModal}},[e("span",{staticClass:"scene-link-text"},[t._v(t._s(t.sceneCountText))]),e("icon-chevron-right",{staticClass:"scene-link-chevron"})],1):t._e(),e("div",{staticClass:"divider"}),e("div",{staticClass:"material-items"},t._l(t.items,function(a){return e("div",{key:a.id},["multiline-text"===a.type?e("div",{staticClass:"material-item"},[a.title?e("span",{staticClass:"title",domProps:{innerHTML:t._s(a.title)}}):t._e(),e("div",{staticClass:"space"}),a.value?e("span",{staticClass:"detail",domProps:{innerHTML:t._s(a.value)}}):t._e()]):t._e(),"image-square"===a.type?e("div",{staticClass:"material-item"},[a.title?e("span",{staticClass:"title",domProps:{innerHTML:t._s(a.title)}}):t._e(),e("load-image",{staticClass:"img-square",class:{preset:t.isPreset(a.imagePath)},attrs:{path:a.imagePath,placeholder:"/img/placeholders/no_image_default.png"}}),a.value?e("span",{staticClass:"detail",domProps:{innerHTML:t._s(a.value)}}):t._e()],1):t._e(),"image-portrait"===a.type?e("div",{staticClass:"material-item"},[a.title?e("span",{staticClass:"title",domProps:{innerHTML:t._s(a.title)}}):t._e(),e("load-image",{staticClass:"img-portrate",class:{preset:t.isPreset(a.imagePath)},attrs:{path:a.imagePath,placeholder:"/img/placeholders/no_image_default_small.png"}}),a.value?e("span",{staticClass:"detail",domProps:{innerHTML:t._s(a.value)}}):t._e()],1):t._e(),"image-landscape"===a.type?e("div",{staticClass:"material-item"},[a.title?e("span",{staticClass:"title",domProps:{innerHTML:t._s(a.title)}}):t._e(),e("load-image",{staticClass:"img-landscape",class:{preset:t.isPreset(a.imagePath)},attrs:{path:a.imagePath,placeholder:"/img/placeholders/no_image_default.png"}}),a.value?e("span",{staticClass:"detail",domProps:{innerHTML:t._s(a.value)}}):t._e()],1):t._e()])}),0),t.preview?t._e():e("div",{staticClass:"space"}),t.preview?t._e():e("button-round",{attrs:{to:{name:"materialEdit",params:{...t.$route.params}}}},[t._v(t._s(t.$t("common.edit")))]),t.isSceneModalOpen?e("proper-noun-modal",{attrs:{novelId:t.novelId,initialTabId:t.sceneModalTabId,initialSelectedId:t.materialId||""},on:{close:t.closeSceneModal}}):t._e()],1):t._e()},i=[],l=a(85471),n=a(83576),r=a(83923),o=a(4760),c=a(94375),u=a(40108),d=a(33895),A=a(13870),m=l["default"].extend({components:{ButtonRound:n.A,LoadImage:r.A,ProperNounModal:o.A,IconChevronRight:A.A},props:{preview:Object},data(){return{isSceneModalOpen:!1,manuscriptsReady:!1}},async created(){if(!this.preview){try{await(0,u.J)(this.$store,this.novelId)}catch(t){console.error("[MaterialDetail] å稿ã®åå¾ã«å¤±æãã¾ãã:",t)}this.manuscriptsReady=!0}},computed:{novelId(){const{params:t}=this.$route;return t&&t.novelId?t.novelId:""},manuscripts(){return this.$store.getters["manuscriptModule/manuscriptList"]},sceneCount(){const{novelMaterial:t}=this,e=t&&t.items[0],a=e&&e.value?e.value:"";return(0,c.LJ)(this.manuscripts,a)},sceneCountText(){const t=(0,c.jB)(this.sceneCount);return this.$t("materialPage.materialDetail.sceneCount",{count:t})},sceneModalTabId(){const{novelMaterial:t}=this;return t?`tab-material-${t.attributeId}`:""},materialId(){const{params:t}=this.$route;return t&&t.materialId?t.materialId:null},novelMaterial(){const{preview:t,materialId:e}=this;if(t)return t;if(!e)return null;const{getters:a}=this.$store,s=a["materialModule/material"](e);return s||null},items(){const{novelMaterial:t,layoutType:e}=this;if(!t||!e)return[];const{items:a}=t;let s=2;switch(e){case d.Q0.RESUME:case d.Q0.ENLARGEMENT:s=3;break;case d.Q0.DICTIONARY:default:break}return a.slice(s,a.length)},layoutType(){const{novelMaterial:t}=this;return t?t.layout:null}},methods:{isPreset(t){return!!t&&(!!t.startsWith("shared/")||!!t.startsWith("preset:"))},openSceneModal(){this.isSceneModalOpen=!0},closeSceneModal(){this.isSceneModalOpen=!1}}}),p=m,g=a(81656),h=(0,g.A)(p,s,i,!1,null,"978bb468",null),v=h.exports},68842:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAZKADAAQAAAABAAAAZAAAAAAMc/x7AAACuUlEQVR4Ae3dgU0CMRTGcTEOwAZ2BNwAN3ADdQPYQCcAJ1AnUCcQN8AJPCfwnAC/lxSSe63GhFK98G/S9HqUtvd7d2DSBg8OSAgggAACCCCAAAIIIIAAAggggAACCPRDYJCb5mQyCTo/Ux7mXufc1gKtepjO5/PG9/RdQN7UMPjG1IsKNOrtREGx4GzS4eYoHujpGOkw+PPUiwuYsVl3UhIQvTrstKBSVSAJiB6hhWbwWXUW+ztY4y89CUhscKGSoHitcnWzvfz1l/p63PjXVljXKYsINLlAFOmZThBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBHghkd53YvKfT6flqtQo9uIbeTXEwGLSz2ewmN/FsQLRS+KzG49wbOFdMYKGVw1PfWxKQuGxr+7JIuxc4jZtKNiPlNjmEzascVBfIBWRZfRb7O2DrLz0JiB4ha5T9wvFvpr6VwL2sk5s/+Q5ZDxG3lI5UD+tzlEUEGvWyzAWjSO90ggACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgj8c4GfFqiCtqsc//P593J62l71+d0CVTYgWi2c6Ert55lIuxO4VlCufPdJQBSLoRp9+IbUdyJgP8/UWVdPNjloWFtHJ9URsJu/k3IBaTotqFQVSAKiR8gC8lJ1Fvs52KusF/7Sj/yJWD9TeaFsH19BmVROoFVXC+U7ZRICCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACfyuQ7Dqx6WjnyVjFrXJQJpUXsFVD+4cuj77rZE09NnhQGXxj6sUEhurpVjd+8D0mAYlPh72BtFsBMw5+iCQgatD6RtTrCSQBiTvp3utNYW9Hsn8MtvRXnwQkNjhT+aRMYLzY9nULhNmOdfPzabS9Jz0ggAACCCCAAAIIIIAAAggggAACCPyRwBef9nEKTy/1wQAAAABJRU5ErkJggg=="}}]); 2//# sourceMappingURL=4253.1e01db74.js.map
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.