PageSourceSearch

https://www.yomiko.co.jp/wp-content/themes/yomiko/assets/js/common.js?202609242219

js yomiko.co.jp collected 2026-09-24 22:19:22 UTC 29,480 bytes, 1 lines download raw bytes

1!function(t){function e(e){for(var i,a,s=e[0],l=e[1],c=e[2],d=0,h=[];d<s.length;d++)a=s[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&h.push(o[a][0]),o[a]=0;for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(t[i]=l[i]);for(u&&u(e);h.length;)h.shift()();return r.push.apply(r,c||[]),n()}function n(){for(var t,e=0;e<r.length;e++){for(var n=r[e],i=!0,s=1;s<n.length;s++){var l=n[s];0!==o[l]&&(i=!1)}i&&(r.splice(e--,1),t=a(a.s=n[0]))}return t}var i={},o={4:0},r=[];function a(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=t,a.c=i,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="";var s=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var u=l;r.push([306,0]),n()}({306:function(t,e,n){"use strict";n.r(e);n(51),n(38),n(29),n(30),n(119),n(120),n(65),n(87),n(88),n(31),n(50),n(125),n(39),n(169),n(170),n(173),n(175),n(131),n(176),n(182),n(95),n(136);function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.target=void 0,this.fixedElm=void 0,this.target=e.target,this.fixedElm=e.fixedElm}var e,n,o;return e=t,n=[{key:"initialize",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(null!==this.target&&Array.from(this.target).forEach((function(e){t.attachSmoothScroll(e)})),e){var n=location.hash;if(!n)return;if(n.includes("#gsc.tab=0"))return;var i=document.querySelector(n);if(!i)return;window.addEventListener("load",(function(){t.scrollTo(i)}))}}},{key:"fixedElementHeight",get:function(){return null!==this.fixedElm?this.fixedElm.clientHeight:0}},{key:"getHrefProps",value:function(t){var e={href:t.getAttribute("href"),path:null,hash:null,query:null};if(null!==e.href){var n=e.href.split("#"),i=n[0],o=n[1].split("?"),r=o[0]&&"string"==typeof o[0]&&o[0].length>0?o[0]:null,a=o[1]||null;Object.assign(e,{path:i,hash:r,query:a})}return e}},{key:"isCurrentPage",value:function(t){if(""===t||"./"===t)return!0;if(t.match(/^(https?:\/\/|\/\/)/g)){try{var e=new URL(t,location.href),n=new URL(location.href);if(["dev3.yomiko.co.jp","test3.yomiko.co.jp","www.yomiko.co.jp"].includes(e.hostname)&&e.pathname.replace(/\/$/g,"/index.html")===n.pathname.replace(/\/$/g,"/index.html"))return!0}catch(t){}return!1}if(t.match(/^\.\.\//g))return!1;var i=location.pathname.replace(/\/$/g,"/index.html"),o=t.replace(/\/$/g,"/index.html"),r=i.split("/"),a=o.split("/"),s=""===a[0]&&r.join("/")===a.join("/"),l=("."===a[0]||a[0].match(/\.(html|php)$/g))&&a[a.length-1]===r[r.length-1];return!(!s&&!l)}},{key:"attachSmoothScroll",value:function(t){var e=this;if(null!==t){var n=this.getHrefProps(t);if(null!==n.hash&&null!==n.path&&this.isCurrentPage(n.path)){var i=document.querySelector("#".concat(n.hash));i&&t.addEventListener("click",(function(t){t.preventDefault(),e.scrollTo(i)}))}}}},{key:"scrollTo",value:function(t){if(t){var e=t.getBoundingClientRect().top+window.pageYOffset-this.fixedElementHeight;window.scrollTo({top:e,behavior:"smooth"})}}}],o=[{key:"instance",get:function(){return this._instance||(this._instance=new t({target:document.querySelectorAll('a[href*="#"]:not(.js-modal-trigger):not(.js-modal-yt-trigger):not(.js-menu-anchor), area[href*="#"]:not(.js-modal-trigger):not(.js-modal-yt-trigger):not(.js-menu-anchor)'),fixedElm:document.querySelector(".header")})),this._instance}}],n&&i(e.prototype,n),o&&i(e,o),t}();o._instance=void 0;n(184),n(96),n(137),n(186),n(187),n(188),n(138),n(139),n(140),n(141);var r=n(5);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?a(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var u=function(){function t(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.elmClass=void 0,this.delay=void 0,this.fixElements=void 0,this.body=void 0,this.modal=null,this.modalBg=null,this.modalClaseButtons=null,this.modalWrapper=null,this.modalContent=null,this.modalElement=null,this.isOpened=!1,this.currentScrollY=0,this.elmClass=e.elmClass,this.body=document.body,this.fixElements=e.fixElements&&e.fixElements.length>0?Array.from(document.querySelectorAll(e.fixElements.join(","))):null,this.delay=e.delay,n&&this.initialize()}var e,n,i;return e=t,i=[{key:"getInstance",value:function(e){if(!this._instance){var n={elmClass:"js-modal",fixElements:[],delay:.4};this._instance=new t(e?s(s({},n),e):n)}return this._instance}}],(n=[{key:"initialize",value:function(){var t=this;this.createWrapper(),this.modal&&this.modalBg&&this.modalWrapper&&this.modalContent&&(this.modal.addEventListener("click",(function(e){return t.close(e)})),this.modalBg.addEventListener("click",(function(e){return t.close(e)})),this.modalWrapper.addEventListener("click",(function(e){return t.close(e)})),this.modalContent.addEventListener("click",(function(t){t.stopPropagation()}))),this.modalClaseButtons&&this.modalClaseButtons.length>0&&this.modalClaseButtons.forEach((function(e){e.addEventListener("click",(function(e){return t.close(e)}))}))}},{key:"createWrapper",value:function(){var t=document.createElement("div");t.className=this.elmClass;var e='<div class="'.concat(this.elmClass,'__close-button"></div>');t.innerHTML='\n    <div class="'.concat(this.elmClass,'__wrapper">\n    <div class="').concat(this.elmClass,'__content">\n    <div class="').concat(this.elmClass,'__close">\n    <div class="').concat(this.elmClass,'__close__inner">\n    ').concat(e,'\n    </div></div></div></div>\n    <div class="').concat(this.elmClass,'__bg"></div>'),this.body.appendChild(t),this.modal=document.querySelector(".".concat(this.elmClass)),this.modalBg=document.querySelector(".".concat(this.elmClass,"__bg")),this.modalClaseButtons=document.querySelectorAll(".".concat(this.elmClass,"__close-button")),this.modalWrapper=document.querySelector(".".concat(this.elmClass,"__wrapper")),this.modalContent=document.querySelector(".".concat(this.elmClass,"__content"))}},{key:"setPosition",value:function(){if(this.body){var t=this.body.clientWidth;this.currentScrollY=window.pageYOffset,this.body.classList.add("is-modal-opened"),this.body.style.width="100%",this.body.style.top=-1*this.currentScrollY+"px",this.body.style.position="fixed";var e=this.body.clientWidth-t;e>0&&(this.body.style.paddingRight=e+"px",this.fixElements&&this.fixElements.forEach((function(t){t.style.paddingRight=e+"px"})))}}},{key:"clearPosition",value:function(){var t=this;if(this.body){this.body.style.width="",this.body.style.position="",this.body.style.paddingRight="",this.body.style.top="",this.fixElements&&this.fixElements.forEach((function(t){t.style.paddingRight=""}));var e=window.scrollX||window.pageXOffset;window.scrollTo(e,this.currentScrollY),setTimeout((function(){t.body.classList.remove("is-modal-opened")}),100)}}},{key:"clearModalContent",value:function(){this.modalContent&&this.modalElement&&(this.modalContent.removeChild(this.modalElement),this.modalElement=null)}},{key:"openModal",value:function(t){if(!this.isOpened){var e=t.replace(/^#/,""),n=document.getElementById(e);if(n&&this.modalContent){var i=n.cloneNode(!0);i.removeAttribute("id"),i.setAttribute("class","".concat(this.elmClass,"__view")),i.setAttribute("id","display-"+e),this.modalElement=i,this.modalContent.appendChild(this.modalElement),this.show()}}}},{key:"show",value:function(){var t=this;this.isOpened||this.modal&&this.modalBg&&(r.a.set(this.modal,{display:"block",opacity:0}
1),r.a.set(this.modalBg,{opacity:.7}),r.a.to(this.modal,{opacity:1,duration:this.delay,onStart:function(){t.isOpened||(t.setPosition(),t.isOpened=!0)}}))}},{key:"close",value:function(t){var e=this;t&&t.stopPropagation(),r.a.to(this.modal,{opacity:0,duration:this.delay,onComplete:function(){e.clearPosition(),e.modal&&(e.modal.style.display="none"),e.clearModalContent(),e.isOpened=!1}})}}])&&c(e.prototype,n),i&&c(e,i),t}();u._instance=void 0;var d=n(146),h=n.n(d);function f(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var m=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,(n=[{key:"ua",get:function(){return navigator.userAgent.toLowerCase()}},{key:"isiOS",get:function(){return this.ua.indexOf("iphone")>-1||this.ua.indexOf("ipod")>-1||this.ua.indexOf("ipad")>-1||this.ua.indexOf("macintosh")>-1&&"ontouchend"in document}},{key:"isSafari",get:function(){return this.ua.indexOf("safari")>-1&&-1===this.ua.indexOf("chrome")&&-1===this.ua.indexOf("edge")}},{key:"isIE11",get:function(){return-1!=this.ua.indexOf("trident")}},{key:"device",get:function(){return-1!=this.ua.indexOf("windows")&&-1!=this.ua.indexOf("touch")&&-1==this.ua.indexOf("tablet pc")||-1!=this.ua.indexOf("ipad")||this.ua.indexOf("macintosh")>-1&&"ontouchend"in document||-1!=this.ua.indexOf("android")&&-1==this.ua.indexOf("mobile")||-1!=this.ua.indexOf("firefox")&&-1!=this.ua.indexOf("tablet")||-1!=this.ua.indexOf("kindle")||-1!=this.ua.indexOf("silk")||-1!=this.ua.indexOf("playbook")?"tablet":-1!=this.ua.indexOf("windows")&&-1!=this.ua.indexOf("phone")||-1!=this.ua.indexOf("iphone")||-1!=this.ua.indexOf("ipod")||-1!=this.ua.indexOf("android")&&-1!=this.ua.indexOf("mobile")||-1!=this.ua.indexOf("firefox")&&-1!=this.ua.indexOf("mobile")||-1!=this.ua.indexOf("blackberry")?"sp":"pc"}}])&&f(e.prototype,n),i&&f(e,i),t}();function p(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var v=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.startX=0,this.startY=0,this.moveX=0,this.moveY=0,this.isMove=!1,this.dist=100,this.elm=void 0,this.isTouchDevice=void 0,void 0!==n&&(this.dist=n),this.elm=e,this.isTouchDevice="ontouchstart"in window,this.touchSt(),this.touchMv()}var e,n,i;return e=t,(n=[{key:"touchSt",value:function(){var t=this;this.elm&&this.isTouchDevice&&this.elm.addEventListener("touchstart",(function(e){t.isMove=!1,t.startX=e.touches[0].pageX,t.startY=e.touches[0].pageY}))}},{key:"touchMv",value:function(){var t=this;this.elm&&this.isTouchDevice&&this.elm.addEventListener("touchmove",(function(e){t.isMove=!0,t.moveX=e.changedTouches[0].pageX,t.moveY=e.changedTouches[0].pageY}))}},{key:"resetMove",value:function(){this.startX=0,this.moveX=0,this.isMove=!1}},{key:"swipeLeft",value:function(t){var e=this;this.elm&&this.isTouchDevice&&this.elm.addEventListener("touchend",(function(n){e.isMove&&e.startX>e.moveX&&e.startX>e.moveX+e.dist&&(t(n,e.elm),e.resetMove())}))}},{key:"swipeRight",value:function(t){var e=this;this.elm&&this.isTouchDevice&&this.elm.addEventListener("touchend",(function(n){e.isMove&&e.startX<e.moveX&&e.startX+e.dist<e.moveX&&(t(n,e.elm),e.resetMove())}))}}])&&p(e.prototype,n),i&&p(e,i),t}();function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){w(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function C(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E(t,e){return E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},E(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},_(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(a,t);var e,n,i,o=x(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,t,!1)).elmYTClass=void 0,e.movieClass=void 0,e.topUI=void 0,e.bottomUI=void 0,e.sideUI=void 0,e.allowKey=void 0,e.allowSwipe=void 0,e.allowOuterClick=void 0,e.modalMovie=null,e._current=null,e._currentGroup=null,e._currentIndex=null,e.group={},e.isIE=(new m).isIE11,e.prevText=void 0,e.nextText=void 0,e.closeText=void 0,e.elmYTClass="".concat(t.elmClass,"--youtube"),e.movieClass="".concat(t.elmClass,"__movie"),e.prevText=t.prevText,e.nextText=t.nextText,e.closeText=t.closeText,e.topUI=t.topUI,e.bottomUI=t.bottomUI,e.sideUI=t.sideUI,e.allowKey=t.allowKey,e.allowSwipe=t.allowSwipe,e.allowOuterClick=t.allowOuterClick,e.initialize(),e}return e=a,i=[{key:"getInstance",value:function(t){if(!this._instance){var e={elmClass:"js-modal",fixElements:[],delay:.4,prevText:"prev",nextText:"next",closeText:"",topUI:!0,bottomUI:!0,sideUI:!0,allowKey:!0,allowSwipe:!0,allowOuterClick:!0};this._instance=new a(t?b(b({},e),t):e)}return this._instance}}],(n=[{key:"initialize",value:function(){var t=this;this.createWrapper(),this.allowOuterClick&&this.modal&&this.modalBg&&this.modalWrapper&&this.modalContent&&(this.modal.addEventListener("click",(function(e){return t.close(e)})),this.modalBg.addEventListener("click",(function(e){return t.close(e)})),this.modalWrapper.addEventListener("click",(function(e){return t.close(e)})),this.modalContent.addEventListener("click",(function(t){t.stopPropagation()}))),this.topUI&&this.modalClaseButtons&&this.modalClaseButtons.length>0&&this.modalClaseButtons.forEach((function(e){e.addEventListener("click",(function(e){return t.close(e)}))})),this.allowKey&&window.addEventListener("keyup",(function(e){switch(e.key.toLocaleLowerCase()){case"escape":t.close(e);break;case"arrowright":t.next(e);break;case"arrowleft":t.prev(e)}}))}},{key:"current",get:function(){return this._current},set:function(t){var e=this;if(this._current=t,t&&this.currentGroup&&this.group[this.currentGroup]){var n=this.group[this.currentGroup].findIndex((function(t){return t===e.current}));this.currentIndex=n,this.changeModalContent(t)}}},{key:"currentGroup",get:function(){return this._currentGroup},set:function(t){this._currentGroup=t}},{key:"currentIndex",get:function(){return this._currentIndex},set:function(t){this._currentIndex=t}},{key:"createWrapper",value:function(){var t=this,e=document.createElement("div");e.className=this.elmClass;var n='<div class="'.concat(this.elmClass,'__close-button"></div>');if(e.innerHTML='\n    <div class="'.concat(this.elmClass,'__wrapper">\n    <div class="').concat(this.elmClass,'__content">\n    <div class="').concat(this.elmClass,'__close">\n    <div class="').concat(this.elmClass,'__close__inner">\n    ').concat(this.topUI?n:"",'\n    </div></div></div></div>\n    <div class="').concat(this.elmClass,'__bg"></div>'),this.body.appendChild(e),this.modal=document.querySelector(".".concat(this.elmClass)),this.modalBg=document.querySelector(".".concat(this.elmClass,"__bg")),this.modalClaseButtons=document.querySelectorAll(".".concat(this.elmClass,"__close-button")),this.modalWrapper=document.querySelector(".".concat(this.elmClass,"__wrapper")),this.modalContent=document.querySelector(".".concat(this.elmClass,"__content")),this.allowSwipe){var i=new v(e);i.swipeLeft((function(e){t.next(e)})),i.swipeRight((function(e){t.prev(e)}
1))}}},{key:"createPager",value:function(t){var e=this;if(this.modalContent){var n=document.createElement("a"),i=document.createElement("a"),o="".concat(this.elmClass,t?"__bottom-prev":"__prev"),r="".concat(this.elmClass,t?"__bottom-next":"__next");if(n.setAttribute("class",o),n.setAttribute("href","#"),i.setAttribute("class",r),i.setAttribute("href","#"),n.textContent=this.prevText,i.textContent=this.nextText,n.addEventListener("click",(function(t){t.preventDefault(),e.prev(t)})),i.addEventListener("click",(function(t){t.preventDefault(),e.next(t)})),t&&this.bottomUI){var a=document.createElement("div");a.className="".concat(this.elmClass,"__bottom-ui");var s=document.createElement("a");s.textContent=this.closeText,s.className="".concat(this.elmClass,"__bottom-close"),s.setAttribute("href","#"),s.addEventListener("click",(function(t){t.preventDefault(),e.close(t)})),a.appendChild(s),this.currentGroup&&this.group[this.currentGroup].length>1&&(a.insertBefore(n,s),a.appendChild(i)),t.appendChild(a)}else this.sideUI&&this.currentGroup&&this.group[this.currentGroup].length>1&&(this.modalContent.appendChild(n),this.modalContent.appendChild(i))}}},{key:"openModal",value:function(t,e){if(!this.isOpened){e?(this.currentGroup=e,this.createPager()):this.currentGroup=null,this.current=t;var n=t.replace(/^#/,""),i=document.getElementById(n);if(i&&this.modalContent){var o=i.cloneNode(!0);o.removeAttribute("id"),o.setAttribute("class","".concat(this.elmClass,"__view")),o.setAttribute("onwheel","event.stopPropagation()"),o.setAttribute("id","display-"+n),this.modalElement=o,this.modalContent.appendChild(this.modalElement),this.show()}}}},{key:"grouping",value:function(t,e){this.group[t]||(this.group[t]=[]),-1===this.group[t].indexOf(e)&&this.group[t].push(e)}},{key:"openYT",value:function(t){if(this.modalContent&&!this.isOpened){this.modal&&this.modal.classList.add(this.elmYTClass);var e=document.createElement("div");e.setAttribute("class",this.movieClass),e.innerHTML='<div class="'.concat(this.movieClass,'__wrapper"><div class="').concat(this.movieClass,'__body"></div></div>'),this.modalContent.appendChild(e),this.modalMovie=e;var n=e.querySelector(".".concat(this.movieClass,"__body"));if(n){var i,o=null!==(i=t.width)&&void 0!==i?i:960,r=9*o/16;h()(n,{width:o,height:r,videoId:t.youtubeId,playerVars:{rel:0,enablejsapi:1}})}this.show()}}},{key:"show",value:function(){var t=this;this.isOpened||this.modal&&this.modalBg&&(r.a.set(this.modal,{display:"block",opacity:0}
1),r.a.set(this.modalBg,{opacity:.2}),r.a.to(this.modal,{opacity:1,duration:this.delay,onStart:function(){t.isOpened||(t.setPosition(),t.modalElement&&t.createPager(t.modalElement),t.isOpened=!0)}}))}},{key:"close",value:function(t){var e=this;t&&t.stopPropagation(),r.a.to(this.modal,{opacity:0,duration:this.delay,onComplete:function(){e.clearPosition(),e.modal&&(e.modal.classList.remove(e.elmYTClass),e.modal.style.display="none"),e.clearModalContent(),e.isOpened=!1}})}},{key:"changeModalContent",value:function(t){var e=this,n=t.replace(/^#/,""),i=document.getElementById(n);if(i&&this.modalContent&&this.modalElement){var o=i.cloneNode(!0);o.removeAttribute("id"),o.setAttribute("class","".concat(this.elmClass,"__view")),o.setAttribute("onwheel","event.stopPropagation()"),o.setAttribute("id","display-"+n),r.a.set(this.modalElement,{opacity:1}),r.a.to(this.modalElement,{opacity:0,duration:this.delay,onComplete:function(){e.modalContent&&e.modalElement&&(e.modalElement.style.display="none",e.modalContent.removeChild(e.modalElement),e.modalElement=o,e.modalContent.appendChild(e.modalElement),e.createPager(e.modalElement),r.a.set(e.modalElement,{opacity:0}),r.a.to(e.modalElement,{opacity:1,duration:e.delay}))}})}}},{key:"clearModalContent",value:function(){if(this.modalContent&&this.modalMovie&&(this.modalContent.removeChild(this.modalMovie),this.modalMovie=null),this.modalContent&&this.modalElement){var t=this.modalContent.getElementsByClassName("".concat(this.elmClass,"__prev"))[0],e=this.modalContent.getElementsByClassName("".concat(this.elmClass,"__next"))[0];t&&e&&(this.modalContent.removeChild(t),this.modalContent.removeChild(e)),this.modalContent.removeChild(this.modalElement),this.modalElement=null}}},{key:"next",value:function(t){if(null!=this.currentIndex&&this.currentGroup&&!(this.group[this.currentGroup].length<=1)){t.stopPropagation();var e=this.group[this.currentGroup].length===this.currentIndex+1?0:this.currentIndex+1;this.current=this.group[this.currentGroup][e],this.modalWrapper&&!this.isIE&&this.modalWrapper.scrollTo({top:0,behavior:"smooth"})}}},{key:"prev",value:function(t){if(null!=this.currentIndex&&this.currentGroup&&!(this.group[this.currentGroup].length<=1)){t.stopPropagation();var e=this.group[this.currentGroup].length,n=0===this.currentIndex?e-1:this.currentIndex-1;this.current=this.group[this.currentGroup][n],this.modalWrapper&&!this.isIE&&this.modalWrapper.scrollTo({top:0,behavior:"smooth"})}}}])&&C(e.prototype,n),i&&C(e,i),a}(u);O._instance=void 0;var k,S,L=n(147),j=n.n(L),P=(n(202),n(0));function T(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}j.a.polyfill(),k=new P.f(".cc-creation-fm-item",{modules:[P.a,P.d,P.e,P.b],loop:!0,slidesPerView:1.25,pagination:{el:".swiper-pagination--creation",clickable:!0},navigation:{nextEl:".swiper-button-next--creation",prevEl:".swiper-button-prev--creation"},mousewheel:{forceToAxis:!0},breakpoints:{768:{slidesPerView:4}}}),(S=document.querySelectorAll(".cc-creation .swiper-slide")).forEach((function(t){var e=t.querySelector(".cc-creation-fm__link");e&&(e.style.pointerEvents="none")})),S.forEach((function(t){t.addEventListener("click",(function(){var e=Number(t.getAttribute("data-swiper-slide-index"));k.slideToLoop(e),S.forEach((function(t){var e=t.querySelector(".cc-creation-fm__link");e&&(e.style.pointerEvents="none")}))}))}));!function(){o.instance.initialize();var t=O.getInstance({fixElements:[".l_content"]});Array.from(document.querySelectorAll(".js_themeModalOpen")).forEac
1h((function(e){var n=e.getAttribute("data-target"),i=e.getAttribute("data-group");n&&(i&&t.grouping(i,n),e.addEventListener("click",(function(e){e.preventDefault(),i?t.openModal(n,i):t.openModal(n)})))}));var e=function(){var t=document.documentElement.clientWidth/100;document.documentElement.style.setProperty("--vw","".concat(t,"px"))};window.addEventListener("DOMContentLoaded",e),window.addEventListener("resize",e);var n,i,r,a=document.querySelectorAll(".header-menu__item"),s=document.querySelector(".header-menu-bottom");a.forEach((function(t){t.addEventListener("mouseover",(function(e){t.contains(e.relatedTarget)||window.innerWidth>=768&&(clearTimeout(r),n=!0,i=setTimeout((function(){a.forEach((function(t){t.classList.remove("is-active");var e=t.querySelector(".header-menu-row");e&&e.classList.remove("is-active"),s.removeAttribute("style")}));var e,n=t.getAttribute("data-target"),i=document.querySelector('[data-group="'.concat(n,'"]'));n&&i&&(t.classList.add("is-active"),i.classList.add("is-active"),e=i.offsetHeight),s&&(s.style.height=e+"px")}),200))})),t.addEventListener("mouseout",(function(e){if(!t.contains(e.relatedTarget)&&window.innerWidth>=768){clearTimeout(i);var o=t.getAttribute("data-target"),a=document.querySelectorAll('[data-group="'.concat(o,'"]'));n=!1,o&&t.classList.contains("is-active")&&(r=setTimeout((function(){n||(a.forEach((function(e){t.classList.remove("is-active"),e.classList.remove("is-active")})),s&&s.removeAttribute("style"))}),500))}}))}));var l=document.querySelector(".page-top");document.querySelector(".l_wrap").offsetHeight,document.addEventListener("DOMContentLoaded",(function(){l.style.opacity="0",window.addEventListener("scroll",(function(){window.scrollY>100?l.style.opacity="1":l.style.opacity="0",document.documentElement.scrollHeight-(window.innerHeight+window.scrollY)<=document.querySelector("footer").offsetHeight?l.removeAttribute("style"):(l.style.position="fixed",l.style.top="auto",l.style.bottom="0")}))}));var c=document.querySelectorAll(".js-menu"),u=document.querySelectorAll(".js-menu-text");c.forEach((function(t){t.addEventListener("click",(function(){t.classList.toggle("is-active"),t.closest(".header-menu__head").classList.toggle("is-active")}))})),u.forEach((function(t){t.addEventListener("click",(function(){t.nextElementSibling.classList.toggle("is-active"),t.closest(".header-menu__head").classList.toggle("is-active")}))}));var d=document.querySelectorAll(".header-menu-btn"),h=document.querySelector(".header-menu");d.forEach((function(t){t.addEventListener("click",(function(){d.forEach((function(t){t.classList.toggle("is-active")})),h.classList.toggle("is-active")}))}));window.addEventListener("resize",(function(){window.innerWidth>=768&&c.forEach((function(t){t.classList.remove("is-active")}))}));var f=document.querySelector(".js_copyUrlBtn");if(f){var m=window.location.href;f.setAttribute("data-clipboard-text",m),f.addEventListener("click",(function(t){var e=t.currentTarget.getAttribute("data-clipboard-text");navigator.clipboard.writeText(e)}))}document.addEventListener("DOMContentLoaded",(function(){setTimeout((function(){var t=document.querySelector("input.gsc-input");t&&(t.placeholder="検索したいワードを入力してください")}),1e3)})),document.querySelectorAll(".m_archive").forEach((function(t){var e=t.querySelectorAll(".m_archive_item"),n=function(){for(var t=[],n=0;n<e.length;n+=3)t.push(Array.from(e).slice(n,n+3));t.forEach((function(t){var e=t.map((function(t){return t.querySelectorAll(".js-archive_element")[1]})),n=e.map((function(t){return t.style.height="auto",t.offsetHeight})),i=Math.max.apply(Math,T(n));e.forEach((function(t){t.style.height="".concat(i,"px")}))}))};window.addEventListener("load",n),window.addEventListener("resize",n)}));var p=document.querySelector(".m_ttl_text");p&&("コミュニティクリエイション®"===p.textContent?p.innerHTML='コミュニティ<br class="u-hidden--pc">クリエイション&reg;':"VISION/PURPOSE/VALUES"===p.textContent?p.innerHTML='VISION/<br class="u-hidden--pc">PURPOSE/<br class="u-hidden--pc">VALUES':"HUMAN CAPITAL"===p.textContent?p.innerHTML='HUMAN <br class="u-hidden--pc">CAPITAL':"コミュニティクリエイション®事例"===p.textContent&&(p.innerHTML='コミュニティ<br class="u-hidden--pc">クリエイション&reg;事例'))}()}});

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.