b6c2719174193ba05ebb0f9a6b4f650b7489f020bc268296e68b50b5af2f1f6c

Source Code:

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ual=e():t.ual=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return Object.prototype.toString.call(t).slice(8,-1)}function i(t,e){return null!=e&&o(e)===t}function u(t){return i("Object",t)}function a(t){return i("Array",t)}function l(t){return i("String",t)}function c(t){return Math.abs(t)===1/0}function s(t){return i("Number",t)&&!v(t)&&!c(t)}function f(t){return i("Boolean",t)}function d(t){return i("Map",t)}function p(t){return null===t}function y(t){return void 0===t}function v(t){return!("object"!==r(t)||!i("Number",t)||!isNaN(t))||i("Number",t)&&t!=t}function h(t){return""+t}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s(t=Number(t))?t:e}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=g(t,e))===e?t:parseInt(t)}function b(t){var e=t.split("#")[0].split("?");return 1===e.length?null:e.slice(1).join("?")}Object.defineProperty(e,"__esModule",{value:!0}),e.default={getType:o,is:i,isObject:u,isArray:a,isString:l,isNumber:s,isBoolean:f,isMap:d,isPrimitive:function(t){return s(t)||l(t)||f(t)},isFunction:function(t){return i("Function",t)},isNull:p,isNaN:v,isUndefined:y,findKey:function(t,e){return i("Object",t)&&Object.prototype.hasOwnProperty.call(t,e)},isUUID:function(t){return null!==t.match(/^[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}$/)},deepCopy:function(t){return JSON.parse(JSON.stringify(t))},merge:function(){for(var t=arguments,e=arguments.length,n={},r=function(e){var r=e<0||t.length<=e?void 0:t[e];Object.keys(r).forEach((function(t){n[t]=r[t]}))},o=0;o<e;o++)r(o);return n},getTime:function(){return(new Date).getTime()},normalizeToString:h,normalizeToNumber:g,normalizeToInt:m,normalizeToUnsignedInt:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=m(t,e))===e?t:t>=0?t:e},isEmpty:function(t){return!!(p(t)||y(t)||v(t))||(l(t)?""===t:s(t)||c(t)?0===t:u(t)?0===Object.keys(t).length:a(t)?0===t.length:!!d(t)&&0===t.size)},snakeToLCC:function(t){return(t=h(t).replace(/_+([a-z])/g,(function(t,e){return e.toUpperCase()}))).charAt(0).toLowerCase()+t.slice(1)},urlQueryBuild:function(t){return Object.keys(t).map((function(e){return[e,t[e]].map(h).map(encodeURIComponent).join("=")})).join("&")},urlQueryString:b,urlQueryParse:function(t){return b("?".concat(t)).split("&").reduce((function(t,e){var n=e.split("=");return 2===n.length&&(t[n[0]]=n[1]),t}),{})}}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(2));e.CLog=o.default;var i=r(n(0));e.Util=i.default;var u=r(n(3));e.Browser=u.default},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(0));function i(){return["Object","Console"].indexOf(o.default.getType(console))>=0?console:{}}var u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e;return(e=[{key:"debug",value:function(){var e=i();if(this.logLevel>=t.DEBUG){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.debug)?this.printLog(e.debug,r):o.default.isFunction(e.log)&&(r.unshift("[DEBUG]"),this.printLog(e.log,r))}}},{key:"info",value:function(){var e=i();if(this.logLevel>=t.INFO){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.info)?this.printLog(e.info,r):o.default.isFunction(e.log)&&(r.unshift("[INFO]"),this.printLog(e.log,r))}}},{key:"warning",value:function(){var e=i();if(this.logLevel>=t.WARNING){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.warn)?this.printLog(e.warn,r):o.default.isFunction(e.log)&&(r.unshift("[WARN]"),this.printLog(e.log,r))}}},{key:"error",value:function(){var e=i();if(this.logLevel>=t.CRITICAL){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.error)?this.printLog(e.error,r):o.default.isFunction(e.log)&&(r.unshift("[ERROR]"),this.printLog(e.log,r))}}},{key:"printLog",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],u=new Date;i.unshift("[".concat(u.toLocaleTimeString(),".").concat(u.getUTCMilliseconds(),"]")),o.default.isEmpty(this._prefix)||i.unshift(this._prefix),r.apply(console,i)}},{key:"NONE",get:function(){return 0}},{key:"CRITICAL",get:function(){return 1}},{key:"WARNING",get:function(){return 2}},{key:"INFO",get:function(){return 3}},{key:"DEBUG",get:function(){return 4}},{key:"prefix",set:function(t){this._prefix=t}},{key:"defaultLogLevel",get:function(){return this.CRITICAL}},{key:"logLevel",get:function(){return o.default.isNumber(this._logLevel)?this._logLevel:this.defaultLogLevel},set:function(t){o.default.isNumber(t)&&[0,1,2,3,4].indexOf(t)>=0&&(this._logLevel=t)}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t,e),t}();e.default=u},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=o(n(0));e.default={generateMetrics:function(t,e){if("object"!==r(t))return null;var n={},o=t.line||t.lineNumber,u=t.column||t.columnNumber;n.ts=i.default.getTime(),t.name&&(n.name=t.name),t.message&&(n.message=t.message),t.stack&&(n.stack=t.stack),o&&(n.line=o),u&&(n.col=u);var a="undefined"!=typeof window?window:{};return"object"===r(a.performance)&&"object"===r(a.performance.timing)&&i.default.isNumber(a.performance.timing.navigationStart)&&(n.progress_time=n.ts-a.performance.timing.navigationStart),n.ex_base="",void 0!==a.location&&void 0!==a.location.href&&(n.url=a.location.href),i.default.isString(e)&&(n.label=e),n},createImageTag:function(t,e){var n=document.createElement("img");i.default.isFunction(e)&&(n.onload=e),n.src=t}}}])},function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return Object.prototype.toString.call(t).slice(8,-1)}function i(t,e){return null!=e&&o(e)===t}function u(t){return i("Object",t)}function a(t){return i("Array",t)}function l(t){return i("String",t)}function c(t){return Math.abs(t)===1/0}function s(t){return i("Number",t)&&!v(t)&&!c(t)}function f(t){return i("Boolean",t)}function d(t){return i("Map",t)}function p(t){return null===t}function y(t){return void 0===t}function v(t){return!("object"!==r(t)||!i("Number",t)||!isNaN(t))||i("Number",t)&&t!=t}function h(t){return""+t}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s(t=Number(t))?t:e}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=g(t,e))===e?t:parseInt(t)}function b(t){var e=t.split("#")[0].split("?");return 1===e.length?null:e.slice(1).join("?")}Object.defineProperty(e,"__esModule",{value:!0}),e.default={getType:o,is:i,isObject:u,isArray:a,isString:l,isNumber:s,isBoolean:f,isMap:d,isPrimitive:function(t){return s(t)||l(t)||f(t)},isFunction:function(t){return i("Function",t)},isNull:p,isNaN:v,isUndefined:y,findKey:function(t,e){return i("Object",t)&&Object.prototype.hasOwnProperty.call(t,e)},isUUID:function(t){return null!==t.match(/^[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}$/)},deepCopy:function(t){return JSON.parse(JSON.stringify(t))},merge:function(){for(var t=arguments,e=arguments.length,n={},r=function(e){var r=e<0||t.length<=e?void 0:t[e];Object.keys(r).forEach((function(t){n[t]=r[t]}))},o=0;o<e;o++)r(o);return n},getTime:function(){return(new Date).getTime()},normalizeToString:h,normalizeToNumber:g,normalizeToInt:m,normalizeToUnsignedInt:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=m(t,e))===e?t:t>=0?t:e},isEmpty:function(t){return!!(p(t)||y(t)||v(t))||(l(t)?""===t:s(t)||c(t)?0===t:u(t)?0===Object.keys(t).length:a(t)?0===t.length:!!d(t)&&0===t.size)},snakeToLCC:function(t){return(t=h(t).replace(/_+([a-z])/g,(function(t,e){return e.toUpperCase()}))).charAt(0).toLowerCase()+t.slice(1)},urlQueryBuild:function(t){return Object.keys(t).map((function(e){return[e,t[e]].map(h).map(encodeURIComponent).join("=")})).join("&")},urlQueryString:b,urlQueryParse:function(t){return b("?".concat(t)).split("&").reduce((function(t,e){var n=e.split("=");return 2===n.length&&(t[n[0]]=n[1]),t}),{})}}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(2));e.CLog=o.default;var i=r(n(0));e.Util=i.default;var u=r(n(3));e.Browser=u.default},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(0));function i(){return["Object","Console"].indexOf(o.default.getType(console))>=0?console:{}}var u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e;return(e=[{key:"debug",value:function(){var e=i();if(this.logLevel>=t.DEBUG){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.debug)?this.printLog(e.debug,r):o.default.isFunction(e.log)&&(r.unshift("[DEBUG]"),this.printLog(e.log,r))}}},{key:"info",value:function(){var e=i();if(this.logLevel>=t.INFO){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.info)?this.printLog(e.info,r):o.default.isFunction(e.log)&&(r.unshift("[INFO]"),this.printLog(e.log,r))}}},{key:"warning",value:function(){var e=i();if(this.logLevel>=t.WARNING){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.warn)?this.printLog(e.warn,r):o.default.isFunction(e.log)&&(r.unshift("[WARN]"),this.printLog(e.log,r))}}},{key:"error",value:function(){var e=i();if(this.logLevel>=t.CRITICAL){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];o.default.isFunction(e.error)?this.printLog(e.error,r):o.default.isFunction(e.log)&&(r.unshift("[ERROR]"),this.printLog(e.log,r))}}},{key:"printLog",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],u=new Date;i.unshift("[".concat(u.toLocaleTimeString(),".").concat(u.getUTCMilliseconds(),"]")),o.default.isEmpty(this._prefix)||i.unshift(this._prefix),r.apply(console,i)}},{key:"NONE",get:function(){return 0}},{key:"CRITICAL",get:function(){return 1}},{key:"WARNING",get:function(){return 2}},{key:"INFO",get:function(){return 3}},{key:"DEBUG",get:function(){return 4}},{key:"prefix",set:function(t){this._prefix=t}},{key:"defaultLogLevel",get:function(){return this.CRITICAL}},{key:"logLevel",get:function(){return o.default.isNumber(this._logLevel)?this._logLevel:this.defaultLogLevel},set:function(t){o.default.isNumber(t)&&[0,1,2,3,4].indexOf(t)>=0&&(this._logLevel=t)}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t,e),t}();e.default=u},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=o(n(0));e.default={generateMetrics:function(t,e){if("object"!==r(t))return null;var n={},o=t.line||t.lineNumber,u=t.column||t.columnNumber;n.ts=i.default.getTime(),t.name&&(n.name=t.name),t.message&&(n.message=t.message),t.stack&&(n.stack=t.stack),o&&(n.line=o),u&&(n.col=u);var a="undefined"!=typeof window?window:{};return"object"===r(a.performance)&&"object"===r(a.performance.timing)&&i.default.isNumber(a.performance.timing.navigationStart)&&(n.progress_time=n.ts-a.performance.timing.navigationStart),n.ex_base="",void 0!==a.location&&void 0!==a.location.href&&(n.url=a.location.href),i.default.isString(e)&&(n.label=e),n},createImageTag:function(t,e){var n=document.createElement("img");i.default.isFunction(e)&&(n.onload=e),n.src=t}}}])},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(n(6)),u={},a={get:function(t){return void 0!==u[t]?u[t]:null},set:function(t,e){u[t]=e,"apiHost"===t&&"https://"===u.apiScheme&&i.default("".concat(u.apiScheme).concat(u.apiHost))}};a.set("apiScheme","https://"),a.set("apiHost","dsb.yahoo.co.jp"),a.set("apiPath","/api/v1/stream"),a.set("sendBeaconEnabled",!0),a.set("ajaxTimeout",5e3),a.set("maxRequestCharCount",65497),a.set("maxRequestMessageCount",50),a.set("shortTimerInterval",1e3),a.set("longTimerInterval",5e3),o.CLog.debug("[config]",a),e.default=a},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(n(3)),u=r(n(4)),a=r(n(8)),l=r(n(1)),c=r(n(9)),s=new u.default,f=new a.default(s),d="undefined"!=typeof window?window:{};d.YAS=d.YAS||{};var p=d.YAS.psid||i.default();d.YAS.psid=p,o.CLog.prefix="[CoreLogger]";var y=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e;return(e=[{key:"setConsoleLogLevel",value:function(t){o.CLog.logLevel=t}},{key:"getConsoleLogLevel",value:function(){return o.CLog.logLevel}},{key:"setBeaconServer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;o.Util.isString(t)?(l.default.set("apiHost",t),o.CLog.info("送信先ホスト変更成功",t)):o.Util.isNull(t)||o.CLog.warning("送信先ホスト変更失敗",t),o.Util.isString(e)?(l.default.set("apiPath",e),o.CLog.info("送信先パス変更成功",e)):o.Util.isNull(e)||o.CLog.warning("送信先パス変更失敗",e)}},{key:"setAccessToken",value:function(t){o.Util.isString(t)&&(l.default.set("apiAccessToken",t),o.CLog.info("[アクセストークン変更]",t))}},{key:"enableSecureTransport",value:function(t){!0===t?l.default.set("apiScheme","https://"):!1===t&&(l.default.set("apiScheme","http://"),o.CLog.warning("通信にHTTPを利用します"))}},{key:"enableSendBeacon",value:function(t){!0===t?(l.default.set("sendBeaconEnabled",!0),o.CLog.info("通信にsendBeaconまたはXHRを利用します")):!1===t?(l.default.set("sendBeaconEnabled",!1),o.CLog.info("通信にsendBeaconを利用せずXHRのみ利用します")):o.CLog.warning("boolean型の値を指定してください")}},{key:"send",value:function(t){o.Util.isObject(t)?(s.push(t.token,t.project,t.dataset,t.data),o.Util.isUndefined(t.flush)||o.Util.isBoolean(t.flush)||o.CLog.warning("flushオプションが期待するのはboolean型です"),o.Util.isUndefined(t.async)||o.Util.isBoolean(t.async)||o.CLog.warning("asyncオプションが期待するのはboolean型です"),!0===t.flush?this.flush(t.callback,t.async):f.setTimer()):o.CLog.error("引数の型が不正")}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o.Util.isFunction(t)?s.send(t,e):(o.Util.isNull(t)||o.CLog.warning("callbackには関数を指定してください"),s.send())}},{key:"getSdkName",value:function(){return c.default.name}},{key:"getSdkVersion",value:function(){return c.default.version}},{key:"getPageSession",value:function(){return p}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t,e),t}();e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(n(5)),u=r(n(7)),a=r(n(1)),l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.reset(),this.online=!0}var e;return(e=[{key:"push",value:function(t,e,n,r){var i=u.default.recordsBuild(t,e,n,r),l=i.map((function(t){return JSON.stringify(t).length})),c=l.reduce((function(t,e){return t+e}),0),s=i.length,f=Math.max(0,a.default.get("maxRequestCharCount")),d=Math.max(0,a.default.get("maxRequestMessageCount"));if(!(s<1))if(c>f)o.CLog.error("データのサイズが大きすぎます。データを破棄します  ".concat(c,"/").concat(f),i);else if(s>d&&o.CLog.warning("規定値を超えた件数のログが送信されます ".concat(s,"/").concat(d),i),this.charCount+c<=f&&this.queue.length+s<=d)this.queue=this.queue.concat(i),this.charCount+=c,this.charCountArray=this.charCountArray.concat(l);else if(this.online)this.send(),this.queue=this.queue.concat(i),this.charCount+=c,this.charCountArray=this.charCountArray.concat(l);else for(this.queue=this.queue.concat(i),this.charCount+=c,this.charCountArray=this.charCountArray.concat(l);this.charCount>f||this.queue.length>d;)o.CLog.warning("データ容量超過のため削除",this.queue[0]),this.queue.shift(),this.charCount-=this.charCountArray[0],this.charCountArray.shift()}},{key:"send",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.queue.length>0&&this.online){var n=u.default.requestBodyBuild(this.queue);i.default.send(n,t,e),this.reset()}}},{key:"reset",value:function(){this.queue=[],this.charCount=0,this.charCountArray=[]}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,e),t}();e.default=l},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),u=o(n(1));function a(){var t=null;if("undefined"==typeof XMLHttpRequest)return null;try{if(!("withCredentials"in(t=new XMLHttpRequest)))return null;if("undefined"!=typeof XDomainRequest)return null}catch(t){return i.CLog.error("XMLHttpRequestオブジェクトの作成に失敗",t),null}return t}var l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e;return(e=[{key:"send",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o="undefined"!=typeof window?window:{};u.default.get("sendBeaconEnabled")&&i.Util.isNull(e)&&n&&"object"===r(o.navigator)&&i.Util.isFunction(o.navigator.sendBeacon)?this.sendBeacon(t):this.sendAjax(t,e,n)}},{key:"sendAjax",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=a(),o=this.buildUrl(),l=function(){i.Util.isFunction(e)&&e()};if(!i.Util.isNull(r)){r.open("POST",o,n),r.withCredentials=!0,r.setRequestHeader("Content-Type","application/json;charset=UTF-8");var c=u.default.get("apiAccessToken");null!==c&&r.setRequestHeader("Authorization","Bearer ".concat(c)),n&&("timeout"in r||!u.default.get("ajaxTimeout")?r.timeout=u.default.get("ajaxTimeout"):setTimeout((function(){r.abort(),l()}),u.default.get("ajaxTimeout"))),r.onload=r.ontimeout=r.onerror=r.onabort=l,r.send(t),i.CLog.info("[送信]",o,t)}}},{key:"sendBeacon",value:function(t){var e=this.buildUrl(!0);navigator.sendBeacon(e,t),i.CLog.info("[送信]",e,t)}},{key:"buildUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e="";e+=u.default.get("apiScheme"),e+=u.default.get("apiHost"),e+=u.default.get("apiPath");var n=u.default.get("apiAccessToken");return null!==n&&t&&(e+="?access_token=".concat(n)),e}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t,e),t}();e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"==typeof window||void 0===window.document)return!1;var e=document.createElement("link");return e.setAttribute("rel","preconnect"),e.setAttribute("href",t),document.head.appendChild(e),!0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e;return(e=[{key:"recordBuild",value:function(t,e,n,o){if(!r.Util.isString(t)||!r.Util.isUUID(t))return r.CLog.error("tokenが不正な値:",t),null;if(!r.Util.isString(e)||e.length<1)return r.CLog.error("projectが不正な値:",e),null;if(!r.Util.isString(n)||n.length<1)return r.CLog.error("datasetが不正な値:",n),null;if(!r.Util.isObject(o))return r.CLog.error("dataが不正な値:",o),null;var i=r.Util.deepCopy(o);Object.keys(i).forEach((function(t){0===t.indexOf("cex_")&&(r.CLog.warning("パラメータ ".concat(t,": cex_で始まるキーは予約済みキーのため使用できません.")),delete i[t])})),i.cex_cqt=r.Util.getTime();var u={tk:t,p:e,d:n,data:i};return r.CLog.info("[レコード生成]",u),u}},{key:"recordsBuild",value:function(t,e,n,o){var i=this,u=[],a=function(o){var a=i.recordBuild(t,e,n,o);r.Util.isNull(a)||u.push(a)};return r.Util.isObject(o)?a(o):r.Util.isArray(o)&&o.forEach(a),u}},{key:"requestBodyBuild",value:function(t){var e={},n=r.Util.deepCopy(t);return e.cex_cst=r.Util.getTime(),JSON.stringify({r:n,bp:e})}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t,e),t}();e.default=o},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=n(0),a=i(n(1)),l=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.buffer=e,this.shortInterval=o||a.default.get("shortTimerInterval"),this.longInterval=r||a.default.get("longTimerInterval"),this.shortTimer=null,this.longTimer=null,this.leaveCallback=function(t){u.CLog.debug("fire inactive event. type = ".concat(t.type)),n.buffer.queue.length>0&&(n.buffer.send(),n.clearAllTimer())};var i="undefined"!=typeof window?window:{};u.Util.is("Window",i)&&u.Util.isFunction(i.addEventListener)?t.INACTIVE_EVENTS.forEach((function(t){i.addEventListener(t,n.leaveCallback,!1)})):u.CLog.warning("not hook a leave event."),this.createNetWorkStateHandler(),this.setInitialNetWork(),this.setNetWorkWatcher()}var e,n,i;return e=t,i=[{key:"INACTIVE_EVENTS",get:function(){return["blur","pagehide","visibilitychange-hidden","beforeunload","unload"]}}],(n=[{key:"createNetWorkStateHandler",value:function(){var t=this;this.onlineHandler=function(){t.buffer.online=!0,t.buffer.queue.length>0&&t.buffer.send()},this.offlineHandler=function(){t.buffer.online=!1}}},{key:"setInitialNetWork",value:function(){var t="undefined"!=typeof window?window:{};u.Util.is("Window",t)&&"object"===r(t.navigator)&&u.Util.isBoolean(t.navigator.onLine)?this.buffer.online=t.navigator.onLine:this.buffer.online=!0}},{key:"setNetWorkWatcher",value:function(){var t="undefined"!=typeof window?window:{};u.Util.isFunction(t.addEventListener)&&(t.addEventListener("online",this.onlineHandler,!1),t.addEventListener("offline",this.offlineHandler,!1))}},{key:"setTimer",value:function(){var t=this;u.Util.isNull(this.shortTimer)||(clearTimeout(this.shortTimer),this.shortTimer=null),this.shortTimer=setTimeout((function(){t.buffer.send(),t.clearAllTimer(),u.CLog.debug("Called: short timer fire.")}),this.shortInterval),u.Util.isNull(this.longTimer)&&(this.longTimer=setTimeout((function(){t.buffer.send(),t.clearAllTimer(),u.CLog.debug("Called: long timer fire.")}),this.longInterval))}},{key:"clearAllTimer",value:function(){clearTimeout(this.shortTimer),clearTimeout(this.longTimer),this.shortTimer=null,this.longTimer=null}}])&&o(e.prototype,n),i&&o(e,i),t}();e.default=l},function(t){t.exports=JSON.parse('{"name":"YASCoreLogger-web","version":"2.0.24"}')}]).default},function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e){t.exports=n(0)},function(t,e){t.exports=n(1)},function(t,e,n){"use strict";n.r(e);var r,o=n(0),i=function(){function t(t){this.settings=t}return t.prototype.dispatch=function(t){var e=this.settings,n={tk:e.userId,p:e.project,d:e.dataset},r=o.Util.merge(n,t),i=this.buildUrl(e.host,r);o.Browser.createImageTag(i,null)},t.prototype.buildUrl=function(t,e){return"https://"+t+"/api/v1/clear.gif?"+o.Util.urlQueryBuild(e)},t}();!function(t){t.DEBUG="debug",t.EXCEPTION="exception"}(r||(r={}));var u=function(){function t(t,e){this.pageSession=t.getPageSession(),this.sdkName=t.getSdkName(),this.sdkVersion=t.getSdkVersion(),this.extensionName=e&&e.targetName?e.targetName:"",this.extensionVersion=e&&e.targetVersion?e.targetVersion:""}return t.prototype.build=function(t){return{log_type:t&&t.type?t.type:"",label:t&&t.label?t.label:"",ts:this.time(),name:t&&t.error&&t.error.name?t.error.name:"",message:t&&t.error&&t.error.message?t.error.message:"",stack:t&&t.error&&t.error.stack?t.error.stack:"",elapsed_time:this.elapsedTime(),url:this.url(),referrer:this.referrer(),page_session:this.pageSession,sdk:this.sdkName,sdk_ver:this.sdkVersion,extension:this.extensionName,extension_ver:this.extensionVersion,custom_1:t&&t.custom1?t.custom1:"",custom_2:t&&t.custom2?t.custom2:"",custom_3:t&&t.custom3?t.custom3:""}},t.prototype.time=function(){return o.Util.getTime()},t.prototype.elapsedTime=function(){return Math.floor(performance.now())},t.prototype.url=function(){return document.URL},t.prototype.referrer=function(){return document.referrer},t}(),a=n(1),l=function(){function t(t){var e={userId:"9225bd01-1ff0-4e57-9c92-6e831c45253a",project:"ds_logger",dataset:"ual_web_error",host:"dsb.yahoo.co.jp"},n={};t&&(t.host&&(e.host=t.host),t.name&&(n.targetName=t.name),t.version&&(n.targetVersion=t.version)),this.dispatcher=new i(e),this.builder=new u(a,n)}return t.prototype.debug=function(t){this.log(r.DEBUG,t)},t.prototype.exception=function(t,e){this.log(r.EXCEPTION,e,t)},t.prototype.log=function(t,e,n){var r={};r.type=t,e&&(e.label&&(r.label=e.label),e.custom1&&(r.custom1=e.custom1),e.custom2&&(r.custom2=e.custom2),e.custom3&&(r.custom3=e.custom3)),n&&(r.error=n);var o=this.builder.build(r);this.dispatcher.dispatch(o)},t}();e.default=l}]).default},function(t,e,n){"use strict";n.r(e);var r=n(0),o={string:function(t){return r.Util.normalizeToString(t)},number:function(t){return r.Util.normalizeToNumber(t,null)},boolean:function(t){return Boolean(t)},array:function(t){return r.Util.isArray(t)?t:null}},i="data-ual",u="data-ual-view-type",a="data-ual-gotocontent",l="data-ual-gotodigest-noflow",c="data-ual-gotocontent-noflow",s="data-ual-content-key",f="data-ual-new-data",d="data-ual-update-data",p={list:"list",digest:"digest",detail:"detail",internal:"internal"},y=function(t){if(!r.Util.isString(t)||r.Util.isEmpty(t))return[];var e=t.split(":");return[e.shift().trim(),e.join(":").trim()]},v=function(t,e){return!r.Util.isArray(e)||e.length<=1?t:r.Util.isString(e[0])&&!r.Util.isEmpty(e[0])&&r.Util.isString(e[1])?(t[e[0]]=e[1],t):t},h=function(t){var e=r.Util.getType(t);return/^HTML.*Element$/.test(e)},g=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},m=h,b=function(t){return r.Util.is("Window",t)},w=function(t){var e=r.Util.getType(t);return/^(HTML)?Document$/.test(e)},_=g,S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!h(t))return{};var n=e||i,o=t.getAttribute(n);if(r.Util.isNull(o))return{};var u=o.split(";").map(y).reduce(v,{});return u},k=function(t){if(!h(t))return null;var e=t.getAttribute(u);if(!r.Util.isString(e)||r.Util.isEmpty(e))return null;for(var n in p)if(g(p,n)&&p[n]===e)return e;return null},C=function(t){var e=[];for(var n in t)_(t,n)&&e.push(n);return e},U=function(t,e){var n=e[0],i=e[1],u=e[2],a=function(t,e){return r.Util.isUndefined(e)||r.Util.isNull(e)||r.Util.isUndefined(o[t])?null:o[t](e)}(u,i);return r.Util.isNull(a)?(r.CLog.warning("[Validator#run] ".concat(n,"に").concat(u,"型に変換出来ない値(").concat(i,")が指定されています")),t):(t[n]=a,t)},O={ruleSets:{},aliasMap:{},addRuleSet:function(t,e){var n=this;if(r.Util.isString(t)&&!r.Util.isEmpty(t))if(r.Util.isObject(e)){var o=C(e).reduce((function(t,o){var i=e[o];return r.Util.isUndefined(i.alias)||(n.aliasMap[i.alias]=o),t[o]={type:i.type},t}),{});this.ruleSets[t]=o}else r.CLog.error("[Validator#addRule] 不正なRuleSet",e);else r.CLog.error("[Validator#addRule] 不正なアクションID",t)},run:function(t,e){var n=this;if(!r.Util.isString(t)||r.Util.isEmpty(t))return r.CLog.error("[Validator#run] アクションIDが不正",t),null;if(r.Util.isUndefined(this.ruleSets[t]))return r.CLog.error("[Validator#run] アクション ".concat(t," に紐付くルールセットが未登録"),this.ruleSets),null;if(!r.Util.isObject(e))return r.CLog.error("[Validator#run] データの形式が不正",e),null;var o=this.ruleSets[t],i=C(o);return C(e).map((function(t){var r=n.aliasMap[t]||t;return-1!==i.indexOf(r)?[r,e[t],o[r].type]:null})).filter(r.Util.isArray).reduce(U,{})}},j={viewStart:{list:"view_content_list_start",detail:"view_content_detail_start",digest:"view_content_digest_start"},viewEnd:{list:"view_content_list_end",detail:"view_content_detail_end",digest:"view_content_digest_end"},flow:"go_to_content",view_video_start:"view_video_start",view_video_end:"view_video_end",pageview:"pageview",cv:"cv",search:"search"},L={ts:{type:"number"},action_id:{type:"string"},content_id:{type:"string",alias:"contid"},id_type:{type:"string",alias:"idtype"},page_session:{type:"string"},url:{type:"string"},service:{type:"string"},apptype:{type:"string"},opttype:{type:"string"},os:{type:"string"},sdk:{type:"string"},sdk_ver:{type:"string"},extension:{type:"string"},extension_ver:{type:"string"},mtestid:{type:"string"},ss_join_id:{type:"string"},ss_join_id_type:{type:"string"},referer:{type:"string"}},x={element_id:{type:"string"}},T=r.Util.merge({},x),E=r.Util.merge({start_time:{type:"number"},end_time:{type:"number"},view_time:{type:"number"},view_rate:{type:"number"}},x),P={current_page:{type:"number"}},M=r.Util.merge({total_page:{type:"number"}},P),A={list:r.Util.merge(E,{viewable_time:{type:"number"}}),detail:r.Util.merge(E,M),digest:r.Util.merge(E,{})},N=r.Util.merge({video_id:{type:"string"},autoplay:{type:"boolean"},start_time_position:{type:"number"}},x),D=r.Util.merge(N,{}),I=r.Util.merge(N,{end_time_position:{type:"number"}}),F=r.Util.merge({href:{type:"string"}},x),B=r.Util.merge({origin_query:{type:"string"},result_query:{type:"string"},entities:{type:"array"}},P),H=j.viewStart,R=j.viewEnd,q={};q[H.list]=r.Util.merge(L,T),q[H.detail]=r.Util.merge(L,T),q[H.digest]=r.Util.merge(L,T),q[R.list]=r.Util.merge(L,A.list),q[R.detail]=r.Util.merge(L,A.detail),q[R.digest]=r.Util.merge(L,A.digest),q[j.view_video_start]=r.Util.merge(L,D),q[j.view_video_end]=r.Util.merge(L,I),q[j.flow]=r.Util.merge(L,F),q[j.pageview]=r.Util.merge(L,{nopv:{type:"boolean"},hierarchy_id:{type:"string"}}),q[j.cv]=r.Util.merge(L,{cv_id:{type:"string"}}),q[j.search]=r.Util.merge(L,B);var V=q,W=n(1),z=n.n(W),G=z.a.getPageSession(),J=function(){return w(document)?document.URL:null},Q=function(){if(!function(t){return null!==r.Util.getType(t).match(/^Navigator$/)}(navigator))return r.CLog.error("[osName()] navigatorオブジェクトが存在しません"),null;var t=navigator.userAgent,e="other";return t.match(/windows\sphone/i)?e="windowsphone":t.match(/windows/i)?e="windows":t.match(/iphone|ipad/i)?e="ios":t.match(/mac|ppc/i)?e="mac":t.match(/android/i)&&(e="android"),e},X=z.a.getSdkName(),Y=z.a.getSdkVersion();function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var K=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);this.config={project:null,actionList:[],extensionName:null,extensionVersion:null}}var e,n;return e=t,(n=[{key:"setToken",value:function(t){"token"in this.config||(this.config.token=t)}},{key:"getToken",value:function(){return"token"in this.config?this.config.token:null}},{key:"setProject",value:function(t){this.config.project=t}},{key:"getProject",value:function(){return this.config.project}},{key:"setExtensionName",value:function(t){this.config.extensionName=t}},{key:"getExtensionName",value:function(){return this.config.extensionName}},{key:"setExtensionVersion",value:function(t){this.config.extensionVersion=t}},{key:"getExtensionVersion",value:function(){return this.config.extensionVersion}},{key:"setActionList",value:function(t){this.config.actionList=t}},{key:"isValidAction",value:function(t){return-1!==this.config.actionList.indexOf(t)}}])&&$(e.prototype,n),t}());function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var tt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"buildCommonParameters",value:function(){return{content_id:null,id_type:null,service:null,apptype:"web",opttype:null,mtestid:null,ss_join_id:null,ss_join_id_type:null,referer:w(document)?document.referrer:null}}},{key:"buildActionParameters",value:function(t){return{}}},{key:"buildGlobalParameters",value:function(t){return r.Util.isObject(t)&&r.Util.isFunction(t.getParameters)?t.getParameters():{}}},{key:"buildContentParameters",value:function(t){return r.Util.isObject(t)&&r.Util.isFunction(t.getParameters)?t.getParameters():{}}},{key:"buildFixedParameters",value:function(t,e){return{ts:r.Util.getTime(),action_id:t,page_session:G,url:J(),os:Q(),sdk:X,sdk_ver:Y,extension:K.getExtensionName(),extension_ver:K.getExtensionVersion()}}},{key:"run",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!r.Util.isObject(this.validator)||!r.Util.isFunction(this.validator.run))return r.CLog.error("[BaseBuilder.run] バリデータが未登録か不正です.",this.validator),null;var o=this.buildCommonParameters(),i=this.buildActionParameters(n),u=this.buildGlobalParameters(e),a=this.buildContentParameters(n),l=this.buildFixedParameters(t,n);r.CLog.debug("[BaseBuilder#run] Parameters:","common = ",o,"action = ",i,"global = ",u,"content = ",a,"fixed = ",l);var c=r.Util.merge(o,i,u,a,l);return this.validator.run(t,c)}}],null&&Z(e.prototype,null),n&&Z(e,n),t}();tt.validator=null;var et=tt;function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var rt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parameters={}}var e,n;return e=t,(n=[{key:"addParameter",value:function(t,e){this.parameters[t]=e}},{key:"getParameters",value:function(){return this.parameters}}])&&nt(e.prototype,n),t}(),ot=n(2),it=n.n(ot),ut=0,at={name:"YASUserActionLogger-web",version:"2.10.2"},lt=new it.a(at),ct=function(t,e,n){ut<1||lt.exception(t,{label:e,custom1:JSON.stringify(n)})},st=function(t,e){ut<2||lt.debug({label:t,custom1:JSON.stringify(e)})},ft=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r.Util.isString(t))return null;var n=j[t];if(r.Util.isString(n))return n;if(!r.Util.isObject(n)||!r.Util.isString(e.viewType))return null;var o=n[e.viewType];return r.Util.isString(o)?o:null};function dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var pt={},yt=new rt,vt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"viewStart",value:function(t){this.dispatch("viewStart",t)}},{key:"viewEnd",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.dispatch("viewEnd",t,e)}},{key:"flow",value:function(t,e){t.setFlowInfo(e),this.dispatch("flow",t),t.unsetFlowInfo()}},{key:"hit",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.dispatch(t,e,n)}},{key:"dispatch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];st("LogDispatcher.dispatch#start");var o=ft(t,e);if(r.Util.isString(o))if(K.isValidAction(o))if(r.Util.isUndefined(pt[o]))r.CLog.error("[LogDispatcher#dispatch] アクションIDに対し適切なビルダーが設定されていません",o);else{var i=pt[o].run(o,yt,e);null!==i&&z.a.send({token:K.getToken(),project:K.getProject(),dataset:o,data:i,flush:n}),st("LogDispatcher.dispatch#end")}else r.CLog.error("[LogDispatcher#hit] 対象のアクションはロギング対象ではありません",o);else r.CLog.error("[LogDispatcher#dispatch] 該当するアクションIDが存在しません",o,e)}},{key:"addBuilder",value:function(t,e){if(!r.Util.isString(t)||r.Util.isEmpty(t))return r.CLog.error("[LogDispatcher#addBuilder] アクションIDには空でない文字列を指定してください","actionId = ".concat(t)),!1;if(!r.Util.isUndefined(pt[t]))return r.CLog.error("[LogDispatcher#addBuilder] 登録済みのアクションIDです.","actionId = ".concat(t)),!1;for(var n=e;null!==n&&(n=Object.getPrototypeOf(n))!==et;);return e!==et&&null===n?(r.CLog.error("[LogDispatcher#addBuilder] ビルダーはBaseBuilder, またはそのサブクラスとしてください.","actionId = ".concat(t)),!1):(pt[t]=e,!0)}},{key:"addGlobalData",value:function(t){for(var e in t)_(t,e)&&yt.addParameter(e,t[e])}},{key:"getToken",value:function(){return K.getToken()}},{key:"setBroker",value:function(t,e){z.a.setBeaconServer(t,e)}},{key:"setAccessToken",value:function(t){z.a.setAccessToken(t)}},{key:"removeBuilder",value:function(t){delete pt[t]}}],null&&dt(e.prototype,null),n&&dt(e,n),t}();function ht(t){return(ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mt(t){return(mt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function bt(t,e){return(bt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var wt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==ht(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,mt(e).apply(this,arguments))}var n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bt(t,e)}(e,t),n=e,r=[{key:"buildActionParameters",value:function(t){var e=t.viewType;return{start_time:t.viewStartTime,end_time:t.viewEndTime,view_time:t.viewEndTime-t.viewStartTime,viewable_time:e===p.list?t.viewableTime:null,view_rate:t.readProportion,current_page:null,total_page:null}}}],null&&gt(n.prototype,null),r&&gt(n,r),e}(et);function _t(t){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function St(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function kt(t){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ct(t,e){return(Ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Ut=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==_t(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,kt(e).apply(this,arguments))}var n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ct(t,e)}(e,t),n=e,r=[{key:"buildActionParameters",value:function(t){return{href:t.url}}}],null&&St(n.prototype,null),r&&St(n,r),e}(et);function Ot(t){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function jt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Tt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==Ot(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,Lt(e).apply(this,arguments))}var n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(e,t),n=e,r=[{key:"buildActionParameters",value:function(t){return{nopv:!1}}}],null&&jt(n.prototype,null),r&&jt(n,r),e}(et);function Et(t){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Pt=function(){var t=r.Util.urlQueryString(J()),e=r.Util.urlQueryParse(t),n=null;return["p","q","query"].some((function(t){if("object"===Et(e)&&_(e,t))return n=function(t){return decodeURIComponent(t.replace(/\+/g,"%20"))}(e[t]),!0})),n};function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function At(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Nt(t){return(Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Dt(t,e){return(Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var It=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,Nt(e).apply(this,arguments))}var n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dt(t,e)}(e,t),n=e,r=[{key:"buildActionParameters",value:function(t){return{origin_query:Pt()}}}],null&&At(n.prototype,null),r&&At(n,r),e}(et),Ft=j.viewStart,Bt=j.viewEnd,Ht={};Ht[Ft.list]=et,Ht[Ft.detail]=et,Ht[Ft.digest]=et,Ht[Bt.list]=wt,Ht[Bt.detail]=wt,Ht[Bt.digest]=wt,Ht[j.view_video_start]=et,Ht[j.view_video_end]=et,Ht[j.flow]=Ut,Ht[j.pageview]=Tt,Ht[j.cv]=et,Ht[j.search]=It;var Rt=Ht,qt="ual.modulechange";function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Wt=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isActive=!1,this.interval=r.Util.isNumber(e)?e:100}var e,n;return e=t,(n=[{key:"monitor",value:function(){return!0}},{key:"runTimer",value:function(){var t=this;this.isActive&&(this.monitor(),setTimeout((function(){t.runTimer()}),this.interval))}},{key:"start",value:function(){this.isActive||(this.isActive=!0,this.runTimer())}},{key:"stop",value:function(){this.isActive=!1}}])&&Vt(e.prototype,n),t}(),zt=function(){return b(window)?{w:innerWidth,h:innerHeight}:{w:0,h:0}},Gt=function(t){var e=t.getBoundingClientRect();return{x:e.left,y:e.top,r:e.right,b:e.bottom,w:e.width,h:e.bottom-e.top}},Jt=function(t,e){var n=(e=r.Util.isObject(e)?e:{}).top||0,o=e.bottom||0;return{x:0,y:n,r:t.w,b:t.h-o,w:t.w,h:t.h-n-o}},Qt=function(t,e,n,o){if(!b(window))return r.CLog.error("[visibility.isHiddenElement] windowオブジェクトが存在しません"),!1;var i=getComputedStyle(t);if("hidden"===i.getPropertyValue("visibility")||"none"===i.getPropertyValue("display"))return!0;var u=Jt(e,o);return n.x>=u.r||n.r<=u.x||n.y>=u.b||n.b<=u.y},Xt=function(t,e,n){var r=Jt(t,n),o=Math.max(r.x,e.x),i=Math.min(e.r,r.r),u=Math.max(r.y,e.y),a=Math.min(r.b,e.b);return{x:o,y:u,r:i,b:a,w:i-o,h:a-u}},Yt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!m(t))return r.CLog.error("[visibility.getVAP] 不正な引数",t),0;var n=zt(),o=Gt(t);if(Qt(t,n,o,e))return 0;var i=o.w*o.h,u=Xt(n,o,e),a=u.w*u.h;return a/i*100},$t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!m(t))return r.CLog.error("[visibility.getReadRange] 不正な引数",t),null;var n=zt(),o=Gt(t);if(Qt(t,n,o,e))return null;var i=o.y,u=o.h,a=i+u,l=Xt(n,o,e),c=l.y,s=l.b,f=(c-i)/u*100,d=(u-(a-s))/u*100;if(d-f<1)return null;var p=Math.ceil(f),y=Math.floor(d)-1;return{start:p,end:y}},Kt={none:0,start:1,end:2};function Zt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var te=Kt,ee=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.cp=S(e),this.mp=S(n),this.lp={},this.hp={},this.vt=k(e),null===this.vt&&r.CLog.error("[ContentDataModel.constructor] 規定外の表示種別",e),this.vap=0,this.vst=0,this.vet=0,this.vast=null,this.vat=this.vt===p.list?0:null,this.rpf=[];for(var o=0;o<100;o++)this.rpf[o]=!1;this.href=null}var e,n;return e=t,(n=[{key:"getParameters",value:function(){return r.Util.merge({},this.mp,this.cp,this.lp,this.hp)}},{key:"setHitParameters",value:function(t){this.hp=r.Util.isObject(t)?t:{}}},{key:"setFlowInfo",value:function(t){for(var e=[a,l,c],n=null,r=0;r<e.length;r++)if(t.hasAttribute(e[r])){n=e[r];break}this.lp=S(t,n),n===a?this.href=t.href:n!==c&&n!==l||(this.href=document.URL)}},{key:"unsetFlowInfo",value:function(){this.lp={},this.href=null}},{key:"update",value:function(t){var e=te.none;return r.Util.isNumber(t)?(0===this.vap&&0!==t?(this.vst=r.Util.getTime(),e=te.start):0!==this.vap&&0===t&&(this.vet=r.Util.getTime(),e=te.end),this.vt===p.list&&(null===this.vast&&t>=50?this.vast=r.Util.getTime():null!==this.vast&&t<50&&(this.vat+=r.Util.getTime()-this.vast,this.vast=null)),this.vap=t,e):(r.CLog.error("[ContentDataModel#update] 可視面積比率の値が不正",t),e)}},{key:"read",value:function(t,e){for(var n=t;n<=e;n++)this.rpf[n]=!0}},{key:"viewType",get:function(){return this.vt}},{key:"viewStartTime",get:function(){return this.vst}},{key:"viewEndTime",get:function(){return this.vet}},{key:"viewableTime",get:function(){return this.vat}},{key:"readProportion",get:function(){return this.rpf.filter((function(t){return t})).length}},{key:"url",get:function(){var t=this.href;return r.Util.isString(t)&&!r.Util.isEmpty(t)?t:null}}])&&Zt(e.prototype,n),t}();function ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var re=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.top=0,this.bottom=0}var e,n;return e=t,(n=[{key:"getOffset",value:function(){return{top:this.top,bottom:this.bottom}}},{key:"setOffset",value:function(t){this.top=r.Util.isObject(t)&&r.Util.isNumber(t.top)?t.top:0,this.bottom=r.Util.isObject(t)&&r.Util.isNumber(t.bottom)?t.bottom:0}}])&&ne(e.prototype,n),t}(),oe=!1,ie=function(t,e){m(t)&&(oe?(function(t,e){t.innerHTML="";var n=e.getParameters(),r=n.content_id||n.contid||null;null!==r&&(t.innerHTML+="".concat(r.substr(0,12),"<br>"));var o=e.vap,i=e.readProportion;t.innerHTML+="".concat("".concat(o).substr(0,5),"%<br>ViewRate:").concat(i,"%<br>");var u=e.viewStartTime,a=u>0?Math.floor(((new Date).getTime()-u)/1e3):0;t.innerHTML+="ViewTime:".concat(a,"秒")}(function(t){var e=t.querySelector(".uainfo");if(null!==e)return e;var n=document.createElement("div");return n.className="uainfo",n.style.position="absolute",n.style.backgroundColor="rgba(0,0,0,0.4)",n.style.color="#FFF",n.style.padding="3px",n.style.left=0,n.fontSize="13pt",n.zIndex="100000",t.appendChild(n),n}(t),e),function(t,e){if(!t.hasAttribute("data-ual-debug-style")){var n={borderColor:t.style.borderColor,borderWidth:t.style.borderWidth,borderStyle:t.style.borderStyle};t.setAttribute("data-ual-debug-style",JSON.stringify(n))}e.vap>0?(t.style.borderColor="red",t.style.borderWidth="1px",t.style.borderStyle="solid"):(t.style.borderColor="rgba(0,0,0,0)",t.style.borderWidth="1px",t.style.borderStyle="solid")}(t,e)):function(t){var e=t.querySelector(".uainfo");null!==e&&t.removeChild(e);var n=t.getAttribute("data-ual-debug-style");if(null!==n){var r=JSON.parse(n);for(var o in r)_(r,o)&&(t.style[o]=r[o]);t.removeAttribute("data-ual-debug-style")}}(t))};function ue(t){return(ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ae(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function le(t,e){return!e||"object"!==ue(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ce(t){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function se(t,e){return(se=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var fe,de=s,pe=Kt,ye=function(t,e,n,o,i){var u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=null,c=0,s=i instanceof re?i.getOffset():{};m(e)&&(l=$t(e,s),c=Yt(e,s)),null!==l&&t.read(l.start,l.end);var f=t.update(c);if(f!==pe.end&&a&&(f=t.update(0)),f===pe.start)r.Util.isFunction(n)&&n(t);else if(f===pe.end)return r.Util.isFunction(o)&&o(t,u),null;return ie(e,t),t},ve=function(t){function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=le(this,ce(e).call(this,o))).module=null,!r.Util.isString(t)||r.Util.isEmpty(t))return r.CLog.error("[ContentMonitor.constructor] モジュールIDは空でない文字列で指定してください.",t),le(n);var i=document.getElementById(t);return m(i)?(n.module=i,n.contentDataMap={},n.startHandler=null,n.endHandler=null,n.offsetData=null,n):(r.CLog.error("[ContentMonitor.constructor] 指定されたモジュールが存在しません.",t),le(n))}var n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&se(t,e)}(e,t),n=e,(o=[{key:"monitor",value:function(){var t=this;if(null===this.module)return!1;var e=this.module.querySelectorAll("[".concat(i,"]")),n=Array.prototype.slice.call(e),o=n.filter((function(t){return t.hasAttribute(de)})).reduce((function(e,n){return r.Util.merge(e,t.reuseContentData(n))}),{}),u=n.filter((function(t){return!t.hasAttribute(de)})),a=u.reduce((function(e,n){return r.Util.merge(e,t.createContentData(n))}),{});return r.Util.isEmpty(u)||this.module.dispatchEvent(function(t){try{return new Event(t)}catch(n){var e=document.createEvent("Event");return e.initEvent(t,!1,!1),e}}(qt)),this.finalize(),this.contentDataMap=r.Util.merge(o,a),!0}},{key:"flush",value:function(){var t=this;if(null===this.module)return!1;var e=this.module.querySelectorAll("[".concat(i,"]"));return Array.prototype.slice.call(e).forEach((function(e){t.flushContentData(e,!0),e.removeAttribute(de)})),this.contentDataMap={},!0}},{key:"createContentData",value:function(t){var e={},n=new ee(t,this.module);if(null===n.viewType)return e;var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map((function(t){if("x"!==t&&"y"!==t)return t;var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})).join("");return t.setAttribute(de,r),e[r]=ye(n,t,this.startHandler,this.endHandler,this.offsetData),e}},{key:"reuseContentData",value:function(t){var e=t.getAttribute(de);if(r.Util.isUndefined(this.contentDataMap[e]))return{};var n=this.contentDataMap[e];delete this.contentDataMap[e];var o={};return o[e]=ye(n,t,this.startHandler,this.endHandler,this.offsetData),null===o[e]?(t.removeAttribute(de),{}):o}},{key:"flushContentData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.getAttribute(de);r.Util.isUndefined(this.contentDataMap[n])||(ye(this.contentDataMap[n],t,this.startHandler,this.endHandler,this.offsetData,e,!0),delete this.contentDataMap[n])}},{key:"replaceContentData",value:function(t,e){this.flushContentData(t),this.updateContentElement(t,e),this.contentDataMap=r.Util.merge(this.contentDataMap,this.createContentData(t))}},{key:"updateContentElement",value:function(t,e){if(e.hasAttribute(l)?t.setAttribute(u,p.digest):e.hasAttribute(c)&&t.setAttribute(u,p.detail),null!==e.getAttribute(f))t.setAttribute(i,e.getAttribute(f));else if(null!==e.getAttribute(d)){var n=S(t,i),o=S(e,d);!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;if(h(t)&&r.Util.isObject(e)&&r.Util.isString(n)&&""!==n){var o=[];for(var u in e)g(e,u)&&o.push(u);var a=o.reduce((function(t,n){return t.push("".concat(r.Util.normalizeToString(n),":").concat(r.Util.normalizeToString(e[n]))),t}),[]).join(";");t.setAttribute(n,a)}}(t,r.Util.merge(n,o))}}},{key:"finalize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.contentDataMap;for(var n in e)if(_(e,n)){var r=e[n];ye(r,null,null,this.endHandler,this.offsetData,t)}}}])&&ae(n.prototype,o),e}(Wt),he={isHidden:!1},ge=[],me=[],be=["focus","pageshow"],we=["blur","pagehide","beforeunload","unload"],_e=function(){he.isHidden&&(ge.forEach((function(t){return t()})),he.isHidden=!1)},Se=function(){he.isHidden||(me.forEach((function(t){return t()})),he.isHidden=!0)},ke=function(){document[fe]?Se():_e()},Ce=[],Ue=[],Oe=["yjsmhSidebarClose","yjsmhNotificationMenuClose"],je=["yjsmhSidebarOpen","yjsmhNotificationMenuOpen"],Le=function(){he.isHidden&&(Ce.forEach((function(t){return t()})),he.isHidden=!1)},xe=function(){he.isHidden||(Ue.forEach((function(t){return t()})),he.isHidden=!0)},Te=[],Ee=function(t){for(var e=t.target;e&&!e.hasAttribute(a)&&!e.hasAttribute(l)&&!e.hasAttribute(c);)e=e.parentNode;Te.forEach((function(t){return t(e)}))},Pe=function(t){if(m(t)){var e="a[".concat(a,"], [").concat(l,"], [").concat(c,"]"),n=t.querySelectorAll(e);Array.prototype.slice.call(n).forEach((function(t){t.removeEventListener("click",Ee,!0),t.addEventListener("click",Ee,!0)}))}},Me=function(){if(!b(window)||!w(document))return r.CLog.error("[util/offset.getOffset] windowまたはdocumentオブジェクトが存在しません"),null;var t=function(){var t=document.body.getElementsByTagName("*"),e=[];for(var n in t)if(_(t,n)){var r=t[n],o=getComputedStyle(r);"fixed"===o.position&&"none"!==o.display&&"hidden"!==o.visibility&&e.push(r)}return e}(),e=innerWidth/2,n=innerHeight,o=n/2,i=t.map((function(t){return t.getBoundingClientRect()})).filter((function(t){return t.width>e&&t.height>0}));return{top:i.filter((function(t){return t.bottom<o})).map((function(t){return t.bottom})).reduce((function(t,e){return Math.max(t,e)}),0),bottom:i.filter((function(t){return t.top>o})).map((function(t){return t.top})).reduce((function(t,e){return Math.max(t,n-e)}),0)}};function Ae(t){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function De(t){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ie(t,e){return(Ie=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Fe=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=function(t,e){return!e||"object"!==Ae(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,De(e).call(this,n))).offsetData=new re,t}var n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ie(t,e)}(e,t),n=e,(r=[{key:"monitor",value:function(){var t=Me();return this.offsetData.setOffset(t),!0}}])&&Ne(n.prototype,r),e}(Wt);function Be(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var He=function(t){return qe().reduce((function(e,n){return e||(n.contentDataMap[t]?n:null)}),null)},Re=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"addModule",value:function(e){var n=t.monitorMap;if(!r.Util.isUndefined(n[e]))return r.CLog.error("[Dispatcher#addModule] 登録済みのモジュールです.",e),!1;var o=new ve(e);return null===o.module?(r.CLog.error("[Dispatcher#addModule] ContentMonitorの生成に失敗しました. モジュールIDを確認してください",e),!1):(o.startHandler=t.handleViewStart,o.endHandler=t.handleViewEnd,o.offsetData=t.offsetMonitor.offsetData,o.module.addEventListener(qt,(function(t){!function(t){r.Util.isArray(t)||(t=[t]),t.forEach(Pe)}(t.currentTarget)})),n[e]=o,!0)}},{key:"startMonitors",value:function(){null!==vt.getToken()?qe().forEach((function(t){t.start()})):r.CLog.error("[LogDispatcher#startMonitors] token が未設定です")}},{key:"stopMonitors",value:function(){qe().forEach((function(t){t.stop(),t.flush()}))}},{key:"handleViewStart",value:function(t){vt.viewStart(t)}},{key:"handleViewEnd",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];vt.viewEnd(t,e)}},{key:"handleFlow",value:function(e){t.startMonitors(),e.hasAttribute(l)||e.hasAttribute(c)?t.actionNoflow(e):e.hasAttribute(a)&&t.actionFlow(e)}},{key:"actionFlow",value:function(e){var n=t.findContentData(e);null!==n?(vt.flow(n,e),t.stopMonitors()):r.CLog.error("[Dispatcher#actionFlow] 対応するコンテンツデータが見つかりません",e)}},{key:"actionNoflow",value:function(e){var n=t.findContentData(e);if(null!==n){vt.flow(n,e);var o=t.findContentElement(e);if(null!==o){var i=o.getAttribute(s);He(i).replaceContentData(o,e)}}else r.CLog.error("[Dispatcher#actionNoflow] 対応するコンテンツデータが見つかりません",e)}},{key:"findContentElement",value:function(t){for(var e=t;m(e);){if(e.hasAttribute(s))return e;e=e.parentNode}return null}},{key:"findContentData",value:function(e){var n=t.findContentElement(e);if(r.Util.isEmpty(n))return null;var o=n.getAttribute(s),i=He(o);return r.Util.isEmpty(i)?null:i.contentDataMap[o]}},{key:"initMonitors",value:function(){var e=t.monitorMap;for(var n in e)_(e,n)&&delete e[n];ge.splice(0,ge.length),me.splice(0,me.length),function(t){r.Util.isFunction(t)&&ge.push(t)}(t.startMonitors),function(t){r.Util.isFunction(t)&&me.push(t)}(t.stopMonitors),function(){var t;b(window)&&w(document)&&(be.forEach((function(t){removeEventListener(t,_e),addEventListener(t,_e,!1)})),we.forEach((function(t){removeEventListener(t,Se),addEventListener(t,Se,!1)})),r.Util.isUndefined(document.hidden)&&!r.Util.isUndefined(document.webkitHidden)?(fe="webkitHidden",t="webkitvisibilitychange"):(fe="hidden",t="visibilitychange"),document.removeEventListener(t,ke),document.addEventListener(t,ke,!1))}(),Ce.splice(0,Ce.length),Ue.splice(0,Ue.length),function(t){r.Util.isFunction(t)&&Ce.push(t)}(t.startMonitors),function(t){r.Util.isFunction(t)&&Ue.push(t)}(t.stopMonitors),function(t){r.Util.is("HTMLDivElement",t)&&(Oe.forEach((function(e){t.removeEventListener(e,Le),t.addEventListener(e,Le,!1)})),je.forEach((function(e){t.removeEventListener(e,xe),t.addEventListener(e,xe,!1)})))}(document.getElementById("wrapper")),Te.splice(0,Te.length),function(t){r.Util.isFunction(t)&&Te.push(t)}(t.handleFlow)}}],null&&Be(e.prototype,null),n&&Be(e,n),t}();Re.offsetMonitor=new Fe,Re.monitorMap={};var qe=function(){return function(t){var e=[];for(var n in t)_(t,n)&&e.push(t[n]);return e}(Re.monitorMap)};Re.initMonitors();var Ve=Re;function We(t){return(We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ge=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t){return!r.Util.isString(t)||r.Util.isEmpty(t)?(r.CLog.error("[CtrlCommander.run] サブコマンドの型または値が不正",t,"type: ".concat(We(t))),!1):r.Util.isFunction(this[t])?(this[t](),!0):(r.CLog.error("[CtrlCommander.run] 未定義のサブコマンド",t),!1)}},{key:"start",value:function(){Ve.startMonitors()}},{key:"stop",value:function(){Ve.stopMonitors()}}],null&&ze(e.prototype,null),n&&ze(e,n),t}();function Je(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Qe=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"addModule",value:function(t){return!1!==Ve.addModule(t)||(r.CLog.error("[InitCommander.run] モジュールの登録に失敗しました"),!1)}},{key:"validateModuleId",value:function(t){return!(!r.Util.isString(t)||r.Util.isEmpty(t))||(r.CLog.error("[InitCommander.run] 予期しないモジュールの指定",t),!1)}},{key:"run",value:function(t){var e=this;return r.Util.isArray(t)?r.Util.isEmpty(t)?(r.CLog.error("[InitCommander.run] 予期しないモジュールの指定",t),!1):!!t.every((function(t){return e.validateModuleId(t)}))&&t.reduce((function(t,n){return e.addModule(n)&&t}),!0):!!this.validateModuleId(t)&&this.addModule(t)}}],null&&Je(e.prototype,null),n&&Je(e,n),t}();function Xe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ye=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t){if(!r.Util.isObject(t))return r.CLog.error("[OffsetCommander#run] 予期しないoptionsの型指定",t),!1;t.auto=!!r.Util.isBoolean(t.auto)&&t.auto,t.interval=r.Util.isNumber(t.interval)&&t.interval>0?t.interval:1e3,t.top=r.Util.isNumber(t.top)?t.top:0,t.bottom=r.Util.isNumber(t.bottom)?t.bottom:0;var e=Ve.offsetMonitor;return t.auto?(e.interval=t.interval,e.start()):(e.stop(),e.offsetData.setOffset({top:t.top,bottom:t.bottom})),!0}}],null&&Xe(e.prototype,null),n&&Xe(e,n),t}();function $e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ke=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t){return r.Util.isObject(t)?(vt.addGlobalData(t),!0):(r.CLog.error("[GlobalCommander#run] 予期しないパラメータの型指定",t),!1)}}],null&&$e(e.prototype,null),n&&$e(e,n),t}();function Ze(t){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var en=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!r.Util.isString(t)||r.Util.isEmpty(t)?(r.CLog.error("[ConfigCommander#run] サブコマンドの型または値が不正",t,"type: ".concat(Ze(t))),!1):r.Util.isFunction(this[t])?(this[t](e),!0):(r.CLog.error("[ConfigCommander#run] 未定義のサブコマンド",t),!1)}},{key:"token",value:function(t){K.setToken(t)}},{key:"host",value:function(t){vt.setBroker(t,null)}},{key:"path",value:function(t){vt.setBroker(null,t)}},{key:"accessToken",value:function(t){vt.setAccessToken(t)}},{key:"project",value:function(t){K.setProject(t)}},{key:"action",value:function(t){r.Util.isArray(t)?K.setActionList(t):r.CLog.error("[ConfigCommander.action] 引数の型が不正",t)}},{key:"extension",value:function(t){var e="[ConfigCommander.extension] ";r.Util.isObject(t)?r.Util.isString(t.name)&&!r.Util.isEmpty(t.name)?r.Util.isString(t.version)&&!r.Util.isEmpty(t.version)?(K.setExtensionName(t.name),K.setExtensionVersion(t.version)):r.CLog.error("".concat(e,"versionが不正な型か空の文字列"),t):r.CLog.error("".concat(e,"nameが不正な型か空の文字列"),t):r.CLog.error("".concat(e,"引数が不正な型"),t)}}],null&&tn(e.prototype,null),n&&tn(e,n),t}();function nn(t){return(nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var on=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t){return!r.Util.isString(t)||r.Util.isEmpty(t)?(r.CLog.error("[DebugCommander.run] サブコマンドの型または値が不正",t,"type: ".concat(nn(t))),!1):r.Util.isFunction(this[t])?(this[t](),!0):(r.CLog.error("[DebugCommander.run] 未定義のサブコマンド",t),!1)}},{key:"start",value:function(){oe=!0}},{key:"stop",value:function(){oe=!1}}],null&&rn(e.prototype,null),n&&rn(e,n),t}();function un(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var an=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"buildContentData",value:function(t){if(!r.Util.isObject(t))return null;var e=document.createElement("li");e.setAttribute("data-ual-view-type",p.internal);var n=new ee(e);return n.setHitParameters(t),n}},{key:"run",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];st("HitDispatcher.run#start");var r=this.buildContentData(e);vt.hit(t,r,n),st("HitDispatcher.run#end")}}],null&&un(e.prototype,null),n&&un(e,n),t}();function ln(t){return(ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function sn(t){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var dn={init:Qe,offset:Ye,ctrl:Ge,global:Ke,config:en,debug:on,hit:function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{flush:!1};return st("HitCommander.run#start"),!r.Util.isString(t)||r.Util.isEmpty(t)?(r.CLog.error("[HitCommander.run] アクションIDの型または値が不正",t,"type: ".concat(ln(t))),!1):r.Util.isUndefined(e)||r.Util.isNull(e)||r.Util.isObject(e)?(r.Util.isObject(n)?r.Util.isBoolean(n.flush)||(n.flush=!1):n={flush:!1},an.run(t,e,n.flush),st("HitCommander.run#end"),!0):(r.CLog.error("[HitCommander.run] ログパラメータの型または値が不正",e,"type: ".concat(r.Util.getType(e))),!1)}}],null&&cn(e.prototype,null),n&&cn(e,n),t}(),use:function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"run",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!r.Util.isString(t)||r.Util.isEmpty(t)?(r.CLog.error("[UseCommander#run] サブコマンドの型または値が不正",t,"type: ".concat(sn(t))),!1):r.Util.isFunction(this[t])?r.Util.isFunction(e)?(this[t](e),!0):(r.CLog.error("[UseCommander#run] コールバック関数の型が不正",e,"type: ".concat(sn(e))),!1):(r.CLog.error("[UseCommander#run] 未定義のサブコマンド",t),!1)}},{key:"core",value:function(t){t(z.a)}}],null&&fn(e.prototype,null),n&&fn(e,n),t}()},pn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(0!==e.length){var o=e[0],i=e.slice(1);if(r.Util.findKey(dn,o)&&r.Util.isFunction(dn[o].run))try{dn[o].run.apply(dn[o],i)}catch(t){r.CLog.warning("[ual] エラーメトリクスの送信を開始します"),ct(t,"ual#command-run",{command:o,subArgs:i}),r.CLog.warning("[ual] エラーメトリクスの送信を完了しました")}else r.CLog.warning("[ual] 指定されたコマンドが見つかりません",o)}else r.CLog.warning("[ual] コマンドが指定されていません")};r.CLog.prefix="[UAL]";var yn=window.ualopts||{},vn=yn.errorLoggerLogLevel,hn=yn.errorLoggerHost;if(r.Util.isNumber(vn)&&function(t){ut=t}(vn),r.Util.isString(hn)&&!r.Util.isEmpty(hn)&&function(t){at.host=t,lt=new it.a(at)}(hn),st("main#start"),w(document)){var gn=document.URL.match(/ualdebug=(\d)/);r.Util.isNull(gn)||(r.CLog.logLevel=r.Util.normalizeToNumber(gn[1]))}for(var mn in V)_(V,mn)&&O.addRuleSet(mn,V[mn]);for(var bn in Rt)_(Rt,bn)&&(Rt[bn].validator=O,vt.addBuilder(bn,Rt[bn]));b(window)&&r.Util.isArray(window.ualcmds)&&window.ualcmds.forEach((function(t){var e=Array.prototype.slice.call(t);r.CLog.debug("ual() was called from command queue.",t),pn.apply(null,e)})),st("main#end"),e.default=pn}])},function(t){t.exports=JSON.parse('{"name":"YASUserActionLogger-web","version":"2.10.2"}')},function(t,e,n){"use strict";n.r(e),n.d(e,"main",(function(){return u}));var r=n(0),o=n.n(r),i=(n(3),n(1));function u(){return o()("config","extension",i),o.a}e.default=u()},function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports=n(0)},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r);o()("config","host","dsb.yahoo.co.jp"),o()("config","project","yas_useractionpool"),o()("config","action",["view_content_list_start","view_content_list_end","view_content_digest_start","view_content_digest_end","view_content_detail_start","view_content_detail_end","go_to_content","view_video_start","view_video_end","pageview","cv","search"])}])}]).default}));