PageSourceSearch

https://portal.kotodaman.jp/_next/static/chunks/3018.6af11e86c4105279.js

js kotodaman.jp collected 2026-09-24 09:47:04 UTC 14,976 bytes, 6 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4f9f51b1-e554-56e4-8db0-6912d255e752")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[637,3018],{63:(e,t,i)=>{i.d(t,{H8:()=>s,Hg:()=>d,If:()=>a,Oo:()=>p,hl:()=>c,s6:()=>m});var r=i(55745),l=i.n(r),o=i(24283),n=i(58535);let a=(e,t)=>e.getFormat(t)?.["code-block"]!=null,d=(e,t)=>((0,o.V)(e)||n.v.warn("quillDelta が QuillObject の形式ではありません",{meta:t,value:e}),e),s=e=>{let t=e.length();return 0===t||1===t&&e.ops[0]?.insert==="\n"},c=["c","csharp","css","c++","go","html","java","javascript","json","perl","php","python","ruby","sql","typescript","xhtml","xml"],u=/https?:\/\/[-_.!~*'()\wぁ-んァ-ン一-龥;/?:@&=+$,%#]+[\wぁ-んァ-ン一-龥/]+/g,p=(e,t)=>{let i=new(l()),r=0;for(let t of e.matchAll(u)){let l=t[0];t.index>r&&i.insert(e.slice(r,t.index)),i.insert(l,{link:l}),r=t.index+l.length}return i.insert(`${e.slice(r)}
4`).insert(m(t)).insert("\n")},m=e=>({mention:{id:e.id.toString(),value:e.name,index:"0",denotationChar:"#"}})},13135:(e,t,i)=>{i.d(t,{R:()=>o,e:()=>l});let r=i(21854).Ay.import("blots/block/embed"),l="brightcove-experience";class o extends r{static create({id:e,accountId:t}){let i=super.create();i.dataset.id=e,i.dataset.accountId=t;let r=document.createElement("div");r.dataset.experience=e,i.appendChild(r);let l=document.createElement("script");return l.src=`https://players.brightcove.net/${t}/experience_${e}/live.js`,i.appendChild(l),i}static value(e){return{id:e.dataset.id,accountId:e.dataset.accountId}}}o.blotName=l,o.tagName="div",o.className=l},24283:(e,t)=>{t.V=function(e){if("object"!=typeof e||null===e)return!1;let t=e.ops;return Array.isArray(t)&&t.every(e=>"object"==typeof e&&null!==e)}},27103:(e,t,i)=>{i.d(t,{N:()=>c});var r=i(45023),l=i(36439),o=i(53538),n=i(51949),a=i.n(n);function d(e){let{id:t,isAutoPlay:i}=e;return(0,r.FD)(r.FK,{children:[(0,r.Y)("iframe",{src:`https://www.youtube.com/embed/${t}${i?"?autoplay=1&mute=1":""}`,allow:"accelerometer; encrypted-media; gyroscope; picture-in-picture",frameBorder:"0",className:"jsx-75072ec2ae14ce49 youtube-iframe"}),(0,r.Y)(a(),{id:"75072ec2ae14ce49",children:"iframe.jsx-75072ec2ae14ce49{position:absolute;top:0;left:0;width:100%;height:100%}"})]})}function s(e){let{id:t}=e;return(0,r.FD)(r.FK,{children:[(0,r.Y)("div",{"data-cy":"youtube-player",className:"jsx-b9ea3fcd21351656 iframe-wrapper",children:(0,r.Y)(d,{id:t,isAutoPlay:!1})}),(0,r.Y)(a(),{id:"b9ea3fcd21351656",children:".iframe-wrapper.jsx-b9ea3fcd21351656{position:relative;height:calc(315/560*100%);width:100%;padding:calc(315/560*100%)0 0}@media only screen and (max-width:600px){.iframe-wrapper.jsx-b9ea3fcd21351656{height:194px}}.iframe-wrapper.jsx-b9ea3fcd21351656:not(:last-child){margin-bottom:10px}"})]})}class c extends l.PureComponent{static{this.extractMovieIdAryFromString=e=>e?(0,o.l)(e):[]}render(){let{idAry:e}=this.props;return(0,r.Y)(r.FK,{children:e.map(e=>(0,r.Y)(s,{id:e},e))})}}},33018:(e,t,i)=>{i.r(t),i.d(t,{default:()=>k});var r=i(45023),l=i(51949),o=i.n(l),n=i(36439),a=i(24378),d=i.n(a),s=i(90445);i(88190);var c=i(21854),u=i(28317),p=i(41471),m=i(33922),h=i(66013),f=i(40389),q=i(68827),g=i(58535),b=i(65322),w=i(63),v=i(13135),y=i(38223),z=i(48331),$=i(95032),x=i(58263);c.Ay.register(v.R),c.Ay.register($.h),c.Ay.register(z.F,!0),c.Ay.register(y.g),c.Ay.debug(!1),s.A.configure({languages:w.hl});class K extends n.Component{componentDidMount(){let{contents:e}=this.props;if(!this.editorRef?.current)return g.v.error("this.editorRef.current not found");this.editor=new c.Ay(this.editorRef.current,this.options),this.changeYoutubeVideoToYoutubePreview(),this.editor.setContents(e),this.addUrlPreview(),this.addATagClickHandlers(),(0,q.k)("quill-viewer-for-knowledge-base")}componentDidUpdate(e){d()(e.contents?.ops,this.props.contents?.ops)||(this.editor?.setContents(this.props.contents),this.changeYoutubeVideoToYoutubePreview(),this.addUrlPreview())}changeYoutubeVideoToYoutubePreview(){let{contents:e}=this.props;for(let t of e.ops)if("object"==typeof t.insert&&"video"in t.insert){let e=t.insert.video;
4if(!e.match(RegExp("(?:[?&]vi?=|/embed/|/vi?/|https?://(?:www.)?((youtu.be/)|(youtube.com/shorts/)|(youtube.com/live/)))([^&\\n?#]+)")))return;t.insert={[$.E]:{url:e}}}}addUrlPreview(){let{dispatch:e}=this.props;if(!this.editorRef?.current)return;let t=this.editorRef.current.getElementsByClassName("ql-editor")[0];Array.prototype.forEach.call(t.getElementsByTagName("p"),(i,l)=>{let o=i.getElementsByTagName("a");if(0===o.length)return;let n=o[0].textContent;e((0,m.A)(f.HK.FETCH_PREVIEW_REQUEST)({url:n,successCb:e=>{var l;let o,{url:n,title:a,description:d,image:s}=e;if(!a&&!d)return;let c=(l=(0,b.b)((0,r.Y)("div",{className:"link-preview","data-url":n,"data-title":a,"data-description":d,"data-image":s,children:(0,r.Y)(h.l,{previewData:e})})),(o=document.createElement("div")).innerHTML=l,o.firstElementChild);c&&t.insertBefore(c,i.nextSibling)}}))})}addATagClickHandlers(){this.editorRef?.current&&Array.prototype.forEach.call(this.editorRef.current.getElementsByTagName("a"),e=>{e.setAttribute("rel","noopener"),e.addEventListener("click",e=>e.stopPropagation(),{passive:!0,capture:!1})})}render(){return(0,r.FD)(r.FK,{children:[(0,r.Y)("section",{className:"jsx-83fd876ee76493f4 position-relative",children:(0,r.Y)("div",{id:"quill-viewer-for-knowledge-base",ref:this.editorRef,className:"jsx-83fd876ee76493f4"})}),(0,r.Y)(o(),{id:"83fd876ee76493f4",children:".ql-editor{padding:0;font-size:14px;line-height:20.02px}_::-webkit-full-page-media,_:future,:root .ql-editor{overflow-y:visible}"}),(0,r.Y)(x.F,{})]})}constructor(...e){super(...e),this.editorRef=n.createRef(),this.editor=null,this.options={readOnly:!0,theme:"snow",placeholder:this.props.t("Body text"),modules:{toolbar:!1,syntax:{hljs:s.A}}}}}let k=(0,u.C)(["components/organisms/quill"])((0,p.connect)()(K))},38223:(e,t,i)=>{i.d(t,{g:()=>s});var r=i(45023),l=i(21854),o=i(7139),n=i(66013);let a=l.Ay.import("blots/block/embed"),d="link-preview";class s extends a{static create(e){let t=super.create();return t.dataset.url=e.url,t.dataset.title=e.title,t.dataset.description=e.description,t.dataset.image=e.image,t.innerHTML=(0,o.qV)((0,r.Y)(n.l,{previewData:e})),t}static value(e){return{url:e.dataset.url,title:e.dataset.title,description:e.dataset.description,image:e.dataset.image}}}s.blotName=d,s.tagName="div",s.className=d},48331:(e,t,i)=>{i.d(t,{F:()=>n});var r=i(21854),l=i(53538);let o=r.Ay.import("formats/video");class n extends o{static sanitize(e){let t=(0,l.g)(e);return super.sanitize(t?`https://www.youtube.com/embed/${t}`:e)}}},53538:(e,t,i)=>{i.d(t,{g:()=>r,l:()=>l});let r=e=>{if(!/((?:www|m)\.)?((?:youtube(-nocookie)?\.com|youtu.be))/gi.test(e))return null;let t=e.match(/^.*(youtu.be\/|\/shorts\/|\/live\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);return t&&t[2]&&11===t[2].length?t[2]:null},l=e=>{let t=e.match(/\bhttps?:\/\/\S+/gi);return null===t?[]:t.map(e=>r(e)).filter(e=>null!==e)}},58263:(e,t,i)=>{i.d(t,{F:()=>d});var r=i(45023),l=i(51949),o=i.n(l),n=i(22668),a=i(27570);function d(){return(0,r.Y)(o(),{id:"e359f4edd586bb5f",dynamic:[a.Z4[450],a.Q1.user.text.default,a.zT.default,a.Z4[450],a.Z4[950],a.EA.md,a.Z4[850],a.Z4[600],a.Z4[350],a.EA.md,a.Z4[250],a.Po[100],a.Po[100],a.Ch[100],a.Po[100],a.Po[100],a.Ch[100],a.Po[100],n.A.BOX_CONTENT_MAX_WIDTH,a.Z4[450],a.aK[800],a.EA.md,a.aK[600],a.aK[600],a.Z4[350],a.aK[700],a.aK[600],a.Z4[950],a.aK[300],a.EA.md,a.Z4[850],a.Z4[600],a.aK[300],a.Z4[750],a.aK[300],a.Kz[7],a.EA.md,a.Kz[5],a.Z4[350],a.aK[600],a.Js.user.element,a.Kz[9],a.Kz[9],a.Kz[9],a.Kz[9],a.Po[9],a.Kz[14],a.Kz[5],a.Kz[17],a.Kz[7],a.Kz[18],a.Kz[7],a.Kz[19],a.Kz[13],a.Kz[19],a.Q1.user.background.code,a.Q1.user.text.white,a.zT.monospace,a.Kz[5],a.Kz[5],a.Kz[7],a.Js.user.element],children:`.ql-container{border:none!important;font-family:inherit;font-size:${a.Z4[450]};color:${a.Q1.user.text.default}}.ql-toolbar.ql-snow{font-family:${a.zT.default};font-weight:normal}.ql-snow .ql-picker{font-size:${a.Z4[450]}}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{line-height:0}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before{font-size:${a.Z4[950]}}@media(max-width:${a.EA.md}
4){.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before{font-size:${a.Z4[850]}}}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before{font-size:${a.Z4[600]}}.ql-editor .ql-size-small,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before{font-size:${a.Z4[350]}}@media(max-width:${a.EA.md}){.ql-editor .ql-size-small,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before{font-size:${a.Z4[250]}}}.ql-container img{width:${a.Po[100]}}.ql-container .video-thumbnail{position:absolute;top:0;left:0;width:${a.Po[100]};height:${a.Ch[100]};object-fit:cover;max-width:initial!important;margin:0!important;cursor:pointer}.ql-container .commune-youtube-preview-blot-wrapper{position:relative;height:calc(315/560*100%);width:${a.Po[100]};padding:calc(315/560*100%)0 0}@media only screen and (max-width:600px){.ql-container .commune-youtube-preview-blot-wrapper{height:194px}}.ql-container .commune-youtube-preview-blot-wrapper:not(:last-child){margin-bottom:10px}.ql-container .youtube-iframe{position:absolute;top:0;left:0;width:${a.Po[100]};height:${a.Ch[100]};border:0}.ql-container iframe{width:${a.Po[100]};height:360px}.ql-container.ql-snow img{max-width:${n.A.BOX_CONTENT_MAX_WIDTH}px;display:block;margin:0 auto}.ql-editor{font-size:${a.Z4[450]};line-height:${a.aK[800]};overflow-y:visible}@media(max-width:${a.EA.md}){.ql-editor{line-height:${a.aK[600]}}}.ql-editor:lang(en){line-height:${a.aK[600]}}.box-content-list .card-text .ql-editor{font-size:${a.Z4[350]};line-height:${a.aK[700]}}.box-content-list .card-text .ql-editor:lang(en){line-height:${a.aK[600]}}.ql-editor .ql-size-huge{font-size:${a.Z4[950]};line-height:${a.aK[300]}}@media(max-width:${a.EA.md}){.ql-editor .ql-size-huge{font-size:${a.Z4[850]}}}.ql-editor .ql-size-large{font-size:${a.Z4[600]};line-height:${a.aK[300]}}.ql-snow .ql-editor h2{font-size:${a.Z4[750]};font-weight:bold;line-height:${a.aK[300]};padding:${a.Kz[7]} 0}@media(max-width:${a.EA.md}){.ql-snow .ql-editor h2{padding:${a.Kz[5]} 0}}.ql-snow .ql-editor blockquote{font-size:${a.Z4[350]};line-height:${a.aK[600]};border-left:none;border-radius:${a.Js.user.element};padding:${a.Kz[9]};background-color:#f7f9f9;margin:0}.ql-snow .ql-editor blockquote:has(+blockquote){padding-bottom:0}.ql-snow .ql-editor blockquote+blockquote{padding-top:0}.ql-snow .ql-editor blockquote+blockquote:last-of-type{padding-bottom:${a.Kz[9]}}.ql-snow .ql-editor .link-preview{padding:0 2px}.ql-snow .ql-editor .link-preview a{text-decoration:none}.ql-editor ol,.ql-editor ul{padding:0}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:${a.Kz[9]}}.ql-editor li:not(.ql-direction-rtl)>.ql-ui::before{line-height:normal;margin-left:-${a.Kz[9]};margin-right:0;text-align:center;width:${a.Po[9]}}.ql-editor{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}@supports(counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor.ql-editor p,.ql-editor.ql-editor h1,.ql-editor.ql-editor h2,.ql-editor.ql-editor h3,.ql-editor.ql-editor h4,.ql-editor.ql-editor h5,.ql-editor.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:${a.Kz[14]}}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){margin-left:${a.Kz[5]};padding-left:${a.Kz[17]}}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){margin-left:${a.Kz[7]};padding-left:${a.Kz[18]}}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){margin-left:${a.Kz[7]};padding-left:${a.Kz[19]}}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){margin-left:${a.Kz[13]};padding-left:${a.Kz[19]}}.ql-editor .ql-code-block-container{background:${a.Q1.user.background.code};color:${a.Q1.user.text.white}}.ql-snow .ql-editor.ql-editor .ql-code-block-container{font-family:${a.zT.monospace};margin-top:${a.Kz[5]};padding:${a.Kz[5]} ${a.Kz[7]};border-radius:${a.Js.user.element}}.ql-container .ql-code-block-container>.ql-ui{display:none}`})}},66013:(e,t,i)=>{i.d(t,{l:()=>d});var r=i(45023),l=i(94689),o=i(51963),n=i(78201);let a=(0,n.n9)()(()=>({card:{display:"flex",flexDirection:"column","@media (min-width:480px)":{flexDirection:"row"}},details:{display:"flex",flexDirection:"column",wordBreak:"break-all"},content:{flex:"1 0 auto"},title:{fontSize:"0.875rem"},description:{fontSize:"0.75rem"},cover:{height:150,width:"100%",backgroundSize:"contain"}})),d=e=>{let t,{classes:i}=a(),{previewData:d}=e;if(!d)return null;let{url:s,title:c,description:u,image:p}=d,{slicedTitle:m,slicedDescription:h}=(t=c?Math.min(50,c.length):0,{slicedTitle:c?(0,l.truncate)(c,t):"",slicedDescription:u?(0,l.truncate)(u,100-t):""});return(0,r.Y)("a",{href:(0,o.Hs)(s),target:"_blank",rel:"noopener",children:(0,r.FD)(n.Zp,{className:i.card,children:[(0,r.Y)(n.Vo,{className:i.cover,image:p}),(0,r.Y)("div",{className:i.details,children:(0,r.FD)(n.Wu,{className:i.content,children:[(0,r.Y)(n.o5,{className:i.title,component:"h5",variant:"h6",children:m}),(0,r.Y)(n.o5,{className:i.description,color:"textSecondary",children:h})]})})]})})}},68827:(e,t,i)=>{i.d(t,{k:()=>a});var r=i(81882),l=i(15531),o=i.n(l),n=i(58535);let a=e=>{let t=document.getElementById(e);return t?new(o())(t,{navbar:2,title:2,toolbar:!1,movable:!0,rotatable:!1,zoomable:!0,transition:!1,url(e){try{return r.exclude(e.src,["w","h"])}
4catch(t){return n.v.warn("this url is invalid",t),e.src}}}):(n.v.info("[initImageGallery] container not found, so do nothing"),null)}},95032:(e,t,i)=>{i.d(t,{E:()=>n,h:()=>a});var r=i(21854),l=i(27103);let o=r.Ay.import("blots/block/embed"),n="youtube-preview";class a extends o{static create(e){let t=super.create();return t.dataset.url=e.url,l.N.extractMovieIdAryFromString(e.url).forEach(e=>{let i,r;return t.appendChild(((i=document.createElement("div")).className="commune-youtube-preview-blot-wrapper",i.dataset.cy="youtube-player",(r=document.createElement("iframe")).className="youtube-iframe",r.src=`https://www.youtube.com/embed/${e}`,r.setAttribute("allow","accelerometer; encrypted-media; gyroscope; picture-in-picture"),r.setAttribute("frameborder","0"),i.appendChild(r),i))}),t}static value(e){return{url:e.dataset.url}}}a.blotName=n,a.tagName="div",a.className=n}}]);
5//# sourceMappingURL=3018.6af11e86c4105279.js.map
6//# debugId=4f9f51b1-e554-56e4-8db0-6912d255e752

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.