/*! Copyright 2025 i-mobile INC All Rights Reserved. v1.2.39 */ (function(){function aa(a){var b=0;return function(){return bf&&(f=Math.max(f+e,0));fb,R:200===b}}function Xa(){var a=[];for(var b=0;12>b;b++)a[b]=Math.floor(16*Math.random()).toString(16);a=a.join("");return["imobile_jsonp_ns_"+a,"imobile_jsonp_callback_"+a]}var Ya=/=JSONP_NAMESPACE(&|$)/,Za=/=JSONP_CALLBACK(&|$)/;function $a(a,b,c){return new M(function(d,e,f){function h(){B||(k(),d(I("http_err_jsonp_unknown")))}function g(){B||(k(),t||d(I("http_err_jsonp_not_invoke_callback")),d(H(Object.assign(Object.assign({},Wa(p,200)),{body:z}))))}function k(){w.parentNode&&w.parentNode.removeChild(w);m()}function q(a){m();B||(z=a,t=!0)}function m(){v?delete c[l]:delete c[r]}"JSONP"!==b.method&&e("impl_err_jsonp_does_not_support_other_than_jsonp");e=n(Xa());var l=e.next().value,r=e.next().value,p=b.Pa.replace(Za,"="+r+"$1"),v=Ya.test(p);v&&(p=p.replace(Ya,"="+l+"$1"));var w=a.document.createElement("script");w.src=p;var z=null,t=!1,B=!1;v?(c[l]={},c[l][r]=q):c[r]=q;w.addEventListener("load",g);w.addEventListener("error",h);window.document.body.appendChild(w);f(function(){B=!0;w.removeEventListener("load",g);w.removeEventListener("error",h);k()})})}var ab=/^\)\]\}',?\n/;function bb(a){var b=new XMLHttpRequest;return new M(function(c,d,e){function f(){c(I("http_err_xhr_unknown"))}function h(){if(null===g){var d="responseURL"in b&&b.responseURL?b.responseURL:/^X-Request-URL:/m.test(b.getAllResponseHeaders())?b.getResponseHeader("X-Request-URL"):null;g=Wa(d||a.Pa,1223===b.status?204:b.status)}d=g;var e=d.status,f=null;204!==e&&(f=void 0===b.response?b.responseText:b.response);0===e&&(e=f?200:0);if("json"===a.responseType&&xa(f)){f=f.replace(ab,"");try{f=""===f?null:JSON.parse(f)}catch(l){c(I("http_err_parse_json"))}}c(H(Object.assign(Object.assign({},d),{status:e,body:f})))}"JSONP"===a.method&&d("impl_err_xhr_does_not_support_jsonp");b.open(a.method,a.Pa);b.withCredentials=a.withCredentials;(d=null===a.body?null:xa(a.body)?"text/plain":a.body instanceof Pa||Sa(a.body)?"application/x-www-form-urlencoded;charset=UTF-8":null)&&b.setRequestHeader("Content-Type",d);b.responseType="text";d=Va(a);var g=null;b.addEventListener("load",h);b.addEventListener("error",f);b.send(d);e(function(){b.removeEventListener("error",f);b.removeEventListener("load",h);b.abort()})})}function cb(a,b){var c=Ua("GET",a,b);return bb(c)}function db(a,b){var c=Ua("POST",a,b,{withCredentials:!0});return bb(c)}function eb(a,b,c){b=Ua("JSONP",b,c);return $a(a,b,a)}function fb(a,b){var c,d,e;return D(function(f){switch(f.a){case 1:c={ver:"1.2.39",type:b.type,url:a.url,direct:+a.G,fif:+a.Ja,sf:+a.Ba,cof:+a.Ia,dfp:+a.Va,amp:+a.X,sp:+a.A,ios:+a.K,pid:b.pid,mid:b.mid,asid:b.asid,spec:0,nemu:+a.Ma};b.dvid&&(a.K?c.idfa=b.dvid:c.gaid=b.dvid);b.rotation&&(c.rote=+b.rotation);if(!a.g.navigator.cookieDeprecationLabel){f.a=2;break}return x(f,a.g.navigator.cookieDeprecationLabel.getValue(),3);case 3:d=f.b,c.cdep=d;case 2:return x(f,cb("imp-bidapi.i-mobile.co.jp/api/v1/spot.ashx",{M:Qa(c),withCredentials:!0}).setTimeout(Object.assign(Object.assign({},a),{c:b}),"imp_request_L48",5E3),4);case 4:return e=f.b,f["return"](e.bind(function(a){a.o?a=(a=a.body)&&200===a.status?H(a):I("imp_err_api_response"):a=I("imp_err_http_status");return a}))}})}function R(a,b){var c=a.createElement("img");c.src=b;c.style.display="none";a.body.appendChild(c)}function gb(a,b){0!==b.length&&a.addEventListener("click",function(){b.forEach(function(b){R(a.ownerDocument,b)})})}function hb(a,b){a.target="_top";a.setAttribute("attributionDestination",b.destination);a.setAttribute("attributionSourceNonce",b.vb)}function ib(a,b,c,d,e,f,h,g,k,q,m,l){return new M(function(r,p,v){function w(){y.removeEventListener("load",w);var a=y.contentWindow.document;a.open();a.write(B);a.close();a=y.contentWindow.creativeAnchor;null!=l&&hb(a,l);null!=m&&gb(a,m);r(H(y))}var z=(p=a.G&&a.A)?Math.min(b.B.getBoundingClientRect().width,500):c,t=p?"100%":c+"px";z=(p?Math.max(d,null!==f&&void 0!==f?f:0):d)*z/(null!==e&&void 0!==e?e:c)+"px";var B='banner
'+(q?'

':"")+'