PageSourceSearch

https://ai.qhnu.edu.cn/static/js/18156.440b72b6.js

js qhnu.edu.cn collected 2026-09-24 21:42:24 UTC 12,883 bytes, 2 lines download raw bytes

vendor: 5,176 bytes, line 1
1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3dc3ed50-8b0a-4d6f-b68f-356ece38519f",e._sentryDebugIdIdentifier="sentry-dbid-3dc3ed50-8b0a-4d6f-b68f-356ece38519f")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"6b6fddd13.26092223-production"};(self.webpackChunkmy_project=self.webpackChunkmy_project||[]).push([[18156,77691],{4635:function(e,t,r){r.r(t),r.d(t,{default:function(){return h}});r(52675),r(89463),r(2259),r(45700),r(16280),r(2008),r(23792),r(62062),r(44114),r(94490),r(34782),r(89572),r(62010),r(18111),r(22489),r(7588),r(2892),r(83851),r(81278),r(40875),r(79432),r(26099),r(3362),r(27495),r(90906),r(47764),r(25440),r(42762),r(23500),r(62953);var n=r(58928),o=r(8143);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)}function a(){"use strict";a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new C(n||[]);return o(a,"_invoke",{value:T(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",y="suspendedYield",m="executing",v="completed",g={};function b(){}function _(){}function w(){}var k={};f(k,c,(function(){return this}));var O=Object.getPrototypeOf,E=O&&O(O(I([])));E&&E!==r&&n.call(E,c)&&(k=E);var x=w.prototype=b.prototype=Object.create(k);function L(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,s,c){var u=p(e[o],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function T(t,r,n){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=D(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var u=p(t,r,n);if("normal"===u.type){if(o=n.done?v:y,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=v,n.method="throw",n.arg=u.arg)}}}function D(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,D(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;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,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function I(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=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 a.next=a}}throw new TypeError(i(t)+" is not iterable")}return _.prototype=w,o(x,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:_,configurable:!0}),_.displayName=f(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(j.prototype),f(j.prototype,u,(function(){return this})),t.AsyncIterator=j,t.async=function(e,r,n,o,i){void 0===i&&(i=Prom
1ise);var a=new j(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"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=I,C.prototype={constructor:C,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(S),!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 s.type="throw",s.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],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw 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,g):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),g},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),S(r),g}},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;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=[{value:"GARBLED_TEXT",labelKey:"common.knowledgeBase.segment_feedback_type_garbled"},{value:"FORMAT_ERROR",labelKey:"common.knowledgeBase.segment_feedback_type_format"},{value:"PARSE_ERROR",labelKey:"common.knowledgeBase.segment_feedback_type_parse"},{value:"CONTENT_MISSING",labelKey:"common.knowledgeBase.segment_feedback_type_missing"},{value:"OTHER",labelKey:"common.knowledgeBase.segment_feedback_type_other"}],d={name:"SegmentFeedbackDialog",components:{CxVditor:n.default},props:{baseId:{type:[String,Number],default:""},fileKey:{type:String,default:""},cloudDiskToken:{type:Object,default:function(){return{}}}},data:function(){return{issueType:"",issueDesc:"",submitting:!1,vditorInstance:null,editorOptions:{height:220}}},computed:{issueTypeOptions:function(){var e=this;return f.map((function(t){return u(u({},t),{},{label:e.$t(t.labelKey)})}))}},methods:{fnCancel:function(){this.$emit("cancel")},fnDescChange:function(e){this.issueDesc=e},fnEditorLoaded:function(e){this.vditorInstance=e},fnGetPureDesc:function(){return this.issueDesc.replace(/!\[[^\]]*\]\([^)]*\)/g,"").trim()},fnConfirm:function(){var e,t=this;return(e=a().mark((function e(){var r,n,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.issueType){e.next=3;break}return t.$message.warning(t.$t("common.knowledgeBase.segment_feedback_type_required")),e.abrupt("return");case 3:if(t.fnGetPureDesc()||/!\[/.test(t.issueDesc)){e.next=6;break}return t.$message.warning(t.$t("common.knowledgeBase.segment_feedback_desc_required")),e.abrupt("return");case 6:return t.submitting=!0,e.prev=7,e.next=10,(0,o.Z)({baseId:+t.baseId,fileKey:t.fileKey,issueType:t.issueType,issueDesc:t.vditorInstance?t.vditorInstance.getHTML():t.issueDesc});case 10:if(r=e.sent,n=r.statusCode,i=r.msg,0===n){e.next=16;break}return t.$message.error(i),e.abrupt("return");case 16:t.$message.success(t.$t("common.knowledgeBase.segment_feedback_submit_success")),t.$emit("confirm");case 18:return e.prev=18,t.submitting=!1,e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[7,,18,21]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,c,"next",e)}function c(e){s(i,n,o,a,c,"throw",e)}a(void 0)}))})()}}},p=d,h=(0,r(14486).A)(p,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"segment-feedback-dialog"},[t("div",{staticClass:"form-item"},[t("div",{staticClass:"form-label"},[t("span",{staticClass:"required"},[e._v("*")]),e._v(" "),t("span",[e._v(e._s(e.$t("common.knowledgeBase.segment_feedback_issue_type")))])]),e._v(" "),t("div",{staticClass:"issue-type-group"},e._l(e.issueTypeOptions,(function(r){return t("div",{key:r.value,staticClass:"issue-type-item",class:{active:e.issueType===r.value},on:{click:function(t){e.issueType=r.value}}},[e._v("\n        "+e._s(r.label)+"\n      ")])})),0)]),e._v(" "),t("div",{staticClass:"form-item"},[t("div",{staticClass:"form-label"},[t("span",[e._v(e._s(e.$t("common.knowledgeBase.segment_feedback_issue_desc")))]),e._v(" "),t("span",{staticClass:"form-label-tip"},[e._v(e._s(e.$t("common.knowledgeBase.segment_feedback_issue_desc_tip")))])]),e._v(" "),t("CxVditor",{attrs:{id:"segment-feedback-editor",value:e.issueDesc,edit:!0,"cloud-disk-token":e.cloudDiskToken,options:e.editorOptions},on:{change:e.fnDescChange,loaded:e.fnEditorLoaded}})],1),e._v(" "),t("div",{staticClass:"dialog-footer"},[t("el-button",{attrs:{size:"small"},on:{click:e.fnCancel}},[e._v(e._s(e.$t("common.knowledgeBase.cancel")))]),e._v(" "),t("el-button",{attrs:{size:"small",type:"primary",loading:e.submitting},on:{click:e.fnConfirm}},[e._v("\n      "+e._s(e.$t("common.knowledgeBase.confirm"))+"\n    ")])],1)])}),[],!1,null,"411d775b",null).exports},8143:function(e,t,r){r.d(t,{Z:function(){return o},d:function(){return i}});var n=r(15156),o=function(e){return n.k.post("/v1/manage/segment/feedback/create",e)},i=function(){return n.k.get("/v1/unit/segment/feedback/manageUrl")}}}]);
2//# sourceMappingURL=18156.440b72b6.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.