1
2
|
/*! For license information please see bundle.mwBundle.sf_file_preview_plugin.js.LICENSE.txt */
(function(){(this||window).webpackJsonp.registerAbsMids({"7c1cede0fa96821f1d00933e343d2e2af30a4286":"7c1cede0fa96821f1d00933e343d2e2af30a4286","8e5d24b71f86716e7cc6d86d776c7dbfc35f9bdf":"8e5d24b71f86716e7cc6d86d776c7dbfc35f9bdf","dojo/Deferred":"dojo/Deferred","dojo/Evented":"dojo/Evented","dojo/_base/Deferred":"dojo/_base/Deferred","dojo/_base/array":"dojo/_base/array","dojo/_base/config":"dojo/_base/config","dojo/_base/connect":"dojo/_base/connect","dojo/_base/declare":"dojo/_base/declare","dojo/_base/event":"dojo/_base/event","dojo/_base/json":"dojo/_base/json","dojo/_base/kernel":"dojo/_base/kernel","dojo/_base/lang":"dojo/_base/lang","dojo/_base/sniff":"dojo/_base/sniff","dojo/_base/window":"dojo/_base/window","dojo/_base/xhr":"dojo/_base/xhr","dojo/aspect":"dojo/aspect","dojo/dom":"dojo/dom","dojo/dom-attr":"dojo/dom-attr","dojo/dom-construct":"dojo/dom-construct","dojo/dom-form":"dojo/dom-form","dojo/dom-geometry":"dojo/dom-geometry","dojo/dom-prop":"dojo/dom-prop","dojo/dom-style":"dojo/dom-style","dojo/errors/CancelError":"dojo/errors/CancelError","dojo/errors/RequestError":"dojo/errors/RequestError","dojo/errors/RequestTimeoutError":"dojo/errors/RequestTimeoutError","dojo/errors/create":"dojo/errors/create","dojo/has":"dojo/has","dojo/i18n":"dojo/i18n","dojo/i18n!sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview":"dojo/i18n!sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview","dojo/io-query":"dojo/io-query","dojo/json":"dojo/json","dojo/keys":"dojo/keys","dojo/mouse":"dojo/mouse","dojo/on":"dojo/on","dojo/promise/Promise":"dojo/promise/Promise","dojo/request/handlers":"dojo/request/handlers","dojo/request/script":"dojo/request/script","dojo/request/util":"dojo/request/util","dojo/request/watch":"dojo/request/watch","dojo/request/xhr":"dojo/request/xhr","dojo/sniff":"dojo/sniff","dojo/topic":"dojo/topic","dojo/when":"dojo/when","mw-deprecation-utils/deprecation":"mw-deprecation-utils/deprecation","mw-html-utils/HtmlUtils":"mw-html-utils/HtmlUtils","mw-html-utils/_parseHtml/sanitize":"mw-html-utils/_parseHtml/sanitize","mw-log/Log":"mw-log/Log","mw-log/impl/Backlog":"mw-log/impl/Backlog","mw-log/impl/Levels":"mw-log/impl/Levels","mw-log/impl/Modes":"mw-log/impl/Modes","mw-log/util/LogUtils":"mw-log/util/LogUtils","mw-remote/EndPointsManager":"mw-remote/EndPointsManager","mw-remote/Remote":"mw-remote/Remote","mw-remote/RemoteEndPointsManager":"mw-remote/RemoteEndPointsManager","mw-remote/ReplaceUploadIframe":"mw-remote/ReplaceUploadIframe","mw-remote/UploadToWorker":"mw-remote/UploadToWorker","mw-remote/defaultMessageMapping":"mw-remote/defaultMessageMapping","mw-remote/iframeproxy/CheckUrlService":"mw-remote/iframeproxy/CheckUrlService","mw-remote/iframeproxy/IframeProxyClient":"mw-remote/iframeproxy/IframeProxyClient","mw-remote/iframeproxy/IframeProxyReplace":"mw-remote/iframeproxy/IframeProxyReplace","mw-remote/impl/AutoDetectedTransaction":"mw-remote/impl/AutoDetectedTransaction","mw-remote/impl/FaultManager":"mw-remote/impl/FaultManager","mw-remote/impl/JsonTransaction":"mw-remote/impl/JsonTransaction","mw-remote/impl/RequestManager":"mw-remote/impl/RequestManager","mw-remote/impl/ResponseManager":"mw-remote/impl/ResponseManager","mw-remote/impl/Transaction":"mw-remote/impl/Transaction","mw-remote/serviceRegistryLookup":"mw-remote/serviceRegistryLookup","mw-remote/serviceRegistryLookup!":"mw-remote/serviceRegistryLookup!","mw-remote/utils/RemoteUrlUtils":"mw-remote/utils/RemoteUrlUtils","mw-remote/utils/SendMessageUtil":"mw-remote/utils/SendMessageUtil","mw-utils/Utils":"mw-utils/Utils","mw-utils/deprecation":"mw-utils/deprecation","sf_file_preview_plugin/_impl/StateflowFilePreviewPlugin":"sf_file_preview_plugin/_impl/StateflowFilePreviewPlugin","sf_file_preview_plugin/index":"sf_file_preview_plugin/index","sf_file_preview_plugin/l10n/resources/Stateflow/nls/ja-jp/preview":"sf_file_preview_plugin/l10n/resources/Stateflow/nls/ja-jp/preview","sf_file_preview_plugin/l10n/resources/Stateflow/nls/ko-kr/preview":"sf_file_preview_plugin/l10n/resources/Stateflow/nls/ko-kr/preview","sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview":"sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview"},{MW_BUNDLE_CHUNK_ID:"mwBundle.sf_file_preview_plugin"})})(),(window.webpackJsonp=window.webpackJsonp||[]).push([["mwBundle.sf_file_preview_plugin"],{0:function(e,t,r){e.exports=r},"7c1cede0fa96821f1d00933e343d2e2af30a4286":function(e,t,r){var n,o;n=[],o=r.dj.d(n,(function(){return function(e,t,r,n){var o,i,s;if(e.load(t,r,(function(e){i=e,s=!0,o&&o(e)}),{isBuild:!0}),s)return i;if(!n)throw new Error(t+" unavailable");return(i=new Promise((function(e){o=e}))).__DOJO_WEBPACK_DEFINE_PROMISE__=!0,i}}),e,t),e.exports=o},"8e5d24b71f86716e7cc6d86d776c7dbfc35f9bdf":function(e,t){e.exports=void 0},"dojo/Deferred":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/errors/CancelError"]),r(r.dj.r.absMids["dojo/promise/Promise"]),r(r.dj.r.absMids["8e5d24b71f86716e7cc6d86d776c7dbfc35f9bdf"])],o=r.dj.d(n,(function(e,t,r,n,o){"use strict";var i="This deferred has already been fulfilled.",s=Object.freeze||function(){},a=function(t,r,n,o,i){e("config-deferredInstrumentation")&&2===r&&u.instrumentRejected&&0===t.length&&u.instrumentRejected(n,!1,o,i);for(var s=0;s<t.length;s++)d(t[s],r,n,o)},d=function(t,r,n,o){var i=t[r],s=t.deferred;if(i)try{var a=i(n);if(0===r)void 0!==a&&l(s,r,a);else{if(a&&"function"==typeof a.then)return t.cancel=a.cancel,void a.then(c(s,1),c(s,2),c(s,0));l(s,1,a)}}catch(e){l(s,2,e)}else l(s,r,n);e("config-deferredInstrumentation")&&2===r&&u.instrumentRejected&&u.instrumentRejected(n,!!i,o,s.promise)},c=function(e,t){return function(r){l(e,t,r)}},l=function(e,t,r){if(!e.isCanceled())switch(t){case 0:e.progress(r);break;case 1:e.resolve(r);break;case 2:e.reject(r)}},u=function(t){var o,c,l,f=this.promise=new n,p=this,h=!1,m=[];e("config-deferredInstrumentation")&&Error.captureStackTrace&&(Error.captureStackTrace(p,u),Error.captureStackTrace(f,u)),this.isResolved=f.isResolved=function(){return 1===o},this.isRejected=f.isRejected=function(){return 2===o},this.isFulfilled=f.isFulfilled=function(){return!!o},this.isCanceled=f.isCanceled=function(){return h},this.progress=function(e,t){if(o){if(!0===t)throw new Error(i);return f}return a(m,0,e,null,p),f},this.resolve=function(e,t){if(o){if(!0===t)throw new Error(i);return f}return a(m,o=1,c=e,null,p),m=null,f};var g=this.reject=function(t,r){if(o){if(!0===r)throw new Error(i);return f}return e("config-deferredInstrumentation")&&Error.captureStackTrace&&Error.captureStackTrace(l={},g),a(m,o=2,c=t,l,p),m=null,f};this.then=f.then=function(e,t,r){var n=[r,e,t];return n.cancel=f.cancel,n.deferred=new u((function(e){return n.cancel&&n.cancel(e)})),o&&!m?d(n,o,c,l):m.push(n),n.deferred.promise},this.cancel=f.cancel=function(e,n){if(o){if(!0===n)throw new Error(i)}else{if(t){var s=t(e);e=void 0===s?e:s}if(h=!0,!o)return void 0===e&&(e=new r),g(e),e;if(2===o&&c===e)return e}},s(f)};return u.prototype.toString=function(){return"[object Deferred]"},o&&o(u),u}),e,t),e.exports=o},"dojo/Evented":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/aspect"]),r(r.dj.r.absMids["dojo/on"])],o=r.dj.d(n,(function(e,t){"use strict";var r=e.after;function n(){}return n.prototype={on:function(e,n){return t.parse(this,e,n,(function(e,t){return r(e,"on"+t,n,!0)}))},emit:function(e,r){var n=[this];return n.push.apply(n,arguments),t.emit.apply(t,n)}},n}),e,t),e.exports=o},"dojo/_base/Deferred":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/Deferred"]),r(r.dj.r.absMids["dojo/promise/Promise"]),r(r.dj.r.absMids["dojo/errors/CancelError"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/when"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s){var a=function(){},d=Object.freeze||function(){},c=e.Deferred=function(e){var s,l,u,f,p,h,m,g=this.promise=new r;function _(e){if(l)throw new Error("This deferred has already been resolved");s=e,l=!0,v()}function v(){for(var e;!e&&m;){var r=m;m=m.next,(e=r.progress==a)&&(l=!1);var n=p?r.error:r.resolved;if(o("config-useDeferredInstrumentation")&&p&&t.instrumentRejected&&t.instrumentRejected(s,!!n),n)try{var d=n(s);if(d&&"function"==typeof d.then){d.then(i.hitch(r.deferred,"resolve"),i.hitch(r.deferred,"reject"),i.hitch(r.deferred,"progress"));continue}var c=e&&void 0===d;e&&!c&&(p=d instanceof Error),r.deferred[c&&p?"reject":"resolve"](c?s:d)}catch(e){r.deferred.reject(e)}else p?r.deferred.reject(s):r.deferred.resolve(s)}}this.isResolved=g.isResolved=function(){return 0==f},this.isRejected=g.isRejected=function(){return 1==f},this.isFulfilled=g.isFulfilled=function(){return f>=0},this.isCanceled=g.isCanceled=function(){return u},this.resolve=this.callback=function(e){this.fired=f=0,this.results=[e,null],_(e)},this.reject=this.errback=function(e){p=!0,this.fired=f=1,o("config-useDeferredInstrumentation")&&t.instrumentRejected&&t.instrumentRejected(e,!!m),_(e),this.results=[null,e]},this.progress=function(e){for(var t=m;t;){var r=t.progress;r&&r(e),t=t.next}},this.addCallbacks=function(e,t){return this.then(e,t,a),this},g.then=this.then=function(e,t,r){var n=r==a?this:new c(g.cancel),o={resolved:e,error:t,progress:r,deferred:n};return m?h=h.next=o:m=h=o,l&&v(),n.promise};var b=this;g.cancel=this.cancel=function(){if(!l){var t=e&&e(b);l||(t instanceof Error||(t=new n(t)),t.log=!1,b.reject(t))}u=!0},d(g)};return i.extend(c,{addCallback:function(t){return this.addCallbacks(i.hitch.apply(e,arguments))},addErrback:function(t){return this.addCallbacks(null,i.hitch.apply(e,arguments))},addBoth:function(t){var r=i.hitch.apply(e,arguments);return this.addCallbacks(r,r)},fired:-1}),c.when=e.when=s,c}),e,t),e.exports=o},"dojo/_base/array":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/_base/lang"])],o=r.dj.d(n,(function(e,t,r){var n={};function o(e){return n[e]=new Function("item","index","array",e)}function i(e){var t=!e;return function(r,i,s){var a,d=0,c=r&&r.length||0;if(c&&"string"==typeof r&&(r=r.split("")),"string"==typeof i&&(i=n[i]||o(i)),s){for(;d<c;++d)if(a=!i.call(s,r[d],d,r),e^a)return!a}else for(;d<c;++d)if(a=!i(r[d],d,r),e^a)return!a;return t}}function s(e){var t=1,r=0,n=0;return e||(t=r=n=-1),function(o,i,s,d){if(d&&t>0)return a.lastIndexOf(o,i,s);var c,l=o&&o.length||0,u=e?l+n:r;for(void 0===s?c=e?r:l+n:s<0?(c=l+s)<0&&(c=r):c=s>=l?l+n:s,l&&"string"==typeof o&&(o=o.split(""));c!=u;c+=t)if(o[c]==i)return c;return-1}}var a={every:i(!1),some:i(!0),indexOf:s(!0),lastIndexOf:s(!1),forEach:function(e,t,r){var i=0,s=e&&e.length||0;if(s&&"string"==typeof e&&(e=e.split("")),"string"==typeof t&&(t=n[t]||o(t)),r)for(;i<s;++i)t.call(r,e[i],i,e);else for(;i<s;++i)t(e[i],i,e)},map:function(e,t,r,i){var s=0,a=e&&e.length||0,d=new(i||Array)(a);if(a&&"string"==typeof e&&(e=e.split("")),"string"==typeof t&&(t=n[t]||o(t)),r)for(;s<a;++s)d[s]=t.call(r,e[s],s,e);else for(;s<a;++s)d[s]=t(e[s],s,e);return d},filter:function(e,t,r){var i,s=0,a=e&&e.length||0,d=[];if(a&&"string"==typeof e&&(e=e.split("")),"string"==typeof t&&(t=n[t]||o(t)),r)for(;s<a;++s)i=e[s],t.call(r,i,s,e)&&d.push(i);else for(;s<a;++s)t(i=e[s],s,e)&&d.push(i);return d},clearCache:function(){n={}}};return t("extend-dojo")&&r.mixin(e,a),a}),e,t),e.exports=o},"dojo/_base/config":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/has"]),r.dj.c(e.i)],o=r.dj.d(n,(function(e,t){var r,n={};if(e("dojo-config-api")){var o,i=t.rawConfig;for(o in i)n[o]=i[o]}else{var s=function(t,r,n){for(o in t)"has"!=o&&e.add(r+o,t[o],0,n)},a=function(){return this}();s(n=e("dojo-loader")?t.rawConfig:a.dojoConfig||a.djConfig||{},"config",1),s(n.has,"",1)}(n.updateLocale=function(e,t){var r;if(e.indexOf(t)>=0&&"zh"!==t)n.locale=t;else if("zh"!==(r=t.split("-")[0])){for(var o=0;o<e.length;o+=1)if(r===e[o].split("-")[0]){n.locale=e[o];break}n.locale||(n.locale="en-us".toLowerCase())}else n.locale="en-us".toLocaleLowerCase()},n.locale||"undefined"==typeof navigator)||(r=n._testLanguageOverride||navigator.language||navigator.userLanguage)&&(r=r.toLowerCase(),n.supportedLocales&&n.updateLocale(n.supportedLocales,r));return n.locale||(n.locale="en-us"),n}),e,t),e.exports=o},"dojo/_base/connect":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/on"]),r(r.dj.r.absMids["dojo/topic"]),r(r.dj.r.absMids["dojo/aspect"]),r(r.dj.r.absMids["dojo/_base/event"]),r(r.dj.r.absMids["dojo/mouse"]),r(r.dj.r.absMids["dojo/_base/sniff"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/keys"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a){function d(r,o,s,d,l){if(d=a.hitch(s,d),!r||!r.addEventListener&&!r.attachEvent)return n.after(r||e.global,o,d,!0);if("string"==typeof o&&"on"==o.substring(0,2)&&(o=o.substring(2)),r||(r=e.global),!l)switch(o){case"keypress":o=c;break;case"mouseenter":o=i.enter;break;case"mouseleave":o=i.leave}return t(r,o,d,l)}s.add("events-keypress-typed",(function(){var e={charCode:0};try{((e=document.createEvent("KeyboardEvent")).initKeyboardEvent||e.initKeyEvent).call(e,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(e){}return 0==e.charCode&&!s("opera")}));var c,l={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},u=s("mac")?"metaKey":"ctrlKey",f=function(e,t){var r=a.mixin({},e,t);return p(r),r.preventDefault=function(){e.preventDefault()},r.stopPropagation=function(){e.stopPropagation()},r};function p(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode}if(s("events-keypress-typed")){c=function(e,r){var n=t(e,"keydown",(function(e){var t=e.keyCode,n=13!=t&&32!=t&&(27!=t||!s("ie"))&&(t<48||t>90)&&(t<96||t>111)&&(t<186||t>192)&&(t<219||t>222)&&229!=t;if(n||e.ctrlKey){var o=n?0:t;if(e.ctrlKey){if(3==t||13==t)return r.call(e.currentTarget,e);o>95&&o<106?o-=48:!e.shiftKey&&o>=65&&o<=90?o+=32:o=l[o]||o}var i=f(e,{type:"keypress",faux:!0,charCode:o});r.call(e.currentTarget,i),s("ie")&&function(e,t){try{e.keyCode=t}catch(e){return 0}}(e,i.keyCode)}})),o=t(e,"keypress",(function(e){var t=e.charCode;return e=f(e,{charCode:t=t>=32?t:0,faux:!0}),r.call(this,e)}));return{remove:function(){n.remove(),o.remove()}}}}else c=s("opera")?function(e,r){return t(e,"keypress",(function(e){var t=e.which;return 3==t&&(t=99),t=t<32&&!e.shiftKey?0:t,e.ctrlKey&&!e.shiftKey&&t>=65&&t<=90&&(t+=32),r.call(this,f(e,{charCode:t}))}))}:function(e,r){return t(e,"keypress",(function(e){return p(e),r.call(this,e)}))};var h={_keypress:c,connect:function(e,t,r,n,o){var i=arguments,s=[],a=0;s.push("string"==typeof i[0]?null:i[a++],i[a++]);var c=i[a+1];s.push("string"==typeof c||"function"==typeof c?i[a++]:null,i[a++]);for(var l=i.length;a<l;a++)s.push(i[a]);return d.apply(this,s)},disconnect:function(e){e&&e.remove()},subscribe:function(e,t,n){return r.subscribe(e,a.hitch(t,n))},publish:function(e,t){return r.publish.apply(r,[e].concat(t))},connectPublisher:function(e,t,r){var n=function(){h.publish(e,arguments)};return r?h.connect(t,r,n):h.connect(t,n)},isCopyKey:function(e){return e[u]}};return h.unsubscribe=h.disconnect,s("extend-dojo")&&a.mixin(e,h),h}),e,t),e.exports=o},"dojo/_base/declare":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/_base/lang"])],o=r.dj.d(n,(function(e,t,r){var n,o=r.mixin,i=Object.prototype,s=i.toString,a=0,d="constructor";function c(e,t){throw new Error("declare"+(t?" "+t:"")+": "+e)}function l(e,t,r){var n,o,s,a,l,u,f,p,h,m=this._inherited=this._inherited||{};if("string"==typeof e&&(n=e,e=t,t=r),r=0,a=e.callee,(n=n||a.nom)||c("can't deduce a name to call inherited()",this.declaredClass),s=(l=this.constructor._meta).bases,h=m.p,n!=d){if(m.c!==a&&(h=0,(l=(u=s[0])._meta).hidden[n]!==a)){(o=l.chains)&&"string"==typeof o[n]&&c("calling chained method with inherited: "+n,this.declaredClass);do{if(l=u._meta,f=u.prototype,l&&(f[n]===a&&f.hasOwnProperty(n)||l.hidden[n]===a))break}while(u=s[++h]);h=u?h:-1}if(u=s[++h])if(f=u.prototype,u._meta&&f.hasOwnProperty(n))r=f[n];else{p=i[n];do{if((r=(f=u.prototype)[n])&&(u._meta?f.hasOwnProperty(n):r!==p))break}while(u=s[++h])}r=u&&r||i[n]}else{if(m.c!==a&&(h=0,(l=s[0]._meta)&&l.ctor!==a)){for((o=l.chains)&&"manual"===o.constructor||c("calling chained constructor with inherited",this.declaredClass);(u=s[++h])&&(!(l=u._meta)||l.ctor!==a););h=u?h:-1}for(;(u=s[++h])&&!(r=(l=u._meta)?l.ctor:u););r=u&&r}if(m.c=r,m.p=h,r)return!0===t?r:r.apply(this,t||e)}function u(e,t){return"string"==typeof e?this.__inherited(e,t,!0):this.__inherited(e,!0)}n=t("csp-restrictions")?function(){}:new Function;var f=e.config.isDebug?function(e,t,r){var n=this.getInherited(e,t);if(n)return n.apply(this,r||t||e)}:l;function p(e){for(var t=this.constructor._meta.bases,r=0,n=t.length;r<n;++r)if(t[r]===e)return!0;return this instanceof e}function h(e,n){for(var o in n)o!=d&&n.hasOwnProperty(o)&&(e[o]=n[o]);if(t("bug-for-in-skips-shadowed"))for(var i=r._extraNames,s=i.length;s;)(o=i[--s])!=d&&n.hasOwnProperty(o)&&(e[o]=n[o])}function m(e){return y.safeMixin(this.prototype,e),this}function g(e,t){return e instanceof Array||"function"==typeof e||(t=e,e=void 0),t=t||{},y([this].concat(e=e||[]),t)}function _(e,t,r){return function(){var n,o,i,s=0,a=1;for(r&&(s=t.length-1,a=-1);n=t[s];s+=a)(i=((o=n._meta)?o.hidden:n.prototype)[e])&&i.apply(this,arguments)}}function v(e){n.prototype=e.prototype;var t=new n;return n.prototype=null,t}function b(e){var t=e.callee,r=v(t);return t.apply(r,e),r}function y(e,t,n){"string"!=typeof e&&(n=t,t=e,e=""),n=n||{};var j,w,E,M,x,T,P,C=1,R=t;if("[object Array]"==s.call(t)?(E=(T=function(e,t){for(var r,n,o,i,d,l,u,f,p=[],h=[{cls:0,refs:[]}],m={},g=1,_=e.length,v=0;v<_;++v){for((o=e[v])?"[object Function]"!=s.call(o)&&c("mixin #"+v+" is not a callable constructor.",t):c("mixin #"+v+" is unknown. Did you use dojo.require to pull it in?",t),i=0,r=(n=o._meta?o._meta.bases:[o]).length-1;r>=0;--r)(d=n[r].prototype).hasOwnProperty("declaredClass")||(d.declaredClass="uniqName_"+a++),u=d.declaredClass,m.hasOwnProperty(u)||(m[u]={count:0,refs:[],cls:n[r]},++g),l=m[u],i&&i!==l&&(l.refs.push(i),++i.count),i=l;++i.count,h[0].refs.push(i)}for(;h.length;){for(i=h.pop(),p.push(i.cls),--g;1==(f=i.refs).length;){if(!(i=f[0])||--i.count){i=0;break}p.push(i.cls),--g}if(i)for(v=0,_=f.length;v<_;++v)--(i=f[v]).count||h.push(i)}return g&&c("can't build consistent linearization",t),o=e[0],p[0]=o?o._meta&&o===p[p.length-o._meta.bases.length]?o._meta.bases.length:1:0,p}(t,e))[0],t=T[C=T.length-E]):(T=[0],t?"[object Function]"==s.call(t)?(E=t._meta,T=T.concat(E?E.bases:t)):c("base class is not a callable constructor.",e):null!==t&&c("unknown base class. Did you use dojo.require to pull it in?",e)),t)for(w=C-1;j=v(t),w;--w)((E=T[w])._meta?h:o)(j,E.prototype),(M=new Function).superclass=t,M.prototype=j,t=j.constructor=M;else j={};for(y.safeMixin(j,n),(E=n.constructor)!==i.constructor&&(E.nom=d,j.constructor=E),w=C-1;w;--w)(E=T[w]._meta)&&E.chains&&(P=o(P||{},E.chains));if(j["-chains-"]&&(P=o(P||{},j["-chains-"])),E=!P||!P.hasOwnProperty(d),T[0]=M=P&&"manual"===P.constructor?function(e){return function(){var t,r,n=arguments,o=0;if(!(this instanceof n.callee))return b(n);for(;t=e[o];++o)if(t=(r=t._meta)?r.ctor:t){t.apply(this,n);break}(t=this.postscript)&&t.apply(this,n)}}(T):1==T.length?function(e,t){return function(){var r,n=arguments,o=n,i=n[0];if(!(this instanceof n.callee))return b(n);t&&(i&&(r=i.preamble)&&(o=r.apply(this,o)||o),(r=this.preamble)&&r.apply(this,o)),e&&e.apply(this,n),(r=this.postscript)&&r.apply(this,n)}}(n.constructor,E):function(e,t){return function(){var r,n,o,i,s=arguments,a=s,d=s[0],c=e.length;if(!(this instanceof s.callee))return b(s);if(t&&(d&&d.preamble||this.preamble))for((i=new Array(e.length))[0]=s,n=0;(d=s[0])&&(r=d.preamble)&&(s=r.apply(this,s)||s),(r=(r=e[n].prototype).hasOwnProperty("preamble")&&r.preamble)&&(s=r.apply(this,s)||s),++n!=c;)i[n]=s;for(n=c-1;n>=0;--n)(r=(o=(r=e[n])._meta)?o.ctor:r)&&r.apply(this,i?i[n]:s);(r=this.postscript)&&r.apply(this,a)}}(T,E),M._meta={bases:T,hidden:n,chains:P,parents:R,ctor:n.constructor},M.superclass=t&&t.prototype,M.extend=m,M.createSubclass=g,M.prototype=j,j.constructor=M,j.getInherited=u,j.isInstanceOf=p,j.inherited=f,j.__inherited=l,e&&(j.declaredClass=e,r.setObject(e,M)),P)for(x in P)j[x]&&"string"==typeof P[x]&&x!=d&&((E=j[x]=_(x,T,"after"===P[x])).nom=x);return M}return e.safeMixin=y.safeMixin=function(e,n){var o,a;for(o in n)(a=n[o])===i[o]&&o in i||o==d||("[object Function]"==s.call(a)&&(a.nom=o),e[o]=a);if(t("bug-for-in-skips-shadowed")&&n)for(var c=r._extraNames,l=c.length;l;)(a=n[o=c[--l]])===i[o]&&o in i||o==d||("[object Function]"==s.call(a)&&(a.nom=o),e[o]=a);return e},e.declare=y,y}),e,t),e.exports=o},"dojo/_base/event":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/on"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/dom-geometry"])],o=r.dj.d(n,(function(e,t,r,n){if(t._fixEvent){var o=t._fixEvent;t._fixEvent=function(e,t){return(e=o(e,t))&&n.normalizeEvent(e),e}}var i={fix:function(e,r){return t._fixEvent?t._fixEvent(e,r):e},stop:function(e){r("dom-addeventlistener")||e&&e.preventDefault?(e.preventDefault(),e.stopPropagation()):((e=e||window.event).cancelBubble=!0,t._preventDefault.call(e))}};return r("extend-dojo")&&(e.fixEvent=i.fix,e.stopEvent=i.stop),i}),e,t),e.exports=o},"dojo/_base/json":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(__webpack_require__.dj.r.absMids["dojo/_base/kernel"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/json"])],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,(function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr="\t",dojo.toJson=function(e,t){return json.stringify(e,(function(e,t){if(t){var r=t.__json__||t.json;if("function"==typeof r)return r.call(t)}return t}),t&&dojo.toJsonIndentStr)},dojo}),module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},"dojo/_base/kernel":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/_base/config"]),r.dj.c(e.i),r.dj.m(e)],o=r.dj.d(n,(function(e,t,r,n){var o,i,s,a=function(){return this}(),d={},c={},l={config:t,global:a,dijit:d,dojox:c},u={dojo:["dojo",l],dijit:["dijit",d],dojox:["dojox",c]},f=r.map&&r.map[n.id.match(/[^\/]+/)[0]];for(i in f)u[i]?u[i][0]=f[i]:u[i]=[f[i],{}];for(i in u)(s=u[i])[1]._scopeName=s[0],t.noGlobals||(a[s[0]]=s[1]);l.scopeMap=u,l.baseUrl=l.config.baseUrl=r.baseUrl,l.isAsync=!e("dojo-loader")||r.async,l.locale=t.locale;var p="$Rev: 91fa0cb $".match(/[0-9a-f]{7,}/);if(l.version={major:1,minor:11,patch:2,flag:"",revision:p?p[0]:NaN,toString:function(){var e=l.version;return e.major+"."+e.minor+"."+e.patch+e.flag+" ("+e.revision+")"}},e.add("extend-dojo",1),e("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(l),e("host-rhino")?l.exit=function(e){quit(e)}:l.exit=function(){},e("host-webworker")||e.add("dojo-guarantee-console",1),e("dojo-guarantee-console")){e.add("console-as-object",(function(){return Function.prototype.bind&&console&&"object"==typeof console.log})),"undefined"!=typeof console||(console={});var h,m=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(o=0;h=m[o++];)console[h]?e("console-as-object")&&(console[h]=Function.prototype.bind.call(console[h],console)):function(){var e=h+"";console[e]="log"in console?function(){var t=Array.prototype.slice.call(arguments);t.unshift(e+":"),console.log(t.join(" "))}:function(){},console[e]._fake=!0}()}if(e.add("dojo-debug-messages",!!t.isDebug),l.deprecated=l.experimental=function(){},e("dojo-debug-messages")&&(l.deprecated=function(e,t,r){var n="DEPRECATED: "+e;t&&(n+=" "+t),r&&(n+=" -- will be removed in version: "+r),console.warn(n)},l.experimental=function(e,t){var r="EXPERIMENTAL: "+e+" -- APIs subject to change without notice.";t&&(r+=" "+t),console.warn(r)}),e.add("dojo-modulePaths",1),e("dojo-modulePaths")&&t.modulePaths){l.deprecated("dojo.modulePaths","use paths configuration");var g={};for(i in t.modulePaths)g[i.replace(/\./g,"/")]=t.modulePaths[i];r({paths:g})}return e.add("dojo-moduleUrl",1),e("dojo-moduleUrl")&&(l.moduleUrl=function(e,t){l.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return e&&(n=r.toUrl(e.replace(/\./g,"/")+(t?"/"+t:"")+"/*.*").replace(/\/\*\.\*/,"")+(t?"":"/")),n}),l._hasResource={},l}),e,t),e.exports=o},"dojo/_base/lang":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/sniff"])],o=r.dj.d(n,(function(e,t){t.add("bug-for-in-skips-shadowed",(function(){for(var e in{toString:1})return 0;return 1}));var r=t("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],n=r.length,o=function(t,r,n){n||(n=t[0]&&e.scopeMap[t[0]]?e.scopeMap[t.shift()][1]:e.global);try{for(var o=0;o<t.length;o++){var i=t[o];if(!(i in n)){if(!r)return;n[i]={}}n=n[i]}return n}catch(e){}},i=Object.prototype.toString,s=function(e,t,r){return(r||[]).concat(Array.prototype.slice.call(e,t||0))},a=/\{([^\}]+)\}/g,d={_extraNames:r,_mixin:function(e,o,i){var s,a,d,c={};for(s in o)a=o[s],s in e&&(e[s]===a||s in c&&c[s]===a)||(e[s]=i?i(a):a);if(t("bug-for-in-skips-shadowed")&&o)for(d=0;d<n;++d)a=o[s=r[d]],s in e&&(e[s]===a||s in c&&c[s]===a)||(e[s]=i?i(a):a);return e},mixin:function(e,t){e||(e={});for(var r=1,n=arguments.length;r<n;r++)d._mixin(e,arguments[r]);return e},setObject:function(e,t,r){var n=e.split("."),i=n.pop(),s=o(n,!0,r);return s&&i?s[i]=t:void 0},getObject:function(e,t,r){return e?o(e.split("."),t,r):r},exists:function(e,t){return void 0!==d.getObject(e,!1,t)},isString:function(e){return"string"==typeof e||e instanceof String},isArray:Array.isArray||function(e){return"[object Array]"==i.call(e)},isFunction:function(e){return"[object Function]"===i.call(e)},isObject:function(e){return void 0!==e&&(null===e||"object"==typeof e||d.isArray(e)||d.isFunction(e))},isArrayLike:function(e){return!!e&&!d.isString(e)&&!d.isFunction(e)&&!(e.tagName&&"form"==e.tagName.toLowerCase())&&(d.isArray(e)||isFinite(e.length))},isAlien:function(e){return e&&!d.isFunction(e)&&/\{\s*\[native code\]\s*\}/.test(String(e))},extend:function(e,t){for(var r=1,n=arguments.length;r<n;r++)d._mixin(e.prototype,arguments[r]);return e},_hitchArgs:function(t,r){var n=d._toArray(arguments,2),o=d.isString(r);return function(){var i=d._toArray(arguments),s=o?(t||e.global)[r]:r;return s&&s.apply(t||this,n.concat(i))}},hitch:function(t,r){if(arguments.length>2)return d._hitchArgs.apply(e,arguments);if(r||(r=t,t=null),d.isString(r)){if(!(t=t||e.global)[r])throw['lang.hitch: scope["',r,'"] is null (scope="',t,'")'].join("");return function(){return t[r].apply(t,arguments||[])}}return t?function(){return r.apply(t,arguments||[])}:r},delegate:function(){function e(){}return function(t,r){e.prototype=t;var n=new e;return e.prototype=null,r&&d._mixin(n,r),n}}(),_toArray:t("ie")?function(){function e(e,t,r){for(var n=r||[],o=t||0;o<e.length;o++)n.push(e[o]);return n}return function(t){return(t.item?e:s).apply(this,arguments)}}():s,partial:function(t){var r=[null];return d.hitch.apply(e,r.concat(d._toArray(arguments)))},clone:function(e){if(!e||"object"!=typeof e||d.isFunction(e))return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);var t,r,n;if(d.isArray(e))for(t=[],r=0,n=e.length;r<n;++r)r in e&&(t[r]=d.clone(e[r]));else t=e.constructor?new e.constructor:{};return d._mixin(t,e,d.clone)},trim:String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(e,t,r){return e.replace(r||a,d.isFunction(t)?t:function(e,r){return d.getObject(r,!1,t)})}};return t("extend-dojo")&&d.mixin(e,d),d}),e,t),e.exports=o},"dojo/_base/sniff":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/sniff"])],o=r.dj.d(n,(function(e,t,r){return r("host-browser")?(e._name="browser",t.mixin(e,{isBrowser:!0,isFF:r("ff"),isIE:r("ie"),isKhtml:r("khtml"),isWebKit:r("webkit"),isMozilla:r("mozilla"),isMoz:r("mozilla"),isOpera:r("opera"),isSafari:r("safari"),isChrome:r("chrome"),isMac:r("mac"),isIos:r("ios"),isAndroid:r("android"),isWii:r("wii"),isQuirks:r("quirks"),isAir:r("air")}),r):r}),e,t),e.exports=o},"dojo/_base/window":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/sniff"])],o=r.dj.d(n,(function(e,t,r){var n={global:e.global,doc:e.global.document||null,body:function(t){return(t=t||e.doc).body||t.getElementsByTagName("body")[0]},setContext:function(t,r){e.global=n.global=t,e.doc=n.doc=r},withGlobal:function(t,r,o,i){var s=e.global;try{return e.global=n.global=t,n.withDoc.call(null,t.document,r,o,i)}finally{e.global=n.global=s}},withDoc:function(t,o,i,s){var a,d,c,l=n.doc,u=r("quirks"),f=r("ie");try{return e.doc=n.doc=t,e.isQuirks=r.add("quirks","BackCompat"==e.doc.compatMode,!0,!0),r("ie")&&(c=t.parentWindow)&&c.navigator&&(a=parseFloat(c.navigator.appVersion.split("MSIE ")[1])||void 0,(d=t.documentMode)&&5!=d&&Math.floor(a)!=d&&(a=d),e.isIE=r.add("ie",a,!0,!0)),i&&"string"==typeof o&&(o=i[o]),o.apply(i,s||[])}finally{e.doc=n.doc=l,e.isQuirks=r.add("quirks",u,!0,!0),e.isIE=r.add("ie",f,!0,!0)}}};return r("extend-dojo")&&t.mixin(e,n),n}),e,t),e.exports=o},"dojo/_base/xhr":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/_base/sniff"]),r.dj.c(e.i),r(r.dj.r.absMids["dojo/io-query"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/dom-form"]),r(r.dj.r.absMids["dojo/_base/Deferred"]),r(r.dj.r.absMids["dojo/_base/config"]),r(r.dj.r.absMids["dojo/_base/json"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/on"]),r(r.dj.r.absMids["dojo/aspect"]),r(r.dj.r.absMids["dojo/request/watch"]),r(r.dj.r.absMids["dojo/request/xhr"]),r(r.dj.r.absMids["dojo/request/util"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a,d,c,l,u,f,p,h,m){e._xhrObj=h._create;var g=e.config;e.objectToQuery=n.objectToQuery,e.queryToObject=n.queryToObject,e.fieldToObject=i.fieldToObject,e.formToObject=i.toObject,e.formToQuery=i.toQuery,e.formToJson=i.toJson,e._blockAsync=!1;var _=e._contentHandlers=e.contentHandlers={text:function(e){return e.responseText},json:function(e){return d.fromJson(e.responseText||null)},"json-comment-filtered":function(e){a.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var t=e.responseText,r=t.indexOf("/*"),n=t.lastIndexOf("*/");if(-1==r||-1==n)throw new Error("JSON was not comment filtered");return d.fromJson(t.substring(r+2,n))},javascript:function(t){return e.eval(t.responseText)},xml:function(e){var r=e.responseXML;if(r&&t("dom-qsa2.1")&&!r.querySelectorAll&&t("dom-parser")&&(r=(new DOMParser).parseFromString(e.responseText,"application/xml")),t("ie")&&(!r||!r.documentElement)){var n=function(e){return"MSXML"+e+".DOMDocument"},o=["Microsoft.XMLDOM",n(6),n(4),n(3),n(2)];l.some(o,(function(t){try{var n=new ActiveXObject(t);n.async=!1,n.loadXML(e.responseText),r=n}catch(e){return!1}return!0}))}return r},"json-comment-optional":function(e){return e.responseText&&/^[^{\[]*\/\*/.test(e.responseText)?_["json-comment-filtered"](e):_.json(e)}};e._ioSetArgs=function(t,r,a,d){var l={args:t,url:t.url},u=null;if(t.form){var f=o.byId(t.form),p=f.getAttributeNode("action");l.url=l.url||(p?p.value:e.doc?e.doc.URL:null),u=i.toObject(f)}var h=[{}];u&&h.push(u),t.content&&h.push(t.content),t.preventCache&&h.push({"dojo.preventCache":(new Date).valueOf()}),l.query=n.objectToQuery(c.mixin.apply(null,h)),l.handleAs=t.handleAs||"text";var m=new s((function(e){e.canceled=!0,r&&r(e);var t=e.ioArgs.error;return t||((t=new Error("request cancelled")).dojoType="cancel",e.ioArgs.error=t),t}));m.addCallback(a);var _=t.load;_&&c.isFunction(_)&&m.addCallback((function(e){return _.call(t,e,l)}));var v=t.error;v&&c.isFunction(v)&&m.addErrback((function(e){return v.call(t,e,l)}));var b=t.handle;return b&&c.isFunction(b)&&m.addBoth((function(e){return b.call(t,e,l)})),m.addErrback((function(e){return d(e,m)})),g.ioPublish&&e.publish&&!1!==l.args.ioPublish&&(m.addCallbacks((function(t){return e.publish("/dojo/io/load",[m,t]),t}),(function(t){return e.publish("/dojo/io/error",[m,t]),t})),m.addBoth((function(t){return e.publish("/dojo/io/done",[m,t]),t}))),m.ioArgs=l,m};var v=function(e){var t=_[e.ioArgs.handleAs](e.ioArgs.xhr);return void 0===t?null:t},b=function(e,t){return t.ioArgs.args.failOk||console.error(e),e},y=function(t){j<=0&&(j=0,g.ioPublish&&e.publish&&(!t||t&&!1!==t.ioArgs.args.ioPublish)&&e.publish("/dojo/io/stop"))},j=0;f.after(p,"_onAction",(function(){j-=1})),f.after(p,"_onInFlight",y),e._ioCancelAll=p.cancelAll,e._ioNotifyStart=function(t){g.ioPublish&&e.publish&&!1!==t.ioArgs.args.ioPublish&&(j||e.publish("/dojo/io/start"),j+=1,e.publish("/dojo/io/send",[t]))},e._ioWatch=function(e,t,r,n){e.ioArgs.options=e.ioArgs.args;c.mixin(e,{response:e.ioArgs,isValid:function(r){return t(e)},isReady:function(t){return r(e)},handleResponse:function(t){return n(e)}}),p(e),y(e)};return e._ioAddQueryToUrl=function(e){e.query.length&&(e.url+=(-1==e.url.indexOf("?")?"?":"&")+e.query,e.query=null)},e.xhr=function(t,r,n){var o,i=e._ioSetArgs(r,(function(e){o&&o.cancel()}),v,b),s=i.ioArgs;"postData"in r?s.query=r.postData:"putData"in r?s.query=r.putData:"rawBody"in r?s.query=r.rawBody:(arguments.length>2&&!n||-1==="POST|PUT".indexOf(t.toUpperCase()))&&e._ioAddQueryToUrl(s);var a={method:t,handleAs:"text",timeout:r.timeout,withCredentials:r.withCredentials,ioArgs:s};void 0!==r.headers&&(a.headers=r.headers),void 0!==r.contentType&&(a.headers||(a.headers={}),a.headers["Content-Type"]=r.contentType),void 0!==s.query&&(a.data=s.query),void 0!==r.sync&&(a.sync=r.sync),e._ioNotifyStart(i);try{o=h(s.url,a,!0)}catch(e){return i.cancel(),i}return i.ioArgs.xhr=o.response.xhr,o.then((function(){i.resolve(i)})).otherwise((function(e){s.error=e,e.response&&(e.status=e.response.status,e.responseText=e.response.text,e.xhr=e.response.xhr),i.reject(e)})),i},e.xhrGet=function(t){return e.xhr("GET",t)},e.rawXhrPost=e.xhrPost=function(t){return e.xhr("POST",t,!0)},e.rawXhrPut=e.xhrPut=function(t){return e.xhr("PUT",t,!0)},e.xhrDelete=function(t){return e.xhr("DELETE",t)},e._isDocumentOk=function(e){return m.checkStatus(e.status)},e._getText=function(t){var r;return e.xhrGet({url:t,sync:!0,load:function(e){r=e}}),r},c.mixin(e.xhr,{_xhrObj:e._xhrObj,fieldToObject:i.fieldToObject,formToObject:i.toObject,objectToQuery:n.objectToQuery,formToQuery:i.toQuery,formToJson:i.toJson,queryToObject:n.queryToObject,contentHandlers:_,_ioSetArgs:e._ioSetArgs,_ioCancelAll:e._ioCancelAll,_ioNotifyStart:e._ioNotifyStart,_ioWatch:e._ioWatch,_ioAddQueryToUrl:e._ioAddQueryToUrl,_isDocumentOk:e._isDocumentOk,_getText:e._getText,get:e.xhrGet,post:e.xhrPost,put:e.xhrPut,del:e.xhrDelete}),e.xhr}),e,t),e.exports=o},"dojo/aspect":function(e,t,r){var n,o;n=[],o=r.dj.d(n,(function(){"use strict";function e(e){return function(t,r,n,o){var i,s=t[r];s&&s.target==t||(t[r]=i=function(){for(var e=i.nextId,t=arguments,r=i.before;r;)r.advice&&(t=r.advice.apply(this,t)||t),r=r.next;if(i.around)var n=i.around.advice(this,t);for(var o=i.after;o&&o.id<e;){if(o.advice)if(o.receiveArguments){var s=o.advice.apply(this,t);n=void 0===s?n:s}else n=o.advice.call(this,n,t);o=o.next}return n},s&&(i.around={advice:function(e,t){return s.apply(e,t)}}),i.target=t,i.nextId=i.nextId||0);var a=function(e,t,r,n){var o,i=e[t],s="around"==t;if(s){var a=r((function(){return i.advice(this,arguments)}));o={remove:function(){a&&(a=e=r=null)},advice:function(e,t){return a?a.apply(e,t):i.advice(e,t)}}}else o={remove:function(){if(o.advice){var n=o.previous,i=o.next;i||n?(n?n.next=i:e[t]=i,i&&(i.previous=n)):delete e[t],e=r=o.advice=null}},id:e.nextId++,advice:r,receiveArguments:n};if(i&&!s)if("after"==t){for(;i.next&&(i=i.next););i.next=o,o.previous=i}else"before"==t&&(e[t]=o,o.next=i,i.previous=o);else e[t]=o;return o}(i||s,e,n,o);return n=null,a}}var t=e("after");return{before:e("before"),around:e("around"),after:t}}),e,t),e.exports=o},"dojo/dom":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/sniff"]),r(r.dj.r.absMids["dojo/_base/window"])],o=r.dj.d(n,(function(e,t){if(e("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}var r={};e("ie")?r.byId=function(e,r){if("string"!=typeof e)return e;var n=r||t.doc,o=e&&n.getElementById(e);if(o&&(o.attributes.id.value==e||o.id==e))return o;var i=n.all[e];i&&!i.nodeName||(i=[i]);for(var s=0;o=i[s++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==e||o.id==e)return o}:r.byId=function(e,r){return("string"==typeof e?(r||t.doc).getElementById(e):e)||null},r.isDescendant=function(e,t){try{for(e=r.byId(e),t=r.byId(t);e;){if(e==t)return!0;e=e.parentNode}}catch(e){}return!1},e.add("css-user-select",(function(e,t,r){if(!r)return!1;var n=r.style,o=["Khtml","O","Moz","Webkit"],i=o.length,s="userSelect";do{if(void 0!==n[s])return s}while(i--&&(s=o[i]+"UserSelect"));return!1}));var n=e("css-user-select");return r.setSelectable=n?function(e,t){r.byId(e).style[n]=t?"":"none"}:function(e,t){var n=(e=r.byId(e)).getElementsByTagName("*"),o=n.length;if(t)for(e.removeAttribute("unselectable");o--;)n[o].removeAttribute("unselectable");else for(e.setAttribute("unselectable","on");o--;)n[o].setAttribute("unselectable","on")},r}),e,t),e.exports=o},"dojo/dom-attr":function(e,t,r){var n,o;n=[t,r(r.dj.r.absMids["dojo/sniff"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/dom-style"]),r(r.dj.r.absMids["dojo/dom-prop"])],o=r.dj.d(n,(function(e,t,r,n,o,i){var s={innerHTML:1,textContent:1,className:1,htmlFor:t("ie"),value:1},a={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function d(e,t){var r=e.getAttributeNode&&e.getAttributeNode(t);return!!r&&r.specified}e.has=function(e,t){var r=t.toLowerCase();return s[i.names[r]||t]||d(n.byId(e),a[r]||t)},e.get=function(e,t){e=n.byId(e);var o=t.toLowerCase(),c=i.names[o]||t,l=s[c],u=e[c];if(l&&void 0!==u)return u;if("textContent"==c)return i.get(e,c);if("href"!=c&&("boolean"==typeof u||r.isFunction(u)))return u;var f=a[o]||t;return d(e,f)?e.getAttribute(f):null},e.set=function(t,d,c){if(t=n.byId(t),2==arguments.length){for(var l in d)e.set(t,l,d[l]);return t}var u=d.toLowerCase(),f=i.names[u]||d,p=s[f];return"style"==f&&"string"!=typeof c?(o.set(t,c),t):p||"boolean"==typeof c||r.isFunction(c)?i.set(t,d,c):(t.setAttribute(a[u]||d,c),t)},e.remove=function(e,t){n.byId(e).removeAttribute(a[t.toLowerCase()]||t)},e.getNodeProp=function(e,t){e=n.byId(e);var r=t.toLowerCase(),o=i.names[r]||t;if(o in e&&"href"!=o)return e[o];var s=a[r]||t;return d(e,s)?e.getAttribute(s):null}}),e,t),e.exports=o},"dojo/dom-construct":function(e,t,r){var n,o;n=[t,r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/sniff"]),r(r.dj.r.absMids["dojo/_base/window"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/dom-attr"])],o=r.dj.d(n,(function(e,t,r,n,o,i){var s,a={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},d=/<\s*([\w\:]+)/,c={},l=0,u="__"+t._scopeName+"ToDomId";for(var f in a)if(a.hasOwnProperty(f)){var p=a[f];p.pre="option"==f?'<select multiple="multiple">':"<"+p.join("><")+">",p.post="</"+p.reverse().join("></")+">"}function h(e,t){var r=t.parentNode;r&&r.insertBefore(e,t)}r("ie")<=8&&(s=function(e){e.__dojo_html5_tested="yes";var t=m("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},e.body);1!==t.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,(function(t){e.createElement(t)})),_(t)}),e.toDom=function(e,t){var o=(t=t||n.doc)[u];o||(t[u]=o=++l+"",c[o]=t.createElement("div")),r("ie")<=8&&!t.__dojo_html5_tested&&t.body&&s(t);var i,f,p,h,m=(e+="").match(d),g=m?m[1].toLowerCase():"",_=c[o];if(m&&a[g])for(i=a[g],_.innerHTML=i.pre+e+i.post,f=i.length;f;--f)_=_.firstChild;else _.innerHTML=e;if(1==_.childNodes.length)return _.removeChild(_.firstChild);for(h=t.createDocumentFragment();p=_.firstChild;)h.appendChild(p);return h},e.place=function(t,r,n){if(r=o.byId(r),"string"==typeof t&&(t=/^\s*</.test(t)?e.toDom(t,r.ownerDocument):o.byId(t)),"number"==typeof n){var i=r.childNodes;!i.length||i.length<=n?r.appendChild(t):h(t,i[n<0?0:n])}else switch(n){case"before":h(t,r);break;case"after":!function(e,t){var r=t.parentNode;r&&(r.lastChild==t?r.appendChild(e):r.insertBefore(e,t.nextSibling))}(t,r);break;case"replace":r.parentNode.replaceChild(t,r);break;case"only":e.empty(r),r.appendChild(t);break;case"first":if(r.firstChild){h(t,r.firstChild);break}default:r.appendChild(t)}return t};var m=e.create=function(t,r,s,a){var d=n.doc;return s&&(d=(s=o.byId(s)).ownerDocument),"string"==typeof t&&(t=d.createElement(t)),r&&i.set(t,r),s&&e.place(t,s,a),t};function g(e){if("innerHTML"in e)try{return void(e.innerHTML="")}catch(e){}for(var t;t=e.lastChild;)e.removeChild(t)}e.empty=function(e){g(o.byId(e))};var _=e.destroy=function(e){(e=o.byId(e))&&function(e,t){e.firstChild&&g(e),t&&(r("ie")&&t.canHaveChildren&&"removeNode"in e?e.removeNode(!1):t.removeChild(e))}(e,e.parentNode)}}),e,t),e.exports=o},"dojo/dom-form":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/io-query"]),r(r.dj.r.absMids["dojo/json"])],o=r.dj.d(n,(function(e,t,r,n){function o(t,r,n){if(null!==n){var o=t[r];"string"==typeof o?t[r]=[o,n]:e.isArray(o)?o.push(n):t[r]=n}}var i={fieldToObject:function(e){var r=null;if(e=t.byId(e)){var n=e.name,o=(e.type||"").toLowerCase();if(n&&o&&!e.disabled)if("radio"==o||"checkbox"==o)e.checked&&(r=e.value);else if(e.multiple){r=[];for(var i=[e.firstChild];i.length;)for(var s=i.pop();s;s=s.nextSibling){if(1!=s.nodeType||"option"!=s.tagName.toLowerCase()){s.nextSibling&&i.push(s.nextSibling),s.firstChild&&i.push(s.firstChild);break}s.selected&&r.push(s.value)}}else r=e.value}return r},toObject:function(e){for(var r={},n=t.byId(e).elements,s=0,a=n.length;s<a;++s){var d=n[s],c=d.name,l=(d.type||"").toLowerCase();c&&l&&"file|submit|image|reset|button".indexOf(l)<0&&!d.disabled&&(o(r,c,i.fieldToObject(d)),"image"==l&&(r[c+".x"]=r[c+".y"]=r[c].x=r[c].y=0))}return r},toQuery:function(e){return r.objectToQuery(i.toObject(e))},toJson:function(e,t){return n.stringify(i.toObject(e),null,t?4:0)}};return i}),e,t),e.exports=o},"dojo/dom-geometry":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/sniff"]),r(r.dj.r.absMids["dojo/_base/window"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/dom-style"])],o=r.dj.d(n,(function(e,t,r,n){var o={boxModel:"content-box"};e("ie")&&(o.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),o.getPadExtents=function(e,t){e=r.byId(e);var o=t||n.getComputedStyle(e),i=n.toPixelValue,s=i(e,o.paddingLeft),a=i(e,o.paddingTop),d=i(e,o.paddingRight),c=i(e,o.paddingBottom);return{l:s,t:a,r:d,b:c,w:s+d,h:a+c}};var i="none";function s(e,t,r,n,o,i){i=i||"px";var s=e.style;isNaN(t)||(s.left=t+i),isNaN(r)||(s.top=r+i),n>=0&&(s.width=n+i),o>=0&&(s.height=o+i)}function a(e){return"button"==e.tagName.toLowerCase()||"input"==e.tagName.toLowerCase()&&"button"==(e.getAttribute("type")||"").toLowerCase()}function d(e){return"border-box"==o.boxModel||"table"==e.tagName.toLowerCase()||a(e)}o.getBorderExtents=function(e,t){e=r.byId(e);var o=n.toPixelValue,s=t||n.getComputedStyle(e),a=s.borderLeftStyle!=i?o(e,s.borderLeftWidth):0,d=s.borderTopStyle!=i?o(e,s.borderTopWidth):0,c=s.borderRightStyle!=i?o(e,s.borderRightWidth):0,l=s.borderBottomStyle!=i?o(e,s.borderBottomWidth):0;return{l:a,t:d,r:c,b:l,w:a+c,h:d+l}},o.getPadBorderExtents=function(e,t){e=r.byId(e);var i=t||n.getComputedStyle(e),s=o.getPadExtents(e,i),a=o.getBorderExtents(e,i);return{l:s.l+a.l,t:s.t+a.t,r:s.r+a.r,b:s.b+a.b,w:s.w+a.w,h:s.h+a.h}},o.getMarginExtents=function(e,t){e=r.byId(e);var o=t||n.getComputedStyle(e),i=n.toPixelValue,s=i(e,o.marginLeft),a=i(e,o.marginTop),d=i(e,o.marginRight),c=i(e,o.marginBottom);return{l:s,t:a,r:d,b:c,w:s+d,h:a+c}},o.getMarginBox=function(t,s){t=r.byId(t);var a,d=s||n.getComputedStyle(t),c=o.getMarginExtents(t,d),l=t.offsetLeft-c.l,u=t.offsetTop-c.t,f=t.parentNode,p=n.toPixelValue;if(e("mozilla")){var h=parseFloat(d.left),m=parseFloat(d.top);isNaN(h)||isNaN(m)?f&&f.style&&"visible"!=(a=n.getComputedStyle(f)).overflow&&(l+=a.borderLeftStyle!=i?p(t,a.borderLeftWidth):0,u+=a.borderTopStyle!=i?p(t,a.borderTopWidth):0):(l=h,u=m)}else(e("opera")||8==e("ie")&&!e("quirks"))&&f&&(l-=(a=n.getComputedStyle(f)).borderLeftStyle!=i?p(t,a.borderLeftWidth):0,u-=a.borderTopStyle!=i?p(t,a.borderTopWidth):0);return{l:l,t:u,w:t.offsetWidth+c.w,h:t.offsetHeight+c.h}},o.getContentBox=function(t,i){t=r.byId(t);var s,a=i||n.getComputedStyle(t),d=t.clientWidth,c=o.getPadExtents(t,a),l=o.getBorderExtents(t,a);return d?(s=t.clientHeight,l.w=l.h=0):(d=t.offsetWidth,s=t.offsetHeight),e("opera")&&(c.l+=l.l,c.t+=l.t),{l:c.l,t:c.t,w:d-c.w-l.w,h:s-c.h-l.h}},o.setContentSize=function(e,t,n){e=r.byId(e);var i=t.w,a=t.h;if(d(e)){var c=o.getPadBorderExtents(e,n);i>=0&&(i+=c.w),a>=0&&(a+=c.h)}s(e,NaN,NaN,i,a)};var c={l:0,t:0,w:0,h:0};return o.setMarginBox=function(t,i,l){t=r.byId(t);var u=l||n.getComputedStyle(t),f=i.w,p=i.h,h=d(t)?c:o.getPadBorderExtents(t,u),m=o.getMarginExtents(t,u);if(e("webkit")&&a(t)){var g=t.style;f>=0&&!g.width&&(g.width="4px"),p>=0&&!g.height&&(g.height="4px")}f>=0&&(f=Math.max(f-h.w-m.w,0)),p>=0&&(p=Math.max(p-h.h-m.h,0)),s(t,i.l,i.t,f,p)},o.isBodyLtr=function(e){return e=e||t.doc,"ltr"==(t.body(e).dir||e.documentElement.dir||"ltr").toLowerCase()},o.docScroll=function(r){r=r||t.doc;var n=t.doc.parentWindow||t.doc.defaultView;return"pageXOffset"in n?{x:n.pageXOffset,y:n.pageYOffset}:(n=e("quirks")?t.body(r):r.documentElement)&&{x:o.fixIeBiDiScrollLeft(n.scrollLeft||0,r),y:n.scrollTop||0}},o.getIeDocumentElementOffset=function(e){return{x:0,y:0}},o.fixIeBiDiScrollLeft=function(r,n){n=n||t.doc;var i=e("ie");if(i&&!o.isBodyLtr(n)){var s=e("quirks"),a=s?t.body(n):n.documentElement,d=t.global;return 6==i&&!s&&d.frameElement&&a.scrollHeight>a.clientHeight&&(r+=a.clientLeft),i<8||s?r+a.clientWidth-a.scrollWidth:-r}return r},o.position=function(n,i){n=r.byId(n);var s=t.body(n.ownerDocument),a=n.getBoundingClientRect();if(a={x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top},e("ie")<9&&(a.x-=e("quirks")?s.clientLeft+s.offsetLeft:0,a.y-=e("quirks")?s.clientTop+s.offsetTop:0),i){var d=o.docScroll(n.ownerDocument);a.x+=d.x,a.y+=d.y}return a},o.getMarginSize=function(e,t){e=r.byId(e);var i=o.getMarginExtents(e,t||n.getComputedStyle(e)),s=e.getBoundingClientRect();return{w:s.right-s.left+i.w,h:s.bottom-s.top+i.h}},o.normalizeEvent=function(t){if("layerX"in t||(t.layerX=t.offsetX,t.layerY=t.offsetY),!("pageX"in t)){var r=t.target,n=r&&r.ownerDocument||document,i=e("quirks")?n.body:n.documentElement;t.pageX=t.clientX+o.fixIeBiDiScrollLeft(i.scrollLeft||0,n),t.pageY=t.clientY+(i.scrollTop||0)}},o}),e,t),e.exports=o},"dojo/dom-prop":function(e,t,r){var n,o;n=[t,r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/sniff"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/dom-style"]),r(r.dj.r.absMids["dojo/dom-construct"]),r(r.dj.r.absMids["dojo/_base/connect"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a){var d={},c=1,l=t._scopeName+"attrid";r.add("dom-textContent",(function(e,t,r){return"textContent"in r})),e.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},e.get=function(t,n){t=o.byId(t);var i=n.toLowerCase(),s=e.names[i]||n;return"textContent"!=s||r("dom-textContent")?t[s]:function e(t){for(var r,n="",o=t.childNodes,i=0;r=o[i];i++)8!=r.nodeType&&(1==r.nodeType?n+=e(r):n+=r.nodeValue);return n}(t)},e.set=function(t,u,f){t=o.byId(t);var p=arguments.length;if(2==p&&"string"!=typeof u){for(var h in u)e.set(t,h,u[h]);return t}var m=u.toLowerCase(),g=e.names[m]||u;if("style"==g&&"string"!=typeof f)return i.set(t,f),t;if("innerHTML"==g)return r("ie")&&t.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(s.empty(t),t.appendChild(s.toDom(f,t.ownerDocument))):t[g]=f,t;if("textContent"==g&&!r("dom-textContent"))return s.empty(t),t.appendChild(t.ownerDocument.createTextNode(f)),t;if(n.isFunction(f)){var _=t[l];_||(_=c++,t[l]=_),d[_]||(d[_]={});var v=d[_][g];if(v)a.disconnect(v);else try{delete t[g]}catch(e){}return f?d[_][g]=a.connect(t,g,f):t[g]=null,t}return t[g]=f,t}}),e,t),e.exports=o},"dojo/dom-style":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/sniff"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/_base/window"])],o=r.dj.d(n,(function(e,t,r){var n,o,i={};n=e("webkit")?function(e){var t;if(1==e.nodeType){var r=e.ownerDocument.defaultView;!(t=r.getComputedStyle(e,null))&&e.style&&(e.style.display="",t=r.getComputedStyle(e,null))}return t||{}}:e("ie")&&(e("ie")<9||e("quirks"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1===e.nodeType){var t=e.ownerDocument.defaultView;return(t.opener?t:r.global.window).getComputedStyle(e,null)||{}}return{}},i.getComputedStyle=n,o=e("ie")?function(e,t){if(!t)return 0;if("medium"==t)return 4;if(t.slice&&"px"==t.slice(-2))return parseFloat(t);var r=e.style,n=e.runtimeStyle,o=e.currentStyle,i=r.left,s=n.left;n.left=o.left;try{r.left=t,t=r.pixelLeft}catch(e){t=0}return r.left=i,n.left=s,t}:function(e,t){return parseFloat(t)||0},i.toPixelValue=o;var s="DXImageTransform.Microsoft.Alpha",a=function(e,t){try{return e.filters.item(s)}catch(e){return t?{}:null}},d=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return a(e).Opacity/100}catch(e){return 1}}:function(e){return n(e).opacity},c=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){""===t&&(t=1);var r=100*t;if(1===t?(e.style.zoom="",a(e)&&(e.style.filter=e.style.filter.replace(new RegExp("\\s*progid:"+s+"\\([^\\)]+?\\)","i"),""))):(e.style.zoom=1,a(e)?a(e,1).Opacity=r:e.style.filter+=" progid:"+s+"(Opacity="+r+")",a(e,1).Enabled=!0),"tr"==e.tagName.toLowerCase())for(var n=e.firstChild;n;n=n.nextSibling)"td"==n.tagName.toLowerCase()&&c(n,t);return t}:function(e,t){return e.style.opacity=t},l={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset/;function f(e,t,r){if(t=t.toLowerCase(),"auto"==r){if("height"==t)return e.offsetHeight;if("width"==t)return e.offsetWidth}if("fontweight"==t)switch(r){case 700:return"bold";case 400:default:return"normal"}return t in l||(l[t]=u.test(t)),l[t]?o(e,r):r}var p={cssFloat:1,styleFloat:1,float:1};return i.get=function(e,r){var n=t.byId(e),o=arguments.length,s="opacity"==r;if(2==o&&s)return d(n);r=p[r]?"cssFloat"in n.style?"cssFloat":"styleFloat":r;var a=i.getComputedStyle(n);return 1==o?a:f(n,r,a[r]||n.style[r])},i.set=function(e,r,n){var o=t.byId(e),s=arguments.length,a="opacity"==r;if(r=p[r]?"cssFloat"in o.style?"cssFloat":"styleFloat":r,3==s)return a?c(o,n):o.style[r]=n;for(var d in r)i.set(e,d,r[d]);return i.getComputedStyle(o)},i}),e,t),e.exports=o},"dojo/errors/CancelError":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/errors/create"])],o=r.dj.d(n,(function(e){return e("CancelError",null,null,{dojoType:"cancel"})}),e,t),e.exports=o},"dojo/errors/RequestError":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/errors/create"])],o=r.dj.d(n,(function(e){return e("RequestError",(function(e,t){this.response=t}))}),e,t),e.exports=o},"dojo/errors/RequestTimeoutError":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/errors/create"]),r(r.dj.r.absMids["dojo/errors/RequestError"])],o=r.dj.d(n,(function(e,t){return e("RequestTimeoutError",null,t,{dojoType:"timeout"})}),e,t),e.exports=o},"dojo/errors/create":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/lang"])],o=r.dj.d(n,(function(e){return function(t,r,n,o){n=n||Error;var i=function(e){if(n===Error){Error.captureStackTrace&&Error.captureStackTrace(this,i);var t,o=Error.call(this,e);for(t in o)o.hasOwnProperty(t)&&(this[t]=o[t]);this.message=e,this.stack=o.stack}else n.apply(this,arguments);r&&r.apply(this,arguments)};return i.prototype=e.delegate(n.prototype,o),i.prototype.name=t,i.prototype.constructor=i,i}}),e,t),e.exports=o},"dojo/has":function(e,t,r){var n,o;n=[r.dj.c(e.i),r.dj.m(e)],o=r.dj.d(n,(function(e,t){var r=e.has||function(){};if(!r("dojo-has-api")){var n="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location==location&&window.document==document,o=function(){return this}(),i=n&&document,s=i&&i.createElement("DiV"),a=t.config&&t.config()||{};(r=function(e){return"function"==typeof a[e]?a[e]=a[e](o,i,s):a[e]}).cache=a,r.add=function(e,t,n,o){return(void 0===a[e]||o)&&(a[e]=t),n&&r(e)},r.add("host-browser",n),r.add("host-node","object"==typeof process&&process.versions&&process.versions.node&&process.versions.v8),r.add("host-rhino","function"==typeof load&&("function"==typeof Packages||"object"==typeof Packages)),r.add("dom",n),r.add("dojo-dom-ready-api",1),r.add("dojo-sniff",1)}if(r("host-browser")){r.add("dom-addeventlistener",!!document.addEventListener),r.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),r.add("touch-events","ontouchstart"in document),r.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),r.add("MSPointer",window.navigator.msPointerEnabled),r.add("device-width",screen.availWidth||innerWidth);var d=document.createElement("form");r.add("dom-attributes-explicit",0==d.attributes.length),r.add("dom-attributes-specified-flag",d.attributes.length>0&&d.attributes.length<40)}return r.clearElement=function(e){return e.innerHTML="",e},r.normalize=function(e,t){var n=e.match(/[\?:]|[^:\?]*/g),o=0,i=function(e){var t=n[o++];return":"==t?0:"?"==n[o++]?!e&&r(t)?i():(i(!0),i(e)):t||0};return(e=i())&&t(e)},r.load=function(e,t,r){e?t([e],r):r()},r}),e,t),e.exports=o},"dojo/i18n":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r.dj.c(e.i),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/_base/config"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/_base/xhr"]),r(r.dj.r.absMids["dojo/json"]),r.dj.m(e)],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a,d){r.add("dojo-preload-i18n-Api",1),r.add("dojo-v1x-i18n-Api",1);var c=e.i18n={},l=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,u={},f=function(t,r,n){return n=n?n.toLowerCase():e.locale,t=t.replace(/\./g,"/"),r=r.replace(/\./g,"/"),/root/i.test(n)?t+"/nls/"+r:t+"/nls/"+n+"/"+r},p=e.getL10nName=function(e,t,r){return d.id+"!"+f(e,t,r)},h=function(t,s,d){var c=l.exec(t),f=c[1]+"/",p=c[5]||c[4],h=f+p,m=c[5]&&c[4],g=m||e.locale||"",_=h+"/"+g,v=m?[g]:function(e){var t=o.extraLocale||[];return(t=i.isArray(t)?t:[t]).push(e),t}(g),w=v.length,E=function(){--w||d(i.delegate(u[_]))};if(r("dojo-preload-i18n-Api")){var M=t.split("*"),x="preload"==M[1];if(x&&(u[t]||(u[t]=1,b(M[2],a.parse(M[3]),1,s)),d(1)),x||y(t,s,d)&&!u[_])return}n.forEach(v,(function(e){var t=h+"/"+e;r("dojo-preload-i18n-Api")&&j(t),u[t]?E():function(e,t,r,n,o,s){e([t],(function(a){var d=i.clone(a.root||a.ROOT),c=function(e,t,r,n){for(var o=[r+n],i=t.split("-"),s="",a=0;a<i.length;a++)s+=(s?"-":"")+i[a],e&&!e[s]||(o.push(r+s+"/"+n),o.specificity=s);return o}(!a._v1x&&a,o,r,n);e(c,(function(){for(var e=1;e<c.length;e++)d=i.mixin(i.clone(d),arguments[e]);var r=t+"/"+o;u[r]=d,d.$locale=c.specificity,s()}))}))}(s,h,f,p,e,E)}))};if(r("dojo-preload-i18n-Api")||r("dojo-v1x-i18n-Api"))var m=c.normalizeLocale=function(t){var r=t?t.toLowerCase():e.locale;return"root"==r?"ROOT":r},g=function(e,n){return!r("dojo-sync-loader")||!r("dojo-v1x-i18n-Api")||n.isXdUrl(t.toUrl(e+".js"))},_=0,v=[],b=c._preloadLocalizations=function(r,o,s,a){function d(e,t){for(var r=e.split("-");r.length;){if(t(r.join("-")))return;r.pop()}t("ROOT")}function c(){_++}function l(){for(--_;!_&&v.length;)h.apply(null,v.shift())}function f(e,t,r,n){return n.toAbsMid(e+t+"/"+r)}function p(e){d(e=m(e),(function(p){if(n.indexOf(o,p)>=0){var h=r.replace(/\./g,"/")+"_"+p;return c(),function(e,t){g(e,a)||s?a([e],t):M([e],t,a)}(h,(function(r){for(var n in r){var o,s,h=r[n],m=n.match(/(.+)\/([^\/]+)$/);if(m&&(o=m[2],s=m[1]+"/",h._localized)){var g;if("ROOT"===p){var _=g=h._localized;delete h._localized,_.root=h,u[t.toAbsMid(n)]=_}else g=h._localized,u[f(s,o,p,t)]=h;if(p!==e){function v(r,n,o,s){var p=[],h=[];d(e,(function(e){s[e]&&(p.push(t.toAbsMid(r+e+"/"+n)),h.push(f(r,n,e,t)))})),p.length?(c(),a(p,(function(){for(var s=p.length-1;s>=0;s--)o=i.mixin(i.clone(o),arguments[s]),u[h[s]]=o;u[f(r,n,e,t)]=i.clone(o),l()}))):u[f(r,n,e,t)]=o}v(s,o,h,g)}}}l()})),!0}return!1}))}a=a||t,p(),n.forEach(e.config.extraLocale,p)},y=function(e,t,r){return _&&v.push([e,t,r]),_},j=function(){};if(r("dojo-v1x-i18n-Api")){var w={},E=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},\t require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"),M=function(e,t,r){var o=[];n.forEach(e,(function(e){var t=r.toUrl(e+".js");function n(r){var n=E(r,j,e,w);n===w?o.push(u[t]=w.result):(n instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+t,n),n={}),o.push(u[t]=/nls\/[^\/]+\/[^\/]+$/.test(t)?n:{root:n,_v1x:1}))}if(u[t])o.push(u[t]);else{var i=r.syncLoadNls(e);if(i||(i=j(e.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"))),i)o.push(i);else if(s)s.get({url:t,sync:!0,load:n,error:function(){o.push(u[t]={})}});else try{r.getText(t,!0,n)}catch(e){o.push(u[t]={})}}})),t&&t.apply(null,o)};j=function(t){for(var r,n=t.split("/"),o=e.global[n[0]],i=1;o&&i<n.length-1;o=o[n[i++]]);return o&&((r=o[n[i]])||(r=o[n[i].replace(/-/g,"_")]),r&&(u[t]=r)),r},c.getLocalization=function(e,r,n){var o,i=f(e,r,n);return h(i,g(i,t)?t:function(e,r){M(e,r,t)},(function(e){o=e})),o}}return i.mixin(c,{dynamic:!0,normalize:function(e,t){return/^\./.test(e)?t(e):e},load:h,cache:u,getL10nName:p})}),e,t),e.exports=o},"dojo/i18n!sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/i18n"]),r("mwBundle.sf_file_preview_plugin|7c1cede0fa96821f1d00933e343d2e2af30a4286"),r(r.dj.r.absMids["sf_file_preview_plugin/l10n/resources/Stateflow/nls/ja-jp/preview"]),r(r.dj.r.absMids["sf_file_preview_plugin/l10n/resources/Stateflow/nls/ko-kr/preview"]),r(r.dj.r.absMids["sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview"])],o=r.dj.d(n,(function(e,t){return t(e,"sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview",r.dj.c(),!0)}),e,t),e.exports=o},"dojo/io-query":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/lang"])],o=r.dj.d(n,(function(e){var t={};return{objectToQuery:function(r){var n=encodeURIComponent,o=[];for(var i in r){var s=r[i];if(s!=t[i]){var a=n(i)+"=";if(e.isArray(s))for(var d=0,c=s.length;d<c;++d)o.push(a+n(s[d]));else o.push(a+n(s))}}return o.join("&")},queryToObject:function(t){for(var r,n,o,i=decodeURIComponent,s=t.split("&"),a={},d=0,c=s.length;d<c;++d)if((o=s[d]).length){var l=o.indexOf("=");l<0?(r=i(o),n=""):(r=i(o.slice(0,l)),n=i(o.slice(l+1))),"string"==typeof a[r]&&(a[r]=[a[r]]),e.isArray(a[r])?a[r].push(n):a[r]=n}return a}}}),e,t),e.exports=o},"dojo/json":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(__webpack_require__.dj.r.absMids["dojo/has"])],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,(function(has){"use strict";var hasJSON="undefined"!=typeof JSON;if(has.add("json-parse",hasJSON),has.add("json-stringify",hasJSON&&'{"a":1}'==JSON.stringify({a:0},(function(e,t){return t||1}))),has("json-stringify"))return JSON;var escapeString=function(e){return('"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:has("json-parse")?JSON.parse:function(str,strict){if(strict&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(e,t,r){return"string"==typeof t&&(r=t,t=null),function e(n,o,i){t&&(n=t(i,n));var s,a=typeof n;if("number"==a)return isFinite(n)?n+"":"null";if("boolean"==a)return n+"";if(null===n)return"null";if("string"==typeof n)return escapeString(n);if("function"!=a&&"undefined"!=a){if("function"==typeof n.toJSON)return e(n.toJSON(i),o,i);if(n instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,(function(e,t,r){var o=n["getUTC"+t]()+(r?1:0);return o<10?"0"+o:o}));if(n.valueOf()!==n)return e(n.valueOf(),o,i);var d=r?o+r:"",c=r?" ":"",l=r?"\n":"";if(n instanceof Array){var u=n.length,f=[];for(i=0;i<u;i++){"string"!=typeof(s=e(n[i],d,i))&&(s="null"),f.push(l+d+s)}return"["+f.join(",")+l+o+"]"}var p=[];for(i in n){var h;if(n.hasOwnProperty(i)){if("number"==typeof i)h='"'+i+'"';else{if("string"!=typeof i)continue;h=escapeString(i)}if("string"!=typeof(s=e(n[i],d,i)))continue;p.push(l+d+h+":"+c+s)}}return"{"+p.join(",")+l+o+"}"}}(e,"","")}}}),module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},"dojo/keys":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/sniff"])],o=r.dj.d(n,(function(e,t){return e.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:t("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:t("mac")&&!t("air")?t("safari")?91:224:17}}),e,t),e.exports=o},"dojo/mouse":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/on"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/_base/window"])],o=r.dj.d(n,(function(e,t,r,n,o){var i,s;function a(e,r){var o=function(o,i){return t(o,e,(function(e){return r?r(e,i):n.isDescendant(e.relatedTarget,o)?void 0:i.call(this,e)}))};return o.bubble=function(t){return a(e,(function(e,r){var n=t(e.target),o=e.relatedTarget;if(n&&n!=(o&&1==o.nodeType&&t(o)))return r.call(n,e)}))},o}return r.add("dom-quirks",o.doc&&"BackCompat"==o.doc.compatMode),r.add("events-mouseenter",o.doc&&"onmouseenter"in o.doc.createElement("div")),r.add("events-mousewheel",o.doc&&"onmousewheel"in o.doc),i=r("dom-quirks")&&r("ie")||!r("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,t){return e.button&t},isLeft:function(e){return 1&e.button},isMiddle:function(e){return 4&e.button},isRight:function(e){return 2&e.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,t){return e.button==t},isLeft:function(e){return 0==e.button},isMiddle:function(e){return 1==e.button},isRight:function(e){return 2==e.button}},e.mouseButtons=i,s=r("events-mousewheel")?"mousewheel":function(e,r){return t(e,"DOMMouseScroll",(function(e){e.wheelDelta=-e.detail,r.call(this,e)}))},{_eventHandler:a,enter:a("mouseover"),leave:a("mouseout"),wheel:s,isLeft:i.isLeft,isMiddle:i.isMiddle,isRight:i.isRight}}),e,t),e.exports=o},"dojo/on":function(e,t,r){var n,o;n=[r.dj.h("dom-addeventlistener?:dojo/aspect"),r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/sniff"])],o=r.dj.d(n,(function(e,t,r){"use strict";if(r("dom")){var n=window.ScriptEngineMajorVersion;r.add("jscript",n&&n()+ScriptEngineMinorVersion()/10),r.add("event-orientationchange",r("touch")&&!r("android")),r.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),r.add("event-focusin",(function(e,t,r){return"onfocusin"in r})),r("touch")&&r.add("touch-can-modify-event-delegate",(function(){var e=function(){};e.prototype=document.createEvent("MouseEvents");try{var t=new e;return t.target=null,null===t.target}catch(e){return!1}}))}var o=function(e,t,r,n){return"function"!=typeof e.on||"function"==typeof t||e.nodeType?o.parse(e,t,r,s,n,this):e.on(t,r)};o.pausable=function(e,t,r,n){var i,s=o(e,t,(function(){if(!i)return r.apply(this,arguments)}),n);return s.pause=function(){i=!0},s.resume=function(){i=!1},s},o.once=function(e,t,r,n){var i=o(e,t,(function(){return i.remove(),r.apply(this,arguments)}));return i},o.parse=function(e,t,r,n,i,s){var a;if(t.call)return t.call(s,e,r);if(t instanceof Array?a=t:t.indexOf(",")>-1&&(a=t.split(/\s*,\s*/)),a){for(var d,c=[],l=0;d=a[l++];)c.push(o.parse(e,d,r,n,i,s));return c.remove=function(){for(var e=0;e<c.length;e++)c[e].remove()},c}return n(e,t,r,i,s)};var i=/^touch/;function s(e,t,n,s,a){var d=t.match(/(.*):(.*)/);if(d)return t=d[2],d=d[1],o.selector(d,t).call(a,e,n);if(r("touch")&&(i.test(t)&&(n=w(n)),r("event-orientationchange")||"orientationchange"!=t||(t="resize",e=window,n=w(n))),p&&(n=p(n)),e.addEventListener){var c=t in u,l=c?u[t]:t;return e.addEventListener(l,n,c),{remove:function(){e.removeEventListener(l,n,c)}}}if(t="on"+t,g&&e.attachEvent)return g(e,t,n);throw new Error("Target must be an event emitter")}function a(){this.cancelable=!1,this.defaultPrevented=!0}function d(){this.bubbles=!1}o.matches=function(e,r,n,o,i){for(i=i&&"function"==typeof i.matches?i:t.query,o=!1!==o,1!=e.nodeType&&(e=e.parentNode);!i.matches(e,r,n);)if(e==n||!1===o||!(e=e.parentNode)||1!=e.nodeType)return!1;return e},o.selector=function(e,t,r){return function(n,i){var s="function"==typeof e?{matches:e}:this,a=t.bubble;function d(t){return o.matches(t,e,n,r,s)}return a?o(n,a(d),i):o(n,t,(function(e){var t=d(e.target);if(t)return e.selectorTarget=t,i.call(t,e)}))}};var c=[].slice,l=o.emit=function(e,t,r){var n=c.call(arguments,2),o="on"+t;if("parentNode"in e){var i=n[0]={};for(var s in r)i[s]=r[s];i.preventDefault=a,i.stopPropagation=d,i.target=e,i.type=t,r=i}do{e[o]&&e[o].apply(e,n)}while(r&&r.bubbles&&(e=e.parentNode));return r&&r.cancelable&&r},u=r("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!r("event-stopimmediatepropagation"))var f=function(){this.immediatelyStopped=!0,this.modified=!0},p=function(e){return function(t){if(!t.immediatelyStopped)return t.stopImmediatePropagation=f,e.apply(this,arguments)}};if(r("dom-addeventlistener"))o.emit=function(e,t,r){if(e.dispatchEvent&&document.createEvent){var n=e.ownerDocument||document,i=n.createEvent("HTMLEvents");for(var s in i.initEvent(t,!!r.bubbles,!!r.cancelable),r)s in i||(i[s]=r[s]);return e.dispatchEvent(i)&&i}return l.apply(o,arguments)};else{o._fixEvent=function(e,t){e||(e=(t&&(t.ownerDocument||t.document||t).parentWindow||window).event);if(!e)return e;try{h&&e.type==h.type&&e.srcElement==h.target&&(e=h)}catch(e){}if(!e.target)switch(e.target=e.srcElement,e.currentTarget=t||e.srcElement,"mouseover"==e.type&&(e.relatedTarget=e.fromElement),"mouseout"==e.type&&(e.relatedTarget=e.toElement),e.stopPropagation||(e.stopPropagation=v,e.preventDefault=b),e.type){case"keypress":var r="charCode"in e?e.charCode:e.keyCode;10==r?(r=0,e.keyCode=13):13==r||27==r?r=0:3==r&&(r=99),e.charCode=r,_(e)}return e};var h,m=function(e){this.handle=e};m.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var g=function(t,n,i){if(i=function(e){return function(t){t=o._fixEvent(t,this);var r=e.call(this,t);return t.modified&&(h||setTimeout((function(){h=null})),h=t),r}}(i),((t.ownerDocument?t.ownerDocument.parentWindow:t.parentWindow||t.window||window)!=top||r("jscript")<5.8)&&!r("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var s,a=t[n];if(!a||!a.listeners){var d=a;(a=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}")).listeners=[],t[n]=a,a.global=this,d&&a.listeners.push(_dojoIEListeners_.push(d)-1)}return a.listeners.push(s=a.global._dojoIEListeners_.push(i)-1),new m(s)}return e.after(t,n,i,!0)},_=function(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode},v=function(){this.cancelBubble=!0},b=o._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(e){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}if(r("touch"))var y=function(){},j=window.orientation,w=function(e){return function(t){var n=t.corrected;if(!n){var o=t.type;try{delete t.type}catch(e){}if(t.type){if(r("touch-can-modify-event-delegate"))y.prototype=t,n=new y;else for(var i in n={},t)n[i]=t[i];n.preventDefault=function(){t.preventDefault()},n.stopPropagation=function(){t.stopPropagation()}}else(n=t).type=o;if(t.corrected=n,"resize"==o)return j==window.orientation?null:(j=window.orientation,n.type="orientationchange",e.call(this,n));"rotation"in n||(n.rotation=0,n.scale=1);var s=n.changedTouches[0];for(var a in s)delete n[a],n[a]=s[a]}return e.call(this,n)}};return o}),e,t),e.exports=o},"dojo/promise/Promise":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/lang"])],o=r.dj.d(n,(function(e){"use strict";function t(){throw new TypeError("abstract")}return e.extend((function(){}),{then:function(e,r,n){t()},cancel:function(e,r){t()},isResolved:function(){t()},isRejected:function(){t()},isFulfilled:function(){t()},isCanceled:function(){t()},always:function(e){return this.then(e,e)},otherwise:function(e){return this.then(null,e)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})}),e,t),e.exports=o},"dojo/request/handlers":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/json"]),r(r.dj.r.absMids["dojo/_base/kernel"]),r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/has"]),r(r.dj.r.absMids["8e5d24b71f86716e7cc6d86d776c7dbfc35f9bdf"])],o=r.dj.d(n,(function(e,t,r,n){var o;if(n.add("activex","undefined"!=typeof ActiveXObject),n.add("dom-parser",(function(e){return"DOMParser"in e})),n("activex")){var i,s=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];o=function(e){var t=e.data,o=e.text;function a(e){try{var r=new ActiveXObject(e);r.async=!1,r.loadXML(o),t=r,i=e}catch(e){return!1}return!0}return t&&n("dom-qsa2.1")&&!t.querySelectorAll&&n("dom-parser")&&(t=(new DOMParser).parseFromString(o,"application/xml")),t&&t.documentElement||i&&a(i)||r.some(s,a),t}}var a=function(e){return n("native-xhr2-blob")||"blob"!==e.options.handleAs||"undefined"==typeof Blob?e.xhr.response:new Blob([e.xhr.response],{type:e.xhr.getResponseHeader("Content-Type")})},d={javascript:function(e){return t.eval(e.text||"")},json:function(t){return e.parse(t.text||null)},xml:o,blob:a,arraybuffer:a,document:a};function c(e){var t=d[e.options.handleAs];return e.data=t?t(e):e.data||e.text,e}return c.register=function(e,t){d[e]=t},c}),e,t),e.exports=o},"dojo/request/script":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.m(module),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/request/watch"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/request/util"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/_base/kernel"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/_base/array"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/_base/lang"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/on"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/dom"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/dom-construct"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/has"]),__webpack_require__(__webpack_require__.dj.r.absMids["dojo/_base/window"])],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,(function(module,watch,util,kernel,array,lang,on,dom,domConstruct,has,win){has.add("script-readystatechange",(function(e,t){return void 0!==t.createElement("script").onreadystatechange&&(void 0===e.opera||"[object Opera]"!==e.opera.toString())}));var mid=module.id.replace(/[\/\.\-]/g,"_"),counter=0,loadEvent=has("script-readystatechange")?"readystatechange":"load",readyRegExp=/complete|loaded/,callbacks=kernel.global[mid+"_callbacks"]={},deadScripts=[];function attach(e,t,r){var n=r||win.doc,o=n.createElement("script");return o.type="text/javascript",o.src=t,o.id=e,o.async=!0,o.charset="utf-8",n.getElementsByTagName("head")[0].appendChild(o)}function remove(e,t,r){domConstruct.destroy(dom.byId(e,t)),callbacks[e]&&(r?callbacks[e]=function(){delete callbacks[e]}:delete callbacks[e])}function _addDeadScript(e){var t=e.response.options,r=t.ioArgs?t.ioArgs.frameDoc:t.frameDoc;deadScripts.push({id:e.id,frameDoc:r}),t.ioArgs&&(t.ioArgs.frameDoc=null),t.frameDoc=null}function canceler(e,t){e.canDelete&&script._remove(e.id,t.options.frameDoc,!0)}function isValid(e){return deadScripts&&deadScripts.length&&(array.forEach(deadScripts,(function(e){script._remove(e.id,e.frameDoc),e.frameDoc=null})),deadScripts=[]),!e.options.jsonp||!e.data}function isReadyScript(e){return!!this.scriptLoaded}function isReadyCheckString(response){var checkString=response.options.checkString;return checkString&&eval("typeof("+checkString+') !== "undefined"')}function handleResponse(e,t){this.canDelete&&_addDeadScript(this),t?this.reject(t):this.resolve(e)}function script(e,t,r){var n=util.parseArgs(e,util.deepCopy({},t));e=n.url,t=n.options;var o=util.deferred(n,canceler,isValid,t.jsonp?null:t.checkString?isReadyCheckString:isReadyScript,handleResponse);(lang.mixin(o,{id:mid+counter++,canDelete:!1}),t.jsonp)&&(new RegExp("[?&]"+t.jsonp+"=").test(e)||(e+=(~e.indexOf("?")?"&":"?")+t.jsonp+"="+(t.frameDoc?"parent.":"")+mid+"_callbacks."+o.id),o.canDelete=!0,callbacks[o.id]=function(e){n.data=e,o.handleResponse(n)});if(util.notify&&util.notify.emit("send",n,o.promise.cancel),!t.canAttach||t.canAttach(o)){var i=script._attach(o.id,e,t.frameDoc);if(!t.jsonp&&!t.checkString)var s=on(i,loadEvent,(function(e){("load"===e.type||readyRegExp.test(i.readyState))&&(s.remove(),o.scriptLoaded=e)}))}return on.once(i,"error",(function(e){o.reject(e),script._remove(o.id,t.frameDoc,!0)})),watch(o),r?o:o.promise}return script.get=script,script._attach=attach,script._remove=remove,script._callbacksProperty=mid+"_callbacks",script}),module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},"dojo/request/util":function(e,t,r){var n,o;n=[t,r(r.dj.r.absMids["dojo/errors/RequestError"]),r(r.dj.r.absMids["dojo/errors/CancelError"]),r(r.dj.r.absMids["dojo/Deferred"]),r(r.dj.r.absMids["dojo/io-query"]),r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/promise/Promise"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a){e.deepCopy=function(t,r){for(var n in r){var o=t[n],i=r[n];o!==i&&(o&&"object"==typeof o&&i&&"object"==typeof i?e.deepCopy(o,i):t[n]=i)}return t},e.deepCreate=function(t,r){r=r||{};var n,o,i=s.delegate(t);for(n in t)(o=t[n])&&"object"==typeof o&&(i[n]=e.deepCreate(o,r[n]));return e.deepCopy(i,r)};var d=Object.freeze||function(e){return e};function c(e){return d(e)}function l(e){return void 0!==e.data?e.data:e.text}e.deferred=function(o,i,u,f,p,h){var m=new n((function(e){return i&&i(m,o),e&&(e instanceof t||e instanceof r)?e:new r("Request canceled",o)}));m.response=o,m.isValid=u,m.isReady=f,m.handleResponse=p;var g=m.then(c).otherwise((function(e){throw e.response=o,e}));e.notify&&g.then(s.hitch(e.notify,"emit","load"),s.hitch(e.notify,"emit","error"));var _=g.then(l),v=new a;for(var b in _)_.hasOwnProperty(b)&&(v[b]=_[b]);return v.response=g,d(v),h&&m.then((function(e){h.call(m,e)}),(function(e){h.call(m,o,e)})),m.promise=v,m.then=v.then,m},e.addCommonMethods=function(e,t){i.forEach(t||["GET","POST","PUT","DELETE"],(function(t){e[("DELETE"===t?"DEL":t).toLowerCase()]=function(r,n){return(n=s.delegate(n||{})).method=t,e(r,n)}}))},e.parseArgs=function(e,t,r){var n=t.data,i=t.query;return n&&!r&&("object"!=typeof n||n instanceof ArrayBuffer||n instanceof Blob||(t.data=o.objectToQuery(n))),i?("object"==typeof i&&(i=o.objectToQuery(i)),t.preventCache&&(i+=(i?"&":"")+"request.preventCache="+ +new Date)):t.preventCache&&(i="request.preventCache="+ +new Date),e&&i&&(e+=(~e.indexOf("?")?"&":"?")+i),{url:e,options:t,getHeader:function(e){return null}}},e.checkStatus=function(e){return(e=e||0)>=200&&e<300||304===e||1223===e||!e}}),e,t),e.exports=o},"dojo/request/watch":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/request/util"]),r(r.dj.r.absMids["dojo/errors/RequestTimeoutError"]),r(r.dj.r.absMids["dojo/errors/CancelError"]),r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/_base/window"]),r.dj.h("dom-addeventlistener?:dojo/on")],o=r.dj.d(n,(function(e,t,r,n,o,i){var s=null,a=[];function d(){for(var e,r=+new Date,n=0;n<a.length&&(e=a[n]);n++){var o=e.response,i=o.options;e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(o)?(a.splice(n--,1),c._onAction&&c._onAction()):e.isReady&&e.isReady(o)?(a.splice(n--,1),e.handleResponse(o),c._onAction&&c._onAction()):e.startTime&&e.startTime+(i.timeout||0)<r&&(a.splice(n--,1),e.cancel(new t("Timeout exceeded",o)),c._onAction&&c._onAction())}c._onInFlight&&c._onInFlight(e),a.length||(clearInterval(s),s=null)}function c(e){e.response.options.timeout&&(e.startTime=+new Date),e.isFulfilled()||(a.push(e),s||(s=setInterval(d,50)),e.response.options.sync&&d())}return c.cancelAll=function(){try{n.forEach(a,(function(e){try{e.cancel(new r("All requests canceled."))}catch(e){}}))}catch(e){}},o&&i&&o.doc.attachEvent&&i(o.global,"unload",(function(){c.cancelAll()})),c}),e,t),e.exports=o},"dojo/request/xhr":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/errors/RequestError"]),r(r.dj.r.absMids["dojo/request/watch"]),r(r.dj.r.absMids["dojo/request/handlers"]),r(r.dj.r.absMids["dojo/request/util"]),r(r.dj.r.absMids["dojo/has"])],o=r.dj.d(n,(function(e,t,r,n,o){o.add("native-xhr",(function(){return"undefined"!=typeof XMLHttpRequest})),o.add("dojo-force-activex-xhr",(function(){return o("activex")&&"file:"===window.location.protocol})),o.add("native-xhr2",(function(){if(o("native-xhr")&&!o("dojo-force-activex-xhr")){var e=new XMLHttpRequest;return void 0!==e.addEventListener&&("undefined"==typeof opera||void 0!==e.upload)}})),o.add("native-formdata",(function(){return"undefined"!=typeof FormData})),o.add("native-response-type",(function(){return o("native-xhr")&&void 0!==(new XMLHttpRequest).responseType})),o.add("native-xhr2-blob",(function(){if(o("native-response-type")){var e=new XMLHttpRequest;e.open("GET","/",!0),e.responseType="blob";var t=e.responseType;return e.abort(),"blob"===t}}));var i,s,a,d,c={blob:o("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function l(t,o){var i,s=t.xhr;t.status=t.xhr.status;try{t.text=s.responseText}catch(e){}if("xml"===t.options.handleAs&&(t.data=s.responseXML),!o)try{r(t)}catch(e){o=e}if(o)this.reject(o);else{try{r(t)}catch(e){i=e}n.checkStatus(s.status)?i?this.reject(i):this.resolve(t):i?(o=new e("Unable to load "+t.url+" status: "+s.status+" and an error in handleAs: transformation of response",t),this.reject(o)):(o=new e("Unable to load "+t.url+" status: "+s.status,t),this.reject(o))}}function u(e){return this.xhr.getResponseHeader(e)}o("native-xhr2")?(i=function(e){return!this.isFulfilled()},d=function(e,t){t.xhr.abort()},a=function(t,r,n){function o(e){r.handleResponse(n)}function i(t){var o=t.target,i=new e("Unable to load "+n.url+" status: "+o.status,n);r.handleResponse(n,i)}function s(e){e.lengthComputable?(n.loaded=e.loaded,n.total=e.total,r.progress(n)):3===n.xhr.readyState&&(n.loaded="loaded"in e?e.loaded:e.position,r.progress(n))}return t.addEventListener("load",o,!1),t.addEventListener("error",i,!1),t.addEventListener("progress",s,!1),function(){t.removeEventListener("load",o,!1),t.removeEventListener("error",i,!1),t.removeEventListener("progress",s,!1),t=null}}):(i=function(e){return e.xhr.readyState},s=function(e){return 4===e.xhr.readyState},d=function(e,t){var r=t.xhr,n=typeof r.abort;"function"!==n&&"object"!==n&&"unknown"!==n||r.abort()});var f={data:null,query:null,sync:!1,method:"GET"};function p(r,h,m){var g=o("native-formdata")&&h&&h.data&&h.data instanceof FormData,_=n.parseArgs(r,n.deepCreate(f,h),g);r=_.url,h=_.options;var v,b=n.deferred(_,d,i,s,l,(function(){v&&v()})),y=_.xhr=p._create();if(!y)return b.cancel(new e("XHR was not created")),m?b:b.promise;_.getHeader=u,a&&(v=a(y,b,_));var j=h.data,w=!h.sync,E=h.method;try{y.open(E,r,w,h.user||void 0,h.password||void 0),h.withCredentials&&(y.withCredentials=h.withCredentials),o("native-response-type")&&h.handleAs in c&&(y.responseType=c[h.handleAs]);var M=h.headers,x=!g&&"application/x-www-form-urlencoded";if(M)for(var T in M)"content-type"===T.toLowerCase()?x=M[T]:M[T]&&y.setRequestHeader(T,M[T]);x&&!1!==x&&y.setRequestHeader("Content-Type",x),M&&"X-Requested-With"in M||y.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.notify&&n.notify.emit("send",_,b.promise.cancel),y.send(j)}catch(e){b.reject(e)}return t(b),y=null,m?b:b.promise}if(p._create=function(){throw new Error("XMLHTTP not available")},o("native-xhr")&&!o("dojo-force-activex-xhr"))p._create=function(){return new XMLHttpRequest};else if(o("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),p._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP"),p._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(e){}}return n.addCommonMethods(p),p}),e,t),e.exports=o},"dojo/sniff":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/has"])],o=r.dj.d(n,(function(e){if(e("host-browser")){var t=navigator,r=t.userAgent,n=t.appVersion,o=parseFloat(n);if(e.add("air",r.indexOf("AdobeAIR")>=0),e.add("wp",parseFloat(r.split("Windows Phone")[1])||void 0),e.add("msapp",parseFloat(r.split("MSAppHost/")[1])||void 0),e.add("khtml",n.indexOf("Konqueror")>=0?o:void 0),e.add("edge",parseFloat(r.split("Edge/")[1])||void 0),e.add("opr",parseFloat(r.split("OPR/")[1])||void 0),e.add("webkit",!e("wp")&&!e("edge")&&parseFloat(r.split("WebKit/")[1])||void 0),e.add("chrome",!e("edge")&&!e("opr")&&parseFloat(r.split("Chrome/")[1])||void 0),e.add("android",!e("wp")&&parseFloat(r.split("Android ")[1])||void 0),e.add("safari",!(n.indexOf("Safari")>=0)||e("wp")||e("chrome")||e("android")||e("edge")||e("opr")?void 0:parseFloat(n.split("Version/")[1])),e.add("mac",n.indexOf("Macintosh")>=0),e.add("quirks","BackCompat"==document.compatMode),!e("wp")&&r.match(/(iPhone|iPod|iPad)/)){var i=RegExp.$1.replace(/P/,"p"),s=r.match(/OS ([\d_]+)/)?RegExp.$1:"1",a=parseFloat(s.replace(/_/,".").replace(/_/g,""));e.add(i,a),e.add("ios",a)}if(e.add("bb",(r.indexOf("BlackBerry")>=0||r.indexOf("BB10")>=0)&&parseFloat(r.split("Version/")[1])||void 0),e.add("trident",parseFloat(n.split("Trident/")[1])||void 0),e.add("svg","undefined"!=typeof SVGAngle),!e("webkit")){if(r.indexOf("Opera")>=0&&e.add("opera",o>=9.8&&parseFloat(r.split("Version/")[1])||o),!(r.indexOf("Gecko")>=0)||e("wp")||e("khtml")||e("trident")||e("edge")||e.add("mozilla",o),e("mozilla")&&e.add("ff",parseFloat(r.split("Firefox/")[1]||r.split("Minefield/")[1])||void 0),document.all&&!e("opera")){var d=parseFloat(n.split("MSIE ")[1])||void 0,c=document.documentMode;c&&5!=c&&Math.floor(d)!=c&&(d=c),e.add("ie",d)}e.add("wii","undefined"!=typeof opera&&opera.wiiremote)}}return e}),e,t),e.exports=o},"dojo/topic":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/Evented"])],o=r.dj.d(n,(function(e){var t=new e;return{publish:function(e,r){return t.emit.apply(t,arguments)},subscribe:function(e,r){return t.on.apply(t,arguments)}}}),e,t),e.exports=o},"dojo/when":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/Deferred"]),r(r.dj.r.absMids["dojo/promise/Promise"])],o=r.dj.d(n,(function(e,t){"use strict";return function(r,n,o,i){var s=r&&"function"==typeof r.then,a=s&&r instanceof t;if(!s)return arguments.length>1?n?n(r):r:(new e).resolve(r);if(!a){var d=new e(r.cancel);r.then(d.resolve,d.reject,d.progress),r=d.promise}return n||o||i?r.then(n,o,i):r}}),e,t),e.exports=o},"mw-deprecation-utils/deprecation":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/config"]),r(r.dj.r.absMids["mw-log/Log"])],o=r.dj.d(n,(function(e,t){var r={deprecated:function(r){var n,o;(!!e.isDebug||!!window.showDeprecationsAsErrors)&&this._isConfigValid(r)&&(o=window.showDeprecationsAsErrors||r.deprecationLevel===this.ERROR?this.ERROR:this.WARN,n="DEPRECATED: ",r.deprecated&&(n+=r.deprecated.module,r.deprecated.method&&(n+="."+r.deprecated.method+"()"),n+="."),r.replacement&&(n+=" Use "+r.replacement.module,r.replacement.method&&(n+="."+r.replacement.method+"()"),n+=" instead."),r.removalVersion&&(n+=" Will be removed in version: "+r.removalVersion+"."),r.geckNumber&&(n+=" Please use g"+r.geckNumber+" to track latest information regarding this deprecation"),r.additionalInformation&&(n+=" "+r.additionalInformation),t[o](n))},_isConfigValid:function(e){var r=!!e.deprecated&&"object"==typeof e.deprecated&&e.deprecated.hasOwnProperty("module");return e.replacement&&(r=r&&"object"==typeof e.replacement&&e.replacement.hasOwnProperty("module")),e.geckNumber&&(r=r&&"number"==typeof e.geckNumber),r||t.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),r}};return Object.defineProperties(r,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),r}),e,t),e.exports=o},"mw-html-utils/HtmlUtils":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/io-query"]),r(r.dj.r.absMids["mw-html-utils/_parseHtml/sanitize"]),r(r.dj.r.absMids["mw-deprecation-utils/deprecation"])],o=r.dj.d(n,(function(e,t,r){return{HYPERLINK_ESCAPE_REGEXP:/<a\s+href\s*=\s*"[^"]*"[^>]*>[\s\S]*?<\/a>/g,HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP:/<a\s+href\s*=\s*"([^"]*)"([^>]*)>([\s\S]*?)<\/a>/g,STRONG_ESCAPE_REGEXP:/<strong>|<\/strong>/g,BOLD_LINK_ATTRIBUTE_REGEX:/\bstyle\s*=\s*"[^"]*\bfont-weight\s*:\s*bold\b[^"]*"/,parseQueryString:function(){var e=window.location.search.substr(1,window.location.search.length);return this._parseQueryString(e)},_parseQueryString:function(t){return e.queryToObject(t)},parseUrl:function(e){var t=document.createElement("a");t.display="none",t.href=e||window.location.href,t.href=t.href;var r={protocol:t.protocol,hostname:t.hostname,port:t.port,pathname:t.pathname,search:t.search,hash:t.hash};return"https:"!==r.protocol&&"http:"!==r.protocol||0===r.pathname.indexOf("/")||(r.pathname="/"+r.pathname),"https:"===r.protocol&&"443"===r.port&&0!==e.indexOf("https://"+r.hostname+":443")&&(r.port=""),r},escapeHtml:function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML},escapeLinksAndHtml:function(e,t){r.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeLinksAndHtml"},replacement:{module:"mw-html-utils/HtmlUtils",method:"treatHtmlLikeCommandWindow"}});var n="",o=e.split(this.HYPERLINK_ESCAPE_REGEXP),i=e.match(this.HYPERLINK_ESCAPE_REGEXP),s="",a=this,d=0,c=function(e,t,r,n){var o=a.parseUrl(t).protocol;"http:"!==o&&"https:"!==o&&"matlab:"!==o&&(t="#"),t=a.escapeHtml(t),n=a._strongNotEscaped(n,!0),s='<a href="'+t+'">'+n+"</a>"};if(t)n=this.escapeHtml(e),n=this.escapeWhitespace(n);else if(""!==o[0]&&(n=this._strongNotEscaped(o[0],!0)),null!==i&&0!==i.length)for(d=0;d<i.length;d+=1)i[d].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,c),""!==o[d+1]&&(o[d+1]=this._strongNotEscaped(o[d+1],!0)),n+=s+o[d+1];return n},treatHtmlLikeCommandWindow:function(e,t,r){if("string"!=typeof e)return"";var n="",o=e.split(this.HYPERLINK_ESCAPE_REGEXP),i=e.match(this.HYPERLINK_ESCAPE_REGEXP),s="",a=this,d=0;r=r||{};var c=function(e,t,r,n){var o=a.parseUrl(t).protocol,i="";"http:"!==o&&"https:"!==o&&"matlab:"!==o&&(t="#"),t=a.escapeHtml(t),n=a._strongNotEscaped(n,!1),a.BOLD_LINK_ATTRIBUTE_REGEX.test(r)&&(i=' style="font-weight:bold"'),s='<a href="'+t+'"'+i+">"+n+"</a>"};if(t)n=this.escapeHtml(e);else if(""!==o[0]&&(n=this._strongNotEscaped(o[0],!1)),null!==i&&0!==i.length)for(d=0;d<i.length;d+=1)i[d].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,c),""!==o[d+1]&&(o[d+1]=this._strongNotEscaped(o[d+1],!1)),n+=s+o[d+1];return r.addPreTagToPreserveWhiteSpace&&(n='<span style="white-space: pre">'+n+"</span>"),n},_strongNotEscaped:function(e,t){var r="",n=e.match(this.STRONG_ESCAPE_REGEXP),o=e.split(this.STRONG_ESCAPE_REGEXP),i=function(e){return e};t&&(i=this.escapeWhitespace);var s=0;if(null!==n&&0!==n.length)for(r=i(this.escapeHtml(o[0])),s=0;s<n.length;s+=1)r+=n[s]+i(this.escapeHtml(o[s+1]));else r=i(this.escapeHtml(e));return r},escapeWhitespace:function(e){return r.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeWhitespace"},replacement:{module:"Plain HTML",method:'Set class as white-space: pre or use <span style="white-space: pre">...</span>'}}),(e=e||"").replace(/\n/g,"<br>").replace(/ {2}/g," ")},handleAnchors:function(e,t){if(t.target.href){t.preventDefault(),t.stopPropagation();var r=t.target.href;if(-1!==r.indexOf("matlab:")){if("matlab:"===r.substring(0,7)){var n=t.target.href.substring(7);e(window.unescape(n))}}else window.open(t.target.href)}},isElementOverflown:function(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth},sanitizeHtmlFromJava:t.sanitizeHtmlFromJava}}),e,t),e.exports=o},"mw-html-utils/_parseHtml/sanitize":function(e,t,r){"use strict";var n,o;n=[],o=r.dj.d(n,(function(){var e,t,r,n=["backgroundColor","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","color","fontFamily","fontSize","fontStyle","fontWeight","height","lineHeight","margin","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textAnchor","textDecoration","textIndent","textOverflow","textShadow","textTransform","width"];return{sanitizeHtmlFromJava:(e={A:["target","href","title"],ABBR:["title"],ADDRESS:[],AREA:["shape","coords","href","alt"],ARTICLE:[],ASIDE:[],AUDIO:["autoplay","controls","loop","preload","src"],B:[],BDI:["dir"],BDO:["dir"],BIG:[],BLOCKQUOTE:["cite"],BR:[],CAPTION:[],CENTER:[],CITE:[],CODE:[],COL:["align","valign","span","width"],COLGROUP:["align","valign","span","width"],DD:[],DEL:["datetime"],DETAILS:["open"],DIV:[],DL:[],DT:[],EM:[],FONT:["color","size","face"],FOOTER:[],H1:[],H2:[],H3:[],H4:[],H5:[],H6:[],HEADER:[],HR:[],I:[],IMG:["src","alt","title","width","height"],INS:["datetime"],LI:[],MARK:[],NAV:[],OL:[],P:[],PRE:[],S:[],SECTION:[],SMALL:[],SPAN:[],SUB:[],SUP:[],STRONG:[],TABLE:["width","border","align","valign"],TBODY:["align","valign"],TD:["width","rowspan","colspan","align","valign"],TFOOT:["align","valign"],TH:["width","rowspan","colspan","align","valign"],THEAD:["align","valign"],TR:["rowspan","align","valign"],TT:[],U:[],UL:[],VIDEO:["autoplay","controls","loop","preload","src","height","width"]},t={href:{"http:":!0,"https:":!0,"mailto:":!0,"matlab:":!0,relative:{"#":!0,"/":!0}},src:{"http:":!0,"https:":!0,"mailto:":!0,relative:{"#":!0,"/":!0}}},r=!0,function(o){var i=function(e,t){var r=String.prototype.trim.call(t),n=r.indexOf(":");return n<0&&e.relative[r.charAt(0)]||e[r.substring(0,n)+":"]?r:"#"},s=function(o){var s=void 0;return o.nodeType===window.Node.ELEMENT_NODE?e[o.tagName]?(s=document.createElement(o.tagName),function(e,r){for(var n=[],o=0;o<e.length;o+=1){var s=e[o];if(r.hasAttribute(s)){var a=r.getAttribute(s),d="";d=t[s]?i(t[s],a):a,n.push({key:s,value:d})}}return n}(e[o.tagName],o).forEach((function(e){s.setAttribute(e.key,e.value)})),r&&function(e,t){var r=t.getAttribute("style");if(e.style&&null!==r&&""!==r)for(var o=0;o<n.length;o+=1){var i=n[o],s=t.style[i];void 0!==e.style[i]&&(e.style[i]=s)}}(s,o)):s=document.createDocumentFragment():s=o.nodeType===window.Node.TEXT_NODE?document.createTextNode(o.textContent):document.createDocumentFragment(),s},a=(new DOMParser).parseFromString(o,"text/html");return a.body?function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=document.createDocumentFragment();if(r>150||!t)return n;for(var o=t.firstChild;o;o=o.nextSibling){var i=s(o);o.nodeType===window.Node.ELEMENT_NODE&&i.appendChild(e(o,r+1)),n.appendChild(i)}return n}(a.body):document.createDocumentFragment()})}}),e,t),e.exports=o},"mw-log/Log":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["mw-log/impl/Modes"]),r(r.dj.r.absMids["mw-log/impl/Levels"]),r(r.dj.r.absMids["mw-log/impl/Backlog"]),r(r.dj.r.absMids["mw-log/util/LogUtils"])],o=r.dj.d(n,(function(e,t,r,n){const o=r.create(100),i=4,s=3,a=3,d=3,c=3,l=3,u=3,f=3,p=3,h=2,m=1,g=0,_=0;let v={},b=0,y=t.DEBUG,j=e.DEVELOPMENT,w=[],E={};class M{constructor(r){null==E[r]?(n.makeReadOnlyProperty(this,"name",r),E[this.name]=this,this._timers={},this._threshold=t.DEBUG,this._showTimestamp=!0,n.makeReadOnlyProperty(this,"modes",e),n.makeReadOnlyProperty(this,"levels",t)):E.DEFAULT.error("a logger with the name '"+r+"' already exists - change the name to prevent interference")}static _sanitizeLevel(e){return"number"==typeof e?e:t.DEBUG}static _sanitizeMode(t){return n.objectValues(e).indexOf(t)>-1?t:e.development}get threshold(){return this._threshold}set threshold(e){this._threshold=M._sanitizeLevel(e)}get showTimestamp(){return this._showTimestamp}set showTimestamp(e){this._showTimestamp=!!e}get globalThreshold(){return y}set globalThreshold(e){y=M._sanitizeLevel(e)}get mode(){return j}set mode(e){j=M._sanitizeMode(e)}_shouldLog(e){return y>e&&this._threshold>e}_nameAndTime(){let e=[];return"DEFAULT"!==this.name&&e.push(this.name),this._showTimestamp&&e.push(n.currentTimeString()),e}table(e){if(this._shouldLog(d)){const t={namespace:this.name,type:"table",message:[e],time:new Date};o.add(t),n.printToConsole("log",this._nameAndTime(),j),n.printToConsole("table",[e],j),n.execCallbacks(v,t)}}trace(){if(this._shouldLog(c)){const e={namespace:this.name,type:"trace",message:null,time:new Date};let t=(new Error).stack.split("\n");for("Error"===t[0]&&t.shift();t[0].includes("Log.js")||t[0].includes("logger.trace")||"trace"===t[0];)t.shift();t=t.join("\n"),e.message=[t],o.add(e),n.printToConsole("log",this._nameAndTime(),j),n.printToConsole("trace",[],j),n.execCallbacks(v,e)}}time(e){this._shouldLog(l)&&(null==this._timers[e]?this._timers[e]=(new Date).getTime():this.warn('timer "'+e+'" already exists.'))}timeEnd(e){if(this._shouldLog(u)){const t={namespace:this.name,type:"timeEnd",message:null,time:new Date};if(null!=this._timers[e]){const r=(new Date).getTime()-this._timers[e];t.message=[e+": "+r+"ms - timer ended"],o.add(t),n.printToConsole("log",this._nameAndTime().concat(t.message),j),n.execCallbacks(v,t),this._timers[e]=null}else this.warn('timer "'+e+"\" doesn't exist.")}}_group(e,t){if(this._shouldLog(f)){const r=t?"groupCollapsed":"group",i={namespace:this.name,type:r,message:[e],time:new Date};w.push(e),o.add(i),n.printToConsole(r,[e],j),n.execCallbacks(v,i)}}groupCollapsed(e){this._group(e,!0)}group(e){this._group(e,!1)}groupEnd(){if(this._shouldLog(p)){const e=w.pop(),t={namespace:this.name,type:"groupEnd",message:[e],time:new Date};o.add(t),n.printToConsole("groupEnd",[],j),n.execCallbacks(v,t)}}assert(e,t){if(this._shouldLog(g)&&!e){const e={namespace:this.name,type:"assert",message:["Assertion failed:",t],time:new Date};o.add(e),e.message.shift();let r=[!1].concat(this._nameAndTime().concat(e.message));n.printToConsole("assert",r,j),n.execCallbacks(v,e)}}_basicLogMethod(e,t,r){if(this._shouldLog(t)){const t={namespace:this.name,type:e,message:r,time:new Date};r=this._nameAndTime().concat(r),o.add(t),n.printToConsole(e,r,j),n.execCallbacks(v,t)}}debug(e){const t=Array.prototype.slice.call(arguments);this._basicLogMethod("debug",i,t)}log(e){const t=Array.prototype.slice.call(arguments);this._basicLogMethod("log",s,t)}dir(e){const t=Array.prototype.slice.call(arguments);this._basicLogMethod("dir",a,t)}info(e){const t=Array.prototype.slice.call(arguments);this._basicLogMethod("info",h,t)}warn(e){const t=Array.prototype.slice.call(arguments);this._basicLogMethod("warn",m,t)}error(e){const t=Array.prototype.slice.call(arguments);this._basicLogMethod("error",_,t)}addCallback(e,t){v[b]=e,t&&o.applyCallback(e);let r={};const n=b;return r.remove=()=>{delete v[n]},b++,r}createLogger(e){const t=new M(e);return t.name?t:E[e]}}return new M("DEFAULT")}),e,t),e.exports=o},"mw-log/impl/Backlog":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["mw-log/util/LogUtils"])],o=r.dj.d(n,(function(e){let t={create:function(t){let r={},n=[];e.makeReadOnlyProperty(r,"size",t);let o=0;return r.add=function(e){n[o]=e,o=(o+1)%r.size},r.applyCallback=function(e){let i=o+1;void 0===n[i]&&(i=0);let s=0,a=i;for(;s<r.size&&void 0!==n[a];)e(n[a]),a=(a+1)%t,s++},r}};return t}),e,t),e.exports=o},"mw-log/impl/Levels":function(e,t,r){"use strict";var n,o;n=[],o=r.dj.d(n,(function(){const e={DEBUG:5,LOG:4,TABLE:4,TIME:4,DIR:4,INFO:3,WARN:2,ASSERT:1,ERROR:1};return Object.freeze(e),e}),e,t),e.exports=o},"mw-log/impl/Modes":function(e,t,r){"use strict";var n,o;n=[],o=r.dj.d(n,(function(){const e={DEVELOPMENT:"DEVELOPMENT",PRODUCTION:"PRODUCTION"};return Object.freeze(e),e}),e,t),e.exports=o},"mw-log/util/LogUtils":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["mw-log/impl/Modes"])],o=r.dj.d(n,(function(e){const t={objectValues:function(e){let t=[];for(let r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t},makeReadOnlyProperty:function(e,t,r){Object.defineProperty(e,t,{value:r,writable:!1})},execCallbacks:function(e,r){const n=t.objectValues(e);for(let e in n)n[e](r)},currentTimeString:function(){const e=new Date;return e.toLocaleTimeString("en-US",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric"})+"."+e.getTime()%1e3},printToConsole:function(t,r,n){n===e.PRODUCTION&&"error"!==t||console[t].apply(console,r)}};return t}),e,t),e.exports=o},"mw-remote/EndPointsManager":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/_base/Deferred"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["mw-remote/iframeproxy/IframeProxyClient"])],o=r.dj.d(n,(function(e,t,r,n,o){return e([],{constructor:function(){this.DirectXhrConstants={ENABLED:"ENABLED",DISABLED:"DISABLED",UNRESOLVED:"UNRESOLVED"},this._setDirectXhrCommunicationState(!1),this._directXhrChecks={},this._initializeEndPointsCollection()},_initializeEndPointsCollection:function(){this.endPointsCollection={ROUTER_LEAF_INSECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json",messages:["RouterLogin","CreateAccount","CurrentUser","Login","UpdateAccount","ServiceRegistry","ClientType","AuthorizationDetails","AcquireMatlab"],iframeProxyName:"remoteProducer",acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},ROUTER_LEAF_SECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteProducer",acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},WORKER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!1,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteWorkerProducer",acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},WORKER_ASYNC_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/async",messages:[],iframeProxyName:"remoteWorkerAsyncProducer",acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},USAGE_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"udc/service/v1/events",messages:["UsageDataEventCollection"],iframeProxyName:"remoteUDCProducer",acceptsMessageContainerMessages:!1,directXhr:this.DirectXhrConstants.UNRESOLVED},HELP_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"",messages:["HelpDataEventCollection"],iframeProxyName:"doc_center",acceptsMessageContainerMessages:!1,directXhr:this.DirectXhrConstants.UNRESOLVED}}},_setDirectXhrCommunicationState:function(e){this._useDirectXhrForCommunication=e},reset:function(){this._initializeEndPointsCollection(),this._directXhrChecks={}},setUpNewEndPoint:function(e,t,r,n,o){this.endPointsCollection[e]={routingHost:"",routingKey:"",pathSuffix:r,enabled:t,messages:[],iframeProxy:null,iframeProxyName:n,acceptsMessageContainerMessages:o,directXhr:this.DirectXhrConstants.UNRESOLVED}},getPathSuffixForEndPoint:function(e){return this.endPointsCollection[e].pathSuffix},setPathSuffixForEndPoint:function(e,t){this.endPointsCollection[e].pathSuffix=t},getEndPointNames:function(){var e,t={};for(e in this.endPointsCollection)this.endPointsCollection.hasOwnProperty(e)&&(t[e]=e);return t},setRoutingHostAndRoutingKey:function(e,t,r){t&&t.lastIndexOf("/")!==t.length-1&&(t+="/"),this.endPointsCollection[e].routingHost=t,r&&(this.endPointsCollection[e].routingKey=r),this._checkIfEndpointAllowsDirectXhr(e,!0).then(n.hitch(this,this._processEndPointAllowsXhrResponse,e,t))},_processEndPointAllowsXhrResponse:function(e,t,r){this._setEndpointAllowsDirectXhr(r),r.status!==this.DirectXhrConstants.ENABLED&&t&&this._setIframeRoutingHostAndRoutingkey(e)},_setEndpointAllowsDirectXhr:function(e){this.endPointsCollection[e.endPointName]&&e.status in this.DirectXhrConstants&&(this.endPointsCollection[e.endPointName].directXhr=e.status)},_setIframeRoutingHostAndRoutingkey:function(e){var t=this.getIframeProxyClientForEndPoint(e);t&&t.setRemotePageHost(this.endPointsCollection[e].routingHost,this.endPointsCollection[e].routingKey,null,this.endPointsCollection[e].iframeProxyUrl)},getEndPointAllowsDirectXhr:function(e){return this._checkIfEndpointAllowsDirectXhr(e,!1)},_checkIfEndpointAllowsDirectXhr:function(e,t){if(this._directXhrChecks[e]&&!t)return this._directXhrChecks[e];var n=new r;this._directXhrChecks[e]=n;var o,i=this.getDirectXhrAllowed(e),s=this.DirectXhrConstants,a={endPointName:e,status:s.UNRESOLVED};if("function"==typeof URL)try{o=new URL(this.getRoutingHost(e))}catch(e){return a.status=s.DISABLED,n.resolve(a),n.promise}else(o=document.createElement("a")).href=this.getRoutingHost(e);if(this._useDirectXhrForCommunication)if(o.origin===window.location.origin)a.status=s.ENABLED,n.resolve(a);else if(i===s.UNRESOLVED){var d=new XMLHttpRequest,c=this.getRemoteUrlForEndPoint(e);d.open("OPTIONS",c),d.send(),d.onload=function(){200===d.status?(a.status=s.ENABLED,n.resolve(a)):(a.status=s.DISABLED,n.resolve(a))},d.onerror=function(){a.status=s.DISABLED,n.resolve(a)}}else a.status=i,n.resolve(a);else a.status=s.DISABLED,n.resolve(a);return n.promise},getRoutingHost:function(e){return this.endPointsCollection[e].routingHost},getRoutingKey:function(e){return this.endPointsCollection[e].routingKey},getMessageTypesMappedToEndPoint:function(e){return this.endPointsCollection[e].messages},isEndPointEnabled:function(e){return this.endPointsCollection[e].enabled},setMessageTypesToEndPoint:function(e,t){this.endPointsCollection[e].messages=t},enableEndPoint:function(e){this.endPointsCollection[e].enabled=!0},getDirectXhrAllowed:function(e){return this.endPointsCollection[e].directXhr},disableEndPoint:function(e){this.endPointsCollection[e].enabled=!1},getEndPointForMessageType:function(e){var r,n=null;for(r in this.endPointsCollection)if(this.endPointsCollection.hasOwnProperty(r)&&(n=t.lastIndexOf(this.endPointsCollection[r].messages,e)>-1?r:n)){if(this.isEndPointEnabled(n))break;n=null}return n||this.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT},getRemoteUrlForEndPoint:function(e){var t=this.endPointsCollection[e].routingHost+this.endPointsCollection[e].pathSuffix;return this.endPointsCollection[e].routingKey&&(t=t+"?routingkey="+this.endPointsCollection[e].routingKey),t},setIframeProxyClientForEndPoint:function(e,t){this.endPointsCollection[e].iframeProxy=t},getIframeProxyClientForEndPoint:function(e){var t=this.endPointsCollection[e].iframeProxy;return t||(t=new o(this.endPointsCollection[e].iframeProxyName),this.endPointsCollection[e].iframeProxy=t),t},isEndpointMessageContainerBased:function(e){return!e||!this.endPointsCollection[e]||this.endPointsCollection[e].acceptsMessageContainerMessages},addMessagesTypesToEndPoint:function(e,t){this.endPointsCollection[e]&&-1===this.endPointsCollection[e].messages.indexOf(t)&&this.endPointsCollection[e].messages.push(t)},removeMessageTypesFromEndPoint:function(e,t){if(this.endPointsCollection[e]){var r=this.endPointsCollection[e].messages.indexOf(t);r>-1&&this.endPointsCollection[e].messages.splice(r,1)}}})}),e,t),e.exports=o},"mw-remote/Remote":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/aspect"]),r(r.dj.r.absMids["mw-remote/iframeproxy/IframeProxyClient"]),r(r.dj.r.absMids["mw-remote/impl/FaultManager"]),r(r.dj.r.absMids["mw-remote/impl/RequestManager"]),r(r.dj.r.absMids["mw-remote/impl/ResponseManager"]),r(r.dj.r.absMids["mw-remote/impl/Transaction"]),r(r.dj.r.absMids["mw-remote/impl/AutoDetectedTransaction"]),r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"]),r(r.dj.r.absMids["mw-remote/utils/SendMessageUtil"]),r(r.dj.r.absMids["mw-remote/UploadToWorker"]),r(r.dj.r.absMids["mw-log/Log"]),r(r.dj.r.absMids["mw-remote/utils/RemoteUrlUtils"]),r(r.dj.r.absMids["mw-remote/serviceRegistryLookup!"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a,d,c,l,u,f,p){var h;return(h={reset:function(){var m=[],g=new n,_=new i({faultManager:g}),v=new o({responseManager:_});h.faultManager=g,h.responseManager=_,h.requestManager=v,h._serviceRegistryLookup=p,h._uploadIframeProxyUrlParameters=["?computeToken=","","&routingkey=",""];var b=h.proxyClient=new r;h.createUploadIframeTarget=e.hitch(b,b.createUploadIframeTarget),h.cancelUpload=e.hitch(b,b.cancelUpload),d.setIframeProxyClientForEndPoint(d.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,b),d.setIframeProxyClientForEndPoint(d.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,b),s.construct=function(e){return e=e||{},d.getRoutingHost(d.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT)||h.setEndpoint(),e.allowedMessages=m,e.sendMessage=h.sendMessage,e.computeSessionId=h.getComputeSessionId,new a(e)},h.registerEndpointLevelFaultHandler=e.hitch(g,g.registerEndpointLevelFaultHandler),h.sendMessage=e.hitch(v,v.sendMessage),h.sendPayload=c.sendPayload,h.registerDefaultMessageFactory=e.hitch(v,v.registerDefaultMessageFactory),h.deregisterDefaultMessageFactory=e.hitch(v,v.deregisterDefaultMessageFactory),h.registerResponseHandler=e.hitch(_,_.registerResponseHandler),h.deregisterResponseHandler=e.hitch(_,_.deregisterResponseHandler),h.registerFaultHandler=e.hitch(g,g.registerFaultHandler),h.deregisterFaultHandler=e.hitch(g,g.deregisterFaultHandler),h.registerTopLevelFaultHandler=e.hitch(g,g.registerTopLevelFaultHandler),h.deregisterTopLevelFaultHandler=e.hitch(g,g.deregisterTopLevelFaultHandler),h.setServiceEndPoint=function(e,t,r){d.setRoutingHostAndRoutingKey(e,t,r)},h.setDirectXhrCommunicationState=function(e){d._setDirectXhrCommunicationState(e)},h.setServicePathSuffixForEndPoint=function(e,t){d.setPathSuffixForEndPoint(e,t)},h.ignoreTopLevelFault=h.registerTopLevelFaultHandler,h.setComputeToken=function(e){h._uploadIframeProxyUrlParameters[1]=e.computeSessionId,v.computeToken=e},h.setWorkerEndpoint=function(e,t){h._uploadIframeProxyUrlParameters[3]=t,d.setRoutingHostAndRoutingKey(d.getEndPointNames().WORKER_ENDPOINT,e,t)},h.setEndpoint=function(e){if(!e){var t=h._serviceRegistryLookup.getServiceRegistryEndpoint("primary");t?e=t:(u.info("ServiceRegistryLookup is empty, falling back to localhost"),e="/")}if(!e||"/"===e){var r=(document.getElementsByTagName("base")[0]||{}).href;if(void 0!==r){var n=document.createElement("a");n.display="none",n.href=r,e=n.protocol+"//"+n.hostname+(n.port?":"+n.port:"")+"/"}else e=window.location.protocol+"//"+window.location.host+"/"}d.setRoutingHostAndRoutingKey(d.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,e),d.setRoutingHostAndRoutingKey(d.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,e),b.setRemotePageHost(e)},h.setAllowedMessages=function(e){m=e},h.allowAllMessages=function(){m=[]},h.getEndPoint=function(){return d.getRoutingHost(d.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT)},h.getUploadIframeProxyUrl=function(){var e=h.getWorkerRoutingHost();return"/"===e.slice(-1)&&(e=e.slice(0,-1)),e+b.getUploadIframeProxyUrlPath()+h._uploadIframeProxyUrlParameters.join("")},h.getComputeSessionId=function(){return v.computeToken?v.computeToken.computeSessionId:null},h.getWorkerRoutingHost=function(){var e=d.getRoutingHost(d.getEndPointNames().WORKER_ENDPOINT);if(e)return e;if(!(e=h._serviceRegistryLookup.getServiceRegistryEndpoint("primary"))||"/"===e){var t=(document.getElementsByTagName("base")[0]||{}).href;if(void 0!==t){var r=document.createElement("a");r.display="none",r.href=t,e=r.protocol+"//"+r.hostname+(r.port?":"+r.port:"")+"/"}else e=window.location.protocol+"//"+window.location.host+"/"}return e},h.getWorkerRoutingKey=function(){return d.getRoutingKey(d.getEndPointNames().WORKER_ENDPOINT)},h.upload=function(e,t){return(new l).upload(e,t,{endpoint:h.getWorkerRoutingHost(),uploadIframeProxyUrl:h.getUploadIframeProxyUrl()})},h.createWorkerRoutingHostUrl=function(e){return f.createWorkerRoutingHostUrl(e,{host:h.getWorkerRoutingHost(),sessionId:h.getComputeSessionId(),routingKey:h.getWorkerRoutingKey()})},h.getServiceRegistryEndpoint=function(e){return h._serviceRegistryLookup.getServiceRegistryEndpoint(e)},h.enableServerOnWorkerAsync=function(){d.enableEndPoint(d.getEndPointNames().WORKER_ASYNC_ENDPOINT)},h.disableServerOnWorkerAsync=function(){d.disableEndPoint(d.getEndPointNames().WORKER_ASYNC_ENDPOINT)},h.isServerOnWorkerAsyncEnabled=function(){return d.isEndPointEnabled(d.getEndPointNames().WORKER_ASYNC_ENDPOINT)},h.enableServerOnWorker=function(){d.enableEndPoint(d.getEndPointNames().WORKER_ENDPOINT)},h.disableServerOnWorker=function(){d.disableEndPoint(d.getEndPointNames().WORKER_ENDPOINT)},h.isWorkerEndpointEnabled=function(){return d.isEndPointEnabled(d.getEndPointNames().WORKER_ENDPOINT)},h.setWorkerOnlyMessageTypes=function(e){d.setMessageTypesToEndPoint(d.getEndPointNames().WORKER_ENDPOINT,e)},t.after(b,"onError",(function(e){e&&g.handleNonTransactionFault(e)}),!0),h.createNewEndPoint=function(e,t,r,n,o){this.getEndPointByName(e)||d.setUpNewEndPoint(e,t,r,n,o)},h.getUrlForEndPoint=function(e){return d.getRemoteUrlForEndPoint(e)},h.getEndPointByName=function(e){return d.getEndPointNames()[e]},h.getEndPointAllowsDirectXhr=function(e){return d.getEndPointAllowsDirectXhr(e)}}}).reset(),h}),e,t),e.exports=o},"mw-remote/RemoteEndPointsManager":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["mw-remote/EndPointsManager"])],o=r.dj.d(n,(function(e){var t=null;return null===t&&(t=new e),t}),e,t),e.exports=o},"mw-remote/ReplaceUploadIframe":function(e,t,r){"use strict";var n,o;function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}n=[],o=r.dj.d(n,(function(){return function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._xhr=null,this._uploadDestinationUrl=t.uploadDestinationUrl,this._computeToken=t.computeToken,this._routingkey=t.routingkey,this._fileDestination=t.fileDestination,this._csrfToken=t.csrfToken,this._postMessage=function(e){t.postMessage(e)}}var t,r,n;return t=e,(r=[{key:"_postMessageToParent",value:function(e){this._postMessage({data:e})}},{key:"_createFormDataFromFileList",value:function(e){for(var t=new window.FormData,r=0;r<e.length;r++){var n=e[r];t.append("uploadFileName",n,n.name)}return t}},{key:"_createAndSendXhr",value:function(e){var t=this;this._xhr=new XMLHttpRequest,this._xhr.upload.onprogress=function(e){t._postMessageToParent({type:"updateProgress",loaded:e.loaded,total:e.total})},this._xhr.onload=function(){t._postMessageToParent({type:"uploadFinished",status:t._xhr.status,response:t._xhr.response})},this._xhr.onerror=function(){t._postMessageToParent({type:"uploadError",status:t._xhr.status,response:t._xhr.response})},this._xhr.open("POST","".concat(this._uploadDestinationUrl,"?dest=").concat(this._fileDestination,"&computeToken=").concat(this._computeToken,"&routingKey=").concat(this._routingkey,"&csrfToken=").concat(this._csrfToken),!0),this._xhr.send(e)}},{key:"handleMessage",value:function(e){if(e.data instanceof FileList){var t=this._createFormDataFromFileList(e.data);this._createAndSendXhr(t)}else"cancelUpload"===e.data&&(this._xhr&&this._xhr.abort(),this._postMessageToParent({type:"uploadCanceled"}))}}])&&i(t.prototype,r),n&&i(t,n),e}()}),e,t),e.exports=o},"mw-remote/UploadToWorker":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/Deferred"]),r(r.dj.r.absMids["dojo/dom-construct"]),r(r.dj.r.absMids["mw-html-utils/HtmlUtils"]),r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"]),r(r.dj.r.absMids["mw-remote/utils/SendMessageUtil"]),r(r.dj.r.absMids["mw-remote/ReplaceUploadIframe"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s){return e([],{constructor:function(){},upload:function(e,r,n){var s=this;if(this._uploadHandler=new t((function(){s.postMessageToUploadIframe("cancelUpload"),s._unloadIframe()})),this._workerEndpoint=n.endpoint,e instanceof FileList){var a={csrfToken:void 0,validForMs:void 0};return i.sendPayload(JSON.stringify({messages:{CreateCsrfToken:[{}]}}),o.getEndPointNames().WORKER_ENDPOINT).then((function(t){if(t.messages.CreateCsrfTokenResponse.forEach((function(e){e.messageFaults&&e.messageFaults.length>0||(a={csrfToken:e.csrfToken,validForMs:e.validForMs})})),window.MW_USE_IFRAME_OUT_OF_MODEL){var o=encodeURI(n.uploadIframeProxyUrl)+"&uploadDestinationUrl="+s._workerEndpoint+"upload?dest="+encodeURIComponent(r)+"&csrfToken="+encodeURIComponent(a.csrfToken);s._createUploadIframe(e,o)}else{var i=new URL(n.uploadIframeProxyUrl).searchParams,d=i.get("computeToken"),c=i.get("routingkey");s._createUploadIframeNew(e,{uploadDestinationUrl:s._workerEndpoint+"upload",computeToken:d,routingkey:c,fileDestination:encodeURIComponent(r),csrfToken:encodeURIComponent(a.csrfToken)})}})),this._uploadHandler}},_createUploadIframe:function(e,t){var n=this;this._eventCallBack=function(t){if(n.getHostName(t.origin)===n.getHostName(n._workerEndpoint))switch(t.data.type){case"iframeIsReady":n.postMessageToUploadIframe(e);break;case"updateProgress":n._uploadHandler.progress({loaded:t.data.loaded,total:t.data.total});break;case"uploadFinished":n._uploadHandler.resolve({status:t.data.status,response:t.data.response}),n._unloadIframe();break;case"uploadError":n._uploadHandler.reject({status:t.data.status,response:t.data.response})}},this._uploadIframe=r.create("iframe",{id:"uploadIframe",src:t,width:0,height:0,style:"visibility: hidden; display: none;"}),document.body.appendChild(this._uploadIframe),window.addEventListener("message",this._eventCallBack,!1)},_createUploadIframeNew:function(e,t){var r=this;this._eventCallBack=function(e){switch(e.data.type){case"updateProgress":r._uploadHandler.progress({loaded:e.data.loaded,total:e.data.total});break;case"uploadFinished":r._uploadHandler.resolve({status:e.data.status,response:e.data.response}),r._unloadIframe();break;case"uploadError":r._uploadHandler.reject({status:e.data.status,response:e.data.response})}},t.postMessage=this._eventCallBack,this._ReplaceUploadIframe=new s(t),this.postMessageToUploadIframe(e)},_unloadIframe:function(){window.MW_USE_IFRAME_OUT_OF_MODEL?this._uploadIframe&&(window.removeEventListener("message",this._eventCallBack,!1),this._uploadIframe.parentNode.removeChild(this._uploadIframe),r.destroy(this._uploadIframe),this._uploadIframe=void 0):this._ReplaceUploadIframe=null},getHostName:function(e){return n.parseUrl(e).hostname},postMessageToUploadIframe:function(e){window.MW_USE_IFRAME_OUT_OF_MODEL?this._uploadIframe.contentWindow.postMessage(e,this._workerEndpoint):this._ReplaceUploadIframe&&this._ReplaceUploadIframe.handleMessage({data:e})}})}),e,t),e.exports=o},"mw-remote/defaultMessageMapping":function(e,t,r){"use strict";var n,o;n=[],o=r.dj.d(n,(function(){return{Eval:["CurrentFolder","ListFolder"],"Eval:Ping":[],"Eval:RunFile":["UpdateFile","CurrentFolder","ListFolder"],"Eval:MlsPublishPre":["UpdateFile"],"FEval:liveEvalInstrumentCode":[],Interrupt:[],"FEval:GetFigures":["CurrentFolder","ListFolder"],"FEval:CloseFigure":["FEval:GetFigures"],"FEval:SelectFigure":["FEval:GetFigures"],"FEval:ResetAxes":["FEval:GetFigures"],"FEval:ResizeFigure":["FEval:GetFigures"],"FEval:AxesInteraction2D":["FEval:GetFigures"],"FEval:AxesInteraction3D":["FEval:GetFigures"],CurrentUser:["ServiceRegistry"],RouterLogin:["ServiceRegistry"],CurrentFolder:["ListFolder"],MoveFile:["CurrentFolder"],Variable:[],CloseFile:["SaveSession"],UpdateFile:["SaveSession"],SaveSession:["UpdateFile"],SaveSessionState:["UpdateFile"],Logout:["CloseFile"],UpdateShare:["ListFolder"],AcquireMatlab:["ServiceRegistry"]}}),e,t),e.exports=o},"mw-remote/iframeproxy/CheckUrlService":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/dom"]),r(r.dj.r.absMids["dojo/on"]),r(r.dj.r.absMids["dojo/request/script"]),r(r.dj.r.absMids["mw-log/Log"])],o=r.dj.d(n,(function(e,t,r,n){return function(o){var i,s,a,d;if(!o)throw new Error("Expected a valid url in urlToEmptyJsFile");return(i={}).framedoc=null,"error",s=r.get(o,i,!0),a=e.byId(s.id,i.frameDoc),d=t(a,"error",(function(e){n.info("CheckUrlService detected an error accessing url: "+o),s.handleResponse(null,e),d.remove()})),s.promise}}),e,t),e.exports=o},"mw-remote/iframeproxy/IframeProxyClient":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/connect"]),r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/Deferred"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/aspect"]),r(r.dj.r.absMids["dojo/dom-construct"]),r(r.dj.r.absMids["mw-log/Log"]),r(r.dj.r.absMids["mw-remote/iframeproxy/CheckUrlService"]),r(r.dj.r.absMids["mw-remote/iframeproxy/IframeProxyReplace"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s,a,d){var c=t([],{IFRAME_TIMEOUT:2e4,LATEST_VERSION:"1.6",REMOTE_PROXY:"/remote/proxy/",constructor:function(e){this.iframeId=e||"remoteProducer",this._version=null,this._messageId=0,this._loaded=!1,this._pendingQueue=[],this._transactions={},this._uploadTargetCallbacks={},this._checkUrl=null,this._loadTimeoutHandle=null,this._checkUrlTimeout=null,this._errorRate=0},setRemotePageHost:function(e,t,r,n){var o=this;e=this._combineUriPaths(e||"","/"),t=t||"",n=n||"",this.computeToken=r,e===this._host&&t===this._key&&n===this._proxyUrl||(this._loaded=!1,this._errorLoading=!1,this._host=e,this._key=t,this._proxyUrl=n,window.MW_USE_IFRAME_OUT_OF_MODEL?(this._version=null,this._setVersion("use_latest")):(this._version="use_latest",this._iframeProxyReplace=new d({parent:{postMessage:function(e){o._handleMessage({data:e})}}})))},_setVersion:function(e){if(e&&"use_latest"!==e||(e=this.LATEST_VERSION),!this._loaded&&e!==this._version){this._version=e;var t=this._calculateUrls(this._host,this._key,e,this._proxyUrl);this._createIframe(t)}},_calculateUrls:function(e,t,r,n){var o=this.REMOTE_PROXY+r+"/iframeProxyRelease.html",i=this.REMOTE_PROXY+r+"/CheckJsFile.js";return n&&(o=n),o=this._combineUriPaths(e,o).split("?")[0],o+=t?"?routingkey="+t:"",i=this._combineUriPaths(e,i),{fastFailUrl:i+=t?"?routingkey="+t:"?time="+(new Date).getTime(),iFrameUrl:o}},_createIframe:function(t){var r=t.fastFailUrl,n=this;this._url=t.iFrameUrl,this.remoteIframe&&i.destroy(this.remoteIframe),this.remoteIframe=i.create("iframe",{id:this.iframeId,src:this._url,width:0,height:0,style:"visibility: hidden; display: none;"}),document.body.appendChild(this.remoteIframe),this._checkUrl=null,this._checkUrlTimeout=setTimeout((function(){n._checkUrl=new a(r).then((function(){n._checkUrl=null}),(function(e){n._checkUrl=null,"cancel"!==e.dojoType&&"CancelError"!==e.name&&n._handleLoadTimeoutHitch()}))}),.15*this.IFRAME_TIMEOUT),this._loadTimeoutHandle=setTimeout((function(){n._handleLoadTimeoutHitch()}),this.IFRAME_TIMEOUT),this._messageConnection||(this._messageConnection=e.connect(window,"message",this,this._handleMessage))},_handleLoadTimeoutHitch:function(){if(this._cleanupFailureChecks(),!this._loaded)if("1.0"===this._version)this._handleLoadTimeout();else{var e=(parseFloat(this._version)-.1).toFixed(1).toString();s.info("Unable to load proxy version "+this._version+", trying "+e+"."),this._setVersion(e)}},createUploadIframeTarget:function(e,t,r){this._uploadTargetCallbacks[e]=n.hitch(r||this,t),this._postMessage("createUploadIframe;"+e)},cancelUpload:function(e){this._postMessage("cancelUpload;"+e)},getUploadIframeProxyUrlPath:function(){return this.REMOTE_PROXY+this._version+"/uploadIframeProxy.html"},sendMessage:function(e,t,n){var o,i,a,d=this;return this.computeToken&&((n=n||{}).headers=n.headers||{},n.headers.computeToken=this.computeToken),i="sendMessage;"+(o=this._getNewMessageId())+";"+t+";",i+=n?JSON.stringify(n,null,0):"{}",i+=";"+e,a={deferred:new r((function(){"1.0"===d._version?s.warn("Cancelling is not supported by the 1.0 remote proxy."):d._postMessage("abort;"+o)})),id:o},this._errorLoading?a.deferred.reject("The iFrame did not load properly: "+this._url):(this._transactions[o]=a,this._postMessage(i)),a.deferred},setLatency:function(e){this._latency=e},setErrorRate:function(e){this._errorRate=e},_postMessage:function(e){this._loaded?this._postMessageNow(e):this._pendingQueue.push(e)},_handleMessage:function(e){var t,r,n,o,i,s,a,d,c,l=!0;if(window.MW_USE_IFRAME_OUT_OF_MODEL&&(l=e.source===this.remoteIframe.contentWindow),l){if(r=e.data.indexOf(";"),!(n=e.data.substring(0,r)))throw new Error("Client unable to parse message, no action specified: "+e.data);switch(n){case"ready":this._cleanupFailureChecks(),this._loaded=!0,this._flushPending();break;case"sendMessageResponse":this._sendMessageResponse(e,r);break;case"uploadIframeMessage":t=e.data.indexOf(";",r+1),o=e.data.substring(r+1,t),i=e.data.substring(t+1,e.data.length),this._uploadTargetCallbacks[o](i);break;case"websocketOpened":this.onWebsocketOpen();break;case"websocketClosed":s=e.data.substring(r+1,e.data.length),a=JSON.parse(s),this.onWebsocketClose(a);break;case"websocketMsg":d=e.data.substring(r+1,e.data.length),c=JSON.parse(d),this.onWebsocketMsg(c);break;case"websocketError":this.onWebsocketError();break;default:throw new Error("Unknown action: "+n+", data: "+e.data)}}},_sendMessageResponse:function(e,t){var r,n,o=e.data.indexOf(";",t+1),i=e.data.indexOf(";",o+1),s=e.data.substring(t+1,o),a=e.data.substring(o+1,i),d=e.data.substring(i+1,e.data.length);if(!s||!a)throw new Error("Invalid message from remote iframe: "+e.data);if(!(r=this._transactions[s]))throw new Error("Unknown transaction id: "+s+", from remote iframe: "+e.data);if(delete this._transactions[s],!r.deferred.isCanceled()){if("success"===a){try{n=d&&JSON.parse(d)}catch(e){n=d}return n=""===n?{}:n,void r.deferred.resolve(n)}this.onError(d),r.deferred.reject(d)}},_cleanupFailureChecks:function(){this._checkUrlTimeout&&clearTimeout(this._checkUrlTimeout),this._loadTimeoutHandle&&clearTimeout(this._loadTimeoutHandle),this._checkUrl&&!this._checkUrl.isFulfilled()&&this._checkUrl.cancel("Timeout Occurred or iFrame Was Loaded before CheckUrl",!1),this._checkUrlTimeout=null,this._loadTimeoutHandle=null,this._checkUrl=null},_handleLoadTimeout:function(){var e,t,r;if(!this._loaded){for(t in e={code:"IframeLoadTimeout",description:"Iframe proxy loading failed due to an HTTP error",message:""},r=this._transactions,this._transactions={},this._pendingQueue=[],r)r.hasOwnProperty(t)&&r[t].deferred.reject("Timeout while loading the iFrame "+this._url+" at "+new Date);this._errorLoading=!0,this.onError(e)}},_postMessageNow:function(e){var t,r,n=this;function o(){if(n._errorRate>0&&Math.random()<n._errorRate&&0===e.indexOf("sendMessage;")){if(t=e.split(";",2)[1],r=n._transactions[t]){delete n._transactions[t],s.error("Generating simulated error. Request was: ",e);var o="403 Forbidden;403";n.onError(o),r.deferred.reject(o)}}else window.MW_USE_IFRAME_OUT_OF_MODEL?n.remoteIframe.contentWindow.postMessage(e,n._url):n._iframeProxyReplace.handleMessage({data:e})}this._latency?setTimeout(o,this._latency):o()},_flushPending:function(){this._pendingQueue.forEach(this._postMessageNow,this),this._pendingQueue=[]},_getNewMessageId:function(){return this._messageId+=1,this._messageId.toString()},onError:function(){},onWebsocketOpen:function(){},onWebsocketMsg:function(){},onWebsocketClose:function(){},onWebsocketError:function(){},_combineUriPaths:function(){var e=Array.prototype.slice.call(arguments),t=e.reduce((function(e,t){return 0===e.length?t:(t.length>0&&("/"===t[0]&&e.lastIndexOf("/")===e.length-1?t=t.substring(1):"/"!==t[0]&&e.lastIndexOf("/")!==e.length-1&&(e+="/")),e+t)}));return t}});return c.WebSocket=t([],{constructor:function(e){var t=this;this.proxyClient=c.WebSocket.proxyClient,this.proxyClient.computeToken&&e.indexOf("?")>=0&&(e=e+"&computeToken="+this.proxyClient.computeToken),this.proxyClient._postMessage("connectWebsocket;"+e),o.after(this.proxyClient,"onWebsocketOpen",(function(){t.onopen.apply(t,arguments)}),!0),o.after(this.proxyClient,"onWebsocketMsg",(function(){t.onmessage.apply(t,arguments)}),!0),o.after(this.proxyClient,"onWebsocketClose",(function(){t.onclose.apply(t,arguments)}),!0),o.after(this.proxyClient,"onWebsocketError",(function(){t.onerror.apply(t,arguments)}),!0)},onopen:function(){},onmessage:function(){},onclose:function(){},onerror:function(){},send:function(e){this.proxyClient._postMessage("websocketSend;"+e)},close:function(){this.proxyClient._postMessage("closeWebsocket;")}}),c}),e,t),e.exports=o},"mw-remote/iframeproxy/IframeProxyReplace":function(e,t,r){"use strict";var n,o;function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}n=[],o=r.dj.d(n,(function(){return function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._childIframes=[],this._inFlightTransactions={},this._noop=function(){},this._webSocket=null,this._parent=t.parent,this.postMessage("ready","")}var t,r,n;return t=e,(r=[{key:"postMessage",value:function(e,t){this._parent.postMessage(e+";"+t||"","*")}},{key:"handleXhrResponse",value:function(e,t){var r=e+";success;"+t;this.postMessage("sendMessageResponse",r)}},{key:"handleXhrFault",value:function(e,t,r){var n=e+";fault;"+t+";"+r;this.postMessage("sendMessageResponse",n)}},{key:"handleMessage",value:function(e){var t,r,n,o,i,s,a,d,c,l,u,f=this,p=e.data.indexOf(";"),h=e.data.substring(0,p);if(!h)throw new Error("Unable to parse message, no action specified: "+e.data);switch(h){case"sendMessage":if(t=e.data.indexOf(";",p+1),r=e.data.indexOf(";",t+1),a=e.data.indexOf(";",r+1),n=e.data.substring(p+1,t),o=e.data.substring(t+1,r),d=JSON.parse(e.data.substring(r+1,a)),i=e.data.substring(a+1,e.data.length),!(n&&o&&i))throw new Error("Invalid message to send: "+e.data);try{if(c=new XMLHttpRequest,this._inFlightTransactions[n]={xhr:c},l=!1,c.onreadystatechange=function(){var e;0===c.readyState?(l=!0,f.handleXhrFault(n,"XHR readyState 0")):4!==c.readyState||l||(l=!0,(e=c.status||0)>=200&&e<300||304===e?f.handleXhrResponse(n,c.responseText):f.handleXhrFault(n,c.responseText,e)),l&&c&&(c.onreadystatechange=f._noop,c=null,delete f._inFlightTransactions[n].xhr,delete f._inFlightTransactions[n])},c.open("POST",o,!0),c.setRequestHeader("Content-Type",d.contentType?d.contentType:"application/json"),c.setRequestHeader("X-Requested-With","XMLHttpRequest"),d.headers)for(u in d.headers)d.headers.hasOwnProperty(u)&&c.setRequestHeader(u,d.headers[u]);c.send(i)}catch(e){this.handleXhrFault(n,"Unable to send data: "+e.toString())}break;case"createUploadIframe":n=e.data.substring(p+1,e.data.length),document.getElementById(n)||((s=document.createElement("iframe")).id=n,s.name=n,s.src="about:blank",s.width=0,s.height=0,s.style="visibility: hidden; display: none;",this._childIframes.push(s),document.body.appendChild(s));break;case"cancelUpload":n=e.data.substring(p+1,e.data.length);var m=document.getElementById(n);m&&(-1!==navigator.appVersion.indexOf("MSIE")?m.contentWindow.document.execCommand("Stop"):m.contentWindow.stop());break;case"abort":n=e.data.substring(p+1,e.data.length),this._inFlightTransactions[n]&&this._inFlightTransactions[n].xhr.abort();break;case"connectWebsocket":var g=e.data.substring(p+1,e.data.length);this._webSocket=new WebSocket(g),this._webSocket.onopen=function(){f._parent.postMessage("websocketOpened;","*")},this._webSocket.onmessage=function(e){var t={data:e.data},r=JSON.stringify(t);f._parent.postMessage("websocketMsg;"+r,"*")},this._webSocket.onclose=function(e){var t={code:e.code,reason:e.reason,wasClean:e.wasClean},r=JSON.stringify(t);f._parent.postMessage("websocketClosed;"+r,"*")},this._webSocket.onerror=function(){f._parent.postMessage("websocketError;","*")};break;case"websocketSend":var _=e.data.substring(p+1,e.data.length);this._webSocket.send(_);break;case"closeWebsocket":this._webSocket.close();break;default:throw new Error("Unknown action: "+h)}}}])&&i(t.prototype,r),n&&i(t,n),e}()}),e,t),e.exports=o},"mw-remote/impl/AutoDetectedTransaction":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["mw-remote/impl/JsonTransaction"]),r(r.dj.r.absMids["mw-remote/utils/SendMessageUtil"])],o=r.dj.d(n,(function(e,t,r){return e([t],{_doSend:function(e){return r.sendPayload(e,this.endPointName)}})}),e,t),e.exports=o},"mw-remote/impl/FaultManager":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/lang"])],o=r.dj.d(n,(function(e,t,r){return t([],{constructor:function(e){e=e||{},this.faultHandlers=e.faultHandlers||{},this.topLevelHandlers=e.topLevelHandlers||[],this.endPointLevelHandlers=e.endPointLevelHandlers||{}},registerFaultHandler:function(e,t,n){n&&(t=r.hitch(n,t)),this.faultHandlers[e]=t},deregisterFaultHandler:function(e){delete this.faultHandlers[e]},registerTopLevelFaultHandler:function(e,t,n){var o;if(n&&(t=r.hitch(n,t)),r.isString(e)){if("*"===e)return o={matcher:e,handler:t},this.defaultTopLevelHandler=t,o;e=this._constructMatcherFromQuery(e)}return o={matcher:e,handler:t},this.topLevelHandlers.push(o),o},registerEndpointLevelFaultHandler:function(e,t,n,o){var i;return o&&(n=r.hitch(o,n)),r.isString(t)&&(t=this._constructMatcherFromQuery(t)),i={matcher:t,handler:n},this.endPointLevelHandlers[e]||(this.endPointLevelHandlers[e]=[]),this.endPointLevelHandlers[e].push(i),i},deregisterTopLevelFaultHandler:function(e){var t=this.topLevelHandlers.indexOf(e);t>-1?this.topLevelHandlers.splice(t,1):"*"===e.matcher&&delete this.defaultTopLevelHandler},_constructMatcherFromQuery:function(t){var n=t.split("||"),o=[];return n.forEach((function(e){e=(e=(e=r.trim(e)).replace(/([.])/g,"\\$1")).replace(/\*/g,".*"),o.push(new RegExp("^"+e+"$"))})),function(t){return e.some(o,(function(e){return e.test(t.faultCode||t.code||"")}))}},handleFault:function(e){var t,n=function(t,r){var n,o=e.getMessageClassifier(r);o&&(n=[t,o].join(":"),this.faultHandlers[n]&&this.faultHandlers[n](e.fault,e.context))};for(t in e.requestMessages)if(e.requestMessages.hasOwnProperty(t)){this.faultHandlers[t]&&this.faultHandlers[t](e.fault,e.context);var o=e.requestMessages[t];Array.isArray(o)&&o.forEach(r.hitch(this,n,t))}this.faultHandlers["*"]&&this.faultHandlers["*"](e.fault,e.context),this.endPointLevelHandlers[e.endPointName]?this._handleEndpointLevelFault(e):this._handleTopLevelFault(e)},_handleEndpointLevelFault:function(t){var r=!1,n=e.filter(this.endPointLevelHandlers[t.endPointName],(function(e){return e.matcher.call(this,t.fault,t.context)}),this);return n.length>0&&n[0].handler&&(r=!0,n[0].handler.call(this,t.fault,t.context,t)),r},_handleTopLevelFault:function(t){var r=e.filter(this.topLevelHandlers,(function(e){return e.matcher.call(this,t.fault,t.context)}),this),n=r.length>0?r[0].handler:this.defaultTopLevelHandler;n&&n.call(this,t.fault,t.context,t)},handleNonTransactionFault:function(t){var r=e.filter(this.topLevelHandlers,(function(e){return e.matcher.call(this,t)}),this),n=r.length>0?r[0].handler:this.defaultTopLevelHandler;n&&n.call(this,t)}})}),e,t),e.exports=o},"mw-remote/impl/JsonTransaction":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/xhr"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"]),r(r.dj.r.absMids["mw-remote/impl/Transaction"])],o=r.dj.d(n,(function(e,t,r,n,o){return e(o,{constructor:function(e){e=e||{},this.uuid=e.uuid||this._generateUuid()},_getRequest:function(e){var t=n.isEndpointMessageContainerBased(this.endPointName),r=null;t?(r={uuid:this.uuid,messages:e},this.computeToken&&(r.computeToken=this.computeToken)):Object.keys(e).forEach((function(t){r=e[t]}));return this._sanitizeForJson(r),JSON.stringify(r,null,0)},_sanitizeForJson:function(e){var t;if(r.isArray(e))e.forEach(this._sanitizeForJson,this);else if(r.isObject(e))for(t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete e[t]:(r.isObject(e[t])||r.isArray(e[t]))&&this._sanitizeForJson(e[t]))},_doSend:function(e){return t.post({url:this._getEndpoint(),contentType:"application/json",handleAs:"json",postData:e})},_processResponse:function(e){this.stopTime=(new Date).getTime(),e?(e.fault&&(this.fault=e.fault),e.messages?this.responseMessages=e.messages:this.responseMessages=e):this.fault={faultCode:"Connection.Fault",message:"Unable to communicate with server, no response."}},_processFault:function(e){this.stopTime=(new Date).getTime(),this.fault={faultCode:"Connection.Fault",message:e}}})}),e,t),e.exports=o},"mw-remote/impl/RequestManager":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/array"]),r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/Deferred"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"]),r(r.dj.r.absMids["mw-remote/defaultMessageMapping"]),r(r.dj.r.absMids["mw-remote/impl/Transaction"])],o=r.dj.d(n,(function(e,t,r,n,o,i,s){return t([],{defaultMapping:i,constructor:function(e){e=e||{},this.defaultFactories=e.defaultFactories||{},this.mockHandlers=e.mockHandlers||{},this.mapping=e.mapping||this.defaultMapping,this.responseManager=e.responseManager},registerDefaultMessageFactory:function(e,t,r){r&&(t=n.hitch(r,t)),this.defaultFactories[e]=t},deregisterDefaultMessageFactory:function(e){delete this.defaultFactories[e]},registerMockResponseGenerator:function(e,t,o){var i=this;t=n.hitch(o||this,t),this.mockHandlers[e]=function(e,n){var o,a=s.construct(n);(o=t(e,a))||(o=new r).callback(),o.addCallback((function(){i.responseManager._processResult(a)}))}},deregisterMockResponseGenerator:function(e){delete this.mockHandlers[e]},sendMessage:function(e,t,r){var n,o,i,s={},a={};for(t=t||{},this._createAndFillTransactions(e,t,r,s,a),n=Object.keys(s),o=0;o<n.length;o+=1)i=n[o],this._callMocks(a[i]),s[i].send(),this.responseManager.handleTransaction(s[i])},_getTransaction:function(e,t){return s.construct({context:t,computeToken:this.computeToken,endPointName:e})},_getMockTransaction:function(e,t,r){return s.construct({context:t,computeToken:this.computeToken,endPointName:e,uuid:r})},_createAndFillTransactions:function(e,t,r,n,i){var s,a,d,c,l=function(e){var r,s,a,d,c,l,u;if(c=o.getEndPointForMessageType(e),l=n[c],u=i[c],l||(l=this._getTransaction(c,t),u=this._getMockTransaction(c,t,l.uuid),n[c]=l,i[c]=u),this.defaultFactories[e]){if(!(r=this.defaultFactories[e](l.context)))return;a=(s=e.split(":"))[0],d=s.slice(1,s.length).join(":"),this.mockHandlers[e]||l.addRequestMessage(a,r,d),u.addRequestMessage(a,r,d)}};for(s in e)if(e.hasOwnProperty(s)){var u=o.getEndPointForMessageType(s);d=i[u],c=n[u],n[u]||(c=this._getTransaction(u,t),d=this._getMockTransaction(u,t,c.uuid),n[u]=c,i[u]=d),a=[s,r].join(":"),this.mockHandlers[s]||this.mockHandlers[a]||c.addRequestMessage(s,e[s],r),d.addRequestMessage(s,e[s],r),this.mapping[a]?this.mapping[a].forEach(l,this):this.mapping[s]&&this.mapping[s].forEach(l,this)}},_callMocks:function(e){var t,r,o=e.context;delete e.context;var i=function(e,r){var n,o=t.getMessageClassifier(r);o&&(n=[e,o].join(":"),this.mockHandlers[n]&&this.mockHandlers[n]([r],t))};for(r in e.requestMessages)e.requestMessages.hasOwnProperty(r)&&((t=n.mixin({},e)).context=o,this.mockHandlers.hasOwnProperty(r)&&this.mockHandlers[r](t.requestMessages[r],t),Array.isArray(t.requestMessages[r])?t.requestMessages[r].forEach(n.hitch(this,i,r)):i(r,t.requestMessages[r]));this.mockHandlers["*"]&&this.mockHandlers["*"](r,t.requestMessages[r],t)}})}),e,t),e.exports=o},"mw-remote/impl/ResponseManager":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["mw-log/Log"]),r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"])],o=r.dj.d(n,(function(e,t,r,n){return e([],{constructor:function(e){e=e||{},this.responseHandlers=e.responseHandlers||{},this.faultManager=e.faultManager,this.transactions=e.transactions||[]},registerResponseHandler:function(e,r,n){n&&(r=t.hitch(n,r)),this.responseHandlers[e]=r},deregisterResponseHandler:function(e){delete this.responseHandlers[e]},handleTransaction:function(e){this.transactions.push(e),e.deferred.addCallback(t.hitch(this,this._processAll,e)),e.deferred.addCallback(t.hitch(this,this._processResult,e)),e.deferred.addErrback(t.hitch(this,this._processAll,e)),e.deferred.addErrback(t.hitch(this,this._processFault,e))},_processAll:function(e){var t;(t=this.transactions.indexOf(e))>=0&&this.transactions.splice(t,1)},_processResult:function(e){e.getResponseMessageTypes().forEach((function(t){var n=e.responseMessages[t],o=[];try{Array.isArray(n)&&(n.forEach((function(r){var n,i=e.getMessageClassifier(r);if(i){n=[t,i].join(":");var s=this,a=!1;e.getRequestMessageTypes().forEach((function(t){var o=e.requestMessages[t];Array.isArray(o)?o.forEach((function(t){s.responseHandlers[n]&&t.uuid===r.uuid&&(s.responseHandlers[n]([r],e.context),a=!0)})):s.responseHandlers[n]&&o.uuid===r.uuid&&(s.responseHandlers[n]([r],e.context),a=!0)})),a||o.push(r)}else o.push(r)}),this),o.length>0&&this.responseHandlers[t]&&this.responseHandlers[t](o,e.context),this.responseHandlers["*"]&&this.responseHandlers["*"](t,e.responseMessages[t],e.context))}catch(e){r.error("Remote: Fault occurred while processing response.\nMessage: "+e.message+"\nType: "+t+"\nResponse: "+JSON.stringify(n,null,2))}}),this),this._processUdcResponses(e),e.fault&&this.faultManager.handleFault(e)},_processUdcResponses:function(e){if(!n.isEndpointMessageContainerBased(e.endPointName)){var t=Object.keys(e.requestMessages)[0];this.responseHandlers[t]&&this.responseHandlers[t](e.responseMessages)}},_processFault:function(e){this.faultManager.handleFault(e)}})}),e,t),e.exports=o},"mw-remote/impl/Transaction":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/_base/Deferred"]),r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"]),r(r.dj.r.absMids["mw-utils/Utils"])],o=r.dj.d(n,(function(e,t,r,n,o){return e([],{constructor:function(e){e=e||{},this.requestMessages=e.requestMessages||{},this.responseMessages=e.responseMessages||{},this.context=e.context,this.computeToken=e.computeToken,this.uuidClassifierMap=e.uuidClassifierMap||{},this.endPointName=e.endPointName||null,this.allowedMessages=e.allowedMessages||[],this.ignoreMessageTypes=e.ignoreMessageTypes||[],this.sendMessage=e.sendMessage},addRequestMessage:function(e,t,o){if(t){var i=n.isEndpointMessageContainerBased(this.endPointName);this.requestMessages[e]||(this.requestMessages[e]=[]),r.isArray(t)?t.forEach((function(t){this.addRequestMessage(e,t,o)}),this):i?(t.uuid=t.uuid||this._generateUuid(),o&&(this.uuidClassifierMap[t.uuid]=o),this.requestMessages[e].push(t)):this.requestMessages[e]=t,this.requestMessages=this._filterMessages(this.requestMessages)}},_filterMessages:function(e){var t={};return this.getRequestMessageTypes().forEach((function(r){(0===this.allowedMessages.length||this.allowedMessages.indexOf(r)>=0)&&(t[r]=e[r])}),this),t},getResponseMessageTypes:function(){var e,t=[];for(e in this.responseMessages)this.responseMessages.hasOwnProperty(e)&&t.push(e);return t},getRequestMessageTypes:function(){var e,t=[];for(e in this.requestMessages)this.requestMessages.hasOwnProperty(e)&&t.push(e);return t},getMessageClassifier:function(e){return e&&e.uuid&&this.uuidClassifierMap.hasOwnProperty(e.uuid)?this.uuidClassifierMap[e.uuid]:""},send:function(){this._removeEmptyMessages(),this._isEmpty(this.requestMessages)?(this.deferred=new t,this.deferred.callback()):(this.startTime=(new Date).getTime(),this.deferred=this._doSend(this._getRequest(this.requestMessages)),this.deferred.addCallback(this,this._processResponse),this.deferred.addErrback(this,this._processFault))},addIgnoreMessageType:function(e,t){var r;if(this.getRequestMessageTypes().indexOf(e)>-1)if(t)for(r in this.uuidClassifierMap)this.uuidClassifierMap.hasOwnProperty(r)&&t&&this.uuidClassifierMap[r]===t&&this.ignoreMessageTypes.push(e+":"+t);else this.ignoreMessageTypes.push(e)},_removeEmptyMessages:function(){var e;if(!this._isEmpty(this.requestMessages))for(e in this.requestMessages)this.requestMessages.hasOwnProperty(e)&&r.isArray(this.requestMessages[e])&&0===o.getArrayLength(this.requestMessages[e])&&delete this.requestMessages[e]},_isEmpty:function(e){var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0},_generateUuid:function(){return o.generateUuid()}})}),e,t),e.exports=o},"mw-remote/serviceRegistryLookup":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/request/xhr"]),r(r.dj.r.absMids["mw-html-utils/HtmlUtils"])],o=r.dj.d(n,(function(e,t){var r=!1,n={_serviceData:{},getServiceRegistryEndpoint:function(e){var t,r;if(n._serviceData.serviceregistry)for(t=n._serviceData.serviceregistry.length,r=0;r<t;r+=1)if(n._serviceData.serviceregistry[r].name===e)return n._serviceData.serviceregistry[r].endpoint;return""}},o=function(e){var r=t.parseQueryString().mre;if(r){var n=new URL(r,window.location.href);if(i(n)){r=n.href;var o=e.serviceregistry;o=Array.isArray(o)?o:[];var s=!1;o.forEach((function(e){e.name&&"primary"===e.name&&(e.endpoint=r,s=!0)})),s||(o.push({name:"primary",endpoint:r}),e.serviceregistry=o)}}return e},i=function(e){return!(e.origin!==window.location.origin&&!s(e))},s=function(e){var t=e.origin;e.port&&(t=e.origin.replace(":"+e.port,""));var r=[".mathworks.com",".mathworks.cn"];for(var n in r){var o=r[n];if(t.endsWith(o))return!0}return!1},a={_doXhr:function(t,r){return e(t,{handleAs:"json",failOk:!0,method:"GET",timeout:15e3,sync:r})},_reset:function(){r=!1,n._serviceData={}},load:function(e,t,i){if(r)i(n);else{var s=!t.async;a._doXhr("/serviceregistrylookup/1/service",s).then((function(e){e instanceof Object||(e={}),n._serviceData=o(e),r=!0,i(n)}),(function(){n._serviceData=o({}),r=!0,i(n)}))}}};return a}),e,t),e.exports=o},"mw-remote/serviceRegistryLookup!":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["mw-remote/serviceRegistryLookup"]),r("mwBundle.sf_file_preview_plugin|7c1cede0fa96821f1d00933e343d2e2af30a4286"),r(r.dj.r.absMids["8e5d24b71f86716e7cc6d86d776c7dbfc35f9bdf"])],o=r.dj.d(n,(function(e,t){return t(e,"",r.dj.c(),!0)}),e,t),e.exports=o},"mw-remote/utils/RemoteUrlUtils":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["mw-log/Log"])],o=r.dj.d(n,(function(e){var t=new RegExp("^(?:[a-z]+:)?//","i"),r=["localhost","127.0.0.1","[::1]"];return{createWorkerRoutingHostUrl:function(t,n){var o=t,i="",s="",a=n.host,d=n.sessionId,c=n.routingKey;try{if(i=new URL(a),this.isAbsoluteUrl(t)){if((s=new URL(t)).origin&&r.includes(s.hostname)){var l=s.pathname;o=new URL(l,i).href,o+=s.search}}else o=t&&t.startsWith("/")?i+t.substr(1,t.length):i+t;return o+=(o.indexOf("?")>=0?"&":"?")+"mre="+i,c&&d&&(o+="&routingkey="+c+"&computeToken="+d),o}catch(t){e.error("Input URL is malformed")}return o},isAbsoluteUrl:function(e){return!!t.test(e)}}}),e,t),e.exports=o},"mw-remote/utils/SendMessageUtil":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["mw-remote/RemoteEndPointsManager"]),r(r.dj.r.absMids["dojo/_base/xhr"]),r(r.dj.r.absMids["dojo/_base/Deferred"])],o=r.dj.d(n,(function(e,t,r){return{sendPayload:function(n,o,i){var s=e.getEndPointAllowsDirectXhr(o),a=new r;return s.then((function(r){(r.status===e.DirectXhrConstants.ENABLED?function(r,n,o){var i=o&&o.headers?o.headers:null;return t.post({url:e.getRemoteUrlForEndPoint(n),contentType:"application/json",handleAs:"json",headers:i,postData:r})}(n,o,i):function(t,r,n){return e.getIframeProxyClientForEndPoint(r).sendMessage(t,e.getRemoteUrlForEndPoint(r),n)}(n,o,i)).then((function(e){a.resolve(e)}))})),a}}}),e,t),e.exports=o},"mw-utils/Utils":function(e,t,r){"use strict";var n,o;n=[r(r.dj.r.absMids["dojo/_base/lang"]),r(r.dj.r.absMids["dojo/_base/window"]),r(r.dj.r.absMids["mw-utils/deprecation"])],o=r.dj.d(n,(function(e,t,r){return{generateUuid:function(){return"xxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})).toUpperCase()},isImageData:function(e){return!!e&&(t.global.ImageData&&e instanceof t.global.ImageData||e.hasOwnProperty("width")&&e.hasOwnProperty("height")&&e.hasOwnProperty("data"))},isArray:function(e){return r.deprecated({deprecated:{module:"MW/utils/Utils",method:"isArray"},geckNumber:1444368}),Array.isArray(e)},getArrayLength:function(t){var r=0;return!!e.isArray(t)&&(t.forEach((function(e){e&&(r+=1)})),r)},isWhitespace:function(e){return/^\s+$/.test(e)},removeSurroundingNewLines:function(e){for(;"\n"===e.charAt(0);)e=e.substring(1);for(;"\n"===e.charAt(e.length-1);)e=e.substring(0,e.length-1);return e},getFirstUniqueElement:function(e,t){var r=null;return t.some((function(t){if(-1===e.indexOf(t))return r=t,!0})),r},unionOfWordSets:function(e,t,r){e=this._stringToArray(e),t=this._stringToArray(t);var n=this.unionOfArrays(e,t);return r?n.join(" "):n},intersectionOfWordSets:function(e,t,r){e=this._stringToArray(e),t=this._stringToArray(t);var n=this.intersectionOfArrays(e,t);return r?n.join(" "):n},differenceOfWordSets:function(e,t,r){e=this._stringToArray(e),t=this._stringToArray(t);var n=this.unique(this.differenceOfArrays(e,t));return r?n.join(" "):n},unionOfArrays:function(e,t){return this.unique(e.concat(t))},intersectionOfArrays:function(e,t){return this.nonunique(e.concat(t))},differenceOfArrays:function(e,t){if(void 0===window.Map)return this._legacyDifferenceOfArrays(e,t);var r,n,o=new Map,i=[];for(n=0;n<t.length;n++)o.set(t[n],null);for(n=0;n<e.length;n++)r=e[n],o.has(r)||i.push(r);return i},_legacyDifferenceOfArrays:function(e,t){return this.unique(e.filter((function(e){return-1===t.indexOf(e)})))},unique:function(e){return e.filter((function(t,r){return e.indexOf(t)===r}))},nonunique:function(e){return this.unique(e.filter((function(t,r){return e.indexOf(t)!==r})))},arrayEquals:function(e,t,r){if(e===t)return!0;if(e.length!==t.length)return!1;r||(r=function(e,t){return e===t});for(var n=0,o=e.length;n<o;n++)if(!r(e[n],t[n]))return!1;return!0},removeEmptyElements:function(e){return e.filter((function(e){return!(""===e||null==e)}))},_stringToArray:function(e){return this._isString(e)?this.removeEmptyElements(e.split(" ")):e},_isString:function(e){return"string"==typeof e||e instanceof String}}}),e,t),e.exports=o},"mw-utils/deprecation":function(e,t,r){"use strict";var n,o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[r(r.dj.r.absMids["dojo/_base/config"]),r(r.dj.r.absMids["mw-log/Log"])],o=r.dj.d(n,(function(e,t){var r={deprecated:function(r){var n,o;(!!e.isDebug||!!window.showDeprecationsAsErrors)&&this._isConfigValid(r)&&(o=window.showDeprecationsAsErrors||r.deprecationLevel===this.ERROR?this.ERROR:this.WARN,n="DEPRECATED: ",r.deprecated&&(n+=r.deprecated.module,r.deprecated.method&&(n+="."+r.deprecated.method+"()"),n+="."),r.replacement&&(n+=" Use "+r.replacement.module,r.replacement.method&&(n+="."+r.replacement.method+"()"),n+=" instead."),r.removalVersion&&(n+=" Will be removed in version: "+r.removalVersion+"."),r.geckNumber&&(n+=" Please use g"+r.geckNumber+" to track latest information regarding this deprecation"),r.additionalInformation&&(n+=" "+r.additionalInformation),t[o](n))},_isConfigValid:function(e){var r=!!e.deprecated&&"object"===i(e.deprecated)&&e.deprecated.hasOwnProperty("module");return e.replacement&&(r=r&&"object"===i(e.replacement)&&e.replacement.hasOwnProperty("module")),e.geckNumber&&(r=r&&"number"==typeof e.geckNumber),r||t.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),r}};return Object.defineProperties(r,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),r}),e,t),e.exports=o},"sf_file_preview_plugin/_impl/StateflowFilePreviewPlugin":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/Deferred"]),r(r.dj.r.absMids["dojo/when"]),r.dj.c(e.i),r(r.dj.r.absMids["mw-remote/Remote"]),r(r.dj.r.absMids["dojo/i18n!sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview"])],o=r.dj.d(n,(function(e,t,r,n,o,i){var s={};return e([],{constructor:function(e){},getTitle:function(){return{getTitleFcn:this._getTitleImpl.bind(this),overridePriority:1}},_getTitleImpl:function(e){return this._getFileInfo(e).then(t=>{return i.StateflowChart+" "+(r=e.name).substring(0,r.lastIndexOf("."));var r})},getUpperRightMetadata:function(){},getPrimaryMetadata:function(){},getSecondaryMetadata:function(){return{getSecondaryMetadataFcn:this._getSecondaryMetadataImpl.bind(this),overridePriority:1}},_getSecondaryMetadataImpl:function(e){var t=this._getFileInfo(e),n=this._getFileInfo(e),o=this._getFileInfo(e);return[r(t,(function(e){return"Revision"in e&&0!==e.Revision.length?i.ChartVersion+" "+e.Revision:""})),r(n,(function(e){return"MATLABVersion"in e&&0!==e.MATLABVersion.length?i.SavedInRelease+" "+e.MATLABVersion:""})),r(o,(function(e){return"LastModifiedBy"in e&&0!==e.LastModifiedBy.length?i.LastModifiedBy+" "+e.LastModifiedBy:""}))]},getRichContent:function(){},_setFileInfo:function(e){let t=e.data.entries[0].content,r=t.fullFilePath;const n=s[r];n&&(n.info=t,s[r]=n,n.promise.resolve(t))},_getFileInfo:function(e){const r=e.path;if(s[r]){const t=s[r];if(t.modifiedUtc===e.modifiedUtc)return t.promise}let n=new t,i="sffilepreview_FileInfo";try{o.registerResponseHandler("FEvalResponse:"+i,(function(e,t){t.resolve(e[0].results[0])}),n),o.registerFaultHandler("FEval:"+i,(function(e,t){t.reject(e)}),n),o.sendMessage({FEval:{function:"Stateflow.internal.ChartInfo",arguments:[e.path],nargout:1,priority:1,dequeMode:"ppe"}},n,i)}catch(e){console.log(e)}return s[r]={modifiedUtc:e.modifiedUtc,promise:n.promise,info:""},n.promise},getRichContentLabel:function(){}})}),e,t),e.exports=o},"sf_file_preview_plugin/index":function(e,t,r){var n,o;n=[r(r.dj.r.absMids["dojo/_base/declare"]),r(r.dj.r.absMids["dojo/Deferred"]),r(r.dj.r.absMids["sf_file_preview_plugin/_impl/StateflowFilePreviewPlugin"])],o=r.dj.d(n,(function(e,t,r){return{initialize:function(n){var o=new t,i=e([r])();return o.resolve({exports:{stateflowFilePreviewPlugin:i}}),o.promise}}}),e,t),e.exports=o},"sf_file_preview_plugin/l10n/resources/Stateflow/nls/ja-jp/preview":function(e,t,r){e.exports={ChartVersion:"チャート バージョン:",LastModifiedBy:"最終編集者:",SavedInRelease:"次のリリースで保存:",StateflowChart:"Stateflow チャート:"}},"sf_file_preview_plugin/l10n/resources/Stateflow/nls/ko-kr/preview":function(e,t,r){e.exports={ChartVersion:"차트 버전:",LastModifiedBy:"마지막으로 수정한 사람:",SavedInRelease:"저장된 릴리스:",StateflowChart:"Stateflow 차트:"}},"sf_file_preview_plugin/l10n/resources/Stateflow/nls/preview":function(e,t,r){e.exports={root:{ChartVersion:"Chart Version:",LastModifiedBy:"Last Modified by:",SavedInRelease:"Saved in Release:",StateflowChart:"Stateflow Chart:"},"ja-jp":!0,"ko-kr":!0}}},[[0,"runtime~mwBundle.sf_file_preview_plugin"]]]);
|