Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

2 рядки
91KB

  1. !function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var n,t={},o=Object.prototype,r=o.hasOwnProperty,a=Object.defineProperty||function(e,n,t){e[n]=t.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function d(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{d({},"")}catch(n){d=function(e,n,t){return e[n]=t}}function p(e,n,t,i){var o=n&&n.prototype instanceof k?n:k,r=Object.create(o.prototype),s=new D(i||[]);return a(r,"_invoke",{value:O(e,t,s)}),r}function f(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var g="suspendedStart",v="suspendedYield",m="executing",h="completed",I={};function k(){}function w(){}function b(){}var A={};d(A,c,(function(){return this}));var y=Object.getPrototypeOf,P=y&&y(y(N([])));P&&P!==o&&r.call(P,c)&&(A=P);var S=b.prototype=k.prototype=Object.create(A);function T(e){["next","throw","return"].forEach((function(n){d(e,n,(function(e){return this._invoke(n,e)}))}))}function C(e,n){function t(o,a,s,c){var u=f(e[o],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==i(d)&&r.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,s,c)}),(function(e){t("throw",e,s,c)})):n.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return t("throw",e,s,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(e,i){function r(){return new n((function(n,o){t(e,i,n,o)}))}return o=o?o.then(r,r):r()}})}function O(e,t,i){var o=g;return function(r,a){if(o===m)throw Error("Generator is already running");if(o===h){if("throw"===r)throw a;return{value:n,done:!0}}for(i.method=r,i.arg=a;;){var s=i.delegate;if(s){var c=E(s,i);if(c){if(c===I)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===g)throw o=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=m;var u=f(e,t,i);if("normal"===u.type){if(o=i.done?h:v,u.arg===I)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(o=h,i.method="throw",i.arg=u.arg)}}}function E(e,t){var i=t.method,o=e.iterator[i];if(o===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=n,E(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),I;var r=f(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,I;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,I):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,I)}function R(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function x(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function N(e){if(e||""===e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o<e.length;)if(r.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return w.prototype=b,a(S,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=d(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===w||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,d(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},T(C.prototype),d(C.prototype,u,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,i,o,r){void 0===r&&(r=Promise);var a=new C(p(e,n,i,o),r);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(S),d(S,l,"Generator"),d(S,c,(function(){return this})),d(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=N,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(i,o){return s.type="throw",s.arg=e,t.next=i,o&&(t.method="next",t.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,I):this.complete(a)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),I},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),x(t),I}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var o=i.arg;x(t)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:N(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=n),I}},t}function n(e,n,t,i,o,r,a){try{var s=e[r](a),c=s.value}catch(e){return void t(e)}s.done?n(c):Promise.resolve(c).then(i,o)}function t(e){return function(){var t=this,i=arguments;return new Promise((function(o,r){var a=e.apply(t,i);function s(e){n(a,o,r,s,c,"next",e)}function c(e){n(a,o,r,s,c,"throw",e)}s(void 0)}))}}function i(e){return 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},i(e)}System.register(["./index-legacy.a71edc95.js"],(function(n,o){"use strict";var r,a,s,c,u,l,d,p,f=document.createElement("style");return f.innerHTML=".login{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.login .qrcodeBox{display:flex;flex-flow:column;align-items:center;justify-content:center}.login .qrcodeBox .qrcode{width:5.33333rem;height:5.33333rem;overflow:hidden}.login .qrcodeBox .qrcode iframe{transform:translateY(-2.29333rem)}\n",document.head.appendChild(f),{setters:[function(e){r=e.d,a=e.l,s=e.c,c=e.a5,u=e.a6,l=e.M,d=e.o,p=e.G}],execute:function(){function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(this,arguments)}function f(e,n,t,i,o,r,a){try{var s=e[r](a),c=s.value}catch(u){return void t(u)}s.done?n(c):Promise.resolve(c).then(i,o)}function g(e){return function(){var n=this,t=arguments;return new Promise((function(i,o){var r=e.apply(n,t);function a(e){f(r,i,o,a,s,"next",e)}function s(e){f(r,i,o,a,s,"throw",e)}a(void 0)}))}}var v={exports:{}},m={exports:{}};!function(e){function n(t){return e.exports=n="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},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(m),function(e){var n=m.exports.default;function t(){e.exports=t=function(){return o},e.exports.__esModule=!0,e.exports.default=e.exports;var i,o={},r=Object.prototype,a=r.hasOwnProperty,s=Object.defineProperty||function(e,n,t){e[n]=t.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function p(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{p({},"")}catch(i){p=function(e,n,t){return e[n]=t}}function f(e,n,t,i){var o=n&&n.prototype instanceof w?n:w,r=Object.create(o.prototype),a=new N(i||[]);return s(r,"_invoke",{value:E(e,t,a)}),r}function g(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(e){return{type:"throw",arg:e}}}o.wrap=f;var v="suspendedStart",m="suspendedYield",h="executing",I="completed",k={};function w(){}function b(){}function A(){}var y={};p(y,u,(function(){return this}));var P=Object.getPrototypeOf,S=P&&P(P(L([])));S&&S!==r&&a.call(S,u)&&(y=S);var T=A.prototype=w.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(n){p(e,n,(function(e){return this._invoke(n,e)}))}))}function O(e,t){function i(o,r,s,c){var u=g(e[o],e,r);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==n(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,c)}),(function(e){i("throw",e,s,c)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return i("throw",e,s,c)}))}c(u.arg)}var o;s(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,o){i(e,n,t,o)}))}return o=o?o.then(r,r):r()}})}function E(e,n,t){var o=v;return function(r,a){if(o===h)throw new Error("Generator is already running");if(o===I){if("throw"===r)throw a;return{value:i,done:!0}}for(t.method=r,t.arg=a;;){var s=t.delegate;if(s){var c=R(s,t);if(c){if(c===k)continue;return c}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(o===v)throw o=I,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);o=h;var u=g(e,n,t);if("normal"===u.type){if(o=t.done?I:m,u.arg===k)continue;return{value:u.arg,done:t.done}}"throw"===u.type&&(o=I,t.method="throw",t.arg=u.arg)}}}function R(e,n){var t=n.method,o=e.iterator[t];if(o===i)return n.delegate=null,"throw"===t&&e.iterator.return&&(n.method="return",n.arg=i,R(e,n),"throw"===n.method)||"return"!==t&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+t+"' method")),k;var r=g(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,k;var a=r.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=i),n.delegate=null,k):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,k)}function x(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function D(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function L(e){if(e||""===e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=i,n.done=!0,n};return r.next=r}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=A,s(T,"constructor",{value:A,configurable:!0}),s(A,"constructor",{value:b,configurable:!0}),b.displayName=p(A,d,"GeneratorFunction"),o.isGeneratorFunction=function(e){var n="function"==typeof e&&e.constructor;return!!n&&(n===b||"GeneratorFunction"===(n.displayName||n.name))},o.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,A):(e.__proto__=A,p(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},o.awrap=function(e){return{__await:e}},C(O.prototype),p(O.prototype,l,(function(){return this})),o.AsyncIterator=O,o.async=function(e,n,t,i,r){void 0===r&&(r=Promise);var a=new O(f(e,n,t,i),r);return o.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(T),p(T,d,"Generator"),p(T,u,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),o.keys=function(e){var n=Object(e),t=[];for(var i in n)t.push(i);return t.reverse(),function e(){for(;t.length;){var i=t.pop();if(i in n)return e.value=i,e.done=!1,e}return e.done=!0,e}},o.values=L,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(D),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=i)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function t(t,o){return s.type="throw",s.arg=e,n.next=t,o&&(n.method="next",n.arg=i),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],s=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var c=a.call(r,"catchLoc"),u=a.call(r,"finallyLoc");if(c&&u){if(this.prev<r.catchLoc)return t(r.catchLoc,!0);if(this.prev<r.finallyLoc)return t(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return t(r.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return t(r.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var r=o?o.completion:{};return r.type=e,r.arg=n,o?(this.method="next",this.next=o.finallyLoc,k):this.complete(r)},complete:function(e,n){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&n&&(this.next=n),k},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),D(t),k}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var i=t.completion;if("throw"===i.type){var o=i.arg;D(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:L(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=i),k}},o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(v);var h,I,k,w,b,A,y=v.exports(),P=y;try{regeneratorRuntime=y}catch(Zi){"object"===("undefined"==typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=y:Function("r","regeneratorRuntime = r")(y)}function S(e){return"undefined"===e}function T(){return!S("undefined"==typeof my?"undefined":i(my))&&null!==my&&!S(i(my.alert))}(I=h||(h={})).CANCEL="-1",I.SUCCESS="0",I.API_UNDEFINED="1",I.INVALID_PARAMS="2",I.UNKNOWN_ERROR="3",I.UNAUTHORIZED_CALL="4",I.WRONG_CORP_ID="5",I.CREATE_CHAT_FAILED="6",I.UNAUTHORIZED_API="7",I.INVALID_CORP_ID="8",I.SERVER_RESPONSE_ERROR="9",I.WRONG_DEVICE_INFO="10",I.UPLOAD_FAIL="11",I.PROCESS_FAIL="12",I.DUPLICATED_CALL="13",I.TOO_LARGE_PIC="14",I.REQUEST_REJECT_OR_INSECURE_REQUEST="15",I.PC_NOT_ALLOWED_TO_OPEN_SIDE_PANE_OR_MODAL="21",I.PC_CLOSE_SIDE_PANE_OR_MODAL="22",I.UNAUTHORIZED_PARAMS="23",I.GESTURE_PASSWORD_DOES_NOT_EXIST="24",I.NETWORK_ERROR="25",function(e){e.MOBILE="mobile",e.PC="pc",e.MINI_APP="mini",e.UNKNOWN="unknown"}(k||(k={})),function(e){e.ANDROID="android",e.IOS="ios",e.UNKNOW="unknow"}(w||(w={})),function(e){e.UPDATE_NETWORK_STATUS="DINGGOV_ON_NETWORK_TYPE_CHANGED",e.UPDATE_LOCATION="DINGGOV_GEO_LOCATION_UPDATE",e.UPDATE_TRACE="DINGGOV_TRACE_UPDATE",e.ON_SHAKE="onShake"}(b||(b={})),function(e){e.isDingTalk="DingTalk",e.isMpaas="mPaaS",e.isUnknow="unknow"}(A||(A={}));var C=navigator&&(navigator.swuserAgent||navigator.userAgent)||"",O=function(){function e(){this.readyFnStack=[],this.generalEventCallbackStack={},this.apiList={},this.continuousCallbackStack={},this.isH5Mobile=null,this.appType=null,this.platformType=null,this.aliBridge=window&&window.navigator&&window.AlipayJSBridge,this.isReady=!1,this.init(),console.warn("请将 gdt-jsapi 版本请升级到 1.9.24 版本以上的最新版本,谢谢")}var n=e.prototype;return n.h5AndroidbridgeInit=function(){var e=this;this.h5BridgeReadyPromise=new Promise((function(n,t){var i=function(){try{window.WebViewJavascriptBridgeAndroid=window.nuva&&window.nuva.require(),e.execReadyFn()}catch(e){}};window.nuva&&(void 0===window.nuva.isReady||window.nuva.isReady)?i():(document.addEventListener("runtimeready",(function(){i()}),!1),document.addEventListener("runtimefailed",(function(i){var o=i&&i.detail||{errorCode:h.INVALID_PARAMS,errorMessage:"unknown nuvajs bootstrap error"};e.handleBridgeResponse(o,n,t)}),!1))}))},n.h5IosBridgeInit=function(){var e=this;this.h5BridgeReadyPromise=new Promise((function(n,t){if("undefined"!=typeof WebViewJavascriptBridge)try{WebViewJavascriptBridge.init((function(e,n){})),e.execReadyFn()}catch(e){}else document.addEventListener("WebViewJavascriptBridgeReady",(function(){try{WebViewJavascriptBridge&&WebViewJavascriptBridge.init((function(e,n){})),e.execReadyFn()}catch(e){}}),!1)}))},n.init=function(){var e=this,n=this.getAppType(),t=this.getContainerType();if(n===k.PC&&window.dingtalk&&!window.dingtalk.isRegister&&(window.dingtalk.isRegister=!0,window.dingtalk.callbackStack={},window.dingtalk.event.register((function(n,t){if(e.continuousCallbackStack[n])e.continuousCallbackStack[n](t);else if(t){var i=""+t.msgId;"openapi.event.emit"===n?(console.log("dingtalk receive event:",t,"identifer is",i),window.dingtalk.callbackStack[i]&&(window.dingtalk.callbackStack[i](t),delete window.dingtalk.callbackStack[i])):"im.fileTask.addNewTask"===n||"im.fileTask.updateTask"===n?(t.msgId||t.taskId)&&"function"==typeof e.continuousCallbackStack[t.msgId||t.taskId]&&e.continuousCallbackStack[t.msgId||t.taskId](n,t):e.generalEventCallbackStack[n]&&e.generalEventCallbackStack[n].forEach((function(n){n.call(e,t)}))}}))),n===k.MOBILE){if(t===A.isDingTalk)this.platformType===w.ANDROID?!this.h5BridgeReadyPromise&&this.h5AndroidbridgeInit():this.platformType===w.IOS&&!this.h5BridgeReadyPromise&&this.h5IosBridgeInit();else if(t===A.isMpaas&&n===k.MOBILE)if(window.AlipayJSBridge)this.execReadyFn();else{var i=setTimeout((function(){console.warn("window.AlipayJSBridge 未初始化完毕,走到兜底逻辑",e.isReady,window.AlipayJSBridge),e.isReady||e.execReadyFn.call(e)}),5200);document.addEventListener("AlipayJSBridgeReady",(function(){e.isReady||(clearTimeout(i),e.execReadyFn.call(e))}),!1)}}else setTimeout((function(){e.execReadyFn()}))},n.execReadyFn=function(){this.isReady=!0;for(var e=this.readyFnStack.shift();e;)e&&e(this),e=this.readyFnStack.shift()},n.onReady=function(e){this.isReady?e&&e(this):this.readyFnStack.push(e)},n.setCurrentInvoker=function(e){this.currentInvoker=e},n.getCurrentInvoker=function(){return this.currentInvoker},n.getBridge=function(){return this.aliBridge},n.getContainerType=function(){return/TaurusApp/g.test(C)?/DingTalk/g.test(C)?A.isDingTalk:A.isMpaas:/DingTalk/g.test(C)?A.isDingTalk:/mPaaSClient/g.test(C)||/Nebula/g.test(C)?A.isMpaas:A.isUnknow},n.getAppType=function(){return this.appType||(this.isMobile()?this.appType=k.MOBILE:window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("dingtalk-win")>=0&&window.navigator.userAgent.indexOf("TaurusApp")>=0?this.appType=k.PC:T()?this.appType=k.MINI_APP:(console.warn("检测到页面在非专有钉钉客户端中打开,JSAPI 调用可能不会生效!"),this.appType=k.UNKNOWN)),this.appType},n.isMobile=function(){var e=/iPhone|iPad|iPod|iOS/i.test(C),n=/Android/i.test(C),t=window&&window.navigator&&window.navigator.userAgent||"";return null!==this.isH5Mobile?this.isH5Mobile:t&&t.indexOf("dingtalk-win")>=0?(this.isH5Mobile=!1,!1):!(!t||!(t.includes("mPaaSClient")||t.includes("Nebula")||t.includes("DingTalk"))||(this.isH5Mobile=!0,this.platformType=e?w.IOS:n?w.ANDROID:w.UNKNOW,0))},n.registerEvent=function(e,n){var t=this;if("function"==typeof n)return this.getAppType()===k.PC?(this.generalEventCallbackStack[e]||(this.generalEventCallbackStack[e]=[]),this.generalEventCallbackStack[e].push(n),function(){var i=t.generalEventCallbackStack[e].findIndex((function(e){return e===n}));t.generalEventCallbackStack[e].splice(i,1)}):this.getAppType()===k.MOBILE?(document.addEventListener(e,n,!1),function(){document.removeEventListener(e,n)}):void 0;console.error("callback 参数应该为函数")},n.registerClientAPI=function(e,n){this.apiList[e]=n},n.registerAPI=function(e,n){if(this.isMobile(),"object"==i(n)){var t=n,o=this.getAppType();this.registerClientAPI(e,t[o])}else this.registerClientAPI(e,n)},n.invokeMiniApp=function(){var e=g(P.mark((function e(n,t){var i=this;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(t={}),e.abrupt("return",new Promise((function(e,r){t=o({_apiName:n},t);var a=i.apiList[n],s=i.getContainerType();if(!a)return console.warn("API: "+n+",未注册"),r("API: "+n+",未注册");if(s===A.isMpaas){if("function"==typeof a)return void a.call(null,t,{context:my,resolve:e,reject:r,methodName:n});my.call(n,t,(function(n){i.handleBridgeResponse(n,e,r)}))}else if(s===A.isDingTalk){if("function"==typeof a)return void a.call(null,t,{context:dd.dtBridge,resolve:e,reject:r,methodName:n,containerType:s,appType:k.MINI_APP});dd.dtBridge({m:"taurus.common."+n,args:t,onSuccess:function(n){i.handleBridgeResponse(n,e,r)},onFail:function(n){i.handleBridgeResponse(n,e,r)}})}})));case 2:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),n.invokeMobile=function(){var e=g(P.mark((function e(n,t,i){var r=this;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(t={}),e.abrupt("return",new Promise((function(e,a){t=o({_apiName:n},t);var s=r.apiList[n],c=r.getContainerType();if(!s)return console.warn("API: "+n+",未注册"),a("API: "+n+",未注册");if(c===A.isDingTalk){if(r.platformType===w.IOS){var u=Object.assign({},t);if(!0===u.watch&&"undefined"!=typeof WebViewJavascriptBridge&&WebViewJavascriptBridge.registerHandler(null!=i&&i.dingTalkAPIName?null==i?void 0:i.dingTalkAPIName:"taurus.common."+n,(function(e,n){"function"==typeof t.onSuccess&&t.onSuccess.call(null,e),n&&n({errorCode:"0",errorMessage:"success"})})),"function"==typeof s)return void s.call(null,t,{context:window.WebViewJavascriptBridge,resolve:e,reject:a,methodName:n,containerType:c,appType:k.MOBILE,platformType:w.IOS,watch:u.watch});void 0!==window.WebViewJavascriptBridge&&window.WebViewJavascriptBridge.callHandler("taurus.common."+n,Object.assign({},u),(function(n){!u.watch&&r.handleBridgeResponse(n||{},e,a)}))}else if(r.platformType===w.ANDROID){var l=n.split("."),d=l.pop()||"",p=l.join(".")||"taurus.common";if("function"==typeof s)return void s.call(null,t,{context:window.WebViewJavascriptBridgeAndroid,resolve:e,reject:a,methodName:n,containerType:c,appType:k.MOBILE,platformType:w.ANDROID});"function"==typeof window.WebViewJavascriptBridgeAndroid&&window.WebViewJavascriptBridgeAndroid((function(n){r.handleBridgeResponse(n,e,a)}),(function(n){r.handleBridgeResponse(n,e,a)}),p,d,t)}}else if(c===A.isMpaas){if("function"==typeof s)return void s.call(null,t,{context:AlipayJSBridge,resolve:e,reject:a,methodName:n});AlipayJSBridge.call(n,t,(function(n){r.handleBridgeResponse(n,e,a)}))}})));case 2:case"end":return e.stop()}}),e)})));return function(n,t,i){return e.apply(this,arguments)}}(),n.findFitMsgId=function(e){var n,t;return null!==(n=window.dingtalk)&&void 0!==n&&null!==(t=n.callbackStack)&&void 0!==t&&t[e]?this.findFitMsgId(e+1):e},n.invokePC=function(){var e=g(P.mark((function e(n,t,i){var r=this;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(t={}),void 0===i&&(i={msgId:1}),e.abrupt("return",new Promise((function(e,a){try{t=o({_apiName:n},t);var s=r.findFitMsgId(Date.now()),c=i.pcClientAPIName||n;if(i.msgId=s,!window.dingtalk)return Promise.reject(new Error("请在钉钉容器内使用 JSAPI"));r.apiList[n]?r.apiList[n].call(null,t,i):(console.info("invoke bridge api:",c,s,t),window.dingtalk.platform.invokeAPI(s,c,t)),window.dingtalk&&window.dingtalk.isRegister&&!window.dingtalk.callbackStack&&(window.dingtalk.callbackStack={}),window.dingtalk.callbackStack[""+s]=function(n){var t=n;return t.body?e(t.body):e(t)}}catch(e){a(e)}})));case 3:case"end":return e.stop()}}),e)})));return function(n,t,i){return e.apply(this,arguments)}}(),n.handleBridgeResponse=function(e,n,t){e&&e.errorCode?e.errorCode===h.SUCCESS?n(e.result):(console.warn("API 调用失败",e),t(e)):e&&"false"===e.success?t(e):n(e)},n.invoke=function(){var e=g(P.mark((function e(n,t,i){var o;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t={}),(o=this.getAppType())!==k.MOBILE){e.next=8;break}if(this.isReady){e.next=5;break}return e.abrupt("return",Promise.reject("错误:请在 dd.ready() 回调中使用 JSAPI,当前调用函数:"+n));case 5:return e.abrupt("return",this.invokeMobile(n,t,i));case 8:if(o!==k.PC){e.next=12;break}return e.abrupt("return",this.invokePC(n,t,i));case 12:if(o!==k.MINI_APP){e.next=16;break}return e.abrupt("return",this.invokeMiniApp(n,t));case 16:return e.abrupt("return",Promise.reject("错误:未在钉钉运行环境下调用该 API,无效,请检查运行环境"));case 17:case"end":return e.stop()}}),e,this)})));return function(n,t,i){return e.apply(this,arguments)}}(),n.existEventListener=function(e){return!!this.continuousCallbackStack[e]},n.registerContinuesEvent=function(e,n){this.continuousCallbackStack[e]=n},n.removeContinuesEvent=function(e){this.existEventListener(e)&&(this.continuousCallbackStack[e](),delete this.continuousCallbackStack[e])},e}();T()||(window._invoker=window._invoker||new O);var E=T()?new O:window._invoker;function R(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.alert",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"taurus.common","alert",e):s===w.IOS&&o.callHandler("taurus.common.alert",Object.assign({},e),(function(e){t(e)}))}else o&&o.call("alert",e,(function(){t()}))}function x(e){return E.invoke("alert",e)}function D(e){return E.invoke("authConfig",e)}function N(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.bizContactDepartmentsPickerExternal",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"taurus.common","bizContactDepartmentsPickerExternal",e):s===w.IOS&&o.callHandler("taurus.common.bizContactDepartmentsPickerExternal",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("bizContactDepartmentsPickerExternal",e,(function(e){E.handleBridgeResponse(e,t,i)}))}function L(e){return E.invoke("bizContactDepartmentsPickerExternal",e)}function B(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.bizCustomContactChooseExternal",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"taurus.common","bizCustomContactChooseExternal",e):s===w.IOS&&o.callHandler("taurus.common.bizCustomContactChooseExternal",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("bizCustomContactChooseExternal",e,(function(e){E.handleBridgeResponse(e,t,i)}))}function _(e){return E.invoke("bizCustomContactChooseExternal",e)}function M(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.bizCustomContactMultipleChooseExternal",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"taurus.common","bizCustomContactMultipleChooseExternal",e):s===w.IOS&&o.callHandler("taurus.common.bizCustomContactMultipleChooseExternal",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("bizCustomContactMultipleChooseExternal",e,(function(e){E.handleBridgeResponse(e,t,i)}))}function F(e){return E.invoke("bizCustomContactMultipleChooseExternal",e)}function j(e){return E.invoke("callPhone",e)}function W(){return E.invoke("version")}E.registerAPI("alert",{mini:R,mobile:R}),x.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("authConfig",{mini:!0,mobile:!0}),D.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"},E.registerAPI("bizContactDepartmentsPickerExternal",{mini:N,mobile:N,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.departmentsPickerEx",e)}}),L.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"},E.registerAPI("bizCustomContactChooseExternal",{mini:B,mobile:B,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.customContact.chooseEx",e)}}),_.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"},E.registerAPI("bizCustomContactMultipleChooseExternal",{mini:M,mobile:M,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.customContact.multipleChooseEx",e)}}),F.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"},E.registerAPI("callPhone",{mini:!0,mobile:!0}),j.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("version",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"version",{})}});var H=1,z=-1,G=0;function U(e,n){return"number"!=typeof e&&(e=0),"number"!=typeof n&&(n=0),e>n?H:e<n?z:G}function V(e,n){void 0===e&&(e=""),void 0===n&&(n="");var t=/^\d+(\.\d+){2,3}$/;if(!t.test(e)||!t.test(n))throw new Error("请传入正确的版本号格式");for(var i=(""+e).split(".").map((function(e){return parseInt(e,10)})),o=(""+n).split(".").map((function(e){return parseInt(e,10)})),r=Math.max(i.length,o.length),a=0,s=0;s<r&&(a=U(i[s],o[s]))===G;s++);return a}var J,q,K,Y,Q,Z,X,$=navigator&&navigator.userAgent||"",ee=function(){return $.indexOf("Android")>-1||$.indexOf("Adr")>-1},ne=function(){return!!$.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},te=function(){return/(windows)/i.test(navigator.userAgent)};function ie(){return(ie=g(P.mark((function e(n){var t,i,o,r;return P.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ki[n]){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,W();case 4:return t=e.sent,i=t.version,o=Ki[n].version,r=ee()?"android":ne()?"ios":te()?"pc":"unknown",e.abrupt("return",!(!o||!o[r])&&V(i,o[r])>0);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oe(){return E.invoke("checkVPNAppInstalled")}function re(){return E.invoke("checkVPNAppOnline")}function ae(e){return E.invoke("chooseContact",e)}function se(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.chooseContactWithComplexPicker",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"taurus.common","chooseContactWithComplexPicker",e):s===w.IOS&&o.callHandler("taurus.common.chooseContactWithComplexPicker",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("chooseContactWithComplexPicker",e,(function(n){n.error&&n.error.toString()===h.API_UNDEFINED?o.call("complexPicker",e,(function(e){E.handleBridgeResponse(e,t,i)})):E.handleBridgeResponse(n,t,i)}))}function ce(e){return E.invoke("chooseContactWithComplexPicker",e)}function ue(e){return E.invoke("chooseDateRangeWithCalendar",e)}function le(e){return E.invoke("chooseDayWithCalendar",e)}function de(e){return E.invoke("chooseDepartments",e)}function pe(e){return E.invoke("chooseFile",e)}function fe(e){return E.invoke("chooseHalfDayWithCalendar",e)}function ge(e){return E.invoke("dgChooseImage",o({},e,{_apiName:"chooseImage"}))}function ve(e){return E.invoke("chooseInterconnectionChat",e)}function me(e){return new Promise((function(n,t){my.chooseImage(o({},e,{success:function(e){n(e)},fail:function(e){t(e)}}))}))}function he(){return E.invoke("chooseSpaceDir")}function Ie(e){return E.invoke("chooseTimeWithCalendar",e)}function ke(e){return E.invoke("chooseVideo",e)}function we(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"biz.navigation.close",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"biz.navigation","close",e):s===w.IOS&&o.callHandler("biz.navigation.close",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("popWindow",e,(function(e){E.handleBridgeResponse(e,t,i)}))}function be(e){return E.invoke("closePage",o({},e,{_apiName:"closePage"}))}function Ae(e){return E.invoke("complexPickerAdmin",e)}function ye(e){return E.invoke("confirm",e)}function Pe(e){return E.invoke("copyToClipboard",e)}function Se(e){return E.invoke("createChatGroup",e)}function Te(e){return E.invoke("createDing",e)}function Ce(e){return E.invoke("createDingV2",e)}function Oe(e){return E.invoke("createVideoMeeting",e)}function Ee(e){return E.invoke("dealWithBackAction",e)}function Re(){return E.invoke("disableClosePage")}function xe(){return E.invoke("disablePullToRefresh",{_apiName:"disablePullToRefresh"})}function De(){return E.invoke("disableWebviewBounce",{_apiName:"disableWebviewBounce"})}function Ne(e){return E.invoke("downloadAudio",e)}E.registerAPI("checkVPNAppInstalled",{mini:!0,mobile:!0}),oe.version={android:"1.6.0",ios:"1.6.0"},E.registerAPI("checkVPNAppOnline",{mini:!0,mobile:!0}),re.version={android:"1.6.0",ios:"1.6.0"},(q=J||(J={}))[q.DEFAULT=1]="DEFAULT",q[q.NEW=2]="NEW",function(e){e[e.GLOBAL_ORG=1]="GLOBAL_ORG",e[e.FRIEND=2]="FRIEND",e[e.GROUP=4]="GROUP",e[e.RECOMMEND=5]="RECOMMEND",e[e.SPECIAL_ATTENTION=7]="SPECIAL_ATTENTION",e[e.LOAD_GROUP_PERSON=8]="LOAD_GROUP_PERSON",e[e.ORG=9]="ORG"}(K||(K={})),function(e){e.PHONE_HIDE="PHONE_HIDE",e.CHAT_INVALID="CHAT_INVALID",e.GROUP_CHAT_PULL_INVALID="GROUP_CHAT_PULL_INVALID",e.APP_DING_INVALID="APP_DING_INVALID",e.PHONE_DING_INVALID="PHONE_DING_INVALID",e.SMS_DING_INVALID="SMS_DING_INVALID",e.AUDIO_VIDEO_HIDE="AUDIO_VIDEO_HIDE"}(Y||(Y={})),E.registerAPI("chooseContact",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.choose",e)}}),ae.version={pc:"1.1.0"},E.registerAPI("chooseContactWithComplexPicker",{mini:se,mobile:se,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.complexPicker",e)}}),ce.version={android:"1.1.0",ios:"1.1.0",pc:"1.6.2"},E.registerAPI("chooseDateRangeWithCalendar",{mini:!0,mobile:!0}),ue.version={android:"1.3.10",ios:"1.3.10"},E.registerAPI("chooseDayWithCalendar",{mini:!0,mobile:!0}),le.version={android:"1.3.10",ios:"1.3.10"},E.registerAPI("chooseDepartments",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.departmentsPicker",e)}}),de.version={android:"1.1.0",ios:"1.1.0",pc:"1.6.2"},E.registerAPI("chooseFile",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.chooseFile",e)}}),pe.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"},E.registerAPI("chooseHalfDayWithCalendar",{mini:!0,mobile:!0}),fe.version={android:"1.3.10",ios:"1.3.10"},function(e){e[e.image=0]="image",e[e.video=1]="video"}(Q||(Q={})),E.registerAPI("dgChooseImage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.dgChooseImage",e)}}),ge.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"},E.registerAPI("chooseInterconnectionChat",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"chooseInterconnectionChat",e)}}),ve.version={pc:"2.9.0",ios:"2.9.0",android:"2.9.0"},E.registerAPI("chooseImage",{mini:!0}),me.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("chooseSpaceDir",{mini:!0,mobile:!0,pc:function(e,n){void 0===e&&(e={}),window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.chooseSpaceDir",e)}}),he.version={android:"1.6.0",ios:"1.6.0",pc:"2.6.0"},E.registerAPI("chooseTimeWithCalendar",{mini:!0,mobile:!0}),Ie.version={android:"1.3.10",ios:"1.3.10"},E.registerAPI("chooseVideo",{mini:!0,mobile:!0}),ke.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("closePage",{mini:we,mobile:we,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.navigation.quit",e)}}),be.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"},function(e){e.CODE="code",e.ACCOUNTID="accountId"}(Z||(Z={})),function(e){e.CODE="code",e.id="id"}(X||(X={})),E.registerAPI("complexPickerAdmin",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.complexPickerAdmin",e)}}),Ae.version={pc:"2.8.0"},E.registerAPI("confirm",{mini:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a={message:e.message,title:e.title,okButton:e.buttonLabels[0],cancelButton:e.buttonLabels[1]};r===A.isDingTalk?o({m:"taurus.common.confirm",args:a,onSuccess:function(e){var n={errorCode:h.SUCCESS,result:{buttonIndex:e.ok?0:1}};E.handleBridgeResponse(n,t,i)},onFail:function(e){E.handleBridgeResponse(e,t,i)}}):o&&o.call("confirm",a,(function(e){var n={errorCode:h.SUCCESS,result:{buttonIndex:e.ok?0:1}};E.handleBridgeResponse(n,t,i)}))},mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType,s={message:e.message,title:e.title,okButton:e.buttonLabels[0],cancelButton:e.buttonLabels[1]};r?a===w.ANDROID?o&&o((function(e){var n={errorCode:h.SUCCESS,result:{buttonIndex:e.ok?0:1}};E.handleBridgeResponse(n,t,i)}),(function(e){E.handleBridgeResponse(e,t,i)}),"taurus.common","confirm",s):a===w.IOS&&o.callHandler("taurus.common.confirm",Object.assign({},s),(function(e){E.handleBridgeResponse(e,t,i)})):o&&o.call("confirm",s,(function(e){var n={errorCode:h.SUCCESS,result:{buttonIndex:e.ok?0:1}};E.handleBridgeResponse(n,t,i)}))},pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.confirm",e)}}),ye.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"},E.registerAPI("copyToClipboard",{mini:!0,mobile:!0}),Pe.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("createChatGroup",{mini:!0,mobile:!0}),Se.version={android:"1.3.0",ios:"1.3.0",pc:"1.3.0"},E.registerAPI("createDing",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.ding.create",e)}}),Te.version={android:"1.3.9",ios:"1.3.9",pc:"1.3.9"},E.registerAPI("createDingV2",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.ding.createV2",e)}}),Ce.version={android:"2.7.0",ios:"2.7.0",pc:"2.7.0"},E.registerAPI("createVideoMeeting",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.meeting.create",o({isVideoConference:!0},e))}}),Oe.version={android:"1.3.1.1",ios:"1.3.1.1",pc:"1.9.4"},E.registerAPI("dealWithBackAction",{mobile:!0}),Ee.version={android:"1.2.0.10"},E.registerAPI("disableClosePage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.disableClosePage",{})}}),Re.version={pc:"3.4.0"},E.registerAPI("disablePullToRefresh",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;r?a===w.ANDROID?o&&o((function(){t()}),(function(){i()}),"ui.pullToRefresh","disable",{}):a===w.IOS&&o.callHandler("ui.pullToRefresh.disable",Object.assign({},{}),(function(e){t(e)})):o&&o.call("pullRefresh",{pullRefresh:!1},(function(){t()}))}}),xe.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("disableWebviewBounce",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;r?a===w.ANDROID?o&&o((function(){t()}),(function(){i()}),"ui.webViewBounce","disable",{}):a===w.IOS&&o.callHandler("ui.webViewBounce.disable",Object.assign({},{}),(function(e){t(e)})):o&&o.call("bounce",{enable:!1},(function(e){t(e)}))}}),De.version={ios:"1.3.0"},E.registerAPI("downloadAudio",{mini:!0,mobile:!0}),Ne.version={android:"1.3.0",ios:"1.3.0"};var Le,Be,_e;function Me(e){return E.invoke("downloadFile",e)}function Fe(){return E.invoke("enablePullToRefresh",{_apiName:"enablePullToRefresh"})}function je(){return E.invoke("enableVpn")}function We(){return E.invoke("enableWebviewBounce",{_apiName:"enableWebviewBounce"})}function He(e){return E.invoke("exclusiveInvoke",e)}function ze(e){return E.invoke("faceComparison",e)}function Ge(e){return E.invoke("faceRecognition",e)}function Ue(e){return E.invoke("getAppInstallStatus",e)}function Ve(e){return E.invoke("getAuthCode",e)}function Je(){return E.invoke("getConfig",{})}function qe(){return E.getContainerType()}function Ke(){return E.invoke("getDeviceId",{})}function Ye(){return E.invoke("getFromClipboard")}function Qe(e){return E.invoke("getGeolocation",e)}function Ze(e){return E.invoke("getGeolocationStatus",e)}function Xe(){return E.invoke("getHotspotInfo")}function $e(){return E.invoke("getLanguageSetting")}function en(){return E.invoke("getLoginUser")}function nn(){return E.invoke("getNetworkType")}function tn(){return E.invoke("getPhoneInfo")}function on(){return E.invoke("getProxyInfo",{})}function rn(e){return E.invoke("getStorageItem",e)}function an(e){return E.invoke("getTraceStatus",e)}function sn(){return E.invoke("getUUID")}E.registerAPI("downloadFile",{mini:function(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.context;o===A.isDingTalk?r&&r({m:"taurus.common.downloadFile",args:e,onSuccess:function(e){E.handleBridgeResponse(e,t,i)},onFail:function(e){E.handleBridgeResponse(e,t,i)}}):r&&r.call("downloadFile",e,(function(e){e.error?i(e):t(e)}))},pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.downloadFile",e),E.registerContinuesEvent(n.msgId,(function(t,i){"im.fileTask.addNewTask"===t&&(E.removeContinuesEvent(n.msgId),E.registerContinuesEvent(i.taskId,(function(n,t){if("im.fileTask.updateTask"===n){var i=t.doneSize,o=t.fileName,r=t.filePath,a=t.fileSize,s=t.speed;e.onProgress({doneSize:i,fileName:o,filePath:r,fileSize:a,speed:s}),1===t.status&&E.removeContinuesEvent(t.taskId)}})))}))}}),Me.version={pc:"1.3.5"},E.registerAPI("enablePullToRefresh",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;r?a===w.ANDROID?o&&o((function(){t()}),(function(){i()}),"ui.pullToRefresh","enable",{}):a===w.IOS&&o.callHandler("ui.pullToRefresh.enable",Object.assign({},{}),(function(){t()})):o&&o.call("pullRefresh",{pullRefresh:!0},(function(){t()}))}}),Fe.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("enableVpn",{mini:!0,mobile:!0}),je.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("enableWebviewBounce",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;r?a===w.ANDROID?o&&o((function(){t()}),(function(){i()}),"taurus.common","bounce",{enable:!0}):a===w.IOS&&o.callHandler("taurus.common.bounce",Object.assign({},{enable:!0}),(function(e){t(e)})):o&&o.call("bounce",{enable:!0},(function(e){t(e)}))}}),We.version={ios:"1.3.0"},E.registerAPI("exclusiveInvoke",{mini:!0,mobile:!0}),He.version={ios:"1.9.5",android:"1.9.5"},E.registerAPI("faceComparison",{mobile:!0,mini:!0}),ze.version={android:"2.4.0",ios:"2.4.0"},function(e){e.PNG="png",e.JPG="jpg"}(Le||(Le={})),E.registerAPI("faceRecognition",{mobile:!0,mini:!0}),Ge.version={android:"2.4.0",ios:"2.4.0"},E.registerAPI("getAppInstallStatus",{mini:!0,mobile:!0}),Ue.version={android:"2.1.10",ios:"2.1.10"},E.registerAPI("getAuthCode",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"runtime.permission.requestAuthCode",e)},mobile:!0,mini:!0}),Ve.version={android:"1.0.0",ios:"1.0.0",pc:"1.0.0"},E.registerAPI("getConfig",{mobile:!0,mini:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getConfig",e)}}),Je.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"},E.registerAPI("getDeviceId",{mobile:!0,mini:!0}),Ke.version={android:"2.5.0",ios:"2.5.0"},E.registerAPI("getFromClipboard",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"util.clipboardData.getData",e)}}),Ye.version={android:"2.3.1",ios:"2.3.1",pc:"2.6.10"},E.registerAPI("getGeolocation",{mini:!0,mobile:!0}),Qe.version={android:"1.2.0",ios:"1.2.0"},E.registerAPI("getGeolocationStatus",{mobile:!0,mini:!0}),Ze.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("getHotspotInfo",{mobile:!0,mini:!0}),Xe.version={android:"1.3.5",ios:"1.3.5"},E.registerAPI("getLanguageSetting",{mobile:!0,mini:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getLanguageSetting",e)}}),$e.version={android:"1.4.0",ios:"1.4.0",pc:"1.4.0"},E.registerAPI("getLoginUser",{mobile:!0,mini:!0}),en.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("getNetworkType",{mobile:!0,mini:!0}),nn.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("getPhoneInfo",{mini:!0,mobile:!0}),tn.version={android:"1.3.5",ios:"1.3.5"},(_e=Be||(Be={})).SOCKS5="SOCKS5",_e.HTTP="HTTP",E.registerAPI("getProxyInfo",{pc:function(e,n){void 0===e&&(e={}),window.dingtalk.platform.invokeAPI(n.msgId,"net.util.getProxyInfo",e)}}),on.version={pc:"2.10.0"},E.registerAPI("getStorageItem",{mobile:!0,mini:!0}),rn.version={android:"1.3.1.1",ios:"1.3.1.1"},E.registerAPI("getTraceStatus",{mobile:!0}),an.version={android:"1.3.4",ios:"1.3.4"},E.registerAPI("getUUID",{mobile:!0,mini:!0}),sn.version={android:"1.3.5",ios:"1.3.5"};var cn,un,ln,dn,pn=/TaurusApp\((\S*)\/(\S*)\)/;function fn(){var e=E.getAppType();return e===k.PC||e===k.MOBILE?function(){if(window&&window.navigator){var e=window.navigator.userAgent;if(e){var n=e.match(pn);return Promise.resolve({group:"TaurusApp",name:n[1],version:n[2]})}return Promise.reject("调用错误:无法检测到当下环境的 userAgent,请确保在政务钉钉客户端 H5 容器下调用。")}}():e===k.MINI_APP?E.invoke("getUserAgent",{}):void 0}function gn(e){return E.invoke("getWaterMarkConfig",e)}E.registerAPI("getUserAgent",{mobile:!0,mini:!0,pc:!0}),fn.version={android:"1.6.2",ios:"1.6.2",pc:"1.6.2"},(dn=cn||(cn={})).off="0",dn.on="1",function(e){e[e.off=0]="off",e[e.on=1]="on"}(un||(un={})),function(e){e[e.name=1]="name",e[e.id=2]="id",e[e.custom=3]="custom"}(ln||(ln={})),E.registerAPI("getWaterMarkConfig",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getWaterMarkConfig",e)},mini:!0,mobile:!0});var vn,mn="h5Page",hn=[mn,"meetingDetail","docPreview"],In=!S("undefined"==typeof my?"undefined":i(my))&&null!==my&&!S(i(my.alert));In&&(vn=my.getSystemInfoSync());var kn,wn,bn,An,yn=In?vn.platform:navigator.userAgent,Pn=In?vn.screenWidth:window.screen.width,Sn=(In?vn.pixelRatio:window.devicePixelRatio)||2,Tn=In?Promise.resolve(""):"",Cn=function(){function e(e){void 0===e&&(e={}),this.options=o({texts:[""],width:50,height:50,textRotate:-10,textColor:"#000000",textFont:"PingFangSC-Regular,system-ui,sans-serif",fontStyle:"normal",opacity:90,canvas:[],fontSize:14},e),this.options.width*=this.options.fontSize/12,this.options.height*=this.options.fontSize/12,this.options.deg=this.options.textRotate*Math.PI/180,this.options.cosDeg=Math.cos(this.options.deg),this.options.absSinDeg=Math.abs(Math.sin(this.options.deg))}var n=e.prototype;return n.init=function(){var e=this,n=null,t=null;In?t=my.createCanvasContext("canvasBg"):(n=this.createCanvas(),t=n.getContext("2d")),this.calcTextSize();var i=this.options,o=i.allItemsWidth,r=i.drawItems,a=i.height,s=i.containerComp,c=Math.ceil(Pn/o),u=new Array(c).fill(r).reduce((function(e,n){return e.concat(n)}),[]),l=function(){e.setCanvasStyle(t),e.drawText(t,u),t.translate(0,a),e.drawText(t,u.reverse(),!0)};if(In)return new Promise((function(e){s.setState({width:o*c,height:2*a},(function(){setTimeout((function(){l(),t.draw(),e(t.toDataURL("image/png"))}),0)}))}));n.width=o*c,n.height=2*a,n.style.display="none",l();var d=n.toDataURL("image/png");return this.destroy(),d},n.calcTextSize=function(){var e=0,n=0,t=this.options;t.drawItems=[].map.call(t.texts,(function(i){var o,r,a,s;if(In){for(var c=0,u=0;u<i.length;u+=1)c+=/[\uff00-\uffff]/.test(i[u])?1:.5;o=1.1*t.fontSize*c,r=1.2*t.fontSize}else{var l=(a='<span style="font:'+t.fontSize+"px "+t.textFont+';visibility:hidden;">'+i+"</span>",(s=document.createElement("div")).innerHTML=a.trim(),s.firstChild);document.body.appendChild(l),o=l.offsetWidth,r=l.offsetHeight,document.body.removeChild(l)}return e=Math.max(e,o),t.fontHeight||(t.fontHeight=r),n+=Math.ceil(t.cosDeg*(t.width<o?o:t.width)),{txt:i,width:o,height:r}})),e>t.width&&(t.width=e);var i=e*t.absSinDeg+t.fontHeight*t.cosDeg;i>t.height&&(t.height=i),t.maxItemWidth=e,t.allItemsWidth=n},n.setCanvasStyle=function(e){var n=this.options,t=n.deg,i=n.absSinDeg,o=n.height,r=n.fontHeight,a=n.fontStyle,s=n.fontSize,c=n.textFont,u=n.textColor,l=n.opacity;e.rotate(t);var d=i*(o-r);e.translate(-d,0),e.font=a+" "+s+"px "+c,e.fillStyle=u,e.textAlign="left",e.textBaseline="bottom",e.globalAlpha=l},n.drawText=function(e,n,t){void 0===t&&(t=!1);var i=this.options,o=i.maxItemWidth,r=i.width,a=i.height,s=i.deg,c=i.cosDeg,u=i.absSinDeg;n.forEach((function(n,i){var l=c*(o-n.width)/2,d=r*c*i,p=Math.abs(d*Math.tan(s))+a;e.fillText(n.txt,d+(t?c*(r-n.width)/2:l),p+(t?u*(r-n.width)/2:0))}))},n.createCanvas=function(){var e=document.createElement("canvas");return this.options.canvas.push(e),e},n.destroy=function(){this.options.canvas.forEach((function(e){e.remove(),e=null}))},e}();function On(e,n){var t=JSON.parse(e),i=t.watermark||t;if(!i||"0"===String(i.watermarkStatus))return Tn;if(!Array.isArray(i.targetPages)||!i.targetPages.some((function(e){return e.name===n&&"1"===String(e.value)})))return Tn;var o=[];if(Array.isArray(i.contentType)){var r="";i.contentType.includes(1)&&(r+=i.userName+" "),i.contentType.includes(2)&&(r+=(i.account||"").slice(-4)),r&&o.push(r),i.contentType.includes(0)&&i.contentCustom&&o.push(i.contentCustom)}if(!o.length)return Tn;var a,s,c=/Android|Adr|SymbianOS|Windows\s*Phone|Mobile/.test(yn),u=/iPhone|iPad|iPod|Mac\s*OS.*Mobile|iOS/.test(yn),l="0"===String(i.watermarkShowDensity);return u?l?(a=114,s=66):(a=86,s=45):c?l?(a=47*Sn,s=40*Sn):(a=25*Sn,s=25*Sn):l?(a=300,s=126):(a=194,s=106),new Cn({containerComp:this,texts:o,width:a,height:s,textRotate:-10,textColor:{0:"#FF0000",1:"#000000",2:"#0000FF"}[i.fontColor]||"#000000",textFont:"PingFangSC-Regular,system-ui,sans-serif",fontStyle:"0"===String(i.fontStyle)?"normal":"bold",opacity:(120-parseInt(i.fontDiaphaneity,10))/100,fontSize:{0:12,1:16,2:28}[i.fontSize]||16}).init()}function En(e,n){if(void 0===e&&(e={}),void 0===n&&(n=mn),!hn.includes(n))throw new Error("第二个可选参数,仅能为“h5Page”或“meetingDetail”");try{return On.call(this,JSON.stringify(e),n)}catch(e){throw e}}function Rn(e,n){return void 0===e&&(e=""),new Promise((function(t,i){gn({pageInfo:e}).then((function(e){try{var o=En(e,n);t(o)}catch(e){i(e)}}))}))}function xn(e){return E.invoke("getWaterMarkConfigV2",e)}Rn.version={android:"1.1.0",ios:"1.1.0",pc:"1.1.0"},function(e){e[e.ENABLE=1]="ENABLE",e[e.DISABLE=0]="DISABLE"}(kn||(kn={})),E.registerAPI("getWaterMarkConfigV2",{mobile:!0,mini:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getWaterMarkConfigV2",e)}}),xn.version={android:"2.8.0",ios:"2.8.0",pc:"2.8.0"},(bn=wn||(wn={}))[bn.DISABLE=0]="DISABLE",bn[bn.ENABLE=1]="ENABLE",function(e){e.IMSESSIONLIST="imSessionList",e.DOCPREVIEW="docPreview",e.H5PAGEOTHER="h5PageOther",e.MEETINGDETAIL="meetingDetail",e.H5PAGEBASIC="h5PageBasic",e.SELECTIONCOMPONENT="selectionComponent",e.CONTACTLIST="contactList",e.CONTACTDETAIL="contactDetail",e.CHAT="chat",e.SECRETCHAT="secretChat",e.CAMERA="camera"}(An||(An={}));var Dn,Nn,Ln="",Bn={1:"normal",2:"bold",3:"italic"};!function(e){e[e.LOOSE=0]="LOOSE",e[e.NORMAL=1]="NORMAL",e[e.DENSE=2]="DENSE"}(Dn||(Dn={})),function(e){e[e.RIGHT=0]="RIGHT",e[e.LEFT=1]="LEFT"}(Nn||(Nn={}));var _n,Mn,Fn,jn=function(){function e(e){this.options=Object.assign({texts:"",width:50,height:50,tiltAngle:-15,fontColor:"#171A1D",textFont:"PingFangSC-Regular,system-ui,sans-serif",transparency:90,canvas:[],fontSize:13,tWidth:0,tHeight:0,deg:-15},e,{width:e.leftAndRightSpacing,height:e.upAndDownSpacing}),this.options.deg=this.options.tiltAngle*Math.PI/180}var n=e.prototype;return n.init=function(){var e,n,t,i,o,r,a,s,c,u=null;return c=(u=this.createCanvas()).getContext("2d"),u.width=(null===(e=window)||void 0===e||null===(n=e.screen)||void 0===n?void 0:n.width)||(null===(t=document)||void 0===t||null===(i=t.documentElement)||void 0===i?void 0:i.clientWidth)||749,u.height=(null===(o=window)||void 0===o||null===(r=o.screen)||void 0===r?void 0:r.height)||(null===(a=document)||void 0===a||null===(s=a.documentElement)||void 0===s?void 0:s.clientHeight)||326,this.calcTextSize(),this.setCanvasStyle(c),this.drawText(c),u.toDataURL("image/png")},n.calcTextSize=function(){var e,n,t=this.options,i="exclusiveDingTalkWaterMarkCustomClass"+100*Math.random(),o=(e='<span id="'+i+'" style="font:'+t.fontSize+"px "+t.textFont+';visibility:hidden;display:inline-block;">'+t.texts+"</span>",(n=document.createElement("div")).innerHTML=e.trim(),n.firstChild);document.body.appendChild(o);var r=document.getElementById(i),a=Math.max(r.clientWidth,t.texts.length*t.fontSize*1.3)||200,s=Math.min(r.clientHeight,1.3*t.fontSize)||16;t.tWidth=a,t.tHeight=s,document.body.removeChild(o)},n.setCanvasStyle=function(e){var n=this.options,t=n.deg,i=n.fontStyle,o=n.fontSize,r=n.textFont,a=n.fontColor,s=n.transparency;e.rotate(t),e.font=i+" "+o+"px "+r,e.fillStyle=a,e.textAlign="left",e.textBaseline="bottom",e.globalAlpha=(100-s)/100},n.fillContent=function(e,n){for(var t=this.options,i=t.width,o=t.height,r=t.texts,a=t.tWidth,s=t.tHeight,c=0;c<40;c++)for(var u=c*o+s,l=0;l<40;l++){var d;d=c%2==0?e===Nn.RIGHT?(a+i)*l:(a+i)*l+a+i:e===Nn.RIGHT?(a+i)*l+i:(a+i)*l+a,n.fillText(r,e===Nn.RIGHT?d:-d,u)}},n.drawText=function(e){this.fillContent(Nn.RIGHT,e),this.fillContent(Nn.LEFT,e)},n.createCanvas=function(){var e=document.createElement("canvas");return this.options.canvas.push(e),e},e}();function Wn(e,n){var t,i,o,r,a,s,c,u;void 0===n&&(n=An.H5PAGEOTHER);var l=null;try{l=JSON.parse(e)}catch(e){l={}}var d=null===(t=l)||void 0===t||null===(i=t.watermark)||void 0===i?void 0:i.ruleContent,p=null===(o=l)||void 0===o?void 0:o.userInfo;if((null==d?void 0:d.enable)===wn.DISABLE||(null==d?void 0:d.enable)===wn.ENABLE&&(null==d||null===(r=d.effectPage)||void 0===r?void 0:r[n])!==wn.ENABLE)return Ln;var f,g="";return(null==d||null===(a=d.watermarkContent)||void 0===a?void 0:a.enableUsername)===wn.ENABLE&&(g+=null==p?void 0:p.userName),(null==d||null===(s=d.watermarkContent)||void 0===s?void 0:s.enablePhoneNumber)===wn.ENABLE&&(g+=" "+(null==p?void 0:p.lastFourPhoneNo)),null!=d&&null!==(c=d.watermarkContent)&&void 0!==c&&c.customCopy&&(g+=" "+(null==d||null===(f=d.watermarkContent)||void 0===f?void 0:f.customCopy)),g.length?new jn(Object.assign({texts:g,textFont:"PingFangSC-Regular,system-ui,sans-serif"},null==d?void 0:d.watermarkStyle,{fontStyle:Bn[null==d||null===(u=d.watermarkStyle)||void 0===u?void 0:u.fontStyle]})).init():Ln}function Hn(e,n){void 0===n&&(n=An.H5PAGEOTHER);try{return Wn.call(null,JSON.stringify(e),n)}catch(e){return""}}function zn(){return E.invoke("getWifiStatus")}function Gn(){return E.invoke("getWorkbenchContext")}function Un(){return E.invoke("h5PageBack",{_apiName:"goBack"})}function Vn(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"device.notification.hidePreloader",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"device.notification","hidePreloader",e):s===w.IOS&&o.callHandler("device.notification.hidePreloader",Object.assign({},e),(function(e){t(e)}))}else o&&o.call("hideLoading",e,(function(){t()}))}function Jn(){return E.invoke("hideLoading")}function qn(){return E.invoke("hideOptionMenu")}function Kn(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.appType,s=n.context,c=Object.assign(e,{hidden:!0});if(o){var u=function(){e.onSuccess&&e.onSuccess(),t()},l=function(){e.onFail&&e.onFail(),i()};a===k.MINI_APP?s&&s({m:"biz.navigation.hideBar",args:c,onSuccess:u,onFail:l}):r===w.ANDROID?s&&s(u,l,"biz.navigation","hideBar",c):r===w.IOS&&s.callHandler("biz.navigation.hideBar",Object.assign({},c),(function(){t()}))}else s&&s.call("hideTitlebar",c,(function(){t()}))}function Yn(){return E.invoke("hideTitlebar")}function Qn(e){return E.invoke("isDownloadFileExist",e)}function Zn(e){return E.invoke("locateOnMap",e)}function Xn(){return E.invoke("onAudioPlayEnd")}function $n(e){return E.invoke("onRecordAudioEnd",e)}function et(e){return E.invoke("openApiInvoker",e)}function nt(e){return E.invoke("openApp",e)}function tt(e){return E.invoke("openBrowser",e)}function it(e){return E.invoke("openChat",e)}function ot(e){return E.invoke("openDownloadFile",e)}function rt(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;W().then((function(n){var c=-1!==V(n.version,"1.6.2");if(r){var u=function(e){E.handleBridgeResponse(e,t,i)},l=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:c?"taurus.common.openLink":"taurus.common.pushWindow",args:e,onSuccess:u,onFail:l}):s===w.ANDROID?o&&o(u,l,"taurus.common",c?"openLink":"pushWindow",e):s===w.IOS&&o.callHandler(c?"taurus.common.openLink":"taurus.common.pushWindow",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call(c?"openLink":"pushWindow",e,(function(e){E.handleBridgeResponse(e,t,i)}))}))}function at(e){return E.invoke("openLink",e)}function st(e){return E.invoke("openPage",e)}function ct(e){return E.invoke("dgOpenApp",o({},e,{_apiName:"openSchemeUrl"}))}function ut(e){return E.invoke("openSlidePanel",e)}function lt(){return E.invoke("openWatermarkCamera")}function dt(e){return E.invoke("pauseAudio",e)}function pt(e){return E.invoke("pickChat",e)}function ft(e){return E.invoke("pickGroupChat",e)}function gt(e,n){void 0===e&&(e={});var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:s===w.ANDROID?"taurus.common.pickGroupConversation":"internal.chat.pickGroupConversation",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"taurus.common","pickGroupConversation",e):s===w.IOS&&o.callHandler("internal.chat.pickGroupConversation",Object.assign({},e),(function(e){t(e)}))}else o&&o.call("pickGroupConversation",e,(function(){t()}))}function vt(e){return void 0===e&&(e={owner:!1}),E.invoke("pickGroupConversation",e)}function mt(e){return E.invoke("playAudio",e)}function ht(e){return E.invoke("previewDoc",e)}function It(e){return E.invoke("previewImage",e)}function kt(e){return E.invoke("printFile",e)}function wt(e){return E.invoke("printNativeLog",e)}function bt(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType,c={message:e.message,title:e.title,okButton:e.buttonLabels[0],cancelButton:e.buttonLabels[1]};if(r){var u=function(e){E.handleBridgeResponse(e,t,i)},l=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.prompt",args:c,onSuccess:u,onFail:l}):s===w.ANDROID?o&&o(u,l,"taurus.common","prompt",c):s===w.IOS&&o.callHandler("taurus.common.prompt",Object.assign({},c),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("prompt",c,(function(e){var n={errorCode:h.SUCCESS,result:{buttonIndex:e.ok?0:1,value:e.inputValue}};E.handleBridgeResponse(n,t,i)}))}function At(e){return E.invoke("prompt",e)}function yt(e){return E.invoke("pushWindow",e)}function Pt(e){return E.invoke("readImageToBase64",e)}function St(e){return E.invoke("reduceImageSize",e)}function Tt(e){return E.invoke("removeStorageItem",e)}function Ct(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.appType,s=n.context;if(o){var c=function(){e.onSuccess&&e.onSuccess(),t()},u=function(){e.onFail&&e.onFail(),i()};a===k.MINI_APP?s&&s({m:"biz.navigation.replace",args:e,onSuccess:c,onFail:u}):r===w.ANDROID?s&&s(c,u,"biz.navigation","replace",e):r===w.IOS&&s.callHandler("taurus.common.replacePage",Object.assign({},e),(function(){t()}))}else s&&s.call("replacePage",e,(function(){t()}))}function Ot(e){return E.invoke("replacePage",e)}function Et(){return E.invoke("resetView")}function Rt(e){return E.invoke("resumeAudio",e)}function xt(e){return E.invoke("rotateView",e)}function Dt(e){return E.invoke("scan",e)}function Nt(e){return E.invoke("searchOnMap",e)}function Lt(e,n){var t=n.resolve,i=n.context;i&&i.call("sendOutData",function(e){return o({},e,{actionId:"",actionType:"0"})}(e),(function(){t()}))}function Bt(e){return E.invoke("cardSendOutData",e)}function _t(e){return E.invoke("setLocalScreenShotPolicy",e)}function Mt(e){return E.invoke("setNavIcon",e)}function Ft(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType,c=n.watch;if(r){var u=function(n){e.onSuccess&&e.onSuccess(),E.handleBridgeResponse(n,t,i)},l=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"biz.navigation.setLeft",args:e,onSuccess:u,onFail:l}):s===w.ANDROID?o&&o(u,l,"biz.navigation","setLeft",e):s===w.IOS&&o.callHandler("biz.navigation.setLeft",Object.assign({},e),(function(e){!c&&t(e)}))}else o&&o.call("setNavLeftText",e,(function(){t()}))}function jt(e){var n=qe();return E.invoke("setNavLeftText",n===A.isDingTalk?Object.assign({watch:!0,show:!0,control:!1,showIcon:!0,text:""},e):e,{dingTalkAPIName:n===A.isDingTalk?"biz.navigation.setLeft":null})}function Wt(e){var n=qe();return E.invoke("setOptionMenu",n===A.isDingTalk?Object.assign({watch:!0,show:!0,control:!1,showIcon:!0,text:""},e):e,n===A.isDingTalk?{dingTalkAPIName:"biz.navigation.setRight"}:null)}function Ht(e){return E.invoke("setProxyInfo",e)}function zt(e){return E.invoke("setStorageItem",e)}function Gt(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"biz.navigation.setTitle",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"biz.navigation","setTitle",e):s===w.IOS&&o.callHandler("biz.navigation.setTitle",Object.assign({},e),(function(e){E.handleBridgeResponse(e,t,i)}))}else o&&o.call("setTitle",e,(function(){t()}))}function Ut(e){return E.invoke("setTitle",e)}function Vt(e){return E.invoke("shareFileToMessage",e)}function Jt(e){return E.invoke("shareImageToMessage",e)}function qt(e){return E.invoke("shareToMessage",e)}function Kt(){return E.invoke("shootVideo")}function Yt(e){return E.invoke("showActionSheet",e)}function Qt(e){return E.invoke("showCallMenu",e)}function Zt(e){return E.invoke("showDatePicker",e)}function Xt(e){return E.invoke("showDateTimePicker",e)}function $t(e){return E.invoke("showExtendModal",e)}function ei(e){return E.invoke("showHomeBottomTab",e)}function ni(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType;if(r){var c=function(e){E.handleBridgeResponse(e,t,i)},u=function(e){E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"device.notification.showPreloader",args:e,onSuccess:c,onFail:u}):s===w.ANDROID?o&&o(c,u,"device.notification","showPreloader",e):s===w.IOS&&o.callHandler("device.notification.showPreloader",Object.assign({},e),(function(e){t(e)}))}else o&&o.call("showLoading",e,(function(){t()}))}function ti(e){return E.invoke("showLoading",e)}function ii(e){return E.invoke("showModal",e)}function oi(e){return E.invoke("showMultiSelect",e)}function ri(e){return E.invoke("showOnMap",e)}function ai(){return E.invoke("showOptionMenu")}function si(e){return E.invoke("showPlainInputUponKeyboard",e)}function ci(e){return E.invoke("showQuickCallMenu",e)}function ui(e){return E.invoke("showSelect",e)}function li(e){return E.invoke("showSignature",e)}function di(e){return E.invoke("showSocialShare",e)}function pi(e){return E.invoke("showTimePicker",e)}function fi(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.appType,s=n.context,c=Object.assign(e,{hidden:!1});if(o){var u=function(){e.onSuccess&&e.onSuccess(),t()},l=function(){e.onFail&&e.onFail(),i()};a===k.MINI_APP?s&&s({m:"biz.navigation.hideBar",args:c,onSuccess:u,onFail:l}):r===w.ANDROID?s&&s(u,l,"biz.navigation","hideBar",c):r===w.IOS&&s.callHandler("biz.navigation.hideBar",Object.assign({},c),(function(){t()}))}else s&&s.call("showTitlebar",c,(function(){t()}))}function gi(){return E.invoke("showTitlebar")}function vi(e){return E.invoke("startFaceRecognition",e)}function mi(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.platformType,a=n.containerType,s=n.appType,c=E.registerEvent(b.UPDATE_LOCATION,(function(n){var t=n.data;t.errorCode!==h.SUCCESS?e.onFail&&e.onFail(t):e.onSuccess&&e.onSuccess(t.result)}));if(a){var u=function(n){E.registerContinuesEvent(e.sceneId,c),E.handleBridgeResponse(n,t,i)},l=function(n){E.registerContinuesEvent(e.sceneId,c),E.handleBridgeResponse(n,t,i)};s===k.MINI_APP?(console.log("taurus.common.startGeolocation",e),o&&o({m:"taurus.common.startGeolocation",args:e,onSuccess:u,onFail:l})):r===w.ANDROID?o&&o(u,l,"taurus.common","startGeolocation",e):r===w.IOS&&o.callHandler("taurus.common.startGeolocation",Object.assign({},e),(function(n){E.registerContinuesEvent(e.sceneId,c),E.handleBridgeResponse(n,t,i)}))}else o&&o.call("startGeolocation",e,(function(n){E.registerContinuesEvent(e.sceneId,c),E.handleBridgeResponse(n,t,i)}))}function hi(e){return E.invoke("startGeolocation",e)}function Ii(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.appType,s=n.platformType,c=E.registerEvent(b.UPDATE_NETWORK_STATUS,(function(n){var t=n.data;t.errorCode!==h.SUCCESS?e.onFail&&e.onFail(t):e.onSuccess&&e.onSuccess(t.result)}));if(r){var u=function(e){E.registerContinuesEvent(e.result.requestId,c),E.handleBridgeResponse(e,t,i)},l=function(e){E.registerContinuesEvent(e.result.requestId,c),E.handleBridgeResponse(e,t,i)};a===k.MINI_APP?o&&o({m:"taurus.common.startListenNetworkStatus",args:e,onSuccess:u,onFail:l}):s===w.ANDROID?o&&o(u,l,"taurus.common","startListenNetworkStatus",e):s===w.IOS&&o.callHandler("taurus.common.startListenNetworkStatus",Object.assign({},e),(function(e){E.registerContinuesEvent(e.result.requestId,c),E.handleBridgeResponse(e,t,i)}))}else o&&o.call("startListenNetworkStatus",e,(function(e){E.registerContinuesEvent(e.result.requestId,c),E.handleBridgeResponse(e,t,i)}))}function ki(e){return E.invoke("startListenNetworkStatus",e)}function wi(e){return E.invoke("startRecordAudio",e)}function bi(e){return E.invoke("startTraceReport",e)}function Ai(e){return E.invoke("startVPNApp",e)}function yi(e){return E.invoke("startWatchShake",e)}function Pi(e){return E.invoke("stopAudio",e)}function Si(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.appType,s=n.context;if(o){var c=function(n){E.removeContinuesEvent(e.sceneId),E.handleBridgeResponse(n,t,i)},u=function(n){E.removeContinuesEvent(e.sceneId),E.handleBridgeResponse(n,t,i)};a===k.MINI_APP?s&&s({m:"taurus.common.stopGeolocation",args:e,onSuccess:c,onFail:u}):r===w.ANDROID?s&&s(c,u,"taurus.common","stopGeolocation",e):r===w.IOS&&s.callHandler("taurus.common.stopGeolocation",Object.assign({},e),(function(n){E.removeContinuesEvent(e.sceneId),E.handleBridgeResponse(n,t,i)}))}else s&&s.call("stopGeolocation",e,(function(n){E.removeContinuesEvent(e.sceneId),E.handleBridgeResponse(n,t,i)}))}function Ti(e){return E.invoke("stopGeolocation",e)}function Ci(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.appType,a=n.platformType,s=n.context;if(o){var c=function(n){E.removeContinuesEvent(e.requestId),E.handleBridgeResponse(n,t,i)},u=function(n){E.removeContinuesEvent(e.requestId),E.handleBridgeResponse(n,t,i)};r===k.MINI_APP?s&&s({m:"taurus.common.stopListenNetworkStatus",args:e,onSuccess:c,onFail:u}):a===w.ANDROID?s&&s(c,u,"taurus.common","stopListenNetworkStatus",e):a===w.IOS&&s.callHandler("taurus.common.stopListenNetworkStatus",Object.assign({},e),(function(n){E.removeContinuesEvent(e.requestId),E.handleBridgeResponse(n,t,i)}))}else s&&s.call("stopListenNetworkStatus",e,(function(n){E.removeContinuesEvent(e.requestId),E.handleBridgeResponse(n,t,i)}))}function Oi(e){return E.invoke("stopListenNetworkStatus",e)}function Ei(){return E.invoke("stopPullToRefresh",{_apiName:"stopPullToRefresh"})}function Ri(e){return E.invoke("stopRecordAudio",e)}function xi(e){return E.invoke("stopTraceReport",e)}function Di(e){return E.invoke("stopVPNApp",e)}function Ni(){return E.invoke("stopWatchShake")}function Li(e){return E.invoke("subscribe",e)}function Bi(){return E.invoke("takePhoto")}function _i(){return E.invoke("testProxy",{})}function Mi(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType,s=n.appType,c={type:"error"===e.icon?"fail":"success"===e.icon?"success":"none",content:e.text,duration:1e3*e.duration,taurusToastStyle:e.taurusToastStyle};if(r){var u=function(){E.handleBridgeResponse({errorCode:h.SUCCESS,result:{}},t,i)},l=function(e){E.handleBridgeResponse(e,t,i)};s===k.MINI_APP?o&&o({m:"taurus.common.toast",args:c,onSuccess:u,onFail:l}):a===w.ANDROID?o&&o(u,l,"taurus.common","toast",c):a===w.IOS&&o.callHandler("taurus.common.toast",Object.assign({},c),(function(){E.handleBridgeResponse({errorCode:h.SUCCESS,result:{}},t,i)}))}else o&&o.call("toast",c,(function(){E.handleBridgeResponse({errorCode:h.SUCCESS,result:{}},t,i)}))}function Fi(e){return E.invoke("toast",e)}function ji(){return E.invoke("unlockWithSecurityVerification")}function Wi(e){return E.invoke("unsubscribe",e)}function Hi(e){return E.invoke("dgUploadFile",o({},e,{_apiName:"uploadFile"}))}function zi(e){return E.invoke("uploadFileByType",e)}function Gi(e){return new Promise((function(n,t){my.uploadFile(o({},e,{success:function(e){n(e)},fail:function(e){t(e)}}))}))}function Ui(e){return E.invoke("uploadRemoteFileToDisk",e)}function Vi(e){return E.invoke("ut",e)}function Ji(e){return E.invoke("vibrate",e)}E.registerAPI("getWifiStatus",{mobile:!0,mini:!0}),zn.version={android:"1.3.5",ios:"1.3.5"},E.registerAPI("getWorkbenchContext",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getWorkbenchContext",e)}}),Gn.version={android:"2.1.10",ios:"2.1.10"},E.registerAPI("h5PageBack",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;r?a===w.ANDROID?o&&o((function(e){E.handleBridgeResponse(e,t,i)}),(function(e){E.handleBridgeResponse(e,t,i)}),"biz.navigation","goBack",e):a===w.IOS&&o.callHandler("biz.navigation.goBack",Object.assign({},e),(function(e){t(e)})):o&&o.call("h5PageBack",{_apiName:"goBack"},(function(){t()}))}}),Un.version={android:"1.3.0",ios:"1.3.9"},E.registerAPI("hideLoading",{mini:Vn,mobile:Vn}),Jn.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("hideOptionMenu",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=(n.appType,n.platformType);if(r){var s={show:!1,control:!0,text:""};a===w.ANDROID?o&&o((function(e){E.handleBridgeResponse(e,t,i)}),(function(e){E.handleBridgeResponse(e,t,i)}),"biz.navigation","setRight",s):a===w.IOS&&o.callHandler("biz.navigation.setRight",Object.assign({},s),(function(e){t(e)}))}else o&&o.call("hideOptionMenu",e,(function(){t()}))}}),qn.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("hideTitlebar",{mini:Kn,mobile:Kn}),Yn.version={android:"2.1.0",ios:"2.1.0"},E.registerAPI("isDownloadFileExist",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.isLocalFileExist",e)}}),Qn.version={pc:"1.3.5"},E.registerAPI("locateOnMap",{mobile:!0,mini:!0}),Zn.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("onAudioPlayEnd",{mini:!0,mobile:!0}),Xn.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("onRecordAudioEnd",{mini:!0,mobile:!0}),$n.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("openApiInvoker",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"openApiInvoker",e)}}),et.version={ios:"3.0.1",android:"3.0.1",pc:"3.0.1"},E.registerAPI("openApp",{mini:!0,mobile:!0}),nt.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("openBrowser",{mini:!0,mobile:!0}),tt.version={android:"1.2.3"},E.registerAPI("openChat",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"internal.chat.toConversation",{cid:e.chatId})}}),it.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"},E.registerAPI("openDownloadFile",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openLocalFile",e)}}),ot.version={pc:"1.3.5"},E.registerAPI("openLink",{mini:rt,mobile:rt,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openLink",e)}}),at.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"},E.registerAPI("openPage",{mini:!0,mobile:!0}),st.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("dgOpenApp",{mobile:!0,mini:!0}),ct.version={android:"1.3.1.1",ios:"1.3.1.1"},E.registerAPI("openSlidePanel",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openSlidePanel",e)}}),ut.version={pc:"1.3.5"},E.registerAPI("openWatermarkCamera",{mobile:!0,mini:!0}),lt.version={android:"1.3.7",ios:"1.3.7"},E.registerAPI("pauseAudio",{mini:!0,mobile:!0}),dt.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("pickChat",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.chat.pickConversation",e)}}),pt.version={android:"1.2.0",ios:"1.2.0",pc:"2.9.0"},E.registerAPI("pickChatByCorpId",{mini:!0,mobile:!0}),E.registerAPI("pickGroupChat",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.pickGroupChat",e)}}),ft.version={pc:"2.10.30"},E.registerAPI("pickGroupConversation",{mini:gt,mobile:gt}),vt.version={android:"2.8.0",ios:"2.8.0"},E.registerAPI("playAudio",{mini:!0,mobile:!0}),mt.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("previewDoc",{mini:!0,mobile:!0}),ht.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("previewImage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.previewImage",e)}}),It.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"},E.registerAPI("printFile",{mini:!0,mobile:!0}),kt.version={android:"2.2.10"},E.registerAPI("printNativeLog",{mini:!0,mobile:!0}),wt.version={android:"1.9.4",ios:"1.9.4"},E.registerAPI("prompt",{mini:bt,mobile:bt,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.prompt",e)}}),At.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"},E.registerAPI("pushWindow",{mini:!0,mobile:!0}),yt.version={android:"2.9.7",ios:"2.9.7"},E.registerAPI("readImageToBase64",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"readImageToBase64",e)}}),Pt.version={ios:"2.1.0",android:"2.1.0",pc:"2.1.0"},function(e){e[e.ADJUST_BY_NET=0]="ADJUST_BY_NET",e[e.LOW_QUALITY=1]="LOW_QUALITY",e[e.MID_QUALITY=2]="MID_QUALITY",e[e.HIGH_QUALITY=3]="HIGH_QUALITY",e[e.NOT_COMPRESSED=4]="NOT_COMPRESSED",e[e.CUSTOM=5]="CUSTOM"}(_n||(_n={})),E.registerAPI("reduceImageSize",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"reduceImageSize",e)}}),St.version={ios:"2.1.0",android:"2.1.0",pc:"2.1.0"},E.registerAPI("removeStorageItem",{mobile:!0,mini:!0}),Tt.version={android:"1.3.1.1",ios:"1.3.1.1"},E.registerAPI("replacePage",{mini:Ct,mobile:Ct}),Ot.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("resetView",{mini:!0,mobile:!0}),Et.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("resumeAudio",{mini:!0,mobile:!0}),Rt.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("rotateView",{mini:!0,mobile:!0}),xt.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("scan",{mini:!0,mobile:!0}),Dt.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("searchOnMap",{mini:!0,mobile:!0}),Nt.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("cardSendOutData",{mini:Lt,mobile:Lt}),Bt.version={android:"2.5.0",ios:"2.5.0"},function(e){e.DEFAULT="0",e.DISABLEALL="1",e.ENABLEALL="2"}(Mn||(Mn={})),E.registerAPI("setLocalScreenShotPolicy",{mini:!0,mobile:!0}),_t.version={android:"2.12.12",ios:"2.12.12"},E.registerAPI("setNavIcon",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.context;o?r===w.ANDROID?a&&a((function(n){e.onSuccess&&e.onSuccess(),t()}),(function(e){i()}),"biz.navigation","setIcon",e):r===w.IOS&&a.callHandler("biz.navigation.setIcon",Object.assign({},e),(function(e){t()})):a&&a.call("setNavIcon",e,(function(e){t()}))}}),Mt.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("setNavLeftText",{mini:Ft,mobile:Ft,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.navigation.setLeft",e)}}),jt.version={ios:"1.2.0",pc:"1.2.0"},E.registerAPI("setOptionMenu",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;if(r){var s,c,u={text:e.title,show:void 0===e.show||e.show,control:void 0===e.control||e.control};if(a===w.ANDROID)o&&o((function(n){e.onSuccess&&e.onSuccess(n),t(n)}),(function n(t){e.onFail&&e.onFail(t),i(n)}),"biz.navigation",(null==e||null===(s=e.menus)||void 0===s?void 0:s.length)>1?"setMenu":"setRight",(null==e||null===(c=e.menus)||void 0===c?void 0:c.length)>1?e:u);else if(a===w.IOS){var l,d;o.callHandler((null==e||null===(l=e.menus)||void 0===l?void 0:l.length)>1?"biz.navigation.setMenu":"biz.navigation.setRight",Object.assign({},(null==e||null===(d=e.menus)||void 0===d?void 0:d.length)>1?e:u),(function(){t()}))}}else o&&o.call("setOptionMenu",e,(function(){t()}))}}),Wt.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("setProxyInfo",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"net.util.setProxyInfo",e)}}),Ht.version={pc:"2.10.0"},E.registerAPI("setStorageItem",{mobile:!0,mini:!0}),zt.version={android:"1.3.1.1",ios:"1.3.1.1"},function(e){e.TRUE="true",e.FALSE="false"}(Fn||(Fn={})),E.registerAPI("setTitle",{mini:Gt,mobile:Gt,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.navigation.setTitle",e)}}),Ut.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"},E.registerAPI("shareFileToMessage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"shareFileToMessage",e)}}),Vt.version={android:"1.8.2",ios:"1.8.2",pc:"1.8.2"},E.registerAPI("shareImageToMessage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"shareImageToMessage",e)}}),Jt.version={android:"1.8.2",ios:"1.8.2",pc:"1.8.2"},E.registerAPI("shareToMessage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.share",e)}}),qt.version={android:"1.3.5",ios:"1.3.5",pc:"1.3.5"},E.registerAPI("shootVideo",{mini:!0,mobile:!0}),Kt.version={android:"1.3.5",ios:"1.3.5"},E.registerAPI("showActionSheet",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.actionSheet",e)}}),Yt.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"},E.registerAPI("showCallMenu",{mini:!0,mobile:!0}),Qt.version={android:"1.3.9",ios:"1.3.9"},E.registerAPI("showDatePicker",{mobile:!0,mini:!0}),Zt.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("showDateTimePicker",{mini:!0,mobile:!0}),Xt.version={android:"1.3.10",ios:"1.3.10"},E.registerAPI("showExtendModal",{mini:!0,mobile:!0}),$t.version={android:"1.3.5",ios:"1.3.5"},E.registerAPI("showHomeBottomTab",{mobile:!0}),ei.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("showLoading",{mini:ni,mobile:ni}),ti.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("showModal",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openModal",e)}}),ii.version={android:"1.3.5",ios:"1.3.5",pc:"1.3.5"},E.registerAPI("showMultiSelect",{mini:!0,mobile:!0}),oi.version={android:"1.3.10",ios:"1.3.10"},E.registerAPI("showOnMap",{mini:!0,mobile:!0}),ri.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("showOptionMenu",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.platformType;n.containerType?r===w.ANDROID?o&&o((function(){t()}),(function(){i()}),"taurus.common","showOptionMenu",e):r===w.IOS&&o.callHandler("taurus.common.showOptionMenu",Object.assign({},e),(function(){t()})):o&&o.call("showOptionMenu",e,(function(){t()}))}}),ai.version={android:"1.1.0",ios:"1.1.0"},E.registerAPI("showPlainInputUponKeyboard",{mobile:!0,mini:!0}),si.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("showQuickCallMenu",{mini:!0,mobile:!0}),ci.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("showSelect",{mini:!0,mobile:!0}),ui.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("showSignature",{mobile:!0}),li.version={android:"1.3.4"},E.registerAPI("showSocialShare",{mini:!0,mobile:!0}),di.version={android:"1.2.0.10",ios:"1.2.0.10"},E.registerAPI("showTimePicker",{mobile:!0,mini:!0}),pi.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("showTitlebar",{mini:fi,mobile:fi}),gi.version={android:"2.1.0",ios:"2.1.0"},E.registerAPI("startFaceRecognition",{mini:!0,mobile:!0}),vi.version={android:"1.8.2",ios:"1.8.2"},E.registerAPI("startGeolocation",{mobile:mi,mini:mi}),hi.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("startListenNetworkStatus",{mobile:Ii,mini:Ii}),ki.version={android:"1.3.1.1",ios:"1.3.1.1"},E.registerAPI("startRecordAudio",{mini:!0,mobile:!0}),wi.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("startTraceReport",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType,s=n.appType,c=E.registerEvent(b.UPDATE_TRACE,(function(n){var t=n.data;t.errorCode&&t.errorCode!==h.SUCCESS?e.onFail&&e.onFail(t):e.onSuccess&&e.onSuccess(t.result||t)}));if(r){var u=function(n){E.registerContinuesEvent(e.traceId,c),E.handleBridgeResponse(n,t,i)},l=function(n){E.registerContinuesEvent(e.traceId,c),E.handleBridgeResponse(n,t,i)};s===k.MINI_APP?o&&o({m:"taurus.common.startTraceReport",args:e,onSuccess:u,onFail:l}):a===w.ANDROID?o&&o(u,l,"taurus.common","startTraceReport",e):a===w.IOS&&o.callHandler("taurus.common.startTraceReport",Object.assign({},e),(function(n){E.registerContinuesEvent(e.traceId,c),E.handleBridgeResponse(n,t,i)}))}else o&&o.call("startTraceReport",e,(function(n){E.registerContinuesEvent(e.traceId,c),E.handleBridgeResponse(n,t,i)}))},mini:!0}),bi.version={android:"1.3.4",ios:"1.3.4"},E.registerAPI("startVPNApp",{mini:!0,mobile:!0}),Ai.version={android:"1.6.0",ios:"1.6.0"},E.registerAPI("startWatchShake",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType,s=E.registerEvent(b.ON_SHAKE,(function(){e.onSuccess&&e.onSuccess()}));r?a===w.ANDROID?o&&o((function(n){e.onSuccess&&e.onSuccess(),t()}),(function(e){i()}),"taurus.common","startWatchShake",e):a===w.IOS&&o.callHandler("taurus.common.startWatchShake",Object.assign({},e),(function(e){t()})):o&&o.call("startWatchShake",e,(function(e){E.registerContinuesEvent("shake",s),E.handleBridgeResponse(e,t,i)}))}}),yi.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("stopAudio",{mini:!0,mobile:!0}),Pi.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("stopGeolocation",{mobile:Si,mini:Si}),Ti.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("stopListenNetworkStatus",{mini:Ci,mobile:Ci}),Oi.version={android:"1.3.1.1",ios:"1.3.1.1"},E.registerAPI("stopPullToRefresh",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType;r?a===w.ANDROID?o&&o((function(){t()}),(function(){i()}),"ui.pullToRefresh","stop",e):a===w.IOS&&o.callHandler("ui.pullToRefresh.stop",Object.assign({},e),(function(){t()})):o&&o.call("restorePullToRefresh",e,(function(){t()}))}}),Ei.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("stopRecordAudio",{mini:!0,mobile:!0}),Ri.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("stopTraceReport",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.context;o?r===w.ANDROID?a&&a((function(n){E.removeContinuesEvent(e.traceId),E.handleBridgeResponse(n,t,i)}),(function(n){E.removeContinuesEvent(e.traceId),E.handleBridgeResponse(n,t,i)}),"taurus.common","stopTraceReport",e):r===w.IOS&&a.callHandler("taurus.common.stopTraceReport",Object.assign({},e),(function(n){E.removeContinuesEvent(e.traceId),E.handleBridgeResponse(n,t,i)})):a&&a.call("stopTraceReport",e,(function(n){E.removeContinuesEvent(e.traceId),E.handleBridgeResponse(n,t,i)}))}}),xi.version={android:"1.3.4",ios:"1.3.4"},E.registerAPI("stopVPNApp",{mini:!0,mobile:!0}),Di.version={android:"1.6.0",ios:"1.6.0"},E.registerAPI("stopWatchShake",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.containerType,r=n.platformType,a=n.context;o?r===w.ANDROID?a&&a((function(n){e.onSuccess&&e.onSuccess(),t()}),(function(e){i()}),"taurus.common","stopWatchShake",e):r===w.IOS&&a.callHandler("taurus.common.stopWatchShake",Object.assign({},e),(function(e){t()})):a&&a.call("stopWatchShake",e,(function(e){E.removeContinuesEvent("shake"),E.handleBridgeResponse(e,t,i)}))}}),Ni.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("subscribe",{mobile:function(e,n){var t=n.resolve,i=n.reject,o=n.context,r=n.containerType,a=n.platformType,s=!1;r?a===w.ANDROID?o&&o((function(n){s?(e.onSuccess||e.onFail)&&("0"!==n.errorCode?e.onFail&&e.onFail(n):e.onSuccess&&e.onSuccess(n.result)):(s=!0,E.handleBridgeResponse(n,t,i))}),(function(n){s?e.onFail&&e.onFail(n):(s=!0,E.handleBridgeResponse(n,t,i))}),"taurus.common","subscribe",e):a===w.IOS&&o.callHandler("taurus.common.subscribe",Object.assign({},e),(function(n){s?(e.onSuccess||e.onFail)&&("0"!==n.errorCode?e.onFail&&e.onFail(n):e.onSuccess&&e.onSuccess(n.result)):(s=!0,E.handleBridgeResponse(n,t,i))})):o&&o.call("subscribe",e,(function(n){s?(e.onSuccess||e.onFail)&&("0"!==n.errorCode?e.onFail&&e.onFail(n):e.onSuccess&&e.onSuccess(n.result)):(s=!0,E.handleBridgeResponse(n,t,i))}))}}),Li.version={android:"1.6.0",ios:"1.6.0"},E.registerAPI("takePhoto",{mini:!0,mobile:!0}),Bi.version={android:"1.3.5",ios:"1.3.5"},E.registerAPI("testProxy",{pc:function(e,n){void 0===e&&(e={}),window.dingtalk.platform.invokeAPI(n.msgId,"net.util.testProxy",e)}}),_i.version={pc:"2.10.0"},E.registerAPI("toast",{mobile:Mi,mini:Mi,pc:function(e,n){var t=e.icon,i=e.text,o=e.duration,r=e.delay;window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.toast",{type:t,text:i,duration:o,delay:r})}}),Fi.version={android:"1.3.2",ios:"1.3.2"},E.registerAPI("unlockWithSecurityVerification",{mini:!0,mobile:!0}),ji.version={android:"1.3.1.1",ios:"1.3.1.1"},E.registerAPI("unsubscribe",{mobile:!0}),Wi.version={android:"1.6.0",ios:"1.6.0"},E.registerAPI("dgUploadFile",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.dgUploadFile",e)}}),Hi.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"},E.registerAPI("uploadFileByType",{mini:!0,mobile:!0}),zi.version={android:"1.3.0",ios:"1.3.0"},E.registerAPI("uploadFile",{mini:!0}),Gi.version={android:"1.6.2",ios:"1.6.2"},E.registerAPI("uploadRemoteFileToDisk",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.uploadRemoteFileToDisk",e)}}),Ui.version={android:"1.6.0",ios:"1.6.0",pc:"2.6.0"},E.registerAPI("ut",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.ut",e)}}),Vi.version={pc:"1.3.10"},E.registerAPI("vibrate",{mini:!0,mobile:!0}),Ji.version={android:"1.3.1",ios:"1.3.1"};var qi={alert:x,authConfig:D,bizContactDepartmentsPickerExternal:L,bizCustomContactChooseExternal:_,bizCustomContactMultipleChooseExternal:F,callPhone:j,canIUse:function(e){return ie.apply(this,arguments)},checkVPNAppInstalled:oe,checkVPNAppOnline:re,chooseContact:ae,chooseContactWithComplexPicker:ce,chooseDateRangeWithCalendar:ue,chooseDayWithCalendar:le,chooseDepartments:de,chooseFile:pe,chooseHalfDayWithCalendar:fe,chooseImage:ge,chooseInterconnectionChat:ve,chooseLocalImage:me,chooseSpaceDir:he,chooseTimeWithCalendar:Ie,chooseVideo:ke,closePage:be,complexPickerAdmin:Ae,confirm:ye,copyToClipboard:Pe,createChatGroup:Se,createDing:Te,createDingV2:Ce,createVideoMeeting:Oe,dealWithBackAction:Ee,disableClosePage:Re,disablePullToRefresh:xe,disableWebviewBounce:De,downloadAudio:Ne,downloadFile:Me,enablePullToRefresh:Fe,enableVpn:je,enableWebviewBounce:We,exclusiveInvoke:He,faceComparison:ze,faceRecognition:Ge,getAppInstallStatus:Ue,getAuthCode:Ve,getConfig:Je,getContainerType:qe,getDeviceId:Ke,getFromClipboard:Ye,getGeolocation:Qe,getGeolocationStatus:Ze,getHotspotInfo:Xe,getLanguageSetting:$e,getLoginUser:en,getNetworkType:nn,getPhoneInfo:tn,getProxyInfo:on,getStorageItem:rn,getTraceStatus:an,getUUID:sn,getUserAgent:fn,getWaterMark:Rn,getWaterMarkConfigV2:xn,getWaterMarkV2:function(e){return new Promise((function(n,t){W().then((function(i){-1!==V(i.version,"2.8.0")?xn({pageInfo:e}).then((function(i){try{var o=Hn(i,e);n(o)}catch(e){t(e)}})):gn({pageInfo:e}).then((function(i){try{var o=En(i,e);n(o)}catch(e){t(e)}}))})).catch((function(){gn({pageInfo:e}).then((function(i){try{var o=En(i,e);n(o)}catch(e){t(e)}}))}))}))},getWifiStatus:zn,getWorkbenchContext:Gn,goBack:Un,hideLoading:Jn,hideOptionMenu:qn,hideTitleBar:Yn,isDownloadFileExist:Qn,locateOnMap:Zn,on:function(e,n){return E.registerEvent(e,n)},onAudioPlayEnd:Xn,onRecordAudioEnd:$n,openApiInvoker:et,openApp:nt,openBrowser:tt,openChat:it,openDownloadFile:ot,openLink:at,openPage:st,openSchemeUrl:ct,openSlidePanel:ut,openWatermarkCamera:lt,pauseAudio:dt,pickChat:pt,pickChatByCorpId:function(e){return E.invoke("pickChatByCorpId",e)},pickGroupChat:ft,pickGroupConversation:vt,playAudio:mt,previewDoc:ht,previewImage:It,printFile:kt,printNativeLog:wt,prompt:At,pushWindow:yt,readImageToBase64:Pt,ready:function(e){"function"==typeof e?E.onReady(e):console.error("dd.ready's param must be function! ")},reduceImageSize:St,removeStorageItem:Tt,replacePage:Ot,resetView:Et,resumeAudio:Rt,rotateView:xt,scan:Dt,searchOnMap:Nt,sendOutData:Bt,setLocalScreenShotPolicy:_t,setNavIcon:Mt,setNavLeftText:jt,setOptionMenu:Wt,setProxyInfo:Ht,setStorageItem:zt,setTitle:Ut,shareFileToMessage:Vt,shareImageToMessage:Jt,shareToMessage:qt,shootVideo:Kt,showActionSheet:Yt,showCallMenu:Qt,showDatePicker:Zt,showDateTimePicker:Xt,showExtendModal:$t,showHomeBottomTab:ei,showLoading:ti,showModal:ii,showMultiSelect:oi,showOnMap:ri,showOptionMenu:ai,showPlainInputUponKeyboard:si,showQuickCallMenu:ci,showSelect:ui,showSignature:li,showSocialShare:di,showTimePicker:pi,showTitleBar:gi,startFaceRecognition:vi,startGeolocation:hi,startListenNetworkStatus:ki,startRecordAudio:wi,startTraceReport:bi,startVPNApp:Ai,startWatchShake:yi,stopAudio:Pi,stopGeolocation:Ti,stopListenNetworkStatus:Oi,stopPullToRefresh:Ei,stopRecordAudio:Ri,stopTraceReport:xi,stopVPNApp:Di,stopWatchShake:Ni,subscribe:Li,takePhoto:Bi,testProxy:_i,toast:Fi,unlockWithSecurityVerification:ji,unsubscribe:Wi,uploadFile:Hi,uploadFileByType:zi,uploadLocalFile:Gi,uploadRemoteFileToDisk:Ui,ut:Vi,version:W,vibrate:Ji};if(E.getAppType()===k.MINI_APP)qi=new Proxy(qi,{get:function(e,n,t){return n in qi?Reflect.get(e,n,t):function(e,n){if(e)return function(t){return"function"==typeof t||n.includes("Sync")||n.startsWith("create")?e(t):new Promise((function(n,i){e(o({},t,{success:function(e){n(e)},fail:function(e){i(e)}}))}))}}(Reflect.get(my,n,t),n)}});else{window.dd&&console.warn("已经存在 window.dd 变量,引入 gdt-jsapi 会修改 window.dd 的值。");try{Object.defineProperty(window,"dd",{value:qi,writable:!0})}catch(_e){console.error(_e)}window.gdt&&console.warn("已经存在 window.gdt 变量,引入 gdt-jsapi 会修改 window.gdt 的值。");try{Object.defineProperty(window,"gdt",{value:qi,writable:!0})}catch(_e){console.error(_e)}}var Ki=qi,Yi={class:"login"},Qi=r({name:"login"});n("default",Object.assign(Qi,{setup:function(n){var i=p(),o=function(){var n=t(e().mark((function n(){var t,o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ki.getAuthCode({});case 2:if(!(t=e.sent)){e.next=12;break}return localStorage.clear(),console.log("result: ",t),c({message:"登录中..."}),e.next=9,u({code:t.code,loginType:"DING_AC_LOGIN"});case 9:o=e.sent,console.log(o),setTimeout((function(){l("登录成功!"),setTimeout((function(){i.replace({name:"indicatorBoard"})}),1e3)}),1500);case 12:case"end":return e.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return a((function(){o()})),function(e,n){return d(),s("div",Yi)}}}))}}}))}();