window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}
gtag('js',new Date());gtag('config','G-9JEC39MNB2');
window._wpemojiSettings={"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.childpit.online\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.6.2"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
var aurora_heatmap={"_mode":"reporter","ajax_url":"https:\/\/www.childpit.online\/wp-admin\/admin-ajax.php","action":"aurora_heatmap","reports":"click_pc,click_mobile","debug":"0","ajax_delay_time":"3000","ajax_interval":"10","ajax_bulk":null};
/*! For license information please see aurora-heatmap.min.js.LICENSE.txt */
(()=>{var e,t,r,n,a={345:(e,t,r)=>{"use strict";r.d(t,{c:()=>n}),r(195);class n{constructor(e){if(!(e.active_tab in this))throw new Error("Aurora Heatmap: invalid config parameter.");this[e.active_tab](e)}view(e){const t=document.getElementById("ahm-description"),r=document.getElementById("ahm-legend"),n=document.getElementsByClassName("wp-list-table")[0];if(!t||!n)return;const a=[{column:"click",legend:e.click_heatmap},{column:"breakaway",legend:e.breakaway_heatmap},{column:"attention",legend:e.attention_heatmap}];let i;n.addEventListener("mousemove",(e=>{let n=document.elementFromPoint(e.clientX,e.clientY);if(!i||i!==n){for(i=n;"TD"!==n.tagName&&"TH"!==n.tagName;){if("TABLE"===n.tagName)return;if(n=n.parentElement,!n)return}a.some((e=>{const a=`column-${e.column}_pc`,i=`column-${e.column}_mobile`,o=`${e.column}-heatmap`;if((n.classList.contains(a)||n.classList.contains(i))&&o!==t.className)return t.className=o,r.innerText=e.legend,!0}))}})),this.set_viewer()}unread(){this.set_viewer()}set_viewer(){let e;document.querySelectorAll(".ahm-view").forEach((t=>{t.addEventListener("click",(r=>{e&&e.outerWidth!==parseInt(t.dataset.width)&&e.close(),e=window.open(t.dataset.url,"Aurora Heatmap Viewer",`scrollbars=yes, resizable=no, location=yes, width=${t.dataset.width}, height=600`),r.preventDefault()}),{passive:!1})}))}settings(){document.querySelectorAll(".ahm-radio-group").forEach((e=>{const t=e.parentElement.querySelectorAll('input[type="text"]');if(!t||!t.length)return;const r=(e=>t=>{e.form[e.name].forEach((e=>{const t=e.nextElementSibling.children[1],r=t.classList.contains("disabled")||e.disabled||!e.checked;t.querySelectorAll(".inner-label").forEach((e=>{e.style.opacity=r?".6":"1"})),t.querySelectorAll('input[type="text"]').forEach((e=>{e.disabled=r}))}))})(e);r(),e.addEventListener("input",r)})),document.getElementById("ahm-options-form")?.addEventListener("keydown",(e=>{if(13===e.which)return document.getElementById("ahm-options-save").click(),e.preventDefault(),!1}))}}},777:(e,t,r)=>{"use strict";r.a(e,(async(e,t)=>{try{var n=r(345),a=r(270),i=r(517);try{await o(["aurora_heatmap"]),s(window.aurora_heatmap)}catch(l){console.error(l)}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;Date.now();const r=e.map((e=>new Promise(((r,n)=>{const a=()=>e in window?r(window[e]):t<Date.now()?n(`Aurora Heatmap: Timeout while waiting for ${e}.`):void setTimeout(a,100);return a()}))));return r.push(new Promise(((e,t)=>{if("loading"!==document.readyState)return e();document.addEventListener("DOMContentLoaded",(()=>e()))}))),Promise.all(r)}function s(e){if(!e)throw new Error("Aurora Heatmap: missing aurora_heatmap config.");switch(e._mode){case"admin":return new n.c(e);case"viewer":return new a.p(e);case"reporter":return new i.A(e);default:throw new Error("Aurora Heatmap: invalid aurora_heatmap._mode.")}}t()}catch(c){t(c)}}),1)},517:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(820),a=r.n(n);class i{readY=0;readPosition=1;readTimerCount=0;maxReadY=0;disabled=!1;ajax_delay=0;constructor(e){document.documentElement,document.body,this.config=e,e.reports=e.reports.split(","),e.debug=!!parseInt(e.debug),e.ajax_delay_time=parseInt(e.ajax_delay_time),e.ajax_interval=1e3*(parseInt(e.ajax_interval)||10),e.ajax_bulk=parseInt(e.ajax_bulk)||10,Number.isInteger(e.ajax_delay_time)||(e.ajax_delay_time=3e3),this.ajax_delay=Date.now()+e.ajax_delay_time;const t=new(a())(window.navigator.userAgent);switch(e.access=t.mobile()?"mobile":t.tablet()?"tablet":"pc",e.access){case"mobile":this.readPosition=.1,window.addEventListener("pagehide",(e=>this.push_breakaway(e))),Array.prototype.forEach.call(document.body.children,(e=>e.addEventListener("click",(e=>this.push_click(e)))));break;case"pc":this.readPosition=.5,window.addEventListener("beforeunload",(e=>this.push_breakaway(e))),document.addEventListener("click",(e=>this.push_click(e)));break;default:return}window.setInterval((()=>this.calc_attention()),1e3)}getReadY(){return Math.floor(this.getScrollTop()+this.getWindowHeight()*this.readPosition)}calc_attention(){const e=this.getReadY();this.maxReadY=Math.max(this.maxReadY,e),e===this.readY?this.readTimerCount++:this.readTimerCount=0,this.readY=e,3===this.readTimerCount&&this.push_attention()}getCursorPos(e){const t=document.documentElement,r=document.body;return(e.clientX||e.clientY)&&r.scrollLeft?{x:e.clientX+r.scrollLeft,y:e.clientY+r.scrollTop}:(e.clientX||e.clientY)&&"CSS1Compat"==document.compatMode&&t.scrollLeft?{x:e.clientX+t.scrollLeft,y:e.clientY+t.scrollTop}:e.pageX||e.pageY?{x:e.pageX,y:e.pageY}:void 0}push_click(e){const t=this.getCursorPos(e);t&&(t.event="click_"+this.config.access,this.push_data(t,!0))}getContentEnd(){let e=document.getElementsByClassName("ahm-content-end-marker"),t=0;return e&&e.length&&(e=e[e.length-1],t=this.getPageHeight()-window.pageYOffset-e.getBoundingClientRect().bottom,t=Math.max(0,t)),t}push_breakaway(e){this.push_data({event:"breakaway_"+this.config.access,x:this.getContentEnd(),y:Math.max(this.maxReadY,this.getReadY())},!1)}push_attention(){this.push_data({event:"attention_"+this.config.access,x:this.getContentEnd(),y:this.readY},!0)}getScrollTop(){const e=document.documentElement,t=document.body;return e.scrollTop||t.scrollTop}getPageWidth(){const e=document.documentElement,t=document.body;return e.clientWidth||t.clientWidth||0}getPageHeight(){const e=document.documentElement,t=document.body;return Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight)}getWindowHeight(){const e=document.documentElement;return window.innerHeight||e.clientHeight||0}stack=[];build_preview(e){return`<div><b>event=</b>${e.event} <b>x=</b> ${"x"in e?e.x:"null"} <b>y=</b> ${e.y} <b>height=</b> ${e.height} <b>width=</b> ${e.width}</div>`}show_preview(e,t,r,n){const a=document.createElement("div");a.setAttribute("style","color: #000; padding: 0.2em; position: fixed; right: 0; border: 1px solid #000; font-family: monospace; z-index: 999999;"),a.style.background=r.background,a.style.top=r.top,a.innerHTML=`<div style="color: ${r.color}"><b>${e}</b></div>${t.map(this.build_preview).join("")}`,document.body.appendChild(a),window.setTimeout((()=>document.body.removeChild(a)),n)}push_data(e,t){if(this.disabled)return;const r=Date.now();let n;if(e&&~this.config.reports.indexOf(e.event)&&(e.time=r,e.width=this.getPageWidth(),e.height=this.getPageHeight(),this.stack.push(e),this.config.debug&&this.show_preview("Store",[e],{color:"#963",background:"#ffc",top:"0"},1e3)),r<=this.ajax_delay)return;const a=this.stack.reduce(((e,t)=>Math.min(e,t.time)),r);if(t&&r-a<this.config.ajax_interval&&this.stack.length<this.config.ajax_bulk)return;if(!this.stack.length)return;[n,this.stack]=[this.stack,[]],n.forEach((e=>{e.time=Math.floor((e.time-r)/1e3),e.x=Math.floor(e.x),e.y=Math.floor(e.y),e.width=Math.floor(e.width),e.height=Math.floor(e.height)})),this.config.debug&&this.show_preview("Send",n,{color:"#369",background:"#cff",top:"4em"},5e3);const i=new FormData;i.append("action",this.config.action),i.append("url",document.location.href),i.append("title",document.title),n.forEach(((e,t)=>{Object.keys(e).forEach((r=>{i.append(`data[${t}][${r}]`,e[r])}))})),navigator.sendBeacon&&navigator.sendBeacon(this.config.ajax_url,i)||fetch(this.config.ajax_url,{method:"POST",body:i,mode:"same-origin",cache:"no-cache",keepalive:t}).catch((e=>{console.error(e)}))}}},270:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(434),a=r.n(n),i=r(195),o=r.n(i);class s{constructor(e){this.config=e,document.documentElement;const t=document.body;e.count_bar=parseInt(e.count_bar),e.width=parseInt(e.width);const r=JSON.parse(e.data),n=this.createHeatmapContainer();switch(this.set_viewport(),e.event.endsWith("_pc")&&(t.style.webkitTextSizeAdjust="100%",t.style.textSizeAdjust="100%"),e.event){case"click_pc":case"click_mobile":return this.drawHeatmap(n,r);case"breakaway_pc":case"breakaway_mobile":return this.drawVerticalHeatmap(n,r,o().scale(["#848484","#9A9B6C","#B0A25A","#C0A847","#E29A34","#FD8D3C"]).mode("lab"),!0);case"attention_pc":case"attention_mobile":return this.drawVerticalHeatmap(n,r,o().scale(["#004046","#006D72","#00CED1","#FFD700","#FFFF00"]).domain([0,.06,.16,.9,1]).mode("lab"),!1)}}set_viewport(){const e=this.config.width;if(e){var t=document.querySelector('meta[name="viewport"]'),r=`width=${e}`;t?t.content=r:((t=document.createElement("meta")).name="viewport",t.content=r,document.head.appendChild(t))}}getPageHeight(){return Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight)}createHeatmapContainer(){const e=document.createElement("div"),t=document.createElement("div");e.className="ahm-heatmap-container",t.className="ahm-heatmap-flow";let r=0;return e.appendChild(t),document.body.appendChild(e),window.addEventListener("scroll",(e=>{const n=document.documentElement.scrollTop||document.body.scrollTop;r!==n&&(r=n,t.style.top=-n-t.parentElement.getBoundingClientRect().top+"px")})),t}drawVerticalHeatmap(e,t,r,n){if(!t)return;n&&(t.ratios=function(e){const t=e.map((e=>10*Math.floor(10*e))),r=new Array(e.length);return t.reduce(((e,n,a)=>(e!==n&&(r[a]=t[a]+"%"),n))),r}(t.ratios));let a,i=t.colors.length-1;e.style.minHeight=40*t.colors.length+"px",t.colors.forEach(((o,s)=>{const l=document.createElement("div");let c;const u=s<i?t.colors[s+1][0]:o[3]||o[2]||o[1]||o[0];c=o[0]===o[2]&&o[2]===u?r(u).alpha(.5).css():"linear-gradient(to bottom,"+[r(o[0]).alpha(.5).css(),r(o[1]||o[0]).alpha(.5).css(),r(o[2]||o[1]||o[0]).alpha(.5).css(),r(o[3]||o[2]||o[1]||o[0]).alpha(.5).css(),r(u).alpha(.5).css()].join(",")+")",l.setAttribute("style","background:"+c),a=u,n&&t.ratios[s]&&(l.innerHTML=`<span>${t.ratios[s]}</span>`),this.config.count_bar&&(l.innerHTML+=`<span class="count-bar">${t.counts[s]}</span>`),l.className="height-40px",e.appendChild(l)}));const o=document.createElement("div");o.setAttribute("style","flex: 1 1 auto; width: 100%; background: "+r(a).alpha(.5).css()+";"),e.appendChild(o)}drawHeatmap(e,t){this.config.count_bar&&t.counts.forEach(((t,r)=>{const n=document.createElement("div");n.className="count-bar",n.style.top=40*r+"px",n.innerText=t,e.appendChild(n)}));const r=Math.ceil(t.points.reduce(((e,t)=>Math.max(t.y,e)),0)/4e3);for(var n=0;n<=r;n++){const r="heatmapCanvas"+n,o=document.createElement("div"),s=4e3*n;o.setAttribute("id",r),o.style.width=this.config.width+"px",o.style.height="4000px",e.appendChild(o);var i=a().create({container:o,maxOpacity:.6,radius:50,blur:.9,backgroundColor:"transparent"});o.style.top="0px",i.setData({min:0,max:5,data:t.points.map((e=>({x:e.x,y:e.y-s,value:1})))})}}}},434:function(e,t,r){var n,a,i;i=function(){var e,t={defaultRadius:40,defaultRenderer:"canvas2d",defaultGradient:{.25:"rgb(0,0,255)",.55:"rgb(0,255,0)",.85:"yellow",1:"rgb(255,0,0)"},defaultMaxOpacity:1,defaultMinOpacity:0,defaultBlur:.85,defaultXField:"x",defaultYField:"y",defaultValueField:"value",plugins:{}},r=function(){var e=function(e){this._coordinator={},this._data=[],this._radi=[],this._min=10,this._max=1,this._xField=e.xField||e.defaultXField,this._yField=e.yField||e.defaultYField,this._valueField=e.valueField||e.defaultValueField,e.radius&&(this._cfgRadius=e.radius)},r=t.defaultRadius;return e.prototype={_organiseData:function(e,t){var n=e[this._xField],a=e[this._yField],i=this._radi,o=this._data,s=this._max,l=this._min,c=e[this._valueField]||1,u=e.radius||this._cfgRadius||r;o[n]||(o[n]=[],i[n]=[]),o[n][a]?o[n][a]+=c:(o[n][a]=c,i[n][a]=u);var T=o[n][a];return T>s?(t?this.setDataMax(T):this._max=T,!1):T<l?(t?this.setDataMin(T):this._min=T,!1):{x:n,y:a,value:c,radius:u,min:l,max:s}},_unOrganizeData:function(){var e=[],t=this._data,r=this._radi;for(var n in t)for(var a in t[n])e.push({x:n,y:a,radius:r[n][a],value:t[n][a]});return{min:this._min,max:this._max,data:e}},_onExtremaChange:function(){this._coordinator.emit("extremachange",{min:this._min,max:this._max})},addData:function(){if(arguments[0].length>0)for(var e=arguments[0],t=e.length;t--;)this.addData.call(this,e[t]);else{var r=this._organiseData(arguments[0],!0);r&&(0===this._data.length&&(this._min=this._max=r.value),this._coordinator.emit("renderpartial",{min:this._min,max:this._max,data:[r]}))}return this},setData:function(e){var t=e.data,r=t.length;this._data=[],this._radi=[];for(var n=0;n<r;n++)this._organiseData(t[n],!1);return this._max=e.max,this._min=e.min||0,this._onExtremaChange(),this._coordinator.emit("renderall",this._getInternalData()),this},removeData:function(){},setDataMax:function(e){return this._max=e,this._onExtremaChange(),this._coordinator.emit("renderall",this._getInternalData()),this},setDataMin:function(e){return this._min=e,this._onExtremaChange(),this._coordinator.emit("renderall",this._getInternalData()),this},setCoordinator:function(e){this._coordinator=e},_getInternalData:function(){return{max:this._max,min:this._min,data:this._data,radi:this._radi}},getData:function(){return this._unOrganizeData()}},e}(),n=function(){var e=function(e){var t=e.gradient||e.defaultGradient,r=document.createElement("canvas"),n=r.getContext("2d");r.width=256,r.height=1;var a=n.createLinearGradient(0,0,256,1);for(var i in t)a.addColorStop(i,t[i]);return n.fillStyle=a,n.fillRect(0,0,256,1),n.getImageData(0,0,256,1).data},t=function(e,t){var r=document.createElement("canvas"),n=r.getContext("2d"),a=e,i=e;if(r.width=r.height=2*e,1==t)n.beginPath(),n.arc(a,i,e,0,2*Math.PI,!1),n.fillStyle="rgba(0,0,0,1)",n.fill();else{var o=n.createRadialGradient(a,i,e*t,a,i,e);o.addColorStop(0,"rgba(0,0,0,1)"),o.addColorStop(1,"rgba(0,0,0,0)"),n.fillStyle=o,n.fillRect(0,0,2*e,2*e)}return r};function r(t){var r=t.container,n=this.shadowCanvas=document.createElement("canvas"),a=this.canvas=t.canvas||document.createElement("canvas"),i=(this._renderBoundaries=[1e4,1e4,0,0],getComputedStyle(t.container)||{});a.className="heatmap-canvas",this._width=a.width=n.width=t.width||+i.width.replace(/px/,""),this._height=a.height=n.height=t.height||+i.height.replace(/px/,""),this.shadowCtx=n.getContext("2d"),this.ctx=a.getContext("2d"),a.style.cssText=n.style.cssText="position:absolute;left:0;top:0;",r.style.position="relative",r.appendChild(a),this._palette=e(t),this._templates={},this._setStyles(t)}return r.prototype={renderPartial:function(e){e.data.length>0&&(this._drawAlpha(e),this._colorize())},renderAll:function(e){this._clear(),e.data.length>0&&(this._drawAlpha(function(e){for(var t=[],r=e.min,n=e.max,a=e.radi,i=(e=e.data,Object.keys(e)),o=i.length;o--;)for(var s=i[o],l=Object.keys(e[s]),c=l.length;c--;){var u=l[c],T=e[s][u],d=a[s][u];t.push({x:s,y:u,value:T,radius:d})}return{min:r,max:n,data:t}}(e)),this._colorize())},_updateGradient:function(t){this._palette=e(t)},updateConfig:function(e){e.gradient&&this._updateGradient(e),this._setStyles(e)},setDimensions:function(e,t){this._width=e,this._height=t,this.canvas.width=this.shadowCanvas.width=e,this.canvas.height=this.shadowCanvas.height=t},_clear:function(){this.shadowCtx.clearRect(0,0,this._width,this._height),this.ctx.clearRect(0,0,this._width,this._height)},_setStyles:function(e){this._blur=0==e.blur?0:e.blur||e.defaultBlur,e.backgroundColor&&(this.canvas.style.backgroundColor=e.backgroundColor),this._width=this.canvas.width=this.shadowCanvas.width=e.width||this._width,this._height=this.canvas.height=this.shadowCanvas.height=e.height||this._height,this._opacity=255*(e.opacity||0),this._maxOpacity=255*(e.maxOpacity||e.defaultMaxOpacity),this._minOpacity=255*(e.minOpacity||e.defaultMinOpacity),this._useGradientOpacity=!!e.useGradientOpacity},_drawAlpha:function(e){for(var r=this._min=e.min,n=this._max=e.max,a=(e=e.data||[]).length,i=1-this._blur;a--;){var o,s=e[a],l=s.x,c=s.y,u=s.radius,T=Math.min(s.value,n),d=l-u,b=c-u,f=this.shadowCtx;this._templates[u]?o=this._templates[u]:this._templates[u]=o=t(u,i);var h=(T-r)/(n-r);f.globalAlpha=h<.01?.01:h,f.drawImage(o,d,b),d<this._renderBoundaries[0]&&(this._renderBoundaries[0]=d),b<this._renderBoundaries[1]&&(this._renderBoundaries[1]=b),d+2*u>this._renderBoundaries[2]&&(this._renderBoundaries[2]=d+2*u),b+2*u>this._renderBoundaries[3]&&(this._renderBoundaries[3]=b+2*u)}},_colorize:function(){var e=this._renderBoundaries[0],t=this._renderBoundaries[1],r=this._renderBoundaries[2]-e,n=this._renderBoundaries[3]-t,a=this._width,i=this._height,o=this._opacity,s=this._maxOpacity,l=this._minOpacity,c=this._useGradientOpacity;e<0&&(e=0),t<0&&(t=0),e+r>a&&(r=a-e),t+n>i&&(n=i-t);for(var u=this.shadowCtx.getImageData(e,t,r,n),T=u.data,d=T.length,b=this._palette,f=3;f<d;f+=4){var h,S=T[f],M=4*S;M&&(h=o>0?o:S<s?S<l?l:S:s,T[f-3]=b[M],T[f-2]=b[M+1],T[f-1]=b[M+2],T[f]=c?b[M+3]:h)}u.data=T,this.ctx.putImageData(u,e,t),this._renderBoundaries=[1e3,1e3,0,0]},getValueAt:function(e){var t=this.shadowCtx.getImageData(e.x,e.y,1,1).data[3],r=this._max,n=this._min;return Math.abs(r-n)*(t/255)|0},getDataURL:function(){return this.canvas.toDataURL()}},r}(),a=(e=!1,"canvas2d"===t.defaultRenderer&&(e=n),e),i=function(){for(var e={},t=arguments.length,r=0;r<t;r++){var n=arguments[r];for(var a in n)e[a]=n[a]}return e},o=function(){var e=function(){function e(){this.cStore={}}return e.prototype={on:function(e,t,r){var n=this.cStore;n[e]||(n[e]=[]),n[e].push((function(e){return t.call(r,e)}))},emit:function(e,t){var r=this.cStore;if(r[e])for(var n=r[e].length,a=0;a<n;a++)(0,r[e][a])(t)}},e}();function n(){var n,o,s,l,c=this._config=i(t,arguments[0]||{});if(this._coordinator=new e,c.plugin){var u=c.plugin;if(!t.plugins[u])throw new Error("Plugin '"+u+"' not found. Maybe it was not registered.");var T=t.plugins[u];this._renderer=new T.renderer(c),this._store=new T.store(c)}else this._renderer=new a(c),this._store=new r(c);o=(n=this)._renderer,s=n._coordinator,l=n._store,s.on("renderpartial",o.renderPartial,o),s.on("renderall",o.renderAll,o),s.on("extremachange",(function(e){n._config.onExtremaChange&&n._config.onExtremaChange({min:e.min,max:e.max,gradient:n._config.gradient||n._config.defaultGradient})})),l.setCoordinator(s)}return n.prototype={addData:function(){return this._store.addData.apply(this._store,arguments),this},removeData:function(){return this._store.removeData&&this._store.removeData.apply(this._store,arguments),this},setData:function(){return this._store.setData.apply(this._store,arguments),this},setDataMax:function(){return this._store.setDataMax.apply(this._store,arguments),this},setDataMin:function(){return this._store.setDataMin.apply(this._store,arguments),this},configure:function(e){return this._config=i(this._config,e),this._renderer.updateConfig(this._config),this._coordinator.emit("renderall",this._store._getInternalData()),this},repaint:function(){return this._coordinator.emit("renderall",this._store._getInternalData()),this},getData:function(){return this._store.getData()},getDataURL:function(){return this._renderer.getDataURL()},getValueAt:function(e){return this._store.getValueAt?this._store.getValueAt(e):this._renderer.getValueAt?this._renderer.getValueAt(e):null}},n}();return{create:function(e){return new o(e)},register:function(e,r){t.plugins[e]=r}}},e.exports?e.exports=i():void 0===(a="function"==typeof(n=i)?n.call(t,r,t,e):n)||(e.exports=a)},820:(e,t,r)=>{!function(e,t){e((function(){"use strict";var e,r={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},n=Object.prototype.hasOwnProperty;function a(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function i(e,t){var r,n,a=e.length;if(!a||!t)return!1;for(r=t.toLowerCase(),n=0;n<a;++n)if(r===e[n].toLowerCase())return!0;return!1}function o(e){for(var t in e)n.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function s(e,t){this.ua=function(e){return(e||"").substr(0,500)}(e),this._cache={},this.maxPhoneWidth=t||600}return r.FALLBACK_PHONE="UnknownPhone",r.FALLBACK_TABLET="UnknownTablet",r.FALLBACK_MOBILE="UnknownMobile",e="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var t,a,i,s,l,c,u=r.mobileDetectRules;for(t in u.props)if(n.call(u.props,t)){for(a=u.props[t],e(a)||(a=[a]),l=a.length,s=0;s<l;++s)(c=(i=a[s]).indexOf("[VER]"))>=0&&(i=i.substring(0,c)+"([\\w._\\+]+)"+i.substring(c+5)),a[s]=new RegExp(i,"i");u.props[t]=a}o(u.oss),o(u.phones),o(u.tablets),o(u.uas),o(u.utils),u.oss0={WindowsPhoneOS:u.oss.WindowsPhoneOS,WindowsMobileOS:u.oss.WindowsMobileOS}}(),r.findMatch=function(e,t){for(var r in e)if(n.call(e,r)&&e[r].test(t))return r;return null},r.findMatches=function(e,t){var r=[];for(var a in e)n.call(e,a)&&e[a].test(t)&&r.push(a);return r},r.getVersionStr=function(e,t){var a,i,o,s,l=r.mobileDetectRules.props;if(n.call(l,e))for(o=(a=l[e]).length,i=0;i<o;++i)if(null!==(s=a[i].exec(t)))return s[1];return null},r.getVersion=function(e,t){var n=r.getVersionStr(e,t);return n?r.prepareVersionNo(n):NaN},r.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},r.isMobileFallback=function(e){return r.detectMobileBrowsers.fullPattern.test(e)||r.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},r.isTabletFallback=function(e){return r.detectMobileBrowsers.tabletPattern.test(e)},r.prepareDetectionCache=function(e,n,a){if(e.mobile===t){var i,o,l;if(o=r.findMatch(r.mobileDetectRules.tablets,n))return e.mobile=e.tablet=o,void(e.phone=null);if(i=r.findMatch(r.mobileDetectRules.phones,n))return e.mobile=e.phone=i,void(e.tablet=null);r.isMobileFallback(n)?(l=s.isPhoneSized(a))===t?(e.mobile=r.FALLBACK_MOBILE,e.tablet=e.phone=null):l?(e.mobile=e.phone=r.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):r.isTabletFallback(n)?(e.mobile=e.tablet=r.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},r.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},r.detectOS=function(e){return r.findMatch(r.mobileDetectRules.oss0,e)||r.findMatch(r.mobileDetectRules.oss,e)},r.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},s.prototype={constructor:s,mobile:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return r.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=r.findMatch(r.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===t&&(this._cache.userAgents=r.findMatches(r.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===t&&(this._cache.os=r.detectOS(this.ua)),this._cache.os},version:function(e){return r.getVersion(e,this.ua)},versionStr:function(e){return r.getVersionStr(e,this.ua)},is:function(e){return i(this.userAgents(),e)||a(e,this.os())||a(e,this.phone())||a(e,this.tablet())||i(r.findMatches(r.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return s.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=r.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?s.isPhoneSized=function(e){return e<0?t:r.getDeviceSmallerSide()<=e}:s.isPhoneSized=function(){},s._impl=r,s.version="1.4.5 2021-03-13",s}))}(e.exports?function(t){e.exports=t()}:r.amdD)},195:function(e){e.exports=function(){"use strict";for(var e=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e<t?t:e>r?r:e},t=e,r={},n=0,a=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];n<a.length;n+=1){var i=a[n];r["[object "+i+"]"]=i.toLowerCase()}var o=function(e){return r[Object.prototype.toString.call(e)]||"object"},s=o,l=o,c=Math.PI,u={clip_rgb:function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var r=0;r<=3;r++)r<3?((e[r]<0||e[r]>255)&&(e._clipped=!0),e[r]=t(e[r],0,255)):3===r&&(e[r]=t(e[r],0,1));return e},limit:e,type:o,unpack:function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==s(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==l(e[t])?e[t].toLowerCase():null},PI:c,TWOPI:2*c,PITHIRD:c/3,DEG2RAD:c/180,RAD2DEG:180/c},T={format:{},autodetect:[]},d=u.last,b=u.clip_rgb,f=u.type,h=T,S=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=this;if("object"===f(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var n=d(e),a=!1;if(!n){a=!0,h.sorted||(h.autodetect=h.autodetect.sort((function(e,t){return t.p-e.p})),h.sorted=!0);for(var i=0,o=h.autodetect;i<o.length;i+=1){var s=o[i];if(n=s.test.apply(s,e))break}}if(!h.format[n])throw new Error("unknown format: "+e);var l=h.format[n].apply(null,a?e:e.slice(0,-1));r._rgb=b(l),3===r._rgb.length&&r._rgb.push(1)};S.prototype.toString=function(){return"function"==f(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var M=S,p=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(p.Color,[null].concat(e)))};p.Color=M,p.version="2.4.2";var P=p,A=u.unpack,G=Math.max,m=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=A(e,"rgb"),n=r[0],a=r[1],i=r[2],o=1-G(n/=255,G(a/=255,i/=255)),s=o<1?1/(1-o):0;return[(1-n-o)*s,(1-a-o)*s,(1-i-o)*s,o]},g=u.unpack,v=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=g(e,"cmyk"))[0],n=e[1],a=e[2],i=e[3],o=e.length>4?e[4]:1;return 1===i?[0,0,0,o]:[r>=1?0:255*(1-r)*(1-i),n>=1?0:255*(1-n)*(1-i),a>=1?0:255*(1-a)*(1-i),o]},B=P,H=M,C=T,E=u.unpack,w=u.type,y=m;H.prototype.cmyk=function(){return y(this._rgb)},B.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(H,[null].concat(e,["cmyk"])))},C.format.cmyk=v,C.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=E(e,"cmyk"),"array"===w(e)&&4===e.length)return"cmyk"}});var I=u.unpack,D=u.last,_=function(e){return Math.round(100*e)/100},k=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=I(e,"hsla"),n=D(e)||"lsa";return r[0]=_(r[0]||0),r[1]=_(100*r[1])+"%",r[2]=_(100*r[2])+"%","hsla"===n||r.length>3&&r[3]<1?(r[3]=r.length>3?r[3]:1,n="hsla"):r.length=3,n+"("+r.join(",")+")"},N=u.unpack,V=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=N(e,"rgba"))[0],n=e[1],a=e[2];r/=255,n/=255,a/=255;var i,o,s=Math.min(r,n,a),l=Math.max(r,n,a),c=(l+s)/2;return l===s?(i=0,o=Number.NaN):i=c<.5?(l-s)/(l+s):(l-s)/(2-l-s),r==l?o=(n-a)/(l-s):n==l?o=2+(a-r)/(l-s):a==l&&(o=4+(r-n)/(l-s)),(o*=60)<0&&(o+=360),e.length>3&&void 0!==e[3]?[o,i,c,e[3]]:[o,i,c]},L=u.unpack,x=u.last,O=k,R=V,F=Math.round,X=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=L(e,"rgba"),n=x(e)||"rgb";return"hsl"==n.substr(0,3)?O(R(r),n):(r[0]=F(r[0]),r[1]=F(r[1]),r[2]=F(r[2]),("rgba"===n||r.length>3&&r[3]<1)&&(r[3]=r.length>3?r[3]:1,n="rgba"),n+"("+r.slice(0,"rgb"===n?3:4).join(",")+")")},W=u.unpack,K=Math.round,U=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var n,a,i,o=(t=W(t,"hsl"))[0],s=t[1],l=t[2];if(0===s)n=a=i=255*l;else{var c=[0,0,0],u=[0,0,0],T=l<.5?l*(1+s):l+s-l*s,d=2*l-T,b=o/360;c[0]=b+1/3,c[1]=b,c[2]=b-1/3;for(var f=0;f<3;f++)c[f]<0&&(c[f]+=1),c[f]>1&&(c[f]-=1),6*c[f]<1?u[f]=d+6*(T-d)*c[f]:2*c[f]<1?u[f]=T:3*c[f]<2?u[f]=d+(T-d)*(2/3-c[f])*6:u[f]=d;n=(e=[K(255*u[0]),K(255*u[1]),K(255*u[2])])[0],a=e[1],i=e[2]}return t.length>3?[n,a,i,t[3]]:[n,a,i,1]},Q=U,Y=T,j=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,z=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Z=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,J=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,q=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,$=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ee=Math.round,te=function(e){var t;if(e=e.toLowerCase().trim(),Y.format.named)try{return Y.format.named(e)}catch(e){}if(t=e.match(j)){for(var r=t.slice(1,4),n=0;n<3;n++)r[n]=+r[n];return r[3]=1,r}if(t=e.match(z)){for(var a=t.slice(1,5),i=0;i<4;i++)a[i]=+a[i];return a}if(t=e.match(Z)){for(var o=t.slice(1,4),s=0;s<3;s++)o[s]=ee(2.55*o[s]);return o[3]=1,o}if(t=e.match(J)){for(var l=t.slice(1,5),c=0;c<3;c++)l[c]=ee(2.55*l[c]);return l[3]=+l[3],l}if(t=e.match(q)){var u=t.slice(1,4);u[1]*=.01,u[2]*=.01;var T=Q(u);return T[3]=1,T}if(t=e.match($)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var b=Q(d);return b[3]=+t[4],b}};te.test=function(e){return j.test(e)||z.test(e)||Z.test(e)||J.test(e)||q.test(e)||$.test(e)};var re=P,ne=M,ae=T,ie=u.type,oe=X,se=te;ne.prototype.css=function(e){return oe(this._rgb,e)},re.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ne,[null].concat(e,["css"])))},ae.format.css=se,ae.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===ie(e)&&se.test(e))return"css"}});var le=M,ce=P,ue=u.unpack;T.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=ue(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r},ce.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(le,[null].concat(e,["gl"])))},le.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var Te=u.unpack,de=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n=Te(e,"rgb"),a=n[0],i=n[1],o=n[2],s=Math.min(a,i,o),l=Math.max(a,i,o),c=l-s,u=100*c/255,T=s/(255-c)*100;return 0===c?r=Number.NaN:(a===l&&(r=(i-o)/c),i===l&&(r=2+(o-a)/c),o===l&&(r=4+(a-i)/c),(r*=60)<0&&(r+=360)),[r,u,T]},be=u.unpack,fe=Math.floor,he=function(){for(var e,t,r,n,a,i,o=[],s=arguments.length;s--;)o[s]=arguments[s];var l,c,u,T=(o=be(o,"hcg"))[0],d=o[1],b=o[2];b*=255;var f=255*d;if(0===d)l=c=u=b;else{360===T&&(T=0),T>360&&(T-=360),T<0&&(T+=360);var h=fe(T/=60),S=T-h,M=b*(1-d),p=M+f*(1-S),P=M+f*S,A=M+f;switch(h){case 0:l=(e=[A,P,M])[0],c=e[1],u=e[2];break;case 1:l=(t=[p,A,M])[0],c=t[1],u=t[2];break;case 2:l=(r=[M,A,P])[0],c=r[1],u=r[2];break;case 3:l=(n=[M,p,A])[0],c=n[1],u=n[2];break;case 4:l=(a=[P,M,A])[0],c=a[1],u=a[2];break;case 5:l=(i=[A,M,p])[0],c=i[1],u=i[2]}}return[l,c,u,o.length>3?o[3]:1]},Se=u.unpack,Me=u.type,pe=P,Pe=M,Ae=T,Ge=de;Pe.prototype.hcg=function(){return Ge(this._rgb)},pe.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Pe,[null].concat(e,["hcg"])))},Ae.format.hcg=he,Ae.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Se(e,"hcg"),"array"===Me(e)&&3===e.length)return"hcg"}});var me=u.unpack,ge=u.last,ve=Math.round,Be=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=me(e,"rgba"),n=r[0],a=r[1],i=r[2],o=r[3],s=ge(e)||"auto";void 0===o&&(o=1),"auto"===s&&(s=o<1?"rgba":"rgb");var l="000000"+((n=ve(n))<<16|(a=ve(a))<<8|(i=ve(i))).toString(16);l=l.substr(l.length-6);var c="0"+ve(255*o).toString(16);switch(c=c.substr(c.length-2),s.toLowerCase()){case"rgba":return"#"+l+c;case"argb":return"#"+c+l;default:return"#"+l}},He=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ce=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,Ee=function(e){if(e.match(He)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(Ce)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var r=parseInt(e,16);return[r>>24&255,r>>16&255,r>>8&255,Math.round((255&r)/255*100)/100]}throw new Error("unknown hex color: "+e)},we=P,ye=M,Ie=u.type,De=T,_e=Be;ye.prototype.hex=function(e){return _e(this._rgb,e)},we.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ye,[null].concat(e,["hex"])))},De.format.hex=Ee,De.autodetect.push({p:4,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===Ie(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var ke=u.unpack,Ne=u.TWOPI,Ve=Math.min,Le=Math.sqrt,xe=Math.acos,Oe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n=ke(e,"rgb"),a=n[0],i=n[1],o=n[2],s=Ve(a/=255,i/=255,o/=255),l=(a+i+o)/3,c=l>0?1-s/l:0;return 0===c?r=NaN:(r=(a-i+(a-o))/2,r/=Le((a-i)*(a-i)+(a-o)*(i-o)),r=xe(r),o>i&&(r=Ne-r),r/=Ne),[360*r,c,l]},Re=u.unpack,Fe=u.limit,Xe=u.TWOPI,We=u.PITHIRD,Ke=Math.cos,Ue=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,i=(e=Re(e,"hsi"))[0],o=e[1],s=e[2];return isNaN(i)&&(i=0),isNaN(o)&&(o=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?n=1-((a=(1-o)/3)+(r=(1+o*Ke(Xe*i)/Ke(We-Xe*i))/3)):i<2/3?a=1-((r=(1-o)/3)+(n=(1+o*Ke(Xe*(i-=1/3))/Ke(We-Xe*i))/3)):r=1-((n=(1-o)/3)+(a=(1+o*Ke(Xe*(i-=2/3))/Ke(We-Xe*i))/3)),[255*(r=Fe(s*r*3)),255*(n=Fe(s*n*3)),255*(a=Fe(s*a*3)),e.length>3?e[3]:1]},Qe=u.unpack,Ye=u.type,je=P,ze=M,Ze=T,Je=Oe;ze.prototype.hsi=function(){return Je(this._rgb)},je.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ze,[null].concat(e,["hsi"])))},Ze.format.hsi=Ue,Ze.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Qe(e,"hsi"),"array"===Ye(e)&&3===e.length)return"hsi"}});var qe=u.unpack,$e=u.type,et=P,tt=M,rt=T,nt=V;tt.prototype.hsl=function(){return nt(this._rgb)},et.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(tt,[null].concat(e,["hsl"])))},rt.format.hsl=U,rt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=qe(e,"hsl"),"array"===$e(e)&&3===e.length)return"hsl"}});var at=u.unpack,it=Math.min,ot=Math.max,st=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,i=(e=at(e,"rgb"))[0],o=e[1],s=e[2],l=it(i,o,s),c=ot(i,o,s),u=c-l;return a=c/255,0===c?(r=Number.NaN,n=0):(n=u/c,i===c&&(r=(o-s)/u),o===c&&(r=2+(s-i)/u),s===c&&(r=4+(i-o)/u),(r*=60)<0&&(r+=360)),[r,n,a]},lt=u.unpack,ct=Math.floor,ut=function(){for(var e,t,r,n,a,i,o=[],s=arguments.length;s--;)o[s]=arguments[s];var l,c,u,T=(o=lt(o,"hsv"))[0],d=o[1],b=o[2];if(b*=255,0===d)l=c=u=b;else{360===T&&(T=0),T>360&&(T-=360),T<0&&(T+=360);var f=ct(T/=60),h=T-f,S=b*(1-d),M=b*(1-d*h),p=b*(1-d*(1-h));switch(f){case 0:l=(e=[b,p,S])[0],c=e[1],u=e[2];break;case 1:l=(t=[M,b,S])[0],c=t[1],u=t[2];break;case 2:l=(r=[S,b,p])[0],c=r[1],u=r[2];break;case 3:l=(n=[S,M,b])[0],c=n[1],u=n[2];break;case 4:l=(a=[p,S,b])[0],c=a[1],u=a[2];break;case 5:l=(i=[b,S,M])[0],c=i[1],u=i[2]}}return[l,c,u,o.length>3?o[3]:1]},Tt=u.unpack,dt=u.type,bt=P,ft=M,ht=T,St=st;ft.prototype.hsv=function(){return St(this._rgb)},bt.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(ft,[null].concat(e,["hsv"])))},ht.format.hsv=ut,ht.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Tt(e,"hsv"),"array"===dt(e)&&3===e.length)return"hsv"}});var Mt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},pt=Mt,Pt=u.unpack,At=Math.pow,Gt=function(e){return(e/=255)<=.04045?e/12.92:At((e+.055)/1.055,2.4)},mt=function(e){return e>pt.t3?At(e,1/3):e/pt.t2+pt.t0},gt=function(e,t,r){return e=Gt(e),t=Gt(t),r=Gt(r),[mt((.4124564*e+.3575761*t+.1804375*r)/pt.Xn),mt((.2126729*e+.7151522*t+.072175*r)/pt.Yn),mt((.0193339*e+.119192*t+.9503041*r)/pt.Zn)]},vt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Pt(e,"rgb"),n=r[0],a=r[1],i=r[2],o=gt(n,a,i),s=o[0],l=o[1],c=116*l-16;return[c<0?0:c,500*(s-l),200*(l-o[2])]},Bt=Mt,Ht=u.unpack,Ct=Math.pow,Et=function(e){return 255*(e<=.00304?12.92*e:1.055*Ct(e,1/2.4)-.055)},wt=function(e){return e>Bt.t1?e*e*e:Bt.t2*(e-Bt.t0)},yt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r,n,a,i=(e=Ht(e,"lab"))[0],o=e[1],s=e[2];return n=(i+16)/116,r=isNaN(o)?n:n+o/500,a=isNaN(s)?n:n-s/200,n=Bt.Yn*wt(n),r=Bt.Xn*wt(r),a=Bt.Zn*wt(a),[Et(3.2404542*r-1.5371385*n-.4985314*a),Et(-.969266*r+1.8760108*n+.041556*a),Et(.0556434*r-.2040259*n+1.0572252*a),e.length>3?e[3]:1]},It=u.unpack,Dt=u.type,_t=P,kt=M,Nt=T,Vt=vt;kt.prototype.lab=function(){return Vt(this._rgb)},_t.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(kt,[null].concat(e,["lab"])))},Nt.format.lab=yt,Nt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=It(e,"lab"),"array"===Dt(e)&&3===e.length)return"lab"}});var Lt=u.unpack,xt=u.RAD2DEG,Ot=Math.sqrt,Rt=Math.atan2,Ft=Math.round,Xt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Lt(e,"lab"),n=r[0],a=r[1],i=r[2],o=Ot(a*a+i*i),s=(Rt(i,a)*xt+360)%360;return 0===Ft(1e4*o)&&(s=Number.NaN),[n,o,s]},Wt=u.unpack,Kt=vt,Ut=Xt,Qt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Wt(e,"rgb"),n=r[0],a=r[1],i=r[2],o=Kt(n,a,i),s=o[0],l=o[1],c=o[2];return Ut(s,l,c)},Yt=u.unpack,jt=u.DEG2RAD,zt=Math.sin,Zt=Math.cos,Jt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Yt(e,"lch"),n=r[0],a=r[1],i=r[2];return isNaN(i)&&(i=0),[n,Zt(i*=jt)*a,zt(i)*a]},qt=u.unpack,$t=Jt,er=yt,tr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=qt(e,"lch"))[0],n=e[1],a=e[2],i=$t(r,n,a),o=i[0],s=i[1],l=i[2],c=er(o,s,l);return[c[0],c[1],c[2],e.length>3?e[3]:1]},rr=u.unpack,nr=tr,ar=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=rr(e,"hcl").reverse();return nr.apply(void 0,r)},ir=u.unpack,or=u.type,sr=P,lr=M,cr=T,ur=Qt;lr.prototype.lch=function(){return ur(this._rgb)},lr.prototype.hcl=function(){return ur(this._rgb).reverse()},sr.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(lr,[null].concat(e,["lch"])))},sr.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(lr,[null].concat(e,["hcl"])))},cr.format.lch=tr,cr.format.hcl=ar,["lch","hcl"].forEach((function(e){return cr.autodetect.push({p:2,test:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if(t=ir(t,e),"array"===or(t)&&3===t.length)return e}})}));var Tr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},dr=T,br=u.type,fr=Tr,hr=Ee,Sr=Be;M.prototype.name=function(){for(var e=Sr(this._rgb,"rgb"),t=0,r=Object.keys(fr);t<r.length;t+=1){var n=r[t];if(fr[n]===e)return n.toLowerCase()}return e},dr.format.named=function(e){if(e=e.toLowerCase(),fr[e])return hr(fr[e]);throw new Error("unknown color name: "+e)},dr.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===br(e)&&fr[e.toLowerCase()])return"named"}});var Mr=u.unpack,pr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Mr(e,"rgb");return(r[0]<<16)+(r[1]<<8)+r[2]},Pr=u.type,Ar=P,Gr=M,mr=T,gr=u.type,vr=pr;Gr.prototype.num=function(){return vr(this._rgb)},Ar.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Gr,[null].concat(e,["num"])))},mr.format.num=function(e){if("number"==Pr(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},mr.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===gr(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var Br=P,Hr=M,Cr=T,Er=u.unpack,wr=u.type,yr=Math.round;Hr.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(yr)},Hr.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,r){return r<3?!1===e?t:yr(t):t}))},Br.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Hr,[null].concat(e,["rgb"])))},Cr.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Er(e,"rgba");return void 0===r[3]&&(r[3]=1),r},Cr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Er(e,"rgba"),"array"===wr(e)&&(3===e.length||4===e.length&&"number"==wr(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var Ir=Math.log,Dr=function(e){var t,r,n,a=e/100;return a<66?(t=255,r=a<6?0:-155.25485562709179-.44596950469579133*(r=a-2)+104.49216199393888*Ir(r),n=a<20?0:.8274096064007395*(n=a-10)-254.76935184120902+115.67994401066147*Ir(n)):(t=351.97690566805693+.114206453784165*(t=a-55)-40.25366309332127*Ir(t),r=325.4494125711974+.07943456536662342*(r=a-50)-28.0852963507957*Ir(r),n=255),[t,r,n,1]},_r=Dr,kr=u.unpack,Nr=Math.round,Vr=P,Lr=M,xr=T,Or=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r,n=kr(e,"rgb"),a=n[0],i=n[2],o=1e3,s=4e4;s-o>.4;){var l=_r(r=.5*(s+o));l[2]/l[0]>=i/a?s=r:o=r}return Nr(r)};Lr.prototype.temp=Lr.prototype.kelvin=Lr.prototype.temperature=function(){return Or(this._rgb)},Vr.temp=Vr.kelvin=Vr.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Lr,[null].concat(e,["temp"])))},xr.format.temp=xr.format.kelvin=xr.format.temperature=Dr;var Rr=u.unpack,Fr=Math.cbrt,Xr=Math.pow,Wr=Math.sign,Kr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=Rr(e,"rgb"),n=r[0],a=r[1],i=r[2],o=[Ur(n/255),Ur(a/255),Ur(i/255)],s=o[0],l=o[1],c=o[2],u=Fr(.4122214708*s+.5363325363*l+.0514459929*c),T=Fr(.2119034982*s+.6806995451*l+.1073969566*c),d=Fr(.0883024619*s+.2817188376*l+.6299787005*c);return[.2104542553*u+.793617785*T-.0040720468*d,1.9779984951*u-2.428592205*T+.4505937099*d,.0259040371*u+.7827717662*T-.808675766*d]};function Ur(e){var t=Math.abs(e);return t<.04045?e/12.92:(Wr(e)||1)*Xr((t+.055)/1.055,2.4)}var Qr=u.unpack,Yr=Math.pow,jr=Math.sign,zr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=Qr(e,"lab"))[0],n=e[1],a=e[2],i=Yr(r+.3963377774*n+.2158037573*a,3),o=Yr(r-.1055613458*n-.0638541728*a,3),s=Yr(r-.0894841775*n-1.291485548*a,3);return[255*Zr(4.0767416621*i-3.3077115913*o+.2309699292*s),255*Zr(-1.2684380046*i+2.6097574011*o-.3413193965*s),255*Zr(-.0041960863*i-.7034186147*o+1.707614701*s),e.length>3?e[3]:1]};function Zr(e){var t=Math.abs(e);return t>.0031308?(jr(e)||1)*(1.055*Yr(t,1/2.4)-.055):12.92*e}var Jr=u.unpack,qr=u.type,$r=P,en=M,tn=T,rn=Kr;en.prototype.oklab=function(){return rn(this._rgb)},$r.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(en,[null].concat(e,["oklab"])))},tn.format.oklab=zr,tn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Jr(e,"oklab"),"array"===qr(e)&&3===e.length)return"oklab"}});var nn=u.unpack,an=Kr,on=Xt,sn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=nn(e,"rgb"),n=r[0],a=r[1],i=r[2],o=an(n,a,i),s=o[0],l=o[1],c=o[2];return on(s,l,c)},ln=u.unpack,cn=Jt,un=zr,Tn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=ln(e,"lch"))[0],n=e[1],a=e[2],i=cn(r,n,a),o=i[0],s=i[1],l=i[2],c=un(o,s,l);return[c[0],c[1],c[2],e.length>3?e[3]:1]},dn=u.unpack,bn=u.type,fn=P,hn=M,Sn=T,Mn=sn;hn.prototype.oklch=function(){return Mn(this._rgb)},fn.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(hn,[null].concat(e,["oklch"])))},Sn.format.oklch=Tn,Sn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=dn(e,"oklch"),"array"===bn(e)&&3===e.length)return"oklch"}});var pn=M,Pn=u.type;pn.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Pn(e)?t?(this._rgb[3]=e,this):new pn([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},M.prototype.clipped=function(){return this._rgb._clipped||!1};var An=M,Gn=Mt;An.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=Gn.Kn*e,new An(t,"lab").alpha(this.alpha(),!0)},An.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},An.prototype.darker=An.prototype.darken,An.prototype.brighter=An.prototype.brighten,M.prototype.get=function(e){var t=e.split("."),r=t[0],n=t[1],a=this[r]();if(n){var i=r.indexOf(n)-("ok"===r.substr(0,2)?2:0);if(i>-1)return a[i];throw new Error("unknown channel "+n+" in mode "+r)}return a};var mn=M,gn=u.type,vn=Math.pow;mn.prototype.luminance=function(e){if(void 0!==e&&"number"===gn(e)){if(0===e)return new mn([0,0,0,this._rgb[3]],"rgb");if(1===e)return new mn([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),r=20,n=function(t,a){var i=t.interpolate(a,.5,"rgb"),o=i.luminance();return Math.abs(e-o)<1e-7||!r--?i:o>e?n(t,i):n(i,a)},a=(t>e?n(new mn([0,0,0]),this):n(this,new mn([255,255,255]))).rgb();return new mn(a.concat([this._rgb[3]]))}return Bn.apply(void 0,this._rgb.slice(0,3))};var Bn=function(e,t,r){return.2126*(e=Hn(e))+.7152*(t=Hn(t))+.0722*Hn(r)},Hn=function(e){return(e/=255)<=.03928?e/12.92:vn((e+.055)/1.055,2.4)},Cn={},En=M,wn=u.type,yn=Cn,In=function(e,t,r){void 0===r&&(r=.5);for(var n=[],a=arguments.length-3;a-- >0;)n[a]=arguments[a+3];var i=n[0]||"lrgb";if(yn[i]||n.length||(i=Object.keys(yn)[0]),!yn[i])throw new Error("interpolation mode "+i+" is not defined");return"object"!==wn(e)&&(e=new En(e)),"object"!==wn(t)&&(t=new En(t)),yn[i](e,t,r).alpha(e.alpha()+r*(t.alpha()-e.alpha()))},Dn=M,_n=In;Dn.prototype.mix=Dn.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return _n.apply(void 0,[this,e,t].concat(r))};var kn=M;kn.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,r=t[3];return e?(this._rgb=[t[0]*r,t[1]*r,t[2]*r,r],this):new kn([t[0]*r,t[1]*r,t[2]*r,r],"rgb")};var Nn=M,Vn=Mt;Nn.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=Vn.Kn*e,t[1]<0&&(t[1]=0),new Nn(t,"lch").alpha(this.alpha(),!0)},Nn.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var Ln=M,xn=u.type;Ln.prototype.set=function(e,t,r){void 0===r&&(r=!1);var n=e.split("."),a=n[0],i=n[1],o=this[a]();if(i){var s=a.indexOf(i)-("ok"===a.substr(0,2)?2:0);if(s>-1){if("string"==xn(t))switch(t.charAt(0)){case"+":case"-":o[s]+=+t;break;case"*":o[s]*=+t.substr(1);break;case"/":o[s]/=+t.substr(1);break;default:o[s]=+t}else{if("number"!==xn(t))throw new Error("unsupported value for Color.set");o[s]=t}var l=new Ln(o,a);return r?(this._rgb=l._rgb,this):l}throw new Error("unknown channel "+i+" in mode "+a)}return o};var On=M;Cn.rgb=function(e,t,r){var n=e._rgb,a=t._rgb;return new On(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"rgb")};var Rn=M,Fn=Math.sqrt,Xn=Math.pow;Cn.lrgb=function(e,t,r){var n=e._rgb,a=n[0],i=n[1],o=n[2],s=t._rgb,l=s[0],c=s[1],u=s[2];return new Rn(Fn(Xn(a,2)*(1-r)+Xn(l,2)*r),Fn(Xn(i,2)*(1-r)+Xn(c,2)*r),Fn(Xn(o,2)*(1-r)+Xn(u,2)*r),"rgb")};var Wn=M;Cn.lab=function(e,t,r){var n=e.lab(),a=t.lab();return new Wn(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"lab")};var Kn=M,Un=function(e,t,r,n){var a,i,o,s,l,c,u,T,d,b,f,h,S;return"hsl"===n?(o=e.hsl(),s=t.hsl()):"hsv"===n?(o=e.hsv(),s=t.hsv()):"hcg"===n?(o=e.hcg(),s=t.hcg()):"hsi"===n?(o=e.hsi(),s=t.hsi()):"lch"===n||"hcl"===n?(n="hcl",o=e.hcl(),s=t.hcl()):"oklch"===n&&(o=e.oklch().reverse(),s=t.oklch().reverse()),"h"!==n.substr(0,1)&&"oklch"!==n||(l=(a=o)[0],u=a[1],d=a[2],c=(i=s)[0],T=i[1],b=i[2]),isNaN(l)||isNaN(c)?isNaN(l)?isNaN(c)?h=Number.NaN:(h=c,1!=d&&0!=d||"hsv"==n||(f=T)):(h=l,1!=b&&0!=b||"hsv"==n||(f=u)):h=l+r*(c>l&&c-l>180?c-(l+360):c<l&&l-c>180?c+360-l:c-l),void 0===f&&(f=u+r*(T-u)),S=d+r*(b-d),new Kn("oklch"===n?[S,f,h]:[h,f,S],n)},Qn=Un,Yn=function(e,t,r){return Qn(e,t,r,"lch")};Cn.lch=Yn,Cn.hcl=Yn;var jn=M;Cn.num=function(e,t,r){var n=e.num(),a=t.num();return new jn(n+r*(a-n),"num")};var zn=Un;Cn.hcg=function(e,t,r){return zn(e,t,r,"hcg")};var Zn=Un;Cn.hsi=function(e,t,r){return Zn(e,t,r,"hsi")};var Jn=Un;Cn.hsl=function(e,t,r){return Jn(e,t,r,"hsl")};var qn=Un;Cn.hsv=function(e,t,r){return qn(e,t,r,"hsv")};var $n=M;Cn.oklab=function(e,t,r){var n=e.oklab(),a=t.oklab();return new $n(n[0]+r*(a[0]-n[0]),n[1]+r*(a[1]-n[1]),n[2]+r*(a[2]-n[2]),"oklab")};var ea=Un;Cn.oklch=function(e,t,r){return ea(e,t,r,"oklch")};var ta=M,ra=u.clip_rgb,na=Math.pow,aa=Math.sqrt,ia=Math.PI,oa=Math.cos,sa=Math.sin,la=Math.atan2,ca=function(e,t){for(var r=e.length,n=[0,0,0,0],a=0;a<e.length;a++){var i=e[a],o=t[a]/r,s=i._rgb;n[0]+=na(s[0],2)*o,n[1]+=na(s[1],2)*o,n[2]+=na(s[2],2)*o,n[3]+=s[3]*o}return n[0]=aa(n[0]),n[1]=aa(n[1]),n[2]=aa(n[2]),n[3]>.9999999&&(n[3]=1),new ta(ra(n))},ua=P,Ta=u.type,da=Math.pow,ba=function(e){var t="rgb",r=ua("#ccc"),n=0,a=[0,1],i=[],o=[0,0],s=!1,l=[],c=!1,u=0,T=1,d=!1,b={},f=!0,h=1,S=function(e){if((e=e||["#fff","#000"])&&"string"===Ta(e)&&ua.brewer&&ua.brewer[e.toLowerCase()]&&(e=ua.brewer[e.toLowerCase()]),"array"===Ta(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=ua(e[t]);i.length=0;for(var r=0;r<e.length;r++)i.push(r/(e.length-1))}return A(),l=e},M=function(e){return e},p=function(e){return e},P=function(e,n){var a,c;if(null==n&&(n=!1),isNaN(e)||null===e)return r;c=n?e:s&&s.length>2?function(e){if(null!=s){for(var t=s.length-1,r=0;r<t&&e>=s[r];)r++;return r-1}return 0}(e)/(s.length-2):T!==u?(e-u)/(T-u):1,c=p(c),n||(c=M(c)),1!==h&&(c=da(c,h)),c=o[0]+c*(1-o[0]-o[1]),c=Math.min(1,Math.max(0,c));var d=Math.floor(1e4*c);if(f&&b[d])a=b[d];else{if("array"===Ta(l))for(var S=0;S<i.length;S++){var P=i[S];if(c<=P){a=l[S];break}if(c>=P&&S===i.length-1){a=l[S];break}if(c>P&&c<i[S+1]){c=(c-P)/(i[S+1]-P),a=ua.interpolate(l[S],l[S+1],c,t);break}}else"function"===Ta(l)&&(a=l(c));f&&(b[d]=a)}return a},A=function(){return b={}};S(e);var G=function(e){var t=ua(P(e));return c&&t[c]?t[c]():t};return G.classes=function(e){if(null!=e){if("array"===Ta(e))s=e,a=[e[0],e[e.length-1]];else{var t=ua.analyze(a);s=0===e?[t.min,t.max]:ua.limits(t,"e",e)}return G}return s},G.domain=function(e){if(!arguments.length)return a;u=e[0],T=e[e.length-1],i=[];var t=l.length;if(e.length===t&&u!==T)for(var r=0,n=Array.from(e);r<n.length;r+=1){var o=n[r];i.push((o-u)/(T-u))}else{for(var s=0;s<t;s++)i.push(s/(t-1));if(e.length>2){var c=e.map((function(t,r){return r/(e.length-1)})),d=e.map((function(e){return(e-u)/(T-u)}));d.every((function(e,t){return c[t]===e}))||(p=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var r=(e-d[t])/(d[t+1]-d[t]);return c[t]+r*(c[t+1]-c[t])})}}return a=[u,T],G},G.mode=function(e){return arguments.length?(t=e,A(),G):t},G.range=function(e,t){return S(e),G},G.out=function(e){return c=e,G},G.spread=function(e){return arguments.length?(n=e,G):n},G.correctLightness=function(e){return null==e&&(e=!0),d=e,A(),M=d?function(e){for(var t=P(0,!0).lab()[0],r=P(1,!0).lab()[0],n=t>r,a=P(e,!0).lab()[0],i=t+(r-t)*e,o=a-i,s=0,l=1,c=20;Math.abs(o)>.01&&c-- >0;)n&&(o*=-1),o<0?(s=e,e+=.5*(l-e)):(l=e,e+=.5*(s-e)),o=(a=P(e,!0).lab()[0])-i;return e}:function(e){return e},G},G.padding=function(e){return null!=e?("number"===Ta(e)&&(e=[e,e]),o=e,G):o},G.colors=function(t,r){arguments.length<2&&(r="hex");var n=[];if(0===arguments.length)n=l.slice(0);else if(1===t)n=[G(.5)];else if(t>1){var i=a[0],o=a[1]-i;n=function(e,t,r){for(var n=[],a=e<t,i=r?a?t+1:t-1:t,o=e;a?o<i:o>i;a?o++:o--)n.push(o);return n}(0,t,!1).map((function(e){return G(i+e/(t-1)*o)}))}else{e=[];var c=[];if(s&&s.length>2)for(var u=1,T=s.length,d=1<=T;d?u<T:u>T;d?u++:u--)c.push(.5*(s[u-1]+s[u]));else c=a;n=c.map((function(e){return G(e)}))}return ua[r]&&(n=n.map((function(e){return e[r]()}))),n},G.cache=function(e){return null!=e?(f=e,G):f},G.gamma=function(e){return null!=e?(h=e,G):h},G.nodata=function(e){return null!=e?(r=ua(e),G):r},G};var fa=M,ha=ba,Sa=P,Ma=function(e,t,r){if(!Ma[r])throw new Error("unknown blend mode "+r);return Ma[r](e,t)},pa=function(e){return function(t,r){var n=Sa(r).rgb(),a=Sa(t).rgb();return Sa.rgb(e(n,a))}},Pa=function(e){return function(t,r){var n=[];return n[0]=e(t[0],r[0]),n[1]=e(t[1],r[1]),n[2]=e(t[2],r[2]),n}};Ma.normal=pa(Pa((function(e){return e}))),Ma.multiply=pa(Pa((function(e,t){return e*t/255}))),Ma.screen=pa(Pa((function(e,t){return 255*(1-(1-e/255)*(1-t/255))}))),Ma.overlay=pa(Pa((function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))}))),Ma.darken=pa(Pa((function(e,t){return e>t?t:e}))),Ma.lighten=pa(Pa((function(e,t){return e>t?e:t}))),Ma.dodge=pa(Pa((function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e}))),Ma.burn=pa(Pa((function(e,t){return 255*(1-(1-t/255)/(e/255))})));for(var Aa=Ma,Ga=u.type,ma=u.clip_rgb,ga=u.TWOPI,va=Math.pow,Ba=Math.sin,Ha=Math.cos,Ca=P,Ea=M,wa=Math.floor,ya=Math.random,Ia=o,Da=Math.log,_a=Math.pow,ka=Math.floor,Na=Math.abs,Va=function(e,t){void 0===t&&(t=null);var r={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Ia(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===Ia(e)&&(e=e[t]),null==e||isNaN(e)||(r.values.push(e),r.sum+=e,e<r.min&&(r.min=e),e>r.max&&(r.max=e),r.count+=1)})),r.domain=[r.min,r.max],r.limits=function(e,t){return La(r,e,t)},r},La=function(e,t,r){void 0===t&&(t="equal"),void 0===r&&(r=7),"array"==Ia(e)&&(e=Va(e));var n=e.min,a=e.max,i=e.values.sort((function(e,t){return e-t}));if(1===r)return[n,a];var o=[];if("c"===t.substr(0,1)&&(o.push(n),o.push(a)),"e"===t.substr(0,1)){o.push(n);for(var s=1;s<r;s++)o.push(n+s/r*(a-n));o.push(a)}else if("l"===t.substr(0,1)){if(n<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*Da(n),c=Math.LOG10E*Da(a);o.push(n);for(var u=1;u<r;u++)o.push(_a(10,l+u/r*(c-l)));o.push(a)}else if("q"===t.substr(0,1)){o.push(n);for(var T=1;T<r;T++){var d=(i.length-1)*T/r,b=ka(d);if(b===d)o.push(i[b]);else{var f=d-b;o.push(i[b]*(1-f)+i[b+1]*f)}}o.push(a)}else if("k"===t.substr(0,1)){var h,S=i.length,M=new Array(S),p=new Array(r),P=!0,A=0,G=null;(G=[]).push(n);for(var m=1;m<r;m++)G.push(n+m/r*(a-n));for(G.push(a);P;){for(var g=0;g<r;g++)p[g]=0;for(var v=0;v<S;v++)for(var B=i[v],H=Number.MAX_VALUE,C=void 0,E=0;E<r;E++){var w=Na(G[E]-B);w<H&&(H=w,C=E),p[C]++,M[v]=C}for(var y=new Array(r),I=0;I<r;I++)y[I]=null;for(var D=0;D<S;D++)null===y[h=M[D]]?y[h]=i[D]:y[h]+=i[D];for(var _=0;_<r;_++)y[_]*=1/p[_];P=!1;for(var k=0;k<r;k++)if(y[k]!==G[k]){P=!0;break}G=y,++A>200&&(P=!1)}for(var N={},V=0;V<r;V++)N[V]=[];for(var L=0;L<S;L++)N[h=M[L]].push(i[L]);for(var x=[],O=0;O<r;O++)x.push(N[O][0]),x.push(N[O][N[O].length-1]);x=x.sort((function(e,t){return e-t})),o.push(x[0]);for(var R=1;R<x.length;R+=2){var F=x[R];isNaN(F)||-1!==o.indexOf(F)||o.push(F)}}return o},xa={analyze:Va,limits:La},Oa=M,Ra=M,Fa=Math.sqrt,Xa=Math.pow,Wa=Math.min,Ka=Math.max,Ua=Math.atan2,Qa=Math.abs,Ya=Math.cos,ja=Math.sin,za=Math.exp,Za=Math.PI,Ja=M,qa=M,$a=P,ei=ba,ti={cool:function(){return ei([$a.hsl(180,1,.9),$a.hsl(250,.7,.4)])},hot:function(){return ei(["#000","#f00","#ff0","#fff"]).mode("rgb")}},ri={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},ni=0,ai=Object.keys(ri);ni<ai.length;ni+=1){var ii=ai[ni];ri[ii.toLowerCase()]=ri[ii]}var oi=ri,si=P;return si.average=function(e,t,r){void 0===t&&(t="lrgb"),void 0===r&&(r=null);var n=e.length;r||(r=Array.from(new Array(n)).map((function(){return 1})));var a=n/r.reduce((function(e,t){return e+t}));if(r.forEach((function(e,t){r[t]*=a})),e=e.map((function(e){return new ta(e)})),"lrgb"===t)return ca(e,r);for(var i=e.shift(),o=i.get(t),s=[],l=0,c=0,u=0;u<o.length;u++)if(o[u]=(o[u]||0)*r[0],s.push(isNaN(o[u])?0:r[0]),"h"===t.charAt(u)&&!isNaN(o[u])){var T=o[u]/180*ia;l+=oa(T)*r[0],c+=sa(T)*r[0]}var d=i.alpha()*r[0];e.forEach((function(e,n){var a=e.get(t);d+=e.alpha()*r[n+1];for(var i=0;i<o.length;i++)if(!isNaN(a[i]))if(s[i]+=r[n+1],"h"===t.charAt(i)){var u=a[i]/180*ia;l+=oa(u)*r[n+1],c+=sa(u)*r[n+1]}else o[i]+=a[i]*r[n+1]}));for(var b=0;b<o.length;b++)if("h"===t.charAt(b)){for(var f=la(c/s[b],l/s[b])/ia*180;f<0;)f+=360;for(;f>=360;)f-=360;o[b]=f}else o[b]=o[b]/s[b];return d/=n,new ta(o,t).alpha(d>.99999?1:d,!0)},si.bezier=function(e){var t=function(e){var t,r,n,a,i,o,s;if(2===(e=e.map((function(e){return new fa(e)}))).length)t=e.map((function(e){return e.lab()})),i=t[0],o=t[1],a=function(e){var t=[0,1,2].map((function(t){return i[t]+e*(o[t]-i[t])}));return new fa(t,"lab")};else if(3===e.length)r=e.map((function(e){return e.lab()})),i=r[0],o=r[1],s=r[2],a=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*i[t]+2*(1-e)*e*o[t]+e*e*s[t]}));return new fa(t,"lab")};else if(4===e.length){var l;n=e.map((function(e){return e.lab()})),i=n[0],o=n[1],s=n[2],l=n[3],a=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*i[t]+3*(1-e)*(1-e)*e*o[t]+3*(1-e)*e*e*s[t]+e*e*e*l[t]}));return new fa(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var c,u,T;c=e.map((function(e){return e.lab()})),T=e.length-1,u=function(e){for(var t=[1,1],r=1;r<e;r++){for(var n=[1],a=1;a<=t.length;a++)n[a]=(t[a]||0)+t[a-1];t=n}return t}(T),a=function(e){var t=1-e,r=[0,1,2].map((function(r){return c.reduce((function(n,a,i){return n+u[i]*Math.pow(t,T-i)*Math.pow(e,i)*a[r]}),0)}));return new fa(r,"lab")}}return a}(e);return t.scale=function(){return ha(t)},t},si.blend=Aa,si.cubehelix=function(e,t,r,n,a){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===r&&(r=1),void 0===n&&(n=1),void 0===a&&(a=[0,1]);var i,o=0;"array"===Ga(a)?i=a[1]-a[0]:(i=0,a=[a,a]);var s=function(s){var l=ga*((e+120)/360+t*s),c=va(a[0]+i*s,n),u=(0!==o?r[0]+s*o:r)*c*(1-c)/2,T=Ha(l),d=Ba(l);return Ca(ma([255*(c+u*(-.14861*T+1.78277*d)),255*(c+u*(-.29227*T-.90649*d)),255*(c+u*(1.97294*T)),1]))};return s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?n:(n=e,s)},s.hue=function(e){return null==e?r:("array"===Ga(r=e)?0==(o=r[1]-r[0])&&(r=r[1]):o=0,s)},s.lightness=function(e){return null==e?a:("array"===Ga(e)?(a=e,i=e[1]-e[0]):(a=[e,e],i=0),s)},s.scale=function(){return Ca.scale(s)},s.hue(r),s},si.mix=si.interpolate=In,si.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(wa(16*ya()));return new Ea(e,"hex")},si.scale=ba,si.analyze=xa.analyze,si.contrast=function(e,t){e=new Oa(e),t=new Oa(t);var r=e.luminance(),n=t.luminance();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},si.deltaE=function(e,t,r,n,a){void 0===r&&(r=1),void 0===n&&(n=1),void 0===a&&(a=1);var i=function(e){return 360*e/(2*Za)},o=function(e){return 2*Za*e/360};e=new Ra(e),t=new Ra(t);var s=Array.from(e.lab()),l=s[0],c=s[1],u=s[2],T=Array.from(t.lab()),d=T[0],b=T[1],f=T[2],h=(l+d)/2,S=(Fa(Xa(c,2)+Xa(u,2))+Fa(Xa(b,2)+Xa(f,2)))/2,M=.5*(1-Fa(Xa(S,7)/(Xa(S,7)+Xa(25,7)))),p=c*(1+M),P=b*(1+M),A=Fa(Xa(p,2)+Xa(u,2)),G=Fa(Xa(P,2)+Xa(f,2)),m=(A+G)/2,g=i(Ua(u,p)),v=i(Ua(f,P)),B=g>=0?g:g+360,H=v>=0?v:v+360,C=Qa(B-H)>180?(B+H+360)/2:(B+H)/2,E=1-.17*Ya(o(C-30))+.24*Ya(o(2*C))+.32*Ya(o(3*C+6))-.2*Ya(o(4*C-63)),w=H-B;w=Qa(w)<=180?w:H<=B?w+360:w-360,w=2*Fa(A*G)*ja(o(w)/2);var y=d-l,I=G-A,D=1+.015*Xa(h-50,2)/Fa(20+Xa(h-50,2)),_=1+.045*m,k=1+.015*m*E,N=30*za(-Xa((C-275)/25,2)),V=-2*Fa(Xa(m,7)/(Xa(m,7)+Xa(25,7)))*ja(2*o(N)),L=Fa(Xa(y/(r*D),2)+Xa(I/(n*_),2)+Xa(w/(a*k),2)+V*(I/(n*_))*(w/(a*k)));return Ka(0,Wa(100,L))},si.distance=function(e,t,r){void 0===r&&(r="lab"),e=new Ja(e),t=new Ja(t);var n=e.get(r),a=t.get(r),i=0;for(var o in n){var s=(n[o]||0)-(a[o]||0);i+=s*s}return Math.sqrt(i)},si.limits=xa.limits,si.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(qa,[null].concat(e))),!0}catch(e){return!1}},si.scales=ti,si.colors=Tr,si.brewer=oi,si}()}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,o),r.exports}o.amdD=function(){throw new Error("define cannot be used indirect")},e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",t="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",r="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=e=>{e&&e.d<1&&(e.d=1,e.forEach((e=>e.r--)),e.forEach((e=>e.r--?e.r++:e())))},o.a=(a,i,o)=>{var s;o&&((s=[]).d=-1);var l,c,u,T=new Set,d=a.exports,b=new Promise(((e,t)=>{u=t,c=e}));b[t]=d,b[e]=e=>(s&&e(s),T.forEach(e),b.catch((e=>{}))),a.exports=b,i((a=>{var i;l=(a=>a.map((a=>{if(null!==a&&"object"==typeof a){if(a[e])return a;if(a.then){var i=[];i.d=0,a.then((e=>{o[t]=e,n(i)}),(e=>{o[r]=e,n(i)}));var o={};return o[e]=e=>e(i),o}}var s={};return s[e]=e=>{},s[t]=a,s})))(a);var o=()=>l.map((e=>{if(e[r])throw e[r];return e[t]})),c=new Promise((t=>{(i=()=>t(o)).r=0;var r=e=>e!==s&&!T.has(e)&&(T.add(e),e&&!e.d&&(i.r++,e.push(i)));l.map((t=>t[e](r)))}));return i.r?c:o()}),(e=>(e?u(b[r]=e):c(d),n(s)))),s&&s.d<0&&(s.d=0)},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o(777)})();
window.pchppVars={};window.pchppVars.ajaxUrl="https://www.childpit.online/wp-admin/admin-ajax.php";window.pchppVars.ajaxNonce="2eab303b57";
var pochippSaleData={amazon:{"start":"","end":"","text":""},rakuten:{"start":"","end":"","text":""},yahoo:{"start":"","end":"","text":""},mercari:{"start":"","end":"","text":""},};
var rtocScrollAnimation={"rtocScrollAnimation":"on"};var rtocBackButton={"rtocBackButton":"on"};var rtocBackDisplayPC={"rtocBackDisplayPC":""};var rtocOpenText={"rtocOpenText":"OPEN"};var rtocCloseText={"rtocCloseText":"CLOSE"};var rtocScrollAnimation={"rtocScrollAnimation":"on"};var rtocBackButton={"rtocBackButton":"on"};var rtocBackDisplayPC={"rtocBackDisplayPC":""};var rtocOpenText={"rtocOpenText":"OPEN"};var rtocCloseText={"rtocCloseText":"CLOSE"};
jQuery(function($){const OpenClose=document.querySelector('.rtoc_open_close');const listWrapper=document.querySelector('.level-1');const listTitle=document.getElementById('rtoc-mokuji-title');if(OpenClose!=null){if(OpenClose.classList.contains('rtoc_open')){OpenClose.textContent=rtocCloseText.rtocCloseText;}else if(OpenClose.classList.contains('rtoc_close')){OpenClose.textContent=rtocOpenText.rtocOpenText;listWrapper.classList.add('is_close');listTitle.classList.add('is_close');}
OpenClose.addEventListener('click',()=>{listWrapper.classList.toggle('is_close');listTitle.classList.toggle('is_close');if(listWrapper.classList.contains('is_close')){OpenClose.textContent=rtocOpenText.rtocOpenText;}else{OpenClose.textContent=rtocCloseText.rtocCloseText;}});}});
jQuery(function($){let headerHight=100;if(rtocScrollAnimation){if(rtocScrollAnimation.rtocScrollAnimation=='on'){$('#rtoc-mokuji-wrapper a[href^="#"]').click(function(){let speed=480;let href=$(this).attr("href");let target=$(href=="#"||href==""?'html':href);let position=target.offset().top;$("html, body").animate({scrollTop:position-headerHight},speed,"swing");return false;});}}});
(function(){let rtocList=[];let lastScrollY=0;let lastBodyClientHeight=0;let sidebar_rtoc_wrapper=document.querySelector('.sidebar #rtoc-mokuji-widget-wrapper');if(!sidebar_rtoc_wrapper){sidebar_rtoc_wrapper=document.querySelector('.widget #rtoc-mokuji-widget-wrapper');}
if(!sidebar_rtoc_wrapper){sidebar_rtoc_wrapper=document.querySelector('.c-widget #rtoc-mokuji-widget-wrapper');}
if(!sidebar_rtoc_wrapper){sidebar_rtoc_wrapper=document.querySelector('#scrollad #rtoc-mokuji-widget-wrapper');}
if(!sidebar_rtoc_wrapper){sidebar_rtoc_wrapper=document.querySelector('#sideBarTracking #rtoc-mokuji-widget-wrapper');}
if(!sidebar_rtoc_wrapper){sidebar_rtoc_wrapper=document.querySelector('#sidebar1 #rtoc-mokuji-widget-wrapper');}
if(sidebar_rtoc_wrapper){sidebar_rtoc_wrapper.classList.add('rtoc-sidebar-contents');}
function rtoc_init(){rtocList=[];rtocParentList=[];if(sidebar_rtoc_wrapper){const itemList=sidebar_rtoc_wrapper.querySelectorAll('a');const itemAllList=sidebar_rtoc_wrapper.querySelectorAll('.level-1 > .rtoc-item > a');for(let i=0;i<itemList.length;i++){const a=itemList[i];const linkAnker=a.href.substring(a.href.lastIndexOf('#'));const itemElement=document.querySelector(decodeURI(linkAnker));if(itemElement!=null){let top=itemElement.offsetTop;let parent=itemElement.offsetParent;while(parent!=null){top+=parent.offsetTop;parent=parent.offsetParent;}
rtocList.push({top:top,bottom:1e30,itemdom:a.parentElement});if(i>0){if(rtocList[i]){rtocList[i-1].bottom=rtocList[i].top;}}}}
for(let i=0;i<itemAllList.length;i++){const a=itemAllList[i];const linkAnker=a.href.substring(a.href.lastIndexOf('#'));const itemAllElement=document.querySelector(decodeURI(linkAnker));let top=itemAllElement.offsetTop;let parent=itemAllElement.offsetParent;while(parent!=null){top+=parent.offsetTop;parent=parent.offsetParent;}
rtocParentList.push({top:top,bottom:1e30,itemdom:a.parentElement});if(i>0){rtocParentList[i-1].bottom=rtocParentList[i].top;}}}}
rtoc_init();function rtocUpdateSection(scrollY){if(document.body.clientHeight!==lastBodyClientHeight){rtoc_init();}
for(let sec of rtocList){sec.itemdom.classList.remove('rtoc-current');}
for(let sec of rtocParentList){sec.itemdom.classList.remove('rtoc-show');}
for(let i=0;i<rtocList.length;i++){const sec=rtocList[i];if(sec.top<=scrollY&&scrollY<sec.bottom){sec.itemdom.classList.add('rtoc-current');break;}}
for(let i=0;i<rtocParentList.length;i++){const sec=rtocParentList[i];if(sec.top<=scrollY&&scrollY<sec.bottom){sec.itemdom.classList.add('rtoc-show');break;}}}
function widgetScroll(hiddenDOM){const highlightContents=sidebar_rtoc_wrapper.querySelector('.rtoc-current');}
if(sidebar_rtoc_wrapper){let ticking=false;const scrollHeight=sidebar_rtoc_wrapper.querySelector('.rtoc-mokuji').scrollHeight;const displayHeight=sidebar_rtoc_wrapper.querySelector('.rtoc-mokuji').offsetHeight;document.addEventListener('scroll',function(){lastScrollY=window.scrollY;if(ticking===false){window.requestAnimationFrame(function(){rtocUpdateSection(lastScrollY+300);ticking=false;});ticking=true;}
if(scrollHeight>displayHeight){widgetScroll(scrollHeight-displayHeight);}});}})();
var eio_lazy_vars={"exactdn_domain":"","skip_autoscale":0,"threshold":0};
var ewww_webp_supported;void 0===ewww_webp_supported&&(ewww_webp_supported=!1),window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig.expand=500<document.documentElement.clientHeight&&500<document.documentElement.clientWidth?1e3:740,"undefined"==typeof eio_lazy_vars&&(eio_lazy_vars={exactdn_domain:".exactdn.com",threshold:0,skip_autoscale:0}),50<eio_lazy_vars.threshold&&(window.lazySizesConfig.expand=eio_lazy_vars.threshold),function(e,t){function a(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)}t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,function(e,n,o){"use strict";var s,l,d={};function c(e,t,a){var i,r;d[e]||(i=n.createElement(t?"link":"script"),r=n.getElementsByTagName("script")[0],t?(i.rel="stylesheet",i.href=e):(i.onload=function(){i.onerror=null,i.onload=null,a()},i.onerror=i.onload,i.src=e),d[e]=!0,d[i.src||i.href]=!0,r.parentNode.insertBefore(i,r))}n.addEventListener&&(l=/\(|\)|\s|'/,s=function(e,t){var a=n.createElement("img");a.onload=function(){a.onload=null,a.onerror=null,a=null,t()},a.onerror=a.onload,a.src=e,a&&a.complete&&a.onload&&a.onload()},addEventListener("lazybeforeunveil",function(e){var t,a,i;if(e.detail.instance==o&&!e.defaultPrevented){var r=e.target;if("none"==r.preload&&(r.preload=r.getAttribute("data-preload")||"auto"),null!=r.getAttribute("data-autoplay"))if(r.getAttribute("data-expand")&&!r.autoplay)try{r.play()}catch(e){}else requestAnimationFrame(function(){r.setAttribute("data-expand","-10"),o.aC(r,o.cfg.lazyClass)});(t=r.getAttribute("data-link"))&&c(t,!0),(t=r.getAttribute("data-script"))&&(e.detail.firesLoad=!0,c(t,null,function(){e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0)})),(t=r.getAttribute("data-require"))&&(o.cfg.requireJs?o.cfg.requireJs([t]):c(t)),(a=r.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,s(a,function(){r.style.backgroundImage="url("+(l.test(a)?JSON.stringify(a):a)+")",e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0)})),(i=r.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,s(i,function(){r.poster=i,e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0)}))}},!1))}),function(e,t){function a(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)}t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,function(u,f,g){"use strict";var n;f.addEventListener&&(n=/\(|\)|\s|'/,addEventListener("lazybeforeunveil",function(e){var t,a,i,r;e.detail.instance==g&&(e.defaultPrevented||("none"==e.target.preload&&(e.target.preload="auto"),(i=e.target.getAttribute("data-back"))&&(ewww_webp_supported&&(r=e.target.getAttribute("data-back-webp"))&&(i=r),t=u.devicePixelRatio||1,a=Math.round(e.target.offsetWidth*t),r=Math.round(e.target.offsetHeight*t),0===i.search(/\[/)||o(e.target)&&(i=g.hC(e.target,"wp-block-cover")?(g.hC(e.target,"has-parallax")?(a=Math.round(u.screen.width*t),r=Math.round(u.screen.height*t)):r<300&&(r=430),s(i,a,r,"bg-cover")):g.hC(e.target,"cover-image")||g.hC(e.target,"elementor-bg")||g.hC(e.target,"et_parallax_bg")||g.hC(e.target,"bg-image-crop")?s(i,a,r,"bg-cover"):s(i,a,r,"bg")),e.target.style.backgroundImage&&-1===e.target.style.backgroundImage.search(/^initial/)?0===i.search(/\[/)?((i=JSON.parse(i)).forEach(function(e){n.test(e)&&JSON.stringify(e)}),i='url("'+i.join('"), url("')+'"',r=e.target.style.backgroundImage+", "+i,e.target.style.backgroundImage=r):e.target.style.backgroundImage=e.target.style.backgroundImage+', url("'+(n.test(i)?JSON.stringify(i):i)+'")':0===i.search(/\[/)?((i=JSON.parse(i)).forEach(function(e){n.test(e)&&JSON.stringify(e)}),i='url("'+i.join('"), url("')+'"',e.target.style.backgroundImage=i):e.target.style.backgroundImage="url("+(n.test(i)?JSON.stringify(i):i)+")")))},!1));function h(e){var t=e.getAttribute("data-eio-rwidth"),e=e.getAttribute("data-eio-rheight");return 1<t&&1<e?{w:t,h:e}:{w:0,h:0}}function m(e,t=!1){var a=u.devicePixelRatio||1,i=Math.round(e.offsetWidth*a),r=Math.round(e.offsetHeight*a),n=e.getAttribute("data-src"),a=e.getAttribute("data-src-webp");ewww_webp_supported&&a&&-1==n.search("webp=1")&&!t&&(n=a),o(e)&&(a=e,a=g.hC(a,"et_pb_jt_filterable_grid_item_image")||g.hC(a,"ss-foreground-image")||g.hC(a,"img-crop")?"img-crop":g.hC(a,"object-cover")&&(g.hC(a,"object-top")||g.hC(a,"object-bottom"))?"img-w":g.hC(a,"object-cover")&&(g.hC(a,"object-left")||g.hC(a,"object-right"))?"img-h":g.hC(a,"ct-image")&&g.hC(a,"object-cover")||!a.getAttribute("data-srcset")&&!a.srcset&&a.offsetHeight>a.offsetWidth&&1<l(a)?"img-crop":"img",(a=s(n,i,r,a,t))&&n!=a&&(t&&e.setAttribute("src",a),e.setAttribute("data-src",a)))}var o=function(e){if(1==eio_lazy_vars.skip_autoscale)return!1;for(var t=e,a=0;a<=7;a++){if(t.hasAttributes())for(var i=t.attributes,r=/skip-autoscale/,a=i.length-1;0<=a;a--){if(r.test(i[a].name))return!1;if(r.test(i[a].value))return!1}if(!t.parentNode||1!==t.parentNode.nodeType||!t.parentNode.hasAttributes)break;t=t.parentNode}return!0},s=function(e,t,a,i,r=!1){if(null===e)return e;var n=/w=(\d+)/,o=/fit=(\d+),(\d+)/,s=/resize=(\d+),(\d+)/,l=decodeURIComponent(e);if(/\.svg(\?.+)?$/.exec(l))return e;if(0<e.search("\\?")&&0<e.search(eio_lazy_vars.exactdn_domain)){var d=s.exec(l);if(d&&(t<d[1]||r))return"img-w"===i?l.replace(s,"w="+t):"img-h"===i?l.replace(s,"h="+a):l.replace(s,"resize="+t+","+a);s=n.exec(e);if(s&&(t<=s[1]||r)){if("img-h"===i)return l.replace(n,"h="+a);if("bg-cover"!==i&&"img-crop"!==i)return e.replace(n,"w="+t);var c=Math.abs(s[1]-t);return 20<c||a<1080?e.replace(n,"resize="+t+","+a):e}c=o.exec(l);if(c&&(t<c[1]||r)){if("bg-cover"!==i&&"img-crop"!==i)return"img-w"===i?l.replace(o,"w="+t):"img-h"===i?l.replace(o,"h="+a):l.replace(o,"fit="+t+","+a);l=Math.abs(c[1]-t),o=Math.abs(c[2]-a);return 20<l||20<o?e.replace(n,"resize="+t+","+a):e}if(!s&&!c&&!d)return"img"===i?e+"&fit="+t+","+a:"bg-cover"===i||"img-crop"===i?e+"&resize="+t+","+a:"img-h"===i||t<a?e+"&h="+a:e+"&w="+t}return-1==e.search("\\?")&&0<e.search(eio_lazy_vars.exactdn_domain)?"img"===i?e+"?fit="+t+","+a:"bg-cover"===i||"img-crop"===i?e+"?resize="+t+","+a:"img-h"===i||t<a?e+"?h="+a:e+"?w="+t:e},p=function(e){e=/-(\d+)x(\d+)\./.exec(e);return e&&1<e[1]&&1<e[2]?{w:e[1],h:e[2]}:{w:0,h:0}},l=function(e){var t=e.getAttribute("width"),a=e.getAttribute("height");if(1<t&&1<a)return t/a;a=!1;if(a=(a=e.src&&-1<e.src.search("http")?e.src:a)||e.getAttribute("data-src")){var i=p(a);if(i.w&&i.h)return i.w/i.h}i=h(e);if(i.w&&i.h)return i.w/i.h;e=function(e){var t;if(e.srcset?t=e.srcset.split(","):(e=e.getAttribute("data-srcset"))&&(t=e.split(",")),t){var a=0,i=t.length;if(i){for(;a<i;a++){var r,n=t[a].trim().split(" ");!n[0].length||(n=p(n[0])).w&&n.h&&(r=n)}if(r.w&&r.h)return r}}return{w:0,h:0}}(e);return e.w&&e.h?e.w/e.h:0};f.addEventListener("lazybeforesizes",function(e){e.target.getAttribute("data-src");var t=l(e.target);1<e.target.clientHeight&&t&&(t=Math.ceil(t*e.target.clientHeight),e.detail.width+2<t&&(e.detail.width=t)),void 0!==e.target._lazysizesWidth&&e.detail.width<e.target._lazysizesWidth&&(e.detail.width=e.target._lazysizesWidth)}),f.addEventListener("lazybeforeunveil",function(e){var t,a,i,r,n=e.target,o=n.getAttribute("data-srcset");n.naturalWidth&&!o&&1<n.naturalWidth&&1<n.naturalHeight&&(t=u.devicePixelRatio||1,a=n.naturalWidth,i=n.naturalHeight,(e=h(n)).w&&e.w>a&&(a=e.w,i=e.h),a=n.clientWidth&&1.25*n.clientWidth*t<a,i=n.clientHeight&&1.25*n.clientHeight*t<i,(a||i)&&m(n)),ewww_webp_supported&&(!o||(r=n.getAttribute("data-srcset-webp"))&&n.setAttribute("data-srcset",r),(r=n.getAttribute("data-src-webp"))&&n.setAttribute("data-src",r))});function e(e=!1){e.type&&"load"===e.type&&g.autoSizer.checkElems(),u.devicePixelRatio;var t,a=f.getElementsByClassName(g.cfg.loadedClass),i=a.length;if(i)for(t=0;t<i;t++){var r,n,o,s,l,d,c=a[t];c.src&&!c.srcset&&1<c.naturalWidth&&1<c.naturalHeight&&1<c.clientWidth&&1<c.clientHeight&&(r=c.naturalWidth,n=c.naturalHeight,o=u.innerWidth,s=u.innerHeight,l=h(c),d=p(c.src),l.w?o=l.w:d.w&&(o=d.w),l.h?s=l.h:d.h&&(s=d.h),l=c.clientWidth,d=c.clientHeight,(1.1*r<l&&l<=o||1.1*n<d&&d<=s)&&m(c,!0))}}var t,a,i,r,d=(t=e,r=function(){a=null,t()},function(){i=Date.now(),a=a||setTimeout(c,99)});function c(){var e=Date.now()-i;e<99?setTimeout(c,99-e):(u.requestIdleCallback||r)(r)}addEventListener("load",e),addEventListener("resize",d),setTimeout(e,2e4)}),function(e,t){t=t(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{},function(i,f,n){"use strict";var g,h;if(!function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in h=i.lazySizesConfig||i.lazysizesConfig||{},t)e in h||(h[e]=t[e])}(),!f||!f.getElementsByClassName)return{init:function(){},cfg:h,noSupport:!0};function c(e,t){E(e,t)||e.setAttribute("class",(e[v]("class")||"").trim()+" "+t)}function u(e,t){(t=E(e,t))&&e.setAttribute("class",(e[v]("class")||"").replace(t," "))}function m(e,t){var a;!l&&(a=i.picturefill||h.pf)?(t&&t.src&&!e[v]("srcset")&&e.setAttribute("srcset",t.src),a({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)}var a,r,t,o,s,p=f.documentElement,l=i.HTMLPictureElement,d="addEventListener",v="getAttribute",e=i[d].bind(i),y=i.setTimeout,b=i.requestAnimationFrame||y,z=i.requestIdleCallback,w=/^picture$/i,C=["load","error","lazyincluded","_lazyloaded"],_={},A=Array.prototype.forEach,E=function(e,t){return _[t]||(_[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),_[t].test(e[v]("class")||"")&&_[t]},x=function(t,a,e){var i=e?d:"removeEventListener";e&&x(t,a),C.forEach(function(e){t[i](e,a)})},L=function(e,t,a,i,r){var n=f.createEvent("Event");return(a=a||{}).instance=g,n.initEvent(t,!i,!r),n.detail=a,e.dispatchEvent(n),n},N=function(e,t){return(getComputedStyle(e,null)||{})[t]},W=function(e,t,a){for(a=a||e.offsetWidth;a<h.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},M=(o=[],s=t=[],k._lsFlush=S,k);function S(){var e=s;for(s=t.length?o:t,r=!(a=!0);e.length;)e.shift()();a=!1}function k(e,t){a&&!t?e.apply(this,arguments):(s.push(e),r||(r=!0,(f.hidden?y:b)(S)))}function H(a,e){return e?function(){M(a)}:function(){var e=this,t=arguments;M(function(){a.apply(e,t)})}}function I(e){function t(){var e=n.now()-i;e<99?y(t,99-e):(z||r)(r)}var a,i,r=function(){a=null,e()};return function(){i=n.now(),a=a||y(t,99)}}var T,j,R,B,O,P,q,F,J,D,$,U,G,K,Q,V,X,Y,Z,ee,te,ae,ie,re,ne,oe,se,le,de,ce,ue,fe=(Z=/^img$/i,ee=/^iframe$/i,te="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),re=-1,ne=function(e){return(U=null==U?"hidden"==N(f.body,"visibility"):U)||!("hidden"==N(e.parentNode,"visibility")&&"hidden"==N(e,"visibility"))},G=he,Q=ie=ae=0,V=h.throttleDelay,X=h.ricTimeout,Y=z&&49<X?function(){z(me,{timeout:X}),X!==h.ricTimeout&&(X=h.ricTimeout)}:H(function(){y(me)},!0),se=H(pe),le=function(e){se({target:e.target})},de=H(function(t,e,a,i,r){var n,o,s,l,d;(s=L(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(a?c(t,h.autosizesClass):t.setAttribute("sizes",i)),n=t[v](h.srcsetAttr),a=t[v](h.srcAttr),r&&(o=(d=t.parentNode)&&w.test(d.nodeName||"")),l=e.firesLoad||"src"in t&&(n||a||o),s={target:t},c(t,h.loadingClass),l&&(clearTimeout(R),R=y(ge,2500),x(t,le,!0)),o&&A.call(d.getElementsByTagName("source"),ve),n?t.setAttribute("srcset",n):a&&!o&&(ee.test(t.nodeName)?(i=a,0==(d=(e=t).getAttribute("data-load-mode")||h.iframeLoadMode)?e.contentWindow.location.replace(i):1==d&&(e.src=i)):t.src=a),r&&(n||o)&&m(t,{src:a})),t._lazyRace&&delete t._lazyRace,u(t,h.lazyClass),M(function(){var e=t.complete&&1<t.naturalWidth;l&&!e||(e&&c(t,h.fastLoadedClass),pe(s),t._lazyCache=!0,y(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&ie--},!0)}),ue=I(function(){h.loadMode=3,oe()}),{_:function(){O=n.now(),g.elements=f.getElementsByClassName(h.lazyClass),T=f.getElementsByClassName(h.lazyClass+" "+h.preloadClass),e("scroll",oe,!0),e("resize",oe,!0),e("pageshow",function(e){var t;!e.persisted||(t=f.querySelectorAll("."+h.loadingClass)).length&&t.forEach&&b(function(){t.forEach(function(e){e.complete&&ce(e)})})}),i.MutationObserver?new MutationObserver(oe).observe(p,{childList:!0,subtree:!0,attributes:!0}):(p[d]("DOMNodeInserted",oe,!0),p[d]("DOMAttrModified",oe,!0),setInterval(oe,999)),e("hashchange",oe,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){f[d](e,oe,!0)}),/d$|^c/.test(f.readyState)?be():(e("load",be),f[d]("DOMContentLoaded",oe),y(be,2e4)),g.elements.length?(he(),M._lsFlush()):oe()},checkElems:oe=function(e){var t;(e=!0===e)&&(X=33),K||(K=!0,(t=V-(n.now()-Q))<0&&(t=0),e||t<9?Y():y(Y,t))},unveil:ce=function(e){var t,a,i,r;e._lazyRace||(!(r="auto"==(i=(a=Z.test(e.nodeName))&&(e[v](h.sizesAttr)||e[v]("sizes"))))&&j||!a||!e[v]("src")&&!e.srcset||e.complete||E(e,h.errorClass)||!E(e,h.lazyClass))&&(t=L(e,"lazyunveilread").detail,r&&_e.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,ie++,de(e,t,r,i,a))},_aLSL:ye});function ge(e){ie--,e&&!(ie<0)&&e.target||(ie=0)}function he(){var e,t,a,i,r,n,o,s,l,d,c,u=g.elements;if((B=h.loadMode)&&ie<8&&(e=u.length)){for(t=0,re++;t<e;t++)if(u[t]&&!u[t]._lazyRace)if(!te||g.prematureUnveil&&g.prematureUnveil(u[t]))ce(u[t]);else if((o=u[t][v]("data-expand"))&&(r=+o)||(r=ae),l||(l=!h.expand||h.expand<1?500<p.clientHeight&&500<p.clientWidth?500:370:h.expand,d=(g._defEx=l)*h.expFactor,c=h.hFac,U=null,ae<d&&ie<1&&2<re&&2<B&&!f.hidden?(ae=d,re=0):ae=1<B&&1<re&&ie<6?l:0),s!==r&&(P=innerWidth+r*c,q=innerHeight+r,n=-1*r,s=r),d=u[t].getBoundingClientRect(),($=d.bottom)>=n&&(F=d.top)<=q&&(D=d.right)>=n*c&&(J=d.left)<=P&&($||D||J||F)&&(h.loadHidden||ne(u[t]))&&(j&&ie<3&&!o&&(B<3||re<4)||function(e,t){var a,i=e,r=ne(e);for(F-=t,$+=t,J-=t,D+=t;r&&(i=i.offsetParent)&&i!=f.body&&i!=p;)(r=0<(N(i,"opacity")||1))&&"visible"!=N(i,"overflow")&&(a=i.getBoundingClientRect(),r=D>a.left&&J<a.right&&$>a.top-1&&F<a.bottom+1);return r}(u[t],r))){if(ce(u[t]),i=!0,9<ie)break}else!i&&j&&!a&&ie<4&&re<4&&2<B&&(T[0]||h.preloadAfterLoad)&&(T[0]||!o&&($||D||J||F||"auto"!=u[t][v](h.sizesAttr)))&&(a=T[0]||u[t]);a&&!i&&ce(a)}}function me(){K=!1,Q=n.now(),G()}function pe(e){var t=e.target;t._lazyCache?delete t._lazyCache:(ge(e),c(t,h.loadedClass),u(t,h.loadingClass),x(t,le),L(t,"lazyloaded"))}function ve(e){var t,a=e[v](h.srcsetAttr);(t=h.customMedia[e[v]("data-media")||e[v]("media")])&&e.setAttribute("media",t),a&&e.setAttribute("srcset",a)}function ye(){3==h.loadMode&&(h.loadMode=2),ue()}function be(){j||(n.now()-O<999?y(be,999):(j=!0,h.loadMode=3,oe(),e("scroll",ye,!0)))}var ze,we,Ce,_e=(we=H(function(e,t,a,i){var r,n,o;if(e._lazysizesWidth=i,e.setAttribute("sizes",i+="px"),w.test(t.nodeName||""))for(n=0,o=(r=t.getElementsByTagName("source")).length;n<o;n++)r[n].setAttribute("sizes",i);a.detail.dataAttr||m(e,a.detail)}),{_:function(){ze=f.getElementsByClassName(h.autosizesClass),e("resize",Ce)},checkElems:Ce=I(function(){var e,t=ze.length;if(t)for(e=0;e<t;e++)Ae(ze[e])}),updateElem:Ae});function Ae(e,t,a){var i=e.parentNode;i&&(a=W(e,i,a),(t=L(e,"lazybeforesizes",{width:a,dataAttr:!!t})).defaultPrevented||(a=t.detail.width)&&a!==e._lazysizesWidth&&we(e,i,t,a))}function Ee(){!Ee.i&&f.getElementsByClassName&&(Ee.i=!0,_e._(),fe._())}return y(function(){h.init&&Ee()}),g={cfg:h,autoSizer:_e,loader:fe,init:Ee,uP:m,aC:c,rC:u,hC:E,fire:L,gW:W,rAF:M}});
wp.i18n.setLocaleData({'text direction\u0004ltr':['ltr']});
(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>f,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>m,maxdate:()=>z,maxfilesize:()=>$,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>b,mindate:()=>A,minfilesize:()=>j,minitems:()=>w,minlength:()=>g,minnumber:()=>y,number:()=>c,required:()=>n,requiredfile:()=>a,tel:()=>l,time:()=>d,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).every((t=>{if((t=t.trim()).length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field);if(!e.every((t=>{if(""===(t=t.trim()))return!1;try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}})))throw new o(this)},l=function(t){if(!t.getAll(this.field).every((t=>(t=(t=t.trim()).replaceAll(/[()/.*#\s-]+/g,""),/^[+]?[0-9]+$/.test(t)))))throw new o(this)},c=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)))))throw new o(this)},f=function(t){if(!t.getAll(this.field).every((t=>{if(t=t.trim(),!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>{const e=t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},m=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).every((t=>this.accept?.some((e=>t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field);if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},y=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},b=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold)))))throw new o(this)},z=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t)))))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},O=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},E=[],k=t=>[...E].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var F;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>I({ruleObj:t,options:i})));if(!n.length)return new Map;const a=k(O),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{E.push(t)},...null!==(F=window.swv)&&void 0!==F?F:{}}})();
var wpcf7={"api":{"root":"https:\/\/www.childpit.online\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};
(function(domain,translations){var localeData=translations.locale_data[domain]||translations.locale_data.messages;localeData[""].domain=domain;wp.i18n.setLocaleData(localeData,domain);})("contact-form-7",{"translation-revision-date":"2024-07-17 08:16:16+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=1; plural=0;","lang":"ja_JP"},"This contact form is placed in the wrong place.":["\u3053\u306e\u30b3\u30f3\u30bf\u30af\u30c8\u30d5\u30a9\u30fc\u30e0\u306f\u9593\u9055\u3063\u305f\u4f4d\u7f6e\u306b\u7f6e\u304b\u308c\u3066\u3044\u307e\u3059\u3002"],"Error:":["\u30a8\u30e9\u30fc:"]}},"comment":{"reference":"includes\/js\/index.js"}});
(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return o.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:o,path:c,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),c=r?n+"/"+r:n),"string"==typeof c&&(-1!==t.indexOf("?")&&(c=c.replace("?","&")),c=c.replace(/^\//,""),o=t+c),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(o||c||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},o=[];function c(e,t={}){const{target:a,scope:r=e,...o}=t;if(void 0===e.wpcf7?.schema)return;const c={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(c,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const o=t.dataset.name;if(n.has(o)){const{error:t,validInputs:a}=n.get(o);i(e,o),void 0!==t&&s(e,o,t,{scope:r}),l(e,o,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{o.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...o}=null!=n?n:{},c=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",c),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",c),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const o=new FormData(e);t.submitter&&t.submitter.name&&o.append(t.submitter.name,t.submitter.value);const c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(o,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:o};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:o,wpcf7:{endpoint:"feedback",form:e,detail:c}}).then((t=>{const r=n(e,t.status);return c.status=t.status,c.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,c):["sent","failed"].includes(r)&&a(e,`mail${r}`,c),a(e,"submit",c),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:o}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),o.apiResponse=t,a(e,"reset",o)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),o=t(e.getAttribute("data-minimum-value")),c=e.classList.contains("down")?n-a.value.length:a.value.length;e.setAttribute("data-current-value",c),e.innerText=c,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),o&&a.value.length<o?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),o=e.querySelector(`[name="${r}"]`);o&&(o.value=o.defaultValue,a(n,o),t.init&&o.addEventListener("keyup",(e=>{a(n,o)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:c,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();
var tocplus={"visibility_show":"show","visibility_hide":"hide","width":"Auto"};
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(t){function e(t){return t.replace(/(:|\.|\/)/g,"\\$1")}var o="1.6.0",i={},l={exclude:[],excludeWithin:[],offset:0,direction:"top",delegateSelector:null,scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0},s=function(e){var o=[],i=!1,l=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=t(this);return this!==document&&this!==window?!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(e[l]()>0?o.push(this):(e[l](1),i=e[l]()>0,i&&o.push(this),e[l](0))):(o.push(document.scrollingElement),!1):void 0}),o.length||this.each(function(){"BODY"===this.nodeName&&(o=[this])}),"first"===e.el&&o.length>1&&(o=[o[0]]),o};t.fn.extend({scrollable:function(t){var e=s.call(this,{dir:t});return this.pushStack(e)},firstScrollable:function(t){var e=s.call(this,{el:"first",dir:t});return this.pushStack(e)},smoothScroll:function(o,i){if(o=o||{},"options"===o)return i?this.each(function(){var e=t(this),o=t.extend(e.data("ssOpts")||{},i);t(this).data("ssOpts",o)}):this.first().data("ssOpts");var l=t.extend({},t.fn.smoothScroll.defaults,o),s=function(o){var i=this,s=t(this),n=t.extend({},l,s.data("ssOpts")||{}),c=l.exclude,a=n.excludeWithin,r=0,h=0,u=!0,d={},p=t.smoothScroll.filterPath(location.pathname),f=t.smoothScroll.filterPath(i.pathname),m=location.hostname===i.hostname||!i.hostname,g=n.scrollTarget||f===p,v=e(i.hash);if(n.scrollTarget||m&&g&&v){for(;u&&r<c.length;)s.is(e(c[r++]))&&(u=!1);for(;u&&h<a.length;)s.closest(a[h++]).length&&(u=!1)}else u=!1;u&&(n.preventDefault&&o.preventDefault(),t.extend(d,n,{scrollTarget:n.scrollTarget||v,link:i}),t.smoothScroll(d))};return null!==o.delegateSelector?this.undelegate(o.delegateSelector,"click.smoothscroll").delegate(o.delegateSelector,"click.smoothscroll",s):this.unbind("click.smoothscroll").bind("click.smoothscroll",s),this}}),t.smoothScroll=function(e,o){if("options"===e&&"object"==typeof o)return t.extend(i,o);var l,s,n,c,a,r=0,h="offset",u="scrollTop",d={},p={};"number"==typeof e?(l=t.extend({link:null},t.fn.smoothScroll.defaults,i),n=e):(l=t.extend({link:null},t.fn.smoothScroll.defaults,e||{},i),l.scrollElement&&(h="position","static"===l.scrollElement.css("position")&&l.scrollElement.css("position","relative"))),u="left"===l.direction?"scrollLeft":u,l.scrollElement?(s=l.scrollElement,/^(?:HTML|BODY)$/.test(s[0].nodeName)||(r=s[u]())):s=t("html, body").firstScrollable(l.direction),l.beforeScroll.call(s,l),n="number"==typeof e?e:o||t(l.scrollTarget)[h]()&&t(l.scrollTarget)[h]()[l.direction]||0,d[u]=n+r+l.offset,c=l.speed,"auto"===c&&(a=Math.abs(d[u]-s[u]()),c=a/l.autoCoefficient),p={duration:c,easing:l.easing,complete:function(){l.afterScroll.call(l.link,l)}},l.step&&(p.step=l.step),s.length?s.stop().animate(d,p):l.afterScroll.call(l.link,l)},t.smoothScroll.version=o,t.smoothScroll.filterPath=function(t){return t=t||"",t.replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},t.fn.smoothScroll.defaults=l}),jQuery.cookie=function(t,e,o){if(arguments.length>1&&"[object Object]"!==String(e)){if(o=jQuery.extend({},o),(null===e||void 0===e)&&(o.expires=-1),"number"==typeof o.expires){var i=o.expires,l=o.expires=new Date;l.setDate(l.getDate()+i)}return e=String(e),document.cookie=[encodeURIComponent(t),"=",o.raw?e:encodeURIComponent(e),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}o=e||{};var s,n=o.raw?function(t){return t}:decodeURIComponent;return(s=new RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie))?n(s[1]):null},jQuery(document).ready(function(t){if("undefined"!=typeof tocplus){if(t.fn.shrinkTOCWidth=function(){t(this).css({width:"auto",display:"table"}),/MSIE 7\./.test(navigator.userAgent)&&t(this).css("width","")},1==tocplus.smooth_scroll){var e=hostname=pathname=qs=hash=null;t("body a").click(function(){if(hostname=t(this).prop("hostname"),pathname=t(this).prop("pathname"),qs=t(this).prop("search"),hash=t(this).prop("hash"),pathname.length>0&&"/"!=pathname.charAt(0)&&(pathname="/"+pathname),window.location.hostname==hostname&&window.location.pathname==pathname&&window.location.search==qs&&""!==hash){var o=hash.replace(/([ !"$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g,"\\$1");t(o).length>0?e=hash:(anchor=hash,anchor=anchor.replace("#",""),e='a[name="'+anchor+'"]',0==t(e).length&&(e="")),offset="undefined"!=typeof tocplus.smooth_scroll_offset?-1*tocplus.smooth_scroll_offset:t("#wpadminbar").length>0&&t("#wpadminbar").is(":visible")?-30:0,e&&t.smoothScroll({scrollTarget:e,offset:offset})}})}if("undefined"!=typeof tocplus.visibility_show){var o="undefined"!=typeof tocplus.visibility_hide_by_default?!0:!1;if(t.cookie)var i=t.cookie("tocplus_hidetoc")?tocplus.visibility_show:tocplus.visibility_hide;else var i=tocplus.visibility_hide;o&&(i=i==tocplus.visibility_hide?tocplus.visibility_show:tocplus.visibility_hide),t("#toc_container p.toc_title").append(' <span class="toc_toggle"><span class="toc_brackets">[</span><a href="#">'+i+'</a><span class="toc_brackets">]</span></span>'),i==tocplus.visibility_show&&(t("ul.toc_list").hide(),t("#toc_container").addClass("contracted").shrinkTOCWidth()),t("span.toc_toggle a").click(function(e){switch(e.preventDefault(),t(this).html()){case t("<div/>").html(tocplus.visibility_hide).text():t(this).html(tocplus.visibility_show),t.cookie&&(o?t.cookie("tocplus_hidetoc",null,{path:"/"}):t.cookie("tocplus_hidetoc","1",{expires:30,path:"/"})),t("ul.toc_list").hide("fast"),t("#toc_container").addClass("contracted").shrinkTOCWidth();break;case t("<div/>").html(tocplus.visibility_show).text():default:t(this).html(tocplus.visibility_hide),t.cookie&&(o?t.cookie("tocplus_hidetoc","1",{expires:30,path:"/"}):t.cookie("tocplus_hidetoc",null,{path:"/"})),t("#toc_container").css("width",tocplus.width).removeClass("contracted"),t("ul.toc_list").show("fast")}})}}});
const tag=document.createElement('script');tag.src='https://www.youtube.com/iframe_api';const firstScriptTag=document.getElementsByTagName('script')[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);try{if(!YoutubeInfo){throw new Error('終了します');}
const YoutubepostID=YoutubeInfo.id;var onYouTubeIframeAPIReady=function(){jinrPlayer=new YT.Player('jinrYoutubeVideo',{width:'100'+'%',height:400,videoId:YoutubepostID,playerVars:{rel:0,playsinline:1,modestbranding:1,origin:location.protocol+'//'+location.hostname+'/',},});};(function($){$(window).on('load',function(){const YoutubeThumb=document.getElementById('jinrPostThumb');if(!YoutubeThumb)return;const YoutubeThumbChild=YoutubeThumb.firstElementChild;if(!YoutubeThumbChild)return;const YoutubeConfirm=YoutubeThumbChild.tagName;const YoutubePIP=document.getElementsByClassName('a--youtube-pip')[0];if(!YoutubePIP)return;const PositionTop=YoutubeThumb.getBoundingClientRect().top;const ScrollOffset=window.pageYOffset||document.documentElement.scrollTop;const YoutubeTop=parseInt(PositionTop)+parseInt(ScrollOffset);const ThumbnailHeight=YoutubeThumb.clientHeight;const YoutubeDisplayPosition=parseInt(YoutubeTop)+parseInt(ThumbnailHeight)+100;let PIPFlag=true;$(window).scroll(function(){if(PIPFlag!==true)return;const scrollTop=$(window).scrollTop();if(YoutubeConfirm=='IFRAME'){if(scrollTop>YoutubeDisplayPosition){YoutubeThumb.classList.remove('is-out');YoutubeThumb.classList.add('is-in');YoutubePIP.classList.add('js--pip-stop');}else{YoutubeThumb.classList.remove('is-in');YoutubeThumb.classList.add('is-out');YoutubePIP.classList.remove('js--pip-stop');}}});YoutubePIP.addEventListener('click',()=>{YoutubeThumb.classList.remove('is-in');YoutubeThumb.classList.add('is-out');YoutubePIP.classList.remove('js--pip-stop');PIPFlag=false;});});})(jQuery);}catch(e){};
(function($){if(navigator.userAgent.indexOf('Android')>0){let body=document.getElementsByTagName('body')[0];body.classList.add('android');}})(jQuery);(function($){var remove=function(){$('#sidebar').removeClass('animate');};setTimeout(remove,1700);})(jQuery);(function($){$('.js--hamburger-trigger').click(function(){$(this).toggleClass('js--hamburger-active');$('html').toggleClass('js--hamburger-hidden');$('.o--hamburger-menu-container').toggleClass('js--hamburger-open');});})(jQuery);(function($){$('#headerSearch').click(function(){$(this).toggleClass('js--btn-active');if($(this).hasClass('js--btn-active')){$(this).removeClass('js--btn-nonactive');$(this).find('#headerSearchIcon').removeClass('jin-ifont-searchthin').addClass('jin-ifont-batuthin');$(this).find('#headerSearchLabel').html('CLOSE');}else{$(this).addClass('js--btn-nonactive');$(this).find('#headerSearchIcon').removeClass('jin-ifont-batuthin').addClass('jin-ifont-searchthin');$(this).find('#headerSearchLabel').html('SEARCH');}
$('#HeaderSearchForm').toggleClass('js--form-active');$('#searchFormText').focus();});$(document).on('click',function(e){if($('#headerSearch').hasClass('js--btn-active')){if(!$(e.target).closest('#HeaderSearchForm').length&&!$(e.target).closest('#headerSearch').length){$('#headerSearch').toggleClass('js--btn-active');$('#headerSearch').addClass('js--btn-nonactive');$('#HeaderSearchForm').removeClass('js--form-active');$('#headerSearch').find('#headerSearchIcon').removeClass('jin-ifont-batuthin').addClass('jin-ifont-searchthin');$('#headerSearch').find('#headerSearchLabel').html('SEARCH');}}});})(jQuery);(function($){$('.a--accordion-title').click(function(){if($(this).prevAll('.a--accordion-toggle').hasClass('js-accordion-toggle')){$(this).prevAll('.a--accordion-toggle').removeClass('js-accordion-toggle');}else{$(this).prevAll('.a--accordion-toggle').addClass('js-accordion-toggle');}
$(this).next('.c--accordion-contents').slideToggle(270);});})(jQuery);(function($){$(window).on('load scroll',function(){if($(this).scrollTop()>600){$('#cvButton').addClass('js--cvb-active');}else{$('#cvButton').removeClass('js--cvb-active');}});$(document).ready(function(){if($('#cvButton').length){$('#commonFooter').addClass('js--cvb-display');}});})(jQuery);(function($){$('#jinrCopyUrl').click(function(){var url=$(this).data('url');navigator.clipboard.writeText(url);$('#jinrCopySuccess,#jinrCopySuccessBg').fadeIn(450,function(){$(this).delay(600).fadeOut(450);});});})(jQuery);(function($){const relatedPostInner=document.getElementById('jinrRelatedPostInner');if(!relatedPostInner)return;const scrollTarget=document.getElementsByClassName('o--postlist-inner')[0];const clientWidth=scrollTarget.clientWidth;const scrollWidth=scrollTarget.scrollWidth;if(!scrollTarget)return;if(!clientWidth)return;if(!scrollWidth)return;const postCount=relatedPostInner.querySelectorAll('.o--postlist-item').length;if(postCount>=5){relatedPostInner.querySelector('.o--postlist-inner').insertAdjacentHTML('beforebegin','<span class="a--scroll-btn a--scroll-prev"></span>');relatedPostInner.querySelector('.o--postlist-inner').insertAdjacentHTML('afterend','<span class="a--scroll-btn a--scroll-next js--scroll-active"></span>');}else{return;}
const scrollPrev=document.querySelector('.a--scroll-prev');const scrollNext=document.querySelector('.a--scroll-next');let timeoutId;scrollTarget.addEventListener('scroll',function(){clearTimeout(timeoutId);scrollPrev.classList.add('js--scroll-active');scrollNext.classList.add('js--scroll-active');if(scrollWidth-(clientWidth+scrollTarget.scrollLeft)==0){scrollNext.classList.remove('js--scroll-active');scrollPrev.classList.add('js--scroll-active');}
if(scrollTarget.scrollLeft==0){scrollPrev.classList.remove('js--scroll-active');}},true);relatedPostInner.addEventListener('click',(e)=>{if(e.target.classList.contains('a--scroll-next')){$('#jinrRelatedPostInner .d--postlist-slider').animate({scrollLeft:scrollTarget.scrollLeft+1092,},300);if(!scrollTarget.scrollLeft==0){e.target.classList.add('js--scroll-active');}
scrollTarget.onscroll=function(){if(scrollWidth-(clientWidth+scrollTarget.scrollLeft)==0){e.target.classList.remove('js--scroll-active');}};scrollTarget.addEventListener('scroll',function(){scrollTarget.onscroll=function(){if(scrollWidth-(clientWidth+scrollTarget.scrollLeft)==0){e.target.classList.remove('js--scroll-active');}};},true);}});relatedPostInner.addEventListener('click',(e)=>{if(e.target.classList.contains('a--scroll-prev')){$('#jinrRelatedPostInner .d--postlist-slider').animate({scrollLeft:scrollTarget.scrollLeft-1092,},300);scrollTarget.addEventListener('scroll',function(){scrollTarget.onscroll=function(){if(scrollTarget.scrollLeft==0){e.target.classList.remove('js--scroll-active');}};},true);scrollTarget.scrollLeft-=100;if(!scrollTarget.scrollLeft==0){e.target.classList.add('js--scroll-active');e.target.classList.add('js--scroll-active');}}});})(jQuery);(function($){function jinrArrowButtonWidget(id){const widgetWrapper=document.getElementById(id);if(!widgetWrapper)return;const widgetPostSlider=widgetWrapper.getElementsByClassName('d--postlist-slider');if(!widgetPostSlider.length)return;for(let i=0;i<widgetPostSlider.length;i++){const postCount=widgetPostSlider[i].getElementsByClassName('o--postlist-item').length;if(postCount>=5){const clientWidth=widgetPostSlider[i].clientWidth;const scrollWidth=widgetPostSlider[i].scrollWidth;widgetPostSlider[i].insertAdjacentHTML('beforebegin',`<span class="a--scroll-btn a--scroll-prev" data-slider-index="${i}"></span>`);widgetPostSlider[i].insertAdjacentHTML('afterend',`<span class="a--scroll-btn a--scroll-next js--scroll-active" data-slider-index="${i}"></span>`);const widgetScrollPrev=widgetWrapper.querySelectorAll('.a--scroll-prev')[i];const widgetScrollNext=widgetWrapper.querySelectorAll('.a--scroll-next')[i];let timeoutId;widgetPostSlider[i].addEventListener('scroll',function(){clearTimeout(timeoutId);if(scrollWidth-(clientWidth+widgetPostSlider[i].scrollLeft)==0){widgetScrollNext.classList.remove('js--scroll-active');widgetScrollPrev.classList.add('js--scroll-active');}else{widgetScrollPrev.classList.add('js--scroll-active');}
if(widgetPostSlider[i].scrollLeft==0){widgetScrollPrev.classList.remove('js--scroll-active');widgetScrollNext.classList.add('js--scroll-active');}},true);widgetScrollNext.addEventListener('click',(e)=>{const nextsliderIndex=e.target.getAttribute('data-slider-index');const nextslider=widgetPostSlider[nextsliderIndex];$(nextslider).animate({scrollLeft:nextslider.scrollLeft+1092,},300);if(!nextslider.scrollLeft==0){e.target.classList.add('js--scroll-active');}
nextslider.onscroll=function(){if(scrollWidth-(clientWidth+nextslider.scrollLeft)==0){e.target.classList.remove('js--scroll-active');}};widgetPostSlider[nextsliderIndex].addEventListener('scroll',function(){widgetPostSlider[nextsliderIndex].onscroll=function(){if(scrollWidth-(clientWidth+widgetPostSlider[nextsliderIndex].scrollLeft)==0){e.target.classList.remove('js--scroll-active');}};},true);});widgetScrollPrev.addEventListener('click',(e)=>{const prevSliderIndex=e.target.getAttribute('data-slider-index');const prevSlider=widgetPostSlider[prevSliderIndex];$(prevSlider).animate({scrollLeft:widgetPostSlider[i].scrollLeft-1092,},300);widgetPostSlider[prevSliderIndex].addEventListener('scroll',function(){widgetPostSlider[prevSliderIndex].onscroll=function(){if(widgetPostSlider[prevSliderIndex].scrollLeft==0){e.target.classList.remove('js--scroll-active');}};},true);prevSlider.scrollLeft-=100;if(!prevSlider.scrollLeft==0){e.target.classList.add('js--scroll-active');e.target.classList.add('js--scroll-active');}});}else{return;}}}
jinrArrowButtonWidget('footer-widget');jinrArrowButtonWidget('jinr-posttop-widget-area');jinrArrowButtonWidget('jinr-postbottom-widget-area');jinrArrowButtonWidget('jinr-relatedpost-bottom-widget-area');})(jQuery);(function($){var $target=$('.js--scr-animation');var offset=100;$(window).on('scroll',function(){var scroll=$(window).scrollTop();var h=$(window).height();$target.each(function(){var pos=$(this).offset().top;if(scroll>pos-h+offset){if($(this).hasClass("b--jinr-button")){$(this).children(".o--button-inner").addClass('is-animated');}else{$(this).addClass('is-animated');}}})}).trigger('scroll');})(jQuery);(function($){const anchors=document.querySelectorAll('a[href^="#"]');const header=document.querySelector('header');let headerOffset=0;if(header){if(headerTracking.tracking_info==='d--header-tracking-on'){headerOffset=header.offsetHeight;}else{headerOffset=15;}}else{headerOffset=15;}
for(let i=0;i<anchors.length;i++){anchors[i].addEventListener('click',(e)=>{e.preventDefault();if(e.target.closest('#rtoc-mokuji-wrapper')){return;}else{const href=anchors[i].getAttribute("href");const target=document.getElementById(href.replace('#',''));if(target){const position=window.pageYOffset+target.getBoundingClientRect().top-headerOffset-30;window.scroll({top:position,behavior:'smooth'});}}});}})(jQuery);(function($){$.ajax({type:"POST",url:jinr_ajax_common.ajax_url,data:{action:jinr_ajax_common.action,post_id:jinr_ajax_common.post_id}});})(jQuery);
document.addEventListener('DOMContentLoaded',function(){const trackingElement=document.getElementById('sideBarTracking');const headerElement=document.getElementById('commonHeader');let attrTopvalue='';if(!headerElement)return;if(trackingElement){if(headerElement.classList.contains('d--header-tracking-on')&&headerElement.classList.contains('d--header-layout1')){const headerHeight=headerElement.clientHeight;attrTopvalue=headerHeight+15;trackingElement.style.top=attrTopvalue+'px';}else{trackingElement.style.top=15+'px';}}
let ticking=false;const scrollElement=document.querySelector('#commonHeader');const scrollElementParts=document.querySelector('.a--header-style-parts');if(!ticking){if(!scrollElement)return;if(scrollElement.classList.contains('d--header-tracking-on')&&scrollElement.classList.contains('d--header-layout1')){function JinrHeaderScrollAnimation(){requestAnimationFrame(function(){ticking=false;if(window.pageYOffset>1050){scrollElement.classList.remove("js--follow-header-display-off");scrollElement.classList.add("js--follow-header-display");}else if(scrollElement.classList.contains("js--follow-header-display")){scrollElement.classList.remove("js--follow-header-display");scrollElement.classList.add("js--follow-header-display-off");}else if(window.pageYOffset<300){scrollElement.classList.remove("js--follow-header-display-off");}});ticking=true;}
document.addEventListener('scroll',JinrHeaderScrollAnimation,{passive:true});}
if(!scrollElementParts)return;if(scrollElementParts.classList.contains('d--header-tracking-on')&&scrollElement.classList.contains('d--header-layout1')){function JinrHeaderScrollAnimation(){requestAnimationFrame(function(){ticking=false;if(window.pageYOffset>1050){scrollElementParts.classList.remove("js--follow-header-display-off");scrollElementParts.classList.add("js--follow-header-display");}else if(scrollElementParts.classList.contains("js--follow-header-display")){scrollElementParts.classList.remove("js--follow-header-display");scrollElementParts.classList.add("js--follow-header-display-off");}else if(window.pageYOffset<300){scrollElementParts.classList.remove("js--follow-header-display-off");}});ticking=true;}
document.addEventListener('scroll',JinrHeaderScrollAnimation,{passive:true});}}});
jQuery(function($){$('.jinr-loadmore').click(function(){let button=$(this);let cat_id=button.parent().attr('id');let params=jinr_loadmore_params1;let nowY=button.parent().data('year');let nowM=button.parent().data('month');let nowD=button.parent().data('day');let tag_name=button.parent().data('tag');let arrayID=[];button.parent().children('article').each(function(index,element){arrayID.push($(element).data('id'));});let data={action:'loadmore',query:params.posts,cat:cat_id,tag:tag_name,nowY:nowY,nowM:nowM,nowD:nowD,articleID:arrayID,};arrayID=[];$.ajax({url:params.ajaxurl,data:data,type:'POST',beforeSend:function(xhr){button.html('<span>Loading...</span>');},success:function(data){if(data){if(button!==null){button.before(data);}else{$('#'+cat_id).append(data);}
params.current_page++;button.html('<span>もっと見る</span>');if(params.current_page==params.max_page){button.remove();}}else{button.remove();}},});});});
var postlist_loadmore={"ajaxurl":"https:\/\/www.childpit.online\/wp-admin\/admin-ajax.php"};
jQuery(function($){function loadmore(){let button=$(this);let page=button.data('page');let client_id=button.data('client-id');let dataDict='';if(client_id!==undefined){dataDict=$(`#${client_id}`).data();}else{return;}
let timeSet='';let catSet='';if(dataDict.timedisp==='on'){timeSet='on';}else if(dataDict.timedisp==='off'||dataDict.timedisp===''){timeSet='off';}else{timeSet='off';}
if(dataDict.catdisp==='on'){catSet='on';}else if(dataDict.catdisp==='off'||dataDict.catdisp===''){catSet='off';}else{catSet='off';}
let arrayID=[];$(`#${client_id} article`).each(function(index,element){arrayID.push($(element).data('id'));});let data={action:'postlist-loadmore',displayArticles:dataDict.ar,page:page,postNum:dataDict.postnum,category:dataDict.cat,buttonText:dataDict.btn,clientId:client_id,articleID:arrayID,timeDisp:timeSet,catDisp:catSet,column:dataDict.column,columnSp:dataDict.columnsp,listDesign:dataDict.listdesign,listDesignSp:dataDict.listdesignsp,};arrayID=[];$.ajax({url:postlist_loadmore.ajaxurl,data:data,type:'POST',beforeSend:function(xhr){button.html('<span>Loading...</span>');},success:function(data){if(data){$('#'+client_id).append(data);button.remove();$('div .'+client_id).click(loadmore);}else{button.remove();}},});}
var loading=false;function loadmoreSlider(){var elLeft=$(this).children('article').last().offset().left;var scrollProps=$(this).scrollLeft();let postNum=$(this).data('postnum');let condition=(elLeft+elLeft/3)*0.9;let isMore=scrollProps>condition;if(isMore&&!loading){loading=true;let section=$(this);let client_id=section.data('clientid');let page=section.data('page');if(page===undefined){page=1;}
let dataDict=$(`#${client_id}`).data();let timeSet='';let catSet='';if(dataDict.timedisp==='on'){timeSet='on';}else if(dataDict.timedisp==='off'||dataDict.timedisp===''){timeSet='off';}else{timeSet='off';}
if(dataDict.catdisp==='on'){catSet='on';}else if(dataDict.catdisp==='off'||dataDict.catdisp===''){catSet='off';}else{catSet='off';}
let arrayID=[];$(`#${client_id} article`).each(function(index,element){arrayID.push($(element).data('id'));});let data={action:'postlist-loadmore',displayArticles:dataDict.ar,page:page,postNum:dataDict.postnum,category:dataDict.cat,articleID:arrayID,buttonText:dataDict.btn,clientId:client_id,articleID:arrayID,timeDisp:timeSet,catDisp:catSet,column:dataDict.column,columnSp:dataDict.columnsp,listDesign:dataDict.listdesign,listDesignSp:dataDict.listdesignsp,};$.ajax({url:postlist_loadmore.ajaxurl,data:data,type:'POST',}).done((data)=>{section.data('page',page+1);if(data){$('#'+client_id).append(data);$('div .'+client_id).remove();}}).always(()=>{loading=false;});}}
$('div .a--postlist-more').click(loadmore);$('section .d--postlist-slider-loader').scroll(loadmoreSlider);});
var jinr_paidpost={"ajaxurl":"https:\/\/www.childpit.online\/wp-admin\/admin-ajax.php"};
(function($){const stripeRef=document.referrer;if(stripeRef.includes('stripe.com')){let productID=localStorage.getItem("productID");let productURL=localStorage.getItem("productURL");let productTitle=localStorage.getItem("productTitle");let data={action:'paidpost',productid:productID,producturl:productURL,producttitle:productTitle,striperef:stripeRef,};$.ajax({url:jinr_paidpost.ajaxurl,data:data,type:'POST',}).done(function(data,textStatus,jqXHR){const paidpostTitle=document.getElementById('paidpostTitle');const paidpostLink=document.getElementById('paidpostLink');if(productTitle){paidpostTitle.textContent=productTitle;}else{paidpostTitle.textContent='';}
if(productURL){paidpostLink.setAttribute("href",productURL);}else{paidpostLink.setAttribute("href",'#');}
localStorage.removeItem("productID");localStorage.removeItem("productURL");localStorage.removeItem("productTitle");}).fail(function(jqXHR,textStatus,errorThrown){console.log("textStatus     : "+textStatus);console.log("errorThrown    : "+errorThrown.message);});}
document.addEventListener("DOMContentLoaded",function(){function closePopup(){const body=document.getElementsByTagName('body')[0];body.classList.remove('jinr-no-scroll');window.scrollTo(0,scrollTop);const lostPassWrapper=document.getElementById('JinrPaidPopUpLostpasswordWrapper');const registerWrapper=document.getElementById('JinrPaidPopUpRegisterWrapper');const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');const JinrPaidpostCancelWrapper=document.getElementById('JinrPaidpostCancelWrapper');const jinrPopupBg=document.getElementById('JinrPopupBg');if(lostPassWrapper){lostPassWrapper.classList.remove(...lostPassWrapper.classList);}
if(jinrPopupBg){jinrPopupBg.classList.remove(...jinrPopupBg.classList);}
if(registerWrapper){registerWrapper.classList.remove(...registerWrapper.classList);}
if(JinrPaidpostCancelWrapper){JinrPaidpostCancelWrapper.classList.remove(...JinrPaidpostCancelWrapper.classList);}
if(loginWrapper){loginWrapper.classList.remove(...loginWrapper.classList);}}
const JinrPaidPopupRegisterClose=document.getElementById('JinrPaidPopupRegisterClose');const JinrPaidPopupLoginClose=document.getElementById('JinrPaidPopupLoginClose');const JinrPaidPopupLostClose=document.getElementById('JinrPaidPopupLostClose');const JinrPaidPopupCancelClose=document.getElementById('JinrPaidPopupCancelClose');if(JinrPaidPopupRegisterClose){JinrPaidPopupRegisterClose.addEventListener('click',closePopup);}
if(JinrPaidPopupLoginClose){JinrPaidPopupLoginClose.addEventListener('click',closePopup);}
if(JinrPaidPopupLostClose){JinrPaidPopupLostClose.addEventListener('click',closePopup);}
if(JinrPaidPopupCancelClose){JinrPaidPopupCancelClose.addEventListener('click',closePopup);}
const JinrAlreadyRegisterUser=document.getElementById('JinrAlreadyRegisterUser');if(JinrAlreadyRegisterUser){JinrAlreadyRegisterUser.addEventListener('click',function(e){e.preventDefault();const body=document.getElementsByTagName('body')[0];scrollTop=window.scrollY;body.style.top=(scrollTop*-1)+'px';body.classList.add('jinr-no-scroll');const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');const jinrPopupBg=document.getElementById('JinrPopupBg');if(loginWrapper){loginWrapper.classList.add('a--paidpost-popup');}
if(jinrPopupBg){jinrPopupBg.classList.add('a--paidpost-popup');}});}
const paidpostButton=document.querySelector('#JinrPaidContents a');if(paidpostButton){paidpostButton.addEventListener('click',(event)=>{event.preventDefault();const productElements=document.getElementsByName('paidpost_product_id')[0];const titleElements=document.getElementById('jinrPostTitle');const redirectValue=location.href;const productValue=productElements.value;let titleValue;if(!titleElements){titleValue="";}else{titleValue=titleElements.textContent;}
localStorage.setItem('productID',productValue);localStorage.setItem('productURL',redirectValue);localStorage.setItem('productTitle',titleValue);let data={action:'jinr_user_mail_action',};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,datatype:"JSON",}).done(function(data,textStatus,jqXHR){let JinrPaidpostURL=document.getElementById('JinrPaidpostURL').value;const regex=/^[a-zA-Z0-9_.+-]+@([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]*\.)+[a-zA-Z]{2,}$/;if(regex.test(data)){JinrPaidpostURL=JinrPaidpostURL+'?prefilled_email='+encodeURIComponent(data);location.href=JinrPaidpostURL;}}).fail(function(XMLHttpRequest,status,e){console.log("ajax失敗: "+status+XMLHttpRequest);});return false;});}
const continueBtn=document.querySelector('#JinrPaidContents a');const modalCancelBtn=document.getElementById('JinrPopupBg');if(continueBtn){if(continueBtn.getAttribute('href')=='#'){continueBtn.addEventListener('click',function(e){e.preventDefault();const body=document.getElementsByTagName('body')[0];scrollTop=window.scrollY;body.style.top=(scrollTop*-1)+'px';body.classList.add('jinr-no-scroll');const jinrPopupBg=document.getElementById('JinrPopupBg');const registerWrapper=document.getElementById('JinrPaidPopUpRegisterWrapper');registerWrapper.classList.add('a--paidpost-popup');jinrPopupBg.classList.add('a--paidpost-popup');})
const loginPopupContent=document.getElementById('JinrLoginDisplay');loginPopupContent.addEventListener('click',function(e){e.preventDefault();const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');const registerWrapper=document.getElementById('JinrPaidPopUpRegisterWrapper');registerWrapper.classList.remove('a--paidpost-popup');loginWrapper.classList.add('a--paidpost-open');registerWrapper.classList.add('a--paidpost-close');if(registerWrapper.classList.contains('a--paidpost-open')){registerWrapper.classList.remove('a--paidpost-open');loginWrapper.classList.add('a--paidpost-open');loginWrapper.classList.remove('a--paidpost-close');}})
const registerPopupContent=document.getElementById('JinrRegisterDisplay');registerPopupContent.addEventListener('click',function(e){e.preventDefault();const registerWrapper=document.getElementById('JinrPaidPopUpRegisterWrapper');const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');loginWrapper.classList.remove('a--paidpost-open');loginWrapper.classList.add('a--paidpost-close');registerWrapper.classList.add('a--paidpost-open');registerWrapper.classList.remove('a--paidpost-close');})}}
if(modalCancelBtn){modalCancelBtn.addEventListener('click',function(e){const lostPassWrapper=document.getElementById('JinrPaidPopUpLostpasswordWrapper');const registerWrapper=document.getElementById('JinrPaidPopUpRegisterWrapper');const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');const JinrPaidpostCancelWrapper=document.getElementById('JinrPaidpostCancelWrapper');const jinrPopupBg=document.getElementById('JinrPopupBg');const body=document.getElementsByTagName('body')[0];body.style.top='';body.classList.remove('jinr-no-scroll');window.scrollTo(0,scrollTop);this.classList.remove(...this.classList);if(lostPassWrapper){lostPassWrapper.classList.remove(...lostPassWrapper.classList);}
if(jinrPopupBg){jinrPopupBg.classList.remove(...jinrPopupBg.classList);}
if(registerWrapper){registerWrapper.classList.remove(...registerWrapper.classList);}
if(JinrPaidpostCancelWrapper){JinrPaidpostCancelWrapper.classList.remove(...JinrPaidpostCancelWrapper.classList);}
if(loginWrapper){loginWrapper.classList.remove(...loginWrapper.classList);}})}
const lostPasswordBtn=document.getElementById('JinrLostPassword');if(lostPasswordBtn){lostPasswordBtn.addEventListener('click',function(e){e.preventDefault();const lostPassWrapper=document.getElementById('JinrPaidPopUpLostpasswordWrapper');const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');lostPassWrapper.classList.remove('a--paidpost-close');lostPassWrapper.classList.add('a--paidpost-open');loginWrapper.classList.remove('a--paidpost-open');loginWrapper.classList.add('a--paidpost-close');})}
const lostPasswordCancel=document.getElementById('JinrLostpasswordCancel');if(lostPasswordCancel){lostPasswordCancel.addEventListener('click',function(){const lostPassWrapper=document.getElementById('JinrPaidPopUpLostpasswordWrapper');const loginWrapper=document.getElementById('JinrPaidPopUpLoginWrapper');loginWrapper.classList.remove('a--paidpost-close');loginWrapper.classList.add('a--paidpost-open');lostPassWrapper.classList.remove('a--paidpost-open');lostPassWrapper.classList.add('a--paidpost-close');})}
const JinrRegisterButton=document.getElementById('JinrRegisterButton');if(JinrRegisterButton){JinrRegisterButton.addEventListener('click',function(e){JinrRegisterButton.innerText='';JinrRegisterButton.insertAdjacentHTML('beforeend','<span class="a--paidpost-loading">処理中...</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 44 44" stroke="#fff"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle></g></svg>');const JinrRegisterName=document.getElementById('JinrRegisterName');const JinrRegisterNameValue=JinrRegisterName.value;const JinrRegisterMail=document.getElementById('JinrRegisterMail');const JinrRegisterMailValue=JinrRegisterMail.value;const JinrRegisterPass=document.getElementById('JinrRegisterPass');const JinrRegisterPassValue=JinrRegisterPass.value;const JinrRegisterNonce=document.getElementById('jinr_nonce_register_check');const JinrRegisterNonceValue=JinrRegisterNonce.value;JinrRegisterMail.addEventListener("input",(e)=>{const nextLackContent=JinrRegisterMail.nextElementSibling;if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrRegisterMail.classList.remove('jinr-lack-input');}});JinrRegisterPass.addEventListener("input",(e)=>{const nextLackContent=JinrRegisterPass.nextElementSibling;if(nextLackContent!==null){if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrRegisterPass.classList.remove('jinr-lack-input');}}});let data={action:'jinr_user_action',name:JinrRegisterNameValue,mail:JinrRegisterMailValue,pass:JinrRegisterPassValue,nonce:JinrRegisterNonceValue,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,datatype:"JSON",}).done(function(data,textStatus,jqXHR){if(data['user_pass']==='empty'&&data['user_email']==='empty'){Object.keys(data).forEach((key)=>{const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';if(key=='user_pass'){JinrLackElement.textContent='パスワードが不足しています';JinrRegisterPass.className='jinr-lack-input';JinrRegisterPass.after(JinrLackElement);}else if(key=='user_email'){JinrLackElement.textContent='メールアドレスが不足しています';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);}});JinrRegisterButton.innerText='この情報で会員登録｜購入に進む';}else if(data==='user_pass_lack'){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='パスワードが不足しています';JinrRegisterPass.className='jinr-lack-input';JinrRegisterPass.after(JinrLackElement);JinrRegisterButton.innerText='この情報で会員登録｜購入に進む';}else if(data==='user_mail_lack'){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='メールアドレスが不足しています';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);JinrRegisterButton.innerText='この情報で会員登録｜購入に進む';}
if(data==='user_mail_exist'){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='すでにこのメールアドレスは登録されています';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);JinrRegisterButton.innerText='この情報で会員登録｜購入に進む';}
if(data==='user_mail_invalid'){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='不正なメールアドレスです';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);JinrRegisterButton.innerText='この情報で会員登録｜購入に進む';}
if(data==='user_pass_invalid'){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='不正なパスワードです';JinrRegisterPass.className='jinr-lack-input';JinrRegisterPass.after(JinrLackElement);JinrRegisterButton.innerText='この情報で会員登録｜購入に進む';}
if(!isNaN(data)||isNaN(data)==''){let JinrPaidpostURL=document.getElementById('JinrPaidpostURL').value;JinrPaidpostURL=JinrPaidpostURL+'?prefilled_email='+encodeURIComponent(JinrRegisterMailValue);setTimeout(function(){JinrRegisterButton.innerText='登録完了｜決済ページに遷移します';JinrRegisterButton.classList.add('a--register-complete');const productElements=document.getElementsByName('paidpost_product_id')[0];const titleElements=document.getElementById('jinrPostTitle');const redirectValue=location.href;const productValue=productElements.value;let titleValue;if(!titleElements){titleValue="";}else{titleValue=titleElements.textContent;}
localStorage.setItem('productID',productValue);localStorage.setItem('productURL',redirectValue);localStorage.setItem('productTitle',titleValue);setTimeout(()=>{location.href=JinrPaidpostURL;},1000);},2200);}}).fail(function(XMLHttpRequest,status,e){console.log("ajax失敗: "+status+XMLHttpRequest);});return false;})}
function JinrRegisterCheckInputValue(){const JinrRegisterName=document.getElementById('JinrRegisterName');const JinrRegisterMail=document.getElementById('JinrRegisterMail');const JinrRegisterPass=document.getElementById('JinrRegisterPass');if(JinrRegisterMail){JinrRegisterMail.addEventListener("input",()=>{function generateRandomAlphanumeric(length){const chars='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';let result='';for(let i=0;i<length;i++){result+=chars.charAt(Math.floor(Math.random()*chars.length));}
return result;}
JinrRegisterMail.addEventListener("input",(e)=>{const nextLackContent=JinrRegisterMail.nextElementSibling;if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrRegisterMail.classList.remove('jinr-lack-input');}});const randomValue=generateRandomAlphanumeric(8);JinrRegisterName.value=randomValue;const JinrRegisterMailValue=JinrRegisterMail.value;let data={action:'jinr_check_mail_action',mail:JinrRegisterMailValue,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,datatype:"JSON",}).done(function(data,textStatus,jqXHR){const inputSVGElement=document.getElementById('JinrRegisternMailSVG');const nextLackContent=JinrRegisterMail.nextElementSibling;if(nextLackContent!==null){if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrRegisterMail.classList.remove('jinr-lack-input');}}
if(data==='user_mail_approve'){JinrRegisterMail.classList.add('jinr-approval-input');inputSVGElement.classList.add('jinr-approval-svg');}else{if(JinrRegisterMail.classList.contains('jinr-approval-input')){JinrRegisterMail.classList.remove('jinr-approval-input');}
if(inputSVGElement.classList.contains('jinr-approval-svg')){inputSVGElement.classList.remove('jinr-approval-svg');}
const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';if(data==='user_mail_lack'){JinrLackElement.textContent='メールアドレスが不足しています';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);}else if(data==='user_mail_exist'){JinrLackElement.textContent='すでにこのメールアドレスは登録されています';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);}else if(data==='user_mail_invalid'){JinrLackElement.textContent='不正なメールアドレスです';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);}}}).fail(function(XMLHttpRequest,status,e){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='何かがうまくいかなかったようです。サイト運営者に問い合わせてください';JinrRegisterMail.className='jinr-lack-input';JinrRegisterMail.after(JinrLackElement);});return false;});}
if(JinrRegisterPass){JinrRegisterPass.addEventListener("input",()=>{const JinrRegisterPassValue=JinrRegisterPass.value;let data={action:'jinr_check_pass_action',pass:JinrRegisterPassValue,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,datatype:"JSON",}).done(function(data,textStatus,jqXHR){const inputSVGElement=document.getElementById('JinrRegisternPassSVG');const nextLackContent=JinrRegisterPass.nextElementSibling;if(nextLackContent!==null){if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrRegisterPass.classList.remove('jinr-lack-input');}}
if(data==='user_pass_approve'){JinrRegisterPass.classList.add('jinr-approval-input');inputSVGElement.classList.add('jinr-approval-svg');}else{if(JinrRegisterPass.classList.contains('jinr-approval-input')){JinrRegisterPass.classList.remove('jinr-approval-input');}
if(inputSVGElement.classList.contains('jinr-approval-svg')){inputSVGElement.classList.remove('jinr-approval-svg');}
const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';if(data==='user_pass_lack'){JinrLackElement.textContent='8文字以上のパスワードを設定してください';JinrRegisterPass.className='jinr-lack-input';JinrRegisterPass.after(JinrLackElement);}else if(data==='user_pass_invalid'){JinrLackElement.textContent='パスワードが正しくありません';JinrRegisterPass.className='jinr-lack-input';JinrRegisterPass.after(JinrLackElement);}}}).fail(function(XMLHttpRequest,status,e){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='何かがうまくいかなかったようです。サイト運営者に問い合わせてください';JinrRegisterPass.className='jinr-lack-input';JinrRegisterPass.after(JinrLackElement);});return false;});}}
JinrRegisterCheckInputValue();function JinrLoginCheckInputValue(){const JinrLoginMail=document.getElementById('JinrLoginMail');const JinrLoginPass=document.getElementById('JinrLoginPass');if(JinrLoginMail){JinrLoginMail.addEventListener("input",()=>{const JinrLoginMailValue=JinrLoginMail.value;let data={action:'jinr_login_check_mail_action',mail:JinrLoginMailValue,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,datatype:"JSON",}).done(function(data,textStatus,jqXHR){const inputSVGElement=document.getElementById('JinrLoginMailSVG');const nextLackContent=JinrLoginMail.nextElementSibling;if(nextLackContent!==null){if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrLoginMail.classList.remove('jinr-lack-input');}}
if(data==='user_mail_approve'){JinrLoginMail.classList.add('jinr-approval-input');inputSVGElement.classList.add('jinr-approval-svg');}else{if(JinrLoginMail.classList.contains('jinr-approval-input')){JinrLoginMail.classList.remove('jinr-approval-input');}
if(inputSVGElement.classList.contains('jinr-approval-svg')){inputSVGElement.classList.remove('jinr-approval-svg');}
const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';if(data==='user_name_lack'){JinrLackElement.textContent='メールアドレスが不足しています';JinrLoginMail.className='jinr-lack-input';JinrLoginMail.after(JinrLackElement);}else if(data==='user_mail_invalid'){JinrLackElement.textContent='不正なメールアドレスです';JinrLoginMail.className='jinr-lack-input';JinrLoginMail.after(JinrLackElement);}else if(data==='user_not_found'){JinrLackElement.textContent='このメールアドレスを持つユーザーが存在しません';JinrLoginMail.className='jinr-lack-input';JinrLoginMail.after(JinrLackElement);}}}).fail(function(XMLHttpRequest,status,e){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='何かがうまくいかなかったようです。サイト運営者に問い合わせてください';JinrLoginMail.className='jinr-lack-input';JinrLoginMail.after(JinrLackElement);});return false;});}
if(JinrLoginPass){JinrLoginPass.addEventListener("input",()=>{const JinrLoginPassValue=JinrLoginPass.value;let data={action:'jinr_login_check_pass_action',pass:JinrLoginPassValue,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,datatype:"JSON",}).done(function(data,textStatus,jqXHR){const inputSVGElement=document.getElementById('JinrLoginPassSVG');const nextLackContent=JinrLoginPass.nextElementSibling;if(nextLackContent!==null){if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();JinrLoginPass.classList.remove('jinr-lack-input');}}
if(data==='user_pass_approve'){JinrLoginPass.classList.add('jinr-approval-input');inputSVGElement.classList.add('jinr-approval-svg');}else{if(JinrLoginPass.classList.contains('jinr-approval-input')){JinrLoginPass.classList.remove('jinr-approval-input');}
if(inputSVGElement.classList.contains('jinr-approval-svg')){inputSVGElement.classList.remove('jinr-approval-svg');}
const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';if(data==='user_pass_lack'){JinrLackElement.textContent='8文字以上のパスワードを設定してください';JinrLoginPass.className='jinr-lack-input';JinrLoginPass.after(JinrLackElement);}else if(data==='user_pass_invalid'){JinrLackElement.textContent='パスワードが正しくありません';JinrLoginPass.className='jinr-lack-input';JinrLoginPass.after(JinrLackElement);}}}).fail(function(XMLHttpRequest,status,e){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';JinrLackElement.textContent='何かがうまくいかなかったようです。サイト運営者に問い合わせてください';JinrLoginPass.className='jinr-lack-input';JinrLoginPass.after(JinrLackElement);});return false;});}}
JinrLoginCheckInputValue();const JinrLoginButton=document.getElementById('JinrLoginButton');const reCAPTCHAAPI=document.getElementById('advanced-google-recaptcha-api-js');if(reCAPTCHAAPI){if(jinr_paidpost.agrVersion=='v3'){grecaptcha.ready(function(){grecaptcha.execute(agrRecaptcha.site_key,{action:'login'}).then(function(token){if(document.getElementById('g-recaptcha-response')){document.getElementById('g-recaptcha-response').value=token;}});});}}
if(JinrLoginButton){JinrLoginButton.addEventListener('click',function(){const reCAPTCHAValue=document.getElementById('g-recaptcha-response').getAttribute('value');JinrLoginButton.innerText='';JinrLoginButton.insertAdjacentHTML('beforeend','<span class="a--paidpost-loading">処理中...</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 44 44" stroke="#fff"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle></g></svg>');const JinrLoginMail=document.getElementById('JinrLoginMail');const JinrLoginMailValue=JinrLoginMail.value;const JinrLoginPass=document.getElementById('JinrLoginPass');const JinrLoginPassValue=JinrLoginPass.value;const JinrLoginNonce=document.getElementById('jinr_nonce_login_check');const JinrLoginNonceValue=JinrLoginNonce.value;const JinrPaidpostID=document.getElementById('JinrPaidpostID');const JinrPaidpostIDValue=JinrPaidpostID.value;const nextLackContent=JinrLoginButton.nextElementSibling;if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();}
JinrLoginMail.addEventListener("input",(e)=>{const nextLackContent=JinrLoginMail.nextElementSibling;if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();}});JinrLoginPass.addEventListener("input",(e)=>{const nextLackContent=JinrLoginPass.nextElementSibling;if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();}});let data={action:'jinr_login_action',mail:JinrLoginMailValue,pass:JinrLoginPassValue,nonce:JinrLoginNonceValue,productID:JinrPaidpostIDValue,'g-recaptcha-response':reCAPTCHAValue,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,datatype:"JSON",data:data,}).done(function(data,textStatus,jqXHR){const JinrLackElement=document.createElement('span');JinrLackElement.className='jinr-lack-content';if(data==='inputUsermail'){JinrLackElement.textContent='メールアドレスを入力してください';JinrLoginMail.after(JinrLackElement);JinrLoginButton.innerText='ログイン';}else if(data==='inputPassword'){JinrLackElement.textContent='パスワードを入力してください';JinrLoginPass.after(JinrLackElement);JinrLoginButton.innerText='ログイン';}else if(data==='user_not_found'){JinrLackElement.textContent='このメールアドレスは登録されていません';JinrLoginMail.after(JinrLackElement);JinrLoginButton.innerText='ログイン';}else if(data==='user_mail_invalid'){JinrLackElement.textContent='このメールアドレスは正しくありません';JinrLoginMail.after(JinrLackElement);JinrLoginButton.innerText='ログイン';}else if(data==='incorrect_password'){JinrLackElement.textContent='このパスワードは間違っています';JinrLoginPass.after(JinrLackElement);JinrLoginButton.innerText='ログイン';JinrLoginPass.classList.remove('jinr-approval-input');JinrLoginPass.classList.add('jinr-lack-input');const inputSVGElement=document.getElementById('JinrLoginPassSVG');inputSVGElement.classList.remove('jinr-approval-svg');}else if(data==='wp_invalid'){JinrLackElement.textContent='メールアドレスとパスワードのどちらかか両方が間違っています';JinrLoginButton.after(JinrLackElement);JinrLoginButton.innerText='ログイン';}else if(data==='Purchased'){setTimeout(function(){const RedirectURL=location.href;JinrLoginButton.innerText='ログイン完了｜ページリロードします';JinrLoginButton.classList.add('a--register-complete');setTimeout(()=>{location.href=RedirectURL;},1200);},2200);}else if(data==='notPurchased'){setTimeout(function(){let JinrPaidpostURL=document.getElementById('JinrPaidpostURL').value;JinrPaidpostURL=JinrPaidpostURL+'?prefilled_email='+encodeURIComponent(JinrLoginMailValue);JinrLoginButton.innerText='ログイン完了｜購入ページへ遷移します';JinrLoginButton.classList.add('a--register-complete');setTimeout(()=>{location.href=JinrPaidpostURL;},1000);},2200);}}).fail(function(XMLHttpRequest,status,e){console.log("ajax失敗: "+status+XMLHttpRequest);});return false;})}
const JinrLoatpasswordButton=document.getElementById('JinrLoatpasswordButton');if(JinrLoatpasswordButton){JinrLoatpasswordButton.addEventListener('click',function(e){JinrLoatpasswordButton.innerText='';JinrLoatpasswordButton.insertAdjacentHTML('beforeend','<span class="a--paidpost-loading">処理中...</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 44 44" stroke="#fff"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle></g></svg>');const JinrMailForLostapassword=document.getElementById('JinrMailForLostapassword');const JinrMailForLostapasswordValue=JinrMailForLostapassword.value;const JinrLostapasswordNonce=document.getElementById('jinr_nonce_lostpassword_check').value;JinrMailForLostapassword.addEventListener("input",(e)=>{const nextLackContent=JinrMailForLostapassword.nextElementSibling;if(nextLackContent.classList.contains('jinr-lack-content')){nextLackContent.remove();}});let data={action:'jinr_lostpassword_action',mail:JinrMailForLostapasswordValue,nonce:JinrLostapasswordNonce,};$.ajax({type:"POST",url:jinr_paidpost.ajaxurl,data:data,}).done(function(data,textStatus,jqXHR){if(data==='send'){JinrLoatpasswordButton.innerText='再設定｜メールを送信';const sendTextContents=document.createElement('p');const sendtroubleContents=document.createElement('p');sendTextContents.className='a--paidpost-sendtext';sendtroubleContents.className='a--paidpost-troubletext';sendTextContents.innerHTML='メールを送信しました。届いたメールからパスワードを再設定して<a href="#">ログイン</a>してください';sendtroubleContents.innerHTML='<span class="a--paidpost-innertext">メールが届かない場合</span>迷惑メールフォルダをご確認ください。それでも見つからない時はサイト運営者までお問い合わせください。';JinrLoatpasswordButton.after(sendtroubleContents);JinrLoatpasswordButton.after(sendTextContents);}else if(data==='unsend'){JinrLoatpasswordButton.innerText='再設定｜メールを送信';const sendTextContents=document.createElement('p');sendTextContents.className='jinr-lack-content';sendTextContents.innerHTML='メールが正しく送信できませんでした。サイト運営者にお問合せください。';JinrMailForLostapassword.after(sendTextContents);}else if(data==='invalid'){JinrLoatpasswordButton.innerText='再設定｜メールを送信';const sendTextContents=document.createElement('p');sendTextContents.className='jinr-lack-content';sendTextContents.innerHTML='不正なメールアドレスです。正しいメールアドレスを入力してください。';JinrMailForLostapassword.after(sendTextContents);}else if(data==='notregistered'){JinrLoatpasswordButton.innerText='再設定｜メールを送信';const sendTextContents=document.createElement('p');sendTextContents.className='jinr-lack-content';sendTextContents.innerHTML='このメールアドレスは登録されていません。';JinrMailForLostapassword.after(sendTextContents);}else{JinrLoatpasswordButton.innerText='再設定｜メールを送信';const sendTextContents=document.createElement('p');sendTextContents.className='jinr-lack-content';sendTextContents.innerHTML='何かがうまくいかなかったようです。ページをリロードして再度試してみてください。';JinrLoatpasswordButton.after(sendTextContents);}}).fail(function(XMLHttpRequest,status,e){console.log("ajax失敗: "+status+XMLHttpRequest);});return false;})}
const JinrUnsubscribePopup=document.getElementById('JinrUnsubscribePopup');if(JinrUnsubscribePopup){JinrUnsubscribePopup.addEventListener('click',function(e){e.preventDefault();const body=document.getElementsByTagName('body')[0];scrollTop=window.scrollY;body.style.top=(scrollTop*-1)+'px';body.classList.add('jinr-no-scroll');const JinrPaidpostCancelWrapper=document.getElementById('JinrPaidpostCancelWrapper');const jinrPopupBg=document.getElementById('JinrPopupBg');if(JinrPaidpostCancelWrapper){JinrPaidpostCancelWrapper.classList.add('a--paidpost-popup');}
if(jinrPopupBg){jinrPopupBg.classList.add('a--paidpost-popup');}});}
const JinrUnsubscribeButton=document.getElementById('JinrUnsubscribeButton');if(!JinrUnsubscribeButton)return;JinrUnsubscribeButton.addEventListener('click',function(e){const JinrSubscriptionID=document.getElementById('JinrSubscriptionID').value;const JinrPaymentLink=document.getElementById('JinrPaymentLink').value;JinrUnsubscribeButton.innerText='';JinrUnsubscribeButton.insertAdjacentHTML('beforeend','<span class="a--paidpost-loading">処理中...</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 44 44" stroke="#fff"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle></g></svg>');$.ajax({url:jinr_paidpost.ajaxurl,type:'POST',data:{action:'jinr_subscription_cancel_action',JinrSubscriptionID:JinrSubscriptionID,JinrPaymentLink:JinrPaymentLink,},dataType:'text'}).done(function(data,textStatus,jqXHR){if(data=='cancel_success'){setTimeout(function(){const RedirectURL=location.href;JinrUnsubscribeButton.innerText='サブスク解約完了｜ページリロードします';JinrUnsubscribeButton.classList.add('a--register-complete');setTimeout(()=>{location.href=RedirectURL;},1200);},2200);}else if(data=='cancel_failed'){JinrUnsubscribeButton.innerText='サブスクを解約する';}}).fail(function(XMLHttpRequest,status,e){console.log("ajax失敗: "+status+XMLHttpRequest);});return false;})});})(jQuery);
const loadScriptsTimer=setTimeout(loadScripts,5*1000);const userInteractionEvents=["mouseover","keydown","touchstart","touchmove","wheel"];userInteractionEvents.forEach(function(event){window.addEventListener(event,triggerScriptLoader,{passive:!0})});function triggerScriptLoader(){loadScripts();clearTimeout(loadScriptsTimer);userInteractionEvents.forEach(function(event){window.removeEventListener(event,triggerScriptLoader,{passive:!0})})}
function loadScripts(){document.querySelectorAll("script[data-type='lazy']").forEach(function(elem){elem.setAttribute("src",elem.getAttribute("data-src"))})};