PageSourceSearch

https://hcmut.edu.vn/js/home/4304.1071ce0ccc127a56e859.js

js hcmut.edu.vn collected 2026-10-02 05:56:45 UTC 5,260 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhcmut=self.webpackChunkhcmut||[]).push([[4304],{74304:(t,e,r)=>{r.r(e),r.d(e,{default:()=>S});var n=r(67294),o=r(73727),a=r(54691),i=r(45042);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,v(n.key),n)}}function s(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return h(t)}(this,r)}}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function b(t,e,r){return(e=v(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===u(e)?e:String(e)}var d=function(t){f(r,t);var e=m(r);function r(){var t;l(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return b(h(t=e.call.apply(e,[this].concat(o))),"set",(function(e,r,n){t.title.value(e||""),t.editor.value(n||"")})),b(h(t),"get",(function(){return{title:t.title.value(),text:t.editor.text(),html:t.editor.value()}})),t}return s(r,[{key:"render",value:function(){var t=this;return n.createElement("div",{className:"",id:this.props.id},n.createElement("div",{className:"tile-body"},n.createElement(a.yi,{ref:function(e){return t.title=e},label:"Tiêu đề Email"}),n.createElement(a.ri,{ref:function(e){return t.editor=e},label:"HTML",placeholder:"Nội dung email",smallText:"Tham số: "+this.props.params})))}}]),r}(n.Component),S=function(t){f(r,t);var e=m(r);function r(){var t;l(this,r);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return b(h(t=e.call.apply(e,[this].concat(o))),"emailTypes",["oispKhaoSatGuiForm","oispKhaoSatGiaHan","oispKhaoSatKetQua"]),b(h(t),"emailTitles",["Gửi form khảo sát","Gửi form gia hạn","Gửi form kết quả"]),b(h(t),"emailParams",["{name}, {url}, {fromDate}, {toDate}","{name}, {url}, {fromDate}, {toDate}","{name}"]),b(h(t),"save",(function(){var e=t.emailTypes[t.khaoSatTemplateTab.selectedTabIndex()],r=t[e].get();(0,i.Hj)(e,r)})),t}return s(r,[{key:"componentDidMount",value:function(){var t=this;T.ready("/user/oisp?group=3",(function(){(0,i.CH)((function(e){t.oispKhaoSatGuiForm.set(e.oispKhaoSatGuiFormTitle,e.oispKhaoSatGuiFormText,e.oispKhaoSatGuiFormHtml),t.oispKhaoSatGiaHan.set(e.oispKhaoSatGiaHanTitle,e.oispKhaoSatGiaHanText,e.oispKhaoSatGiaHanHtml),t.oispKhaoSatKetQua.set(e.oispKhaoSatKetQuaTitle,e.oispKhaoSatKetQuaText,e.oispKhaoSatKetQuaHtml)}))}))}},{key:"render",value:function(){var t=this;return this.renderPage({icon:"fa fa-envelope-o",title:"Cấu hình Email Khảo sát",breadcrumb:[n.createElement(o.rU,{to:"/user/oisp/3/0",key:0},"Quản trị chất lượng"),"Email Khảo Sát"],content:n.createElement(n.Fragment,null,n.createElement("div",{className:"tile"},n.createElement("h3",{className:"tile-title"},"Template Email"),n.createElement(a.HA,{id:"khaoSatEmailTemplate",ref:function(e){return t.khaoSatTemplateTab=e},tabs:this.emailTypes.map((function(e,r){return{title:t.emailTitles[r],component:n.createElement(n.Fragment,null,n.createElement("div",{className:"tab-content",style:{marginTop:"12px"}},n.createElement(d,{ref:function(r){return t[e]=r},id:e,active:0==r,params:t.emailParams[r]})))}}))})),n.createElement("button",{type:"button",className:"btn btn-primary btn-circle",style:{position:"fixed",right:"10px",bottom:"10px",zIndex:500},onClick:this.save},n.createElement("i",{className:"fa fa-lg fa-save"}))),backRoute:"/user/oisp/3/0"})}}]),r}(a.DY)}}]);

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.