找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 9|回复: 0

19898175_初步堕落

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224400
余额
13 R
Moe币
84881
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-9
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function te(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */te=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:E(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var y="suspendedStart",p="suspendedYield",d="executing",m="completed",b={};function h(){}function g(){}function v(){}var _={};s(_,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(Z([])));x&&x!==r&&n.call(x,a)&&(_=x);var j=v.prototype=h.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,i,a,c){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==$(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,r,n){var o=y;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(t,r,n);if("normal"===s.type){if(o=n.done?m:p,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function Z(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError($(t)+" is not iterable")}return g.prototype=v,o(j,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:g,configurable:!0}),g.displayName=s(v,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},O(S.prototype),s(S.prototype,c,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(j),s(j,u,"Generator"),s(j,a,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=Z,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){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&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:Z(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function re(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function ne(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){re(i,n,o,a,c,"next",e)}function c(e){re(i,n,o,a,c,"throw",e)}a(void 0)}))}}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||ie(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ie(e,t){if(e){if("string"==typeof e)return ae(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(e,t):void 0}}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ce={category_id:"SmartLayoutExam",category_name:"习题试卷",category_description:"适合各类习题试卷文档",category_background:X,category_thumbnail:H},ue={category_id:"SmartLayoutEssay",category_name:"导入范文排版",category_description:"将其格式应用于当前文档",category_background:"",category_thumbnail:"",name:"导入范文",text:"选择文件"};function se(){var e,t,r,a=oe((0,w._P)(),3),c=a[0],u=a[1],s=a[2],l=function(){var e=oe((0,i.oR)("categoryList"),2),t=e[0],r=e[1];return(0,w.ab)((function(){z.Z.getCategoryList().then((function(e){r(e)}))})),t}(),f=(e=oe((0,o.useState)(null),2),t=e[0],r=e[1],(0,w.ab)((function(){B.Z.getComposingOrder().then((function(e){r(e)}))})),t),y=(0,V.s0)(),p=oe((0,o.useState)(!1),2),d=p[0],m=p[1],b=oe((0,w.QT)(K.Z.openFileSelect),2),h=b[0],g=b[1],v=oe((0,o.useState)(!1),2),j=v[0],O=v[1],S=oe((0,o.useState)(!1),2),E=S[0],k=S[1],C=(0,o.useRef)(null),L=(0,o.useRef)(null);(0,w.aO)({text:J.Z.t("5dd19bdc1d"),backButtonVisible:!1}),(0,o.useEffect)((function(){null!=f&&f.mkKey&&(D.ZP.setMkKey(f.mkKey),K.Z.setMkKey(f.mkKey),D.ZP.report(D.Cb.TIANCE_SHOW,{mk_key:f.mkKey}))}),[null==f?void 0:f.mkKey]),(0,w.ab)((function(){z.Z.getExamPaperConfig().then((function(e){var t;m(null!==(t=null==e?void 0:e.enabled)&&void 0!==t&&t)}))})),(0,w.ab)((function(){var e=function(){var e=ne(te().mark((function e(){var t;return te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,G.Z.getGexinghuaSwitchConfig();case 3:t=e.sent,k(t),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),k(!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();e()}));var P=(0,o.useMemo)((function(){if(!l.length)return[];var e,t=(null==f?void 0:f.order)||x.Hr,r=[],n=ee(t);try{var o=function(){var t=e.value;if("SmartLayoutEssay"===t)r.push({id:t,isEssay:!0,category:ue});else{var n=l.find((function(e){return e.category_id===t}));n&&r.push({id:t,isEssay:!1,category:n})}};for(n.s();!(e=n.n()).done;)o()}catch(e){n.e(e)}finally{n.f()}var i,a=ee(l);try{var c=function(){var e=i.value;r.some((function(t){return t.id===e.category_id}))||r.push({id:e.category_id,isEssay:!1,category:e})};for(a.s();!(i=a.n()).done;)c()}catch(e){a.e(e)}finally{a.f()}if(d&&!r.some((function(e){return"SmartLayoutExam"===e.id}))){var u=r.reduce((function(e,t,r){return"SmartLayoutExam"!==t.id&&l.some((function(e){return e.category_id===t.id}))?r:e}),-1);r.splice(u+1,0,{id:"SmartLayoutExam",isEssay:!1,category:ce})}return r.some((function(e){return e.isEssay}))||r.push({id:"SmartLayoutEssay",isEssay:!0,category:ue}),E?r.filter((function(e){return!e.isEssay})):r}),[l,f,d,E]),Z=(0,o.useCallback)(function(){var e=ne(te().mark((function e(t){var r,n,o,i,a,u,s;return te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(D.ZP.report(D.Cb.TIANCE_CLICK,{func_name:t.category_id}),n=t.category_id,o=t.category_name,i=x.Xr[n]){e.next=5;break}return e.abrupt("return");case 5:if(!j){e.next=8;break}return U.Z.info(U.m.AI_IN_PROGRESS),e.abrupt("return");case 8:if(!(a=i.subMenus)){e.next=13;break}return D.ZP.report(D.Cb.FUNCCLICK,{func_name:a.func_name,function_code:D.n2[n]}),y(a.path),e.abrupt("return");case 13:if(K.Z.checkCanTypeset()){e.next=15;break}return e.abrupt("return");case 15:return u=null===(r=x.Xr[n])||void 0===r?void 0:r.directTypeset,e.next=18,K.Z.applyComposing({name:u?"triggerDirectTypeset":"triggerTypesetWithPresetTemplate",params:{category_id:n,module_id:o}},(function(e){D.ZP.report(D.Cb.FUNCCLICK,{func_name:"ai_typesetting",page_name:"doc_format_page",function_code:D.n2["normal"===c?n:"TypeDocAgain"],ai_request_info:JSON.stringify({module_id:o,type:D.vE[n]}),request_id:e.request_id})}));case 18:0===(s=e.sent).code||s.noToast||U.Z.error(U.m.SERVER_ERROR);case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[c,j]),T=(0,o.useCallback)(ne(te().mark((function e(){var t,r,n,o,i,a;return te().wrap((function(e){for(;;)switch(e.prev=e.next){ca
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-10 17:34 , Processed in 0.091020 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表