hflveditor3 0.2.13 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +33 -0
- package/dist/hflveditor3.es.js +1097 -1089
- package/dist/hflveditor3.umd.js +35 -35
- package/package.json +1 -1
package/dist/hflveditor3.umd.js
CHANGED
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
* Licensed under the MIT license - http://opensource.org/licenses/MIT
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2019 Daniel Eden
|
|
7
|
-
*/@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.rubberBand{-webkit-animation-name:rubberband;animation-name:rubberBand}@-webkit-keyframes shake{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headshake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.heartBeat{-webkit-animation-name:heartbeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bouncein;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceindown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceinleft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceinright;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceinup;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bounceout;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceoutdown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceoutleft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceoutright;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceoutup;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadein;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeindown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeindownbig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeinleft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeinleftbig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeinright;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeinrightbig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeinup;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeinupbig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fadeOut{-webkit-animation-name:fadeout;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeoutdown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeoutdownbig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeoutleft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeoutleftbig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeoutright;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeoutrightbig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeoutup;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeoutupbig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipinx;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipiny;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:flipoutx;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipouty;animation-name:flipOutY}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.lightSpeedIn{-webkit-animation-name:lightspeedin;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightspeedout;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotatein;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateindownleft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateindownright;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateinupleft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateinupright;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateout;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateoutdownleft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateoutdownright;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateoutupleft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateoutupright;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.jackInTheBox{-webkit-animation-name:jackinthebox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollin;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollout;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomin;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomindown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoominleft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoominright;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoominup;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoomOut{-webkit-animation-name:zoomout;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomoutdown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomoutleft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomoutright;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomoutup;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideindown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideinleft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideinright;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideinup;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideoutdown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideoutleft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideoutright;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideoutup;animation-name:slideOutUp}.animated{-webkit-animation-duration:var(--time, 1s);animation-duration:var(--time, 1s);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane,*:has(.splitpanes--dragging){-webkit-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out;will-change:width}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out;will-change:height}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.default-theme.splitpanes .splitpanes__splitter:before,.default-theme.splitpanes .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.default-theme.splitpanes .splitpanes__splitter:hover:before,.default-theme.splitpanes .splitpanes__splitter:hover:after{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.elCollapse[data-v-5dbe0f64] .el-collapse-item__header{padding-left:10px}.component-list[data-v-5dbe0f64]{padding:5px;display:grid;grid-gap:5px 5px;grid-template-columns:repeat(auto-fill,90px);grid-template-rows:repeat(auto-fill,90px);transition-property:opacity;transition-duration:.5s;transition-delay:.5s;transition-timing-function:ease;max-height:500px;overflow-y:auto;overflow-x:hidden}.component-list>.list[data-v-5dbe0f64]{width:90px;height:90px;border:1px solid #ddd;cursor:grab;text-align:center;padding:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}.component-list>.list>.active[data-v-5dbe0f64]{cursor:grabbing}.component-list>.list>.iconfont[data-v-5dbe0f64]{margin-right:2px;font-size:20px}.component-list>.list>.comp-name[data-v-5dbe0f64]{margin-top:5px;font-size:12px}.real-time-component-list[data-v-abecf561]{height:100%}.real-time-component-list .list[data-v-abecf561]{height:40px;cursor:grab;text-align:center;color:#333;display:flex;align-items:center;padding:0 10px;position:relative;user-select:none;opacity:1;font-size:16px}.real-time-component-list .list .comp-icon[data-v-abecf561]{width:40px;height:100%;padding:2px}.real-time-component-list .list[data-v-abecf561]:active{cursor:grabbing}.real-time-component-list .list[data-v-abecf561]:hover{background-color:#c8c8c833}.real-time-component-list .list:hover .icon-container[data-v-abecf561]{display:block}.real-time-component-list .list .iconfont[data-v-abecf561]{margin-right:4px;font-size:24px}.real-time-component-list .list .icon-container[data-v-abecf561]{position:absolute;right:10px;display:none}.real-time-component-list .list .icon-container .iconfont[data-v-abecf561]{cursor:pointer}.real-time-component-list .actived[data-v-abecf561]{background:#ecf5ff;color:#409eff}.tabs[data-v-f00af19f]{height:100%}.tabs[data-v-f00af19f] .el-tabs__content{padding:2px 0 0!important}.custom-omit-input[data-v-dfd64ff1]{width:100%}.custom-omit-input[data-v-dfd64ff1] .el-input-group__append{padding:0}.cfg-request[data-v-e3032216]{width:100%;height:590px;overflow-y:auto;overflow-x:hidden}.item-label[data-v-e3032216]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-e3032216]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-e3032216]{margin-bottom:10px}.cfg-container[data-v-03216980]{width:100%;height:100%}.item-label[data-v-03216980]{display:flex;justify-content:flex-end;padding-right:5px}.cfg-container[data-v-7a388fc5]{width:100%;height:100%}.item-label[data-v-7a388fc5]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-7a388fc5]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-7a388fc5]{margin-bottom:10px}.cfg-request[data-v-596f6eca]{width:100%;height:100%}.item-label[data-v-596f6eca]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-596f6eca]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-596f6eca]{margin-bottom:10px}.cfg-request[data-v-ef6f8d3f]{width:100%;height:100%}.item-label[data-v-ef6f8d3f]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-ef6f8d3f]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-ef6f8d3f]{margin-bottom:10px}.cfg-request[data-v-420c3ae8],.cfg-request[data-v-99ed424c]{width:100%;height:100%}.item-label[data-v-99ed424c]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-99ed424c]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-99ed424c]{margin-bottom:10px}.cfg-request[data-v-09ab64b1]{width:100%;height:100%}.item-label[data-v-09ab64b1]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-09ab64b1]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-09ab64b1]{margin-bottom:10px}.cfg-request[data-v-c1ad3453]{width:100%;height:100%}.item-label[data-v-c1ad3453]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-c1ad3453]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-c1ad3453]{margin-bottom:10px}.cfg-action-end[data-v-0f9e47ce]{width:100%;height:100%}.item-label[data-v-0f9e47ce]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-0f9e47ce]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-0f9e47ce]{margin-bottom:10px}.cfg-message-box[data-v-3170afcf]{width:100%;height:100%}.item-label[data-v-3170afcf]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-3170afcf]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-3170afcf]{margin-bottom:10px}.cfg-message-box[data-v-81a529e9]{width:100%;height:100%}.item-label[data-v-81a529e9]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-81a529e9]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-81a529e9]{margin-bottom:10px}.cfg-request[data-v-388967c2]{width:100%;height:100%}.item-label[data-v-388967c2]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-388967c2]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-388967c2]{margin-bottom:10px}.container-pane[data-v-c30af151]{width:100%;height:950px;padding:5px}.item-label[data-v-c30af151]{display:flex;justify-content:flex-end;padding-right:5px}.flex-pane[data-v-c30af151]{width:100%;height:400px;display:flex}.fixed-pane[data-v-c30af151]{width:350px;flex-shrink:0;padding:2px 5px}.flexible-pane[data-v-c30af151]{flex-grow:1;padding:2px 5px}.el-row[data-v-c30af151]{margin-bottom:5px}.comp-event[data-v-742bd246]{width:100%;height:100%;padding:10px 2px}.tool-list[data-v-742bd246]{width:90%;height:40px;padding-left:10px}.tree-pane[data-v-742bd246]{width:100%;height:calc(100% - 30px)}.custom-tree-node[data-v-742bd246]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding-right:8px}.animation-list[data-v-b1e64e02]{width:100%;height:100%;padding:10px 2px}.item-label-start[data-v-b1e64e02]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-b1e64e02]{margin-bottom:10px}.tabs[data-v-9454352f]{height:100%}.tabs[data-v-9454352f] .el-tabs__content{padding:2px 0 0!important}.elCollapse[data-v-12c217c0] .el-collapse-item__header{padding-left:10px}.elCollapse .el-form-item[data-v-12c217c0]{margin-bottom:4px;margin-right:4px}.common-item[data-v-12c217c0]{width:200px}.tool-bar[data-v-7aeb4379]{width:100%;height:35px;padding:2px 10px;background:#f5f5f5;border-bottom:1px solid #e0e0e0}.tool-list[data-v-7aeb4379]{width:100%;height:100%}.icon-list[data-v-7aeb4379]{display:flex;height:100%;margin:0;padding:0;list-style:none;align-items:center;gap:5px}.tool-item[data-v-7aeb4379]{display:flex;height:100%;align-items:center;cursor:pointer}li.disabled[data-v-7aeb4379]{opacity:.5;cursor:not-allowed}.el-dropdown-link[data-v-7aeb4379]{cursor:pointer;display:flex;align-items:center}.tool-content[data-v-7aeb4379]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:5px;width:40px}.tool-item:hover .tool-icon[data-v-7aeb4379],.tool-item:hover .tool-text[data-v-7aeb4379]{color:#1890ff}.tool-bar[data-v-7aeb4379]::-webkit-scrollbar{height:4px}.tool-bar[data-v-7aeb4379]::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.vue-rule-container[data-v-75e5d96d]{width:100%;height:100%;overflow:auto}.vue-ruler-wrapper[data-v-75e5d96d]{left:0;top:0;z-index:999;overflow:hidden;user-select:none;position:relative}.vue-ruler-h[data-v-75e5d96d],.vue-ruler-v[data-v-75e5d96d],.vue-ruler-ref-line-v[data-v-75e5d96d],.vue-ruler-ref-line-h[data-v-75e5d96d],.vue-ruler-ref-dot-h[data-v-75e5d96d],.vue-ruler-ref-dot-v[data-v-75e5d96d]{position:absolute;left:0;top:0;overflow:hidden;z-index:999}.vue-ruler-h[data-v-75e5d96d]{width:100%;height:18px;left:18px;opacity:.6;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAASCAMAAAAuTX21AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAlQTFRFMzMzAAAA////BqjYlAAAACNJREFUeNpiYCAdMDKRCka1jGoBA2JZZGshiaCXFpIBQIABAAplBkCmQpujAAAAAElFTkSuQmCC) repeat-x}.vue-ruler-v[data-v-75e5d96d]{width:18px;height:100%;top:18px;opacity:.6;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAyCAMAAABmvHtTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAlQTFRFMzMzAAAA////BqjYlAAAACBJREFUeNpiYGBEBwwMTGiAakI0NX7U9aOuHyGuBwgwAH6bBkAR6jkzAAAAAElFTkSuQmCC) repeat-y}.vue-ruler-v .n[data-v-75e5d96d],.vue-ruler-h .n[data-v-75e5d96d]{position:absolute;font:10px/1 Arial,sans-serif;color:#333;cursor:default}.vue-ruler-v .n[data-v-75e5d96d]{width:8px;left:3px;word-wrap:break-word}.vue-ruler-h .n[data-v-75e5d96d]{top:1px}.vue-ruler-ref-line-v[data-v-75e5d96d],.vue-ruler-ref-line-h[data-v-75e5d96d],.vue-ruler-ref-dot-h[data-v-75e5d96d],.vue-ruler-ref-dot-v[data-v-75e5d96d]{z-index:998}.vue-ruler-ref-line-h[data-v-75e5d96d]{width:100%;height:1px;background-color:#000;cursor:n-resize}.vue-ruler-ref-line-v[data-v-75e5d96d]{width:1px;height:100%;background-color:#000;cursor:w-resize}.vue-ruler-ref-dot-h[data-v-75e5d96d]{width:100%;height:3px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAMAAABFaP0WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFf39/////F3PnHQAAAAJ0Uk5T/wDltzBKAAAAEElEQVR42mJgYGRgZAQIMAAADQAExkizYQAAAABJRU5ErkJggg==) repeat-x left 1px;cursor:n-resize;top:-10px}.vue-ruler-ref-dot-v[data-v-75e5d96d]{width:3px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAMAAABFaP0WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFf39/////F3PnHQAAAAJ0Uk5T/wDltzBKAAAAEElEQVR42mJgYGRgZAQIMAAADQAExkizYQAAAABJRU5ErkJggg==) repeat-y 1px top;cursor:w-resize;left:-10px}.vue-ruler-content[data-v-75e5d96d]{position:absolute;z-index:997}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar{width:8px;height:8px}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar-track{background:#f1f1f1}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar-thumb{border-radius:10px;background:#535353;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2)}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar-thumb:hover{background:#ededed;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px}.vue-ruler-content-mask[data-v-75e5d96d]{position:absolute;width:100%;height:100%;background:transparent;z-index:998}.grid[data-v-e0b9a335]{position:absolute;top:0;left:0}.shape[data-v-61dd64e5]{position:absolute}.shape[data-v-61dd64e5]:hover{cursor:move}.active[data-v-61dd64e5]{outline:1px solid #70c0ff;user-select:none}.shape-point[data-v-61dd64e5]{position:absolute;background:#fff;border:1px solid #59c7f9;width:8px;height:8px;border-radius:50%;z-index:1}.iconfont-xuanzhuan[data-v-61dd64e5]{position:absolute;top:-34px;left:50%;transform:translate(-50%);cursor:grab;color:#59c7f9;font-size:20px;font-weight:600}.iconfont-xuanzhuan[data-v-61dd64e5]:active{cursor:grabbing}.icon-suo[data-v-61dd64e5]{position:absolute;top:0;right:0}.mark-line[data-v-1292994b]{height:100%}.line[data-v-1292994b]{background:#59c7f9;position:absolute;z-index:1000}.xline[data-v-1292994b]{width:100%;height:1px}.yline[data-v-1292994b]{width:1px;height:100%}.area[data-v-32734a61]{border:1px solid #70c0ff;position:absolute}.left-context-menu[data-v-8383d7b0]{position:absolute;z-index:1000;box-sizing:border-box}.left-context-menu ul[data-v-8383d7b0]{display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important;gap:0!important;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px #0000001a;box-sizing:border-box}.left-context-menu ul li[data-v-8383d7b0]{flex:0 0 34px!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 20px!important;font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266;height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.left-context-menu ul li[data-v-8383d7b0]:hover{background-color:#f5f7fa}.area[data-v-20f916ac]{border:1px solid #70c0ff;position:absolute}.editor[data-v-5a712273]{position:relative;background:#fff;margin:auto}.editor .lock[data-v-5a712273]{opacity:.5}.editor .lock[data-v-5a712273]:hover{cursor:not-allowed}.editor .component[data-v-5a712273]{outline:none;width:100%;height:100%}.splitpanes[data-v-6a7c1f0a]{display:flex;flex-direction:column;height:100%;width:100%;min-height:0;overflow:hidden}.fixed-pane[data-v-6a7c1f0a]{padding-top:0;height:35px;flex-shrink:0;min-height:35px}.flexible-pane[data-v-6a7c1f0a]{flex:1;min-height:500px;overflow:hidden;padding:5px}.content[data-v-6a7c1f0a]{width:100%;height:100%;overflow:hidden;padding:0}.content[data-v-6a7c1f0a]::-webkit-scrollbar{width:8px;height:8px}.content[data-v-6a7c1f0a]::-webkit-scrollbar-track{background:#f1f1f1}.content[data-v-6a7c1f0a]::-webkit-scrollbar-thumb{border-radius:10px;background:#535353;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2)}.content[data-v-6a7c1f0a]::-webkit-scrollbar-thumb:hover{background:#ededed;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px}.elCollapse[data-v-53dbb572] .el-collapse-item__header{padding-left:10px}.elCollapse .el-form-item[data-v-53dbb572]{margin-bottom:4px;margin-right:4px}.common-item[data-v-53dbb572]{width:200px}.el-row[data-v-53dbb572]{margin-bottom:10px}.tabs[data-v-fdd70ba7]{height:100%}.tabs[data-v-fdd70ba7] .el-tabs__content{padding:0!important}.tabs[data-v-fdd70ba7] .el-tab-pane{height:100%;overflow:auto}.center[data-v-fdd70ba7]{width:100%;height:calc(100% - 40px);overflow:auto;padding:0;transition:all .3s}.ve-svg-icon,.comp-svg-icon[data-v-c17f5289]{width:100%;height:100%;position:relative;fill:currentColor;vertical-align:-2px}.v-common-attr .el-input-group__prepend[data-v-83204aa1]{padding:0 10px}.v-common-attr .el-form-item[data-v-83204aa1]{margin-bottom:4px;margin-right:4px}.elCollapse[data-v-83204aa1] .el-collapse-item__header{padding-left:10px}.v-common-attr .common-item[data-v-83204aa1]{width:180px}`)),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
8
|
-
(function(we,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("pinia"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","element-plus"],e):(we=typeof globalThis<"u"?globalThis:we||self,e(we.hflveditor3={},we.Vue,we.Pinia,we.ElementPlus))})(this,function(we,e,Vt,Be){"use strict";const No={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(n,{emit:a}){const o=a,t=n,s=e.useSlots(),c=e.ref([]),d=e.computed(()=>c.value.reduce((S,O)=>(S[~~O.id]=O)&&S,{})),l=e.computed(()=>c.value.length),i=e.ref(null),f=e.ref(!1),p=e.ref({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),h=e.ref({splitter:null,timeoutId:null}),V=e.computed(()=>({[`splitpanes splitpanes--${t.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":p.value.dragging})),N=()=>{document.addEventListener("mousemove",_,{passive:!1}),document.addEventListener("mouseup",r),"ontouchstart"in window&&(document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",r))},g=()=>{document.removeEventListener("mousemove",_,{passive:!1}),document.removeEventListener("mouseup",r),"ontouchstart"in window&&(document.removeEventListener("touchmove",_,{passive:!1}),document.removeEventListener("touchend",r))},b=(S,O)=>{const R=S.target.closest(".splitpanes__splitter");if(R){const{left:L,top:B}=R.getBoundingClientRect(),{clientX:U,clientY:W}="ontouchstart"in window&&S.touches?S.touches[0]:S;p.value.cursorOffset=t.horizontal?W-B:U-L}N(),p.value.mouseDown=!0,p.value.activeSplitter=O},_=S=>{p.value.mouseDown&&(S.preventDefault(),p.value.dragging=!0,requestAnimationFrame(()=>{y(k(S)),ue("resize",{event:S},!0)}))},r=S=>{p.value.dragging&&(window.getSelection().removeAllRanges(),ue("resized",{event:S},!0)),p.value.mouseDown=!1,p.value.activeSplitter=null,setTimeout(()=>{p.value.dragging=!1,g()},100)},m=(S,O)=>{"ontouchstart"in window&&(S.preventDefault(),h.value.splitter===O?(clearTimeout(h.value.timeoutId),h.value.timeoutId=null,C(S,O),h.value.splitter=null):(h.value.splitter=O,h.value.timeoutId=setTimeout(()=>h.value.splitter=null,500))),p.value.dragging||ue("splitter-click",{event:S,index:O},!0)},C=(S,O)=>{if(ue("splitter-dblclick",{event:S,index:O},!0),t.maximizePanes){let R=0;c.value=c.value.map((L,B)=>(L.size=B===O?L.max:L.min,B!==O&&(R+=L.min),L)),c.value[O].size-=R,ue("pane-maximize",{event:S,index:O,pane:c.value[O]}),ue("resized",{event:S,index:O},!0)}},w=(S,O)=>{ue("pane-click",{event:S,index:d.value[O].index,pane:d.value[O]})},k=S=>{const O=i.value.getBoundingClientRect(),{clientX:R,clientY:L}="ontouchstart"in window&&S.touches?S.touches[0]:S;return{x:R-(t.horizontal?0:p.value.cursorOffset)-O.left,y:L-(t.horizontal?p.value.cursorOffset:0)-O.top}},x=S=>{S=S[t.horizontal?"y":"x"];const O=i.value[t.horizontal?"clientHeight":"clientWidth"];return t.rtl&&!t.horizontal&&(S=O-S),S*100/O},y=S=>{const O=p.value.activeSplitter;let R={prevPanesSize:A(O),nextPanesSize:u(O),prevReachedMinPanes:0,nextReachedMinPanes:0};const L=0+(t.pushOtherPanes?0:R.prevPanesSize),B=100-(t.pushOtherPanes?0:R.nextPanesSize),U=Math.max(Math.min(x(S),B),L);let W=[O,O+1],oe=c.value[W[0]]||null,he=c.value[W[1]]||null;const xt=oe.max<100&&U>=oe.max+R.prevPanesSize,Hr=he.max<100&&U<=100-(he.max+u(O+1));if(xt||Hr){xt?(oe.size=oe.max,he.size=Math.max(100-oe.max-R.prevPanesSize-R.nextPanesSize,0)):(oe.size=Math.max(100-he.max-R.prevPanesSize-u(O+1),0),he.size=he.max);return}if(t.pushOtherPanes){const yo=D(R,U);if(!yo)return;({sums:R,panesToResize:W}=yo),oe=c.value[W[0]]||null,he=c.value[W[1]]||null}oe!==null&&(oe.size=Math.min(Math.max(U-R.prevPanesSize-R.prevReachedMinPanes,oe.min),oe.max)),he!==null&&(he.size=Math.min(Math.max(100-U-R.nextPanesSize-R.nextReachedMinPanes,he.min),he.max))},D=(S,O)=>{const R=p.value.activeSplitter,L=[R,R+1];return O<S.prevPanesSize+c.value[L[0]].min&&(L[0]=E(R).index,S.prevReachedMinPanes=0,L[0]<R&&c.value.forEach((B,U)=>{U>L[0]&&U<=R&&(B.size=B.min,S.prevReachedMinPanes+=B.min)}),S.prevPanesSize=A(L[0]),L[0]===void 0)?(S.prevReachedMinPanes=0,c.value[0].size=c.value[0].min,c.value.forEach((B,U)=>{U>0&&U<=R&&(B.size=B.min,S.prevReachedMinPanes+=B.min)}),c.value[L[1]].size=100-S.prevReachedMinPanes-c.value[0].min-S.prevPanesSize-S.nextPanesSize,null):O>100-S.nextPanesSize-c.value[L[1]].min&&(L[1]=T(R).index,S.nextReachedMinPanes=0,L[1]>R+1&&c.value.forEach((B,U)=>{U>R&&U<L[1]&&(B.size=B.min,S.nextReachedMinPanes+=B.min)}),S.nextPanesSize=u(L[1]-1),L[1]===void 0)?(S.nextReachedMinPanes=0,c.value.forEach((B,U)=>{U<l.value-1&&U>=R+1&&(B.size=B.min,S.nextReachedMinPanes+=B.min)}),c.value[L[0]].size=100-S.prevPanesSize-u(L[0]-1),null):{sums:S,panesToResize:L}},A=S=>c.value.reduce((O,R,L)=>O+(L<S?R.size:0),0),u=S=>c.value.reduce((O,R,L)=>O+(L>S+1?R.size:0),0),E=S=>[...c.value].reverse().find(O=>O.index<S&&O.size>O.min)||{},T=S=>c.value.find(O=>O.index>S+1&&O.size>O.min)||{},M=()=>{var S;const O=Array.from(((S=i.value)==null?void 0:S.children)||[]);for(const R of O){const L=R.classList.contains("splitpanes__pane"),B=R.classList.contains("splitpanes__splitter");!L&&!B&&(R.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))}},z=(S,O,R=!1)=>{const L=S-1,B=document.createElement("div");B.classList.add("splitpanes__splitter"),R||(B.onmousedown=U=>b(U,L),typeof window<"u"&&"ontouchstart"in window&&(B.ontouchstart=U=>b(U,L)),B.onclick=U=>m(U,L+1)),B.ondblclick=U=>C(U,L+1),O.parentNode.insertBefore(B,O)},H=S=>{S.onmousedown=void 0,S.onclick=void 0,S.ondblclick=void 0,S.remove()},P=()=>{var S;const O=Array.from(((S=i.value)==null?void 0:S.children)||[]);for(const L of O)L.className.includes("splitpanes__splitter")&&H(L);let R=0;for(const L of O)L.className.includes("splitpanes__pane")&&(!R&&t.firstSplitter?z(R,L,!0):R&&z(R,L),R++)},K=({uid:S,...O})=>{const R=d.value[S];for(const[L,B]of Object.entries(O))R[L]=B},I=S=>{var O;let R=-1;Array.from(((O=i.value)==null?void 0:O.children)||[]).some(L=>(L.className.includes("splitpanes__pane")&&R++,L.isSameNode(S.el))),c.value.splice(R,0,{...S,index:R}),c.value.forEach((L,B)=>L.index=B),f.value&&e.nextTick(()=>{P(),Z({addedPane:c.value[R]}),ue("pane-add",{pane:c.value[R]})})},q=S=>{const O=c.value.findIndex(L=>L.id===S);c.value[O].el=null;const R=c.value.splice(O,1)[0];c.value.forEach((L,B)=>L.index=B),e.nextTick(()=>{P(),ue("pane-remove",{pane:R}),Z({removedPane:{...R}})})},Z=(S={})=>{!S.addedPane&&!S.removedPane?j():c.value.some(O=>O.givenSize!==null||O.min||O.max<100)?ge(S):ne(),f.value&&ue("resized")},ne=()=>{const S=100/l.value;let O=0;const R=[],L=[];for(const B of c.value)B.size=Math.max(Math.min(S,B.max),B.min),O-=B.size,B.size>=B.max&&R.push(B.id),B.size<=B.min&&L.push(B.id);O>.1&&pe(O,R,L)},j=()=>{let S=100;const O=[],R=[];let L=0;for(const U of c.value)S-=U.size,U.givenSize!==null&&L++,U.size>=U.max&&O.push(U.id),U.size<=U.min&&R.push(U.id);let B=100;if(S>.1){for(const U of c.value)U.givenSize===null&&(U.size=Math.max(Math.min(S/(l.value-L),U.max),U.min)),B-=U.size;B>.1&&pe(B,O,R)}},ge=({addedPane:S,removedPane:O}={})=>{let R=100/l.value,L=0;const B=[],U=[];(S?.givenSize??null)!==null&&(R=(100-S.givenSize)/(l.value-1));for(const W of c.value)L-=W.size,W.size>=W.max&&B.push(W.id),W.size<=W.min&&U.push(W.id);if(!(Math.abs(L)<.1)){for(const W of c.value)S?.givenSize!==null&&S?.id===W.id||(W.size=Math.max(Math.min(R,W.max),W.min)),L-=W.size,W.size>=W.max&&B.push(W.id),W.size<=W.min&&U.push(W.id);L>.1&&pe(L,B,U)}},pe=(S,O,R)=>{let L;S>0?L=S/(l.value-O.length):L=S/(l.value-R.length),c.value.forEach((B,U)=>{if(S>0&&!O.includes(B.id)){const W=Math.max(Math.min(B.size+L,B.max),B.min),oe=W-B.size;S-=oe,B.size=W}else if(!R.includes(B.id)){const W=Math.max(Math.min(B.size+L,B.max),B.min),oe=W-B.size;S-=oe,B.size=W}}),Math.abs(S)>.1&&e.nextTick(()=>{f.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},ue=(S,O=void 0,R=!1)=>{const L=O?.index??p.value.activeSplitter??null;o(S,{...O,...L!==null&&{index:L},...R&&L!==null&&{prevPane:c.value[L-(t.firstSplitter?1:0)],nextPane:c.value[L+(t.firstSplitter?0:1)]},panes:c.value.map(B=>({min:B.min,max:B.max,size:B.size}))})};e.watch(()=>t.firstSplitter,()=>P()),e.onMounted(()=>{M(),P(),Z(),ue("ready"),f.value=!0}),e.onBeforeUnmount(()=>f.value=!1);const Ye=()=>{var S;return e.h("div",{ref:i,class:V.value},(S=s.default)==null?void 0:S.call(s))};return e.provide("panes",c),e.provide("indexedPanes",d),e.provide("horizontal",e.computed(()=>t.horizontal)),e.provide("requestUpdate",K),e.provide("onPaneAdd",I),e.provide("onPaneRemove",q),e.provide("onPaneClick",w),(S,O)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Ye)))}},Eo={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(n){var a;const o=n,t=e.inject("requestUpdate"),s=e.inject("onPaneAdd"),c=e.inject("horizontal"),d=e.inject("onPaneRemove"),l=e.inject("onPaneClick"),i=(a=e.getCurrentInstance())==null?void 0:a.uid,f=e.inject("indexedPanes"),p=e.computed(()=>f.value[i]),h=e.ref(null),V=e.computed(()=>{const _=isNaN(o.size)||o.size===void 0?0:parseFloat(o.size);return Math.max(Math.min(_,g.value),N.value)}),N=e.computed(()=>{const _=parseFloat(o.minSize);return isNaN(_)?0:_}),g=e.computed(()=>{const _=parseFloat(o.maxSize);return isNaN(_)?100:_}),b=e.computed(()=>{var _;return`${c.value?"height":"width"}: ${(_=p.value)==null?void 0:_.size}%`});return e.watch(()=>V.value,_=>t({uid:i,size:_})),e.watch(()=>N.value,_=>t({uid:i,min:_})),e.watch(()=>g.value,_=>t({uid:i,max:_})),e.onMounted(()=>{s({id:i,el:h.value,min:N.value,max:g.value,givenSize:o.size===void 0?null:V.value,size:V.value})}),e.onBeforeUnmount(()=>d(i)),(_,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"paneEl",ref:h,class:"splitpanes__pane",onClick:r[0]||(r[0]=m=>e.unref(l)(m,_._.uid)),style:e.normalizeStyle(b.value)},[e.renderSlot(_.$slots,"default")],4))}},nn={rotate:0,opacity:1,isHide:!1,hAffix:"calc",wdSet:"calc",wdReserve:0,vAffix:"calc",htSet:"calc",htReserve:0,showDashBorder:!0},on={animations:[],compName:"",groupStyle:{},isLock:!1,collapseName:"style",hasEvents:["onBeforeMount","onMounted","onBeforeUnmount","onUnmounted"],events:{}},an=[{groupName:"常用组件",compList:[]}],ko="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let To=(n=21)=>{let a="",o=crypto.getRandomValues(new Uint8Array(n|=0));for(;n--;)a+=ko[o[n]&63];return a};function Ao(n){return typeof Array.isArray>"u"?Object.prototype.toString.call(n)==="[object Array]":Array.isArray(n)}function me(n){return!!(n&&n!="")}function Ce(n){if(typeof n=="object"){const a=Array.isArray(n)?[]:{};for(const o in n)typeof n[o]=="object"?a[o]=Ce(n[o]):a[o]=n[o];return a}return n}function ln(n,a,o){const t=n[a];n[a]=n[o],n[o]=t}function rn(n,a){if(me(a)&&n&&n.length>0){for(let o=0;o<n.length;o++)if(n[o].componentList&&n[o].componentList.length>0){let t=n[o].componentList;for(let s=0;s<t.length;s++)if(a==t[s].component)return t[s]}}}function Qe(n,a,o){return a=a||0,isNaN(n)?n:!isNaN(parseFloat(n))&&isFinite(n)?(Number(a)?a=parseInt(a):a=0,(""+n).indexOf(".")<0?n:n.toFixed(a)):n}async function je(n){try{await navigator.clipboard.writeText(n)}catch(a){console.error("无法复制内容",a)}}function ce(n){return n+Bo()}function Bo(){return To()}function So(n,a=0){if(typeof n!="number"||isNaN(n))return NaN;const t=10*Math.max(0,Math.floor(Number(a)||0));return Math.round(n*t)/t}function Se(n,...a){if(!window.hflveditor3_debug)return;const o={debug:["%c[DEBUG]","color: #4CAF50; font-weight: bold"],info:["%c[INFO]","color: #2196F3; font-weight: bold"],warn:["%c[WARN]","color: #FF9800; font-weight: bold"],error:["%c[ERROR]","color: #F44336; font-weight: bold"]},t=o[n]||o.debug;switch(n){case"debug":console.debug(t[0],t[1],...a);break;case"info":console.info(t[0],t[1],...a);break;case"warn":console.warn(t[0],t[1],...a);break;case"error":console.error(t[0],t[1],...a);break;default:console.log(t[0],t[1],...a)}}const Pe=Vt.defineStore("ve/compGroup",{state:()=>({componentGroups:[...an]}),actions:{registerCompGroups(n){if(Ao(n)){for(let a=0,o=n.length;a<o;a++){const t=n[a];if(t.componentList&&t.componentList.length>0)for(let s=0;s<t.componentList.length;s++){const c=t.componentList[s];c.style={...nn,...c.style},t.componentList[s]={...on,...c}}}this.componentGroups=this.componentGroups.concat(n)}},clearCompGroups(){this.componentGroups=[...an]},clearAllCompGroup(){this.componentGroups=[]}}}),J=(n,a)=>{const o=n.__vccOpts||n;for(const[t,s]of a)o[t]=s;return o},Fo={__name:"component-tab",setup(n,{expose:a}){a();const o=e.ref("1"),t=e.computed(()=>Pe().componentGroups),f={activeNames:o,componentGroups:t,handleDragComponent:function(p,h,V){p.dataTransfer.setData("text/plain",JSON.stringify({component:h.component}))},handleDragEnd:function(p){console.log("Drag ended"),p.preventDefault()},testClick:()=>{console.log("component clicked")},isSvgIcon:function(p){return me(p)&&p.startsWith("svg")},spanIconClass:function(p){return me(p)&&p.startsWith("el")?p:"iconfont icon-"+p},ref:e.ref,computed:e.computed,get useVEStore(){return Pe},get isNotEmpty(){return me}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}};function Oo(n,a,o,t,s,c){const d=e.resolveComponent("ve-svg-icon"),l=e.resolveComponent("el-collapse-item"),i=e.resolveComponent("el-collapse");return e.openBlock(),e.createBlock(i,{modelValue:t.activeNames,"onUpdate:modelValue":a[0]||(a[0]=f=>t.activeNames=f),class:"elCollapse",accordion:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.componentGroups,(f,p)=>(e.openBlock(),e.createBlock(l,{title:f.groupName,name:p},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"component-list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.componentList,(h,V)=>(e.openBlock(),e.createElementBlock("div",{key:V,class:"list","data-index":V,title:h.label,draggable:!0,onDragstart:N=>t.handleDragComponent(N,h,"common"),onClick:t.testClick},[t.isSvgIcon(h.icon)?(e.openBlock(),e.createBlock(d,{key:0,"icon-class":h.icon.substring(3)},null,8,["icon-class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.spanIconClass(h.icon))},null,2)),e.createTextVNode(),e.createElementVNode("span",{class:"comp-name"},e.toDisplayString(h.label),1)],40,["data-index","title","onDragstart"]))),128))])]),_:2},1032,["title","name"]))),256))]),_:1},8,["modelValue"])}const Lo=J(Fo,[["render",Oo],["__scopeId","data-v-5dbe0f64"],["__file","component-tab.vue"]]),Po=["top","left","width","height","fontSize","padding"];function sn(n,a,o=null){const t=o||Ce(n.componentData);if(t.forEach(s=>{Object.keys(s.style).forEach(c=>{if(Po.includes(c)){let d;o?d=(s.style[c]/o[0].lastScale*a).toFixed(4)-0:d=(s.style[c]/n.canvasStyleData.scale*a).toFixed(4)-0,c=="top"||c=="left"?s.style[c]=d:s.style[c]=d==0?1:d}})}),o)return t;n.setComponentData(t),n.setCurComponent(t[n.curComponentIndex],n.curComponentIndex),n.setCanvasStyle({...n.canvasStyleData,scale:a})}var Ro=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mo=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,zo=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,wt={Space_Separator:Ro,ID_Start:Mo,ID_Continue:zo},se={isSpaceSeparator(n){return typeof n=="string"&&wt.Space_Separator.test(n)},isIdStartChar(n){return typeof n=="string"&&(n>="a"&&n<="z"||n>="A"&&n<="Z"||n==="$"||n==="_"||wt.ID_Start.test(n))},isIdContinueChar(n){return typeof n=="string"&&(n>="a"&&n<="z"||n>="A"&&n<="Z"||n>="0"&&n<="9"||n==="$"||n==="_"||n===""||n===""||wt.ID_Continue.test(n))},isDigit(n){return typeof n=="string"&&/[0-9]/.test(n)},isHexDigit(n){return typeof n=="string"&&/[0-9A-Fa-f]/.test(n)}};let Dt,_e,ye,Ze,ke,De,de,bt,Ke;var Io=function(a,o){Dt=String(a),_e="start",ye=[],Ze=0,ke=1,De=0,de=void 0,bt=void 0,Ke=void 0;do de=Uo(),Wo[_e]();while(de.type!=="eof");return typeof o=="function"?yt({"":Ke},"",o):Ke};function yt(n,a,o){const t=n[a];if(t!=null&&typeof t=="object")if(Array.isArray(t))for(let s=0;s<t.length;s++){const c=String(s),d=yt(t,c,o);d===void 0?delete t[c]:Object.defineProperty(t,c,{value:d,writable:!0,enumerable:!0,configurable:!0})}else for(const s in t){const c=yt(t,s,o);c===void 0?delete t[s]:Object.defineProperty(t,s,{value:c,writable:!0,enumerable:!0,configurable:!0})}return o.call(n,a,t)}let G,X,We,Ne,Q;function Uo(){for(G="default",X="",We=!1,Ne=1;;){Q=Ee();const n=cn[G]();if(n)return n}}function Ee(){if(Dt[Ze])return String.fromCodePoint(Dt.codePointAt(Ze))}function F(){const n=Ee();return n===`
|
|
7
|
+
*/@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.rubberBand{-webkit-animation-name:rubberband;animation-name:rubberBand}@-webkit-keyframes shake{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headshake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.heartBeat{-webkit-animation-name:heartbeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bouncein;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceindown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceinleft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceinright;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceinup;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bounceout;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceoutdown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceoutleft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceoutright;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceoutup;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadein;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeindown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeindownbig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeinleft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeinleftbig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeinright;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeinrightbig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeinup;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeinupbig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fadeOut{-webkit-animation-name:fadeout;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeoutdown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeoutdownbig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeoutleft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeoutleftbig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeoutright;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeoutrightbig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeoutup;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeoutupbig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipinx;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipiny;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:flipoutx;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipouty;animation-name:flipOutY}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.lightSpeedIn{-webkit-animation-name:lightspeedin;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightspeedout;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotatein;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateindownleft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateindownright;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateinupleft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateinupright;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateout;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateoutdownleft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateoutdownright;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateoutupleft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateoutupright;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.jackInTheBox{-webkit-animation-name:jackinthebox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollin;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollout;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomin;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomindown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoominleft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoominright;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoominup;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoomOut{-webkit-animation-name:zoomout;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomoutdown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomoutleft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomoutright;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomoutup;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideindown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideinleft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideinright;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideinup;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideoutdown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideoutleft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideoutright;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideoutup;animation-name:slideOutUp}.animated{-webkit-animation-duration:var(--time, 1s);animation-duration:var(--time, 1s);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane,*:has(.splitpanes--dragging){-webkit-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out;will-change:width}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out;will-change:height}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.default-theme.splitpanes .splitpanes__splitter:before,.default-theme.splitpanes .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.default-theme.splitpanes .splitpanes__splitter:hover:before,.default-theme.splitpanes .splitpanes__splitter:hover:after{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.elCollapse[data-v-5dbe0f64] .el-collapse-item__header{padding-left:10px}.component-list[data-v-5dbe0f64]{padding:5px;display:grid;grid-gap:5px 5px;grid-template-columns:repeat(auto-fill,90px);grid-template-rows:repeat(auto-fill,90px);transition-property:opacity;transition-duration:.5s;transition-delay:.5s;transition-timing-function:ease;max-height:500px;overflow-y:auto;overflow-x:hidden}.component-list>.list[data-v-5dbe0f64]{width:90px;height:90px;border:1px solid #ddd;cursor:grab;text-align:center;padding:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}.component-list>.list>.active[data-v-5dbe0f64]{cursor:grabbing}.component-list>.list>.iconfont[data-v-5dbe0f64]{margin-right:2px;font-size:20px}.component-list>.list>.comp-name[data-v-5dbe0f64]{margin-top:5px;font-size:12px}.real-time-component-list[data-v-abecf561]{height:100%}.real-time-component-list .list[data-v-abecf561]{height:40px;cursor:grab;text-align:center;color:#333;display:flex;align-items:center;padding:0 10px;position:relative;user-select:none;opacity:1;font-size:16px}.real-time-component-list .list .comp-icon[data-v-abecf561]{width:40px;height:100%;padding:2px}.real-time-component-list .list[data-v-abecf561]:active{cursor:grabbing}.real-time-component-list .list[data-v-abecf561]:hover{background-color:#c8c8c833}.real-time-component-list .list:hover .icon-container[data-v-abecf561]{display:block}.real-time-component-list .list .iconfont[data-v-abecf561]{margin-right:4px;font-size:24px}.real-time-component-list .list .icon-container[data-v-abecf561]{position:absolute;right:10px;display:none}.real-time-component-list .list .icon-container .iconfont[data-v-abecf561]{cursor:pointer}.real-time-component-list .actived[data-v-abecf561]{background:#ecf5ff;color:#409eff}.tabs[data-v-f00af19f]{height:100%}.tabs[data-v-f00af19f] .el-tabs__content{padding:2px 0 0!important}.custom-omit-input[data-v-dfd64ff1]{width:100%}.custom-omit-input[data-v-dfd64ff1] .el-input-group__append{padding:0}.cfg-request[data-v-9c8bf4bc]{width:100%;height:590px;overflow-y:auto;overflow-x:hidden}.item-label[data-v-9c8bf4bc]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-9c8bf4bc]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-9c8bf4bc]{margin-bottom:10px}.cfg-container[data-v-03216980]{width:100%;height:100%}.item-label[data-v-03216980]{display:flex;justify-content:flex-end;padding-right:5px}.cfg-container[data-v-7a388fc5]{width:100%;height:100%}.item-label[data-v-7a388fc5]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-7a388fc5]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-7a388fc5]{margin-bottom:10px}.cfg-request[data-v-596f6eca]{width:100%;height:100%}.item-label[data-v-596f6eca]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-596f6eca]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-596f6eca]{margin-bottom:10px}.cfg-request[data-v-ef6f8d3f]{width:100%;height:100%}.item-label[data-v-ef6f8d3f]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-ef6f8d3f]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-ef6f8d3f]{margin-bottom:10px}.cfg-request[data-v-26630b0a],.cfg-request[data-v-99ed424c]{width:100%;height:100%}.item-label[data-v-99ed424c]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-99ed424c]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-99ed424c]{margin-bottom:10px}.cfg-request[data-v-09ab64b1]{width:100%;height:100%}.item-label[data-v-09ab64b1]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-09ab64b1]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-09ab64b1]{margin-bottom:10px}.cfg-request[data-v-c1ad3453]{width:100%;height:100%}.item-label[data-v-c1ad3453]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-c1ad3453]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-c1ad3453]{margin-bottom:10px}.cfg-action-end[data-v-5de898a9]{width:100%;height:100%}.item-label[data-v-5de898a9]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-5de898a9]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-5de898a9]{margin-bottom:10px}.cfg-message-box[data-v-6f8e4bda]{width:100%;height:100%}.item-label[data-v-6f8e4bda]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-6f8e4bda]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-6f8e4bda]{margin-bottom:10px}.cfg-message-box[data-v-5b98891d]{width:100%;height:100%}.item-label[data-v-5b98891d]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-5b98891d]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-5b98891d]{margin-bottom:10px}.cfg-request[data-v-388967c2]{width:100%;height:100%}.item-label[data-v-388967c2]{display:flex;justify-content:flex-end;padding-right:5px}.item-label-start[data-v-388967c2]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-388967c2]{margin-bottom:10px}.container-pane[data-v-c30af151]{width:100%;height:950px;padding:5px}.item-label[data-v-c30af151]{display:flex;justify-content:flex-end;padding-right:5px}.flex-pane[data-v-c30af151]{width:100%;height:400px;display:flex}.fixed-pane[data-v-c30af151]{width:350px;flex-shrink:0;padding:2px 5px}.flexible-pane[data-v-c30af151]{flex-grow:1;padding:2px 5px}.el-row[data-v-c30af151]{margin-bottom:5px}.comp-event[data-v-742bd246]{width:100%;height:100%;padding:10px 2px}.tool-list[data-v-742bd246]{width:90%;height:40px;padding-left:10px}.tree-pane[data-v-742bd246]{width:100%;height:calc(100% - 30px)}.custom-tree-node[data-v-742bd246]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding-right:8px}.animation-list[data-v-b1e64e02]{width:100%;height:100%;padding:10px 2px}.item-label-start[data-v-b1e64e02]{display:flex;justify-content:flex-start;padding-right:5px}.el-row[data-v-b1e64e02]{margin-bottom:10px}.tabs[data-v-9454352f]{height:100%}.tabs[data-v-9454352f] .el-tabs__content{padding:2px 0 0!important}.elCollapse[data-v-12c217c0] .el-collapse-item__header{padding-left:10px}.elCollapse .el-form-item[data-v-12c217c0]{margin-bottom:4px;margin-right:4px}.common-item[data-v-12c217c0]{width:200px}.tool-bar[data-v-7aeb4379]{width:100%;height:35px;padding:2px 10px;background:#f5f5f5;border-bottom:1px solid #e0e0e0}.tool-list[data-v-7aeb4379]{width:100%;height:100%}.icon-list[data-v-7aeb4379]{display:flex;height:100%;margin:0;padding:0;list-style:none;align-items:center;gap:5px}.tool-item[data-v-7aeb4379]{display:flex;height:100%;align-items:center;cursor:pointer}li.disabled[data-v-7aeb4379]{opacity:.5;cursor:not-allowed}.el-dropdown-link[data-v-7aeb4379]{cursor:pointer;display:flex;align-items:center}.tool-content[data-v-7aeb4379]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:5px;width:40px}.tool-item:hover .tool-icon[data-v-7aeb4379],.tool-item:hover .tool-text[data-v-7aeb4379]{color:#1890ff}.tool-bar[data-v-7aeb4379]::-webkit-scrollbar{height:4px}.tool-bar[data-v-7aeb4379]::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.vue-rule-container[data-v-75e5d96d]{width:100%;height:100%;overflow:auto}.vue-ruler-wrapper[data-v-75e5d96d]{left:0;top:0;z-index:999;overflow:hidden;user-select:none;position:relative}.vue-ruler-h[data-v-75e5d96d],.vue-ruler-v[data-v-75e5d96d],.vue-ruler-ref-line-v[data-v-75e5d96d],.vue-ruler-ref-line-h[data-v-75e5d96d],.vue-ruler-ref-dot-h[data-v-75e5d96d],.vue-ruler-ref-dot-v[data-v-75e5d96d]{position:absolute;left:0;top:0;overflow:hidden;z-index:999}.vue-ruler-h[data-v-75e5d96d]{width:100%;height:18px;left:18px;opacity:.6;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAASCAMAAAAuTX21AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAlQTFRFMzMzAAAA////BqjYlAAAACNJREFUeNpiYCAdMDKRCka1jGoBA2JZZGshiaCXFpIBQIABAAplBkCmQpujAAAAAElFTkSuQmCC) repeat-x}.vue-ruler-v[data-v-75e5d96d]{width:18px;height:100%;top:18px;opacity:.6;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAyCAMAAABmvHtTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAlQTFRFMzMzAAAA////BqjYlAAAACBJREFUeNpiYGBEBwwMTGiAakI0NX7U9aOuHyGuBwgwAH6bBkAR6jkzAAAAAElFTkSuQmCC) repeat-y}.vue-ruler-v .n[data-v-75e5d96d],.vue-ruler-h .n[data-v-75e5d96d]{position:absolute;font:10px/1 Arial,sans-serif;color:#333;cursor:default}.vue-ruler-v .n[data-v-75e5d96d]{width:8px;left:3px;word-wrap:break-word}.vue-ruler-h .n[data-v-75e5d96d]{top:1px}.vue-ruler-ref-line-v[data-v-75e5d96d],.vue-ruler-ref-line-h[data-v-75e5d96d],.vue-ruler-ref-dot-h[data-v-75e5d96d],.vue-ruler-ref-dot-v[data-v-75e5d96d]{z-index:998}.vue-ruler-ref-line-h[data-v-75e5d96d]{width:100%;height:1px;background-color:#000;cursor:n-resize}.vue-ruler-ref-line-v[data-v-75e5d96d]{width:1px;height:100%;background-color:#000;cursor:w-resize}.vue-ruler-ref-dot-h[data-v-75e5d96d]{width:100%;height:3px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAMAAABFaP0WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFf39/////F3PnHQAAAAJ0Uk5T/wDltzBKAAAAEElEQVR42mJgYGRgZAQIMAAADQAExkizYQAAAABJRU5ErkJggg==) repeat-x left 1px;cursor:n-resize;top:-10px}.vue-ruler-ref-dot-v[data-v-75e5d96d]{width:3px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAMAAABFaP0WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFf39/////F3PnHQAAAAJ0Uk5T/wDltzBKAAAAEElEQVR42mJgYGRgZAQIMAAADQAExkizYQAAAABJRU5ErkJggg==) repeat-y 1px top;cursor:w-resize;left:-10px}.vue-ruler-content[data-v-75e5d96d]{position:absolute;z-index:997}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar{width:8px;height:8px}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar-track{background:#f1f1f1}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar-thumb{border-radius:10px;background:#535353;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2)}.vue-ruler-content[data-v-75e5d96d]::-webkit-scrollbar-thumb:hover{background:#ededed;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px}.vue-ruler-content-mask[data-v-75e5d96d]{position:absolute;width:100%;height:100%;background:transparent;z-index:998}.grid[data-v-e0b9a335]{position:absolute;top:0;left:0}.shape[data-v-61dd64e5]{position:absolute}.shape[data-v-61dd64e5]:hover{cursor:move}.active[data-v-61dd64e5]{outline:1px solid #70c0ff;user-select:none}.shape-point[data-v-61dd64e5]{position:absolute;background:#fff;border:1px solid #59c7f9;width:8px;height:8px;border-radius:50%;z-index:1}.iconfont-xuanzhuan[data-v-61dd64e5]{position:absolute;top:-34px;left:50%;transform:translate(-50%);cursor:grab;color:#59c7f9;font-size:20px;font-weight:600}.iconfont-xuanzhuan[data-v-61dd64e5]:active{cursor:grabbing}.icon-suo[data-v-61dd64e5]{position:absolute;top:0;right:0}.mark-line[data-v-1292994b]{height:100%}.line[data-v-1292994b]{background:#59c7f9;position:absolute;z-index:1000}.xline[data-v-1292994b]{width:100%;height:1px}.yline[data-v-1292994b]{width:1px;height:100%}.area[data-v-32734a61]{border:1px solid #70c0ff;position:absolute}.left-context-menu[data-v-8383d7b0]{position:absolute;z-index:1000;box-sizing:border-box}.left-context-menu ul[data-v-8383d7b0]{display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important;gap:0!important;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px #0000001a;box-sizing:border-box}.left-context-menu ul li[data-v-8383d7b0]{flex:0 0 34px!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 20px!important;font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266;height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.left-context-menu ul li[data-v-8383d7b0]:hover{background-color:#f5f7fa}.area[data-v-20f916ac]{border:1px solid #70c0ff;position:absolute}.editor[data-v-5a712273]{position:relative;background:#fff;margin:auto}.editor .lock[data-v-5a712273]{opacity:.5}.editor .lock[data-v-5a712273]:hover{cursor:not-allowed}.editor .component[data-v-5a712273]{outline:none;width:100%;height:100%}.splitpanes[data-v-6a7c1f0a]{display:flex;flex-direction:column;height:100%;width:100%;min-height:0;overflow:hidden}.fixed-pane[data-v-6a7c1f0a]{padding-top:0;height:35px;flex-shrink:0;min-height:35px}.flexible-pane[data-v-6a7c1f0a]{flex:1;min-height:500px;overflow:hidden;padding:5px}.content[data-v-6a7c1f0a]{width:100%;height:100%;overflow:hidden;padding:0}.content[data-v-6a7c1f0a]::-webkit-scrollbar{width:8px;height:8px}.content[data-v-6a7c1f0a]::-webkit-scrollbar-track{background:#f1f1f1}.content[data-v-6a7c1f0a]::-webkit-scrollbar-thumb{border-radius:10px;background:#535353;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2)}.content[data-v-6a7c1f0a]::-webkit-scrollbar-thumb:hover{background:#ededed;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px}.elCollapse[data-v-53dbb572] .el-collapse-item__header{padding-left:10px}.elCollapse .el-form-item[data-v-53dbb572]{margin-bottom:4px;margin-right:4px}.common-item[data-v-53dbb572]{width:200px}.el-row[data-v-53dbb572]{margin-bottom:10px}.tabs[data-v-fdd70ba7]{height:100%}.tabs[data-v-fdd70ba7] .el-tabs__content{padding:0!important}.tabs[data-v-fdd70ba7] .el-tab-pane{height:100%;overflow:auto}.center[data-v-fdd70ba7]{width:100%;height:calc(100% - 40px);overflow:auto;padding:0;transition:all .3s}.ve-svg-icon,.comp-svg-icon[data-v-c17f5289]{width:100%;height:100%;position:relative;fill:currentColor;vertical-align:-2px}.v-common-attr .el-input-group__prepend[data-v-37d48c88]{padding:0 10px}.v-common-attr .el-form-item[data-v-37d48c88]{margin-bottom:4px;margin-right:4px}.elCollapse[data-v-37d48c88] .el-collapse-item__header{padding-left:10px}.v-common-attr .common-item[data-v-37d48c88]{width:180px}`)),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
8
|
+
(function(we,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("pinia"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","element-plus"],e):(we=typeof globalThis<"u"?globalThis:we||self,e(we.hflveditor3={},we.Vue,we.Pinia,we.ElementPlus))})(this,function(we,e,Vt,Be){"use strict";const No={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(n,{emit:a}){const o=a,t=n,s=e.useSlots(),c=e.ref([]),d=e.computed(()=>c.value.reduce((S,O)=>(S[~~O.id]=O)&&S,{})),l=e.computed(()=>c.value.length),i=e.ref(null),f=e.ref(!1),p=e.ref({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),h=e.ref({splitter:null,timeoutId:null}),V=e.computed(()=>({[`splitpanes splitpanes--${t.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":p.value.dragging})),N=()=>{document.addEventListener("mousemove",_,{passive:!1}),document.addEventListener("mouseup",r),"ontouchstart"in window&&(document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",r))},x=()=>{document.removeEventListener("mousemove",_,{passive:!1}),document.removeEventListener("mouseup",r),"ontouchstart"in window&&(document.removeEventListener("touchmove",_,{passive:!1}),document.removeEventListener("touchend",r))},w=(S,O)=>{const R=S.target.closest(".splitpanes__splitter");if(R){const{left:L,top:B}=R.getBoundingClientRect(),{clientX:U,clientY:W}="ontouchstart"in window&&S.touches?S.touches[0]:S;p.value.cursorOffset=t.horizontal?W-B:U-L}N(),p.value.mouseDown=!0,p.value.activeSplitter=O},_=S=>{p.value.mouseDown&&(S.preventDefault(),p.value.dragging=!0,requestAnimationFrame(()=>{y(k(S)),ue("resize",{event:S},!0)}))},r=S=>{p.value.dragging&&(window.getSelection().removeAllRanges(),ue("resized",{event:S},!0)),p.value.mouseDown=!1,p.value.activeSplitter=null,setTimeout(()=>{p.value.dragging=!1,x()},100)},m=(S,O)=>{"ontouchstart"in window&&(S.preventDefault(),h.value.splitter===O?(clearTimeout(h.value.timeoutId),h.value.timeoutId=null,g(S,O),h.value.splitter=null):(h.value.splitter=O,h.value.timeoutId=setTimeout(()=>h.value.splitter=null,500))),p.value.dragging||ue("splitter-click",{event:S,index:O},!0)},g=(S,O)=>{if(ue("splitter-dblclick",{event:S,index:O},!0),t.maximizePanes){let R=0;c.value=c.value.map((L,B)=>(L.size=B===O?L.max:L.min,B!==O&&(R+=L.min),L)),c.value[O].size-=R,ue("pane-maximize",{event:S,index:O,pane:c.value[O]}),ue("resized",{event:S,index:O},!0)}},D=(S,O)=>{ue("pane-click",{event:S,index:d.value[O].index,pane:d.value[O]})},k=S=>{const O=i.value.getBoundingClientRect(),{clientX:R,clientY:L}="ontouchstart"in window&&S.touches?S.touches[0]:S;return{x:R-(t.horizontal?0:p.value.cursorOffset)-O.left,y:L-(t.horizontal?p.value.cursorOffset:0)-O.top}},C=S=>{S=S[t.horizontal?"y":"x"];const O=i.value[t.horizontal?"clientHeight":"clientWidth"];return t.rtl&&!t.horizontal&&(S=O-S),S*100/O},y=S=>{const O=p.value.activeSplitter;let R={prevPanesSize:A(O),nextPanesSize:u(O),prevReachedMinPanes:0,nextReachedMinPanes:0};const L=0+(t.pushOtherPanes?0:R.prevPanesSize),B=100-(t.pushOtherPanes?0:R.nextPanesSize),U=Math.max(Math.min(C(S),B),L);let W=[O,O+1],oe=c.value[W[0]]||null,he=c.value[W[1]]||null;const xt=oe.max<100&&U>=oe.max+R.prevPanesSize,Hr=he.max<100&&U<=100-(he.max+u(O+1));if(xt||Hr){xt?(oe.size=oe.max,he.size=Math.max(100-oe.max-R.prevPanesSize-R.nextPanesSize,0)):(oe.size=Math.max(100-he.max-R.prevPanesSize-u(O+1),0),he.size=he.max);return}if(t.pushOtherPanes){const yo=b(R,U);if(!yo)return;({sums:R,panesToResize:W}=yo),oe=c.value[W[0]]||null,he=c.value[W[1]]||null}oe!==null&&(oe.size=Math.min(Math.max(U-R.prevPanesSize-R.prevReachedMinPanes,oe.min),oe.max)),he!==null&&(he.size=Math.min(Math.max(100-U-R.nextPanesSize-R.nextReachedMinPanes,he.min),he.max))},b=(S,O)=>{const R=p.value.activeSplitter,L=[R,R+1];return O<S.prevPanesSize+c.value[L[0]].min&&(L[0]=E(R).index,S.prevReachedMinPanes=0,L[0]<R&&c.value.forEach((B,U)=>{U>L[0]&&U<=R&&(B.size=B.min,S.prevReachedMinPanes+=B.min)}),S.prevPanesSize=A(L[0]),L[0]===void 0)?(S.prevReachedMinPanes=0,c.value[0].size=c.value[0].min,c.value.forEach((B,U)=>{U>0&&U<=R&&(B.size=B.min,S.prevReachedMinPanes+=B.min)}),c.value[L[1]].size=100-S.prevReachedMinPanes-c.value[0].min-S.prevPanesSize-S.nextPanesSize,null):O>100-S.nextPanesSize-c.value[L[1]].min&&(L[1]=T(R).index,S.nextReachedMinPanes=0,L[1]>R+1&&c.value.forEach((B,U)=>{U>R&&U<L[1]&&(B.size=B.min,S.nextReachedMinPanes+=B.min)}),S.nextPanesSize=u(L[1]-1),L[1]===void 0)?(S.nextReachedMinPanes=0,c.value.forEach((B,U)=>{U<l.value-1&&U>=R+1&&(B.size=B.min,S.nextReachedMinPanes+=B.min)}),c.value[L[0]].size=100-S.prevPanesSize-u(L[0]-1),null):{sums:S,panesToResize:L}},A=S=>c.value.reduce((O,R,L)=>O+(L<S?R.size:0),0),u=S=>c.value.reduce((O,R,L)=>O+(L>S+1?R.size:0),0),E=S=>[...c.value].reverse().find(O=>O.index<S&&O.size>O.min)||{},T=S=>c.value.find(O=>O.index>S+1&&O.size>O.min)||{},M=()=>{var S;const O=Array.from(((S=i.value)==null?void 0:S.children)||[]);for(const R of O){const L=R.classList.contains("splitpanes__pane"),B=R.classList.contains("splitpanes__splitter");!L&&!B&&(R.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))}},z=(S,O,R=!1)=>{const L=S-1,B=document.createElement("div");B.classList.add("splitpanes__splitter"),R||(B.onmousedown=U=>w(U,L),typeof window<"u"&&"ontouchstart"in window&&(B.ontouchstart=U=>w(U,L)),B.onclick=U=>m(U,L+1)),B.ondblclick=U=>g(U,L+1),O.parentNode.insertBefore(B,O)},H=S=>{S.onmousedown=void 0,S.onclick=void 0,S.ondblclick=void 0,S.remove()},P=()=>{var S;const O=Array.from(((S=i.value)==null?void 0:S.children)||[]);for(const L of O)L.className.includes("splitpanes__splitter")&&H(L);let R=0;for(const L of O)L.className.includes("splitpanes__pane")&&(!R&&t.firstSplitter?z(R,L,!0):R&&z(R,L),R++)},K=({uid:S,...O})=>{const R=d.value[S];for(const[L,B]of Object.entries(O))R[L]=B},I=S=>{var O;let R=-1;Array.from(((O=i.value)==null?void 0:O.children)||[]).some(L=>(L.className.includes("splitpanes__pane")&&R++,L.isSameNode(S.el))),c.value.splice(R,0,{...S,index:R}),c.value.forEach((L,B)=>L.index=B),f.value&&e.nextTick(()=>{P(),$({addedPane:c.value[R]}),ue("pane-add",{pane:c.value[R]})})},q=S=>{const O=c.value.findIndex(L=>L.id===S);c.value[O].el=null;const R=c.value.splice(O,1)[0];c.value.forEach((L,B)=>L.index=B),e.nextTick(()=>{P(),ue("pane-remove",{pane:R}),$({removedPane:{...R}})})},$=(S={})=>{!S.addedPane&&!S.removedPane?j():c.value.some(O=>O.givenSize!==null||O.min||O.max<100)?ge(S):ne(),f.value&&ue("resized")},ne=()=>{const S=100/l.value;let O=0;const R=[],L=[];for(const B of c.value)B.size=Math.max(Math.min(S,B.max),B.min),O-=B.size,B.size>=B.max&&R.push(B.id),B.size<=B.min&&L.push(B.id);O>.1&&pe(O,R,L)},j=()=>{let S=100;const O=[],R=[];let L=0;for(const U of c.value)S-=U.size,U.givenSize!==null&&L++,U.size>=U.max&&O.push(U.id),U.size<=U.min&&R.push(U.id);let B=100;if(S>.1){for(const U of c.value)U.givenSize===null&&(U.size=Math.max(Math.min(S/(l.value-L),U.max),U.min)),B-=U.size;B>.1&&pe(B,O,R)}},ge=({addedPane:S,removedPane:O}={})=>{let R=100/l.value,L=0;const B=[],U=[];(S?.givenSize??null)!==null&&(R=(100-S.givenSize)/(l.value-1));for(const W of c.value)L-=W.size,W.size>=W.max&&B.push(W.id),W.size<=W.min&&U.push(W.id);if(!(Math.abs(L)<.1)){for(const W of c.value)S?.givenSize!==null&&S?.id===W.id||(W.size=Math.max(Math.min(R,W.max),W.min)),L-=W.size,W.size>=W.max&&B.push(W.id),W.size<=W.min&&U.push(W.id);L>.1&&pe(L,B,U)}},pe=(S,O,R)=>{let L;S>0?L=S/(l.value-O.length):L=S/(l.value-R.length),c.value.forEach((B,U)=>{if(S>0&&!O.includes(B.id)){const W=Math.max(Math.min(B.size+L,B.max),B.min),oe=W-B.size;S-=oe,B.size=W}else if(!R.includes(B.id)){const W=Math.max(Math.min(B.size+L,B.max),B.min),oe=W-B.size;S-=oe,B.size=W}}),Math.abs(S)>.1&&e.nextTick(()=>{f.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},ue=(S,O=void 0,R=!1)=>{const L=O?.index??p.value.activeSplitter??null;o(S,{...O,...L!==null&&{index:L},...R&&L!==null&&{prevPane:c.value[L-(t.firstSplitter?1:0)],nextPane:c.value[L+(t.firstSplitter?0:1)]},panes:c.value.map(B=>({min:B.min,max:B.max,size:B.size}))})};e.watch(()=>t.firstSplitter,()=>P()),e.onMounted(()=>{M(),P(),$(),ue("ready"),f.value=!0}),e.onBeforeUnmount(()=>f.value=!1);const Ye=()=>{var S;return e.h("div",{ref:i,class:V.value},(S=s.default)==null?void 0:S.call(s))};return e.provide("panes",c),e.provide("indexedPanes",d),e.provide("horizontal",e.computed(()=>t.horizontal)),e.provide("requestUpdate",K),e.provide("onPaneAdd",I),e.provide("onPaneRemove",q),e.provide("onPaneClick",D),(S,O)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Ye)))}},Eo={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(n){var a;const o=n,t=e.inject("requestUpdate"),s=e.inject("onPaneAdd"),c=e.inject("horizontal"),d=e.inject("onPaneRemove"),l=e.inject("onPaneClick"),i=(a=e.getCurrentInstance())==null?void 0:a.uid,f=e.inject("indexedPanes"),p=e.computed(()=>f.value[i]),h=e.ref(null),V=e.computed(()=>{const _=isNaN(o.size)||o.size===void 0?0:parseFloat(o.size);return Math.max(Math.min(_,x.value),N.value)}),N=e.computed(()=>{const _=parseFloat(o.minSize);return isNaN(_)?0:_}),x=e.computed(()=>{const _=parseFloat(o.maxSize);return isNaN(_)?100:_}),w=e.computed(()=>{var _;return`${c.value?"height":"width"}: ${(_=p.value)==null?void 0:_.size}%`});return e.watch(()=>V.value,_=>t({uid:i,size:_})),e.watch(()=>N.value,_=>t({uid:i,min:_})),e.watch(()=>x.value,_=>t({uid:i,max:_})),e.onMounted(()=>{s({id:i,el:h.value,min:N.value,max:x.value,givenSize:o.size===void 0?null:V.value,size:V.value})}),e.onBeforeUnmount(()=>d(i)),(_,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"paneEl",ref:h,class:"splitpanes__pane",onClick:r[0]||(r[0]=m=>e.unref(l)(m,_._.uid)),style:e.normalizeStyle(w.value)},[e.renderSlot(_.$slots,"default")],4))}},nn={rotate:0,opacity:1,isHide:!1,hAffix:"calc",wdSet:"calc",wdReserve:0,vAffix:"calc",htSet:"calc",htReserve:0,showDashBorder:!0},on={animations:[],compName:"",groupStyle:{},isLock:!1,collapseName:"style",hasEvents:["onBeforeMount","onMounted","onBeforeUnmount","onUnmounted"],events:{}},an=[{groupName:"常用组件",compList:[]}],ko="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let To=(n=21)=>{let a="",o=crypto.getRandomValues(new Uint8Array(n|=0));for(;n--;)a+=ko[o[n]&63];return a};function Ao(n){return typeof Array.isArray>"u"?Object.prototype.toString.call(n)==="[object Array]":Array.isArray(n)}function me(n){return!!(n&&n!="")}function Ce(n){if(typeof n=="object"){const a=Array.isArray(n)?[]:{};for(const o in n)typeof n[o]=="object"?a[o]=Ce(n[o]):a[o]=n[o];return a}return n}function ln(n,a,o){const t=n[a];n[a]=n[o],n[o]=t}function rn(n,a){if(me(a)&&n&&n.length>0){for(let o=0;o<n.length;o++)if(n[o].componentList&&n[o].componentList.length>0){let t=n[o].componentList;for(let s=0;s<t.length;s++)if(a==t[s].component)return t[s]}}}function Qe(n,a,o){return a=a||0,isNaN(n)?n:!isNaN(parseFloat(n))&&isFinite(n)?(Number(a)?a=parseInt(a):a=0,(""+n).indexOf(".")<0?n:n.toFixed(a)):n}async function Se(n){try{await navigator.clipboard.writeText(n)}catch(a){console.error("无法复制内容",a)}}function ce(n){return n+Bo()}function Bo(){return To()}function So(n,a=0){if(typeof n!="number"||isNaN(n))return NaN;const t=10*Math.max(0,Math.floor(Number(a)||0));return Math.round(n*t)/t}function Fe(n,...a){if(!window.hflveditor3_debug)return;const o={debug:["%c[DEBUG]","color: #4CAF50; font-weight: bold"],info:["%c[INFO]","color: #2196F3; font-weight: bold"],warn:["%c[WARN]","color: #FF9800; font-weight: bold"],error:["%c[ERROR]","color: #F44336; font-weight: bold"]},t=o[n]||o.debug;switch(n){case"debug":console.debug(t[0],t[1],...a);break;case"info":console.info(t[0],t[1],...a);break;case"warn":console.warn(t[0],t[1],...a);break;case"error":console.error(t[0],t[1],...a);break;default:console.log(t[0],t[1],...a)}}const Re=Vt.defineStore("ve/compGroup",{state:()=>({componentGroups:[...an]}),actions:{registerCompGroups(n){if(Ao(n)){for(let a=0,o=n.length;a<o;a++){const t=n[a];if(t.componentList&&t.componentList.length>0)for(let s=0;s<t.componentList.length;s++){const c=t.componentList[s];c.style={...nn,...c.style},t.componentList[s]={...on,...c}}}this.componentGroups=this.componentGroups.concat(n)}},clearCompGroups(){this.componentGroups=[...an]},clearAllCompGroup(){this.componentGroups=[]}}}),J=(n,a)=>{const o=n.__vccOpts||n;for(const[t,s]of a)o[t]=s;return o},Fo={__name:"component-tab",setup(n,{expose:a}){a();const o=e.ref("1"),t=e.computed(()=>Re().componentGroups),f={activeNames:o,componentGroups:t,handleDragComponent:function(p,h,V){p.dataTransfer.setData("text/plain",JSON.stringify({component:h.component}))},handleDragEnd:function(p){console.log("Drag ended"),p.preventDefault()},testClick:()=>{console.log("component clicked")},isSvgIcon:function(p){return me(p)&&p.startsWith("svg")},spanIconClass:function(p){return me(p)&&p.startsWith("el")?p:"iconfont icon-"+p},ref:e.ref,computed:e.computed,get useVEStore(){return Re},get isNotEmpty(){return me}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}};function Oo(n,a,o,t,s,c){const d=e.resolveComponent("ve-svg-icon"),l=e.resolveComponent("el-collapse-item"),i=e.resolveComponent("el-collapse");return e.openBlock(),e.createBlock(i,{modelValue:t.activeNames,"onUpdate:modelValue":a[0]||(a[0]=f=>t.activeNames=f),class:"elCollapse",accordion:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.componentGroups,(f,p)=>(e.openBlock(),e.createBlock(l,{title:f.groupName,name:p},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"component-list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.componentList,(h,V)=>(e.openBlock(),e.createElementBlock("div",{key:V,class:"list","data-index":V,title:h.label,draggable:!0,onDragstart:N=>t.handleDragComponent(N,h,"common"),onClick:t.testClick},[t.isSvgIcon(h.icon)?(e.openBlock(),e.createBlock(d,{key:0,"icon-class":h.icon.substring(3)},null,8,["icon-class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.spanIconClass(h.icon))},null,2)),e.createTextVNode(),e.createElementVNode("span",{class:"comp-name"},e.toDisplayString(h.label),1)],40,["data-index","title","onDragstart"]))),128))])]),_:2},1032,["title","name"]))),256))]),_:1},8,["modelValue"])}const Lo=J(Fo,[["render",Oo],["__scopeId","data-v-5dbe0f64"],["__file","component-tab.vue"]]),Po=["top","left","width","height","fontSize","padding"];function sn(n,a,o=null){const t=o||Ce(n.componentData);if(t.forEach(s=>{Object.keys(s.style).forEach(c=>{if(Po.includes(c)){let d;o?d=(s.style[c]/o[0].lastScale*a).toFixed(4)-0:d=(s.style[c]/n.canvasStyleData.scale*a).toFixed(4)-0,c=="top"||c=="left"?s.style[c]=d:s.style[c]=d==0?1:d}})}),o)return t;n.setComponentData(t),n.setCurComponent(t[n.curComponentIndex],n.curComponentIndex),n.setCanvasStyle({...n.canvasStyleData,scale:a})}var Ro=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mo=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,zo=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,wt={Space_Separator:Ro,ID_Start:Mo,ID_Continue:zo},se={isSpaceSeparator(n){return typeof n=="string"&&wt.Space_Separator.test(n)},isIdStartChar(n){return typeof n=="string"&&(n>="a"&&n<="z"||n>="A"&&n<="Z"||n==="$"||n==="_"||wt.ID_Start.test(n))},isIdContinueChar(n){return typeof n=="string"&&(n>="a"&&n<="z"||n>="A"&&n<="Z"||n>="0"&&n<="9"||n==="$"||n==="_"||n===""||n===""||wt.ID_Continue.test(n))},isDigit(n){return typeof n=="string"&&/[0-9]/.test(n)},isHexDigit(n){return typeof n=="string"&&/[0-9A-Fa-f]/.test(n)}};let Dt,_e,ye,Ze,ke,De,de,bt,Ke;var Io=function(a,o){Dt=String(a),_e="start",ye=[],Ze=0,ke=1,De=0,de=void 0,bt=void 0,Ke=void 0;do de=Uo(),Wo[_e]();while(de.type!=="eof");return typeof o=="function"?yt({"":Ke},"",o):Ke};function yt(n,a,o){const t=n[a];if(t!=null&&typeof t=="object")if(Array.isArray(t))for(let s=0;s<t.length;s++){const c=String(s),d=yt(t,c,o);d===void 0?delete t[c]:Object.defineProperty(t,c,{value:d,writable:!0,enumerable:!0,configurable:!0})}else for(const s in t){const c=yt(t,s,o);c===void 0?delete t[s]:Object.defineProperty(t,s,{value:c,writable:!0,enumerable:!0,configurable:!0})}return o.call(n,a,t)}let G,X,We,Ne,Q;function Uo(){for(G="default",X="",We=!1,Ne=1;;){Q=Ee();const n=cn[G]();if(n)return n}}function Ee(){if(Dt[Ze])return String.fromCodePoint(Dt.codePointAt(Ze))}function F(){const n=Ee();return n===`
|
|
9
9
|
`?(ke++,De=0):n?De+=n.length:De++,n&&(Ze+=n.length),n}const cn={default(){switch(Q){case" ":case"\v":case"\f":case" ":case" ":case"\uFEFF":case`
|
|
10
10
|
`:case"\r":case"\u2028":case"\u2029":F();return;case"/":F(),G="comment";return;case void 0:return F(),le("eof")}if(se.isSpaceSeparator(Q)){F();return}return cn[_e]()},comment(){switch(Q){case"*":F(),G="multiLineComment";return;case"/":F(),G="singleLineComment";return}throw ie(F())},multiLineComment(){switch(Q){case"*":F(),G="multiLineCommentAsterisk";return;case void 0:throw ie(F())}F()},multiLineCommentAsterisk(){switch(Q){case"*":F();return;case"/":F(),G="default";return;case void 0:throw ie(F())}F(),G="multiLineComment"},singleLineComment(){switch(Q){case`
|
|
11
|
-
`:case"\r":case"\u2028":case"\u2029":F(),G="default";return;case void 0:return F(),le("eof")}F()},value(){switch(Q){case"{":case"[":return le("punctuator",F());case"n":return F(),
|
|
12
|
-
`:case"\r":throw ie(F());case"\u2028":case"\u2029":Ho(Q);break;case void 0:throw ie(F())}X+=F()},start(){switch(Q){case"{":case"[":return le("punctuator",F())}G="value"},beforePropertyName(){switch(Q){case"$":case"_":X=F(),G="identifierName";return;case"\\":F(),G="identifierNameStartEscape";return;case"}":return le("punctuator",F());case'"':case"'":We=F()==='"',G="string";return}if(se.isIdStartChar(Q)){X+=F(),G="identifierName";return}throw ie(F())},afterPropertyName(){if(Q===":")return le("punctuator",F());throw ie(F())},beforePropertyValue(){G="value"},afterPropertyValue(){switch(Q){case",":case"}":return le("punctuator",F())}throw ie(F())},beforeArrayValue(){if(Q==="]")return le("punctuator",F());G="value"},afterArrayValue(){switch(Q){case",":case"]":return le("punctuator",F())}throw ie(F())},end(){throw ie(F())}};function le(n,a){return{type:n,value:a,line:ke,column:De}}function
|
|
11
|
+
`:case"\r":case"\u2028":case"\u2029":F(),G="default";return;case void 0:return F(),le("eof")}F()},value(){switch(Q){case"{":case"[":return le("punctuator",F());case"n":return F(),Oe("ull"),le("null",null);case"t":return F(),Oe("rue"),le("boolean",!0);case"f":return F(),Oe("alse"),le("boolean",!1);case"-":case"+":F()==="-"&&(Ne=-1),G="sign";return;case".":X=F(),G="decimalPointLeading";return;case"0":X=F(),G="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":X=F(),G="decimalInteger";return;case"I":return F(),Oe("nfinity"),le("numeric",1/0);case"N":return F(),Oe("aN"),le("numeric",NaN);case'"':case"'":We=F()==='"',X="",G="string";return}throw ie(F())},identifierNameStartEscape(){if(Q!=="u")throw ie(F());F();const n=Nt();switch(n){case"$":case"_":break;default:if(!se.isIdStartChar(n))throw dn();break}X+=n,G="identifierName"},identifierName(){switch(Q){case"$":case"_":case"":case"":X+=F();return;case"\\":F(),G="identifierNameEscape";return}if(se.isIdContinueChar(Q)){X+=F();return}return le("identifier",X)},identifierNameEscape(){if(Q!=="u")throw ie(F());F();const n=Nt();switch(n){case"$":case"_":case"":case"":break;default:if(!se.isIdContinueChar(n))throw dn();break}X+=n,G="identifierName"},sign(){switch(Q){case".":X=F(),G="decimalPointLeading";return;case"0":X=F(),G="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":X=F(),G="decimalInteger";return;case"I":return F(),Oe("nfinity"),le("numeric",Ne*(1/0));case"N":return F(),Oe("aN"),le("numeric",NaN)}throw ie(F())},zero(){switch(Q){case".":X+=F(),G="decimalPoint";return;case"e":case"E":X+=F(),G="decimalExponent";return;case"x":case"X":X+=F(),G="hexadecimal";return}return le("numeric",Ne*0)},decimalInteger(){switch(Q){case".":X+=F(),G="decimalPoint";return;case"e":case"E":X+=F(),G="decimalExponent";return}if(se.isDigit(Q)){X+=F();return}return le("numeric",Ne*Number(X))},decimalPointLeading(){if(se.isDigit(Q)){X+=F(),G="decimalFraction";return}throw ie(F())},decimalPoint(){switch(Q){case"e":case"E":X+=F(),G="decimalExponent";return}if(se.isDigit(Q)){X+=F(),G="decimalFraction";return}return le("numeric",Ne*Number(X))},decimalFraction(){switch(Q){case"e":case"E":X+=F(),G="decimalExponent";return}if(se.isDigit(Q)){X+=F();return}return le("numeric",Ne*Number(X))},decimalExponent(){switch(Q){case"+":case"-":X+=F(),G="decimalExponentSign";return}if(se.isDigit(Q)){X+=F(),G="decimalExponentInteger";return}throw ie(F())},decimalExponentSign(){if(se.isDigit(Q)){X+=F(),G="decimalExponentInteger";return}throw ie(F())},decimalExponentInteger(){if(se.isDigit(Q)){X+=F();return}return le("numeric",Ne*Number(X))},hexadecimal(){if(se.isHexDigit(Q)){X+=F(),G="hexadecimalInteger";return}throw ie(F())},hexadecimalInteger(){if(se.isHexDigit(Q)){X+=F();return}return le("numeric",Ne*Number(X))},string(){switch(Q){case"\\":F(),X+=jo();return;case'"':if(We)return F(),le("string",X);X+=F();return;case"'":if(!We)return F(),le("string",X);X+=F();return;case`
|
|
12
|
+
`:case"\r":throw ie(F());case"\u2028":case"\u2029":Ho(Q);break;case void 0:throw ie(F())}X+=F()},start(){switch(Q){case"{":case"[":return le("punctuator",F())}G="value"},beforePropertyName(){switch(Q){case"$":case"_":X=F(),G="identifierName";return;case"\\":F(),G="identifierNameStartEscape";return;case"}":return le("punctuator",F());case'"':case"'":We=F()==='"',G="string";return}if(se.isIdStartChar(Q)){X+=F(),G="identifierName";return}throw ie(F())},afterPropertyName(){if(Q===":")return le("punctuator",F());throw ie(F())},beforePropertyValue(){G="value"},afterPropertyValue(){switch(Q){case",":case"}":return le("punctuator",F())}throw ie(F())},beforeArrayValue(){if(Q==="]")return le("punctuator",F());G="value"},afterArrayValue(){switch(Q){case",":case"]":return le("punctuator",F())}throw ie(F())},end(){throw ie(F())}};function le(n,a){return{type:n,value:a,line:ke,column:De}}function Oe(n){for(const a of n){if(Ee()!==a)throw ie(F());F()}}function jo(){switch(Ee()){case"b":return F(),"\b";case"f":return F(),"\f";case"n":return F(),`
|
|
13
13
|
`;case"r":return F(),"\r";case"t":return F()," ";case"v":return F(),"\v";case"0":if(F(),se.isDigit(Ee()))throw ie(F());return"\0";case"x":return F(),Ko();case"u":return F(),Nt();case`
|
|
14
14
|
`:case"\u2028":case"\u2029":return F(),"";case"\r":return F(),Ee()===`
|
|
15
|
-
`&&F(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw ie(F());case void 0:throw ie(F())}return F()}function Ko(){let n="",a=Ee();if(!se.isHexDigit(a)||(n+=F(),a=Ee(),!se.isHexDigit(a)))throw ie(F());return n+=F(),String.fromCodePoint(parseInt(n,16))}function Nt(){let n="",a=4;for(;a-- >0;){const o=Ee();if(!se.isHexDigit(o))throw ie(F());n+=F()}return String.fromCodePoint(parseInt(n,16))}const Wo={start(){if(de.type==="eof")throw
|
|
16
|
-
`+c;
|
|
17
|
-
`+c+
|
|
18
|
-
`+_+"}"}}return s.pop(),c=_,
|
|
19
|
-
`+c,
|
|
20
|
-
`+c+
|
|
21
|
-
`+_+"]"}return s.pop(),c=_,m}},Xo={parse:Io,stringify:qo};(function(){const n=()=>{console.log("%c 可视化编辑器 hflveditor3","color: #3498db; font-size: 16px; font-weight: bold;"),console.log("%c版本号: 0.2.13","color: #2ecc71;"),console.log("%c编译日期: 2025/12/3 14:03:42","color: #3498db;"),console.log("%c版权声明:","color: #e74c3c; font-weight: bold;"),console.log('%c 1. 版权完全归"hflsoft"享有。',"color: #34495e;"),console.log("%c 2. 程序包完整引用,不得以任何形式破解、裁剪,不得隐藏或删除版权信息。","color: #34495e;"),console.log("%c 3. 保留此版权信息在控制台输出。","color: #34495e;"),console.log("%c 版权所有 ©2024-2025 hflsoft 保留对此版权信息的最终解释权.","color: #f39c12;"),console.log("%c Copyright ©2024-2025 hflsoft All rights reserved.","color: #f39c12;")};if(typeof window<"u"){window._copyright_hflveditor3=n;try{Object.defineProperty(window,_copyright_hflveditor3,{value:n,writable:!1,configurable:!1,enumerable:!1})}catch{window._copyright_hflveditor3=n}}n()})();function et(n){return!isNaN(parseFloat(n))&&isFinite(n)}function Re(n){return!!(n&&n!="")}function Le(n){return!!(n&&typeof n=="function")}function pn(n){return n instanceof Object&&n!==null}function Me(n){return Object.keys(n).length===0}function _n(n){return typeof n=="string"||n instanceof String}function be(n){if(typeof n=="object"){const a=Array.isArray(n)?[]:{};for(const o in n)typeof n[o]=="object"?a[o]=be(n[o]):a[o]=n[o];return a}return n}function xe(n,a={}){if(_n(n)&&Re(n))try{return Xo.parse(n)}catch(o){return console.warn("JSON 解析错误:",o),a}else return pn(n)?n:a}function Ve(n){return _n(n)?n:pn(n)?JSON.stringify(n,null,2):""}function $(n,a){Be.ElMessage({message:a||"message",type:n||"info"})}function tt(n,a="确认",o="info",t,s){Be.ElMessageBox.confirm(n,a,{confirmButtonText:"确认",cancelButtonText:"取消",type:o}).then(()=>{Le(t)&&t()}).catch(()=>{Le(s)&&s()})}function fn(n,a="提示",o={},t,s){Be.ElMessageBox.prompt(n,a,{confirmButtonText:"确认",cancelButtonText:"取消",inputPattern:o.pattern||"",inputErrorMessage:o.errMsg||""}).then(({value:c})=>{Le(t)&&t(c)}).catch(()=>{Le(s)&&s()})}const fe={Component:"Comp_",Page:"P_",CompEvent:"CompEvent_",Dialog:"Dialog_"},Go=[{label:"PC端",value:"0",isDisabled:!0},{label:"1920*1080",value:"1"},{label:"1680*1050",value:"9"},{label:"1600*900",value:"2"},{label:"1400*1050",value:"10"},{label:"1366*768",value:"3"},{label:"1280*720",value:"4"},{label:"移动端",value:"5",isDisabled:!0,isDivided:!0},{label:"1024*1366",value:"6"},{label:"768*1024",value:"7"},{label:"480*800",value:"8"}],kt=["rgba(245, 10, 10, 1)","rgba(255, 255, 0, 1)","rgba(0, 255, 0, 1)","rgba(239, 236, 236, 1)","rgba(114,114,114,1)","rgba(0,255,255,1)","rgba(138,43,226,1)","rgba(16, 55, 81, 1)"],Jo=[{label:"不重复",value:"no-repeat"},{label:"水平重复",value:"repeat-x"},{label:"垂直重复",value:"repeat-y"},{label:"双向重复",value:"repeat"}],Yo=[{label:"覆盖",value:"cover"},{label:"适应",value:"contain"},{label:"自动",value:"auto"}],Qo=[{label:"顶部",value:"top"},{label:"底部",value:"bottom"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"居中",value:"center"}],Zo=[{label:"不适配",value:"no-adapter"},{label:"全屏铺满",value:"all-screen"},{label:"原始比例",value:"original-ratio"},{label:"横向适配-保持纵横比",value:"h-adapter-wh"},{label:"纵向适配-保持纵横比",value:"v-adapter-wh"},{label:"横向适配",value:"h-adapter"},{label:"纵向适配",value:"v-adapter"}],nt=[{label:"选项改变",value:"selectItem"},{label:"值改变",value:"changeValue"},{label:"鼠标点击",value:"onMouseClick"},{label:"鼠标双击",value:"onMouseDblClick"},{label:"键盘回车",value:"keyEnter"},{label:"组件挂载前",value:"onBeforeMount"},{label:"组件挂载后",value:"onMounted"},{label:"组件卸载前",value:"onBeforeUnmount"},{label:"组件卸载后",value:"onUnmounted"}],hn=[{label:"数据请求",value:"dataRequest"},{label:"路由跳转",value:"router"},{label:"缓存设置",value:"cacheSet"},{label:"Web缓存",value:"webStorage"},{label:"组件局域参数设置",value:"paramSet"},{label:"组件局域参数映射",value:"paramMap"},{label:"自定义函数",value:"customFunction"},{label:"组件设置",value:"componentSet"},{label:"操作终止",value:"actionEnd"},{label:"消息弹出框",value:"messageBox"},{label:"打开对话框",value:"openDialog"}],$o=[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}],mn=[{label:"==",value:"=="},{label:"!=",value:"!="},{label:">",value:">"},{label:">=",value:">="},{label:"<",value:"<"},{label:"<=",value:"<="},{label:"包含",value:"contain"},{label:"不包含",value:"unContain"},{label:"字符串相等",value:"equals"},{label:"字符串不相等",value:"unEquals"},{label:"字符串忽略大小写相等",value:"equalsIgnoreCase"}],Te=[{value:"inputV",label:"直接输入值"},{value:"inputP",label:"组件局域参数"},{value:"cacheP",label:"缓存参数"},{value:"containerP",label:"容器参数"},{value:"sessionP",label:"会话缓存参数"},{value:"localP",label:"本地缓存参数"},{value:"jsCookieP",label:"JSCookie缓存参数"},{value:"compProp",label:"组件值"},{value:"compStyle",label:"组件样式"}],vo=[{value:"inputP",label:"组件局域参数"},{value:"cacheP",label:"缓存参数"},{value:"sessionP",label:"会话缓存参数"},{value:"localP",label:"本地缓存参数"},{value:"jsCookieP",label:"JSCookie缓存参数"}],Tt=[{value:"primary",label:"primary"},{value:"success",label:"success"},{value:"warning",label:"warning"},{value:"info",label:"info"},{value:"error",label:"error"}],gn=[{value:"msg",label:"Message"},{value:"notify",label:"Notification"}];function ze(n){return n*Math.PI/180}function ae(n,a,o){return{x:(n.x-a.x)*Math.cos(ze(o))-(n.y-a.y)*Math.sin(ze(o))+a.x,y:(n.x-a.x)*Math.sin(ze(o))+(n.y-a.y)*Math.cos(ze(o))+a.y}}function Ae(n,a){return{x:n.x+(a.x-n.x)/2,y:n.y+(a.y-n.y)/2}}function Cn(n){return Math.abs(Math.sin(ze(n)))}function xn(n){return Math.abs(Math.cos(ze(n)))}function He(n){return(n+360)%360}function ot(n){return`${n*100}%`}function ea(n){const a={};return["width","height","top","left","rotate"].forEach(o=>{o!="rotate"?a[o]=`${n[o]}px`:a.transform=`rotate(${n[o]}deg)`}),a}const Vn=["fontSize","width","height","top","left","borderWidth","letterSpacing","borderRadius"];function At(n,a=[]){const o={};return["opacity","width","height","top","left","rotate","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","color"].forEach(t=>{a.includes(t)||(t!="rotate"?n[t]!==""&&(o[t]=n[t],Vn.includes(t)&&(o[t]+="px")):o.transform=`${t}(${n[t]}deg)`)}),o}function Bt(n,a=[]){const o={};return Object.keys(n).forEach(t=>{a.includes(t)||(t!="rotate"?n[t]!==""&&(o[t]=n[t],Vn.includes(t)&&(o[t]+="px")):o.transform=`${t}(${n[t]}deg)`)}),o}function Y(n){if(n={...n},n.rotate!=0){const a=n.width*xn(n.rotate)+n.height*Cn(n.rotate),o=(n.width-a)/2;n.left+=o,n.right=n.left+a;const t=n.height*xn(n.rotate)+n.width*Cn(n.rotate),s=(t-n.height)/2;n.top-=s,n.bottom=n.top+t,n.width=a,n.height=t}else n.bottom=n.top+n.height,n.right=n.left+n.width;return n}const ta=["width","height","scale"];function wn(n){const a={};return Object.keys(n).filter(o=>!ta.includes(o)).forEach(o=>{o==="fontSize"?a[o]+="px":o==="backgroundImage"?a["background-image"]="url("+n[o]+")":o==="backgroundRepeat"?a["background-repeat"]=n[o]:o==="backgroundSize"?a["background-size"]=n[o]:o==="backgroundPosition"?a["background-position"]=n[o]:a[o]=n[o]}),a}function na(n){const a=n.style;(n.propValue.components||[]).forEach(t=>{if(!Object.keys(t.groupStyle).length){const s={...t.style};t.component.startsWith("SVG")?t.groupStyle=At(s):t.groupStyle=Bt(s),t.groupStyle.left=ot((s.left-a.left)/a.width),t.groupStyle.top=ot((s.top-a.top)/a.height),t.groupStyle.width=ot(s.width/a.width),t.groupStyle.height=ot(s.height/a.height)}})}function Dn(n,a,o,t){isNaN(t.rotate)&&(t.rotate=0),n.style&&isNaN(n.style.rotate)&&(n.style.rotate=0),n.style.rotate=He(n.style.rotate+t.rotate),n.style.width=parseFloat(n.groupStyle.width)/100*t.width,n.style.height=parseFloat(n.groupStyle.height)/100*t.height,n.style.left=o.left-a.left+parseFloat(n.groupStyle.left)/100*t.width,n.style.top=o.top-a.top+parseFloat(n.groupStyle.top)/100*t.height,n.groupStyle={},n.style.width=Qe(n.style.width),n.style.height=Qe(n.style.height),n.style.left=Qe(n.style.left),n.style.top=Qe(n.style.top)}function oa(n){return{all:n=n||new Map,on:function(a,o){var t=n.get(a);t?t.push(o):n.set(a,[o])},off:function(a,o){var t=n.get(a);t&&(o?t.splice(t.indexOf(o)>>>0,1):n.set(a,[]))},emit:function(a,o){var t=n.get(a);t&&t.slice().map(function(s){s(o)}),(t=n.get("*"))&&t.slice().map(function(s){s(a,o)})}}}const v=oa(),ee={openCanvasSetting:"openCanvasDrawer",openRuleSetting:"openRuleSetting",openNewPage:"openNewPage",runAnimation:"runAnimation",stopAnimation:"stopAnimation",componentClick:"componentClick",move:"move",unmove:"unmove",hideArea:"hideArea",save:"save",preview:"preview",clearCanvas:"clearCanvas",importJson:"importJson",exportJson:"exportJson",openPage:"openPage",savePage:"savePage"},at=new Map,te=(n="default")=>{if(at.has(n))return at.get(n);const a=Vt.defineStore(`editor-${n}`,{state:()=>({rule:{scale:1,minScale:.3,maxScale:3},areaData:{style:{top:0,left:0,width:0,height:0},components:[]},editor:null,editorInstance:null,isDarkMode:!1,lastScale:100,canvasStyleData:{width:1200,height:800,scale:100,color:"#000",opacity:1,background:"#fff",fontSize:14,screenAdapter:"no-adapter"},isInEditor:!1,componentData:[],dashBorderColor:"rgba(114, 114, 114, 1)",curComponent:null,curComponentIndex:null,isClickComponent:!1,snapshotData:[],snapshotIndex:-1,menuTop:0,menuLeft:0,menuShow:!1,copyData:null,isCut:!1,ruleReferenceLine:"#00FFFF",rulePresetLine:[]}),actions:{setRuleScale(o){let t=Number(o);t>0&&(t=t>this.rule.maxScale?this.rule.maxScale:t,t=t<this.rule.minScale?this.rule.minScale:t,this.rule.scale=t)},addRuleScale(o){let t=Number(o)||"0.1",s=this.rule.scale+t;this.setRuleScale(s)},subtractRuleScale(o){let t=Number(o)||"0.1",s=this.rule.scale-t;this.setRuleScale(s)},setEditor(o){this.editor=o},setEditorInstance(o){this.editorInstance=o},setAreaData(o){this.areaData=o},compose(){const o=[];this.areaData.components.forEach(s=>{if(s.component!="Group")o.push(s);else{const c={...s.style},d=s.propValue.components||[],l=this.getEditorBoundingClientRect(),i=this.getComponentRect(s.id);d.forEach(f=>{Dn(f,l,i,c)}),o.push(...s.propValue.components)}});const t={id:ce(fe.Component),component:"Group",label:"组合",icon:"svgcombination",...on,style:{...nn,...this.areaData.style},propValue:{components:o}};na(t),this.addComponent(t),v.emit(ee.hideArea),this.batchDeleteComponent(o),this.setCurComponent(this.componentData[this.componentData.length-1],this.componentData.length-1),this.areaData.components=[]},batchDeleteComponent(o){for(let t=0;t<o.length;t++)for(let s=0,c=this.componentData.length;s<c;s++)if(o[t].id==this.componentData[s].id){this.componentData.splice(s,1);break}Se("debug","batchDeleteComponent 需要删除:",o.length,"删除后:",this.componentData.length)},decompose(){const o={...this.curComponent.style},t=this.curComponent.propValue?.components||[],s=this.getEditorBoundingClientRect(),c=this.getComponentRect(this.curComponent.id);this.deleteComponent(),Se("debug","decompose editorRect:",s),Se("debug","decompose parentRect:",c),Se("debug","decompose parentStyle:",o),t.forEach(d=>{Dn(d,s,c,o),Se("info","decompose component:",d.id,d.style),this.addComponent(d)})},getEditorBoundingClientRect(){return this.editor?.getBoundingClientRect()},setComponentData(o=[]){this.componentData=o},addComponent(o,t){t!==void 0?this.componentData.splice(t,0,o):this.componentData.push(o)},deleteComponent(o){o===void 0&&(o=this.curComponentIndex),o==this.curComponentIndex&&(this.curComponentIndex=null,this.curComponent=null),/\d/.test(o)&&this.componentData.splice(o,1)},setClickComponentStatus(o){this.isClickComponent=o},setCanvasStyle(o){this.canvasStyleData=o},setInEditorStatus(o){this.isInEditor=o},setCurComponent(o,t){this.curComponent=o,this.curComponentIndex=t},setShapeStyle({top:o,left:t,width:s,height:c,rotate:d,padding:l}){o!==void 0&&(this.curComponent.style.top=Math.round(o)),t!==void 0&&(this.curComponent.style.left=Math.round(t)),s&&(this.curComponent.style.width=Math.round(s)),l&&(this.curComponent.style.padding=Math.round(l)),c&&(this.curComponent.style.height=Math.round(c)),d&&(this.curComponent.style.rotate=Math.round(d))},setShapeSingleStyle({key:o,value:t}){this.curComponent.style[o]=t},recordSnapshot(){let o=Ce(this.componentData);o.forEach(t=>t.lastScale=this.lastScale),this.snapshotData[++this.snapshotIndex]=o,this.snapshotIndex<this.snapshotData.length-1&&(this.snapshotData=this.snapshotData.slice(0,this.snapshotIndex+1))},undo(){if(this.snapshotIndex>=0){this.snapshotIndex--;let o=Ce(this.snapshotData[this.snapshotIndex])||[];this.curComponent&&!o.find(s=>this.curComponent.id===s.id)&&this.setCurComponent({component:null,index:null}),o=sn(this,this.lastScale,o),this.setComponentData(o)}},redo(){if(this.snapshotIndex<this.snapshotData.length-1){this.snapshotIndex++;let o=sn(this,this.lastScale,Ce(this.snapshotData[this.snapshotIndex]));this.setComponentData(o)}},addAnimation(o){this.curComponent.animations.push(o)},removeAnimation(o){this.curComponent.animations.splice(o,1)},alterAnimation({index:o,data:t={}}){if(typeof o=="number"){const s=this.curComponent.animations[o];this.curComponent.animations[o]={...s,...t}}},addComponentEvent(o){this.curComponent.events[o.type]?this.curComponent.events[o.type].push(o):this.curComponent.events[o.type]=[o]},removeComponentEvent(o,t){this.curComponent.events[o]&&t>=0&&(this.curComponent.events[o].splice(t,1),this.curComponent.events[o].length==0&&delete this.curComponent.events[o])},alterComponentEvent(o,t,s={}){if(this.curComponent.events[o]&&t>=0){const c=this.curComponent.events[o][t];this.curComponent.events[o][t]={...c,...s}}},showContextMenu({top:o,left:t}){this.menuShow=!0,this.menuTop=o,this.menuLeft=t},hideContextMenu(){this.menuShow=!1},lock(){this.curComponent.isLock=!0},unlock(){this.curComponent.isLock=!1},copy(){if(!this.curComponent){$("error","请选择组件");return}this._restorePreCutData(),this.copyData=this._copyCurrentData(),this.isCut=!1},paste(o){if(!this.copyData){$("error","请选择组件");return}const t=this.copyData.data;o?(t.style.top=this.menuTop,t.style.left=this.menuLeft):(t.style.top+=30,t.style.left+=20),this.addComponent(this._deepCopyHelper(t),null),this.isCut&&(this.copyData=null)},cut(){if(!this.curComponent){$("error","请选择组件");return}this._restorePreCutData(),this.copyData=this._copyCurrentData(),this.deleteComponent(),this.isCut=!0},upComponent(){this.curComponentIndex<this.componentData.length-1?(ln(this.componentData,this.curComponentIndex,this.curComponentIndex+1),this.curComponentIndex=this.curComponentIndex+1):$("error","已经到顶了")},downComponent(){this.curComponentIndex>0?(ln(this.componentData,this.curComponentIndex,this.curComponentIndex-1),this.curComponentIndex=this.curComponentIndex-1):$("error","已经到底了")},topComponent(){this.curComponentIndex<this.componentData.length-1?(this.componentData.splice(this.curComponentIndex,1),this.componentData.push(this.curComponent),this.curComponentIndex=this.componentData.length-1):$("error","已经到顶了")},bottomComponent(){this.curComponentIndex>0?(this.componentData.splice(this.curComponentIndex,1),this.componentData.unshift(this.curComponent),this.curComponentIndex=0):$("error","已经到底了")},leftAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(t=>Y(t.style).left));this.areaData.components.forEach(t=>{let c=Y(t.style).left-o;this._changeAlign(t,{left:t.style.left-c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.left-o.left;this._changeAlign(this.curComponent,{left:t})}},rightAlign(){if(this.areaData.components.length>1){let o=Math.max(...this.areaData.components.map(t=>Y(t.style).right));this.areaData.components.forEach(t=>{let s=Y(t.style),c=o-s.right;this._changeAlign(t,{left:t.style.left+c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.left-o.left,s=this.canvasStyleData.width+t-o.width;this._changeAlign(this.curComponent,{left:s})}},centerAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(c=>Y(c.style).left)),t=Math.max(...this.areaData.components.map(c=>Y(c.style).right)),s=(o+t)/2;this.areaData.components.forEach(c=>{let d=Y(c.style),l=(d.left+d.right)/2,i=s-l;this._changeAlign(c,{left:c.style.left+i})})}else{let o=Y(this.curComponent.style),t=this.canvasStyleData.width/2,s=(o.left+o.right)/2,c=this.curComponent.style.left+(t-s);this._changeAlign(this.curComponent,{left:c})}},topAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(t=>Y(t.style).top));this.areaData.components.forEach(t=>{let c=Y(t.style).top-o;this._changeAlign(t,{top:t.style.top-c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.top-o.top;this._changeAlign(this.curComponent,{top:t})}},bottomAlign(){if(this.areaData.components.length>1){let o=Math.max(...this.areaData.components.map(t=>Y(t.style).bottom));this.areaData.components.forEach(t=>{let s=Y(t.style),c=o-s.bottom;this._changeAlign(t,{top:t.style.top+c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.top-o.top,s=this.canvasStyleData.height+t-o.height;this._changeAlign(this.curComponent,{top:s})}},middleAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(c=>Y(c.style).top)),t=Math.max(...this.areaData.components.map(c=>Y(c.style).bottom)),s=(o+t)/2;this.areaData.components.forEach(c=>{let d=Y(c.style),l=(d.top+d.bottom)/2,i=s-l;this._changeAlign(c,{top:c.style.top+i})})}else{let o=Y(this.curComponent.style),t=this.canvasStyleData.height/2,s=(o.top+o.bottom)/2,c=this.curComponent.style.top+(t-s);this._changeAlign(this.curComponent,{top:c})}},verticalSpacing(){const{components:o}=this.areaData;if(o.length>2){let t=0;o.forEach(i=>{let f=Y(i.style);t+=f.height});const c=this.areaData.style.height-t,d=Math.floor(c/(o.length-1));o.sort((i,f)=>Y(i.style).top-Y(f.style).top);let l=0;o.forEach(i=>{this._changeAlign(i,{top:this.areaData.style.top+l}),l+=d+Y(i.style).height})}},horizontalSpacing(){const{components:o}=this.areaData;if(o.length>2){let t=0;o.forEach(i=>{let f=Y(i.style);t+=f.width});const c=this.areaData.style.width-t,d=Math.floor(c/(o.length-1));o.sort((i,f)=>Y(i.style).left-Y(f.style).left);let l=0;o.forEach(i=>{i.style.left=this.areaData.style.left+l,l+=d+Y(i.style).width})}},getComponentRect(o){let t=this.editorInstance.getComponentRef(o),s=this._getComponentDom(t);return s?s.getBoundingClientRect():null},_getComponentDom(o){return o?o.$.vnode?.el?o.$.vnode.el:o.$.subTree?.el?o.$.subTree.el:o.$el?o.$el:null:null},_changeAlign(o,t){if(Array.isArray(o)){o.forEach(s=>{this._changeAlign(s,t)});return}for(let s in t)t.hasOwnProperty(s)&&(o.style[s]=t[s])},_copyCurrentData(){return{data:Ce(this.curComponent),index:this.curComponentIndex}},_deepCopyHelper(o){const t=Ce(o);return t.id=ce(fe.Component),t.component==="Group"&&(t.propValue.components||[]).forEach((c,d)=>{t.propValue.components[d]=this._deepCopyHelper(c)}),t},_restorePreCutData(){if(this.isCut&&this.copyData){const o=Ce(this.copyData.data),t=this.copyData.index;this.addComponent(o,t),this.curComponentIndex>=t&&this.curComponentIndex++}}}})();return at.set(n,a),a},bn=n=>{at.delete(n)},aa={__name:"ComponentList",props:{pageId:{type:String,default:""},editorStore:{type:Object,default:()=>te()}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.editorStore?.curComponent||{}),s=e.computed(()=>o.editorStore?.curComponentIndex||0),c=e.computed(()=>o.editorStore?.componentData||[]),d=C=>{let w=C.compName;return w&&w.length>0&&w.trim()!==""||(w=C.label),w},l=C=>i(C).icon||"",i=C=>c.value[c.value.length-1-C],f=C=>c.value.length-1-C,p=C=>{g(C)},h=()=>{setTimeout(()=>{o.editorStore.deleteComponent(),o.editorStore.recordSnapshot()})},V=()=>{setTimeout(()=>{o.editorStore.upComponent(),o.editorStore.recordSnapshot()})},N=()=>{setTimeout(()=>{o.editorStore.downComponent(),o.editorStore.recordSnapshot()})},g=C=>{o.editorStore.setCurComponent(c.value[C],C)},m={props:o,curComponent:t,curComponentIndex:s,componentData:c,getCompName:d,getComponentIcon:l,getComponent:i,transformIndex:f,onClick:p,deleteComponent:h,upComponent:V,downComponent:N,setCurComponent:g,isShowIcon:C=>i(C).style.isHide?"bukejian":"kejian",isSvgIcon:function(C){return me(C)&&C.startsWith("svg")},spanIconClass:function(C){return me(C)&&C.startsWith("el")?C:"iconfont icon-"+C},get useEditorStore(){return te},computed:e.computed,watch:e.watch,get isNotEmpty(){return me}};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}};function la(n,a,o,t,s,c){const d=e.resolveComponent("ve-svg-icon");return e.openBlock(),e.createElementBlock("div",{class:"real-time-component-list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.componentData,(l,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:e.normalizeClass(["list",{actived:t.transformIndex(i)===t.curComponentIndex}]),onClick:f=>t.onClick(t.transformIndex(i))},[e.createElementVNode("div",{class:"comp-icon"},[t.isSvgIcon(t.getComponentIcon(i))?(e.openBlock(),e.createBlock(d,{key:0,"icon-class":t.getComponentIcon(i).substring(3)},null,8,["icon-class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.spanIconClass(t.getComponentIcon(i)))},null,2))]),e.createTextVNode(),e.createElementVNode("span",{class:e.normalizeClass(["iconfont","icon-"+t.isShowIcon(i)])},null,2),e.createTextVNode(),e.createElementVNode("span",null,e.toDisplayString(t.getCompName(t.getComponent(i))),1),e.createTextVNode(),e.createElementVNode("div",{class:"icon-container"},[e.createElementVNode("span",{class:"iconfont icon-shangyi",onClick:f=>t.upComponent(t.transformIndex(i))},null,8,["onClick"]),e.createTextVNode(),e.createElementVNode("span",{class:"iconfont icon-xiayi",onClick:f=>t.downComponent(t.transformIndex(i))},null,8,["onClick"]),e.createTextVNode(),e.createElementVNode("span",{class:"iconfont icon-shanchu",onClick:f=>t.deleteComponent(t.transformIndex(i))},null,8,["onClick"])])],10,["onClick"]))),128))])}const ia=J(aa,[["render",la],["__scopeId","data-v-abecf561"],["__file","ComponentList.vue"]]),ra={__name:"index",props:{editorStore:{type:Object,default:()=>te()},pageId:{type:String,default:""}},setup(n,{expose:a}){a();const o=n,t=e.ref("componentTab"),c={props:o,activeName:t,handleClick:()=>{},ref:e.ref,ComponentTab:Lo,get useEditorStore(){return te},ComponentList:ia};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}};function sa(n,a,o,t,s,c){const d=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(l,{modelValue:t.activeName,"onUpdate:modelValue":a[0]||(a[0]=i=>t.activeName=i),type:"border-card",class:"tabs",onTabClick:t.handleClick},{default:e.withCtx(()=>[e.createVNode(d,{label:"组件",name:"componentTab"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.KeepAlive,null,[e.createVNode(t.ComponentTab)],1024))]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"组件列表",name:"componentTreeTab"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.KeepAlive,null,[e.createVNode(t.ComponentList,{"editor-store":t.props.editorStore,"page-id":t.props.pageId},null,8,["editor-store","page-id"])],1024))]),_:1})]),_:1},8,["modelValue"])}const ca=J(ra,[["render",sa],["__scopeId","data-v-f00af19f"],["__file","index.vue"]]),da=Object.assign({name:"CommonDialog"},{__name:"index",props:{width:{type:Number,default:500},title:{type:String,default:"对话框"},modal:{type:Boolean,default:!0}},emits:["confirm"],setup(n,{expose:a,emit:o}){const t=e.ref("弹框"),s=e.ref(!1),c=n,d=o;let l=null;const i=e.computed(()=>t.value&&Re(t.value)?t.value:c.title),f=()=>{d("confirm",{callBack:l})},p=()=>{s.value=!1},h=(N={})=>{s.value=!0,l=N.callBack,t.value=N.title||""};a({show:h,cancel:p});const V={showTitle:t,openDialog:s,props:c,emit:d,get callBack(){return l},set callBack(N){l=N},title:i,confirmInner:f,cancel:p,show:h,ref:e.ref,computed:e.computed,get isNotEmpty(){return Re}};return Object.defineProperty(V,"__isScriptSetup",{enumerable:!1,value:!0}),V}});function ua(n,a,o,t,s,c){const d=e.resolveComponent("el-button"),l=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(l,{title:t.title,modelValue:t.openDialog,"onUpdate:modelValue":a[0]||(a[0]=i=>t.openDialog=i),width:t.props.width,"before-close":t.cancel,"destroy-on-close":!0,modal:t.props.modal,"show-close":!1,"align-center":!0,draggable:""},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"dialog-content")]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"dialog-footer"},[e.createVNode(d,{type:"primary",onClick:t.confirmInner},{default:e.withCtx(()=>[e.createTextVNode("确定")]),_:1}),e.createTextVNode(),e.createVNode(d,{onClick:t.cancel},{default:e.withCtx(()=>[e.createTextVNode("关 闭")]),_:1})])]),_:3},8,["title","modelValue","width","modal"])}const yn=J(da,[["render",ua],["__file","index.vue"]]);function pa(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var St={exports:{}},qe={},lt={exports:{}},Ft={},Ot={},Nn;function Lt(){if(Nn)return Ot;Nn=1;function n(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var t=new n(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},n.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},n.prototype.has_match=function(t){for(var s=this.__items.length-1;s>=0;s--)if(this.__items[s].match(t))return!0;return!1},n.prototype.set_indent=function(t,s){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=s||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},n.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},n.prototype.is_empty=function(){return this.__items.length===0},n.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},n.prototype.push=function(t){this.__items.push(t);var s=t.lastIndexOf(`
|
|
15
|
+
`&&F(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw ie(F());case void 0:throw ie(F())}return F()}function Ko(){let n="",a=Ee();if(!se.isHexDigit(a)||(n+=F(),a=Ee(),!se.isHexDigit(a)))throw ie(F());return n+=F(),String.fromCodePoint(parseInt(n,16))}function Nt(){let n="",a=4;for(;a-- >0;){const o=Ee();if(!se.isHexDigit(o))throw ie(F());n+=F()}return String.fromCodePoint(parseInt(n,16))}const Wo={start(){if(de.type==="eof")throw Le();Et()},beforePropertyName(){switch(de.type){case"identifier":case"string":bt=de.value,_e="afterPropertyName";return;case"punctuator":$e();return;case"eof":throw Le()}},afterPropertyName(){if(de.type==="eof")throw Le();_e="beforePropertyValue"},beforePropertyValue(){if(de.type==="eof")throw Le();Et()},beforeArrayValue(){if(de.type==="eof")throw Le();if(de.type==="punctuator"&&de.value==="]"){$e();return}Et()},afterPropertyValue(){if(de.type==="eof")throw Le();switch(de.value){case",":_e="beforePropertyName";return;case"}":$e()}},afterArrayValue(){if(de.type==="eof")throw Le();switch(de.value){case",":_e="beforeArrayValue";return;case"]":$e()}},end(){}};function Et(){let n;switch(de.type){case"punctuator":switch(de.value){case"{":n={};break;case"[":n=[];break}break;case"null":case"boolean":case"numeric":case"string":n=de.value;break}if(Ke===void 0)Ke=n;else{const a=ye[ye.length-1];Array.isArray(a)?a.push(n):Object.defineProperty(a,bt,{value:n,writable:!0,enumerable:!0,configurable:!0})}if(n!==null&&typeof n=="object")ye.push(n),Array.isArray(n)?_e="beforeArrayValue":_e="beforePropertyName";else{const a=ye[ye.length-1];a==null?_e="end":Array.isArray(a)?_e="afterArrayValue":_e="afterPropertyValue"}}function $e(){ye.pop();const n=ye[ye.length-1];n==null?_e="end":Array.isArray(n)?_e="afterArrayValue":_e="afterPropertyValue"}function ie(n){return ve(n===void 0?`JSON5: invalid end of input at ${ke}:${De}`:`JSON5: invalid character '${un(n)}' at ${ke}:${De}`)}function Le(){return ve(`JSON5: invalid end of input at ${ke}:${De}`)}function dn(){return De-=5,ve(`JSON5: invalid identifier character at ${ke}:${De}`)}function Ho(n){console.warn(`JSON5: '${un(n)}' in strings is not valid ECMAScript; consider escaping`)}function un(n){const a={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(a[n])return a[n];if(n<" "){const o=n.charCodeAt(0).toString(16);return"\\x"+("00"+o).substring(o.length)}return n}function ve(n){const a=new SyntaxError(n);return a.lineNumber=ke,a.columnNumber=De,a}var qo=function(a,o,t){const s=[];let c="",d,l,i="",f;if(o!=null&&typeof o=="object"&&!Array.isArray(o)&&(t=o.space,f=o.quote,o=o.replacer),typeof o=="function")l=o;else if(Array.isArray(o)){d=[];for(const w of o){let _;typeof w=="string"?_=w:(typeof w=="number"||w instanceof String||w instanceof Number)&&(_=String(w)),_!==void 0&&d.indexOf(_)<0&&d.push(_)}}return t instanceof Number?t=Number(t):t instanceof String&&(t=String(t)),typeof t=="number"?t>0&&(t=Math.min(10,Math.floor(t)),i=" ".substr(0,t)):typeof t=="string"&&(i=t.substr(0,10)),p("",{"":a});function p(w,_){let r=_[w];switch(r!=null&&(typeof r.toJSON5=="function"?r=r.toJSON5(w):typeof r.toJSON=="function"&&(r=r.toJSON(w))),l&&(r=l.call(_,w,r)),r instanceof Number?r=Number(r):r instanceof String?r=String(r):r instanceof Boolean&&(r=r.valueOf()),r){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof r=="string")return h(r);if(typeof r=="number")return String(r);if(typeof r=="object")return Array.isArray(r)?x(r):V(r)}function h(w){const _={"'":.1,'"':.2},r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let m="";for(let D=0;D<w.length;D++){const k=w[D];switch(k){case"'":case'"':_[k]++,m+=k;continue;case"\0":if(se.isDigit(w[D+1])){m+="\\x00";continue}}if(r[k]){m+=r[k];continue}if(k<" "){let C=k.charCodeAt(0).toString(16);m+="\\x"+("00"+C).substring(C.length);continue}m+=k}const g=f||Object.keys(_).reduce((D,k)=>_[D]<_[k]?D:k);return m=m.replace(new RegExp(g,"g"),r[g]),g+m+g}function V(w){if(s.indexOf(w)>=0)throw TypeError("Converting circular structure to JSON5");s.push(w);let _=c;c=c+i;let r=d||Object.keys(w),m=[];for(const D of r){const k=p(D,w);if(k!==void 0){let C=N(D)+":";i!==""&&(C+=" "),C+=k,m.push(C)}}let g;if(m.length===0)g="{}";else{let D;if(i==="")D=m.join(","),g="{"+D+"}";else{let k=`,
|
|
16
|
+
`+c;D=m.join(k),g=`{
|
|
17
|
+
`+c+D+`,
|
|
18
|
+
`+_+"}"}}return s.pop(),c=_,g}function N(w){if(w.length===0)return h(w);const _=String.fromCodePoint(w.codePointAt(0));if(!se.isIdStartChar(_))return h(w);for(let r=_.length;r<w.length;r++)if(!se.isIdContinueChar(String.fromCodePoint(w.codePointAt(r))))return h(w);return w}function x(w){if(s.indexOf(w)>=0)throw TypeError("Converting circular structure to JSON5");s.push(w);let _=c;c=c+i;let r=[];for(let g=0;g<w.length;g++){const D=p(String(g),w);r.push(D!==void 0?D:"null")}let m;if(r.length===0)m="[]";else if(i==="")m="["+r.join(",")+"]";else{let g=`,
|
|
19
|
+
`+c,D=r.join(g);m=`[
|
|
20
|
+
`+c+D+`,
|
|
21
|
+
`+_+"]"}return s.pop(),c=_,m}},Xo={parse:Io,stringify:qo};(function(){const n=()=>{console.log("%c 可视化编辑器 hflveditor3","color: #3498db; font-size: 16px; font-weight: bold;"),console.log("%c版本号: 0.2.15","color: #2ecc71;"),console.log("%c编译日期: 2025/12/5 20:18:00","color: #3498db;"),console.log("%c版权声明:","color: #e74c3c; font-weight: bold;"),console.log('%c 1. 版权完全归"hflsoft"享有。',"color: #34495e;"),console.log("%c 2. 程序包完整引用,不得以任何形式破解、裁剪,不得隐藏或删除版权信息。","color: #34495e;"),console.log("%c 3. 保留此版权信息在控制台输出。","color: #34495e;"),console.log("%c 版权所有 ©2024-2025 hflsoft 保留对此版权信息的最终解释权.","color: #f39c12;"),console.log("%c Copyright ©2024-2025 hflsoft All rights reserved.","color: #f39c12;")};if(typeof window<"u"){window._copyright_hflveditor3=n;try{Object.defineProperty(window,_copyright_hflveditor3,{value:n,writable:!1,configurable:!1,enumerable:!1})}catch{window._copyright_hflveditor3=n}}n()})();function et(n){return!isNaN(parseFloat(n))&&isFinite(n)}function Me(n){return!!(n&&n!="")}function Pe(n){return!!(n&&typeof n=="function")}function pn(n){return n instanceof Object&&n!==null}function ze(n){return Object.keys(n).length===0}function _n(n){return typeof n=="string"||n instanceof String}function be(n){if(typeof n=="object"){const a=Array.isArray(n)?[]:{};for(const o in n)typeof n[o]=="object"?a[o]=be(n[o]):a[o]=n[o];return a}return n}function xe(n,a={}){if(_n(n)&&Me(n))try{return Xo.parse(n)}catch(o){return console.warn("JSON 解析错误:",o),a}else return pn(n)?n:a}function Ve(n){return _n(n)?n:pn(n)?JSON.stringify(n,null,2):""}function Z(n,a){Be.ElMessage({message:a||"message",type:n||"info"})}function tt(n,a="确认",o="info",t,s){Be.ElMessageBox.confirm(n,a,{confirmButtonText:"确认",cancelButtonText:"取消",type:o}).then(()=>{Pe(t)&&t()}).catch(()=>{Pe(s)&&s()})}function fn(n,a="提示",o={},t,s){Be.ElMessageBox.prompt(n,a,{confirmButtonText:"确认",cancelButtonText:"取消",inputPattern:o.pattern||"",inputErrorMessage:o.errMsg||""}).then(({value:c})=>{Pe(t)&&t(c)}).catch(()=>{Pe(s)&&s()})}const fe={Component:"Comp_",Page:"P_",CompEvent:"CompEvent_",Dialog:"Dialog_"},Go=[{label:"PC端",value:"0",isDisabled:!0},{label:"1920*1080",value:"1"},{label:"1680*1050",value:"9"},{label:"1600*900",value:"2"},{label:"1400*1050",value:"10"},{label:"1366*768",value:"3"},{label:"1280*720",value:"4"},{label:"移动端",value:"5",isDisabled:!0,isDivided:!0},{label:"1024*1366",value:"6"},{label:"768*1024",value:"7"},{label:"480*800",value:"8"}],kt=["rgba(245, 10, 10, 1)","rgba(255, 255, 0, 1)","rgba(0, 255, 0, 1)","rgba(239, 236, 236, 1)","rgba(114,114,114,1)","rgba(0,255,255,1)","rgba(138,43,226,1)","rgba(16, 55, 81, 1)"],Jo=[{label:"不重复",value:"no-repeat"},{label:"水平重复",value:"repeat-x"},{label:"垂直重复",value:"repeat-y"},{label:"双向重复",value:"repeat"}],Yo=[{label:"覆盖",value:"cover"},{label:"适应",value:"contain"},{label:"自动",value:"auto"}],Qo=[{label:"顶部",value:"top"},{label:"底部",value:"bottom"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"居中",value:"center"}],Zo=[{label:"不适配",value:"no-adapter"},{label:"全屏铺满",value:"all-screen"},{label:"原始比例",value:"original-ratio"},{label:"横向适配-保持纵横比",value:"h-adapter-wh"},{label:"纵向适配-保持纵横比",value:"v-adapter-wh"},{label:"横向适配",value:"h-adapter"},{label:"纵向适配",value:"v-adapter"}],nt=[{label:"选项改变",value:"selectItem"},{label:"值改变",value:"changeValue"},{label:"鼠标点击",value:"onMouseClick"},{label:"鼠标双击",value:"onMouseDblClick"},{label:"键盘回车",value:"keyEnter"},{label:"组件挂载前",value:"onBeforeMount"},{label:"组件挂载后",value:"onMounted"},{label:"组件卸载前",value:"onBeforeUnmount"},{label:"组件卸载后",value:"onUnmounted"}],hn=[{label:"数据请求",value:"dataRequest"},{label:"路由跳转",value:"router"},{label:"缓存设置",value:"cacheSet"},{label:"Web缓存",value:"webStorage"},{label:"组件局域参数设置",value:"paramSet"},{label:"组件局域参数映射",value:"paramMap"},{label:"自定义函数",value:"customFunction"},{label:"组件设置",value:"componentSet"},{label:"操作终止",value:"actionEnd"},{label:"消息弹出框",value:"messageBox"},{label:"打开对话框",value:"openDialog"}],$o=[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}],mn=[{label:"==",value:"=="},{label:"!=",value:"!="},{label:">",value:">"},{label:">=",value:">="},{label:"<",value:"<"},{label:"<=",value:"<="},{label:"包含",value:"contain"},{label:"不包含",value:"unContain"},{label:"字符串相等",value:"equals"},{label:"字符串不相等",value:"unEquals"},{label:"字符串忽略大小写相等",value:"equalsIgnoreCase"}],Te=[{value:"inputV",label:"直接输入值"},{value:"inputP",label:"组件局域参数"},{value:"cacheP",label:"缓存参数"},{value:"containerP",label:"容器参数"},{value:"sessionP",label:"会话缓存参数"},{value:"localP",label:"本地缓存参数"},{value:"jsCookieP",label:"JSCookie缓存参数"},{value:"compProp",label:"组件值"},{value:"compStyle",label:"组件样式"}],vo=[{value:"inputP",label:"组件局域参数"},{value:"cacheP",label:"缓存参数"},{value:"sessionP",label:"会话缓存参数"},{value:"localP",label:"本地缓存参数"},{value:"jsCookieP",label:"JSCookie缓存参数"}],Tt=[{value:"primary",label:"primary"},{value:"success",label:"success"},{value:"warning",label:"warning"},{value:"info",label:"info"},{value:"error",label:"error"}],gn=[{value:"msg",label:"Message"},{value:"notify",label:"Notification"}];function Ie(n){return n*Math.PI/180}function ae(n,a,o){return{x:(n.x-a.x)*Math.cos(Ie(o))-(n.y-a.y)*Math.sin(Ie(o))+a.x,y:(n.x-a.x)*Math.sin(Ie(o))+(n.y-a.y)*Math.cos(Ie(o))+a.y}}function Ae(n,a){return{x:n.x+(a.x-n.x)/2,y:n.y+(a.y-n.y)/2}}function Cn(n){return Math.abs(Math.sin(Ie(n)))}function xn(n){return Math.abs(Math.cos(Ie(n)))}function He(n){return(n+360)%360}function ot(n){return`${n*100}%`}function ea(n){const a={};return["width","height","top","left","rotate"].forEach(o=>{o!="rotate"?a[o]=`${n[o]}px`:a.transform=`rotate(${n[o]}deg)`}),a}const Vn=["fontSize","width","height","top","left","borderWidth","letterSpacing","borderRadius"];function At(n,a=[]){const o={};return["opacity","width","height","top","left","rotate","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","color"].forEach(t=>{a.includes(t)||(t!="rotate"?n[t]!==""&&(o[t]=n[t],Vn.includes(t)&&(o[t]+="px")):o.transform=`${t}(${n[t]}deg)`)}),o}function Bt(n,a=[]){const o={};return Object.keys(n).forEach(t=>{a.includes(t)||(t!="rotate"?n[t]!==""&&(o[t]=n[t],Vn.includes(t)&&(o[t]+="px")):o.transform=`${t}(${n[t]}deg)`)}),o}function Y(n){if(n={...n},n.rotate!=0){const a=n.width*xn(n.rotate)+n.height*Cn(n.rotate),o=(n.width-a)/2;n.left+=o,n.right=n.left+a;const t=n.height*xn(n.rotate)+n.width*Cn(n.rotate),s=(t-n.height)/2;n.top-=s,n.bottom=n.top+t,n.width=a,n.height=t}else n.bottom=n.top+n.height,n.right=n.left+n.width;return n}const ta=["width","height","scale"];function wn(n){const a={};return Object.keys(n).filter(o=>!ta.includes(o)).forEach(o=>{o==="fontSize"?a[o]+="px":o==="backgroundImage"?a["background-image"]="url("+n[o]+")":o==="backgroundRepeat"?a["background-repeat"]=n[o]:o==="backgroundSize"?a["background-size"]=n[o]:o==="backgroundPosition"?a["background-position"]=n[o]:a[o]=n[o]}),a}function na(n){const a=n.style;(n.propValue.components||[]).forEach(t=>{if(!Object.keys(t.groupStyle).length){const s={...t.style};t.component.startsWith("SVG")?t.groupStyle=At(s):t.groupStyle=Bt(s),t.groupStyle.left=ot((s.left-a.left)/a.width),t.groupStyle.top=ot((s.top-a.top)/a.height),t.groupStyle.width=ot(s.width/a.width),t.groupStyle.height=ot(s.height/a.height)}})}function Dn(n,a,o,t){isNaN(t.rotate)&&(t.rotate=0),n.style&&isNaN(n.style.rotate)&&(n.style.rotate=0),n.style.rotate=He(n.style.rotate+t.rotate),n.style.width=parseFloat(n.groupStyle.width)/100*t.width,n.style.height=parseFloat(n.groupStyle.height)/100*t.height,n.style.left=o.left-a.left+parseFloat(n.groupStyle.left)/100*t.width,n.style.top=o.top-a.top+parseFloat(n.groupStyle.top)/100*t.height,n.groupStyle={},n.style.width=Qe(n.style.width),n.style.height=Qe(n.style.height),n.style.left=Qe(n.style.left),n.style.top=Qe(n.style.top)}function oa(n){return{all:n=n||new Map,on:function(a,o){var t=n.get(a);t?t.push(o):n.set(a,[o])},off:function(a,o){var t=n.get(a);t&&(o?t.splice(t.indexOf(o)>>>0,1):n.set(a,[]))},emit:function(a,o){var t=n.get(a);t&&t.slice().map(function(s){s(o)}),(t=n.get("*"))&&t.slice().map(function(s){s(a,o)})}}}const v=oa(),ee={openCanvasSetting:"openCanvasDrawer",openRuleSetting:"openRuleSetting",openNewPage:"openNewPage",runAnimation:"runAnimation",stopAnimation:"stopAnimation",componentClick:"componentClick",move:"move",unmove:"unmove",hideArea:"hideArea",save:"save",preview:"preview",clearCanvas:"clearCanvas",importJson:"importJson",exportJson:"exportJson",openPage:"openPage",savePage:"savePage"},at=new Map,te=(n="default")=>{if(at.has(n))return at.get(n);const a=Vt.defineStore(`editor-${n}`,{state:()=>({rule:{scale:1,minScale:.3,maxScale:3},areaData:{style:{top:0,left:0,width:0,height:0},components:[]},editor:null,editorInstance:null,isDarkMode:!1,lastScale:100,canvasStyleData:{width:1200,height:800,scale:100,color:"#000",opacity:1,background:"#fff",fontSize:14,screenAdapter:"no-adapter"},isInEditor:!1,componentData:[],dashBorderColor:"rgba(114, 114, 114, 1)",curComponent:null,curComponentIndex:null,isClickComponent:!1,snapshotData:[],snapshotIndex:-1,menuTop:0,menuLeft:0,menuShow:!1,copyData:null,isCut:!1,ruleReferenceLine:"#00FFFF",rulePresetLine:[]}),actions:{setRuleScale(o){let t=Number(o);t>0&&(t=t>this.rule.maxScale?this.rule.maxScale:t,t=t<this.rule.minScale?this.rule.minScale:t,this.rule.scale=t)},addRuleScale(o){let t=Number(o)||"0.1",s=this.rule.scale+t;this.setRuleScale(s)},subtractRuleScale(o){let t=Number(o)||"0.1",s=this.rule.scale-t;this.setRuleScale(s)},setEditor(o){this.editor=o},setEditorInstance(o){this.editorInstance=o},setAreaData(o){this.areaData=o},compose(){const o=[];this.areaData.components.forEach(s=>{if(s.component!="Group")o.push(s);else{const c={...s.style},d=s.propValue.components||[],l=this.getEditorBoundingClientRect(),i=this.getComponentRect(s.id);d.forEach(f=>{Dn(f,l,i,c)}),o.push(...s.propValue.components)}});const t={id:ce(fe.Component),component:"Group",label:"组合",icon:"svgcombination",...on,style:{...nn,...this.areaData.style},propValue:{components:o}};na(t),this.addComponent(t),v.emit(ee.hideArea),this.batchDeleteComponent(o),this.setCurComponent(this.componentData[this.componentData.length-1],this.componentData.length-1),this.areaData.components=[]},batchDeleteComponent(o){for(let t=0;t<o.length;t++)for(let s=0,c=this.componentData.length;s<c;s++)if(o[t].id==this.componentData[s].id){this.componentData.splice(s,1);break}Fe("debug","batchDeleteComponent 需要删除:",o.length,"删除后:",this.componentData.length)},decompose(){const o={...this.curComponent.style},t=this.curComponent.propValue?.components||[],s=this.getEditorBoundingClientRect(),c=this.getComponentRect(this.curComponent.id);this.deleteComponent(),Fe("debug","decompose editorRect:",s),Fe("debug","decompose parentRect:",c),Fe("debug","decompose parentStyle:",o),t.forEach(d=>{Dn(d,s,c,o),Fe("info","decompose component:",d.id,d.style),this.addComponent(d)})},getEditorBoundingClientRect(){return this.editor?.getBoundingClientRect()},setComponentData(o=[]){this.componentData=o},addComponent(o,t){t!==void 0?this.componentData.splice(t,0,o):this.componentData.push(o)},deleteComponent(o){o===void 0&&(o=this.curComponentIndex),o==this.curComponentIndex&&(this.curComponentIndex=null,this.curComponent=null),/\d/.test(o)&&this.componentData.splice(o,1)},setClickComponentStatus(o){this.isClickComponent=o},setCanvasStyle(o){this.canvasStyleData=o},setInEditorStatus(o){this.isInEditor=o},setCurComponent(o,t){this.curComponent=o,this.curComponentIndex=t},setShapeStyle({top:o,left:t,width:s,height:c,rotate:d,padding:l}){o!==void 0&&(this.curComponent.style.top=Math.round(o)),t!==void 0&&(this.curComponent.style.left=Math.round(t)),s&&(this.curComponent.style.width=Math.round(s)),l&&(this.curComponent.style.padding=Math.round(l)),c&&(this.curComponent.style.height=Math.round(c)),d&&(this.curComponent.style.rotate=Math.round(d))},setShapeSingleStyle({key:o,value:t}){this.curComponent.style[o]=t},recordSnapshot(){let o=Ce(this.componentData);o.forEach(t=>t.lastScale=this.lastScale),this.snapshotData[++this.snapshotIndex]=o,this.snapshotIndex<this.snapshotData.length-1&&(this.snapshotData=this.snapshotData.slice(0,this.snapshotIndex+1))},undo(){if(this.snapshotIndex>=0){this.snapshotIndex--;let o=Ce(this.snapshotData[this.snapshotIndex])||[];this.curComponent&&!o.find(s=>this.curComponent.id===s.id)&&this.setCurComponent({component:null,index:null}),o=sn(this,this.lastScale,o),this.setComponentData(o)}},redo(){if(this.snapshotIndex<this.snapshotData.length-1){this.snapshotIndex++;let o=sn(this,this.lastScale,Ce(this.snapshotData[this.snapshotIndex]));this.setComponentData(o)}},addAnimation(o){this.curComponent.animations.push(o)},removeAnimation(o){this.curComponent.animations.splice(o,1)},alterAnimation({index:o,data:t={}}){if(typeof o=="number"){const s=this.curComponent.animations[o];this.curComponent.animations[o]={...s,...t}}},addComponentEvent(o){this.curComponent.events[o.type]?this.curComponent.events[o.type].push(o):this.curComponent.events[o.type]=[o]},removeComponentEvent(o,t){this.curComponent.events[o]&&t>=0&&(this.curComponent.events[o].splice(t,1),this.curComponent.events[o].length==0&&delete this.curComponent.events[o])},alterComponentEvent(o,t,s={}){if(this.curComponent.events[o]&&t>=0){const c=this.curComponent.events[o][t];this.curComponent.events[o][t]={...c,...s}}},showContextMenu({top:o,left:t}){this.menuShow=!0,this.menuTop=o,this.menuLeft=t},hideContextMenu(){this.menuShow=!1},lock(){this.curComponent.isLock=!0},unlock(){this.curComponent.isLock=!1},copy(){if(!this.curComponent){Z("error","请选择组件");return}this._restorePreCutData(),this.copyData=this._copyCurrentData(),this.isCut=!1},paste(o){if(!this.copyData){Z("error","请选择组件");return}const t=this.copyData.data;o?(t.style.top=this.menuTop,t.style.left=this.menuLeft):(t.style.top+=30,t.style.left+=20),this.addComponent(this._deepCopyHelper(t),null),this.isCut&&(this.copyData=null)},cut(){if(!this.curComponent){Z("error","请选择组件");return}this._restorePreCutData(),this.copyData=this._copyCurrentData(),this.deleteComponent(),this.isCut=!0},upComponent(){this.curComponentIndex<this.componentData.length-1?(ln(this.componentData,this.curComponentIndex,this.curComponentIndex+1),this.curComponentIndex=this.curComponentIndex+1):Z("error","已经到顶了")},downComponent(){this.curComponentIndex>0?(ln(this.componentData,this.curComponentIndex,this.curComponentIndex-1),this.curComponentIndex=this.curComponentIndex-1):Z("error","已经到底了")},topComponent(){this.curComponentIndex<this.componentData.length-1?(this.componentData.splice(this.curComponentIndex,1),this.componentData.push(this.curComponent),this.curComponentIndex=this.componentData.length-1):Z("error","已经到顶了")},bottomComponent(){this.curComponentIndex>0?(this.componentData.splice(this.curComponentIndex,1),this.componentData.unshift(this.curComponent),this.curComponentIndex=0):Z("error","已经到底了")},leftAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(t=>Y(t.style).left));this.areaData.components.forEach(t=>{let c=Y(t.style).left-o;this._changeAlign(t,{left:t.style.left-c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.left-o.left;this._changeAlign(this.curComponent,{left:t})}},rightAlign(){if(this.areaData.components.length>1){let o=Math.max(...this.areaData.components.map(t=>Y(t.style).right));this.areaData.components.forEach(t=>{let s=Y(t.style),c=o-s.right;this._changeAlign(t,{left:t.style.left+c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.left-o.left,s=this.canvasStyleData.width+t-o.width;this._changeAlign(this.curComponent,{left:s})}},centerAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(c=>Y(c.style).left)),t=Math.max(...this.areaData.components.map(c=>Y(c.style).right)),s=(o+t)/2;this.areaData.components.forEach(c=>{let d=Y(c.style),l=(d.left+d.right)/2,i=s-l;this._changeAlign(c,{left:c.style.left+i})})}else{let o=Y(this.curComponent.style),t=this.canvasStyleData.width/2,s=(o.left+o.right)/2,c=this.curComponent.style.left+(t-s);this._changeAlign(this.curComponent,{left:c})}},topAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(t=>Y(t.style).top));this.areaData.components.forEach(t=>{let c=Y(t.style).top-o;this._changeAlign(t,{top:t.style.top-c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.top-o.top;this._changeAlign(this.curComponent,{top:t})}},bottomAlign(){if(this.areaData.components.length>1){let o=Math.max(...this.areaData.components.map(t=>Y(t.style).bottom));this.areaData.components.forEach(t=>{let s=Y(t.style),c=o-s.bottom;this._changeAlign(t,{top:t.style.top+c})})}else{let o=Y(this.curComponent.style),t=this.curComponent.style.top-o.top,s=this.canvasStyleData.height+t-o.height;this._changeAlign(this.curComponent,{top:s})}},middleAlign(){if(this.areaData.components.length>1){let o=Math.min(...this.areaData.components.map(c=>Y(c.style).top)),t=Math.max(...this.areaData.components.map(c=>Y(c.style).bottom)),s=(o+t)/2;this.areaData.components.forEach(c=>{let d=Y(c.style),l=(d.top+d.bottom)/2,i=s-l;this._changeAlign(c,{top:c.style.top+i})})}else{let o=Y(this.curComponent.style),t=this.canvasStyleData.height/2,s=(o.top+o.bottom)/2,c=this.curComponent.style.top+(t-s);this._changeAlign(this.curComponent,{top:c})}},verticalSpacing(){const{components:o}=this.areaData;if(o.length>2){let t=0;o.forEach(i=>{let f=Y(i.style);t+=f.height});const c=this.areaData.style.height-t,d=Math.floor(c/(o.length-1));o.sort((i,f)=>Y(i.style).top-Y(f.style).top);let l=0;o.forEach(i=>{this._changeAlign(i,{top:this.areaData.style.top+l}),l+=d+Y(i.style).height})}},horizontalSpacing(){const{components:o}=this.areaData;if(o.length>2){let t=0;o.forEach(i=>{let f=Y(i.style);t+=f.width});const c=this.areaData.style.width-t,d=Math.floor(c/(o.length-1));o.sort((i,f)=>Y(i.style).left-Y(f.style).left);let l=0;o.forEach(i=>{i.style.left=this.areaData.style.left+l,l+=d+Y(i.style).width})}},getComponentRect(o){let t=this.editorInstance.getComponentRef(o),s=this._getComponentDom(t);return s?s.getBoundingClientRect():null},_getComponentDom(o){return o?o.$.vnode?.el?o.$.vnode.el:o.$.subTree?.el?o.$.subTree.el:o.$el?o.$el:null:null},_changeAlign(o,t){if(Array.isArray(o)){o.forEach(s=>{this._changeAlign(s,t)});return}for(let s in t)t.hasOwnProperty(s)&&(o.style[s]=t[s])},_copyCurrentData(){return{data:Ce(this.curComponent),index:this.curComponentIndex}},_deepCopyHelper(o){const t=Ce(o);return t.id=ce(fe.Component),t.component==="Group"&&(t.propValue.components||[]).forEach((c,d)=>{t.propValue.components[d]=this._deepCopyHelper(c)}),t},_restorePreCutData(){if(this.isCut&&this.copyData){const o=Ce(this.copyData.data),t=this.copyData.index;this.addComponent(o,t),this.curComponentIndex>=t&&this.curComponentIndex++}}}})();return at.set(n,a),a},bn=n=>{at.delete(n)},aa={__name:"ComponentList",props:{pageId:{type:String,default:""},editorStore:{type:Object,default:()=>te()}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.editorStore?.curComponent||{}),s=e.computed(()=>o.editorStore?.curComponentIndex||0),c=e.computed(()=>o.editorStore?.componentData||[]),d=g=>{let D=g.compName;return D&&D.length>0&&D.trim()!==""||(D=g.label),D},l=g=>i(g).icon||"",i=g=>c.value[c.value.length-1-g],f=g=>c.value.length-1-g,p=g=>{x(g)},h=()=>{setTimeout(()=>{o.editorStore.deleteComponent(),o.editorStore.recordSnapshot()})},V=()=>{setTimeout(()=>{o.editorStore.upComponent(),o.editorStore.recordSnapshot()})},N=()=>{setTimeout(()=>{o.editorStore.downComponent(),o.editorStore.recordSnapshot()})},x=g=>{o.editorStore.setCurComponent(c.value[g],g)},m={props:o,curComponent:t,curComponentIndex:s,componentData:c,getCompName:d,getComponentIcon:l,getComponent:i,transformIndex:f,onClick:p,deleteComponent:h,upComponent:V,downComponent:N,setCurComponent:x,isShowIcon:g=>i(g).style.isHide?"bukejian":"kejian",isSvgIcon:function(g){return me(g)&&g.startsWith("svg")},spanIconClass:function(g){return me(g)&&g.startsWith("el")?g:"iconfont icon-"+g},get useEditorStore(){return te},computed:e.computed,watch:e.watch,get isNotEmpty(){return me}};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}};function la(n,a,o,t,s,c){const d=e.resolveComponent("ve-svg-icon");return e.openBlock(),e.createElementBlock("div",{class:"real-time-component-list"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.componentData,(l,i)=>(e.openBlock(),e.createElementBlock("div",{key:i,class:e.normalizeClass(["list",{actived:t.transformIndex(i)===t.curComponentIndex}]),onClick:f=>t.onClick(t.transformIndex(i))},[e.createElementVNode("div",{class:"comp-icon"},[t.isSvgIcon(t.getComponentIcon(i))?(e.openBlock(),e.createBlock(d,{key:0,"icon-class":t.getComponentIcon(i).substring(3)},null,8,["icon-class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.spanIconClass(t.getComponentIcon(i)))},null,2))]),e.createTextVNode(),e.createElementVNode("span",{class:e.normalizeClass(["iconfont","icon-"+t.isShowIcon(i)])},null,2),e.createTextVNode(),e.createElementVNode("span",null,e.toDisplayString(t.getCompName(t.getComponent(i))),1),e.createTextVNode(),e.createElementVNode("div",{class:"icon-container"},[e.createElementVNode("span",{class:"iconfont icon-shangyi",onClick:f=>t.upComponent(t.transformIndex(i))},null,8,["onClick"]),e.createTextVNode(),e.createElementVNode("span",{class:"iconfont icon-xiayi",onClick:f=>t.downComponent(t.transformIndex(i))},null,8,["onClick"]),e.createTextVNode(),e.createElementVNode("span",{class:"iconfont icon-shanchu",onClick:f=>t.deleteComponent(t.transformIndex(i))},null,8,["onClick"])])],10,["onClick"]))),128))])}const ia=J(aa,[["render",la],["__scopeId","data-v-abecf561"],["__file","ComponentList.vue"]]),ra={__name:"index",props:{editorStore:{type:Object,default:()=>te()},pageId:{type:String,default:""}},setup(n,{expose:a}){a();const o=n,t=e.ref("componentTab"),c={props:o,activeName:t,handleClick:()=>{},ref:e.ref,ComponentTab:Lo,get useEditorStore(){return te},ComponentList:ia};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}};function sa(n,a,o,t,s,c){const d=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(l,{modelValue:t.activeName,"onUpdate:modelValue":a[0]||(a[0]=i=>t.activeName=i),type:"border-card",class:"tabs",onTabClick:t.handleClick},{default:e.withCtx(()=>[e.createVNode(d,{label:"组件",name:"componentTab"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.KeepAlive,null,[e.createVNode(t.ComponentTab)],1024))]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"组件列表",name:"componentTreeTab"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.KeepAlive,null,[e.createVNode(t.ComponentList,{"editor-store":t.props.editorStore,"page-id":t.props.pageId},null,8,["editor-store","page-id"])],1024))]),_:1})]),_:1},8,["modelValue"])}const ca=J(ra,[["render",sa],["__scopeId","data-v-f00af19f"],["__file","index.vue"]]),da=Object.assign({name:"CommonDialog"},{__name:"index",props:{width:{type:Number,default:500},title:{type:String,default:"对话框"},modal:{type:Boolean,default:!0}},emits:["confirm"],setup(n,{expose:a,emit:o}){const t=e.ref("弹框"),s=e.ref(!1),c=n,d=o;let l=null;const i=e.computed(()=>t.value&&Me(t.value)?t.value:c.title),f=()=>{d("confirm",{callBack:l})},p=()=>{s.value=!1},h=(N={})=>{s.value=!0,l=N.callBack,t.value=N.title||""};a({show:h,cancel:p});const V={showTitle:t,openDialog:s,props:c,emit:d,get callBack(){return l},set callBack(N){l=N},title:i,confirmInner:f,cancel:p,show:h,ref:e.ref,computed:e.computed,get isNotEmpty(){return Me}};return Object.defineProperty(V,"__isScriptSetup",{enumerable:!1,value:!0}),V}});function ua(n,a,o,t,s,c){const d=e.resolveComponent("el-button"),l=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(l,{title:t.title,modelValue:t.openDialog,"onUpdate:modelValue":a[0]||(a[0]=i=>t.openDialog=i),width:t.props.width,"before-close":t.cancel,"destroy-on-close":!0,modal:t.props.modal,"show-close":!1,"align-center":!0,draggable:""},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"dialog-content")]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"dialog-footer"},[e.createVNode(d,{type:"primary",onClick:t.confirmInner},{default:e.withCtx(()=>[e.createTextVNode("确定")]),_:1}),e.createTextVNode(),e.createVNode(d,{onClick:t.cancel},{default:e.withCtx(()=>[e.createTextVNode("关 闭")]),_:1})])]),_:3},8,["title","modelValue","width","modal"])}const yn=J(da,[["render",ua],["__file","index.vue"]]);function pa(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var St={exports:{}},qe={},lt={exports:{}},Ft={},Ot={},Nn;function Lt(){if(Nn)return Ot;Nn=1;function n(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var t=new n(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},n.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},n.prototype.has_match=function(t){for(var s=this.__items.length-1;s>=0;s--)if(this.__items[s].match(t))return!0;return!1},n.prototype.set_indent=function(t,s){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=s||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},n.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},n.prototype.is_empty=function(){return this.__items.length===0},n.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},n.prototype.push=function(t){this.__items.push(t);var s=t.lastIndexOf(`
|
|
22
22
|
`);s!==-1?this.__character_count=t.length-s:this.__character_count+=t.length},n.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},n.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},n.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},n.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},n.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function a(t,s){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),s=s||"",t.indent_level>0&&(s=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=s,this.__base_string_length=s.length}a.prototype.get_indent_size=function(t,s){var c=this.__base_string_length;return s=s||0,t<0&&(c=0),c+=t*this.__indent_size,c+=s,c},a.prototype.get_indent_string=function(t,s){var c=this.__base_string;return s=s||0,t<0&&(t=0,c=""),s+=t*this.__indent_size,this.__ensure_cache(s),c+=this.__cache[s],c},a.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},a.prototype.__add_column=function(){var t=this.__cache.length,s=0,c="";this.__indent_size&&t>=this.__indent_size&&(s=Math.floor(t/this.__indent_size),t-=s*this.__indent_size,c=new Array(s+1).join(this.__indent_string)),t&&(c+=new Array(t+1).join(" ")),this.__cache.push(c)};function o(t,s){this.__indent_cache=new a(t,s),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new n(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(t,s){return this.__indent_cache.get_indent_string(t,s)},o.prototype.get_indent_size=function(t,s){return this.__indent_cache.get_indent_size(t,s)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(t){this.trim(!0);var s=this.current_line.pop();s&&(s[s.length-1]===`
|
|
23
23
|
`&&(s=s.replace(/\n+$/g,"")),this.current_line.push(s)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
|
|
24
24
|
`);return t!==`
|
|
@@ -28,36 +28,36 @@
|
|
|
28
28
|
`+s+`
|
|
29
29
|
You passed in: '`+this.raw_options[t]+"'");return d[0]},n.prototype._get_selection_list=function(t,s,c){if(!s||s.length===0)throw new Error("Selection list cannot be empty.");if(c=c||[s[0]],!this._is_valid_selection(c,s))throw new Error("Invalid Default Value!");var d=this._get_array(t,c);if(!this._is_valid_selection(d,s))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
30
30
|
`+s+`
|
|
31
|
-
You passed in: '`+this.raw_options[t]+"'");return d},n.prototype._is_valid_selection=function(t,s){return t.length&&s.length&&!t.some(function(c){return s.indexOf(c)===-1})};function a(t,s){var c={};t=o(t);var d;for(d in t)d!==s&&(c[d]=t[d]);if(s&&t[s])for(d in t[s])c[d]=t[s][d];return c}function o(t){var s={},c;for(c in t){var d=c.replace(/-/g,"_");s[d]=t[c]}return s}return Xe.Options=n,Xe.normalizeOpts=o,Xe.mergeOpts=a,Xe}var Sn;function Fn(){if(Sn)return Mt;Sn=1;var n=zt().Options,a=["before-newline","after-newline","preserve-newline"];function o(t){n.call(this,t,"js");var s=this.raw_options.brace_style||null;s==="expand-strict"?this.raw_options.brace_style="expand":s==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var c=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var d=0;d<c.length;d++)c[d]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=c[d];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",a),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return o.prototype=new n,Mt.Options=o,Mt}var Ie={},It={},On;function Ut(){if(On)return It;On=1;var n=RegExp.prototype.hasOwnProperty("sticky");function a(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}return a.prototype.restart=function(){this.__position=0},a.prototype.back=function(){this.__position>0&&(this.__position-=1)},a.prototype.hasNext=function(){return this.__position<this.__input_length},a.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},a.prototype.peek=function(o){var t=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(t=this.__input.charAt(o)),t},a.prototype.__match=function(o,t){o.lastIndex=t;var s=o.exec(this.__input);return s&&!(n&&o.sticky)&&s.index!==t&&(s=null),s},a.prototype.test=function(o,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(o,t):!1},a.prototype.testChar=function(o,t){var s=this.peek(t);return o.lastIndex=0,s!==null&&o.test(s)},a.prototype.match=function(o){var t=this.__match(o,this.__position);return t?this.__position+=t[0].length:t=null,t},a.prototype.read=function(o,t,s){var c="",d;return o&&(d=this.match(o),d&&(c+=d[0])),t&&(d||!o)&&(c+=this.readUntil(t,s)),c},a.prototype.readUntil=function(o,t){var s="",c=this.__position;o.lastIndex=this.__position;var d=o.exec(this.__input);return d?(c=d.index,t&&(c+=d[0].length)):c=this.__input_length,s=this.__input.substring(this.__position,c),this.__position=c,s},a.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},a.prototype.get_regexp=function(o,t){var s=null,c="g";return t&&n&&(c="y"),typeof o=="string"&&o!==""?s=new RegExp(o,c):o&&(s=new RegExp(o.source,c)),s},a.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},a.prototype.peekUntilAfter=function(o){var t=this.__position,s=this.readUntilAfter(o);return this.__position=t,s},a.prototype.lookBack=function(o){var t=this.__position-1;return t>=o.length&&this.__input.substring(t-o.length,t).toLowerCase()===o},It.InputScanner=a,It}var it={},jt={},Ln;function _a(){if(Ln)return jt;Ln=1;function n(a){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=a}return n.prototype.restart=function(){this.__position=0},n.prototype.isEmpty=function(){return this.__tokens_length===0},n.prototype.hasNext=function(){return this.__position<this.__tokens_length},n.prototype.next=function(){var a=null;return this.hasNext()&&(a=this.__tokens[this.__position],this.__position+=1),a},n.prototype.peek=function(a){var o=null;return a=a||0,a+=this.__position,a>=0&&a<this.__tokens_length&&(o=this.__tokens[a]),o},n.prototype.add=function(a){this.__parent_token&&(a.parent=this.__parent_token),this.__tokens.push(a),this.__tokens_length+=1},jt.TokenStream=n,jt}var Kt={},Wt={},Pn;function rt(){if(Pn)return Wt;Pn=1;function n(a,o){this._input=a,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,o&&(this._starting_pattern=this._input.get_regexp(o._starting_pattern,!0),this._match_pattern=this._input.get_regexp(o._match_pattern,!0),this._until_pattern=this._input.get_regexp(o._until_pattern),this._until_after=o._until_after)}return n.prototype.read=function(){var a=this._input.read(this._starting_pattern);return(!this._starting_pattern||a)&&(a+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),a},n.prototype.read_match=function(){return this._input.match(this._match_pattern)},n.prototype.until_after=function(a){var o=this._create();return o._until_after=!0,o._until_pattern=this._input.get_regexp(a),o._update(),o},n.prototype.until=function(a){var o=this._create();return o._until_after=!1,o._until_pattern=this._input.get_regexp(a),o._update(),o},n.prototype.starting_with=function(a){var o=this._create();return o._starting_pattern=this._input.get_regexp(a,!0),o._update(),o},n.prototype.matching=function(a){var o=this._create();return o._match_pattern=this._input.get_regexp(a,!0),o._update(),o},n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){},Wt.Pattern=n,Wt}var Rn;function fa(){if(Rn)return Kt;Rn=1;var n=rt().Pattern;function a(o,t){n.call(this,o,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return a.prototype=new n,a.prototype.__set_whitespace_patterns=function(o,t){o+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+o+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},a.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var o=this._input.read(this._match_pattern);if(o===" ")this.whitespace_before_token=" ";else if(o){var t=this.__split(this._newline_regexp,o);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return o},a.prototype.matching=function(o,t){var s=this._create();return s.__set_whitespace_patterns(o,t),s._update(),s},a.prototype._create=function(){return new a(this._input,this)},a.prototype.__split=function(o,t){o.lastIndex=0;for(var s=0,c=[],d=o.exec(t);d;)c.push(t.substring(s,d.index)),s=d.index+d[0].length,d=o.exec(t);return s<t.length?c.push(t.substring(s,t.length)):c.push(""),c},Kt.WhitespacePattern=a,Kt}var Mn;function st(){if(Mn)return it;Mn=1;var n=Ut().InputScanner,a=kn().Token,o=_a().TokenStream,t=fa().WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},c=function(d,l){this._input=new n(d),this._options=l||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new t(this._input)};return c.prototype.tokenize=function(){this._input.restart(),this.__tokens=new o,this._reset();for(var d,l=new a(s.START,""),i=null,f=[],p=new o;l.type!==s.EOF;){for(d=this._get_next_token(l,i);this._is_comment(d);)p.add(d),d=this._get_next_token(l,i);p.isEmpty()||(d.comments_before=p,p=new o),d.parent=i,this._is_opening(d)?(f.push(i),i=d):i&&this._is_closing(d,i)&&(d.opened=i,i.closed=d,i=f.pop(),d.parent=i),d.previous=l,l.next=d,this.__tokens.add(d),l=d}return this.__tokens},c.prototype._is_first_token=function(){return this.__tokens.isEmpty()},c.prototype._reset=function(){},c.prototype._get_next_token=function(d,l){this._readWhitespace();var i=this._input.read(/.+/g);return i?this._create_token(s.RAW,i):this._create_token(s.EOF,"")},c.prototype._is_comment=function(d){return!1},c.prototype._is_opening=function(d){return!1},c.prototype._is_closing=function(d,l){return!1},c.prototype._create_token=function(d,l){var i=new a(d,l,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return i},c.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},it.Tokenizer=c,it.TOKEN=s,it}var Ht={},zn;function qt(){if(zn)return Ht;zn=1;function n(a,o){a=typeof a=="string"?a:a.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+o,"g")}return n.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(a);t;)o[t[1]]=t[2],t=this.__directive_pattern.exec(a);return o},n.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)},Ht.Directives=n,Ht}var Xt={},In;function Un(){if(In)return Xt;In=1;var n=rt().Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function o(t,s){n.call(this,t,s),this.__template_pattern=null,this._disabled=Object.assign({},a),this._excluded=Object.assign({},a),s&&(this.__template_pattern=this._input.get_regexp(s.__template_pattern),this._excluded=Object.assign(this._excluded,s._excluded),this._disabled=Object.assign(this._disabled,s._disabled));var c=new n(t);this.__patterns={handlebars_comment:c.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:c.starting_with(/{{{/).until_after(/}}}/),handlebars:c.starting_with(/{{/).until_after(/}}/),php:c.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:c.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:c.starting_with(/{%/).until_after(/%}/),django_value:c.starting_with(/{{/).until_after(/}}/),django_comment:c.starting_with(/{#/).until_after(/#}/),smarty:c.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:c.starting_with(/{\*/).until_after(/\*}/),smarty_literal:c.starting_with(/{literal}/).until_after(/{\/literal}/)}}return o.prototype=new n,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(t){var s=this._create();return s._disabled[t]=!0,s._update(),s},o.prototype.read_options=function(t){var s=this._create();for(var c in a)s._disabled[c]=t.templating.indexOf(c)===-1;return s._update(),s},o.prototype.exclude=function(t){var s=this._create();return s._excluded[t]=!0,s._update(),s},o.prototype.read=function(){var t="";this._match_pattern?t=this._input.read(this._starting_pattern):t=this._input.read(this._starting_pattern,this.__template_pattern);for(var s=this._read_template();s;)this._match_pattern?s+=this._input.read(this._match_pattern):s+=this._input.readUntil(this.__template_pattern),t+=s,s=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},o.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},o.prototype._read_template=function(){var t="",s=this._input.peek();if(s==="<"){var c=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&c==="?"&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&c==="%"&&(t=t||this.__patterns.erb.read())}else s==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=t||this.__patterns.smarty_comment.read(),t=t||this.__patterns.smarty_literal.read(),t=t||this.__patterns.smarty.read()));return t},Xt.TemplatablePattern=o,Xt}var jn;function ct(){if(jn)return Ie;jn=1;var n=Ut().InputScanner,a=st().Tokenizer,o=st().TOKEN,t=qt().Directives,s=An(),c=rt().Pattern,d=Un().TemplatablePattern;function l(x,y){return y.indexOf(x)!==-1}var i={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},f=new t(/\/\*/,/\*\//),p=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,h=/[0-9]/,V=/[^\d\.]/,N=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),g=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";g=g.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),g="\\?\\.(?!\\d) "+g,g=g.replace(/ /g,"|");var b=new RegExp(g),_="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),r=_.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),m=new RegExp("^(?:"+r.join("|")+")$"),C,w=function(x,y){a.call(this,x,y),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var D=new c(this._input),A=new d(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(s.identifier).matching(s.identifierMatch),number:D.matching(p),punct:D.matching(b),comment:D.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:D.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:D.matching(/<!--/),html_comment_end:D.matching(/-->/),include:D.starting_with(/#include/).until_after(s.lineBreak),shebang:D.starting_with(/#!/).until_after(s.lineBreak),xml:D.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};w.prototype=new a,w.prototype._is_comment=function(x){return x.type===i.COMMENT||x.type===i.BLOCK_COMMENT||x.type===i.UNKNOWN},w.prototype._is_opening=function(x){return x.type===i.START_BLOCK||x.type===i.START_EXPR},w.prototype._is_closing=function(x,y){return(x.type===i.END_BLOCK||x.type===i.END_EXPR)&&y&&(x.text==="]"&&y.text==="["||x.text===")"&&y.text==="("||x.text==="}"&&y.text==="{")},w.prototype._reset=function(){C=!1},w.prototype._get_next_token=function(x,y){var D=null;this._readWhitespace();var A=this._input.peek();return A===null?this._create_token(i.EOF,""):(D=D||this._read_non_javascript(A),D=D||this._read_string(A),D=D||this._read_pair(A,this._input.peek(1)),D=D||this._read_word(x),D=D||this._read_singles(A),D=D||this._read_comment(A),D=D||this._read_regexp(A,x),D=D||this._read_xml(A,x),D=D||this._read_punctuation(),D=D||this._create_token(i.UNKNOWN,this._input.next()),D)},w.prototype._read_word=function(x){var y;if(y=this.__patterns.identifier.read(),y!=="")return y=y.replace(s.allLineBreaks,`
|
|
32
|
-
`),!(
|
|
31
|
+
You passed in: '`+this.raw_options[t]+"'");return d},n.prototype._is_valid_selection=function(t,s){return t.length&&s.length&&!t.some(function(c){return s.indexOf(c)===-1})};function a(t,s){var c={};t=o(t);var d;for(d in t)d!==s&&(c[d]=t[d]);if(s&&t[s])for(d in t[s])c[d]=t[s][d];return c}function o(t){var s={},c;for(c in t){var d=c.replace(/-/g,"_");s[d]=t[c]}return s}return Xe.Options=n,Xe.normalizeOpts=o,Xe.mergeOpts=a,Xe}var Sn;function Fn(){if(Sn)return Mt;Sn=1;var n=zt().Options,a=["before-newline","after-newline","preserve-newline"];function o(t){n.call(this,t,"js");var s=this.raw_options.brace_style||null;s==="expand-strict"?this.raw_options.brace_style="expand":s==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var c=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var d=0;d<c.length;d++)c[d]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=c[d];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",a),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return o.prototype=new n,Mt.Options=o,Mt}var Ue={},It={},On;function Ut(){if(On)return It;On=1;var n=RegExp.prototype.hasOwnProperty("sticky");function a(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}return a.prototype.restart=function(){this.__position=0},a.prototype.back=function(){this.__position>0&&(this.__position-=1)},a.prototype.hasNext=function(){return this.__position<this.__input_length},a.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},a.prototype.peek=function(o){var t=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(t=this.__input.charAt(o)),t},a.prototype.__match=function(o,t){o.lastIndex=t;var s=o.exec(this.__input);return s&&!(n&&o.sticky)&&s.index!==t&&(s=null),s},a.prototype.test=function(o,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(o,t):!1},a.prototype.testChar=function(o,t){var s=this.peek(t);return o.lastIndex=0,s!==null&&o.test(s)},a.prototype.match=function(o){var t=this.__match(o,this.__position);return t?this.__position+=t[0].length:t=null,t},a.prototype.read=function(o,t,s){var c="",d;return o&&(d=this.match(o),d&&(c+=d[0])),t&&(d||!o)&&(c+=this.readUntil(t,s)),c},a.prototype.readUntil=function(o,t){var s="",c=this.__position;o.lastIndex=this.__position;var d=o.exec(this.__input);return d?(c=d.index,t&&(c+=d[0].length)):c=this.__input_length,s=this.__input.substring(this.__position,c),this.__position=c,s},a.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},a.prototype.get_regexp=function(o,t){var s=null,c="g";return t&&n&&(c="y"),typeof o=="string"&&o!==""?s=new RegExp(o,c):o&&(s=new RegExp(o.source,c)),s},a.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},a.prototype.peekUntilAfter=function(o){var t=this.__position,s=this.readUntilAfter(o);return this.__position=t,s},a.prototype.lookBack=function(o){var t=this.__position-1;return t>=o.length&&this.__input.substring(t-o.length,t).toLowerCase()===o},It.InputScanner=a,It}var it={},jt={},Ln;function _a(){if(Ln)return jt;Ln=1;function n(a){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=a}return n.prototype.restart=function(){this.__position=0},n.prototype.isEmpty=function(){return this.__tokens_length===0},n.prototype.hasNext=function(){return this.__position<this.__tokens_length},n.prototype.next=function(){var a=null;return this.hasNext()&&(a=this.__tokens[this.__position],this.__position+=1),a},n.prototype.peek=function(a){var o=null;return a=a||0,a+=this.__position,a>=0&&a<this.__tokens_length&&(o=this.__tokens[a]),o},n.prototype.add=function(a){this.__parent_token&&(a.parent=this.__parent_token),this.__tokens.push(a),this.__tokens_length+=1},jt.TokenStream=n,jt}var Kt={},Wt={},Pn;function rt(){if(Pn)return Wt;Pn=1;function n(a,o){this._input=a,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,o&&(this._starting_pattern=this._input.get_regexp(o._starting_pattern,!0),this._match_pattern=this._input.get_regexp(o._match_pattern,!0),this._until_pattern=this._input.get_regexp(o._until_pattern),this._until_after=o._until_after)}return n.prototype.read=function(){var a=this._input.read(this._starting_pattern);return(!this._starting_pattern||a)&&(a+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),a},n.prototype.read_match=function(){return this._input.match(this._match_pattern)},n.prototype.until_after=function(a){var o=this._create();return o._until_after=!0,o._until_pattern=this._input.get_regexp(a),o._update(),o},n.prototype.until=function(a){var o=this._create();return o._until_after=!1,o._until_pattern=this._input.get_regexp(a),o._update(),o},n.prototype.starting_with=function(a){var o=this._create();return o._starting_pattern=this._input.get_regexp(a,!0),o._update(),o},n.prototype.matching=function(a){var o=this._create();return o._match_pattern=this._input.get_regexp(a,!0),o._update(),o},n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){},Wt.Pattern=n,Wt}var Rn;function fa(){if(Rn)return Kt;Rn=1;var n=rt().Pattern;function a(o,t){n.call(this,o,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return a.prototype=new n,a.prototype.__set_whitespace_patterns=function(o,t){o+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+o+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},a.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var o=this._input.read(this._match_pattern);if(o===" ")this.whitespace_before_token=" ";else if(o){var t=this.__split(this._newline_regexp,o);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return o},a.prototype.matching=function(o,t){var s=this._create();return s.__set_whitespace_patterns(o,t),s._update(),s},a.prototype._create=function(){return new a(this._input,this)},a.prototype.__split=function(o,t){o.lastIndex=0;for(var s=0,c=[],d=o.exec(t);d;)c.push(t.substring(s,d.index)),s=d.index+d[0].length,d=o.exec(t);return s<t.length?c.push(t.substring(s,t.length)):c.push(""),c},Kt.WhitespacePattern=a,Kt}var Mn;function st(){if(Mn)return it;Mn=1;var n=Ut().InputScanner,a=kn().Token,o=_a().TokenStream,t=fa().WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},c=function(d,l){this._input=new n(d),this._options=l||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new t(this._input)};return c.prototype.tokenize=function(){this._input.restart(),this.__tokens=new o,this._reset();for(var d,l=new a(s.START,""),i=null,f=[],p=new o;l.type!==s.EOF;){for(d=this._get_next_token(l,i);this._is_comment(d);)p.add(d),d=this._get_next_token(l,i);p.isEmpty()||(d.comments_before=p,p=new o),d.parent=i,this._is_opening(d)?(f.push(i),i=d):i&&this._is_closing(d,i)&&(d.opened=i,i.closed=d,i=f.pop(),d.parent=i),d.previous=l,l.next=d,this.__tokens.add(d),l=d}return this.__tokens},c.prototype._is_first_token=function(){return this.__tokens.isEmpty()},c.prototype._reset=function(){},c.prototype._get_next_token=function(d,l){this._readWhitespace();var i=this._input.read(/.+/g);return i?this._create_token(s.RAW,i):this._create_token(s.EOF,"")},c.prototype._is_comment=function(d){return!1},c.prototype._is_opening=function(d){return!1},c.prototype._is_closing=function(d,l){return!1},c.prototype._create_token=function(d,l){var i=new a(d,l,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return i},c.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},it.Tokenizer=c,it.TOKEN=s,it}var Ht={},zn;function qt(){if(zn)return Ht;zn=1;function n(a,o){a=typeof a=="string"?a:a.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+o,"g")}return n.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(a);t;)o[t[1]]=t[2],t=this.__directive_pattern.exec(a);return o},n.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)},Ht.Directives=n,Ht}var Xt={},In;function Un(){if(In)return Xt;In=1;var n=rt().Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function o(t,s){n.call(this,t,s),this.__template_pattern=null,this._disabled=Object.assign({},a),this._excluded=Object.assign({},a),s&&(this.__template_pattern=this._input.get_regexp(s.__template_pattern),this._excluded=Object.assign(this._excluded,s._excluded),this._disabled=Object.assign(this._disabled,s._disabled));var c=new n(t);this.__patterns={handlebars_comment:c.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:c.starting_with(/{{{/).until_after(/}}}/),handlebars:c.starting_with(/{{/).until_after(/}}/),php:c.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:c.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:c.starting_with(/{%/).until_after(/%}/),django_value:c.starting_with(/{{/).until_after(/}}/),django_comment:c.starting_with(/{#/).until_after(/#}/),smarty:c.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:c.starting_with(/{\*/).until_after(/\*}/),smarty_literal:c.starting_with(/{literal}/).until_after(/{\/literal}/)}}return o.prototype=new n,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(t){var s=this._create();return s._disabled[t]=!0,s._update(),s},o.prototype.read_options=function(t){var s=this._create();for(var c in a)s._disabled[c]=t.templating.indexOf(c)===-1;return s._update(),s},o.prototype.exclude=function(t){var s=this._create();return s._excluded[t]=!0,s._update(),s},o.prototype.read=function(){var t="";this._match_pattern?t=this._input.read(this._starting_pattern):t=this._input.read(this._starting_pattern,this.__template_pattern);for(var s=this._read_template();s;)this._match_pattern?s+=this._input.read(this._match_pattern):s+=this._input.readUntil(this.__template_pattern),t+=s,s=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},o.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},o.prototype._read_template=function(){var t="",s=this._input.peek();if(s==="<"){var c=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&c==="?"&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&c==="%"&&(t=t||this.__patterns.erb.read())}else s==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=t||this.__patterns.smarty_comment.read(),t=t||this.__patterns.smarty_literal.read(),t=t||this.__patterns.smarty.read()));return t},Xt.TemplatablePattern=o,Xt}var jn;function ct(){if(jn)return Ue;jn=1;var n=Ut().InputScanner,a=st().Tokenizer,o=st().TOKEN,t=qt().Directives,s=An(),c=rt().Pattern,d=Un().TemplatablePattern;function l(C,y){return y.indexOf(C)!==-1}var i={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},f=new t(/\/\*/,/\*\//),p=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,h=/[0-9]/,V=/[^\d\.]/,N=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),x=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";x=x.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),x="\\?\\.(?!\\d) "+x,x=x.replace(/ /g,"|");var w=new RegExp(x),_="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),r=_.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),m=new RegExp("^(?:"+r.join("|")+")$"),g,D=function(C,y){a.call(this,C,y),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var b=new c(this._input),A=new d(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(s.identifier).matching(s.identifierMatch),number:b.matching(p),punct:b.matching(w),comment:b.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:b.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:b.matching(/<!--/),html_comment_end:b.matching(/-->/),include:b.starting_with(/#include/).until_after(s.lineBreak),shebang:b.starting_with(/#!/).until_after(s.lineBreak),xml:b.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};D.prototype=new a,D.prototype._is_comment=function(C){return C.type===i.COMMENT||C.type===i.BLOCK_COMMENT||C.type===i.UNKNOWN},D.prototype._is_opening=function(C){return C.type===i.START_BLOCK||C.type===i.START_EXPR},D.prototype._is_closing=function(C,y){return(C.type===i.END_BLOCK||C.type===i.END_EXPR)&&y&&(C.text==="]"&&y.text==="["||C.text===")"&&y.text==="("||C.text==="}"&&y.text==="{")},D.prototype._reset=function(){g=!1},D.prototype._get_next_token=function(C,y){var b=null;this._readWhitespace();var A=this._input.peek();return A===null?this._create_token(i.EOF,""):(b=b||this._read_non_javascript(A),b=b||this._read_string(A),b=b||this._read_pair(A,this._input.peek(1)),b=b||this._read_word(C),b=b||this._read_singles(A),b=b||this._read_comment(A),b=b||this._read_regexp(A,C),b=b||this._read_xml(A,C),b=b||this._read_punctuation(),b=b||this._create_token(i.UNKNOWN,this._input.next()),b)},D.prototype._read_word=function(C){var y;if(y=this.__patterns.identifier.read(),y!=="")return y=y.replace(s.allLineBreaks,`
|
|
32
|
+
`),!(C.type===i.DOT||C.type===i.RESERVED&&(C.text==="set"||C.text==="get"))&&m.test(y)?(y==="in"||y==="of")&&(C.type===i.WORD||C.type===i.STRING)?this._create_token(i.OPERATOR,y):this._create_token(i.RESERVED,y):this._create_token(i.WORD,y);if(y=this.__patterns.number.read(),y!=="")return this._create_token(i.WORD,y)},D.prototype._read_singles=function(C){var y=null;return C==="("||C==="["?y=this._create_token(i.START_EXPR,C):C===")"||C==="]"?y=this._create_token(i.END_EXPR,C):C==="{"?y=this._create_token(i.START_BLOCK,C):C==="}"?y=this._create_token(i.END_BLOCK,C):C===";"?y=this._create_token(i.SEMICOLON,C):C==="."&&V.test(this._input.peek(1))?y=this._create_token(i.DOT,C):C===","&&(y=this._create_token(i.COMMA,C)),y&&this._input.next(),y},D.prototype._read_pair=function(C,y){var b=null;return C==="#"&&y==="{"&&(b=this._create_token(i.START_BLOCK,C+y)),b&&(this._input.next(),this._input.next()),b},D.prototype._read_punctuation=function(){var C=this.__patterns.punct.read();if(C!=="")return C==="="?this._create_token(i.EQUALS,C):C==="?."?this._create_token(i.DOT,C):this._create_token(i.OPERATOR,C)},D.prototype._read_non_javascript=function(C){var y="";if(C==="#"){if(this._is_first_token()&&(y=this.__patterns.shebang.read(),y))return this._create_token(i.UNKNOWN,y.trim()+`
|
|
33
33
|
`);if(y=this.__patterns.include.read(),y)return this._create_token(i.UNKNOWN,y.trim()+`
|
|
34
|
-
`);
|
|
35
|
-
`),y=this._create_token(i.BLOCK_COMMENT,
|
|
36
|
-
`),this._create_token(i.STRING,y)}return null},
|
|
37
|
-
`),this._create_token(i.STRING,
|
|
38
|
-
`&&this._input.next(),T+=this._input.next()):
|
|
34
|
+
`);C=this._input.next();var b="#";if(this._input.hasNext()&&this._input.testChar(h)){do C=this._input.next(),b+=C;while(this._input.hasNext()&&C!=="#"&&C!=="=");return C==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(b+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(b+="{}",this._input.next(),this._input.next())),this._create_token(i.WORD,b)}this._input.back()}else if(C==="<"&&this._is_first_token()){if(y=this.__patterns.html_comment_start.read(),y){for(;this._input.hasNext()&&!this._input.testChar(s.newline);)y+=this._input.next();return g=!0,this._create_token(i.COMMENT,y)}}else if(g&&C==="-"&&(y=this.__patterns.html_comment_end.read(),y))return g=!1,this._create_token(i.COMMENT,y);return null},D.prototype._read_comment=function(C){var y=null;if(C==="/"){var b="";if(this._input.peek(1)==="*"){b=this.__patterns.block_comment.read();var A=f.get_directives(b);A&&A.ignore==="start"&&(b+=f.readIgnored(this._input)),b=b.replace(s.allLineBreaks,`
|
|
35
|
+
`),y=this._create_token(i.BLOCK_COMMENT,b),y.directives=A}else this._input.peek(1)==="/"&&(b=this.__patterns.comment.read(),y=this._create_token(i.COMMENT,b))}return y},D.prototype._read_string=function(C){if(C==="`"||C==="'"||C==='"'){var y=this._input.next();return this.has_char_escapes=!1,C==="`"?y+=this._read_string_recursive("`",!0,"${"):y+=this._read_string_recursive(C),this.has_char_escapes&&this._options.unescape_strings&&(y=k(y)),this._input.peek()===C&&(y+=this._input.next()),y=y.replace(s.allLineBreaks,`
|
|
36
|
+
`),this._create_token(i.STRING,y)}return null},D.prototype._allow_regexp_or_xml=function(C){return C.type===i.RESERVED&&l(C.text,["return","case","throw","else","do","typeof","yield"])||C.type===i.END_EXPR&&C.text===")"&&C.opened.previous.type===i.RESERVED&&l(C.opened.previous.text,["if","while","for"])||l(C.type,[i.COMMENT,i.START_EXPR,i.START_BLOCK,i.START,i.END_BLOCK,i.OPERATOR,i.EQUALS,i.EOF,i.SEMICOLON,i.COMMA])},D.prototype._read_regexp=function(C,y){if(C==="/"&&this._allow_regexp_or_xml(y)){for(var b=this._input.next(),A=!1,u=!1;this._input.hasNext()&&(A||u||this._input.peek()!==C)&&!this._input.testChar(s.newline);)b+=this._input.peek(),A?A=!1:(A=this._input.peek()==="\\",this._input.peek()==="["?u=!0:this._input.peek()==="]"&&(u=!1)),this._input.next();return this._input.peek()===C&&(b+=this._input.next(),b+=this._input.read(s.identifier)),this._create_token(i.STRING,b)}return null},D.prototype._read_xml=function(C,y){if(this._options.e4x&&C==="<"&&this._allow_regexp_or_xml(y)){var b="",A=this.__patterns.xml.read_match();if(A){for(var u=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),E=u.indexOf("{")===0,T=0;A;){var M=!!A[1],z=A[2],H=!!A[A.length-1]||z.slice(0,8)==="![CDATA[";if(!H&&(z===u||E&&z.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(M?--T:++T),b+=A[0],T<=0)break;A=this.__patterns.xml.read_match()}return A||(b+=this._input.match(/[\s\S]*/g)[0]),b=b.replace(s.allLineBreaks,`
|
|
37
|
+
`),this._create_token(i.STRING,b)}}return null};function k(C){for(var y="",b=0,A=new n(C),u=null;A.hasNext();)if(u=A.match(/([\s]|[^\\]|\\\\)+/g),u&&(y+=u[0]),A.peek()==="\\"){if(A.next(),A.peek()==="x")u=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u")u=A.match(/u([0-9A-Fa-f]{4})/g),u||(u=A.match(/u\{([0-9A-Fa-f]+)\}/g));else{y+="\\",A.hasNext()&&(y+=A.next());continue}if(!u||(b=parseInt(u[1],16),b>126&&b<=255&&u[0].indexOf("x")===0))return C;b>=0&&b<32||b>1114111?y+="\\"+u[0]:b===34||b===39||b===92?y+="\\"+String.fromCharCode(b):y+=String.fromCharCode(b)}return y}return D.prototype._read_string_recursive=function(C,y,b){var A,u;C==="'"?u=this.__patterns.single_quote:C==='"'?u=this.__patterns.double_quote:C==="`"?u=this.__patterns.template_text:C==="}"&&(u=this.__patterns.template_expression);for(var E=u.read(),T="";this._input.hasNext();){if(T=this._input.next(),T===C||!y&&s.newline.test(T)){this._input.back();break}else T==="\\"&&this._input.hasNext()?(A=this._input.peek(),A==="x"||A==="u"?this.has_char_escapes=!0:A==="\r"&&this._input.peek(1)===`
|
|
38
|
+
`&&this._input.next(),T+=this._input.next()):b&&(b==="${"&&T==="$"&&this._input.peek()==="{"&&(T+=this._input.next()),b===T&&(C==="`"?T+=this._read_string_recursive("}",y,"`"):T+=this._read_string_recursive("`",y,"${"),this._input.hasNext()&&(T+=this._input.next())));T+=u.read(),E+=T}return E},Ue.Tokenizer=D,Ue.TOKEN=i,Ue.positionable_operators=N.slice(),Ue.line_starters=_.slice(),Ue}var Kn;function ha(){if(Kn)return Ft;Kn=1;var n=Lt().Output,a=kn().Token,o=An(),t=Fn().Options,s=ct().Tokenizer,c=ct().line_starters,d=ct().positionable_operators,l=ct().TOKEN;function i(u,E){return E.indexOf(u)!==-1}function f(u){return u.replace(/^\s+/g,"")}function p(u){for(var E={},T=0;T<u.length;T++)E[u[T].replace(/-/g,"_")]=u[T];return E}function h(u,E){return u&&u.type===l.RESERVED&&u.text===E}function V(u,E){return u&&u.type===l.RESERVED&&i(u.text,E)}var N=["case","return","do","if","throw","else","await","break","continue","async"],x=["before-newline","after-newline","preserve-newline"],w=p(x),_=[w.before_newline,w.preserve_newline],r={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function m(u,E){E.multiline_frame||E.mode===r.ForInitializer||E.mode===r.Conditional||u.remove_indent(E.start_line_index)}function g(u){u=u.replace(o.allLineBreaks,`
|
|
39
39
|
`);for(var E=[],T=u.indexOf(`
|
|
40
40
|
`);T!==-1;)E.push(u.substring(0,T)),u=u.substring(T+1),T=u.indexOf(`
|
|
41
|
-
`);return u.length&&E.push(u),E}function
|
|
42
|
-
`,E&&o.lineBreak.test(E||"")&&(T=E.match(o.lineBreak)[0]));for(var M=this._tokens.next();M;)this.handle_token(M),this._last_last_text=this._flags.last_token.text,this._flags.last_token=M,M=this._tokens.next();return u=this._output.get_code(T),u},D.prototype.handle_token=function(u,E){u.type===l.START_EXPR?this.handle_start_expr(u):u.type===l.END_EXPR?this.handle_end_expr(u):u.type===l.START_BLOCK?this.handle_start_block(u):u.type===l.END_BLOCK?this.handle_end_block(u):u.type===l.WORD?this.handle_word(u):u.type===l.RESERVED?this.handle_word(u):u.type===l.SEMICOLON?this.handle_semicolon(u):u.type===l.STRING?this.handle_string(u):u.type===l.EQUALS?this.handle_equals(u):u.type===l.OPERATOR?this.handle_operator(u):u.type===l.COMMA?this.handle_comma(u):u.type===l.BLOCK_COMMENT?this.handle_block_comment(u,E):u.type===l.COMMENT?this.handle_comment(u,E):u.type===l.DOT?this.handle_dot(u):u.type===l.EOF?this.handle_eof(u):u.type===l.UNKNOWN?this.handle_unknown(u,E):this.handle_unknown(u,E)},D.prototype.handle_whitespace_and_comments=function(u,E){var T=u.newlines,M=this._options.keep_array_indentation&&w(this._flags.mode);if(u.comments_before)for(var z=u.comments_before.next();z;)this.handle_whitespace_and_comments(z,E),this.handle_token(z,E),z=u.comments_before.next();if(M)for(var H=0;H<T;H+=1)this.print_newline(H>0,E);else if(this._options.max_preserve_newlines&&T>this._options.max_preserve_newlines&&(T=this._options.max_preserve_newlines),this._options.preserve_newlines&&T>1){this.print_newline(!1,E);for(var P=1;P<T;P+=1)this.print_newline(!0,E)}};var A=["async","break","continue","return","throw","yield"];return D.prototype.allow_wrap_or_preserved_newline=function(u,E){if(E=E===void 0?!1:E,!this._output.just_added_newline()){var T=this._options.preserve_newlines&&u.newlines||E,M=i(this._flags.last_token.text,d)||i(u.text,d);if(M){var z=i(this._flags.last_token.text,d)&&i(this._options.operator_position,_)||i(u.text,d);T=T&&z}if(T)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(V(this._flags.last_token,A))return;this._output.set_wrap_point()}}},D.prototype.print_newline=function(u,E){if(!E&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==l.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var T=this._tokens.peek();this._flags.mode===r.Statement&&!(this._flags.if_block&&h(T,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(u)&&(this._flags.multiline_frame=!0)},D.prototype.print_token_line_indentation=function(u){this._output.just_added_newline()&&(this._options.keep_array_indentation&&u.newlines&&(u.text==="["||w(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(u.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},D.prototype.print_token=function(u){if(this._output.raw){this._output.add_raw_token(u);return}if(this._options.comma_first&&u.previous&&u.previous.type===l.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var E=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(E),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(u),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(u),this._output.non_breaking_space=!0,this._output.add_token(u.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},D.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},D.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},D.prototype.set_mode=function(u){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,u),this._flags=this.create_flags(this._previous_flags,u),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},D.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===r.Statement&&m(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},D.prototype.start_of_object_property=function(){return this._flags.parent.mode===r.ObjectLiteral&&this._flags.mode===r.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"]))},D.prototype.start_of_statement=function(u){var E=!1;return E=E||V(this._flags.last_token,["var","let","const"])&&u.type===l.WORD,E=E||h(this._flags.last_token,"do"),E=E||!(this._flags.parent.mode===r.ObjectLiteral&&this._flags.mode===r.Statement)&&V(this._flags.last_token,A)&&!u.newlines,E=E||h(this._flags.last_token,"else")&&!(h(u,"if")&&!u.comments_before),E=E||this._flags.last_token.type===l.END_EXPR&&(this._previous_flags.mode===r.ForInitializer||this._previous_flags.mode===r.Conditional),E=E||this._flags.last_token.type===l.WORD&&this._flags.mode===r.BlockStatement&&!this._flags.in_case&&!(u.text==="--"||u.text==="++")&&this._last_last_text!=="function"&&u.type!==l.WORD&&u.type!==l.RESERVED,E=E||this._flags.mode===r.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"])),E?(this.set_mode(r.Statement),this.indent(),this.handle_whitespace_and_comments(u,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u,V(u,["do","for","if","while"])),!0):!1},D.prototype.handle_start_expr=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u);var E=r.Expression;if(u.text==="["){if(this._flags.last_token.type===l.WORD||this._flags.last_token.text===")"){V(this._flags.last_token,c)&&(this._output.space_before_token=!0),this.print_token(u),this.set_mode(E),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}E=r.ArrayLiteral,w(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),i(this._flags.last_token.type,[l.START_EXPR,l.END_EXPR,l.WORD,l.OPERATOR,l.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===l.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,E=r.ForInitializer):i(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,E=r.Conditional):i(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&u.whitespace_before===""?this._output.space_before_token=!1:(i(this._flags.last_token.text,c)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u);else if(this._flags.last_token.type===l.WORD){this._output.space_before_token=!1;var T=this._tokens.peek(-3);if(this._options.space_after_named_function&&T){var M=this._tokens.peek(-4);V(T,["async","function"])||T.text==="*"&&V(M,["async","function"])?this._output.space_before_token=!0:this._flags.mode===r.ObjectLiteral?(T.text==="{"||T.text===","||T.text==="*"&&(M.text==="{"||M.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(u);(this._flags.last_token.type===l.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(i(this._last_last_text,["function","yield"])||this._flags.mode===r.ObjectLiteral&&i(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===l.START_BLOCK?this.print_newline():(this._flags.last_token.type===l.END_EXPR||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===l.COMMA)&&this.allow_wrap_or_preserved_newline(u,u.newlines),this.print_token(u),this.set_mode(E),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},D.prototype.handle_end_expr=function(u){for(;this._flags.mode===r.Statement;)this.restore_mode();this.handle_whitespace_and_comments(u),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(u,u.text==="]"&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===l.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(u),this.restore_mode(),m(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===r.Conditional&&(this._previous_flags.mode=r.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},D.prototype.handle_start_block=function(u){this.handle_whitespace_and_comments(u);var E=this._tokens.peek(),T=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===l.END_EXPR?(this.set_mode(r.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(r.BlockStatement):T&&(i(T.text,[":",","])&&i(E.type,[l.STRING,l.WORD,l.RESERVED])||i(E.text,["get","set","..."])&&i(T.type,[l.WORD,l.RESERVED]))?i(this._last_last_text,["class","interface"])&&!i(T.text,[":",","])?this.set_mode(r.BlockStatement):this.set_mode(r.ObjectLiteral):this._flags.last_token.type===l.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(r.BlockStatement):i(this._flags.last_token.type,[l.EQUALS,l.START_EXPR,l.COMMA,l.OPERATOR])||V(this._flags.last_token,["return","throw","import","default"])?this.set_mode(r.ObjectLiteral):this.set_mode(r.BlockStatement),this._flags.last_token&&V(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var M=!E.comments_before&&E.text==="}",z=M&&this._flags.last_word==="function"&&this._flags.last_token.type===l.END_EXPR;if(this._options.brace_preserve_inline){var H=0,P=null;this._flags.inline_frame=!0;do if(H+=1,P=this._tokens.peek(H-1),P.newlines){this._flags.inline_frame=!1;break}while(P.type!==l.EOF&&!(P.type===l.END_BLOCK&&P.opened===u))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==l.OPERATOR&&(z||this._flags.last_token.type===l.EQUALS||V(this._flags.last_token,N)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(w(this._previous_flags.mode)&&(this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.COMMA)&&((this._flags.last_token.type===l.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(u),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==l.OPERATOR&&this._flags.last_token.type!==l.START_EXPR&&(i(this._flags.last_token.type,[l.START_BLOCK,l.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(u),this.indent(),!M&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},D.prototype.handle_end_block=function(u){for(this.handle_whitespace_and_comments(u);this._flags.mode===r.Statement;)this.restore_mode();var E=this._flags.last_token.type===l.START_BLOCK;this._flags.inline_frame&&!E?this._output.space_before_token=!0:this._options.brace_style==="expand"?E||this.print_newline():E||(w(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(u)},D.prototype.handle_word=function(u){if(u.type===l.RESERVED){if(i(u.text,["set","get"])&&this._flags.mode!==r.ObjectLiteral)u.type=l.WORD;else if(u.text==="import"&&i(this._tokens.peek().text,["(","."]))u.type=l.WORD;else if(i(u.text,["as","from"])&&!this._flags.import_block)u.type=l.WORD;else if(this._flags.mode===r.ObjectLiteral){var E=this._tokens.peek();E.text===":"&&(u.type=l.WORD)}}if(this.start_of_statement(u)?V(this._flags.last_token,["var","let","const"])&&u.type===l.WORD&&(this._flags.declaration_statement=!0):u.newlines&&!k(this._flags.mode)&&(this._flags.last_token.type!==l.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==l.EQUALS&&(this._options.preserve_newlines||!V(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(u),this.print_newline()):this.handle_whitespace_and_comments(u),this._flags.do_block&&!this._flags.do_while)if(h(u,"while")){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&h(u,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===r.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&V(u,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(u),this._flags.in_case=!0;return}if((this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)&&!this.start_of_object_property()&&!(i(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===r.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(u),h(u,"function")){(i(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(i(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===l.OPERATOR))&&!this._output.just_added_blankline()&&!u.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD?V(this._flags.last_token,["get","set","new","export"])||V(this._flags.last_token,A)?this._output.space_before_token=!0:h(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===l.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(k(this._flags.mode)||w(this._flags.mode))||this.print_newline(),this.print_token(u),this._flags.last_word=u.text;return}var T="NONE";if(this._flags.last_token.type===l.END_BLOCK?this._previous_flags.inline_frame?T="SPACE":V(u,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines?T="NEWLINE":(T="SPACE",this._output.space_before_token=!0):T="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&this._flags.mode===r.BlockStatement?T="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&k(this._flags.mode)?T="SPACE":this._flags.last_token.type===l.STRING?T="NEWLINE":this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.last_token.text==="*"&&(i(this._last_last_text,["function","yield"])||this._flags.mode===r.ObjectLiteral&&i(this._last_last_text,["{",","]))?T="SPACE":this._flags.last_token.type===l.START_BLOCK?this._flags.inline_frame?T="SPACE":T="NEWLINE":this._flags.last_token.type===l.END_EXPR&&(this._output.space_before_token=!0,T="NEWLINE"),V(u,c)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?T="SPACE":T="NEWLINE"),V(u,["else","catch","finally"]))if((!(this._flags.last_token.type===l.END_BLOCK&&this._previous_flags.mode===r.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var M=this._output.current_line;M.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else T==="NEWLINE"?V(this._flags.last_token,N)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&V(u,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==l.END_EXPR?(this._flags.last_token.type!==l.START_EXPR||!V(u,["var","let","const"]))&&this._flags.last_token.text!==":"&&(h(u,"if")&&h(u.previous,"else")?this._output.space_before_token=!0:this.print_newline()):V(u,c)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():T==="SPACE"&&(this._output.space_before_token=!0);u.previous&&(u.previous.type===l.WORD||u.previous.type===l.RESERVED)&&(this._output.space_before_token=!0),this.print_token(u),this._flags.last_word=u.text,u.type===l.RESERVED&&(u.text==="do"?this._flags.do_block=!0:u.text==="if"?this._flags.if_block=!0:u.text==="import"?this._flags.import_block=!0:this._flags.import_block&&h(u,"from")&&(this._flags.import_block=!1))},D.prototype.handle_semicolon=function(u){this.start_of_statement(u)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(u);for(var E=this._tokens.peek();this._flags.mode===r.Statement&&!(this._flags.if_block&&h(E,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(u)},D.prototype.handle_string=function(u){u.text.startsWith("`")&&u.newlines===0&&u.whitespace_before===""&&(u.previous.text===")"||this._flags.last_token.type===l.WORD)||(this.start_of_statement(u)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(u),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u):u.text.startsWith("`")&&this._flags.last_token.type===l.END_EXPR&&(u.previous.text==="]"||u.previous.text===")")&&u.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(u)},D.prototype.handle_equals=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0},D.prototype.handle_comma=function(u){this.handle_whitespace_and_comments(u,!0),this.print_token(u),this._output.space_before_token=!0,this._flags.declaration_statement?(k(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)):this._flags.mode===r.ObjectLiteral||this._flags.mode===r.Statement&&this._flags.parent.mode===r.ObjectLiteral?(this._flags.mode===r.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)},D.prototype.handle_operator=function(u){var E=u.text==="*"&&(V(this._flags.last_token,["function","yield"])||i(this._flags.last_token.type,[l.START_BLOCK,l.COMMA,l.END_BLOCK,l.SEMICOLON])),T=i(u.text,["-","+"])&&(i(this._flags.last_token.type,[l.START_BLOCK,l.START_EXPR,l.EQUALS,l.OPERATOR])||i(this._flags.last_token.text,c)||this._flags.last_token.text===",");if(!this.start_of_statement(u)){var M=!E;this.handle_whitespace_and_comments(u,M)}if(u.text==="*"&&this._flags.last_token.type===l.DOT){this.print_token(u);return}if(u.text==="::"){this.print_token(u);return}if(i(u.text,["-","+"])&&this.start_of_object_property()){this.print_token(u);return}if(this._flags.last_token.type===l.OPERATOR&&i(this._options.operator_position,_)&&this.allow_wrap_or_preserved_newline(u),u.text===":"&&this._flags.in_case){this.print_token(u),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==l.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var z=!0,H=!0,P=!1;if(u.text===":"?this._flags.ternary_depth===0?z=!1:(this._flags.ternary_depth-=1,P=!0):u.text==="?"&&(this._flags.ternary_depth+=1),!T&&!E&&this._options.preserve_newlines&&i(u.text,d)){var K=u.text===":",I=K&&P,q=K&&!P;switch(this._options.operator_position){case b.before_newline:this._output.space_before_token=!q,this.print_token(u),(!K||I)&&this.allow_wrap_or_preserved_newline(u),this._output.space_before_token=!0;return;case b.after_newline:this._output.space_before_token=!0,!K||I?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(u):this._output.space_before_token=!1,this.print_token(u),this._output.space_before_token=!0;return;case b.preserve_newline:q||this.allow_wrap_or_preserved_newline(u),z=!(this._output.just_added_newline()||q),this._output.space_before_token=z,this.print_token(u),this._output.space_before_token=!0;return}}if(E){this.allow_wrap_or_preserved_newline(u),z=!1;var Z=this._tokens.peek();H=Z&&i(Z.type,[l.WORD,l.RESERVED])}else if(u.text==="...")this.allow_wrap_or_preserved_newline(u),z=this._flags.last_token.type===l.START_BLOCK,H=!1;else if(i(u.text,["--","++","!","~"])||T){if((this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR)&&this.allow_wrap_or_preserved_newline(u),z=!1,H=!1,u.newlines&&(u.text==="--"||u.text==="++"||u.text==="~")){var ne=V(this._flags.last_token,N)&&u.newlines;ne&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ne,!0)}this._flags.last_token.text===";"&&k(this._flags.mode)&&(z=!0),this._flags.last_token.type===l.RESERVED?z=!0:this._flags.last_token.type===l.END_EXPR?z=!(this._flags.last_token.text==="]"&&(u.text==="--"||u.text==="++")):this._flags.last_token.type===l.OPERATOR&&(z=i(u.text,["--","-","++","+"])&&i(this._flags.last_token.text,["--","-","++","+"]),i(u.text,["+","-"])&&i(this._flags.last_token.text,["--","++"])&&(H=!0)),(this._flags.mode===r.BlockStatement&&!this._flags.inline_frame||this._flags.mode===r.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||z,this.print_token(u),this._output.space_before_token=H},D.prototype.handle_block_comment=function(u,E){if(this._output.raw){this._output.add_raw_token(u),u.directives&&u.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(u.directives){this.print_newline(!1,E),this.print_token(u),u.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!o.newline.test(u.text)&&!u.newlines){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0;return}else this.print_block_commment(u,E)},D.prototype.print_block_commment=function(u,E){var T=C(u.text),M,z=!1,H=!1,P=u.whitespace_before,K=P.length;if(this.print_newline(!1,E),this.print_token_line_indentation(u),this._output.add_token(T[0]),this.print_newline(!1,E),T.length>1){for(T=T.slice(1),z=x(T,"*"),H=y(T,P),z&&(this._flags.alignment=1),M=0;M<T.length;M++)z?(this.print_token_line_indentation(u),this._output.add_token(f(T[M]))):H&&T[M]?(this.print_token_line_indentation(u),this._output.add_token(T[M].substring(K))):(this._output.current_line.set_indent(-1),this._output.add_token(T[M])),this.print_newline(!1,E);this._flags.alignment=0}},D.prototype.handle_comment=function(u,E){u.newlines?this.print_newline(!1,E):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(u),this.print_newline(!1,E)},D.prototype.handle_dot=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),V(this._flags.last_token,N)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(u,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(u)},D.prototype.handle_unknown=function(u,E){this.print_token(u),u.text[u.text.length-1]===`
|
|
43
|
-
`&&this.print_newline(!1,E)},
|
|
44
|
-
`)break;this._ch=this._input.next()}return N},h.prototype.eatWhitespace=function(V){for(var N=l.test(this._input.peek()),
|
|
45
|
-
`&&(
|
|
41
|
+
`);return u.length&&E.push(u),E}function D(u){return u===r.ArrayLiteral}function k(u){return i(u,[r.Expression,r.ForInitializer,r.Conditional])}function C(u,E){for(var T=0;T<u.length;T++){var M=u[T].trim();if(M.charAt(0)!==E)return!1}return!0}function y(u,E){for(var T=0,M=u.length,z;T<M;T++)if(z=u[T],z&&z.indexOf(E)!==0)return!1;return!0}function b(u,E){E=E||{},this._source_text=u||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new t(E)}b.prototype.create_flags=function(u,E){var T=0;u&&(T=u.indentation_level,!this._output.just_added_newline()&&u.line_indent_level>T&&(T=u.line_indent_level));var M={mode:E,parent:u,last_token:u?u.last_token:new a(l.START_BLOCK,""),last_word:u?u.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:T,alignment:0,line_indent_level:u?u.line_indent_level:T,start_line_index:this._output.get_line_number(),ternary_depth:0};return M},b.prototype._reset=function(u){var E=u.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new n(this._options,E),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(r.BlockStatement);var T=new s(u,this._options);return this._tokens=T.tokenize(),u},b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var u,E=this._reset(this._source_text),T=this._options.eol;this._options.eol==="auto"&&(T=`
|
|
42
|
+
`,E&&o.lineBreak.test(E||"")&&(T=E.match(o.lineBreak)[0]));for(var M=this._tokens.next();M;)this.handle_token(M),this._last_last_text=this._flags.last_token.text,this._flags.last_token=M,M=this._tokens.next();return u=this._output.get_code(T),u},b.prototype.handle_token=function(u,E){u.type===l.START_EXPR?this.handle_start_expr(u):u.type===l.END_EXPR?this.handle_end_expr(u):u.type===l.START_BLOCK?this.handle_start_block(u):u.type===l.END_BLOCK?this.handle_end_block(u):u.type===l.WORD?this.handle_word(u):u.type===l.RESERVED?this.handle_word(u):u.type===l.SEMICOLON?this.handle_semicolon(u):u.type===l.STRING?this.handle_string(u):u.type===l.EQUALS?this.handle_equals(u):u.type===l.OPERATOR?this.handle_operator(u):u.type===l.COMMA?this.handle_comma(u):u.type===l.BLOCK_COMMENT?this.handle_block_comment(u,E):u.type===l.COMMENT?this.handle_comment(u,E):u.type===l.DOT?this.handle_dot(u):u.type===l.EOF?this.handle_eof(u):u.type===l.UNKNOWN?this.handle_unknown(u,E):this.handle_unknown(u,E)},b.prototype.handle_whitespace_and_comments=function(u,E){var T=u.newlines,M=this._options.keep_array_indentation&&D(this._flags.mode);if(u.comments_before)for(var z=u.comments_before.next();z;)this.handle_whitespace_and_comments(z,E),this.handle_token(z,E),z=u.comments_before.next();if(M)for(var H=0;H<T;H+=1)this.print_newline(H>0,E);else if(this._options.max_preserve_newlines&&T>this._options.max_preserve_newlines&&(T=this._options.max_preserve_newlines),this._options.preserve_newlines&&T>1){this.print_newline(!1,E);for(var P=1;P<T;P+=1)this.print_newline(!0,E)}};var A=["async","break","continue","return","throw","yield"];return b.prototype.allow_wrap_or_preserved_newline=function(u,E){if(E=E===void 0?!1:E,!this._output.just_added_newline()){var T=this._options.preserve_newlines&&u.newlines||E,M=i(this._flags.last_token.text,d)||i(u.text,d);if(M){var z=i(this._flags.last_token.text,d)&&i(this._options.operator_position,_)||i(u.text,d);T=T&&z}if(T)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(V(this._flags.last_token,A))return;this._output.set_wrap_point()}}},b.prototype.print_newline=function(u,E){if(!E&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==l.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var T=this._tokens.peek();this._flags.mode===r.Statement&&!(this._flags.if_block&&h(T,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(u)&&(this._flags.multiline_frame=!0)},b.prototype.print_token_line_indentation=function(u){this._output.just_added_newline()&&(this._options.keep_array_indentation&&u.newlines&&(u.text==="["||D(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(u.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},b.prototype.print_token=function(u){if(this._output.raw){this._output.add_raw_token(u);return}if(this._options.comma_first&&u.previous&&u.previous.type===l.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var E=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(E),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(u),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(u),this._output.non_breaking_space=!0,this._output.add_token(u.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},b.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.prototype.set_mode=function(u){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,u),this._flags=this.create_flags(this._previous_flags,u),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===r.Statement&&m(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.prototype.start_of_object_property=function(){return this._flags.parent.mode===r.ObjectLiteral&&this._flags.mode===r.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"]))},b.prototype.start_of_statement=function(u){var E=!1;return E=E||V(this._flags.last_token,["var","let","const"])&&u.type===l.WORD,E=E||h(this._flags.last_token,"do"),E=E||!(this._flags.parent.mode===r.ObjectLiteral&&this._flags.mode===r.Statement)&&V(this._flags.last_token,A)&&!u.newlines,E=E||h(this._flags.last_token,"else")&&!(h(u,"if")&&!u.comments_before),E=E||this._flags.last_token.type===l.END_EXPR&&(this._previous_flags.mode===r.ForInitializer||this._previous_flags.mode===r.Conditional),E=E||this._flags.last_token.type===l.WORD&&this._flags.mode===r.BlockStatement&&!this._flags.in_case&&!(u.text==="--"||u.text==="++")&&this._last_last_text!=="function"&&u.type!==l.WORD&&u.type!==l.RESERVED,E=E||this._flags.mode===r.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"])),E?(this.set_mode(r.Statement),this.indent(),this.handle_whitespace_and_comments(u,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u,V(u,["do","for","if","while"])),!0):!1},b.prototype.handle_start_expr=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u);var E=r.Expression;if(u.text==="["){if(this._flags.last_token.type===l.WORD||this._flags.last_token.text===")"){V(this._flags.last_token,c)&&(this._output.space_before_token=!0),this.print_token(u),this.set_mode(E),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}E=r.ArrayLiteral,D(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),i(this._flags.last_token.type,[l.START_EXPR,l.END_EXPR,l.WORD,l.OPERATOR,l.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===l.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,E=r.ForInitializer):i(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,E=r.Conditional):i(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&u.whitespace_before===""?this._output.space_before_token=!1:(i(this._flags.last_token.text,c)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u);else if(this._flags.last_token.type===l.WORD){this._output.space_before_token=!1;var T=this._tokens.peek(-3);if(this._options.space_after_named_function&&T){var M=this._tokens.peek(-4);V(T,["async","function"])||T.text==="*"&&V(M,["async","function"])?this._output.space_before_token=!0:this._flags.mode===r.ObjectLiteral?(T.text==="{"||T.text===","||T.text==="*"&&(M.text==="{"||M.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(u);(this._flags.last_token.type===l.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(i(this._last_last_text,["function","yield"])||this._flags.mode===r.ObjectLiteral&&i(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===l.START_BLOCK?this.print_newline():(this._flags.last_token.type===l.END_EXPR||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===l.COMMA)&&this.allow_wrap_or_preserved_newline(u,u.newlines),this.print_token(u),this.set_mode(E),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},b.prototype.handle_end_expr=function(u){for(;this._flags.mode===r.Statement;)this.restore_mode();this.handle_whitespace_and_comments(u),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(u,u.text==="]"&&D(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===l.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(u),this.restore_mode(),m(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===r.Conditional&&(this._previous_flags.mode=r.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},b.prototype.handle_start_block=function(u){this.handle_whitespace_and_comments(u);var E=this._tokens.peek(),T=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===l.END_EXPR?(this.set_mode(r.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(r.BlockStatement):T&&(i(T.text,[":",","])&&i(E.type,[l.STRING,l.WORD,l.RESERVED])||i(E.text,["get","set","..."])&&i(T.type,[l.WORD,l.RESERVED]))?i(this._last_last_text,["class","interface"])&&!i(T.text,[":",","])?this.set_mode(r.BlockStatement):this.set_mode(r.ObjectLiteral):this._flags.last_token.type===l.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(r.BlockStatement):i(this._flags.last_token.type,[l.EQUALS,l.START_EXPR,l.COMMA,l.OPERATOR])||V(this._flags.last_token,["return","throw","import","default"])?this.set_mode(r.ObjectLiteral):this.set_mode(r.BlockStatement),this._flags.last_token&&V(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var M=!E.comments_before&&E.text==="}",z=M&&this._flags.last_word==="function"&&this._flags.last_token.type===l.END_EXPR;if(this._options.brace_preserve_inline){var H=0,P=null;this._flags.inline_frame=!0;do if(H+=1,P=this._tokens.peek(H-1),P.newlines){this._flags.inline_frame=!1;break}while(P.type!==l.EOF&&!(P.type===l.END_BLOCK&&P.opened===u))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==l.OPERATOR&&(z||this._flags.last_token.type===l.EQUALS||V(this._flags.last_token,N)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(D(this._previous_flags.mode)&&(this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.COMMA)&&((this._flags.last_token.type===l.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(u),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==l.OPERATOR&&this._flags.last_token.type!==l.START_EXPR&&(i(this._flags.last_token.type,[l.START_BLOCK,l.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(u),this.indent(),!M&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},b.prototype.handle_end_block=function(u){for(this.handle_whitespace_and_comments(u);this._flags.mode===r.Statement;)this.restore_mode();var E=this._flags.last_token.type===l.START_BLOCK;this._flags.inline_frame&&!E?this._output.space_before_token=!0:this._options.brace_style==="expand"?E||this.print_newline():E||(D(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(u)},b.prototype.handle_word=function(u){if(u.type===l.RESERVED){if(i(u.text,["set","get"])&&this._flags.mode!==r.ObjectLiteral)u.type=l.WORD;else if(u.text==="import"&&i(this._tokens.peek().text,["(","."]))u.type=l.WORD;else if(i(u.text,["as","from"])&&!this._flags.import_block)u.type=l.WORD;else if(this._flags.mode===r.ObjectLiteral){var E=this._tokens.peek();E.text===":"&&(u.type=l.WORD)}}if(this.start_of_statement(u)?V(this._flags.last_token,["var","let","const"])&&u.type===l.WORD&&(this._flags.declaration_statement=!0):u.newlines&&!k(this._flags.mode)&&(this._flags.last_token.type!==l.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==l.EQUALS&&(this._options.preserve_newlines||!V(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(u),this.print_newline()):this.handle_whitespace_and_comments(u),this._flags.do_block&&!this._flags.do_while)if(h(u,"while")){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&h(u,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===r.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&V(u,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(u),this._flags.in_case=!0;return}if((this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)&&!this.start_of_object_property()&&!(i(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===r.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(u),h(u,"function")){(i(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(i(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===l.OPERATOR))&&!this._output.just_added_blankline()&&!u.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD?V(this._flags.last_token,["get","set","new","export"])||V(this._flags.last_token,A)?this._output.space_before_token=!0:h(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===l.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(k(this._flags.mode)||D(this._flags.mode))||this.print_newline(),this.print_token(u),this._flags.last_word=u.text;return}var T="NONE";if(this._flags.last_token.type===l.END_BLOCK?this._previous_flags.inline_frame?T="SPACE":V(u,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines?T="NEWLINE":(T="SPACE",this._output.space_before_token=!0):T="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&this._flags.mode===r.BlockStatement?T="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&k(this._flags.mode)?T="SPACE":this._flags.last_token.type===l.STRING?T="NEWLINE":this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.last_token.text==="*"&&(i(this._last_last_text,["function","yield"])||this._flags.mode===r.ObjectLiteral&&i(this._last_last_text,["{",","]))?T="SPACE":this._flags.last_token.type===l.START_BLOCK?this._flags.inline_frame?T="SPACE":T="NEWLINE":this._flags.last_token.type===l.END_EXPR&&(this._output.space_before_token=!0,T="NEWLINE"),V(u,c)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?T="SPACE":T="NEWLINE"),V(u,["else","catch","finally"]))if((!(this._flags.last_token.type===l.END_BLOCK&&this._previous_flags.mode===r.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var M=this._output.current_line;M.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else T==="NEWLINE"?V(this._flags.last_token,N)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&V(u,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==l.END_EXPR?(this._flags.last_token.type!==l.START_EXPR||!V(u,["var","let","const"]))&&this._flags.last_token.text!==":"&&(h(u,"if")&&h(u.previous,"else")?this._output.space_before_token=!0:this.print_newline()):V(u,c)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&D(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():T==="SPACE"&&(this._output.space_before_token=!0);u.previous&&(u.previous.type===l.WORD||u.previous.type===l.RESERVED)&&(this._output.space_before_token=!0),this.print_token(u),this._flags.last_word=u.text,u.type===l.RESERVED&&(u.text==="do"?this._flags.do_block=!0:u.text==="if"?this._flags.if_block=!0:u.text==="import"?this._flags.import_block=!0:this._flags.import_block&&h(u,"from")&&(this._flags.import_block=!1))},b.prototype.handle_semicolon=function(u){this.start_of_statement(u)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(u);for(var E=this._tokens.peek();this._flags.mode===r.Statement&&!(this._flags.if_block&&h(E,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(u)},b.prototype.handle_string=function(u){u.text.startsWith("`")&&u.newlines===0&&u.whitespace_before===""&&(u.previous.text===")"||this._flags.last_token.type===l.WORD)||(this.start_of_statement(u)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(u),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u):u.text.startsWith("`")&&this._flags.last_token.type===l.END_EXPR&&(u.previous.text==="]"||u.previous.text===")")&&u.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(u)},b.prototype.handle_equals=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0},b.prototype.handle_comma=function(u){this.handle_whitespace_and_comments(u,!0),this.print_token(u),this._output.space_before_token=!0,this._flags.declaration_statement?(k(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)):this._flags.mode===r.ObjectLiteral||this._flags.mode===r.Statement&&this._flags.parent.mode===r.ObjectLiteral?(this._flags.mode===r.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)},b.prototype.handle_operator=function(u){var E=u.text==="*"&&(V(this._flags.last_token,["function","yield"])||i(this._flags.last_token.type,[l.START_BLOCK,l.COMMA,l.END_BLOCK,l.SEMICOLON])),T=i(u.text,["-","+"])&&(i(this._flags.last_token.type,[l.START_BLOCK,l.START_EXPR,l.EQUALS,l.OPERATOR])||i(this._flags.last_token.text,c)||this._flags.last_token.text===",");if(!this.start_of_statement(u)){var M=!E;this.handle_whitespace_and_comments(u,M)}if(u.text==="*"&&this._flags.last_token.type===l.DOT){this.print_token(u);return}if(u.text==="::"){this.print_token(u);return}if(i(u.text,["-","+"])&&this.start_of_object_property()){this.print_token(u);return}if(this._flags.last_token.type===l.OPERATOR&&i(this._options.operator_position,_)&&this.allow_wrap_or_preserved_newline(u),u.text===":"&&this._flags.in_case){this.print_token(u),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==l.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var z=!0,H=!0,P=!1;if(u.text===":"?this._flags.ternary_depth===0?z=!1:(this._flags.ternary_depth-=1,P=!0):u.text==="?"&&(this._flags.ternary_depth+=1),!T&&!E&&this._options.preserve_newlines&&i(u.text,d)){var K=u.text===":",I=K&&P,q=K&&!P;switch(this._options.operator_position){case w.before_newline:this._output.space_before_token=!q,this.print_token(u),(!K||I)&&this.allow_wrap_or_preserved_newline(u),this._output.space_before_token=!0;return;case w.after_newline:this._output.space_before_token=!0,!K||I?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(u):this._output.space_before_token=!1,this.print_token(u),this._output.space_before_token=!0;return;case w.preserve_newline:q||this.allow_wrap_or_preserved_newline(u),z=!(this._output.just_added_newline()||q),this._output.space_before_token=z,this.print_token(u),this._output.space_before_token=!0;return}}if(E){this.allow_wrap_or_preserved_newline(u),z=!1;var $=this._tokens.peek();H=$&&i($.type,[l.WORD,l.RESERVED])}else if(u.text==="...")this.allow_wrap_or_preserved_newline(u),z=this._flags.last_token.type===l.START_BLOCK,H=!1;else if(i(u.text,["--","++","!","~"])||T){if((this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR)&&this.allow_wrap_or_preserved_newline(u),z=!1,H=!1,u.newlines&&(u.text==="--"||u.text==="++"||u.text==="~")){var ne=V(this._flags.last_token,N)&&u.newlines;ne&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ne,!0)}this._flags.last_token.text===";"&&k(this._flags.mode)&&(z=!0),this._flags.last_token.type===l.RESERVED?z=!0:this._flags.last_token.type===l.END_EXPR?z=!(this._flags.last_token.text==="]"&&(u.text==="--"||u.text==="++")):this._flags.last_token.type===l.OPERATOR&&(z=i(u.text,["--","-","++","+"])&&i(this._flags.last_token.text,["--","-","++","+"]),i(u.text,["+","-"])&&i(this._flags.last_token.text,["--","++"])&&(H=!0)),(this._flags.mode===r.BlockStatement&&!this._flags.inline_frame||this._flags.mode===r.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||z,this.print_token(u),this._output.space_before_token=H},b.prototype.handle_block_comment=function(u,E){if(this._output.raw){this._output.add_raw_token(u),u.directives&&u.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(u.directives){this.print_newline(!1,E),this.print_token(u),u.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!o.newline.test(u.text)&&!u.newlines){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0;return}else this.print_block_commment(u,E)},b.prototype.print_block_commment=function(u,E){var T=g(u.text),M,z=!1,H=!1,P=u.whitespace_before,K=P.length;if(this.print_newline(!1,E),this.print_token_line_indentation(u),this._output.add_token(T[0]),this.print_newline(!1,E),T.length>1){for(T=T.slice(1),z=C(T,"*"),H=y(T,P),z&&(this._flags.alignment=1),M=0;M<T.length;M++)z?(this.print_token_line_indentation(u),this._output.add_token(f(T[M]))):H&&T[M]?(this.print_token_line_indentation(u),this._output.add_token(T[M].substring(K))):(this._output.current_line.set_indent(-1),this._output.add_token(T[M])),this.print_newline(!1,E);this._flags.alignment=0}},b.prototype.handle_comment=function(u,E){u.newlines?this.print_newline(!1,E):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(u),this.print_newline(!1,E)},b.prototype.handle_dot=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),V(this._flags.last_token,N)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(u,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(u)},b.prototype.handle_unknown=function(u,E){this.print_token(u),u.text[u.text.length-1]===`
|
|
43
|
+
`&&this.print_newline(!1,E)},b.prototype.handle_eof=function(u){for(;this._flags.mode===r.Statement;)this.restore_mode();this.handle_whitespace_and_comments(u)},Ft.Beautifier=b,Ft}var Wn;function ma(){if(Wn)return lt.exports;Wn=1;var n=ha().Beautifier,a=Fn().Options;function o(t,s){var c=new n(t,s);return c.beautify()}return lt.exports=o,lt.exports.defaultOptions=function(){return new a},lt.exports}var dt={exports:{}},Gt={},Jt={},Hn;function qn(){if(Hn)return Jt;Hn=1;var n=zt().Options;function a(o){n.call(this,o,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var c=0;c<s.length;c++)s[c]!=="expand"?this.brace_style="collapse":this.brace_style=s[c]}return a.prototype=new n,Jt.Options=a,Jt}var Xn;function ga(){if(Xn)return Gt;Xn=1;var n=qn().Options,a=Lt().Output,o=Ut().InputScanner,t=qt().Directives,s=new t(/\/\*/,/\*\//),c=/\r\n|[\r\n]/,d=/\r\n|[\r\n]/g,l=/\s/,i=/(?:\s|\n)+/g,f=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,p=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function h(V,N){this._source_text=V||"",this._options=new n(N),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return h.prototype.eatString=function(V){var N="";for(this._ch=this._input.next();this._ch;){if(N+=this._ch,this._ch==="\\")N+=this._input.next();else if(V.indexOf(this._ch)!==-1||this._ch===`
|
|
44
|
+
`)break;this._ch=this._input.next()}return N},h.prototype.eatWhitespace=function(V){for(var N=l.test(this._input.peek()),x=0;l.test(this._input.peek());)this._ch=this._input.next(),V&&this._ch===`
|
|
45
|
+
`&&(x===0||x<this._options.max_preserve_newlines)&&(x++,this._output.add_new_line(!0));return N},h.prototype.foundNestedPseudoClass=function(){for(var V=0,N=1,x=this._input.peek(N);x;){if(x==="{")return!0;if(x==="(")V+=1;else if(x===")"){if(V===0)return!1;V-=1}else if(x===";"||x==="}")return!1;N++,x=this._input.peek(N)}return!1},h.prototype.print_string=function(V){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(V)},h.prototype.preserveSingleSpace=function(V){V&&(this._output.space_before_token=!0)},h.prototype.indent=function(){this._indentLevel++},h.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},h.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var V=this._source_text,N=this._options.eol;N==="auto"&&(N=`
|
|
46
46
|
`,V&&c.test(V||"")&&(N=V.match(c)[0])),V=V.replace(d,`
|
|
47
|
-
`);var
|
|
48
|
-
`&&x&&this._output.add_new_line()}var I=this._output.get_code(N);return I},Gt.Beautifier=h,Gt}var Gn;function Ca(){if(Gn)return dt.exports;Gn=1;var n=ga().Beautifier,a=qn().Options;function o(t,s){var c=new n(t,s);return c.beautify()}return dt.exports=o,dt.exports.defaultOptions=function(){return new a},dt.exports}var ut={exports:{}},Yt={},Qt={},Jn;function Yn(){if(Jn)return Qt;Jn=1;var n=zt().Options;function a(o){n.call(this,o,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return a.prototype=new n,Qt.Options=a,Qt}var pt={},Qn;function Zn(){if(Qn)return pt;Qn=1;var n=st().Tokenizer,a=st().TOKEN,o=qt().Directives,t=Un().TemplatablePattern,s=rt().Pattern,c={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},d=new o(/<\!--/,/-->/),l=function(i,f){n.call(this,i,f),this._current_tag_name="";var p=new t(this._input).read_options(this._options),h=new s(this._input);if(this.__patterns={word:p.until(/[\n\r\t <]/),word_control_flow_close_excluded:p.until(/[\n\r\t <}]/),single_quote:p.until_after(/'/),double_quote:p.until_after(/"/),attribute:p.until(/[\n\r\t =>]|\/>/),element_name:p.until(/[\n\r\t >\/]/),angular_control_flow_start:h.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),handlebars_open:h.until(/[\n\r\t }]/),handlebars_raw_close:h.until(/}}/),comment:h.starting_with(/<!--/).until_after(/-->/),cdata:h.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:h.starting_with(/<!\[/).until_after(/]>/),processing:h.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var V=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=h.matching(V).until_after(V)}};return l.prototype=new n,l.prototype._is_comment=function(i){return!1},l.prototype._is_opening=function(i){return i.type===c.TAG_OPEN||i.type===c.CONTROL_FLOW_OPEN},l.prototype._is_closing=function(i,f){return i.type===c.TAG_CLOSE&&f&&((i.text===">"||i.text==="/>")&&f.text[0]==="<"||i.text==="}}"&&f.text[0]==="{"&&f.text[1]==="{")||i.type===c.CONTROL_FLOW_CLOSE&&i.text==="}"&&f.text.endsWith("{")},l.prototype._reset=function(){this._current_tag_name=""},l.prototype._get_next_token=function(i,f){var p=null;this._readWhitespace();var h=this._input.peek();return h===null?this._create_token(c.EOF,""):(p=p||this._read_open_handlebars(h,f),p=p||this._read_attribute(h,i,f),p=p||this._read_close(h,f),p=p||this._read_script_and_style(h,i),p=p||this._read_control_flows(h,f),p=p||this._read_raw_content(h,i,f),p=p||this._read_content_word(h,f),p=p||this._read_comment_or_cdata(h),p=p||this._read_processing(h),p=p||this._read_open(h,f),p=p||this._create_token(c.UNKNOWN,this._input.next()),p)},l.prototype._read_comment_or_cdata=function(i){var f=null,p=null,h=null;if(i==="<"){var V=this._input.peek(1);V==="!"&&(p=this.__patterns.comment.read(),p?(h=d.get_directives(p),h&&h.ignore==="start"&&(p+=d.readIgnored(this._input))):p=this.__patterns.cdata.read()),p&&(f=this._create_token(c.COMMENT,p),f.directives=h)}return f},l.prototype._read_processing=function(i){var f=null,p=null,h=null;if(i==="<"){var V=this._input.peek(1);(V==="!"||V==="?")&&(p=this.__patterns.conditional_comment.read(),p=p||this.__patterns.processing.read()),p&&(f=this._create_token(c.COMMENT,p),f.directives=h)}return f},l.prototype._read_open=function(i,f){var p=null,h=null;return(!f||f.type===c.CONTROL_FLOW_OPEN)&&i==="<"&&(p=this._input.next(),this._input.peek()==="/"&&(p+=this._input.next()),p+=this.__patterns.element_name.read(),h=this._create_token(c.TAG_OPEN,p)),h},l.prototype._read_open_handlebars=function(i,f){var p=null,h=null;return(!f||f.type===c.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&i==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(p=this.__patterns.handlebars_comment.read(),p=p||this.__patterns.handlebars.read(),h=this._create_token(c.COMMENT,p)):(p=this.__patterns.handlebars_open.read(),h=this._create_token(c.TAG_OPEN,p))),h},l.prototype._read_control_flows=function(i,f){var p="",h=null;if(!this._options.templating.includes("angular"))return h;if(i==="@"){if(p=this.__patterns.angular_control_flow_start.read(),p==="")return h;for(var V=p.endsWith("(")?1:0,N=0;!(p.endsWith("{")&&V===N);){var g=this._input.next();if(g===null)break;g==="("?V++:g===")"&&N++,p+=g}h=this._create_token(c.CONTROL_FLOW_OPEN,p)}else i==="}"&&f&&f.type===c.CONTROL_FLOW_OPEN&&(p=this._input.next(),h=this._create_token(c.CONTROL_FLOW_CLOSE,p));return h},l.prototype._read_close=function(i,f){var p=null,h=null;return f&&f.type===c.TAG_OPEN&&(f.text[0]==="<"&&(i===">"||i==="/"&&this._input.peek(1)===">")?(p=this._input.next(),i==="/"&&(p+=this._input.next()),h=this._create_token(c.TAG_CLOSE,p)):f.text[0]==="{"&&i==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),h=this._create_token(c.TAG_CLOSE,"}}"))),h},l.prototype._read_attribute=function(i,f,p){var h=null,V="";if(p&&p.text[0]==="<")if(i==="=")h=this._create_token(c.EQUALS,this._input.next());else if(i==='"'||i==="'"){var N=this._input.next();i==='"'?N+=this.__patterns.double_quote.read():N+=this.__patterns.single_quote.read(),h=this._create_token(c.VALUE,N)}else V=this.__patterns.attribute.read(),V&&(f.type===c.EQUALS?h=this._create_token(c.VALUE,V):h=this._create_token(c.ATTRIBUTE,V));return h},l.prototype._is_content_unformatted=function(i){return this._options.void_elements.indexOf(i)===-1&&(this._options.content_unformatted.indexOf(i)!==-1||this._options.unformatted.indexOf(i)!==-1)},l.prototype._read_raw_content=function(i,f,p){var h="";if(p&&p.text[0]==="{")h=this.__patterns.handlebars_raw_close.read();else if(f.type===c.TAG_CLOSE&&f.opened.text[0]==="<"&&f.text[0]!=="/"){var V=f.opened.text.substr(1).toLowerCase();this._is_content_unformatted(V)&&(h=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig")))}return h?this._create_token(c.TEXT,h):null},l.prototype._read_script_and_style=function(i,f){if(f.type===c.TAG_CLOSE&&f.opened.text[0]==="<"&&f.text[0]!=="/"){var p=f.opened.text.substr(1).toLowerCase();if(p==="script"||p==="style"){var h=this._read_comment_or_cdata(i);if(h)return h.type=c.TEXT,h;var V=this._input.readUntil(new RegExp("</"+p+"[\\n\\r\\t ]*?>","ig"));if(V)return this._create_token(c.TEXT,V)}}return null},l.prototype._read_content_word=function(i,f){var p="";return this._options.unformatted_content_delimiter&&i===this._options.unformatted_content_delimiter[0]&&(p=this.__patterns.unformatted_content_delimiter.read()),p||(p=f&&f.type===c.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),p?this._create_token(c.TEXT,p):null},pt.Tokenizer=l,pt.TOKEN=c,pt}var $n;function xa(){if($n)return Yt;$n=1;var n=Yn().Options,a=Lt().Output,o=Zn().Tokenizer,t=Zn().TOKEN,s=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g,d=function(_,r){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=_.max_preserve_newlines,this.preserve_newlines=_.preserve_newlines,this._output=new a(_,r)};d.prototype.current_line_has_match=function(_){return this._output.current_line.has_match(_)},d.prototype.set_space_before_token=function(_,r){this._output.space_before_token=_,this._output.non_breaking_space=r},d.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},d.prototype.add_raw_token=function(_){this._output.add_raw_token(_)},d.prototype.print_preserved_newlines=function(_){var r=0;_.type!==t.TEXT&&_.previous.type!==t.TEXT&&(r=_.newlines?1:0),this.preserve_newlines&&(r=_.newlines<this.max_preserve_newlines+1?_.newlines:this.max_preserve_newlines+1);for(var m=0;m<r;m++)this.print_newline(m>0);return r!==0},d.prototype.traverse_whitespace=function(_){return _.whitespace_before||_.newlines?(this.print_preserved_newlines(_)||(this._output.space_before_token=!0),!0):!1},d.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},d.prototype.print_newline=function(_){this._output.add_new_line(_)},d.prototype.print_token=function(_){_.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(_.text))},d.prototype.indent=function(){this.indent_level++},d.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},d.prototype.get_full_indent=function(_){return _=this.indent_level+(_||0),_<1?"":this._output.get_indent_string(_)};var l=function(_){for(var r=null,m=_.next;m.type!==t.EOF&&_.closed!==m;){if(m.type===t.ATTRIBUTE&&m.text==="type"){m.next&&m.next.type===t.EQUALS&&m.next.next&&m.next.next.type===t.VALUE&&(r=m.next.next.text);break}m=m.next}return r},i=function(_,r){var m=null,C=null;return r.closed?(_==="script"?m="text/javascript":_==="style"&&(m="text/css"),m=l(r)||m,m.search("text/css")>-1?C="css":m.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?C="javascript":m.search(/(text|application|dojo)\/(x-)?(html)/)>-1?C="html":m.search(/test\/null/)>-1&&(C="null"),C):null};function f(_,r){return r.indexOf(_)!==-1}function p(_,r,m){this.parent=_||null,this.tag=r?r.tag_name:"",this.indent_level=m||0,this.parser_token=r||null}function h(_){this._printer=_,this._current_frame=null}h.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},h.prototype.record_tag=function(_){var r=new p(this._current_frame,_,this._printer.indent_level);this._current_frame=r},h.prototype._try_pop_frame=function(_){var r=null;return _&&(r=_.parser_token,this._printer.indent_level=_.indent_level,this._current_frame=_.parent),r},h.prototype._get_frame=function(_,r){for(var m=this._current_frame;m&&_.indexOf(m.tag)===-1;){if(r&&r.indexOf(m.tag)!==-1){m=null;break}m=m.parent}return m},h.prototype.try_pop=function(_,r){var m=this._get_frame([_],r);return this._try_pop_frame(m)},h.prototype.indent_to_tag=function(_){var r=this._get_frame(_);r&&(this._printer.indent_level=r.indent_level)};function V(_,r,m,C){this._source_text=_||"",r=r||{},this._js_beautify=m,this._css_beautify=C,this._tag_stack=null;var w=new n(r,"html");this._options=w,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}V.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _=this._source_text,r=this._options.eol;this._options.eol==="auto"&&(r=`
|
|
47
|
+
`);var x=V.match(/^[\t ]*/)[0];this._output=new a(this._options,x),this._input=new o(V),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var w=0,_=!1,r=!1,m=!1,g=!1,D=!1,k=this._ch,C=!1,y,b,A;y=this._input.read(i),b=y!=="",A=k,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),k=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var u=this._input.read(f),E=s.get_directives(u);E&&E.ignore==="start"&&(u+=s.readIgnored(this._input)),this.print_string(u),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(p)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(b),this.print_string(this._ch);var T=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);T.match(/[ :]$/)&&(T=this.eatString(": ").replace(/\s+$/,""),this.print_string(T),this._output.space_before_token=!0),w===0&&T.indexOf(":")!==-1&&(r=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(b),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var M=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);M.match(/[ :]$/)&&(M=this.eatString(": ").replace(/\s+$/,""),this.print_string(M),this._output.space_before_token=!0),w===0&&M.indexOf(":")!==-1?(r=!0,this.indent()):M in this.NESTED_AT_RULE?(this._nestedLevel+=1,M in this.CONDITIONAL_GROUP_RULE&&(m=!0)):w===0&&!r&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(b),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")r&&(r=!1,this.outdent()),g=!1,m?(m=!1,_=this._indentLevel>=this._nestedLevel):_=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&_&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(A==="("?this._output.space_before_token=!1:A!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),A==="{"&&this._output.trim(!0),r&&(this.outdent(),r=!1),this.print_string(this._ch),_=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var z=0;z<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;z++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[z])){C=!0;break}(_||m)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&w===0?(this.print_string(":"),r||(r=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var H=A==='"'||A==="'";this.preserveSingleSpace(H||b),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")C=!1,w===0?(r&&(this.outdent(),r=!1),g=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),w++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),w&&(w--,this.outdent()));else{var P=!1;this._input.lookBack("with")&&(P=!0),this.preserveSingleSpace(b||P),this.print_string(this._ch),r&&A==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),D=!0):(this.eatWhitespace(),w++,this.indent())}else if(this._ch===")")w&&(w--,this.outdent()),D&&this._input.peek()===";"&&this._options.selector_separator_newline&&(D=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!r||D)&&w===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!r&&w===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&l.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(b),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),l.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var K=A==='"'||A==="'";this.preserveSingleSpace(K||b),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
48
|
+
`&&C&&this._output.add_new_line()}var I=this._output.get_code(N);return I},Gt.Beautifier=h,Gt}var Gn;function Ca(){if(Gn)return dt.exports;Gn=1;var n=ga().Beautifier,a=qn().Options;function o(t,s){var c=new n(t,s);return c.beautify()}return dt.exports=o,dt.exports.defaultOptions=function(){return new a},dt.exports}var ut={exports:{}},Yt={},Qt={},Jn;function Yn(){if(Jn)return Qt;Jn=1;var n=zt().Options;function a(o){n.call(this,o,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return a.prototype=new n,Qt.Options=a,Qt}var pt={},Qn;function Zn(){if(Qn)return pt;Qn=1;var n=st().Tokenizer,a=st().TOKEN,o=qt().Directives,t=Un().TemplatablePattern,s=rt().Pattern,c={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},d=new o(/<\!--/,/-->/),l=function(i,f){n.call(this,i,f),this._current_tag_name="";var p=new t(this._input).read_options(this._options),h=new s(this._input);if(this.__patterns={word:p.until(/[\n\r\t <]/),word_control_flow_close_excluded:p.until(/[\n\r\t <}]/),single_quote:p.until_after(/'/),double_quote:p.until_after(/"/),attribute:p.until(/[\n\r\t =>]|\/>/),element_name:p.until(/[\n\r\t >\/]/),angular_control_flow_start:h.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),handlebars_open:h.until(/[\n\r\t }]/),handlebars_raw_close:h.until(/}}/),comment:h.starting_with(/<!--/).until_after(/-->/),cdata:h.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:h.starting_with(/<!\[/).until_after(/]>/),processing:h.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var V=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=h.matching(V).until_after(V)}};return l.prototype=new n,l.prototype._is_comment=function(i){return!1},l.prototype._is_opening=function(i){return i.type===c.TAG_OPEN||i.type===c.CONTROL_FLOW_OPEN},l.prototype._is_closing=function(i,f){return i.type===c.TAG_CLOSE&&f&&((i.text===">"||i.text==="/>")&&f.text[0]==="<"||i.text==="}}"&&f.text[0]==="{"&&f.text[1]==="{")||i.type===c.CONTROL_FLOW_CLOSE&&i.text==="}"&&f.text.endsWith("{")},l.prototype._reset=function(){this._current_tag_name=""},l.prototype._get_next_token=function(i,f){var p=null;this._readWhitespace();var h=this._input.peek();return h===null?this._create_token(c.EOF,""):(p=p||this._read_open_handlebars(h,f),p=p||this._read_attribute(h,i,f),p=p||this._read_close(h,f),p=p||this._read_script_and_style(h,i),p=p||this._read_control_flows(h,f),p=p||this._read_raw_content(h,i,f),p=p||this._read_content_word(h,f),p=p||this._read_comment_or_cdata(h),p=p||this._read_processing(h),p=p||this._read_open(h,f),p=p||this._create_token(c.UNKNOWN,this._input.next()),p)},l.prototype._read_comment_or_cdata=function(i){var f=null,p=null,h=null;if(i==="<"){var V=this._input.peek(1);V==="!"&&(p=this.__patterns.comment.read(),p?(h=d.get_directives(p),h&&h.ignore==="start"&&(p+=d.readIgnored(this._input))):p=this.__patterns.cdata.read()),p&&(f=this._create_token(c.COMMENT,p),f.directives=h)}return f},l.prototype._read_processing=function(i){var f=null,p=null,h=null;if(i==="<"){var V=this._input.peek(1);(V==="!"||V==="?")&&(p=this.__patterns.conditional_comment.read(),p=p||this.__patterns.processing.read()),p&&(f=this._create_token(c.COMMENT,p),f.directives=h)}return f},l.prototype._read_open=function(i,f){var p=null,h=null;return(!f||f.type===c.CONTROL_FLOW_OPEN)&&i==="<"&&(p=this._input.next(),this._input.peek()==="/"&&(p+=this._input.next()),p+=this.__patterns.element_name.read(),h=this._create_token(c.TAG_OPEN,p)),h},l.prototype._read_open_handlebars=function(i,f){var p=null,h=null;return(!f||f.type===c.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&i==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(p=this.__patterns.handlebars_comment.read(),p=p||this.__patterns.handlebars.read(),h=this._create_token(c.COMMENT,p)):(p=this.__patterns.handlebars_open.read(),h=this._create_token(c.TAG_OPEN,p))),h},l.prototype._read_control_flows=function(i,f){var p="",h=null;if(!this._options.templating.includes("angular"))return h;if(i==="@"){if(p=this.__patterns.angular_control_flow_start.read(),p==="")return h;for(var V=p.endsWith("(")?1:0,N=0;!(p.endsWith("{")&&V===N);){var x=this._input.next();if(x===null)break;x==="("?V++:x===")"&&N++,p+=x}h=this._create_token(c.CONTROL_FLOW_OPEN,p)}else i==="}"&&f&&f.type===c.CONTROL_FLOW_OPEN&&(p=this._input.next(),h=this._create_token(c.CONTROL_FLOW_CLOSE,p));return h},l.prototype._read_close=function(i,f){var p=null,h=null;return f&&f.type===c.TAG_OPEN&&(f.text[0]==="<"&&(i===">"||i==="/"&&this._input.peek(1)===">")?(p=this._input.next(),i==="/"&&(p+=this._input.next()),h=this._create_token(c.TAG_CLOSE,p)):f.text[0]==="{"&&i==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),h=this._create_token(c.TAG_CLOSE,"}}"))),h},l.prototype._read_attribute=function(i,f,p){var h=null,V="";if(p&&p.text[0]==="<")if(i==="=")h=this._create_token(c.EQUALS,this._input.next());else if(i==='"'||i==="'"){var N=this._input.next();i==='"'?N+=this.__patterns.double_quote.read():N+=this.__patterns.single_quote.read(),h=this._create_token(c.VALUE,N)}else V=this.__patterns.attribute.read(),V&&(f.type===c.EQUALS?h=this._create_token(c.VALUE,V):h=this._create_token(c.ATTRIBUTE,V));return h},l.prototype._is_content_unformatted=function(i){return this._options.void_elements.indexOf(i)===-1&&(this._options.content_unformatted.indexOf(i)!==-1||this._options.unformatted.indexOf(i)!==-1)},l.prototype._read_raw_content=function(i,f,p){var h="";if(p&&p.text[0]==="{")h=this.__patterns.handlebars_raw_close.read();else if(f.type===c.TAG_CLOSE&&f.opened.text[0]==="<"&&f.text[0]!=="/"){var V=f.opened.text.substr(1).toLowerCase();this._is_content_unformatted(V)&&(h=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig")))}return h?this._create_token(c.TEXT,h):null},l.prototype._read_script_and_style=function(i,f){if(f.type===c.TAG_CLOSE&&f.opened.text[0]==="<"&&f.text[0]!=="/"){var p=f.opened.text.substr(1).toLowerCase();if(p==="script"||p==="style"){var h=this._read_comment_or_cdata(i);if(h)return h.type=c.TEXT,h;var V=this._input.readUntil(new RegExp("</"+p+"[\\n\\r\\t ]*?>","ig"));if(V)return this._create_token(c.TEXT,V)}}return null},l.prototype._read_content_word=function(i,f){var p="";return this._options.unformatted_content_delimiter&&i===this._options.unformatted_content_delimiter[0]&&(p=this.__patterns.unformatted_content_delimiter.read()),p||(p=f&&f.type===c.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),p?this._create_token(c.TEXT,p):null},pt.Tokenizer=l,pt.TOKEN=c,pt}var $n;function xa(){if($n)return Yt;$n=1;var n=Yn().Options,a=Lt().Output,o=Zn().Tokenizer,t=Zn().TOKEN,s=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g,d=function(_,r){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=_.max_preserve_newlines,this.preserve_newlines=_.preserve_newlines,this._output=new a(_,r)};d.prototype.current_line_has_match=function(_){return this._output.current_line.has_match(_)},d.prototype.set_space_before_token=function(_,r){this._output.space_before_token=_,this._output.non_breaking_space=r},d.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},d.prototype.add_raw_token=function(_){this._output.add_raw_token(_)},d.prototype.print_preserved_newlines=function(_){var r=0;_.type!==t.TEXT&&_.previous.type!==t.TEXT&&(r=_.newlines?1:0),this.preserve_newlines&&(r=_.newlines<this.max_preserve_newlines+1?_.newlines:this.max_preserve_newlines+1);for(var m=0;m<r;m++)this.print_newline(m>0);return r!==0},d.prototype.traverse_whitespace=function(_){return _.whitespace_before||_.newlines?(this.print_preserved_newlines(_)||(this._output.space_before_token=!0),!0):!1},d.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},d.prototype.print_newline=function(_){this._output.add_new_line(_)},d.prototype.print_token=function(_){_.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(_.text))},d.prototype.indent=function(){this.indent_level++},d.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},d.prototype.get_full_indent=function(_){return _=this.indent_level+(_||0),_<1?"":this._output.get_indent_string(_)};var l=function(_){for(var r=null,m=_.next;m.type!==t.EOF&&_.closed!==m;){if(m.type===t.ATTRIBUTE&&m.text==="type"){m.next&&m.next.type===t.EQUALS&&m.next.next&&m.next.next.type===t.VALUE&&(r=m.next.next.text);break}m=m.next}return r},i=function(_,r){var m=null,g=null;return r.closed?(_==="script"?m="text/javascript":_==="style"&&(m="text/css"),m=l(r)||m,m.search("text/css")>-1?g="css":m.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?g="javascript":m.search(/(text|application|dojo)\/(x-)?(html)/)>-1?g="html":m.search(/test\/null/)>-1&&(g="null"),g):null};function f(_,r){return r.indexOf(_)!==-1}function p(_,r,m){this.parent=_||null,this.tag=r?r.tag_name:"",this.indent_level=m||0,this.parser_token=r||null}function h(_){this._printer=_,this._current_frame=null}h.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},h.prototype.record_tag=function(_){var r=new p(this._current_frame,_,this._printer.indent_level);this._current_frame=r},h.prototype._try_pop_frame=function(_){var r=null;return _&&(r=_.parser_token,this._printer.indent_level=_.indent_level,this._current_frame=_.parent),r},h.prototype._get_frame=function(_,r){for(var m=this._current_frame;m&&_.indexOf(m.tag)===-1;){if(r&&r.indexOf(m.tag)!==-1){m=null;break}m=m.parent}return m},h.prototype.try_pop=function(_,r){var m=this._get_frame([_],r);return this._try_pop_frame(m)},h.prototype.indent_to_tag=function(_){var r=this._get_frame(_);r&&(this._printer.indent_level=r.indent_level)};function V(_,r,m,g){this._source_text=_||"",r=r||{},this._js_beautify=m,this._css_beautify=g,this._tag_stack=null;var D=new n(r,"html");this._options=D,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}V.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _=this._source_text,r=this._options.eol;this._options.eol==="auto"&&(r=`
|
|
49
49
|
`,_&&s.test(_)&&(r=_.match(s)[0])),_=_.replace(c,`
|
|
50
|
-
`);var m=_.match(/^[\t ]*/)[0],
|
|
51
|
-
`,
|
|
52
|
-
`)!==-1)&&(u=u[3].match(/[ \t]+$/),u&&(r.whitespace_before=u[0]))}if(
|
|
53
|
-
`};E.prototype=this._options.raw_options;var T=new E;
|
|
50
|
+
`);var m=_.match(/^[\t ]*/)[0],g={text:"",type:""},D=new N(this._options),k=new d(this._options,m),C=new o(_,this._options).tokenize();this._tag_stack=new h(k);for(var y=null,b=C.next();b.type!==t.EOF;)b.type===t.TAG_OPEN||b.type===t.COMMENT?(y=this._handle_tag_open(k,b,D,g,C),D=y):b.type===t.ATTRIBUTE||b.type===t.EQUALS||b.type===t.VALUE||b.type===t.TEXT&&!D.tag_complete?y=this._handle_inside_tag(k,b,D,g):b.type===t.TAG_CLOSE?y=this._handle_tag_close(k,b,D):b.type===t.TEXT?y=this._handle_text(k,b,D):b.type===t.CONTROL_FLOW_OPEN?y=this._handle_control_flow_open(k,b):b.type===t.CONTROL_FLOW_CLOSE?y=this._handle_control_flow_close(k,b):k.add_raw_token(b),g=y,b=C.next();var A=k._output.get_code(r);return A},V.prototype._handle_control_flow_open=function(_,r){var m={text:r.text,type:r.type};return _.set_space_before_token(r.newlines||r.whitespace_before!=="",!0),r.newlines?_.print_preserved_newlines(r):_.set_space_before_token(r.newlines||r.whitespace_before!=="",!0),_.print_token(r),_.indent(),m},V.prototype._handle_control_flow_close=function(_,r){var m={text:r.text,type:r.type};return _.deindent(),r.newlines?_.print_preserved_newlines(r):_.set_space_before_token(r.newlines||r.whitespace_before!=="",!0),_.print_token(r),m},V.prototype._handle_tag_close=function(_,r,m){var g={text:r.text,type:r.type};return _.alignment_size=0,m.tag_complete=!0,_.set_space_before_token(r.newlines||r.whitespace_before!=="",!0),m.is_unformatted?_.add_raw_token(r):(m.tag_start_char==="<"&&(_.set_space_before_token(r.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&m.has_wrapped_attrs&&_.print_newline(!1)),_.print_token(r)),m.indent_content&&!(m.is_unformatted||m.is_content_unformatted)&&(_.indent(),m.indent_content=!1),!m.is_inline_element&&!(m.is_unformatted||m.is_content_unformatted)&&_.set_wrap_point(),g},V.prototype._handle_inside_tag=function(_,r,m,g){var D=m.has_wrapped_attrs,k={text:r.text,type:r.type};return _.set_space_before_token(r.newlines||r.whitespace_before!=="",!0),m.is_unformatted?_.add_raw_token(r):m.tag_start_char==="{"&&r.type===t.TEXT?_.print_preserved_newlines(r)?(r.newlines=0,_.add_raw_token(r)):_.print_token(r):(r.type===t.ATTRIBUTE?_.set_space_before_token(!0):(r.type===t.EQUALS||r.type===t.VALUE&&r.previous.type===t.EQUALS)&&_.set_space_before_token(!1),r.type===t.ATTRIBUTE&&m.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(_.traverse_whitespace(r),D=D||r.newlines!==0),this._is_wrap_attributes_force&&m.attr_count>=this._options.wrap_attributes_min_attrs&&(g.type!==t.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(_.print_newline(!1),D=!0)),_.print_token(r),D=D||_.previous_token_wrapped(),m.has_wrapped_attrs=D),k},V.prototype._handle_text=function(_,r,m){var g={text:r.text,type:"TK_CONTENT"};return m.custom_beautifier_name?this._print_custom_beatifier_text(_,r,m):m.is_unformatted||m.is_content_unformatted?_.add_raw_token(r):(_.traverse_whitespace(r),_.print_token(r)),g},V.prototype._print_custom_beatifier_text=function(_,r,m){var g=this;if(r.text!==""){var D=r.text,k,C=1,y="",b="";m.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?k=this._js_beautify:m.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?k=this._css_beautify:m.custom_beautifier_name==="html"&&(k=function(z,H){var P=new V(z,H,g._js_beautify,g._css_beautify);return P.beautify()}),this._options.indent_scripts==="keep"?C=0:this._options.indent_scripts==="separate"&&(C=-_.indent_level);var A=_.get_full_indent(C);if(D=D.replace(/\n[ \t]*$/,""),m.custom_beautifier_name!=="html"&&D[0]==="<"&&D.match(/^(<!--|<!\[CDATA\[)/)){var u=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(D);if(!u){_.add_raw_token(r);return}y=A+u[1]+`
|
|
51
|
+
`,D=u[4],u[5]&&(b=A+u[5]),D=D.replace(/\n[ \t]*$/,""),(u[2]||u[3].indexOf(`
|
|
52
|
+
`)!==-1)&&(u=u[3].match(/[ \t]+$/),u&&(r.whitespace_before=u[0]))}if(D)if(k){var E=function(){this.eol=`
|
|
53
|
+
`};E.prototype=this._options.raw_options;var T=new E;D=k(A+D,T)}else{var M=r.whitespace_before;M&&(D=D.replace(new RegExp(`
|
|
54
54
|
(`+M+")?","g"),`
|
|
55
|
-
`)),
|
|
56
|
-
`+A)}y&&(
|
|
57
|
-
`+D
|
|
58
|
-
`)===-1||(m.is_inline_element||m.is_unformatted||_.print_newline(!1),this._calcluate_parent_multiline(_,m))}else if(m.is_end_tag){var x=!1;x=m.start_tag_token&&m.start_tag_token.multiline_content,x=x||!m.is_inline_element&&!(C.is_inline_element||C.is_unformatted)&&!(w.type===t.TAG_CLOSE&&m.start_tag_token===C)&&w.type!=="TK_CONTENT",(m.is_content_unformatted||m.is_unformatted)&&(x=!1),x&&_.print_newline(!1)}else m.indent_content=!m.custom_beautifier_name,m.tag_start_char==="<"&&(m.tag_name==="html"?m.indent_content=this._options.indent_inner_html:m.tag_name==="head"?m.indent_content=this._options.indent_head_inner_html:m.tag_name==="body"&&(m.indent_content=this._options.indent_body_inner_html)),!(m.is_inline_element||m.is_unformatted)&&(w.type!=="TK_CONTENT"||m.is_content_unformatted)&&_.print_newline(!1),this._calcluate_parent_multiline(_,m)},V.prototype._calcluate_parent_multiline=function(_,r){r.parent&&_._output.just_added_newline()&&!((r.is_inline_element||r.is_unformatted)&&r.parent.is_inline_element)&&(r.parent.multiline_content=!0)};var g=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],b=["a","audio","del","ins","map","noscript","video"];return V.prototype._do_optional_end_element=function(_){var r=null;if(!(_.is_empty_element||!_.is_start_tag||!_.parent)){if(_.tag_name==="body")r=r||this._tag_stack.try_pop("head");else if(_.tag_name==="li")r=r||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(_.tag_name==="dd"||_.tag_name==="dt")r=r||this._tag_stack.try_pop("dt",["dl"]),r=r||this._tag_stack.try_pop("dd",["dl"]);else if(_.parent.tag_name==="p"&&g.indexOf(_.tag_name)!==-1){var m=_.parent.parent;(!m||b.indexOf(m.tag_name)===-1)&&(r=r||this._tag_stack.try_pop("p"))}else _.tag_name==="rp"||_.tag_name==="rt"?(r=r||this._tag_stack.try_pop("rt",["ruby","rtc"]),r=r||this._tag_stack.try_pop("rp",["ruby","rtc"])):_.tag_name==="optgroup"?r=r||this._tag_stack.try_pop("optgroup",["select"]):_.tag_name==="option"?r=r||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):_.tag_name==="colgroup"?r=r||this._tag_stack.try_pop("caption",["table"]):_.tag_name==="thead"?(r=r||this._tag_stack.try_pop("caption",["table"]),r=r||this._tag_stack.try_pop("colgroup",["table"])):_.tag_name==="tbody"||_.tag_name==="tfoot"?(r=r||this._tag_stack.try_pop("caption",["table"]),r=r||this._tag_stack.try_pop("colgroup",["table"]),r=r||this._tag_stack.try_pop("thead",["table"]),r=r||this._tag_stack.try_pop("tbody",["table"])):_.tag_name==="tr"?(r=r||this._tag_stack.try_pop("caption",["table"]),r=r||this._tag_stack.try_pop("colgroup",["table"]),r=r||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(_.tag_name==="th"||_.tag_name==="td")&&(r=r||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),r=r||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return _.parent=this._tag_stack.get_parser_token(),r}},Yt.Beautifier=V,Yt}var vn;function Va(){if(vn)return ut.exports;vn=1;var n=xa().Beautifier,a=Yn().Options;function o(t,s,c,d){var l=new n(t,s,c,d);return l.beautify()}return ut.exports=o,ut.exports.defaultOptions=function(){return new a},ut.exports}var eo;function wa(){if(eo)return qe;eo=1;var n=ma(),a=Ca(),o=Va();function t(s,c,d,l){return d=d||n,l=l||a,o(s,c,d,l)}return t.defaultOptions=o.defaultOptions,qe.js=n,qe.css=a,qe.html=t,qe}var to;function Da(){return to||(to=1,function(n){function a(o,t,s){var c=function(d,l){return o.js_beautify(d,l)};return c.js=o.js_beautify,c.css=t.css_beautify,c.html=s.html_beautify,c.js_beautify=o.js_beautify,c.css_beautify=t.css_beautify,c.html_beautify=s.html_beautify,c}(function(o){var t=wa();t.js_beautify=t.js,t.css_beautify=t.css,t.html_beautify=t.html,o.exports=a(t,t,t)})(n)}(St)),St.exports}var ba=Da();const _t=pa(ba),ya=Object.assign({name:"VeOmitInput"},{__name:"index",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请输入"},dialogTitle:{type:String,default:"内容编辑"},maxLength:{type:Number,default:50},textType:{type:String,default:"text"},example:{type:Object,default:()=>({flag:!1,text:""})}},emits:["update:modelValue"],setup(n,{expose:a,emit:o}){a();const t=n,s=o,c=e.ref(null),d=e.ref(""),l=e.computed({get:()=>t.modelValue,set:_=>s("update:modelValue",_)}),i=()=>{d.value=be(l.value),c.value?.show()},f=_=>{l.value=be(d.value),c.value?.cancel()},p=e.computed(()=>t.textType==="js"),b={props:t,emits:s,inputDialogRef:c,inputTextArea:d,internalValue:l,openInputDialog:i,confirmEdit:f,isFormatJs:p,formatCode:()=>{let _=d.value;_=_t(_,{indent_size:2,space_in_empty_paren:!0}),d.value=_},resetTextArea:()=>{d.value=""},copyExample:()=>{me(t.example.text)?je(t.example.text)?$("info","复制成功"):$("warning","复制失败"):$("warning","无样例")},copy:()=>{let _=d.value;je(_)?$("info","复制成功"):$("warning","复制失败")},ref:e.ref,computed:e.computed,CommonDialog:yn,get deepCopy(){return be},get beautify(){return _t},get copyToClipboard(){return je},get isNotEmpty(){return me},get showMessage(){return $}};return Object.defineProperty(b,"__isScriptSetup",{enumerable:!1,value:!0}),b}});function Na(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-input"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-col"),p=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["custom-omit-input-wrapper",n.$attrs.class])},[e.createVNode(l,{modelValue:t.internalValue,"onUpdate:modelValue":a[0]||(a[0]=h=>t.internalValue=h),placeholder:t.props.placeholder,clearable:"",type:"text",class:"custom-omit-input",maxlength:t.props.maxLength},{append:e.withCtx(()=>[e.createVNode(d,{style:{width:"32px","text-align":"center"},onClick:t.openInputDialog},{default:e.withCtx(()=>[e.createTextVNode("...")]),_:1})]),_:1},8,["modelValue","placeholder","maxlength"]),e.createTextVNode(),e.createVNode(t.CommonDialog,{ref:"inputDialogRef",title:t.props.dialogTitle,width:700,onConfirm:t.confirmEdit},{"dialog-content":e.withCtx(()=>[e.createElementVNode("div",{style:{width:"100%",height:"500px","overflow-y":"auto","overflow-x":"hidden"}},[e.createVNode(l,{modelValue:t.inputTextArea,"onUpdate:modelValue":a[1]||(a[1]=h=>t.inputTextArea=h),type:"textarea",rows:20,maxlength:t.props.maxLength,"show-word-limit":""},null,8,["modelValue","maxlength"]),e.createTextVNode(),e.createElementVNode("div",{style:{height:"4px"}}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(f,{span:12},{default:e.withCtx(()=>[t.props.example.flag?(e.openBlock(),e.createBlock(i,{key:0,onClick:t.copyExample},{default:e.withCtx(()=>[e.createTextVNode("复制样例")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(i,{onClick:t.copy},{default:e.withCtx(()=>[e.createTextVNode("复制")]),_:1}),e.createTextVNode(),t.isFormatJs?(e.openBlock(),e.createBlock(i,{key:1,type:"primary",onClick:t.formatCode},{default:e.withCtx(()=>[e.createTextVNode("格式化")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(i,{type:"danger",onClick:t.resetTextArea},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1})])]),_:1},8,["title"])],2)}const Ge=J(ya,[["render",Na],["__scopeId","data-v-dfd64ff1"],["__file","index.vue"]]),Ea={__name:"CfgRequest",props:{config:{type:Object,default:{}}},setup(n,{expose:a}){a();const o=n,t=()=>({external:!1,url:"",method:"GET",sync:!1,series:!1,requestCount:0,time:1e3,loading:!1,enabledRespTip:!1,enabledRespErrTip:!1,customFunc:!1,headers:{},params:[],respParams:[],load:{lock:!1,background:"",text:"加载中...",extParam:{}},respTip:{tipType:"msg",type:"info",msg:"",extParam:{}},respErrTip:{tipType:"msg",type:"info",msg:"",extParam:{}},successFunc:"",errorFunc:""}),s=e.computed(()=>o.config),c=e.computed({get:()=>(s.value.respTip||(s.value.respTip={}),s.value.respTip),set:m=>{s.value.respTip=m}}),d=e.computed({get:()=>(s.value.respErrTip||(s.value.respErrTip={}),s.value.respErrTip),set:m=>{s.value.respErrTip=m}}),l=e.computed({get:()=>(s.value.load||(s.value.load={}),s.value.load),set:m=>{s.value.load=m}}),i=()=>{s.value&&!s.value.params&&(s.value.params=[]),s.value.params.push({ds:"inputV",key:"",tarKey:""})},f=m=>{s.value.params.splice(m,1)},p=()=>{s.value&&!s.value.respParams&&(s.value.respParams=[]),s.value.respParams.push({dataKey:"",ds:"",tarKey:""})},h=m=>{s.value.respParams.splice(m,1)};e.onMounted(()=>{s.value&&Me(s.value)&&Object.assign(s.value,t())});const V=e.computed({get:()=>{let m=l.value.extParam||{};return Ve(m)},set:m=>{c.value.load=xe(m,{})}}),N=e.computed({get:()=>{let m=c.value.extParam||{};return Ve(m)},set:m=>{c.value.extParam=xe(m,{})}}),g=e.computed({get:()=>{let m=d.value.extParam||{};return Ve(m)},set:m=>{d.value.extParam=xe(m,{})}}),b=e.computed({get:()=>{let m=s.value.headers||{};return Ve(m)},set:m=>{s.value.headers=xe(m,{})}}),r={props:o,getDefaultCfg:t,config:s,tip:c,errTip:d,load:l,addParam:i,deleteParam:f,addRespParam:p,deleteRespParam:h,loadExtraParam:V,extraParam:N,extraParam2:g,headerParam:b,changeSyncCfg:m=>{s.value.sync&&(s.value.series=!1)},computed:e.computed,onMounted:e.onMounted,get dataSourceArr(){return Te},get elementTypeArr(){return Tt},get predefineColors(){return kt},get requestMethodArr(){return $o},get tarDataSourceArr(){return vo},get tipTypeArr(){return gn},get getJsonObject(){return xe},get isEmptyObject(){return Me},get toJsonStr(){return Ve},VeOmitInput:Ge};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}};function ka(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-input"),f=e.resolveComponent("el-row"),p=e.resolveComponent("el-switch"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input-number"),g=e.resolveComponent("el-divider"),b=e.resolveComponent("el-button"),_=e.resolveComponent("el-color-picker");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("地址:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:20},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.config.url,"onUpdate:modelValue":a[0]||(a[0]=r=>t.config.url=r),placeholder:"请输入地址",type:"text"},{prepend:e.withCtx(()=>[e.createTextVNode("Https://")]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("外部请求:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.external,"onUpdate:modelValue":a[1]||(a[1]=r=>t.config.external=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("同步:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.sync,"onUpdate:modelValue":a[2]||(a[2]=r=>t.config.sync=r),onChange:t.changeSyncCfg},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("请求方法:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.method,"onUpdate:modelValue":a[3]||(a[3]=r=>t.config.method=r),placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.requestMethodArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("定时触发")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.series,"onUpdate:modelValue":a[4]||(a[4]=r=>t.config.series=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("间隔毫秒")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.time,"onUpdate:modelValue":a[5]||(a[5]=r=>t.config.time=r),precision:0,step:100,min:1e3,style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("次数(0为无限)")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.requestCount,"onUpdate:modelValue":a[6]||(a[6]=r=>t.config.requestCount=r),precision:0,step:1,min:0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("Loading加载:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.loading,"onUpdate:modelValue":a[7]||(a[7]=r=>t.config.loading=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("响应成功提示:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.enabledRespTip,"onUpdate:modelValue":a[8]||(a[8]=r=>t.config.enabledRespTip=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("响应异常提示:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.enabledRespErrTip,"onUpdate:modelValue":a[9]||(a[9]=r=>t.config.enabledRespErrTip=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("自定义函数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.customFunc,"onUpdate:modelValue":a[10]||(a[10]=r=>t.config.customFunc=r)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(g,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("请求头Header")]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.headerParam,"onUpdate:modelValue":a[11]||(a[11]=r=>t.headerParam=r),dialogTitle:"请求头Header参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(g,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("请求参数")]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("请求参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(b,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(r,m)=>(e.openBlock(),e.createBlock(f,{gutter:10,key:m},{default:e.withCtx(()=>[e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:r.ds,"onUpdate:modelValue":C=>r.ds=C,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,C=>(e.openBlock(),e.createBlock(h,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.key,"onUpdate:modelValue":C=>r.key=C,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.tarKey,"onUpdate:modelValue":C=>r.tarKey=C,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(b,{icon:"delete",type:"danger",onClick:C=>t.deleteParam(m)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(g,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("Loading加载提示")]),_:1}),e.createTextVNode(),t.config.loading?(e.openBlock(),e.createBlock(f,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("锁")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("背景色")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("加载文案")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.loading?(e.openBlock(),e.createBlock(f,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.load.lock,"onUpdate:modelValue":a[12]||(a[12]=r=>t.load.lock=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.load.background,"onUpdate:modelValue":a[13]||(a[13]=r=>t.load.background=r),"show-alpha":"",predefine:t.predefineColors},null,8,["modelValue","predefine"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.load.text,"onUpdate:modelValue":a[14]||(a[14]=r=>t.load.text=r),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.loadExtraParam,"onUpdate:modelValue":a[15]||(a[15]=r=>t.loadExtraParam=r),dialogTitle:"额外参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(g,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("返回参数")]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,{title:"从返回结果中获取值,支持.多层路径"},{default:e.withCtx(()=>[e.createTextVNode("返回结果(key)")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("目标源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(b,{icon:"plus",type:"primary",onClick:t.addRespParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.respParams,(r,m)=>(e.openBlock(),e.createBlock(f,{gutter:10,key:m},{default:e.withCtx(()=>[e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.dataKey,"onUpdate:modelValue":C=>r.dataKey=C,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:r.ds,"onUpdate:modelValue":C=>r.ds=C,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tarDataSourceArr,C=>(e.openBlock(),e.createBlock(h,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.tarKey,"onUpdate:modelValue":C=>r.tarKey=C,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(b,{icon:"delete",type:"danger",onClick:C=>t.deleteRespParam(m)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(g,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(f,{key:2,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("成功:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:9},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.successFunc,"onUpdate:modelValue":a[16]||(a[16]=r=>t.config.successFunc=r),dialogTitle:"函数编辑(参数列表res)","max-length":500,textType:"js"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("失败:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:9},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.errorFunc,"onUpdate:modelValue":a[17]||(a[17]=r=>t.config.errorFunc=r),dialogTitle:"函数编辑(参数列表res,err)","max-length":500,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(g,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("响应提示")]),_:1}),e.createTextVNode(),t.config.enabledRespTip||t.config.enabledRespErrTip?(e.openBlock(),e.createBlock(f,{key:3,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("类别")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("消息")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespTip?(e.openBlock(),e.createBlock(g,{key:4,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("成功提示")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespTip?(e.openBlock(),e.createBlock(f,{key:5,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.tip.tipType,"onUpdate:modelValue":a[18]||(a[18]=r=>t.tip.tipType=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tipTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.tip.type,"onUpdate:modelValue":a[19]||(a[19]=r=>t.tip.type=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.tip.msg,"onUpdate:modelValue":a[20]||(a[20]=r=>t.tip.msg=r),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[21]||(a[21]=r=>t.extraParam=r),dialogTitle:"额外参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespErrTip?(e.openBlock(),e.createBlock(g,{key:6,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("异常提示")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespErrTip?(e.openBlock(),e.createBlock(f,{key:7,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.errTip.tipType,"onUpdate:modelValue":a[22]||(a[22]=r=>t.errTip.tipType=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tipTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.errTip.type,"onUpdate:modelValue":a[23]||(a[23]=r=>t.errTip.type=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.errTip.msg,"onUpdate:modelValue":a[24]||(a[24]=r=>t.errTip.msg=r),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam2,"onUpdate:modelValue":a[25]||(a[25]=r=>t.extraParam2=r),dialogTitle:"额外参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0)])}const Ta=J(Ea,[["render",ka],["__scopeId","data-v-e3032216"],["__file","CfgRequest.vue"]]),Aa={__name:"CfgRequestCall",props:{config:{type:Object,default:()=>({requestId:""})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s={props:o,config:t,computed:e.computed};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}};function Ba(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-switch"),f=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",{class:"cfg-container"},[e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("调用请求:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.config.requestId,"onUpdate:modelValue":a[0]||(a[0]=p=>t.config.requestId=p)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("地址:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10})]),_:1})])}const Sa=J(Aa,[["render",Ba],["__scopeId","data-v-03216980"],["__file","CfgRequestCall.vue"]]),Fa={__name:"CfgRouter",props:{config:{type:Object,default:()=>({namedRouter:!1,path:"",params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",tarKey:""})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Oa(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-switch"),f=e.resolveComponent("el-input"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-divider"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-option"),g=e.resolveComponent("el-select");return e.openBlock(),e.createElementBlock("div",{class:"cfg-container"},[e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("命名路由:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.config.namedRouter,"onUpdate:modelValue":a[0]||(a[0]=b=>t.config.namedRouter=b)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[t.config.namedRouter?(e.openBlock(),e.createBlock(d,{key:1},{default:e.withCtx(()=>[e.createTextVNode("路由名:")]),_:1})):(e.openBlock(),e.createBlock(d,{key:0},{default:e.withCtx(()=>[e.createTextVNode("跳转地址:")]),_:1}))]),_:1}),e.createTextVNode(),e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:t.config.path,"onUpdate:modelValue":a[1]||(a[1]=b=>t.config.path=b),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("跳转参数")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("路由参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(b,_)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:_},{default:e.withCtx(()=>[e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(g,{modelValue:b.ds,"onUpdate:modelValue":r=>b.ds=r,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,r=>(e.openBlock(),e.createBlock(N,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:b.key,"onUpdate:modelValue":r=>b.key=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:b.tarKey,"onUpdate:modelValue":r=>b.tarKey=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{icon:"delete",type:"danger",onClick:r=>t.deleteParam(_)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const La=J(Fa,[["render",Oa],["__scopeId","data-v-7a388fc5"],["__file","CfgRouter.vue"]]),Pa={__name:"CfgCacheSet",props:{config:{type:Object,default:()=>({params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",tarKey:""})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Ra(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("缓存设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("缓存Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(g,b)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:b},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:g.ds,"onUpdate:modelValue":_=>g.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.key,"onUpdate:modelValue":_=>g.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.tarKey,"onUpdate:modelValue":_=>g.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deleteParam(b)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const Ma=J(Pa,[["render",Ra],["__scopeId","data-v-596f6eca"],["__file","CfgCacheSet.vue"]]),za={__name:"CfgParamMap",props:{config:{type:Object,default:()=>({params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ipn:"",ipv:null,opn:"",opv:null})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Ia(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("参数映射")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:5},{default:e.withCtx(()=>[e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("传入参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("参数值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("传出参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("参数值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(V,N)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:N},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.ipn,"onUpdate:modelValue":g=>V.ipn=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.ipv,"onUpdate:modelValue":g=>V.ipv=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.opn,"onUpdate:modelValue":g=>V.opn=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.opv,"onUpdate:modelValue":g=>V.opv=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:g=>t.deleteParam(N)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const Ua=J(za,[["render",Ia],["__scopeId","data-v-ef6f8d3f"],["__file","CfgParamMap.vue"]]),ja={__name:"CfgCustomFunc",props:{config:{type:Object,default:()=>({funcName:"函数别名",funcBody:"function(data) {}"})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,formatCode:()=>{let l=t.value.funcBody;l=_t(l,{indent_size:2,space_in_empty_paren:!0}),t.value.funcBody=l},resetCode:()=>{tt("确认清空函数代码?","确认","warning",function(l){t.value.funcBody=""},null)},computed:e.computed,get beautify(){return _t},get showConfirmMessageBox(){return tt}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Ka(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-input"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-col"),p=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),e.createVNode(l,{modelValue:t.config.funcName,"onUpdate:modelValue":a[0]||(a[0]=h=>t.config.funcName=h),placeholder:"输入别名",maxlength:"30",type:"text"},null,8,["modelValue"]),e.createTextVNode(),e.createElementVNode("div",{style:{height:"6px"}}),e.createTextVNode(),e.createVNode(l,{modelValue:t.config.funcBody,"onUpdate:modelValue":a[1]||(a[1]=h=>t.config.funcBody=h),type:"textarea",rows:22,style:{"max-height":"540px"},maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),e.createTextVNode(),e.createElementVNode("div",{style:{height:"4px"}}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(f,{span:12},{default:e.withCtx(()=>[e.createVNode(i,{type:"primary",onClick:t.formatCode},{default:e.withCtx(()=>[e.createTextVNode("格式化")]),_:1}),e.createTextVNode(),e.createVNode(i,{type:"danger",onClick:t.resetCode},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1})])}const Wa=J(ja,[["render",Ka],["__scopeId","data-v-420c3ae8"],["__file","CfgCustomFunc.vue"]]),Ha={__name:"CfgWebStorage",props:{config:{type:Object,default:()=>({type:"session",opType:"edit",params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({delete:!1,ds:"inputV",key:"",tarKey:""})},c=i=>{t.value.params.splice(i,1)},d=e.computed(()=>t.value.opType!=="clear"),l={props:o,config:t,addParam:s,deleteParam:c,isEditModel:d,computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}};function qa(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-radio"),p=e.resolveComponent("el-radio-group"),h=e.resolveComponent("el-row"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-switch"),g=e.resolveComponent("el-option"),b=e.resolveComponent("el-select"),_=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("Web缓存")]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:3},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("缓存类型:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.type,"onUpdate:modelValue":a[0]||(a[0]=r=>t.config.type=r)},{default:e.withCtx(()=>[e.createVNode(f,{value:"session"},{default:e.withCtx(()=>[e.createTextVNode("session")]),_:1}),e.createTextVNode(),e.createVNode(f,{value:"local"},{default:e.withCtx(()=>[e.createTextVNode("local")]),_:1}),e.createTextVNode(),e.createVNode(f,{value:"jsCookie"},{default:e.withCtx(()=>[e.createTextVNode("cookie")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:3},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("操作类型:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.opType,"onUpdate:modelValue":a[1]||(a[1]=r=>t.config.opType=r)},{default:e.withCtx(()=>[e.createVNode(f,{value:"edit"},{default:e.withCtx(()=>[e.createTextVNode("编辑")]),_:1}),e.createTextVNode(),e.createVNode(f,{value:"clear"},{default:e.withCtx(()=>[e.createTextVNode("清除")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),t.isEditModel?(e.openBlock(),e.createBlock(d,{key:0,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("单个缓存设置列表")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.isEditModel?(e.openBlock(),e.createBlock(h,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("删除缓存")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("缓存Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.isEditModel?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(t.config.params,(r,m)=>(e.openBlock(),e.createBlock(h,{gutter:10,key:m},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:r.delete,"onUpdate:modelValue":C=>r.delete=C},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(b,{modelValue:r.ds,"onUpdate:modelValue":C=>r.ds=C,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,C=>(e.openBlock(),e.createBlock(g,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:r.key,"onUpdate:modelValue":C=>r.key=C,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:r.tarKey,"onUpdate:modelValue":C=>r.tarKey=C,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(V,{icon:"delete",type:"danger",onClick:C=>t.deleteParam(m)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)):e.createCommentVNode("",!0)])}const Xa=J(Ha,[["render",qa],["__scopeId","data-v-99ed424c"],["__file","CfgWebStorage.vue"]]),Ga={__name:"CfgCompSet",props:{config:{type:Object,default:()=>({styleSets:[],propSets:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),i={props:o,config:t,addStyleSet:()=>{t.value&&!t.value.styleSets&&(t.value.styleSets=[]),t.value.styleSets.push({ds:"inputV",key:"",tarKey:""})},deleteStyleSet:f=>{t.value.styleSets.splice(f,1)},addPropSet:()=>{t.value&&!t.value.propSets&&(t.value.propSets=[]),t.value.propSets.push({ds:"inputV",key:"",tarKey:""})},deletePropSet:f=>{t.value.propSets.splice(f,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}};function Ja(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("组件样式设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("样式Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addStyleSet},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.styleSets,(g,b)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:b},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:g.ds,"onUpdate:modelValue":_=>g.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.key,"onUpdate:modelValue":_=>g.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.tarKey,"onUpdate:modelValue":_=>g.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deleteStyleSet(b)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("组件属性设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("属性Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addPropSet},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.propSets,(g,b)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:b},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:g.ds,"onUpdate:modelValue":_=>g.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.key,"onUpdate:modelValue":_=>g.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.tarKey,"onUpdate:modelValue":_=>g.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deletePropSet(b)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const Ya=J(Ga,[["render",Ja],["__scopeId","data-v-09ab64b1"],["__file","CfgCompSet.vue"]]),Qa={__name:"CfgParamSet",props:{config:{type:Object,default:()=>({params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",tarKey:""})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Za(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("参数映射")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:5},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("参数Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(g,b)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:b},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:g.ds,"onUpdate:modelValue":_=>g.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.key,"onUpdate:modelValue":_=>g.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:g.tarKey,"onUpdate:modelValue":_=>g.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deleteParam(b)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const $a=J(Qa,[["render",Za],["__scopeId","data-v-c1ad3453"],["__file","CfgParamSet.vue"]]),va={__name:"CfgActionEnd",props:{config:{type:Object,default:()=>({name:"操作终止",params:[],enabledTip:!1,tip:{tipType:"message",type:"info",msg:"",extParam:{}}})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=e.computed({get:()=>(t.value.tip||(t.value.tip={}),t.value.tip),set:f=>{t.value.tip=f}}),c=()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",opType:"==",value:""})},d=f=>{t.value.params.splice(f,1)},l=e.computed({get:()=>{let f=s.value.extParam||{};return Ve(f)},set:f=>{s.value.extParam=xe(f,{})}}),i={props:o,config:t,tip:s,addParam:c,deleteParam:d,extraParam:l,computed:e.computed,get dataSourceArr(){return Te},get elementTypeArr(){return Tt},get opTypeArr(){return mn},get tipTypeArr(){return gn},VeOmitInput:Ge,get getJsonObject(){return xe},get toJsonStr(){return Ve}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}};function el(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-input"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-switch"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-text"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-option"),g=e.resolveComponent("el-select");return e.openBlock(),e.createElementBlock("div",{class:"cfg-action-end"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("终止条件设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:14},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:t.config.name,"onUpdate:modelValue":a[0]||(a[0]=b=>t.config.name=b),placeholder:"输入别名",maxlength:"30",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:t.config.enabledTip,"onUpdate:modelValue":a[1]||(a[1]=b=>t.config.enabledTip=b),"active-text":"开启提示","inactive-text":"关闭提示"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("操作符号")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(b,_)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:_},{default:e.withCtx(()=>[e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(g,{modelValue:b.ds,"onUpdate:modelValue":r=>b.ds=r,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,r=>(e.openBlock(),e.createBlock(N,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:b.key,"onUpdate:modelValue":r=>b.key=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(g,{clearable:"",modelValue:b.opType,"onUpdate:modelValue":r=>b.opType=r},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.opTypeArr,r=>(e.openBlock(),e.createBlock(N,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:b.value,"onUpdate:modelValue":r=>b.value=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{icon:"delete",type:"danger",onClick:r=>t.deleteParam(_),title:"删除"},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("终止时提示")]),_:1}),e.createTextVNode(),t.config.enabledTip?(e.openBlock(),e.createBlock(p,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("类别")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("消息")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledTip?(e.openBlock(),e.createBlock(p,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(g,{clearable:"",modelValue:t.tip.tipType,"onUpdate:modelValue":a[2]||(a[2]=b=>t.tip.tipType=b)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tipTypeArr,b=>(e.openBlock(),e.createBlock(N,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(g,{clearable:"",modelValue:t.tip.type,"onUpdate:modelValue":a[3]||(a[3]=b=>t.tip.type=b)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,b=>(e.openBlock(),e.createBlock(N,{key:b.value,label:b.label,value:b.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:t.tip.msg,"onUpdate:modelValue":a[4]||(a[4]=b=>t.tip.msg=b),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[5]||(a[5]=b=>t.extraParam=b),title:"额外参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0)])}const tl=J(va,[["render",el],["__scopeId","data-v-0f9e47ce"],["__file","CfgActionEnd.vue"]]),nl={__name:"CfgMessageBox",props:{config:{type:Object,default:{}}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=()=>({type:"confirm",title:"Confirm",message:"Continue?",msgType:"",confirmText:"确认",cancelText:"取消",params:{},customFunc:!1,autoBlock:!0,confirmFunc:"",cancelFunc:"",closeFunc:"",errorFunc:""}),c=[{value:"confirm",label:"Confirm"},{value:"prompt",label:"Prompt"}],d=e.computed({get:()=>{let i=t.value.params||{};return Ve(i)},set:i=>{t.value.params=xe(i,{})}});e.onMounted(()=>{t.value&&Me(t.value)&&Object.assign(t.value,s())});const l={props:o,config:t,getDefaultCfg:s,typeArr:c,extraParam:d,computed:e.computed,onMounted:e.onMounted,get elementTypeArr(){return Tt},VeOmitInput:Ge,get getJsonObject(){return xe},get isEmptyObject(){return Me},get toJsonStr(){return Ve}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}};function ol(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-option"),p=e.resolveComponent("el-select"),h=e.resolveComponent("el-row"),V=e.resolveComponent("el-input"),N=e.resolveComponent("el-switch");return e.openBlock(),e.createElementBlock("div",{class:"cfg-message-box"},[e.createElementVNode("span",null,"默认情况只有确认时,才会执行后续操作列表,如需执行后续操作,关闭自动阻断"),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("消息弹框设置")]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("类别:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{clearable:"",modelValue:t.config.type,"onUpdate:modelValue":a[0]||(a[0]=g=>t.config.type=g)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t.typeArr,g=>e.createVNode(f,{key:g.value,label:g.label,value:g.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("消息类型:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{clearable:"",modelValue:t.config.msgType,"onUpdate:modelValue":a[1]||(a[1]=g=>t.config.msgType=g)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,g=>(e.openBlock(),e.createBlock(f,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("标题:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.title,"onUpdate:modelValue":a[2]||(a[2]=g=>t.config.title=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("内容:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.message,"onUpdate:modelValue":a[3]||(a[3]=g=>t.config.message=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("确认按钮:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.confirmText,"onUpdate:modelValue":a[4]||(a[4]=g=>t.config.confirmText=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("取消按钮:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.cancelText,"onUpdate:modelValue":a[5]||(a[5]=g=>t.config.cancelText=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[6]||(a[6]=g=>t.extraParam=g),"dialog-title":"额外参数编辑(json对象,字段为正则表达式时注意反斜杠 \\ 进行转义(\\ → \\\\))","max-length":300},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("自定义函数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.customFunc,"onUpdate:modelValue":a[7]||(a[7]=g=>t.config.customFunc=g)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"关闭,取消也执行后续操作列表"},{default:e.withCtx(()=>[e.createTextVNode("自动阻断:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.autoBlock,"onUpdate:modelValue":a[8]||(a[8]=g=>t.config.autoBlock=g)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("确认:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.confirmFunc,"onUpdate:modelValue":a[9]||(a[9]=g=>t.config.confirmFunc=g),dialogTitle:"函数编辑(prompt时,有promptValue参数)","max-length":500,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("取消:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.cancelFunc,"onUpdate:modelValue":a[10]||(a[10]=g=>t.config.cancelFunc=g),dialogTitle:"函数编辑","max-length":500,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:2,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("关闭:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.closeFunc,"onUpdate:modelValue":a[11]||(a[11]=g=>t.config.closeFunc=g),dialogTitle:"函数编辑","max-length":500,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:3,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("异常:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.errorFunc,"onUpdate:modelValue":a[12]||(a[12]=g=>t.config.errorFunc=g),dialogTitle:"函数编辑(有error参数)","max-length":500,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0)])}const al=J(nl,[["render",ol],["__scopeId","data-v-3170afcf"],["__file","CfgMessageBox.vue"]]);/*! Element Plus Icons Vue v2.3.1 */var ll=e.defineComponent({name:"DocumentCopy",__name:"document-copy",setup(n){return(a,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),il=ll,rl=e.defineComponent({name:"Refresh",__name:"refresh",setup(n){return(a,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),sl=rl;const cl={__name:"CfgDialog",props:{config:{type:Object,default:{}}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=e.ref(!1),c=()=>({title:"对话框",width:500,height:400,fullscreen:!1,modal:!0,showClose:!0,beforeCloseFunc:"",draggable:!1,showFooter:!0,confirmFunc:"",params:"",pageId:"",pageParam:"",showHeader:!0,dialogId:ce(fe.Dialog),customPosition:!1,noBackgroundColor:!1}),d=e.computed({get:()=>{let p=t.value.params||{};return Ve(p)},set:p=>{t.value.params=xe(p,{})}}),l=e.computed({get:()=>{let p=t.value.pageParam||{};return Ve(p)},set:p=>{t.value.pageParam=xe(p,{})}});e.onMounted(()=>{t.value&&Me(t.value)&&Object.assign(t.value,c())}),e.watch(()=>t.value.showHeader,p=>{t.value.showHeader?s.value=!1:(t.value.showClose=!1,s.value=!0,$("info","隐藏标题栏时 不启用关闭按钮"))});const f={props:o,config:t,disabledShowCloseEdit:s,getDefaultCfg:c,extraParam:d,extraPageParam:l,handleDbClickDialogId:p=>{je(t.value.dialogId)?$("success","复制成功"):$("warning","复制失败")},ref:e.ref,computed:e.computed,onMounted:e.onMounted,watch:e.watch,VeOmitInput:Ge,get getJsonObject(){return xe},get isEmptyObject(){return Me},get toJsonStr(){return Ve},get showMessage(){return $},get copyToClipboard(){return je},get generatePrefixID(){return ce},get IdPrefix(){return fe},get DocumentCopy(){return il}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}};function dl(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-input"),h=e.resolveComponent("el-row"),V=e.resolveComponent("el-input-number"),N=e.resolveComponent("el-switch");return e.openBlock(),e.createElementBlock("div",{class:"cfg-message-box"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("对话框设置,对话框之后不应该有其他操作列表")]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("对话框Id:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.dialogId,"onUpdate:modelValue":a[0]||(a[0]=g=>t.config.dialogId=g),disabled:"",type:"text"},{append:e.withCtx(()=>[e.createVNode(f,{icon:t.DocumentCopy,onClick:t.handleDbClickDialogId},null,8,["icon"])]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("标题:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.title,"onUpdate:modelValue":a[1]||(a[1]=g=>t.config.title=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("中心区域宽度:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.width,"onUpdate:modelValue":a[2]||(a[2]=g=>t.config.width=g),precision:0,step:1,min:100},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("中心区域高度:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.height,"onUpdate:modelValue":a[3]||(a[3]=g=>t.config.height=g),precision:0,step:1,min:100},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("页面Id:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.pageId,"onUpdate:modelValue":a[4]||(a[4]=g=>t.config.pageId=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("页面参数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraPageParam,"onUpdate:modelValue":a[5]||(a[5]=g=>t.extraPageParam=g),"dialog-title":"页面参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("遮罩层:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.modal,"onUpdate:modelValue":a[6]||(a[6]=g=>t.config.modal=g)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"不设置,保持ElementPlus的默认"},{default:e.withCtx(()=>[e.createTextVNode("自定义位置:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.customPosition,"onUpdate:modelValue":a[7]||(a[7]=g=>t.config.customPosition=g)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),t.config.customPosition?(e.openBlock(),e.createBlock(h,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"相对于触发组件的左侧"},{default:e.withCtx(()=>[e.createTextVNode("左侧:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.leftOffset,"onUpdate:modelValue":a[8]||(a[8]=g=>t.config.leftOffset=g),precision:0,step:1},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"相对于触发组件的顶部"},{default:e.withCtx(()=>[e.createTextVNode("顶部:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.topOffset,"onUpdate:modelValue":a[9]||(a[9]=g=>t.config.topOffset=g),precision:0,step:1},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("显示标题栏:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.showHeader,"onUpdate:modelValue":a[10]||(a[10]=g=>t.config.showHeader=g)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"隐藏底部栏时,注意弹框是否可以通过其他方式关闭"},{default:e.withCtx(()=>[e.createTextVNode("显示底部栏:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.showFooter,"onUpdate:modelValue":a[11]||(a[11]=g=>t.config.showFooter=g)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("关闭按钮:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.showClose,"onUpdate:modelValue":a[12]||(a[12]=g=>t.config.showClose=g),disabled:t.disabledShowCloseEdit},null,8,["modelValue","disabled"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("启用可拖拽:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.draggable,"onUpdate:modelValue":a[13]||(a[13]=g=>t.config.draggable=g)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("无背景色:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.noBackgroundColor,"onUpdate:modelValue":a[14]||(a[14]=g=>t.config.noBackgroundColor=g)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[15]||(a[15]=g=>t.extraParam=g),"dialog-title":"额外参数编辑(json对象)","max-length":500},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),t.config.showClose?(e.openBlock(),e.createBlock(h,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("关闭前回调:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.beforeCloseFunc,"onUpdate:modelValue":a[16]||(a[16]=g=>t.config.beforeCloseFunc=g),dialogTitle:"函数编辑","max-length":1e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("确认回调:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.confirmFunc,"onUpdate:modelValue":a[17]||(a[17]=g=>t.config.confirmFunc=g),dialogTitle:"函数编辑","max-length":1e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})])}const ul=J(cl,[["render",dl],["__scopeId","data-v-81a529e9"],["__file","CfgDialog.vue"]]),pl={__name:"CfgEmpty",props:{config:{type:Object,default:()=>({})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s={props:o,config:t,computed:e.computed};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}};function _l(n,a,o,t,s,c){const d=e.resolveComponent("el-divider");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("未定义操作")]),_:1})])}const fl=J(pl,[["render",_l],["__scopeId","data-v-388967c2"],["__file","CfgEmpty.vue"]]),no="事件编辑",hl={__name:"EventDialog",props:{width:{type:Number,default:1200}},setup(n,{expose:a}){const o=e.ref(!1),t=e.ref("未定义"),s=e.ref({type:"",typeName:"",id:"",name:"事件",default:!0,condition:[],actionList:[]});let c=null,d=null,l=!1,i="add";const f=e.ref(""),p=e.ref(-1),h=e.ref({config:{}}),V=n,N=e.computed(()=>no+"["+t.value+"]"),g=e.computed(()=>h.value?.action=="dataRequest"),b=e.computed(()=>h.value?.action=="router"),_=e.computed(()=>h.value?.action=="cacheSet"),r=e.computed(()=>h.value?.action=="paramMap"),m=e.computed(()=>h.value?.action=="customFunction"),C=e.computed(()=>h.value?.action=="webStorage"),w=e.computed(()=>h.value?.action=="componentSet"),k=e.computed(()=>h.value?.action=="paramSet"),x=e.computed(()=>h.value?.action=="actionEnd"),y=e.computed(()=>h.value?.action=="messageBox"),D=e.computed(()=>h.value?.action=="openDialog"),A=()=>{if(s.value.condition.length>10){$("warning","超过最大条件数限制");return}s.value.condition.push({lType:"",lValue:"",opType:"",rType:"",rValue:""})},u=()=>{Be.ElMessageBox.confirm("确认清空所有执行条件?","确认",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{s.value.condition=[]}).catch(()=>{})},E=j=>{s.value.condition.splice(j,1)},T=()=>{if(f.value){let j=s.value.actionList.length;if(j>20){$("warning","操作列表数据量超过限制");return}let ge=hn.filter(ue=>ue.value==f.value),pe=ge.length>0?ge[0].label:"未定义";s.value.actionList.push({action:f.value,name:pe,config:{},seq:j+1})}else $("warning","请选择需要添加的操作")},M=()=>{if(et(p.value)&&p.value>=0){s.value.actionList.splice(p.value,1);for(let j=p.value;j<s.value.actionList.length;j++)s.value.actionList[j].seq=j+1;K()}else $("warning","请在表格中选择需要删除的操作")},z=()=>{if(et(p.value)&&p.value>=0)if(p.value==0||s.value.actionList.length==1)$("warning","无需移动");else{const j=s.value.actionList[p.value-1];s.value.actionList[p.value-1]=s.value.actionList[p.value],s.value.actionList[p.value-1].seq=p.value-1+1,s.value.actionList[p.value]=j,s.value.actionList[p.value].seq=p.value+1}else $("warning","请在表格中选择需要上移的操作")},H=()=>{if(et(p.value)&&p.value>=0)if(s.value.actionList.length==1||p.value==s.value.actionList.length-1)$("warning","无需移动");else{const j=s.value.actionList[p.value+1];s.value.actionList[p.value+1]=s.value.actionList[p.value],s.value.actionList[p.value+1].seq=p.value+1+1,s.value.actionList[p.value]=j,s.value.actionList[p.value].seq=p.value+1}else $("warning","请在表格中选择需要下移的操作")},P=j=>{j?(p.value=j.seq-1,h.value=j):K()},K=()=>{p.value=-1,h.value={}},I=()=>{c&&c({flag:i,event:be(s.value)}),l=!0,q()},q=()=>{o.value=!1,d&&!l&&d({})},Z=j=>{l=!1,o.value=!0,f.value="",K();let ge=j||{};t.value=ge.typeName||"未定义",i=ge.flag||"",s.value=be(ge.event),Le(j.confirmBack)?c=j.confirmBack:c=null,Le(j.cancelBack)?d=j.cancelBack:d=null};a({show:Z});const ne={openDialog:o,fixedTitle:no,title:t,eventObject:s,get confirmBack(){return c},set confirmBack(j){c=j},get cancelBack(){return d},set cancelBack(j){d=j},get cancelFromConfirm(){return l},set cancelFromConfirm(j){l=j},get flag(){return i},set flag(j){i=j},curEventAction:f,curSelectActionIndex:p,curSelectAction:h,props:V,showTitle:N,isDataRequest:g,isRouter:b,isCacheSet:_,isParamMap:r,isCustomFunc:m,isWebStorage:C,isComponentSet:w,isParamSet:k,isActionEnd:x,isMessageBox:y,isOpenDialog:D,addCond:A,clearCond:u,deleteCond:E,AddEventAction:T,DeleteEventAction:M,UpEventAction:z,DownEventAction:H,onSelectActionId:P,clearSelectAcition:K,confirm:I,cancel:q,show:Z,computed:e.computed,nextTick:e.nextTick,ref:e.ref,get deepCopy(){return be},get isFunction(){return Le},get isNumber(){return et},get isNotEmpty(){return Re},get dataSourceArr(){return Te},get eventActionArr(){return hn},get eventArr(){return nt},get opTypeArr(){return mn},get showMessage(){return $},get ElMessageBox(){return Be.ElMessageBox},CfgRequest:Ta,CfgRequestCall:Sa,CfgRouter:La,CfgCacheSet:Ma,CfgParamMap:Ua,CfgCustomFunc:Wa,CfgWebStorage:Xa,CfgCompSet:Ya,CfgParamSet:$a,CfgActionEnd:tl,CfgMessageBox:al,CfgDialog:ul,CfgEmpty:fl};return Object.defineProperty(ne,"__isScriptSetup",{enumerable:!1,value:!0}),ne}};function ml(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-input"),f=e.resolveComponent("el-switch"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-divider"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-button-group"),g=e.resolveComponent("el-option"),b=e.resolveComponent("el-select"),_=e.resolveComponent("el-table-column"),r=e.resolveComponent("el-table"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(m,{title:t.showTitle,modelValue:t.openDialog,"onUpdate:modelValue":a[3]||(a[3]=C=>t.openDialog=C),width:t.props.width,"before-close":t.cancel,"destroy-on-close":!0,modal:!0,"show-close":!1,"align-center":!0,draggable:""},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"container-pane"},[e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("实例名称")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:8},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.eventObject.name,"onUpdate:modelValue":a[0]||(a[0]=C=>t.eventObject.name=C),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,{title:"默认执行,则后续事件不在执行"},{default:e.withCtx(()=>[e.createTextVNode("默认执行")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:t.eventObject.default,"onUpdate:modelValue":a[1]||(a[1]=C=>t.eventObject.default=C)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4})]),_:1}),e.createTextVNode(),t.eventObject.default?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(h,{key:0,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("执行条件,多个条件时需同时满足")]),_:1})),e.createTextVNode(),t.eventObject.default?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,style:{width:"100%",height:"100%","max-height":"150px","overflow-y":"auto","overflow-x":"hidden"}},[e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("左侧类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("左侧值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("操作符")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("右侧类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("右侧值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(N,null,{default:e.withCtx(()=>[e.createVNode(V,{type:"primary",icon:"plus",onClick:t.addCond}),e.createTextVNode(),e.createVNode(V,{type:"danger",icon:"delete",onClick:t.clearCond},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.eventObject.condition,(C,w)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:w},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(b,{modelValue:C.lType,"onUpdate:modelValue":k=>C.lType=k,clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,k=>(e.openBlock(),e.createBlock(g,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:C.lValue,"onUpdate:modelValue":k=>C.lValue=k,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(b,{clearable:"",modelValue:C.opType,"onUpdate:modelValue":k=>C.opType=k},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.opTypeArr,k=>(e.openBlock(),e.createBlock(g,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(b,{modelValue:C.rType,"onUpdate:modelValue":k=>C.rType=k,clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,k=>(e.openBlock(),e.createBlock(g,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:C.rValue,"onUpdate:modelValue":k=>C.rValue=k,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{type:"danger",icon:"delete",onClick:k=>t.deleteCond(w)},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),128))])),e.createTextVNode(),e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("执行操作")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("选择操作")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:8},{default:e.withCtx(()=>[e.createVNode(b,{clearable:"",modelValue:t.curEventAction,"onUpdate:modelValue":a[2]||(a[2]=C=>t.curEventAction=C)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.eventActionArr,C=>(e.openBlock(),e.createBlock(g,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(N,null,{default:e.withCtx(()=>[e.createVNode(V,{type:"primary",icon:"plus",onClick:t.AddEventAction}),e.createTextVNode(),e.createVNode(V,{type:"danger",icon:"delete",onClick:t.DeleteEventAction}),e.createTextVNode(),e.createVNode(V,{type:"info",icon:"arrowUp",onClick:t.UpEventAction}),e.createTextVNode(),e.createVNode(V,{type:"info",icon:"arrowDown",onClick:t.DownEventAction})]),_:1})]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:24},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"flex-pane"},[e.createElementVNode("div",{class:"fixed-pane"},[e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("操作列表")]),_:1}),e.createTextVNode(),e.createVNode(r,{ref:"tableInstance",data:t.eventObject.actionList,stripe:"",border:"",style:{flex:"1",overflow:"auto",height:"590px"},"highlight-current-row":"",showHeader:!1,onCurrentChange:t.onSelectActionId},{default:e.withCtx(()=>[e.createVNode(_,{label:"序号",align:"left",key:"seq",prop:"seq",width:"50"}),e.createTextVNode(),e.createVNode(_,{label:"名称",align:"left",key:"name",prop:"name",width:"300"})]),_:1},8,["data"])]),e.createTextVNode(),e.createElementVNode("div",{class:"flexible-pane"},[e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("操作详情")]),_:1}),e.createTextVNode(),t.isDataRequest?(e.openBlock(),e.createBlock(t.CfgRequest,{key:0,config:t.curSelectAction.config},null,8,["config"])):t.isRouter?(e.openBlock(),e.createBlock(t.CfgRouter,{key:1,config:t.curSelectAction.config},null,8,["config"])):t.isCacheSet?(e.openBlock(),e.createBlock(t.CfgCacheSet,{key:2,config:t.curSelectAction.config},null,8,["config"])):t.isParamMap?(e.openBlock(),e.createBlock(t.CfgParamMap,{key:3,config:t.curSelectAction.config},null,8,["config"])):t.isCustomFunc?(e.openBlock(),e.createBlock(t.CfgCustomFunc,{key:4,config:t.curSelectAction.config},null,8,["config"])):t.isWebStorage?(e.openBlock(),e.createBlock(t.CfgWebStorage,{key:5,config:t.curSelectAction.config},null,8,["config"])):t.isComponentSet?(e.openBlock(),e.createBlock(t.CfgCompSet,{key:6,config:t.curSelectAction.config},null,8,["config"])):t.isParamSet?(e.openBlock(),e.createBlock(t.CfgParamSet,{key:7,config:t.curSelectAction.config},null,8,["config"])):t.isActionEnd?(e.openBlock(),e.createBlock(t.CfgActionEnd,{key:8,config:t.curSelectAction.config},null,8,["config"])):t.isMessageBox?(e.openBlock(),e.createBlock(t.CfgMessageBox,{key:9,config:t.curSelectAction.config},null,8,["config"])):t.isOpenDialog?(e.openBlock(),e.createBlock(t.CfgDialog,{key:10,config:t.curSelectAction.config},null,8,["config"])):(e.openBlock(),e.createBlock(t.CfgEmpty,{key:11,config:t.curSelectAction.config},null,8,["config"]))])])]),_:1})]),_:1})])]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"dialog-footer"},[e.createVNode(V,{type:"primary",onClick:t.confirm},{default:e.withCtx(()=>[e.createTextVNode("确定")]),_:1}),e.createTextVNode(),e.createVNode(V,{onClick:t.cancel},{default:e.withCtx(()=>[e.createTextVNode("关 闭")]),_:1})])]),_:1},8,["title","modelValue","width"])}const gl=J(hl,[["render",ml],["__scopeId","data-v-c30af151"],["__file","EventDialog.vue"]]),Cl={__name:"CompEvent",props:{editorStore:{type:Object,default:()=>te()}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.editorStore?.curComponent||{}),s=e.computed(()=>{let r=t.value.hasEvents||[];return nt.filter(m=>r.includes(m.value))}),c={children:"children",label:"name"},d=e.ref(""),l=e.ref([]),i=e.ref(null),f=e.computed(()=>{let r=t.value.events||{};return p(r)});function p(r){const m=new Map;let C=[],w=Object.keys(r);Se("debug","buildTree data:",r);for(let k=0;k<w.length;k++)C=[],r[w[k]].forEach(x=>{let y=[];x.actionList.forEach(D=>{y.push({name:D.name})}),C.push({name:x.name,id:x.id,type:w[k],isEdit:!0,children:y})}),m.set(w[k],{type:w[k],name:r[w[k]][0].typeName,children:C});return Array.from(m.values())}const h=r=>{if(r){let m=nt.filter(k=>k.value==r),C=m.length>0?m[0].label:"未定义",w={type:r,typeName:C,id:ce(fe.CompEvent),name:"事件",default:!0,condition:[],actionList:[]};N(w,"add")}},V=(r,m)=>t.value.events[r].findIndex(k=>k.id==m),N=(r,m)=>{i.value.show({typeName:r.typeName,event:r,flag:m,confirmBack:function(C){if(d.value="",C.flag=="add")o.editorStore?.addComponentEvent(C.event);else if(C.flag=="edit"){let w=V(C.event.type,C.event.id);w>=0&&o.editorStore?.alterComponentEvent(C.event.type,w,C.event)}},cancelBack:function(C){d.value=""}})},_={props:o,curComponent:t,compEventArr:s,defaultProps:c,selectEvent:d,data:l,eventDialogRef:i,treeData:f,buildTree:p,changeEvent:h,findEventIndexById:V,openEventDialog:N,editNode:(r,m)=>{if(r&&m.id){let C=V(m.type,m.id);C>=0&&N(Ce(t.value.events[m.type][C]),"edit")}},removeNode:(r,m)=>{if(r&&m.id){let C=V(m.type,m.id);C>=0&&tt("确认删除该事件?","确认","warning",function(){o.editorStore?.removeComponentEvent(m.type,C)},null)}},computed:e.computed,ref:e.ref,get eventArr(){return nt},get IdPrefix(){return fe},get useEditorStore(){return te},EventDialog:gl,get consolePrint(){return Se},get deepCopy(){return Ce},get generatePrefixID(){return ce},get showConfirmMessageBox(){return tt}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}};function xl(n,a,o,t,s,c){const d=e.resolveComponent("el-option"),l=e.resolveComponent("el-select"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-tree");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"comp-event"},[e.createElementVNode("div",{class:"tool-list"},[e.createVNode(l,{modelValue:t.selectEvent,"onUpdate:modelValue":a[0]||(a[0]=p=>t.selectEvent=p),placeholder:"选择事件>>",style:{width:"100%"},onChange:t.changeEvent,clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.compEventArr,p=>(e.openBlock(),e.createBlock(d,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createTextVNode(),e.createElementVNode("div",{class:"tree-pane"},[e.createVNode(f,{props:t.defaultProps,data:t.treeData,style:{height:"100%"},"default-expand-all":"","node-key":"id"},{default:e.withCtx(({node:p,data:h})=>[e.createElementVNode("div",{class:"custom-tree-node"},[e.createElementVNode("span",null,e.toDisplayString(p.label),1),e.createTextVNode(),h.isEdit?(e.openBlock(),e.createElementBlock("div",{key:0},[e.createVNode(i,{type:"primary",size:"small",link:"",onClick:V=>t.editNode(p,h)},{default:e.withCtx(()=>[e.createTextVNode(`\r
|
|
55
|
+
`)),D=A+D.replace(/\n/g,`
|
|
56
|
+
`+A)}y&&(D?D=y+D+`
|
|
57
|
+
`+b:D=y+b),_.print_newline(!1),D&&(r.text=D,r.whitespace_before="",r.newlines=0,_.add_raw_token(r),_.print_newline(!0))}},V.prototype._handle_tag_open=function(_,r,m,g,D){var k=this._get_tag_open_token(r);if((m.is_unformatted||m.is_content_unformatted)&&!m.is_empty_element&&r.type===t.TAG_OPEN&&!k.is_start_tag?(_.add_raw_token(r),k.start_tag_token=this._tag_stack.try_pop(k.tag_name)):(_.traverse_whitespace(r),this._set_tag_position(_,r,k,m,g),k.is_inline_element||_.set_wrap_point(),_.print_token(r)),k.is_start_tag&&this._is_wrap_attributes_force){var C=0,y;do y=D.peek(C),y.type===t.ATTRIBUTE&&(k.attr_count+=1),C+=1;while(y.type!==t.EOF&&y.type!==t.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(k.alignment_size=r.text.length+1),!k.tag_complete&&!k.is_unformatted&&(_.alignment_size=k.alignment_size),k};var N=function(_,r,m){if(this.parent=r||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!m)this.tag_complete=!0;else{var g;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char==="<"?(g=m.text.match(/^<([^\s>]*)/),this.tag_check=g?g[1]:""):(g=m.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=g?g[1]:"",(m.text.startsWith("{{#>")||m.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&m.next!==null?this.tag_check=m.next.text.split(" ")[0]:this.tag_check=m.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),m.type===t.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||m.closed&&m.closed.text==="/>";var D=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(D=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!_.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(D)))}};V.prototype._get_tag_open_token=function(_){var r=new N(this._options,this._tag_stack.get_parser_token(),_);return r.alignment_size=this._options.wrap_attributes_indent_size,r.is_end_tag=r.is_end_tag||f(r.tag_check,this._options.void_elements),r.is_empty_element=r.tag_complete||r.is_start_tag&&r.is_end_tag,r.is_unformatted=!r.tag_complete&&f(r.tag_check,this._options.unformatted),r.is_content_unformatted=!r.is_empty_element&&f(r.tag_check,this._options.content_unformatted),r.is_inline_element=f(r.tag_name,this._options.inline)||this._options.inline_custom_elements&&r.tag_name.includes("-")||r.tag_start_char==="{",r},V.prototype._set_tag_position=function(_,r,m,g,D){if(m.is_empty_element||(m.is_end_tag?m.start_tag_token=this._tag_stack.try_pop(m.tag_name):(this._do_optional_end_element(m)&&(m.is_inline_element||_.print_newline(!1)),this._tag_stack.record_tag(m),(m.tag_name==="script"||m.tag_name==="style")&&!(m.is_unformatted||m.is_content_unformatted)&&(m.custom_beautifier_name=i(m.tag_check,r)))),f(m.tag_check,this._options.extra_liners)&&(_.print_newline(!1),_._output.just_added_blankline()||_.print_newline(!0)),m.is_empty_element){if(m.tag_start_char==="{"&&m.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),m.indent_content=!0;var k=_.current_line_has_match(/{{#if/);k||_.print_newline(!1)}m.tag_name==="!--"&&D.type===t.TAG_CLOSE&&g.is_end_tag&&m.text.indexOf(`
|
|
58
|
+
`)===-1||(m.is_inline_element||m.is_unformatted||_.print_newline(!1),this._calcluate_parent_multiline(_,m))}else if(m.is_end_tag){var C=!1;C=m.start_tag_token&&m.start_tag_token.multiline_content,C=C||!m.is_inline_element&&!(g.is_inline_element||g.is_unformatted)&&!(D.type===t.TAG_CLOSE&&m.start_tag_token===g)&&D.type!=="TK_CONTENT",(m.is_content_unformatted||m.is_unformatted)&&(C=!1),C&&_.print_newline(!1)}else m.indent_content=!m.custom_beautifier_name,m.tag_start_char==="<"&&(m.tag_name==="html"?m.indent_content=this._options.indent_inner_html:m.tag_name==="head"?m.indent_content=this._options.indent_head_inner_html:m.tag_name==="body"&&(m.indent_content=this._options.indent_body_inner_html)),!(m.is_inline_element||m.is_unformatted)&&(D.type!=="TK_CONTENT"||m.is_content_unformatted)&&_.print_newline(!1),this._calcluate_parent_multiline(_,m)},V.prototype._calcluate_parent_multiline=function(_,r){r.parent&&_._output.just_added_newline()&&!((r.is_inline_element||r.is_unformatted)&&r.parent.is_inline_element)&&(r.parent.multiline_content=!0)};var x=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],w=["a","audio","del","ins","map","noscript","video"];return V.prototype._do_optional_end_element=function(_){var r=null;if(!(_.is_empty_element||!_.is_start_tag||!_.parent)){if(_.tag_name==="body")r=r||this._tag_stack.try_pop("head");else if(_.tag_name==="li")r=r||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(_.tag_name==="dd"||_.tag_name==="dt")r=r||this._tag_stack.try_pop("dt",["dl"]),r=r||this._tag_stack.try_pop("dd",["dl"]);else if(_.parent.tag_name==="p"&&x.indexOf(_.tag_name)!==-1){var m=_.parent.parent;(!m||w.indexOf(m.tag_name)===-1)&&(r=r||this._tag_stack.try_pop("p"))}else _.tag_name==="rp"||_.tag_name==="rt"?(r=r||this._tag_stack.try_pop("rt",["ruby","rtc"]),r=r||this._tag_stack.try_pop("rp",["ruby","rtc"])):_.tag_name==="optgroup"?r=r||this._tag_stack.try_pop("optgroup",["select"]):_.tag_name==="option"?r=r||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):_.tag_name==="colgroup"?r=r||this._tag_stack.try_pop("caption",["table"]):_.tag_name==="thead"?(r=r||this._tag_stack.try_pop("caption",["table"]),r=r||this._tag_stack.try_pop("colgroup",["table"])):_.tag_name==="tbody"||_.tag_name==="tfoot"?(r=r||this._tag_stack.try_pop("caption",["table"]),r=r||this._tag_stack.try_pop("colgroup",["table"]),r=r||this._tag_stack.try_pop("thead",["table"]),r=r||this._tag_stack.try_pop("tbody",["table"])):_.tag_name==="tr"?(r=r||this._tag_stack.try_pop("caption",["table"]),r=r||this._tag_stack.try_pop("colgroup",["table"]),r=r||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(_.tag_name==="th"||_.tag_name==="td")&&(r=r||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),r=r||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return _.parent=this._tag_stack.get_parser_token(),r}},Yt.Beautifier=V,Yt}var vn;function Va(){if(vn)return ut.exports;vn=1;var n=xa().Beautifier,a=Yn().Options;function o(t,s,c,d){var l=new n(t,s,c,d);return l.beautify()}return ut.exports=o,ut.exports.defaultOptions=function(){return new a},ut.exports}var eo;function wa(){if(eo)return qe;eo=1;var n=ma(),a=Ca(),o=Va();function t(s,c,d,l){return d=d||n,l=l||a,o(s,c,d,l)}return t.defaultOptions=o.defaultOptions,qe.js=n,qe.css=a,qe.html=t,qe}var to;function Da(){return to||(to=1,function(n){function a(o,t,s){var c=function(d,l){return o.js_beautify(d,l)};return c.js=o.js_beautify,c.css=t.css_beautify,c.html=s.html_beautify,c.js_beautify=o.js_beautify,c.css_beautify=t.css_beautify,c.html_beautify=s.html_beautify,c}(function(o){var t=wa();t.js_beautify=t.js,t.css_beautify=t.css,t.html_beautify=t.html,o.exports=a(t,t,t)})(n)}(St)),St.exports}var ba=Da();const _t=pa(ba),ya=Object.assign({name:"VeOmitInput"},{__name:"index",props:{modelValue:{type:String,default:""},placeholder:{type:String,default:"请输入"},dialogTitle:{type:String,default:"内容编辑"},maxLength:{type:Number,default:50},textType:{type:String,default:"text"},example:{type:Object,default:()=>({flag:!1,text:""})}},emits:["update:modelValue"],setup(n,{expose:a,emit:o}){a();const t=n,s=o,c=e.ref(null),d=e.ref(""),l=e.computed({get:()=>t.modelValue,set:_=>s("update:modelValue",_)}),i=()=>{d.value=be(l.value),c.value?.show()},f=_=>{l.value=be(d.value),c.value?.cancel()},p=e.computed(()=>t.textType==="js"),w={props:t,emits:s,inputDialogRef:c,inputTextArea:d,internalValue:l,openInputDialog:i,confirmEdit:f,isFormatJs:p,formatCode:()=>{let _=d.value;_=_t(_,{indent_size:2,space_in_empty_paren:!0}),d.value=_},resetTextArea:()=>{d.value=""},copyExample:()=>{me(t.example.text)?Se(t.example.text)?Z("info","复制成功"):Z("warning","复制失败"):Z("warning","无样例")},copy:()=>{let _=d.value;Se(_)?Z("info","复制成功"):Z("warning","复制失败")},ref:e.ref,computed:e.computed,CommonDialog:yn,get deepCopy(){return be},get beautify(){return _t},get copyToClipboard(){return Se},get isNotEmpty(){return me},get showMessage(){return Z}};return Object.defineProperty(w,"__isScriptSetup",{enumerable:!1,value:!0}),w}});function Na(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-input"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-col"),p=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["custom-omit-input-wrapper",n.$attrs.class])},[e.createVNode(l,{modelValue:t.internalValue,"onUpdate:modelValue":a[0]||(a[0]=h=>t.internalValue=h),placeholder:t.props.placeholder,clearable:"",type:"text",class:"custom-omit-input",maxlength:t.props.maxLength},{append:e.withCtx(()=>[e.createVNode(d,{style:{width:"32px","text-align":"center"},onClick:t.openInputDialog},{default:e.withCtx(()=>[e.createTextVNode("...")]),_:1})]),_:1},8,["modelValue","placeholder","maxlength"]),e.createTextVNode(),e.createVNode(t.CommonDialog,{ref:"inputDialogRef",title:t.props.dialogTitle,width:700,onConfirm:t.confirmEdit},{"dialog-content":e.withCtx(()=>[e.createElementVNode("div",{style:{width:"100%",height:"500px","overflow-y":"auto","overflow-x":"hidden"}},[e.createVNode(l,{modelValue:t.inputTextArea,"onUpdate:modelValue":a[1]||(a[1]=h=>t.inputTextArea=h),type:"textarea",rows:20,maxlength:t.props.maxLength,"show-word-limit":""},null,8,["modelValue","maxlength"]),e.createTextVNode(),e.createElementVNode("div",{style:{height:"4px"}}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(f,{span:12},{default:e.withCtx(()=>[t.props.example.flag?(e.openBlock(),e.createBlock(i,{key:0,onClick:t.copyExample},{default:e.withCtx(()=>[e.createTextVNode("复制样例")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(i,{onClick:t.copy},{default:e.withCtx(()=>[e.createTextVNode("复制")]),_:1}),e.createTextVNode(),t.isFormatJs?(e.openBlock(),e.createBlock(i,{key:1,type:"primary",onClick:t.formatCode},{default:e.withCtx(()=>[e.createTextVNode("格式化")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(i,{type:"danger",onClick:t.resetTextArea},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1})])]),_:1},8,["title"])],2)}const Ge=J(ya,[["render",Na],["__scopeId","data-v-dfd64ff1"],["__file","index.vue"]]),Ea={__name:"CfgRequest",props:{config:{type:Object,default:{}}},setup(n,{expose:a}){a();const o=n,t=()=>({external:!1,url:"",method:"GET",sync:!1,series:!1,requestCount:0,time:1e3,loading:!1,enabledRespTip:!1,enabledRespErrTip:!1,customFunc:!1,headers:{},params:[],respParams:[],load:{lock:!1,background:"",text:"加载中...",extParam:{}},respTip:{tipType:"msg",type:"info",msg:"",extParam:{}},respErrTip:{tipType:"msg",type:"info",msg:"",extParam:{}},successFunc:"",errorFunc:""}),s=e.computed(()=>o.config),c=e.computed({get:()=>(s.value.respTip||(s.value.respTip={}),s.value.respTip),set:m=>{s.value.respTip=m}}),d=e.computed({get:()=>(s.value.respErrTip||(s.value.respErrTip={}),s.value.respErrTip),set:m=>{s.value.respErrTip=m}}),l=e.computed({get:()=>(s.value.load||(s.value.load={}),s.value.load),set:m=>{s.value.load=m}}),i=()=>{s.value&&!s.value.params&&(s.value.params=[]),s.value.params.push({ds:"inputV",key:"",tarKey:""})},f=m=>{s.value.params.splice(m,1)},p=()=>{s.value&&!s.value.respParams&&(s.value.respParams=[]),s.value.respParams.push({dataKey:"",ds:"",tarKey:""})},h=m=>{s.value.respParams.splice(m,1)};e.onMounted(()=>{s.value&&ze(s.value)&&Object.assign(s.value,t())});const V=e.computed({get:()=>{let m=l.value.extParam||{};return Ve(m)},set:m=>{c.value.load=xe(m,{})}}),N=e.computed({get:()=>{let m=c.value.extParam||{};return Ve(m)},set:m=>{c.value.extParam=xe(m,{})}}),x=e.computed({get:()=>{let m=d.value.extParam||{};return Ve(m)},set:m=>{d.value.extParam=xe(m,{})}}),w=e.computed({get:()=>{let m=s.value.headers||{};return Ve(m)},set:m=>{s.value.headers=xe(m,{})}}),r={props:o,getDefaultCfg:t,config:s,tip:c,errTip:d,load:l,addParam:i,deleteParam:f,addRespParam:p,deleteRespParam:h,loadExtraParam:V,extraParam:N,extraParam2:x,headerParam:w,changeSyncCfg:m=>{s.value.sync&&(s.value.series=!1)},computed:e.computed,onMounted:e.onMounted,get dataSourceArr(){return Te},get elementTypeArr(){return Tt},get predefineColors(){return kt},get requestMethodArr(){return $o},get tarDataSourceArr(){return vo},get tipTypeArr(){return gn},get getJsonObject(){return xe},get isEmptyObject(){return ze},get toJsonStr(){return Ve},VeOmitInput:Ge};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}};function ka(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-input"),f=e.resolveComponent("el-row"),p=e.resolveComponent("el-switch"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input-number"),x=e.resolveComponent("el-divider"),w=e.resolveComponent("el-button"),_=e.resolveComponent("el-color-picker");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("地址:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:20},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.config.url,"onUpdate:modelValue":a[0]||(a[0]=r=>t.config.url=r),placeholder:"请输入地址",type:"text"},{prepend:e.withCtx(()=>[e.createTextVNode("Https://")]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("外部请求:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.external,"onUpdate:modelValue":a[1]||(a[1]=r=>t.config.external=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("同步:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.sync,"onUpdate:modelValue":a[2]||(a[2]=r=>t.config.sync=r),onChange:t.changeSyncCfg},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("请求方法:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.method,"onUpdate:modelValue":a[3]||(a[3]=r=>t.config.method=r),placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.requestMethodArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("定时触发")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.series,"onUpdate:modelValue":a[4]||(a[4]=r=>t.config.series=r),disabled:t.config.sync},null,8,["modelValue","disabled"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("间隔毫秒")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.time,"onUpdate:modelValue":a[5]||(a[5]=r=>t.config.time=r),precision:0,step:100,min:1e3,style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("次数(0为无限)")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.requestCount,"onUpdate:modelValue":a[6]||(a[6]=r=>t.config.requestCount=r),precision:0,step:1,min:0,style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("Loading加载:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.loading,"onUpdate:modelValue":a[7]||(a[7]=r=>t.config.loading=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("响应成功提示:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.enabledRespTip,"onUpdate:modelValue":a[8]||(a[8]=r=>t.config.enabledRespTip=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("响应异常提示:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.enabledRespErrTip,"onUpdate:modelValue":a[9]||(a[9]=r=>t.config.enabledRespErrTip=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("自定义函数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.customFunc,"onUpdate:modelValue":a[10]||(a[10]=r=>t.config.customFunc=r)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(x,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("请求头Header")]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.headerParam,"onUpdate:modelValue":a[11]||(a[11]=r=>t.headerParam=r),dialogTitle:"请求头Header参数编辑(json对象)","max-length":1e3},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(x,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("请求参数")]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("请求参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(r,m)=>(e.openBlock(),e.createBlock(f,{gutter:10,key:m},{default:e.withCtx(()=>[e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:r.ds,"onUpdate:modelValue":g=>r.ds=g,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,g=>(e.openBlock(),e.createBlock(h,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.key,"onUpdate:modelValue":g=>r.key=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.tarKey,"onUpdate:modelValue":g=>r.tarKey=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(w,{icon:"delete",type:"danger",onClick:g=>t.deleteParam(m)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(x,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("Loading加载提示")]),_:1}),e.createTextVNode(),t.config.loading?(e.openBlock(),e.createBlock(f,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("锁")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("背景色")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("加载文案")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.loading?(e.openBlock(),e.createBlock(f,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.load.lock,"onUpdate:modelValue":a[12]||(a[12]=r=>t.load.lock=r)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.load.background,"onUpdate:modelValue":a[13]||(a[13]=r=>t.load.background=r),"show-alpha":"",predefine:t.predefineColors},null,8,["modelValue","predefine"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.load.text,"onUpdate:modelValue":a[14]||(a[14]=r=>t.load.text=r),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.loadExtraParam,"onUpdate:modelValue":a[15]||(a[15]=r=>t.loadExtraParam=r),dialogTitle:"额外参数编辑(json对象)","max-length":1e3},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(x,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("返回参数")]),_:1}),e.createTextVNode(),e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,{title:"从返回结果中获取值,支持.多层路径"},{default:e.withCtx(()=>[e.createTextVNode("返回结果(key)")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("目标源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(w,{icon:"plus",type:"primary",onClick:t.addRespParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.respParams,(r,m)=>(e.openBlock(),e.createBlock(f,{gutter:10,key:m},{default:e.withCtx(()=>[e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.dataKey,"onUpdate:modelValue":g=>r.dataKey=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:r.ds,"onUpdate:modelValue":g=>r.ds=g,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tarDataSourceArr,g=>(e.openBlock(),e.createBlock(h,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:r.tarKey,"onUpdate:modelValue":g=>r.tarKey=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(w,{icon:"delete",type:"danger",onClick:g=>t.deleteRespParam(m)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(x,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(f,{key:2,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:3,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("成功:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:9},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.successFunc,"onUpdate:modelValue":a[16]||(a[16]=r=>t.config.successFunc=r),dialogTitle:"函数编辑(参数列表res,函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:3,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("失败:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:9},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.errorFunc,"onUpdate:modelValue":a[17]||(a[17]=r=>t.config.errorFunc=r),dialogTitle:"函数编辑(参数列表res,err,函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(x,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("响应提示")]),_:1}),e.createTextVNode(),t.config.enabledRespTip||t.config.enabledRespErrTip?(e.openBlock(),e.createBlock(f,{key:3,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("类别")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("消息")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespTip?(e.openBlock(),e.createBlock(x,{key:4,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("成功提示")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespTip?(e.openBlock(),e.createBlock(f,{key:5,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.tip.tipType,"onUpdate:modelValue":a[18]||(a[18]=r=>t.tip.tipType=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tipTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.tip.type,"onUpdate:modelValue":a[19]||(a[19]=r=>t.tip.type=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.tip.msg,"onUpdate:modelValue":a[20]||(a[20]=r=>t.tip.msg=r),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[21]||(a[21]=r=>t.extraParam=r),dialogTitle:"额外参数编辑(json对象)","max-length":1e3},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespErrTip?(e.openBlock(),e.createBlock(x,{key:6,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("异常提示")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledRespErrTip?(e.openBlock(),e.createBlock(f,{key:7,gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.errTip.tipType,"onUpdate:modelValue":a[22]||(a[22]=r=>t.errTip.tipType=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tipTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{clearable:"",modelValue:t.errTip.type,"onUpdate:modelValue":a[23]||(a[23]=r=>t.errTip.type=r)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,r=>(e.openBlock(),e.createBlock(h,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.errTip.msg,"onUpdate:modelValue":a[24]||(a[24]=r=>t.errTip.msg=r),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam2,"onUpdate:modelValue":a[25]||(a[25]=r=>t.extraParam2=r),dialogTitle:"额外参数编辑(json对象)","max-length":1e3},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0)])}const Ta=J(Ea,[["render",ka],["__scopeId","data-v-9c8bf4bc"],["__file","CfgRequest.vue"]]),Aa={__name:"CfgRequestCall",props:{config:{type:Object,default:()=>({requestId:""})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s={props:o,config:t,computed:e.computed};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}};function Ba(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-switch"),f=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",{class:"cfg-container"},[e.createVNode(f,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("调用请求:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.config.requestId,"onUpdate:modelValue":a[0]||(a[0]=p=>t.config.requestId=p)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("地址:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:10})]),_:1})])}const Sa=J(Aa,[["render",Ba],["__scopeId","data-v-03216980"],["__file","CfgRequestCall.vue"]]),Fa={__name:"CfgRouter",props:{config:{type:Object,default:()=>({namedRouter:!1,path:"",params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",tarKey:""})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Oa(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-switch"),f=e.resolveComponent("el-input"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-divider"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-option"),x=e.resolveComponent("el-select");return e.openBlock(),e.createElementBlock("div",{class:"cfg-container"},[e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("命名路由:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.config.namedRouter,"onUpdate:modelValue":a[0]||(a[0]=w=>t.config.namedRouter=w)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[t.config.namedRouter?(e.openBlock(),e.createBlock(d,{key:1},{default:e.withCtx(()=>[e.createTextVNode("路由名:")]),_:1})):(e.openBlock(),e.createBlock(d,{key:0},{default:e.withCtx(()=>[e.createTextVNode("跳转地址:")]),_:1}))]),_:1}),e.createTextVNode(),e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:t.config.path,"onUpdate:modelValue":a[1]||(a[1]=w=>t.config.path=w),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("跳转参数")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("路由参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(w,_)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:_},{default:e.withCtx(()=>[e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:w.ds,"onUpdate:modelValue":r=>w.ds=r,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,r=>(e.openBlock(),e.createBlock(N,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:w.key,"onUpdate:modelValue":r=>w.key=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:w.tarKey,"onUpdate:modelValue":r=>w.tarKey=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{icon:"delete",type:"danger",onClick:r=>t.deleteParam(_)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const La=J(Fa,[["render",Oa],["__scopeId","data-v-7a388fc5"],["__file","CfgRouter.vue"]]),Pa={__name:"CfgCacheSet",props:{config:{type:Object,default:()=>({params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",tarKey:""})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Ra(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("缓存设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("缓存Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(x,w)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:w},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:x.ds,"onUpdate:modelValue":_=>x.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.key,"onUpdate:modelValue":_=>x.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.tarKey,"onUpdate:modelValue":_=>x.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deleteParam(w)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const Ma=J(Pa,[["render",Ra],["__scopeId","data-v-596f6eca"],["__file","CfgCacheSet.vue"]]),za={__name:"CfgParamMap",props:{config:{type:Object,default:()=>({params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ipn:"",ipv:null,opn:"",opv:null})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Ia(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("参数映射")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:5},{default:e.withCtx(()=>[e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("传入参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("参数值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("传出参数")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("参数值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(V,N)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:N},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.ipn,"onUpdate:modelValue":x=>V.ipn=x,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.ipv,"onUpdate:modelValue":x=>V.ipv=x,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.opn,"onUpdate:modelValue":x=>V.opn=x,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:V.opv,"onUpdate:modelValue":x=>V.opv=x,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:x=>t.deleteParam(N)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const Ua=J(za,[["render",Ia],["__scopeId","data-v-ef6f8d3f"],["__file","CfgParamMap.vue"]]),ja={__name:"CfgCustomFunc",props:{config:{type:Object,default:()=>({funcName:"函数别名",funcBody:"function(data) {}"})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,formatCode:()=>{let l=t.value.funcBody;l=_t(l,{indent_size:2,space_in_empty_paren:!0}),t.value.funcBody=l},resetCode:()=>{tt("确认清空函数代码?","确认","warning",function(l){t.value.funcBody=""},null)},computed:e.computed,get beautify(){return _t},get showConfirmMessageBox(){return tt}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Ka(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-input"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-col"),p=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理,函数内使用Helper访问方法")]),_:1}),e.createTextVNode(),e.createVNode(l,{modelValue:t.config.funcName,"onUpdate:modelValue":a[0]||(a[0]=h=>t.config.funcName=h),placeholder:"输入别名",maxlength:"30",type:"text"},null,8,["modelValue"]),e.createTextVNode(),e.createElementVNode("div",{style:{height:"6px"}}),e.createTextVNode(),e.createVNode(l,{modelValue:t.config.funcBody,"onUpdate:modelValue":a[1]||(a[1]=h=>t.config.funcBody=h),type:"textarea",rows:22,style:{"max-height":"540px"},maxlength:"5000","show-word-limit":""},null,8,["modelValue"]),e.createTextVNode(),e.createElementVNode("div",{style:{height:"4px"}}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(f,{span:12},{default:e.withCtx(()=>[e.createVNode(i,{type:"primary",onClick:t.formatCode},{default:e.withCtx(()=>[e.createTextVNode("格式化")]),_:1}),e.createTextVNode(),e.createVNode(i,{type:"danger",onClick:t.resetCode},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1})])}const Wa=J(ja,[["render",Ka],["__scopeId","data-v-26630b0a"],["__file","CfgCustomFunc.vue"]]),Ha={__name:"CfgWebStorage",props:{config:{type:Object,default:()=>({type:"session",opType:"edit",params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({delete:!1,ds:"inputV",key:"",tarKey:""})},c=i=>{t.value.params.splice(i,1)},d=e.computed(()=>t.value.opType!=="clear"),l={props:o,config:t,addParam:s,deleteParam:c,isEditModel:d,computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}};function qa(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-radio"),p=e.resolveComponent("el-radio-group"),h=e.resolveComponent("el-row"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-switch"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),_=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("Web缓存")]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:3},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("缓存类型:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.type,"onUpdate:modelValue":a[0]||(a[0]=r=>t.config.type=r)},{default:e.withCtx(()=>[e.createVNode(f,{value:"session"},{default:e.withCtx(()=>[e.createTextVNode("session")]),_:1}),e.createTextVNode(),e.createVNode(f,{value:"local"},{default:e.withCtx(()=>[e.createTextVNode("local")]),_:1}),e.createTextVNode(),e.createVNode(f,{value:"jsCookie"},{default:e.withCtx(()=>[e.createTextVNode("cookie")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:3},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("操作类型:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.opType,"onUpdate:modelValue":a[1]||(a[1]=r=>t.config.opType=r)},{default:e.withCtx(()=>[e.createVNode(f,{value:"edit"},{default:e.withCtx(()=>[e.createTextVNode("编辑")]),_:1}),e.createTextVNode(),e.createVNode(f,{value:"clear"},{default:e.withCtx(()=>[e.createTextVNode("清除")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),t.isEditModel?(e.openBlock(),e.createBlock(d,{key:0,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("单个缓存设置列表")]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.isEditModel?(e.openBlock(),e.createBlock(h,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("删除缓存")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("缓存Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.isEditModel?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(t.config.params,(r,m)=>(e.openBlock(),e.createBlock(h,{gutter:10,key:m},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:r.delete,"onUpdate:modelValue":g=>r.delete=g},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:r.ds,"onUpdate:modelValue":g=>r.ds=g,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,g=>(e.openBlock(),e.createBlock(x,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:r.key,"onUpdate:modelValue":g=>r.key=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:r.tarKey,"onUpdate:modelValue":g=>r.tarKey=g,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(V,{icon:"delete",type:"danger",onClick:g=>t.deleteParam(m)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)):e.createCommentVNode("",!0)])}const Xa=J(Ha,[["render",qa],["__scopeId","data-v-99ed424c"],["__file","CfgWebStorage.vue"]]),Ga={__name:"CfgCompSet",props:{config:{type:Object,default:()=>({styleSets:[],propSets:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),i={props:o,config:t,addStyleSet:()=>{t.value&&!t.value.styleSets&&(t.value.styleSets=[]),t.value.styleSets.push({ds:"inputV",key:"",tarKey:""})},deleteStyleSet:f=>{t.value.styleSets.splice(f,1)},addPropSet:()=>{t.value&&!t.value.propSets&&(t.value.propSets=[]),t.value.propSets.push({ds:"inputV",key:"",tarKey:""})},deletePropSet:f=>{t.value.propSets.splice(f,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}};function Ja(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("组件样式设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("样式Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addStyleSet},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.styleSets,(x,w)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:w},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:x.ds,"onUpdate:modelValue":_=>x.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.key,"onUpdate:modelValue":_=>x.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.tarKey,"onUpdate:modelValue":_=>x.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deleteStyleSet(w)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("组件属性设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("属性Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addPropSet},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.propSets,(x,w)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:w},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:x.ds,"onUpdate:modelValue":_=>x.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.key,"onUpdate:modelValue":_=>x.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.tarKey,"onUpdate:modelValue":_=>x.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deletePropSet(w)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const Ya=J(Ga,[["render",Ja],["__scopeId","data-v-09ab64b1"],["__file","CfgCompSet.vue"]]),Qa={__name:"CfgParamSet",props:{config:{type:Object,default:()=>({params:[]})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),d={props:o,config:t,addParam:()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",tarKey:""})},deleteParam:l=>{t.value.params.splice(l,1)},computed:e.computed,get dataSourceArr(){return Te}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}};function Za(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-option"),V=e.resolveComponent("el-select"),N=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("参数映射")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:5},{default:e.withCtx(()=>[e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("参数Key")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(f,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(x,w)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:w},{default:e.withCtx(()=>[e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:x.ds,"onUpdate:modelValue":_=>x.ds=_,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,_=>(e.openBlock(),e.createBlock(h,{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.key,"onUpdate:modelValue":_=>x.key=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:x.tarKey,"onUpdate:modelValue":_=>x.tarKey=_,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(f,{icon:"delete",type:"danger",onClick:_=>t.deleteParam(w)},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128))])}const $a=J(Qa,[["render",Za],["__scopeId","data-v-c1ad3453"],["__file","CfgParamSet.vue"]]),va={__name:"CfgActionEnd",props:{config:{type:Object,default:()=>({name:"操作终止",params:[],enabledTip:!1,tip:{tipType:"message",type:"info",msg:"",extParam:{}}})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=e.computed({get:()=>(t.value.tip||(t.value.tip={}),t.value.tip),set:f=>{t.value.tip=f}}),c=()=>{t.value&&!t.value.params&&(t.value.params=[]),t.value.params.push({ds:"inputV",key:"",opType:"==",value:""})},d=f=>{t.value.params.splice(f,1)},l=e.computed({get:()=>{let f=s.value.extParam||{};return Ve(f)},set:f=>{s.value.extParam=xe(f,{})}}),i={props:o,config:t,tip:s,addParam:c,deleteParam:d,extraParam:l,computed:e.computed,get dataSourceArr(){return Te},get elementTypeArr(){return Tt},get opTypeArr(){return mn},get tipTypeArr(){return gn},VeOmitInput:Ge,get getJsonObject(){return xe},get toJsonStr(){return Ve}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}};function el(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-input"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-switch"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-text"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-option"),x=e.resolveComponent("el-select");return e.openBlock(),e.createElementBlock("div",{class:"cfg-action-end"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("终止条件设置")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:14},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:t.config.name,"onUpdate:modelValue":a[0]||(a[0]=w=>t.config.name=w),placeholder:"输入别名",maxlength:"30",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:t.config.enabledTip,"onUpdate:modelValue":a[1]||(a[1]=w=>t.config.enabledTip=w),"active-text":"开启提示","inactive-text":"关闭提示"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("数据来源")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,{title:"取值key或者直接输入值"},{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("操作符号")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:5,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,{icon:"plus",type:"primary",onClick:t.addParam},{default:e.withCtx(()=>[e.createTextVNode("添加")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.params,(w,_)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:_},{default:e.withCtx(()=>[e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:w.ds,"onUpdate:modelValue":r=>w.ds=r,placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,r=>(e.openBlock(),e.createBlock(N,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:w.key,"onUpdate:modelValue":r=>w.key=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(x,{clearable:"",modelValue:w.opType,"onUpdate:modelValue":r=>w.opType=r},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.opTypeArr,r=>(e.openBlock(),e.createBlock(N,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:5},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:w.value,"onUpdate:modelValue":r=>w.value=r,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{icon:"delete",type:"danger",onClick:r=>t.deleteParam(_),title:"删除"},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("终止时提示")]),_:1}),e.createTextVNode(),t.config.enabledTip?(e.openBlock(),e.createBlock(p,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("类别")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("消息")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(h,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数")]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.enabledTip?(e.openBlock(),e.createBlock(p,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(x,{clearable:"",modelValue:t.tip.tipType,"onUpdate:modelValue":a[2]||(a[2]=w=>t.tip.tipType=w)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tipTypeArr,w=>(e.openBlock(),e.createBlock(N,{key:w.value,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(x,{clearable:"",modelValue:t.tip.type,"onUpdate:modelValue":a[3]||(a[3]=w=>t.tip.type=w)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,w=>(e.openBlock(),e.createBlock(N,{key:w.value,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:10},{default:e.withCtx(()=>[e.createVNode(l,{modelValue:t.tip.msg,"onUpdate:modelValue":a[4]||(a[4]=w=>t.tip.msg=w),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:6},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[5]||(a[5]=w=>t.extraParam=w),title:"额外参数编辑(json对象)","max-length":1e3},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0)])}const tl=J(va,[["render",el],["__scopeId","data-v-5de898a9"],["__file","CfgActionEnd.vue"]]),nl={__name:"CfgMessageBox",props:{config:{type:Object,default:{}}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=()=>({type:"confirm",title:"Confirm",message:"Continue?",msgType:"",confirmText:"确认",cancelText:"取消",params:{},customFunc:!1,autoBlock:!0,confirmFunc:"",cancelFunc:"",closeFunc:"",errorFunc:""}),c=[{value:"confirm",label:"Confirm"},{value:"prompt",label:"Prompt"}],d=e.computed({get:()=>{let i=t.value.params||{};return Ve(i)},set:i=>{t.value.params=xe(i,{})}});e.onMounted(()=>{t.value&&ze(t.value)&&Object.assign(t.value,s())});const l={props:o,config:t,getDefaultCfg:s,typeArr:c,extraParam:d,computed:e.computed,onMounted:e.onMounted,get elementTypeArr(){return Tt},VeOmitInput:Ge,get getJsonObject(){return xe},get isEmptyObject(){return ze},get toJsonStr(){return Ve}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}};function ol(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-option"),p=e.resolveComponent("el-select"),h=e.resolveComponent("el-row"),V=e.resolveComponent("el-input"),N=e.resolveComponent("el-switch");return e.openBlock(),e.createElementBlock("div",{class:"cfg-message-box"},[e.createElementVNode("span",null,"默认情况只有确认时,才会执行后续操作列表,如需执行后续操作,关闭自动阻断"),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("消息弹框设置")]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("类别:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{clearable:"",modelValue:t.config.type,"onUpdate:modelValue":a[0]||(a[0]=x=>t.config.type=x)},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t.typeArr,x=>e.createVNode(f,{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("消息类型:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{clearable:"",modelValue:t.config.msgType,"onUpdate:modelValue":a[1]||(a[1]=x=>t.config.msgType=x)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.elementTypeArr,x=>(e.openBlock(),e.createBlock(f,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("标题:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.title,"onUpdate:modelValue":a[2]||(a[2]=x=>t.config.title=x),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("内容:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.message,"onUpdate:modelValue":a[3]||(a[3]=x=>t.config.message=x),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("确认按钮:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.confirmText,"onUpdate:modelValue":a[4]||(a[4]=x=>t.config.confirmText=x),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("取消按钮:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.cancelText,"onUpdate:modelValue":a[5]||(a[5]=x=>t.config.cancelText=x),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[6]||(a[6]=x=>t.extraParam=x),"dialog-title":"额外参数编辑(json对象,字段为正则表达式时注意反斜杠 \\ 进行转义(\\ → \\\\))","max-length":1e3},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("自定义函数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.customFunc,"onUpdate:modelValue":a[7]||(a[7]=x=>t.config.customFunc=x)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"关闭,取消也执行后续操作列表"},{default:e.withCtx(()=>[e.createTextVNode("自动阻断:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.autoBlock,"onUpdate:modelValue":a[8]||(a[8]=x=>t.config.autoBlock=x)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("确认:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.confirmFunc,"onUpdate:modelValue":a[9]||(a[9]=x=>t.config.confirmFunc=x),dialogTitle:"函数编辑(prompt时,有promptValue参数)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("取消:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.cancelFunc,"onUpdate:modelValue":a[10]||(a[10]=x=>t.config.cancelFunc=x),dialogTitle:"函数编辑(函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:2,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("关闭:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.closeFunc,"onUpdate:modelValue":a[11]||(a[11]=x=>t.config.closeFunc=x),dialogTitle:"函数编辑(函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),t.config.customFunc?(e.openBlock(),e.createBlock(h,{key:3,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("异常:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.errorFunc,"onUpdate:modelValue":a[12]||(a[12]=x=>t.config.errorFunc=x),dialogTitle:"函数编辑(有error参数,函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0)])}const al=J(nl,[["render",ol],["__scopeId","data-v-6f8e4bda"],["__file","CfgMessageBox.vue"]]);/*! Element Plus Icons Vue v2.3.1 */var ll=e.defineComponent({name:"DocumentCopy",__name:"document-copy",setup(n){return(a,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),il=ll,rl=e.defineComponent({name:"Refresh",__name:"refresh",setup(n){return(a,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),sl=rl;const cl={__name:"CfgDialog",props:{config:{type:Object,default:{}}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s=e.ref(!1),c=()=>({title:"对话框",width:500,height:400,fullscreen:!1,modal:!0,showClose:!0,beforeCloseFunc:"",draggable:!1,showFooter:!0,confirmFunc:"",params:"",pageId:"",pageParam:"",showHeader:!0,dialogId:ce(fe.Dialog),customPosition:!1,noBackgroundColor:!1}),d=e.computed({get:()=>{let p=t.value.params||{};return Ve(p)},set:p=>{t.value.params=xe(p,{})}}),l=e.computed({get:()=>{let p=t.value.pageParam||{};return Ve(p)},set:p=>{t.value.pageParam=xe(p,{})}});e.onMounted(()=>{t.value&&ze(t.value)&&Object.assign(t.value,c())}),e.watch(()=>t.value.showHeader,p=>{t.value.showHeader?s.value=!1:(t.value.showClose=!1,s.value=!0,Z("info","隐藏标题栏时 不启用关闭按钮"))});const f={props:o,config:t,disabledShowCloseEdit:s,getDefaultCfg:c,extraParam:d,extraPageParam:l,handleDbClickDialogId:p=>{Se(t.value.dialogId)?Z("success","复制成功"):Z("warning","复制失败")},ref:e.ref,computed:e.computed,onMounted:e.onMounted,watch:e.watch,VeOmitInput:Ge,get getJsonObject(){return xe},get isEmptyObject(){return ze},get toJsonStr(){return Ve},get showMessage(){return Z},get copyToClipboard(){return Se},get generatePrefixID(){return ce},get IdPrefix(){return fe},get DocumentCopy(){return il}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}};function dl(n,a,o,t,s,c){const d=e.resolveComponent("el-divider"),l=e.resolveComponent("el-text"),i=e.resolveComponent("el-col"),f=e.resolveComponent("el-button"),p=e.resolveComponent("el-input"),h=e.resolveComponent("el-row"),V=e.resolveComponent("el-input-number"),N=e.resolveComponent("el-switch");return e.openBlock(),e.createElementBlock("div",{class:"cfg-message-box"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("对话框设置,对话框之后不应该有其他操作列表")]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("对话框Id:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.dialogId,"onUpdate:modelValue":a[0]||(a[0]=x=>t.config.dialogId=x),disabled:"",type:"text"},{append:e.withCtx(()=>[e.createVNode(f,{icon:t.DocumentCopy,onClick:t.handleDbClickDialogId},null,8,["icon"])]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("标题:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.title,"onUpdate:modelValue":a[1]||(a[1]=x=>t.config.title=x),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("中心区域宽度:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.width,"onUpdate:modelValue":a[2]||(a[2]=x=>t.config.width=x),precision:0,step:1,min:100},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("中心区域高度:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.height,"onUpdate:modelValue":a[3]||(a[3]=x=>t.config.height=x),precision:0,step:1,min:100},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("页面Id:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.config.pageId,"onUpdate:modelValue":a[4]||(a[4]=x=>t.config.pageId=x),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("页面参数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraPageParam,"onUpdate:modelValue":a[5]||(a[5]=x=>t.extraPageParam=x),"dialog-title":"页面参数编辑(json对象)","max-length":300},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("遮罩层:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.modal,"onUpdate:modelValue":a[6]||(a[6]=x=>t.config.modal=x)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"不设置,保持ElementPlus的默认"},{default:e.withCtx(()=>[e.createTextVNode("自定义位置:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.customPosition,"onUpdate:modelValue":a[7]||(a[7]=x=>t.config.customPosition=x)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),t.config.customPosition?(e.openBlock(),e.createBlock(h,{key:0,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"相对于触发组件的左侧"},{default:e.withCtx(()=>[e.createTextVNode("左侧:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.leftOffset,"onUpdate:modelValue":a[8]||(a[8]=x=>t.config.leftOffset=x),precision:0,step:1},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"相对于触发组件的顶部"},{default:e.withCtx(()=>[e.createTextVNode("顶部:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(V,{modelValue:t.config.topOffset,"onUpdate:modelValue":a[9]||(a[9]=x=>t.config.topOffset=x),precision:0,step:1},{suffix:e.withCtx(()=>[e.createElementVNode("span",null,"px")]),_:1},8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("显示标题栏:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.showHeader,"onUpdate:modelValue":a[10]||(a[10]=x=>t.config.showHeader=x)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,{title:"隐藏底部栏时,注意弹框是否可以通过其他方式关闭"},{default:e.withCtx(()=>[e.createTextVNode("显示底部栏:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.showFooter,"onUpdate:modelValue":a[11]||(a[11]=x=>t.config.showFooter=x)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("关闭按钮:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.showClose,"onUpdate:modelValue":a[12]||(a[12]=x=>t.config.showClose=x),disabled:t.disabledShowCloseEdit},null,8,["modelValue","disabled"])]),_:1}),e.createTextVNode(),e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("启用可拖拽:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.draggable,"onUpdate:modelValue":a[13]||(a[13]=x=>t.config.draggable=x)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("无背景色:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:8},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.config.noBackgroundColor,"onUpdate:modelValue":a[14]||(a[14]=x=>t.config.noBackgroundColor=x)},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("额外参数:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.extraParam,"onUpdate:modelValue":a[15]||(a[15]=x=>t.extraParam=x),"dialog-title":"额外参数编辑(json对象)","max-length":500},null,8,["modelValue"])]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("自定义函数处理")]),_:1}),e.createTextVNode(),t.config.showClose?(e.openBlock(),e.createBlock(h,{key:1,gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("关闭前回调:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.beforeCloseFunc,"onUpdate:modelValue":a[16]||(a[16]=x=>t.config.beforeCloseFunc=x),dialogTitle:"函数编辑(函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(h,{gutter:10},{default:e.withCtx(()=>[e.createVNode(i,{span:4},{default:e.withCtx(()=>[e.createVNode(l,null,{default:e.withCtx(()=>[e.createTextVNode("确认回调:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(i,{span:20},{default:e.withCtx(()=>[e.createVNode(t.VeOmitInput,{modelValue:t.config.confirmFunc,"onUpdate:modelValue":a[17]||(a[17]=x=>t.config.confirmFunc=x),dialogTitle:"函数编辑(函数内使用Helper访问方法)","max-length":3e3,textType:"js"},null,8,["modelValue"])]),_:1})]),_:1})])}const ul=J(cl,[["render",dl],["__scopeId","data-v-5b98891d"],["__file","CfgDialog.vue"]]),pl={__name:"CfgEmpty",props:{config:{type:Object,default:()=>({})}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.config),s={props:o,config:t,computed:e.computed};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}};function _l(n,a,o,t,s,c){const d=e.resolveComponent("el-divider");return e.openBlock(),e.createElementBlock("div",{class:"cfg-request"},[e.createVNode(d,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("未定义操作")]),_:1})])}const fl=J(pl,[["render",_l],["__scopeId","data-v-388967c2"],["__file","CfgEmpty.vue"]]),no="事件编辑",hl={__name:"EventDialog",props:{width:{type:Number,default:1200}},setup(n,{expose:a}){const o=e.ref(!1),t=e.ref("未定义"),s=e.ref({type:"",typeName:"",id:"",name:"事件",default:!0,condition:[],actionList:[]});let c=null,d=null,l=!1,i="add";const f=e.ref(""),p=e.ref(-1),h=e.ref({config:{}}),V=n,N=e.computed(()=>no+"["+t.value+"]"),x=e.computed(()=>h.value?.action=="dataRequest"),w=e.computed(()=>h.value?.action=="router"),_=e.computed(()=>h.value?.action=="cacheSet"),r=e.computed(()=>h.value?.action=="paramMap"),m=e.computed(()=>h.value?.action=="customFunction"),g=e.computed(()=>h.value?.action=="webStorage"),D=e.computed(()=>h.value?.action=="componentSet"),k=e.computed(()=>h.value?.action=="paramSet"),C=e.computed(()=>h.value?.action=="actionEnd"),y=e.computed(()=>h.value?.action=="messageBox"),b=e.computed(()=>h.value?.action=="openDialog"),A=()=>{if(s.value.condition.length>10){Z("warning","超过最大条件数限制");return}s.value.condition.push({lType:"",lValue:"",opType:"",rType:"",rValue:""})},u=()=>{Be.ElMessageBox.confirm("确认清空所有执行条件?","确认",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{s.value.condition=[]}).catch(()=>{})},E=j=>{s.value.condition.splice(j,1)},T=()=>{if(f.value){let j=s.value.actionList.length;if(j>20){Z("warning","操作列表数据量超过限制");return}let ge=hn.filter(ue=>ue.value==f.value),pe=ge.length>0?ge[0].label:"未定义";s.value.actionList.push({action:f.value,name:pe,config:{},seq:j+1})}else Z("warning","请选择需要添加的操作")},M=()=>{if(et(p.value)&&p.value>=0){s.value.actionList.splice(p.value,1);for(let j=p.value;j<s.value.actionList.length;j++)s.value.actionList[j].seq=j+1;K()}else Z("warning","请在表格中选择需要删除的操作")},z=()=>{if(et(p.value)&&p.value>=0)if(p.value==0||s.value.actionList.length==1)Z("warning","无需移动");else{const j=s.value.actionList[p.value-1];s.value.actionList[p.value-1]=s.value.actionList[p.value],s.value.actionList[p.value-1].seq=p.value-1+1,s.value.actionList[p.value]=j,s.value.actionList[p.value].seq=p.value+1}else Z("warning","请在表格中选择需要上移的操作")},H=()=>{if(et(p.value)&&p.value>=0)if(s.value.actionList.length==1||p.value==s.value.actionList.length-1)Z("warning","无需移动");else{const j=s.value.actionList[p.value+1];s.value.actionList[p.value+1]=s.value.actionList[p.value],s.value.actionList[p.value+1].seq=p.value+1+1,s.value.actionList[p.value]=j,s.value.actionList[p.value].seq=p.value+1}else Z("warning","请在表格中选择需要下移的操作")},P=j=>{j?(p.value=j.seq-1,h.value=j):K()},K=()=>{p.value=-1,h.value={}},I=()=>{c&&c({flag:i,event:be(s.value)}),l=!0,q()},q=()=>{o.value=!1,d&&!l&&d({})},$=j=>{l=!1,o.value=!0,f.value="",K();let ge=j||{};t.value=ge.typeName||"未定义",i=ge.flag||"",s.value=be(ge.event),Pe(j.confirmBack)?c=j.confirmBack:c=null,Pe(j.cancelBack)?d=j.cancelBack:d=null};a({show:$});const ne={openDialog:o,fixedTitle:no,title:t,eventObject:s,get confirmBack(){return c},set confirmBack(j){c=j},get cancelBack(){return d},set cancelBack(j){d=j},get cancelFromConfirm(){return l},set cancelFromConfirm(j){l=j},get flag(){return i},set flag(j){i=j},curEventAction:f,curSelectActionIndex:p,curSelectAction:h,props:V,showTitle:N,isDataRequest:x,isRouter:w,isCacheSet:_,isParamMap:r,isCustomFunc:m,isWebStorage:g,isComponentSet:D,isParamSet:k,isActionEnd:C,isMessageBox:y,isOpenDialog:b,addCond:A,clearCond:u,deleteCond:E,AddEventAction:T,DeleteEventAction:M,UpEventAction:z,DownEventAction:H,onSelectActionId:P,clearSelectAcition:K,confirm:I,cancel:q,show:$,computed:e.computed,nextTick:e.nextTick,ref:e.ref,get deepCopy(){return be},get isFunction(){return Pe},get isNumber(){return et},get isNotEmpty(){return Me},get dataSourceArr(){return Te},get eventActionArr(){return hn},get eventArr(){return nt},get opTypeArr(){return mn},get showMessage(){return Z},get ElMessageBox(){return Be.ElMessageBox},CfgRequest:Ta,CfgRequestCall:Sa,CfgRouter:La,CfgCacheSet:Ma,CfgParamMap:Ua,CfgCustomFunc:Wa,CfgWebStorage:Xa,CfgCompSet:Ya,CfgParamSet:$a,CfgActionEnd:tl,CfgMessageBox:al,CfgDialog:ul,CfgEmpty:fl};return Object.defineProperty(ne,"__isScriptSetup",{enumerable:!1,value:!0}),ne}};function ml(n,a,o,t,s,c){const d=e.resolveComponent("el-text"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-input"),f=e.resolveComponent("el-switch"),p=e.resolveComponent("el-row"),h=e.resolveComponent("el-divider"),V=e.resolveComponent("el-button"),N=e.resolveComponent("el-button-group"),x=e.resolveComponent("el-option"),w=e.resolveComponent("el-select"),_=e.resolveComponent("el-table-column"),r=e.resolveComponent("el-table"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(m,{title:t.showTitle,modelValue:t.openDialog,"onUpdate:modelValue":a[3]||(a[3]=g=>t.openDialog=g),width:t.props.width,"before-close":t.cancel,"destroy-on-close":!0,modal:!0,"show-close":!1,"align-center":!0,draggable:""},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"container-pane"},[e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("实例名称")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:8},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.eventObject.name,"onUpdate:modelValue":a[0]||(a[0]=g=>t.eventObject.name=g),placeholder:"请输入",type:"text"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,{title:"默认执行,则后续事件不在执行"},{default:e.withCtx(()=>[e.createTextVNode("默认执行")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(f,{modelValue:t.eventObject.default,"onUpdate:modelValue":a[1]||(a[1]=g=>t.eventObject.default=g)},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4})]),_:1}),e.createTextVNode(),t.eventObject.default?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(h,{key:0,"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("执行条件,多个条件时需同时满足")]),_:1})),e.createTextVNode(),t.eventObject.default?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,style:{width:"100%",height:"100%","max-height":"150px","overflow-y":"auto","overflow-x":"hidden"}},[e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("左侧类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("左侧值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("操作符")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("右侧类型")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("右侧值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(N,null,{default:e.withCtx(()=>[e.createVNode(V,{type:"primary",icon:"plus",onClick:t.addCond}),e.createTextVNode(),e.createVNode(V,{type:"danger",icon:"delete",onClick:t.clearCond},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.eventObject.condition,(g,D)=>(e.openBlock(),e.createBlock(p,{gutter:10,key:D},{default:e.withCtx(()=>[e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:g.lType,"onUpdate:modelValue":k=>g.lType=k,clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,k=>(e.openBlock(),e.createBlock(x,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:g.lValue,"onUpdate:modelValue":k=>g.lValue=k,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(w,{clearable:"",modelValue:g.opType,"onUpdate:modelValue":k=>g.opType=k},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.opTypeArr,k=>(e.openBlock(),e.createBlock(x,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:g.rType,"onUpdate:modelValue":k=>g.rType=k,clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataSourceArr,k=>(e.openBlock(),e.createBlock(x,{key:k.value,label:k.label,value:k.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:g.rValue,"onUpdate:modelValue":k=>g.rValue=k,placeholder:"请输入",type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:4},{default:e.withCtx(()=>[e.createVNode(V,{type:"danger",icon:"delete",onClick:k=>t.deleteCond(D)},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),128))])),e.createTextVNode(),e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("执行操作")]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:4,class:"item-label"},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createTextVNode("选择操作")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:8},{default:e.withCtx(()=>[e.createVNode(w,{clearable:"",modelValue:t.curEventAction,"onUpdate:modelValue":a[2]||(a[2]=g=>t.curEventAction=g)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.eventActionArr,g=>(e.openBlock(),e.createBlock(x,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(N,null,{default:e.withCtx(()=>[e.createVNode(V,{type:"primary",icon:"plus",onClick:t.AddEventAction}),e.createTextVNode(),e.createVNode(V,{type:"danger",icon:"delete",onClick:t.DeleteEventAction}),e.createTextVNode(),e.createVNode(V,{type:"info",icon:"arrowUp",onClick:t.UpEventAction}),e.createTextVNode(),e.createVNode(V,{type:"info",icon:"arrowDown",onClick:t.DownEventAction})]),_:1})]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{gutter:10},{default:e.withCtx(()=>[e.createVNode(l,{span:24},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"flex-pane"},[e.createElementVNode("div",{class:"fixed-pane"},[e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("操作列表")]),_:1}),e.createTextVNode(),e.createVNode(r,{ref:"tableInstance",data:t.eventObject.actionList,stripe:"",border:"",style:{flex:"1",overflow:"auto",height:"590px"},"highlight-current-row":"",showHeader:!1,onCurrentChange:t.onSelectActionId},{default:e.withCtx(()=>[e.createVNode(_,{label:"序号",align:"left",key:"seq",prop:"seq",width:"50"}),e.createTextVNode(),e.createVNode(_,{label:"名称",align:"left",key:"name",prop:"name",width:"300"})]),_:1},8,["data"])]),e.createTextVNode(),e.createElementVNode("div",{class:"flexible-pane"},[e.createVNode(h,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("操作详情")]),_:1}),e.createTextVNode(),t.isDataRequest?(e.openBlock(),e.createBlock(t.CfgRequest,{key:0,config:t.curSelectAction.config},null,8,["config"])):t.isRouter?(e.openBlock(),e.createBlock(t.CfgRouter,{key:1,config:t.curSelectAction.config},null,8,["config"])):t.isCacheSet?(e.openBlock(),e.createBlock(t.CfgCacheSet,{key:2,config:t.curSelectAction.config},null,8,["config"])):t.isParamMap?(e.openBlock(),e.createBlock(t.CfgParamMap,{key:3,config:t.curSelectAction.config},null,8,["config"])):t.isCustomFunc?(e.openBlock(),e.createBlock(t.CfgCustomFunc,{key:4,config:t.curSelectAction.config},null,8,["config"])):t.isWebStorage?(e.openBlock(),e.createBlock(t.CfgWebStorage,{key:5,config:t.curSelectAction.config},null,8,["config"])):t.isComponentSet?(e.openBlock(),e.createBlock(t.CfgCompSet,{key:6,config:t.curSelectAction.config},null,8,["config"])):t.isParamSet?(e.openBlock(),e.createBlock(t.CfgParamSet,{key:7,config:t.curSelectAction.config},null,8,["config"])):t.isActionEnd?(e.openBlock(),e.createBlock(t.CfgActionEnd,{key:8,config:t.curSelectAction.config},null,8,["config"])):t.isMessageBox?(e.openBlock(),e.createBlock(t.CfgMessageBox,{key:9,config:t.curSelectAction.config},null,8,["config"])):t.isOpenDialog?(e.openBlock(),e.createBlock(t.CfgDialog,{key:10,config:t.curSelectAction.config},null,8,["config"])):(e.openBlock(),e.createBlock(t.CfgEmpty,{key:11,config:t.curSelectAction.config},null,8,["config"]))])])]),_:1})]),_:1})])]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"dialog-footer"},[e.createVNode(V,{type:"primary",onClick:t.confirm},{default:e.withCtx(()=>[e.createTextVNode("确定")]),_:1}),e.createTextVNode(),e.createVNode(V,{onClick:t.cancel},{default:e.withCtx(()=>[e.createTextVNode("关 闭")]),_:1})])]),_:1},8,["title","modelValue","width"])}const gl=J(hl,[["render",ml],["__scopeId","data-v-c30af151"],["__file","EventDialog.vue"]]),Cl={__name:"CompEvent",props:{editorStore:{type:Object,default:()=>te()}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.editorStore?.curComponent||{}),s=e.computed(()=>{let r=t.value.hasEvents||[];return nt.filter(m=>r.includes(m.value))}),c={children:"children",label:"name"},d=e.ref(""),l=e.ref([]),i=e.ref(null),f=e.computed(()=>{let r=t.value.events||{};return p(r)});function p(r){const m=new Map;let g=[],D=Object.keys(r);Fe("debug","buildTree data:",r);for(let k=0;k<D.length;k++)g=[],r[D[k]].forEach(C=>{let y=[];C.actionList.forEach(b=>{y.push({name:b.name})}),g.push({name:C.name,id:C.id,type:D[k],isEdit:!0,children:y})}),m.set(D[k],{type:D[k],name:r[D[k]][0].typeName,children:g});return Array.from(m.values())}const h=r=>{if(r){let m=nt.filter(k=>k.value==r),g=m.length>0?m[0].label:"未定义",D={type:r,typeName:g,id:ce(fe.CompEvent),name:"事件",default:!0,condition:[],actionList:[]};N(D,"add")}},V=(r,m)=>t.value.events[r].findIndex(k=>k.id==m),N=(r,m)=>{i.value.show({typeName:r.typeName,event:r,flag:m,confirmBack:function(g){if(d.value="",g.flag=="add")o.editorStore?.addComponentEvent(g.event);else if(g.flag=="edit"){let D=V(g.event.type,g.event.id);D>=0&&o.editorStore?.alterComponentEvent(g.event.type,D,g.event)}},cancelBack:function(g){d.value=""}})},_={props:o,curComponent:t,compEventArr:s,defaultProps:c,selectEvent:d,data:l,eventDialogRef:i,treeData:f,buildTree:p,changeEvent:h,findEventIndexById:V,openEventDialog:N,editNode:(r,m)=>{if(r&&m.id){let g=V(m.type,m.id);g>=0&&N(Ce(t.value.events[m.type][g]),"edit")}},removeNode:(r,m)=>{if(r&&m.id){let g=V(m.type,m.id);g>=0&&tt("确认删除该事件?","确认","warning",function(){o.editorStore?.removeComponentEvent(m.type,g)},null)}},computed:e.computed,ref:e.ref,get eventArr(){return nt},get IdPrefix(){return fe},get useEditorStore(){return te},EventDialog:gl,get consolePrint(){return Fe},get deepCopy(){return Ce},get generatePrefixID(){return ce},get showConfirmMessageBox(){return tt}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}};function xl(n,a,o,t,s,c){const d=e.resolveComponent("el-option"),l=e.resolveComponent("el-select"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-tree");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"comp-event"},[e.createElementVNode("div",{class:"tool-list"},[e.createVNode(l,{modelValue:t.selectEvent,"onUpdate:modelValue":a[0]||(a[0]=p=>t.selectEvent=p),placeholder:"选择事件>>",style:{width:"100%"},onChange:t.changeEvent,clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.compEventArr,p=>(e.openBlock(),e.createBlock(d,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createTextVNode(),e.createElementVNode("div",{class:"tree-pane"},[e.createVNode(f,{props:t.defaultProps,data:t.treeData,style:{height:"100%"},"default-expand-all":"","node-key":"id"},{default:e.withCtx(({node:p,data:h})=>[e.createElementVNode("div",{class:"custom-tree-node"},[e.createElementVNode("span",null,e.toDisplayString(p.label),1),e.createTextVNode(),h.isEdit?(e.openBlock(),e.createElementBlock("div",{key:0},[e.createVNode(i,{type:"primary",size:"small",link:"",onClick:V=>t.editNode(p,h)},{default:e.withCtx(()=>[e.createTextVNode(`\r
|
|
59
59
|
编辑\r
|
|
60
60
|
`)]),_:2},1032,["onClick"]),e.createTextVNode(),e.createVNode(i,{style:{"margin-left":"2px"},size:"small",type:"danger",link:"",onClick:V=>t.removeNode(p,h)},{default:e.withCtx(()=>[e.createTextVNode(`删除\r
|
|
61
|
-
`)]),_:2},1032,["onClick"])])):e.createCommentVNode("",!0)])]),_:1},8,["data"])])]),e.createTextVNode(),e.createVNode(t.EventDialog,{ref:"eventDialogRef"},null,512)],64)}const Vl=J(Cl,[["render",xl],["__scopeId","data-v-742bd246"],["__file","CompEvent.vue"]]),ft=[{label:"进入",children:[{label:"渐显",value:"fadeIn"},{label:"向右进入",value:"fadeInLeft"},{label:"向左进入",value:"fadeInRight"},{label:"向上进入",value:"fadeInUp"},{label:"向下进入",value:"fadeInDown"},{label:"向右长距进入",value:"fadeInLeftBig"},{label:"向左长距进入",value:"fadeInRightBig"},{label:"向上长距进入",value:"fadeInUpBig"},{label:"向下长距进入",value:"fadeInDownBig"},{label:"旋转进入",value:"rotateIn"},{label:"左顺时针旋转",value:"rotateInDownLeft"},{label:"右逆时针旋转",value:"rotateInDownRight"},{label:"左逆时针旋转",value:"rotateInUpLeft"},{label:"右逆时针旋转",value:"rotateInUpRight"},{label:"弹入",value:"bounceIn"},{label:"向右弹入",value:"bounceInLeft"},{label:"向左弹入",value:"bounceInRight"},{label:"向上弹入",value:"bounceInUp"},{label:"向下弹入",value:"bounceInDown"},{label:"光速从右进入",value:"lightSpeedIn"},{label:"光速从右退出",value:"lightSpeedOut"},{label:"中心X轴旋转",value:"flipInX"},{label:"中心Y轴旋转",value:"flipInY"},{label:"左长半径旋转",value:"rollIn"},{label:"由小变大进入",value:"zoomIn"},{label:"左变大进入",value:"zoomInLeft"},{label:"右变大进入",value:"zoomInRight"},{label:"向上变大进入",value:"zoomInUp"},{label:"向下变大进入",value:"zoomInDown"},{label:"向右滑动展开",value:"slideInLeft"},{label:"向左滑动展开",value:"slideInRight"},{label:"向上滑动展开",value:"slideInUp"},{label:"向下滑动展开",value:"slideInDown"}]},{label:"强调",children:[{label:"弹跳",value:"bounce"},{label:"闪烁",value:"flash"},{label:"放大缩小",value:"pulse"},{label:"放大缩小弹簧",value:"rubberBand"},{label:"左右晃动",value:"headShake"},{label:"左右扇形摇摆",value:"swing"},{label:"放大晃动缩小",value:"tada"},{label:"扇形摇摆",value:"wobble"},{label:"左右上下晃动",value:"jello"},{label:"Y轴旋转",value:"flip"}]},{label:"退出",children:[{label:"渐隐",value:"fadeOut"},{label:"向左退出",value:"fadeOutLeft"},{label:"向右退出",value:"fadeOutRight"},{label:"向上退出",value:"fadeOutUp"},{label:"向下退出",value:"fadeOutDown"},{label:"向左长距退出",value:"fadeOutLeftBig"},{label:"向右长距退出",value:"fadeOutRightBig"},{label:"向上长距退出",value:"fadeOutUpBig"},{label:"向下长距退出",value:"fadeOutDownBig"},{label:"旋转退出",value:"rotateOut"},{label:"左顺时针旋转",value:"rotateOutDownLeft"},{label:"右逆时针旋转",value:"rotateOutDownRight"},{label:"左逆时针旋转",value:"rotateOutUpLeft"},{label:"右逆时针旋转",value:"rotateOutUpRight"},{label:"弹出",value:"bounceOut"},{label:"向左弹出",value:"bounceOutLeft"},{label:"向右弹出",value:"bounceOutRight"},{label:"向上弹出",value:"bounceOutUp"},{label:"向下弹出",value:"bounceOutDown"},{label:"中心X轴旋转",value:"flipOutX"},{label:"中心Y轴旋转",value:"flipOutY"},{label:"左长半径旋转",value:"rollOut"},{label:"由小变大退出",value:"zoomOut"},{label:"左变大退出",value:"zoomOutLeft"},{label:"右变大退出",value:"zoomOutRight"},{label:"向上变大退出",value:"zoomOutUp"},{label:"向下变大退出",value:"zoomOutDown"},{label:"向左滑动收起",value:"slideOutLeft"},{label:"向右滑动收起",value:"slideOutRight"},{label:"向上滑动收起",value:"slideOutUp"},{label:"向下滑动收起",value:"slideOutDown"}]}];ft.forEach(n=>{n.children.forEach(a=>{a.pending=!1,a.animationTime=1})});const wl={__name:"AnimationList",props:{editorStore:{type:Object,default:()=>te()}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.editorStore?.curComponent||{}),s=e.computed(()=>t.value.animations||[]),c=e.ref([]),d=e.ref(null),l=e.ref({}),i=g=>{let b=[];for(let _=0;_<ft.length;_++){b=ft[_].children||[];const r=b.find(m=>m.value===g);if(r)return r}return null},N={props:o,curComponent:t,animations:s,selectAnimation:c,animationCfgRef:d,editAnimation:l,getAnimationData:i,addAnimation:()=>{if(c.value&&c.value.length>0){let g=c.value[c.value.length-1];const b=i(g);b&&o.editorStore?.addAnimation(be(b))}else $("warning","请选择需要添加的动画")},updateAnimation:g=>{let b=s.value[g];b&&(l.value={...be(b),index:g},d.value?.show())},confirmEdit:g=>{o.editorStore?.alterAnimation({index:l.value.index,data:{animationTime:l.value.animationTime,isLoop:l.value.isLoop}}),d.value?.cancel()},deleteAnimation:g=>{o.editorStore?.removeAnimation(g)},get useEditorStore(){return te},computed:e.computed,ref:e.ref,get animationClassData(){return ft},get showMessage(){return $},get deepCopy(){return be},CommonDialog:yn};return Object.defineProperty(N,"__isScriptSetup",{enumerable:!1,value:!0}),N}};function Dl(n,a,o,t,s,c){const d=e.resolveComponent("el-cascader"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-row"),p=e.resolveComponent("el-divider"),h=e.resolveComponent("el-input"),V=e.resolveComponent("el-text"),N=e.resolveComponent("el-input-number"),g=e.resolveComponent("el-switch");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"animation-list"},[e.createVNode(f,{gutter:2},{default:e.withCtx(()=>[e.createVNode(l,{span:18,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.selectAnimation,"onUpdate:modelValue":a[0]||(a[0]=b=>t.selectAnimation=b),options:t.animationClassData,"show-all-levels":!1,placeholder:"选择动画",clearable:""},null,8,["modelValue","options"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(i,{icon:"plus",type:"primary",onClick:t.addAnimation,title:"添加"})]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("已添加动画")]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.animations,(b,_)=>(e.openBlock(),e.createBlock(f,{gutter:2,key:_},{default:e.withCtx(()=>[e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:b.label,"onUpdate:modelValue":r=>b.label=r,type:"text",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(i,{icon:"edit",type:"primary",onClick:r=>t.updateAnimation(_),title:"编辑"},null,8,["onClick"]),e.createTextVNode(),e.createVNode(i,{icon:"delete",type:"danger",onClick:r=>t.deleteAnimation(_),title:"删除"},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),128))]),e.createTextVNode(),e.createVNode(t.CommonDialog,{ref:"animationCfgRef",title:"动画配置",onConfirm:t.confirmEdit},{"dialog-content":e.withCtx(()=>[e.createElementVNode("div",{style:{width:"100%",height:"200px","overflow-y":"auto","overflow-x":"hidden"}},[e.createVNode(f,{gutter:2},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createTextVNode("时长(s):")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.editAnimation.animationTime,"onUpdate:modelValue":a[1]||(a[1]=b=>t.editAnimation.animationTime=b),precision:2,step:.01,min:.1},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createTextVNode("循环:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(g,{modelValue:t.editAnimation.isLoop,"onUpdate:modelValue":a[2]||(a[2]=b=>t.editAnimation.isLoop=b)},null,8,["modelValue"])]),_:1})]),_:1})])]),_:1},512)],64)}const bl=J(wl,[["render",Dl],["__scopeId","data-v-b1e64e02"],["__file","AnimationList.vue"]]),yl={__name:"index",props:{editorStore:{type:Object,default:()=>te()},pageId:{type:String,default:""},formSize:{type:String,default:"default"}},setup(n,{expose:a}){a();const o=n,t=e.ref("attrTab"),s=e.computed(()=>o.editorStore?.curComponent||{}),c=e.computed(()=>Re(s.value.id)),l={props:o,activeName:t,curComponent:s,hasSelectComponent:c,handleClick:()=>{},computed:e.computed,ref:e.ref,watch:e.watch,get useEditorStore(){return te},CompEvent:Vl,AnimationList:bl,get isNotEmpty(){return Re}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}};function Nl(n,a,o,t,s,c){const d=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(l,{modelValue:t.activeName,"onUpdate:modelValue":a[0]||(a[0]=i=>t.activeName=i),type:"border-card",class:"tabs",onTabClick:t.handleClick},{default:e.withCtx(()=>[e.createVNode(d,{label:"属性",name:"attrTab"},{default:e.withCtx(()=>[t.curComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.curComponent.component+"Attr"),{key:0,"page-id":t.props.pageId,"form-size":t.props.formSize},null,8,["page-id","form-size"])):e.createCommentVNode("",!0)]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"数据",name:"dataTab"},{default:e.withCtx(()=>[t.curComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.curComponent.component+"Data"),{key:0,"page-id":t.props.pageId,"form-size":t.props.formSize},null,8,["page-id","form-size"])):e.createCommentVNode("",!0)]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"事件",name:"eventTab"},{default:e.withCtx(()=>[t.hasSelectComponent?(e.openBlock(),e.createBlock(t.CompEvent,{key:0,"editor-store":t.props.editorStore},null,8,["editor-store"])):e.createCommentVNode("",!0)]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"动画",name:"animationTab"},{default:e.withCtx(()=>[t.curComponent?(e.openBlock(),e.createBlock(t.AnimationList,{key:0,"editor-store":t.props.editorStore},null,8,["editor-store"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["modelValue"])}const El=J(yl,[["render",Nl],["__scopeId","data-v-9454352f"],["__file","index.vue"]]),ht=Vt.defineStore("ve/base",{state:()=>({showLeftRegion:!0,showRightRegion:!0,sketchRuleConfig:{scale:1,rate:1,thick:20,lockLine:!1,isShowReferLine:!0,showRuler:!0,showShadowText:!0,lines:[],snapsObj:[],snapThreshold:5,shadow:{x:0,y:0,width:200,height:200},gridRatio:1,panzoomOption:{startX:0,startY:0,canvas:!0,maxScale:3,minScale:.3,disableZoom:!0,disablePan:!1,contain:"inside"},palette:{bgColor:"#f6f7f9",longfgColor:"#BABBBC",fontColor:"#7D8694",fontShadowColor:"#106ebe",shadowColor:"#E8E8E8",lineColor:"#51d6a9",lineType:"solid ",lockLineColor:"#d4d7dc",hoverColor:"#fff",hoverBg:"#000",borderColor:"#eeeeef"}},rulePresetLine:[]}),actions:{setRulePresetLine(n){this.rulePresetLine=n},setSketchRulePalette(n){this.sketchRuleConfig.palette={...this.sketchRuleConfig.palette,...n}}}}),kl={__name:"CanvasDrawer",setup(n,{expose:a}){let o=te();const t=e.ref(!1),s=e.ref("name"),c=e.ref(null),d=e.computed(()=>te(c.value||"default")),l=e.computed(()=>d.value.canvasStyleData),i=()=>{},f=N=>{t.value=!0,c.value=N},p=()=>{t.value=!1},h=N=>{N==1?(l.value.width=1920,l.value.height=1080):N==2?(l.value.width=1600,l.value.height=900):N==3?(l.value.width=1366,l.value.height=768):N==4?(l.value.width=1280,l.value.height=720):N==6?(l.value.width=1024,l.value.height=1366):N==7?(l.value.width=768,l.value.height=1024):N==8?(l.value.width=480,l.value.height=800):N==9?(l.value.width=1680,l.value.height=1050):N==10&&(l.value.width=1400,l.value.height=1050)};v.on(ee.openCanvasSetting,N=>{console.log("oepn canvase:"+N.pageId),f(N.pageId)}),a({show:f});const V={get editorStore(){return o},set editorStore(N){o=N},drawer:t,activeNames:s,currentStoreId:c,currentStore:d,canvas:l,changeSize:i,show:f,handleClose:p,handleSetCanvasSize:h,computed:e.computed,ref:e.ref,get emitter(){return v},get eventDef(){return ee},get useEditorStore(){return te},get bkSizeArr(){return Yo},get canvasSizeOptions(){return Go},get positionArr(){return Qo},get predefineColors(){return kt},get repeatArr(){return Jo},get screenAdapterArr(){return Zo}};return Object.defineProperty(V,"__isScriptSetup",{enumerable:!1,value:!0}),V}};function Tl(n,a,o,t,s,c){const d=e.resolveComponent("arrow-down"),l=e.resolveComponent("el-icon"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-dropdown-item"),p=e.resolveComponent("el-dropdown-menu"),h=e.resolveComponent("el-dropdown"),V=e.resolveComponent("el-form-item"),N=e.resolveComponent("el-input-number"),g=e.resolveComponent("el-input"),b=e.resolveComponent("el-color-picker"),_=e.resolveComponent("el-option"),r=e.resolveComponent("el-select"),m=e.resolveComponent("el-form"),C=e.resolveComponent("el-collapse-item"),w=e.resolveComponent("el-collapse"),k=e.resolveComponent("el-drawer");return e.openBlock(),e.createBlock(k,{modelValue:t.drawer,"onUpdate:modelValue":a[10]||(a[10]=x=>t.drawer=x),title:"画布设置",direction:"rtl","before-close":t.handleClose,size:"400"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.activeNames,"onUpdate:modelValue":a[9]||(a[9]=x=>t.activeNames=x),class:"elCollapse",accordion:""},{default:e.withCtx(()=>[e.createVNode(C,{title:"属性",name:"name"},{default:e.withCtx(()=>[e.createVNode(m,{ref:"paramForm","label-width":"120","label-position":"left"},{default:e.withCtx(()=>[e.createVNode(V,{label:"尺寸"},{default:e.withCtx(()=>[e.createVNode(h,{trigger:"click",onCommand:t.handleSetCanvasSize,class:"common-item"},{dropdown:e.withCtx(()=>[e.createVNode(p,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.canvasSizeOptions,x=>(e.openBlock(),e.createBlock(f,{key:x.value,command:x.value,divided:x.isDivided,disabled:x.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createVNode(i,{class:"common-item"},{default:e.withCtx(()=>[e.createTextVNode(`\r
|
|
61
|
+
`)]),_:2},1032,["onClick"])])):e.createCommentVNode("",!0)])]),_:1},8,["data"])])]),e.createTextVNode(),e.createVNode(t.EventDialog,{ref:"eventDialogRef"},null,512)],64)}const Vl=J(Cl,[["render",xl],["__scopeId","data-v-742bd246"],["__file","CompEvent.vue"]]),ft=[{label:"进入",children:[{label:"渐显",value:"fadeIn"},{label:"向右进入",value:"fadeInLeft"},{label:"向左进入",value:"fadeInRight"},{label:"向上进入",value:"fadeInUp"},{label:"向下进入",value:"fadeInDown"},{label:"向右长距进入",value:"fadeInLeftBig"},{label:"向左长距进入",value:"fadeInRightBig"},{label:"向上长距进入",value:"fadeInUpBig"},{label:"向下长距进入",value:"fadeInDownBig"},{label:"旋转进入",value:"rotateIn"},{label:"左顺时针旋转",value:"rotateInDownLeft"},{label:"右逆时针旋转",value:"rotateInDownRight"},{label:"左逆时针旋转",value:"rotateInUpLeft"},{label:"右逆时针旋转",value:"rotateInUpRight"},{label:"弹入",value:"bounceIn"},{label:"向右弹入",value:"bounceInLeft"},{label:"向左弹入",value:"bounceInRight"},{label:"向上弹入",value:"bounceInUp"},{label:"向下弹入",value:"bounceInDown"},{label:"光速从右进入",value:"lightSpeedIn"},{label:"光速从右退出",value:"lightSpeedOut"},{label:"中心X轴旋转",value:"flipInX"},{label:"中心Y轴旋转",value:"flipInY"},{label:"左长半径旋转",value:"rollIn"},{label:"由小变大进入",value:"zoomIn"},{label:"左变大进入",value:"zoomInLeft"},{label:"右变大进入",value:"zoomInRight"},{label:"向上变大进入",value:"zoomInUp"},{label:"向下变大进入",value:"zoomInDown"},{label:"向右滑动展开",value:"slideInLeft"},{label:"向左滑动展开",value:"slideInRight"},{label:"向上滑动展开",value:"slideInUp"},{label:"向下滑动展开",value:"slideInDown"}]},{label:"强调",children:[{label:"弹跳",value:"bounce"},{label:"闪烁",value:"flash"},{label:"放大缩小",value:"pulse"},{label:"放大缩小弹簧",value:"rubberBand"},{label:"左右晃动",value:"headShake"},{label:"左右扇形摇摆",value:"swing"},{label:"放大晃动缩小",value:"tada"},{label:"扇形摇摆",value:"wobble"},{label:"左右上下晃动",value:"jello"},{label:"Y轴旋转",value:"flip"}]},{label:"退出",children:[{label:"渐隐",value:"fadeOut"},{label:"向左退出",value:"fadeOutLeft"},{label:"向右退出",value:"fadeOutRight"},{label:"向上退出",value:"fadeOutUp"},{label:"向下退出",value:"fadeOutDown"},{label:"向左长距退出",value:"fadeOutLeftBig"},{label:"向右长距退出",value:"fadeOutRightBig"},{label:"向上长距退出",value:"fadeOutUpBig"},{label:"向下长距退出",value:"fadeOutDownBig"},{label:"旋转退出",value:"rotateOut"},{label:"左顺时针旋转",value:"rotateOutDownLeft"},{label:"右逆时针旋转",value:"rotateOutDownRight"},{label:"左逆时针旋转",value:"rotateOutUpLeft"},{label:"右逆时针旋转",value:"rotateOutUpRight"},{label:"弹出",value:"bounceOut"},{label:"向左弹出",value:"bounceOutLeft"},{label:"向右弹出",value:"bounceOutRight"},{label:"向上弹出",value:"bounceOutUp"},{label:"向下弹出",value:"bounceOutDown"},{label:"中心X轴旋转",value:"flipOutX"},{label:"中心Y轴旋转",value:"flipOutY"},{label:"左长半径旋转",value:"rollOut"},{label:"由小变大退出",value:"zoomOut"},{label:"左变大退出",value:"zoomOutLeft"},{label:"右变大退出",value:"zoomOutRight"},{label:"向上变大退出",value:"zoomOutUp"},{label:"向下变大退出",value:"zoomOutDown"},{label:"向左滑动收起",value:"slideOutLeft"},{label:"向右滑动收起",value:"slideOutRight"},{label:"向上滑动收起",value:"slideOutUp"},{label:"向下滑动收起",value:"slideOutDown"}]}];ft.forEach(n=>{n.children.forEach(a=>{a.pending=!1,a.animationTime=1})});const wl={__name:"AnimationList",props:{editorStore:{type:Object,default:()=>te()}},setup(n,{expose:a}){a();const o=n,t=e.computed(()=>o.editorStore?.curComponent||{}),s=e.computed(()=>t.value.animations||[]),c=e.ref([]),d=e.ref(null),l=e.ref({}),i=x=>{let w=[];for(let _=0;_<ft.length;_++){w=ft[_].children||[];const r=w.find(m=>m.value===x);if(r)return r}return null},N={props:o,curComponent:t,animations:s,selectAnimation:c,animationCfgRef:d,editAnimation:l,getAnimationData:i,addAnimation:()=>{if(c.value&&c.value.length>0){let x=c.value[c.value.length-1];const w=i(x);w&&o.editorStore?.addAnimation(be(w))}else Z("warning","请选择需要添加的动画")},updateAnimation:x=>{let w=s.value[x];w&&(l.value={...be(w),index:x},d.value?.show())},confirmEdit:x=>{o.editorStore?.alterAnimation({index:l.value.index,data:{animationTime:l.value.animationTime,isLoop:l.value.isLoop}}),d.value?.cancel()},deleteAnimation:x=>{o.editorStore?.removeAnimation(x)},get useEditorStore(){return te},computed:e.computed,ref:e.ref,get animationClassData(){return ft},get showMessage(){return Z},get deepCopy(){return be},CommonDialog:yn};return Object.defineProperty(N,"__isScriptSetup",{enumerable:!1,value:!0}),N}};function Dl(n,a,o,t,s,c){const d=e.resolveComponent("el-cascader"),l=e.resolveComponent("el-col"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-row"),p=e.resolveComponent("el-divider"),h=e.resolveComponent("el-input"),V=e.resolveComponent("el-text"),N=e.resolveComponent("el-input-number"),x=e.resolveComponent("el-switch");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"animation-list"},[e.createVNode(f,{gutter:2},{default:e.withCtx(()=>[e.createVNode(l,{span:18,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.selectAnimation,"onUpdate:modelValue":a[0]||(a[0]=w=>t.selectAnimation=w),options:t.animationClassData,"show-all-levels":!1,placeholder:"选择动画",clearable:""},null,8,["modelValue","options"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(i,{icon:"plus",type:"primary",onClick:t.addAnimation,title:"添加"})]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{"content-position":"left"},{default:e.withCtx(()=>[e.createTextVNode("已添加动画")]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.animations,(w,_)=>(e.openBlock(),e.createBlock(f,{gutter:2,key:_},{default:e.withCtx(()=>[e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:w.label,"onUpdate:modelValue":r=>w.label=r,type:"text",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(l,{span:12},{default:e.withCtx(()=>[e.createVNode(i,{icon:"edit",type:"primary",onClick:r=>t.updateAnimation(_),title:"编辑"},null,8,["onClick"]),e.createTextVNode(),e.createVNode(i,{icon:"delete",type:"danger",onClick:r=>t.deleteAnimation(_),title:"删除"},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),128))]),e.createTextVNode(),e.createVNode(t.CommonDialog,{ref:"animationCfgRef",title:"动画配置",onConfirm:t.confirmEdit},{"dialog-content":e.withCtx(()=>[e.createElementVNode("div",{style:{width:"100%",height:"200px","overflow-y":"auto","overflow-x":"hidden"}},[e.createVNode(f,{gutter:2},{default:e.withCtx(()=>[e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createTextVNode("时长(s):")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.editAnimation.animationTime,"onUpdate:modelValue":a[1]||(a[1]=w=>t.editAnimation.animationTime=w),precision:2,step:.01,min:.1},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6,class:"item-label-start"},{default:e.withCtx(()=>[e.createVNode(V,null,{default:e.withCtx(()=>[e.createTextVNode("循环:")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(l,{span:6},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.editAnimation.isLoop,"onUpdate:modelValue":a[2]||(a[2]=w=>t.editAnimation.isLoop=w)},null,8,["modelValue"])]),_:1})]),_:1})])]),_:1},512)],64)}const bl=J(wl,[["render",Dl],["__scopeId","data-v-b1e64e02"],["__file","AnimationList.vue"]]),yl={__name:"index",props:{editorStore:{type:Object,default:()=>te()},pageId:{type:String,default:""},formSize:{type:String,default:"default"}},setup(n,{expose:a}){a();const o=n,t=e.ref("attrTab"),s=e.computed(()=>o.editorStore?.curComponent||{}),c=e.computed(()=>Me(s.value.id)),l={props:o,activeName:t,curComponent:s,hasSelectComponent:c,handleClick:()=>{},computed:e.computed,ref:e.ref,watch:e.watch,get useEditorStore(){return te},CompEvent:Vl,AnimationList:bl,get isNotEmpty(){return Me}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}};function Nl(n,a,o,t,s,c){const d=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(l,{modelValue:t.activeName,"onUpdate:modelValue":a[0]||(a[0]=i=>t.activeName=i),type:"border-card",class:"tabs",onTabClick:t.handleClick},{default:e.withCtx(()=>[e.createVNode(d,{label:"属性",name:"attrTab"},{default:e.withCtx(()=>[t.curComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.curComponent.component+"Attr"),{key:0,"page-id":t.props.pageId,"form-size":t.props.formSize},null,8,["page-id","form-size"])):e.createCommentVNode("",!0)]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"数据",name:"dataTab"},{default:e.withCtx(()=>[t.curComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.curComponent.component+"Data"),{key:0,"page-id":t.props.pageId,"form-size":t.props.formSize},null,8,["page-id","form-size"])):e.createCommentVNode("",!0)]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"事件",name:"eventTab"},{default:e.withCtx(()=>[t.hasSelectComponent?(e.openBlock(),e.createBlock(t.CompEvent,{key:0,"editor-store":t.props.editorStore},null,8,["editor-store"])):e.createCommentVNode("",!0)]),_:1}),e.createTextVNode(),e.createVNode(d,{label:"动画",name:"animationTab"},{default:e.withCtx(()=>[t.curComponent?(e.openBlock(),e.createBlock(t.AnimationList,{key:0,"editor-store":t.props.editorStore},null,8,["editor-store"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["modelValue"])}const El=J(yl,[["render",Nl],["__scopeId","data-v-9454352f"],["__file","index.vue"]]),ht=Vt.defineStore("ve/base",{state:()=>({showLeftRegion:!0,showRightRegion:!0,sketchRuleConfig:{scale:1,rate:1,thick:20,lockLine:!1,isShowReferLine:!0,showRuler:!0,showShadowText:!0,lines:[],snapsObj:[],snapThreshold:5,shadow:{x:0,y:0,width:200,height:200},gridRatio:1,panzoomOption:{startX:0,startY:0,canvas:!0,maxScale:3,minScale:.3,disableZoom:!0,disablePan:!1,contain:"inside"},palette:{bgColor:"#f6f7f9",longfgColor:"#BABBBC",fontColor:"#7D8694",fontShadowColor:"#106ebe",shadowColor:"#E8E8E8",lineColor:"#51d6a9",lineType:"solid ",lockLineColor:"#d4d7dc",hoverColor:"#fff",hoverBg:"#000",borderColor:"#eeeeef"}},rulePresetLine:[]}),actions:{setRulePresetLine(n){this.rulePresetLine=n},setSketchRulePalette(n){this.sketchRuleConfig.palette={...this.sketchRuleConfig.palette,...n}}}}),kl={__name:"CanvasDrawer",setup(n,{expose:a}){let o=te();const t=e.ref(!1),s=e.ref("name"),c=e.ref(null),d=e.computed(()=>te(c.value||"default")),l=e.computed(()=>d.value.canvasStyleData),i=()=>{},f=N=>{t.value=!0,c.value=N},p=()=>{t.value=!1},h=N=>{N==1?(l.value.width=1920,l.value.height=1080):N==2?(l.value.width=1600,l.value.height=900):N==3?(l.value.width=1366,l.value.height=768):N==4?(l.value.width=1280,l.value.height=720):N==6?(l.value.width=1024,l.value.height=1366):N==7?(l.value.width=768,l.value.height=1024):N==8?(l.value.width=480,l.value.height=800):N==9?(l.value.width=1680,l.value.height=1050):N==10&&(l.value.width=1400,l.value.height=1050)};v.on(ee.openCanvasSetting,N=>{console.log("oepn canvase:"+N.pageId),f(N.pageId)}),a({show:f});const V={get editorStore(){return o},set editorStore(N){o=N},drawer:t,activeNames:s,currentStoreId:c,currentStore:d,canvas:l,changeSize:i,show:f,handleClose:p,handleSetCanvasSize:h,computed:e.computed,ref:e.ref,get emitter(){return v},get eventDef(){return ee},get useEditorStore(){return te},get bkSizeArr(){return Yo},get canvasSizeOptions(){return Go},get positionArr(){return Qo},get predefineColors(){return kt},get repeatArr(){return Jo},get screenAdapterArr(){return Zo}};return Object.defineProperty(V,"__isScriptSetup",{enumerable:!1,value:!0}),V}};function Tl(n,a,o,t,s,c){const d=e.resolveComponent("arrow-down"),l=e.resolveComponent("el-icon"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-dropdown-item"),p=e.resolveComponent("el-dropdown-menu"),h=e.resolveComponent("el-dropdown"),V=e.resolveComponent("el-form-item"),N=e.resolveComponent("el-input-number"),x=e.resolveComponent("el-input"),w=e.resolveComponent("el-color-picker"),_=e.resolveComponent("el-option"),r=e.resolveComponent("el-select"),m=e.resolveComponent("el-form"),g=e.resolveComponent("el-collapse-item"),D=e.resolveComponent("el-collapse"),k=e.resolveComponent("el-drawer");return e.openBlock(),e.createBlock(k,{modelValue:t.drawer,"onUpdate:modelValue":a[10]||(a[10]=C=>t.drawer=C),title:"画布设置",direction:"rtl","before-close":t.handleClose,size:"400"},{default:e.withCtx(()=>[e.createVNode(D,{modelValue:t.activeNames,"onUpdate:modelValue":a[9]||(a[9]=C=>t.activeNames=C),class:"elCollapse",accordion:""},{default:e.withCtx(()=>[e.createVNode(g,{title:"属性",name:"name"},{default:e.withCtx(()=>[e.createVNode(m,{ref:"paramForm","label-width":"120","label-position":"left"},{default:e.withCtx(()=>[e.createVNode(V,{label:"尺寸"},{default:e.withCtx(()=>[e.createVNode(h,{trigger:"click",onCommand:t.handleSetCanvasSize,class:"common-item"},{dropdown:e.withCtx(()=>[e.createVNode(p,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.canvasSizeOptions,C=>(e.openBlock(),e.createBlock(f,{key:C.value,command:C.value,divided:C.isDivided,disabled:C.isDisabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.label),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createVNode(i,{class:"common-item"},{default:e.withCtx(()=>[e.createTextVNode(`\r
|
|
62
62
|
常用尺寸\r
|
|
63
|
-
`),e.createVNode(l,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(d)]),_:1})]),_:1}),e.createTextVNode()]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"尺寸-宽度"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.canvas.width,"onUpdate:modelValue":a[0]||(a[0]=x=>t.canvas.width=x),precision:0,step:1,min:100,"step-strictly":"","controls-position":"right",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"尺寸-高度"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.canvas.height,"onUpdate:modelValue":a[1]||(a[1]=x=>t.canvas.height=x),precision:0,step:1,min:100,"step-strictly":"","controls-position":"right",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"背景图片"},{default:e.withCtx(()=>[e.createVNode(g,{modelValue:t.canvas.backgroundImage,"onUpdate:modelValue":a[2]||(a[2]=x=>t.canvas.backgroundImage=x),type:"text",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"背景色"},{default:e.withCtx(()=>[e.createVNode(b,{modelValue:t.canvas.backgroundColor,"onUpdate:modelValue":a[3]||(a[3]=x=>t.canvas.backgroundColor=x),"show-alpha":"",predefine:t.predefineColors},null,8,["modelValue","predefine"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"透明度"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.canvas.opacity,"onUpdate:modelValue":a[4]||(a[4]=x=>t.canvas.opacity=x),type:"number",precision:1,step:.1,max:1,min:0,class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"图片大小"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.backgroundSize,"onUpdate:modelValue":a[5]||(a[5]=x=>t.canvas.backgroundSize=x),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.bkSizeArr,x=>(e.openBlock(),e.createBlock(_,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"图片重复"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.backgroundRepeat,"onUpdate:modelValue":a[6]||(a[6]=x=>t.canvas.backgroundRepeat=x),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.repeatArr,x=>(e.openBlock(),e.createBlock(_,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"图片位置"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.backgroundPosition,"onUpdate:modelValue":a[7]||(a[7]=x=>t.canvas.backgroundPosition=x),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.positionArr,x=>(e.openBlock(),e.createBlock(_,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"适配方式"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.screenAdapter,"onUpdate:modelValue":a[8]||(a[8]=x=>t.canvas.screenAdapter=x),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.screenAdapterArr,x=>(e.openBlock(),e.createBlock(_,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},512)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])}const Al=J(kl,[["render",Tl],["__scopeId","data-v-12c217c0"],["__file","CanvasDrawer.vue"]]),Bl={__name:"index",props:{pageId:{type:String,required:!0,default:""}},setup(n,{expose:a}){a();const o=ht(),t=e.ref("default"),s=e.ref(null);let c;const d=n,l=[{label:"左对齐",value:"leftAlign"},{label:"水平居中",value:"centerAlign"},{label:"右对齐",value:"rightAlign"},{label:"顶对齐",value:"topAlign"},{label:"垂直居中",value:"middleAlign"},{label:"底对齐",value:"bottomAlign"},{label:"水平等间距",value:"horizontalSpacing",isDisabled:!0},{label:"垂直等间距",value:"verticalSpacing",isDisabled:!0}];e.watch(()=>d.pageId,I=>{I&&(c=te(I))},{immediate:!0});const i=e.computed(()=>c.curComponent),f=e.computed(()=>c.areaData),p=e.computed(()=>i.value&&!i.value.isLock||f.value.components.length>1),h=()=>{let I=ce(fe.Page);v.emit(ee.openNewPage,{pageId:I})},V=()=>{v.emit(ee.openPage,{})},N=()=>{let I=_(),q=JSON.stringify(I);sessionStorage.setItem("VE3PageCacheId",q),v.emit(ee.savePage,{cacheId:"VE3PageCacheId"})},g=()=>{let I=_(),q=JSON.stringify(I,null,4);localStorage.setItem("VE3PageCacheId",q),v.emit(ee.preview,{})},b=()=>{v.emit(ee.importJson,{})},_=()=>({canvasStyle:c.canvasStyleData,componentData:c.componentData}),r=()=>{let I=_(),q=JSON.stringify(I,null,4);v.emit(ee.exportJson,q)},m=()=>{c.setCurComponent(null,null),c.setComponentData([]),c.recordSnapshot(),c.rulePresetLine=[]},C=()=>{c.curComponent&&(c.deleteComponent(),c.recordSnapshot())},w=e.computed(()=>!c.areaData.components.length),k=e.computed(()=>!i.value||i.value.isLock||i.value.component!="Group"),x=e.computed(()=>!i.value||i.value.isLock),y=e.computed(()=>!i.value||!i.value.isLock),K={veBaseStore:o,size:t,sketchRuleSetRef:s,get editorStore(){return c},set editorStore(I){c=I},props:d,alignList:l,curComponent:i,areaData:f,showComponentAlign:p,openNewPage:h,openPage:V,savePage:N,previewPage:g,importJSON:b,getPageData:_,exportJSON:r,clearCanvas:m,delComponent:C,disabledCompose:w,disableDecompose:k,disabledLock:x,disabledUnLock:y,lock:()=>{x.value||c.lock()},unlock:()=>{y.value||c.unlock()},compose:()=>{w.value||(c.compose(),c.recordSnapshot())},decompose:()=>{k.value||(c.decompose(),c.recordSnapshot())},undo:()=>{c.undo()},redo:()=>{c.redo()},openRuleSetting:()=>{v.emit(ee.openRuleSetting,{pageId:d.pageId})},openCanvasSetting:()=>{v.emit(ee.openCanvasSetting,{pageId:d.pageId})},handleComponentAlign:I=>{if(typeof c[I]=="function"){if((I=="horizontalSpacing"||I=="verticalSpacing")&&f.value.components.length<3)return;c[I](I)}else{$("error","无效的命令");return}c.recordSnapshot();let q=1/0,Z=1/0,ne=-1/0,j=-1/0;f.value.components.length>1&&(f.value.components.forEach(ge=>{let pe=Y(ge.style);pe.left<Z&&(Z=pe.left),pe.top<q&&(q=pe.top),pe.right>ne&&(ne=pe.right),pe.bottom>j&&(j=pe.bottom)}),c.setAreaData({style:{left:Z,top:q,width:ne-Z,height:j-q},components:f.value.components}))},computed:e.computed,ref:e.ref,watch:e.watch,get useVEBaseStore(){return ht},get emitter(){return v},get eventDef(){return ee},get useEditorStore(){return te},get generatePrefixID(){return ce},get keepDecimal(){return So},get IdPrefix(){return fe},get showMessage(){return $},get getComponentRotatedStyle(){return Y}};return Object.defineProperty(K,"__isScriptSetup",{enumerable:!1,value:!0}),K}};function Sl(n,a,o,t,s,c){const d=e.resolveComponent("comp-svg-icon"),l=e.resolveComponent("el-dropdown-item"),i=e.resolveComponent("el-dropdown-menu"),f=e.resolveComponent("el-dropdown");return e.openBlock(),e.createElementBlock("div",{class:"tool-bar"},[e.createElementVNode("div",{class:"tool-list"},[e.createElementVNode("ul",{class:"icon-list"},[e.createElementVNode("li",{class:"tool-item",title:"收缩左边",onClick:a[0]||(a[0]=p=>t.veBaseStore.showLeftRegion=!t.veBaseStore.showLeftRegion)},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"foldLeft"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"收缩右边",onClick:a[1]||(a[1]=p=>t.veBaseStore.showRightRegion=!t.veBaseStore.showRightRegion)},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"foldRight"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"新建",onClick:t.openNewPage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"newPage"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"打开",onClick:t.openPage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"folder"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"保存",onClick:t.savePage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"save"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"预览",onClick:t.previewPage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"preview"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"导入",onClick:t.importJSON},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"importSvg"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"导出",onClick:t.exportJSON},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"exportSvg"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"清空",onClick:t.clearCanvas},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"clear"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"删除",onClick:t.delComponent},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"deleteIcon"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"撤销",onClick:t.undo},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"undo"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"重做",onClick:t.redo},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"redo"})])]),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disabledCompose}]),title:"组合",onClick:t.compose},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"combination"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disableDecompose}]),title:"拆分",onClick:t.decompose},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"split"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disabledLock}]),title:"锁定",onClick:t.lock},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"lock"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disabledUnLock}]),title:"解锁",onClick:t.unlock},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"unlock"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"标尺设置",onClick:t.openRuleSetting},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"sketchRule"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"画布设置",onClick:t.openCanvasSetting},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"canvas"})])]),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="设置">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="setting"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),t.showComponentAlign?(e.openBlock(),e.createElementBlock("li",{key:0,class:"tool-item",title:"对齐方式"},[e.createElementVNode("div",{class:"tool-content",style:{width:"100px"}},[e.createVNode(f,{placement:"bottom-start","hide-on-click":!1,trigger:"click",onCommand:t.handleComponentAlign},{dropdown:e.withCtx(()=>[e.createVNode(i,null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t.alignList,p=>e.createVNode(l,{key:p.value,command:p.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.label),1)]),_:2},1032,["command"])),64))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"el-dropdown-link"},"对齐方式"),e.createTextVNode()]),_:1})])])):e.createCommentVNode("",!0),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="缩放比">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(" <span>{{ scale }}</span>"),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="还原" @click="restoreCanvas">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="restore"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="放大" @click="zoomin">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="zoomout"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="缩小" @click="zoomout">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="zoomin"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>")])])])}const Fl=J(Bl,[["render",Sl],["__scopeId","data-v-7aeb4379"],["__file","index.vue"]]);var Ol=typeof global=="object"&&global&&global.Object===Object&&global,Ll=typeof self=="object"&&self&&self.Object===Object&&self,oo=Ol||Ll||Function("return this")(),mt=oo.Symbol,ao=Object.prototype,Pl=ao.hasOwnProperty,Rl=ao.toString,Je=mt?mt.toStringTag:void 0;function Ml(n){var a=Pl.call(n,Je),o=n[Je];try{n[Je]=void 0;var t=!0}catch{}var s=Rl.call(n);return t&&(a?n[Je]=o:delete n[Je]),s}var zl=Object.prototype,Il=zl.toString;function Ul(n){return Il.call(n)}var jl="[object Null]",Kl="[object Undefined]",lo=mt?mt.toStringTag:void 0;function Wl(n){return n==null?n===void 0?Kl:jl:lo&&lo in Object(n)?Ml(n):Ul(n)}function Hl(n){return n!=null&&typeof n=="object"}var ql="[object Symbol]";function Xl(n){return typeof n=="symbol"||Hl(n)&&Wl(n)==ql}var Gl=/\s/;function Jl(n){for(var a=n.length;a--&&Gl.test(n.charAt(a)););return a}var Yl=/^\s+/;function Ql(n){return n&&n.slice(0,Jl(n)+1).replace(Yl,"")}function Zt(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}var io=NaN,Zl=/^[-+]0x[0-9a-f]+$/i,$l=/^0b[01]+$/i,vl=/^0o[0-7]+$/i,ei=parseInt;function ro(n){if(typeof n=="number")return n;if(Xl(n))return io;if(Zt(n)){var a=typeof n.valueOf=="function"?n.valueOf():n;n=Zt(a)?a+"":a}if(typeof n!="string")return n===0?n:+n;n=Ql(n);var o=$l.test(n);return o||vl.test(n)?ei(n.slice(2),o?2:8):Zl.test(n)?io:+n}var $t=function(){return oo.Date.now()},ti="Expected a function",ni=Math.max,oi=Math.min;function so(n,a,o){var t,s,c,d,l,i,f=0,p=!1,h=!1,V=!0;if(typeof n!="function")throw new TypeError(ti);a=ro(a)||0,Zt(o)&&(p=!!o.leading,h="maxWait"in o,c=h?ni(ro(o.maxWait)||0,a):c,V="trailing"in o?!!o.trailing:V);function N(x){var y=t,D=s;return t=s=void 0,f=x,d=n.apply(D,y),d}function g(x){return f=x,l=setTimeout(r,a),p?N(x):d}function b(x){var y=x-i,D=x-f,A=a-y;return h?oi(A,c-D):A}function _(x){var y=x-i,D=x-f;return i===void 0||y>=a||y<0||h&&D>=c}function r(){var x=$t();if(_(x))return m(x);l=setTimeout(r,b(x))}function m(x){return l=void 0,V&&t?N(x):(t=s=void 0,d)}function C(){l!==void 0&&clearTimeout(l),f=0,t=i=s=l=void 0}function w(){return l===void 0?d:m($t())}function k(){var x=$t(),y=_(x);if(t=arguments,s=this,i=x,y){if(l===void 0)return g(i);if(h)return clearTimeout(l),l=setTimeout(r,a),N(i)}return l===void 0&&(l=setTimeout(r,a)),d}return k.cancel=C,k.flush=w,k}const gt=function(){return document.addEventListener?function(n,a,o){n&&a&&o&&n.addEventListener(a,o,!1)}:function(n,a,o){n&&a&&o&&n.attachEvent("on"+a,o)}}(),Ct=function(){return document.removeEventListener?function(n,a,o){n&&a&&n.removeEventListener(a,o,!1)}:function(n,a,o){n&&a&&n.detachEvent("on"+a,o)}}(),Ue=17,vt=18,co=82,ai={__name:"index",props:{position:{type:String,default:"relative",validator:n=>["absolute","fixed","relative","static","inherit"].includes(n)},isHotKey:{type:Boolean,default:!0},isScaleRevise:{type:Boolean,default:!1},referenceLine:{type:Array,default:()=>[]},contentLayout:{type:Object,default:()=>({top:0,left:0})},parent:{type:Boolean,default:!0},visible:{type:Boolean,default:!0},lineColor:{type:String,default:"black"}},emits:["update:visible","update:referenceLine"],setup(n,{expose:a,emit:o}){const t=n,s=o,c=e.ref([]),d=e.ref([]),l=e.ref(!1),i=e.ref(-999),f=e.ref(-999),p=e.ref(t.visible),h=e.ref(null),V=e.ref(null),N=e.ref(null);let g=0,b=0,_=0,r=0,m="",C="",w=null;const k=e.ref(null),x=e.ref(1600),y=e.ref(800),D=e.ref(1200),A=e.ref(800);let u,E;const T=e.ref({width:0,height:0});e.watch([x,y,D,A],so(([B,U,W,oe])=>{T.value={width:B>W?B:W+100,height:U>oe?U:oe+100},console.log("执行init..."),q()},100),{immediate:!0});const M=e.computed(()=>({width:`${T.value.width}px`,height:`${T.value.height}px`,position:t.position})),z=e.computed(()=>{}),H=e.computed(()=>{}),P=e.computed(()=>({left:`${t.contentLayout.left}px`,top:`${t.contentLayout.top}px`,padding:`${p.value?vt:0}px 0 0 ${p.value?vt:0}px`})),K=e.computed(()=>{let B=t.referenceLine;return S(B)});e.watch(()=>t.visible,B=>{p.value=B},{immediate:!0});const I=()=>{!V.value||!N.value||(g=V.value.getBoundingClientRect().y,b=N.value.getBoundingClientRect().x)},q=()=>{Z(),ne()},Z=()=>{if(t.isScaleRevise&&h.value){const B=h.value.offsetLeft,U=h.value.offsetTop;c.value=Array.from({length:Math.floor(B/50)},(W,oe)=>({id:oe*50})),d.value=Array.from({length:Math.floor(U/50)},(W,oe)=>({id:oe*50}))}V.value&&N.value&&(_=N.value.clientWidth,r=V.value.clientHeight),I()},ne=()=>{c.value=Array.from({length:Math.floor(T.value.width/50)},(B,U)=>({id:U*50})),d.value=Array.from({length:Math.floor(T.value.height/50)},(B,U)=>({id:U*50}))},j=B=>{const U=B.type==="h"?{top:`${B.top}px`}:{left:`${B.left}px`};return B.color&&(U.backgroundColor=B.color),U},ge=B=>{l.value=!0,m=B==="h"?"x":"y"},pe=B=>{l.value=!0,m=B.type,C=B.id},ue=B=>{if(l.value)switch(I(),m){case"x":f.value=B.pageY-g;break;case"y":i.value=B.pageX-b;break;case"h":f.value=B.pageY-g;break;case"v":i.value=B.pageX-b;break}},Ye=B=>{if(!l.value)return;I(),l.value=!1;const U=[...t.referenceLine];let W;switch(m){case"x":W=Math.round(B.pageY-g-Ue),W>0&&U.push({type:"h",site:W});break;case"y":W=Math.round(B.pageX-b-Ue),W>0&&U.push({type:"v",site:W});break;case"h":case"v":const he=U.findIndex(xt=>xt.id===C);he>=0&&(W=Math.round(m==="h"?B.pageY-g-Ue:B.pageX-b-Ue),U[he]={...U[he],site:W});break}let oe=S(U);s("update:referenceLine",oe),f.value=-999,i.value=-999},S=B=>B.map((W,oe)=>({id:`${W.type}_${oe}`,type:W.type,site:W.site,title:`${W.site}px`,[W.type==="h"?"top":"left"]:W.site+Ue,color:t.lineColor})),O=B=>{t.isHotKey&&B.keyCode===co&&(p.value=!p.value,s("update:visible",p.value))},R=()=>{k.value&&(x.value=k.value.clientWidth,y.value=k.value.clientHeight)};e.onMounted(()=>{R(),h.value&&(E=new ResizeObserver(U=>{const{width:W,height:oe}=U[0].contentRect;D.value=W,A.value=oe,console.log("插槽内容宽高变化:",W,oe)}),E.observe(h.value));const B=e.getCurrentInstance();B?.vnode.el&&(w=B.vnode.el.parentNode,e.nextTick(q)),gt(document,"mousemove",ue),gt(document,"mouseup",Ye),gt(document,"keyup",O)}),e.onBeforeUnmount(()=>{Ct(document,"mousemove",ue),Ct(document,"mouseup",Ye),Ct(document,"keyup",O)}),e.onUnmounted(()=>{E?.disconnect()}),a({updateSize:R});const L={props:t,emit:s,SIZE:Ue,LEFT_TOP:vt,KEY_CODE_R:co,xScale:c,yScale:d,isDrag:l,horizontalDottedLeft:i,verticalDottedTop:f,rulerToggle:p,content:h,horizontalRuler:V,verticalRuler:N,get topSpacing(){return g},set topSpacing(B){g=B},get leftSpacing(){return b},set leftSpacing(B){b=B},get rulerWidth(){return _},set rulerWidth(B){_=B},get rulerHeight(){return r},set rulerHeight(B){r=B},get dragFlag(){return m},set dragFlag(B){m=B},get dragLineId(){return C},set dragLineId(B){C=B},get parentNode(){return w},set parentNode(B){w=B},containerRef:k,containerWidth:x,containerHeight:y,slotWidth:D,slotHeight:A,get resizeObserver(){return u},set resizeObserver(B){u=B},get resizeSlotObserver(){return E},set resizeSlotObserver(B){E=B},wrapperSize:T,wrapperStyle:M,hStyle:z,vStyle:H,contentStyle:P,lineList:K,setSpacing:I,init:q,calculateDimensions:Z,calculateScales:ne,getLineStyle:j,handleRulerMouseDown:ge,handleLineMouseDown:pe,handleMouseMove:ue,handleMouseUp:Ye,reCalcLines:S,handleKeyUp:O,updateSize:R,ref:e.ref,computed:e.computed,watch:e.watch,onMounted:e.onMounted,onBeforeUnmount:e.onBeforeUnmount,getCurrentInstance:e.getCurrentInstance,nextTick:e.nextTick,onUnmounted:e.onUnmounted,get debounce(){return so},get on(){return gt},get off(){return Ct}};return Object.defineProperty(L,"__isScriptSetup",{enumerable:!1,value:!0}),L}};function li(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{ref:"containerRef",class:"vue-rule-container",onselectstart:"return false;"},[e.createElementVNode("div",{style:e.normalizeStyle(t.wrapperStyle),class:"vue-ruler-wrapper",onselectstart:"return false;"},[e.withDirectives(e.createElementVNode("section",null,[e.createElementVNode("div",{ref:"horizontalRuler",class:"vue-ruler-h",style:e.normalizeStyle(t.hStyle),onMousedown:a[0]||(a[0]=e.withModifiers(d=>t.handleRulerMouseDown("h"),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.xScale,(d,l)=>(e.openBlock(),e.createElementBlock("span",{key:l,style:e.normalizeStyle({left:`${l*50+2}px`}),class:"n"},e.toDisplayString(d.id),5))),128))],36),e.createTextVNode(),e.createElementVNode("div",{ref:"verticalRuler",class:"vue-ruler-v",style:e.normalizeStyle(t.vStyle),onMousedown:a[1]||(a[1]=e.withModifiers(d=>t.handleRulerMouseDown("v"),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.yScale,(d,l)=>(e.openBlock(),e.createElementBlock("span",{key:l,style:e.normalizeStyle({top:`${l*50+2}px`}),class:"n"},e.toDisplayString(d.id),5))),128))],36),e.createTextVNode(),e.createElementVNode("div",{style:e.normalizeStyle({top:`${t.verticalDottedTop}px`}),class:"vue-ruler-ref-dot-h"},null,4),e.createTextVNode(),e.createElementVNode("div",{style:e.normalizeStyle({left:`${t.horizontalDottedLeft}px`}),class:"vue-ruler-ref-dot-v"},null,4),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineList,d=>(e.openBlock(),e.createElementBlock("div",{key:d.id,title:d.title,style:e.normalizeStyle(t.getLineStyle(d)),class:e.normalizeClass(`vue-ruler-ref-line-${d.type}`),onMousedown:l=>t.handleLineMouseDown(d)},null,46,["title","onMousedown"]))),128))],512),[[e.vShow,t.rulerToggle]]),e.createTextVNode(),e.createElementVNode("div",{ref:"content",class:"vue-ruler-content",style:e.normalizeStyle(t.contentStyle)},[e.renderSlot(n.$slots,"canvas-content",{},void 0,!0)],4),e.createTextVNode(),e.withDirectives(e.createElementVNode("div",{class:"vue-ruler-content-mask"},null,512),[[e.vShow,t.isDrag]])],4)],512)}const ii=J(ai,[["render",li],["__scopeId","data-v-75e5d96d"],["__file","index.vue"]]),ri={__name:"GridLine",props:{isDarkMode:{type:Boolean,default:!1}},setup(n,{expose:a}){a();const o=ce("SG_"),t=ce("G_"),s={smallGridId:o,gridId:t,get generatePrefixID(){return ce}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}};function si(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("svg",{class:"grid",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("defs",null,[e.createElementVNode("pattern",{id:t.smallGridId,width:"7.236328125",height:"7.236328125",patternUnits:"userSpaceOnUse"},[e.createElementVNode("path",{d:"M 7.236328125 0 L 0 0 0 7.236328125",fill:"none",stroke:o.isDarkMode?"rgba(207, 207, 207, 0.5)":"rgba(207, 207, 207, 0.3)","stroke-width":"1"},null,8,["stroke"])],8,["id"]),e.createTextVNode(),e.createElementVNode("pattern",{id:t.gridId,width:"36.181640625",height:"36.181640625",patternUnits:"userSpaceOnUse"},[e.createElementVNode("rect",{width:"36.181640625",height:"36.181640625",fill:"url(#"+t.smallGridId+")"},null,8,["fill"]),e.createTextVNode(),e.createElementVNode("path",{d:"M 36.181640625 0 L 0 0 0 36.181640625",fill:"none",stroke:o.isDarkMode?"rgba(186, 186, 186)":"rgba(186, 186, 186, 0.5)","stroke-width":"1"},null,8,["stroke"])],8,["id"])]),e.createTextVNode(),e.createElementVNode("rect",{width:"100%",height:"100%",fill:"url(#"+t.gridId+")"},null,8,["fill"])])}const ci=J(ri,[["render",si],["__scopeId","data-v-e0b9a335"],["__file","GridLine.vue"]]),di={lt:ui,t:hi,rt:pi,r:mi,rb:_i,b:gi,lb:fi,l:Ci};function ui(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(a,d,-n.rotate),i=ae(c,d,-n.rotate),f=i.x-l.x,p=i.y-l.y;if(t){f/p>o?(l.x+=Math.abs(f-p*o),f=p*o):(l.y+=Math.abs(p-f/o),p=f/o);const h=ae(l,d,n.rotate);d=Ae(h,c),l=ae(h,d,-n.rotate),i=ae(c,d,-n.rotate),f=i.x-l.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(l.x),n.top=Math.round(l.y))}function pi(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(a,d,-n.rotate),i=ae(c,d,-n.rotate),f=l.x-i.x,p=i.y-l.y;if(t){f/p>o?(l.x-=Math.abs(f-p*o),f=p*o):(l.y+=Math.abs(p-f/o),p=f/o);const h=ae(l,d,n.rotate);d=Ae(h,c),l=ae(h,d,-n.rotate),i=ae(c,d,-n.rotate),f=l.x-i.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(i.x),n.top=Math.round(l.y))}function _i(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(c,d,-n.rotate),i=ae(a,d,-n.rotate),f=i.x-l.x,p=i.y-l.y;if(t){f/p>o?(i.x-=Math.abs(f-p*o),f=p*o):(i.y-=Math.abs(p-f/o),p=f/o);const h=ae(i,d,n.rotate);d=Ae(h,c),l=ae(c,d,-n.rotate),i=ae(h,d,-n.rotate),f=i.x-l.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(l.x),n.top=Math.round(l.y))}function fi(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(c,d,-n.rotate),i=ae(a,d,-n.rotate),f=l.x-i.x,p=i.y-l.y;if(t){f/p>o?(i.x+=Math.abs(f-p*o),f=p*o):(i.y-=Math.abs(p-f/o),p=f/o);const h=ae(i,d,n.rotate);d=Ae(h,c),l=ae(c,d,-n.rotate),i=ae(h,d,-n.rotate),f=l.x-i.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(i.x),n.top=Math.round(l.y))}function hi(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:d.x,y:l.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.width;t&&(h=f*o),n.width=h,n.height=Math.round(f),n.top=Math.round(p.y-f/2),n.left=Math.round(p.x-n.width/2)}function mi(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:l.x,y:d.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.height;t&&(h=f/o),n.height=h,n.width=Math.round(f),n.top=Math.round(p.y-n.height/2),n.left=Math.round(p.x-f/2)}function gi(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:d.x,y:l.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.width;t&&(h=f*o),n.width=h,n.height=Math.round(f),n.top=Math.round(p.y-f/2),n.left=Math.round(p.x-n.width/2)}function Ci(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:l.x,y:d.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.height;t&&(h=f/o),n.height=h,n.width=Math.round(f),n.top=Math.round(p.y-n.height/2),n.left=Math.round(p.x-f/2)}function uo(n,a,o,t,s,c){di[n](a,o,t,s,c)}async function po(n,a=[]){const o=t=>new Promise(s=>{const{animationTime:c,value:d="",isLoop:l}=t;n.style.setProperty("--time",`${c}s`),n.classList.add(d,"animated",_o(l));const i=()=>{n.removeEventListener("animationend",i),n.removeEventListener("animationcancel",i),n.classList.remove(d,"animated",_o(l)),n.style.removeProperty("--time"),s()};n.addEventListener("animationend",i),n.addEventListener("animationcancel",i)});for(let t=0,s=a.length;t<s;t++)await o(a[t])}function _o(n){return n?"infinite":"no-infinite"}const xi={__name:"CompShape",props:{pageId:{type:String,default:null},active:{type:Boolean,default:!1},element:{required:!0,type:Object,default:()=>{}},defaultStyle:{required:!0,type:Object,default:()=>{}},index:{required:!0,type:[Number,String],default:0}},setup(n,{expose:a}){a();const o=n,t=te(o.pageId),s=e.ref(null),c=e.computed(()=>t.curComponent),d=e.computed(()=>t.dashBorderColor),l=["lt","t","rt","r","rb","b","lb","l"],i=["r","l"],f={lt:0,t:45,rt:90,r:135,rb:180,b:225,lb:270,l:315},p=[{start:338,end:23,cursor:"nw"},{start:23,end:68,cursor:"n"},{start:68,end:113,cursor:"ne"},{start:113,end:158,cursor:"e"},{start:158,end:203,cursor:"se"},{start:203,end:248,cursor:"s"},{start:248,end:293,cursor:"sw"},{start:293,end:338,cursor:"w"}];let h={};const V=e.computed(()=>{let y={};return o.defaultStyle.showDashBorder&&(y.border=`1px dashed ${d.value}`),y}),N=()=>o.active&&!o.element.isLock,g=()=>o.element.component==="line-shape"?i:l,b=y=>{t.setClickComponentStatus(!0),y.preventDefault(),y.stopPropagation();const D={...o.defaultStyle},A=y.clientY,u=y.clientX,E=D.rotate,T=s.value.getBoundingClientRect(),M=T.left+T.width/2,z=T.top+T.height/2,H=Math.atan2(A-z,u-M)/(Math.PI/180);let P=!1;const K=q=>{P=!0;const Z=q.clientX,ne=q.clientY,j=Math.atan2(ne-z,Z-M)/(Math.PI/180);D.rotate=E+j-H,t.setShapeStyle(D)},I=()=>{P&&t.recordSnapshot(),document.removeEventListener("mousemove",K),document.removeEventListener("mouseup",I),h=r()};document.addEventListener("mousemove",K),document.addEventListener("mouseup",I)},_=y=>{const{width:D,height:A}=o.defaultStyle,u=/t/.test(y),E=/b/.test(y),T=/l/.test(y),M=/r/.test(y);let z=0,H=0;return y.length===2?(z=T?0:D,H=u?0:A):((u||E)&&(z=D/2,H=u?0:A),(T||M)&&(z=T?0:D,H=Math.floor(A/2))),{marginLeft:"-4px",marginTop:"-4px",left:`${z}px`,top:`${H}px`,cursor:h[y]}},r=()=>{const y=He(c.value.style.rotate),D={};let A=-1;return l.forEach(u=>{const E=He(f[u]+y),T=p.length;let M=0;for(;E&&M<200;){A=(A+1)%T;const z=p[A];if(E<23||E>=338){D[u]="nw-resize";return}if(z.start<=E&&E<z.end){D[u]=`${z.cursor}-resize`;return}M++}}),D},m=y=>{if(t.setInEditorStatus(!0),t.setClickComponentStatus(!0),y.stopPropagation(),t.setCurComponent(o.element,o.index),o.element.isLock)return;h=r();const D={...o.defaultStyle},A=y.clientY,u=y.clientX,E=Number(D.top),T=Number(D.left);let M=!1;const z=P=>{M=!0;const K=P.clientX,I=P.clientY;D.top=I-A+E,D.left=K-u+T,t.setShapeStyle(D),e.nextTick(()=>{v.emit(ee.move,{isDownward:I-A>0,isRightward:K-u>0})})},H=()=>{M&&t.recordSnapshot(),v.emit(ee.unmove),document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",H)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",H)},C=y=>{y.stopPropagation(),y.preventDefault(),t.hideContextMenu()},w=(y,D)=>{t.setInEditorStatus(!0),t.setClickComponentStatus(!0),D.stopPropagation(),D.preventDefault();const A={...o.defaultStyle},u=A.width/A.height,E={x:A.left+A.width/2,y:A.top+A.height/2},T=t.getEditorBoundingClientRect(),M=D.target.getBoundingClientRect(),z={x:Math.round(M.left-T.left+D.target.offsetWidth/2),y:Math.round(M.top-T.top+D.target.offsetHeight/2)},H={x:E.x-(z.x-E.x),y:E.y-(z.y-E.y)};let P=!1,K=!0;const I=k(),q=ne=>{if(K){K=!1;return}P=!0;const j={x:ne.clientX-Math.round(T.left),y:ne.clientY-Math.round(T.top)};uo(y,A,j,u,I,{center:E,curPoint:z,symmetricPoint:H}),t.setShapeStyle(A)},Z=()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",Z),P&&t.recordSnapshot()};document.addEventListener("mousemove",q),document.addEventListener("mouseup",Z)},k=()=>{if(o.element.component!="Group")return!1;const y=[0,90,180,360];let D=o.element.propValue.components||[];for(const A of D)if(!y.includes(He(parseInt(A.style.rotate))))return!0;return!1};e.onMounted(()=>{c.value&&(h=r()),v.on(ee.runAnimation,()=>{o.element==c.value&&po(s.value,c.value.animations)}),v.on(ee.stopAnimation,()=>{s.value.classList.remove("animated","infinite")})});const x={props:o,editorStore:t,rootEl:s,curComponent:c,dashBorderColor:d,pointList:l,pointList2:i,initialAngle:f,angleToCursor:p,get cursors(){return h},set cursors(y){h=y},cssVariables:V,isActive:N,getPointList:g,handleRotate:b,getPointStyle:_,getCursor:r,handleMouseDownOnShape:m,selectCurComponent:C,handleMouseDownOnPoint:w,isNeedLockProportion:k,computed:e.computed,nextTick:e.nextTick,onMounted:e.onMounted,ref:e.ref,get useEditorStore(){return te},get mod360(){return He},get calculateComponentPositionAndSize(){return uo},get emitter(){return v},get eventDef(){return ee},get runAnimation(){return po}};return Object.defineProperty(x,"__isScriptSetup",{enumerable:!1,value:!0}),x}};function Vi(n,a,o,t,s,c){return e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref:"rootEl",class:e.normalizeClass(["shape",{active:o.active}]),onClick:t.selectCurComponent,onMousedown:t.handleMouseDownOnShape,style:e.normalizeStyle(t.cssVariables)},[e.renderSlot(n.$slots,"default",{},void 0,!0),e.createTextVNode(),e.withDirectives(e.createElementVNode("span",{class:"iconfont icon-xuanzhuan iconfont-xuanzhuan",onMousedown:t.handleRotate},null,544),[[e.vShow,t.isActive()]]),e.createTextVNode(),e.withDirectives(e.createElementVNode("span",{class:"iconfont icon-suo"},null,512),[[e.vShow,t.props.element.isLock]]),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.isActive()?t.getPointList():[],d=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"shape-point",style:e.normalizeStyle(t.getPointStyle(d)),onMousedown:l=>t.handleMouseDownOnPoint(d,l)},null,44,["onMousedown"]))),128))],38)),[[e.vShow,!t.props.defaultStyle.isHide]])}const wi=J(xi,[["render",Vi],["__scopeId","data-v-61dd64e5"],["__file","CompShape.vue"]]),fo=3,Di={__name:"MarkLine",props:{pageId:{type:String,default:null}},setup(n,{expose:a}){a();const o=n,t=e.ref({}),s=(_,r)=>{_&&(t.value[r]=_)},c=["xt","xc","xb","yl","yc","yr"],d=e.ref({xt:!1,xc:!1,xb:!1,yl:!1,yc:!1,yr:!1}),l=te(o.pageId),i=e.computed(()=>l.curComponent),f=e.computed(()=>l.componentData),p=()=>{d.value=Object.fromEntries(Object.keys(d.value).map(_=>[_,!1]))},h=(_,r)=>{const m=f.value;if(m.length<2||!i.value)return;const C=Y(i.value.style),w=C.width/2,k=C.height/2;p(),m.forEach(x=>{if(x==i.value)return;const y=Y(x.style),{top:D,left:A,bottom:u,right:E}=y,T=y.width/2,M=y.height/2,z={top:[{isNearly:g(C.top,D),lineNode:t.value.xt,line:"xt",dragShift:D,lineShift:D},{isNearly:g(C.bottom,D),lineNode:t.value.xt,line:"xt",dragShift:D-C.height,lineShift:D},{isNearly:g(C.top+k,D+M),lineNode:t.value.xc,line:"xc",dragShift:D+M-k,lineShift:D+M},{isNearly:g(C.top,u),lineNode:t.value.xb,line:"xb",dragShift:u,lineShift:u},{isNearly:g(C.bottom,u),lineNode:t.value.xb,line:"xb",dragShift:u-C.height,lineShift:u}],left:[{isNearly:g(C.left,A),lineNode:t.value.yl,line:"yl",dragShift:A,lineShift:A},{isNearly:g(C.right,A),lineNode:t.value.yl,line:"yl",dragShift:A-C.width,lineShift:A},{isNearly:g(C.left+w,A+T),lineNode:t.value.yc,line:"yc",dragShift:A+T-w,lineShift:A+T},{isNearly:g(C.left,E),lineNode:t.value.yr,line:"yr",dragShift:E,lineShift:E},{isNearly:g(C.right,E),lineNode:t.value.yr,line:"yr",dragShift:E-C.width,lineShift:E}]},H=[],{rotate:P}=i.value.style;Object.keys(z).forEach(K=>{z[K].forEach(I=>{I.isNearly&&(l.setShapeSingleStyle({key:K,value:P!=0?V(K,I,C):I.dragShift}),I.lineNode&&I.lineNode.style&&(I.lineNode.style[K]=`${I.lineShift}px`),H.push(I.line))})}),H.length&&N(H,_,r)})},V=(_,r,m)=>{const{width:C,height:w}=i.value.style;return _=="top"?Math.round(r.dragShift-(w-m.height)/2):Math.round(r.dragShift-(C-m.width)/2)},N=(_,r,m)=>{let C=Object.fromEntries(Object.keys(d.value).map(w=>[w,!1]));m?_.includes("yr")?C.yr=!0:_.includes("yc")?C.yc=!0:_.includes("yl")&&(C.yl=!0):_.includes("yl")?C.yl=!0:_.includes("yc")?C.yc=!0:_.includes("yr")&&(C.yr=!0),r?_.includes("xb")?C.xb=!0:_.includes("xc")?C.xc=!0:_.includes("xt")&&(C.xt=!0):_.includes("xt")?C.xt=!0:_.includes("xc")?C.xc=!0:_.includes("xb")&&(C.xb=!0),d.value=C},g=(_,r)=>Math.abs(_-r)<=fo;e.onMounted(()=>{v.on(ee.move,function({isDownward:_,isRightward:r}){h(_,r)}),v.on(ee.unmove,()=>{p()})});const b={props:o,lineRefs:t,setLineRef:s,lines:c,diff:fo,lineStatus:d,editorStore:l,curComponent:i,componentData:f,hideLine:p,showLine:h,translateCurComponentShift:V,chooseTheTureLine:N,isNearly:g,get emitter(){return v},get eventDef(){return ee},computed:e.computed,onMounted:e.onMounted,ref:e.ref,get useEditorStore(){return te},get getComponentRotatedStyle(){return Y}};return Object.defineProperty(b,"__isScriptSetup",{enumerable:!1,value:!0}),b}};function bi(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{class:"mark-line"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t.lines,d=>e.withDirectives(e.createElementVNode("div",{key:d,ref_for:!0,ref:l=>t.setLineRef(l,d),class:e.normalizeClass(["line",d.includes("x")?"xline":"yline"])},null,2),[[e.vShow,t.lineStatus[d]||!1]])),64))])}const yi=J(Di,[["render",bi],["__scopeId","data-v-1292994b"],["__file","MarkLine.vue"]]),Ni={__name:"Area",props:{start:{type:Object,default:()=>{}},width:{type:Number,default:0},height:{type:Number,default:0}},setup(n,{expose:a}){a();const t={props:n};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}};function Ei(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({left:t.props.start.x+"px",top:t.props.start.y+"px",width:t.props.width+"px",height:t.props.height+"px"}),class:"area"},null,4)}const ki=J(Ni,[["render",Ei],["__scopeId","data-v-32734a61"],["__file","Area.vue"]]),Ti={__name:"ContextMenu",props:["pageId"],setup(n,{expose:a}){a();let o=null;const t=n,s=te(t.pageId),c=e.computed(()=>s.curComponent),d=e.computed(()=>{let x=s.canvasStyleData.height,y=f(),D=s.menuTop;return D+y>x&&(D=x-y,D=D<0?0:D),D}),l=e.computed(()=>{let x=s.canvasStyleData.width,y=s.menuLeft;return s.menuLeft+70>x&&(y=x-70),y}),i=e.computed(()=>s.menuShow),f=()=>c.value?c.value.isLock?34:310:34,k={get copyData(){return o},set copyData(x){o=x},props:t,editorStore:s,curComponent:c,menuTop:d,menuLeft:l,menuShow:i,_calcMenuHeight:f,lock:()=>{s.lock()},unlock:()=>{s.unlock()},handleMouseUp:()=>{s.setClickComponentStatus(!0)},cut:()=>{s.cut()},copy:()=>{s.copy()},paste:()=>{s.paste(!0),s.recordSnapshot()},deleteComponent:()=>{s.deleteComponent(),s.recordSnapshot()},upComponent:()=>{s.upComponent(),s.recordSnapshot()},downComponent:()=>{s.downComponent(),s.recordSnapshot()},topComponent:()=>{s.topComponent(),s.recordSnapshot()},bottomComponent:()=>{s.bottomComponent(),s.recordSnapshot()},get useEditorStore(){return te},computed:e.computed};return Object.defineProperty(k,"__isScriptSetup",{enumerable:!1,value:!0}),k}};function Ai(n,a,o,t,s,c){return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"left-context-menu",style:e.normalizeStyle({top:t.menuTop+"px",left:t.menuLeft+"px"})},[e.createElementVNode("ul",{onMouseup:t.handleMouseUp},[t.curComponent?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.curComponent.isLock?(e.openBlock(),e.createElementBlock("li",{key:1,onClick:t.unlock},"解锁")):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("li",{onClick:t.copy},"复制"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.paste},"粘贴"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.cut},"剪切"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.deleteComponent},"删除"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.lock},"锁定"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.topComponent},"置顶"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.bottomComponent},"置底"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.upComponent},"上移"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.downComponent},"下移")],64))],64)):(e.openBlock(),e.createElementBlock("li",{key:1,onClick:t.paste},"粘贴"))],32)],4)),[[e.vShow,t.menuShow]])}const Bi=J(Ti,[["render",Ai],["__scopeId","data-v-8383d7b0"],["__file","ContextMenu.vue"]]),Si={__name:"GroupComponentBox",props:{width:{type:Number,default:0},height:{type:Number,default:0},left:{type:Number,default:0},top:{type:Number,default:0}},setup(n,{expose:a}){a();const t={props:n};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}};function Fi(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{class:"area",style:e.normalizeStyle({left:t.props.left+"px",top:t.props.top+"px",width:t.props.width+"px",height:t.props.height+"px"})},null,4)}const Oi=J(Si,[["render",Fi],["__scopeId","data-v-20f916ac"],["__file","GroupComponentBox.vue"]]),Li="ControlLeft",Pi="ControlRight",Ri="MetaLeft",Mi="MetaRight",zi="KeyV",Ii="KeyC",Ui="KeyX",ji="KeyY",Ki="KeyZ",Wi="KeyG",Hi="KeyB",qi="KeyL",Xi="KeyU",Gi="KeyS",Ji="KeyP",Yi="KeyD",ho="Delete",Qi="KeyE",Zi=["KeyB","KeyC","KeyD","KeyE","KeyG","KeyL","KeyP","KeyS","KeyU","KeyV","KeyX","KeyY","KeyZ"],mo={[zi]:er,[ji]:nr,[Ki]:or,[Gi]:ir,[Ji]:rr,[Qi]:sr},go={...mo,[Xi]:dr},Co={...mo,[Ii]:vi,[Ui]:tr,[Wi]:ar,[Hi]:lr,[Yi]:Do,[ho]:Do,[qi]:cr};let en=!1,re;function xo(n){re=n}function Vo(n){return n===Li||n===Pi||n===Ri||n===Mi}function $i(n){return Zi.includes(n)}function wo(){window.addEventListener("keydown",n=>{if(!re.isInEditor)return;const a=re.curComponent,{code:o}=n;Vo(o)?en=!0:o===ho&&a?(re.deleteComponent(),re.recordSnapshot()):en&&$i(o)&&(Co[o]&&(!a||!a.isLock)?(n.preventDefault(),Co[o]()):go[o]&&a&&a.isLock&&(n.preventDefault(),go[o]()))}),window.addEventListener("keyup",n=>{Vo(n.code)&&(en=!1)}),window.addEventListener("mousedown",()=>{re.setInEditorStatus(!1)})}function vi(){re.copy()}function er(){re.paste(),re.recordSnapshot()}function tr(){re.cut()}function nr(){re.redo()}function or(){re.undo()}function ar(){re.areaData.components.length>0&&(re.compose(),re.recordSnapshot())}function lr(){const n=re.curComponent;n&&!n.value.isLock&&n.component==="Group"&&(re.decompose(),re.recordSnapshot())}function ir(){v.emit(ee.save)}function rr(){v.emit(ee.preview)}function Do(){re.curComponent&&(re.deleteComponent(),re.recordSnapshot())}function sr(){v.emit(ee.clearCanvas)}function cr(){re.lock()}function dr(){re.unlock()}const ur={__name:"Editor",props:["pageId","isEdit"],setup(n,{expose:a}){const o=n,t=te(o.pageId),s=e.ref(null),c=e.ref({});let d=0,l=0;const i=e.ref({x:0,y:0}),f=e.ref(0),p=e.ref(0),h=e.ref(!1),V=["width","height","top","left","rotate"],N=e.computed(()=>t.canvasStyleData),g=e.computed(()=>t.isDarkMode),b=e.computed(()=>t.componentData),_=e.computed(()=>t.curComponent),r=e.computed(()=>t.canvasStyleData),m=e.computed(()=>t.areaData),C=(P,K)=>{P&&(c.value[K]=P)},w=P=>c.value[P],k=P=>Bt(P,V),x=P=>At(P,V),y=P=>wn(P),D=P=>{_.value||P.preventDefault(),A();const K=t.getEditorBoundingClientRect();d=K.x,l=K.y;const I=P.clientX,q=P.clientY;i.value.x=I-d,i.value.y=q-l,h.value=!0;const Z=j=>{f.value=Math.abs(j.clientX-I),p.value=Math.abs(j.clientY-q),j.clientX<I&&(i.value.x=j.clientX-d),j.clientY<q&&(i.value.y=j.clientY-l)},ne=j=>{if(document.removeEventListener("mousemove",Z),document.removeEventListener("mouseup",ne),j.clientX==I&&j.clientY==q){A();return}u()};document.addEventListener("mousemove",Z),document.addEventListener("mouseup",ne)},A=()=>{h.value=!1,f.value=0,p.value=0,t.setAreaData({style:{left:0,top:0,width:0,height:0},components:[]})},u=()=>{const P=E();if(P.length<=1){A();return}let K=1/0,I=1/0,q=-1/0,Z=-1/0;P.forEach(ne=>{let j={};ne.component=="Group",j=Y(ne.style),j.left<I&&(I=j.left),j.top<K&&(K=j.top),j.right>q&&(q=j.right),j.bottom>Z&&(Z=j.bottom)}),i.value.x=I,i.value.y=K,f.value=q-I,p.value=Z-K,t.setAreaData({style:{left:I,top:K,width:f.value,height:p.value},components:P}),h.value=!1},E=()=>{const P=[],{x:K,y:I}=i.value;return b.value.forEach(q=>{if(q.isLock)return;const{left:Z,top:ne,width:j,height:ge}=Y(q.style);K<=Z&&I<=ne&&Z+j<=K+f.value&&ne+ge<=I+p.value&&P.push(q)}),P},T=P=>{P.stopPropagation(),P.preventDefault();let K=P.target,I=P.offsetY,q=P.offsetX;for(;K instanceof SVGElement;)K=K.parentNode;for(;!K.className.includes("editor");)q+=K.offsetLeft,I+=K.offsetTop,K=K.parentNode;t.showContextMenu({top:I,left:q})},M=(P,K)=>{t.setShapeStyle({height:z(P,K)})},z=(P,K)=>{let{lineHeight:I,fontSize:q,height:Z}=P.style;I===""&&(I=1.5);const ne=(K.split("<br>").length-1)*I*(q||r.value.fontSize);return Z>ne?Z:ne};e.onMounted(()=>{console.log("onMounted:"+s.value),t.setEditor(s.value),xo(t),wo(),v.on(ee.hideArea,function(){A()})}),a({getComponentRef:w});const H={props:o,editorStore:t,editorRef:s,componentRefs:c,get editorX(){return d},set editorX(P){d=P},get editorY(){return l},set editorY(P){l=P},start:i,width:f,height:p,isShowArea:h,svgFilterAttrs:V,canvas:N,isDarkMode:g,componentData:b,curComponent:_,canvasStyleData:r,areaData:m,setComponentRef:C,getComponentRef:w,getComponentStyle:k,getSVGStyleLocal:x,getCanvasStyleLocal:y,handleMouseDown:D,hideArea:A,createGroup:u,getSelectArea:E,handleContextMenu:T,handleInput:M,getTextareaHeight:z,ref:e.ref,computed:e.computed,onMounted:e.onMounted,get useEditorStore(){return te},GridLine:ci,CompShape:wi,get getShapeStyle(){return ea},get getSVGStyle(){return At},get getStyle(){return Bt},get getComponentRotatedStyle(){return Y},get getCanvasStyle(){return wn},MarkLine:yi,Area:ki,ContextMenu:Bi,GroupComponentBox:Oi,get emitter(){return v},get eventDef(){return ee},get listenGlobalKeyDown(){return wo},get shortcutKeyReceiveStoreInstance(){return xo}};return Object.defineProperty(H,"__isScriptSetup",{enumerable:!1,value:!0}),H}};function pr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{ref:"editorRef",class:e.normalizeClass(["editor",{edit:o.isEdit}]),style:e.normalizeStyle({...t.getCanvasStyleLocal(t.canvas),width:t.canvas.width+"px",height:t.canvas.height+"px"}),onContextmenu:t.handleContextMenu,onMousedown:t.handleMouseDown},[e.createCommentVNode(" 网格线 "),e.createTextVNode(),e.createVNode(t.GridLine,{"is-dark-mode":t.isDarkMode},null,8,["is-dark-mode"]),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.componentData,(d,l)=>(e.openBlock(),e.createBlock(t.CompShape,{"page-id":t.props.pageId,key:d.id,index:l,"default-style":d.style,style:e.normalizeStyle(t.getShapeStyle(d.style)),active:d.id===(t.curComponent||{}).id,element:d,class:e.normalizeClass({lock:d.isLock})},{default:e.withCtx(()=>[d.component.startsWith("SVG")?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.component),{key:0,id:"component"+d.id,style:e.normalizeStyle(t.getSVGStyleLocal(d.style)),class:"component","prop-value":d.propValue,element:d,designStatus:!0,ref_for:!0,ref:i=>t.setComponentRef(i,d.id)},null,8,["id","style","prop-value","element"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.component),{key:1,id:"component"+d.id,class:"component",style:e.normalizeStyle(t.getComponentStyle(d.style)),"prop-value":d.propValue,element:d,designStatus:!0,ref_for:!0,ref:i=>t.setComponentRef(i,d.id)},null,8,["id","style","prop-value","element"]))]),_:2},1032,["page-id","index","default-style","style","active","element","class"]))),128)),e.createTextVNode(),e.createCommentVNode(" 右击菜单 "),e.createTextVNode(),e.createVNode(t.ContextMenu,{"page-id":t.props.pageId},null,8,["page-id"]),e.createTextVNode(),e.createCommentVNode(" 标线"),e.createTextVNode(),e.createVNode(t.MarkLine,{"page-id":t.props.pageId},null,8,["page-id"]),e.createTextVNode(),e.createCommentVNode(" 选中区域"),e.createTextVNode(),e.withDirectives(e.createVNode(t.Area,{start:t.start,width:t.width,height:t.height},null,8,["start","width","height"]),[[e.vShow,t.isShowArea]]),e.createTextVNode(),e.createCommentVNode(" 选择的组件包裹层 "),e.createTextVNode(),t.areaData.components.length?(e.openBlock(),e.createBlock(t.GroupComponentBox,e.normalizeProps(e.mergeProps({key:0},t.areaData.style)),null,16)):e.createCommentVNode("",!0)],38)}const _r=J(ur,[["render",pr],["__scopeId","data-v-5a712273"],["__file","Editor.vue"]]),fr={__name:"index",props:{pageId:{type:String,required:!0,default:""}},setup(n,{expose:a}){a();const o=n;let t;const s=Pe();e.watch(()=>o.pageId,r=>{r&&(t=te(r))},{immediate:!0});const c=e.ref(null),d=e.ref(null);let l;const i=e.ref(null),f=e.computed({get:()=>t.rulePresetLine,set:r=>{t.rulePresetLine=r}}),p=e.computed(()=>t.ruleReferenceLine),h=e.computed(()=>t.isClickComponent),V=r=>{r.preventDefault(),r.stopPropagation();const m=r.dataTransfer.getData("text/plain");try{const C=JSON.parse(m);if(console.log("接收到的拖拽数据:",C),me(C.component)){const w=Ce(rn(s.componentGroups,C.component)),k=t.getEditorBoundingClientRect();console.log("rect:"+k),w.style.top=r.clientY-Math.floor(k.y),w.style.left=r.clientX-Math.floor(k.x),w.id=ce(fe.Component),t.addComponent(w)}}catch(C){console.error("解析拖拽数据失败:",C)}},N=r=>{r.preventDefault(),r.dataTransfer.dropEffect="copy"},g=r=>{r.stopPropagation(),t.setClickComponentStatus(!1),t.setInEditorStatus(!0)},b=r=>{h.value||t.setCurComponent(null,null),r.button!=2&&t.hideContextMenu()};e.onMounted(()=>{l=new ResizeObserver(()=>{i.value?.updateSize()}),d.value&&l.observe(d.value),c.value&&t.setEditorInstance(c.value)}),e.onUnmounted(()=>{l?.disconnect()}),e.provide("VE-ContainerParam",{}),e.provide("VE-CompMethod",function(){});const _={props:o,get editorStore(){return t},set editorStore(r){t=r},veStore:s,editorRef:c,canvasRef:d,get resizeObserver(){return l},set resizeObserver(r){l=r},vRuleRef:i,rulePresetLine:f,ruleLineColor:p,isClickComponent:h,handleDrop:V,handleDragOver:N,handleMouseDown:g,deselectCurComponent:b,computed:e.computed,onMounted:e.onMounted,watch:e.watch,ref:e.ref,provide:e.provide,onUnmounted:e.onUnmounted,ToolBar:Fl,VRule:ii,Editor:_r,get useEditorStore(){return te},get deepCopy(){return Ce},get generatePrefixID(){return ce},get getComponentByName2(){return rn},get isNotEmpty(){return me},get useVEStore(){return Pe},get IdPrefix(){return fe}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}};function hr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{class:"splitpanes"},[e.createElementVNode("div",{class:"fixed-pane"},[e.createVNode(t.ToolBar,{"page-id":t.props.pageId},null,8,["page-id"])]),e.createTextVNode(),e.createElementVNode("div",{ref:"canvasRef",class:"flexible-pane"},[e.createVNode(t.VRule,{ref:"vRuleRef",referenceLine:t.rulePresetLine,"onUpdate:referenceLine":a[2]||(a[2]=d=>t.rulePresetLine=d),"line-color":t.ruleLineColor},{"canvas-content":e.withCtx(()=>[e.createElementVNode("div",{class:"content",onDrop:t.handleDrop,onDragover:[t.handleDragOver,a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))],onDragenter:a[1]||(a[1]=e.withModifiers(()=>{},["prevent"])),onMousedown:t.handleMouseDown,onMouseup:t.deselectCurComponent},[e.createVNode(t.Editor,{ref:"editorRef","page-id":t.props.pageId},null,8,["page-id"])],32)]),_:1},8,["referenceLine","line-color"])],512)])}const mr=J(fr,[["render",hr],["__scopeId","data-v-6a7c1f0a"],["__file","index.vue"]]),gr={__name:"RuleDrawer",setup(n,{expose:a}){let o=te();const t=e.ref(!1),s=e.ref("name"),c=e.ref(null),d=e.computed(()=>te(c.value||"default")),l=e.computed({get:()=>d.value.ruleReferenceLine,set:b=>{d.value.ruleReferenceLine=b}}),i=e.computed({get:()=>d.value.rulePresetLine,set:b=>{d.value.rulePresetLine=b}}),f=b=>{d.value.rulePresetLine&&d.value.rulePresetLine.splice(b,1)},p=()=>{d.value.rulePresetLine=[]},h=(b,_)=>{const r=[...i.value];r[b]={...r[b],site:_},i.value=r},V=b=>{t.value=!0,c.value=b},N=()=>{t.value=!1};v.on(ee.openRuleSetting,b=>{console.log("oepn ruleSetting:"+b.pageId),V(b.pageId)}),a({show:V});const g={get editorStore(){return o},set editorStore(b){o=b},drawer:t,activeNames:s,currentStoreId:c,currentStore:d,ruleLineColor:l,referenceLine:i,deleteReferenceLine:f,deleteAllReferenceLine:p,updateReferenceLine:h,show:V,handleClose:N,computed:e.computed,ref:e.ref,get emitter(){return v},get eventDef(){return ee},get useEditorStore(){return te},get predefineColors(){return kt}};return Object.defineProperty(g,"__isScriptSetup",{enumerable:!1,value:!0}),g}};function Cr(n,a,o,t,s,c){const d=e.resolveComponent("el-color-picker"),l=e.resolveComponent("el-form-item"),i=e.resolveComponent("el-form"),f=e.resolveComponent("el-text"),p=e.resolveComponent("el-col"),h=e.resolveComponent("el-button"),V=e.resolveComponent("el-row"),N=e.resolveComponent("el-input-number"),g=e.resolveComponent("el-collapse-item"),b=e.resolveComponent("el-collapse"),_=e.resolveComponent("el-drawer");return e.openBlock(),e.createBlock(_,{modelValue:t.drawer,"onUpdate:modelValue":a[2]||(a[2]=r=>t.drawer=r),title:"标尺设置",direction:"rtl","before-close":t.handleClose,size:"400"},{default:e.withCtx(()=>[e.createVNode(b,{modelValue:t.activeNames,"onUpdate:modelValue":a[1]||(a[1]=r=>t.activeNames=r),class:"elCollapse",accordion:""},{default:e.withCtx(()=>[e.createVNode(g,{title:"属性",name:"name"},{default:e.withCtx(()=>[e.createVNode(i,{ref:"paramForm","label-width":"120","label-position":"left"},{default:e.withCtx(()=>[e.createVNode(l,{label:"标线颜色"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.ruleLineColor,"onUpdate:modelValue":a[0]||(a[0]=r=>t.ruleLineColor=r),"show-alpha":"",predefine:t.predefineColors},null,8,["modelValue","predefine"])]),_:1})]),_:1},512),e.createTextVNode(),e.createVNode(V,{gutter:1},{default:e.withCtx(()=>[e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createTextVNode("方向")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{span:8},{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{span:10},{default:e.withCtx(()=>[e.createVNode(h,{type:"danger",icon:"delete",title:"清空",onClick:t.deleteAllReferenceLine},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.referenceLine,(r,m)=>(e.openBlock(),e.createBlock(V,{gutter:1},{default:e.withCtx(()=>[e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.type=="h"?"水平":"垂直"),1)]),_:2},1024)]),_:2},1024),e.createTextVNode(),e.createVNode(p,{span:12},{default:e.withCtx(()=>[e.createVNode(N,{"model-value":r.site,"onUpdate:modelValue":C=>t.updateReferenceLine(m,C),"controls-position":"right"},null,8,["model-value","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createVNode(h,{type:"danger",icon:"delete",title:"删除",onClick:C=>t.deleteReferenceLine(m)},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])}const xr=J(gr,[["render",Cr],["__scopeId","data-v-53dbb572"],["__file","RuleDrawer.vue"]]),Vr=Object.assign({name:"VEEditor"},{__name:"VEEditor",emits:["importJson","exportJson","preview","openPage","savePage"],setup(n,{expose:a,emit:o}){const t=ht(),s=e.ref(20),c=e.ref(null),d=e.ref(""),l=e.ref(5),i=e.ref(null),f=o,p=e.ref([{title:"新建页面",name:ce(fe.Page)}]),h={background:"#8B008B"},V=e.ref(null);e.watch(()=>d.value,w=>{w&&(V.value=te(w))},{immediate:!0});const N=w=>{w&&w.length>0&&(s.value=w[0].size)},g=w=>{const k=p.value;let x=d.value;k.length<=1?$("warning","tab页签必须保留一个"):(x===w&&k.forEach((y,D)=>{if(y.name===w){const A=k[D+1]||k[D-1];A&&(x=A.name)}}),d.value=x,p.value=k.filter(y=>y.name!==w),bn(w))},b=()=>{const w=p.value;let k=d.value,x="";return w.forEach((y,D)=>{y.name===k&&(x=y.title)}),x};v.on(ee.openNewPage,w=>{w.pageId&&(p.value.length>=l.value?$("warning","tab页签数量超过限制"):fn("输入页面名称","新建页面",{pattern:/^.{1,20}$/,errMsg:"输入小于20个字符的标题"},function(k){p.value.push({title:k||"新建页面",name:w.pageId}),d.value=w.pageId},null))}),e.onMounted(()=>{d.value=p.value[0].name,v.on(ee.importJson,function(w){f("importJson",w)}),v.on(ee.exportJson,function(w){typeof window._copyright_hflveditor3=="function"&&f("exportJson",w)}),v.on(ee.preview,function(w){f("preview",w)}),v.on(ee.openPage,function(w){f("openPage",w)}),v.on(ee.savePage,function(w){typeof window._copyright_hflveditor3=="function"&&(w.id=d.value,w.title=b(),f("savePage",w))})});const _=w=>{let k;typeof w=="string"?k=JSON.parse(w||"{}"):k=w,k&&(V.value.setComponentData(k.componentData||[]),V.value.setCanvasStyle(k.canvasStyle||{}))},r=w=>{if(p.value.length>=l.value)$("warning","tab页签数量超过限制");else{if(me(w.id)){const k=p.value;let x=!1;if(k.forEach((y,D)=>{y.name===w.id&&(x=!0)}),x)d.value=w.id;else{let y=w.id;p.value.push({title:w.name||"新建页面",name:y}),d.value=y}}else{let k=ce(fe.Page);p.value.push({title:w.name||"新建页面",name:k}),d.value=k}e.nextTick(()=>{_(w.data)})}},m=w=>{w.id&&me(w.name)&&p.value.forEach((x,y)=>{x.name===w.id&&(x.title=w.name)})};e.onBeforeMount(()=>{}),a({setJsonData:_,loadPage:r,modifyTitle:m});const C={veBaseStore:t,paneSize:s,canvasDrawerRef:c,activeName:d,maxTabNums:l,ruleDrawerRef:i,emit:f,editableTabs:p,canvasStyle:h,editorStore:V,handleResize:N,removeTab:g,getCurTabTitle:b,setJsonData:_,loadPage:r,modifyTitle:m,ref:e.ref,computed:e.computed,onMounted:e.onMounted,watch:e.watch,nextTick:e.nextTick,onBeforeMount:e.onBeforeMount,get Splitpanes(){return No},get Pane(){return Eo},LeftRegion:ca,RightRegion:El,get useVEBaseStore(){return ht},CanvasDrawer:Al,PageEditor:mr,get generatePrefixID(){return ce},get isNotEmpty(){return me},get emitter(){return v},get eventDef(){return ee},get showMessage(){return $},get showPromptMessageBox(){return fn},get clearEditorStore(){return bn},get useEditorStore(){return te},get IdPrefix(){return fe},RuleDrawer:xr};return Object.defineProperty(C,"__isScriptSetup",{enumerable:!1,value:!0}),C}});function wr(n,a,o,t,s,c){const d=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(t.Splitpanes,{class:"default-theme",style:{width:"100%",height:"100%"},onResize:t.handleResize},{default:e.withCtx(()=>[t.veBaseStore.showLeftRegion?(e.openBlock(),e.createBlock(t.Pane,{key:0,size:t.paneSize,"max-size":"20"},{default:e.withCtx(()=>[e.createVNode(t.LeftRegion,{"editor-store":t.editorStore,"page-id":t.activeName},null,8,["editor-store","page-id"])]),_:1},8,["size"])):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(t.Pane,{size:100-t.paneSize},{default:e.withCtx(()=>[e.createVNode(t.Splitpanes,null,{default:e.withCtx(()=>[e.createVNode(t.Pane,null,{default:e.withCtx(()=>[e.createVNode(l,{modelValue:t.activeName,"onUpdate:modelValue":a[0]||(a[0]=i=>t.activeName=i),type:"border-card",class:"tabs",closable:"",onTabRemove:t.removeTab},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.editableTabs,i=>(e.openBlock(),e.createBlock(d,{key:i.name,label:i.title,name:i.name},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.KeepAlive,{max:t.maxTabNums},[(e.openBlock(),e.createBlock(t.PageEditor,{"page-id":i.name,key:i.name},null,8,["page-id"]))],1032,["max"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),t.veBaseStore.showRightRegion?(e.openBlock(),e.createBlock(t.Pane,{key:0,size:"20","max-size":"20"},{default:e.withCtx(()=>[e.createVNode(t.RightRegion,{"editor-store":t.editorStore,"page-id":t.activeName},null,8,["editor-store","page-id"])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["size"])]),_:1}),e.createTextVNode(),e.createVNode(t.CanvasDrawer,{ref:"canvasDrawerRef"},null,512),e.createTextVNode(),e.createVNode(t.RuleDrawer,{ref:"ruleDrawerRef"},null,512)],64)}const Dr=J(Vr,[["render",wr],["__scopeId","data-v-fdd70ba7"],["__file","VEEditor.vue"]]),br=e.defineComponent({name:"ve-svg-icon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""}},setup(n){return{iconName:e.computed(()=>`#icon-${n.iconClass}`),svgClass:e.computed(()=>n.className?`ve-svg-icon ${n.className}`:"ve-svg-icon")}}});function yr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(n.svgClass),"aria-hidden":"true"},[e.createElementVNode("use",{"xlink:href":n.iconName,fill:n.color},null,8,["xlink:href","fill"])],2)}const Nr=J(br,[["render",yr],["__file","index.vue"]]),Er={foldLeft:'<svg t="1750411641074" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6327" width="200" height="200"><path d="M867.1 141.17H156.08c-17.67 0-32 14.33-32 32s14.33 32 32 32H867.1c17.67 0 32-14.33 32-32s-14.33-32-32-32zM867.92 367.52H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 573.87H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 800.22H156.9c-17.67 0-32 14.33-32 32s14.33 32 32 32h711.02c17.67 0 32-14.33 32-32 0-17.68-14.32-32-32-32zM312.01 367.52v270.35L137.47 489.71z" p-id="6328"></path></svg>',foldRight:'<svg t="1750411736588" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6481" width="200" height="200"><path d="M867.1 141.17H156.08c-17.67 0-32 14.33-32 32s14.33 32 32 32H867.1c17.67 0 32-14.33 32-32s-14.33-32-32-32zM867.92 367.52H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 573.87H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 800.22H156.9c-17.67 0-32 14.33-32 32s14.33 32 32 32h711.02c17.67 0 32-14.33 32-32 0-17.68-14.32-32-32-32zM137.47 637.87V367.52l174.54 148.15z" p-id="6482"></path></svg>',save:'<svg t="1750486544844" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5304" width="200" height="200"><path d="M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z" fill="#333333" p-id="5305"></path></svg>',save2:'<svg t="1750487183059" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4694" width="200" height="200"><path d="M512 64C357.472 64 96 90.944 96 192v634.528c0 101.024 261.472 128 416 128 154.496 0 416-26.976 416-128V192c0-101.056-261.504-128-416-128zM160 457.728C247.328 499.072 405.184 512 512 512c106.88 0 264.864-12.96 352.16-54.368l0.096 148.256C852.352 629.728 725.056 672 512 672c-212.096 0-339.136-41.888-352-65.76v-148.512zM512 448c-212.096 0-339.136-41.888-352-65.76v-116.48C247.328 307.072 405.184 320 512 320c106.848 0 264.736-12.928 352.032-54.304l0.064 116.384C851.648 405.952 724.512 448 512 448z m0-320c206.88 0 332.96 39.872 351.008 64-18.048 24.128-144.128 64-351.008 64S179.04 216.128 161.024 192C179.04 167.872 305.12 128 512 128z m0 762.528c-213.568 0-341.056-42.496-352-64v-144.8C247.328 723.072 405.184 736 512 736c106.944 0 265.056-12.992 352.32-54.432l0.096 142.688c-11.392 23.776-138.848 66.272-352.416 66.272z" p-id="4695"></path></svg>',undo:'<svg t="1750487331839" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5009" width="200" height="200"><path d="M995.648 459.296C684.448 281.568 406.08 318.656 171.232 567.904L32 416v384h352l-160.736-175.328c211.168-227.072 452.192-259.776 734.304-98.688a38.4 38.4 0 0 0 38.08-66.688z" p-id="5010"></path></svg>',redo:'<svg t="1750487379046" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5163" width="200" height="200"><path d="M860.992 558.912C627.904 317.536 352.384 283.648 44.8 459.296a38.4 38.4 0 1 0 38.08 66.688c278.432-159.008 516.896-129.408 726.08 89.696L640 800h352V416l-131.008 142.912z" p-id="5164"></path></svg>',combination:'<svg t="1750479615139" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4635" width="200" height="200"><path d="M839.036 130.458h-654.072c-30.102 0-54.506 24.404-54.506 54.506v654.072c0 30.102 24.404 54.506 54.506 54.506h654.072c30.102 0 54.506-24.404 54.506-54.506v-654.072c0-30.102-24.404-54.506-54.506-54.506zM839.036 811.786c0 15.050-12.196 27.249-27.249 27.249h-598.721c-15.050 0-27.249-12.196-27.249-27.249v-598.721c0-15.050 12.196-27.249 27.249-27.249h598.721c15.049 0 27.249 12.196 27.249 27.249v598.721zM730.028 421.639h-127.324v-126.817c0-30.091-24.402-54.499-54.501-54.499h-252.755c-30.098 0-54.501 24.401-54.501 54.499v253.89c0 30.091 24.402 54.499 54.501 54.499h127.324v126.817c0 30.091 24.402 54.499 54.501 54.499h252.755c30.098 0 54.501-24.401 54.501-54.499v-253.89c0-30.091-24.402-54.499-54.501-54.499zM323.36 548.137c-15.050 0-27.251-12.207-27.251-27.26v-197.694c0-15.055 12.201-27.26 27.251-27.26h196.928c15.051 0 27.251 12.207 27.251 27.26v98.458h-70.267c-30.098 0-54.501 24.401-54.501 54.499v71.998h-99.411zM547.539 477.24v43.638c0 15.055-12.202 27.26-27.251 27.26h-42.353v-43.638c0-15.055 12.202-27.26 27.251-27.26h42.353zM729.365 702.193c0 15.055-12.201 27.26-27.251 27.26h-196.928c-15.050 0-27.251-12.207-27.251-27.26v-98.981h70.267c30.098 0 54.501-24.401 54.501-54.499v-71.474h99.411c15.050 0 27.251 12.207 27.251 27.26v197.693z" p-id="4636"></path></svg>',split:'<svg t="1750479695414" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4789" width="200" height="200"><path d="M553.396484375 822.78125H229.255859375c-26.89453125 0-48.779296875-21.884765625-48.779296875-48.779296875V208.6015625c0-26.89453125 21.884765625-48.779296875 48.779296875-48.779296875h565.400390625c27.0703125 0 48.779296875 21.62109375 48.779296875 48.515625v407.197265625c0 11.42578125 9.31640625 20.7421875 20.7421875 20.7421875 11.42578125 0 20.7421875-9.31640625 20.7421875-20.7421875V208.337890625c0-49.921875-40.341796875-90-90.17578125-90H229.255859375c-49.74609375 0-90.17578125 40.4296875-90.17578125 90.17578125V773.9140625c0 49.74609375 40.4296875 90.17578125 90.17578125 90.17578125h324.140625c11.42578125 0 20.7421875-9.31640625 20.7421875-20.7421875s-9.228515625-20.56640625-20.7421875-20.56640625z" p-id="4790"></path><path d="M553.396484375 408.376953125h165.76171875V242.703125H553.396484375v165.673828125z m-41.396484375-166.11328125c0-22.67578125 18.720703125-41.044921875 41.044921875-41.044921875h166.46484375c22.67578125 0 41.044921875 18.720703125 41.044921875 41.044921875v166.46484375c0 22.67578125-18.720703125 41.044921875-41.044921875 41.044921875H553.044921875c-22.67578125 0-41.044921875-18.720703125-41.044921875-41.044921875V242.263671875zM284.099609375 532.7421875c0-11.337890625 9.31640625-20.7421875 20.302734375-20.7421875h166.46484375c11.25 0 20.302734375 9.228515625 20.302734375 21.005859375v123.662109375c0 11.6015625-9.404296875 21.09375-20.302734375 21.09375H304.490234375c-11.25 0-20.302734375-9.140625-20.302734375-20.7421875V532.7421875z m-41.396484375 0V657.01953125c0 34.365234375 27.59765625 62.138671875 61.787109375 62.138671875h166.46484375c34.013671875 0 61.787109375-28.125 61.787109375-62.490234375V533.005859375c0-34.541015625-27.509765625-62.490234375-61.787109375-62.490234375H304.490234375c-33.92578125 0.087890625-61.787109375 28.037109375-61.787109375 62.2265625zM723.2890625 802.0390625h-50.2734375c-11.42578125 0-20.7421875-9.31640625-20.7421875-20.7421875s9.31640625-20.7421875 20.7421875-20.7421875h50.2734375v-50.2734375c0-11.42578125 9.31640625-20.7421875 20.7421875-20.7421875 11.42578125 0 20.7421875 9.31640625 20.7421875 20.7421875v50.2734375h50.2734375c11.42578125 0 20.7421875 9.31640625 20.7421875 20.7421875S826.47265625 802.0390625 815.046875 802.0390625h-50.2734375v50.2734375c0 11.42578125-9.31640625 20.7421875-20.7421875 20.7421875-11.42578125 0-20.7421875-9.31640625-20.7421875-20.7421875V802.0390625zM744.03125 905.57421875c68.642578125 0 124.27734375-55.634765625 124.27734375-124.27734375S812.673828125 657.01953125 744.03125 657.01953125s-124.27734375 55.634765625-124.27734375 124.27734375S675.388671875 905.57421875 744.03125 905.57421875z" p-id="4791"></path></svg>',lock:'<svg t="1750479364498" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1470" width="200" height="200"><path d="M806.617322 1024H217.36459A124.739125 124.739125 0 0 1 93.090909 899.260875V421.4821a124.739125 124.739125 0 0 1 124.273681-124.971847h589.252732A124.739125 124.739125 0 0 1 930.891002 421.4821v477.778775A124.739125 124.739125 0 0 1 806.617322 1024zM217.36459 319.317033A102.165067 102.165067 0 0 0 116.363134 421.4821v477.778775A101.932345 101.932345 0 0 0 217.36459 1000.727775h589.252732A101.932345 101.932345 0 0 0 907.618777 899.260875V421.4821a102.165067 102.165067 0 0 0-101.699622-102.165067z" fill="#666666" p-id="1471"></path><path d="M702.125032 319.317033a11.170668 11.170668 0 0 1-11.170668-11.40339v-139.633349a133.349848 133.349848 0 0 0-51.897061-102.630511A198.046633 198.046633 0 0 0 511.990956 23.294333c-98.674233 0-178.963409 65.627674-178.963409 146.382294v139.633349a11.170668 11.170668 0 0 1-11.170668 11.40339 11.40339 11.40339 0 0 1-11.40339-11.40339v-139.633349C310.453489 75.889561 400.982443 0.022109 511.990956 0.022109a219.45708 219.45708 0 0 1 141.495126 49.104394 155.923906 155.923906 0 0 1 60.04234 120.08468v139.633349a11.40339 11.40339 0 0 1-11.40339 10.472501zM511.990956 750.551359a90.296232 90.296232 0 1 1 91.227121-90.296233A90.994399 90.994399 0 0 1 511.990956 750.551359z m0-157.785685a67.489452 67.489452 0 1 0 68.42034 67.489452 67.954896 67.954896 0 0 0-68.42034-67.489452z" fill="#666666" p-id="1472"></path></svg>',unlock:'<svg t="1750479411662" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1625" width="200" height="200"><path d="M713.05481 1024H124.738048A124.970768 124.970768 0 0 1 0 899.261952v-477.076488a124.970768 124.970768 0 0 1 124.738048-124.738048h588.316762A124.970768 124.970768 0 0 1 837.792858 422.185464v477.076488A125.203488 125.203488 0 0 1 713.05481 1024zM124.738048 320.254A102.164185 102.164185 0 0 0 23.272024 422.185464v477.076488A102.164185 102.164185 0 0 0 124.738048 1000.727976h588.316762A102.164185 102.164185 0 0 0 814.520834 899.261952v-477.076488a102.164185 102.164185 0 0 0-102.164185-101.931464z" fill="#666666" p-id="1626"></path><path d="M418.896429 750.78644a90.295452 90.295452 0 1 1 91.226333-90.062732A90.528173 90.528173 0 0 1 418.896429 750.78644z m0-157.551601a67.488869 67.488869 0 1 0 68.41975 67.488869 67.95431 67.95431 0 0 0-68.41975-67.488869zM1012.565757 318.392238a11.403292 11.403292 0 0 1-11.403292-11.403292V168.753125C1000.697024 88.231922 918.779501 23.302976 817.546197 23.302976a206.190131 206.190131 0 0 0-130.788774 43.751404 131.254214 131.254214 0 0 0-53.060214 102.164185v138.235821a11.403292 11.403292 0 1 1-23.272024 0V168.753125a154.060798 154.060798 0 0 1 62.136303-120.083643A229.229435 229.229435 0 0 1 817.546197 0.030952C930.880953 0.030952 1023.969048 75.665029 1023.969048 168.753125v138.235821a11.403292 11.403292 0 0 1-11.403291 11.403292z" fill="#666666" p-id="1627"></path></svg>',clear:'<svg t="1750486633569" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2342" width="200" height="200"><path d="M274.56 798.997333l19.434667-25.130666-33.792 68.565333a18.133333 18.133333 0 0 0 11.562666 25.536l59.733334 16a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.818667 35.626667-35.989333 45.290666-48.469333l19.456-25.130667-33.813333 68.565333a18.133333 18.133333 0 0 0 11.562667 25.536l84.48 22.634667a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-35.989333 45.269333-48.469333l19.456-25.130667-33.813333 68.565333A18.133333 18.133333 0 0 0 535.530667 938.666667l72.106666 19.328a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-36.010667 45.269334-48.490667l19.456-25.130667-33.813334 68.586667a18.133333 18.133333 0 0 0 11.584 25.514667l86.421334 23.338666 3.84-0.213333c13.269333-0.704 29.056-5.034667 43.84-12.8 29.781333-15.701333 48.170667-43.2 52.181333-78.250667 2.133333-18.517333 4.778667-38.549333 8.405333-63.530666 1.642667-11.221333 2.944-20.010667 6.229334-41.834667 11.050667-73.322667 14.634667-101.034667 17.130666-133.674667l0.938667-12.373333 2.837333-2.922667 12.330667-1.344a41.813333 41.813333 0 0 0 24.810667-11.221333c10.730667-10.24 14.805333-25.386667 11.093333-42.197333l-37.546667-171.584c-3.029333-13.696-11.264-27.946667-23.146666-39.829334-11.648-11.626667-25.92-20.138667-39.893334-23.893333L723.626667 331.306667l-2.261334-3.925334L774.250667 130.133333c8.32-31.061333-11.754667-63.744-44.970667-72.64l-79.509333-21.312c-33.194667-8.896-66.922667 9.365333-75.264 40.426667l-52.842667 197.269333-3.925333 2.261334-118.101334-31.637334c-13.994667-3.754667-30.634667-3.498667-46.506666 0.746667-16.256 4.352-30.506667 12.586667-39.957334 22.933333l-118.314666 129.792c-11.605333 12.714667-15.658667 27.84-11.52 42.090667 4.16 14.229333 15.850667 25.194667 32.896 30.528l13.610666 4.266667 2.133334 3.882666-3.626667 13.802667c-21.12 79.850667-52.885333 136.917333-85.717333 150.890667-47.530667 20.202667-72.938667 49.429333-78.421334 85.034666-5.034667 32.682667 9.28 67.114667 37.589334 91.541334l22.037333 8.341333 74.666667 20.010667a42.666667 42.666667 0 0 0 41.216-11.050667c15.274667-15.274667 26.88-28.032 34.837333-38.293333z m551.381333-396.565333c14.144 3.797333 29.952 19.2 32.768 32l34.56 157.781333a10.666667 10.666667 0 0 1-13.184 12.586667L240.64 433.493333a10.666667 10.666667 0 0 1-5.12-17.493333l108.8-119.36c8.832-9.685333 30.229333-15.146667 44.373333-11.349333l141.333334 37.866666a21.333333 21.333333 0 0 0 26.133333-15.082666l58.304-217.642667a21.333333 21.333333 0 0 1 26.133333-15.082667l77.056 20.650667a21.333333 21.333333 0 0 1 15.082667 26.133333l-58.325333 217.642667a21.333333 21.333333 0 0 0 15.082666 26.112l136.448 36.565333zM315.456 701.568c-33.664 45.141333-64.597333 79.082667-92.8 101.802667l-5.909333 4.778666-2.837334 0.597334-88.106666-24.106667-2.922667-3.2c-13.034667-14.165333-19.370667-31.04-16.981333-46.592 3.285333-21.333333 22.058667-39.338667 53.205333-52.586667 31.722667-13.482667 59.818667-47.104 82.922667-99.904 10.026667-22.954667 18.88-48.725333 26.389333-76.586666l3.882667-14.4 3.904-2.261334 566.165333 151.701334 2.346667 3.306666-0.789334 12.224c-1.984 30.592-30.336 229.397333-32.128 244.906667-2.346667 20.416-11.306667 34.986667-27.605333 44.394667a73.237333 73.237333 0 0 1-21.397333 8.106666l-5.013334 0.725334-60.373333-16.170667 11.242667-20.288c8.277333-14.976 22.656-43.84 43.093333-86.613333a21.12 21.12 0 0 0-9.962667-28.16l-3.136-1.493334a21.333333 21.333333 0 0 0-26.261333 6.485334c-33.642667 45.056-64.533333 78.912-92.672 101.546666l-5.909333 4.757334-2.837334 0.597333-52.544-14.08 11.114667-20.266667c3.562667-6.485333 7.04-13.013333 10.453333-19.626666 7.04-13.504 17.898667-35.797333 32.597334-66.816a21.290667 21.290667 0 0 0-9.984-28.309334l-3.029334-1.450666a21.333333 21.333333 0 0 0-26.368 6.442666c-33.6 45.013333-64.469333 78.826667-92.608 101.482667l-5.909333 4.757333-2.837333 0.597334-52.138667-13.973334 11.114667-20.266666c3.242667-5.888 6.72-12.416 10.453333-19.626667 6.997333-13.461333 17.962667-35.946667 32.896-67.434667a20.970667 20.970667 0 0 0-10.112-28.010666l-3.328-1.536a21.333333 21.333333 0 0 0-26.069333 6.613333c-33.642667 45.056-64.554667 78.976-92.778667 101.696l-5.909333 4.757333-2.837334 0.597334-32.64-8.746667 11.093334-20.245333c3.541333-6.506667 7.04-13.034667 10.453333-19.626667 6.976-13.482667 17.941333-35.968 32.874667-67.456a21.056 21.056 0 0 0-10.069334-28.074667l-3.242666-1.514666a21.333333 21.333333 0 0 0-26.154667 6.549333z" fill="#333333" p-id="2343"></path></svg>',deleteIcon:'<svg t="1750486500477" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5147" width="200" height="200"><path d="M106.666667 213.333333h810.666666v42.666667H106.666667z" fill="#3D3D3D" p-id="5148"></path><path d="M640 128v42.666667h42.666667V128c0-23.573333-19.093333-42.666667-42.538667-42.666667H383.872A42.496 42.496 0 0 0 341.333333 128v42.666667h42.666667V128h256z" fill="#3D3D3D" p-id="5149"></path><path d="M213.333333 896V256H170.666667v639.957333C170.666667 919.552 189.653333 938.666667 213.376 938.666667h597.248C834.218667 938.666667 853.333333 919.68 853.333333 895.957333V256h-42.666666v640H213.333333z" fill="#3D3D3D" p-id="5150"></path><path d="M320 341.333333h42.666667v384h-42.666667zM490.666667 341.333333h42.666666v384h-42.666666zM661.333333 341.333333h42.666667v384h-42.666667z" fill="#3D3D3D" p-id="5151"></path></svg>',makeline:'<svg t="1750488123134" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3304" width="200" height="200"><path d="M538.3 62.3h-477v900h900v-900h-423z m355.5 832.5h-765v-765h765v765z" p-id="3305"></path><path d="M623.8 485.3h76.5v54h-76.5zM772.3 485.3h76.5v54h-76.5zM322.3 485.3h76.5v54h-76.5zM173.8 485.3h76.5v54h-76.5zM484.3 773.3h54v76.5h-54zM484.3 624.8h54v76.5h-54zM484.3 548.3h54v-9h9v-54h-9v-13.5h-54v13.5h-13.5v54h13.5zM484.3 174.8h54v76.5h-54zM484.3 323.3h54v76.5h-54z" p-id="3306"></path></svg>',canvas:'<svg t="1750488310268" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1503" width="200" height="200"><path d="M911.274667 810.624H663.466667c-11.989333-1.962667-21.034667-8.106667-25.088-16.938667-4.352-9.728-2.304-34.816-2.304-52.394666v-344.32c0-9.941333-0.725333-19.413333 1.578666-25.088a32.426667 32.426667 0 0 1 7.253334-9.557334c10.069333-9.216 22.656-8.106667 42.752-8.106666h167.893333c15.232 0 35.925333-0.768 50.858667 0 4.906667 0 9.813333 0.768 14.506666 2.176 1.024 0.426667 1.365333 1.578667 2.432 2.176 1.152 0.725333 3.2 0.896 4.010667 1.493333 2.133333 1.621333 3.370667 4.010667 4.864 5.973333 0.725333 0.896 1.792 1.194667 2.432 2.133334 2.304 3.754667 2.218667 7.381333 4.010667 11.818666v404.138667c-2.517333 14.933333-11.818667 23.594667-27.392 26.538667v-0.042667z m-137.258667-21.418667c2.56 3.84 6.272 6.997333 11.306667 7.381334 2.261333 0.170667 5.930667 0 8.064-0.768a20.48 20.48 0 0 0 8.064-7.296 15.573333 15.573333 0 0 0-1.621334-14.805334 11.562667 11.562667 0 0 0-5.632-4.352c-3.626667-1.536-5.461333-2.133333-11.306666-0.768a14.336 14.336 0 0 0-10.154667 8.192 12.842667 12.842667 0 0 0 1.28 12.458667z m88.746667-401.92c-1.066667-4.266667-5.205333-4.736-12.885334-5.12-18.133333-0.853333-39.381333 0-56.533333 0-29.44 0-52.608-1.578667-75.861333 0-0.768 0-0.426667 0.597333-0.768 0.725334-3.968 1.493333-7.466667 5.290667-4.821334 10.325333 2.133333 4.138667 7.850667 3.669333 16.170667 3.712 36.906667 0.170667 67.712 0 103.253333 0 6.485333 0 14.933333 0.597333 20.992 0 4.437333-0.426667 5.504 0.085333 8.064-2.261333 1.877333-1.621333 3.413333-3.456 2.389334-7.338667z m46.037333 37.674667h-242.133333c-0.896 0.085333-0.853333 1.109333-0.810667 2.133333v326.784H908.8v-328.96z m-179.413333-88.533333h-40.362667c-0.426667-13.013333 1.408-53.76-2.432-62.72a44.202667 44.202667 0 0 0-25.770667-22.101334c-7.893333-2.133333-18.944-1.493333-30.72-1.493333H184.576c-11.093333 0-21.589333-0.64-29.866667 1.493333a41.813333 41.813333 0 0 0-26.581333 22.186667c-3.498667 8.021333-2.432 20.437333-2.432 33.877333v216.832c0 12.672-1.749333 28.288 1.621333 36.821334a41.642667 41.642667 0 0 0 25.813334 23.637333c13.653333 3.797333 35.925333 1.493333 53.290666 1.493333h411.946667v92.885334H143.445333c-12.288 0-24.746667 0.853333-33.066666-2.176-5.162667-2.133333-9.813333-5.12-13.781334-8.874667-6.997333-6.613333-8.789333-12.8-11.306666-22.869333V247.978667c3.498667-19.925333 15.872-31.658667 37.930666-34.645334h568.192c16.128 2.346667 28.8 9.770667 34.688 22.912 4.224 9.258667 3.2 21.077333 3.2 33.834667v66.389333h0.042667zM271.786667 786.986667c0.512-0.341333 1.792-0.256 2.389333-0.725334 1.92-1.493333 3.370667-3.712 5.674667-5.162666 0.554667-0.341333 1.749333-0.256 2.389333-0.725334 0.682667-0.469333 0.938667-1.749333 1.578667-2.218666 0.853333-0.469333 1.792-0.256 2.474666-0.725334 12.586667-8.533333 27.136-16.426667 41.173334-22.869333v-53.802667c-0.128-1.024-0.170667-2.090667 0.810666-2.218666h158.976v55.338666c2.645333 2.645333 6.4 3.498667 9.685334 5.12 5.12 2.56 10.666667 5.632 16.128 8.874667l6.442666 3.669333c2.090667 1.152 3.754667 2.005333 5.674667 3.669334 0.853333 0.725333 3.968 2.474667 5.632 3.712 1.28 0.938667 2.474667 1.578667 4.053333 2.944 0.981333 0.853333 2.56 1.706667 4.010667 2.986666 3.456 2.901333 15.36 9.173333 14.549333 16.170667-1.536 13.184-51.2 8.832-68.650666 8.832H291.2c-20.394667 0-38.570667-3.456-25.088-17.664 1.706667-1.877333 3.626667-3.584 5.674667-5.162667zM190.592 308.736H622.933333v222.293333H190.592v-222.293333z m501.205333 138.965333h190.976v282.88h-190.933333v-282.88h-0.042667z" fill="#4A4A4A" p-id="1504"></path></svg>',setting:'<svg t="1750488470617" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2493" width="200" height="200"><path d="M504.046527 324.145644c-105.338607 0-191.027711 85.687888-191.027711 191.027711 0 105.338607 85.689104 191.026495 191.027711 191.026495 105.334958 0 191.022846-85.687888 191.022846-191.026495C695.069373 409.833532 609.381485 324.145644 504.046527 324.145644L504.046527 324.145644 504.046527 324.145644zM504.046527 655.261965c-77.245474 0-140.089826-62.844353-140.089826-140.08861 0-77.245474 62.844353-140.084961 140.089826-140.084961S644.131488 437.927881 644.131488 515.173355C644.131488 592.417613 581.292001 655.261965 504.046527 655.261965L504.046527 655.261965 504.046527 655.261965zM925.014169 425.218649c-18.079246-1.639587-72.978655-13.394016-87.374911-44.776054-12.553545-27.31956 8.205233-65.847424 27.813382-93.361594l12.177705-17.094034-119.232527-125.560993-18.144926 13.588626c-16.367896 12.267712-69.833275 44.006129-100.298215 29.547841-24.458796-11.631581-31.143641-53.522546-32.464555-86.600121L606.535318 76.493794l-94.535334 0-94.525603 0-0.964535 24.463662c-1.316048 33.077575-8.005758 74.969756-32.454824 86.604986-30.407773 14.458288-83.94978-17.280129-100.307945-29.547841L265.579041 144.398 146.37084 269.986967 158.547329 287.085866c19.585038 27.471598 40.334086 65.961757 27.871765 93.276452-14.306249 31.324871-68.00516 43.007538-87.432078 44.861196l-23.167074 2.113948 0 76.612992L75.810211 503.950454l0 93.736217 23.167074 2.115165c19.428134 1.852442 73.130694 13.536324 87.432078 44.861196 12.462322 27.309829-8.281861 65.803637-27.865683 93.27037l-12.17284 17.10498 119.203335 125.584102 18.168036-13.617817c16.3533-12.262847 69.895307-44.004913 100.30308-29.552706 24.450282 11.641312 31.143641 53.527411 32.464555 86.611068l0.95602 24.468527 94.529252 0 94.530468 0 0.959669-24.468527c1.320914-33.083657 8.010624-74.969756 32.460906-86.611068 30.468589-14.452206 83.933968 17.28986 100.306729 29.552706l18.144926 13.593491 119.227662-125.559776-12.17284-17.10498c-19.617879-27.509304-40.375441-66.042034-27.823112-93.361594 14.401121-31.377173 69.296882-43.131602 87.379776-44.769972l23.171939-2.115165 0-92.976023 0.008514 0 0-77.373187L925.014169 425.218649 925.014169 425.218649 925.014169 425.218649zM897.243358 503.950454l-0.004865 0 0 48.76677c-31.382038 6.642274-84.719704 24.449066-105.909057 70.6032-16.29735 35.505332-9.256126 78.023913 20.899871 126.619183l-60.387405 63.619143c-29.415263-17.831118-86.187792-44.64226-133.651893-22.159969-33.41571 15.816907-53.460514 51.488874-59.756139 106.18516l-46.438751 0-46.437535 0c-6.295625-54.696286-26.341646-90.368252-59.761004-106.18516-47.440991-22.449451-104.228115 4.314255-133.656758 22.159969L211.757283 749.939607c30.159646-48.59527 37.197221-91.113851 20.904736-126.619183-21.190569-46.154134-74.531884-63.960926-105.909057-70.6032l0-48.00171 0.004865 0 0-32.408604c31.382038-6.641058 84.723353-24.449066 105.918787-70.601984 16.286403-35.506548 9.250045-78.029994-20.910817-126.620399l60.383756-63.627657c29.423777 17.849363 86.206036 44.613068 133.656758 22.163618 33.414494-15.821772 53.465379-51.484009 59.756139-106.18516l46.437535 0 46.443616 0c6.29076 54.696286 26.340429 90.368252 59.756139 106.18516 47.459236 22.487156 104.231764-4.327634 133.647028-22.163618l60.39227 63.627657c-30.160862 48.590405-37.197221 91.108986-20.909601 126.620399 21.189353 46.152918 74.536749 63.960926 105.909057 70.601984l0 31.643545L897.243358 503.950454 897.243358 503.950454 897.243358 503.950454zM897.243358 503.950454" fill="#272636" p-id="2494"></path></svg>',sketchRule:'<svg t="1750819198822" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5691" width="200" height="200"><path d="M854.633103 83.697237 586.894246 83.697237c-1.195222-0.191358-2.418073-0.290619-3.664459-0.290619-1.24434 0-2.465145 0.100284-3.65832 0.290619L168.315962 83.697237c-47.382147 0-85.770456 38.387285-85.770456 85.770456l0 686.317141c0 47.382147 38.388309 85.782735 85.770456 85.782735l162.045653 0c47.382147 0 85.772502-38.400588 85.772502-85.782735L416.134117 617.544825c-0.071631-12.402471-10.113335-22.456455-22.563902-22.456455-12.428054 0-22.515806 10.053983-22.573111 22.456455l0 0.069585c0 0.022513 0 0.022513 0 0.047072 0 0 0 0.046049 0 0.069585l0 233.540987c0 24.969695-20.224624 45.171806-45.148269 45.171806L172.831812 896.443859c-24.924669 0-45.148269-20.201088-45.148269-45.171806l0-92.394317 159.380964 0c13.173021 0 23.843034-10.682293 23.843034-23.830755 0-13.173021-10.670014-23.829731-23.843034-23.829731L127.682519 711.217251 127.682519 592.06143l111.720478 0c13.170974 0 23.840988-10.682293 23.840988-23.830755 0-13.173021-10.670014-23.831778-23.840988-23.831778L127.682519 544.398898 127.682519 425.2441l159.380964 0c13.173021 0 23.843034-10.670014 23.843034-23.830755 0-13.170974-10.670014-23.843034-23.843034-23.843034L127.682519 377.570311 127.682519 173.983543c0-24.936949 20.2236-45.149293 45.148269-45.149293L368.946398 128.83425c-0.124843 1.022283-0.195451 2.061962-0.195451 3.119037L368.750947 249.352091c0 13.648858 10.671037 24.715915 23.831778 24.715915s23.843034-11.066033 23.843034-24.715915L416.425759 131.953288c0-1.057075-0.071631-2.096754-0.195451-3.119037l143.168724 0 0 96.68504c0 13.648858 10.682293 24.715915 23.831778 24.715915 13.171997 0 23.830755-11.066033 23.830755-24.715915l0-96.68504 119.351272 0c-0.124843 1.022283-0.195451 2.061962-0.195451 3.119037L726.217385 249.352091c0 13.648858 10.68127 24.715915 23.829731 24.715915 13.174044 0 23.832801-11.066033 23.832801-24.715915L773.879917 131.953288c0-1.057075-0.070608-2.096754-0.195451-3.119037l76.435856 0c24.924669 0 45.148269 20.212344 45.148269 45.149293l0 168.875199 0 10.879792L459.838501 353.738533c-13.160741 0-23.840988 10.671037-23.840988 23.843034 0 13.160741 10.680247 23.831778 23.840988 23.831778l446.831768 0c2.075265 0 4.089132-0.26606 6.009877-0.76441 1.657756 0.387833 3.384074 0.599657 5.160533 0.599657 12.474103 0 22.575158-10.123568 22.575158-22.575158l0-35.815717L940.415838 169.468716C940.415838 122.084523 902.017296 83.697237 854.633103 83.697237z" fill="#272636" p-id="5692"></path></svg>',zoomout:'<svg t="1750819738144" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1403" width="200" height="200"><path d="M643.389627 423.537124 454.696113 423.537124 454.696113 234.843609c0-9.516538-7.674628-17.191166-17.191166-17.191166s-17.191166 7.674628-17.191166 17.191166l0 188.693515L231.620266 423.537124c-9.516538 0-17.191166 7.674628-17.191166 17.191166s7.674628 17.191166 17.191166 17.191166l188.693515 0 0 188.693515c0 9.516538 7.674628 17.191166 17.191166 17.191166s17.191166-7.674628 17.191166-17.191166L454.696113 457.817128l188.693515 0c9.516538 0 17.191166-7.674628 17.191166-17.191166S652.803837 423.537124 643.389627 423.537124z" p-id="1404"></path><path d="M1015.762566 994.734086 758.7137 737.68522C830.855201 659.608674 874.958729 555.336065 874.958729 440.72829 874.958729 199.131008 679.102228 3.274508 437.504947 3.274508S0.051164 199.131008 0.051164 440.72829s195.8565 437.453782 437.453782 437.453782c114.607775 0 218.982712-44.103528 296.95693-116.245028l257.048866 257.048866c6.651344 6.651344 17.60048 6.651344 24.251824 0C1022.516239 1012.232237 1022.516239 1001.38543 1015.762566 994.734086zM437.504947 843.79974c-222.666533 0-403.173778-180.507245-403.173778-403.173778s180.507245-403.173778 403.173778-403.173778 403.173778 180.507245 403.173778 403.173778S660.17148 843.79974 437.504947 843.79974z" p-id="1405"></path></svg>',zoomin:'<svg t="1750819767199" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1558" width="200" height="200"><path d="M645.410613 421.592885 232.310982 421.592885c-9.516538 0-17.191166 7.674628-17.191166 17.191166 0 9.516538 7.674628 17.191166 17.191166 17.191166l412.997302 0c9.516538 0 17.191166-7.674628 17.191166-17.191166C662.601779 429.369841 654.824823 421.592885 645.410613 421.592885z" p-id="1559"></path><path d="M1018.909164 994.529429l-257.867493-257.867493c72.346158-78.281203 116.552014-182.860797 116.552014-297.877885C877.696013 196.470471 681.225542 0 438.809633 0S0.025582 196.470471 0.025582 438.784051s196.470471 438.784051 438.784051 438.784051c115.017088 0 219.596682-44.205856 297.877885-116.552014l257.867493 257.867493c6.753672 6.753672 17.60048 6.753672 24.354152 0C1025.662836 1012.129909 1025.662836 1001.283102 1018.909164 994.529429zM438.809633 843.288098c-223.382832 0-404.401719-181.018887-404.401719-404.401719S215.52913 34.382332 438.809633 34.382332s404.401719 181.018887 404.401719 404.401719S662.192465 843.288098 438.809633 843.288098z" p-id="1560"></path></svg>',restore:'<svg t="1750819883686" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1713" width="200" height="200"><path d="M0 50.959528l0 921.978615 1024.409313 0 0-921.978615L0 50.959528zM990.231638 938.862796 34.075347 938.862796 34.075347 85.137204l956.156291 0L990.231638 938.862796z" p-id="1714"></path><path d="M290.203258 768.076746c9.41421 0 17.088838-7.674628 17.088838-17.088838L307.292096 272.909763c0-9.41421-7.674628-17.088838-17.088838-17.088838-9.41421 0-17.088838 7.674628-17.088838 17.088838l0 478.078145C273.11442 760.504447 280.789048 768.076746 290.203258 768.076746z" p-id="1715"></path><path d="M495.064655 460.784651 529.24233 460.784651c9.41421 0 17.088838-7.674628 17.088838-17.088838 0-9.41421-7.674628-17.088838-17.088838-17.088838l-34.177676 0c-9.41421 0-17.088838 7.674628-17.088838 17.088838C477.975817 453.110023 485.650445 460.784651 495.064655 460.784651z" p-id="1716"></path><path d="M495.064655 597.393025 529.24233 597.393025c9.41421 0 17.088838-7.674628 17.088838-17.088838s-7.674628-17.088838-17.088838-17.088838l-34.177676 0c-9.41421 0-17.088838 7.674628-17.088838 17.088838S485.650445 597.393025 495.064655 597.393025z" p-id="1717"></path><path d="M734.103727 768.076746c9.41421 0 17.088838-7.674628 17.088838-17.088838L751.192565 272.909763c0-9.41421-7.674628-17.088838-17.088838-17.088838s-17.088838 7.674628-17.088838 17.088838l0 478.078145C717.01489 760.504447 724.689517 768.076746 734.103727 768.076746z" p-id="1718"></path></svg>',newPage:'<svg t="1751333147233" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1568" width="200" height="200"><path d="M914.181742 251.621027L672.174208 10.295205A34.085568 34.085568 0 0 0 645.587465 0.069535H134.303944a34.085568 34.085568 0 0 0-34.085569 34.085568v954.395906a34.085568 34.085568 0 0 0 34.085569 34.085568h755.336188a34.085568 34.085568 0 0 0 34.085569-34.085568V272.754079a34.085568 34.085568 0 0 0-9.543959-21.133052z m-92.712746 3.408557H666.720517V100.962816zM168.389512 954.465441V68.240671h430.159869v220.874481a34.085568 34.085568 0 0 0 34.085568 34.085568h222.919615V954.465441z" fill="#666666" p-id="1569"></path><path d="M713.758601 545.438624H548.10274V379.782763a34.085568 34.085568 0 0 0-68.171136 0V545.438624H304.731784a34.085568 34.085568 0 0 0-34.085568 34.085568 33.403857 33.403857 0 0 0 4.771979 16.361073 34.085568 34.085568 0 0 0 31.358723 21.133052h170.427841v170.42784a34.085568 34.085568 0 1 0 68.171136 0V618.38174h170.42784a34.085568 34.085568 0 0 0 34.085568-34.085568 33.403857 33.403857 0 0 0-4.771979-16.361073A34.085568 34.085568 0 0 0 713.758601 545.438624z" fill="#666666" p-id="1570"></path></svg>',folder:'<svg t="1751333431817" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2818" width="200" height="200"><path d="M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2c-1.5-1.4-3.5-2.2-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256z m635.3 512H159l103.3-256h612.4L771.3 768z" p-id="2819"></path></svg>',importSvg:'<svg t="1752543539387" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1256" width="200" height="200"><path d="M111.6 148.8c7.9 0 16.9 17.9 21.6 32.2 25.9 88.7 143 182.6 248.6 194.2v-1.1c0-29.6 10.6-50.7 31.7-64.4 11.1-6.9 22.7-10.6 34.8-10.6 13.7 0 27.4 4.8 39.1 13.7L645.8 438c17.9 13.2 28.5 34.8 28.5 57.5 0 22.2-10.6 43.8-28 57L487.4 678.2c-1.6 1.1-2.6 2.1-4.2 2.6-7.4 4.2-19.5 9.5-34.3 9.5-12.1 0-23.7-3.2-34.3-10-26.4-16.9-30.6-43.8-32.2-55.4l-0.5-2.1c-0.5-1.6-0.5-3.7-0.5-5.3v-5.3c-162.6-26.9-314.1-192.6-314.1-352 0-29.6 4.2-59.6 12.7-88.1 4.2-13.8 18.4-26.5 31.6-23.3z m335.2 467.1c0.5 2.6 1.1 6.9 2.1 8.4l156.2-123.5c1.6-1.1 2.6-3.2 2.6-5.3 0-2.1-0.5-3.7-2.6-5.3L447.8 365.7c0 1.1-0.5 3.2-0.5 7.9v34.8c0 17.4-13.2 31.7-30.6 32.7-104.5 7.4-213.8-61.2-280.3-145.7 22.2 123 154.1 247.5 279.7 254.4 17.4 1.1 31.1 15.3 31.1 32.7v32.7l-0.4 0.7z m0.5-0.5" p-id="1257"></path><path d="M309 916.3c-67 0-121.4-54.9-121.4-121.4V593.2h69.1v201.6c0 29 23.8 52.3 52.3 52.3h527.3c29 0 52.3-23.8 52.3-52.3V226.4c0-29-23.8-52.3-52.3-52.3H399.8v-69.7h436.5c67 0 121.9 54.9 121.9 121.9v567.9c0 67-54.9 121.9-121.9 121.9H309v0.2z m0 0" p-id="1258"></path><path d="M841.6 626H729.1v-59.1h112.4V626z m0 154.1H545.5V721h296.1v59.1z m0-425.4h-237v-59.1h237v59.1z m0 140.9H729.1v-59.1h112.4v59.1z m0-59.1" p-id="1259"></path></svg>',exportSvg:'<svg t="1752543591120" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1408" width="200" height="200"><path d="M394.6 689.8c-13.2 3.2-27.4-9.5-31.7-23.2-8.4-28.5-12.7-58.6-12.7-88.1 0-159.4 151.5-325.1 314.1-352.1v-5.3c0-1.6 0-3.7 0.5-5.3l0.5-2.1c1.6-11.6 5.8-38.5 32.2-55.4 10.6-6.9 22.2-10 34.3-10 14.8 0 26.9 5.3 34.3 9.5 1.6 0.5 2.6 1.6 4.2 2.6L929.2 286c17.4 13.2 28 34.8 28 57 0 22.7-10.6 44.3-28.5 57.5L770.5 525.7c-11.6 9-25.3 13.7-39.1 13.7-12.1 0-23.8-3.7-34.8-10.6-21.1-13.7-31.7-34.8-31.7-64.4v-1.1C559.3 475 442.2 569 416.3 657.6c-4.8 14.3-13.7 32.2-21.7 32.2z m335.7-466.6V256c0 17.4-13.7 31.7-31.1 32.7-125.6 6.9-257.6 131.4-279.7 254.4C486 458.7 595.2 390 699.7 397.4c17.4 1.1 30.6 15.3 30.6 32.7V465c0 4.7 0.5 6.9 0.5 7.9l157.3-124.6c2.1-1.6 2.6-3.2 2.6-5.3 0-2.1-1.1-4.2-2.6-5.3L731.9 214.3c-1.1 1.6-1.6 5.8-2.1 8.4l0.5 0.5z m0 0" p-id="1409"></path><path d="M715.6 916.3H188.3c-67 0-121.9-54.9-121.9-121.9v-568c0-67 54.9-121.9 121.9-121.9h436.5v69.7H188.3c-28.5 0-52.3 23.2-52.3 52.3V795c0 28.5 23.2 52.3 52.3 52.3h527.3c28.5 0 52.3-23.2 52.3-52.3V593.2H837v201.6c0 66.6-54.4 121.5-121.4 121.5z m0 0" p-id="1410"></path><path d="M183 566.9h112.4V626H183v-59.1z m0 154.1h296.1v59.1H183V721z m0-425.4h237v59.1H183v-59.1z m0 140.9h112.4v59.1H183v-59.1z m0 0" p-id="1411"></path></svg>',preview:'<svg t="1752547223697" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3654" width="200" height="200"><path d="M242.526316 215.578947h431.157895v53.894737H242.526316V215.578947z m431.157895 269.473685H242.526316V431.157895h431.157895v53.894737z m323.368421 323.368421c0 88.279579-144.761263 215.578947-323.368421 215.578947s-323.368421-127.353263-323.368422-215.578947a164.055579 164.055579 0 0 1 53.894737-107.789474H242.526316v-53.894737h215.578947v10.778947a388.042105 388.042105 0 0 1 377.263158-28.725894V53.894737H80.842105v862.315789h323.368421v53.894737H26.947368V0h862.31579v658.054737A208.357053 208.357053 0 0 1 997.052632 808.421053z m-134.736843-107.789474H835.368421v-14.928842A356.675368 356.675368 0 0 0 673.684211 646.736842c-148.857263 0-269.473684 91.136-269.473685 161.684211 0 66.182737 120.616421 161.684211 269.473685 161.68421s269.473684-95.501474 269.473684-161.68421a149.989053 149.989053 0 0 0-80.842106-107.789474zM673.684211 916.210526a107.789474 107.789474 0 1 1 107.789473-107.789473 107.789474 107.789474 0 0 1-107.789473 107.789473z m0-161.68421a53.894737 53.894737 0 1 0 53.894736 53.894737 53.894737 53.894737 0 0 0-53.894736-53.894737z" fill="#484D55" p-id="3655"></path></svg>',addSvg:'<svg t="1752651440274" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1603" width="200" height="200"><path d="M768 505.6a6.4 6.4 0 0 1 2.005333 12.458667L768 518.4H256a6.4 6.4 0 0 1-2.005333-12.458667L256 505.6h512z" fill="#292D32" p-id="1604"></path><path d="M512 249.6a6.4 6.4 0 0 1 6.058667 4.394667L518.4 256v512a6.4 6.4 0 0 1-12.458667 2.005333L505.6 768V256a6.4 6.4 0 0 1 6.4-6.4z" fill="#292D32" p-id="1605"></path></svg>'},kr=e.defineComponent({name:"comp-svg-icon",props:{name:{type:String,required:!0},className:{type:String,default:""}},setup(n){return{svgContent:Er[n.name]?.replace(/width="[^"]*"/,"").replace(/height="[^"]*"/,""),svgClass:e.computed(()=>`comp-svg-icon ${n.className}`)}}});function Tr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("svg",{innerHTML:n.svgContent,class:e.normalizeClass(n.svgClass)},null,10,["innerHTML"])}const Ar=J(kr,[["render",Tr],["__scopeId","data-v-c17f5289"],["__file","index.vue"]]),bo=[{key:"left",label:"x 坐标"},{key:"top",label:"y 坐标"},{key:"rotate",label:"旋转角度"},{key:"width",label:"宽"},{key:"height",label:"高"},{key:"color",label:"颜色"},{key:"backgroundColor",label:"背景色"},{key:"borderWidth",label:"边框宽度"},{key:"borderStyle",label:"边框风格"},{key:"borderColor",label:"边框颜色"},{key:"borderRadius",label:"边框半径"},{key:"fontSize",label:"字体大小"},{key:"fontWeight",label:"字体粗细"},{key:"lineHeight",label:"行高"},{key:"letterSpacing",label:"字间距"},{key:"textAlign",label:"左右对齐"},{key:"verticalAlign",label:"上下对齐"},{key:"opacity",label:"不透明度"},{key:"isHide",label:"隐藏"},{key:"hAffix",label:"水平设置"},{key:"wdSet",label:"宽度设置"},{key:"wdReserve",label:"宽度铺满预留"},{key:"vAffix",label:"垂直设置"},{key:"htSet",label:"高度设置"},{key:"htReserve",label:"高度铺满预留"},{key:"showDashBorder",label:"显示虚线边框"}],Br=[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],Sr=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"}],Fr=[{label:"上对齐",value:"top"},{label:"居中对齐",value:"middle"},{label:"下对齐",value:"bottom"}],Or=[{label:"浮动计算",value:"calc"},{label:"固定左侧",value:"left"},{label:"固定右侧",value:"right"},{label:"固定中间",value:"center"}],Lr=[{label:"浮动计算",value:"calc"},{label:"固定宽度",value:"fixedWd"},{label:"铺满整宽",value:"overspread"}],Pr=[{label:"浮动计算",value:"calc"},{label:"固定顶部",value:"top"},{label:"固定底部",value:"bottom"},{label:"固定中间",value:"middle"}],Rr=[{label:"浮动计算",value:"calc"},{label:"固定高度",value:"fixedHt"},{label:"铺满整高",value:"overspread"}],Mr=["textAlign","borderStyle","verticalAlign","hAffix","wdSet","vAffix","htSet"],zr={textAlign:Br,borderStyle:Sr,verticalAlign:Fr,hAffix:Or,wdSet:Lr,vAffix:Pr,htSet:Rr},Ir=["isHide","showDashBorder"],Ur=Object.assign({name:"VECommonAttr"},{__name:"VECommonAttr",props:["pageId","formSize"],setup(n,{expose:a}){a();const o=n,t=te(o.pageId);let s={};const c=e.computed(()=>t.curComponent),d=e.computed(()=>{if(c.value){const g=Object.keys(c.value.style);return bo.filter(b=>g.includes(b.key))}return[]}),l=e.computed({get:()=>c.value?.collapseName||"",set:g=>{c.value.collapseName=g}}),N={props:o,editorStore:t,get initialStyle(){return s},set initialStyle(g){s=g},curComponent:c,styleKeys:d,activeName:l,setInitial:g=>{s=JSON.parse(JSON.stringify(g))},setFontSize:()=>{const g=c.value.style.fontSize/s.fontSize,b={width:(g*s.width).toFixed(4),height:(g*s.height).toFixed(4),padding:(g*s.padding).toFixed(4)};this.curComponent.style={...c.value.style,...b},t.setShapeStyle(c.value.style),t.recordSnapshot()},onChange:()=>{},updateCompId:()=>{Be.ElMessageBox.confirm("确认更新组件的Id?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{c.value.id=ce(fe.Component)}).catch(()=>{})},isIncludesColor:g=>g.toLowerCase().includes("color"),get ElMessageBox(){return Be.ElMessageBox},get useEditorStore(){return te},computed:e.computed,ref:e.ref,watch:e.watch,get generatePrefixID(){return ce},get selectKey(){return Mr},get optionMap(){return zr},get switchKey(){return Ir},get styleData(){return bo},get Refresh(){return sl},get IdPrefix(){return fe}};return Object.defineProperty(N,"__isScriptSetup",{enumerable:!1,value:!0}),N}});function jr(n,a,o,t,s,c){const d=e.resolveComponent("el-input"),l=e.resolveComponent("el-form-item"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-form"),p=e.resolveComponent("el-collapse-item"),h=e.resolveComponent("el-color-picker"),V=e.resolveComponent("el-option"),N=e.resolveComponent("el-select"),g=e.resolveComponent("el-switch"),b=e.resolveComponent("el-input-number"),_=e.resolveComponent("el-collapse");return e.openBlock(),e.createElementBlock("div",{class:"v-common-attr",onMousedown:a[5]||(a[5]=r=>t.setInitial(t.curComponent.style))},[e.createVNode(_,{modelValue:t.activeName,"onUpdate:modelValue":a[4]||(a[4]=r=>t.activeName=r),class:"elCollapse",accordion:"",onChange:t.onChange},{default:e.withCtx(()=>[e.createVNode(p,{title:"通用",name:"baseInfo"},{default:e.withCtx(()=>[e.createVNode(f,{size:o.formSize,"label-width":"100","label-position":"left",style:{padding:"10px"}},{default:e.withCtx(()=>[e.createVNode(l,{label:"组件"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.label,"onUpdate:modelValue":a[0]||(a[0]=r=>t.curComponent.label=r),disabled:"",type:"text",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{label:"组件类型"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.component,"onUpdate:modelValue":a[1]||(a[1]=r=>t.curComponent.component=r),disabled:"",type:"text",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{label:"组件ID"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.id,"onUpdate:modelValue":a[2]||(a[2]=r=>t.curComponent.id=r),disabled:"",type:"text",class:"common-item"},{append:e.withCtx(()=>[e.createVNode(i,{icon:t.Refresh,onClick:t.updateCompId},null,8,["icon"])]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{label:"组件名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.compName,"onUpdate:modelValue":a[3]||(a[3]=r=>t.curComponent.compName=r),type:"text",class:"common-item"},null,8,["modelValue"])]),_:1})]),_:1},8,["size"])]),_:1}),e.createTextVNode(),e.createVNode(p,{title:"通用样式",name:"style"},{default:e.withCtx(()=>[e.createVNode(f,{size:o.formSize,"label-width":"100","label-position":"left",style:{padding:"10px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.styleKeys,({key:r,label:m},C)=>(e.openBlock(),e.createBlock(l,{key:C,label:m},{default:e.withCtx(()=>[t.isIncludesColor(r)?(e.openBlock(),e.createBlock(h,{key:0,modelValue:t.curComponent.style[r],"onUpdate:modelValue":w=>t.curComponent.style[r]=w,"show-alpha":""},null,8,["modelValue","onUpdate:modelValue"])):t.selectKey.includes(r)?(e.openBlock(),e.createBlock(N,{key:1,modelValue:t.curComponent.style[r],"onUpdate:modelValue":w=>t.curComponent.style[r]=w,class:"common-item"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.optionMap[r],w=>(e.openBlock(),e.createBlock(V,{key:w.value,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):t.switchKey.includes(r)?(e.openBlock(),e.createBlock(g,{key:2,modelValue:t.curComponent.style[r],"onUpdate:modelValue":w=>t.curComponent.style[r]=w},null,8,["modelValue","onUpdate:modelValue"])):(e.openBlock(),e.createBlock(b,{key:3,modelValue:t.curComponent.style[r],"onUpdate:modelValue":w=>t.curComponent.style[r]=w,modelModifiers:{number:!0},type:"number",class:"common-item"},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1032,["label"]))),128))]),_:1},8,["size"])]),_:1}),e.createTextVNode(),e.createVNode(p,{title:"组件属性",name:"attr"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3})]),_:3},8,["modelValue"])],32)}const Kr=[Dr,Nr,Ar,J(Ur,[["render",jr],["__scopeId","data-v-83204aa1"],["__file","VECommonAttr.vue"]]),Ge],tn=n=>{tn.installed||(tn.installed=!0,Kr.forEach(a=>{n.component(a.name,a)}))},Wr={install:tn,useVEStore:Pe};we.default=Wr,we.useEditorStore=te,we.useVEStore=Pe,Object.defineProperties(we,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
63
|
+
`),e.createVNode(l,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(d)]),_:1})]),_:1}),e.createTextVNode()]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"尺寸-宽度"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.canvas.width,"onUpdate:modelValue":a[0]||(a[0]=C=>t.canvas.width=C),precision:0,step:1,min:100,"step-strictly":"","controls-position":"right",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"尺寸-高度"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.canvas.height,"onUpdate:modelValue":a[1]||(a[1]=C=>t.canvas.height=C),precision:0,step:1,min:100,"step-strictly":"","controls-position":"right",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"背景图片"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.canvas.backgroundImage,"onUpdate:modelValue":a[2]||(a[2]=C=>t.canvas.backgroundImage=C),type:"text",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"背景色"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.canvas.backgroundColor,"onUpdate:modelValue":a[3]||(a[3]=C=>t.canvas.backgroundColor=C),"show-alpha":"",predefine:t.predefineColors},null,8,["modelValue","predefine"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"透明度"},{default:e.withCtx(()=>[e.createVNode(N,{modelValue:t.canvas.opacity,"onUpdate:modelValue":a[4]||(a[4]=C=>t.canvas.opacity=C),type:"number",precision:1,step:.1,max:1,min:0,class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"图片大小"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.backgroundSize,"onUpdate:modelValue":a[5]||(a[5]=C=>t.canvas.backgroundSize=C),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.bkSizeArr,C=>(e.openBlock(),e.createBlock(_,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"图片重复"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.backgroundRepeat,"onUpdate:modelValue":a[6]||(a[6]=C=>t.canvas.backgroundRepeat=C),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.repeatArr,C=>(e.openBlock(),e.createBlock(_,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"图片位置"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.backgroundPosition,"onUpdate:modelValue":a[7]||(a[7]=C=>t.canvas.backgroundPosition=C),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.positionArr,C=>(e.openBlock(),e.createBlock(_,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(V,{label:"适配方式"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.canvas.screenAdapter,"onUpdate:modelValue":a[8]||(a[8]=C=>t.canvas.screenAdapter=C),placeholder:"请选择",class:"common-item",clearable:"",filterable:"","allow-create":""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.screenAdapterArr,C=>(e.openBlock(),e.createBlock(_,{key:C.value,label:C.label,value:C.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},512)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])}const Al=J(kl,[["render",Tl],["__scopeId","data-v-12c217c0"],["__file","CanvasDrawer.vue"]]),Bl={__name:"index",props:{pageId:{type:String,required:!0,default:""}},setup(n,{expose:a}){a();const o=ht(),t=e.ref("default"),s=e.ref(null);let c;const d=n,l=[{label:"左对齐",value:"leftAlign"},{label:"水平居中",value:"centerAlign"},{label:"右对齐",value:"rightAlign"},{label:"顶对齐",value:"topAlign"},{label:"垂直居中",value:"middleAlign"},{label:"底对齐",value:"bottomAlign"},{label:"水平等间距",value:"horizontalSpacing",isDisabled:!0},{label:"垂直等间距",value:"verticalSpacing",isDisabled:!0}];e.watch(()=>d.pageId,I=>{I&&(c=te(I))},{immediate:!0});const i=e.computed(()=>c.curComponent),f=e.computed(()=>c.areaData),p=e.computed(()=>i.value&&!i.value.isLock||f.value.components.length>1),h=()=>{let I=ce(fe.Page);v.emit(ee.openNewPage,{pageId:I})},V=()=>{v.emit(ee.openPage,{})},N=()=>{let I=_(),q=JSON.stringify(I);sessionStorage.setItem("VE3PageCacheId",q),v.emit(ee.savePage,{cacheId:"VE3PageCacheId"})},x=()=>{let I=_(),q=JSON.stringify(I,null,4);localStorage.setItem("VE3PageCacheId",q),v.emit(ee.preview,{})},w=()=>{v.emit(ee.importJson,{})},_=()=>({canvasStyle:c.canvasStyleData,componentData:c.componentData}),r=()=>{let I=_(),q=JSON.stringify(I,null,4);v.emit(ee.exportJson,q)},m=()=>{c.setCurComponent(null,null),c.setComponentData([]),c.recordSnapshot(),c.rulePresetLine=[]},g=()=>{c.curComponent&&(c.deleteComponent(),c.recordSnapshot())},D=e.computed(()=>!c.areaData.components.length),k=e.computed(()=>!i.value||i.value.isLock||i.value.component!="Group"),C=e.computed(()=>!i.value||i.value.isLock),y=e.computed(()=>!i.value||!i.value.isLock),K={veBaseStore:o,size:t,sketchRuleSetRef:s,get editorStore(){return c},set editorStore(I){c=I},props:d,alignList:l,curComponent:i,areaData:f,showComponentAlign:p,openNewPage:h,openPage:V,savePage:N,previewPage:x,importJSON:w,getPageData:_,exportJSON:r,clearCanvas:m,delComponent:g,disabledCompose:D,disableDecompose:k,disabledLock:C,disabledUnLock:y,lock:()=>{C.value||c.lock()},unlock:()=>{y.value||c.unlock()},compose:()=>{D.value||(c.compose(),c.recordSnapshot())},decompose:()=>{k.value||(c.decompose(),c.recordSnapshot())},undo:()=>{c.undo()},redo:()=>{c.redo()},openRuleSetting:()=>{v.emit(ee.openRuleSetting,{pageId:d.pageId})},openCanvasSetting:()=>{v.emit(ee.openCanvasSetting,{pageId:d.pageId})},handleComponentAlign:I=>{if(typeof c[I]=="function"){if((I=="horizontalSpacing"||I=="verticalSpacing")&&f.value.components.length<3)return;c[I](I)}else{Z("error","无效的命令");return}c.recordSnapshot();let q=1/0,$=1/0,ne=-1/0,j=-1/0;f.value.components.length>1&&(f.value.components.forEach(ge=>{let pe=Y(ge.style);pe.left<$&&($=pe.left),pe.top<q&&(q=pe.top),pe.right>ne&&(ne=pe.right),pe.bottom>j&&(j=pe.bottom)}),c.setAreaData({style:{left:$,top:q,width:ne-$,height:j-q},components:f.value.components}))},computed:e.computed,ref:e.ref,watch:e.watch,get useVEBaseStore(){return ht},get emitter(){return v},get eventDef(){return ee},get useEditorStore(){return te},get generatePrefixID(){return ce},get keepDecimal(){return So},get IdPrefix(){return fe},get showMessage(){return Z},get getComponentRotatedStyle(){return Y}};return Object.defineProperty(K,"__isScriptSetup",{enumerable:!1,value:!0}),K}};function Sl(n,a,o,t,s,c){const d=e.resolveComponent("comp-svg-icon"),l=e.resolveComponent("el-dropdown-item"),i=e.resolveComponent("el-dropdown-menu"),f=e.resolveComponent("el-dropdown");return e.openBlock(),e.createElementBlock("div",{class:"tool-bar"},[e.createElementVNode("div",{class:"tool-list"},[e.createElementVNode("ul",{class:"icon-list"},[e.createElementVNode("li",{class:"tool-item",title:"收缩左边",onClick:a[0]||(a[0]=p=>t.veBaseStore.showLeftRegion=!t.veBaseStore.showLeftRegion)},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"foldLeft"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"收缩右边",onClick:a[1]||(a[1]=p=>t.veBaseStore.showRightRegion=!t.veBaseStore.showRightRegion)},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"foldRight"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"新建",onClick:t.openNewPage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"newPage"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"打开",onClick:t.openPage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"folder"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"保存",onClick:t.savePage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"save"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"预览",onClick:t.previewPage},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"preview"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"导入",onClick:t.importJSON},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"importSvg"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"导出",onClick:t.exportJSON},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"exportSvg"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"清空",onClick:t.clearCanvas},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"clear"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"删除",onClick:t.delComponent},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"deleteIcon"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"撤销",onClick:t.undo},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"undo"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"重做",onClick:t.redo},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"redo"})])]),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disabledCompose}]),title:"组合",onClick:t.compose},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"combination"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disableDecompose}]),title:"拆分",onClick:t.decompose},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"split"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disabledLock}]),title:"锁定",onClick:t.lock},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"lock"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:e.normalizeClass(["tool-item",{disabled:t.disabledUnLock}]),title:"解锁",onClick:t.unlock},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"unlock"})])],2),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"标尺设置",onClick:t.openRuleSetting},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"sketchRule"})])]),e.createTextVNode(),e.createElementVNode("li",{class:"tool-item",title:"画布设置",onClick:t.openCanvasSetting},[e.createElementVNode("div",{class:"tool-content"},[e.createVNode(d,{name:"canvas"})])]),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="设置">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="setting"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),t.showComponentAlign?(e.openBlock(),e.createElementBlock("li",{key:0,class:"tool-item",title:"对齐方式"},[e.createElementVNode("div",{class:"tool-content",style:{width:"100px"}},[e.createVNode(f,{placement:"bottom-start","hide-on-click":!1,trigger:"click",onCommand:t.handleComponentAlign},{dropdown:e.withCtx(()=>[e.createVNode(i,null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t.alignList,p=>e.createVNode(l,{key:p.value,command:p.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.label),1)]),_:2},1032,["command"])),64))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"el-dropdown-link"},"对齐方式"),e.createTextVNode()]),_:1})])])):e.createCommentVNode("",!0),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="缩放比">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(" <span>{{ scale }}</span>"),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="还原" @click="restoreCanvas">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="restore"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="放大" @click="zoomin">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="zoomout"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>"),e.createTextVNode(),e.createCommentVNode(' <li class="tool-item" title="缩小" @click="zoomout">'),e.createTextVNode(),e.createCommentVNode(' <div class="tool-content">'),e.createTextVNode(),e.createCommentVNode(' <comp-svg-icon name="zoomin"></comp-svg-icon>'),e.createTextVNode(),e.createCommentVNode(" </div>"),e.createTextVNode(),e.createCommentVNode(" </li>")])])])}const Fl=J(Bl,[["render",Sl],["__scopeId","data-v-7aeb4379"],["__file","index.vue"]]);var Ol=typeof global=="object"&&global&&global.Object===Object&&global,Ll=typeof self=="object"&&self&&self.Object===Object&&self,oo=Ol||Ll||Function("return this")(),mt=oo.Symbol,ao=Object.prototype,Pl=ao.hasOwnProperty,Rl=ao.toString,Je=mt?mt.toStringTag:void 0;function Ml(n){var a=Pl.call(n,Je),o=n[Je];try{n[Je]=void 0;var t=!0}catch{}var s=Rl.call(n);return t&&(a?n[Je]=o:delete n[Je]),s}var zl=Object.prototype,Il=zl.toString;function Ul(n){return Il.call(n)}var jl="[object Null]",Kl="[object Undefined]",lo=mt?mt.toStringTag:void 0;function Wl(n){return n==null?n===void 0?Kl:jl:lo&&lo in Object(n)?Ml(n):Ul(n)}function Hl(n){return n!=null&&typeof n=="object"}var ql="[object Symbol]";function Xl(n){return typeof n=="symbol"||Hl(n)&&Wl(n)==ql}var Gl=/\s/;function Jl(n){for(var a=n.length;a--&&Gl.test(n.charAt(a)););return a}var Yl=/^\s+/;function Ql(n){return n&&n.slice(0,Jl(n)+1).replace(Yl,"")}function Zt(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}var io=NaN,Zl=/^[-+]0x[0-9a-f]+$/i,$l=/^0b[01]+$/i,vl=/^0o[0-7]+$/i,ei=parseInt;function ro(n){if(typeof n=="number")return n;if(Xl(n))return io;if(Zt(n)){var a=typeof n.valueOf=="function"?n.valueOf():n;n=Zt(a)?a+"":a}if(typeof n!="string")return n===0?n:+n;n=Ql(n);var o=$l.test(n);return o||vl.test(n)?ei(n.slice(2),o?2:8):Zl.test(n)?io:+n}var $t=function(){return oo.Date.now()},ti="Expected a function",ni=Math.max,oi=Math.min;function so(n,a,o){var t,s,c,d,l,i,f=0,p=!1,h=!1,V=!0;if(typeof n!="function")throw new TypeError(ti);a=ro(a)||0,Zt(o)&&(p=!!o.leading,h="maxWait"in o,c=h?ni(ro(o.maxWait)||0,a):c,V="trailing"in o?!!o.trailing:V);function N(C){var y=t,b=s;return t=s=void 0,f=C,d=n.apply(b,y),d}function x(C){return f=C,l=setTimeout(r,a),p?N(C):d}function w(C){var y=C-i,b=C-f,A=a-y;return h?oi(A,c-b):A}function _(C){var y=C-i,b=C-f;return i===void 0||y>=a||y<0||h&&b>=c}function r(){var C=$t();if(_(C))return m(C);l=setTimeout(r,w(C))}function m(C){return l=void 0,V&&t?N(C):(t=s=void 0,d)}function g(){l!==void 0&&clearTimeout(l),f=0,t=i=s=l=void 0}function D(){return l===void 0?d:m($t())}function k(){var C=$t(),y=_(C);if(t=arguments,s=this,i=C,y){if(l===void 0)return x(i);if(h)return clearTimeout(l),l=setTimeout(r,a),N(i)}return l===void 0&&(l=setTimeout(r,a)),d}return k.cancel=g,k.flush=D,k}const gt=function(){return document.addEventListener?function(n,a,o){n&&a&&o&&n.addEventListener(a,o,!1)}:function(n,a,o){n&&a&&o&&n.attachEvent("on"+a,o)}}(),Ct=function(){return document.removeEventListener?function(n,a,o){n&&a&&n.removeEventListener(a,o,!1)}:function(n,a,o){n&&a&&n.detachEvent("on"+a,o)}}(),je=17,vt=18,co=82,ai={__name:"index",props:{position:{type:String,default:"relative",validator:n=>["absolute","fixed","relative","static","inherit"].includes(n)},isHotKey:{type:Boolean,default:!0},isScaleRevise:{type:Boolean,default:!1},referenceLine:{type:Array,default:()=>[]},contentLayout:{type:Object,default:()=>({top:0,left:0})},parent:{type:Boolean,default:!0},visible:{type:Boolean,default:!0},lineColor:{type:String,default:"black"}},emits:["update:visible","update:referenceLine"],setup(n,{expose:a,emit:o}){const t=n,s=o,c=e.ref([]),d=e.ref([]),l=e.ref(!1),i=e.ref(-999),f=e.ref(-999),p=e.ref(t.visible),h=e.ref(null),V=e.ref(null),N=e.ref(null);let x=0,w=0,_=0,r=0,m="",g="",D=null;const k=e.ref(null),C=e.ref(1600),y=e.ref(800),b=e.ref(1200),A=e.ref(800);let u,E;const T=e.ref({width:0,height:0});e.watch([C,y,b,A],so(([B,U,W,oe])=>{T.value={width:B>W?B:W+100,height:U>oe?U:oe+100},console.log("执行init..."),q()},100),{immediate:!0});const M=e.computed(()=>({width:`${T.value.width}px`,height:`${T.value.height}px`,position:t.position})),z=e.computed(()=>{}),H=e.computed(()=>{}),P=e.computed(()=>({left:`${t.contentLayout.left}px`,top:`${t.contentLayout.top}px`,padding:`${p.value?vt:0}px 0 0 ${p.value?vt:0}px`})),K=e.computed(()=>{let B=t.referenceLine;return S(B)});e.watch(()=>t.visible,B=>{p.value=B},{immediate:!0});const I=()=>{!V.value||!N.value||(x=V.value.getBoundingClientRect().y,w=N.value.getBoundingClientRect().x)},q=()=>{$(),ne()},$=()=>{if(t.isScaleRevise&&h.value){const B=h.value.offsetLeft,U=h.value.offsetTop;c.value=Array.from({length:Math.floor(B/50)},(W,oe)=>({id:oe*50})),d.value=Array.from({length:Math.floor(U/50)},(W,oe)=>({id:oe*50}))}V.value&&N.value&&(_=N.value.clientWidth,r=V.value.clientHeight),I()},ne=()=>{c.value=Array.from({length:Math.floor(T.value.width/50)},(B,U)=>({id:U*50})),d.value=Array.from({length:Math.floor(T.value.height/50)},(B,U)=>({id:U*50}))},j=B=>{const U=B.type==="h"?{top:`${B.top}px`}:{left:`${B.left}px`};return B.color&&(U.backgroundColor=B.color),U},ge=B=>{l.value=!0,m=B==="h"?"x":"y"},pe=B=>{l.value=!0,m=B.type,g=B.id},ue=B=>{if(l.value)switch(I(),m){case"x":f.value=B.pageY-x;break;case"y":i.value=B.pageX-w;break;case"h":f.value=B.pageY-x;break;case"v":i.value=B.pageX-w;break}},Ye=B=>{if(!l.value)return;I(),l.value=!1;const U=[...t.referenceLine];let W;switch(m){case"x":W=Math.round(B.pageY-x-je),W>0&&U.push({type:"h",site:W});break;case"y":W=Math.round(B.pageX-w-je),W>0&&U.push({type:"v",site:W});break;case"h":case"v":const he=U.findIndex(xt=>xt.id===g);he>=0&&(W=Math.round(m==="h"?B.pageY-x-je:B.pageX-w-je),U[he]={...U[he],site:W});break}let oe=S(U);s("update:referenceLine",oe),f.value=-999,i.value=-999},S=B=>B.map((W,oe)=>({id:`${W.type}_${oe}`,type:W.type,site:W.site,title:`${W.site}px`,[W.type==="h"?"top":"left"]:W.site+je,color:t.lineColor})),O=B=>{t.isHotKey&&B.keyCode===co&&(p.value=!p.value,s("update:visible",p.value))},R=()=>{k.value&&(C.value=k.value.clientWidth,y.value=k.value.clientHeight)};e.onMounted(()=>{R(),h.value&&(E=new ResizeObserver(U=>{const{width:W,height:oe}=U[0].contentRect;b.value=W,A.value=oe,console.log("插槽内容宽高变化:",W,oe)}),E.observe(h.value));const B=e.getCurrentInstance();B?.vnode.el&&(D=B.vnode.el.parentNode,e.nextTick(q)),gt(document,"mousemove",ue),gt(document,"mouseup",Ye),gt(document,"keyup",O)}),e.onBeforeUnmount(()=>{Ct(document,"mousemove",ue),Ct(document,"mouseup",Ye),Ct(document,"keyup",O)}),e.onUnmounted(()=>{E?.disconnect()}),a({updateSize:R});const L={props:t,emit:s,SIZE:je,LEFT_TOP:vt,KEY_CODE_R:co,xScale:c,yScale:d,isDrag:l,horizontalDottedLeft:i,verticalDottedTop:f,rulerToggle:p,content:h,horizontalRuler:V,verticalRuler:N,get topSpacing(){return x},set topSpacing(B){x=B},get leftSpacing(){return w},set leftSpacing(B){w=B},get rulerWidth(){return _},set rulerWidth(B){_=B},get rulerHeight(){return r},set rulerHeight(B){r=B},get dragFlag(){return m},set dragFlag(B){m=B},get dragLineId(){return g},set dragLineId(B){g=B},get parentNode(){return D},set parentNode(B){D=B},containerRef:k,containerWidth:C,containerHeight:y,slotWidth:b,slotHeight:A,get resizeObserver(){return u},set resizeObserver(B){u=B},get resizeSlotObserver(){return E},set resizeSlotObserver(B){E=B},wrapperSize:T,wrapperStyle:M,hStyle:z,vStyle:H,contentStyle:P,lineList:K,setSpacing:I,init:q,calculateDimensions:$,calculateScales:ne,getLineStyle:j,handleRulerMouseDown:ge,handleLineMouseDown:pe,handleMouseMove:ue,handleMouseUp:Ye,reCalcLines:S,handleKeyUp:O,updateSize:R,ref:e.ref,computed:e.computed,watch:e.watch,onMounted:e.onMounted,onBeforeUnmount:e.onBeforeUnmount,getCurrentInstance:e.getCurrentInstance,nextTick:e.nextTick,onUnmounted:e.onUnmounted,get debounce(){return so},get on(){return gt},get off(){return Ct}};return Object.defineProperty(L,"__isScriptSetup",{enumerable:!1,value:!0}),L}};function li(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{ref:"containerRef",class:"vue-rule-container",onselectstart:"return false;"},[e.createElementVNode("div",{style:e.normalizeStyle(t.wrapperStyle),class:"vue-ruler-wrapper",onselectstart:"return false;"},[e.withDirectives(e.createElementVNode("section",null,[e.createElementVNode("div",{ref:"horizontalRuler",class:"vue-ruler-h",style:e.normalizeStyle(t.hStyle),onMousedown:a[0]||(a[0]=e.withModifiers(d=>t.handleRulerMouseDown("h"),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.xScale,(d,l)=>(e.openBlock(),e.createElementBlock("span",{key:l,style:e.normalizeStyle({left:`${l*50+2}px`}),class:"n"},e.toDisplayString(d.id),5))),128))],36),e.createTextVNode(),e.createElementVNode("div",{ref:"verticalRuler",class:"vue-ruler-v",style:e.normalizeStyle(t.vStyle),onMousedown:a[1]||(a[1]=e.withModifiers(d=>t.handleRulerMouseDown("v"),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.yScale,(d,l)=>(e.openBlock(),e.createElementBlock("span",{key:l,style:e.normalizeStyle({top:`${l*50+2}px`}),class:"n"},e.toDisplayString(d.id),5))),128))],36),e.createTextVNode(),e.createElementVNode("div",{style:e.normalizeStyle({top:`${t.verticalDottedTop}px`}),class:"vue-ruler-ref-dot-h"},null,4),e.createTextVNode(),e.createElementVNode("div",{style:e.normalizeStyle({left:`${t.horizontalDottedLeft}px`}),class:"vue-ruler-ref-dot-v"},null,4),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineList,d=>(e.openBlock(),e.createElementBlock("div",{key:d.id,title:d.title,style:e.normalizeStyle(t.getLineStyle(d)),class:e.normalizeClass(`vue-ruler-ref-line-${d.type}`),onMousedown:l=>t.handleLineMouseDown(d)},null,46,["title","onMousedown"]))),128))],512),[[e.vShow,t.rulerToggle]]),e.createTextVNode(),e.createElementVNode("div",{ref:"content",class:"vue-ruler-content",style:e.normalizeStyle(t.contentStyle)},[e.renderSlot(n.$slots,"canvas-content",{},void 0,!0)],4),e.createTextVNode(),e.withDirectives(e.createElementVNode("div",{class:"vue-ruler-content-mask"},null,512),[[e.vShow,t.isDrag]])],4)],512)}const ii=J(ai,[["render",li],["__scopeId","data-v-75e5d96d"],["__file","index.vue"]]),ri={__name:"GridLine",props:{isDarkMode:{type:Boolean,default:!1}},setup(n,{expose:a}){a();const o=ce("SG_"),t=ce("G_"),s={smallGridId:o,gridId:t,get generatePrefixID(){return ce}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}};function si(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("svg",{class:"grid",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("defs",null,[e.createElementVNode("pattern",{id:t.smallGridId,width:"7.236328125",height:"7.236328125",patternUnits:"userSpaceOnUse"},[e.createElementVNode("path",{d:"M 7.236328125 0 L 0 0 0 7.236328125",fill:"none",stroke:o.isDarkMode?"rgba(207, 207, 207, 0.5)":"rgba(207, 207, 207, 0.3)","stroke-width":"1"},null,8,["stroke"])],8,["id"]),e.createTextVNode(),e.createElementVNode("pattern",{id:t.gridId,width:"36.181640625",height:"36.181640625",patternUnits:"userSpaceOnUse"},[e.createElementVNode("rect",{width:"36.181640625",height:"36.181640625",fill:"url(#"+t.smallGridId+")"},null,8,["fill"]),e.createTextVNode(),e.createElementVNode("path",{d:"M 36.181640625 0 L 0 0 0 36.181640625",fill:"none",stroke:o.isDarkMode?"rgba(186, 186, 186)":"rgba(186, 186, 186, 0.5)","stroke-width":"1"},null,8,["stroke"])],8,["id"])]),e.createTextVNode(),e.createElementVNode("rect",{width:"100%",height:"100%",fill:"url(#"+t.gridId+")"},null,8,["fill"])])}const ci=J(ri,[["render",si],["__scopeId","data-v-e0b9a335"],["__file","GridLine.vue"]]),di={lt:ui,t:hi,rt:pi,r:mi,rb:_i,b:gi,lb:fi,l:Ci};function ui(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(a,d,-n.rotate),i=ae(c,d,-n.rotate),f=i.x-l.x,p=i.y-l.y;if(t){f/p>o?(l.x+=Math.abs(f-p*o),f=p*o):(l.y+=Math.abs(p-f/o),p=f/o);const h=ae(l,d,n.rotate);d=Ae(h,c),l=ae(h,d,-n.rotate),i=ae(c,d,-n.rotate),f=i.x-l.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(l.x),n.top=Math.round(l.y))}function pi(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(a,d,-n.rotate),i=ae(c,d,-n.rotate),f=l.x-i.x,p=i.y-l.y;if(t){f/p>o?(l.x-=Math.abs(f-p*o),f=p*o):(l.y+=Math.abs(p-f/o),p=f/o);const h=ae(l,d,n.rotate);d=Ae(h,c),l=ae(h,d,-n.rotate),i=ae(c,d,-n.rotate),f=l.x-i.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(i.x),n.top=Math.round(l.y))}function _i(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(c,d,-n.rotate),i=ae(a,d,-n.rotate),f=i.x-l.x,p=i.y-l.y;if(t){f/p>o?(i.x-=Math.abs(f-p*o),f=p*o):(i.y-=Math.abs(p-f/o),p=f/o);const h=ae(i,d,n.rotate);d=Ae(h,c),l=ae(c,d,-n.rotate),i=ae(h,d,-n.rotate),f=i.x-l.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(l.x),n.top=Math.round(l.y))}function fi(n,a,o,t,s){const{symmetricPoint:c}=s;let d=Ae(a,c),l=ae(c,d,-n.rotate),i=ae(a,d,-n.rotate),f=l.x-i.x,p=i.y-l.y;if(t){f/p>o?(i.x+=Math.abs(f-p*o),f=p*o):(i.y-=Math.abs(p-f/o),p=f/o);const h=ae(i,d,n.rotate);d=Ae(h,c),l=ae(c,d,-n.rotate),i=ae(h,d,-n.rotate),f=l.x-i.x,p=i.y-l.y}f>0&&p>0&&(n.width=Math.round(f),n.height=Math.round(p),n.left=Math.round(i.x),n.top=Math.round(l.y))}function hi(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:d.x,y:l.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.width;t&&(h=f*o),n.width=h,n.height=Math.round(f),n.top=Math.round(p.y-f/2),n.left=Math.round(p.x-n.width/2)}function mi(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:l.x,y:d.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.height;t&&(h=f/o),n.height=h,n.width=Math.round(f),n.top=Math.round(p.y-n.height/2),n.left=Math.round(p.x-f/2)}function gi(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:d.x,y:l.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.width;t&&(h=f*o),n.width=h,n.height=Math.round(f),n.top=Math.round(p.y-f/2),n.left=Math.round(p.x-n.width/2)}function Ci(n,a,o,t,s){const{symmetricPoint:c,curPoint:d}=s,l=ae(a,d,-n.rotate),i=ae({x:l.x,y:d.y},d,n.rotate),f=Math.sqrt((i.x-c.x)**2+(i.y-c.y)**2),p={x:i.x-(i.x-c.x)/2,y:i.y+(c.y-i.y)/2};let h=n.height;t&&(h=f/o),n.height=h,n.width=Math.round(f),n.top=Math.round(p.y-n.height/2),n.left=Math.round(p.x-f/2)}function uo(n,a,o,t,s,c){di[n](a,o,t,s,c)}async function po(n,a=[]){const o=t=>new Promise(s=>{const{animationTime:c,value:d="",isLoop:l}=t;n.style.setProperty("--time",`${c}s`),n.classList.add(d,"animated",_o(l));const i=()=>{n.removeEventListener("animationend",i),n.removeEventListener("animationcancel",i),n.classList.remove(d,"animated",_o(l)),n.style.removeProperty("--time"),s()};n.addEventListener("animationend",i),n.addEventListener("animationcancel",i)});for(let t=0,s=a.length;t<s;t++)await o(a[t])}function _o(n){return n?"infinite":"no-infinite"}const xi={__name:"CompShape",props:{pageId:{type:String,default:null},active:{type:Boolean,default:!1},element:{required:!0,type:Object,default:()=>{}},defaultStyle:{required:!0,type:Object,default:()=>{}},index:{required:!0,type:[Number,String],default:0}},setup(n,{expose:a}){a();const o=n,t=te(o.pageId),s=e.ref(null),c=e.computed(()=>t.curComponent),d=e.computed(()=>t.dashBorderColor),l=["lt","t","rt","r","rb","b","lb","l"],i=["r","l"],f={lt:0,t:45,rt:90,r:135,rb:180,b:225,lb:270,l:315},p=[{start:338,end:23,cursor:"nw"},{start:23,end:68,cursor:"n"},{start:68,end:113,cursor:"ne"},{start:113,end:158,cursor:"e"},{start:158,end:203,cursor:"se"},{start:203,end:248,cursor:"s"},{start:248,end:293,cursor:"sw"},{start:293,end:338,cursor:"w"}];let h={};const V=e.computed(()=>{let y={};return o.defaultStyle.showDashBorder&&(y.border=`1px dashed ${d.value}`),y}),N=()=>o.active&&!o.element.isLock,x=()=>o.element.component==="line-shape"?i:l,w=y=>{t.setClickComponentStatus(!0),y.preventDefault(),y.stopPropagation();const b={...o.defaultStyle},A=y.clientY,u=y.clientX,E=b.rotate,T=s.value.getBoundingClientRect(),M=T.left+T.width/2,z=T.top+T.height/2,H=Math.atan2(A-z,u-M)/(Math.PI/180);let P=!1;const K=q=>{P=!0;const $=q.clientX,ne=q.clientY,j=Math.atan2(ne-z,$-M)/(Math.PI/180);b.rotate=E+j-H,t.setShapeStyle(b)},I=()=>{P&&t.recordSnapshot(),document.removeEventListener("mousemove",K),document.removeEventListener("mouseup",I),h=r()};document.addEventListener("mousemove",K),document.addEventListener("mouseup",I)},_=y=>{const{width:b,height:A}=o.defaultStyle,u=/t/.test(y),E=/b/.test(y),T=/l/.test(y),M=/r/.test(y);let z=0,H=0;return y.length===2?(z=T?0:b,H=u?0:A):((u||E)&&(z=b/2,H=u?0:A),(T||M)&&(z=T?0:b,H=Math.floor(A/2))),{marginLeft:"-4px",marginTop:"-4px",left:`${z}px`,top:`${H}px`,cursor:h[y]}},r=()=>{const y=He(c.value.style.rotate),b={};let A=-1;return l.forEach(u=>{const E=He(f[u]+y),T=p.length;let M=0;for(;E&&M<200;){A=(A+1)%T;const z=p[A];if(E<23||E>=338){b[u]="nw-resize";return}if(z.start<=E&&E<z.end){b[u]=`${z.cursor}-resize`;return}M++}}),b},m=y=>{if(t.setInEditorStatus(!0),t.setClickComponentStatus(!0),y.stopPropagation(),t.setCurComponent(o.element,o.index),o.element.isLock)return;h=r();const b={...o.defaultStyle},A=y.clientY,u=y.clientX,E=Number(b.top),T=Number(b.left);let M=!1;const z=P=>{M=!0;const K=P.clientX,I=P.clientY;b.top=I-A+E,b.left=K-u+T,t.setShapeStyle(b),e.nextTick(()=>{v.emit(ee.move,{isDownward:I-A>0,isRightward:K-u>0})})},H=()=>{M&&t.recordSnapshot(),v.emit(ee.unmove),document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",H)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",H)},g=y=>{y.stopPropagation(),y.preventDefault(),t.hideContextMenu()},D=(y,b)=>{t.setInEditorStatus(!0),t.setClickComponentStatus(!0),b.stopPropagation(),b.preventDefault();const A={...o.defaultStyle},u=A.width/A.height,E={x:A.left+A.width/2,y:A.top+A.height/2},T=t.getEditorBoundingClientRect(),M=b.target.getBoundingClientRect(),z={x:Math.round(M.left-T.left+b.target.offsetWidth/2),y:Math.round(M.top-T.top+b.target.offsetHeight/2)},H={x:E.x-(z.x-E.x),y:E.y-(z.y-E.y)};let P=!1,K=!0;const I=k(),q=ne=>{if(K){K=!1;return}P=!0;const j={x:ne.clientX-Math.round(T.left),y:ne.clientY-Math.round(T.top)};uo(y,A,j,u,I,{center:E,curPoint:z,symmetricPoint:H}),t.setShapeStyle(A)},$=()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",$),P&&t.recordSnapshot()};document.addEventListener("mousemove",q),document.addEventListener("mouseup",$)},k=()=>{if(o.element.component!="Group")return!1;const y=[0,90,180,360];let b=o.element.propValue.components||[];for(const A of b)if(!y.includes(He(parseInt(A.style.rotate))))return!0;return!1};e.onMounted(()=>{c.value&&(h=r()),v.on(ee.runAnimation,()=>{o.element==c.value&&po(s.value,c.value.animations)}),v.on(ee.stopAnimation,()=>{s.value.classList.remove("animated","infinite")})});const C={props:o,editorStore:t,rootEl:s,curComponent:c,dashBorderColor:d,pointList:l,pointList2:i,initialAngle:f,angleToCursor:p,get cursors(){return h},set cursors(y){h=y},cssVariables:V,isActive:N,getPointList:x,handleRotate:w,getPointStyle:_,getCursor:r,handleMouseDownOnShape:m,selectCurComponent:g,handleMouseDownOnPoint:D,isNeedLockProportion:k,computed:e.computed,nextTick:e.nextTick,onMounted:e.onMounted,ref:e.ref,get useEditorStore(){return te},get mod360(){return He},get calculateComponentPositionAndSize(){return uo},get emitter(){return v},get eventDef(){return ee},get runAnimation(){return po}};return Object.defineProperty(C,"__isScriptSetup",{enumerable:!1,value:!0}),C}};function Vi(n,a,o,t,s,c){return e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref:"rootEl",class:e.normalizeClass(["shape",{active:o.active}]),onClick:t.selectCurComponent,onMousedown:t.handleMouseDownOnShape,style:e.normalizeStyle(t.cssVariables)},[e.renderSlot(n.$slots,"default",{},void 0,!0),e.createTextVNode(),e.withDirectives(e.createElementVNode("span",{class:"iconfont icon-xuanzhuan iconfont-xuanzhuan",onMousedown:t.handleRotate},null,544),[[e.vShow,t.isActive()]]),e.createTextVNode(),e.withDirectives(e.createElementVNode("span",{class:"iconfont icon-suo"},null,512),[[e.vShow,t.props.element.isLock]]),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.isActive()?t.getPointList():[],d=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"shape-point",style:e.normalizeStyle(t.getPointStyle(d)),onMousedown:l=>t.handleMouseDownOnPoint(d,l)},null,44,["onMousedown"]))),128))],38)),[[e.vShow,!t.props.defaultStyle.isHide]])}const wi=J(xi,[["render",Vi],["__scopeId","data-v-61dd64e5"],["__file","CompShape.vue"]]),fo=3,Di={__name:"MarkLine",props:{pageId:{type:String,default:null}},setup(n,{expose:a}){a();const o=n,t=e.ref({}),s=(_,r)=>{_&&(t.value[r]=_)},c=["xt","xc","xb","yl","yc","yr"],d=e.ref({xt:!1,xc:!1,xb:!1,yl:!1,yc:!1,yr:!1}),l=te(o.pageId),i=e.computed(()=>l.curComponent),f=e.computed(()=>l.componentData),p=()=>{d.value=Object.fromEntries(Object.keys(d.value).map(_=>[_,!1]))},h=(_,r)=>{const m=f.value;if(m.length<2||!i.value)return;const g=Y(i.value.style),D=g.width/2,k=g.height/2;p(),m.forEach(C=>{if(C==i.value)return;const y=Y(C.style),{top:b,left:A,bottom:u,right:E}=y,T=y.width/2,M=y.height/2,z={top:[{isNearly:x(g.top,b),lineNode:t.value.xt,line:"xt",dragShift:b,lineShift:b},{isNearly:x(g.bottom,b),lineNode:t.value.xt,line:"xt",dragShift:b-g.height,lineShift:b},{isNearly:x(g.top+k,b+M),lineNode:t.value.xc,line:"xc",dragShift:b+M-k,lineShift:b+M},{isNearly:x(g.top,u),lineNode:t.value.xb,line:"xb",dragShift:u,lineShift:u},{isNearly:x(g.bottom,u),lineNode:t.value.xb,line:"xb",dragShift:u-g.height,lineShift:u}],left:[{isNearly:x(g.left,A),lineNode:t.value.yl,line:"yl",dragShift:A,lineShift:A},{isNearly:x(g.right,A),lineNode:t.value.yl,line:"yl",dragShift:A-g.width,lineShift:A},{isNearly:x(g.left+D,A+T),lineNode:t.value.yc,line:"yc",dragShift:A+T-D,lineShift:A+T},{isNearly:x(g.left,E),lineNode:t.value.yr,line:"yr",dragShift:E,lineShift:E},{isNearly:x(g.right,E),lineNode:t.value.yr,line:"yr",dragShift:E-g.width,lineShift:E}]},H=[],{rotate:P}=i.value.style;Object.keys(z).forEach(K=>{z[K].forEach(I=>{I.isNearly&&(l.setShapeSingleStyle({key:K,value:P!=0?V(K,I,g):I.dragShift}),I.lineNode&&I.lineNode.style&&(I.lineNode.style[K]=`${I.lineShift}px`),H.push(I.line))})}),H.length&&N(H,_,r)})},V=(_,r,m)=>{const{width:g,height:D}=i.value.style;return _=="top"?Math.round(r.dragShift-(D-m.height)/2):Math.round(r.dragShift-(g-m.width)/2)},N=(_,r,m)=>{let g=Object.fromEntries(Object.keys(d.value).map(D=>[D,!1]));m?_.includes("yr")?g.yr=!0:_.includes("yc")?g.yc=!0:_.includes("yl")&&(g.yl=!0):_.includes("yl")?g.yl=!0:_.includes("yc")?g.yc=!0:_.includes("yr")&&(g.yr=!0),r?_.includes("xb")?g.xb=!0:_.includes("xc")?g.xc=!0:_.includes("xt")&&(g.xt=!0):_.includes("xt")?g.xt=!0:_.includes("xc")?g.xc=!0:_.includes("xb")&&(g.xb=!0),d.value=g},x=(_,r)=>Math.abs(_-r)<=fo;e.onMounted(()=>{v.on(ee.move,function({isDownward:_,isRightward:r}){h(_,r)}),v.on(ee.unmove,()=>{p()})});const w={props:o,lineRefs:t,setLineRef:s,lines:c,diff:fo,lineStatus:d,editorStore:l,curComponent:i,componentData:f,hideLine:p,showLine:h,translateCurComponentShift:V,chooseTheTureLine:N,isNearly:x,get emitter(){return v},get eventDef(){return ee},computed:e.computed,onMounted:e.onMounted,ref:e.ref,get useEditorStore(){return te},get getComponentRotatedStyle(){return Y}};return Object.defineProperty(w,"__isScriptSetup",{enumerable:!1,value:!0}),w}};function bi(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{class:"mark-line"},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t.lines,d=>e.withDirectives(e.createElementVNode("div",{key:d,ref_for:!0,ref:l=>t.setLineRef(l,d),class:e.normalizeClass(["line",d.includes("x")?"xline":"yline"])},null,2),[[e.vShow,t.lineStatus[d]||!1]])),64))])}const yi=J(Di,[["render",bi],["__scopeId","data-v-1292994b"],["__file","MarkLine.vue"]]),Ni={__name:"Area",props:{start:{type:Object,default:()=>{}},width:{type:Number,default:0},height:{type:Number,default:0}},setup(n,{expose:a}){a();const t={props:n};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}};function Ei(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({left:t.props.start.x+"px",top:t.props.start.y+"px",width:t.props.width+"px",height:t.props.height+"px"}),class:"area"},null,4)}const ki=J(Ni,[["render",Ei],["__scopeId","data-v-32734a61"],["__file","Area.vue"]]),Ti={__name:"ContextMenu",props:["pageId"],setup(n,{expose:a}){a();let o=null;const t=n,s=te(t.pageId),c=e.computed(()=>s.curComponent),d=e.computed(()=>{let C=s.canvasStyleData.height,y=f(),b=s.menuTop;return b+y>C&&(b=C-y,b=b<0?0:b),b}),l=e.computed(()=>{let C=s.canvasStyleData.width,y=s.menuLeft;return s.menuLeft+70>C&&(y=C-70),y}),i=e.computed(()=>s.menuShow),f=()=>c.value?c.value.isLock?34:310:34,k={get copyData(){return o},set copyData(C){o=C},props:t,editorStore:s,curComponent:c,menuTop:d,menuLeft:l,menuShow:i,_calcMenuHeight:f,lock:()=>{s.lock()},unlock:()=>{s.unlock()},handleMouseUp:()=>{s.setClickComponentStatus(!0)},cut:()=>{s.cut()},copy:()=>{s.copy()},paste:()=>{s.paste(!0),s.recordSnapshot()},deleteComponent:()=>{s.deleteComponent(),s.recordSnapshot()},upComponent:()=>{s.upComponent(),s.recordSnapshot()},downComponent:()=>{s.downComponent(),s.recordSnapshot()},topComponent:()=>{s.topComponent(),s.recordSnapshot()},bottomComponent:()=>{s.bottomComponent(),s.recordSnapshot()},get useEditorStore(){return te},computed:e.computed};return Object.defineProperty(k,"__isScriptSetup",{enumerable:!1,value:!0}),k}};function Ai(n,a,o,t,s,c){return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"left-context-menu",style:e.normalizeStyle({top:t.menuTop+"px",left:t.menuLeft+"px"})},[e.createElementVNode("ul",{onMouseup:t.handleMouseUp},[t.curComponent?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.curComponent.isLock?(e.openBlock(),e.createElementBlock("li",{key:1,onClick:t.unlock},"解锁")):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("li",{onClick:t.copy},"复制"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.paste},"粘贴"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.cut},"剪切"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.deleteComponent},"删除"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.lock},"锁定"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.topComponent},"置顶"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.bottomComponent},"置底"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.upComponent},"上移"),e.createTextVNode(),e.createElementVNode("li",{onClick:t.downComponent},"下移")],64))],64)):(e.openBlock(),e.createElementBlock("li",{key:1,onClick:t.paste},"粘贴"))],32)],4)),[[e.vShow,t.menuShow]])}const Bi=J(Ti,[["render",Ai],["__scopeId","data-v-8383d7b0"],["__file","ContextMenu.vue"]]),Si={__name:"GroupComponentBox",props:{width:{type:Number,default:0},height:{type:Number,default:0},left:{type:Number,default:0},top:{type:Number,default:0}},setup(n,{expose:a}){a();const t={props:n};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}};function Fi(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{class:"area",style:e.normalizeStyle({left:t.props.left+"px",top:t.props.top+"px",width:t.props.width+"px",height:t.props.height+"px"})},null,4)}const Oi=J(Si,[["render",Fi],["__scopeId","data-v-20f916ac"],["__file","GroupComponentBox.vue"]]),Li="ControlLeft",Pi="ControlRight",Ri="MetaLeft",Mi="MetaRight",zi="KeyV",Ii="KeyC",Ui="KeyX",ji="KeyY",Ki="KeyZ",Wi="KeyG",Hi="KeyB",qi="KeyL",Xi="KeyU",Gi="KeyS",Ji="KeyP",Yi="KeyD",ho="Delete",Qi="KeyE",Zi=["KeyB","KeyC","KeyD","KeyE","KeyG","KeyL","KeyP","KeyS","KeyU","KeyV","KeyX","KeyY","KeyZ"],mo={[zi]:er,[ji]:nr,[Ki]:or,[Gi]:ir,[Ji]:rr,[Qi]:sr},go={...mo,[Xi]:dr},Co={...mo,[Ii]:vi,[Ui]:tr,[Wi]:ar,[Hi]:lr,[Yi]:Do,[ho]:Do,[qi]:cr};let en=!1,re;function xo(n){re=n}function Vo(n){return n===Li||n===Pi||n===Ri||n===Mi}function $i(n){return Zi.includes(n)}function wo(){window.addEventListener("keydown",n=>{if(!re.isInEditor)return;const a=re.curComponent,{code:o}=n;Vo(o)?en=!0:o===ho&&a?(re.deleteComponent(),re.recordSnapshot()):en&&$i(o)&&(Co[o]&&(!a||!a.isLock)?(n.preventDefault(),Co[o]()):go[o]&&a&&a.isLock&&(n.preventDefault(),go[o]()))}),window.addEventListener("keyup",n=>{Vo(n.code)&&(en=!1)}),window.addEventListener("mousedown",()=>{re.setInEditorStatus(!1)})}function vi(){re.copy()}function er(){re.paste(),re.recordSnapshot()}function tr(){re.cut()}function nr(){re.redo()}function or(){re.undo()}function ar(){re.areaData.components.length>0&&(re.compose(),re.recordSnapshot())}function lr(){const n=re.curComponent;n&&!n.value.isLock&&n.component==="Group"&&(re.decompose(),re.recordSnapshot())}function ir(){v.emit(ee.save)}function rr(){v.emit(ee.preview)}function Do(){re.curComponent&&(re.deleteComponent(),re.recordSnapshot())}function sr(){v.emit(ee.clearCanvas)}function cr(){re.lock()}function dr(){re.unlock()}const ur={__name:"Editor",props:["pageId","isEdit"],setup(n,{expose:a}){const o=n,t=te(o.pageId),s=e.ref(null),c=e.ref({});let d=0,l=0;const i=e.ref({x:0,y:0}),f=e.ref(0),p=e.ref(0),h=e.ref(!1),V=["width","height","top","left","rotate"],N=e.computed(()=>t.canvasStyleData),x=e.computed(()=>t.isDarkMode),w=e.computed(()=>t.componentData),_=e.computed(()=>t.curComponent),r=e.computed(()=>t.canvasStyleData),m=e.computed(()=>t.areaData),g=(P,K)=>{P&&(c.value[K]=P)},D=P=>c.value[P],k=P=>Bt(P,V),C=P=>At(P,V),y=P=>wn(P),b=P=>{_.value||P.preventDefault(),A();const K=t.getEditorBoundingClientRect();d=K.x,l=K.y;const I=P.clientX,q=P.clientY;i.value.x=I-d,i.value.y=q-l,h.value=!0;const $=j=>{f.value=Math.abs(j.clientX-I),p.value=Math.abs(j.clientY-q),j.clientX<I&&(i.value.x=j.clientX-d),j.clientY<q&&(i.value.y=j.clientY-l)},ne=j=>{if(document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",ne),j.clientX==I&&j.clientY==q){A();return}u()};document.addEventListener("mousemove",$),document.addEventListener("mouseup",ne)},A=()=>{h.value=!1,f.value=0,p.value=0,t.setAreaData({style:{left:0,top:0,width:0,height:0},components:[]})},u=()=>{const P=E();if(P.length<=1){A();return}let K=1/0,I=1/0,q=-1/0,$=-1/0;P.forEach(ne=>{let j={};ne.component=="Group",j=Y(ne.style),j.left<I&&(I=j.left),j.top<K&&(K=j.top),j.right>q&&(q=j.right),j.bottom>$&&($=j.bottom)}),i.value.x=I,i.value.y=K,f.value=q-I,p.value=$-K,t.setAreaData({style:{left:I,top:K,width:f.value,height:p.value},components:P}),h.value=!1},E=()=>{const P=[],{x:K,y:I}=i.value;return w.value.forEach(q=>{if(q.isLock)return;const{left:$,top:ne,width:j,height:ge}=Y(q.style);K<=$&&I<=ne&&$+j<=K+f.value&&ne+ge<=I+p.value&&P.push(q)}),P},T=P=>{P.stopPropagation(),P.preventDefault();let K=P.target,I=P.offsetY,q=P.offsetX;for(;K instanceof SVGElement;)K=K.parentNode;for(;!K.className.includes("editor");)q+=K.offsetLeft,I+=K.offsetTop,K=K.parentNode;t.showContextMenu({top:I,left:q})},M=(P,K)=>{t.setShapeStyle({height:z(P,K)})},z=(P,K)=>{let{lineHeight:I,fontSize:q,height:$}=P.style;I===""&&(I=1.5);const ne=(K.split("<br>").length-1)*I*(q||r.value.fontSize);return $>ne?$:ne};e.onMounted(()=>{console.log("onMounted:"+s.value),t.setEditor(s.value),xo(t),wo(),v.on(ee.hideArea,function(){A()})}),a({getComponentRef:D});const H={props:o,editorStore:t,editorRef:s,componentRefs:c,get editorX(){return d},set editorX(P){d=P},get editorY(){return l},set editorY(P){l=P},start:i,width:f,height:p,isShowArea:h,svgFilterAttrs:V,canvas:N,isDarkMode:x,componentData:w,curComponent:_,canvasStyleData:r,areaData:m,setComponentRef:g,getComponentRef:D,getComponentStyle:k,getSVGStyleLocal:C,getCanvasStyleLocal:y,handleMouseDown:b,hideArea:A,createGroup:u,getSelectArea:E,handleContextMenu:T,handleInput:M,getTextareaHeight:z,ref:e.ref,computed:e.computed,onMounted:e.onMounted,get useEditorStore(){return te},GridLine:ci,CompShape:wi,get getShapeStyle(){return ea},get getSVGStyle(){return At},get getStyle(){return Bt},get getComponentRotatedStyle(){return Y},get getCanvasStyle(){return wn},MarkLine:yi,Area:ki,ContextMenu:Bi,GroupComponentBox:Oi,get emitter(){return v},get eventDef(){return ee},get listenGlobalKeyDown(){return wo},get shortcutKeyReceiveStoreInstance(){return xo}};return Object.defineProperty(H,"__isScriptSetup",{enumerable:!1,value:!0}),H}};function pr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{ref:"editorRef",class:e.normalizeClass(["editor",{edit:o.isEdit}]),style:e.normalizeStyle({...t.getCanvasStyleLocal(t.canvas),width:t.canvas.width+"px",height:t.canvas.height+"px"}),onContextmenu:t.handleContextMenu,onMousedown:t.handleMouseDown},[e.createCommentVNode(" 网格线 "),e.createTextVNode(),e.createVNode(t.GridLine,{"is-dark-mode":t.isDarkMode},null,8,["is-dark-mode"]),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.componentData,(d,l)=>(e.openBlock(),e.createBlock(t.CompShape,{"page-id":t.props.pageId,key:d.id,index:l,"default-style":d.style,style:e.normalizeStyle(t.getShapeStyle(d.style)),active:d.id===(t.curComponent||{}).id,element:d,class:e.normalizeClass({lock:d.isLock})},{default:e.withCtx(()=>[d.component.startsWith("SVG")?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.component),{key:0,id:"component"+d.id,style:e.normalizeStyle(t.getSVGStyleLocal(d.style)),class:"component","prop-value":d.propValue,element:d,designStatus:!0,ref_for:!0,ref:i=>t.setComponentRef(i,d.id)},null,8,["id","style","prop-value","element"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.component),{key:1,id:"component"+d.id,class:"component",style:e.normalizeStyle(t.getComponentStyle(d.style)),"prop-value":d.propValue,element:d,designStatus:!0,ref_for:!0,ref:i=>t.setComponentRef(i,d.id)},null,8,["id","style","prop-value","element"]))]),_:2},1032,["page-id","index","default-style","style","active","element","class"]))),128)),e.createTextVNode(),e.createCommentVNode(" 右击菜单 "),e.createTextVNode(),e.createVNode(t.ContextMenu,{"page-id":t.props.pageId},null,8,["page-id"]),e.createTextVNode(),e.createCommentVNode(" 标线"),e.createTextVNode(),e.createVNode(t.MarkLine,{"page-id":t.props.pageId},null,8,["page-id"]),e.createTextVNode(),e.createCommentVNode(" 选中区域"),e.createTextVNode(),e.withDirectives(e.createVNode(t.Area,{start:t.start,width:t.width,height:t.height},null,8,["start","width","height"]),[[e.vShow,t.isShowArea]]),e.createTextVNode(),e.createCommentVNode(" 选择的组件包裹层 "),e.createTextVNode(),t.areaData.components.length?(e.openBlock(),e.createBlock(t.GroupComponentBox,e.normalizeProps(e.mergeProps({key:0},t.areaData.style)),null,16)):e.createCommentVNode("",!0)],38)}const _r=J(ur,[["render",pr],["__scopeId","data-v-5a712273"],["__file","Editor.vue"]]),fr={__name:"index",props:{pageId:{type:String,required:!0,default:""}},setup(n,{expose:a}){a();const o=n;let t;const s=Re();e.watch(()=>o.pageId,r=>{r&&(t=te(r))},{immediate:!0});const c=e.ref(null),d=e.ref(null);let l;const i=e.ref(null),f=e.computed({get:()=>t.rulePresetLine,set:r=>{t.rulePresetLine=r}}),p=e.computed(()=>t.ruleReferenceLine),h=e.computed(()=>t.isClickComponent),V=r=>{r.preventDefault(),r.stopPropagation();const m=r.dataTransfer.getData("text/plain");try{const g=JSON.parse(m);if(console.log("接收到的拖拽数据:",g),me(g.component)){const D=Ce(rn(s.componentGroups,g.component)),k=t.getEditorBoundingClientRect();console.log("rect:"+k),D.style.top=r.clientY-Math.floor(k.y),D.style.left=r.clientX-Math.floor(k.x),D.id=ce(fe.Component),t.addComponent(D)}}catch(g){console.error("解析拖拽数据失败:",g)}},N=r=>{r.preventDefault(),r.dataTransfer.dropEffect="copy"},x=r=>{r.stopPropagation(),t.setClickComponentStatus(!1),t.setInEditorStatus(!0)},w=r=>{h.value||t.setCurComponent(null,null),r.button!=2&&t.hideContextMenu()};e.onMounted(()=>{l=new ResizeObserver(()=>{i.value?.updateSize()}),d.value&&l.observe(d.value),c.value&&t.setEditorInstance(c.value)}),e.onUnmounted(()=>{l?.disconnect()}),e.provide("VE-ContainerParam",{}),e.provide("VE-CompMethod",function(){});const _={props:o,get editorStore(){return t},set editorStore(r){t=r},veStore:s,editorRef:c,canvasRef:d,get resizeObserver(){return l},set resizeObserver(r){l=r},vRuleRef:i,rulePresetLine:f,ruleLineColor:p,isClickComponent:h,handleDrop:V,handleDragOver:N,handleMouseDown:x,deselectCurComponent:w,computed:e.computed,onMounted:e.onMounted,watch:e.watch,ref:e.ref,provide:e.provide,onUnmounted:e.onUnmounted,ToolBar:Fl,VRule:ii,Editor:_r,get useEditorStore(){return te},get deepCopy(){return Ce},get generatePrefixID(){return ce},get getComponentByName2(){return rn},get isNotEmpty(){return me},get useVEStore(){return Re},get IdPrefix(){return fe}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}};function hr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("div",{class:"splitpanes"},[e.createElementVNode("div",{class:"fixed-pane"},[e.createVNode(t.ToolBar,{"page-id":t.props.pageId},null,8,["page-id"])]),e.createTextVNode(),e.createElementVNode("div",{ref:"canvasRef",class:"flexible-pane"},[e.createVNode(t.VRule,{ref:"vRuleRef",referenceLine:t.rulePresetLine,"onUpdate:referenceLine":a[2]||(a[2]=d=>t.rulePresetLine=d),"line-color":t.ruleLineColor},{"canvas-content":e.withCtx(()=>[e.createElementVNode("div",{class:"content",onDrop:t.handleDrop,onDragover:[t.handleDragOver,a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))],onDragenter:a[1]||(a[1]=e.withModifiers(()=>{},["prevent"])),onMousedown:t.handleMouseDown,onMouseup:t.deselectCurComponent},[e.createVNode(t.Editor,{ref:"editorRef","page-id":t.props.pageId},null,8,["page-id"])],32)]),_:1},8,["referenceLine","line-color"])],512)])}const mr=J(fr,[["render",hr],["__scopeId","data-v-6a7c1f0a"],["__file","index.vue"]]),gr={__name:"RuleDrawer",setup(n,{expose:a}){let o=te();const t=e.ref(!1),s=e.ref("name"),c=e.ref(null),d=e.computed(()=>te(c.value||"default")),l=e.computed({get:()=>d.value.ruleReferenceLine,set:w=>{d.value.ruleReferenceLine=w}}),i=e.computed({get:()=>d.value.rulePresetLine,set:w=>{d.value.rulePresetLine=w}}),f=w=>{d.value.rulePresetLine&&d.value.rulePresetLine.splice(w,1)},p=()=>{d.value.rulePresetLine=[]},h=(w,_)=>{const r=[...i.value];r[w]={...r[w],site:_},i.value=r},V=w=>{t.value=!0,c.value=w},N=()=>{t.value=!1};v.on(ee.openRuleSetting,w=>{console.log("oepn ruleSetting:"+w.pageId),V(w.pageId)}),a({show:V});const x={get editorStore(){return o},set editorStore(w){o=w},drawer:t,activeNames:s,currentStoreId:c,currentStore:d,ruleLineColor:l,referenceLine:i,deleteReferenceLine:f,deleteAllReferenceLine:p,updateReferenceLine:h,show:V,handleClose:N,computed:e.computed,ref:e.ref,get emitter(){return v},get eventDef(){return ee},get useEditorStore(){return te},get predefineColors(){return kt}};return Object.defineProperty(x,"__isScriptSetup",{enumerable:!1,value:!0}),x}};function Cr(n,a,o,t,s,c){const d=e.resolveComponent("el-color-picker"),l=e.resolveComponent("el-form-item"),i=e.resolveComponent("el-form"),f=e.resolveComponent("el-text"),p=e.resolveComponent("el-col"),h=e.resolveComponent("el-button"),V=e.resolveComponent("el-row"),N=e.resolveComponent("el-input-number"),x=e.resolveComponent("el-collapse-item"),w=e.resolveComponent("el-collapse"),_=e.resolveComponent("el-drawer");return e.openBlock(),e.createBlock(_,{modelValue:t.drawer,"onUpdate:modelValue":a[2]||(a[2]=r=>t.drawer=r),title:"标尺设置",direction:"rtl","before-close":t.handleClose,size:"400"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.activeNames,"onUpdate:modelValue":a[1]||(a[1]=r=>t.activeNames=r),class:"elCollapse",accordion:""},{default:e.withCtx(()=>[e.createVNode(x,{title:"属性",name:"name"},{default:e.withCtx(()=>[e.createVNode(i,{ref:"paramForm","label-width":"120","label-position":"left"},{default:e.withCtx(()=>[e.createVNode(l,{label:"标线颜色"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.ruleLineColor,"onUpdate:modelValue":a[0]||(a[0]=r=>t.ruleLineColor=r),"show-alpha":"",predefine:t.predefineColors},null,8,["modelValue","predefine"])]),_:1})]),_:1},512),e.createTextVNode(),e.createVNode(V,{gutter:1},{default:e.withCtx(()=>[e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createTextVNode("方向")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{span:8},{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createTextVNode("值")]),_:1})]),_:1}),e.createTextVNode(),e.createVNode(p,{span:10},{default:e.withCtx(()=>[e.createVNode(h,{type:"danger",icon:"delete",title:"清空",onClick:t.deleteAllReferenceLine},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),_:1})]),_:1}),e.createTextVNode(),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.referenceLine,(r,m)=>(e.openBlock(),e.createBlock(V,{gutter:1},{default:e.withCtx(()=>[e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.type=="h"?"水平":"垂直"),1)]),_:2},1024)]),_:2},1024),e.createTextVNode(),e.createVNode(p,{span:12},{default:e.withCtx(()=>[e.createVNode(N,{"model-value":r.site,"onUpdate:modelValue":g=>t.updateReferenceLine(m,g),"controls-position":"right"},null,8,["model-value","onUpdate:modelValue"])]),_:2},1024),e.createTextVNode(),e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createVNode(h,{type:"danger",icon:"delete",title:"删除",onClick:g=>t.deleteReferenceLine(m)},null,8,["onClick"])]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])}const xr=J(gr,[["render",Cr],["__scopeId","data-v-53dbb572"],["__file","RuleDrawer.vue"]]),Vr=Object.assign({name:"VEEditor"},{__name:"VEEditor",emits:["importJson","exportJson","preview","openPage","savePage"],setup(n,{expose:a,emit:o}){const t=ht(),s=e.ref(20),c=e.ref(null),d=e.ref(""),l=e.ref(5),i=e.ref(null),f=o,p=e.ref([{title:"新建页面",name:ce(fe.Page)}]),h={background:"#8B008B"},V=e.ref(null);e.watch(()=>d.value,D=>{D&&(V.value=te(D))},{immediate:!0});const N=D=>{D&&D.length>0&&(s.value=D[0].size)},x=D=>{const k=p.value;let C=d.value;k.length<=1?Z("warning","tab页签必须保留一个"):(C===D&&k.forEach((y,b)=>{if(y.name===D){const A=k[b+1]||k[b-1];A&&(C=A.name)}}),d.value=C,p.value=k.filter(y=>y.name!==D),bn(D))},w=()=>{const D=p.value;let k=d.value,C="";return D.forEach((y,b)=>{y.name===k&&(C=y.title)}),C};v.on(ee.openNewPage,D=>{D.pageId&&(p.value.length>=l.value?Z("warning","tab页签数量超过限制"):fn("输入页面名称","新建页面",{pattern:/^.{1,20}$/,errMsg:"输入小于20个字符的标题"},function(k){p.value.push({title:k||"新建页面",name:D.pageId}),d.value=D.pageId},null))}),e.onMounted(()=>{d.value=p.value[0].name,v.on(ee.importJson,function(D){f("importJson",D)}),v.on(ee.exportJson,function(D){typeof window._copyright_hflveditor3=="function"&&f("exportJson",D)}),v.on(ee.preview,function(D){f("preview",D)}),v.on(ee.openPage,function(D){f("openPage",D)}),v.on(ee.savePage,function(D){typeof window._copyright_hflveditor3=="function"&&(D.id=d.value,D.title=w(),f("savePage",D))})});const _=D=>{let k;typeof D=="string"?k=JSON.parse(D||"{}"):k=D,k&&(V.value.setComponentData(k.componentData||[]),V.value.setCanvasStyle(k.canvasStyle||{}))},r=D=>{if(p.value.length>=l.value)Z("warning","tab页签数量超过限制");else{if(me(D.id)){const k=p.value;let C=!1;if(k.forEach((y,b)=>{y.name===D.id&&(C=!0)}),C)d.value=D.id;else{let y=D.id;p.value.push({title:D.name||"新建页面",name:y}),d.value=y}}else{let k=ce(fe.Page);p.value.push({title:D.name||"新建页面",name:k}),d.value=k}e.nextTick(()=>{_(D.data)})}},m=D=>{D.id&&me(D.name)&&p.value.forEach((C,y)=>{C.name===D.id&&(C.title=D.name)})};e.onBeforeMount(()=>{}),a({setJsonData:_,loadPage:r,modifyTitle:m});const g={veBaseStore:t,paneSize:s,canvasDrawerRef:c,activeName:d,maxTabNums:l,ruleDrawerRef:i,emit:f,editableTabs:p,canvasStyle:h,editorStore:V,handleResize:N,removeTab:x,getCurTabTitle:w,setJsonData:_,loadPage:r,modifyTitle:m,ref:e.ref,computed:e.computed,onMounted:e.onMounted,watch:e.watch,nextTick:e.nextTick,onBeforeMount:e.onBeforeMount,get Splitpanes(){return No},get Pane(){return Eo},LeftRegion:ca,RightRegion:El,get useVEBaseStore(){return ht},CanvasDrawer:Al,PageEditor:mr,get generatePrefixID(){return ce},get isNotEmpty(){return me},get emitter(){return v},get eventDef(){return ee},get showMessage(){return Z},get showPromptMessageBox(){return fn},get clearEditorStore(){return bn},get useEditorStore(){return te},get IdPrefix(){return fe},RuleDrawer:xr};return Object.defineProperty(g,"__isScriptSetup",{enumerable:!1,value:!0}),g}});function wr(n,a,o,t,s,c){const d=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(t.Splitpanes,{class:"default-theme",style:{width:"100%",height:"100%"},onResize:t.handleResize},{default:e.withCtx(()=>[t.veBaseStore.showLeftRegion?(e.openBlock(),e.createBlock(t.Pane,{key:0,size:t.paneSize,"max-size":"20"},{default:e.withCtx(()=>[e.createVNode(t.LeftRegion,{"editor-store":t.editorStore,"page-id":t.activeName},null,8,["editor-store","page-id"])]),_:1},8,["size"])):e.createCommentVNode("",!0),e.createTextVNode(),e.createVNode(t.Pane,{size:100-t.paneSize},{default:e.withCtx(()=>[e.createVNode(t.Splitpanes,null,{default:e.withCtx(()=>[e.createVNode(t.Pane,null,{default:e.withCtx(()=>[e.createVNode(l,{modelValue:t.activeName,"onUpdate:modelValue":a[0]||(a[0]=i=>t.activeName=i),type:"border-card",class:"tabs",closable:"",onTabRemove:t.removeTab},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.editableTabs,i=>(e.openBlock(),e.createBlock(d,{key:i.name,label:i.title,name:i.name},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.KeepAlive,{max:t.maxTabNums},[(e.openBlock(),e.createBlock(t.PageEditor,{"page-id":i.name,key:i.name},null,8,["page-id"]))],1032,["max"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),t.veBaseStore.showRightRegion?(e.openBlock(),e.createBlock(t.Pane,{key:0,size:"20","max-size":"20"},{default:e.withCtx(()=>[e.createVNode(t.RightRegion,{"editor-store":t.editorStore,"page-id":t.activeName},null,8,["editor-store","page-id"])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["size"])]),_:1}),e.createTextVNode(),e.createVNode(t.CanvasDrawer,{ref:"canvasDrawerRef"},null,512),e.createTextVNode(),e.createVNode(t.RuleDrawer,{ref:"ruleDrawerRef"},null,512)],64)}const Dr=J(Vr,[["render",wr],["__scopeId","data-v-fdd70ba7"],["__file","VEEditor.vue"]]),br=e.defineComponent({name:"ve-svg-icon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""}},setup(n){return{iconName:e.computed(()=>`#icon-${n.iconClass}`),svgClass:e.computed(()=>n.className?`ve-svg-icon ${n.className}`:"ve-svg-icon")}}});function yr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(n.svgClass),"aria-hidden":"true"},[e.createElementVNode("use",{"xlink:href":n.iconName,fill:n.color},null,8,["xlink:href","fill"])],2)}const Nr=J(br,[["render",yr],["__file","index.vue"]]),Er={foldLeft:'<svg t="1750411641074" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6327" width="200" height="200"><path d="M867.1 141.17H156.08c-17.67 0-32 14.33-32 32s14.33 32 32 32H867.1c17.67 0 32-14.33 32-32s-14.33-32-32-32zM867.92 367.52H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 573.87H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 800.22H156.9c-17.67 0-32 14.33-32 32s14.33 32 32 32h711.02c17.67 0 32-14.33 32-32 0-17.68-14.32-32-32-32zM312.01 367.52v270.35L137.47 489.71z" p-id="6328"></path></svg>',foldRight:'<svg t="1750411736588" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6481" width="200" height="200"><path d="M867.1 141.17H156.08c-17.67 0-32 14.33-32 32s14.33 32 32 32H867.1c17.67 0 32-14.33 32-32s-14.33-32-32-32zM867.92 367.52H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 573.87H403.2c-17.67 0-32 14.33-32 32s14.33 32 32 32h464.73c17.67 0 32-14.33 32-32s-14.33-32-32.01-32zM867.92 800.22H156.9c-17.67 0-32 14.33-32 32s14.33 32 32 32h711.02c17.67 0 32-14.33 32-32 0-17.68-14.32-32-32-32zM137.47 637.87V367.52l174.54 148.15z" p-id="6482"></path></svg>',save:'<svg t="1750486544844" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5304" width="200" height="200"><path d="M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z" fill="#333333" p-id="5305"></path></svg>',save2:'<svg t="1750487183059" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4694" width="200" height="200"><path d="M512 64C357.472 64 96 90.944 96 192v634.528c0 101.024 261.472 128 416 128 154.496 0 416-26.976 416-128V192c0-101.056-261.504-128-416-128zM160 457.728C247.328 499.072 405.184 512 512 512c106.88 0 264.864-12.96 352.16-54.368l0.096 148.256C852.352 629.728 725.056 672 512 672c-212.096 0-339.136-41.888-352-65.76v-148.512zM512 448c-212.096 0-339.136-41.888-352-65.76v-116.48C247.328 307.072 405.184 320 512 320c106.848 0 264.736-12.928 352.032-54.304l0.064 116.384C851.648 405.952 724.512 448 512 448z m0-320c206.88 0 332.96 39.872 351.008 64-18.048 24.128-144.128 64-351.008 64S179.04 216.128 161.024 192C179.04 167.872 305.12 128 512 128z m0 762.528c-213.568 0-341.056-42.496-352-64v-144.8C247.328 723.072 405.184 736 512 736c106.944 0 265.056-12.992 352.32-54.432l0.096 142.688c-11.392 23.776-138.848 66.272-352.416 66.272z" p-id="4695"></path></svg>',undo:'<svg t="1750487331839" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5009" width="200" height="200"><path d="M995.648 459.296C684.448 281.568 406.08 318.656 171.232 567.904L32 416v384h352l-160.736-175.328c211.168-227.072 452.192-259.776 734.304-98.688a38.4 38.4 0 0 0 38.08-66.688z" p-id="5010"></path></svg>',redo:'<svg t="1750487379046" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5163" width="200" height="200"><path d="M860.992 558.912C627.904 317.536 352.384 283.648 44.8 459.296a38.4 38.4 0 1 0 38.08 66.688c278.432-159.008 516.896-129.408 726.08 89.696L640 800h352V416l-131.008 142.912z" p-id="5164"></path></svg>',combination:'<svg t="1750479615139" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4635" width="200" height="200"><path d="M839.036 130.458h-654.072c-30.102 0-54.506 24.404-54.506 54.506v654.072c0 30.102 24.404 54.506 54.506 54.506h654.072c30.102 0 54.506-24.404 54.506-54.506v-654.072c0-30.102-24.404-54.506-54.506-54.506zM839.036 811.786c0 15.050-12.196 27.249-27.249 27.249h-598.721c-15.050 0-27.249-12.196-27.249-27.249v-598.721c0-15.050 12.196-27.249 27.249-27.249h598.721c15.049 0 27.249 12.196 27.249 27.249v598.721zM730.028 421.639h-127.324v-126.817c0-30.091-24.402-54.499-54.501-54.499h-252.755c-30.098 0-54.501 24.401-54.501 54.499v253.89c0 30.091 24.402 54.499 54.501 54.499h127.324v126.817c0 30.091 24.402 54.499 54.501 54.499h252.755c30.098 0 54.501-24.401 54.501-54.499v-253.89c0-30.091-24.402-54.499-54.501-54.499zM323.36 548.137c-15.050 0-27.251-12.207-27.251-27.26v-197.694c0-15.055 12.201-27.26 27.251-27.26h196.928c15.051 0 27.251 12.207 27.251 27.26v98.458h-70.267c-30.098 0-54.501 24.401-54.501 54.499v71.998h-99.411zM547.539 477.24v43.638c0 15.055-12.202 27.26-27.251 27.26h-42.353v-43.638c0-15.055 12.202-27.26 27.251-27.26h42.353zM729.365 702.193c0 15.055-12.201 27.26-27.251 27.26h-196.928c-15.050 0-27.251-12.207-27.251-27.26v-98.981h70.267c30.098 0 54.501-24.401 54.501-54.499v-71.474h99.411c15.050 0 27.251 12.207 27.251 27.26v197.693z" p-id="4636"></path></svg>',split:'<svg t="1750479695414" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4789" width="200" height="200"><path d="M553.396484375 822.78125H229.255859375c-26.89453125 0-48.779296875-21.884765625-48.779296875-48.779296875V208.6015625c0-26.89453125 21.884765625-48.779296875 48.779296875-48.779296875h565.400390625c27.0703125 0 48.779296875 21.62109375 48.779296875 48.515625v407.197265625c0 11.42578125 9.31640625 20.7421875 20.7421875 20.7421875 11.42578125 0 20.7421875-9.31640625 20.7421875-20.7421875V208.337890625c0-49.921875-40.341796875-90-90.17578125-90H229.255859375c-49.74609375 0-90.17578125 40.4296875-90.17578125 90.17578125V773.9140625c0 49.74609375 40.4296875 90.17578125 90.17578125 90.17578125h324.140625c11.42578125 0 20.7421875-9.31640625 20.7421875-20.7421875s-9.228515625-20.56640625-20.7421875-20.56640625z" p-id="4790"></path><path d="M553.396484375 408.376953125h165.76171875V242.703125H553.396484375v165.673828125z m-41.396484375-166.11328125c0-22.67578125 18.720703125-41.044921875 41.044921875-41.044921875h166.46484375c22.67578125 0 41.044921875 18.720703125 41.044921875 41.044921875v166.46484375c0 22.67578125-18.720703125 41.044921875-41.044921875 41.044921875H553.044921875c-22.67578125 0-41.044921875-18.720703125-41.044921875-41.044921875V242.263671875zM284.099609375 532.7421875c0-11.337890625 9.31640625-20.7421875 20.302734375-20.7421875h166.46484375c11.25 0 20.302734375 9.228515625 20.302734375 21.005859375v123.662109375c0 11.6015625-9.404296875 21.09375-20.302734375 21.09375H304.490234375c-11.25 0-20.302734375-9.140625-20.302734375-20.7421875V532.7421875z m-41.396484375 0V657.01953125c0 34.365234375 27.59765625 62.138671875 61.787109375 62.138671875h166.46484375c34.013671875 0 61.787109375-28.125 61.787109375-62.490234375V533.005859375c0-34.541015625-27.509765625-62.490234375-61.787109375-62.490234375H304.490234375c-33.92578125 0.087890625-61.787109375 28.037109375-61.787109375 62.2265625zM723.2890625 802.0390625h-50.2734375c-11.42578125 0-20.7421875-9.31640625-20.7421875-20.7421875s9.31640625-20.7421875 20.7421875-20.7421875h50.2734375v-50.2734375c0-11.42578125 9.31640625-20.7421875 20.7421875-20.7421875 11.42578125 0 20.7421875 9.31640625 20.7421875 20.7421875v50.2734375h50.2734375c11.42578125 0 20.7421875 9.31640625 20.7421875 20.7421875S826.47265625 802.0390625 815.046875 802.0390625h-50.2734375v50.2734375c0 11.42578125-9.31640625 20.7421875-20.7421875 20.7421875-11.42578125 0-20.7421875-9.31640625-20.7421875-20.7421875V802.0390625zM744.03125 905.57421875c68.642578125 0 124.27734375-55.634765625 124.27734375-124.27734375S812.673828125 657.01953125 744.03125 657.01953125s-124.27734375 55.634765625-124.27734375 124.27734375S675.388671875 905.57421875 744.03125 905.57421875z" p-id="4791"></path></svg>',lock:'<svg t="1750479364498" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1470" width="200" height="200"><path d="M806.617322 1024H217.36459A124.739125 124.739125 0 0 1 93.090909 899.260875V421.4821a124.739125 124.739125 0 0 1 124.273681-124.971847h589.252732A124.739125 124.739125 0 0 1 930.891002 421.4821v477.778775A124.739125 124.739125 0 0 1 806.617322 1024zM217.36459 319.317033A102.165067 102.165067 0 0 0 116.363134 421.4821v477.778775A101.932345 101.932345 0 0 0 217.36459 1000.727775h589.252732A101.932345 101.932345 0 0 0 907.618777 899.260875V421.4821a102.165067 102.165067 0 0 0-101.699622-102.165067z" fill="#666666" p-id="1471"></path><path d="M702.125032 319.317033a11.170668 11.170668 0 0 1-11.170668-11.40339v-139.633349a133.349848 133.349848 0 0 0-51.897061-102.630511A198.046633 198.046633 0 0 0 511.990956 23.294333c-98.674233 0-178.963409 65.627674-178.963409 146.382294v139.633349a11.170668 11.170668 0 0 1-11.170668 11.40339 11.40339 11.40339 0 0 1-11.40339-11.40339v-139.633349C310.453489 75.889561 400.982443 0.022109 511.990956 0.022109a219.45708 219.45708 0 0 1 141.495126 49.104394 155.923906 155.923906 0 0 1 60.04234 120.08468v139.633349a11.40339 11.40339 0 0 1-11.40339 10.472501zM511.990956 750.551359a90.296232 90.296232 0 1 1 91.227121-90.296233A90.994399 90.994399 0 0 1 511.990956 750.551359z m0-157.785685a67.489452 67.489452 0 1 0 68.42034 67.489452 67.954896 67.954896 0 0 0-68.42034-67.489452z" fill="#666666" p-id="1472"></path></svg>',unlock:'<svg t="1750479411662" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1625" width="200" height="200"><path d="M713.05481 1024H124.738048A124.970768 124.970768 0 0 1 0 899.261952v-477.076488a124.970768 124.970768 0 0 1 124.738048-124.738048h588.316762A124.970768 124.970768 0 0 1 837.792858 422.185464v477.076488A125.203488 125.203488 0 0 1 713.05481 1024zM124.738048 320.254A102.164185 102.164185 0 0 0 23.272024 422.185464v477.076488A102.164185 102.164185 0 0 0 124.738048 1000.727976h588.316762A102.164185 102.164185 0 0 0 814.520834 899.261952v-477.076488a102.164185 102.164185 0 0 0-102.164185-101.931464z" fill="#666666" p-id="1626"></path><path d="M418.896429 750.78644a90.295452 90.295452 0 1 1 91.226333-90.062732A90.528173 90.528173 0 0 1 418.896429 750.78644z m0-157.551601a67.488869 67.488869 0 1 0 68.41975 67.488869 67.95431 67.95431 0 0 0-68.41975-67.488869zM1012.565757 318.392238a11.403292 11.403292 0 0 1-11.403292-11.403292V168.753125C1000.697024 88.231922 918.779501 23.302976 817.546197 23.302976a206.190131 206.190131 0 0 0-130.788774 43.751404 131.254214 131.254214 0 0 0-53.060214 102.164185v138.235821a11.403292 11.403292 0 1 1-23.272024 0V168.753125a154.060798 154.060798 0 0 1 62.136303-120.083643A229.229435 229.229435 0 0 1 817.546197 0.030952C930.880953 0.030952 1023.969048 75.665029 1023.969048 168.753125v138.235821a11.403292 11.403292 0 0 1-11.403291 11.403292z" fill="#666666" p-id="1627"></path></svg>',clear:'<svg t="1750486633569" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2342" width="200" height="200"><path d="M274.56 798.997333l19.434667-25.130666-33.792 68.565333a18.133333 18.133333 0 0 0 11.562666 25.536l59.733334 16a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.818667 35.626667-35.989333 45.290666-48.469333l19.456-25.130667-33.813333 68.565333a18.133333 18.133333 0 0 0 11.562667 25.536l84.48 22.634667a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-35.989333 45.269333-48.469333l19.456-25.130667-33.813333 68.565333A18.133333 18.133333 0 0 0 535.530667 938.666667l72.106666 19.328a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-36.010667 45.269334-48.490667l19.456-25.130667-33.813334 68.586667a18.133333 18.133333 0 0 0 11.584 25.514667l86.421334 23.338666 3.84-0.213333c13.269333-0.704 29.056-5.034667 43.84-12.8 29.781333-15.701333 48.170667-43.2 52.181333-78.250667 2.133333-18.517333 4.778667-38.549333 8.405333-63.530666 1.642667-11.221333 2.944-20.010667 6.229334-41.834667 11.050667-73.322667 14.634667-101.034667 17.130666-133.674667l0.938667-12.373333 2.837333-2.922667 12.330667-1.344a41.813333 41.813333 0 0 0 24.810667-11.221333c10.730667-10.24 14.805333-25.386667 11.093333-42.197333l-37.546667-171.584c-3.029333-13.696-11.264-27.946667-23.146666-39.829334-11.648-11.626667-25.92-20.138667-39.893334-23.893333L723.626667 331.306667l-2.261334-3.925334L774.250667 130.133333c8.32-31.061333-11.754667-63.744-44.970667-72.64l-79.509333-21.312c-33.194667-8.896-66.922667 9.365333-75.264 40.426667l-52.842667 197.269333-3.925333 2.261334-118.101334-31.637334c-13.994667-3.754667-30.634667-3.498667-46.506666 0.746667-16.256 4.352-30.506667 12.586667-39.957334 22.933333l-118.314666 129.792c-11.605333 12.714667-15.658667 27.84-11.52 42.090667 4.16 14.229333 15.850667 25.194667 32.896 30.528l13.610666 4.266667 2.133334 3.882666-3.626667 13.802667c-21.12 79.850667-52.885333 136.917333-85.717333 150.890667-47.530667 20.202667-72.938667 49.429333-78.421334 85.034666-5.034667 32.682667 9.28 67.114667 37.589334 91.541334l22.037333 8.341333 74.666667 20.010667a42.666667 42.666667 0 0 0 41.216-11.050667c15.274667-15.274667 26.88-28.032 34.837333-38.293333z m551.381333-396.565333c14.144 3.797333 29.952 19.2 32.768 32l34.56 157.781333a10.666667 10.666667 0 0 1-13.184 12.586667L240.64 433.493333a10.666667 10.666667 0 0 1-5.12-17.493333l108.8-119.36c8.832-9.685333 30.229333-15.146667 44.373333-11.349333l141.333334 37.866666a21.333333 21.333333 0 0 0 26.133333-15.082666l58.304-217.642667a21.333333 21.333333 0 0 1 26.133333-15.082667l77.056 20.650667a21.333333 21.333333 0 0 1 15.082667 26.133333l-58.325333 217.642667a21.333333 21.333333 0 0 0 15.082666 26.112l136.448 36.565333zM315.456 701.568c-33.664 45.141333-64.597333 79.082667-92.8 101.802667l-5.909333 4.778666-2.837334 0.597334-88.106666-24.106667-2.922667-3.2c-13.034667-14.165333-19.370667-31.04-16.981333-46.592 3.285333-21.333333 22.058667-39.338667 53.205333-52.586667 31.722667-13.482667 59.818667-47.104 82.922667-99.904 10.026667-22.954667 18.88-48.725333 26.389333-76.586666l3.882667-14.4 3.904-2.261334 566.165333 151.701334 2.346667 3.306666-0.789334 12.224c-1.984 30.592-30.336 229.397333-32.128 244.906667-2.346667 20.416-11.306667 34.986667-27.605333 44.394667a73.237333 73.237333 0 0 1-21.397333 8.106666l-5.013334 0.725334-60.373333-16.170667 11.242667-20.288c8.277333-14.976 22.656-43.84 43.093333-86.613333a21.12 21.12 0 0 0-9.962667-28.16l-3.136-1.493334a21.333333 21.333333 0 0 0-26.261333 6.485334c-33.642667 45.056-64.533333 78.912-92.672 101.546666l-5.909333 4.757334-2.837334 0.597333-52.544-14.08 11.114667-20.266667c3.562667-6.485333 7.04-13.013333 10.453333-19.626666 7.04-13.504 17.898667-35.797333 32.597334-66.816a21.290667 21.290667 0 0 0-9.984-28.309334l-3.029334-1.450666a21.333333 21.333333 0 0 0-26.368 6.442666c-33.6 45.013333-64.469333 78.826667-92.608 101.482667l-5.909333 4.757333-2.837333 0.597334-52.138667-13.973334 11.114667-20.266666c3.242667-5.888 6.72-12.416 10.453333-19.626667 6.997333-13.461333 17.962667-35.946667 32.896-67.434667a20.970667 20.970667 0 0 0-10.112-28.010666l-3.328-1.536a21.333333 21.333333 0 0 0-26.069333 6.613333c-33.642667 45.056-64.554667 78.976-92.778667 101.696l-5.909333 4.757333-2.837334 0.597334-32.64-8.746667 11.093334-20.245333c3.541333-6.506667 7.04-13.034667 10.453333-19.626667 6.976-13.482667 17.941333-35.968 32.874667-67.456a21.056 21.056 0 0 0-10.069334-28.074667l-3.242666-1.514666a21.333333 21.333333 0 0 0-26.154667 6.549333z" fill="#333333" p-id="2343"></path></svg>',deleteIcon:'<svg t="1750486500477" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5147" width="200" height="200"><path d="M106.666667 213.333333h810.666666v42.666667H106.666667z" fill="#3D3D3D" p-id="5148"></path><path d="M640 128v42.666667h42.666667V128c0-23.573333-19.093333-42.666667-42.538667-42.666667H383.872A42.496 42.496 0 0 0 341.333333 128v42.666667h42.666667V128h256z" fill="#3D3D3D" p-id="5149"></path><path d="M213.333333 896V256H170.666667v639.957333C170.666667 919.552 189.653333 938.666667 213.376 938.666667h597.248C834.218667 938.666667 853.333333 919.68 853.333333 895.957333V256h-42.666666v640H213.333333z" fill="#3D3D3D" p-id="5150"></path><path d="M320 341.333333h42.666667v384h-42.666667zM490.666667 341.333333h42.666666v384h-42.666666zM661.333333 341.333333h42.666667v384h-42.666667z" fill="#3D3D3D" p-id="5151"></path></svg>',makeline:'<svg t="1750488123134" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3304" width="200" height="200"><path d="M538.3 62.3h-477v900h900v-900h-423z m355.5 832.5h-765v-765h765v765z" p-id="3305"></path><path d="M623.8 485.3h76.5v54h-76.5zM772.3 485.3h76.5v54h-76.5zM322.3 485.3h76.5v54h-76.5zM173.8 485.3h76.5v54h-76.5zM484.3 773.3h54v76.5h-54zM484.3 624.8h54v76.5h-54zM484.3 548.3h54v-9h9v-54h-9v-13.5h-54v13.5h-13.5v54h13.5zM484.3 174.8h54v76.5h-54zM484.3 323.3h54v76.5h-54z" p-id="3306"></path></svg>',canvas:'<svg t="1750488310268" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1503" width="200" height="200"><path d="M911.274667 810.624H663.466667c-11.989333-1.962667-21.034667-8.106667-25.088-16.938667-4.352-9.728-2.304-34.816-2.304-52.394666v-344.32c0-9.941333-0.725333-19.413333 1.578666-25.088a32.426667 32.426667 0 0 1 7.253334-9.557334c10.069333-9.216 22.656-8.106667 42.752-8.106666h167.893333c15.232 0 35.925333-0.768 50.858667 0 4.906667 0 9.813333 0.768 14.506666 2.176 1.024 0.426667 1.365333 1.578667 2.432 2.176 1.152 0.725333 3.2 0.896 4.010667 1.493333 2.133333 1.621333 3.370667 4.010667 4.864 5.973333 0.725333 0.896 1.792 1.194667 2.432 2.133334 2.304 3.754667 2.218667 7.381333 4.010667 11.818666v404.138667c-2.517333 14.933333-11.818667 23.594667-27.392 26.538667v-0.042667z m-137.258667-21.418667c2.56 3.84 6.272 6.997333 11.306667 7.381334 2.261333 0.170667 5.930667 0 8.064-0.768a20.48 20.48 0 0 0 8.064-7.296 15.573333 15.573333 0 0 0-1.621334-14.805334 11.562667 11.562667 0 0 0-5.632-4.352c-3.626667-1.536-5.461333-2.133333-11.306666-0.768a14.336 14.336 0 0 0-10.154667 8.192 12.842667 12.842667 0 0 0 1.28 12.458667z m88.746667-401.92c-1.066667-4.266667-5.205333-4.736-12.885334-5.12-18.133333-0.853333-39.381333 0-56.533333 0-29.44 0-52.608-1.578667-75.861333 0-0.768 0-0.426667 0.597333-0.768 0.725334-3.968 1.493333-7.466667 5.290667-4.821334 10.325333 2.133333 4.138667 7.850667 3.669333 16.170667 3.712 36.906667 0.170667 67.712 0 103.253333 0 6.485333 0 14.933333 0.597333 20.992 0 4.437333-0.426667 5.504 0.085333 8.064-2.261333 1.877333-1.621333 3.413333-3.456 2.389334-7.338667z m46.037333 37.674667h-242.133333c-0.896 0.085333-0.853333 1.109333-0.810667 2.133333v326.784H908.8v-328.96z m-179.413333-88.533333h-40.362667c-0.426667-13.013333 1.408-53.76-2.432-62.72a44.202667 44.202667 0 0 0-25.770667-22.101334c-7.893333-2.133333-18.944-1.493333-30.72-1.493333H184.576c-11.093333 0-21.589333-0.64-29.866667 1.493333a41.813333 41.813333 0 0 0-26.581333 22.186667c-3.498667 8.021333-2.432 20.437333-2.432 33.877333v216.832c0 12.672-1.749333 28.288 1.621333 36.821334a41.642667 41.642667 0 0 0 25.813334 23.637333c13.653333 3.797333 35.925333 1.493333 53.290666 1.493333h411.946667v92.885334H143.445333c-12.288 0-24.746667 0.853333-33.066666-2.176-5.162667-2.133333-9.813333-5.12-13.781334-8.874667-6.997333-6.613333-8.789333-12.8-11.306666-22.869333V247.978667c3.498667-19.925333 15.872-31.658667 37.930666-34.645334h568.192c16.128 2.346667 28.8 9.770667 34.688 22.912 4.224 9.258667 3.2 21.077333 3.2 33.834667v66.389333h0.042667zM271.786667 786.986667c0.512-0.341333 1.792-0.256 2.389333-0.725334 1.92-1.493333 3.370667-3.712 5.674667-5.162666 0.554667-0.341333 1.749333-0.256 2.389333-0.725334 0.682667-0.469333 0.938667-1.749333 1.578667-2.218666 0.853333-0.469333 1.792-0.256 2.474666-0.725334 12.586667-8.533333 27.136-16.426667 41.173334-22.869333v-53.802667c-0.128-1.024-0.170667-2.090667 0.810666-2.218666h158.976v55.338666c2.645333 2.645333 6.4 3.498667 9.685334 5.12 5.12 2.56 10.666667 5.632 16.128 8.874667l6.442666 3.669333c2.090667 1.152 3.754667 2.005333 5.674667 3.669334 0.853333 0.725333 3.968 2.474667 5.632 3.712 1.28 0.938667 2.474667 1.578667 4.053333 2.944 0.981333 0.853333 2.56 1.706667 4.010667 2.986666 3.456 2.901333 15.36 9.173333 14.549333 16.170667-1.536 13.184-51.2 8.832-68.650666 8.832H291.2c-20.394667 0-38.570667-3.456-25.088-17.664 1.706667-1.877333 3.626667-3.584 5.674667-5.162667zM190.592 308.736H622.933333v222.293333H190.592v-222.293333z m501.205333 138.965333h190.976v282.88h-190.933333v-282.88h-0.042667z" fill="#4A4A4A" p-id="1504"></path></svg>',setting:'<svg t="1750488470617" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2493" width="200" height="200"><path d="M504.046527 324.145644c-105.338607 0-191.027711 85.687888-191.027711 191.027711 0 105.338607 85.689104 191.026495 191.027711 191.026495 105.334958 0 191.022846-85.687888 191.022846-191.026495C695.069373 409.833532 609.381485 324.145644 504.046527 324.145644L504.046527 324.145644 504.046527 324.145644zM504.046527 655.261965c-77.245474 0-140.089826-62.844353-140.089826-140.08861 0-77.245474 62.844353-140.084961 140.089826-140.084961S644.131488 437.927881 644.131488 515.173355C644.131488 592.417613 581.292001 655.261965 504.046527 655.261965L504.046527 655.261965 504.046527 655.261965zM925.014169 425.218649c-18.079246-1.639587-72.978655-13.394016-87.374911-44.776054-12.553545-27.31956 8.205233-65.847424 27.813382-93.361594l12.177705-17.094034-119.232527-125.560993-18.144926 13.588626c-16.367896 12.267712-69.833275 44.006129-100.298215 29.547841-24.458796-11.631581-31.143641-53.522546-32.464555-86.600121L606.535318 76.493794l-94.535334 0-94.525603 0-0.964535 24.463662c-1.316048 33.077575-8.005758 74.969756-32.454824 86.604986-30.407773 14.458288-83.94978-17.280129-100.307945-29.547841L265.579041 144.398 146.37084 269.986967 158.547329 287.085866c19.585038 27.471598 40.334086 65.961757 27.871765 93.276452-14.306249 31.324871-68.00516 43.007538-87.432078 44.861196l-23.167074 2.113948 0 76.612992L75.810211 503.950454l0 93.736217 23.167074 2.115165c19.428134 1.852442 73.130694 13.536324 87.432078 44.861196 12.462322 27.309829-8.281861 65.803637-27.865683 93.27037l-12.17284 17.10498 119.203335 125.584102 18.168036-13.617817c16.3533-12.262847 69.895307-44.004913 100.30308-29.552706 24.450282 11.641312 31.143641 53.527411 32.464555 86.611068l0.95602 24.468527 94.529252 0 94.530468 0 0.959669-24.468527c1.320914-33.083657 8.010624-74.969756 32.460906-86.611068 30.468589-14.452206 83.933968 17.28986 100.306729 29.552706l18.144926 13.593491 119.227662-125.559776-12.17284-17.10498c-19.617879-27.509304-40.375441-66.042034-27.823112-93.361594 14.401121-31.377173 69.296882-43.131602 87.379776-44.769972l23.171939-2.115165 0-92.976023 0.008514 0 0-77.373187L925.014169 425.218649 925.014169 425.218649 925.014169 425.218649zM897.243358 503.950454l-0.004865 0 0 48.76677c-31.382038 6.642274-84.719704 24.449066-105.909057 70.6032-16.29735 35.505332-9.256126 78.023913 20.899871 126.619183l-60.387405 63.619143c-29.415263-17.831118-86.187792-44.64226-133.651893-22.159969-33.41571 15.816907-53.460514 51.488874-59.756139 106.18516l-46.438751 0-46.437535 0c-6.295625-54.696286-26.341646-90.368252-59.761004-106.18516-47.440991-22.449451-104.228115 4.314255-133.656758 22.159969L211.757283 749.939607c30.159646-48.59527 37.197221-91.113851 20.904736-126.619183-21.190569-46.154134-74.531884-63.960926-105.909057-70.6032l0-48.00171 0.004865 0 0-32.408604c31.382038-6.641058 84.723353-24.449066 105.918787-70.601984 16.286403-35.506548 9.250045-78.029994-20.910817-126.620399l60.383756-63.627657c29.423777 17.849363 86.206036 44.613068 133.656758 22.163618 33.414494-15.821772 53.465379-51.484009 59.756139-106.18516l46.437535 0 46.443616 0c6.29076 54.696286 26.340429 90.368252 59.756139 106.18516 47.459236 22.487156 104.231764-4.327634 133.647028-22.163618l60.39227 63.627657c-30.160862 48.590405-37.197221 91.108986-20.909601 126.620399 21.189353 46.152918 74.536749 63.960926 105.909057 70.601984l0 31.643545L897.243358 503.950454 897.243358 503.950454 897.243358 503.950454zM897.243358 503.950454" fill="#272636" p-id="2494"></path></svg>',sketchRule:'<svg t="1750819198822" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5691" width="200" height="200"><path d="M854.633103 83.697237 586.894246 83.697237c-1.195222-0.191358-2.418073-0.290619-3.664459-0.290619-1.24434 0-2.465145 0.100284-3.65832 0.290619L168.315962 83.697237c-47.382147 0-85.770456 38.387285-85.770456 85.770456l0 686.317141c0 47.382147 38.388309 85.782735 85.770456 85.782735l162.045653 0c47.382147 0 85.772502-38.400588 85.772502-85.782735L416.134117 617.544825c-0.071631-12.402471-10.113335-22.456455-22.563902-22.456455-12.428054 0-22.515806 10.053983-22.573111 22.456455l0 0.069585c0 0.022513 0 0.022513 0 0.047072 0 0 0 0.046049 0 0.069585l0 233.540987c0 24.969695-20.224624 45.171806-45.148269 45.171806L172.831812 896.443859c-24.924669 0-45.148269-20.201088-45.148269-45.171806l0-92.394317 159.380964 0c13.173021 0 23.843034-10.682293 23.843034-23.830755 0-13.173021-10.670014-23.829731-23.843034-23.829731L127.682519 711.217251 127.682519 592.06143l111.720478 0c13.170974 0 23.840988-10.682293 23.840988-23.830755 0-13.173021-10.670014-23.831778-23.840988-23.831778L127.682519 544.398898 127.682519 425.2441l159.380964 0c13.173021 0 23.843034-10.670014 23.843034-23.830755 0-13.170974-10.670014-23.843034-23.843034-23.843034L127.682519 377.570311 127.682519 173.983543c0-24.936949 20.2236-45.149293 45.148269-45.149293L368.946398 128.83425c-0.124843 1.022283-0.195451 2.061962-0.195451 3.119037L368.750947 249.352091c0 13.648858 10.671037 24.715915 23.831778 24.715915s23.843034-11.066033 23.843034-24.715915L416.425759 131.953288c0-1.057075-0.071631-2.096754-0.195451-3.119037l143.168724 0 0 96.68504c0 13.648858 10.682293 24.715915 23.831778 24.715915 13.171997 0 23.830755-11.066033 23.830755-24.715915l0-96.68504 119.351272 0c-0.124843 1.022283-0.195451 2.061962-0.195451 3.119037L726.217385 249.352091c0 13.648858 10.68127 24.715915 23.829731 24.715915 13.174044 0 23.832801-11.066033 23.832801-24.715915L773.879917 131.953288c0-1.057075-0.070608-2.096754-0.195451-3.119037l76.435856 0c24.924669 0 45.148269 20.212344 45.148269 45.149293l0 168.875199 0 10.879792L459.838501 353.738533c-13.160741 0-23.840988 10.671037-23.840988 23.843034 0 13.160741 10.680247 23.831778 23.840988 23.831778l446.831768 0c2.075265 0 4.089132-0.26606 6.009877-0.76441 1.657756 0.387833 3.384074 0.599657 5.160533 0.599657 12.474103 0 22.575158-10.123568 22.575158-22.575158l0-35.815717L940.415838 169.468716C940.415838 122.084523 902.017296 83.697237 854.633103 83.697237z" fill="#272636" p-id="5692"></path></svg>',zoomout:'<svg t="1750819738144" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1403" width="200" height="200"><path d="M643.389627 423.537124 454.696113 423.537124 454.696113 234.843609c0-9.516538-7.674628-17.191166-17.191166-17.191166s-17.191166 7.674628-17.191166 17.191166l0 188.693515L231.620266 423.537124c-9.516538 0-17.191166 7.674628-17.191166 17.191166s7.674628 17.191166 17.191166 17.191166l188.693515 0 0 188.693515c0 9.516538 7.674628 17.191166 17.191166 17.191166s17.191166-7.674628 17.191166-17.191166L454.696113 457.817128l188.693515 0c9.516538 0 17.191166-7.674628 17.191166-17.191166S652.803837 423.537124 643.389627 423.537124z" p-id="1404"></path><path d="M1015.762566 994.734086 758.7137 737.68522C830.855201 659.608674 874.958729 555.336065 874.958729 440.72829 874.958729 199.131008 679.102228 3.274508 437.504947 3.274508S0.051164 199.131008 0.051164 440.72829s195.8565 437.453782 437.453782 437.453782c114.607775 0 218.982712-44.103528 296.95693-116.245028l257.048866 257.048866c6.651344 6.651344 17.60048 6.651344 24.251824 0C1022.516239 1012.232237 1022.516239 1001.38543 1015.762566 994.734086zM437.504947 843.79974c-222.666533 0-403.173778-180.507245-403.173778-403.173778s180.507245-403.173778 403.173778-403.173778 403.173778 180.507245 403.173778 403.173778S660.17148 843.79974 437.504947 843.79974z" p-id="1405"></path></svg>',zoomin:'<svg t="1750819767199" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1558" width="200" height="200"><path d="M645.410613 421.592885 232.310982 421.592885c-9.516538 0-17.191166 7.674628-17.191166 17.191166 0 9.516538 7.674628 17.191166 17.191166 17.191166l412.997302 0c9.516538 0 17.191166-7.674628 17.191166-17.191166C662.601779 429.369841 654.824823 421.592885 645.410613 421.592885z" p-id="1559"></path><path d="M1018.909164 994.529429l-257.867493-257.867493c72.346158-78.281203 116.552014-182.860797 116.552014-297.877885C877.696013 196.470471 681.225542 0 438.809633 0S0.025582 196.470471 0.025582 438.784051s196.470471 438.784051 438.784051 438.784051c115.017088 0 219.596682-44.205856 297.877885-116.552014l257.867493 257.867493c6.753672 6.753672 17.60048 6.753672 24.354152 0C1025.662836 1012.129909 1025.662836 1001.283102 1018.909164 994.529429zM438.809633 843.288098c-223.382832 0-404.401719-181.018887-404.401719-404.401719S215.52913 34.382332 438.809633 34.382332s404.401719 181.018887 404.401719 404.401719S662.192465 843.288098 438.809633 843.288098z" p-id="1560"></path></svg>',restore:'<svg t="1750819883686" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1713" width="200" height="200"><path d="M0 50.959528l0 921.978615 1024.409313 0 0-921.978615L0 50.959528zM990.231638 938.862796 34.075347 938.862796 34.075347 85.137204l956.156291 0L990.231638 938.862796z" p-id="1714"></path><path d="M290.203258 768.076746c9.41421 0 17.088838-7.674628 17.088838-17.088838L307.292096 272.909763c0-9.41421-7.674628-17.088838-17.088838-17.088838-9.41421 0-17.088838 7.674628-17.088838 17.088838l0 478.078145C273.11442 760.504447 280.789048 768.076746 290.203258 768.076746z" p-id="1715"></path><path d="M495.064655 460.784651 529.24233 460.784651c9.41421 0 17.088838-7.674628 17.088838-17.088838 0-9.41421-7.674628-17.088838-17.088838-17.088838l-34.177676 0c-9.41421 0-17.088838 7.674628-17.088838 17.088838C477.975817 453.110023 485.650445 460.784651 495.064655 460.784651z" p-id="1716"></path><path d="M495.064655 597.393025 529.24233 597.393025c9.41421 0 17.088838-7.674628 17.088838-17.088838s-7.674628-17.088838-17.088838-17.088838l-34.177676 0c-9.41421 0-17.088838 7.674628-17.088838 17.088838S485.650445 597.393025 495.064655 597.393025z" p-id="1717"></path><path d="M734.103727 768.076746c9.41421 0 17.088838-7.674628 17.088838-17.088838L751.192565 272.909763c0-9.41421-7.674628-17.088838-17.088838-17.088838s-17.088838 7.674628-17.088838 17.088838l0 478.078145C717.01489 760.504447 724.689517 768.076746 734.103727 768.076746z" p-id="1718"></path></svg>',newPage:'<svg t="1751333147233" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1568" width="200" height="200"><path d="M914.181742 251.621027L672.174208 10.295205A34.085568 34.085568 0 0 0 645.587465 0.069535H134.303944a34.085568 34.085568 0 0 0-34.085569 34.085568v954.395906a34.085568 34.085568 0 0 0 34.085569 34.085568h755.336188a34.085568 34.085568 0 0 0 34.085569-34.085568V272.754079a34.085568 34.085568 0 0 0-9.543959-21.133052z m-92.712746 3.408557H666.720517V100.962816zM168.389512 954.465441V68.240671h430.159869v220.874481a34.085568 34.085568 0 0 0 34.085568 34.085568h222.919615V954.465441z" fill="#666666" p-id="1569"></path><path d="M713.758601 545.438624H548.10274V379.782763a34.085568 34.085568 0 0 0-68.171136 0V545.438624H304.731784a34.085568 34.085568 0 0 0-34.085568 34.085568 33.403857 33.403857 0 0 0 4.771979 16.361073 34.085568 34.085568 0 0 0 31.358723 21.133052h170.427841v170.42784a34.085568 34.085568 0 1 0 68.171136 0V618.38174h170.42784a34.085568 34.085568 0 0 0 34.085568-34.085568 33.403857 33.403857 0 0 0-4.771979-16.361073A34.085568 34.085568 0 0 0 713.758601 545.438624z" fill="#666666" p-id="1570"></path></svg>',folder:'<svg t="1751333431817" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2818" width="200" height="200"><path d="M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2c-1.5-1.4-3.5-2.2-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256z m635.3 512H159l103.3-256h612.4L771.3 768z" p-id="2819"></path></svg>',importSvg:'<svg t="1752543539387" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1256" width="200" height="200"><path d="M111.6 148.8c7.9 0 16.9 17.9 21.6 32.2 25.9 88.7 143 182.6 248.6 194.2v-1.1c0-29.6 10.6-50.7 31.7-64.4 11.1-6.9 22.7-10.6 34.8-10.6 13.7 0 27.4 4.8 39.1 13.7L645.8 438c17.9 13.2 28.5 34.8 28.5 57.5 0 22.2-10.6 43.8-28 57L487.4 678.2c-1.6 1.1-2.6 2.1-4.2 2.6-7.4 4.2-19.5 9.5-34.3 9.5-12.1 0-23.7-3.2-34.3-10-26.4-16.9-30.6-43.8-32.2-55.4l-0.5-2.1c-0.5-1.6-0.5-3.7-0.5-5.3v-5.3c-162.6-26.9-314.1-192.6-314.1-352 0-29.6 4.2-59.6 12.7-88.1 4.2-13.8 18.4-26.5 31.6-23.3z m335.2 467.1c0.5 2.6 1.1 6.9 2.1 8.4l156.2-123.5c1.6-1.1 2.6-3.2 2.6-5.3 0-2.1-0.5-3.7-2.6-5.3L447.8 365.7c0 1.1-0.5 3.2-0.5 7.9v34.8c0 17.4-13.2 31.7-30.6 32.7-104.5 7.4-213.8-61.2-280.3-145.7 22.2 123 154.1 247.5 279.7 254.4 17.4 1.1 31.1 15.3 31.1 32.7v32.7l-0.4 0.7z m0.5-0.5" p-id="1257"></path><path d="M309 916.3c-67 0-121.4-54.9-121.4-121.4V593.2h69.1v201.6c0 29 23.8 52.3 52.3 52.3h527.3c29 0 52.3-23.8 52.3-52.3V226.4c0-29-23.8-52.3-52.3-52.3H399.8v-69.7h436.5c67 0 121.9 54.9 121.9 121.9v567.9c0 67-54.9 121.9-121.9 121.9H309v0.2z m0 0" p-id="1258"></path><path d="M841.6 626H729.1v-59.1h112.4V626z m0 154.1H545.5V721h296.1v59.1z m0-425.4h-237v-59.1h237v59.1z m0 140.9H729.1v-59.1h112.4v59.1z m0-59.1" p-id="1259"></path></svg>',exportSvg:'<svg t="1752543591120" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1408" width="200" height="200"><path d="M394.6 689.8c-13.2 3.2-27.4-9.5-31.7-23.2-8.4-28.5-12.7-58.6-12.7-88.1 0-159.4 151.5-325.1 314.1-352.1v-5.3c0-1.6 0-3.7 0.5-5.3l0.5-2.1c1.6-11.6 5.8-38.5 32.2-55.4 10.6-6.9 22.2-10 34.3-10 14.8 0 26.9 5.3 34.3 9.5 1.6 0.5 2.6 1.6 4.2 2.6L929.2 286c17.4 13.2 28 34.8 28 57 0 22.7-10.6 44.3-28.5 57.5L770.5 525.7c-11.6 9-25.3 13.7-39.1 13.7-12.1 0-23.8-3.7-34.8-10.6-21.1-13.7-31.7-34.8-31.7-64.4v-1.1C559.3 475 442.2 569 416.3 657.6c-4.8 14.3-13.7 32.2-21.7 32.2z m335.7-466.6V256c0 17.4-13.7 31.7-31.1 32.7-125.6 6.9-257.6 131.4-279.7 254.4C486 458.7 595.2 390 699.7 397.4c17.4 1.1 30.6 15.3 30.6 32.7V465c0 4.7 0.5 6.9 0.5 7.9l157.3-124.6c2.1-1.6 2.6-3.2 2.6-5.3 0-2.1-1.1-4.2-2.6-5.3L731.9 214.3c-1.1 1.6-1.6 5.8-2.1 8.4l0.5 0.5z m0 0" p-id="1409"></path><path d="M715.6 916.3H188.3c-67 0-121.9-54.9-121.9-121.9v-568c0-67 54.9-121.9 121.9-121.9h436.5v69.7H188.3c-28.5 0-52.3 23.2-52.3 52.3V795c0 28.5 23.2 52.3 52.3 52.3h527.3c28.5 0 52.3-23.2 52.3-52.3V593.2H837v201.6c0 66.6-54.4 121.5-121.4 121.5z m0 0" p-id="1410"></path><path d="M183 566.9h112.4V626H183v-59.1z m0 154.1h296.1v59.1H183V721z m0-425.4h237v59.1H183v-59.1z m0 140.9h112.4v59.1H183v-59.1z m0 0" p-id="1411"></path></svg>',preview:'<svg t="1752547223697" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3654" width="200" height="200"><path d="M242.526316 215.578947h431.157895v53.894737H242.526316V215.578947z m431.157895 269.473685H242.526316V431.157895h431.157895v53.894737z m323.368421 323.368421c0 88.279579-144.761263 215.578947-323.368421 215.578947s-323.368421-127.353263-323.368422-215.578947a164.055579 164.055579 0 0 1 53.894737-107.789474H242.526316v-53.894737h215.578947v10.778947a388.042105 388.042105 0 0 1 377.263158-28.725894V53.894737H80.842105v862.315789h323.368421v53.894737H26.947368V0h862.31579v658.054737A208.357053 208.357053 0 0 1 997.052632 808.421053z m-134.736843-107.789474H835.368421v-14.928842A356.675368 356.675368 0 0 0 673.684211 646.736842c-148.857263 0-269.473684 91.136-269.473685 161.684211 0 66.182737 120.616421 161.684211 269.473685 161.68421s269.473684-95.501474 269.473684-161.68421a149.989053 149.989053 0 0 0-80.842106-107.789474zM673.684211 916.210526a107.789474 107.789474 0 1 1 107.789473-107.789473 107.789474 107.789474 0 0 1-107.789473 107.789473z m0-161.68421a53.894737 53.894737 0 1 0 53.894736 53.894737 53.894737 53.894737 0 0 0-53.894736-53.894737z" fill="#484D55" p-id="3655"></path></svg>',addSvg:'<svg t="1752651440274" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1603" width="200" height="200"><path d="M768 505.6a6.4 6.4 0 0 1 2.005333 12.458667L768 518.4H256a6.4 6.4 0 0 1-2.005333-12.458667L256 505.6h512z" fill="#292D32" p-id="1604"></path><path d="M512 249.6a6.4 6.4 0 0 1 6.058667 4.394667L518.4 256v512a6.4 6.4 0 0 1-12.458667 2.005333L505.6 768V256a6.4 6.4 0 0 1 6.4-6.4z" fill="#292D32" p-id="1605"></path></svg>'},kr=e.defineComponent({name:"comp-svg-icon",props:{name:{type:String,required:!0},className:{type:String,default:""}},setup(n){return{svgContent:Er[n.name]?.replace(/width="[^"]*"/,"").replace(/height="[^"]*"/,""),svgClass:e.computed(()=>`comp-svg-icon ${n.className}`)}}});function Tr(n,a,o,t,s,c){return e.openBlock(),e.createElementBlock("svg",{innerHTML:n.svgContent,class:e.normalizeClass(n.svgClass)},null,10,["innerHTML"])}const Ar=J(kr,[["render",Tr],["__scopeId","data-v-c17f5289"],["__file","index.vue"]]),bo=[{key:"left",label:"x 坐标"},{key:"top",label:"y 坐标"},{key:"rotate",label:"旋转角度"},{key:"width",label:"宽"},{key:"height",label:"高"},{key:"color",label:"颜色"},{key:"backgroundColor",label:"背景色"},{key:"borderWidth",label:"边框宽度"},{key:"borderStyle",label:"边框风格"},{key:"borderColor",label:"边框颜色"},{key:"borderRadius",label:"边框半径"},{key:"fontSize",label:"字体大小"},{key:"fontWeight",label:"字体粗细"},{key:"lineHeight",label:"行高"},{key:"letterSpacing",label:"字间距"},{key:"textAlign",label:"左右对齐"},{key:"verticalAlign",label:"上下对齐"},{key:"opacity",label:"不透明度"},{key:"isHide",label:"隐藏"},{key:"hAffix",label:"水平设置"},{key:"wdSet",label:"宽度设置"},{key:"wdReserve",label:"宽度铺满预留"},{key:"vAffix",label:"垂直设置"},{key:"htSet",label:"高度设置"},{key:"htReserve",label:"高度铺满预留"},{key:"showDashBorder",label:"显示虚线边框"}],Br=[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"}],Sr=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"}],Fr=[{label:"上对齐",value:"top"},{label:"居中对齐",value:"middle"},{label:"下对齐",value:"bottom"}],Or=[{label:"浮动计算",value:"calc"},{label:"固定左侧",value:"left"},{label:"固定右侧",value:"right"},{label:"固定中间",value:"center"}],Lr=[{label:"浮动计算",value:"calc"},{label:"固定宽度",value:"fixedWd"},{label:"铺满整宽",value:"overspread"}],Pr=[{label:"浮动计算",value:"calc"},{label:"固定顶部",value:"top"},{label:"固定底部",value:"bottom"},{label:"固定中间",value:"middle"}],Rr=[{label:"浮动计算",value:"calc"},{label:"固定高度",value:"fixedHt"},{label:"铺满整高",value:"overspread"}],Mr=["textAlign","borderStyle","verticalAlign","hAffix","wdSet","vAffix","htSet"],zr={textAlign:Br,borderStyle:Sr,verticalAlign:Fr,hAffix:Or,wdSet:Lr,vAffix:Pr,htSet:Rr},Ir=["isHide","showDashBorder"],Ur=Object.assign({name:"VECommonAttr"},{__name:"VECommonAttr",props:["pageId","formSize"],setup(n,{expose:a}){a();const o=n,t=te(o.pageId);let s={};const c=e.computed(()=>t.curComponent),d=e.computed(()=>{if(c.value){const w=Object.keys(c.value.style);return bo.filter(_=>w.includes(_.key))}return[]}),l=e.computed({get:()=>c.value?.collapseName||"",set:w=>{c.value.collapseName=w}}),x={props:o,editorStore:t,get initialStyle(){return s},set initialStyle(w){s=w},curComponent:c,styleKeys:d,activeName:l,setInitial:w=>{s=JSON.parse(JSON.stringify(w))},setFontSize:()=>{const w=c.value.style.fontSize/s.fontSize,_={width:(w*s.width).toFixed(4),height:(w*s.height).toFixed(4),padding:(w*s.padding).toFixed(4)};this.curComponent.style={...c.value.style,..._},t.setShapeStyle(c.value.style),t.recordSnapshot()},onChange:()=>{},copyId:()=>{Se(c.value.id)&&Z("info","复制成功")},updateCompId:()=>{Be.ElMessageBox.confirm("确认更新组件的Id?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{c.value.id=ce(fe.Component)}).catch(()=>{})},isIncludesColor:w=>w.toLowerCase().includes("color"),get ElMessageBox(){return Be.ElMessageBox},get useEditorStore(){return te},computed:e.computed,ref:e.ref,watch:e.watch,get copyToClipboard(){return Se},get generatePrefixID(){return ce},get selectKey(){return Mr},get optionMap(){return zr},get switchKey(){return Ir},get styleData(){return bo},get Refresh(){return sl},get IdPrefix(){return fe},get showMessage(){return Z}};return Object.defineProperty(x,"__isScriptSetup",{enumerable:!1,value:!0}),x}});function jr(n,a,o,t,s,c){const d=e.resolveComponent("el-input"),l=e.resolveComponent("el-form-item"),i=e.resolveComponent("el-button"),f=e.resolveComponent("el-form"),p=e.resolveComponent("el-collapse-item"),h=e.resolveComponent("el-color-picker"),V=e.resolveComponent("el-option"),N=e.resolveComponent("el-select"),x=e.resolveComponent("el-switch"),w=e.resolveComponent("el-input-number"),_=e.resolveComponent("el-collapse");return e.openBlock(),e.createElementBlock("div",{class:"v-common-attr",onMousedown:a[5]||(a[5]=r=>t.setInitial(t.curComponent.style))},[e.createVNode(_,{modelValue:t.activeName,"onUpdate:modelValue":a[4]||(a[4]=r=>t.activeName=r),class:"elCollapse",accordion:"",onChange:t.onChange},{default:e.withCtx(()=>[e.createVNode(p,{title:"通用",name:"baseInfo"},{default:e.withCtx(()=>[e.createVNode(f,{size:o.formSize,"label-width":"100","label-position":"left",style:{padding:"10px"}},{default:e.withCtx(()=>[e.createVNode(l,{label:"组件"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.label,"onUpdate:modelValue":a[0]||(a[0]=r=>t.curComponent.label=r),disabled:"",type:"text",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{label:"组件类型"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.component,"onUpdate:modelValue":a[1]||(a[1]=r=>t.curComponent.component=r),disabled:"",type:"text",class:"common-item"},null,8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{label:"组件ID"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.id,"onUpdate:modelValue":a[2]||(a[2]=r=>t.curComponent.id=r),disabled:"",type:"text",onDblclick:t.copyId,class:"common-item"},{append:e.withCtx(()=>[e.createVNode(i,{icon:t.Refresh,onClick:t.updateCompId},null,8,["icon"])]),_:1},8,["modelValue"])]),_:1}),e.createTextVNode(),e.createVNode(l,{label:"组件名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:t.curComponent.compName,"onUpdate:modelValue":a[3]||(a[3]=r=>t.curComponent.compName=r),type:"text",class:"common-item"},null,8,["modelValue"])]),_:1})]),_:1},8,["size"])]),_:1}),e.createTextVNode(),e.createVNode(p,{title:"通用样式",name:"style"},{default:e.withCtx(()=>[e.createVNode(f,{size:o.formSize,"label-width":"100","label-position":"left",style:{padding:"10px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.styleKeys,({key:r,label:m},g)=>(e.openBlock(),e.createBlock(l,{key:g,label:m},{default:e.withCtx(()=>[t.isIncludesColor(r)?(e.openBlock(),e.createBlock(h,{key:0,modelValue:t.curComponent.style[r],"onUpdate:modelValue":D=>t.curComponent.style[r]=D,"show-alpha":""},null,8,["modelValue","onUpdate:modelValue"])):t.selectKey.includes(r)?(e.openBlock(),e.createBlock(N,{key:1,modelValue:t.curComponent.style[r],"onUpdate:modelValue":D=>t.curComponent.style[r]=D,class:"common-item"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.optionMap[r],D=>(e.openBlock(),e.createBlock(V,{key:D.value,label:D.label,value:D.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):t.switchKey.includes(r)?(e.openBlock(),e.createBlock(x,{key:2,modelValue:t.curComponent.style[r],"onUpdate:modelValue":D=>t.curComponent.style[r]=D},null,8,["modelValue","onUpdate:modelValue"])):(e.openBlock(),e.createBlock(w,{key:3,modelValue:t.curComponent.style[r],"onUpdate:modelValue":D=>t.curComponent.style[r]=D,modelModifiers:{number:!0},type:"number",class:"common-item"},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1032,["label"]))),128))]),_:1},8,["size"])]),_:1}),e.createTextVNode(),e.createVNode(p,{title:"组件属性",name:"attr"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3})]),_:3},8,["modelValue"])],32)}const Kr=[Dr,Nr,Ar,J(Ur,[["render",jr],["__scopeId","data-v-37d48c88"],["__file","VECommonAttr.vue"]]),Ge],tn=n=>{tn.installed||(tn.installed=!0,Kr.forEach(a=>{n.component(a.name,a)}))},Wr={install:tn,useVEStore:Re};we.default=Wr,we.useEditorStore=te,we.useVEStore=Re,Object.defineProperties(we,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|