(self["webpackChunkclassroom"]=self["webpackChunkclassroom"]||[]).push([[496],{8039:function(t,e,n){"use strict";n.d(e,{FY:function(){return o},Tw:function(){return a},_3:function(){return i},bq:function(){return s},eJ:function(){return u},ew:function(){return l},t7:function(){return c}});var r=n(7053);const i=(t,e)=>r.Z9.axioseRquest({signal:e.signal,method:"post",url:"/api-teacher/lessonCourseware/queryLessonCourseware",data:{query:{subjectId:t,page:1,rows:9999}}}),o=()=>r.Z9.axioseRquest({method:"get",url:"/api-teacher/lessonCourseware/getLessonCoursewareSubjectList"}),s=t=>r.Z9.axioseRquest({method:"get",url:"/api-teacher/lessonCourseware/getLessonCoursewareCourseList/"+t}),a=t=>r.Z9.axioseRquest({method:"get",url:"/api-teacher/lessonCourseware/getLessonCourseDetail/"+t}),l=()=>r.rO.axioseRquest({method:"post",url:"/api-teacher/courseSchedule/myCourseware"}),c=t=>r.rO.axioseRquest({method:"post",url:"/api-teacher/courseSchedule/myCoursewareDetail/"+t}),u=t=>r.rO.axioseRquest({method:"get",url:"/api-teacher/lessonCoursewareDetail/detail/"+t})},277:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return bi}});n(7658);var r=n(3396),i=n(4870),o=n(7139),s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAt1BMVEUAAAAAAAAAAAAAAAAAAAD///8AAAD7+/v8/Pz5+fkyMjLe3t75+fn09PTr6+vZ2dkAAAA2Njb////////8/Pz4+Pjx8fHc3Nzj4+PY2NjLy8uCgoL////+/v7+/v75+fn5+fn29vb4+Pjx8fHw8PDv7+/e3t6np6ebm5v+/v78/Pz8/Pz5+fn39/fOzs7V1dWurq5gYGD+/v78/Pz+/v7z8/P19fX09PTx8fHp6enn5+eysrL////b3sHVAAAAPHRSTlMABQ4ICvsR19exFEOrh2Q/FRL98MKif2NhSDwX9uLhuKafloV0cFIgHNe6ta+hPz0sGPXKxY9lXFhRNitjYafjAAAC60lEQVRYw+3XaXeiMBQG4GlAtBWxKloWV7Tq2Lp03/j/v2sk9yYhXIk6/TBnzun7oadeOY/JBUL49V/kQss3AZW/IiyZsxkdKELnEzbmTEYRdiGKOZFAYVH3Zr3ezKsv0DmFyROxNx6mMsOxF+eZk4ym208L6btNo6IMJPz0YHxgqEKN5bqdlqS9XkrFaNQHqSGDOlWocVtJRTqjaRBGURhMRx1ZrNyWK8JoyIPdeYvJtOauxBtCOWZUJjtWyG5SMStyLnhYdcMOZFPFr+WMCJL1FH+r+8AO5qGL48y6CwgZyHIA57HBStNowzla4lDoQNY4ZWYINm2NQyFGsw1zYcZ0YbRNVIqIDz3V+nH10um8XGl9ge76iBQHAj3baMZlVrvUlA10XwxFR1z+3YSpOJkBisNUJrzm6gicmrjPB7IjBlF2fCj9GE4QIjAQD3ymIgwyIxizB0PRZjPm38ypQZU5r4zlfBQy5PdtixpUafF7eigQ1ZIFP3KkGaXKiBcWuabgbcPrU/ljYOiKHOaUf8YbiPQ1EMY93mmP2d9HvC/vhRJAZwky4/WwYNxU+UV8U1BC/mlGkB6vR4ynJ4xrQK6F0oPvI/hgRp6EIRChPGmIeTorMByFOKCstOmYGxtW9kbgOI5A9v8GWS0kjTWc4m2SRMzZB5DsPxYlydZwisnFZtssSx7BOrnYSi97OwsoNUS0Mr3s6Q1o20pBhGllegPSpcDGaIis0qWALkpfeDgeDwjTil9kUaLLo60iEa1Ilke6UG+PIVuyUNNHRi22VQCp5Y24Rh4ZCrHkwwt3ZhqiavLhZR1+BHbFzkHthAHhBo/Ye3RxIOUP9I9y5IM80ImCW4s7Syq/BYKlO9xaKIPuYGGTs7IwChGVFWxytN0sUfiU3y0RgcjCO2+ablDl9dl/s1QAyRXe/OdXYtBXlAuMjqi68ZXlggQaCY02v8uZmXolOxdm4jjzmSSfR4izvH/zXoyRwk9+8u38AU//42qH/8tgAAAAAElFTkSuQmCC",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAolBMVEUAAAAAAAAAAAAAAAAAAAD///8AAAA0NDT7+/v9/f34+PjY2Nje3t75+fn4+Pj09PTr6+sAAAD6+vr////8/Pzx8fHc3Nzj4+PY2NjLy8uBgYH+/v7+/v7+/v75+fn29vb4+Pjx8fHw8PDv7+/e3t6wsLCnp6eampr+/v79/f38/Pz5+fnOzs5gYGD////z8/P19fX09PTx8fHp6enn5+f////bZlVoAAAANXRSTlMEAA4ICvsRE9jXsT5Dq6KHZBW29sJ/Y2FIPBfw4uGmn5aFdHBSKyAc1si6sD8Y7o9lXFhRNkHid3kAAAM5SURBVFjD5dfpeqIwFAZgBwPaguJa930bW+2e+7+1ITmEL/EQmWee+devfzCcvBwQQq39+g/5WUgtz78jajL9eZxKpKYJE4L8yJ0ekIKsRuwJPC7sQaiI/vxBRQnCDl8RMEC8xPd6/e1lHMTXQ72ehFKGSd3bD0e4Ue/JLL1so5RwEGceNrM8KOS33mQlKkDsae/nwUc9DxDkY3B+t0kgMFI16bOYIggRxcCn+pySAsQ1dlLluTAMUijPumDnKkDUnCTUNT1jADFKTxeEidAKEBinudT5KgxCHkShfFHF/ATFQYRoU0Uq/IhIqaYthI2gkTg0+4UxAkICgTE6UhijFQsRYiD1jKkoAgSZ6iE5UCoQY8TmEJYRNAmxFNNwXChEENLS+1ZBFRKsdGELreCKTPu6kYM1IQBiDx50K/1pcVXQSId8VQ8jIiRyR6nnjhAMWeo9e5QHNuIM73XpsgRZqB2zhiqHYZDIGW7M1OjCILgkR7rhA52slgxCmtkGxrPQzX/MLwoaSfT4JqDE6/UkiIAoZbJexwFlo4sTaoVd1xEVjdWiOMpmdgnpZpsjNTam/SO6sgzZ6vG8SD/w4VPUNUg3egr1IpEfRBdvGTLU4xMqOktSgJAhz7R/oj8M7yNDaRRClEHzGOI/ncaLUQgxxkuDnY7/wkLp6zscBruwnq+YlEfJ8kgG+4r5zQbFZ/Cbjd/2UHwGbnv/AwjFY+AB9C4FTGEGXwr4olQkIoWMCON8UeLLo6twgy+PfKG+BOyM1LkgF7ZQ81dG8+oob6+vb45xbfJXBpDi5RXcjXl5ASl/jd4z+GvU80JPKwz+QrdbScL8ONdy4pr3GuKx4f+fiJ2kNC9lxqUpKTtl2IirpJISrg63xGEVSkrqGkCgGKa1b0Bo7FuGgAHkVtkVxXLW24zGk8l4tOnNZIHvbg0gUJK5vJN5AsNCWC+ndugjwvaJG0BsRcSDcmMQC24AgZIzrf6t0G9pghlAmCKmneUCwmLZmQpmAIFiMzrHpLMdDred5CgECBhAsI1u4CB1Tvh/SBJDAXBDMIT3AgYBgUaAMAbxAHzSbWqVQa0HqXb+/me+x/GWIxWOv/YP0SnNshMWUqAAAAAASUVORK5CYII=",l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAflBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////vroaSAAAAKXRSTlMAtmKdLBpC4ZnVBNNFN0z56tg0CuN0Vz4Y8cOQhSf2cGczEa2oMewdikT263wAAAGKSURBVFjD7dfZcoIwFIDhIFQQZZHIvgiuPe//gp3ETNRAIyGdTrV+lzj50UMGJ+h/qT8dx4mxVmN3AuKgFUmAClydSAUXkU7EYJEWjYWzD9GJRUzxgwwPjrBag5J1tRMbaQjKwvS+cWxgguZ4F1nCJMvbxgomWt1ESnLB7pCCziZrSnS1JxdipCQma/binpqpRWZkjfGO/GLEL2xmQ9iGpR6xAhBssHIkhh5POeKDKMjUZ2KKjXbK0zl7TEQc8XPvkxeLzI0lt7haU4Y3KlIHIJNn6tu+LxkTSUDOGzWTPciUI59OveLmovPT7ZN35M9F3NYmFwpTSUHW2K3LGgVoKC4VH7T4iNiClu3PRawcNOQWm2xWW1zXAJVYPSZQTWdxdeaiHj7mcODDOR/lI+x2JupzQ6CcRw03lNzN5N9SLmXjkv1USJFcCZLjJ875C1vK5n8wQw5A2fJGBFSApSdciMYcYQ00DAdAVdLIAqjZgyPuQhoJgQh2kjcREcqfsEP432+j2CFS9Mq+AB2n0bpQYlyUAAAAAElFTkSuQmCC",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABICAMAAABmxpNIAAAAnFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+TINBkAAAAM3RSTlMAJ/H6IfwH4/Woc2g2DgrdoZMS0MGkjXdNG+zp2ce8rm5iXVhSRjEX1su0h0C5g38snD1xbOwgAAACZklEQVRYw+2X23aqMBCGlSCICBXPiNVqlaqotc37v9tezAQqu4TOpDe98L9wLQfymTCHH1sP/W0F6X7fH/6eY2ejjsx1yNq/AsUT4KA6nm1Omi9kRdarKakn/1enZ0balptZHrpS6cWEdBawthv182/pFGmizycNXVj6bJe5HEPgyWGjTrBwdbfQWZsd8QWLKbiPhUvYFpOUCtzUsFocEGQ9Lfh9kHuuxA95bMZCDb4qKbuPT/PQhEN6VZwih6U2eWDMaWEL9nO1VIVuyys7YNNJzhEI7y37WaIGRSJ9yAUdNZXlMa5qMCxV1iIAk0l7WL6IsXtcZAlMG3wjt/RbAmvnRf+sJWoVFw1+o6IucHv0FfDVVFjMsS1HVNJMwu33PXsbSdQTfG6JpL6AwdKupjRSLM6mAvzhzbfJnBQkkRJRHtzu1SRjhSRy+jb4SIK6a1iuJyKp3dWP3B2Q3Ddiw4ykdobYC2jLPXFTmKdL7TWc6xkNpEZkUnuEq+SMhLjhCGdoS4vo8+oI0wYfo7r8O9x9dPQ+9kEkfQo8QoOPhcSGaThCim15Y9XBoMHHfGqZQ4aWod7H1qxpLlL9m5E7pKJcqAO9j4lPsu/JXHaTj1F1htHS4GNMXx83+BjzpfPS4GN0bTSolfIxLuqk9zGGfEBpfYyNWhN9jI9SPjbhvg3XoK7Kx0xQXqUMPMO/Dr0qytl5orRiPqp8KuFuYkmlQcsQBRxPcSDi8FEz2EKVI7sz47+QCXBK0IfN56jJUJWwfpYbhTWWaUkjZbpy5+tY2zqsfTUXS+An/E3FWrNo8xS3Hnrom/4BL1HAUYw0vJ8AAAAASUVORK5CYII=",u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAwFBMVEUAAAAAAAAAAAAAAAAAAADy8vIAAADKysr8/PzExMS/v7/////r6+vn5+fx8fHz8/Pg4OC9vb3j4+PIyMhPT0/////9/f36+vr39/fm5ub////z8/PV1dWYmJh6eno2Njb8/Pz5+fn29vbu7u7w8PDa2trV1dWdnZ3////9/f339/f09PTz8/Pt7e29vb2qqqr9/f37+/v7+/v4+Pj4+Pjy8vLr6+vk5OT+/v79/f37+/v7+/v5+fnr6+vIyMj///8aafJKAAAAP3RSTlMACQcMD4YRNdc2OP1eYI6FXS5LLBHx17eZW/h/MBwYD9OtoW9qQjki89ymknlbKSPiyrmbkY94VebPvLOvZi6oTH4kAAACnklEQVRYw+XXaXeiMBSA4YZLqZVWHcSl7vte7d7Z8///1ZCQeEmMBHA+zDnzfivcPifaKsnVP5vjOCk3ZWkAlnYTR6xT5nuEdZ6RMzilCUTJpOhTDqYKAJCc0RExIqdOCUgmRk6M3l3U/f0d67GHihT688/odhybQAWNV6rUZjO4iHl77asD/quqsNmAagWJ9+FxRA0FTFEW0tVHdkdi8UyNVZNL4YuumlcCMOz69CxCFAR0pC2M/ne8piOAiMORa379o1arPbB60mhSkf9cmT7U4j74lWuOOCdI2fNcF6KEARNBNN6XLs9jlU8QbiCCBkPEn2UcETJE2JwRcV1uSIS/mtW950YBiyk2JDY0pOQJQjAW5JYNEwPCDFRuLQioSIkjLi4wExLPyg+1GyPaG2VD4mEnSkG09VkQYeiIctmG3GRDbjIgaCQRJ+4vISQTQo6GVxThxYiXQJzciFhIWH66FBlsG5QKhBRE+iNKL0QAxvRy5LePCBRFpvRYszDSRWQEIB7feZFfiLTEN3JuhBw6R2QaDxdAyJs01mE0WxAJf8TGU4/gbF6EwOybT7++9Yn+oLMiqDAmHEQ/50VuETFt8/Dr0YaACZFl+qJ205Vsjww3TZEPIyuCirEsj9Gyl67IB7oF4YoaEsI4gxBEUDGlbnK0f2VEYibFUBDHgEwqUe/tzbjVao3bu2AJrOF8ut20Xlo/N+1thTXRENyCGit1D4tJw7oFxc2wuY5PqW1Hjdvy3O0EgsrCz2v4C2ngUmaN5EBnpb+MTmOlXGnMTAee4b5er39hHQZDAAj3QbUUky+zmwFEDZZ7PlCPCo1HLxbofa4pbc4BU094aSdJwIZBEAKmfq7NR9rMWY/gGX4djRTH3lVaxQG7ePUf9Qfx3hratSfQkgAAAABJRU5ErkJggg==",h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAhFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8g2+bRAAAAK3RSTlMAlPvse+Qp+N3SuI9qPDUeFA7hzsaIXT8F8bKgUUlF58CtZNe8qZmCMSQHvzt06QAAAkNJREFUWMPtl+2umzAMhoGQAD00AdoCLaVf5/vk/u9vEzGdFmywVmnTpPP+tN2nie04JPjWv1HR7fdd8RjjK7M/lX09BKntoPohyJODPD0ECR0k/I8h5pCIHQ7ZieRgOIxeQCp9CKRZ9MuMOBp+FpVTSAmueImxsyA1hSgL2jEZop1CWsGi5HbUDcvJ7e7OacY6gpjkhlfnlkBAtCZP7BlCKk31ia4g5Eyd7A4CUkM3m0khqCM2M67DzHWsGdeCb2gD+dDzba8hLxuMccISP0KwEp4QyMq5tssHcOuMqylDQe0+liEf0djUvmLnOHBGwcFZYyqtDQfSEKk10CK8oQTNYjzzESYyDwLz++iZ36FsPAi0w3uA5qrgQQq0CkE2WCV3UMvBnHnWCjqNB4F+qzzrHpqQB4H23ntW14RX7jV6de3NW0kOh5K3EonnpKyGvZd4TiRanXPg6/Ni7eVzYj5DdbBN2jKYqMRsLvqKXzh9wFIP1w91dnDxzk4RQapYkq7CBTFPThzGiRrVMTI4Ka2oyWao64S+oAyJ3yxDNvSiG4svktq4bTDnFrvw6U+HLerV4BVqjqEE/JfG/W/WSaoZhoSgNyKgTCFANBSjERCSllSIvn8IxS3mb+P7p5SefVSAsgZZRnZ310vlA12O7W+rOF5++WJGE4BEV6t2AKi6E5bDAOWwbVAk0lR4ppxxMqSdlVyz3o6vc4xX7quyf6YQz33AV51hiAwqy5YOpZeLUAd/IJWHL6lIEpG+hLkKvvXX9QO//qfbV36XPAAAAABJRU5ErkJggg==",p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsBAMAAADsqkcyAAAAJ1BMVEUAAAD///////////////////////////////////////////////+uPUo5AAAADHRSTlMAkrQGgV48Jx4TzMujkJ9pAAAAWElEQVQoz2NAAYxnzpxZwIABZIDCx4E0puIzx7AqPnMSq+IzAlgVHzLAqlh5VDE+xT5YFXNgV8wKV0xYGGEIPisJO5BBZlQ5OcoF8GYpwhkQkV0xlW8AMQBu+bN32NIIcgAAAABJRU5ErkJggg==",d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAABL1BMVEUAAAD/iV7/qoP/nHP/h17/to//nHP/m3P/k2r/glj/tIz/i2P/hFr/il//s4z/m3P/sov/r4n/h17/sIf/i2H/r4f/qoD/gFX/t5D/gVj/pn7/kWj/gVn/sYr/rof/gVj/tpD/nnf/mXH/gVj/to//gVf/tY//tY7/oHj/to//onr/lW3/gFj/o3v/gFf/uJD/lG3/tY7/qIP/iF3/gVj/hl3/uZP/qoP/iWD/iV3/////sIn/hl3/nXX/oHf/l27/k2r/i2L/q4P/kGj/iWD/p3//s4z/mXH/rob/g1r/lWz/oXn/qIH/jmX/jWT/qYL/m3P/rIX/pH3/gVj/pHz/onr/597/tY7/6+L/zbr/qYr/ybT/6eD/0L7/593/18X/wqv/uJ//s5j/+ff/9/Xcwv+TAAAAOnRSTlMAIr769fTx2MLCu7u7dWZjUkZGNzcjBgb6+vf39/X18ejo6OjY2MLCwqurq6uJiYiIdXVpY1MhIVJS70yhsQAAAeFJREFUSMeV0ed62jAYBeBj9t4je++900JKqaExGJy6piUlgaz2/q+hHnoqO5ap/P6QraPv2D8Ep0oxc7y7tbESnpkJr2xs7R5nihV4ujrdDt+7hLdPr8CST9zfeknk8V45cTtVogyH3GL9PxZzsMnUOWRs369zyYEoL3W4LJVhCeib77oOeRIkoXknAFNeZLAK1htN89YPRG7mL67Fb9zEawBnfR/OAAS++hAAKnN0238e/3IZP/fpxFwFRY16rDE9alQR2R/UiF0Y2UayOPxJiWPW/Fi0jRxir+fLHnYaDL1ew8MOog1folj95MsqIv4KEQRVShvWGIaaSgURlCRVJ+lUr4sj51YhIlEv7MKLREWwJlHq5Gno8jRRJWoN0c++RBFzBrJMV5YY9mVf9nHS9CTL7uwEWftWeiDUpocsSi1ds9kyaH9qxO+HFmWeEyVU52luu7hJi2m+CsQU400x1jdaeDUTxWCekzUGIK1Hd3eK6W1EvCoUOTelAQj6lpciQJf8wi0JQ4G/UIAp2eaUhEUI8c2HBBCX7RsO7Q/455yncA6by9DU2W73JvQRDkKqO1VKwHsFUhkM6EqSbqoAFiEdXxi4LMTTAjxVSxdHB/HN9eXZ2eX1zfjB0UWpCoe/QnsE5bHDJicAAAAASUVORK5CYII=",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcBAMAAACAI8KnAAAAHlBMVEUAAACrq6upqamqqqqrq6uqqqqqqqqsrKyrq6uqqqowbxM5AAAACXRSTlMAnp7uhdPSNIamzFfYAAAAf0lEQVQY03XRuw2AIBAG4HMDWztbehtrKycwTmAcQHewBB/JbSvJz/1RiRQcx0d4HLI0wtYNMmppWaGntOotdbpLr1oa6hE74yoC+oQeIRhaJGJATEwEA8lAMpBMZPq32GGr7KDsGtkl+YRAxGzNADYkb6/SfQs7A8GXrM9PmW6jgU4S26CEnwAAAABJRU5ErkJggg==",g=n(9242),m=n(1383),v=n(7398),y=n(346),_=n(769),b=n.n(_),T=n(9327);function E(t,e=2,n="0"){if(t=String(t),t.length>=2)return t;for(let r=0,i=e-t.length;rt(...S.get(t)))),w=[]}function k(t,...e){S.set(t,e),w.includes(t)||1===w.push(t)&&requestAnimationFrame(A)}function B(t){const e=t.composedPath();return e[0]}const R={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function I(t,e,n){if("mousemoveoutside"===t){const t=t=>{e.contains(B(t))||n(t)};return{mousemove:t,touchstart:t}}if("clickoutside"===t){let t=!1;const r=n=>{t=!e.contains(B(n))},i=r=>{t&&(e.contains(B(r))||n(r))};return{mousedown:r,mouseup:i,touchstart:r,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${t}\` is invalid. This could be a bug of evtd.`),{}}function P(t,e,n){const r=R[t];let i=r.get(e);void 0===i&&r.set(e,i=new WeakMap);let o=i.get(n);return void 0===o&&i.set(n,o=I(t,e,n)),o}function x(t,e,n,r){if("mousemoveoutside"===t||"clickoutside"===t){const i=P(t,e,n);return Object.keys(i).forEach((t=>{M(t,document,i[t],r)})),!0}return!1}function j(t,e,n,r){if("mousemoveoutside"===t||"clickoutside"===t){const i=P(t,e,n);return Object.keys(i).forEach((t=>{O(t,document,i[t],r)})),!0}return!1}function D(){if("undefined"===typeof window)return{on:()=>{},off:()=>{}};const t=new WeakMap,e=new WeakMap;function n(){t.set(this,!0)}function r(){t.set(this,!0),e.set(this,!0)}function i(t,e,n){const r=t[e];return t[e]=function(){return n.apply(t,arguments),r.apply(t,arguments)},t}function o(t,e){t[e]=Event.prototype[e]}const s=new WeakMap,a=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var t;return null!==(t=s.get(this))&&void 0!==t?t:null}function c(t,e){void 0!==a&&Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:null!==e&&void 0!==e?e:a.get})}const u={bubble:{},capture:{}},h={};function p(){const a=function(a){const{type:h,eventPhase:p,bubbles:d}=a,f=B(a);if(2===p)return;const g=1===p?"capture":"bubble";let m=f;const v=[];while(1){if(null===m&&(m=window),v.push(m),m===window)break;m=m.parentNode||null}const y=u.capture[h],_=u.bubble[h];if(i(a,"stopPropagation",n),i(a,"stopImmediatePropagation",r),c(a,l),"capture"===g){if(void 0===y)return;for(let n=v.length-1;n>=0;--n){if(t.has(a))break;const r=v[n],i=y.get(r);if(void 0!==i){s.set(a,r);for(const t of i){if(e.has(a))break;t(a)}}if(0===n&&!d&&void 0!==_){const t=_.get(r);if(void 0!==t)for(const n of t){if(e.has(a))break;n(a)}}}}else if("bubble"===g){if(void 0===_)return;for(let n=0;ne(t)))};return t.displayName="evtdUnifiedWindowEventHandler",t}const f=p(),g=d();function m(t,e){const n=u[t];return void 0===n[e]&&(n[e]=new Map,window.addEventListener(e,f,"capture"===t)),n[e]}function v(t){const e=h[t];return void 0===e&&(h[t]=new Set,window.addEventListener(t,g)),h[t]}function y(t,e){let n=t.get(e);return void 0===n&&t.set(e,n=new Set),n}function _(t,e,n,r){const i=u[e][n];if(void 0!==i){const e=i.get(t);if(void 0!==e&&e.has(r))return!0}return!1}function b(t,e){const n=h[t];return!(void 0===n||!n.has(e))}function T(t,e,n,r){let i;i="object"===typeof r&&!0===r.once?o=>{E(t,e,i,r),n(o)}:n;const o=x(t,e,i,r);if(o)return;const s=!0===r||"object"===typeof r&&!0===r.capture?"capture":"bubble",a=m(s,t),l=y(a,e);if(l.has(i)||l.add(i),e===window){const e=v(t);e.has(i)||e.add(i)}}function E(t,e,n,r){const i=j(t,e,n,r);if(i)return;const o=!0===r||"object"===typeof r&&!0===r.capture,s=o?"capture":"bubble",a=m(s,t),l=y(a,e);if(e===window){const r=o?"bubble":"capture";if(!_(e,r,t,n)&&b(t,n)){const e=h[t];e.delete(n),0===e.size&&(window.removeEventListener(t,g),h[t]=void 0)}}l.has(n)&&l.delete(n),0===l.size&&a.delete(e),0===a.size&&(window.removeEventListener(t,f,"capture"===s),u[s][t]=void 0)}return{on:T,off:E}}const{on:M,off:O}=D();function L(t,e,n="default"){const r=e[n];if(void 0===r)throw new Error(`[vueuc/${t}]: slot[${n}] is empty.`);return r()}function G(t,e=!0,n=[]){return t.forEach((t=>{if(null!==t)if("object"===typeof t)if(Array.isArray(t))G(t,e,n);else if(t.type===r.HY){if(null===t.children)return;Array.isArray(t.children)&&G(t.children,e,n)}else t.type!==r.sv&&n.push(t);else"string"!==typeof t&&"number"!==typeof t||n.push((0,r.Uk)(String(t)))})),n}function N(t,e,n="default"){const r=e[n];if(void 0===r)throw new Error(`[vueuc/${t}]: slot[${n}] is empty.`);const i=G(r());if(1===i.length)return i[0];throw new Error(`[vueuc/${t}]: slot[${n}] should have exactly one child.`)}let Z=null;function F(){if(null===Z&&(Z=document.getElementById("v-binder-view-measurer"),null===Z)){Z=document.createElement("div"),Z.id="v-binder-view-measurer";const{style:t}=Z;t.position="fixed",t.left="0",t.right="0",t.top="0",t.bottom="0",t.pointerEvents="none",t.visibility="hidden",document.body.appendChild(Z)}return Z.getBoundingClientRect()}function H(t,e){const n=F();return{top:e,left:t,height:0,width:0,right:n.width-t,bottom:n.height-e}}function U(t){const e=t.getBoundingClientRect(),n=F();return{left:e.left-n.left,top:e.top-n.top,bottom:n.height+n.top-e.bottom,right:n.width+n.left-e.right,width:e.width,height:e.height}}function V(t){return 9===t.nodeType?null:t.parentNode}function Q(t){if(null===t)return null;const e=V(t);if(null===e)return null;if(9===e.nodeType)return document;if(1===e.nodeType){const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/(auto|scroll|overlay)/.test(t+r+n))return e}return Q(e)}const z=(0,r.aZ)({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(t){var e;(0,r.JJ)("VBinder",null===(e=(0,r.FN)())||void 0===e?void 0:e.proxy);const n=(0,r.f3)("VBinder",null),o=(0,i.iH)(null),s=e=>{o.value=e,n&&t.syncTargetWithParent&&n.setTargetRef(e)};let a=[];const l=()=>{let t=o.value;while(1){if(t=Q(t),null===t)break;a.push(t)}for(const e of a)M("scroll",e,d,!0)},c=()=>{for(const t of a)O("scroll",t,d,!0);a=[]},u=new Set,h=t=>{0===u.size&&l(),u.has(t)||u.add(t)},p=t=>{u.has(t)&&u.delete(t),0===u.size&&c()},d=()=>{k(f)},f=()=>{u.forEach((t=>t()))},g=new Set,m=t=>{0===g.size&&M("resize",window,y),g.has(t)||g.add(t)},v=t=>{g.has(t)&&g.delete(t),0===g.size&&O("resize",window,y)},y=()=>{g.forEach((t=>t()))};return(0,r.Jd)((()=>{O("resize",window,y),c()})),{targetRef:o,setTargetRef:s,addScrollListener:h,removeScrollListener:p,addResizeListener:m,removeResizeListener:v}},render(){return L("binder",this.$slots)}});var Y=z,q=(0,r.aZ)({name:"Target",setup(){const{setTargetRef:t,syncTarget:e}=(0,r.f3)("VBinder"),n={mounted:t,updated:t};return{syncTarget:e,setTargetDirective:n}},render(){const{syncTarget:t,setTargetDirective:e}=this;return t?(0,r.wy)(N("follower",this.$slots),[[e]]):N("follower",this.$slots)}});new Set;function K(t,e){console.error(`[vdirs/${t}]: ${e}`)}class ${constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,e){const{elementZIndex:n}=this;if(void 0!==e)return t.style.zIndex=`${e}`,void n.delete(t);const{nextZIndex:r}=this;if(n.has(t)){const e=n.get(t);if(e+1===this.nextZIndex)return}t.style.zIndex=`${r}`,n.set(t,r),this.nextZIndex=r+1,this.squashState()}unregister(t,e){const{elementZIndex:n}=this;n.has(t)?n.delete(t):void 0===e&&K("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort(((t,e)=>t[1]-e[1])),this.nextZIndex=2e3,t.forEach((t=>{const e=t[0],n=this.nextZIndex++;`${n}`!==e.style.zIndex&&(e.style.zIndex=`${n}`)}))}}var W=new $;const J="@@ziContext",X={mounted(t,e){const{value:n={}}=e,{zIndex:r,enabled:i}=n;t[J]={enabled:!!i,initialized:!1},i&&(W.ensureZIndex(t,r),t[J].initialized=!0)},updated(t,e){const{value:n={}}=e,{zIndex:r,enabled:i}=n,o=t[J].enabled;i&&!o&&(W.ensureZIndex(t,r),t[J].initialized=!0),t[J].enabled=!!i},unmounted(t,e){if(!t[J].initialized)return;const{value:n={}}=e,{zIndex:r}=n;W.unregister(t,r)}};var tt=X;function et(t){const e=(0,r.Fl)(t),n=(0,i.iH)(e.value);return(0,r.YP)(e,(t=>{n.value=t})),"function"===typeof t?n:{__v_isRef:!0,get value(){return n.value},set value(e){t.set(e)}}}var nt=et;const rt="undefined"!==typeof window;let it,ot;const st=()=>{var t,e;it=rt?null===(e=null===(t=document)||void 0===t?void 0:t.fonts)||void 0===e?void 0:e.ready:void 0,ot=!1,void 0!==it?it.then((()=>{ot=!0})):ot=!0};function at(t){if(ot)return;let e=!1;(0,r.bv)((()=>{ot||null===it||void 0===it||it.then((()=>{e||t()}))})),(0,r.Jd)((()=>{e=!0}))}function lt(){const t=(0,i.iH)(!1);return(0,r.bv)((()=>{t.value=!0})),(0,i.OT)(t)}st();const ct=Symbol("@css-render/vue3-ssr");function ut(t,e){return``}function ht(t,e){const n=(0,r.f3)(ct,null);if(null===n)return void console.error("[css-render/vue3-ssr]: no ssr context found.");const{styles:i,ids:o}=n;o.has(t)||null!==i&&(o.add(t),i.push(ut(t,e)))}const pt="undefined"!==typeof document;function dt(){if(pt)return;const t=(0,r.f3)(ct,null);return null!==t?{adapter:ht,context:t}:void 0}function ft(t){let e=0;for(let n=0;n{let r=ft(e);if(!r)return void t.forEach((t=>{n.push((t&&t+" ")+e)}));if(1===r)return void t.forEach((t=>{n.push(e.replace("&",t))}));let i=[e];while(r--){const e=[];i.forEach((n=>{t.forEach((t=>{e.push(n.replace("&",t))}))})),i=e}i.forEach((t=>n.push(t)))})),n}function yt(t,e){const n=[];return e.split(gt).forEach((e=>{t.forEach((t=>{n.push((t&&t+" ")+e)}))})),n}function _t(t){let e=[""];return t.forEach((t=>{t=t&&t.trim(),t&&(e=t.includes("&")?vt(e,t):yt(e,t))})),e.join(", ").replace(mt," ")}function bt(t){if(!t)return;const e=t.parentElement;e&&e.removeChild(t)}function Tt(t){return document.querySelector(`style[cssr-id="${t}"]`)}function Et(t){const e=document.createElement("style");return e.setAttribute("cssr-id",t),e}function Ct(t){return!!t&&/^\s*@(s|m)/.test(t)}const wt=/[A-Z]/g;function St(t){return t.replace(wt,(t=>"-"+t.toLowerCase()))}function At(t,e=" "){return"object"===typeof t&&null!==t?" {\n"+Object.entries(t).map((t=>e+` ${St(t[0])}: ${t[1]};`)).join("\n")+"\n"+e+"}":`: ${t};`}function kt(t,e,n){return"function"===typeof t?t({context:e.context,props:n}):t}function Bt(t,e,n,r){if(!e)return"";const i=kt(e,n,r);if(!i)return"";if("string"===typeof i)return`${t} {\n${i}\n}`;const o=Object.keys(i);if(0===o.length)return n.config.keepEmptyBlock?t+" {\n}":"";const s=t?[t+" {"]:[];return o.forEach((t=>{const e=i[t];"raw"!==t?(t=St(t),null!==e&&void 0!==e&&s.push(` ${t}${At(e)}`)):s.push("\n"+e+"\n")})),t&&s.push("}"),s.join("\n")}function Rt(t,e,n){t&&t.forEach((t=>{if(Array.isArray(t))Rt(t,e,n);else if("function"===typeof t){const r=t(e);Array.isArray(r)?Rt(r,e,n):r&&n(r)}else t&&n(t)}))}function It(t,e,n,r,i,o){const s=t.$;let a="";if(s&&"string"!==typeof s)if("function"===typeof s){const t=s({context:r.context,props:i});Ct(t)?a=t:e.push(t)}else if(s.before&&s.before(r.context),s.$&&"string"!==typeof s.$){if(s.$){const t=s.$({context:r.context,props:i});Ct(t)?a=t:e.push(t)}}else Ct(s.$)?a=s.$:e.push(s.$);else Ct(s)?a=s:e.push(s);const l=_t(e),c=Bt(l,t.props,r,i);a?(n.push(`${a} {`),o&&c&&o.insertRule(`${a} {\n${c}\n}\n`)):(o&&c&&o.insertRule(c),!o&&c.length&&n.push(c)),t.children&&Rt(t.children,{context:r.context,props:i},(t=>{if("string"===typeof t){const e=Bt(l,{raw:t},r,i);o?o.insertRule(e):n.push(e)}else It(t,e,n,r,i,o)})),e.pop(),a&&n.push("}"),s&&s.after&&s.after(r.context)}function Pt(t,e,n,r=!1){const i=[];return It(t,[],i,e,n,r?t.instance.__styleSheet:void 0),r?"":i.join("\n\n")}function xt(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24,e=1540483477*(65535&e)+(59797*(e>>>16)<<16),e^=e>>>24,n=1540483477*(65535&e)+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n^=255&t.charCodeAt(r),n=1540483477*(65535&n)+(59797*(n>>>16)<<16)}return n^=n>>>13,n=1540483477*(65535&n)+(59797*(n>>>16)<<16),((n^n>>>15)>>>0).toString(36)}var jt=xt;function Dt(t,e,n){const{els:r}=e;if(void 0===n)r.forEach(bt),e.els=[];else{const t=Tt(n);t&&r.includes(t)&&(bt(t),e.els=r.filter((e=>e!==t)))}}function Mt(t,e){t.push(e)}function Ot(t,e,n,r,i,o,s,a,l){if(o&&!l){if(void 0===n)return void console.error("[css-render/mount]: `id` is required in `silent` mode.");const i=window.__cssrContext;return void(i[n]||(i[n]=!0,Pt(e,t,r,o)))}let c;if(void 0===n&&(c=e.render(r),n=jt(c)),l)return void l.adapter(n,null!==c&&void 0!==c?c:e.render(r));const u=Tt(n);if(null!==u&&!s)return u;const h=null!==u&&void 0!==u?u:Et(n);if(void 0===c&&(c=e.render(r)),h.textContent=c,null!==u)return u;if(a){const t=document.head.querySelector(`meta[name="${a}"]`);if(t)return document.head.insertBefore(h,t),Mt(e.els,h),h}return i?document.head.insertBefore(h,document.head.querySelector("style, link")):document.head.appendChild(h),Mt(e.els,h),h}function Lt(t){return Pt(this,this.instance,t)}function Gt(t={}){const{id:e,ssr:n,props:r,head:i=!1,silent:o=!1,force:s=!1,anchorMetaName:a}=t,l=Ot(this.instance,this,e,r,i,o,s,a,n);return l}function Nt(t={}){const{id:e}=t;Dt(this.instance,this,e)}"undefined"!==typeof window&&(window.__cssrContext={});const Zt=function(t,e,n,r){return{instance:t,$:e,props:n,children:r,els:[],render:Lt,mount:Gt,unmount:Nt}},Ft=function(t,e,n,r){return Array.isArray(e)?Zt(t,{$:null},null,e):Array.isArray(n)?Zt(t,e,null,n):Array.isArray(r)?Zt(t,e,n,r):Zt(t,e,n,null)};function Ht(t={}){let e=null;const n={c:(...t)=>Ft(n,...t),use:(t,...e)=>t.install(n,...e),find:Tt,context:{},config:t,get __styleSheet(){if(!e){const t=document.createElement("style");return document.head.appendChild(t),e=document.styleSheets[document.styleSheets.length-1],e}return e}};return n}const{c:Ut}=Ht(),Vt="vueuc-style";function Qt(t){const e=(0,i.iH)(!!t.value);if(e.value)return(0,i.OT)(e);const n=(0,r.YP)(t,(t=>{t&&(e.value=!0,n())}));return(0,i.OT)(e)}var zt=(0,r.aZ)({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(t){return{showTeleport:Qt((0,i.Vh)(t,"show")),mergedTo:(0,r.Fl)((()=>{const{to:e}=t;return null!==e&&void 0!==e?e:"body"}))}},render(){return this.showTeleport?this.disabled?L("lazy-teleport",this.$slots):(0,r.h)(r.lR,{disabled:this.disabled,to:this.mergedTo},L("lazy-teleport",this.$slots)):null}});const Yt={top:"bottom",bottom:"top",left:"right",right:"left"},qt={start:"end",center:"center",end:"start"},Kt={top:"height",bottom:"height",left:"width",right:"width"},$t={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Wt={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Jt={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Xt={top:!0,bottom:!1,left:!0,right:!1},te={top:"end",bottom:"start",left:"end",right:"start"};function ee(t,e,n,r,i,o){if(!i||o)return{placement:t,top:0,left:0};const[s,a]=t.split("-");let l=null!==a&&void 0!==a?a:"center",c={top:0,left:0};const u=(t,i,o)=>{let s=0,a=0;const l=n[t]-e[i]-e[t];return l>0&&r&&(o?a=Xt[i]?l:-l:s=Xt[i]?l:-l),{left:s,top:a}},h="left"===s||"right"===s;if("center"!==l){const r=Jt[t],i=Yt[r],o=Kt[r];if(n[o]>e[o]){if(e[r]+e[o]e[i]&&(l=qt[a])}else{const t="bottom"===s||"top"===s?"left":"top",r=Yt[t],i=Kt[t],o=(n[i]-e[i])/2;(e[t]e[r]?(l=te[t],c=u(i,t,h)):(l=te[r],c=u(i,r,h)))}let p=s;return e[s] *",{pointerEvents:"all"})])]);var oe=(0,r.aZ)({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(t){const e=(0,r.f3)("VBinder"),n=nt((()=>void 0!==t.enabled?t.enabled:t.show)),o=(0,i.iH)(null),s=(0,i.iH)(null),a=()=>{const{syncTrigger:n}=t;n.includes("scroll")&&e.addScrollListener(u),n.includes("resize")&&e.addResizeListener(u)},l=()=>{e.removeScrollListener(u),e.removeResizeListener(u)};(0,r.bv)((()=>{n.value&&(u(),a())}));const c=dt();ie.mount({id:"vueuc/binder",head:!0,anchorMetaName:Vt,ssr:c}),(0,r.Jd)((()=>{l()})),at((()=>{n.value&&u()}));const u=()=>{if(!n.value)return;const r=o.value;if(null===r)return;const i=e.targetRef,{x:a,y:l,overlap:c}=t,u=void 0!==a&&void 0!==l?H(a,l):U(i);r.style.setProperty("--v-target-width",`${Math.round(u.width)}px`),r.style.setProperty("--v-target-height",`${Math.round(u.height)}px`);const{width:h,minWidth:p,placement:d,internalShift:f,flip:g}=t;r.setAttribute("v-placement",d),c?r.setAttribute("v-overlap",""):r.removeAttribute("v-overlap");const{style:m}=r;m.width="target"===h?`${u.width}px`:void 0!==h?h:"",m.minWidth="target"===p?`${u.width}px`:void 0!==p?p:"";const v=U(r),y=U(s.value),{left:_,top:b,placement:T}=ee(d,u,v,f,g,c),E=ne(T,c),{left:C,top:w,transform:S}=re(T,y,u,b,_,c);r.setAttribute("v-placement",T),r.style.setProperty("--v-offset-left",`${Math.round(_)}px`),r.style.setProperty("--v-offset-top",`${Math.round(b)}px`),r.style.transform=`translateX(${C}) translateY(${w}) ${S}`,r.style.setProperty("--v-transform-origin",E),r.style.transformOrigin=E};(0,r.YP)(n,(t=>{t?(a(),h()):l()}));const h=()=>{(0,r.Y3)().then(u).catch((t=>console.error(t)))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach((e=>{(0,r.YP)((0,i.Vh)(t,e),u)})),["teleportDisabled"].forEach((e=>{(0,r.YP)((0,i.Vh)(t,e),h)})),(0,r.YP)((0,i.Vh)(t,"syncTrigger"),(t=>{t.includes("resize")?e.addResizeListener(u):e.removeResizeListener(u),t.includes("scroll")?e.addScrollListener(u):e.removeScrollListener(u)}));const p=lt(),d=nt((()=>{const{to:e}=t;if(void 0!==e)return e;p.value}));return{VBinder:e,mergedEnabled:n,offsetContainerRef:s,followerRef:o,mergedTo:d,syncPosition:u}},render(){return(0,r.h)(zt,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var t,e;const n=(0,r.h)("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[(0,r.h)("div",{class:"v-binder-follower-content",ref:"followerRef"},null===(e=(t=this.$slots).default)||void 0===e?void 0:e.call(t))]);return this.zindexable?(0,r.wy)(n,[[tt,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});function se(t,e){return(0,r.YP)(t,(t=>{void 0!==t&&(e.value=t)})),(0,r.Fl)((()=>void 0===t.value?e.value:t.value))}var ae=n(9077);function le(t){let e,n=".",r="__",i="--";if(t){let e=t.blockPrefix;e&&(n=e),e=t.elementPrefix,e&&(r=e),e=t.modifierPrefix,e&&(i=e)}const o={install(t){e=t.c;const n=t.context;n.bem={},n.bem.b=null,n.bem.els=null}};function s(t){let e,r;return{before(t){e=t.bem.b,r=t.bem.els,t.bem.els=null},after(t){t.bem.b=e,t.bem.els=r},$({context:e,props:r}){return t="string"===typeof t?t:t({context:e,props:r}),e.bem.b=t,`${(null===r||void 0===r?void 0:r.bPrefix)||n}${e.bem.b}`}}}function a(t){let e;return{before(t){e=t.bem.els},after(t){t.bem.els=e},$({context:e,props:i}){return t="string"===typeof t?t:t({context:e,props:i}),e.bem.els=t.split(",").map((t=>t.trim())),e.bem.els.map((t=>`${(null===i||void 0===i?void 0:i.bPrefix)||n}${e.bem.b}${r}${t}`)).join(", ")}}}function l(t){return{$({context:e,props:o}){t="string"===typeof t?t:t({context:e,props:o});const s=t.split(",").map((t=>t.trim()));function a(t){return s.map((s=>`&${(null===o||void 0===o?void 0:o.bPrefix)||n}${e.bem.b}${void 0!==t?`${r}${t}`:""}${i}${s}`)).join(", ")}const l=e.bem.els;return null!==l?a(l[0]):a()}}}function c(t){return{$({context:e,props:o}){t="string"===typeof t?t:t({context:e,props:o});const s=e.bem.els;return`&:not(${(null===o||void 0===o?void 0:o.bPrefix)||n}${e.bem.b}${null!==s&&s.length>0?`${r}${s[0]}`:""}${i}${t})`}}}const u=(...t)=>e(s(t[0]),t[1],t[2]),h=(...t)=>e(a(t[0]),t[1],t[2]),p=(...t)=>e(l(t[0]),t[1],t[2]),d=(...t)=>e(c(t[0]),t[1],t[2]);return Object.assign(o,{cB:u,cE:h,cM:p,cNotM:d}),o}const ce="n",ue=`.${ce}-`,he="__",pe="--",de=Ht(),fe=le({blockPrefix:ue,elementPrefix:he,modifierPrefix:pe});de.use(fe);const{c:ge,find:me}=de,{cB:ve,cE:ye,cM:_e,cNotM:be}=fe;function Te(t){return ge((({props:{bPrefix:t}})=>`${t||ue}modal, ${t||ue}drawer`),[t])}function Ee(t){return ge((({props:{bPrefix:t}})=>`${t||ue}popover`),[t])}var Ce={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"};const{fontSize:we,fontFamily:Se,lineHeight:Ae}=Ce;var ke=ge("body",`\n margin: 0;\n font-size: ${we};\n font-family: ${Se};\n line-height: ${Ae};\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: transparent;\n`,[ge("input","\n font-family: inherit;\n font-size: inherit;\n ")]);function Be(t){return t}const Re=Be("n-config-provider"),Ie="naive-ui-style";function Pe(t,e,n,i,o,s){const a=dt(),l=(0,r.f3)(Re,null);if(n){const t=()=>{const t=null===s||void 0===s?void 0:s.value;n.mount({id:void 0===t?e:t+e,head:!0,props:{bPrefix:t?`.${t}-`:void 0},anchorMetaName:Ie,ssr:a}),(null===l||void 0===l?void 0:l.preflightStyleDisabled)||ke.mount({id:"n-global",head:!0,anchorMetaName:Ie,ssr:a})};a?t():(0,r.wF)(t)}const c=(0,r.Fl)((()=>{var e;const{theme:{common:n,self:r,peers:s={}}={},themeOverrides:a={},builtinThemeOverrides:c={}}=o,{common:u,peers:h}=a,{common:p,[t]:{common:d,self:f,peers:g={}}={}}=(null===l||void 0===l?void 0:l.mergedThemeRef.value)||{},{common:m,[t]:v={}}=(null===l||void 0===l?void 0:l.mergedThemeOverridesRef.value)||{},{common:y,peers:_={}}=v,b=(0,ae.Z)({},n||d||p||i.common,m,y,u),T=(0,ae.Z)(null===(e=r||f||i.self)||void 0===e?void 0:e(b),c,v,a);return{common:b,self:T,peers:(0,ae.Z)({},i.peers,g,s),peerOverrides:(0,ae.Z)({},c.peers,_,h)}}));return c}Pe.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var xe=Pe;const je="n";function De(t={},e={defaultBordered:!0}){const n=(0,r.f3)(Re,null);return{inlineThemeDisabled:null===n||void 0===n?void 0:n.inlineThemeDisabled,mergedRtlRef:null===n||void 0===n?void 0:n.mergedRtlRef,mergedComponentPropsRef:null===n||void 0===n?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:null===n||void 0===n?void 0:n.mergedBreakpointsRef,mergedBorderedRef:(0,r.Fl)((()=>{var r,i;const{bordered:o}=t;return void 0!==o?o:null===(i=null!==(r=null===n||void 0===n?void 0:n.mergedBorderedRef.value)&&void 0!==r?r:e.defaultBordered)||void 0===i||i})),mergedClsPrefixRef:n?n.mergedClsPrefixRef:(0,i.XI)(je),namespaceRef:(0,r.Fl)((()=>null===n||void 0===n?void 0:n.mergedNamespaceRef.value))}}const Me=Be("n-form-item");function Oe(t,{defaultSize:e="medium",mergedSize:n,mergedDisabled:i}={}){const o=(0,r.f3)(Me,null);(0,r.JJ)(Me,null);const s=(0,r.Fl)(n?()=>n(o):()=>{const{size:n}=t;if(n)return n;if(o){const{mergedSize:t}=o;if(void 0!==t.value)return t.value}return e}),a=(0,r.Fl)(i?()=>i(o):()=>{const{disabled:e}=t;return void 0!==e?e:!!o&&o.disabled.value}),l=(0,r.Fl)((()=>{const{status:e}=t;return e||(null===o||void 0===o?void 0:o.mergedValidationStatus.value)}));return(0,r.Jd)((()=>{o&&o.restoreValidation()})),{mergedSizeRef:s,mergedDisabledRef:a,mergedStatusRef:l,nTriggerFormBlur(){o&&o.handleContentBlur()},nTriggerFormChange(){o&&o.handleContentChange()},nTriggerFormFocus(){o&&o.handleContentFocus()},nTriggerFormInput(){o&&o.handleContentInput()}}}new Set;function Le(t,e){throw new Error(`[naive/${t}]: ${e}`)}function Ge(t,e,n,o){var s;n||Le("useThemeClass","cssVarsRef is not passed");const a=null===(s=(0,r.f3)(Re,null))||void 0===s?void 0:s.mergedThemeHashRef,l=(0,i.iH)(""),c=dt();let u;const h=`__${t}`,p=()=>{let t=h;const r=e?e.value:void 0,i=null===a||void 0===a?void 0:a.value;i&&(t+="-"+i),r&&(t+="-"+r);const{themeOverrides:s,builtinThemeOverrides:p}=o;s&&(t+="-"+jt(JSON.stringify(s))),p&&(t+="-"+jt(JSON.stringify(p))),l.value=t,u=()=>{const e=n.value;let r="";for(const t in e)r+=`${t}: ${e[t]};`;ge(`.${t}`,r).mount({id:t,ssr:c}),u=void 0}};return(0,r.m0)((()=>{p()})),{themeClass:l,onRender:()=>{null===u||void 0===u||u()}}}Be("n-internal-select-menu");const Ne=Be("n-internal-select-menu-body"),Ze=Be("n-modal-body"),Fe=(Be("n-modal-provider"),Be("n-modal"),Be("n-drawer-body")),He=(Be("n-drawer"),Be("n-popover-body")),Ue="__disabled__";function Ve(t){const e=(0,r.f3)(Ze,null),n=(0,r.f3)(Fe,null),o=(0,r.f3)(He,null),s=(0,r.f3)(Ne,null),a=(0,i.iH)();if("undefined"!==typeof document){a.value=document.fullscreenElement;const t=()=>{a.value=document.fullscreenElement};(0,r.bv)((()=>{M("fullscreenchange",document,t)})),(0,r.Jd)((()=>{O("fullscreenchange",document,t)}))}return nt((()=>{var r;const{to:i}=t;return void 0!==i?!1===i?Ue:!0===i?a.value||"body":i:(null===e||void 0===e?void 0:e.value)?null!==(r=e.value.$el)&&void 0!==r?r:e.value:(null===n||void 0===n?void 0:n.value)?n.value:(null===o||void 0===o?void 0:o.value)?o.value:(null===s||void 0===s?void 0:s.value)?s.value:null!==i&&void 0!==i?i:a.value||"body"}))}function Qe(t,...e){if(!Array.isArray(t))return t(...e);t.forEach((t=>Qe(t,...e)))}function ze(t){return t.some((t=>!(0,r.lA)(t)||t.type!==r.sv&&!(t.type===r.HY&&!ze(t.children))))?t:null}function Ye(t,e){return t&&ze(t())||e()}Ve.tdkey=Ue,Ve.propTo={type:[String,Object,Boolean],default:void 0};var qe={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},Ke={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"};const $e="^\\s*",We="\\s*$",Je="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",Xe="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",tn="([0-9A-Fa-f])",en="([0-9A-Fa-f]{2})",nn=(new RegExp(`${$e}hsl\\s*\\(${Xe},${Je},${Je}\\)${We}`),new RegExp(`${$e}hsv\\s*\\(${Xe},${Je},${Je}\\)${We}`),new RegExp(`${$e}hsla\\s*\\(${Xe},${Je},${Je},${Xe}\\)${We}`),new RegExp(`${$e}hsva\\s*\\(${Xe},${Je},${Je},${Xe}\\)${We}`),new RegExp(`${$e}rgb\\s*\\(${Xe},${Xe},${Xe}\\)${We}`)),rn=new RegExp(`${$e}rgba\\s*\\(${Xe},${Xe},${Xe},${Xe}\\)${We}`),on=new RegExp(`${$e}#${tn}${tn}${tn}${We}`),sn=new RegExp(`${$e}#${en}${en}${en}${We}`),an=new RegExp(`${$e}#${tn}${tn}${tn}${tn}${We}`),ln=new RegExp(`${$e}#${en}${en}${en}${en}${We}`);function cn(t){return parseInt(t,16)}function un(t){try{let e;if(e=sn.exec(t))return[cn(e[1]),cn(e[2]),cn(e[3]),1];if(e=nn.exec(t))return[vn(e[1]),vn(e[5]),vn(e[9]),1];if(e=rn.exec(t))return[vn(e[1]),vn(e[5]),vn(e[9]),mn(e[13])];if(e=on.exec(t))return[cn(e[1]+e[1]),cn(e[2]+e[2]),cn(e[3]+e[3]),1];if(e=ln.exec(t))return[cn(e[1]),cn(e[2]),cn(e[3]),mn(cn(e[4])/255)];if(e=an.exec(t))return[cn(e[1]+e[1]),cn(e[2]+e[2]),cn(e[3]+e[3]),mn(cn(e[4]+e[4])/255)];if(t in Ke)return un(Ke[t]);throw new Error(`[seemly/rgba]: Invalid color value ${t}.`)}catch(e){throw e}}function hn(t){return t>1?1:t<0?0:t}function pn(t,e,n,r){return`rgba(${vn(t)}, ${vn(e)}, ${vn(n)}, ${hn(r)})`}function dn(t,e,n,r,i){return vn((t*e*(1-r)+n*r)/i)}function fn(t,e){Array.isArray(t)||(t=un(t)),Array.isArray(e)||(e=un(e));const n=t[3],r=e[3],i=mn(n+r-n*r);return pn(dn(t[0],n,e[0],r,i),dn(t[1],n,e[1],r,i),dn(t[2],n,e[2],r,i),i)}function gn(t,e){const[n,r,i,o=1]=Array.isArray(t)?t:un(t),{lightness:s=1,alpha:a=1}=e;return yn([n*s,r*s,i*s,o*a])}function mn(t){const e=Math.round(100*Number(t))/100;return e>1?1:e<0?0:e}function vn(t){const e=Math.round(Number(t));return e>255?255:e<0?0:e}function yn(t){const[e,n,r]=t;return 3 in t?`rgba(${vn(e)}, ${vn(n)}, ${vn(r)}, ${mn(t[3])})`:`rgba(${vn(e)}, ${vn(n)}, ${vn(r)}, 1)`}const _n={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},bn=un(_n.neutralBase),Tn=un(_n.neutralInvertBase),En="rgba("+Tn.slice(0,3).join(", ")+", ";function Cn(t){return En+String(t)+")"}function wn(t){const e=Array.from(Tn);return e[3]=Number(t),fn(bn,e)}const Sn=Object.assign(Object.assign({name:"common"},Ce),{baseColor:_n.neutralBase,primaryColor:_n.primaryDefault,primaryColorHover:_n.primaryHover,primaryColorPressed:_n.primaryActive,primaryColorSuppl:_n.primarySuppl,infoColor:_n.infoDefault,infoColorHover:_n.infoHover,infoColorPressed:_n.infoActive,infoColorSuppl:_n.infoSuppl,successColor:_n.successDefault,successColorHover:_n.successHover,successColorPressed:_n.successActive,successColorSuppl:_n.successSuppl,warningColor:_n.warningDefault,warningColorHover:_n.warningHover,warningColorPressed:_n.warningActive,warningColorSuppl:_n.warningSuppl,errorColor:_n.errorDefault,errorColorHover:_n.errorHover,errorColorPressed:_n.errorActive,errorColorSuppl:_n.errorSuppl,textColorBase:_n.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:wn(_n.alpha4),placeholderColor:wn(_n.alpha4),placeholderColorDisabled:wn(_n.alpha5),iconColor:wn(_n.alpha4),iconColorHover:gn(wn(_n.alpha4),{lightness:.75}),iconColorPressed:gn(wn(_n.alpha4),{lightness:.9}),iconColorDisabled:wn(_n.alpha5),opacity1:_n.alpha1,opacity2:_n.alpha2,opacity3:_n.alpha3,opacity4:_n.alpha4,opacity5:_n.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:wn(Number(_n.alphaClose)),closeIconColorHover:wn(Number(_n.alphaClose)),closeIconColorPressed:wn(Number(_n.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:wn(_n.alpha4),clearColorHover:gn(wn(_n.alpha4),{lightness:.75}),clearColorPressed:gn(wn(_n.alpha4),{lightness:.9}),scrollbarColor:Cn(_n.alphaScrollbar),scrollbarColorHover:Cn(_n.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:wn(_n.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:_n.neutralPopover,tableColor:_n.neutralCard,cardColor:_n.neutralCard,modalColor:_n.neutralModal,bodyColor:_n.neutralBody,tagColor:"#eee",avatarColor:wn(_n.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:wn(_n.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:_n.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"});var An=Sn;const kn=t=>{const e="rgba(0, 0, 0, .85)",n="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,primaryColor:i,baseColor:o,cardColor:s,modalColor:a,popoverColor:l,borderRadius:c,fontSize:u,opacityDisabled:h}=t;return Object.assign(Object.assign({},qe),{fontSize:u,markFontSize:u,railColor:r,railColorHover:r,fillColor:i,fillColorHover:i,opacityDisabled:h,handleColor:"#FFF",dotColor:s,dotColorModal:a,dotColorPopover:l,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:e,indicatorBoxShadow:n,indicatorTextColor:o,indicatorBorderRadius:c,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${i}`,dotBoxShadow:""})},Bn={name:"Slider",common:An,self:kn};var Rn=Bn;function In(t){return window.TouchEvent&&t instanceof window.TouchEvent}function Pn(){const t=new Map,e=e=>n=>{t.set(e,n)};return(0,r.Xn)((()=>{t.clear()})),[t,e]}const{cubicBezierEaseIn:xn,cubicBezierEaseOut:jn}=Ce;function Dn({transformOrigin:t="inherit",duration:e=".2s",enterScale:n=".9",originalTransform:r="",originalTransition:i=""}={}){return[ge("&.fade-in-scale-up-transition-leave-active",{transformOrigin:t,transition:`opacity ${e} ${xn}, transform ${e} ${xn} ${i&&","+i}`}),ge("&.fade-in-scale-up-transition-enter-active",{transformOrigin:t,transition:`opacity ${e} ${jn}, transform ${e} ${jn} ${i&&","+i}`}),ge("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${r} scale(${n})`}),ge("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${r} scale(1)`})]}var Mn=ge([ve("slider","\n display: block;\n padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;\n position: relative;\n z-index: 0;\n width: 100%;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n ",[_e("reverse",[ve("slider-handles",[ve("slider-handle-wrapper","\n transform: translate(50%, -50%);\n ")]),ve("slider-dots",[ve("slider-dot","\n transform: translateX(50%, -50%);\n ")]),_e("vertical",[ve("slider-handles",[ve("slider-handle-wrapper","\n transform: translate(-50%, -50%);\n ")]),ve("slider-marks",[ve("slider-mark","\n transform: translateY(calc(-50% + var(--n-dot-height) / 2));\n ")]),ve("slider-dots",[ve("slider-dot","\n transform: translateX(-50%) translateY(0);\n ")])])]),_e("vertical","\n padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);\n width: var(--n-rail-width-vertical);\n height: 100%;\n ",[ve("slider-handles","\n top: calc(var(--n-handle-size) / 2);\n right: 0;\n bottom: calc(var(--n-handle-size) / 2);\n left: 0;\n ",[ve("slider-handle-wrapper","\n top: unset;\n left: 50%;\n transform: translate(-50%, 50%);\n ")]),ve("slider-rail","\n height: 100%;\n ",[ye("fill","\n top: unset;\n right: 0;\n bottom: unset;\n left: 0;\n ")]),_e("with-mark","\n width: var(--n-rail-width-vertical);\n margin: 0 32px 0 8px;\n "),ve("slider-marks","\n top: calc(var(--n-handle-size) / 2);\n right: unset;\n bottom: calc(var(--n-handle-size) / 2);\n left: 22px;\n font-size: var(--n-mark-font-size);\n ",[ve("slider-mark","\n transform: translateY(50%);\n white-space: nowrap;\n ")]),ve("slider-dots","\n top: calc(var(--n-handle-size) / 2);\n right: unset;\n bottom: calc(var(--n-handle-size) / 2);\n left: 50%;\n ",[ve("slider-dot","\n transform: translateX(-50%) translateY(50%);\n ")])]),_e("disabled","\n cursor: not-allowed;\n opacity: var(--n-opacity-disabled);\n ",[ve("slider-handle","\n cursor: not-allowed;\n ")]),_e("with-mark","\n width: 100%;\n margin: 8px 0 32px 0;\n "),ge("&:hover",[ve("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[ye("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),ve("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),_e("active",[ve("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[ye("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),ve("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),ve("slider-marks","\n position: absolute;\n top: 18px;\n left: calc(var(--n-handle-size) / 2);\n right: calc(var(--n-handle-size) / 2);\n ",[ve("slider-mark","\n position: absolute;\n transform: translateX(-50%);\n white-space: nowrap;\n ")]),ve("slider-rail","\n width: 100%;\n position: relative;\n height: var(--n-rail-height);\n background-color: var(--n-rail-color);\n transition: background-color .3s var(--n-bezier);\n border-radius: calc(var(--n-rail-height) / 2);\n ",[ye("fill","\n position: absolute;\n top: 0;\n bottom: 0;\n border-radius: calc(var(--n-rail-height) / 2);\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-fill-color);\n ")]),ve("slider-handles","\n position: absolute;\n top: 0;\n right: calc(var(--n-handle-size) / 2);\n bottom: 0;\n left: calc(var(--n-handle-size) / 2);\n ",[ve("slider-handle-wrapper","\n outline: none;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n cursor: pointer;\n display: flex;\n ",[ve("slider-handle","\n height: var(--n-handle-size);\n width: var(--n-handle-size);\n border-radius: 50%;\n overflow: hidden;\n transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);\n background-color: var(--n-handle-color);\n box-shadow: var(--n-handle-box-shadow);\n ",[ge("&:hover","\n box-shadow: var(--n-handle-box-shadow-hover);\n ")]),ge("&:focus",[ve("slider-handle","\n box-shadow: var(--n-handle-box-shadow-focus);\n ",[ge("&:hover","\n box-shadow: var(--n-handle-box-shadow-active);\n ")])])])]),ve("slider-dots","\n position: absolute;\n top: 50%;\n left: calc(var(--n-handle-size) / 2);\n right: calc(var(--n-handle-size) / 2);\n ",[_e("transition-disabled",[ve("slider-dot","transition: none;")]),ve("slider-dot","\n transition:\n border-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n position: absolute;\n transform: translate(-50%, -50%);\n height: var(--n-dot-height);\n width: var(--n-dot-width);\n border-radius: var(--n-dot-border-radius);\n overflow: hidden;\n box-sizing: border-box;\n border: var(--n-dot-border);\n background-color: var(--n-dot-color);\n ",[_e("active","border: var(--n-dot-border-active);")])])]),ve("slider-handle-indicator","\n font-size: var(--n-font-size);\n padding: 6px 10px;\n border-radius: var(--n-indicator-border-radius);\n color: var(--n-indicator-text-color);\n background-color: var(--n-indicator-color);\n box-shadow: var(--n-indicator-box-shadow);\n ",[Dn()]),ve("slider-handle-indicator","\n font-size: var(--n-font-size);\n padding: 6px 10px;\n border-radius: var(--n-indicator-border-radius);\n color: var(--n-indicator-text-color);\n background-color: var(--n-indicator-color);\n box-shadow: var(--n-indicator-box-shadow);\n ",[_e("top","\n margin-bottom: 12px;\n "),_e("right","\n margin-left: 12px;\n "),_e("bottom","\n margin-top: 12px;\n "),_e("left","\n margin-right: 12px;\n "),Dn()]),Te(ve("slider",[ve("slider-dot","background-color: var(--n-dot-color-modal);")])),Ee(ve("slider",[ve("slider-dot","background-color: var(--n-dot-color-popover);")]))]);const On=0,Ln=Object.assign(Object.assign({},xe.props),{to:Ve.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]});var Gn=(0,r.aZ)({name:"Slider",props:Ln,setup(t){const{mergedClsPrefixRef:e,namespaceRef:n,inlineThemeDisabled:o}=De(t),s=xe("Slider","-slider",Mn,Rn,t,e),a=(0,i.iH)(null),[l,c]=Pn(),[u,h]=Pn(),p=(0,i.iH)(new Set),d=Oe(t),{mergedDisabledRef:f}=d,g=(0,r.Fl)((()=>{const{step:e}=t;if(Number(e)<=0||"mark"===e)return 0;const n=e.toString();let r=0;return n.includes(".")&&(r=n.length-n.indexOf(".")-1),r})),m=(0,i.iH)(t.defaultValue),v=(0,i.Vh)(t,"value"),y=se(v,m),_=(0,r.Fl)((()=>{const{value:e}=y;return(t.range?e:[e]).map(H)})),b=(0,r.Fl)((()=>_.value.length>2)),T=(0,r.Fl)((()=>void 0===t.placement?t.vertical?"right":"top":t.placement)),E=(0,r.Fl)((()=>{const{marks:e}=t;return e?Object.keys(e).map(parseFloat):null})),C=(0,i.iH)(-1),w=(0,i.iH)(-1),S=(0,i.iH)(-1),A=(0,i.iH)(!1),k=(0,i.iH)(!1),B=(0,r.Fl)((()=>{const{vertical:e,reverse:n}=t,r=n?"right":"left",i=n?"top":"bottom";return e?i:r})),R=(0,r.Fl)((()=>{if(b.value)return;const e=_.value,n=U(t.range?Math.min(...e):t.min),r=U(t.range?Math.max(...e):e[0]),{value:i}=B;return t.vertical?{[i]:`${n}%`,height:r-n+"%"}:{[i]:`${n}%`,width:r-n+"%"}})),I=(0,r.Fl)((()=>{const e=[],{marks:n}=t;if(n){const r=_.value.slice();r.sort(((t,e)=>t-e));const{value:i}=B,{value:o}=b,{range:s}=t,a=o?()=>!1:t=>s?t>=r[0]&&t<=r[r.length-1]:t<=r[0];for(const t of Object.keys(n)){const r=Number(t);e.push({active:a(r),label:n[t],style:{[i]:`${U(r)}%`}})}}return e}));function P(t,e){const n=U(t),{value:r}=B;return{[r]:`${n}%`,zIndex:e===C.value?1:0}}function x(e){return t.showTooltip||S.value===e||C.value===e&&A.value}function j(t){return!A.value||!(C.value===t&&w.value===t)}function D(t){var e;~t&&(C.value=t,null===(e=l.get(t))||void 0===e||e.focus())}function L(){u.forEach(((t,e)=>{x(e)&&t.syncPosition()}))}function G(e){const{"onUpdate:value":n,onUpdateValue:r}=t,{nTriggerFormInput:i,nTriggerFormChange:o}=d;r&&Qe(r,e),n&&Qe(n,e),m.value=e,i(),o()}function N(e){const{range:n}=t;if(n){if(Array.isArray(e)){const{value:t}=_;e.join()!==t.join()&&G(e)}}else if(!Array.isArray(e)){const t=_.value[0];t!==e&&G(e)}}function Z(e,n){if(t.range){const t=_.value.slice();t.splice(n,1,e),N(t)}else N(e)}function F(e,n,r){const i=void 0!==r;r||(r=e-n>0?1:-1);const o=E.value||[],{step:s}=t;if("mark"===s){const t=z(e,o.concat(n),i?r:void 0);return t?t.value:n}if(s<=0)return n;const{value:a}=g;let l;if(i){const t=Number((n/s).toFixed(a)),e=Math.floor(t),i=t>e?e:e-1,c=t0)&&(null===r||s0?1:-1),n)}function $(e){var n,r;if(f.value)return;if(!In(e)&&e.button!==On)return;const i=Y(e);if(void 0===i)return;const o=_.value.slice(),s=t.range?null!==(r=null===(n=z(i,o))||void 0===n?void 0:n.index)&&void 0!==r?r:-1:0;-1!==s&&(e.preventDefault(),D(s),W(),Z(F(i,_.value[s]),s))}function W(){A.value||(A.value=!0,t.onDragstart&&Qe(t.onDragstart),M("touchend",document,tt),M("mouseup",document,tt),M("touchmove",document,X),M("mousemove",document,X))}function J(){A.value&&(A.value=!1,t.onDragend&&Qe(t.onDragend),O("touchend",document,tt),O("mouseup",document,tt),O("touchmove",document,X),O("mousemove",document,X))}function X(t){const{value:e}=C;if(!A.value||-1===e)return void J();const n=Y(t);void 0!==n&&Z(F(n,_.value[e]),e)}function tt(){J()}function et(t){C.value=t,f.value||(S.value=t)}function nt(t){C.value===t&&(C.value=-1,J()),S.value===t&&(S.value=-1)}function rt(t){S.value=t}function it(t){S.value===t&&(S.value=-1)}(0,r.YP)(C,((t,e)=>{(0,r.Y3)((()=>w.value=e))})),(0,r.YP)(y,(()=>{if(t.marks){if(k.value)return;k.value=!0,(0,r.Y3)((()=>{k.value=!1}))}(0,r.Y3)(L)})),(0,r.Jd)((()=>{J()}));const ot=(0,r.Fl)((()=>{const{self:{markFontSize:t,railColor:e,railColorHover:n,fillColor:r,fillColorHover:i,handleColor:o,opacityDisabled:a,dotColor:l,dotColorModal:c,handleBoxShadow:u,handleBoxShadowHover:h,handleBoxShadowActive:p,handleBoxShadowFocus:d,dotBorder:f,dotBoxShadow:g,railHeight:m,railWidthVertical:v,handleSize:y,dotHeight:_,dotWidth:b,dotBorderRadius:T,fontSize:E,dotBorderActive:C,dotColorPopover:w},common:{cubicBezierEaseInOut:S}}=s.value;return{"--n-bezier":S,"--n-dot-border":f,"--n-dot-border-active":C,"--n-dot-border-radius":T,"--n-dot-box-shadow":g,"--n-dot-color":l,"--n-dot-color-modal":c,"--n-dot-color-popover":w,"--n-dot-height":_,"--n-dot-width":b,"--n-fill-color":r,"--n-fill-color-hover":i,"--n-font-size":E,"--n-handle-box-shadow":u,"--n-handle-box-shadow-active":p,"--n-handle-box-shadow-focus":d,"--n-handle-box-shadow-hover":h,"--n-handle-color":o,"--n-handle-size":y,"--n-opacity-disabled":a,"--n-rail-color":e,"--n-rail-color-hover":n,"--n-rail-height":m,"--n-rail-width-vertical":v,"--n-mark-font-size":t}})),st=o?Ge("slider",void 0,ot,t):void 0,at=(0,r.Fl)((()=>{const{self:{fontSize:t,indicatorColor:e,indicatorBoxShadow:n,indicatorTextColor:r,indicatorBorderRadius:i}}=s.value;return{"--n-font-size":t,"--n-indicator-border-radius":i,"--n-indicator-box-shadow":n,"--n-indicator-color":e,"--n-indicator-text-color":r}})),ct=o?Ge("slider-indicator",void 0,at,t):void 0;return{mergedClsPrefix:e,namespace:n,uncontrolledValue:m,mergedValue:y,mergedDisabled:f,mergedPlacement:T,isMounted:lt(),adjustedTo:Ve(t),dotTransitionDisabled:k,markInfos:I,isShowTooltip:x,shouldKeepTooltipTransition:j,handleRailRef:a,setHandleRefs:c,setFollowerRefs:h,fillStyle:R,getHandleStyle:P,activeIndex:C,arrifiedValues:_,followerEnabledIndexSet:p,handleRailMouseDown:$,handleHandleFocus:et,handleHandleBlur:nt,handleHandleMouseEnter:rt,handleHandleMouseLeave:it,handleRailKeyDown:q,indicatorCssVars:o?void 0:at,indicatorThemeClass:null===ct||void 0===ct?void 0:ct.themeClass,indicatorOnRender:null===ct||void 0===ct?void 0:ct.onRender,cssVars:o?void 0:ot,themeClass:null===st||void 0===st?void 0:st.themeClass,onRender:null===st||void 0===st?void 0:st.onRender}},render(){var t;const{mergedClsPrefix:e,themeClass:n,formatTooltip:i}=this;return null===(t=this.onRender)||void 0===t||t.call(this),(0,r.h)("div",{class:[`${e}-slider`,n,{[`${e}-slider--disabled`]:this.mergedDisabled,[`${e}-slider--active`]:-1!==this.activeIndex,[`${e}-slider--with-mark`]:this.marks,[`${e}-slider--vertical`]:this.vertical,[`${e}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},(0,r.h)("div",{class:`${e}-slider-rail`},(0,r.h)("div",{class:`${e}-slider-rail__fill`,style:this.fillStyle}),this.marks?(0,r.h)("div",{class:[`${e}-slider-dots`,this.dotTransitionDisabled&&`${e}-slider-dots--transition-disabled`]},this.markInfos.map((t=>(0,r.h)("div",{key:t.label,class:[`${e}-slider-dot`,{[`${e}-slider-dot--active`]:t.active}],style:t.style})))):null,(0,r.h)("div",{ref:"handleRailRef",class:`${e}-slider-handles`},this.arrifiedValues.map(((t,n)=>{const o=this.isShowTooltip(n);return(0,r.h)(Y,null,{default:()=>[(0,r.h)(q,null,{default:()=>(0,r.h)("div",{ref:this.setHandleRefs(n),class:`${e}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(t,n),onFocus:()=>{this.handleHandleFocus(n)},onBlur:()=>{this.handleHandleBlur(n)},onMouseenter:()=>{this.handleHandleMouseEnter(n)},onMouseleave:()=>{this.handleHandleMouseLeave(n)}},Ye(this.$slots.thumb,(()=>[(0,r.h)("div",{class:`${e}-slider-handle`})])))}),this.tooltip&&(0,r.h)(oe,{ref:this.setFollowerRefs(n),show:o,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(n),teleportDisabled:this.adjustedTo===Ve.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>(0,r.h)(g.uT,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(n),onEnter:()=>{this.followerEnabledIndexSet.add(n)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(n)}},{default:()=>{var n;return o?(null===(n=this.indicatorOnRender)||void 0===n||n.call(this),(0,r.h)("div",{class:[`${e}-slider-handle-indicator`,this.indicatorThemeClass,`${e}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},"function"===typeof i?i(t):t)):null}})})]})}))),this.marks?(0,r.h)("div",{class:`${e}-slider-marks`},this.markInfos.map((t=>(0,r.h)("div",{key:t.label,class:`${e}-slider-mark`,style:t.style},t.label)))):null))}});const Nn={class:"timeController"},Zn={class:"playController"},Fn={class:"leftPlayController"},Hn=["src"],Un=["src"],Vn={class:"sliderSpeedCon"},Qn={class:"thumb"},zn={class:"rightPlayController"},Yn={class:"videoName"};var qn=(0,r.aZ)({__name:"videoPlay",props:{disableEvents:{type:Boolean}},emits:["ready","ended"],setup(t,{expose:e,emit:s}){const a=t,l="video"+(0,T.hb)();let c,u=!1;const h=(0,i.iH)(""),p=(0,i.qj)({currentTime:0,duration:0,currentTimeSilder:0,isDrag:!1}),d=(0,i.iH)(),f=(0,i.iH)();let _;function E(){_&&clearTimeout(_),_=setTimeout((()=>{f.value?.hide()}),5e3)}const w=(0,i.qj)({type:"pause",loop:!1,minSpeed:.5,maxSpeed:1.5,speedStep:.1,palySpeed:1});(0,r.YP)((()=>w.palySpeed),(()=>{E()}));const S=(0,i.iH)(!0);let A,k;function B(){c=b()(l,{controls:!1,loop:!1}),c.ready((()=>{console.log("播放器初始化完成"),u=!0,s("ready")})),c.on("loadstart",(()=>{c.playbackRate(w.palySpeed)})),c.on("loadedmetadata",(()=>{console.log("loadedmetadata"),c.play()})),c.on("durationchange",(()=>{p.duration=Math.ceil(c.duration())})),c.on("timeupdate",(()=>{p.currentTime=Math.ceil(c.currentTime()),p.isDrag||(p.currentTimeSilder=p.currentTime)})),c.on("play",(()=>{w.type="play"})),c.on("pause",(()=>{w.type="pause"})),c.on("ended",(()=>{s("ended")}))}function R({src:t,name:e}){h.value=e,k&&clearInterval(k),u?I(t):k=setInterval((()=>{u&&(clearInterval(k),I(t))}),60)}function I(t){c?.src(t),F()}function P(t){c.currentTime(t||p.currentTimeSilder),p.isDrag=!1}function x(t){p.isDrag=!0,p.currentTimeSilder=t}function j(t){P(p.currentTime+("fast"===t?5:-5)),F()}function D(){"pause"===w.type?c.play():c.pause(),F()}function M(){c.pause(),F()}function O(){w.loop?c.loop(!1):c.loop(!0),w.loop=c.loop()}function L(t){w.palySpeed=t,c.playbackRate(t)}function G(t){const e=parseFloat((w.palySpeed+t).toFixed(1));e>w.maxSpeed||e{B()})),(0,r.Ah)((()=>{c?.dispose()})),e({playVideo:R,pauseVideo:M}),(t,e)=>{const s=(0,r.up)("el-popover");return(0,r.wg)(),(0,r.iD)("div",{onKeydown:N,onMousemove:Z,class:(0,o.C_)(["videoPlay",{isHideController:!S.value}]),tabindex:"-1"},[(0,r._)("video",{class:"videoPlayBox",onClick:D,id:l,preload:"auto",playsinline:"","webkit-playsinline":""}),(0,r._)("div",{class:"videoController",onClick:e[2]||(e[2]=(0,g.iM)((()=>{}),["stop"]))},[(0,r._)("div",Nn,(0,o.zw)(`${(0,i.SU)(C)(p.currentTime)} / ${(0,i.SU)(C)(p.duration)}`),1),(0,r.Wm)((0,i.SU)(Gn),{class:"sliderController",keyboard:!1,value:p.currentTimeSilder,tooltip:S.value,"onUpdate:value":x,"on-dragend":P,max:p.duration,"format-tooltip":t=>(0,i.SU)(C)(t)},null,8,["value","tooltip","max","format-tooltip"]),(0,r._)("div",Zn,[(0,r._)("div",Fn,[(0,r._)("img",{onClick:D,src:n(3994)(`./${"play"===w.type?"iconPause":"iconPlay"}.png`)},null,8,Hn),(0,r._)("img",{onClick:O,src:n(3994)(`./${w.loop?"iconLoopActive":"iconLoop"}.png`)},null,8,Un),(0,r._)("img",{ref_key:"btnSpendDom",ref:d,src:m},null,512),(0,r.Wm)(s,{onShow:E,ref_key:"popoverSpendDom",ref:f,"virtual-ref":d.value,trigger:"click",placement:"top",teleported:!1,"popper-class":"palySpeedPopover","virtual-triggering":""},{default:(0,r.w5)((()=>[(0,r._)("div",Vn,[(0,r._)("img",{onClick:e[0]||(e[0]=t=>G(w.speedStep)),src:v}),(0,r.Wm)((0,i.SU)(Gn),{class:"sliderSpeed",tooltip:!1,keyboard:!1,value:w.palySpeed,"onUpdate:value":L,vertical:"",step:w.speedStep,max:w.maxSpeed,min:w.minSpeed},{thumb:(0,r.w5)((()=>[(0,r._)("div",Qn,(0,o.zw)(w.palySpeed.toFixed(1)+"X"),1)])),_:1},8,["value","step","max","min"]),(0,r._)("img",{onClick:e[1]||(e[1]=t=>G(-w.speedStep)),src:y})])])),_:1},8,["virtual-ref"])]),(0,r._)("div",zn,[(0,r._)("div",Yn,[(0,r._)("div",null,(0,o.zw)(h.value||""),1)])])])])],34)}}}),Kn=n(89);const $n=(0,Kn.Z)(qn,[["__scopeId","data-v-2f9b7174"]]);var Wn=$n,Jn=Wn,Xn=n(8039),tr=n(7053);const er=t=>tr.rO.axioseRquest({method:"post",url:"/api-teacher/courseSchedule/getCoursewarePlayTime?courseScheduleId="+t,params:{playFrom:"WEB"}}),nr=(t,e)=>tr.rO.axioseRquest({method:"post",url:`/api-teacher/courseSchedule/coursewarePlayTime?courseScheduleId=${t}&playTime=${e}`,params:{playFrom:"WEB"}}),rr=t=>tr.rO.axioseRquest({method:"post",url:"/api-teacher/courseSchedule/checkWebCourse/"+t});var ir=n(3387),or=n(2529),sr=n(2483),ar=n(6e3),lr=n.p+"img/icon-load.027b4b78.gif",cr=n(1565);const ur=t=>((0,r.dD)("data-v-806183c2"),t=t(),(0,r.Cn)(),t),hr={class:"courseCollapseHead"},pr=ur((()=>(0,r._)("div",{class:"courseCollapseHeadArrow"},[(0,r._)("div",{class:"headArrow"}),(0,r._)("div",{class:"headArrowActive"})],-1))),dr={class:"courseCollapseHeadTit"},fr=["onClick"],gr=ur((()=>(0,r._)("div",{class:"imgIcon"},null,-1))),mr={class:"ellipsisBox"},vr={class:"iconArrow"},yr={key:0,src:lr};var _r=(0,r.aZ)({__name:"courseCollapse",props:{activeCollapse:{},courseList:{},isChild:{type:Boolean}},emits:["handleClick"],setup(t,{emit:e}){const n=t;(0,r.YP)((()=>n.activeCollapse),(()=>{s.value=a()}));const s=(0,i.iH)(a());function a(){const t=n.courseList.find((t=>(n.activeCollapse?.parentData.ids||[]).includes(t.id)));return t?.id||""}function l(t){e("handleClick",t)}return(t,e)=>{const a=(0,r.up)("courseCollapse",!0),c=(0,r.up)("el-collapse-item"),u=(0,r.up)("el-collapse");return(0,r.wg)(),(0,r.j4)(u,{class:"courseCollapse",accordion:"",modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=t=>s.value=t)},{default:(0,r.w5)((()=>[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.courseList,(e=>((0,r.wg)(),(0,r.j4)(c,{key:e.id,name:e.id,class:(0,o.C_)({isChild:n.isChild})},{title:(0,r.w5)((()=>[(0,r._)("div",hr,[pr,(0,r._)("div",dr,[(0,r.Wm)((0,i.SU)(cr.Z),{title:e.name},null,8,["title"])])])])),default:(0,r.w5)((()=>[(0,r._)("div",{class:(0,o.C_)(["courseCollapseCon",{courseListCon:e.materialList}])},[e.materialList?((0,r.wg)(!0),(0,r.iD)(r.HY,{key:0},(0,r.Ko)(e.materialList,(e=>((0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["courseList",{isActive:t.activeCollapse?.id===e.id}]),key:e.id,onClick:t=>l(e)},[(0,r._)("div",{class:(0,o.C_)(["courseTitleCon",e.typeCode||e.type])},[gr,(0,r._)("div",mr,[(0,r.Wm)((0,i.SU)(cr.Z),{title:e.name},null,8,["title"])])],2),(0,r._)("div",vr,[t.activeCollapse?.id===e.id?((0,r.wg)(),(0,r.iD)("img",yr)):(0,r.kq)("",!0)])],10,fr)))),128)):((0,r.wg)(),(0,r.j4)(a,{key:1,isChild:!0,courseList:e.children||[],activeCollapse:t.activeCollapse,onHandleClick:l},null,8,["courseList","activeCollapse"]))],2)])),_:2},1032,["name","class"])))),128))])),_:1},8,["modelValue"])}}});const br=(0,Kn.Z)(_r,[["__scopeId","data-v-806183c2"]]);var Tr=br,Er=Tr,Cr=n(6636);const wr=["src"],Sr=(0,r._)("svg",{width:"22px",height:"20px",viewBox:"0 0 22 20"},[(0,r._)("path",{transform:"translate(-1.000000, -2.000000)",fill:"#FFFFFF",d:"M13,2 C13.5522847,2 14,2.44771525 14,3 C14,3.51283584 13.6139598,3.93550716 13.1166211,3.99327227 L13,4 L3,4 L3,20 L13,20 C13.5128358,20 13.9355072,20.3860402 13.9932723,20.8833789 L14,21 C14,21.5128358 13.6139598,21.9355072 13.1166211,21.9932723 L13,22 L2,22 C1.48716416,22 1.06449284,21.6139598 1.00672773,21.1166211 L1,21 L1,3 C1,2.48716416 1.38604019,2.06449284 1.88337887,2.00672773 L2,2 L13,2 Z M17.7071068,7.05025253 L21.9497475,11.2928932 L21.9497475,11.2928932 C22.3402718,11.6834175 22.3402718,12.3165825 21.9497475,12.7071068 L17.7071068,16.9497475 C17.3165825,17.3402718 16.6834175,17.3402718 16.2928932,16.9497475 C15.9023689,16.5592232 15.9023689,15.9260582 16.2928932,15.5355339 L18.828,12.999 L9.29368112,13 C8.74139637,13 8.29368112,12.5522847 8.29368112,12 C8.29368112,11.4871642 8.67972131,11.0644928 9.17706,11.0067277 L9.29368112,11 L18.827,10.999 L16.2928932,8.46446609 C15.9023689,8.0739418 15.9023689,7.44077682 16.2928932,7.05025253 C16.6834175,6.65972824 17.3165825,6.65972824 17.7071068,7.05025253 Z"})],-1),Ar=[Sr];var kr=(0,r.aZ)({__name:"pen",props:{isWhite:{type:Boolean},close:{type:Function}},setup(t){return(t,e)=>{const n=(0,r.up)("el-dialog");return(0,r.wg)(),(0,r.j4)(n,(0,r.dG)({"modal-class":"penModalClass",class:["penElDialog",{isWhite:t.isWhite}]},t.$attrs,{fullscreen:!0,"show-close":!1}),{default:(0,r.w5)((()=>[(0,r._)("iframe",{class:"penIframe",frameborder:"0",src:(0,i.SU)(Cr.z)},null,8,wr),(0,r._)("div",{class:"closeSvg",onClick:e[0]||(e[0]=(...e)=>t.close&&t.close(...e))},Ar)])),_:1},16,["class"])}}});const Br=kr;var Rr=Br,Ir=Rr;const Pr=t=>((0,r.dD)("data-v-713f3a1e"),t=t(),(0,r.Cn)(),t),xr={class:"playRecordTime"},jr=Pr((()=>(0,r._)("div",{class:"drop"},null,-1))),Dr={class:"time"},Mr=5;var Or=(0,r.aZ)({__name:"playRecordTime",props:{coursewareTotalTime:{},modeId:{}},setup(t){const e=t;let n;const s=(0,i.iH)(0);let a=0;function l(){(0,ir.hk)(er,e.modeId).then((t=>{200===t.code&&(s.value+=t.data||0)}))}function c(t,e){(0,ir.hk)(nr,t,e).then((()=>{}))}return(0,r.Ah)((()=>{n&&clearInterval(n)})),l(),n=setInterval((()=>{if(s.value>=e.coursewareTotalTime)return n&&clearInterval(n),void(a>0&&c(e.modeId,a));a++,s.value++,a===Mr&&(c(e.modeId,a),a=0)}),1e3),(t,n)=>((0,r.wg)(),(0,r.iD)("div",xr,[jr,(0,r._)("div",Dr,(0,o.zw)(`${(0,i.SU)(C)(s.value)}/${(0,i.SU)(C)(e.coursewareTotalTime)}`),1)]))}});const Lr=(0,Kn.Z)(Or,[["__scopeId","data-v-713f3a1e"]]);var Gr=Lr,Nr=Gr,Zr=n(4712),Fr=n(8878);const Hr=t=>((0,r.dD)("data-v-4c65f3a2"),t=t(),(0,r.Cn)(),t),Ur={class:"coursewarePlay"},Vr={class:"leftTools posTools"},Qr=Hr((()=>(0,r._)("img",{src:s},null,-1))),zr=Hr((()=>(0,r._)("div",null,"上一个",-1))),Yr=[Qr,zr],qr=Hr((()=>(0,r._)("img",{src:a},null,-1))),Kr=Hr((()=>(0,r._)("div",null,"下一个",-1))),$r=[qr,Kr],Wr={class:"rightTools posTools"},Jr=Hr((()=>(0,r._)("img",{src:l},null,-1))),Xr=Hr((()=>(0,r._)("div",null,"白板",-1))),ti=[Jr,Xr],ei=Hr((()=>(0,r._)("img",{src:c},null,-1))),ni=Hr((()=>(0,r._)("div",null,"批注",-1))),ri=[ei,ni],ii=Hr((()=>(0,r._)("img",{src:u},null,-1))),oi=Hr((()=>(0,r._)("div",null,"知识点",-1))),si=[ii,oi],ai=Hr((()=>(0,r._)("img",{src:h},null,-1))),li=Hr((()=>(0,r._)("div",null,"结束",-1))),ci=[ai,li],ui={class:"topTools"},hi={class:"leftMenu"},pi={class:"midMenu"},di=Hr((()=>(0,r._)("div",{class:"rightMenu"},null,-1))),fi=Hr((()=>(0,r._)("img",{class:"directory",src:d},null,-1))),gi=Hr((()=>(0,r._)("div",{class:"tit"},"课程目录",-1))),mi=["onClick"];var vi=(0,r.aZ)({__name:"coursewarePlay",setup(t){const e=(0,sr.yj)(),s=(0,or.Z)(),a=(0,i.iH)(!1),l=(0,i.iH)(!1),c=(0,i.iH)(),u=(0,i.XI)([]),h=(0,i.XI)([]),d=(0,r.Fl)((()=>h.value[g.value])),g=(0,i.iH)(0),m=(0,i.iH)(!1),v=(0,i.iH)(0);function y(){(0,ir.Jj)("GYM"===s.roles?Xn.Tw:Xn.eJ,e.params.id).then((t=>{if(200===t.code){const{lockFlag:e,knowledgePointList:n}=t.data||{};if(e)return void ar.T.alert("课件已锁定","温馨提示",{confirmButtonText:"退出",type:"error"}).then((()=>{S()})).catch((()=>{S()}));if((n||[]).length<1)return void ar.T.alert("没有找到课件","温馨提示",{confirmButtonText:"退出",type:"error"}).then((()=>{S()})).catch((()=>{S()}));b(n)}}))}(0,r.YP)(d,(()=>{d.value&&c.value?.playVideo({src:d.value.content,name:d.value.name})})),y();let _=[];function b(t){if(u.value=T(t),e.query.materialId){const t=_.findIndex((t=>e.query.materialId===t.id+""));t>-1&&(g.value=t)}h.value=_}function T(t,e){return t.map((t=>t.children?Object.assign(t,{children:T(t.children,{ids:[...e?.ids||[],t.id],name:t.name})}):(v.value+=t.totalMaterialTimeSecond,Object.assign(t,{materialList:t.materialList.map((n=>(n.parentData={ids:[...e?.ids||[],t.id],name:t.name},_.push(n),n)))}))))}function E(t){const e=t+g.value;e<0||e>h.value.length-1||(g.value=e)}function C(t){g.value=h.value.findIndex((e=>t.id===e.id))}function w(t){const e=t.key;"ArrowDown"===e?E(1):"ArrowUp"===e&&E(-1)}function S(){window.open("about:blank","_self"),window.close()}function A(){e.query.modeId?"GYM"===s.roles?(0,ir.Ms)(Fr.j,e.query.modeId).then((t=>{200===t.code&&(3===t.data?.signOutStatusEnum?(0,Zr.Z)({headImg:n(9893),text:"请确认是否结束课程,结束后请到APP进行签退。",btnShow:[!0,!0],onOk(){S()}}):S())})):(0,ir.Ms)(rr,e.query.modeId).then((t=>{200===t.code&&(!1===t.data?.signOut?(0,Zr.Z)({headImg:n(9893),text:"请确认是否结束课程,结束后请到APP进行签退。",btnShow:[!0,!0],onOk(){S()}}):S())})):S()}return(0,r.bv)((()=>{document.addEventListener("keydown",w)})),(0,r.Ah)((()=>{document.removeEventListener("keydown",w)})),(t,n)=>{const y=(0,r.up)("ElScrollbar"),_=(0,r.up)("el-drawer");return(0,r.wg)(),(0,r.iD)("div",Ur,[(0,r.Wm)((0,i.SU)(Jn),{ref_key:"videoPlayDom",ref:c,onEnded:n[0]||(n[0]=t=>E(1)),disableEvents:!0},null,512),(0,r._)("div",Vr,[g.value>0?((0,r.wg)(),(0,r.iD)("div",{key:0,class:"posBtn",onClick:n[1]||(n[1]=t=>E(-1))},Yr)):(0,r.kq)("",!0),g.valueE(1))},$r)):(0,r.kq)("",!0)]),(0,r._)("div",Wr,[(0,r._)("div",{class:"posBtn",onClick:n[3]||(n[3]=()=>{c.value?.pauseVideo(),l.value=!0})},ti),(0,r._)("div",{class:"posBtn",onClick:n[4]||(n[4]=()=>{c.value?.pauseVideo(),a.value=!0})},ri),(0,r._)("div",{class:"posBtn",onClick:n[5]||(n[5]=t=>m.value=!0)},si),(0,r._)("div",{class:"posBtn",onClick:A},ci)]),(0,r._)("div",ui,[(0,r._)("div",hi,[(0,r._)("img",{onClick:S,class:"backImg",src:p}),(0,i.SU)(e).query.modeId&&v.value&&"GYM"!==(0,i.SU)(s).roles?((0,r.wg)(),(0,r.j4)((0,i.SU)(Nr),{key:0,modeId:(0,i.SU)(e).query.modeId,coursewareTotalTime:v.value},null,8,["modeId","coursewareTotalTime"])):(0,r.kq)("",!0)]),(0,r._)("div",pi,(0,o.zw)(d.value?.parentData.name||""),1),di]),(0,r.Wm)(_,{class:"elDrawer",modelValue:m.value,"onUpdate:modelValue":n[6]||(n[6]=t=>m.value=t),"show-close":!1},{header:(0,r.w5)((({close:t})=>[fi,gi,(0,r._)("img",{class:"close",onClick:t,src:f},null,8,mi)])),default:(0,r.w5)((()=>[(0,r.Wm)(y,{class:"elScrollbar"},{default:(0,r.w5)((()=>[(0,r.Wm)((0,i.SU)(Er),{activeCollapse:d.value,courseList:u.value,onHandleClick:C},null,8,["activeCollapse","courseList"])])),_:1})])),_:1},8,["modelValue"]),(0,r.Wm)((0,i.SU)(Ir),{close:()=>{a.value=!1},modelValue:a.value,"onUpdate:modelValue":n[7]||(n[7]=t=>a.value=t)},null,8,["close","modelValue"]),(0,r.Wm)((0,i.SU)(Ir),{"is-white":!0,close:()=>{l.value=!1},modelValue:l.value,"onUpdate:modelValue":n[8]||(n[8]=t=>l.value=t)},null,8,["close","modelValue"])])}}});const yi=(0,Kn.Z)(vi,[["__scopeId","data-v-4c65f3a2"]]);var _i=yi,bi=_i},769:function(module,__unused_webpack_exports,__webpack_require__){__webpack_require__(7658),__webpack_require__(1439),__webpack_require__(7585),__webpack_require__(5315),__webpack_require__(6229),__webpack_require__(7330),__webpack_require__(2062),__webpack_require__(2801),function(t,e){module.exports=e()}(0,(function(){function unwrapExports(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t}function createCommonjsModule(t,e){return e={exports:{}},t(e,e.exports),e.exports}function each(t,e){keys(t).forEach((function(n){return e(t[n],n)}))}function reduce(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return keys(t).reduce((function(n,r){return e(n,t[r],r)}),n)}function assign(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i=document_1.createElement(t);return Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(log$2.warn(tsml(_templateObject,t,n)),i.setAttribute(t,n)):"textContent"===t?textContent(i,n):i[t]=n})),Object.getOwnPropertyNames(n).forEach((function(t){i.setAttribute(t,n[t])})),r&&appendContent(i,r),i}function textContent(t,e){return"undefined"==typeof t.textContent?t.innerText=e:t.textContent=e,t}function prependTo(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function hasClass(t,e){return throwIfWhitespace(e),t.classList?t.classList.contains(e):classRegExp(e).test(t.className)}function addClass(t,e){return t.classList?t.classList.add(e):hasClass(t,e)||(t.className=(t.className+" "+e).trim()),t}function removeClass(t,e){return t.classList?t.classList.remove(e):(throwIfWhitespace(e),t.className=t.className.split(/\s+/).filter((function(t){return t!==e})).join(" ")),t}function toggleClass(t,e,n){var r=hasClass(t,e);if("function"==typeof n&&(n=n(t,e)),"boolean"!=typeof n&&(n=!r),n!==r)return n?addClass(t,e):removeClass(t,e),t}function setAttributes(t,e){Object.getOwnPropertyNames(e).forEach((function(n){var r=e[n];null===r||void 0===r||!1===r?t.removeAttribute(n):t.setAttribute(n,!0===r?"":r)}))}function getAttributes(t){var e={};if(t&&t.attributes&&t.attributes.length>0)for(var n=t.attributes,r=n.length-1;r>=0;r--){var i=n[r].name,o=n[r].value;"boolean"!=typeof t[i]&&-1===",autoplay,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+i+",")||(o=null!==o),e[i]=o}return e}function getAttribute(t,e){return t.getAttribute(e)}function setAttribute(t,e,n){t.setAttribute(e,n)}function removeAttribute(t,e){t.removeAttribute(e)}function blockTextSelection(){document_1.body.focus(),document_1.onselectstart=function(){return!1}}function unblockTextSelection(){document_1.onselectstart=function(){return!0}}function getBoundingClientRect(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n.height||(n.height=parseFloat(computedStyle(t,"height"))),n.width||(n.width=parseFloat(computedStyle(t,"width"))),n}}function findPosition(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var n=document_1.documentElement,r=document_1.body,i=n.clientLeft||r.clientLeft||0,o=window_1.pageXOffset||r.scrollLeft,s=e.left+o-i,a=n.clientTop||r.clientTop||0,l=window_1.pageYOffset||r.scrollTop,c=e.top+l-a;return{left:Math.round(s),top:Math.round(c)}}function getPointerPosition(t,e,n){var r={},i=findPosition(t),o=t.offsetWidth,s=t.offsetHeight,a=i.top,l=i.left,c=e.pageY,u=e.pageX;if(e.changedTouches&&(u=e.changedTouches[0].pageX,c=e.changedTouches[0].pageY),n){var h=[c,u];u=h[0],c=h[1]}return r.y=Math.max(0,Math.min(1,(a-c+s)/s)),r.x=Math.max(0,Math.min(1,(u-l)/o)),r}function isTextNode(t){return isObject$1(t)&&3===t.nodeType}function emptyEl(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function normalizeContent(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map((function(t){return"function"==typeof t&&(t=t()),isEl(t)||isTextNode(t)?t:"string"==typeof t&&/\S/.test(t)?document_1.createTextNode(t):void 0})).filter((function(t){return t}))}function appendContent(t,e){return normalizeContent(e).forEach((function(e){return t.appendChild(e)})),t}function insertContent(t,e){return appendContent(emptyEl(t),e)}function isSingleLeftClick(t){return void 0===t.button&&void 0===t.buttons||0===t.button&&void 0===t.buttons||9===IE_VERSION||0===t.button&&1===t.buttons}function newGUID(){return _guid++}function getData(t){var e=t[elIdAttr];return e||(e=t[elIdAttr]=newGUID()),elData[e]||(elData[e]={}),elData[e]}function hasData(t){var e=t[elIdAttr];return!!e&&!!Object.getOwnPropertyNames(elData[e]).length}function removeData(t){var e=t[elIdAttr];if(e){delete elData[e];try{delete t[elIdAttr]}catch(n){t.removeAttribute?t.removeAttribute(elIdAttr):t[elIdAttr]=null}}}function _cleanUpEvents(t,e){var n=getData(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&removeData(t)}function _handleMultipleEvents(t,e,n,r){n.forEach((function(n){t(e,n,r)}))}function fixEvent(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var r=t||window_1.event;for(var i in t={},r)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&("returnValue"===i&&r.preventDefault||(t[i]=r[i]));if(t.target||(t.target=t.srcElement||document_1),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){r.preventDefault&&r.preventDefault(),t.returnValue=!1,r.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),t.cancelBubble=!0,r.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX){var o=document_1.documentElement,s=document_1.body;t.pageX=t.clientX+(o&&o.scrollLeft||s&&s.scrollLeft||0)-(o&&o.clientLeft||s&&s.clientLeft||0),t.pageY=t.clientY+(o&&o.scrollTop||s&&s.scrollTop||0)-(o&&o.clientTop||s&&s.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}function on(t,e,n){if(Array.isArray(e))return _handleMultipleEvents(on,t,e,n);var r=getData(t);if(r.handlers||(r.handlers={}),r.handlers[e]||(r.handlers[e]=[]),n.guid||(n.guid=newGUID()),r.handlers[e].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(e,n){if(!r.disabled){e=fixEvent(e);var i=r.handlers[e.type];if(i)for(var o=i.slice(0),s=0,a=o.length;s-1&&(i={passive:!0}),t.addEventListener(e,r.dispatcher,i)}else t.attachEvent&&t.attachEvent("on"+e,r.dispatcher)}function off(t,e,n){if(hasData(t)){var r=getData(t);if(r.handlers){if(Array.isArray(e))return _handleMultipleEvents(off,t,e,n);var i=function(t,e){r.handlers[e]=[],_cleanUpEvents(t,e)};if(void 0!==e){var o=r.handlers[e];if(o){if(!n)return void i(t,e);if(n.guid)for(var s=0;s1&&void 0!==arguments[1]?arguments[1]:{},n=e.eventBusKey;if(n){if(!t[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');t.eventBusEl_=t[n]}else t.eventBusEl_=createEl("span",{className:"vjs-event-bus"});return assign(t,EventedMixin),t.on("dispose",(function(){t.off(),window_1.setTimeout((function(){t.eventBusEl_=null}),0)})),t}function stateful(t,e){return assign(t,StatefulMixin),t.state=assign({},t.state,e),"function"==typeof t.handleStateChanged&&isEvented(t)&&t.on("statechanged",t.handleStateChanged),t}function toTitleCase(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function titleCaseEquals(t,e){return toTitleCase(t)===toTitleCase(e)}function mergeOptions(){for(var t={},e=arguments.length,n=Array(e),r=0;r-1}function listCacheSet(t,e){var n=this.__data__,r=_assocIndexOf(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ListCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1)t=t.replace(".sdp",".flv"),e.push(t.replace(".sdp",".m3u8"));else{var n=t.replace("webrtc://","https://").replace("?",".flv?");-1===n.indexOf("?")&&-1===n.indexOf(".flv")&&(n+=".flv"),hlsSrc=t.replace("webrtc://","https://").replace("?",".m3u8?"),-1===hlsSrc.indexOf("?")&&-1===hlsSrc.indexOf(".m3u8")&&(hlsSrc+=".m3u8"),e.push(hlsSrc)}return e}function replaceHost(t,e){var n=/^http(s)?:\/\/(.*?)\//,r=t.match(n);return t.replace(r[2],e)}function getViewportSize(){var t=document,e=t.documentElement,n=t.body;return{width:e&&e.clientWidth||n&&n.offsetWidth||window.innerWidth||0,height:e&&e.clientHeight||n&&n.offsetHeight||window.innerHeight||0}}function getTimeStamp(){return(new Date).getTime()}function getTimeStampBySecond(){return Date.parse(new Date)/1e3}function loadCssText(t,e){var n=document.getElementById(t);if(n)n.innerHTML=e;else{var r=document.createElement("style");r.id=t,r.type="text/css",r.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(r)}}function releaseCssText(t){var e=document.getElementById(t);e&&e.remove()}function loadScript(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=document.createElement("script");if(i.onload=i.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||("function"==typeof e&&e(),i.onload=i.onreadystatechange=null,i.parentNode&&!r&&i.parentNode.removeChild(i))},n)for(var o in n)if(n.hasOwnProperty(o)){var s=n[o];null===s?i.removeAttribute(s):i.setAttribute(o,s)}i.src=t,document.getElementsByTagName("head")[0].appendChild(i)}function serializeParams(t){var e=[],n=function(t,n){n="function"==typeof n?n():n,n=null===n||void 0===n?"":n,e[e.length]=encodeURIComponent(t)+"="+encodeURIComponent(n)};return function t(r,i){var o=void 0,s=void 0,a=void 0;if(r)if(Array.isArray(i))for(o=0,s=i.length;o/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):""}function isWebrtcUrl(t){return/webrtc:\/\//.test(t)||/\.sdp/.test(t)}function getperformance(){return window.performance||window.msPerformance||window.webkitPerformance||{}}function arrangeWebrtcSource(t,e){var n=getParams("tabr_bitrates",t),r=getParams("tabr_start_bitrate",t),i="auto"===getParams("tabr_control",t);t=t.replace("&tabr_control=auto","");var o=[],s=[];if(n&&r){var a;if(s=n.split(",").map((function(n){var i,s=e.webrtcConfig.abrLabels[n]||n;return o.push(s),i={},i[s]=[{src:t.replace("tabr_start_bitrate="+r,"tabr_start_bitrate="+n)}],i})),i)s.push((a={},a[e.webrtcConfig.abrLabels.auto||"AUTO"]=[{src:t+"&tabr_control=auto"}],a)),o.push(e.webrtcConfig.abrLabels.auto||"AUTO");var l={};s.forEach((function(t){for(var e in t)l[e]=t[e]})),e.showOrder=o,e.defaultRes=i?e.webrtcConfig.abrLabels.auto||"AUTO":e.webrtcConfig.abrLabels[r]||r||o[0];var c={};o.forEach((function(t){c[t]=e.webrtcConfig.abrLabels[t]||t})),e.labels=c,e.label=c,e.sources=[],e.multiResolution={sources:l}}}function rangeCheck(t,e,n){if("number"!=typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}function getRange(t,e,n,r){return rangeCheck(t,r,n.length-1),n[r][e]}function createTimeRangesObj(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:getRange.bind(null,"start",0,t),end:getRange.bind(null,"end",1,t)}}function createTimeRanges(t,e){return Array.isArray(t)?createTimeRangesObj(t):void 0===t||void 0===e?createTimeRangesObj():createTimeRangesObj([[t,e]])}function bufferedPercent(t,e){var n=0,r=void 0,i=void 0;if(!e)return 0;t&&t.length||(t=createTimeRanges(0,0));for(var o=0;oe&&(i=e),n+=i-r;return n/e}function MediaError(t){if(t instanceof MediaError)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:isObject$1(t)&&("number"==typeof t.code&&(this.code=t.code),assign(this,t)),this.message||(this.message=MediaError.defaultMessages[this.code]||"")}function SafeParseTuple(t,e){var n,r=null;try{n=JSON.parse(t,e)}catch(i){r=i}return[r,n]}function isPromise(t){return void 0!==t&&"function"==typeof t.then}function silencePromise(t){isPromise(t)&&t.then(null,(function(t){}))}function isFunction$3(t){if(!t)return!1;var e=toString$3.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}function extend$1(){for(var t={},e=0;e0&&(u=setTimeout((function(){if(!c){c=!0,a.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",r(t)}}),t.timeout)),a.setRequestHeader)for(l in f)f.hasOwnProperty(l)&&a.setRequestHeader(l,f[l]);else if(t.headers&&!isEmpty(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(a.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(a),a.send(d||null),a}function getXml(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}function noop(){}function ParsingError(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function parseTimeStamp(t){function e(t,e,n,r){return 3600*(0|t)+60*(0|e)+(0|n)+(0|r)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function Settings(){this.values=_objCreate(null)}function parseOptions(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"==typeof i[o]){var s=i[o].split(n);if(2===s.length){var a=s[0],l=s[1];e(a,l)}}}function parseCue(t,e,n){function r(){var e=parseTimeStamp(t);if(null===e)throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed timestamp: "+o);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function i(){t=t.replace(/^\s+/,"")}var o=t;if(i(),e.startTime=r(),i(),"--\x3e"!==t.substr(0,3))throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+o);t=t.substr(3),i(),e.endTime=r(),i(),function(t,e){var r=new Settings;parseOptions(t,(function(t,e){switch(t){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===e){r.set(t,n[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),s=o[0];r.integer(t,s),r.percent(t,s)&&r.set("snapToLines",!1),r.alt(t,s,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","middle","end","left","right"])}}),/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical",""),e.line=r.get("line","auto"),e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align","middle"),e.position=r.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}(t,e)}function parseContent(t,e){function n(t){return ESCAPE[t]}for(var r,i=t.document.createElement("div"),o=i,s=[];null!==(r=function(){if(!e)return null;var t=e.match(/^([^<]*)(<[^>]+>?)?/);return function(t){return e=e.substr(t.length),t}(t[1]?t[1]:t[2])}());)if("<"!==r[0])o.appendChild(t.document.createTextNode(function(t){for(;c=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(c[0],n);return t}(r)));else{if("/"===r[1]){s.length&&s[s.length-1]===r.substr(2).replace(">","")&&(s.pop(),o=o.parentNode);continue}var a,l=parseTimeStamp(r.substr(1,r.length-2));if(l){a=t.document.createProcessingInstruction("timestamp",l),o.appendChild(a);continue}var c=r.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!c)continue;if(!(a=function(e,n){var r=TAG_NAME[e];if(!r)return null;var i=t.document.createElement(r);i.localName=r;var o=TAG_ANNOTATION[e];return o&&n&&(i[o]=n.trim()),i}(c[1],c[3])))continue;if(!function(t,e){return!NEEDS_PARENT[e.localName]||NEEDS_PARENT[e.localName]===t.localName}(o,a))continue;c[2]&&(a.className=c[2].substr(1).replace("."," ")),s.push(c[1]),o.appendChild(a),o=a}return i}function isStrongRTLChar(t){for(var e=0;e=n[0]&&t<=n[1])return!0}return!1}function determineBidi(t){function e(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function n(t){if(!t||!t.length)return null;var r=t.pop(),i=r.textContent||r.innerText;if(i){var o=i.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):i}return"ruby"===r.tagName?n(t):r.childNodes?(e(t,r),n(t)):void 0}var r,i=[],o="";if(!t||!t.childNodes)return"ltr";for(e(i,t);o=n(i);)for(var s=0;s=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,r=0,i=0;ih&&(u=u<0?-1:1,u*=Math.ceil(h/c)*c),s<0&&(u+=""===o.vertical?n.height:n.width,a=a.reverse()),i.move(p,u)}else{var d=i.lineHeight/n.height*100;switch(o.lineAlign){case"middle":s-=d/2;break;case"end":s-=d}switch(o.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")})}a=["+y","-x","+x","-y"],i=new BoxPosition(e)}var f=function(t,e){for(var i,o=new BoxPosition(t),s=1,a=0;al&&(i=new BoxPosition(t),s=l),t=new BoxPosition(o)}return i||o}(i,a);e.move(f.toCSSCompatValues(n))}function WebVTT$1(){}function findDirectionSetting(t){return"string"==typeof t&&!!directionSetting[t.toLowerCase()]&&t.toLowerCase()}function findAlignSetting(t){return"string"==typeof t&&!!alignSetting[t.toLowerCase()]&&t.toLowerCase()}function extend$2(t){for(var e=1;e100)throw new Error("Position must be between 0 and 100.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"positionAlign",extend$2({},o,{get:function(){return v},set:function(t){var e=findAlignSetting(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(r,"size",extend$2({},o,{get:function(){return y},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(r,"align",extend$2({},o,{get:function(){return _},set:function(t){var e=findAlignSetting(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");_=e,this.hasBeenReset=!0}})),r.displayState=void 0,i)return r}function findScrollSetting(t){return"string"==typeof t&&!!scrollSetting[t.toLowerCase()]&&t.toLowerCase()}function isValidPercentValue(t){return"number"==typeof t&&t>=0&&t<=100}function VTTRegion(){var t=100,e=3,n=0,r=100,i=0,o=100,s="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!isValidPercentValue(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return r},set:function(t){if(!isValidPercentValue(t))throw new Error("RegionAnchorX must be between 0 and 100.");r=t}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(t){if(!isValidPercentValue(t))throw new Error("RegionAnchorY must be between 0 and 100.");n=t}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!isValidPercentValue(t))throw new Error("ViewportAnchorY must be between 0 and 100.");o=t}},viewportAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!isValidPercentValue(t))throw new Error("ViewportAnchorX must be between 0 and 100.");i=t}},scroll:{enumerable:!0,get:function(){return s},set:function(t){var e=findScrollSetting(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");s=e}}})}function createTrackHelper(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();i.kind=e,n&&(i.label=n),r&&(i.language=r),i.tech=t;var s=new ALL.text.TrackClass(i);return o.addTrack(s),s}function use(t,e){middlewares[t]=middlewares[t]||[],middlewares[t].push(e)}function setSource(t,e,n){t.setTimeout((function(){return setSourceHelper(e,middlewares[e.type],n,t)}),1)}function setTech(t,e){t.forEach((function(t){return t.setTech&&t.setTech(e)}))}function get$3(t,e,n){return t.reduceRight(middlewareIterator(n),e[n]())}function set$1(t,e,n,r){return e[n](t.reduce(middlewareIterator(n),r))}function middlewareIterator(t){return function(e,n){return n[t]?n[t](e):e}}function setSourceHelper(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=e[0],a=e.slice(1);if("string"==typeof s)setSourceHelper(t,middlewares[s],n,r,i,o);else if(s){var l=s(r);l.setSource(assign({},t),(function(e,s){if(e)return setSourceHelper(t,a,n,r,i,o);i.push(l),setSourceHelper(s,t.type===s.type?a:middlewares[s.type],n,r,i,o)}))}else a.length?setSourceHelper(t,a,n,r,i,o):o?n(t,i):setSourceHelper(t,middlewares["*"],n,r,i,!0)}function constructColor(t,e){return"rgba("+parseInt(t[1]+t[1],16)+","+parseInt(t[2]+t[2],16)+","+parseInt(t[3]+t[3],16)+","+e+")"}function tryUpdateStyle(t,e,n){try{t.style[e]=n}catch(i){return}}function formatTime(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;t=t<0?0:t;var n=Math.floor(t%60),r=Math.floor(t/60%60),i=Math.floor(t/3600),o=Math.floor(e/60%60),s=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(i=r=n="-"),i=i>0||s>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n}function formatDate(t,e){if(!t)return"";var n=new Date(t),r=n.getFullYear(),i=n.getMonth()+1,o=n.getDate(),s=n.getHours(),a=n.getMinutes();return n.getSeconds(),r+"/"+i+"/"+o+" "+s+":"+(a<10?"0"+a:a)}function parseOptionValue(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}function getSelectedOptionValue(t,e){return parseOptionValue(t.options[t.options.selectedIndex].value,e)}function setSelectedOption(t,e,n){if(e)for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fill",n=t,r="draw-"+e;return['\n \n \n ','\n \n \n ','\n \n \n '][n]}function trimmedEndIndex(t){for(var e=t.length;e--&&reWhitespace.test(t.charAt(e)););return e}function baseTrim(t){return t?t.slice(0,_trimmedEndIndex(t)+1).replace(reTrimStart,""):t}function toNumber(t){if("number"==typeof t)return t;if(isSymbol_1(t))return NAN;if(isObject_1(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=isObject_1(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=_baseTrim(t);var n=reIsBinary.test(t);return n||reIsOctal.test(t)?freeParseInt(t.slice(2),n?2:8):reIsBadHex.test(t)?NAN:+t}function debounce(t,e,n){function r(e){var n=p,r=d;return p=d=void 0,y=e,g=t.apply(r,n)}function i(t){return y=t,m=setTimeout(a,e),_?r(t):g}function o(t){var n=t-v,r=t-y,i=e-n;return b?nativeMin(i,f-r):i}function s(t){var n=t-v,r=t-y;return void 0===v||n>=e||n<0||b&&r>=f}function a(){var t=now_1();if(s(t))return l(t);m=setTimeout(a,o(t))}function l(t){return m=void 0,T&&p?r(t):(p=d=void 0,g)}function c(){void 0!==m&&clearTimeout(m),y=0,p=v=d=m=void 0}function u(){return void 0===m?g:l(now_1())}function h(){var t=now_1(),n=s(t);if(p=arguments,d=this,v=t,n){if(void 0===m)return i(v);if(b)return clearTimeout(m),m=setTimeout(a,e),r(v)}return void 0===m&&(m=setTimeout(a,e)),g}var p,d,f,g,m,v,y=0,_=!1,b=!1,T=!0;if("function"!=typeof t)throw new TypeError(FUNC_ERROR_TEXT$2);return e=toNumber_1(e)||0,isObject_1(n)&&(_=!!n.leading,b="maxWait"in n,f=b?nativeMax(toNumber_1(n.maxWait)||0,e):f,T="trailing"in n?!!n.trailing:T),h.cancel=c,h.flush=u,h}function throttle$1(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError(FUNC_ERROR_TEXT$1);return isObject_1(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),debounce_1(t,e,{leading:r,maxWait:e,trailing:i})}function mountFlvProvider(t){if(videojs.browser.IS_IOS&&videojs.browser.IS_MQQ)return!1;if(!videojs.browser.IS_TBS&&!videojs.browser.IS_MQQB&&(!IS_IOS||!videojs.browser.IS_SAFARI)&&!videojs.browser.IE_VERSION||t)try{var e=videojs.getTech&&videojs.getTech("Html5");e&&e.registerSourceHandler(FlvSourceHandler,0)}catch(n){}}function mountWebRTCProvider(t){if(!videojs.browser.isWebRTCSupported())return!1;try{var e=videojs.getTech&&videojs.getTech("Html5");e&&e.registerSourceHandler(sourceHandler,0)}catch(n){}}function FlashRtmpDecorator(t){return t.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},t.streamFromParts=function(t,e){return t+"&"+e},t.streamToParts=function(t){var e={connection:"",stream:""};if(!t)return e;var n=t.search(/&(?!\w+=)/),r=void 0;return-1!==n?r=n+1:0===(n=r=t.lastIndexOf("/")+1)&&(n=r=t.length),e.connection=t.substring(0,n),e.stream=t.substring(r,t.length),e},t.isStreamingType=function(e){return e in t.streamingFormats},t.RTMP_RE=/^rtmp[set]?:\/\//i,t.isStreamingSrc=function(e){return t.RTMP_RE.test(e)},t.rtmpSourceHandler={},t.rtmpSourceHandler.canPlayType=function(e){return t.isStreamingType(e)?"maybe":""},t.rtmpSourceHandler.canHandleSource=function(e,n){var r=t.rtmpSourceHandler.canPlayType(e.type);return r||(t.isStreamingSrc(e.src)?"maybe":"")},t.rtmpSourceHandler.handleSource=function(e,n,r){var i=t.streamToParts(e.src);n.setRtmpConnection(i.connection),n.setRtmpStream(i.stream)},t.registerSourceHandler(t.rtmpSourceHandler),t}function _createSetter(t){var e=t.charAt(0).toUpperCase()+t.slice(1);_api["set"+e]=function(e){return this.el_.vjs_setProperty(t,e)}}function _createGetter(t){_api[t]=function(){return this.el_.vjs_getProperty(t)}}function TCPlayer(t,e,n){var r=void 0,i=(new Date).getTime(),o=videojs.dom;if("string"==typeof t)r=document.querySelector("#"+t);else{if(!t||!t.nodeName)throw new TypeError("The ID or element supplied is not valid.");r=t}if("video"!=r.nodeName.toLowerCase()&&"audio"!=r.nodeName.toLowerCase())throw new TypeError("The element type must be