PageSourceSearch

https://uuu.com.tw/chunk-L5UDCBLH.js

js uuu.com.tw collected 2026-09-24 09:33:05 UTC 9,212 bytes, 1 lines download raw bytes

1import{a as re}from"./chunk-UFK7DJ2P.js";import{a as le}from"./chunk-J7ZY2IZO.js";import{a as ne,b as ie,c as oe,d as ae}from"./chunk-ZLNNGPMO.js";import"./chunk-EZW3I7SI.js";import{k as X,l as Y,m as Z,n as ee}from"./chunk-LJKVEANZ.js";import{f as J,g as Q}from"./chunk-C2M322GI.js";import{a as te}from"./chunk-VWT76U33.js";import{c as U,d as W,e as j,f as H}from"./chunk-H2GQY3M6.js";import"./chunk-TVK7NTZ4.js";import{c as w,d as g,f as k,g as $,j as V,l as z,n as K,s as L,t as G,v as q}from"./chunk-GQFTL3UT.js";import"./chunk-ACB7UGPZ.js";import"./chunk-36JN3LZY.js";import{b as I,d as y}from"./chunk-2PHRSNRZ.js";import"./chunk-MKSEZY6F.js";import{j as D,s as B}from"./chunk-66MPHGN2.js";import"./chunk-3ZZ624JC.js";import{Fb as S,Ga as M,Ia as o,S as c,Vb as i,Wb as x,Xb as F,Yb as O,Zb as T,_a as A,ea as P,ic as N,lb as C,mb as f,rb as d,sb as t,tb as e,ub as r}from"./chunk-PO7ONIVF.js";import"./chunk-C6Q5SG76.js";var ue=a=>({"disabled-style":a});function me(a,l){a&1&&(t(0,"span",8),i(1,"Live"),e())}function pe(a,l){a&1&&(t(0,"p-message",12),i(1,"\u6B64\u6B04\u4F4D\u5FC5\u586B"),e())}function ce(a,l){a&1&&(t(0,"p-message",12),i(1,"\u6B64\u6B04\u4F4D\u5FC5\u586B"),e())}function de(a,l){a&1&&(t(0,"p-message",12),i(1,"\u6B64\u6B04\u4F4D\u5FC5\u586B \u8ACB\u6AA2\u67E5email\u5E33\u865F\u683C\u5F0F\u662F\u5426\u6709\u8AA4"),e())}var se=class a{route=c(I);router=c(y);classSectionPKId=-1;courseDetailService=c(te);repeatClassService=c(re);classSection$=P(null);formBuilder=c(G);regForm;ngOnInit(){this.route.paramMap.subscribe(l=>{this.classSectionPKId=l.get("classSectionPKId")?Number(l.get("classSectionPKId")):-1,console.log("RepeatClassReg.classSectionPKId",this.classSectionPKId),this.courseDetailService.getClassSection(this.classSectionPKId).subscribe(s=>{this.classSection$.set(s),console.log("this.classSection",this.classSection$())})}),this.regForm=this.formBuilder.group({fullName:["",g.required],cellPhone:["",[g.required]],phoneAreaCode:[""],phoneNumber:[""],phoneExt:[""],email:["",[g.required,g.email]],note:[""],recaptchaToken:["",g.required]})}isValidForm(){let l=!1;return l=this.regForm.valid,l}isLiveClass(l){return l==null?!1:/z/i.test(l.classId)}resolved(l){console.log(`Resolved captcha with response: ${l}`)}onSubmit(l){console.log("onSubmit",this.regForm.value);let s={classSectionPKId:this.classSectionPKId,fullName:this.regForm.get("fullName")?.value,cellPhone:this.regForm.get("cellPhone")?.value,email:this.regForm.get("email")?.value,phoneAreaCode:this.regForm.get("phoneAreaCode")?.value,phoneNumber:this.regForm.get("phoneNumber")?.value,phoneExt:this.regForm.get("phoneExt")?.value,note:this.regForm.get("note")?.value,recaptchaToken:this.regForm.get("recaptchaToken")?.value};console.log("regData",s),this.repeatClassService.insertFormData(s).subscribe(n=>{if(n.code=="OK"){let m=n.detail,u="/Forms/RepeatClass/Done";console.log("formToken:",m,u),this.router.navigate([u],{state:{repeatClassRegToken:m}})}else console.log("Failed, res:",n),alert("\u5931\u6557: "+JSON.stringify(n))})}static \u0275fac=function(s){return new(s||a)};static \u0275cmp=A({type:a,selectors:[["app-repeat-class"]],decls:76,vars:21,consts:[["href",M`/Public/css/2017V2/Forms_Structure.css`,"type","text/css","rel","Stylesheet"],[1,"ui-page"],["role","main",1,"ui-content"],[1,"MAIN-Content","FormView"],[3,"formGroup"],[1,"TopContent"],[1,"LOGO"],["src","/Public/images/2016/logo/logo_black.svg"],[1,"LiveTAB"],[1,"form-field"],["for","RepeatClass_Create_fullName"],["pInputText","","id","RepeatClass_Create_fullName","maxlength","50","name","fullName","size","40","type","text","value","","formControlName","fullName"],["severity","error","variant","simple","size","small"],["for","RepeatClass_Create_mobilePhone"],["pInputText","","id","RepeatClass_Create_mobilePhone","maxlength","20","name","mobilePhone","size","40","type","text","value","","formControlName","cellPhone"],["for","RepeatClass_Create_phoneAreaCode"],["pInputText","","placeholder","\u5340\u78BC","id","RepeatClass_Create_phoneAreaCode","maxlength","4","name","phoneAreaCode","size","4","type","text","value","","formControlName","phoneAreaCode",3,"fluid"],[1,"prefix_1","grid_1",2,"font-size","24px","text-align","center"],["pInputText","","id","RepeatClass_Create_phoneNumber","maxlength","10","name","phoneNumber","size","10","type","text","value","","formControlName","phoneNumber",3,"fluid"],["pInputText","","placeholder","\u5206\u6A5F","id","RepeatClass_Create_phoneExt","maxlength","5","name","phone
1Ext","size","5","type","text","value","","formControlName","phoneExt",3,"fluid"],["for","RepeatClass_Create_email"],["pInputText","","id","RepeatClass_Create_email","maxlength","100","name","email","size","40","type","text","value","","formControlName","email"],["for","message"],["pTextarea","","cols","20","id","RepeatClass_Create_message","name","message","rows","2","formControlName","note"],["formControlName","recaptchaToken",3,"resolved"],["label","\u9001\xA0\xA0\u51FA",3,"onClick","disabled","ngClass"],["href","https://www.uuu.com.tw","target","_blank"],["src","https://www.uuu.com.tw/Public/images/2016/logo/logo-dark_bottom.svg","title","\u6046\u9038\u6559\u80B2\u8A13\u7DF4\u4E2D\u5FC3"],[2,"clear","both"]],template:function(s,n){if(s&1&&(r(0,"link",0),t(1,"div",1)(2,"div",2)(3,"div",3)(4,"form",4)(5,"div",5)(6,"div",6),r(7,"img",7),t(8,"h1"),i(9,"\u7533\u8ACB\u91CD\u807D\u8AB2\u7A0B"),e()(),t(10,"h3"),i(11),e(),t(12,"ul")(13,"li"),i(14,"\u8AB2\u7A0B\u4EE3\u78BC\uFF1A"),t(15,"span"),i(16),e()(),t(17,"li"),i(18,"\u73ED\u5225\u4EE3\u78BC\uFF1A"),t(19,"span"),i(20),e()(),t(21,"li"),i(22),e(),t(23,"li"),i(24),e(),t(25,"li"),i(26),C(27,me,2,0,"span",8),e()()(),t(28,"div",9)(29,"p-fluid")(30,"label",10),i(31,"\u59D3\u540D"),e(),r(32,"input",11),C(33,pe,2,0,"p-message",12),e()(),t(34,"div",9)(35,"p-fluid")(36,"label",13),i(37,"\u884C\u52D5\u96FB\u8A71"),e(),r(38,"input",14),C(39,ce,2,0,"p-message",12),e()(),t(40,"div",9)(41,"p-fluid")(42,"label",15),i(43,"\u516C\u53F8\u9023\u7D61\u96FB\u8A71"),e(),t(44,"div"),r(45,"input",16),t(46,"span",17),i(47,"-"),e(),r(48,"input",18),t(49,"span",17),i(50,"-"),e(),r(51,"input",19),e()()(),t(52,"div",9)(53,"p-fluid")(54,"label",20),i(55,"Email"),e(),r(56,"input",21),C(57,de,2,0,"p-message",12),e()(),t(58,"div",9)(59,"p-fluid")(60,"label",22),i(61,"\u5099\u8A3B\u4E8B\u9805"),e(),t(62,"textarea",23),i(63,"  "),e()()(),t(64,"div",9)(65,"p-fluid")(66,"span"),i(67,"\u6211\u4E0D\u662F\u6A5F\u5668\u4EBA\u9A57\u8B49"),e(),t(68,"re-captcha",24),S("resolved",function(u){return n.resolved(u??"")}),e()()(),t(69,"div",9)(70,"p-fluid")(71,"p-button",25),S("onClick",function(u){return n.onSubmit(u)}),e()()()()(),t(72,"footer")(73,"a",26),r(74,"img",27),e(),r(75,"p",28),e()()()),s&2){let m,u,b,R,v,p,_,h,E;o(4),d("formGroup",n.regForm),o(7),x((m=n.classSection$())==null?null:m.courseTitle),o(5),x((u=n.classSection$())==null?null:u.courseId),o(4),F("",(b=n.classSection$())==null?null:b.classId,"\u73ED"),o(2),F("\u4E0A\u8AB2\u5730\u9EDE\uFF1A",(R=n.classSection$())==null?null:R.trainingCenter),o(2),O("\u65E5\u671F\uFF1A",(v=n.classSection$())==null?null:v.startDate," ~ ",(v=n.classSection$())==null?null:v.endDate," "),o(2),T("\u6642\u9593\uFF1A",(p=n.classSection$())==null?null:p.classFrequency," ",(p=n.classSection$())==null?null:p.classStartTime," ~ ",(p=n.classSection$())==null?null:p.classEndTime," "),o(),f(n.isLiveClass(n.classSection$())?27:-1),o(6),f(!((_=n.regForm.get("fullName"))==null||_.errors==null)&&_.errors.required?33:-1),o(6),f(!((h=n.regForm.get("cellPhone"))==null||h.errors==null)&&h.errors.required?39:-1),o(6),d("fluid",!1),o(3),d("fluid",!1),o(3),d("fluid",!1),o(6),f((E=n.regForm.get("email"))!=null&&E.errors?57:-1),o(14),d("disabled",!n.isValidForm())("ngClass",N(19,ue,!n.isValidForm()))}},dependencies:[B,D,q,V,w,k,$,L,z,K,Q,J,ee,Z,ie,ne,le,Y,X,ae,oe,W,U,H,j],styles:["div.ui-page[_ngcontent-%COMP%] > div.ui-content[_ngcontent-%COMP%], footer[_ngcontent-%COMP%]{width:700px;padding:0}div.TopContent[_ngcontent-%COMP%]{width:100%;padding:0;text-shadow:none}div.TopContent[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{text-shadow:none;text-align:left;line-height:1.6;border-left:solid 6px #FC0;padding:4px 5px 4px 8px}div.TopContent[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{padding:15px 15px 15px 35px;background:#efefed;border-radius:4px}div.TopContent[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:15px;margin:4px 0;font-weight:600}div.TopContent[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:#c33}div.TopContent[_ngcontent-%COMP%] > div.LOGO[_ngcontent-%COMP%]{text-align:center}div.TopContent[_ngcontent-%COMP%] > div.LOGO[_ngcontent-%COMP%] > h1[_ngcontent-%COMP%]{color:#888}div.ui-page[_ngcontent-%COMP%] > div.ui-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], div.ui-page[_ngcontent-%COMP%] > div.ui-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-family:Helvetica,Arial,\\5fae\\8edf\\6b63\\9ed1\\9ad4,sans-serif}.disabled-style[_ngcontent-%COMP%]{cursor:not-allowed}"]})};export{se as RepeatClassReg};

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.