/*!
 * flipper.js 5.0.7-4 Copyright (c) 2018 LOGOSWARE 
 * licenses ./licenses.txt
 */
!function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){(function(t){var e,n,r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y,b,w,A,x,S,C,P;_=i(13),i(185),i(113),i(112),Vue.use(i(178)),i(125),i(124),v=i(103),P=i(27),l=i(21),c=i(4),f=i(18),p=i(12),h=i(58),m=i(84),u=i(86),e=i(89),s=i(92),a=i(93),n=i(94),r=i(90),o=i(91),x=i(98),y=i(10),b=i(163),A=i(157),S=i(160),w=i(68),C=i(161),i(114),Vue.use(VueTouch),Vue.config.debug=!1,g=i(199),d=i(33),window.flipper=new Vue({el:"#flipper-app",props:["bookpath","imagepath","pageurl","forcedstartpage"],mixins:[e,s,a,n,r,o,x],data:{isDebug:!1,version:"4.4.1",isInitialized:!1,onInitErrorIE9:!1,view:"",bookViewNum:-1,scaleIndex:0,slideViewNum:-1,title:"",dataArray:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],labelArray:[],pageWidth:500,pageHeight:700,startPageSetting:0,maxMagnification:1,pageTotal:1,componentWidth:1e3,componentHeight:1e3,appWidth:1e3,appHeight:1e3,componentTop:0,componentLeft:0,appLeft:0,appTop:0,scale4Transition:1,bookDirection:"",textPointWords:[],searchXmlArray:[],searchResultArray:[],searchResultBeforeAndBehindLength:20,searchWords:[],isAndTextSearch:!0,koguchiMargin:30,effectMargin:80,selectedAreaTop:0,selectedAreaLeft:0,selectedAreaRight:0,selectedAreaBottom:0,selectedAreaIsRightPage:!1,embedCenterX:0,embedCenterY:0,selectedRightPageString:"",selectedLeftPageString:"",selectedAreaForUrlTop:0,selectedAreaForUrlLeft:0,selectedAreaForUrlRight:0,selectedAreaForUrlBottom:0,lastSoundPath:"",isMp3Loading:!1,isMp3Playing:!1,soundInstance:null,mp3ButtonMargin:10,equalizerIcon:i(207),loadingIcon:i(208),startPage:1,isInitAreaVisible:!1,startRectX:0,startRectY:0,startRectW:0,startRectH:0,initAreaScaleIndex:0,initEmbedScale:0,embedStartX:0,embedStartY:0,allowPrint:!1,allowMemo:!1,soPdf:!1,soPdfType:"book",soGA:!1,soGAType:"",soGAId:"",soSearch:!1,soSearchMode:"glyph",soVisualIndex:!1,soVisualIndexStartOpen:!1,soVisualIndexLabel:!0,soTextIndex:!1,soTextIndexStartOpen:!1,soTextIndexTreeOpen:!1,soTextIndexLabel:!0,soFusenIndex:!1,soFusenIndexStartOpen:!1,soFusenIndexLabel:!0,soPageIndicate:!0,soPageIndicateFormat:6,soPageIndicateTotal:-1,soShare:!1,soTextSelect:!1,soScaling:!1,soClickOperationType:"flip",soTwitterTag:"",soContentsPasswordHash:"",soEmbedHtml:!1,scormScoreType:"",scormCheckPageArray:[],soChangeMemoVisible:!1,soWeblio:!1,soMultiplePagesPrint:!1,soHtmlSkinType:"default",soHelp:!1,isLocal:!1,filterdSearchResultArray:[],isSearchLoading:!1,editingFusen:null,debugStrings:"debugString",autoScaleMode:!0,manualScale:1,initScaleForSwipe:1,devicePixelRatio:1,singleTapTime:0,tegakiColorR:255,tegakiColorG:0,tegakiColorB:0,tegakiColorAlpha:1,tegakiFutosa:10,tegakiCompositeOperation:"xor",localStoragePenData:{},localStorageFusenData:{},publishDateString:"",hsLanguage:"ja",hsFlipButtonEnabled:!0,hsMobileCloseButtonType:"default",hsMobileHomepageButtonEnabled:!1,hsMobileHomepageButtonUrl:"",hsMobileHomepageButtonTarget:"_blank",hsFusenBGColors:[],hsTegakiPenColors:[],hsTegakiThicknesses:[],soSNSFaceBook:!0,soSNSTwitter:!0,soSNSMail:!0,soSNSHatena:!0,soSNSGooglePlus:!0,soSNSLinkedIn:!0,soSNSLine:!1,fusenWidth:300,fusenHeight:100,isChirashi:!1,showEvaluationUseOnly:!1,evaluationUseOnlyImage:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnIAAACxCAMAAAB3E6CUAAAAP1BMVEUAAABVVVVUVFRUVFRQUFBUVFRVVVVQUFBUVFRVVVVUVFRVVVVTU1NUVFRVVVVUVFRVVVVVVVVUVFRVVVVVVVWWMphnAAAAFHRSTlMAwIBAEPBgIKAw4NBQsJBwP6+Pbw3gdbgAABTjSURBVHja7JlLstwgDEX5CQz4k9e5+19rgiRDXmWSaQqdibEQmvQpCVe7/4EzhDpfUvYd/jjdIh4NaF95RcrHE/ynOCV79E/iVQgcfULmxBCkUg3hp1PCIFctHpjijI04gDz1Iwi+vg56KC1q6IbyeQsMqPIW1yoA2C4gcMoF4NUKwleSDCY6YyP+UO7BhMS52viFAGha6ph47mwQ2lAWuDV0imnRiYK8wUC5TbldWcqdAK46pisBlNQvepKEqGo6QhlDE8AhXj2udKriVueQGEWAm2LRUi7GG0CSnSPGmJyxEUu5NltRaqJTAKhqyPMiagPTZeRhGpwrRUqwSSRNrwL+jTYgT+VmA5TRa2zGVC6zJ0unxK5E941rOiItSlLzKoaTI0BxWRU+gZZZv6VcN+X2ZSp380Lpw50KdPcddkkpAEkBHOs2GEahG3jEP0l4HL0HAYTQAUp2l9uUqZxfP722n6guLRIANyFAK6APgXSWdlABLp6yeiaxh6Kc8tjnw678i3IQ/FCK3KSpf8s5bmbjVAeS9siHq5R3bINppzPldmUqd+kcfF/yGqwQPK/S3y0v86ae44I3Pw8VM/z48aNpeQCXdDy7y23KVO4BvpxS5M5G2oD8bxob1DVbRfNriVMdomFlBCCpEZNLlePqpty2TOUSLZ282HQDLbm5G9ktqqql5scqmcG9gnWesOrVgUUR5UbsMOW2RZXTi1VIQyYPIKpVxLuxa0vrM0LsVjnQE1cRdwBZXQBIp69nmmwAEH9NuV05wHxxb2M/+ng88w8JkISIZ2ElibTxqNL96DNOSvN7bc06SJ/xYCrQRDlWzdvnw65M5dYaa8JGgtKrmtNnhB3MEG7H3PpNW1TbrrVkebJyOqZNuU15PBPEsIsAtKO4l/Q0jNCTZih3Fu41qXoANB31/haVva9jRns/z3n/OCeB0/uDQ0x1xsaUqHItavwr8l0S+1/eMAzDMAzDMAzDMAzDMIxf7JzrjoMgEEYHREVRa7Pz/s+6l2LotNOAGjZOMudXLx8Sk1MsDKpcGoMfId82H1vGcj3FmLvtVkiURQxypG4aJARjvJ20eCGLCsol2nsHCWQhkbxyHK3XKq0g6ilHtpxDJlKuHI/Rh0yIoYZyFO/gQSZySjlsJ1BkUF859FnlMLgjylE6UERQTznqXCZyP6WcbruTRD3l6ACUi9zOK9fqHioR1FOOypCPnFYOPSgCqKtcSuQj55VDnbZK4H+UGyEf2a/cW/oGyvUh4lAOKgd/uGYZMTGwEUsjtD+OhumGaKtcnxrKRZzHXZG9ykX6dteVdV2Z0DABZfIBEc2Xzkh+kKMcQMCNuSByUDkYCtdJrDHjq5du7ew9IHrazagrzE9IUm7CDVMQOaocePYc+LbULsd25xH9rVtaXWGO1FLO2BfOK5c+HfORlhzT2zeaT8rdipSbY2ZgWhpiXLwrvB91hfnB1WesrE9YENk3Y4VEU6Jcz9kVmGLZgtg/HzeAIlG5klGurnKesWvAByM92AyRoMPcL5KU2/df7rByS4FyjrELPNNsjG+3A+vDoX6Qo1yKzAWRo8q5Fjcm+ISlq8W0YU9/ApY2mkGRopzHXZGDyvWhZF1ujAkHiS7JTtQMVLkFFAnKuZWWFgoiR5RbO5+pPlC7PKfh9HpWX3phJVxdudo1Vp6MHIY5jYYT1W4LwGn6oLfzSFSug3yk5k6SnrNrxgfLazIM8bUWbv+QqFwAyEfOK2cLJg9ULmYUG77Zu9flNmEgCsCry0ogLsbpvv+z1twiAaKa1HHtuOf7lQk7xJM5A4iV5Kq3NKvwjmT12t2HjJpGpZIvdB+yGlscPHiKqhj2PM8YPKxeu8d6cs8sl3yhx5rDns7UmaGpL06y6zDTePbzIudoVCi5O3KhplN9pvNQlR4AW0z6nP24yPEchULJ3ZFTlhLll3K+9GKlZhHGNJKbnxY5bWlSKLkrcsdslDv6V1n0lGWDCOP1yOhHRS5cPEXnJXdGrnH0R+741GYKPTLbiChMCZ68fuRYTXrdeooKJXdFTtFWPRRnygVZnSQOj3HRy0eOsgolX49c2p51aclVbhpDx3zRJx3jepK4gJtqhMhNyMunsAlTp3XFUsUAHdJVy6eejuogFW6qiedErtIb/tGRK09Ez17mLsskctvFzJl95GzILn11az1jkU3BYyOXZx4cuXLDazNPLliaeGmsmV/gdmJo1u4jV0lk4s10Oe6kwar/LURuPYc+tFd7MWTkoqUlL93uwU3FxPEhcjUvx3s0HDIQufkclve7LoUw1hgjjqiTGLmkz2CvImKULNpYo+c8VpSwaLESIXIzyl3mRM01jR0P+l3kGkO1ZhFx1G92azLN+jzopN8NXQkQudluHMA2Rk6Jn5JmT17muXTM+tHqMXBs6MYzD61eDS1j4cMIkYvncLvN5Roea9pQzT/PfK6jGyS1jhg62WGMJG4QueQcYTsl+CKOjBg3jSIqWjSZ/r/LTe60gu3DMhC5GeUuc5a59tqTbm0QTwuT6/93SQrrWLilCG4QufQcuxWFZgmVY3HHrUeCtrSya+aU2dVFDXoQD1Cblc8fzbNELm0LkPlEWecl5b8XP6A9nMOnx28MCyvFU/IiUyml+pZo/8vu4inCgxv8BXtRzOqC6xMAAAAAAAAAAAAAAAAAAAAAAAAAAABAidMJehY7YF+2b6ETr7pjsZIEPYdrRISr/3jVih2GX3oYPN3rL5c2qj8Yk/tukavievh/RiV6SvQqQf+E/2hkEa7tUyJX/PKf94pc/4xtFSShnvr/MEo2gkPkHsxLVNG594yc/ZAD5RG5h9ISMZ17y8jVjWSwQeQeSUnC06l3jFzNktcict+p/nX+AQydesPI1SwnuEbkvsmgryyCyE1skFNsEbnf7J3ZtuIgEEXDPIQk2vL/39rzVXKKQSF26/I89dIEqmBTQMG1uyUDZ1Q1a6MB74cciwWdP8h1aptz1Yh41TLl9XbIbbEo8UHusGpYWzO/G3JSxaL8B7nDqjGq7edO3ww5uyNsmWMq/Y+Q8zzV7zjwVshNhv12NUxFvRdyBjNxMoVu7vZr4Gtvhtw0uZbB9F7IWdifwoZCfJB7gWpeBjmpqMyvST61H+ReoJqXQU7TBvAk9n2Qe4FqXga5BWdQXOGFD3L/fzWvglyCls9Vv74scu6k+Q9dTuZIFk4n/lP6JAcjJ08Xznlwrd6Gn666cchhU55c2VhdrV7nyNpa96w/6wkn8xTkNLvRebrKsqu2r1Omb3O8SlndwgK7FV1x0qbmcva3LfXNgb3JujgpBYpNZPiX/QpvzK77N803/5VdMqOR02d19fGSFA/G+qQNQDY3f7pI1A+9Ic5ftuuyX4LdStAY2QpyAY3C2vSfNoogdakjR9fAM8uPyxxBTMBrlAQWm8js86Uha7yG+45KD0VOe/ARjG2+aamyYFNpkt2zLrFxdiW/JB4k4GKyhpzM5G7E7t6Z5CqSms1A5IyNtL4NQE6jB2eZGJ+0pttDYcchZ+baKegFjM0zb/LTJyMQSTtWx51CyS8W6TPsW390ATk0SpPLg7l4aqzcOOTmmNMse5EjafaO3vdx6vbZNgo5pyJqqhqbYy4AB/TFGgvGCqJflcv7lT7u6QdlDTkO4wA+XpNVAUiZYcitMSvbiZwtGI8mMaPICvqRQ+LwNQlLGGCu3oX4FQNjg44oL2m/MO0iqTXjXN11OPp7tg+1KmY1D0NOxLy2LuTWUvhEk2Yy3rI+5Ip3KVcYHi3MYyUhHwAVGEujzQt+edKckDpSazO1NwqKlmkzoPSw7UPMS8kO5EI5fKJJtEQXckWgAoSmZuZn2kQcw2BToaXRLxy6G2VxqCO3UKFSwks65uW7kUNjUOvjyElVeq0duWUAciaSkjDvUNK12qMrIGfAJlqa9AvHrqXCcvnykgaWqBmOQ0uB9CjktuLgexg5Gwvy7cjFLuRKtsyZoOWZB1uLyJW+E43ILQW/FGU0Sx+LoMKKcCO6Xlxbwq/B/L4epMDGLuSSEc64kL+4twi2ET+VTiV/JbFYKrCswnEotxG50IUcLmS0mCaxLTGuZK5AhSS5QxsghiOnaL9wHiKe4w3ITZ5YxK5Y/xqXLzLgAuCwVLBX3OT+Ts7me7JcrAXANDYDIuc3IXZji3cj56i9oVkDtYpWDpiy45FjQYTdZ4L2CydFHNKiBTlLtBfDCOZE4W/YxCjkgszvuPyDyMkkxhGD1ZGzOpO4smI9yIGBonJeynHIqOHIaWK6D6Rf2JgaLFBTC3KBCKnlBCjivnUjh8IC5d3IoaWGWKNzqu+8JNIr81DkKveQFLWhEGXkWAm5jUBuIVIUkRf8mnH88rS4OnISe9VACABB7DgGuQ0eux+5hVp1egRJQP/gQrAbOVYuTJKpOl+a2kMzcpxAzlANvZB+YQszGJVbDTnkVuwb3zee8oxHDjEIjyEHIEHwkgRyEvp7OHJmAmmyVZbSYo73ILfQsbLglytm+lwbchxz/Ogian46cvxe5LAIR8aGUJqh2GHIncv3kEiv5g7kQulUvRW5ycOgUUmAakFOQDC35eSj/HW1EKamwciZE+fc9iO3kQ8bLBjxxnhoOpDD0qwsnAXNdOzrWMsJtEncj5zdQyxvHKoih36yfQCTe9y09RE1GDlzYVejOpGz9csPSw45LLIXuS3i9bSrJF2QOAw5eT9yIWml1ADdiBzuksihBtnZw5DTV+QHIMfAY1wXYN/pg5AzMdU3mcNnpT8WReTUnchN9yMnCzeaDP0aatth78Bv+CHaA5HTPsaRyHkIZ1CGwr4TxyCHmVgfMuYz/iXbjFw8HDmMUDwJUC3IYfY44CYRLmYfhZwDrHuRwxKwjCciJ0p3k3mkNQY5140cRqikwLUROcz78Nzl6eORCyo+CTn7j5CblsLdZHsXcvXEoYPv+pDDCJXQE9qRs+lMuhAvOBWfgJyO8VnI8X+FnFT5y9/sTuSwgQ1EwOHITXPuFF+2IxfSRxh2kfTxCciFOB4504KceSJyk6OY60BONV7R9KOQW5PFsYC9ZgtyMl0QYuYU24IxPxw5+IMDz5jqRU78L1GuOGMo+ThyLP/1BpaNQE4kGQ1dOZpFYSLO4JZbpyRwB33WhxzFNdO/1qZvM7Gy4n/QwB5HzsKJHm277UcO4+ptHeIe5PitS4I4BMd+G4+cgJ/lOxK5ZSBy6k7kJmkRpYeR43DBgnaS9yOHkLubOqZW5CCBvMGQ0ZAkPQK5hbq9yF4hSQJk1Rtf+JjKN+5YzT3HDzPY3occ8hAmVr+/XhmnfOLg3oLDaDxyElJIg5Crp4L9QOQ8IEdfkJA8pnKQCiZVuUam8ptZ2Y8c1sgnCFA15AAqdv23p3yS9yLnG5HTYOgY5OaGA69O5GzGHklGWFzRYUYUn0fRscwVNqz9yEEZy3f2zm09UhAIws0ZFHWSnfd/1k3ybeKs1UNhMHepyxk52PygSNMkKJkgh1Obec8vKzU3chY504ncCg/va5AzHcv6g8hZbHPMsRJUzaHbLULE5g84exhHDnFxML5CMrrmJWCkDZr9FHJ0jMRXZ3chcrbDeWkEOXzX1X8vZBNxgEgLvap3TIbDX7wQufKA+AFpjhzOSRPwYceQo5ukEbl0IXKRu2i6QeQKjCbqrBjljxdQ3zyay54MI4iMI4e4vFBvTz44W+gv48hhctwgprfsTJErBLlEYxrc/SByAl91cWnL0IkH9rBeLTryK7T9KHKQNaKOyfjgPDfnphkgJcjpW6QcfmsKurMqRS4S5NB7CWcPg8hht8KUtgs5q7DLFWHqi4s58VLkqhL04CxyvjNYxwxdmCFnNXuY9mdQ29j7ABQT5MCTHIe+UeTwHnFdqzDkDDyiX6RXAbZDgo39pcgJ0JL1/+bbQQlfNXe1d/bZ3mV9pwTX2siX94kPH7ssQc4pzZgBwyHkkhLw0gV1EKgV0uEegN2TDsWRn5yIeANEXIgcumDVBo5szRHLcMiM1NCLXDkMwPFWjTaerkrFsl7beKhpfOs9f57zMbUDRCwyjJzM4I8wPbF0vs/Ra2E2Nm01O/odz5rX3mfUnI8mTtcih25m/jxyrhGnFKIDe9vvvCTTncnh64H16Piem/GwdD5wTH2Jt1cofRS5eCdK/1nD2Hi7xVd88qI3nbHvejVT87vJSorPcjFyCUJHnUYO42QWqOWnpsOlBLnMkVN7aiOiX+hGjjv7GRlGjverfGgq1IT9A/Xd81iDvxY5HNftaeTw6RxIH+5HrnLksAI6HC2Kv+tsXC5BLnY2eeQx+oihUNzIm1yOnAUrnkdua0SMnAaQY6lxtzxHzmnoNPgwxATjyInpa/JM7y0Fko+uTGIUXo1cgQHqPHIFeh3pQ9RLodmzJ6yGYcg1G9g1+PCBtMYIcpyUTDtvKI0DKrrO4fLkBIMrkcOXm3weObRGOsyJQSH2+mL5SbNxgGpoYGSjvqKWc8hJCaQ1BpHDIvRCEiGO5GSEMEeJG0aOH+PEkdPzmNj9hOI4crsN0cYGq1HRxs8CssUe5GgzLl5GkeOkZM9e+YLrpVca8kbH1MuPIFf16QlHjh94pzMXihb40NwZIHvqRalGCWCuDXPELDly4g25/WHkJBlu4wb46L+JKtLSSoq/FDkPz9XzyPmmd5dfwUqB+9Xr7oj5EEna6pv1wwbxOCBLglwr8kROci1yWAQWUhYAzqn45qCwGb0IgR6K/ynk0lNaTEtRHpXNLi+g8mmFkMvxNMlVPn/ZdYjY9ElI+GeGqlcjLl/RodNHwuenXbq8U2fWJPRwzLp8teO0Jrg/TMuyRLn8QN28JQH5uL+fTst+BaiuD1mZZXPSofSQaLaQObSRysna+E3rikF+Tq5a65x8T+k9dSzC5F200eF1+rUfkm6Vaq3dnJcR8fq/qbqmLd5UhKvo98fLj05+SDjXy/KrX/1t715yEIhBAICa0Tqdxs+G+5/VRDfWJu5g9d4ZCIFAIN02VZiQbZ/ufUKq9ekvZFqv4UK2n6vhkOvSQ5Kj0DEiVHKkm09Ga1ep0tsy2oZMfdngg1S3ZRcPcrX40oy6SNd1q9Q6iziKDRFHrYc6jlpHvN31qlQZn5eeUOUZbZPiKLRfT3+9AKJz6N/0gO17AAAAAElFTkSuQmCC",isIE9:!1,error:null,linkPopupText:"",isBendFlipMode:!0,clickedExtensionLink:null,isCordova:!1,isPreview:!1,isSlice:!1,fixedCarouselEffectPadding:-1,fb:"facebook",gl:"google",areaCanvasVisible:!1,areaCanvasType:"url"},computed:{isPageOver720:function(){return this.pageWidth>720||this.pageHeight>720},isLandscape:function(){return this.componentWidth>this.componentHeight},tegakiIro:function(){return"rgba("+this.tegakiColorR+", "+this.tegakiColorG+", "+this.tegakiColorB+", "+this.tegakiColorAlpha+")"},tegakiIroEraser:function(){return"rgba(255, 255, 255, 1)"},noCacheParam:function(){return this.isLocal?new Date/1e3|0:this.publishDateString},pageIndicateValue:function(){switch(parseInt(this.soPageIndicateFormat,10)){case 0:return this.activePageLabel+"/"+this.pageTotalForPageIndicate;case 1:return this.activePage+"/"+this.pageTotalForPageIndicate;case 2:return this.activePageLabel;case 3:return this.activePage;case 4:return"slide"===this.view?this.activePageLabel:0===this.activeLeftPage?this.activeRightPageLabel:0===this.activeRightPage?this.activeLeftPageLabel:this.activeLeftPageLabel+"-"+this.activeRightPageLabel;case 5:return"slide"===this.view?this.activePage:0===this.activeLeftPage?this.activeRightPage:0===this.activeRightPage?this.activeLeftPage:this.activeLeftPage+"-"+this.activeRightPage;case 6:return""}},pageTotalForPageIndicate:function(){return Number(this.soPageIndicateTotal)!==-1?this.soPageIndicateTotal:this.pageTotal},bookViewLength:function(){return t.ceil((this.pageTotal+this.startPageSetting)/2)},componentCenter:function(){return t.round(this.componentWidth/2)},componentMiddle:function(){return t.round(this.componentHeight/2)},componentCenterGlobal:function(){return this.componentLeft+this.componentCenter},componentMiddleGlobal:function(){return this.componentTop+this.componentMiddle},scale:function(){return this.autoScaleMode?this.scaleIndex<this.scaleArray.length?this.scaleArray[this.scaleIndex]:this.scaleArray[this.scaleArray.length-1]:Math.min(this.manualScale)},tmpScaleXForCarousel:function(){return this.soScaling?t.round((this.componentWidth-this.koguchiMargin)/2/this.pageWidth,2):1},tmpScaleYForCarousel:function(){var e;return e=t.round((this.componentHeight-0)/this.pageHeight,2),this.effectMargin=Math.min(100*e,80),this.fixedCarouselEffectPadding>-1&&(this.effectMargin=this.fixedCarouselEffectPadding),this.soScaling?t.round((this.componentHeight-this.effectMargin)/this.pageHeight,2):1},tmpScaleXForSlide:function(){return this.soScaling?t.round((this.componentWidth-5)/this.pageWidth,2):1},tmpScaleYForSlide:function(){return this.soScaling?t.round((this.componentHeight-5)/this.pageHeight,2):1},baseScale:function(){switch(this.view){case m.CAROUSEL:return Math.min(this.tmpScaleXForCarousel,this.tmpScaleYForCarousel);case m.SLIDE:return Math.min(this.tmpScaleXForSlide,this.tmpScaleYForSlide);default:return 1}},scaleArray:function(){var t,e,i;for(t=[],e=this.baseScale,i=100,t.push(Math.round(e*i)/i);e<this.maxMagnification;)e*=2,e>this.maxMagnification&&(e=this.maxMagnification),t.push(Math.round(e*i)/i);return t},activeLeftPage:function(){return"r2l"===this.$root.bookDirection?2*Math.abs(this.$root.bookViewNum)+Math.abs(this.$root.startPageSetting-1):this.activeRightPage+1<=this.$root.pageTotal?this.activeRightPage+1:0},activeRightPage:function(){return"r2l"===this.$root.bookDirection?this.activeLeftPage+1<=this.$root.pageTotal?this.activeLeftPage+1:0:2*Math.abs(this.$root.bookViewNum)+Math.abs(this.$root.startPageSetting-1)},activePage:function(){switch(this.view){case m.CAROUSEL:return this.isInitialized?Math.max(this.activeLeftPage,this.activeRightPage):0;case m.SLIDE:return this.isInitialized?this.slideViewNum+1:0}},activePageLabel:function(){return this.labelArray[this.activePage-1]},activePageId:function(){return this.dataArray[this.activePage-1]},activeLeftPageLabel:function(){return this.labelArray[this.activeLeftPage-1]},activeRightPageLabel:function(){return this.labelArray[this.activeRightPage-1]},activeLeftPageId:function(){return this.dataArray[this.activeLeftPage-1]},activeRightPageId:function(){return this.dataArray[this.activeRightPage-1]},activeLeftLeftPageId:function(){var t,e;return t="r2l"===this.$root.bookDirection?-1:1,e=this.dataArray[this.activeLeftPage-1+t],"l2r"===this.$root.bookDirection&&0===this.activeLeftPage&&(e=0),e},activeRightRightPageId:function(){var t,e;return t="r2l"===this.$root.bookDirection?1:-1,e=this.dataArray[this.activeRightPage-1+t],"r2l"===this.$root.bookDirection&&0===this.activeRightPage&&(e=0),e},selectedAreaWidth:function(){return this.selectedAreaRight-this.selectedAreaLeft},selectedAreaHeight:function(){return this.selectedAreaBottom-this.selectedAreaTop},selectedAreaForUrlWidth:function(){return this.selectedAreaForUrlRight-this.selectedAreaForUrlLeft},selectedAreaForUrlHeight:function(){return this.selectedAreaForUrlBottom-this.selectedAreaForUrlTop},shareUrlForTwitter:function(){var t,e,i,n,r;return i=this.selectedAreaUrl.replace(/index.html#/,"expand.html#"),e=i.split("#")[0],n=this.selectedAreaForUrlLeft+"_"+this.selectedAreaForUrlTop+"_"+this.selectedAreaForUrlWidth+"_"+this.selectedAreaForUrlHeight,t=e+"#tco="+this.activePage+"_"+n+"_0xff0000_"+this.scaleIndex,r="",""!==this.soTwitterTag&&(r="&hashtags="+encodeURIComponent(this.soTwitterTag)),"https://twitter.com/intent/tweet?url="+encodeURIComponent(t)+r},shareUrlForMail:function(){var t;return t="mailto:?body="+encodeURIComponent(this.selectedAreaUrl)},shareUrlForLine:function(){return"http://line.me/R/msg/text/?"+encodeURIComponent(this.selectedAreaUrl)},selectedAreaUrl:function(){var t;return t=this.bookUrl()+"index.html",t+"#page="+this.activePage+"&rect="+this.selectedAreaForUrlLeft+"_"+this.selectedAreaForUrlTop+"_"+this.selectedAreaForUrlWidth+"_"+this.selectedAreaForUrlHeight+"&color=0xff0000&scaleIndex="+this.scaleIndex},selectedShareIframeTag:function(){var e,i,n,r,o,s;if(o=this.$refs.view?this.$refs.view.translateX:0,s=this.$refs.view?this.$refs.view.translateY:0,n=.5,r=0,this.$refs.view)try{n=this.$refs.view.global2PercentX(this.componentCenterGlobal),r=this.$refs.view.global2PercentY(this.componentMiddleGlobal)}catch(t){}switch(this.view){case m.CAROUSEL:this.embedCenterX=t.floor(n*this.pageWidth*2),this.embedCenterY=t.floor(r*this.pageHeight+this.pageHeight/2);break;case m.SLIDE:this.embedCenterX=t.floor(n*this.pageWidth),this.embedCenterY=t.floor(r*this.pageHeight),h.isRightPageNum(this.activePage)&&(this.embedCenterX+=this.pageWidth)}return e=this.bookUrl()+"embedskin/index.html",i=e+"?page="+this.activePage+"&initEmbedSkin="+this.embedCenterX+"_"+this.embedCenterY+"_"+this.scaleIndex,'<iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'+i+'"></iframe>'},enableFlipL:function(){switch(this.view){case m.CAROUSEL:return"r2l"===this.$root.bookDirection?this.bookViewNum>0:this.bookViewNum<this.bookViewLength-1;case m.SLIDE:return"r2l"===this.$root.bookDirection?this.slideViewNum>0:this.slideViewNum<this.pageTotal-1}},enableFlipR:function(){switch(this.view){case m.CAROUSEL:return"r2l"===this.$root.bookDirection?this.bookViewNum<this.bookViewLength-1:this.bookViewNum>0;case m.SLIDE:return"r2l"===this.$root.bookDirection?this.slideViewNum<this.pageTotal-1:this.slideViewNum>0}}},components:{carousel:i(104),slide:i(105)},methods:{onClickAnywhere:function(t){if(this.isInitAreaVisible)return this.isInitAreaVisible=!1},bookUrl:function(){var t,e;return e=location.protocol+"//"+window.location.host+location.pathname,t=e.split("/").pop().toLocaleLowerCase().indexOf(".html")?e.substring(0,e.lastIndexOf("/"))+"/":e},measureDeviceRect:function(){return this.fitScreenSize()},fitScreenSize:function(){var t,e,i;i=!1;try{t=document.getElementById("flipper-component"),this.componentWidth!==t.clientWidth&&(i=!0),this.componentHeight!==t.clientHeight&&(i=!0),this.appWidth!==this.$el.clientWidth&&(i=!0),this.appHeight!==this.$el.clientHeight&&(i=!0),this.$set("componentWidth",t.clientWidth),this.$set("componentHeight",t.clientHeight),this.$set("appWidth",this.$el.clientWidth),this.$set("appHeight",this.$el.clientHeight),this.$set("componentTop",t.getBoundingClientRect().top),this.$set("componentLeft",t.getBoundingClientRect().left),this.$set("appLeft",this.$el.getBoundingClientRect().left),this.$set("appTop",this.$el.getBoundingClientRect().top),t.style.minHeight="150px"}catch(t){e=t}if(i&&this.$broadcast("fitScreenSize"),this.scaleIndex>this.scaleArray.length-1)return this.scaleIndex=this.scaleArray.length-1},createSearchResultArray:function(t){var e,i,n,r,o,s,a,h,u,c,l,p,f,d,v,m,_,y,b,w,A,x,S,C,P,T,k,E;for(this.isSearchLoading=!1,this.searchResultArray=[],C=Array.apply(null,Array(this.pageTotal)).map(Number.prototype.valueOf,0),a=0,p=t.length;a<p;a++)for(E=t[a],b=this.searchXmlArray,s=h=0,f=b.length;h<f;s=++h)S=b[s],r=g.zenkaku2hankakuWord(E),A=RegExp(r,"gi"),A.test(g.zenkaku2hankaku(S.text))&&(o=Number(S.page)-1,C[o]+=1);for(u=0,d=t.length;u<d;u++)for(E=t[u],w=this.searchXmlArray,s=m=0,v=w.length;m<v;s=++m)if(S=w[s],!(this.isAndTextSearch&&C[Number(S.page)-1]<t.length))for(r=g.zenkaku2hankakuWord(E),A=RegExp(r,"gi");x=A.exec(g.zenkaku2hankaku(S.text));)x.index<this.searchResultBeforeAndBehindLength?(T=0,n=x.index):(T=x.index-this.searchResultBeforeAndBehindLength,n=this.searchResultBeforeAndBehindLength),_=(E.match(/\\/g)||[]).length,P=(E.match(/\\\\/g)||[]).length,l=E.length-_===0?_/2:E.length-(_-P),e=S.text.substr(T,n),k=S.text.substr(x.index,l),i=S.text.substr(x.index+l,this.searchResultBeforeAndBehindLength),c=this.labelArray[S.page-1],y=S.page,this.searchResultArray.push({label:c,page:y,index:x.index,text:k,before:e,behind:i});return this.searchResultArray.sort(function(t,e){return t.page<e.page?-1:t.page>e.page?1:0}),this.filterdSearchResultArray=this.searchResultArray.filter(function(t){return function(t,e){return e<100}}(this))},onLoadMp3:function(){return this.isMp3Loading=!1,this.isMp3Playing=!0,this.soundInstance=createjs.Sound.play("mp3link"),this.soundInstance.on("complete",this.onCompleteMp3)},onCompleteMp3:function(t){return this.isMp3Playing=!1},stopPlayingMp3:function(){return createjs.Sound.stop(),this.isMp3Playing=!1}},created:function(){return this.onHashChange=function(t){return function(e){var i,n,r,o,s;return c.force=v.isFLConsole(),v.checkRect()&&(t.isInitAreaVisible=!0,o=v.getRect(),t.startRectX=o[0],t.startRectY=o[1],t.startRectW=o[2],t.startRectH=o[3],"slide"===t.view)?void(v.checkPage()&&(s=v.getPage(),n=0,i=t.startRectX+t.startRectW/2>t.pageWidth,i&&(t.startRectX-=h.pageWidth,h.isRightPageNum(s)||(n="r2l"===t.bookDirection?1:-1)),i||h.isRightPageNum(s)&&(n="r2l"===t.bookDirection?-1:1),t.$broadcast("gotoTargetPage1",s+n),t.startRectX+t.startRectW>t.pageWidth&&(t.startRectW=t.pageWidth-t.startRectX),t.startRectX<0&&(r=t.startRectX,t.startRectX=0,t.startRectW+=r))):v.checkPage()?t.$broadcast("gotoTargetPage1",v.getPage()):void 0}}(this),c.production="release",this.isLocal=v.isLocal(),this.xmlParser=new P.Parser({explicitArray:!1,explicitCharkey:!0}),this.searchXmlParser=new P.Parser,this.$on("browserPrivateMode",function(t){return null==t&&(t=!0),p.enable=!t,f.enable=!t}),this.$on("areaCanvas",function(t,e){return this.areaCanvasVisible=e,this.areaCanvasType=t,this.$broadcast("areaCanvas",e,t)}),this.$on("hammer",function(t){return this.$broadcast("hammer",t)}),this.$on("clearLocalStorage",function(){return this.$broadcast("fusenClearCurrentPage"),this.$broadcast("tegakiClearCurrentPage"),p.clearLocalStorage(),f.clearLocalStorage()}),this.$on("searchHighlight",function(t){return this.textPointWords=t,0===t.length?this.$broadcast("searchHighlightOff"):""===t[0]?(this.textPointWords=[],this.$broadcast("searchHighlightOff")):this.$broadcast("searchHighlightOn")}),this.$on("searchText",function(t){var e;if(this.searchWords=t,e=t.join(" "),0!==e.length&&""!==e[0])return l.send(l.ts,this.bookID,e,1),0!==this.searchXmlArray.length?this.createSearchResultArray(t):this.isSearchLoading===!1?(this.isSearchLoading=!0,this.$http.get(this.bookpath+"search.xml",{c:this.$root.noCacheParam},function(e,i,n){return this.searchXmlParser.parseString(e,function(e){return function(i,n){var r,o,s,a,h;for(a=n.searchtext.text,r=0,o=a.length;r<o;r++)h=a[r],s=h._?h._:"",e.searchXmlArray.push({page:parseInt(h.$.page,10),text:s});return e.createSearchResultArray(t)}}(this))})):void 0}),this.$on("intersectChars",function(){return this.$broadcast("intersectChars")}),this.$on("fitScreenSize",function(){return this.fitScreenSize()}),this.$on("sendVisualIndexLog",function(t){return l.send(l.vi,this.bookID,t,1)}),this.$on("sendTextIndexLog",function(t){return l.send(l.ti,this.bookID,t,1)}),this.$on("refreshCheckmark",function(t){return this.scormCheckPageArray=t.split(",")}),this.$on("stopPlayingMp3",function(t){return function(){return t.stopPlayingMp3()}}(this)),setInterval(function(t){return function(){return t.measureDeviceRect()}}(this),1e3)},events:{flipStop:function(t){var e;return null!=(e=this.soundInstance)&&e.stop(),this.isMp3Loading=this.isMp3Playing=!1,(null!=t?t.isInit:void 0)&&(this.isInitialized=!0),"false"===this.pageurl?this.isInitAreaVisible=!1:y.not.ie(9)?history.pushState(null,null,"#page="+this.activePage):void 0},onClickMp3:function(t){var e;return e=this.$root.bookpath+"mp3/"+t.target.link.linkUrl,this.$root.lastSoundPath===e?(createjs.Sound.stop(),this.isMp3Playing=this.isMp3Loading=!1,this.onLoadMp3()):(this.isMp3Loading=!0,this.isMp3Playing=!1,createjs.Sound.removeSound("mp3link"),this.$root.lastSoundPath=e,createjs.Sound.addEventListener("fileload",this.onLoadMp3),createjs.Sound.registerSound(e,"mp3link"))},linkMouseOver:function(t,e){return this.linkPopupText=String(e)},linkMouseOut:function(t){return this.linkPopupText=""},onClickExtensionLink:function(t){return this.clickedExtensionLink={key:t.key[0],url:t.linkUrl[0]}}},ready:function(){return this.decryptByDES=function(t){return function(t,e){var i,n;return n=A.parse(e),i=b.decrypt({ciphertext:w.parse(t)},n,{mode:S,padding:C}),i.toString(A)}}(this),document.body.addEventListener("mousedown",this.onClickAnywhere,!0),document.body.addEventListener("touchstart",this.onClickAnywhere,!0),this.loadLWConfigJSONFile=function(t){return function(){return new d(function(e,i){return t.$http.get(t.bookpath+"lwConfig.json",{c:new Date/1e3|0},function(i,n,r){return t.isOnLibra=i.libra_connect,t.libraApiUrl=i.libra_api_base_url,"/"!==t.libraApiUrl.slice(-1)&&(t.libraApiUrl+="/"),"plate"===i.force_flipmode&&(t.isBendFlipMode=!1),"bend"===i.force_flipmode&&(t.isBendFlipMode=!0),i.cordova===!0&&(t.isCordova=!0),i.carousel_effect_padding>-1&&(t.fixedCarouselEffectPadding=i.carousel_effect_padding),e()}).error(function(t,i,n){return e()})})}}(this),this.loadLWLibraJSONFile=function(t){return function(){return new d(function(e,i){return t.$http.get(t.bookpath+"lwlibra.json",{c:new Date/1e3|0},function(i,n,r){return t.isOnLibra=i.connect,t.libraApiUrl=i.api_base_url,"/"!==t.libraApiUrl.slice(-1)&&(t.libraApiUrl+="/"),e()}).error(function(t,i,n){return e()})})}}(this),this.loadBookXmlFile=function(t){return function(){return new d(function(e,i){return t.$http.get(t.bookpath+"book.xml",{c:new Date/1e3|0},function(n,r,o){return t.isPreview||t.isCordova||"file:"!==location.protocol?e(n):i()}).error(function(t,e,n){return i()})})}}(this),this.parseBookXml=function(t){return function(e){return new d(function(i,n){return t.xmlParser.parseString(e,function(r,o){var s,a,c;return h.init(o),t.publishDate=o.setting.publishDate._,t.publishDateString=String(t.publishDate).replace(/\/|:|\+|\s/g,""),t.bookID=h.bookID,t.title=h.title,t.dataArray=h.dataArray,t.labelArray=h.labelArray,t.bookDirection=h.bookDirection,t.pageWidth=h.pageWidth,t.pageHeight=h.pageHeight,t.sliceWidth=parseInt(o.setting.bookInformation.sliceWidth._,10),t.sliceHeight=parseInt(o.setting.bookInformation.sliceHeight._,10),t.startPageSetting=h.startPageSetting,s=parseInt(o.setting.bookInformation.maxMagnification._,10),t.maxMagnification=u.getMaxmagnification(s),t.devicePixelRatio=u.getDeviceRatio(),t.pageTotal=parseInt(o.setting.bookInformation.total._,10),t.labelDisplay="true"===o.setting.bookInformation.labelDisplay._,t.shadowDisplay="true"===o.setting.bookInformation.shadowDisplay._,t.thicknessDisplay="true"===o.setting.bookInformation.thicknessDisplay._,t.speed=Number(o.setting.bookInformation.speed._),t.speed<.2&&(t.isBendFlipMode=!1),t.sound="true"===o.setting.bookInformation.sound._,t.allowPrint=h.allowPrint,t.allowMemo=h.allowMemo,c=o.setting.makeroption.scormScoreType._,a=t.decryptByDES(o.setting.keycode._,String.fromCharCode(70)+t.gl.toUpperCase().substr(4,1)+t.fb.toUpperCase().substr(0,1)+String.fromCharCode(76)+String.fromCharCode(70)+t.gl.toUpperCase().substr(4,1)+t.fb.toUpperCase().substr(0,1)+String.fromCharCode(76)),t.xmlParser.parseString(a,function(r,o){return t.isChirashi="true"===o.BookKey.book.isChirashi._,t.showEvaluationUseOnly="true"===o.BookKey.book.isTrial._||"sample"===o.BookKey.book.bookType._,t.makerVersion=o.BookKey.maker.version._,t.makerPlan=o.BookKey.maker.plan._,t.makerGrade=o.BookKey.maker.grade._,t.isPreview?i(e):"sm"===t.makerPlan?v.isOnlineStorageWhiteUrl()?i(e):n("onlinestorage"):"lm"!==t.makerPlan&&"ly"!==t.makerPlan&&"lp"!==t.makerPlan||"libra"!==c?i(e):t.isLocal?i(e):t.$http.get(location.protocol+"//"+location.host+"/settings/config.json",{c:t.noCacheParam},function(t,n,r){return i(e)}).error(function(t,e,i){return n("suitemidium")})})})})}}(this),this.loadSkinOptionXmlFile=function(t){return function(){return new d(function(e,i){return t.$http.get(t.bookpath+"skinoption.xml",{c:t.noCacheParam},function(t,i,n){return e(t)}).error(function(t,e,n){return i()})})}}(this),this.parseSkinOptionXml=function(t){return function(e){return new d(function(i,n){return t.xmlParser.parseString(e,function(n,r){var o;t.soPdfType=r.setting.skinOption.pdf.$.type,t.soPdf="true"===r.setting.skinOption.pdf.$.visible,t.soGA="true"===r.setting.skinOption.googleAnalytics.$.visible,"vl"===t.makerGrade&&(t.soGA=!1),t.soGAType=r.setting.skinOption.googleAnalytics.$.type,t.soGAId=r.setting.skinOption.googleAnalytics.$.key,t.soEmbedHtml="true"===r.setting.skinOption.embedHtml.$.visible,t.soSearch="true"===r.setting.skinOption.textSearch.$.visible,t.soSearchMode=r.setting.skinOption.textSearch.$.mode,t.soVisualIndex="true"===r.setting.skinOption.visualIndex.$.visible,t.soVisualIndexStartOpen="open"===r.setting.skinOption.visualIndex.$.init,t.soVisualIndexLabel="none"!==r.setting.skinOption.visualIndex.$.label,t.soTextIndex="true"===r.setting.skinOption.textIndex.$.visible,t.soTextIndexStartOpen="open"===r.setting.skinOption.textIndex.$.init,t.soTextIndexTreeOpen="true"===r.setting.skinOption.textIndex.$.treeOpen,t.soTextIndexLabel="none"!==r.setting.skinOption.textIndex.$.label,t.soFusenIndex="true"===r.setting.skinOption.fusenIndex.$.visible,t.soFusenIndexStartOpen="open"===r.setting.skinOption.fusenIndex.$.init,t.soFusenIndexLabel="none"!==r.setting.skinOption.fusenIndex.$.label,t.soPageIndicate="true"===r.setting.skinOption.pageIndicate.$.visible,t.soPageIndicateFormat=r.setting.skinOption.pageIndicate.$.format,t.soPageIndicateTotal=r.setting.skinOption.pageIndicate.$.total,t.soShare="true"===r.setting.skinOption.url.$.visible,t.soTextSelect="true"===r.setting.skinOption.textRectangularSelect.$.visible,t.soScaling="true"===r.setting.skinOption.dynamicSizing.$.visible,_()||(t.soScaling=!0),t.soClickOperationType=r.setting.skinOption.dynamicSizing.$.type,t.soTwitterTag=r.setting.skinOption.twitter.$.tags,t.soContentsPasswordHash=null!=(o=r.setting.skinOption.contentPasswordHash)?o.$:void 0,t.soSNSTwitter="true"===r.setting.skinOption.sns.twitter.$.visible,t.soSNSMail="true"===r.setting.skinOption.sns.mail.$.visible;try{t.soSNSLine="true"===r.setting.skinOption.sns.line.$.visible}catch(t){}_()&&(t.soSNSLine=!1);try{t.soChangeMemoVisible="true"===r.setting.skinOption.changeMemoVisible.$.visible}catch(t){}try{t.soWeblio="true"===r.setting.skinOption.weblio.$.visible&&t.soTextSelect}catch(t){}try{t.soMultiplePagesPrint="true"===r.setting.skinOption.printOption.$.multiplePagesPrint}catch(t){}try{t.soHtmlSkinType=r.setting.skinOption.$.htmlSkinType}catch(t){}return t.soHelp="true"===r.setting.skinOption.help.$.visible,i(e)})})}}(this),this.loadHtml5SettingXmlFile=function(t){return function(){return new d(function(e,i){return t.$http.get(t.bookpath+"html5setting.xml",{c:t.noCacheParam},function(t,i,n){return e(t)}).error(function(t,e,n){return i()})})}}(this),this.parseHtml5SettingXml=function(e){return function(i){return new d(function(n,r){return e.xmlParser.parseString(i,function(r,o){try{e.hsLanguage=o.setting.html5setting.language._}catch(t){}try{e.hsFlipButtonEnabled="true"===o.setting.html5setting.flipButton.$.enabled}catch(t){}try{e.hsMobileCloseButtonType=o.setting.html5setting.mobile.closeButton.$.type}catch(t){}try{e.hsMobileHomepageButtonEnabled="true"===o.setting.html5setting.mobile.homepageButton.$.enabled}catch(t){}try{e.hsMobileHomepageButtonUrl=o.setting.html5setting.mobile.homepageButton.url._}catch(t){}try{e.hsMobileHomepageButtonTarget=o.setting.html5setting.mobile.homepageButton.$.target}catch(t){}try{t(o.setting.html5setting.fusen.bgColor.color).forEach(function(t){return e.hsFusenBGColors.push(t._);
})}catch(t){}try{t(o.setting.html5setting.tegaki.penColor.color).forEach(function(t){return e.hsTegakiPenColors.push(t._)})}catch(t){}try{t(o.setting.html5setting.tegaki.penThickness.thickness).forEach(function(t){return e.hsTegakiThicknesses.push({thickness:t._})})}catch(t){}try{t(o.setting.html5setting.tegaki.penThicknessClass.class).forEach(function(t,i){return e.hsTegakiThicknesses[i].thicknessType=t._})}catch(t){}return n(i)})})}}(this),this.initFlipper=function(e){return function(){return new d(function(i,n){var r,o,s,a,h,u;return y.ie()&&y.ie(9)?(e.isIE9=!0,void(e.onInitErrorIE9=!0)):(e.fitScreenSize(),e.startPage=v.getPage(),f.checkLocalStorage()&&(e.localStoragePenData=f.init(e.bookID,e.title,e.bookpath+"index.html")),p.checkLocalStorage()&&(e.localStorageFusenData=p.init(e.bookID,e.title,e.bookpath+"index.html")),e.scormScoreStartPage>0&&(e.startPage=e.scormScoreStartPage),void 0!==e.forcedstartpage&&(e.startPage=e.forcedstartpage),e.startPage>e.pageTotal&&(e.startPage=e.pageTotal),v.checkRect()&&(e.initAreaScaleIndex=v.getScaleIndex(),e.isInitAreaVisible=!0,o=v.getRect(),e.startRectX=o[0],e.startRectY=o[1],e.startRectW=o[2],e.startRectH=o[3]),v.checkInitEmbedSkin()&&(e.initEmbedScale=t.min(v.getScaleIndex(),e.scaleArray.length-1),s=v.getEmbedCenter(),e.embedStartX=s[0],e.embedStartY=s[1]),e.view=m.CAROUSEL,y.ie()&&(e.isBendFlipMode=!1),y.android()&&(e.isBendFlipMode=!1),v.getSOption()&&("and"===v.getSOption()?e.isAndTextSearch=!0:"or"===v.getSOption()&&(e.isAndTextSearch=!1)),v.getHighlightWords()&&"glyph"===e.soSearchMode&&(h=v.getHighlightWords().replace(/,/g," ").replace(/%2C/g," "),a=h.replace(/\^|\$|\\|\.|\*|\+|\?|\(|\)|\[|\]|\|/g,"\\$&"),u=a.replace(/^\s+|\s+$/g,"").replace(/\s+/g," ").split(" "),r=[],t(u).forEach(function(t){return r.push(decodeURIComponent(t))}),e.textPointWords=r,u.length>0&&e.$broadcast("searchHighlightOn")),e.isLandscape!==!1||_()||(e.view="slide"),e.isChirashi&&(e.view="slide"),e.fitScreenSize(),i())})}}(this),this.$on("init",function(t){return this.scormScoreType=null!=t?t.scormScoreType:void 0,this.scormScoreStartPage=null!=t?t.scormScoreStartPage:void 0,(null!=t?t.scormScoreStartPage:void 0)&&(this.scormScoreStartPage=null!=t?t.scormScoreStartPage:void 0),this.isNotScormInit=void 0===t,this.fitScreenSize(),this.loadLWConfigJSONFile().then(this.loadLWLibraJSONFile).then(this.loadBookXmlFile).then(this.parseBookXml).then(this.parseSkinOptionXml).then(this.parseHtml5SettingXml).then(this.getLibraInfo).then(this.getLibraFusenList).then(this.uploadLibraUnsaveData).then(this.initFlipper).then(function(t){return function(){return c.log("FLIPPER init completed")}}(this)).catch(function(t){return function(t){if("file:"===location.protocol)return window.alert("データがパソコン内にある状態では、正常に閲覧できません。\n作成されたコンテンツのデータは、「ロゴスウェアローカルビュアー」(https://learning.logosware.com/soft/lv)を使用するか、ウェブサイトにアップロードして閲覧してください。");switch(t){case"onlinestorage":return window.alert("Online Storage Only.");case"suitemidium":return window.alert("Libra Only.");default:return window.alert("book initialize error "+t)}}}(this)),window.addEventListener("hashchange",this.onHashChange)})}})}).call(e,i(3))},function(t,e,i){(function(e,n){"use strict";function r(){try{var t=T;return T=null,t.apply(this,arguments)}catch(t){return D.e=t,D}}function o(t){return T=t,r}function s(t){return null==t||t===!0||t===!1||"string"==typeof t||"number"==typeof t}function a(t){return"function"==typeof t||"object"==typeof t&&null!==t}function h(t){return s(t)?new Error(m(t)):t}function u(t,e){var i,n=t.length,r=new Array(n+1);for(i=0;i<n;++i)r[i]=t[i];return r[i]=e,r}function c(t,e,i){if(!k.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var n=Object.getOwnPropertyDescriptor(t,e);return null!=n?null==n.get&&null==n.set?n.value:i:void 0}function l(t,e,i){if(s(t))return t;var n={value:i,configurable:!0,enumerable:!1,writable:!0};return k.defineProperty(t,e,n),t}function p(t){throw t}function f(t){try{if("function"==typeof t){var e=k.names(t.prototype),i=k.isES5&&e.length>1,n=e.length>0&&!(1===e.length&&"constructor"===e[0]),r=O.test(t+"")&&k.names(t).length>0;if(i||n||r)return!0}return!1}catch(t){return!1}}function d(t){function e(){}e.prototype=t;for(var i=8;i--;)new e;return t}function g(t){return R.test(t)}function v(t,e,i){for(var n=new Array(t),r=0;r<t;++r)n[r]=e+r+i;return n}function m(t){try{return t+""}catch(t){return"[no string representation]"}}function _(t){return null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function y(t){try{l(t,"isOperational",!0)}catch(t){}}function b(t){return null!=t&&(t instanceof Error.__BluebirdErrorTypes__.OperationalError||t.isOperational===!0)}function w(t){return _(t)&&k.propertyIsWritable(t,"stack")}function A(t){return{}.toString.call(t)}function x(t,e,i){for(var n=k.names(t),r=0;r<n.length;++r){var o=n[r];if(i(o))try{k.defineProperty(e,o,k.getDescriptor(t,o))}catch(t){}}}function S(t){return B?{NODE_ENV:"production"}[t]:void 0}function C(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}}function P(t,e){return t.bind(e)}var T,k=i(14),E="undefined"==typeof navigator,D={e:{}},I="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:void 0!==this?this:null,L=function(t,e){function i(){this.constructor=t,this.constructor$=e;for(var i in e.prototype)n.call(e.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=e.prototype[i])}var n={}.hasOwnProperty;return i.prototype=e.prototype,t.prototype=new i,t.prototype},$=function(){var t=[Array.prototype,Object.prototype,Function.prototype],e=function(e){for(var i=0;i<t.length;++i)if(t[i]===e)return!0;return!1};if(k.isES5){var i=Object.getOwnPropertyNames;return function(t){for(var n=[],r=Object.create(null);null!=t&&!e(t);){var o;try{o=i(t)}catch(t){return n}for(var s=0;s<o.length;++s){var a=o[s];if(!r[a]){r[a]=!0;var h=Object.getOwnPropertyDescriptor(t,a);null!=h&&null==h.get&&null==h.set&&n.push(a)}}t=k.getPrototypeOf(t)}return n}}var n={}.hasOwnProperty;return function(i){if(e(i))return[];var r=[];t:for(var o in i)if(n.call(i,o))r.push(o);else{for(var s=0;s<t.length;++s)if(n.call(t[s],o))continue t;r.push(o)}return r}}(),O=/this\s*\.\s*\S+\s*=/,R=/^[a-z$_][a-z$_0-9]*$/i,j=function(){return"stack"in new Error?function(t){return w(t)?t:new Error(m(t))}:function(t){if(w(t))return t;try{throw new Error(m(t))}catch(t){return t}}}(),M=function(t){return k.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var F="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,i=[],n=t[Symbol.iterator]();!(e=n.next()).done;)i.push(e.value);return i};M=function(t){return k.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?F(t):null}}var N="undefined"!=typeof n&&"[object process]"===A(n).toLowerCase(),B="undefined"!=typeof n&&!0,H={isClass:f,isIdentifier:g,inheritedDataKeys:$,getDataPropertyOrDefault:c,thrower:p,isArray:k.isArray,asArray:M,notEnumerableProp:l,isPrimitive:s,isObject:a,isError:_,canEvaluate:E,errorObj:D,tryCatch:o,inherits:L,withAppended:u,maybeWrapAsError:h,toFastProperties:d,filledRange:v,toString:m,canAttachTrace:w,ensureErrorObject:j,originatesFromRejection:b,markAsOriginatingFromRejection:y,classString:A,copyDescriptors:x,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:B,env:S,global:I,getNativePromise:C,domainBind:P};H.isRecentNode=H.isNode&&function(){var t=n.versions.node.split(".").map(Number);return 0===t[0]&&t[1]>10||t[0]>0}(),H.isNode&&H.toFastProperties(n);try{throw new Error}catch(t){H.lastLineError=t}t.exports=H}).call(e,function(){return this}(),i(7))},function(t,e){(function(){t.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},function(t,e,i){var n;(function(t,r,o){(function(){function o(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function s(t,e,i,n){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(n,s,i(s),t)}return n}function a(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&e(t[i],i,t)!==!1;);return t}function h(t,e){for(var i=null==t?0:t.length;i--&&e(t[i],i,t)!==!1;);return t}function u(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(!e(t[i],i,t))return!1;return!0}function c(t,e){for(var i=-1,n=null==t?0:t.length,r=0,o=[];++i<n;){var s=t[i];e(s,i,t)&&(o[r++]=s)}return o}function l(t,e){var i=null==t?0:t.length;return!!i&&A(t,e,0)>-1}function p(t,e,i){for(var n=-1,r=null==t?0:t.length;++n<r;)if(i(e,t[n]))return!0;return!1}function f(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r}function d(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t}function g(t,e,i,n){var r=-1,o=null==t?0:t.length;for(n&&o&&(i=t[++r]);++r<o;)i=e(i,t[r],r,t);return i}function v(t,e,i,n){var r=null==t?0:t.length;for(n&&r&&(i=t[--r]);r--;)i=e(i,t[r],r,t);return i}function m(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1}function _(t){return t.split("")}function y(t){return t.match(Be)||[]}function b(t,e,i){var n;return i(t,function(t,i,r){if(e(t,i,r))return n=i,!1}),n}function w(t,e,i,n){for(var r=t.length,o=i+(n?1:-1);n?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function A(t,e,i){return e===e?G(t,e,i):w(t,S,i)}function x(t,e,i,n){for(var r=i-1,o=t.length;++r<o;)if(n(t[r],e))return r;return-1}function S(t){return t!==t}function C(t,e){var i=null==t?0:t.length;return i?D(t,e)/i:Rt}function P(t){return function(e){return null==e?it:e[t]}}function T(t){return function(e){return null==t?it:t[e]}}function k(t,e,i,n,r){return r(t,function(t,r,o){i=n?(n=!1,t):e(i,t,r,o)}),i}function E(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t}function D(t,e){for(var i,n=-1,r=t.length;++n<r;){var o=e(t[n]);o!==it&&(i=i===it?o:i+o)}return i}function I(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}function L(t,e){return f(e,function(e){return[e,t[e]]})}function $(t){return function(e){return t(e)}}function O(t,e){return f(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function j(t,e){for(var i=-1,n=t.length;++i<n&&A(e,t[i],0)>-1;);return i}function M(t,e){for(var i=t.length;i--&&A(e,t[i],0)>-1;);return i}function F(t,e){for(var i=t.length,n=0;i--;)t[i]===e&&++n;return n}function N(t){return"\\"+Ji[t]}function B(t,e){return null==t?it:t[e]}function H(t){return zi.test(t)}function U(t){return Wi.test(t)}function z(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}function W(t){var e=-1,i=Array(t.size);return t.forEach(function(t,n){i[++e]=[n,t]}),i}function Y(t,e){return function(i){return t(e(i))}}function V(t,e){for(var i=-1,n=t.length,r=0,o=[];++i<n;){var s=t[i];s!==e&&s!==ut||(t[i]=ut,o[r++]=i)}return o}function X(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=t}),i}function q(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=[t,t]}),i}function G(t,e,i){for(var n=i-1,r=t.length;++n<r;)if(t[n]===e)return n;return-1}function Z(t,e,i){for(var n=i+1;n--;)if(t[n]===e)return n;return n}function Q(t){return H(t)?K(t):vn(t)}function J(t){return H(t)?tt(t):_(t)}function K(t){for(var e=Hi.lastIndex=0;Hi.test(t);)++e;return e}function tt(t){return t.match(Hi)||[]}function et(t){return t.match(Ui)||[]}var it,nt="4.17.15",rt=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",st="Expected a function",at="__lodash_hash_undefined__",ht=500,ut="__lodash_placeholder__",ct=1,lt=2,pt=4,ft=1,dt=2,gt=1,vt=2,mt=4,_t=8,yt=16,bt=32,wt=64,At=128,xt=256,St=512,Ct=30,Pt="...",Tt=800,kt=16,Et=1,Dt=2,It=3,Lt=1/0,$t=9007199254740991,Ot=1.7976931348623157e308,Rt=NaN,jt=4294967295,Mt=jt-1,Ft=jt>>>1,Nt=[["ary",At],["bind",gt],["bindKey",vt],["curry",_t],["curryRight",yt],["flip",St],["partial",bt],["partialRight",wt],["rearg",xt]],Bt="[object Arguments]",Ht="[object Array]",Ut="[object AsyncFunction]",zt="[object Boolean]",Wt="[object Date]",Yt="[object DOMException]",Vt="[object Error]",Xt="[object Function]",qt="[object GeneratorFunction]",Gt="[object Map]",Zt="[object Number]",Qt="[object Null]",Jt="[object Object]",Kt="[object Promise]",te="[object Proxy]",ee="[object RegExp]",ie="[object Set]",ne="[object String]",re="[object Symbol]",oe="[object Undefined]",se="[object WeakMap]",ae="[object WeakSet]",he="[object ArrayBuffer]",ue="[object DataView]",ce="[object Float32Array]",le="[object Float64Array]",pe="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",ge="[object Uint8Array]",ve="[object Uint8ClampedArray]",me="[object Uint16Array]",_e="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ae=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,Se=RegExp(Ae.source),Ce=RegExp(xe.source),Pe=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Le=/[\\^$.*+?()[\]{}|]/g,$e=RegExp(Le.source),Oe=/^\s+|\s+$/g,Re=/^\s+/,je=/\s+$/,Me=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fe=/\{\n\/\* \[wrapped with (.+)\] \*/,Ne=/,? & /,Be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ye=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Je="\\ud800-\\udfff",Ke="\\u0300-\\u036f",ti="\\ufe20-\\ufe2f",ei="\\u20d0-\\u20ff",ii=Ke+ti+ei,ni="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",oi="\\xac\\xb1\\xd7\\xf7",si="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ai="\\u2000-\\u206f",hi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ui="A-Z\\xc0-\\xd6\\xd8-\\xde",ci="\\ufe0e\\ufe0f",li=oi+si+ai+hi,pi="['’]",fi="["+Je+"]",di="["+li+"]",gi="["+ii+"]",vi="\\d+",mi="["+ni+"]",_i="["+ri+"]",yi="[^"+Je+li+vi+ni+ri+ui+"]",bi="\\ud83c[\\udffb-\\udfff]",wi="(?:"+gi+"|"+bi+")",Ai="[^"+Je+"]",xi="(?:\\ud83c[\\udde6-\\uddff]){2}",Si="[\\ud800-\\udbff][\\udc00-\\udfff]",Ci="["+ui+"]",Pi="\\u200d",Ti="(?:"+_i+"|"+yi+")",ki="(?:"+Ci+"|"+yi+")",Ei="(?:"+pi+"(?:d|ll|m|re|s|t|ve))?",Di="(?:"+pi+"(?:D|LL|M|RE|S|T|VE))?",Ii=wi+"?",Li="["+ci+"]?",$i="(?:"+Pi+"(?:"+[Ai,xi,Si].join("|")+")"+Li+Ii+")*",Oi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ri="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ji=Li+Ii+$i,Mi="(?:"+[mi,xi,Si].join("|")+")"+ji,Fi="(?:"+[Ai+gi+"?",gi,xi,Si,fi].join("|")+")",Ni=RegExp(pi,"g"),Bi=RegExp(gi,"g"),Hi=RegExp(bi+"(?="+bi+")|"+Fi+ji,"g"),Ui=RegExp([Ci+"?"+_i+"+"+Ei+"(?="+[di,Ci,"$"].join("|")+")",ki+"+"+Di+"(?="+[di,Ci+Ti,"$"].join("|")+")",Ci+"?"+Ti+"+"+Ei,Ci+"+"+Di,Ri,Oi,vi,Mi].join("|"),"g"),zi=RegExp("["+Pi+Je+ii+ci+"]"),Wi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vi=-1,Xi={};Xi[ce]=Xi[le]=Xi[pe]=Xi[fe]=Xi[de]=Xi[ge]=Xi[ve]=Xi[me]=Xi[_e]=!0,Xi[Bt]=Xi[Ht]=Xi[he]=Xi[zt]=Xi[ue]=Xi[Wt]=Xi[Vt]=Xi[Xt]=Xi[Gt]=Xi[Zt]=Xi[Jt]=Xi[ee]=Xi[ie]=Xi[ne]=Xi[se]=!1;var qi={};qi[Bt]=qi[Ht]=qi[he]=qi[ue]=qi[zt]=qi[Wt]=qi[ce]=qi[le]=qi[pe]=qi[fe]=qi[de]=qi[Gt]=qi[Zt]=qi[Jt]=qi[ee]=qi[ie]=qi[ne]=qi[re]=qi[ge]=qi[ve]=qi[me]=qi[_e]=!0,qi[Vt]=qi[Xt]=qi[se]=!1;var Gi={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},Zi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Qi={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ji={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ki=parseFloat,tn=parseInt,en="object"==typeof t&&t&&t.Object===Object&&t,nn="object"==typeof self&&self&&self.Object===Object&&self,rn=en||nn||Function("return this")(),on="object"==typeof e&&e&&!e.nodeType&&e,sn=on&&"object"==typeof r&&r&&!r.nodeType&&r,an=sn&&sn.exports===on,hn=an&&en.process,un=function(){try{var t=sn&&sn.require&&sn.require("util").types;return t?t:hn&&hn.binding&&hn.binding("util")}catch(t){}}(),cn=un&&un.isArrayBuffer,ln=un&&un.isDate,pn=un&&un.isMap,fn=un&&un.isRegExp,dn=un&&un.isSet,gn=un&&un.isTypedArray,vn=P("length"),mn=T(Gi),_n=T(Zi),yn=T(Qi),bn=function t(e){function i(t){if(oh(t)&&!vp(t)&&!(t instanceof _)){if(t instanceof r)return t;if(vc.call(t,"__wrapped__"))return is(t)}return new r(t)}function n(){}function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=jt,this.__views__=[]}function T(){var t=new _(this.__wrapped__);return t.__actions__=Rr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Rr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Rr(this.__views__),t}function G(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function K(){var t=this.__wrapped__.value(),e=this.__dir__,i=vp(t),n=e<0,r=i?t.length:0,o=Co(0,r,this.__views__),s=o.start,a=o.end,h=a-s,u=n?a:s-1,c=this.__iteratees__,l=c.length,p=0,f=Vc(h,this.__takeCount__);if(!i||!n&&r==h&&f==h)return _r(t,this.__actions__);var d=[];t:for(;h--&&p<f;){u+=e;for(var g=-1,v=t[u];++g<l;){var m=c[g],_=m.iteratee,y=m.type,b=_(v);if(y==Dt)v=b;else if(!b){if(y==Et)continue t;break t}}d[p++]=v}return d}function tt(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Be(){this.__data__=il?il(null):{},this.size=0}function Je(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Ke(t){var e=this.__data__;if(il){var i=e[t];return i===at?it:i}return vc.call(e,t)?e[t]:it}function ti(t){var e=this.__data__;return il?e[t]!==it:vc.call(e,t)}function ei(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=il&&e===it?at:e,this}function ii(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function ni(){this.__data__=[],this.size=0}function ri(t){var e=this.__data__,i=Ei(e,t);if(i<0)return!1;var n=e.length-1;return i==n?e.pop():Dc.call(e,i,1),--this.size,!0}function oi(t){var e=this.__data__,i=Ei(e,t);return i<0?it:e[i][1]}function si(t){return Ei(this.__data__,t)>-1}function ai(t,e){var i=this.__data__,n=Ei(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this}function hi(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function ui(){this.size=0,this.__data__={hash:new tt,map:new(Jc||ii),string:new tt}}function ci(t){var e=wo(this,t).delete(t);return this.size-=e?1:0,e}function li(t){return wo(this,t).get(t)}function pi(t){return wo(this,t).has(t)}function fi(t,e){var i=wo(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this}function di(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new hi;++e<i;)this.add(t[e])}function gi(t){return this.__data__.set(t,at),this}function vi(t){return this.__data__.has(t)}function mi(t){var e=this.__data__=new ii(t);this.size=e.size}function _i(){this.__data__=new ii,this.size=0}function yi(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}function bi(t){return this.__data__.get(t)}function wi(t){return this.__data__.has(t)}function Ai(t,e){var i=this.__data__;if(i instanceof ii){var n=i.__data__;if(!Jc||n.length<rt-1)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new hi(n)}return i.set(t,e),this.size=i.size,this}function xi(t,e){var i=vp(t),n=!i&&gp(t),r=!i&&!n&&_p(t),o=!i&&!n&&!r&&xp(t),s=i||n||r||o,a=s?I(t.length,uc):[],h=a.length;for(var u in t)!e&&!vc.call(t,u)||s&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||$o(u,h))||a.push(u);return a}function Si(t){var e=t.length;return e?t[Kn(0,e-1)]:it}function Ci(t,e){return Jo(Rr(t),Ri(e,0,t.length))}function Pi(t){return Jo(Rr(t))}function Ti(t,e,i){(i===it||Ya(t[e],i))&&(i!==it||e in t)||$i(t,e,i)}function ki(t,e,i){var n=t[e];vc.call(t,e)&&Ya(n,i)&&(i!==it||e in t)||$i(t,e,i)}function Ei(t,e){for(var i=t.length;i--;)if(Ya(t[i][0],e))return i;return-1}function Di(t,e,i,n){return dl(t,function(t,r,o){e(n,t,i(t),o)}),n}function Ii(t,e){return t&&jr(e,Bh(e),t)}function Li(t,e){return t&&jr(e,Hh(e),t)}function $i(t,e,i){"__proto__"==e&&Oc?Oc(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}function Oi(t,e){for(var i=-1,n=e.length,r=ic(n),o=null==t;++i<n;)r[i]=o?it:Mh(t,e[i]);return r}function Ri(t,e,i){return t===t&&(i!==it&&(t=t<=i?t:i),e!==it&&(t=t>=e?t:e)),t}function ji(t,e,i,n,r,o){var s,h=e&ct,u=e&lt,c=e&pt;if(i&&(s=r?i(t,n,r,o):i(t)),s!==it)return s;if(!rh(t))return t;var l=vp(t);if(l){if(s=ko(t),!h)return Rr(t,s)}else{var p=Pl(t),f=p==Xt||p==qt;if(_p(t))return Cr(t,h);if(p==Jt||p==Bt||f&&!r){if(s=u||f?{}:Eo(t),!h)return u?Fr(t,Li(s,t)):Mr(t,Ii(s,t))}else{if(!qi[p])return r?t:{};s=Do(t,p,h)}}o||(o=new mi);var d=o.get(t);if(d)return d;o.set(t,s),Ap(t)?t.forEach(function(n){s.add(ji(n,e,i,n,t,o))}):bp(t)&&t.forEach(function(n,r){s.set(r,ji(n,e,i,r,t,o))});var g=c?u?mo:vo:u?Hh:Bh,v=l?it:g(t);return a(v||t,function(n,r){v&&(r=n,n=t[r]),ki(s,r,ji(n,e,i,r,t,o))}),s}function Mi(t){var e=Bh(t);return function(i){return Fi(i,t,e)}}function Fi(t,e,i){var n=i.length;if(null==t)return!n;for(t=ac(t);n--;){var r=i[n],o=e[r],s=t[r];if(s===it&&!(r in t)||!o(s))return!1}return!0}function Hi(t,e,i){if("function"!=typeof t)throw new cc(st);return El(function(){t.apply(it,i)},e)}function Ui(t,e,i,n){var r=-1,o=l,s=!0,a=t.length,h=[],u=e.length;if(!a)return h;i&&(e=f(e,$(i))),n?(o=p,s=!1):e.length>=rt&&(o=R,s=!1,e=new di(e));t:for(;++r<a;){var c=t[r],d=null==i?c:i(c);if(c=n||0!==c?c:0,s&&d===d){for(var g=u;g--;)if(e[g]===d)continue t;h.push(c)}else o(e,d,n)||h.push(c)}return h}function zi(t,e){var i=!0;return dl(t,function(t,n,r){return i=!!e(t,n,r)}),i}function Wi(t,e,i){for(var n=-1,r=t.length;++n<r;){var o=t[n],s=e(o);if(null!=s&&(a===it?s===s&&!vh(s):i(s,a)))var a=s,h=o}return h}function Gi(t,e,i,n){var r=t.length;for(i=Ah(i),i<0&&(i=-i>r?0:r+i),n=n===it||n>r?r:Ah(n),n<0&&(n+=r),n=i>n?0:xh(n);i<n;)t[i++]=e;return t}function Zi(t,e){var i=[];return dl(t,function(t,n,r){e(t,n,r)&&i.push(t)}),i}function Qi(t,e,i,n,r){var o=-1,s=t.length;for(i||(i=Lo),r||(r=[]);++o<s;){var a=t[o];e>0&&i(a)?e>1?Qi(a,e-1,i,n,r):d(r,a):n||(r[r.length]=a)}return r}function Ji(t,e){return t&&vl(t,e,Bh)}function en(t,e){return t&&ml(t,e,Bh)}function nn(t,e){return c(e,function(e){return eh(t[e])})}function on(t,e){e=xr(e,t);for(var i=0,n=e.length;null!=t&&i<n;)t=t[Ko(e[i++])];return i&&i==n?t:it}function sn(t,e,i){var n=e(t);return vp(t)?n:d(n,i(t))}function hn(t){return null==t?t===it?oe:Qt:$c&&$c in ac(t)?So(t):Yo(t)}function un(t,e){return t>e}function vn(t,e){return null!=t&&vc.call(t,e)}function bn(t,e){return null!=t&&e in ac(t)}function An(t,e,i){return t>=Vc(e,i)&&t<Yc(e,i)}function xn(t,e,i){for(var n=i?p:l,r=t[0].length,o=t.length,s=o,a=ic(o),h=1/0,u=[];s--;){var c=t[s];s&&e&&(c=f(c,$(e))),h=Vc(c.length,h),a[s]=!i&&(e||r>=120&&c.length>=120)?new di(s&&c):it}c=t[0];var d=-1,g=a[0];t:for(;++d<r&&u.length<h;){var v=c[d],m=e?e(v):v;if(v=i||0!==v?v:0,!(g?R(g,m):n(u,m,i))){for(s=o;--s;){var _=a[s];if(!(_?R(_,m):n(t[s],m,i)))continue t}g&&g.push(m),u.push(v)}}return u}function Sn(t,e,i,n){return Ji(t,function(t,r,o){e(n,i(t),r,o)}),n}function Cn(t,e,i){e=xr(e,t),t=Xo(t,e);var n=null==t?t:t[Ko(ws(e))];return null==n?it:o(n,t,i)}function Pn(t){return oh(t)&&hn(t)==Bt}function Tn(t){return oh(t)&&hn(t)==he}function kn(t){return oh(t)&&hn(t)==Wt}function En(t,e,i,n,r){return t===e||(null==t||null==e||!oh(t)&&!oh(e)?t!==t&&e!==e:Dn(t,e,i,n,En,r))}function Dn(t,e,i,n,r,o){var s=vp(t),a=vp(e),h=s?Ht:Pl(t),u=a?Ht:Pl(e);h=h==Bt?Jt:h,u=u==Bt?Jt:u;var c=h==Jt,l=u==Jt,p=h==u;if(p&&_p(t)){if(!_p(e))return!1;s=!0,c=!1}if(p&&!c)return o||(o=new mi),s||xp(t)?lo(t,e,i,n,r,o):po(t,e,h,i,n,r,o);if(!(i&ft)){var f=c&&vc.call(t,"__wrapped__"),d=l&&vc.call(e,"__wrapped__");if(f||d){var g=f?t.value():t,v=d?e.value():e;return o||(o=new mi),r(g,v,i,n,o)}}return!!p&&(o||(o=new mi),fo(t,e,i,n,r,o))}function In(t){return oh(t)&&Pl(t)==Gt}function Ln(t,e,i,n){var r=i.length,o=r,s=!n;if(null==t)return!o;for(t=ac(t);r--;){var a=i[r];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++r<o;){a=i[r];var h=a[0],u=t[h],c=a[1];if(s&&a[2]){if(u===it&&!(h in t))return!1}else{var l=new mi;if(n)var p=n(u,c,h,t,e,l);if(!(p===it?En(c,u,ft|dt,n,l):p))return!1}}return!0}function $n(t){if(!rh(t)||Fo(t))return!1;var e=eh(t)?Ac:Ve;return e.test(ts(t))}function On(t){return oh(t)&&hn(t)==ee}function Rn(t){return oh(t)&&Pl(t)==ie}function jn(t){return oh(t)&&nh(t.length)&&!!Xi[hn(t)]}function Mn(t){return"function"==typeof t?t:null==t?Du:"object"==typeof t?vp(t)?zn(t[0],t[1]):Un(t):Fu(t)}function Fn(t){if(!No(t))return Wc(t);var e=[];for(var i in ac(t))vc.call(t,i)&&"constructor"!=i&&e.push(i);return e}function Nn(t){if(!rh(t))return Wo(t);var e=No(t),i=[];for(var n in t)("constructor"!=n||!e&&vc.call(t,n))&&i.push(n);return i}function Bn(t,e){return t<e}function Hn(t,e){var i=-1,n=Va(t)?ic(t.length):[];return dl(t,function(t,r,o){n[++i]=e(t,r,o)}),n}function Un(t){var e=Ao(t);return 1==e.length&&e[0][2]?Ho(e[0][0],e[0][1]):function(i){return i===t||Ln(i,t,e)}}function zn(t,e){return Ro(t)&&Bo(e)?Ho(Ko(t),e):function(i){var n=Mh(i,t);return n===it&&n===e?Nh(i,t):En(e,n,ft|dt)}}function Wn(t,e,i,n,r){t!==e&&vl(e,function(o,s){if(r||(r=new mi),rh(o))Yn(t,e,s,i,Wn,n,r);else{var a=n?n(Go(t,s),o,s+"",t,e,r):it;a===it&&(a=o),Ti(t,s,a)}},Hh)}function Yn(t,e,i,n,r,o,s){var a=Go(t,i),h=Go(e,i),u=s.get(h);if(u)return void Ti(t,i,u);var c=o?o(a,h,i+"",t,e,s):it,l=c===it;if(l){var p=vp(h),f=!p&&_p(h),d=!p&&!f&&xp(h);c=h,p||f||d?vp(a)?c=a:Xa(a)?c=Rr(a):f?(l=!1,c=Cr(h,!0)):d?(l=!1,c=Dr(h,!0)):c=[]:fh(h)||gp(h)?(c=a,gp(a)?c=Ch(a):rh(a)&&!eh(a)||(c=Eo(h))):l=!1}l&&(s.set(h,c),r(c,h,n,o,s),s.delete(h)),Ti(t,i,c)}function Vn(t,e){var i=t.length;if(i)return e+=e<0?i:0,$o(e,i)?t[e]:it}function Xn(t,e,i){var n=-1;e=f(e.length?e:[Du],$(bo()));var r=Hn(t,function(t,i,r){var o=f(e,function(e){return e(t)});return{criteria:o,index:++n,value:t}});return E(r,function(t,e){return Lr(t,e,i)})}function qn(t,e){return Gn(t,e,function(e,i){return Nh(t,i)})}function Gn(t,e,i){for(var n=-1,r=e.length,o={};++n<r;){var s=e[n],a=on(t,s);i(a,s)&&or(o,xr(s,t),a)}return o}function Zn(t){return function(e){return on(e,t)}}function Qn(t,e,i,n){var r=n?x:A,o=-1,s=e.length,a=t;for(t===e&&(e=Rr(e)),i&&(a=f(t,$(i)));++o<s;)for(var h=0,u=e[o],c=i?i(u):u;(h=r(a,c,h,n))>-1;)a!==t&&Dc.call(a,h,1),Dc.call(t,h,1);return t}function Jn(t,e){for(var i=t?e.length:0,n=i-1;i--;){var r=e[i];if(i==n||r!==o){var o=r;$o(r)?Dc.call(t,r,1):gr(t,r)}}return t}function Kn(t,e){return t+Nc(Gc()*(e-t+1))}function tr(t,e,i,n){for(var r=-1,o=Yc(Fc((e-t)/(i||1)),0),s=ic(o);o--;)s[n?o:++r]=t,t+=i;return s}function er(t,e){var i="";if(!t||e<1||e>$t)return i;do e%2&&(i+=t),e=Nc(e/2),e&&(t+=t);while(e);return i}function ir(t,e){return Dl(Vo(t,e,Du),t+"")}function nr(t){return Si(Kh(t))}function rr(t,e){var i=Kh(t);return Jo(i,Ri(e,0,i.length))}function or(t,e,i,n){if(!rh(t))return t;e=xr(e,t);for(var r=-1,o=e.length,s=o-1,a=t;null!=a&&++r<o;){var h=Ko(e[r]),u=i;if(r!=s){var c=a[h];u=n?n(c,h,a):it,u===it&&(u=rh(c)?c:$o(e[r+1])?[]:{})}ki(a,h,u),a=a[h]}return t}function sr(t){return Jo(Kh(t))}function ar(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),i=i>r?r:i,i<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var o=ic(r);++n<r;)o[n]=t[n+e];return o}function hr(t,e){var i;return dl(t,function(t,n,r){return i=e(t,n,r),!i}),!!i}function ur(t,e,i){var n=0,r=null==t?n:t.length;if("number"==typeof e&&e===e&&r<=Ft){for(;n<r;){var o=n+r>>>1,s=t[o];null!==s&&!vh(s)&&(i?s<=e:s<e)?n=o+1:r=o}return r}return cr(t,e,Du,i)}function cr(t,e,i,n){e=i(e);for(var r=0,o=null==t?0:t.length,s=e!==e,a=null===e,h=vh(e),u=e===it;r<o;){var c=Nc((r+o)/2),l=i(t[c]),p=l!==it,f=null===l,d=l===l,g=vh(l);if(s)var v=n||d;else v=u?d&&(n||p):a?d&&p&&(n||!f):h?d&&p&&!f&&(n||!g):!f&&!g&&(n?l<=e:l<e);v?r=c+1:o=c}return Vc(o,Mt)}function lr(t,e){for(var i=-1,n=t.length,r=0,o=[];++i<n;){var s=t[i],a=e?e(s):s;if(!i||!Ya(a,h)){var h=a;o[r++]=0===s?0:s}}return o}function pr(t){return"number"==typeof t?t:vh(t)?Rt:+t}function fr(t){if("string"==typeof t)return t;if(vp(t))return f(t,fr)+"";if(vh(t))return pl?pl.call(t):"";var e=t+"";return"0"==e&&1/t==-Lt?"-0":e}function dr(t,e,i){var n=-1,r=l,o=t.length,s=!0,a=[],h=a;if(i)s=!1,r=p;else if(o>=rt){var u=e?null:Al(t);if(u)return X(u);s=!1,r=R,h=new di}else h=e?[]:a;t:for(;++n<o;){var c=t[n],f=e?e(c):c;if(c=i||0!==c?c:0,s&&f===f){for(var d=h.length;d--;)if(h[d]===f)continue t;e&&h.push(f),a.push(c)}else r(h,f,i)||(h!==a&&h.push(f),a.push(c))}return a}function gr(t,e){return e=xr(e,t),t=Xo(t,e),null==t||delete t[Ko(ws(e))]}function vr(t,e,i,n){return or(t,e,i(on(t,e)),n)}function mr(t,e,i,n){for(var r=t.length,o=n?r:-1;(n?o--:++o<r)&&e(t[o],o,t););return i?ar(t,n?0:o,n?o+1:r):ar(t,n?o+1:0,n?r:o)}function _r(t,e){var i=t;return i instanceof _&&(i=i.value()),g(e,function(t,e){return e.func.apply(e.thisArg,d([t],e.args))},i)}function yr(t,e,i){var n=t.length;if(n<2)return n?dr(t[0]):[];for(var r=-1,o=ic(n);++r<n;)for(var s=t[r],a=-1;++a<n;)a!=r&&(o[r]=Ui(o[r]||s,t[a],e,i));return dr(Qi(o,1),e,i)}function br(t,e,i){for(var n=-1,r=t.length,o=e.length,s={};++n<r;){var a=n<o?e[n]:it;i(s,t[n],a)}return s}function wr(t){return Xa(t)?t:[]}function Ar(t){return"function"==typeof t?t:Du}function xr(t,e){return vp(t)?t:Ro(t,e)?[t]:Il(Th(t))}function Sr(t,e,i){var n=t.length;return i=i===it?n:i,!e&&i>=n?t:ar(t,e,i)}function Cr(t,e){if(e)return t.slice();var i=t.length,n=Pc?Pc(i):new t.constructor(i);return t.copy(n),n}function Pr(t){var e=new t.constructor(t.byteLength);return new Cc(e).set(new Cc(t)),e}function Tr(t,e){var i=e?Pr(t.buffer):t.buffer;
return new t.constructor(i,t.byteOffset,t.byteLength)}function kr(t){var e=new t.constructor(t.source,ze.exec(t));return e.lastIndex=t.lastIndex,e}function Er(t){return ll?ac(ll.call(t)):{}}function Dr(t,e){var i=e?Pr(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function Ir(t,e){if(t!==e){var i=t!==it,n=null===t,r=t===t,o=vh(t),s=e!==it,a=null===e,h=e===e,u=vh(e);if(!a&&!u&&!o&&t>e||o&&s&&h&&!a&&!u||n&&s&&h||!i&&h||!r)return 1;if(!n&&!o&&!u&&t<e||u&&i&&r&&!n&&!o||a&&i&&r||!s&&r||!h)return-1}return 0}function Lr(t,e,i){for(var n=-1,r=t.criteria,o=e.criteria,s=r.length,a=i.length;++n<s;){var h=Ir(r[n],o[n]);if(h){if(n>=a)return h;var u=i[n];return h*("desc"==u?-1:1)}}return t.index-e.index}function $r(t,e,i,n){for(var r=-1,o=t.length,s=i.length,a=-1,h=e.length,u=Yc(o-s,0),c=ic(h+u),l=!n;++a<h;)c[a]=e[a];for(;++r<s;)(l||r<o)&&(c[i[r]]=t[r]);for(;u--;)c[a++]=t[r++];return c}function Or(t,e,i,n){for(var r=-1,o=t.length,s=-1,a=i.length,h=-1,u=e.length,c=Yc(o-a,0),l=ic(c+u),p=!n;++r<c;)l[r]=t[r];for(var f=r;++h<u;)l[f+h]=e[h];for(;++s<a;)(p||r<o)&&(l[f+i[s]]=t[r++]);return l}function Rr(t,e){var i=-1,n=t.length;for(e||(e=ic(n));++i<n;)e[i]=t[i];return e}function jr(t,e,i,n){var r=!i;i||(i={});for(var o=-1,s=e.length;++o<s;){var a=e[o],h=n?n(i[a],t[a],a,i,t):it;h===it&&(h=t[a]),r?$i(i,a,h):ki(i,a,h)}return i}function Mr(t,e){return jr(t,Sl(t),e)}function Fr(t,e){return jr(t,Cl(t),e)}function Nr(t,e){return function(i,n){var r=vp(i)?s:Di,o=e?e():{};return r(i,t,bo(n,2),o)}}function Br(t){return ir(function(e,i){var n=-1,r=i.length,o=r>1?i[r-1]:it,s=r>2?i[2]:it;for(o=t.length>3&&"function"==typeof o?(r--,o):it,s&&Oo(i[0],i[1],s)&&(o=r<3?it:o,r=1),e=ac(e);++n<r;){var a=i[n];a&&t(e,a,n,o)}return e})}function Hr(t,e){return function(i,n){if(null==i)return i;if(!Va(i))return t(i,n);for(var r=i.length,o=e?r:-1,s=ac(i);(e?o--:++o<r)&&n(s[o],o,s)!==!1;);return i}}function Ur(t){return function(e,i,n){for(var r=-1,o=ac(e),s=n(e),a=s.length;a--;){var h=s[t?a:++r];if(i(o[h],h,o)===!1)break}return e}}function zr(t,e,i){function n(){var e=this&&this!==rn&&this instanceof n?o:t;return e.apply(r?i:this,arguments)}var r=e&gt,o=Vr(t);return n}function Wr(t){return function(e){e=Th(e);var i=H(e)?J(e):it,n=i?i[0]:e.charAt(0),r=i?Sr(i,1).join(""):e.slice(1);return n[t]()+r}}function Yr(t){return function(e){return g(Cu(ou(e).replace(Ni,"")),t,"")}}function Vr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var i=fl(t.prototype),n=t.apply(i,e);return rh(n)?n:i}}function Xr(t,e,i){function n(){for(var s=arguments.length,a=ic(s),h=s,u=yo(n);h--;)a[h]=arguments[h];var c=s<3&&a[0]!==u&&a[s-1]!==u?[]:V(a,u);if(s-=c.length,s<i)return ro(t,e,Zr,n.placeholder,it,a,c,it,it,i-s);var l=this&&this!==rn&&this instanceof n?r:t;return o(l,this,a)}var r=Vr(t);return n}function qr(t){return function(e,i,n){var r=ac(e);if(!Va(e)){var o=bo(i,3);e=Bh(e),i=function(t){return o(r[t],t,r)}}var s=t(e,i,n);return s>-1?r[o?e[s]:s]:it}}function Gr(t){return go(function(e){var i=e.length,n=i,o=r.prototype.thru;for(t&&e.reverse();n--;){var s=e[n];if("function"!=typeof s)throw new cc(st);if(o&&!a&&"wrapper"==_o(s))var a=new r([],!0)}for(n=a?n:i;++n<i;){s=e[n];var h=_o(s),u="wrapper"==h?xl(s):it;a=u&&Mo(u[0])&&u[1]==(At|_t|bt|xt)&&!u[4].length&&1==u[9]?a[_o(u[0])].apply(a,u[3]):1==s.length&&Mo(s)?a[h]():a.thru(s)}return function(){var t=arguments,n=t[0];if(a&&1==t.length&&vp(n))return a.plant(n).value();for(var r=0,o=i?e[r].apply(this,t):n;++r<i;)o=e[r].call(this,o);return o}})}function Zr(t,e,i,n,r,o,s,a,h,u){function c(){for(var m=arguments.length,_=ic(m),y=m;y--;)_[y]=arguments[y];if(d)var b=yo(c),w=F(_,b);if(n&&(_=$r(_,n,r,d)),o&&(_=Or(_,o,s,d)),m-=w,d&&m<u){var A=V(_,b);return ro(t,e,Zr,c.placeholder,i,_,A,a,h,u-m)}var x=p?i:this,S=f?x[t]:t;return m=_.length,a?_=qo(_,a):g&&m>1&&_.reverse(),l&&h<m&&(_.length=h),this&&this!==rn&&this instanceof c&&(S=v||Vr(S)),S.apply(x,_)}var l=e&At,p=e&gt,f=e&vt,d=e&(_t|yt),g=e&St,v=f?it:Vr(t);return c}function Qr(t,e){return function(i,n){return Sn(i,t,e(n),{})}}function Jr(t,e){return function(i,n){var r;if(i===it&&n===it)return e;if(i!==it&&(r=i),n!==it){if(r===it)return n;"string"==typeof i||"string"==typeof n?(i=fr(i),n=fr(n)):(i=pr(i),n=pr(n)),r=t(i,n)}return r}}function Kr(t){return go(function(e){return e=f(e,$(bo())),ir(function(i){var n=this;return t(e,function(t){return o(t,n,i)})})})}function to(t,e){e=e===it?" ":fr(e);var i=e.length;if(i<2)return i?er(e,t):e;var n=er(e,Fc(t/Q(e)));return H(e)?Sr(J(n),0,t).join(""):n.slice(0,t)}function eo(t,e,i,n){function r(){for(var e=-1,h=arguments.length,u=-1,c=n.length,l=ic(c+h),p=this&&this!==rn&&this instanceof r?a:t;++u<c;)l[u]=n[u];for(;h--;)l[u++]=arguments[++e];return o(p,s?i:this,l)}var s=e&gt,a=Vr(t);return r}function io(t){return function(e,i,n){return n&&"number"!=typeof n&&Oo(e,i,n)&&(i=n=it),e=wh(e),i===it?(i=e,e=0):i=wh(i),n=n===it?e<i?1:-1:wh(n),tr(e,i,n,t)}}function no(t){return function(e,i){return"string"==typeof e&&"string"==typeof i||(e=Sh(e),i=Sh(i)),t(e,i)}}function ro(t,e,i,n,r,o,s,a,h,u){var c=e&_t,l=c?s:it,p=c?it:s,f=c?o:it,d=c?it:o;e|=c?bt:wt,e&=~(c?wt:bt),e&mt||(e&=~(gt|vt));var g=[t,e,r,f,l,d,p,a,h,u],v=i.apply(it,g);return Mo(t)&&kl(v,g),v.placeholder=n,Zo(v,t,e)}function oo(t){var e=sc[t];return function(t,i){if(t=Sh(t),i=null==i?0:Vc(Ah(i),292),i&&Uc(t)){var n=(Th(t)+"e").split("e"),r=e(n[0]+"e"+(+n[1]+i));return n=(Th(r)+"e").split("e"),+(n[0]+"e"+(+n[1]-i))}return e(t)}}function so(t){return function(e){var i=Pl(e);return i==Gt?W(e):i==ie?q(e):L(e,t(e))}}function ao(t,e,i,n,r,o,s,a){var h=e&vt;if(!h&&"function"!=typeof t)throw new cc(st);var u=n?n.length:0;if(u||(e&=~(bt|wt),n=r=it),s=s===it?s:Yc(Ah(s),0),a=a===it?a:Ah(a),u-=r?r.length:0,e&wt){var c=n,l=r;n=r=it}var p=h?it:xl(t),f=[t,e,i,n,r,c,l,o,s,a];if(p&&zo(f,p),t=f[0],e=f[1],i=f[2],n=f[3],r=f[4],a=f[9]=f[9]===it?h?0:t.length:Yc(f[9]-u,0),!a&&e&(_t|yt)&&(e&=~(_t|yt)),e&&e!=gt)d=e==_t||e==yt?Xr(t,e,a):e!=bt&&e!=(gt|bt)||r.length?Zr.apply(it,f):eo(t,e,i,n);else var d=zr(t,e,i);var g=p?_l:kl;return Zo(g(d,f),t,e)}function ho(t,e,i,n){return t===it||Ya(t,fc[i])&&!vc.call(n,i)?e:t}function uo(t,e,i,n,r,o){return rh(t)&&rh(e)&&(o.set(e,t),Wn(t,e,it,uo,o),o.delete(e)),t}function co(t){return fh(t)?it:t}function lo(t,e,i,n,r,o){var s=i&ft,a=t.length,h=e.length;if(a!=h&&!(s&&h>a))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var c=-1,l=!0,p=i&dt?new di:it;for(o.set(t,e),o.set(e,t);++c<a;){var f=t[c],d=e[c];if(n)var g=s?n(d,f,c,e,t,o):n(f,d,c,t,e,o);if(g!==it){if(g)continue;l=!1;break}if(p){if(!m(e,function(t,e){if(!R(p,e)&&(f===t||r(f,t,i,n,o)))return p.push(e)})){l=!1;break}}else if(f!==d&&!r(f,d,i,n,o)){l=!1;break}}return o.delete(t),o.delete(e),l}function po(t,e,i,n,r,o,s){switch(i){case ue:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case he:return!(t.byteLength!=e.byteLength||!o(new Cc(t),new Cc(e)));case zt:case Wt:case Zt:return Ya(+t,+e);case Vt:return t.name==e.name&&t.message==e.message;case ee:case ne:return t==e+"";case Gt:var a=W;case ie:var h=n&ft;if(a||(a=X),t.size!=e.size&&!h)return!1;var u=s.get(t);if(u)return u==e;n|=dt,s.set(t,e);var c=lo(a(t),a(e),n,r,o,s);return s.delete(t),c;case re:if(ll)return ll.call(t)==ll.call(e)}return!1}function fo(t,e,i,n,r,o){var s=i&ft,a=vo(t),h=a.length,u=vo(e),c=u.length;if(h!=c&&!s)return!1;for(var l=h;l--;){var p=a[l];if(!(s?p in e:vc.call(e,p)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);for(var g=s;++l<h;){p=a[l];var v=t[p],m=e[p];if(n)var _=s?n(m,v,p,e,t,o):n(v,m,p,t,e,o);if(!(_===it?v===m||r(v,m,i,n,o):_)){d=!1;break}g||(g="constructor"==p)}if(d&&!g){var y=t.constructor,b=e.constructor;y!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o.delete(t),o.delete(e),d}function go(t){return Dl(Vo(t,it,fs),t+"")}function vo(t){return sn(t,Bh,Sl)}function mo(t){return sn(t,Hh,Cl)}function _o(t){for(var e=t.name+"",i=rl[e],n=vc.call(rl,e)?i.length:0;n--;){var r=i[n],o=r.func;if(null==o||o==t)return r.name}return e}function yo(t){var e=vc.call(i,"placeholder")?i:t;return e.placeholder}function bo(){var t=i.iteratee||Iu;return t=t===Iu?Mn:t,arguments.length?t(arguments[0],arguments[1]):t}function wo(t,e){var i=t.__data__;return jo(e)?i["string"==typeof e?"string":"hash"]:i.map}function Ao(t){for(var e=Bh(t),i=e.length;i--;){var n=e[i],r=t[n];e[i]=[n,r,Bo(r)]}return e}function xo(t,e){var i=B(t,e);return $n(i)?i:it}function So(t){var e=vc.call(t,$c),i=t[$c];try{t[$c]=it;var n=!0}catch(t){}var r=yc.call(t);return n&&(e?t[$c]=i:delete t[$c]),r}function Co(t,e,i){for(var n=-1,r=i.length;++n<r;){var o=i[n],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Vc(e,t+s);break;case"takeRight":t=Yc(t,e-s)}}return{start:t,end:e}}function Po(t){var e=t.match(Fe);return e?e[1].split(Ne):[]}function To(t,e,i){e=xr(e,t);for(var n=-1,r=e.length,o=!1;++n<r;){var s=Ko(e[n]);if(!(o=null!=t&&i(t,s)))break;t=t[s]}return o||++n!=r?o:(r=null==t?0:t.length,!!r&&nh(r)&&$o(s,r)&&(vp(t)||gp(t)))}function ko(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&vc.call(t,"index")&&(i.index=t.index,i.input=t.input),i}function Eo(t){return"function"!=typeof t.constructor||No(t)?{}:fl(Tc(t))}function Do(t,e,i){var n=t.constructor;switch(e){case he:return Pr(t);case zt:case Wt:return new n(+t);case ue:return Tr(t,i);case ce:case le:case pe:case fe:case de:case ge:case ve:case me:case _e:return Dr(t,i);case Gt:return new n;case Zt:case ne:return new n(t);case ee:return kr(t);case ie:return new n;case re:return Er(t)}}function Io(t,e){var i=e.length;if(!i)return t;var n=i-1;return e[n]=(i>1?"& ":"")+e[n],e=e.join(i>2?", ":" "),t.replace(Me,"{\n/* [wrapped with "+e+"] */\n")}function Lo(t){return vp(t)||gp(t)||!!(Ic&&t&&t[Ic])}function $o(t,e){var i=typeof t;return e=null==e?$t:e,!!e&&("number"==i||"symbol"!=i&&qe.test(t))&&t>-1&&t%1==0&&t<e}function Oo(t,e,i){if(!rh(i))return!1;var n=typeof e;return!!("number"==n?Va(i)&&$o(e,i.length):"string"==n&&e in i)&&Ya(i[e],t)}function Ro(t,e){if(vp(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!vh(t))||De.test(t)||!Ee.test(t)||null!=e&&t in ac(e)}function jo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Mo(t){var e=_o(t),n=i[e];if("function"!=typeof n||!(e in _.prototype))return!1;if(t===n)return!0;var r=xl(n);return!!r&&t===r[0]}function Fo(t){return!!_c&&_c in t}function No(t){var e=t&&t.constructor,i="function"==typeof e&&e.prototype||fc;return t===i}function Bo(t){return t===t&&!rh(t)}function Ho(t,e){return function(i){return null!=i&&i[t]===e&&(e!==it||t in ac(i))}}function Uo(t){var e=Ia(t,function(t){return i.size===ht&&i.clear(),t}),i=e.cache;return e}function zo(t,e){var i=t[1],n=e[1],r=i|n,o=r<(gt|vt|At),s=n==At&&i==_t||n==At&&i==xt&&t[7].length<=e[8]||n==(At|xt)&&e[7].length<=e[8]&&i==_t;if(!o&&!s)return t;n&gt&&(t[2]=e[2],r|=i&gt?0:mt);var a=e[3];if(a){var h=t[3];t[3]=h?$r(h,a,e[4]):a,t[4]=h?V(t[3],ut):e[4]}return a=e[5],a&&(h=t[5],t[5]=h?Or(h,a,e[6]):a,t[6]=h?V(t[5],ut):e[6]),a=e[7],a&&(t[7]=a),n&At&&(t[8]=null==t[8]?e[8]:Vc(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function Wo(t){var e=[];if(null!=t)for(var i in ac(t))e.push(i);return e}function Yo(t){return yc.call(t)}function Vo(t,e,i){return e=Yc(e===it?t.length-1:e,0),function(){for(var n=arguments,r=-1,s=Yc(n.length-e,0),a=ic(s);++r<s;)a[r]=n[e+r];r=-1;for(var h=ic(e+1);++r<e;)h[r]=n[r];return h[e]=i(a),o(t,this,h)}}function Xo(t,e){return e.length<2?t:on(t,ar(e,0,-1))}function qo(t,e){for(var i=t.length,n=Vc(e.length,i),r=Rr(t);n--;){var o=e[n];t[n]=$o(o,i)?r[o]:it}return t}function Go(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Zo(t,e,i){var n=e+"";return Dl(t,Io(n,es(Po(n),i)))}function Qo(t){var e=0,i=0;return function(){var n=Xc(),r=kt-(n-i);if(i=n,r>0){if(++e>=Tt)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Jo(t,e){var i=-1,n=t.length,r=n-1;for(e=e===it?n:e;++i<e;){var o=Kn(i,r),s=t[o];t[o]=t[i],t[i]=s}return t.length=e,t}function Ko(t){if("string"==typeof t||vh(t))return t;var e=t+"";return"0"==e&&1/t==-Lt?"-0":e}function ts(t){if(null!=t){try{return gc.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function es(t,e){return a(Nt,function(i){var n="_."+i[0];e&i[1]&&!l(t,n)&&t.push(n)}),t.sort()}function is(t){if(t instanceof _)return t.clone();var e=new r(t.__wrapped__,t.__chain__);return e.__actions__=Rr(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ns(t,e,i){e=(i?Oo(t,e,i):e===it)?1:Yc(Ah(e),0);var n=null==t?0:t.length;if(!n||e<1)return[];for(var r=0,o=0,s=ic(Fc(n/e));r<n;)s[o++]=ar(t,r,r+=e);return s}function rs(t){for(var e=-1,i=null==t?0:t.length,n=0,r=[];++e<i;){var o=t[e];o&&(r[n++]=o)}return r}function os(){var t=arguments.length;if(!t)return[];for(var e=ic(t-1),i=arguments[0],n=t;n--;)e[n-1]=arguments[n];return d(vp(i)?Rr(i):[i],Qi(e,1))}function ss(t,e,i){var n=null==t?0:t.length;return n?(e=i||e===it?1:Ah(e),ar(t,e<0?0:e,n)):[]}function as(t,e,i){var n=null==t?0:t.length;return n?(e=i||e===it?1:Ah(e),e=n-e,ar(t,0,e<0?0:e)):[]}function hs(t,e){return t&&t.length?mr(t,bo(e,3),!0,!0):[]}function us(t,e){return t&&t.length?mr(t,bo(e,3),!0):[]}function cs(t,e,i,n){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&Oo(t,e,i)&&(i=0,n=r),Gi(t,e,i,n)):[]}function ls(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=null==i?0:Ah(i);return r<0&&(r=Yc(n+r,0)),w(t,bo(e,3),r)}function ps(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=n-1;return i!==it&&(r=Ah(i),r=i<0?Yc(n+r,0):Vc(r,n-1)),w(t,bo(e,3),r,!0)}function fs(t){var e=null==t?0:t.length;return e?Qi(t,1):[]}function ds(t){var e=null==t?0:t.length;return e?Qi(t,Lt):[]}function gs(t,e){var i=null==t?0:t.length;return i?(e=e===it?1:Ah(e),Qi(t,e)):[]}function vs(t){for(var e=-1,i=null==t?0:t.length,n={};++e<i;){var r=t[e];n[r[0]]=r[1]}return n}function ms(t){return t&&t.length?t[0]:it}function _s(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=null==i?0:Ah(i);return r<0&&(r=Yc(n+r,0)),A(t,e,r)}function ys(t){var e=null==t?0:t.length;return e?ar(t,0,-1):[]}function bs(t,e){return null==t?"":zc.call(t,e)}function ws(t){var e=null==t?0:t.length;return e?t[e-1]:it}function As(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var r=n;return i!==it&&(r=Ah(i),r=r<0?Yc(n+r,0):Vc(r,n-1)),e===e?Z(t,e,r):w(t,S,r,!0)}function xs(t,e){return t&&t.length?Vn(t,Ah(e)):it}function Ss(t,e){return t&&t.length&&e&&e.length?Qn(t,e):t}function Cs(t,e,i){return t&&t.length&&e&&e.length?Qn(t,e,bo(i,2)):t}function Ps(t,e,i){return t&&t.length&&e&&e.length?Qn(t,e,it,i):t}function Ts(t,e){var i=[];if(!t||!t.length)return i;var n=-1,r=[],o=t.length;for(e=bo(e,3);++n<o;){var s=t[n];e(s,n,t)&&(i.push(s),r.push(n))}return Jn(t,r),i}function ks(t){return null==t?t:Zc.call(t)}function Es(t,e,i){var n=null==t?0:t.length;return n?(i&&"number"!=typeof i&&Oo(t,e,i)?(e=0,i=n):(e=null==e?0:Ah(e),i=i===it?n:Ah(i)),ar(t,e,i)):[]}function Ds(t,e){return ur(t,e)}function Is(t,e,i){return cr(t,e,bo(i,2))}function Ls(t,e){var i=null==t?0:t.length;if(i){var n=ur(t,e);if(n<i&&Ya(t[n],e))return n}return-1}function $s(t,e){return ur(t,e,!0)}function Os(t,e,i){return cr(t,e,bo(i,2),!0)}function Rs(t,e){var i=null==t?0:t.length;if(i){var n=ur(t,e,!0)-1;if(Ya(t[n],e))return n}return-1}function js(t){return t&&t.length?lr(t):[]}function Ms(t,e){return t&&t.length?lr(t,bo(e,2)):[]}function Fs(t){var e=null==t?0:t.length;return e?ar(t,1,e):[]}function Ns(t,e,i){return t&&t.length?(e=i||e===it?1:Ah(e),ar(t,0,e<0?0:e)):[]}function Bs(t,e,i){var n=null==t?0:t.length;return n?(e=i||e===it?1:Ah(e),e=n-e,ar(t,e<0?0:e,n)):[]}function Hs(t,e){return t&&t.length?mr(t,bo(e,3),!1,!0):[]}function Us(t,e){return t&&t.length?mr(t,bo(e,3)):[]}function zs(t){return t&&t.length?dr(t):[]}function Ws(t,e){return t&&t.length?dr(t,bo(e,2)):[]}function Ys(t,e){return e="function"==typeof e?e:it,t&&t.length?dr(t,it,e):[]}function Vs(t){if(!t||!t.length)return[];var e=0;return t=c(t,function(t){if(Xa(t))return e=Yc(t.length,e),!0}),I(e,function(e){return f(t,P(e))})}function Xs(t,e){if(!t||!t.length)return[];var i=Vs(t);return null==e?i:f(i,function(t){return o(e,it,t)})}function qs(t,e){return br(t||[],e||[],ki)}function Gs(t,e){return br(t||[],e||[],or)}function Zs(t){var e=i(t);return e.__chain__=!0,e}function Qs(t,e){return e(t),t}function Js(t,e){return e(t)}function Ks(){return Zs(this)}function ta(){return new r(this.value(),this.__chain__)}function ea(){this.__values__===it&&(this.__values__=bh(this.value()));var t=this.__index__>=this.__values__.length,e=t?it:this.__values__[this.__index__++];return{done:t,value:e}}function ia(){return this}function na(t){for(var e,i=this;i instanceof n;){var r=is(i);r.__index__=0,r.__values__=it,e?o.__wrapped__=r:e=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,e}function ra(){var t=this.__wrapped__;if(t instanceof _){var e=t;return this.__actions__.length&&(e=new _(this)),e=e.reverse(),e.__actions__.push({func:Js,args:[ks],thisArg:it}),new r(e,this.__chain__)}return this.thru(ks)}function oa(){return _r(this.__wrapped__,this.__actions__)}function sa(t,e,i){var n=vp(t)?u:zi;return i&&Oo(t,e,i)&&(e=it),n(t,bo(e,3))}function aa(t,e){var i=vp(t)?c:Zi;return i(t,bo(e,3))}function ha(t,e){return Qi(da(t,e),1)}function ua(t,e){return Qi(da(t,e),Lt)}function ca(t,e,i){return i=i===it?1:Ah(i),Qi(da(t,e),i)}function la(t,e){var i=vp(t)?a:dl;return i(t,bo(e,3))}function pa(t,e){var i=vp(t)?h:gl;return i(t,bo(e,3))}function fa(t,e,i,n){t=Va(t)?t:Kh(t),i=i&&!n?Ah(i):0;var r=t.length;return i<0&&(i=Yc(r+i,0)),gh(t)?i<=r&&t.indexOf(e,i)>-1:!!r&&A(t,e,i)>-1}function da(t,e){var i=vp(t)?f:Hn;return i(t,bo(e,3))}function ga(t,e,i,n){return null==t?[]:(vp(e)||(e=null==e?[]:[e]),i=n?it:i,vp(i)||(i=null==i?[]:[i]),Xn(t,e,i))}function va(t,e,i){var n=vp(t)?g:k,r=arguments.length<3;return n(t,bo(e,4),i,r,dl)}function ma(t,e,i){var n=vp(t)?v:k,r=arguments.length<3;return n(t,bo(e,4),i,r,gl)}function _a(t,e){var i=vp(t)?c:Zi;return i(t,La(bo(e,3)))}function ya(t){var e=vp(t)?Si:nr;return e(t)}function ba(t,e,i){e=(i?Oo(t,e,i):e===it)?1:Ah(e);var n=vp(t)?Ci:rr;return n(t,e)}function wa(t){var e=vp(t)?Pi:sr;return e(t)}function Aa(t){if(null==t)return 0;if(Va(t))return gh(t)?Q(t):t.length;var e=Pl(t);return e==Gt||e==ie?t.size:Fn(t).length}function xa(t,e,i){var n=vp(t)?m:hr;return i&&Oo(t,e,i)&&(e=it),n(t,bo(e,3))}function Sa(t,e){if("function"!=typeof e)throw new cc(st);return t=Ah(t),function(){if(--t<1)return e.apply(this,arguments)}}function Ca(t,e,i){return e=i?it:e,e=t&&null==e?t.length:e,ao(t,At,it,it,it,it,e)}function Pa(t,e){var i;if("function"!=typeof e)throw new cc(st);return t=Ah(t),function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=it),i}}function Ta(t,e,i){e=i?it:e;var n=ao(t,_t,it,it,it,it,it,e);return n.placeholder=Ta.placeholder,n}function ka(t,e,i){e=i?it:e;var n=ao(t,yt,it,it,it,it,it,e);return n.placeholder=ka.placeholder,n}function Ea(t,e,i){function n(e){var i=p,n=f;return p=f=it,_=e,g=t.apply(n,i)}function r(t){return _=t,v=El(a,e),y?n(t):g}function o(t){var i=t-m,n=t-_,r=e-i;return b?Vc(r,d-n):r}function s(t){var i=t-m,n=t-_;return m===it||i>=e||i<0||b&&n>=d}function a(){var t=rp();return s(t)?h(t):void(v=El(a,o(t)))}function h(t){return v=it,w&&p?n(t):(p=f=it,g)}function u(){v!==it&&wl(v),_=0,p=m=f=v=it}function c(){return v===it?g:h(rp())}function l(){var t=rp(),i=s(t);if(p=arguments,f=this,m=t,i){if(v===it)return r(m);if(b)return wl(v),v=El(a,e),n(m)}return v===it&&(v=El(a,e)),g}var p,f,d,g,v,m,_=0,y=!1,b=!1,w=!0;if("function"!=typeof t)throw new cc(st);return e=Sh(e)||0,rh(i)&&(y=!!i.leading,b="maxWait"in i,d=b?Yc(Sh(i.maxWait)||0,e):d,w="trailing"in i?!!i.trailing:w),l.cancel=u,l.flush=c,l}function Da(t){return ao(t,St)}function Ia(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new cc(st);var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var s=t.apply(this,n);return i.cache=o.set(r,s)||o,s};return i.cache=new(Ia.Cache||hi),i}function La(t){if("function"!=typeof t)throw new cc(st);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function $a(t){return Pa(2,t)}function Oa(t,e){if("function"!=typeof t)throw new cc(st);return e=e===it?e:Ah(e),ir(t,e)}function Ra(t,e){if("function"!=typeof t)throw new cc(st);return e=null==e?0:Yc(Ah(e),0),ir(function(i){var n=i[e],r=Sr(i,0,e);return n&&d(r,n),o(t,this,r)})}function ja(t,e,i){var n=!0,r=!0;if("function"!=typeof t)throw new cc(st);return rh(i)&&(n="leading"in i?!!i.leading:n,r="trailing"in i?!!i.trailing:r),Ea(t,e,{leading:n,maxWait:e,trailing:r})}function Ma(t){return Ca(t,1)}function Fa(t,e){return cp(Ar(e),t)}function Na(){if(!arguments.length)return[];var t=arguments[0];return vp(t)?t:[t]}function Ba(t){return ji(t,pt)}function Ha(t,e){return e="function"==typeof e?e:it,ji(t,pt,e)}function Ua(t){return ji(t,ct|pt)}function za(t,e){return e="function"==typeof e?e:it,ji(t,ct|pt,e)}function Wa(t,e){return null==e||Fi(t,e,Bh(e))}function Ya(t,e){return t===e||t!==t&&e!==e}function Va(t){return null!=t&&nh(t.length)&&!eh(t)}function Xa(t){return oh(t)&&Va(t)}function qa(t){return t===!0||t===!1||oh(t)&&hn(t)==zt}function Ga(t){return oh(t)&&1===t.nodeType&&!fh(t)}function Za(t){if(null==t)return!0;if(Va(t)&&(vp(t)||"string"==typeof t||"function"==typeof t.splice||_p(t)||xp(t)||gp(t)))return!t.length;var e=Pl(t);if(e==Gt||e==ie)return!t.size;if(No(t))return!Fn(t).length;for(var i in t)if(vc.call(t,i))return!1;return!0}function Qa(t,e){return En(t,e)}function Ja(t,e,i){i="function"==typeof i?i:it;var n=i?i(t,e):it;return n===it?En(t,e,it,i):!!n}function Ka(t){if(!oh(t))return!1;var e=hn(t);return e==Vt||e==Yt||"string"==typeof t.message&&"string"==typeof t.name&&!fh(t)}function th(t){return"number"==typeof t&&Uc(t)}function eh(t){if(!rh(t))return!1;var e=hn(t);return e==Xt||e==qt||e==Ut||e==te}function ih(t){return"number"==typeof t&&t==Ah(t)}function nh(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$t}function rh(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function oh(t){return null!=t&&"object"==typeof t}function sh(t,e){return t===e||Ln(t,e,Ao(e))}function ah(t,e,i){return i="function"==typeof i?i:it,Ln(t,e,Ao(e),i)}function hh(t){return ph(t)&&t!=+t}function uh(t){if(Tl(t))throw new rc(ot);return $n(t)}function ch(t){return null===t}function lh(t){return null==t}function ph(t){return"number"==typeof t||oh(t)&&hn(t)==Zt}function fh(t){if(!oh(t)||hn(t)!=Jt)return!1;var e=Tc(t);if(null===e)return!0;var i=vc.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&gc.call(i)==bc}function dh(t){return ih(t)&&t>=-$t&&t<=$t}function gh(t){return"string"==typeof t||!vp(t)&&oh(t)&&hn(t)==ne}function vh(t){return"symbol"==typeof t||oh(t)&&hn(t)==re}function mh(t){return t===it}function _h(t){return oh(t)&&Pl(t)==se}function yh(t){return oh(t)&&hn(t)==ae}function bh(t){if(!t)return[];if(Va(t))return gh(t)?J(t):Rr(t);if(Lc&&t[Lc])return z(t[Lc]());var e=Pl(t),i=e==Gt?W:e==ie?X:Kh;return i(t)}function wh(t){if(!t)return 0===t?t:0;if(t=Sh(t),t===Lt||t===-Lt){var e=t<0?-1:1;return e*Ot}return t===t?t:0}function Ah(t){var e=wh(t),i=e%1;return e===e?i?e-i:e:0}function xh(t){return t?Ri(Ah(t),0,jt):0}function Sh(t){if("number"==typeof t)return t;if(vh(t))return Rt;if(rh(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rh(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Oe,"");var i=Ye.test(t);return i||Xe.test(t)?tn(t.slice(2),i?2:8):We.test(t)?Rt:+t}function Ch(t){return jr(t,Hh(t))}function Ph(t){return t?Ri(Ah(t),-$t,$t):0===t?t:0}function Th(t){return null==t?"":fr(t)}function kh(t,e){var i=fl(t);return null==e?i:Ii(i,e)}function Eh(t,e){return b(t,bo(e,3),Ji)}function Dh(t,e){return b(t,bo(e,3),en)}function Ih(t,e){return null==t?t:vl(t,bo(e,3),Hh)}function Lh(t,e){return null==t?t:ml(t,bo(e,3),Hh)}function $h(t,e){return t&&Ji(t,bo(e,3))}function Oh(t,e){return t&&en(t,bo(e,3))}function Rh(t){return null==t?[]:nn(t,Bh(t))}function jh(t){return null==t?[]:nn(t,Hh(t))}function Mh(t,e,i){var n=null==t?it:on(t,e);return n===it?i:n}function Fh(t,e){return null!=t&&To(t,e,vn)}function Nh(t,e){return null!=t&&To(t,e,bn)}function Bh(t){return Va(t)?xi(t):Fn(t)}function Hh(t){return Va(t)?xi(t,!0):Nn(t)}function Uh(t,e){var i={};return e=bo(e,3),Ji(t,function(t,n,r){$i(i,e(t,n,r),t)}),i}function zh(t,e){var i={};return e=bo(e,3),Ji(t,function(t,n,r){$i(i,n,e(t,n,r))}),i}function Wh(t,e){return Yh(t,La(bo(e)))}function Yh(t,e){if(null==t)return{};var i=f(mo(t),function(t){return[t]});return e=bo(e),Gn(t,i,function(t,i){return e(t,i[0])})}function Vh(t,e,i){e=xr(e,t);var n=-1,r=e.length;for(r||(r=1,t=it);++n<r;){var o=null==t?it:t[Ko(e[n])];o===it&&(n=r,o=i),t=eh(o)?o.call(t):o}return t}function Xh(t,e,i){return null==t?t:or(t,e,i)}function qh(t,e,i,n){return n="function"==typeof n?n:it,null==t?t:or(t,e,i,n)}function Gh(t,e,i){var n=vp(t),r=n||_p(t)||xp(t);if(e=bo(e,4),null==i){var o=t&&t.constructor;i=r?n?new o:[]:rh(t)&&eh(o)?fl(Tc(t)):{}}return(r?a:Ji)(t,function(t,n,r){return e(i,t,n,r)}),i}function Zh(t,e){return null==t||gr(t,e)}function Qh(t,e,i){return null==t?t:vr(t,e,Ar(i))}function Jh(t,e,i,n){return n="function"==typeof n?n:it,null==t?t:vr(t,e,Ar(i),n)}function Kh(t){return null==t?[]:O(t,Bh(t))}function tu(t){return null==t?[]:O(t,Hh(t))}function eu(t,e,i){return i===it&&(i=e,e=it),i!==it&&(i=Sh(i),i=i===i?i:0),e!==it&&(e=Sh(e),e=e===e?e:0),Ri(Sh(t),e,i)}function iu(t,e,i){return e=wh(e),i===it?(i=e,e=0):i=wh(i),t=Sh(t),An(t,e,i)}function nu(t,e,i){if(i&&"boolean"!=typeof i&&Oo(t,e,i)&&(e=i=it),i===it&&("boolean"==typeof e?(i=e,e=it):"boolean"==typeof t&&(i=t,t=it)),t===it&&e===it?(t=0,e=1):(t=wh(t),e===it?(e=t,t=0):e=wh(e)),t>e){var n=t;t=e,e=n}if(i||t%1||e%1){var r=Gc();return Vc(t+r*(e-t+Ki("1e-"+((r+"").length-1))),e)}return Kn(t,e)}function ru(t){return Gp(Th(t).toLowerCase())}function ou(t){return t=Th(t),t&&t.replace(Ge,mn).replace(Bi,"")}function su(t,e,i){t=Th(t),e=fr(e);var n=t.length;i=i===it?n:Ri(Ah(i),0,n);var r=i;return i-=e.length,i>=0&&t.slice(i,r)==e}function au(t){return t=Th(t),t&&Ce.test(t)?t.replace(xe,_n):t}function hu(t){return t=Th(t),t&&$e.test(t)?t.replace(Le,"\\$&"):t}function uu(t,e,i){t=Th(t),e=Ah(e);var n=e?Q(t):0;if(!e||n>=e)return t;var r=(e-n)/2;return to(Nc(r),i)+t+to(Fc(r),i)}function cu(t,e,i){t=Th(t),e=Ah(e);var n=e?Q(t):0;return e&&n<e?t+to(e-n,i):t}function lu(t,e,i){t=Th(t),e=Ah(e);var n=e?Q(t):0;return e&&n<e?to(e-n,i)+t:t}function pu(t,e,i){return i||null==e?e=0:e&&(e=+e),qc(Th(t).replace(Re,""),e||0)}function fu(t,e,i){return e=(i?Oo(t,e,i):e===it)?1:Ah(e),er(Th(t),e)}function du(){var t=arguments,e=Th(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function gu(t,e,i){return i&&"number"!=typeof i&&Oo(t,e,i)&&(e=i=it),(i=i===it?jt:i>>>0)?(t=Th(t),t&&("string"==typeof e||null!=e&&!wp(e))&&(e=fr(e),!e&&H(t))?Sr(J(t),0,i):t.split(e,i)):[]}function vu(t,e,i){return t=Th(t),i=null==i?0:Ri(Ah(i),0,t.length),e=fr(e),t.slice(i,i+e.length)==e}function mu(t,e,n){var r=i.templateSettings;n&&Oo(t,e,n)&&(e=it),t=Th(t),e=kp({},e,r,ho);var o,s,a=kp({},e.imports,r.imports,ho),h=Bh(a),u=O(a,h),c=0,l=e.interpolate||Ze,p="__p += '",f=hc((e.escape||Ze).source+"|"+l.source+"|"+(l===ke?Ue:Ze).source+"|"+(e.evaluate||Ze).source+"|$","g"),d="//# sourceURL="+(vc.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Vi+"]")+"\n";t.replace(f,function(e,i,n,r,a,h){return n||(n=r),p+=t.slice(c,h).replace(Qe,N),i&&(o=!0,p+="' +\n__e("+i+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),c=h+e.length,e}),p+="';\n";var g=vc.call(e,"variable")&&e.variable;g||(p="with (obj) {\n"+p+"\n}\n"),p=(s?p.replace(ye,""):p).replace(be,"$1").replace(we,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Zp(function(){return oc(h,d+"return "+p).apply(it,u)});if(v.source=p,Ka(v))throw v;return v}function _u(t){return Th(t).toLowerCase()}function yu(t){return Th(t).toUpperCase()}function bu(t,e,i){if(t=Th(t),t&&(i||e===it))return t.replace(Oe,"");if(!t||!(e=fr(e)))return t;var n=J(t),r=J(e),o=j(n,r),s=M(n,r)+1;return Sr(n,o,s).join("")}function wu(t,e,i){if(t=Th(t),t&&(i||e===it))return t.replace(je,"");if(!t||!(e=fr(e)))return t;var n=J(t),r=M(n,J(e))+1;return Sr(n,0,r).join("")}function Au(t,e,i){if(t=Th(t),t&&(i||e===it))return t.replace(Re,"");if(!t||!(e=fr(e)))return t;var n=J(t),r=j(n,J(e));return Sr(n,r).join("")}function xu(t,e){var i=Ct,n=Pt;if(rh(e)){var r="separator"in e?e.separator:r;i="length"in e?Ah(e.length):i,n="omission"in e?fr(e.omission):n}t=Th(t);var o=t.length;if(H(t)){var s=J(t);o=s.length}if(i>=o)return t;var a=i-Q(n);if(a<1)return n;var h=s?Sr(s,0,a).join(""):t.slice(0,a);if(r===it)return h+n;if(s&&(a+=h.length-a),wp(r)){if(t.slice(a).search(r)){var u,c=h;for(r.global||(r=hc(r.source,Th(ze.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var l=u.index;h=h.slice(0,l===it?a:l)}}else if(t.indexOf(fr(r),a)!=a){var p=h.lastIndexOf(r);p>-1&&(h=h.slice(0,p))}return h+n}function Su(t){return t=Th(t),t&&Se.test(t)?t.replace(Ae,yn):t}function Cu(t,e,i){return t=Th(t),e=i?it:e,e===it?U(t)?et(t):y(t):t.match(e)||[]}function Pu(t){var e=null==t?0:t.length,i=bo();return t=e?f(t,function(t){if("function"!=typeof t[1])throw new cc(st);return[i(t[0]),t[1]]}):[],ir(function(i){for(var n=-1;++n<e;){var r=t[n];if(o(r[0],this,i))return o(r[1],this,i)}})}function Tu(t){return Mi(ji(t,ct))}function ku(t){return function(){return t}}function Eu(t,e){return null==t||t!==t?e:t}function Du(t){return t}function Iu(t){return Mn("function"==typeof t?t:ji(t,ct))}function Lu(t){return Un(ji(t,ct))}function $u(t,e){return zn(t,ji(e,ct))}function Ou(t,e,i){var n=Bh(e),r=nn(e,n);null!=i||rh(e)&&(r.length||!n.length)||(i=e,e=t,t=this,r=nn(e,Bh(e)));var o=!(rh(i)&&"chain"in i&&!i.chain),s=eh(t);return a(r,function(i){var n=e[i];t[i]=n,s&&(t.prototype[i]=function(){var e=this.__chain__;if(o||e){var i=t(this.__wrapped__),r=i.__actions__=Rr(this.__actions__);return r.push({func:n,args:arguments,thisArg:t}),i.__chain__=e,i}return n.apply(t,d([this.value()],arguments))})}),t}function Ru(){return rn._===this&&(rn._=wc),this}function ju(){}function Mu(t){return t=Ah(t),ir(function(e){return Vn(e,t)})}function Fu(t){return Ro(t)?P(Ko(t)):Zn(t)}function Nu(t){return function(e){return null==t?it:on(t,e)}}function Bu(){return[]}function Hu(){return!1}function Uu(){return{}}function zu(){return""}function Wu(){return!0}function Yu(t,e){if(t=Ah(t),t<1||t>$t)return[];var i=jt,n=Vc(t,jt);e=bo(e),t-=jt;for(var r=I(n,e);++i<t;)e(i);return r}function Vu(t){return vp(t)?f(t,Ko):vh(t)?[t]:Rr(Il(Th(t)))}function Xu(t){var e=++mc;return Th(t)+e}function qu(t){return t&&t.length?Wi(t,Du,un):it}function Gu(t,e){return t&&t.length?Wi(t,bo(e,2),un):it}function Zu(t){return C(t,Du)}function Qu(t,e){return C(t,bo(e,2))}function Ju(t){return t&&t.length?Wi(t,Du,Bn):it}function Ku(t,e){return t&&t.length?Wi(t,bo(e,2),Bn):it}function tc(t){return t&&t.length?D(t,Du):0}function ec(t,e){return t&&t.length?D(t,bo(e,2)):0}e=null==e?rn:wn.defaults(rn.Object(),e,wn.pick(rn,Yi));var ic=e.Array,nc=e.Date,rc=e.Error,oc=e.Function,sc=e.Math,ac=e.Object,hc=e.RegExp,uc=e.String,cc=e.TypeError,lc=ic.prototype,pc=oc.prototype,fc=ac.prototype,dc=e["__core-js_shared__"],gc=pc.toString,vc=fc.hasOwnProperty,mc=0,_c=function(){
var t=/[^.]+$/.exec(dc&&dc.keys&&dc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),yc=fc.toString,bc=gc.call(ac),wc=rn._,Ac=hc("^"+gc.call(vc).replace(Le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xc=an?e.Buffer:it,Sc=e.Symbol,Cc=e.Uint8Array,Pc=xc?xc.allocUnsafe:it,Tc=Y(ac.getPrototypeOf,ac),kc=ac.create,Ec=fc.propertyIsEnumerable,Dc=lc.splice,Ic=Sc?Sc.isConcatSpreadable:it,Lc=Sc?Sc.iterator:it,$c=Sc?Sc.toStringTag:it,Oc=function(){try{var t=xo(ac,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rc=e.clearTimeout!==rn.clearTimeout&&e.clearTimeout,jc=nc&&nc.now!==rn.Date.now&&nc.now,Mc=e.setTimeout!==rn.setTimeout&&e.setTimeout,Fc=sc.ceil,Nc=sc.floor,Bc=ac.getOwnPropertySymbols,Hc=xc?xc.isBuffer:it,Uc=e.isFinite,zc=lc.join,Wc=Y(ac.keys,ac),Yc=sc.max,Vc=sc.min,Xc=nc.now,qc=e.parseInt,Gc=sc.random,Zc=lc.reverse,Qc=xo(e,"DataView"),Jc=xo(e,"Map"),Kc=xo(e,"Promise"),tl=xo(e,"Set"),el=xo(e,"WeakMap"),il=xo(ac,"create"),nl=el&&new el,rl={},ol=ts(Qc),sl=ts(Jc),al=ts(Kc),hl=ts(tl),ul=ts(el),cl=Sc?Sc.prototype:it,ll=cl?cl.valueOf:it,pl=cl?cl.toString:it,fl=function(){function t(){}return function(e){if(!rh(e))return{};if(kc)return kc(e);t.prototype=e;var i=new t;return t.prototype=it,i}}();i.templateSettings={escape:Pe,evaluate:Te,interpolate:ke,variable:"",imports:{_:i}},i.prototype=n.prototype,i.prototype.constructor=i,r.prototype=fl(n.prototype),r.prototype.constructor=r,_.prototype=fl(n.prototype),_.prototype.constructor=_,tt.prototype.clear=Be,tt.prototype.delete=Je,tt.prototype.get=Ke,tt.prototype.has=ti,tt.prototype.set=ei,ii.prototype.clear=ni,ii.prototype.delete=ri,ii.prototype.get=oi,ii.prototype.has=si,ii.prototype.set=ai,hi.prototype.clear=ui,hi.prototype.delete=ci,hi.prototype.get=li,hi.prototype.has=pi,hi.prototype.set=fi,di.prototype.add=di.prototype.push=gi,di.prototype.has=vi,mi.prototype.clear=_i,mi.prototype.delete=yi,mi.prototype.get=bi,mi.prototype.has=wi,mi.prototype.set=Ai;var dl=Hr(Ji),gl=Hr(en,!0),vl=Ur(),ml=Ur(!0),_l=nl?function(t,e){return nl.set(t,e),t}:Du,yl=Oc?function(t,e){return Oc(t,"toString",{configurable:!0,enumerable:!1,value:ku(e),writable:!0})}:Du,bl=ir,wl=Rc||function(t){return rn.clearTimeout(t)},Al=tl&&1/X(new tl([,-0]))[1]==Lt?function(t){return new tl(t)}:ju,xl=nl?function(t){return nl.get(t)}:ju,Sl=Bc?function(t){return null==t?[]:(t=ac(t),c(Bc(t),function(e){return Ec.call(t,e)}))}:Bu,Cl=Bc?function(t){for(var e=[];t;)d(e,Sl(t)),t=Tc(t);return e}:Bu,Pl=hn;(Qc&&Pl(new Qc(new ArrayBuffer(1)))!=ue||Jc&&Pl(new Jc)!=Gt||Kc&&Pl(Kc.resolve())!=Kt||tl&&Pl(new tl)!=ie||el&&Pl(new el)!=se)&&(Pl=function(t){var e=hn(t),i=e==Jt?t.constructor:it,n=i?ts(i):"";if(n)switch(n){case ol:return ue;case sl:return Gt;case al:return Kt;case hl:return ie;case ul:return se}return e});var Tl=dc?eh:Hu,kl=Qo(_l),El=Mc||function(t,e){return rn.setTimeout(t,e)},Dl=Qo(yl),Il=Uo(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ie,function(t,i,n,r){e.push(n?r.replace(He,"$1"):i||t)}),e}),Ll=ir(function(t,e){return Xa(t)?Ui(t,Qi(e,1,Xa,!0)):[]}),$l=ir(function(t,e){var i=ws(e);return Xa(i)&&(i=it),Xa(t)?Ui(t,Qi(e,1,Xa,!0),bo(i,2)):[]}),Ol=ir(function(t,e){var i=ws(e);return Xa(i)&&(i=it),Xa(t)?Ui(t,Qi(e,1,Xa,!0),it,i):[]}),Rl=ir(function(t){var e=f(t,wr);return e.length&&e[0]===t[0]?xn(e):[]}),jl=ir(function(t){var e=ws(t),i=f(t,wr);return e===ws(i)?e=it:i.pop(),i.length&&i[0]===t[0]?xn(i,bo(e,2)):[]}),Ml=ir(function(t){var e=ws(t),i=f(t,wr);return e="function"==typeof e?e:it,e&&i.pop(),i.length&&i[0]===t[0]?xn(i,it,e):[]}),Fl=ir(Ss),Nl=go(function(t,e){var i=null==t?0:t.length,n=Oi(t,e);return Jn(t,f(e,function(t){return $o(t,i)?+t:t}).sort(Ir)),n}),Bl=ir(function(t){return dr(Qi(t,1,Xa,!0))}),Hl=ir(function(t){var e=ws(t);return Xa(e)&&(e=it),dr(Qi(t,1,Xa,!0),bo(e,2))}),Ul=ir(function(t){var e=ws(t);return e="function"==typeof e?e:it,dr(Qi(t,1,Xa,!0),it,e)}),zl=ir(function(t,e){return Xa(t)?Ui(t,e):[]}),Wl=ir(function(t){return yr(c(t,Xa))}),Yl=ir(function(t){var e=ws(t);return Xa(e)&&(e=it),yr(c(t,Xa),bo(e,2))}),Vl=ir(function(t){var e=ws(t);return e="function"==typeof e?e:it,yr(c(t,Xa),it,e)}),Xl=ir(Vs),ql=ir(function(t){var e=t.length,i=e>1?t[e-1]:it;return i="function"==typeof i?(t.pop(),i):it,Xs(t,i)}),Gl=go(function(t){var e=t.length,i=e?t[0]:0,n=this.__wrapped__,o=function(e){return Oi(e,t)};return!(e>1||this.__actions__.length)&&n instanceof _&&$o(i)?(n=n.slice(i,+i+(e?1:0)),n.__actions__.push({func:Js,args:[o],thisArg:it}),new r(n,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Zl=Nr(function(t,e,i){vc.call(t,i)?++t[i]:$i(t,i,1)}),Ql=qr(ls),Jl=qr(ps),Kl=Nr(function(t,e,i){vc.call(t,i)?t[i].push(e):$i(t,i,[e])}),tp=ir(function(t,e,i){var n=-1,r="function"==typeof e,s=Va(t)?ic(t.length):[];return dl(t,function(t){s[++n]=r?o(e,t,i):Cn(t,e,i)}),s}),ep=Nr(function(t,e,i){$i(t,i,e)}),ip=Nr(function(t,e,i){t[i?0:1].push(e)},function(){return[[],[]]}),np=ir(function(t,e){if(null==t)return[];var i=e.length;return i>1&&Oo(t,e[0],e[1])?e=[]:i>2&&Oo(e[0],e[1],e[2])&&(e=[e[0]]),Xn(t,Qi(e,1),[])}),rp=jc||function(){return rn.Date.now()},op=ir(function(t,e,i){var n=gt;if(i.length){var r=V(i,yo(op));n|=bt}return ao(t,n,e,i,r)}),sp=ir(function(t,e,i){var n=gt|vt;if(i.length){var r=V(i,yo(sp));n|=bt}return ao(e,n,t,i,r)}),ap=ir(function(t,e){return Hi(t,1,e)}),hp=ir(function(t,e,i){return Hi(t,Sh(e)||0,i)});Ia.Cache=hi;var up=bl(function(t,e){e=1==e.length&&vp(e[0])?f(e[0],$(bo())):f(Qi(e,1),$(bo()));var i=e.length;return ir(function(n){for(var r=-1,s=Vc(n.length,i);++r<s;)n[r]=e[r].call(this,n[r]);return o(t,this,n)})}),cp=ir(function(t,e){var i=V(e,yo(cp));return ao(t,bt,it,e,i)}),lp=ir(function(t,e){var i=V(e,yo(lp));return ao(t,wt,it,e,i)}),pp=go(function(t,e){return ao(t,xt,it,it,it,e)}),fp=no(un),dp=no(function(t,e){return t>=e}),gp=Pn(function(){return arguments}())?Pn:function(t){return oh(t)&&vc.call(t,"callee")&&!Ec.call(t,"callee")},vp=ic.isArray,mp=cn?$(cn):Tn,_p=Hc||Hu,yp=ln?$(ln):kn,bp=pn?$(pn):In,wp=fn?$(fn):On,Ap=dn?$(dn):Rn,xp=gn?$(gn):jn,Sp=no(Bn),Cp=no(function(t,e){return t<=e}),Pp=Br(function(t,e){if(No(e)||Va(e))return void jr(e,Bh(e),t);for(var i in e)vc.call(e,i)&&ki(t,i,e[i])}),Tp=Br(function(t,e){jr(e,Hh(e),t)}),kp=Br(function(t,e,i,n){jr(e,Hh(e),t,n)}),Ep=Br(function(t,e,i,n){jr(e,Bh(e),t,n)}),Dp=go(Oi),Ip=ir(function(t,e){t=ac(t);var i=-1,n=e.length,r=n>2?e[2]:it;for(r&&Oo(e[0],e[1],r)&&(n=1);++i<n;)for(var o=e[i],s=Hh(o),a=-1,h=s.length;++a<h;){var u=s[a],c=t[u];(c===it||Ya(c,fc[u])&&!vc.call(t,u))&&(t[u]=o[u])}return t}),Lp=ir(function(t){return t.push(it,uo),o(Mp,it,t)}),$p=Qr(function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=yc.call(e)),t[e]=i},ku(Du)),Op=Qr(function(t,e,i){null!=e&&"function"!=typeof e.toString&&(e=yc.call(e)),vc.call(t,e)?t[e].push(i):t[e]=[i]},bo),Rp=ir(Cn),jp=Br(function(t,e,i){Wn(t,e,i)}),Mp=Br(function(t,e,i,n){Wn(t,e,i,n)}),Fp=go(function(t,e){var i={};if(null==t)return i;var n=!1;e=f(e,function(e){return e=xr(e,t),n||(n=e.length>1),e}),jr(t,mo(t),i),n&&(i=ji(i,ct|lt|pt,co));for(var r=e.length;r--;)gr(i,e[r]);return i}),Np=go(function(t,e){return null==t?{}:qn(t,e)}),Bp=so(Bh),Hp=so(Hh),Up=Yr(function(t,e,i){return e=e.toLowerCase(),t+(i?ru(e):e)}),zp=Yr(function(t,e,i){return t+(i?"-":"")+e.toLowerCase()}),Wp=Yr(function(t,e,i){return t+(i?" ":"")+e.toLowerCase()}),Yp=Wr("toLowerCase"),Vp=Yr(function(t,e,i){return t+(i?"_":"")+e.toLowerCase()}),Xp=Yr(function(t,e,i){return t+(i?" ":"")+Gp(e)}),qp=Yr(function(t,e,i){return t+(i?" ":"")+e.toUpperCase()}),Gp=Wr("toUpperCase"),Zp=ir(function(t,e){try{return o(t,it,e)}catch(t){return Ka(t)?t:new rc(t)}}),Qp=go(function(t,e){return a(e,function(e){e=Ko(e),$i(t,e,op(t[e],t))}),t}),Jp=Gr(),Kp=Gr(!0),tf=ir(function(t,e){return function(i){return Cn(i,t,e)}}),ef=ir(function(t,e){return function(i){return Cn(t,i,e)}}),nf=Kr(f),rf=Kr(u),of=Kr(m),sf=io(),af=io(!0),hf=Jr(function(t,e){return t+e},0),uf=oo("ceil"),cf=Jr(function(t,e){return t/e},1),lf=oo("floor"),pf=Jr(function(t,e){return t*e},1),ff=oo("round"),df=Jr(function(t,e){return t-e},0);return i.after=Sa,i.ary=Ca,i.assign=Pp,i.assignIn=Tp,i.assignInWith=kp,i.assignWith=Ep,i.at=Dp,i.before=Pa,i.bind=op,i.bindAll=Qp,i.bindKey=sp,i.castArray=Na,i.chain=Zs,i.chunk=ns,i.compact=rs,i.concat=os,i.cond=Pu,i.conforms=Tu,i.constant=ku,i.countBy=Zl,i.create=kh,i.curry=Ta,i.curryRight=ka,i.debounce=Ea,i.defaults=Ip,i.defaultsDeep=Lp,i.defer=ap,i.delay=hp,i.difference=Ll,i.differenceBy=$l,i.differenceWith=Ol,i.drop=ss,i.dropRight=as,i.dropRightWhile=hs,i.dropWhile=us,i.fill=cs,i.filter=aa,i.flatMap=ha,i.flatMapDeep=ua,i.flatMapDepth=ca,i.flatten=fs,i.flattenDeep=ds,i.flattenDepth=gs,i.flip=Da,i.flow=Jp,i.flowRight=Kp,i.fromPairs=vs,i.functions=Rh,i.functionsIn=jh,i.groupBy=Kl,i.initial=ys,i.intersection=Rl,i.intersectionBy=jl,i.intersectionWith=Ml,i.invert=$p,i.invertBy=Op,i.invokeMap=tp,i.iteratee=Iu,i.keyBy=ep,i.keys=Bh,i.keysIn=Hh,i.map=da,i.mapKeys=Uh,i.mapValues=zh,i.matches=Lu,i.matchesProperty=$u,i.memoize=Ia,i.merge=jp,i.mergeWith=Mp,i.method=tf,i.methodOf=ef,i.mixin=Ou,i.negate=La,i.nthArg=Mu,i.omit=Fp,i.omitBy=Wh,i.once=$a,i.orderBy=ga,i.over=nf,i.overArgs=up,i.overEvery=rf,i.overSome=of,i.partial=cp,i.partialRight=lp,i.partition=ip,i.pick=Np,i.pickBy=Yh,i.property=Fu,i.propertyOf=Nu,i.pull=Fl,i.pullAll=Ss,i.pullAllBy=Cs,i.pullAllWith=Ps,i.pullAt=Nl,i.range=sf,i.rangeRight=af,i.rearg=pp,i.reject=_a,i.remove=Ts,i.rest=Oa,i.reverse=ks,i.sampleSize=ba,i.set=Xh,i.setWith=qh,i.shuffle=wa,i.slice=Es,i.sortBy=np,i.sortedUniq=js,i.sortedUniqBy=Ms,i.split=gu,i.spread=Ra,i.tail=Fs,i.take=Ns,i.takeRight=Bs,i.takeRightWhile=Hs,i.takeWhile=Us,i.tap=Qs,i.throttle=ja,i.thru=Js,i.toArray=bh,i.toPairs=Bp,i.toPairsIn=Hp,i.toPath=Vu,i.toPlainObject=Ch,i.transform=Gh,i.unary=Ma,i.union=Bl,i.unionBy=Hl,i.unionWith=Ul,i.uniq=zs,i.uniqBy=Ws,i.uniqWith=Ys,i.unset=Zh,i.unzip=Vs,i.unzipWith=Xs,i.update=Qh,i.updateWith=Jh,i.values=Kh,i.valuesIn=tu,i.without=zl,i.words=Cu,i.wrap=Fa,i.xor=Wl,i.xorBy=Yl,i.xorWith=Vl,i.zip=Xl,i.zipObject=qs,i.zipObjectDeep=Gs,i.zipWith=ql,i.entries=Bp,i.entriesIn=Hp,i.extend=Tp,i.extendWith=kp,Ou(i,i),i.add=hf,i.attempt=Zp,i.camelCase=Up,i.capitalize=ru,i.ceil=uf,i.clamp=eu,i.clone=Ba,i.cloneDeep=Ua,i.cloneDeepWith=za,i.cloneWith=Ha,i.conformsTo=Wa,i.deburr=ou,i.defaultTo=Eu,i.divide=cf,i.endsWith=su,i.eq=Ya,i.escape=au,i.escapeRegExp=hu,i.every=sa,i.find=Ql,i.findIndex=ls,i.findKey=Eh,i.findLast=Jl,i.findLastIndex=ps,i.findLastKey=Dh,i.floor=lf,i.forEach=la,i.forEachRight=pa,i.forIn=Ih,i.forInRight=Lh,i.forOwn=$h,i.forOwnRight=Oh,i.get=Mh,i.gt=fp,i.gte=dp,i.has=Fh,i.hasIn=Nh,i.head=ms,i.identity=Du,i.includes=fa,i.indexOf=_s,i.inRange=iu,i.invoke=Rp,i.isArguments=gp,i.isArray=vp,i.isArrayBuffer=mp,i.isArrayLike=Va,i.isArrayLikeObject=Xa,i.isBoolean=qa,i.isBuffer=_p,i.isDate=yp,i.isElement=Ga,i.isEmpty=Za,i.isEqual=Qa,i.isEqualWith=Ja,i.isError=Ka,i.isFinite=th,i.isFunction=eh,i.isInteger=ih,i.isLength=nh,i.isMap=bp,i.isMatch=sh,i.isMatchWith=ah,i.isNaN=hh,i.isNative=uh,i.isNil=lh,i.isNull=ch,i.isNumber=ph,i.isObject=rh,i.isObjectLike=oh,i.isPlainObject=fh,i.isRegExp=wp,i.isSafeInteger=dh,i.isSet=Ap,i.isString=gh,i.isSymbol=vh,i.isTypedArray=xp,i.isUndefined=mh,i.isWeakMap=_h,i.isWeakSet=yh,i.join=bs,i.kebabCase=zp,i.last=ws,i.lastIndexOf=As,i.lowerCase=Wp,i.lowerFirst=Yp,i.lt=Sp,i.lte=Cp,i.max=qu,i.maxBy=Gu,i.mean=Zu,i.meanBy=Qu,i.min=Ju,i.minBy=Ku,i.stubArray=Bu,i.stubFalse=Hu,i.stubObject=Uu,i.stubString=zu,i.stubTrue=Wu,i.multiply=pf,i.nth=xs,i.noConflict=Ru,i.noop=ju,i.now=rp,i.pad=uu,i.padEnd=cu,i.padStart=lu,i.parseInt=pu,i.random=nu,i.reduce=va,i.reduceRight=ma,i.repeat=fu,i.replace=du,i.result=Vh,i.round=ff,i.runInContext=t,i.sample=ya,i.size=Aa,i.snakeCase=Vp,i.some=xa,i.sortedIndex=Ds,i.sortedIndexBy=Is,i.sortedIndexOf=Ls,i.sortedLastIndex=$s,i.sortedLastIndexBy=Os,i.sortedLastIndexOf=Rs,i.startCase=Xp,i.startsWith=vu,i.subtract=df,i.sum=tc,i.sumBy=ec,i.template=mu,i.times=Yu,i.toFinite=wh,i.toInteger=Ah,i.toLength=xh,i.toLower=_u,i.toNumber=Sh,i.toSafeInteger=Ph,i.toString=Th,i.toUpper=yu,i.trim=bu,i.trimEnd=wu,i.trimStart=Au,i.truncate=xu,i.unescape=Su,i.uniqueId=Xu,i.upperCase=qp,i.upperFirst=Gp,i.each=la,i.eachRight=pa,i.first=ms,Ou(i,function(){var t={};return Ji(i,function(e,n){vc.call(i.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),i.VERSION=nt,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){i[t].placeholder=i}),a(["drop","take"],function(t,e){_.prototype[t]=function(i){i=i===it?1:Yc(Ah(i),0);var n=this.__filtered__&&!e?new _(this):this.clone();return n.__filtered__?n.__takeCount__=Vc(i,n.__takeCount__):n.__views__.push({size:Vc(i,jt),type:t+(n.__dir__<0?"Right":"")}),n},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var i=e+1,n=i==Et||i==It;_.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:bo(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}}),a(["head","last"],function(t,e){var i="take"+(e?"Right":"");_.prototype[t]=function(){return this[i](1).value()[0]}}),a(["initial","tail"],function(t,e){var i="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[i](1)}}),_.prototype.compact=function(){return this.filter(Du)},_.prototype.find=function(t){return this.filter(t).head()},_.prototype.findLast=function(t){return this.reverse().find(t)},_.prototype.invokeMap=ir(function(t,e){return"function"==typeof t?new _(this):this.map(function(i){return Cn(i,t,e)})}),_.prototype.reject=function(t){return this.filter(La(bo(t)))},_.prototype.slice=function(t,e){t=Ah(t);var i=this;return i.__filtered__&&(t>0||e<0)?new _(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==it&&(e=Ah(e),i=e<0?i.dropRight(-e):i.take(e-t)),i)},_.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_.prototype.toArray=function(){return this.take(jt)},Ji(_.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),s=i[o?"take"+("last"==e?"Right":""):e],a=o||/^find/.test(e);s&&(i.prototype[e]=function(){var e=this.__wrapped__,h=o?[1]:arguments,u=e instanceof _,c=h[0],l=u||vp(e),p=function(t){var e=s.apply(i,d([t],h));return o&&f?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var f=this.__chain__,g=!!this.__actions__.length,v=a&&!f,m=u&&!g;if(!a&&l){e=m?e:new _(this);var y=t.apply(e,h);return y.__actions__.push({func:Js,args:[p],thisArg:it}),new r(y,f)}return v&&m?t.apply(this,h):(y=this.thru(p),v?o?y.value()[0]:y.value():y)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=lc[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);i.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(vp(i)?i:[],t)}return this[n](function(i){return e.apply(vp(i)?i:[],t)})}}),Ji(_.prototype,function(t,e){var n=i[e];if(n){var r=n.name+"";vc.call(rl,r)||(rl[r]=[]),rl[r].push({name:e,func:n})}}),rl[Zr(it,vt).name]=[{name:"wrapper",func:it}],_.prototype.clone=T,_.prototype.reverse=G,_.prototype.value=K,i.prototype.at=Gl,i.prototype.chain=Ks,i.prototype.commit=ta,i.prototype.next=ea,i.prototype.plant=na,i.prototype.reverse=ra,i.prototype.toJSON=i.prototype.valueOf=i.prototype.value=oa,i.prototype.first=i.prototype.head,Lc&&(i.prototype[Lc]=ia),i},wn=bn();rn._=wn,n=function(){return wn}.call(e,i,e,r),!(n!==it&&(r.exports=n))}).call(this)}).call(e,function(){return this}(),i(186)(t),i(3))},function(t,e){var i,n=[].slice;i=function(){function t(){}return t.production="",t.force=!1,t.log=function(){var t;if(t=1<=arguments.length?n.call(arguments,0):[],window.console&&"function"==typeof window.console.log){if("development"===this.production)return console.log.apply(console,t);if(this.force)return console.log.apply(console,t)}},t}(),t.exports=i},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y,b,w={}.hasOwnProperty;b=i(8),y=b.isObject,_=b.isFunction,m=b.isEmpty,v=b.getValue,u=null,r=null,o=null,s=null,a=null,d=null,g=null,f=null,h=null,n=null,p=null,c=null,e=null,t.exports=l=function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,u||(u=i(48),r=i(40),o=i(41),s=i(46),a=i(47),d=i(51),g=i(53),f=i(50),h=i(81),n=i(2),p=i(195),c=i(49),e=i(190))}return Object.defineProperty(t.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new p(this.children)),this.childNodeList}}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t-1]||null}}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t+1]||null}}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(t.prototype,"textContent",{get:function(){var t,e,i,r,o;if(this.nodeType===n.Element||this.nodeType===n.DocumentFragment){for(o="",r=this.children,e=0,i=r.length;e<i;e++)t=r[e],t.textContent&&(o+=t.textContent);return o}return null},set:function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),t.prototype.setParent=function(t){var e,i,n,r,o;for(this.parent=t,t&&(this.options=t.options,this.stringify=t.stringify),r=this.children,o=[],i=0,n=r.length;i<n;i++)e=r[i],o.push(e.setParent(this));return o},t.prototype.element=function(t,e,i){var n,r,o,s,a,h,u,c,l,p,f;if(h=null,null===e&&null==i&&(l=[{},null],e=l[0],i=l[1]),null==e&&(e={}),e=v(e),y(e)||(p=[e,i],i=p[0],e=p[1]),null!=t&&(t=v(t)),Array.isArray(t))for(o=0,u=t.length;o<u;o++)r=t[o],h=this.element(r);else if(_(t))h=this.element(t.apply());else if(y(t)){for(a in t)if(w.call(t,a))if(f=t[a],_(f)&&(f=f.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===a.indexOf(this.stringify.convertAttKey))h=this.attribute(a.substr(this.stringify.convertAttKey.length),f);else if(!this.options.separateArrayItems&&Array.isArray(f)&&m(f))h=this.dummy();else if(y(f)&&m(f))h=this.element(a);else if(this.options.keepNullNodes||null!=f)if(!this.options.separateArrayItems&&Array.isArray(f))for(s=0,c=f.length;s<c;s++)r=f[s],n={},n[a]=r,h=this.element(n);else y(f)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?h=this.element(f):(h=this.element(a),h.element(f)):h=this.element(a,f);else h=this.dummy()}else h=this.options.keepNullNodes||null!==i?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===t.indexOf(this.stringify.convertTextKey)?this.text(i):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===t.indexOf(this.stringify.convertCDataKey)?this.cdata(i):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===t.indexOf(this.stringify.convertCommentKey)?this.comment(i):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===t.indexOf(this.stringify.convertRawKey)?this.raw(i):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===t.indexOf(this.stringify.convertPIKey)?this.instruction(t.substr(this.stringify.convertPIKey.length),i):this.node(t,e,i):this.dummy();if(null==h)throw new Error("Could not create any elements with: "+t+". "+this.debugInfo());return h},t.prototype.insertBefore=function(t,e,i){var n,r,o,s,a;if(null!=t?t.type:void 0)return o=t,s=e,o.setParent(this),s?(r=children.indexOf(s),a=children.splice(r),children.push(o),Array.prototype.push.apply(children,a)):children.push(o),o;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(t));return r=this.parent.children.indexOf(this),a=this.parent.children.splice(r),n=this.parent.element(t,e,i),Array.prototype.push.apply(this.parent.children,a),n},t.prototype.insertAfter=function(t,e,i){var n,r,o;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(t));return r=this.parent.children.indexOf(this),o=this.parent.children.splice(r+1),n=this.parent.element(t,e,i),Array.prototype.push.apply(this.parent.children,o),n},t.prototype.remove=function(){var t,e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return t=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[t,t-t+1].concat(e=[])),this.parent},t.prototype.node=function(t,e,i){var n,r;return null!=t&&(t=v(t)),e||(e={}),e=v(e),y(e)||(r=[e,i],i=r[0],e=r[1]),n=new u(this,t,e),null!=i&&n.text(i),this.children.push(n),n},t.prototype.text=function(t){var e;return y(t)&&this.element(t),e=new g(this,t),this.children.push(e),this},t.prototype.cdata=function(t){var e;return e=new r(this,t),this.children.push(e),this},t.prototype.comment=function(t){var e;return e=new o(this,t),this.children.push(e),this},t.prototype.commentBefore=function(t){var e,i,n;return i=this.parent.children.indexOf(this),n=this.parent.children.splice(i),e=this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(t){var e,i,n;return i=this.parent.children.indexOf(this),n=this.parent.children.splice(i+1),e=this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(t){var e;return e=new d(this,t),this.children.push(e),this},t.prototype.dummy=function(){var t;return t=new h(this)},t.prototype.instruction=function(t,e){var i,n,r,o,s;if(null!=t&&(t=v(t)),null!=e&&(e=v(e)),Array.isArray(t))for(o=0,s=t.length;o<s;o++)i=t[o],this.instruction(i);else if(y(t))for(i in t)w.call(t,i)&&(n=t[i],this.instruction(i,n));else _(e)&&(e=e.apply()),r=new f(this,t,e),this.children.push(r);return this},t.prototype.instructionBefore=function(t,e){var i,n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n),i=this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(t,e){var i,n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1),i=this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(t,e,i){var r,o;return r=this.document(),o=new s(r,t,e,i),0===r.children.length?r.children.unshift(o):r.children[0].type===n.Declaration?r.children[0]=o:r.children.unshift(o),r.root()||r},t.prototype.dtd=function(t,e){var i,r,o,s,h,u,c,l,p,f;for(r=this.document(),o=new a(r,t,e),p=r.children,s=h=0,c=p.length;h<c;s=++h)if(i=p[s],i.type===n.DocType)return r.children[s]=o,o;for(f=r.children,s=u=0,l=f.length;u<l;s=++u)if(i=f[s],i.isRoot)return r.children.splice(s,0,o),o;return r.children.push(o),o},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var t;for(t=this;t;){if(t.type===n.Document)return t.rootObject;if(t.isRoot)return t;t=t.parent}},t.prototype.document=function(){var t;for(t=this;t;){if(t.type===n.Document)return t;t=t.parent}},t.prototype.end=function(t){return this.document().end(t)},t.prototype.prev=function(){var t;if(t=this.parent.children.indexOf(this),t<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[t-1]},t.prototype.next=function(){var t;if(t=this.parent.children.indexOf(this),t===-1||t===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[t+1]},t.prototype.importDocument=function(t){var e;return e=t.root().clone(),e.parent=this,e.isRoot=!1,this.children.push(e),this},t.prototype.debugInfo=function(t){var e,i;return t=t||this.name,null!=t||(null!=(e=this.parent)?e.name:void 0)?null==t?"parent: <"+this.parent.name+">":(null!=(i=this.parent)?i.name:void 0)?"node: <"+t+">, parent: <"+this.parent.name+">":"node: <"+t+">":""},t.prototype.ele=function(t,e,i){return this.element(t,e,i)},t.prototype.nod=function(t,e,i){return this.node(t,e,i)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(t,e,i){return this.declaration(t,e,i)},t.prototype.e=function(t,e,i){return this.element(t,e,i)},t.prototype.n=function(t,e,i){return this.node(t,e,i)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(t){return this.importDocument(t)},t.prototype.replaceChild=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.removeChild=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendChild=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.hasChildNodes=function(){return 0!==this.children.length},t.prototype.cloneNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isSupported=function(t,e){return!0},t.prototype.hasAttributes=function(){return 0!==this.attribs.length},t.prototype.compareDocumentPosition=function(t){var i,n;return i=this,i===t?0:this.document()!==t.document()?(n=e.Disconnected|e.ImplementationSpecific,n|=Math.random()<.5?e.Preceding:e.Following):i.isAncestor(t)?e.Contains|e.Preceding:i.isDescendant(t)?e.Contains|e.Following:i.isPreceding(t)?e.Preceding:e.Following},t.prototype.isSameNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupPrefix=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isDefaultNamespace=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupNamespaceURI=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(t){var e,i,n;if(t.nodeType!==this.nodeType)return!1;if(t.children.length!==this.children.length)return!1;for(e=i=0,n=this.children.length-1;0<=n?i<=n:i>=n;e=0<=n?++i:--i)if(!this.children[e].isEqualNode(t.children[e]))return!1;return!0},t.prototype.getFeature=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setUserData=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getUserData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.contains=function(t){return!!t&&(t===this||this.isDescendant(t))},t.prototype.isDescendant=function(t){var e,i,n,r,o;for(o=this.children,n=0,r=o.length;n<r;n++){if(e=o[n],t===e)return!0;if(i=e.isDescendant(t))return!0}return!1},t.prototype.isAncestor=function(t){return t.isDescendant(this)},t.prototype.isPreceding=function(t){var e,i;return e=this.treePosition(t),i=this.treePosition(this),e!==-1&&i!==-1&&e<i},t.prototype.isFollowing=function(t){var e,i;return e=this.treePosition(t),i=this.treePosition(this),e!==-1&&i!==-1&&e>i},t.prototype.treePosition=function(t){var e,i;return i=0,e=!1,this.foreachTreeNode(this.document(),function(n){if(i++,!e&&n===t)return e=!0}),e?i:-1},t.prototype.foreachTreeNode=function(t,e){var i,n,r,o,s;for(t||(t=this.document()),o=t.children,n=0,r=o.length;n<r;n++){if(i=o[n],s=e(i))return s;if(s=this.foreachTreeNode(i,e))return s}},t}()}).call(this)},function(t,e,i){!function(i,n){t.exports=e=n()}(this,function(){var t=t||function(t,e){var i=Object.create||function(){function t(){}return function(e){var i;return t.prototype=e,i=new t,t.prototype=null,i}}(),n={},r=n.lib={},o=r.Base=function(){return{extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=r.WordArray=o.extend({init:function(t,i){t=this.words=t||[],i!=e?this.sigBytes=i:this.sigBytes=4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var e=this.words,i=t.words,n=this.sigBytes,r=t.sigBytes;if(this.clamp(),n%4)for(var o=0;o<r;o++){var s=i[o>>>2]>>>24-o%4*8&255;e[n+o>>>2]|=s<<24-(n+o)%4*8}else for(var o=0;o<r;o+=4)e[n+o>>>2]=i[o>>>2];return this.sigBytes+=r,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i,n=[],r=function(e){var e=e,i=987654321,n=4294967295;return function(){i=36969*(65535&i)+(i>>16)&n,e=18e3*(65535&e)+(e>>16)&n;var r=(i<<16)+e&n;return r/=4294967296,r+=.5,r*(t.random()>.5?1:-1)}},o=0;o<e;o+=4){var a=r(4294967296*(i||t.random()));i=987654071*a(),n.push(4294967296*a()|0)}return new s.init(n,e)}}),a=n.enc={},h=a.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],r=0;r<i;r++){var o=e[r>>>2]>>>24-r%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new s.init(i,e/2)}},u=a.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],r=0;r<i;r++){var o=e[r>>>2]>>>24-r%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new s.init(i,e)}},c=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},l=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,r=i.sigBytes,o=this.blockSize,a=4*o,h=r/a;h=e?t.ceil(h):t.max((0|h)-this._minBufferSize,0);var u=h*o,c=t.min(4*u,r);if(u){for(var l=0;l<u;l+=o)this._doProcessBlock(n,l);var p=n.splice(0,u);i.sigBytes-=c}return new s.init(p,c)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),p=(r.Hasher=l.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new p.HMAC.init(t,i).finalize(e)}}}),n.algo={});return n}(Math);
return t})},function(t,e){function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(t){if(c===setTimeout)return setTimeout(t,0);if((c===i||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===n||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){g&&f&&(g=!1,f.length?d=f.concat(d):v=-1,d.length&&a())}function a(){if(!g){var t=r(s);g=!0;for(var e=d.length;e;){for(f=d,d=[];++v<e;)f&&f[v].run();v=-1,e=d.length}f=null,g=!1,o(t)}}function h(t,e){this.fun=t,this.array=e}function u(){}var c,l,p=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:i}catch(t){c=i}try{l="function"==typeof clearTimeout?clearTimeout:n}catch(t){l=n}}();var f,d=[],g=!1,v=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];d.push(new h(t,e)),1!==d.length||g||r(a)},h.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e){(function(){var e,i,n,r,o,s,a,h=[].slice,u={}.hasOwnProperty;e=function(){var t,e,i,n,r,s;if(s=arguments[0],r=2<=arguments.length?h.call(arguments,1):[],o(Object.assign))Object.assign.apply(null,arguments);else for(t=0,i=r.length;t<i;t++)if(n=r[t],null!=n)for(e in n)u.call(n,e)&&(s[e]=n[e]);return s},o=function(t){return!!t&&"[object Function]"===Object.prototype.toString.call(t)},s=function(t){var e;return!!t&&("function"==(e=typeof t)||"object"===e)},n=function(t){return o(Array.isArray)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},r=function(t){var e;if(n(t))return!t.length;for(e in t)if(u.call(t,e))return!1;return!0},a=function(t){var e,i;return s(t)&&(i=Object.getPrototypeOf(t))&&(e=i.constructor)&&"function"==typeof e&&e instanceof e&&Function.prototype.toString.call(e)===Function.prototype.toString.call(Object)},i=function(t){return o(t.valueOf)?t.valueOf():t},t.exports.assign=e,t.exports.isFunction=o,t.exports.isObject=s,t.exports.isArray=n,t.exports.isEmpty=r,t.exports.isPlainObject=a,t.exports.getValue=i}).call(this)},function(t,e,i){"use strict";function n(t,e){function i(n){return this instanceof i?(l(this,"message","string"==typeof n?n:e),l(this,"name",t),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new i(n)}return c(i,Error),i}function r(t){return this instanceof r?(l(this,"name","OperationalError"),l(this,"message",t),this.cause=t,this.isOperational=!0,void(t instanceof Error?(l(this,"message",t.message),l(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new r(t)}var o,s,a=i(14),h=a.freeze,u=i(1),c=u.inherits,l=u.notEnumerableProp,p=n("Warning","warning"),f=n("CancellationError","cancellation error"),d=n("TimeoutError","timeout error"),g=n("AggregateError","aggregate error");try{o=TypeError,s=RangeError}catch(t){o=n("TypeError","type error"),s=n("RangeError","range error")}for(var v="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m<v.length;++m)"function"==typeof Array.prototype[v[m]]&&(g.prototype[v[m]]=Array.prototype[v[m]]);a.defineProperty(g.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),g.prototype.isOperational=!0;var _=0;g.prototype.toString=function(){var t=Array(4*_+1).join(" "),e="\n"+t+"AggregateError of:\n";_++,t=Array(4*_+1).join(" ");for(var i=0;i<this.length;++i){for(var n=this[i]===this?"[Circular AggregateError]":this[i]+"",r=n.split("\n"),o=0;o<r.length;++o)r[o]=t+r[o];n=r.join("\n"),e+=n+"\n"}return _--,e},c(r,Error);var y=Error.__BluebirdErrorTypes__;y||(y=h({CancellationError:f,TimeoutError:d,OperationalError:r,RejectionError:r,AggregateError:g}),a.defineProperty(Error,"__BluebirdErrorTypes__",{value:y,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:s,CancellationError:y.CancellationError,OperationalError:y.OperationalError,TimeoutError:y.TimeoutError,AggregateError:y.AggregateError,Warning:p}},function(t,e,i){var n;(function(r){!function(r,o){n=function(){return r.is=o()}.call(e,i,e,t),!(void 0!==n&&(t.exports=n))}(this,function(){function t(t){return function(){return!t.apply(null,c.call(arguments))}}function e(t){return function(){for(var e=o(arguments),i=e.length,n=0;n<i;n++)if(!t.call(null,e[n]))return!1;return!0}}function i(t){return function(){for(var e=o(arguments),i=e.length,n=0;n<i;n++)if(t.call(null,e[n]))return!0;return!1}}function n(t,e){var i=e+"",n=+(i.match(/\d+/)||NaN),r=i.match(/^[<>]=?|/)[0];return p[r]?p[r](t,n):t==n||n!==n}function o(t){var e=c.call(t),i=e.length;return 1===i&&h.array(e[0])&&(e=e[0]),e}function s(t,e){h[t]=function(i){return e[t].test(i)}}function a(){var n=h;for(var r in n)if(l.call(n,r)&&h.function(n[r]))for(var o=n[r].api||["not","all","any"],s=0;s<o.length;s++)"not"===o[s]&&(h.not[r]=t(h[r])),"all"===o[s]&&(h.all[r]=e(h[r])),"any"===o[s]&&(h.any[r]=i(h[r]))}var h={};h.VERSION="0.8.0",h.not={},h.all={},h.any={};var u=Object.prototype.toString,c=Array.prototype.slice,l=Object.prototype.hasOwnProperty,p={"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e}};h.arguments=function(t){return"[object Arguments]"===u.call(t)||null!=t&&"object"==typeof t&&"callee"in t},h.array=Array.isArray||function(t){return"[object Array]"===u.call(t)},h.boolean=function(t){return t===!0||t===!1||"[object Boolean]"===u.call(t)},h.char=function(t){return h.string(t)&&1===t.length},h.date=function(t){return"[object Date]"===u.call(t)},h.domNode=function(t){return h.object(t)&&t.nodeType>0},h.error=function(t){return"[object Error]"===u.call(t)},h.function=function(t){return"[object Function]"===u.call(t)||"function"==typeof t},h.json=function(t){return"[object Object]"===u.call(t)},h.nan=function(t){return t!==t},h.null=function(t){return null===t},h.number=function(t){return h.not.nan(t)&&"[object Number]"===u.call(t)},h.object=function(t){return Object(t)===t},h.regexp=function(t){return"[object RegExp]"===u.call(t)},h.sameType=function(t,e){var i=u.call(t);return i===u.call(e)&&("[object Number]"!==i||!h.any.nan(t,e)||h.all.nan(t,e))},h.sameType.api=["not"],h.string=function(t){return"[object String]"===u.call(t)},h.undefined=function(t){return void 0===t},h.windowObject=function(t){return null!=t&&"object"==typeof t&&"setInterval"in t},h.empty=function(t){if(h.object(t)){var e=Object.getOwnPropertyNames(t).length;return!!(0===e||1===e&&h.array(t)||2===e&&h.arguments(t))}return""===t},h.existy=function(t){return null!=t},h.falsy=function(t){return!t},h.truthy=t(h.falsy),h.above=function(t,e){return h.all.number(t,e)&&t>e},h.above.api=["not"],h.decimal=function(t){return h.number(t)&&t%1!==0},h.equal=function(t,e){return h.all.number(t,e)?t===e&&1/t===1/e:h.all.string(t,e)||h.all.regexp(t,e)?""+t==""+e:!!h.all.boolean(t,e)&&t===e},h.equal.api=["not"],h.even=function(t){return h.number(t)&&t%2===0},h.finite=isFinite||function(t){return h.not.infinite(t)&&h.not.nan(t)},h.infinite=function(t){return t===1/0||t===-(1/0)},h.integer=function(t){return h.number(t)&&t%1===0},h.negative=function(t){return h.number(t)&&t<0},h.odd=function(t){return h.number(t)&&t%2===1},h.positive=function(t){return h.number(t)&&t>0},h.under=function(t,e){return h.all.number(t,e)&&t<e},h.under.api=["not"],h.within=function(t,e,i){return h.all.number(t,e,i)&&t>e&&t<i},h.within.api=["not"];var f={affirmative:/^(?:1|t(?:rue)?|y(?:es)?|ok(?:ay)?)$/,alphaNumeric:/^[A-Za-z0-9]+$/,caPostalCode:/^(?!.*[DFIOQU])[A-VXY][0-9][A-Z]\s?[0-9][A-Z][0-9]$/,creditCard:/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/,dateString:/^(1[0-2]|0?[1-9])([\/-])(3[01]|[12][0-9]|0?[1-9])(?:\2)(?:[0-9]{2})?[0-9]{2}$/,email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,eppPhone:/^\+[0-9]{1,3}\.[0-9]{4,14}(?:x.+)?$/,hexadecimal:/^(?:0x)?[0-9a-fA-F]+$/,hexColor:/^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,ipv4:/^(?:(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,ipv6:/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,nanpPhone:/^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/,socialSecurityNumber:/^(?!000|666)[0-8][0-9]{2}-?(?!00)[0-9]{2}-?(?!0000)[0-9]{4}$/,timeString:/^(2[0-3]|[01]?[0-9]):([0-5]?[0-9]):([0-5]?[0-9])$/,ukPostCode:/^[A-Z]{1,2}[0-9RCHNQ][0-9A-Z]?\s?[0-9][ABD-HJLNP-UW-Z]{2}$|^[A-Z]{2}-?[0-9]{4}$/,url:/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i,usZipCode:/^[0-9]{5}(?:-[0-9]{4})?$/};for(var d in f)f.hasOwnProperty(d)&&s(d,f);h.ip=function(t){return h.ipv4(t)||h.ipv6(t)},h.capitalized=function(t){if(h.not.string(t))return!1;for(var e=t.split(" "),i=0;i<e.length;i++){var n=e[i];if(n.length){var r=n.charAt(0);if(r!==r.toUpperCase())return!1}}return!0},h.endWith=function(t,e){if(h.not.string(t))return!1;e+="";var i=t.length-e.length;return i>=0&&t.indexOf(e,i)===i},h.endWith.api=["not"],h.include=function(t,e){return t.indexOf(e)>-1},h.include.api=["not"],h.lowerCase=function(t){return h.string(t)&&t===t.toLowerCase()},h.palindrome=function(t){if(h.not.string(t))return!1;t=t.replace(/[^a-zA-Z0-9]+/g,"").toLowerCase();for(var e=t.length-1,i=0,n=Math.floor(e/2);i<=n;i++)if(t.charAt(i)!==t.charAt(e-i))return!1;return!0},h.space=function(t){if(h.not.char(t))return!1;var e=t.charCodeAt(0);return e>8&&e<14||32===e},h.startWith=function(t,e){return h.string(t)&&0===t.indexOf(e)},h.startWith.api=["not"],h.upperCase=function(t){return h.string(t)&&t===t.toUpperCase()};var g=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],v=["january","february","march","april","may","june","july","august","september","october","november","december"];h.day=function(t,e){return h.date(t)&&e.toLowerCase()===g[t.getDay()]},h.day.api=["not"],h.dayLightSavingTime=function(t){var e=new Date(t.getFullYear(),0,1),i=new Date(t.getFullYear(),6,1),n=Math.max(e.getTimezoneOffset(),i.getTimezoneOffset());return t.getTimezoneOffset()<n},h.future=function(t){var e=new Date;return h.date(t)&&t.getTime()>e.getTime()},h.inDateRange=function(t,e,i){if(h.not.date(t)||h.not.date(e)||h.not.date(i))return!1;var n=t.getTime();return n>e.getTime()&&n<i.getTime()},h.inDateRange.api=["not"],h.inLastMonth=function(t){return h.inDateRange(t,new Date((new Date).setMonth((new Date).getMonth()-1)),new Date)},h.inLastWeek=function(t){return h.inDateRange(t,new Date((new Date).setDate((new Date).getDate()-7)),new Date)},h.inLastYear=function(t){return h.inDateRange(t,new Date((new Date).setFullYear((new Date).getFullYear()-1)),new Date)},h.inNextMonth=function(t){return h.inDateRange(t,new Date,new Date((new Date).setMonth((new Date).getMonth()+1)))},h.inNextWeek=function(t){return h.inDateRange(t,new Date,new Date((new Date).setDate((new Date).getDate()+7)))},h.inNextYear=function(t){return h.inDateRange(t,new Date,new Date((new Date).setFullYear((new Date).getFullYear()+1)))},h.leapYear=function(t){return h.number(t)&&(t%4===0&&t%100!==0||t%400===0)},h.month=function(t,e){return h.date(t)&&e.toLowerCase()===v[t.getMonth()]},h.month.api=["not"],h.past=function(t){var e=new Date;return h.date(t)&&t.getTime()<e.getTime()},h.quarterOfYear=function(t,e){return h.date(t)&&h.number(e)&&e===Math.floor((t.getMonth()+3)/3)},h.quarterOfYear.api=["not"],h.today=function(t){var e=new Date,i=e.toDateString();return h.date(t)&&t.toDateString()===i},h.tomorrow=function(t){var e=new Date,i=new Date(e.setDate(e.getDate()+1)).toDateString();return h.date(t)&&t.toDateString()===i},h.weekend=function(t){return h.date(t)&&(6===t.getDay()||0===t.getDay())},h.weekday=t(h.weekend),h.year=function(t,e){return h.date(t)&&h.number(e)&&e===t.getFullYear()},h.year.api=["not"],h.yesterday=function(t){var e=new Date,i=new Date(e.setDate(e.getDate()-1)).toDateString();return h.date(t)&&t.toDateString()===i};var m=h.windowObject("object"==typeof r&&r)&&r,_=h.windowObject("object"==typeof self&&self)&&self,y=h.windowObject("object"==typeof this&&this)&&this,b=m||_||y||Function("return this")(),w=_&&_.document,A=b.is,x=_&&_.navigator,S=(x&&x.appVersion||"").toLowerCase(),C=(x&&x.userAgent||"").toLowerCase(),P=(x&&x.vendor||"").toLowerCase();return h.android=function(){return/android/.test(C)},h.android.api=["not"],h.androidPhone=function(){return/android/.test(C)&&/mobile/.test(C)},h.androidPhone.api=["not"],h.androidTablet=function(){return/android/.test(C)&&!/mobile/.test(C)},h.androidTablet.api=["not"],h.blackberry=function(){return/blackberry/.test(C)||/bb10/.test(C)},h.blackberry.api=["not"],h.chrome=function(t){var e=/google inc/.test(P)?C.match(/(?:chrome|crios)\/(\d+)/):null;return null!==e&&n(e[1],t)},h.chrome.api=["not"],h.desktop=function(){return h.not.mobile()&&h.not.tablet()},h.desktop.api=["not"],h.edge=function(t){var e=C.match(/edge\/(\d+)/);return null!==e&&n(e[1],t)},h.edge.api=["not"],h.firefox=function(t){var e=C.match(/(?:firefox|fxios)\/(\d+)/);return null!==e&&n(e[1],t)},h.firefox.api=["not"],h.ie=function(t){var e=C.match(/(?:msie |trident.+?; rv:)(\d+)/);return null!==e&&n(e[1],t)},h.ie.api=["not"],h.ios=function(){return h.iphone()||h.ipad()||h.ipod()},h.ios.api=["not"],h.ipad=function(t){var e=C.match(/ipad.+?os (\d+)/);return null!==e&&n(e[1],t)},h.ipad.api=["not"],h.iphone=function(t){var e=C.match(/iphone(?:.+?os (\d+))?/);return null!==e&&n(e[1]||1,t)},h.iphone.api=["not"],h.ipod=function(t){var e=C.match(/ipod.+?os (\d+)/);return null!==e&&n(e[1],t)},h.ipod.api=["not"],h.linux=function(){return/linux/.test(S)},h.linux.api=["not"],h.mac=function(){return/mac/.test(S)},h.mac.api=["not"],h.mobile=function(){return h.iphone()||h.ipod()||h.androidPhone()||h.blackberry()||h.windowsPhone()},h.mobile.api=["not"],h.offline=t(h.online),h.offline.api=["not"],h.online=function(){return!x||x.onLine===!0},h.online.api=["not"],h.opera=function(t){var e=C.match(/(?:^opera.+?version|opr)\/(\d+)/);return null!==e&&n(e[1],t)},h.opera.api=["not"],h.phantom=function(t){var e=C.match(/phantomjs\/(\d+)/);return null!==e&&n(e[1],t)},h.phantom.api=["not"],h.safari=function(t){var e=C.match(/version\/(\d+).+?safari/);return null!==e&&n(e[1],t)},h.safari.api=["not"],h.tablet=function(){return h.ipad()||h.androidTablet()||h.windowsTablet()},h.tablet.api=["not"],h.touchDevice=function(){return!!w&&("ontouchstart"in _||"DocumentTouch"in _&&w instanceof DocumentTouch)},h.touchDevice.api=["not"],h.windows=function(){return/win/.test(S)},h.windows.api=["not"],h.windowsPhone=function(){return h.windows()&&/phone/.test(C)},h.windowsPhone.api=["not"],h.windowsTablet=function(){return h.windows()&&h.not.windowsPhone()&&/touch/.test(C)},h.windowsTablet.api=["not"],h.propertyCount=function(t,e){if(h.not.object(t)||h.not.number(e))return!1;var i=0;for(var n in t)if(l.call(t,n)&&++i>e)return!1;return i===e},h.propertyCount.api=["not"],h.propertyDefined=function(t,e){return h.object(t)&&h.string(e)&&e in t},h.propertyDefined.api=["not"],h.inArray=function(t,e){if(h.not.array(e))return!1;for(var i=0;i<e.length;i++)if(e[i]===t)return!0;return!1},h.inArray.api=["not"],h.sorted=function(t,e){if(h.not.array(t))return!1;for(var i=p[e]||p[">="],n=1;n<t.length;n++)if(!i(t[n],t[n-1]))return!1;return!0},a(),h.setNamespace=function(){return b.is=A,this},h.setRegexp=function(t,e){for(var i in f)l.call(f,i)&&e===i&&(f[i]=t)},h})}).call(e,function(){return this}())},function(t,e,i){"use strict";function n(t){return this instanceof n?(u.call(this,t),c.call(this,t),t&&t.readable===!1&&(this.readable=!1),t&&t.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,t&&t.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",r)):new n(t)}function r(){this.allowHalfOpen||this._writableState.ended||s.nextTick(o,this)}function o(t){t.end()}var s=i(25),a=Object.keys||function(t){var e=[];for(var i in t)e.push(i);return e};t.exports=n;var h=Object.create(i(19));h.inherits=i(16);var u=i(71),c=i(35);h.inherits(n,u);for(var l=a(c.prototype),p=0;p<l.length;p++){var f=l[p];n.prototype[f]||(n.prototype[f]=c.prototype[f])}Object.defineProperty(n.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),n.prototype._destroy=function(t,e){this.push(null),this.end(),s.nextTick(e,t)}},function(t,e,i){var n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;n=i(59),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.type="fusen",e.init=function(t,e,i){return this._init(this.type,t,e,i)},e}(n),t.exports=r},function(t,e,i){var n;n=i(10),t.exports=function(){var t,e;return t=n.desktop(),e=navigator.userAgent.toLowerCase().indexOf("ipad")>=0||"MacIntel"===window.navigator.platform&&window.navigator.userAgent.indexOf("Safari")!==-1&&window.navigator.userAgent.indexOf("Chrome")===-1&&(void 0!==window.navigator.standalone||void 0!==window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>0),!e&&t}},function(t,e){var i=function(){"use strict";return void 0===this}();if(i)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:i,propertyIsWritable:function(t,e){var i=Object.getOwnPropertyDescriptor(t,e);return!(i&&!i.writable&&!i.set)}};else{var n={}.hasOwnProperty,r={}.toString,o={}.constructor.prototype,s=function(t){var e=[];for(var i in t)n.call(t,i)&&e.push(i);return e},a=function(t,e){return{value:t[e]}},h=function(t,e,i){return t[e]=i.value,t},u=function(t){return t},c=function(t){try{return Object(t).constructor.prototype}catch(t){return o}},l=function(t){try{return"[object Array]"===r.call(t)}catch(t){return!1}};t.exports={isArray:l,keys:s,names:s,defineProperty:h,getDescriptor:a,freeze:u,getPrototypeOf:c,isES5:i,propertyIsWritable:function(){return!0}}}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&n[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),t.push(s))}},t}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var i=function(){};i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t}}},function(t,e,i){function n(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=l[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(a(n.parts[o],e))}else{for(var s=[],o=0;o<n.parts.length;o++)s.push(a(n.parts[o],e));l[n.id]={id:n.id,refs:1,parts:s}}}}function r(t){for(var e=[],i={},n=0;n<t.length;n++){var r=t[n],o=r[0],s=r[1],a=r[2],h=r[3],u={css:s,media:a,sourceMap:h};i[o]?i[o].parts.push(u):e.push(i[o]={id:o,parts:[u]})}return e}function o(){var t=document.createElement("style"),e=d();return t.type="text/css",e.appendChild(t),t}function s(){var t=document.createElement("link"),e=d();return t.rel="stylesheet",e.appendChild(t),t}function a(t,e){var i,n,r;if(e.singleton){var a=v++;i=g||(g=o()),n=h.bind(null,i,a,!1),r=h.bind(null,i,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=s(),n=c.bind(null,i),r=function(){i.parentNode.removeChild(i),i.href&&URL.revokeObjectURL(i.href)}):(i=o(),n=u.bind(null,i),r=function(){i.parentNode.removeChild(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function h(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function u(t,e){var i=e.css,n=e.media;if(e.sourceMap,n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function c(t,e){var i=e.css,n=(e.media,e.sourceMap);n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([i],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var l={},p=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},f=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=p(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0;t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=f());var i=r(t);return n(i,e),function(t){for(var o=[],s=0;s<i.length;s++){var a=i[s],h=l[a.id];h.refs--,o.push(h)}if(t){var u=r(t);n(u,e)}for(var s=0;s<o.length;s++){var h=o[s];if(0===h.refs){for(var c=0;c<h.parts.length;c++)h.parts[c]();delete l[h.id]}}}};var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){var n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;n=i(59),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.type="pen",e.init=function(t,e,i){return this._init(this.type,t,e,i)},e}(n),t.exports=r},function(t,e,i){(function(t){function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===v(t)}function n(t){return"boolean"==typeof t}function r(t){return null===t}function o(t){return null==t}function s(t){return"number"==typeof t}function a(t){return"string"==typeof t}function h(t){return"symbol"==typeof t}function u(t){return void 0===t}function c(t){return"[object RegExp]"===v(t)}function l(t){return"object"==typeof t&&null!==t}function p(t){return"[object Date]"===v(t)}function f(t){return"[object Error]"===v(t)||t instanceof Error}function d(t){return"function"==typeof t}function g(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||"undefined"==typeof t}function v(t){return Object.prototype.toString.call(t)}e.isArray=i,e.isBoolean=n,e.isNull=r,e.isNullOrUndefined=o,e.isNumber=s,e.isString=a,e.isSymbol=h,e.isUndefined=u,e.isRegExp=c,e.isObject=l,e.isDate=p,e.isError=f,e.isFunction=d,e.isPrimitive=g,e.isBuffer=t.isBuffer}).call(e,i(22).Buffer)},function(t,e){(function(){var e;e=function(){function t(t,e,i,n){this.left=t,this.top=e,this.right=i,this.bottom=n}return t.prototype.offset=function(t,e){return this.left+=t,this.top+=e,this.right+=t,this.bottom+=e},t.prototype.getWidth=function(){return this.right-this.left},t.prototype.getHeight=function(){return this.bottom-this.top},t.prototype.setWidth=function(t){return this.right=this.left+t},t.prototype.setHeight=function(t){return this.bottom=this.top+t},t.prototype.toString=function(){return"l:"+this.left+" t:"+this.top+" r:"+this.right+" b:"+this.bottom+" w:"+this.getWidth()+" h:"+this.getHeight()},t}(),t.exports=e}).call(this)},function(t,e){var i;i=function(){function t(){}return t.version="2.0",t.vhm="FL4_VHM_"+t.version,t.phm="FL4_PHM_"+t.version,t.vv="FL4_VV_"+t.version,t.pv="FL4_PV_"+t.version,t.bl="FL4_BL_"+t.version,t.ts="FL4_TS_"+t.version,t.ti="FL4_TI_"+t.version,t.vi="FL4_VI_"+t.version,t.ln="FL4_LN_"+t.version,t.send=function(t,e,i,n){if(flipper.soGA)switch(flipper.soGAType){case"ga.js":"undefined"!=typeof _gaq&&null!==_gaq&&_gaq.push(["_trackEvent",t,e,String(i),n]);break;case"analytics.js":"function"==typeof ga&&ga("send","event",t,e,i,n);break;case"ga4":switch(t){case this.ts:"function"==typeof gtag&&gtag("event","fl_search",{fl_search_term:i});break;case this.ti:"function"==typeof gtag&&gtag("event","fl_index_t",{fl_label:i});break;case this.vi:"function"==typeof gtag&&gtag("event","fl_index_v",{fl_page:i});break;case this.ln:"function"==typeof gtag&&gtag("event","fl_link",{fl_link:i});break;case this.bl:"function"==typeof gtag&&gtag("event","fl_access",{fl_book_id:e,fl_url:i})}}},t.sendCustomPage=function(){if(flipper.soGA)switch(flipper.soGAType){case"ga.js":"undefined"!=typeof _gaq&&null!==_gaq&&_gaq.push(["_trackPageview",document.location.pathname+"#page="+flipper.activePage]);break;case"analytics.js":"function"==typeof ga&&ga("send","pageview",document.location.pathname+"#page="+flipper.activePage);break;case"ga4":"function"==typeof gtag&&gtag("event","page_view",{page_title:flipper.title+" "+flipper.activePage,page_location:document.location.pathname+"#page="+flipper.activePage})}},t}(),t.exports=i},function(t,e,i){(function(t){/*!
	 * The buffer module from node.js, for the browser.
	 *
	 * @author   Feross Aboukhadijeh <http://feross.org>
	 * @license  MIT
	 */
"use strict";function n(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function r(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=s.prototype):(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,i){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,i);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return a(this,t,e,i)}function a(t,e,i,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?f(t,e,i,n):"string"==typeof e?l(t,e,i):d(t,e)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function u(t,e,i,n){return h(e),e<=0?o(t,e):void 0!==i?"string"==typeof n?o(t,e).fill(i,n):o(t,e).fill(i):o(t,e)}function c(t,e){if(h(e),t=o(t,e<0?0:0|g(e)),!s.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function l(t,e,i){if("string"==typeof i&&""!==i||(i="utf8"),!s.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(e,i);t=o(t,n);var r=t.write(e,i);return r!==n&&(t=t.slice(0,r)),t}function p(t,e){var i=e.length<0?0:0|g(e.length);t=o(t,i);for(var n=0;n<i;n+=1)t[n]=255&e[n];return t}function f(t,e,i,n){if(e.byteLength,i<0||e.byteLength<i)throw new RangeError("'offset' is out of bounds");if(e.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===i&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,i):new Uint8Array(e,i,n),s.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=s.prototype):t=p(t,e),t}function d(t,e){if(s.isBuffer(e)){var i=0|g(e.length);return t=o(t,i),0===t.length?t:(e.copy(t,0,0,i),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||Z(e.length)?o(t,0):p(t,e);if("Buffer"===e.type&&K(e.data))return p(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),s.alloc(+t)}function m(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(t).length;default:if(n)return Y(t).length;e=(""+e).toLowerCase(),n=!0}}function _(t,e,i){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,e>>>=0,i<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,i);case"utf8":case"utf-8":return E(this,e,i);case"ascii":return I(this,e,i);case"latin1":case"binary":return L(this,e,i);case"base64":return k(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function b(t,e,i,n,r){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:w(t,e,i,n,r);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):w(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function w(t,e,i,n,r){function o(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,h=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,h/=2,i/=2}var u;if(r){var c=-1;for(u=i;u<a;u++)if(o(t,u)===o(e,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===h)return c*s}else c!==-1&&(u-=u-c),c=-1}else for(i+h>a&&(i=a-h),u=i;u>=0;u--){for(var l=!0,p=0;p<h;p++)if(o(t,u+p)!==o(e,p)){l=!1;break}if(l)return u}return-1}function A(t,e,i,n){i=Number(i)||0;var r=t.length-i;n?(n=Number(n),n>r&&(n=r)):n=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[i+s]=a}return s}function x(t,e,i,n){return G(Y(e,t.length-i),t,i,n)}function S(t,e,i,n){return G(V(e),t,i,n)}function C(t,e,i,n){return S(t,e,i,n)}function P(t,e,i,n){return G(q(e),t,i,n)}function T(t,e,i,n){return G(X(e,t.length-i),t,i,n)}function k(t,e,i){return 0===e&&i===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(e,i))}function E(t,e,i){i=Math.min(t.length,i);for(var n=[],r=e;r<i;){var o=t[r],s=null,a=o>239?4:o>223?3:o>191?2:1;if(r+a<=i){var h,u,c,l;switch(a){case 1:o<128&&(s=o);break;case 2:h=t[r+1],128===(192&h)&&(l=(31&o)<<6|63&h,l>127&&(s=l));break;case 3:h=t[r+1],u=t[r+2],128===(192&h)&&128===(192&u)&&(l=(15&o)<<12|(63&h)<<6|63&u,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:h=t[r+1],u=t[r+2],c=t[r+3],128===(192&h)&&128===(192&u)&&128===(192&c)&&(l=(15&o)<<18|(63&h)<<12|(63&u)<<6|63&c,l>65535&&l<1114112&&(s=l))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),r+=a}return D(n)}function D(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var i="",n=0;n<e;)i+=String.fromCharCode.apply(String,t.slice(n,n+=tt));return i}function I(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(127&t[r]);return n}function L(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(t[r]);return n}function $(t,e,i){var n=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>n)&&(i=n);for(var r="",o=e;o<i;++o)r+=W(t[o]);return r}function O(t,e,i){for(var n=t.slice(e,i),r="",o=0;o<n.length;o+=2)r+=String.fromCharCode(n[o]+256*n[o+1]);return r}function R(t,e,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>i)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,i,n,r,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}function M(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-i,2);r<o;++r)t[i+r]=(e&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function F(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-i,4);r<o;++r)t[i+r]=e>>>8*(n?r:3-r)&255}function N(t,e,i,n,r,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function B(t,e,i,n,r){return r||N(t,e,i,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,i,n,23,4),i+4}function H(t,e,i,n,r){return r||N(t,e,i,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,i,n,52,8),i+8}function U(t){if(t=z(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function W(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){e=e||1/0;for(var i,n=t.length,r=null,o=[],s=0;s<n;++s){if(i=t.charCodeAt(s),i>55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),r=i;continue}i=(r-55296<<10|i-56320)+65536}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function V(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}function X(t,e){for(var i,n,r,o=[],s=0;s<t.length&&!((e-=2)<0);++s)i=t.charCodeAt(s),n=i>>8,r=i%256,o.push(r),o.push(n);return o}function q(t){return Q.toByteArray(U(t))}function G(t,e,i,n){for(var r=0;r<n&&!(r+i>=e.length||r>=t.length);++r)e[r+i]=t[r];return r}function Z(t){return t!==t}var Q=i(126),J=i(165),K=i(70);e.Buffer=s,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:n(),e.kMaxLength=r(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,i){return a(null,t,e,i)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,i){return u(null,t,e,i)},s.allocUnsafe=function(t){return c(null,t)},s.allocUnsafeSlow=function(t){return c(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,n=e.length,r=0,o=Math.min(i,n);r<o;++r)if(t[r]!==e[r]){i=t[r],n=e[r];break}return i<n?-1:n<i?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!K(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=s.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var o=t[i];if(!s.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},s.byteLength=m,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):_.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,i,n,r){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),e<0||i>t.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=i)return 0;if(n>=r)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,r>>>=0,this===t)return 0;for(var o=r-n,a=i-e,h=Math.min(o,a),u=this.slice(n,r),c=t.slice(e,i),l=0;l<h;++l)if(u[l]!==c[l]){o=u[l],a=c[l];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,i){return this.indexOf(t,e,i)!==-1},s.prototype.indexOf=function(t,e,i){return b(this,t,e,i,!0)},s.prototype.lastIndexOf=function(t,e,i){return b(this,t,e,i,!1)},s.prototype.write=function(t,e,i,n){if(void 0===e)n="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)n=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-e;if((void 0===i||i>r)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return A(this,t,e,i);case"utf8":case"utf-8":return x(this,t,e,i);case"ascii":return S(this,t,e,i);case"latin1":case"binary":return C(this,t,e,i);case"base64":return P(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;s.prototype.slice=function(t,e){var i=this.length;t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<t&&(e=t);var n;if(s.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=s.prototype;else{var r=e-t;n=new s(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+t]}return n},s.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=this[t],r=1,o=0;++o<e&&(r*=256);)n+=this[t+o]*r;return n},s.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=this[t+--e],r=1;e>0&&(r*=256);)n+=this[t+--e]*r;return n},s.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=this[t],r=1,o=0;++o<e&&(r*=256);)n+=this[t+o]*r;return r*=128,n>=r&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=e,r=1,o=this[t+--n];n>0&&(r*=256);)o+=this[t+--n]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},s.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},s.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},s.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),J.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),J.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),J.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),J.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){var r=Math.pow(2,8*i)-1;j(this,t,e,i,r,0)}var o=1,s=0;for(this[e]=255&t;++s<i&&(o*=256);)this[e+s]=t/o&255;return e+i},s.prototype.writeUIntBE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){var r=Math.pow(2,8*i)-1;j(this,t,e,i,r,0)}var o=i-1,s=1;for(this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=t/s&255;return e+i},s.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);j(this,t,e,i,r-1,-r)}var o=0,s=1,a=0;for(this[e]=255&t;++o<i&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+i},s.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);j(this,t,e,i,r-1,-r)}var o=i-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+i},s.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,i){return B(this,t,e,!0,i)},s.prototype.writeFloatBE=function(t,e,i){return B(this,t,e,!1,i)},s.prototype.writeDoubleLE=function(t,e,i){return H(this,t,e,!0,i)},s.prototype.writeDoubleBE=function(t,e,i){return H(this,t,e,!1,i)},s.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-i&&(n=t.length-e+i);var r,o=n-i;if(this===t&&i<e&&e<n)for(r=o-1;r>=0;--r)t[r+e]=this[r+i];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),e);return o},s.prototype.fill=function(t,e,i,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;o<i;++o)this[o]=t;else{var a=s.isBuffer(t)?t:Y(new s(t,n).toString()),h=a.length;for(o=0;o<i-e;++o)this[o+e]=a[o%h]}return this};var et=/[^+\/0-9A-Za-z-_]/g}).call(e,function(){return this}())},function(t,e){function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(t){return"function"==typeof t}function r(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}t.exports=i,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(t){if(!r(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},i.prototype.emit=function(t){var e,i,r,a,h,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var c=new Error('Uncaught, unspecified "error" event. ('+e+")");throw c.context=e,c}if(i=this._events[t],s(i))return!1;if(n(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),i.apply(this,a)}else if(o(i))for(a=Array.prototype.slice.call(arguments,1),u=i.slice(),r=u.length,h=0;h<r;h++)u[h].apply(this,a);return!0},i.prototype.addListener=function(t,e){var r;if(!n(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,n(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(r=s(this._maxListeners)?i.defaultMaxListeners:this._maxListeners,r&&r>0&&this._events[t].length>r&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace())),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(t,e){function i(){this.removeListener(t,i),r||(r=!0,e.apply(this,arguments))}if(!n(e))throw TypeError("listener must be a function");var r=!1;return i.listener=e,this.on(t,i),this},i.prototype.removeListener=function(t,e){var i,r,s,a;if(!n(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=this._events[t],s=i.length,r=-1,i===e||n(i.listener)&&i.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(i)){for(a=s;a-- >0;)if(i[a]===e||i[a].listener&&i[a].listener===e){r=a;break}if(r<0)return this;1===i.length?(i.length=0,delete this._events[t]):i.splice(r,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},i.prototype.removeAllListeners=function(t){var e,i;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(i=this._events[t],n(i))this.removeListener(t,i);else if(i)for(;i.length;)this.removeListener(t,i[i.length-1]);return delete this._events[t],this},i.prototype.listeners=function(t){var e;return e=this._events&&this._events[t]?n(this._events[t])?[this._events[t]]:this._events[t].slice():[]},i.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(n(e))return 1;if(e)return e.length}return 0},i.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,i){var n;/*! Hammer.JS - v2.0.7 - 2016-04-22
	 * http://hammerjs.github.io/
	 *
	 * Copyright (c) 2016 Jorik Tangelder;
	 * Licensed under the MIT license */
!function(r,o,s,a){"use strict";function h(t,e,i){return setTimeout(f(t,i),e)}function u(t,e,i){return!!Array.isArray(t)&&(c(t,i[e],i),!0)}function c(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==a)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function l(t,e,i){var n="DEPRECATED METHOD: "+e+"\n"+i+" AT \n";return function(){var e=new Error("get-stack-trace"),i=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,n,i),t.apply(this,arguments)}}function p(t,e,i){var n,r=e.prototype;n=t.prototype=Object.create(r),n.constructor=t,n._super=r,i&&gt(n,i)}function f(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==_t?t.apply(e?e[0]||a:a,e):t}function g(t,e){return t===a?e:t}function v(t,e,i){c(b(e),function(e){t.addEventListener(e,i,!1)})}function m(t,e,i){c(b(e),function(e){t.removeEventListener(e,i,!1)})}function _(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function y(t,e){return t.indexOf(e)>-1}function b(t){return t.trim().split(/\s+/g)}function w(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function A(t){return Array.prototype.slice.call(t,0)}function x(t,e,i){for(var n=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];w(r,s)<0&&n.push(t[o]),r[o]=s,o++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function S(t,e){for(var i,n,r=e[0].toUpperCase()+e.slice(1),o=0;o<vt.length;){if(i=vt[o],n=i?i+r:e,n in t)return n;o++}return a}function C(){return St++}function P(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}function T(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&i.handler(e)},this.init()}function k(t){var e,i=t.options.inputClass;return new(e=i?i:Tt?U:kt?Y:Pt?X:H)(t,E)}function E(t,e,i){var n=i.pointers.length,r=i.changedPointers.length,o=e&Ot&&n-r===0,s=e&(jt|Mt)&&n-r===0;i.isFirst=!!o,i.isFinal=!!s,o&&(t.session={}),i.eventType=e,D(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function D(t,e){var i=t.session,n=e.pointers,r=n.length;i.firstInput||(i.firstInput=$(e)),r>1&&!i.firstMultiple?i.firstMultiple=$(e):1===r&&(i.firstMultiple=!1);var o=i.firstInput,s=i.firstMultiple,a=s?s.center:o.center,h=e.center=O(n);e.timeStamp=wt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=F(a,h),e.distance=M(a,h),I(i,e),e.offsetDirection=j(e.deltaX,e.deltaY);var u=R(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=bt(u.x)>bt(u.y)?u.x:u.y,e.scale=s?B(s.pointers,n):1,e.rotation=s?N(s.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,L(i,e);var c=t.element;_(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}function I(t,e){var i=e.center,n=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Ot&&o.eventType!==jt||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=r.x+(i.x-n.x),e.deltaY=r.y+(i.y-n.y)}function L(t,e){var i,n,r,o,s=t.lastInterval||e,h=e.timeStamp-s.timeStamp;if(e.eventType!=Mt&&(h>$t||s.velocity===a)){var u=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,l=R(h,u,c);n=l.x,r=l.y,i=bt(l.x)>bt(l.y)?l.x:l.y,o=j(u,c),t.lastInterval=e}else i=s.velocity,n=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=o}function $(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:yt(t.pointers[i].clientX),clientY:yt(t.pointers[i].clientY)},i++;return{timeStamp:wt(),pointers:e,center:O(e),deltaX:t.deltaX,deltaY:t.deltaY}}function O(t){var e=t.length;if(1===e)return{x:yt(t[0].clientX),y:yt(t[0].clientY)};for(var i=0,n=0,r=0;r<e;)i+=t[r].clientX,n+=t[r].clientY,r++;return{x:yt(i/e),y:yt(n/e)}}function R(t,e,i){return{x:e/t||0,y:i/t||0}}function j(t,e){return t===e?Ft:bt(t)>=bt(e)?t<0?Nt:Bt:e<0?Ht:Ut}function M(t,e,i){i||(i=Vt);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function F(t,e,i){i||(i=Vt);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}function N(t,e){return F(e[1],e[0],Xt)+F(t[1],t[0],Xt)}function B(t,e){return M(e[0],e[1],Xt)/M(t[0],t[1],Xt)}function H(){this.evEl=Gt,this.evWin=Zt,this.pressed=!1,T.apply(this,arguments)}function U(){this.evEl=Kt,this.evWin=te,T.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function z(){this.evTarget=ie,this.evWin=ne,this.started=!1,T.apply(this,arguments)}function W(t,e){var i=A(t.touches),n=A(t.changedTouches);return e&(jt|Mt)&&(i=x(i.concat(n),"identifier",!0)),[i,n]}function Y(){this.evTarget=oe,this.targetIds={},T.apply(this,arguments)}function V(t,e){var i=A(t.touches),n=this.targetIds;if(e&(Ot|Rt)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,o,s=A(t.changedTouches),a=[],h=this.target;if(o=i.filter(function(t){return _(t.target,h)}),e===Ot)for(r=0;r<o.length;)n[o[r].identifier]=!0,r++;for(r=0;r<s.length;)n[s[r].identifier]&&a.push(s[r]),e&(jt|Mt)&&delete n[s[r].identifier],r++;return a.length?[x(o.concat(a),"identifier",!0),a]:void 0}function X(){T.apply(this,arguments);var t=f(this.handler,this);this.touch=new Y(this.manager,t),this.mouse=new H(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function q(t,e){t&Ot?(this.primaryTouch=e.changedPointers[0].identifier,G.call(this,e)):t&(jt|Mt)&&G.call(this,e)}function G(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches,r=function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)};setTimeout(r,se)}}function Z(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n],o=Math.abs(e-r.x),s=Math.abs(i-r.y);if(o<=ae&&s<=ae)return!0}return!1}function Q(t,e){this.manager=t,this.set(e)}function J(t){if(y(t,fe))return fe;var e=y(t,de),i=y(t,ge);return e&&i?fe:e||i?e?de:ge:y(t,pe)?pe:le}function K(){if(!ue)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(i){t[i]=!e||r.CSS.supports("touch-action",i)}),t}function tt(t){this.options=gt({},this.defaults,t||{}),this.id=C(),this.manager=null,this.options.enable=g(this.options.enable,!0),this.state=me,this.simultaneous={},this.requireFail=[]}function et(t){return t&Ae?"cancel":t&be?"end":t&ye?"move":t&_e?"start":""}function it(t){return t==Ut?"down":t==Ht?"up":t==Nt?"left":t==Bt?"right":""}function nt(t,e){var i=e.manager;return i?i.get(t):t}function rt(){tt.apply(this,arguments)}function ot(){rt.apply(this,arguments),this.pX=null,this.pY=null}function st(){rt.apply(this,arguments)}function at(){tt.apply(this,arguments),this._timer=null,this._input=null}function ht(){rt.apply(this,arguments)}function ut(){rt.apply(this,arguments)}function ct(){tt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function lt(t,e){return e=e||{},e.recognizers=g(e.recognizers,lt.defaults.preset),new pt(t,e)}function pt(t,e){this.options=gt({},lt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=k(this),this.touchAction=new Q(this,this.options.touchAction),ft(this,!0),c(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function ft(t,e){var i=t.element;if(i.style){var n;c(t.options.cssProps,function(r,o){n=S(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={})}}function dt(t,e){var i=o.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}var gt,vt=["","webkit","Moz","MS","ms","o"],mt=o.createElement("div"),_t="function",yt=Math.round,bt=Math.abs,wt=Date.now;gt="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==a&&null!==n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}:Object.assign;var At=l(function(t,e,i){for(var n=Object.keys(e),r=0;r<n.length;)(!i||i&&t[n[r]]===a)&&(t[n[r]]=e[n[r]]),r++;return t},"extend","Use `assign`."),xt=l(function(t,e){return At(t,e,!0)},"merge","Use `assign`."),St=1,Ct=/mobile|tablet|ip(ad|hone|od)|android/i,Pt="ontouchstart"in r,Tt=S(r,"PointerEvent")!==a,kt=Pt&&Ct.test(navigator.userAgent),Et="touch",Dt="pen",It="mouse",Lt="kinect",$t=25,Ot=1,Rt=2,jt=4,Mt=8,Ft=1,Nt=2,Bt=4,Ht=8,Ut=16,zt=Nt|Bt,Wt=Ht|Ut,Yt=zt|Wt,Vt=["x","y"],Xt=["clientX","clientY"];T.prototype={handler:function(){},init:function(){this.evEl&&v(this.element,this.evEl,this.domHandler),this.evTarget&&v(this.target,this.evTarget,this.domHandler),this.evWin&&v(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(P(this.element),this.evWin,this.domHandler)}};var qt={mousedown:Ot,mousemove:Rt,mouseup:jt},Gt="mousedown",Zt="mousemove mouseup";p(H,T,{handler:function(t){var e=qt[t.type];e&Ot&&0===t.button&&(this.pressed=!0),e&Rt&&1!==t.which&&(e=jt),this.pressed&&(e&jt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:It,srcEvent:t}))}});var Qt={pointerdown:Ot,pointermove:Rt,pointerup:jt,pointercancel:Mt,pointerout:Mt},Jt={2:Et,3:Dt,4:It,5:Lt},Kt="pointerdown",te="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Kt="MSPointerDown",te="MSPointerMove MSPointerUp MSPointerCancel"),p(U,T,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),r=Qt[n],o=Jt[t.pointerType]||t.pointerType,s=o==Et,a=w(e,t.pointerId,"pointerId");r&Ot&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):r&(jt|Mt)&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(a,1))}});var ee={touchstart:Ot,touchmove:Rt,touchend:jt,touchcancel:Mt},ie="touchstart",ne="touchstart touchmove touchend touchcancel";p(z,T,{handler:function(t){var e=ee[t.type];if(e===Ot&&(this.started=!0),this.started){var i=W.call(this,t,e);e&(jt|Mt)&&i[0].length-i[1].length===0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:Et,srcEvent:t})}}});var re={touchstart:Ot,touchmove:Rt,touchend:jt,touchcancel:Mt},oe="touchstart touchmove touchend touchcancel";p(Y,T,{handler:function(t){var e=re[t.type],i=V.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:Et,srcEvent:t})}});var se=2500,ae=25;p(X,T,{handler:function(t,e,i){var n=i.pointerType==Et,r=i.pointerType==It;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)q.call(this,e,i);else if(r&&Z.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var he=S(mt.style,"touchAction"),ue=he!==a,ce="compute",le="auto",pe="manipulation",fe="none",de="pan-x",ge="pan-y",ve=K();Q.prototype={set:function(t){t==ce&&(t=this.compute()),ue&&this.manager.element.style&&ve[t]&&(this.manager.element.style[he]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return c(this.manager.recognizers,function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),J(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var n=this.actions,r=y(n,fe)&&!ve[fe],o=y(n,ge)&&!ve[ge],s=y(n,de)&&!ve[de];if(r){var a=1===t.pointers.length,h=t.distance<2,u=t.deltaTime<250;if(a&&h&&u)return}return s&&o?void 0:r||o&&i&zt||s&&i&Wt?this.preventSrc(e):void 0},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var me=1,_e=2,ye=4,be=8,we=be,Ae=16,xe=32;tt.prototype={defaults:{},set:function(t){return gt(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(u(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=nt(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return u(t,"dropRecognizeWith",this)?this:(t=nt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(u(t,"requireFailure",this))return this;var e=this.requireFail;return t=nt(t,this),w(e,t)===-1&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(u(t,"dropRequireFailure",this))return this;t=nt(t,this);var e=w(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(e,t)}var i=this,n=this.state;n<be&&e(i.options.event+et(n)),e(i.options.event),t.additionalEvent&&e(t.additionalEvent),n>=be&&e(i.options.event+et(n))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=xe)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(xe|me)))return!1;t++}return!0},recognize:function(t){var e=gt({},t);return d(this.options.enable,[this,e])?(this.state&(we|Ae|xe)&&(this.state=me),this.state=this.process(e),void(this.state&(_e|ye|be|Ae)&&this.tryEmit(e))):(this.reset(),void(this.state=xe))},process:function(t){},getTouchAction:function(){},reset:function(){}},p(rt,tt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(_e|ye),r=this.attrTest(t);return n&&(i&Mt||!r)?e|Ae:n||r?i&jt?e|be:e&_e?e|ye:_e:xe}}),p(ot,rt,{defaults:{event:"pan",threshold:10,pointers:1,direction:Yt},getTouchAction:function(){var t=this.options.direction,e=[];return t&zt&&e.push(ge),t&Wt&&e.push(de),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&zt?(r=0===o?Ft:o<0?Nt:Bt,i=o!=this.pX,n=Math.abs(t.deltaX)):(r=0===s?Ft:s<0?Ht:Ut,i=s!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return rt.prototype.attrTest.call(this,t)&&(this.state&_e||!(this.state&_e)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=it(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),p(st,rt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[fe]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&_e)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),p(at,tt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[le]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(jt|Mt)&&!r)this.reset();else if(t.eventType&Ot)this.reset(),this._timer=h(function(){this.state=we,this.tryEmit()},e.time,this);else if(t.eventType&jt)return we;return xe},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===we&&(t&&t.eventType&jt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=wt(),this.manager.emit(this.options.event,this._input)))}}),p(ht,rt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[fe]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&_e)}}),p(ut,rt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:zt|Wt,pointers:1},getTouchAction:function(){return ot.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(zt|Wt)?e=t.overallVelocity:i&zt?e=t.overallVelocityX:i&Wt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&bt(e)>this.options.velocity&&t.eventType&jt},emit:function(t){var e=it(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(ct,tt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[pe]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&Ot&&0===this.count)return this.failTimeout();if(n&&r&&i){if(t.eventType!=jt)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||M(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t;var a=this.count%e.taps;if(0===a)return this.hasRequireFailures()?(this._timer=h(function(){this.state=we,this.tryEmit()},e.interval,this),_e):we}return xe},failTimeout:function(){return this._timer=h(function(){this.state=xe},this.options.interval,this),xe},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==we&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),lt.VERSION="2.0.7",lt.defaults={domEvents:!1,touchAction:ce,enable:!0,inputTarget:null,inputClass:null,preset:[[ht,{enable:!1}],[st,{enable:!1},["rotate"]],[ut,{direction:zt}],[ot,{direction:zt},["swipe"]],[ct],[ct,{event:"doubletap",taps:2},["tap"]],[at]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Se=1,Ce=2;pt.prototype={set:function(t){return gt(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?Ce:Se},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&we)&&(r=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],e.stopped===Ce||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(t),!r&&i.state&(_e|ye|be)&&(r=e.curRecognizer=i),o++}},get:function(t){if(t instanceof tt)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(u(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(u(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=w(e,t);i!==-1&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var i=this.handlers;return c(b(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this}},off:function(t,e){if(t!==a){var i=this.handlers;return c(b(t),function(t){e?i[t]&&i[t].splice(w(i[t],e),1):delete i[t]}),this}},emit:function(t,e){this.options.domEvents&&dt(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&ft(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},gt(lt,{INPUT_START:Ot,INPUT_MOVE:Rt,INPUT_END:jt,INPUT_CANCEL:Mt,STATE_POSSIBLE:me,STATE_BEGAN:_e,STATE_CHANGED:ye,STATE_ENDED:be,STATE_RECOGNIZED:we,STATE_CANCELLED:Ae,STATE_FAILED:xe,DIRECTION_NONE:Ft,DIRECTION_LEFT:Nt,DIRECTION_RIGHT:Bt,DIRECTION_UP:Ht,DIRECTION_DOWN:Ut,DIRECTION_HORIZONTAL:zt,DIRECTION_VERTICAL:Wt,DIRECTION_ALL:Yt,Manager:pt,Input:T,TouchAction:Q,TouchInput:Y,MouseInput:H,PointerEventInput:U,TouchMouseInput:X,SingleTouchInput:z,Recognizer:tt,AttrRecognizer:rt,Tap:ct,Pan:ot,Swipe:ut,Pinch:st,Rotate:ht,Press:at,on:v,off:m,each:c,merge:xt,extend:At,assign:gt,inherit:p,bindFn:f,prefixed:S});var Pe="undefined"!=typeof r?r:"undefined"!=typeof self?self:{};Pe.Hammer=lt,n=function(){return lt}.call(e,i,e,t),!(n!==a&&(t.exports=n))}(window,document,"Hammer")},function(t,e,i){(function(e){"use strict";function i(t,i,n,r){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,i)});case 3:return e.nextTick(function(){t.call(null,i,n)});case 4:return e.nextTick(function(){t.call(null,i,n,r)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick(function(){t.apply(null,o)})}}"undefined"==typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:i}:t.exports=e}).call(e,i(7))},function(t,e,i){function n(t,e){for(var i in t)e[i]=t[i]}function r(t,e,i){return s(t,e,i)}var o=i(22),s=o.Buffer;s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=o:(n(o,e),e.Buffer=r),n(s,r),r.from=function(t,e,i){if("number"==typeof t)throw new TypeError("Argument must not be a number");return s(t,e,i)},r.alloc=function(t,e,i){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=s(t);return void 0!==e?"string"==typeof i?n.fill(e,i):n.fill(e):n.fill(0),n},r.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return s(t)},r.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o.SlowBuffer(t)}},function(t,e,i){(function(){"use strict";var t,n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;n=i(39),t=i(188),r=i(189),o=i(77),e.defaults=n.defaults,e.processors=o,e.ValidationError=function(t){function e(t){this.message=t}return s(e,t),e}(Error),e.Builder=t.Builder,e.Parser=r.Parser,e.parseString=r.parseString,e.parseStringPromise=r.parseStringPromise}).call(this)},function(t,e){(function(){t.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},function(t,e,i){(function(){var e,n,r=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=i(5),t.exports=e=function(t){function e(t){e.__super__.constructor.call(this,t),this.value=""}return r(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(e.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.substringData=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.insertData=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.deleteData=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceData=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.data===this.data},e}(n)}).call(this)},function(t,e){(function(){var e;e=function(){function t(t,e,i,n,r,o,s,a){this.id=t,this.text=e,this.x=i,this.y=n,this.bgColor=r,this.fColor=o,this.w=s,this.h=a}return t.prototype.resolve=function(t){this.pageId=t},t}(),t.exports=e}).call(this)},function(t,e){(function(){var e;e=function(){function t(t,e,i,n,r,o,s,a){this.id=t,this.stroke=e,this.r=i,this.g=n,this.b=r,this.alpha=o,this.tool=s,this.points=a}return t.prototype.resolve=function(t){this.pageId=t},t}(),t.exports=e}).call(this)},function(t,e,i){(function(e){var n,r,o,s;o=i(13),s=i(10),r=i(56),n=function(){function t(){}var i,n;return i=function(t,e,i,n,r){var o;return o=new createjs.Text("",n,r),o.width=e,o.height=i,t.addChild(o),o},n=function(t,i){var n,r,o,s,a,h,u,c,l,p,f,d,g,v,m;for(s=new createjs.Text("",i.font),m=[],r=t.split("\n"),a=0,c=r.length;a<c;a++){for(n=r[a],f="",h=0,l=n.length;h<l;h++)o=n[h],f+=o,s.text=f,s.getMeasuredWidth()>=i.width&&(m.push(f.substr(0,f.length-1)),f=o);m.push(f)}for(d=[],g=[],u=0,p=m.length;u<p&&(v=m[u],s.text=v,d.push(s.getMeasuredHeight()),e.sum(d)<i.height);u++)g.push(v);return i.text=g.join("\n")},t.createFusen=function(t,e,a,h){var u,c,l,p,f,d,g,v,m;return null==e&&(e=null),m=new createjs.Shape,m.graphics.beginFill(t).setStrokeStyle(.1).beginStroke("000000").drawRect(0,0,300,100),m.name="background",l=new createjs.Text("","bold 12px sans-serif","#990000"),l.name="depthCounter",l.x=5,l.y=85,f=new createjs.Text("","12px sans-serif","#333333"),f.name="fusenIdLabel",f.x=15,f.y=40,h?(d=new createjs.Shape,d.name="lockIcon",d.graphics.beginStroke("#838383"),d.graphics.setStrokeStyle(3),d.graphics.drawEllipse(4,1,14,16),d.graphics.endStroke(),d.graphics.beginFill("#838383"),d.graphics.drawRoundRect(0,8,22,21,2,2),d.graphics.endFill(),d.graphics.beginFill(t),d.graphics.drawEllipse(8,14,6,6),d.graphics.drawRoundRect(10,16,2,8,1,1),d.x=274,d.y=69):(u=new createjs.Shape,u.name="button",u.graphics.beginFill("rgba(127,127,127,0.01)").drawRect(0,0,28,28),u.graphics.beginStroke("#838383"),u.graphics.beginFill("#838383"),u.graphics.mt(22,2).lt(27,7).lt(10,25).lt(4,19),u.graphics.endFill(),u.graphics.mt(2,26).lt(4,20),u.graphics.mt(3,27).lt(9,25),u.graphics.mt(2,27).lt(4,26).lt(3,25),u.x=268,u.y=68,u.cursor="pointer"),"public"===a&&(v=new createjs.Text("INFO","12px sans-serif","#838383"),v.textAlign="left",v.textBaseline="top",v.x=5,v.y=84,g=new createjs.Shape,g.graphics.beginStroke("#838383"),g.graphics.setStrokeStyle(1),g.graphics.drawRoundRect(-2,-2,v.getMeasuredWidth()+4,v.getMeasuredHeight()+2,3,3),g.x=5,g.y=84),c=new createjs.Container,c.addChild(m),c.addChild(l),c.addChild(f),p=i.call(this,c,280,80,"14px Arial","#333333"),p.x=10,p.y=10,n.call(this,"",p),(o()||s.ie())&&c.addChild(u),c.name="fusen",c.accessType=a,c.readOnly=h,c.addChild(d),"public"===a&&(c.addChild(v),c.addChild(g)),c.id=e?e:r.generate(),c.bgColor=t,c.changeBgColor=function(t){return m.graphics.beginFill(t).drawRect(0,0,300,100),m.name="background",c.bgColor=t},c.changeText=function(t){return c.text=t,n.call(this,t,p)},c.setActive=function(){return m.graphics.clear(),m.graphics.beginFill(c.bgColor).setStrokeStyle(5).beginStroke("rgba(127,127,127,0.3)").drawRect(0,0,300,100)},c.setDeactive=function(){return m.graphics.clear(),m.graphics.beginFill(c.bgColor).setStrokeStyle(.1).beginStroke("#000000").drawRect(0,0,300,100)},c.getText=function(){return c.text},c},t}(),t.exports=n}).call(e,i(3))},function(t,e,i){"use strict";function n(){try{Promise===o&&(Promise=r)}catch(t){}return o}var r;"undefined"!=typeof Promise&&(r=Promise);var o=i(143)();o.noConflict=n,t.exports=o},function(t,e,i){!function(n,r,o){t.exports=e=r(i(6),i(69))}(this,function(t){t.lib.Cipher||function(e){var i=t,n=i.lib,r=n.Base,o=n.WordArray,s=n.BufferedBlockAlgorithm,a=i.enc,h=(a.Utf8,a.Base64),u=i.algo,c=u.EvpKDF,l=n.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,i){this.cfg=this.cfg.extend(i),this._xformMode=t,this._key=e,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?x:b}return function(e){return{encrypt:function(i,n,r){return t(n).encrypt(e,i,n,r)},decrypt:function(i,n,r){return t(n).decrypt(e,i,n,r)}}}}()}),p=(n.StreamCipher=l.extend({_doFinalize:function(){var t=this._process(!0);return t},blockSize:1}),i.mode={}),f=n.BlockCipherMode=r.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),d=p.CBC=function(){function t(t,i,n){var r=this._iv;if(r){var o=r;this._iv=e}else var o=this._prevBlock;for(var s=0;s<n;s++)t[i+s]^=o[s]}var i=f.extend();return i.Encryptor=i.extend({processBlock:function(e,i){var n=this._cipher,r=n.blockSize;t.call(this,e,i,r),n.encryptBlock(e,i),this._prevBlock=e.slice(i,i+r)}}),i.Decryptor=i.extend({processBlock:function(e,i){var n=this._cipher,r=n.blockSize,o=e.slice(i,i+r);n.decryptBlock(e,i),t.call(this,e,i,r),this._prevBlock=o}}),i}(),g=i.pad={},v=g.Pkcs7={pad:function(t,e){for(var i=4*e,n=i-t.sigBytes%i,r=n<<24|n<<16|n<<8|n,s=[],a=0;a<n;a+=4)s.push(r);var h=o.create(s,n);t.concat(h)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},m=(n.BlockCipher=l.extend({cfg:l.cfg.extend({mode:d,padding:v}),reset:function(){l.reset.call(this);var t=this.cfg,e=t.iv,i=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=i.createEncryptor;else{var n=i.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==n?this._mode.init(this,e&&e.words):(this._mode=n.call(i,this,e&&e.words),this._mode.__creator=n)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else{var e=this._process(!0);t.unpad(e)}return e},blockSize:4}),n.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),_=i.format={},y=_.OpenSSL={stringify:function(t){var e=t.ciphertext,i=t.salt;if(i)var n=o.create([1398893684,1701076831]).concat(i).concat(e);else var n=e;return n.toString(h)},parse:function(t){var e=h.parse(t),i=e.words;if(1398893684==i[0]&&1701076831==i[1]){var n=o.create(i.slice(2,4));i.splice(0,4),e.sigBytes-=16}return m.create({ciphertext:e,salt:n})}},b=n.SerializableCipher=r.extend({cfg:r.extend({format:y}),encrypt:function(t,e,i,n){n=this.cfg.extend(n);var r=t.createEncryptor(i,n),o=r.finalize(e),s=r.cfg;return m.create({ciphertext:o,key:i,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,e,i,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var r=t.createDecryptor(i,n).finalize(e.ciphertext);return r},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),w=i.kdf={},A=w.OpenSSL={execute:function(t,e,i,n){n||(n=o.random(8));var r=c.create({keySize:e+i}).compute(t,n),s=o.create(r.words.slice(e),4*i);return r.sigBytes=4*e,m.create({key:r,iv:s,salt:n})}},x=n.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:A}),encrypt:function(t,e,i,n){n=this.cfg.extend(n);var r=n.kdf.execute(i,t.keySize,t.ivSize);n.iv=r.iv;var o=b.encrypt.call(this,t,e,r.key,n);return o.mixIn(r),o},decrypt:function(t,e,i,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var r=n.kdf.execute(i,t.keySize,t.ivSize,e.salt);n.iv=r.iv;var o=b.decrypt.call(this,t,e,r.key,n);return o}})}()})},function(t,e,i){(function(e,n,r){"use strict";function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){T(e,t)}}function s(t){return O.from(t)}function a(t){return O.isBuffer(t)||t instanceof R}function h(){}function u(t,e){E=E||i(11),t=t||{};
var n=e instanceof E;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,s=t.writableHighWaterMark,a=this.objectMode?16:16384;r||0===r?this.highWaterMark=r:n&&(s||0===s)?this.highWaterMark=s:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=t.decodeStrings===!1;this.decodeStrings=!h,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){_(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function c(t){return E=E||i(11),M.call(c,this)||this instanceof E?(this._writableState=new u(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),void $.call(this)):new c(t)}function l(t,e){var i=new Error("write after end");t.emit("error",i),k.nextTick(e,i)}function p(t,e,i,n){var r=!0,o=!1;return null===i?o=new TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),k.nextTick(n,o),r=!1),r}function f(t,e,i){return t.objectMode||t.decodeStrings===!1||"string"!=typeof e||(e=O.from(e,i)),e}function d(t,e,i,n,r,o){if(!i){var s=f(e,n,r);n!==s&&(i=!0,r="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var h=e.length<e.highWaterMark;if(h||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:r,isBuf:i,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else g(t,e,!1,a,n,r,o);return h}function g(t,e,i,n,r,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,i?t._writev(r,e.onwrite):t._write(r,o,e.onwrite),e.sync=!1}function v(t,e,i,n,r){--e.pendingcb,i?(k.nextTick(r,n),k.nextTick(C,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(r(n),t._writableState.errorEmitted=!0,t.emit("error",n),C(t,e))}function m(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function _(t,e){var i=t._writableState,n=i.sync,r=i.writecb;if(m(i),e)v(t,i,n,e,r);else{var o=A(i);o||i.corked||i.bufferProcessing||!i.bufferedRequest||w(t,i),n?D(y,t,i,o,r):y(t,i,o,r)}}function y(t,e,i,n){i||b(t,e),e.pendingcb--,n(),C(t,e)}function b(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function w(t,e){e.bufferProcessing=!0;var i=e.bufferedRequest;if(t._writev&&i&&i.next){var n=e.bufferedRequestCount,r=new Array(n),s=e.corkedRequestsFree;s.entry=i;for(var a=0,h=!0;i;)r[a]=i,i.isBuf||(h=!1),i=i.next,a+=1;r.allBuffers=h,g(t,e,!0,e.length,r,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;i;){var u=i.chunk,c=i.encoding,l=i.callback,p=e.objectMode?1:u.length;if(g(t,e,!1,p,u,c,l),i=i.next,e.bufferedRequestCount--,e.writing)break}null===i&&(e.lastBufferedRequest=null)}e.bufferedRequest=i,e.bufferProcessing=!1}function A(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function x(t,e){t._final(function(i){e.pendingcb--,i&&t.emit("error",i),e.prefinished=!0,t.emit("prefinish"),C(t,e)})}function S(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,k.nextTick(x,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function C(t,e){var i=A(e);return i&&(S(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),i}function P(t,e,i){e.ending=!0,C(t,e),i&&(e.finished?k.nextTick(i):t.once("finish",i)),e.ended=!0,t.writable=!1}function T(t,e,i){var n=t.entry;for(t.entry=null;n;){var r=n.callback;e.pendingcb--,r(i),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}var k=i(25);t.exports=c;var E,D=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:k.nextTick;c.WritableState=u;var I=Object.create(i(19));I.inherits=i(16);var L={deprecate:i(176)},$=i(74),O=i(26).Buffer,R=r.Uint8Array||function(){},j=i(73);I.inherits(c,$),u.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(u.prototype,"buffer",{get:L.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var M;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(M=Function.prototype[Symbol.hasInstance],Object.defineProperty(c,Symbol.hasInstance,{value:function(t){return!!M.call(this,t)||this===c&&t&&t._writableState instanceof u}})):M=function(t){return t instanceof this},c.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},c.prototype.write=function(t,e,i){var n=this._writableState,r=!1,o=!n.objectMode&&a(t);return o&&!O.isBuffer(t)&&(t=s(t)),"function"==typeof e&&(i=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof i&&(i=h),n.ended?l(this,i):(o||p(this,n,t,i))&&(n.pendingcb++,r=d(this,n,o,t,e,i)),r},c.prototype.cork=function(){var t=this._writableState;t.corked++},c.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},c.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),c.prototype._write=function(t,e,i){i(new Error("_write() is not implemented"))},c.prototype._writev=null,c.prototype.end=function(t,e,i){var n=this._writableState;"function"==typeof t?(i=t,t=null,e=null):"function"==typeof e&&(i=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||P(this,n,i)},Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),c.prototype.destroy=j.destroy,c.prototype._undestroy=j.undestroy,c.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,i(7),i(37).setImmediate,function(){return this}())},function(t,e,i){e=t.exports=i(71),e.Stream=e,e.Readable=e,e.Writable=i(35),e.Duplex=i(11),e.Transform=i(72),e.PassThrough=i(167)},function(t,e,i){(function(t){function n(t,e){this._id=t,this._clearFn=e}var r="undefined"!=typeof t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;e.setTimeout=function(){return new n(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new n(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},n.prototype.unref=n.prototype.ref=function(){},n.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},i(173),e.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(e,function(){return this}())},function(t,e){function i(t){this.state=o,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}var n=0,r=1,o=2;i.reject=function(t){return new i(function(e,i){i(t)})},i.resolve=function(t){return new i(function(e,i){e(t)})},i.all=function(t){return new i(function(e,i){function n(i){return function(n){o[i]=n,r+=1,r===t.length&&e(o)}}var r=0,o=[];0===t.length&&e(o);for(var s=0;s<t.length;s+=1)t[s].then(n(s),i)})},i.race=function(t){return new i(function(e,i){for(var n=0;n<t.length;n+=1)t[n].then(e,i)})};var s=i.prototype;s.resolve=function(t){var e=this;if(e.state===o){if(t===e)throw new TypeError("Promise settled with itself.");var i=!1;try{var r=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof r)return void r.call(t,function(t){i||e.resolve(t),i=!0},function(t){i||e.reject(t),i=!0})}catch(t){return void(i||e.reject(t))}e.state=n,e.value=t,e.notify()}},s.reject=function(t){var e=this;if(e.state===o){if(t===e)throw new TypeError("Promise settled with itself.");e.state=r,e.value=t,e.notify()}},s.notify=function(){var t=this;h(function(){if(t.state!==o)for(;t.deferred.length;){var e=t.deferred.shift(),i=e[0],s=e[1],a=e[2],h=e[3];try{t.state===n?a("function"==typeof i?i.call(void 0,t.value):t.value):t.state===r&&("function"==typeof s?a(s.call(void 0,t.value)):h(t.value))}catch(t){h(t)}}})},s.catch=function(t){return this.then(void 0,t)},s.then=function(t,e){var n=this;return new i(function(i,r){n.deferred.push([t,e,i,r]),n.notify()})};var a=[],h=function(t){a.push(t),1===a.length&&h.async()};if(h.run=function(){for(;a.length;)a[0](),a.shift()},window.MutationObserver){var u=document.createElement("div"),c=new MutationObserver(h.run);c.observe(u,{attributes:!0}),h.async=function(){u.setAttribute("x",0)}}else h.async=function(){setTimeout(h.run)};t.exports=window.Promise||i},function(t,e){(function(){e.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:"  ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;e=i(2),r=i(29),t.exports=n=function(t){function i(t,n){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=e.CData,this.value=this.stringify.cdata(n)}return o(i,t),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},i}(r)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;e=i(2),n=i(29),t.exports=r=function(t){function i(t,n){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=e.Comment,this.value=this.stringify.comment(n)}return o(i,t),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},i}(n)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=i(5),e=i(2),t.exports=n=function(t){function i(t,n,r,o,s,a){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==r)throw new Error("Missing DTD attribute name. "+this.debugInfo(n));if(!o)throw new Error("Missing DTD attribute type. "+this.debugInfo(n));if(!s)throw new Error("Missing DTD attribute default. "+this.debugInfo(n));if(0!==s.indexOf("#")&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(n));if(a&&!s.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(n));this.elementName=this.stringify.name(n),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(r),this.attributeType=this.stringify.dtdAttType(o),a&&(this.defaultValue=this.stringify.dtdAttDefault(a)),this.defaultValueType=s}return o(i,t),i.prototype.toString=function(t){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(t))},i}(r)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=i(5),e=i(2),t.exports=n=function(t){function i(t,n,r){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD element name. "+this.debugInfo());r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.name(n),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}return o(i,t),i.prototype.toString=function(t){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(t))},i}(r)}).call(this)},function(t,e,i){(function(){var e,n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=i(8).isObject,r=i(5),e=i(2),t.exports=n=function(t){function i(t,n,r,s){if(i.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD entity name. "+this.debugInfo(r));if(null==s)throw new Error("Missing DTD entity value. "+this.debugInfo(r));if(this.pe=!!n,this.name=this.stringify.name(r),this.type=e.EntityDeclaration,o(s)){if(!s.pubID&&!s.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(r));if(s.pubID&&!s.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(r));if(this.internal=!1,null!=s.pubID&&(this.pubID=this.stringify.dtdPubID(s.pubID)),null!=s.sysID&&(this.sysID=this.stringify.dtdSysID(s.sysID)),null!=s.nData&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(r))}else this.value=this.stringify.dtdEntityValue(s),this.internal=!0}return s(i,t),Object.defineProperty(i.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(i.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(i.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"xmlVersion",{get:function(){return null}}),i.prototype.toString=function(t){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(t))},i}(r)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=i(5),e=i(2),t.exports=n=function(t){function i(t,n,r){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD notation name. "+this.debugInfo(n));if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(n));this.name=this.stringify.name(n),this.type=e.NotationDeclaration,null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return o(i,t),Object.defineProperty(i.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this.sysID}}),i.prototype.toString=function(t){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(t))},i}(r)}).call(this)},function(t,e,i){(function(){var e,n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=i(8).isObject,r=i(5),e=i(2),t.exports=n=function(t){function i(t,n,r,s){var a;i.__super__.constructor.call(this,t),o(n)&&(a=n,n=a.version,r=a.encoding,s=a.standalone),n||(n="1.0"),this.type=e.Declaration,this.version=this.stringify.xmlVersion(n),null!=r&&(this.encoding=this.stringify.xmlEncoding(r)),null!=s&&(this.standalone=this.stringify.xmlStandalone(s))}return s(i,t),i.prototype.toString=function(t){return this.options.writer.declaration(this,this.options.writer.filterOptions(t))},i}(r)}).call(this)},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c,l=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;c=i(8).isObject,u=i(5),e=i(2),n=i(42),o=i(44),r=i(43),s=i(45),h=i(49),t.exports=a=function(t){function i(t,n,r){var o,s,a,h,u,l;if(i.__super__.constructor.call(this,t),this.type=e.DocType,t.children)for(h=t.children,s=0,a=h.length;s<a;s++)if(o=h[s],o.type===e.Element){this.name=o.name;break}this.documentObject=t,c(n)&&(u=n,n=u.pubID,r=u.sysID),null==r&&(l=[n,r],r=l[0],n=l[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return l(i,t),Object.defineProperty(i.prototype,"entities",{get:function(){var t,i,n,r,o;for(r={},o=this.children,i=0,n=o.length;i<n;i++)t=o[i],t.type!==e.EntityDeclaration||t.pe||(r[t.name]=t);return new h(r)}}),Object.defineProperty(i.prototype,"notations",{get:function(){var t,i,n,r,o;for(r={},o=this.children,i=0,n=o.length;i<n;i++)t=o[i],t.type===e.NotationDeclaration&&(r[t.name]=t);return new h(r)}}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(i.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),i.prototype.element=function(t,e){var i;return i=new r(this,t,e),this.children.push(i),this},i.prototype.attList=function(t,e,i,r,o){var s;return s=new n(this,t,e,i,r,o),this.children.push(s),this},i.prototype.entity=function(t,e){var i;return i=new o(this,!1,t,e),this.children.push(i),this},i.prototype.pEntity=function(t,e){var i;return i=new o(this,!0,t,e),this.children.push(i),this},i.prototype.notation=function(t,e){var i;return i=new s(this,t,e),this.children.push(i),this},i.prototype.toString=function(t){return this.options.writer.docType(this,this.options.writer.filterOptions(t))},i.prototype.ele=function(t,e){return this.element(t,e)},i.prototype.att=function(t,e,i,n,r){return this.attList(t,e,i,n,r)},i.prototype.ent=function(t,e){return this.entity(t,e)},i.prototype.pent=function(t,e){return this.pEntity(t,e)},i.prototype.not=function(t,e){return this.notation(t,e)},i.prototype.up=function(){return this.root()||this.documentObject},i.prototype.isEqualNode=function(t){return!!i.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.name===this.name&&t.publicId===this.publicId&&t.systemId===this.systemId},i}(u)}).call(this)},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c,l=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;c=i(8),u=c.isObject,h=c.isFunction,a=c.getValue,s=i(5),e=i(2),n=i(78),o=i(49),t.exports=r=function(t){function i(t,n,r){var o,s,a,h;if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(n),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,null!=r&&this.attribute(r),t.type===e.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children))for(h=t.children,s=0,a=h.length;s<a;s++)if(o=h[s],o.type===e.DocType){o.name=this.name;break}}return l(i,t),Object.defineProperty(i.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(i.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(i.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(i.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(i.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(i.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(i.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(i.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new o(this.attribs)),this.attributeMap}}),i.prototype.clone=function(){var t,e,i,n;i=Object.create(this),i.isRoot&&(i.documentObject=null),i.attribs={},n=this.attribs;for(e in n)p.call(n,e)&&(t=n[e],i.attribs[e]=t.clone());return i.children=[],this.children.forEach(function(t){var e;return e=t.clone(),e.parent=i,i.children.push(e)}),i},i.prototype.attribute=function(t,e){var i,r;if(null!=t&&(t=a(t)),u(t))for(i in t)p.call(t,i)&&(r=t[i],this.attribute(i,r));else h(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.attribs[t]=new n(this,t,""):null!=e&&(this.attribs[t]=new n(this,t,e));return this},i.prototype.removeAttribute=function(t){var e,i,n;if(null==t)throw new Error("Missing attribute name. "+this.debugInfo());if(t=a(t),Array.isArray(t))for(i=0,n=t.length;i<n;i++)e=t[i],delete this.attribs[e];else delete this.attribs[t];return this},i.prototype.toString=function(t){return this.options.writer.element(this,this.options.writer.filterOptions(t))},i.prototype.att=function(t,e){return this.attribute(t,e)},i.prototype.a=function(t,e){return this.attribute(t,e)},i.prototype.getAttribute=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t].value:null},i.prototype.setAttribute=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getAttributeNode=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t]:null},i.prototype.setAttributeNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.removeAttributeNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.setAttributeNS=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.removeAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getAttributeNodeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.setAttributeNodeNS=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagNameNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.hasAttribute=function(t){return this.attribs.hasOwnProperty(t)},i.prototype.hasAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.setIdAttribute=function(t,e){return this.attribs.hasOwnProperty(t)?this.attribs[t].isId:e},i.prototype.setIdAttributeNS=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.setIdAttributeNode=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagNameNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByClassName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.isEqualNode=function(t){var e,n,r;if(!i.__super__.isEqualNode.apply(this,arguments).isEqualNode(t))return!1;if(t.namespaceURI!==this.namespaceURI)return!1;if(t.prefix!==this.prefix)return!1;if(t.localName!==this.localName)return!1;if(t.attribs.length!==this.attribs.length)return!1;for(e=n=0,r=this.attribs.length-1;0<=r?n<=r:n>=r;e=0<=r?++n:--n)if(!this.attribs[e].isEqualNode(t.attribs[e]))return!1;return!0},i}(s)}).call(this)},function(t,e){(function(){var e;t.exports=e=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(t){return this.nodes[t]},t.prototype.setNamedItem=function(t){var e;return e=this.nodes[t.nodeName],this.nodes[t.nodeName]=t,e||null},t.prototype.removeNamedItem=function(t){var e;return e=this.nodes[t],delete this.nodes[t],e||null},t.prototype.item=function(t){return this.nodes[Object.keys(this.nodes)[t]]||null},t.prototype.getNamedItemNS=function(t,e){throw new Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(t){throw new Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(t,e){throw new Error("This DOM method is not implemented.")},t}()}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;e=i(2),n=i(29),t.exports=r=function(t){function i(t,n,r){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing instruction target. "+this.debugInfo());this.type=e.ProcessingInstruction,this.target=this.stringify.insTarget(n),this.name=this.target,r&&(this.value=this.stringify.insValue(r))}return o(i,t),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(t){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(t))},i.prototype.isEqualNode=function(t){return!!i.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.target===this.target},i}(n)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;e=i(2),n=i(5),t.exports=r=function(t){function i(t,n){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing raw text. "+this.debugInfo());this.type=e.Raw,this.value=this.stringify.raw(n)}return o(i,t),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(t){return this.options.writer.raw(this,this.options.writer.filterOptions(t))},i}(n)}).call(this)},function(t,e,i){(function(){var e,n,r=function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=i(83),t.exports=e=function(t){function e(t){e.__super__.constructor.call(this,t)}return r(e,t),e.prototype.document=function(t,e){var i,n,r,o,s;for(e=this.filterOptions(e),o="",s=t.children,n=0,r=s.length;n<r;n++)i=s[n],o+=this.writeChildNode(i,e,0);return e.pretty&&o.slice(-e.newline.length)===e.newline&&(o=o.slice(0,-e.newline.length)),o},e}(n)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;e=i(2),n=i(29),t.exports=r=function(t){function i(t,n){if(i.__super__.constructor.call(this,t),null==n)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=e.Text,this.value=this.stringify.text(n)}return o(i,t),Object.defineProperty(i.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(i.prototype,"wholeText",{get:function(){var t,e,i;for(i="",e=this.previousSibling;e;)i=e.data+i,e=e.previousSibling;for(i+=this.data,t=this.nextSibling;t;)i+=t.data,t=t.nextSibling;return i}}),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(t){return this.options.writer.text(this,this.options.writer.filterOptions(t))},i.prototype.splitText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceWholeText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i}(n)}).call(this)},function(t,e,i){(function(){var e,n;e=i(20),n=function(){function t(){}return t.isIntersectRect=function(t,e){return!(e.left>t.right||e.right<t.left||e.top>t.bottom||e.bottom<t.top)},t.isIntersectRectWithRatio=function(t,e,i){var n,r;return!!this.isIntersectRect(t,e)&&(n=this.intersectRect(t,e),r=this.ratioRect(t,n),r>i)},t.createRect=function(t,i,n,r){return new e(t,i,n,r)},t.intersectRect=function(t,i){var n,r,o,s;return r=Math.max(t.left,i.left),o=Math.min(t.right,i.right),n=Math.min(t.bottom,i.bottom),s=Math.max(t.top,i.top),new e(r,s,o,n)},t.ratioRect=function(t,e){var i,n;return i=(t.right-t.left)*(t.bottom-t.top),n=(e.right-e.left)*(e.bottom-e.top),n/i},t}(),t.exports=n}).call(this)},function(t,e){(function(){var e;e=function(){function t(){}return t.type=function(){var t,e,i,n,r;for(t={},r="Boolean Number String Function Array Date RegExp Undefined Null".split(" "),i=0,n=r.length;i<n;i++)e=r[i],t["[object "+e+"]"]=e.toLowerCase();return function(e){var i;return i=Object.prototype.toString.call(e),t[i]||"object"}}(),t}(),t.exports=e}).call(this)},function(t,e){(function(){var e;e=function(){function t(){}return t.generate=function(){return this.s4()+this.s4()+"-"+this.s4()+"-"+this.s4()+"-"+this.s4()+"-"+this.s4()+this.s4()+this.s4()},t.s4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},t}(),t.exports=e}).call(this)},function(t,e,i){(function(e){var n,r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y;m=i(13),f=i(101),p=i(200),c=i(20),l=i(54),n=i(85),u=i(31),s=i(30),_=i(10),g=i(84),i(123),y=i(27),i(201),d=i(55),o=i(4),h=i(18),a=i(12),r=i(86),v=i(76),t.exports={template:i(117),props:["page","index"],components:{"slice-piece":i(96)},data:function(){return{paperColor:{backgroundColor:"#ffffff"},x2slices:[],x4slices:[],x8slices:[],stage:null,
charCanvasStage:null,debugCanvasStage:null,hitareaTimeout:null,hitareaDelay:500,textpointTimeout:null,textpointDelay:1e3,libraMemoTimeout:null,libraMemoDelay:500,leftPageShadow:i(87),rightPageShadow:i(88),scormScoreCheck:i(209),testTextPointString:"",textPointArray:[],isTextpointLoaded:!1,ratioOfx1ToPdfH:0,ratioOfx1ToPdfV:0,isDev:!1}},computed:{getImageStyle:function(){var t;return t={},t.position="relative",t.top="0px",t.left="0px",t.userSelect="none",t.userDrag="none",_.not.safari()&&(t.backfaceVisibility="hidden",t.transform="translateZ(0)"),t},pageFolderNum:function(){return this.$root.dataArray[this.page-1]},isActivePage:function(){var t,e,i,n;try{switch(this.$root.view){case g.CAROUSEL:return!this.$parent.isFlipping&&(this.page===(null!=(e=this.$root)?e.activeLeftPage:void 0)||this.page===(null!=(i=this.$root)?i.activeRightPage:void 0))&&this.page>0;case g.SLIDE:return!this.$parent.isFlipping&&this.page===(null!=(n=this.$root)?n.slideViewNum:void 0)+1&&this.page>0}}catch(e){return t=e,!1}},isActivePageAndZoomingLayer2:function(){var t,i;return t=r.getDeviceRatio(),i=1,m()&&(i=.8),this.isActivePage&&this.$root.maxMagnification>=2&&this.$parent.isZooming===!1&&this.$parent.isFlipping===!1&&this.$root.scale>e.round(i/t,2)&&!this.isActivePageAndZoomingLayer4&&!this.isActivePageAndZoomingLayer8},isActivePageAndZoomingLayer4:function(){var t;return t=r.getDeviceRatio(),this.isActivePage&&this.$root.maxMagnification>=4&&this.$parent.isZooming===!1&&this.$parent.isFlipping===!1&&this.$root.scale>e.round(2/t,2)&&!this.isActivePageAndZoomingLayer8},isActivePageAndZoomingLayer8:function(){var t;return t=r.getDeviceRatio(),this.isActivePage&&this.$root.maxMagnification>=8&&this.$parent.isZooming===!1&&this.$parent.isFlipping===!1&&this.$root.scale>e.round(4/t,2)},getLeftPageShadow:function(){return this.page>0&&this.page<=this.$root.pageTotal?this.leftPageShadow:""},getRightPageShadow:function(){return this.page>0&&this.page<=this.$root.pageTotal?this.rightPageShadow:""},isLeftPage:function(){return!(this.page<1||this.page>this.$root.pageTotal||("r2l"===this.$root.bookDirection?(this.page+this.$root.startPageSetting)%2!==1:(this.page+this.$root.startPageSetting)%2!==0))},isRightPage:function(){return!(this.page<1||this.page>this.$root.pageTotal||this.isLeftPage)},isLeftPageVisibility:function(){return this.isLeftPage?"visible":"hidden"},isRightPageVisibility:function(){return this.isRightPage?"visible":"hidden"},nombre:function(){return this.$root.labelArray[this.page-1]},isCheckMark:function(){return"1"===this.$root.scormCheckPageArray[this.page-1]},isPageShadowVisible:function(){switch(this.$root.view){case g.SLIDE:return!1;default:return this.$root.shadowDisplay}}},methods:{reloadTextPoint3:function(t){var e,i,n,r,o,s,a,h,u,p,f;if(this.$root.soTextSelect&&this.isActivePage){if(this.$parent.isFlipping)return;if(this.isTextpointLoaded){for(p=new c(this.$root.selectedAreaLeft,this.$root.selectedAreaTop,this.$root.selectedAreaRight,this.$root.selectedAreaBottom),r=new c(0,0,this.$root.pageWidth,this.$root.pageHeight),u=new c(this.$root.pageWidth,0,2*this.$root.pageWidth,this.$root.pageHeight),this.$root.view===g.SLIDE&&(this.isRightPage?this.$root.selectedAreaIsRightPage||(p=new c(this.$root.selectedAreaLeft+this.$root.pageWidth,this.$root.selectedAreaTop,this.$root.selectedAreaRight+this.$root.pageWidth,this.$root.selectedAreaBottom)):this.$root.selectedAreaIsRightPage&&(p=new c(this.$root.selectedAreaLeft-this.$root.pageWidth,this.$root.selectedAreaTop,this.$root.selectedAreaRight-this.$root.pageWidth,this.$root.selectedAreaBottom))),this.isRightPage?(this.$root.selectedRightPageString="",f=l.intersectRect(p,u),f.offset(this.$root.pageWidth*-1,0)):(this.$root.selectedLeftPageString="",f=l.intersectRect(p,r)),a=this.textPointArray,h=[],n=i=0,o=a.length;i<o;n=++i)s=a[n],e=new c(s.x*this.ratioOfx1ToPdfH,s.y*this.ratioOfx1ToPdfV-parseFloat(s.h)*this.ratioOfx1ToPdfV,parseFloat(s.w)*this.ratioOfx1ToPdfH+parseFloat(s.x)*this.ratioOfx1ToPdfH,parseFloat(s.h)*this.ratioOfx1ToPdfV+(s.y*this.ratioOfx1ToPdfV-parseFloat(s.h)*this.ratioOfx1ToPdfV)),l.isIntersectRectWithRatio(e,f,.3)&&(this.isRightPage?h.push(this.$root.selectedRightPageString+=this.testTextPointString[n]):h.push(this.$root.selectedLeftPageString+=this.testTextPointString[n]));return h}return this.loadTextPointXml(this.reloadTextPoint3)}},loadTextPointXml:function(t){var e;return this.testTextPointString="",this.textPointArray=[],e=this.$root.imagepath?this.$root.imagepath:this.$root.bookpath,this.$http.get(e+"page"+this.pageFolderNum+"/textpoint.xml",{c:this.$root.noCacheParam},function(e,i,n){return this.xmlParser.parseString(e,function(e){return function(i,n){var r,o,s,a,h,u,c,l;if(e.isTextpointLoaded=!0,e.ratioOfx1ToPdfH=parseFloat(e.$root.pageWidth/n.TET.Page[0].$.width),e.ratioOfx1ToPdfV=parseFloat(e.$root.pageHeight/n.TET.Page[0].$.height),n.TET.Page[0].Font)for(c=n.TET.Page[0].Font,s=0,h=c.length;s<h;s++)for(r=c[s],l=r.G,a=0,u=l.length;a<u;a++)o=l[a],e.testTextPointString+=o.$.t,e.textPointArray.push(o.$);else e.testTextPointString="",e.textPointArray=[];return t.apply()}}(this))})},createCharHighlight:function(t,e,i,n,r,o){var s;return s=new createjs.Shape,s.graphics.clear().beginFill("rgba(255,170,170,0.8)").drawRect(t*r,e*o-n*o,i*r,n*o),s},debugTextPoint:function(){return this.textpointTimeout=setTimeout(function(t){return function(){return t.debugTextPoint2()}}(this),this.textpointDelay)},debugTextPoint2:function(){if(this.isActivePage){if(this.$parent.isFlipping)return;if(this.isTextpointLoaded)return this.debugHandleLoadedTextPoint();this.loadTextPointXml(this.debugHandleLoadedTextPoint)}},debugHandleLoadedTextPoint:function(){var t,e,i,n,r;for(null===this.debugCanvasStage&&(this.debugCanvasStage=new createjs.Stage(this.$els.debugCanvas)),i=this.textPointArray,t=0,e=i.length;t<e;t++)r=i[t],n=this.debugCreateCharStroke(r.x,r.y,r.w,r.h,this.ratioOfx1ToPdfH,this.ratioOfx1ToPdfV),this.debugCanvasStage.addChild(n);return this.debugCanvasStage.update()},debugCreateCharStroke:function(t,e,i,n,r,o){var s;return s=new createjs.Shape,s.graphics.clear().setStrokeStyle(1).beginStroke("#0000ff").drawRect(t*r,e*o-n*o,i*r,n*o),s},reloadTextPoint:function(){return this.textpointTimeout=setTimeout(function(t){return function(){return t.reloadTextPoint2()}}(this),this.textpointDelay)},reloadTextPoint2:function(){if(this.isActivePage){if(this.$parent.isFlipping)return;0!==this.$root.textPointWords.length&&"glyph"===this.$root.soSearchMode&&this.loadTextPointXml(this.handleLoadedTextPointForHighlight)}},handleLoadedTextPointForHighlight:function(){var t,e,i,n,r,o,s,a,h,u,c,l,p,d,g,v,m,_,y,b,w,A,x;for(i=[],l=0,null!=(p=this.charCanvasStage)&&p.removeAllChildren(),null!=(d=this.charCanvasStage)&&d.update(),w=this.testTextPointString,w=w.replace(/&amp;/g,"&"),w=w.replace(/&lt;/g,"<"),w=w.replace(/&gt;/g,">"),w=w.replace(/&quot;/g,'"'),w=w.replace(/&apos;/g,"'"),g=this.$root.textPointWords,n=0,a=g.length;n<a;n++)A=g[n],e=f.zenkaku2hankakuWord(A),m=RegExp(e,"gi"),m.test(f.zenkaku2hankaku(w))&&(l+=1);if(this.$root.isAndTextSearch||(l=this.$root.textPointWords.length),l===this.$root.textPointWords.length)for(v=this.$root.textPointWords,r=0,h=v.length;r<h;r++)for(A=v[r],e=f.zenkaku2hankakuWord(A),m=RegExp(e,"gi");_=m.exec(f.zenkaku2hankaku(w));)for(c=(A.match(/\\/g)||[]).length,b=(A.match(/\\\\/g)||[]).length,s=A.length-c===0?c/2:A.length-(c-b),x=s-1;x>=0;)i.push(_.index+x),x--;for(null===this.charCanvasStage&&(this.charCanvasStage=new createjs.Stage(this.$els.charCanvas)),o=0,u=i.length;o<u;o++)t=i[o],this.textPointArray[t]&&(y=this.createCharHighlight(this.textPointArray[t].x,this.textPointArray[t].y,this.textPointArray[t].w,this.textPointArray[t].h,this.ratioOfx1ToPdfH,this.ratioOfx1ToPdfV),this.charCanvasStage.addChild(y));return this.charCanvasStage.update()},reloadHitarea:function(){return this.hitareaTimeout=setTimeout(function(t){return function(){return t.reloadHitarea2()}}(this),this.hitareaDelay)},reloadHitarea2:function(){if(this.isActivePage)return this.$http.get(this.$root.bookpath+"page"+this.pageFolderNum+"/layer/hitarea.xml",{c:this.$root.noCacheParam},function(t,e,i){var n;try{if(this.$parent.isFlipping)return}catch(t){return void(n=t)}if(this.isActivePage!==!1)try{this.$root.view===g.CAROUSEL?this.$parent._drawLinkFromPageComponent(t,this.isRightPage,this.page):this.$parent._drawLinkFromPageComponent(t,this.isRightPage,this.page)}catch(t){n=t}})},onDeactivePage:function(){var t,e,i,n,r;return clearTimeout(this.hitareaTimeout),clearTimeout(this.textpointTimeout),clearTimeout(this.libraMemoTimeout),this.testTextPointString="",this.textPointArray=[],this.isTextpointLoaded=!1,null!=(t=this.charCanvasStage)&&t.removeAllChildren(),null!=(e=this.charCanvasStage)&&e.update(),null!=(i=this.stage)&&i.enableMouseOver(0),null!=(n=this.stage)&&n.removeAllChildren(),null!=(r=this.stage)?r.update():void 0},onActivePage:function(){return this.checkSliceDisplay("onActivePage"),this.reloadHitarea(),this.reloadTextPoint(),v.nextTick(function(t){return function(){return t.$root.isOnLibra?t.checkLibraStorage():t.checkLocalStorage()}}(this))},checkLibraStorage:function(){if(this.$root.libraAccessKey)return this.libraMemoTimeout=setTimeout(function(t){return function(){return t.checkLibraStorage2()}}(this),this.libraMemoDelay)},checkLibraStorage2:function(){var t,i,n;return t={access_key:this.$root.libraAccessKey,content_id:this.$root.libraContentId,version:this.$root.libraHan,position:this.$root.dataArray[this.page-1],c:new Date/1e3|0},n=e.merge(t,{type:"pens"}),this.$http.get(this.$root.libraApiUrl+this.$root.libraGetListApiName,n,function(t){return function(i,n,r){var s,a,h,c,l,p,f,d;for(f=e.map(i.stored_data,"data"),d=e.map(f,function(t){return JSON.parse(t)}),c=h=0,l=d.length;h<l;c=++h)p=d[c],s=new u(p.id,p.stroke,p.r,p.g,p.b,p.alpha,p.tool,p.points),s.resolve(p.pageId),d[c]=s;try{return t.$root.view===g.CAROUSEL?t.$parent._drawPensFromPageComponent(d,t.isRightPage):t.$parent._drawPensFromPageComponent(d,t.isRightPage)}catch(e){return a=e,o.log(a,t.page)}}}(this)),i=e.merge(t,{type:"fusens"}),this.$http.get(this.$root.libraApiUrl+this.$root.libraGetListApiName,n,function(t){return function(i,n,r){var a,h,u,c,l,p,f;for(c=e.map(i.stored_data,function(t){var e;return e=JSON.parse(t.data),e.access_type=t.access_type||"private",e.read_only=t.read_only||!1,e}),p=l=0,f=c.length;l<f;p=++l)u=c[p],a=new s(u.id,u.text,u.x,u.y,u.bgColor,u.fColor,u.w,u.h),a.resolve(u.pageId),a[p]=a;try{return t.$root.view===g.CAROUSEL?t.$parent._drawFusensFromPageComponent(c,t.isRightPage):t.$parent._drawFusensFromPageComponent(c,t.isRightPage)}catch(e){return h=e,o.log(h,t.page)}}}(this))},checkLocalStorage:function(){var t,e,i;i=h.get(this.$root.dataArray[this.page-1]);try{this.$root.view===g.CAROUSEL?this.$parent._drawPensFromPageComponent(i,this.isRightPage):this.$parent._drawPensFromPageComponent(i,this.isRightPage)}catch(e){t=e,o.log(t,this.page)}e=a.get(this.$root.dataArray[this.page-1]);try{return this.$root.view===g.CAROUSEL?this.$parent._drawFusensFromPageComponent(e,this.isRightPage):this.$parent._drawFusensFromPageComponent(e,this.isRightPage)}catch(e){return t=e,o.log(t,this.page)}},checkSliceDisplay:function(t){return v.nextTick(function(t){return function(){var e,i,n,r,o,s,a,h,u,c,p,f,d,g,v,m,_,y,b,w,A,x,S,C,P,T,k,E;for(e=t.$root.$el.getBoundingClientRect(),x=t.x2slices,o=r=0,u=x.length;r<u;o=++r)y=x[o],y.isDisplay=!1,t.x2slices.$set(o,y);for(S=t.x4slices,o=s=0,c=S.length;s<c;o=++s)b=S[o],b.isDisplay=!1,t.x4slices.$set(o,b);for(C=t.x8slices,o=a=0,p=C.length;a<p;o=++a)w=C[o],w.isDisplay=!1,t.x8slices.$set(o,w);if(t.isActivePageAndZoomingLayer2)for(P=t.x2slices,o=h=0,f=P.length;h<f;o=++h){A=P[o];try{i=document.getElementById(A.divid).getBoundingClientRect(),_=A,_.isDisplay=l.isIntersectRect(e,i),t.x2slices.$set(o,_)}catch(t){n=t}}if(t.isActivePageAndZoomingLayer4)for(T=t.x4slices,o=v=0,d=T.length;v<d;o=++v){A=T[o];try{i=document.getElementById(A.divid).getBoundingClientRect(),_=A,_.isDisplay=l.isIntersectRect(e,i),t.x4slices.$set(o,_)}catch(t){n=t}}if(t.isActivePageAndZoomingLayer8){for(k=t.x8slices,E=[],o=m=0,g=k.length;m<g;o=++m){A=k[o];try{i=document.getElementById(A.divid).getBoundingClientRect(),_=A,_.isDisplay=l.isIntersectRect(e,i),E.push(t.x8slices.$set(o,_))}catch(t){n=t}}return E}}}(this))}},created:function(){var t,i,n,o,s,a,h,u,c,l,f,d;if(this.xmlParser=new y.Parser,u=r.getDeviceRatio(),u<1&&(u=1),this.$root.maxMagnification>=e.round(2/u,2)){for(l=p.getSlicePositions(this.$root.pageWidth,this.$root.pageHeight,this.$root.sliceWidth,this.$root.sliceHeight,2),i=t=0,s=l.length;t<s;i=++t)c=l[i],c.jpgNumber=i+1,c.divid="slice_"+this.index+"_2_"+(i+1),c.isDisplay=!1;this.x2slices=l}if(this.$root.maxMagnification>=e.round(4/u,2)){for(f=p.getSlicePositions(this.$root.pageWidth,this.$root.pageHeight,this.$root.sliceWidth,this.$root.sliceHeight,4),i=n=0,a=f.length;n<a;i=++n)c=f[i],c.jpgNumber=i+1,c.divid="slice_"+this.index+"_4_"+(i+1),c.isDisplay=!1;this.x4slices=f}if(this.$root.maxMagnification>=e.round(8/u,2)){for(d=p.getSlicePositions(this.$root.pageWidth,this.$root.pageHeight,this.$root.sliceWidth,this.$root.sliceHeight,8),i=o=0,h=d.length;o<h;i=++o)c=d[i],c.jpgNumber=i+1,c.divid="slice_"+this.index+"_8_"+(i+1),c.isDisplay=!1;this.x8slices=d}return this.$on("flipL",function(){return clearTimeout(this.hitareaTimeout),clearTimeout(this.textpointTimeout),clearTimeout(this.libraMemoTimeout)}),this.$on("flipR",function(){return clearTimeout(this.hitareaTimeout),clearTimeout(this.textpointTimeout),clearTimeout(this.libraMemoTimeout)}),this.$on("searchHighlightOn",function(){var t,e;return null!=(t=this.charCanvasStage)&&t.removeAllChildren(),null!=(e=this.charCanvasStage)&&e.update(),this.reloadTextPoint2()}),this.$on("searchHighlightOff",function(){var t,e;return null!=(t=this.charCanvasStage)&&t.removeAllChildren(),null!=(e=this.charCanvasStage)?e.update():void 0}),this.$on("intersectChars",function(t){return this.reloadTextPoint3(t)}),this.$on("fitScreenSize",function(){return this.checkSliceDisplay("ウィンドウサイズ")}),this.isActivePage===!0&&this.onActivePage(),this.isActivePageUnwatcher=this.$watch(function(){return this.isActivePage},function(t,e){if(t===!0&&this.onActivePage(),t===!1)return this.onDeactivePage()}),this.isZoomingUnwatcher=this.$watch(function(){return this.$parent.isZooming},function(t,e){return this.checkSliceDisplay("isZoomingWatcher")}),this.isDraggingUnwatcher=this.$watch(function(){return this.$parent.isDragging},function(t,e){if(t===!1)return this.checkSliceDisplay("isDraggingWatcher")}),this.isFlippingUnwatcher=this.$watch(function(){return this.$parent.isFlipping},function(t,e){if(t===!1)return this.checkSliceDisplay("isFlippingWatcher")})},beforeDestroy:function(){if(this.charCanvasStage&&(this.charCanvasStage.removeAllChildren(),delete this.charCanvasStage),this.$els.charCanvas)return this.$els.charCanvas.width=0,this.$els.charCanvas.height=0,this.$els.charCanvas.remove(),delete this.$els.charCanvas}}}).call(e,i(3))},function(t,e,i){(function(e){var i;i=function(){function t(){}return t.init=function(t){var i;return this.bookID=t.setting.bookInformation.bookID._,this.title=t.setting.bookInformation.bookTitle._,this.startPageSetting=e.parseInt(t.setting.bookInformation.startPageSetting._),this.bookDirection=t.setting.bookInformation.bookDirection._,this.dataArray=t.setting.bookInformation.data._.split(","),i=t.setting.bookInformation.label._,this.labelArray=void 0===i?[]:t.setting.bookInformation.label._.split(","),this.pageWidth=e.parseInt(t.setting.bookInformation.pageWidth._),this.pageHeight=e.parseInt(t.setting.bookInformation.pageHeight._),this.allowPrint="true"===t.setting.bookInformation.allowPrint._,this.allowMemo="true"===t.setting.bookInformation.allowMemo._},t.isRightPageNum=function(t){return"l2r"===this.bookDirection?t%2!==this.startPageSetting:t%2===this.startPageSetting},t}(),t.exports=i}).call(e,i(3))},function(t,e,i){(function(e){var n,r;n=i(4),r=function(){function t(){}return t.data=[],t.key="",t.bookId="",t.bookTitle="",t.bookUrl="",t.enable=!0,t.checkLocalStorage=function(){var t,e;e="test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return t=e,!1}},t._init=function(t,e,i,n){var r;return this.bookId=e,this.bookTitle=i,this.bookUrl=n,this.key=["fldata",t,e].join("."),window.localStorage.getItem(this.key)?(r=window.localStorage.getItem(this.key),this.data=JSON.parse(r)):this.data=[]},t.get=function(t){return e.filter(this.data,{pageId:t})},t.add=function(t,i){var r,o,s,a,h,u;if(this.enable){if(e.pullAllBy(this.data,[{pageId:t}],"pageId"),i.length>0)for(s=0,u=i.length;s<u;s++)r=i[s],this.data.push(r);else this.data.push({}),this.data.pop();a=JSON.stringify(this.data);try{window.localStorage.setItem(this.key,a)}catch(t){switch(o=t,o.name){case"QuotaExceededError":case"NS_ERROR_DOM_QUOTA_REACHED":case"QUOTA_EXCEEDED_ERR":throw new Error("FLQuotaExceededError");default:n.log("その他のエラー")}}try{return h=["fldata","info",this.bookId].join("."),a=JSON.stringify({title:this.bookTitle,url:this.bookUrl}),window.localStorage.setItem(h,a)}catch(t){}}},t.remove=function(t){var i;if(this.enable){e.pullAllBy(this.data,[{pageId:t}],"pageId"),this.data.push({}),this.data.pop(),i=JSON.stringify(this.data);try{return window.localStorage.setItem(this.key,i)}catch(t){}}},t.clearLocalStorage=function(){if(this.enable)return this.data=[],window.localStorage.removeItem(this.key)},t}(),t.exports=r}).call(e,i(3))},function(t,e,i){var n,r,o,s,a,h=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;n=i(85),r=i(4),o=i(21),s=function(){function t(){}return t.rt=null,t.owner=null,t.bookPath="",t.isClickDelay=!0,t.noCacheParam="",t.getBitmapPath=function(t,e,i,n,r,o,s){var a,h;if("flv"!==t.linkTarget[0])return a=this.bookPath+t.imgPath[0],h=a.replace(/\.swf/g,".png")},t.createShape=function(t,e,i,n,r,o,s,a){var h;if("flv"!==e.linkTarget[0])return h=new createjs.Shape,h.name="link",h.link=e,h.rotation=e.shapeRotation[0],this.updateShape(h,"normal"),h.x=parseInt(e._x[0],10)+n,h.y=parseInt(e._y[0],10)+r,h.page=t,h.isRightPage=o,h.toggle=!1,h.addEventListener("mousedown",function(t){return function(e){return h.disableClickEvent=!1,h.mouseDownX=parseInt(e.stageX),h.mouseDownY=parseInt(e.stageY),h.mouseDownNativeX=e.nativeEvent.pageX||e.nativeEvent.clientX||e.nativeEvent.x,h.mouseDownNativeY=e.nativeEvent.pageY||e.nativeEvent.clientY||e.nativeEvent.y,h.isDelaying=!0,h.pressIntervalID=setTimeout(function(){return t.updateShape(h,"mousedown"),i.update(),h.isDelaying=!1},10)}}(this)),h.addEventListener("pressmove",function(t){return function(e){var n,r,o,s,a,u,c,l;if(o=Math.abs(h.mouseDownX-parseInt(e.stageX)),a=Math.abs(h.mouseDownY-parseInt(e.stageY)),n=Math.sqrt(Math.pow(o,2)+Math.pow(a,2)),n>10&&(t.updateShape(h,"normal"),i.update(),clearInterval(h.pressIntervalID)),c=e.nativeEvent.pageX||e.nativeEvent.clientX||e.nativeEvent.x,l=e.nativeEvent.pageY||e.nativeEvent.clientY||e.nativeEvent.y,s=Math.abs(h.mouseDownNativeX-c),u=Math.abs(h.mouseDownNativeY-l),r=Math.sqrt(Math.pow(s,2)+Math.pow(u,2)),r>10)return h.disableClickEvent=!0}}(this)),h.addEventListener("pressup",function(t){return function(e){if(t.updateShape(h,"normal"),i.update(),clearInterval(h.pressIntervalID),!h.isDelaying&&t.isClickDelay)return t.isClickDelay&&(h.toggle=!h.toggle,t.updateShape(h,"normal"),i.update()),t.onClickShape(e)}}(this)),h.addEventListener("click",function(t){return function(e){return h.disableClickEvent?void(h.disableClickEvent=!1):t.isClickDelay?void 0:(h.toggle=!h.toggle,t.onClickShape(e))}}(this)),h.addEventListener("mouseover",function(t){return function(n){return"true"===h.link.useHandCursor[0]&&(document.body.style.cursor="pointer"),t.owner.$dispatch("linkMouseOver",n,e.body[0]),t.updateShape(n.target,"over"),i.update()}}(this)),h.addEventListener("mouseout",function(t){return function(e){return"true"===h.link.useHandCursor[0]&&(document.body.style.cursor=""),t.owner.$dispatch("linkMouseOut",e),t.updateShape(e.target,"normal"),i.update()}}(this)),h},t.onClickShape=function(t){var e,i,n,s,a;if(this.owner.isPanning!==!0&&!this.owner.isZooming){switch(t.target.link.linkTarget[0]){case"_blank":case"_self":t.target.link.linkUrl[0].length>0&&(0===t.target.link.linkUrl[0].indexOf("mailto:")?location.href=t.target.link.linkUrl[0]:"undefined"==typeof device?window.open(t.target.link.linkUrl[0],t.target.link.linkTarget[0]):(a=t.target.link.linkUrl[0],"phonegaptop"===a?location.href="../../index.html":"http://"===a.substr(0,7)||"https://"===a.substr(0,8)?window.open(a,"_system"):window.open(a,t.target.link.linkTarget[0])));break;case"gotoTargetPage":this.rt.gotoTargetPage(t.target.link.linkUrl[0]);break;case"flv":r.log("flv");break;case"mp3":"undefined"==typeof device?this.owner.$dispatch("onClickMp3",t):(a=this.bookPath+"mp3/"+t.target.link.linkUrl[0],s=cordova.InAppBrowser.open(a,"_blank","location=false"));break;case"mp4":"undefined"==typeof device?(n=t.target.link.linkUrl[0],window.open(this.bookPath+"html5movie.html?v="+encodeURIComponent(n)+"&c="+this.noCacheParam,"_blank")):(a=this.bookPath+"movie/"+t.target.link.linkUrl[0],s=cordova.InAppBrowser.open(a,"_blank","location=false"));break;case"extension":this.owner.$dispatch("onClickExtensionLink",t.target.link);try{onExtensionLinkAction(t.target.link)}catch(t){e=t}break;case"notUseTag":location.href=t.target.link.linkUrl[0];break;case"":break;default:t.target.link.linkTarget[0]}return"undefined"==typeof device?(i="p="+t.target.page+",id="+t.target.link.id+",target="+t.target.link.linkTarget[0]+",url="+t.target.link.linkUrl[0],o.send(o.ln,this.rt.bookID,i,1)):void 0}},t.updateBitmap=function(t,e){var i,n;return n=t.link,i="normal"===e?n.hitAlpha/100:n.roAlpha/100,t.alpha=i},t.updateShape=function(t,e){var i,r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y,b,w,A,x,S,C;switch(A=t.link.shape[0],f=t.link,r="normal"===e?null!=(v=f.hitColor)?v[0]:void 0:null!=(m=f.roColor)?m[0]:void 0,i="normal"===e?f.hitAlpha/100:f.roAlpha/100,"image"===A&&(d=f.id[0],g=t.isRightPage?"r":"l","normal"===e?(i=.01,this.updateImageRollOut(f,d,g)):(i=.01,this.updateImageRollOver(f,d,g))),"mousedown"===e&&(r=10066329,i=.5),t.graphics.clear(),h="normal"===e?"true"===String(null!=(_=f.activeLine)?_[0]:void 0):"true"===String(null!=(y=f.activeRoLine)?y[0]:void 0),p="normal"===e?f.lineThickness:f.roLineThickness,l="normal"===e?null!=(b=f.lineColor)?b[0]:void 0:null!=(w=f.roLineColor)?w[0]:void 0,c="normal"===e?f.lineAlpha/100:f.roLineAlpha/100,h&&(t.graphics.setStrokeStyle(p,2,2),t.graphics.beginStroke("rgba("+n.getR(l)+","+n.getG(l)+","+n.getB(l)+","+c+")")),a="true"===String(f.activeFill[0]),a===!1&&(i=.01),0===i&&(i=.01),t.graphics.beginFill("rgba("+n.getR(r)+","+n.getG(r)+","+n.getB(r)+","+i+")"),A){case"box":return t.graphics.drawRect(0,0,f.shapeWidth[0],f.shapeHeight[0]);case"oval":return t.graphics.drawEllipse(0,0,f.shapeWidth[0],f.shapeHeight[0]);case"polygon":for(t.graphics.moveTo(f.xArray[0],f.yArray[0]),S=f.xArray[0].split(","),C=f.yArray[0].split(","),s=o=0,u=S.length;o<u;s=++o)x=S[s],t.graphics.lineTo(x,C[s]);return t.graphics.lineTo(S[0],C[0]);case"image":return t.graphics.drawRect(0,0,f.imageWidth[0]*f.imageScaleX[0],f.imageHeight[0]*f.imageScaleY[0])}},t.updateImageRollOver=function(t,e,i){var n,r,o,s;if(("100"!==t.roAlpha[0]||"100"!==t.hitAlpha[0])&&(r=document.getElementById("imagelink-"+i+"-"+e))){n=r.getContext("2d");try{return s=t.imageDataRollOver,n.putImageData(s,0,0)}catch(t){return o=t,console.log(o)}}},t.updateImageRollOut=function(t,e,i){var n,r,o,s;if(("100"!==t.roAlpha[0]||"100"!==t.hitAlpha[0])&&(r=document.getElementById("imagelink-"+i+"-"+e))){n=r.getContext("2d");try{return s=t.imageDataRollOut,n.putImageData(s,0,0)}catch(t){return o=t,console.log(o)}}},t}(),a=function(t){function e(){}return h(e,t),e.updateShape=function(t,i){var r,o,s;if(e.__super__.constructor.updateShape.call(this,t,i),"extension"===t.link.linkTarget[0]&&"answer"===t.link.key[0])if(o=13808640,r=1,t.graphics.setStrokeStyle(.5,2,2),t.graphics.beginStroke("rgba("+n.getR(o)+","+n.getG(o)+","+n.getB(o)+","+r+")"),"normal"===i){if(!t.toggle)return t.graphics.beginFill("rgba(255,250,180,0.0)"),s=t.link,t.graphics.drawRect(0,0,s.imageWidth[0]*s.imageScaleX[0],s.imageHeight[0]*s.imageScaleY[0])}else if(!t.toggle)return t.graphics.beginFill("rgba(255,250,180,0.1)"),s=t.link,t.graphics.drawRect(0,0,s.imageWidth[0]*s.imageScaleX[0],s.imageHeight[0]*s.imageScaleY[0])},e.onClickShape=function(t){var i,n,r;if(i=t.target.link,"extension"!==i.linkTarget[0]){if(this.owner.isPanning===!0)return;if(this.owner.isZooming)return}return"extension"===i.linkTarget[0]&&"answer"===i.key[0]&&(n=i.id[0],r=t.target.isRightPage?"r":"l","slide"===this.rt.view&&(r=this.owner.isRightPage?"r":"l"),this.updateAnswerImage(n,r,t.target.toggle)),"extension"===i.linkTarget[0]&&"open_page_answer"===i.key[0]?this.owner.$dispatch("open_page_answer",t.target.page):"extension"===i.linkTarget[0]&&"open_group_answer"===i.key[0]?this.owner.$dispatch("open_group_answer",i.linkUrl[0]):e.__super__.constructor.onClickShape.call(this,t)},e.updateAnswerImage=function(t,e,i){var n;return n=document.getElementById("imagelink-"+e+"-"+t),n.style.display=i?"block":"none"},e}(s),t.exports=a},function(t,e,i){(function(e){var n,r,o,s,a,h,u;h=i(13),n=i(4),r=i(32),u=i(10),o=i(30),a=i(12),s={methods:{visibleAllFusen:function(){var t,e,i,n,r;for(e=(null!=(i=this.linkStage)?i.numChildren:void 0)-1;e>=0;)"fusen"===(null!=(n=this.linkStage.getChildAt(e))?n.name:void 0)&&(t=this.linkStage.getChildAt(e),t.visible=this.$root.memoLayerVisible),e--;return null!=(r=this.linkStage)?r.update():void 0},getAllFusenIds:function(){var t,e,i,n;for(n=[],t=(null!=(e=this.linkStage)?e.numChildren:void 0)-1;t>=0;)"fusen"===(null!=(i=this.linkStage.getChildAt(t))?i.name:void 0)&&n.push(this.linkStage.getChildAt(t).id),t--;return window.alert(n.toString()),n},clearAllFusen:function(){var t,e,i,n;for(t=(null!=(e=this.linkStage)?e.numChildren:void 0)-1;t>=0;)"fusen"===(null!=(i=this.linkStage.getChildAt(t))?i.name:void 0)&&this.linkStage.removeChildAt(t),t--;return null!=(n=this.linkStage)&&n.update(),this.createFusenDataArray("dummy","libraRemovePage")},peelFusen:function(t){var e,i,n,r,o;for(n=!1,i=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;i>=0;)"fusen"===(null!=(o=this.linkStage.getChildAt(i))?o.name:void 0)&&(e=this.linkStage.getChildAt(i),e.id===t&&(n=!0,this.linkStage.removeChildAt(i),this.linkStage.update())),i--;return this.createFusenDataArray(t,"libraRemove"),n},updateFusen:function(t){var e,i,n,r,o,s,a,h;for(r=!1,n=(null!=(a=this.linkStage)?a.numChildren:void 0)-1,e="",s="";n>=0;){if("fusen"===(null!=(h=this.linkStage.getChildAt(n))?h.name:void 0)&&(i=this.linkStage.getChildAt(n),i.id===t.id)){for(o in t)switch(r=!0,o){case"text":i.changeText(t[o]);break;case"x":i.x=t[o];break;case"y":i.y=t[o];break;case"bgColor":i.changeBgColor(t[o])}this.linkStage.update(),e=i.accessType?i.accessType:"private",s=!!i.readOnly&&i.readOnly}n--}return this.createFusenDataArray(t.id,"libraUpdate",e,s),r},_shiftPastePosition:function(t){var e,i,n,r,o,s,a;for(a=[],e=i=0,r=null!=(o=this.linkStage)?o.numChildren:void 0;0<=r?i<=r:i>=r;e=0<=r?++i:--i)n=null!=(s=this.linkStage)?s.getChildAt(e):void 0,"fusen"===(null!=n?n.name:void 0)&&t.x===n.x&&t.y===n.y?(t.y+=5,a.push(this._shiftPastePosition(t))):a.push(void 0);return a},pasteFusen:function(t,i,n,s,a,u,c){var l,p,f,d,g,v,m;return null==t&&(t=null),null==i&&(i=""),null==n&&(n=null),null==s&&(s=null),null==a&&(a="#ffff99"),p=r.createFusen(a,t,u,c),p.changeText(i),p.changeBgColor(a),l=p.getChildByName("button"),d=this.global2PercentX(this.$root.componentCenterGlobal),g=this.global2PercentY(this.$root.componentMiddleGlobal),"carousel"===this.$options.name&&(p.x=n?n:e.floor(2*this.$root.pageWidth*d+50-this.$root.fusenWidth/2),p.y=s?s:e.floor(this.$root.pageHeight/2+50+g*this.$root.pageHeight-this.$root.fusenHeight/2)),"slide"===this.$options.name&&(p.x=n?n:e.floor(1*this.$root.pageWidth*d+50-this.$root.fusenWidth/2),p.y=s?s:e.floor(50+g*this.$root.pageHeight-this.$root.fusenHeight/2)),this._shiftPastePosition(p),f=!1,p.addEventListener("mousedown",function(t){return function(e){var i,n,r,s;if(f=!1,!t.isFusenDragging)return p.depthCounter=t.fusenDepthCounter,t.fusenDepthCounter++,n=function(t,e){return"fusen"===t.name&&"fusen"===e.name?t.depthCounter>e.depthCounter?1:t.depthCounter<e.depthCounter?-1:0:"fusen"===t.name?1:"fusen"===e.name?-1:0},t.linkStage.sortChildren(n),r=e.stageX,s=e.stageY,t.dragPointX=r-p.x,t.dragPointY=s-p.y,t.isFusenDragging=!0,t.fusenDraggingId=p.id,h()||p.setActive(),t.mouseDownX=parseInt(r,10),t.mouseDownY=parseInt(s,10),null!=(i=t.linkStage)&&i.update(),h()||c?void 0:t.fusenOnPressIntervalID=setTimeout(function(){var t;return t=new o(p.id,p.getText(),p.x,p.y,p.bgColor,"#000000",300,100),p.f=t},500)}}(this)),p.addEventListener("pressmove",function(t){return function(e){var i,n,r,o,s,a;if(s=e.stageX,a=e.stageY,t.fusenDraggingId===p.id)return f=!0,"carousel"===t.$options.name&&(p.x=Math.min(Math.max(s-t.dragPointX,1),2*t.$root.pageWidth+100-300-1),p.y=Math.min(Math.max(a-t.dragPointY,1),t.$root.pageHeight+100-100-1)),"slide"===t.$options.name&&(p.x=Math.min(Math.max(s-t.dragPointX,1),t.$root.pageWidth+100-300-1),p.y=Math.min(Math.max(a-t.dragPointY,1),t.$root.pageHeight+100-100-1)),n=Math.abs(t.mouseDownX-s),r=Math.abs(t.mouseDownY-a),i=Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),i>10&&clearInterval(t.fusenOnPressIntervalID),null!=(o=t.linkStage)?o.update():void 0}}(this)),p.addEventListener("pressup",function(t){return function(e){var i,n,r;if(t.fusenDraggingId===p.id)return clearInterval(t.fusenOnPressIntervalID),null!=(r=t.linkStage)&&r.update(),p.f&&(t.$root.editingFusen=p.f,p.f=null),setTimeout(function(){var e;return t.isFusenDragging=!1,t.fusenDraggingId=null,p.setDeactive(),null!=(e=t.linkStage)?e.update():void 0},10),i=parseInt(e.stageX,10),n=parseInt(e.stageY,10),t.mouseDownX===i&&t.mouseDownY===n&&(f=!1),!t.$root.isOnLibra||f?t.createFusenDataArray(p.id,"libraUpdate",u,c):void 0}}(this)),l&&!c&&l.addEventListener("click",function(t){return function(e){var i,n;return i=new o(p.id,p.getText(),p.x,p.y,p.bgColor,"#000000",300,100),t.$root.editingFusen=i,t.isFusenDragging=!1,p.setDeactive(),null!=(n=t.linkStage)?n.update():void 0}}(this)),p.depthCounter=this.fusenDepthCounter,this.fusenDepthCounter++,p.visible=this.$root.memoLayerVisible,null!=(v=this.linkStage)&&v.addChildAt(p,this.linkStage.numChildren),null!=(m=this.linkStage)&&m.update(),null===t&&this.createFusenDataArray(p.id,"libraAdd"),p}},ready:function(){return n.log("FusenMixin Mixin")}},t.exports=s}).call(e,i(3))},function(t,e,i){(function(e){var n,r,o;o=i(33),n=i(4),r={methods:{sendLibraDebounce:e.debounce(function(){return this.sendLibra()},1e3),sendLibra:function(){if(this.$root.isOnLibra&&this.$root.libraAccessKey)return o.resolve(this.$root.saveLibraAndRemoveLocalStorage()).then(function(t){return function(){return n.log("保存成功")}}(this)).catch(function(t){return function(e){return n.log("保存に失敗"),o.resolve(t.$root.saveLibraAndRemoveLocalStorage()).then(function(){return n.log("リトライで保存成功")}).catch(function(t){return n.log("リトライでも保存失敗")})}}(this))},addLibra:function(t,e,i){var n,r,o,s,a,h,u,c;if(this.$root.isOnLibra){for(n=i?i:"private",h={access_type:n,position:e.pageId,type:t,data_id:e.id,data:e},s=!1,c=this.$root.unsaveLibraPenData,o=r=0,u=c.length;r<u;o=++r)if(a=c[o],a.data_id===e.id){this.$root.unsaveLibraPenData.splice(o,1),this.$root.unsaveLibraPenData.splice(o,0,h),s=!0;break}return s||this.$root.unsaveLibraPenData.push(h),this.sendLibraDebounce()}},updateLibra:function(t,e,i){return this.addLibra(t,e,i)},removeLibra:function(t,e){var i;if(this.$root.isOnLibra&&this.$root.libraAccessKey)return i=new FormData,i.append("access_key",this.$root.libraAccessKey),
i.append("content_id",this.$root.libraContentId),i.append("version",this.$root.libraHan),i.append("type",t),i.append("data_ids",JSON.stringify([e])),this.$http.post(this.$root.libraApiUrl+"_ContentStorage/remove/",i).then(function(t){return function(i){return n.log("remove ok"),t.$root.removeLibraFusenListDataByUUID(e)}}(this),function(t){return function(t){return n.log("remove ng")}}(this))},removePageLibra:function(t,e){var i;if(this.$root.isOnLibra&&e&&this.$root.libraAccessKey)return i=new FormData,i.append("access_key",this.$root.libraAccessKey),i.append("content_id",this.$root.libraContentId),i.append("version",this.$root.libraHan),i.append("type",t),i.append("position",e),this.$http.post(this.$root.libraApiUrl+"_ContentStorage/remove/",i).then(function(t){return function(i){return n.log("remove ok"),t.$root.removeLibraFusenListDataByPageID(e)}}(this),function(t){return function(t){return n.log("remove ng")}}(this))}},ready:function(){return n.log("LibraMixin Mixin")}},t.exports=r}).call(e,i(3))},function(t,e,i){var n,r;n=i(4),r={methods:{onLoadImageLink:function(t){return function(t,e,i){return function(t){return Vue.nextTick(function(){var r,o,s,a;return a=i?"r":"l",o=document.getElementById("imagelink-"+a+"-"+e.id[0]),s=function(i){var r,s,h,u,c,l,p,f,d,g,v,m,_,y,b,w;try{if(s=o.getContext("2d"),s.drawImage(i,0,0,2*e.imageWidth[0],2*e.imageHeight[0]),"100"===e.roAlpha[0]&&"100"===e.hitAlpha[0])return;for(b=255*Number(e.hitAlpha[0])/100,w=255*Number(e.roAlpha[0])/100,c=s.getImageData(0,0,o.width,o.height),h=p=0,v=c.height;0<=v?p<=v:p>=v;h=0<=v?++p:--p)for(l=f=0,m=c.width;0<=m?f<=m:f>=m;l=0<=m?++f:--f)r=c.data[h*(4*o.width)+4*l+3],r>0&&(c.data[h*(4*o.width)+4*l+3]-=255-w);for(e.imageDataRollOver=c,u=s.getImageData(0,0,o.width,o.height),h=d=0,_=u.height;0<=_?d<=_:d>=_;h=0<=_?++d:--d)for(l=g=0,y=u.width;0<=y?g<=y:g>=y;l=0<=y?++g:--g)r=u.data[h*(4*o.width)+4*l+3],r>0&&(u.data[h*(4*o.width)+4*l+3]-=255-b);return e.imageDataRollOut=u,s.putImageData(u,0,0)}catch(i){return t=i,n.log("errorimagelink-"+a+"-"+e.id[0])}},r=t.target||t.currentTarget||t.srcElement,s(r)})}}}(this)}},t.exports=r},function(t,e,i){(function(e){var n,r,o;r=i(164),n=i(4),o={ready:function(){var t,i;if(n.log("MouseWheel Mixin"),i=function(t){return function(e,i,n,r){var o,s;return o=e.pageX||e.originalEvent.pageX||e.originalEvent.clientX||e.originalEvent.x,s=e.pageY||e.originalEvent.pageY||e.originalEvent.clientY||e.originalEvent.y,i<0?t.$root.zoomout(o,s):t.$root.zoomin(o,s)}}(this),t=e.throttle(i,500,{trailing:!1}),"carousel"===this.$options.name&&r(this.$els.carousel).wheel(function(e){return function(i,n,r,o){if(Math.abs(n)>0)return t.apply(e,[i,n,r,o])}}(this)),"slide"===this.$options.name)return r(this.$els.slide).wheel(function(e){return function(i,n,r,o){if(Math.abs(n)>0)return t.apply(e,[i,n,r,o])}}(this))}},t.exports=o}).call(e,i(3))},function(t,e,i){(function(e){var n,r,o,s;n=i(4),r=i(31),s=i(56),o={data:function(){return{penDataArray:[],restoredLibraPenCarouselRPage:!1,restoredLibraPenCarouselLPage:!1,restoredLibraPenSlideCurrentPage:!1,isShiftPress:!1,straightLineDirection:null}},computed:{restoredLibraPenCarouselCurrentPage:function(){return this.$root.activeLeftPageId?this.$root.activeRightPageId?this.restoredLibraPenCarouselRPage&&this.restoredLibraPenCarouselLPage:this.restoredLibraPenCarouselLPage:this.restoredLibraPenCarouselRPage}},methods:{visibleAllPen:function(){var t,e;return t=this.linkStage.getChildByName("drawDisplayShape"),t.visible=this.$root.memoLayerVisible,null!=(e=this.linkStage)?e.update():void 0},penDataArray2Canvas:function(t,e){var i,r,o,s,a,h,u,c,l,p,f,d;if(this.isFlipping)return void n.log("書こうと思ったけどめくってたから止めた");for(f=this.penDataArray,o=0,h=f.length;o<h;o++)for(r=f[o],d=r.points,s=a=0,u=d.length;a<u;s=++a)p=d[s],t.graphics.clear(),c=new createjs.Point(p.x,p.y),l=0===s?new createjs.Point(p.x,p.y):new createjs.Point(r.points[s-1].x,r.points[s-1].y),i="rgba("+r.r+", "+r.g+", "+r.b+", "+("eraser"===r.tool?1:r.alpha+")"),t.graphics.setStrokeStyle(r.stroke,"round","round").beginStroke(i).moveTo(l.x,l.y).lineTo(c.x,c.y),"eraser"===r.tool?t.updateCache("destination-out"):t.updateCache(1===r.alpha?"source-over":this.$root.tegakiCompositeOperation);return e.update()},p1:function(){var t,e,i;if(this.straightLineDirection=null,this.$root.isOnLibra)if("carousel"===this.$options.name){if(!this.restoredLibraPenCarouselCurrentPage)return void n.log("libraの線が描画されていないから止める")}else if(!this.restoredLibraPenSlideCurrentPage)return void n.log("libraの線が描画されていないから止める");return this.oldPt=new createjs.Point(Math.round(this.penStage.mouseX),Math.round(this.penStage.mouseY)),this.newPt=this.oldPt.clone(),i=this.isTegakiIsElaser?"eraser":"pen",t=[],t.push({x:this.oldPt.x,y:this.oldPt.y}),e=new r(s.generate(),this.$root.tegakiFutosa,this.$root.tegakiColorR,this.$root.tegakiColorG,this.$root.tegakiColorB,this.$root.tegakiColorAlpha,i,t),this.penDataArray.push(e)},p2:function(t){var i,r,o;if(this.isShiftPress=t.nativeEvent.shiftKey,this.$root.isOnLibra){if("carousel"===this.$options.name){if(!this.restoredLibraPenCarouselCurrentPage)return void n.log("libraの線が描画されていないから止める")}else if(!this.restoredLibraPenSlideCurrentPage)return void n.log("libraの線が描画されていないから止める");if(this.penDataArray.length<1)return void n.log("これもlibraの線")}if(this.isShiftPress)if(this.straightLineDirection)r="horizontal"===this.straightLineDirection;else if(Math.abs(this.penStage.mouseX-this.oldPt.x)===Math.abs(this.penStage.mouseY-this.oldPt.y))n.log("おなじ！！！！！！！！");else{if(Math.abs(Math.abs(this.penStage.mouseX-this.oldPt.x)-Math.abs(this.penStage.mouseY-this.oldPt.y))<2)return;Math.abs(this.penStage.mouseX-this.oldPt.x)>Math.abs(this.penStage.mouseY-this.oldPt.y)?(n.log(">>>最初の横方向"),this.straightLineDirection="horizontal",r=!0):(this.straightLineDirection="vertical",r=!1)}return this.drawingShape.graphics.clear(),this.isShiftPress?r?(this.newPt.x=Math.round(this.penStage.mouseX),this.newPt.y=Math.round(this.oldPt.y)):(this.newPt.y=Math.round(this.penStage.mouseY),this.newPt.x=Math.round(this.oldPt.x)):(this.newPt.x=Math.round(this.penStage.mouseX),this.newPt.y=Math.round(this.penStage.mouseY)),o=this.$root.tegakiFutosa,i=this.isTegakiIsElaser?this.$root.tegakiIroEraser:this.$root.tegakiIro,this.drawingShape.graphics.setStrokeStyle(o,"round","round").beginStroke(i).moveTo(this.oldPt.x,this.oldPt.y).lineTo(this.newPt.x,this.newPt.y),this.isShiftPress?r?this.oldPt.x=Math.round(this.penStage.mouseX):this.oldPt.y=Math.round(this.penStage.mouseY):(this.oldPt.x=Math.round(this.penStage.mouseX),this.oldPt.y=Math.round(this.penStage.mouseY)),e.last(this.penDataArray).points.push({x:this.newPt.x,y:this.newPt.y}),this.isTegakiIsElaser?this.drawingShape.updateCache("destination-out"):this.drawingShape.updateCache(1===this.$root.tegakiColorAlpha?"source-over":this.$root.tegakiCompositeOperation),this.penStage.update()}},created:function(){return this.isFlippingUnwatcherPen=this.$watch(function(){return this.isFlipping},function(t,e){if(t===!0)return this.restoredLibraPenCarouselRPage=!1,this.restoredLibraPenCarouselLPage=!1,this.restoredLibraPenSlideCurrentPage=!1})},ready:function(){return n.log("PenMixin Mixin")}},t.exports=o}).call(e,i(3))},function(t,e,i){"use strict";t.exports=function(t){function e(e,i,a){return function(h){var u=a._boundValue();t:for(var c=0;c<e.length;++c){var l=e[c];if(l===Error||null!=l&&l.prototype instanceof Error){if(h instanceof l)return o(i).call(u,h)}else if("function"==typeof l){var p=o(l).call(u,h);if(p===s)return p;if(p)return o(i).call(u,h)}else if(n.isObject(h)){for(var f=r(l),d=0;d<f.length;++d){var g=f[d];if(l[g]!=h[g])continue t}return o(i).call(u,h)}}return t}}var n=i(1),r=i(14).keys,o=n.tryCatch,s=n.errorObj;return e}},function(t,e,i){"use strict";function n(t){return t instanceof Error&&c.getPrototypeOf(t)===Error.prototype}function r(t){var e;if(n(t)){e=new u(t),e.name=t.name,e.message=t.message,e.stack=t.stack;for(var i=c.keys(t),r=0;r<i.length;++r){var o=i[r];l.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}function o(t,e){return function(i,n){if(null!==t){if(i){var o=r(a(i));t._attachExtraTrace(o),t._reject(o)}else if(e){for(var s=arguments.length,h=new Array(Math.max(s-1,0)),u=1;u<s;++u)h[u-1]=arguments[u];t._fulfill(h)}else t._fulfill(n);t=null}}}var s=i(1),a=s.maybeWrapAsError,h=i(9),u=h.OperationalError,c=i(14),l=/^(?:name|message|stack|cause)$/;t.exports=o},function(t,e,i){!function(n,r){t.exports=e=r(i(6))}(this,function(t){return function(){function e(t,e,i){for(var n=[],o=0,s=0;s<e;s++)if(s%4){var a=i[t.charCodeAt(s-1)]<<s%4*2,h=i[t.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=(a|h)<<24-o%4*8,o++}return r.create(n,o)}var i=t,n=i.lib,r=n.WordArray,o=i.enc;o.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,n=this._map;t.clamp();for(var r=[],o=0;o<i;o+=3)for(var s=e[o>>>2]>>>24-o%4*8&255,a=e[o+1>>>2]>>>24-(o+1)%4*8&255,h=e[o+2>>>2]>>>24-(o+2)%4*8&255,u=s<<16|a<<8|h,c=0;c<4&&o+.75*c<i;c++)r.push(n.charAt(u>>>6*(3-c)&63));var l=n.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(t){var i=t.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=t.indexOf(s);a!==-1&&(i=a)}return e(t,i,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64})},function(t,e,i){!function(n,r,o){t.exports=e=r(i(6),i(162),i(158))}(this,function(t){return function(){var e=t,i=e.lib,n=i.Base,r=i.WordArray,o=e.algo,s=o.MD5,a=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var i=this.cfg,n=i.hasher.create(),o=r.create(),s=o.words,a=i.keySize,h=i.iterations;s.length<a;){u&&n.update(u);var u=n.update(t).finalize(e);n.reset();for(var c=1;c<h;c++)u=n.finalize(u),n.reset();o.concat(u)}return o.sigBytes=4*a,o}});e.EvpKDF=function(t,e,i){return a.create(i).compute(t,e)}}(),t.EvpKDF})},function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(t,e,i){(function(e,n){"use strict";function r(t){return M.from(t)}function o(t){return M.isBuffer(t)||t instanceof F}function s(t,e,i){return"function"==typeof t.prependListener?t.prependListener(e,i):void(t._events&&t._events[e]?O(t._events[e])?t._events[e].unshift(i):t._events[e]=[i,t._events[e]]:t.on(e,i))}function a(t,e){$=$||i(11),t=t||{};var n=e instanceof $;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,o=t.readableHighWaterMark,s=this.objectMode?16:16384;r||0===r?this.highWaterMark=r:n&&(o||0===o)?this.highWaterMark=o:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new z,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(U||(U=i(75).StringDecoder),this.decoder=new U(t.encoding),this.encoding=t.encoding)}function h(t){return $=$||i(11),this instanceof h?(this._readableState=new a(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),void j.call(this)):new h(t)}function u(t,e,i,n,o){var s=t._readableState;if(null===e)s.reading=!1,g(t,s);else{var a;o||(a=l(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===M.prototype||(e=r(e)),n?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):c(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!i?(e=s.decoder.write(e),s.objectMode||0!==e.length?c(t,s,e,!1):_(t,s)):c(t,s,e,!1))):n||(s.reading=!1)}return p(s)}function c(t,e,i,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",i),t.read(0)):(e.length+=e.objectMode?1:i.length,n?e.buffer.unshift(i):e.buffer.push(i),e.needReadable&&v(t)),_(t,e)}function l(t,e){var i;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i}function p(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function f(t){return t>=V?t=V:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function d(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=f(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function g(t,e){if(!e.ended){if(e.decoder){var i=e.decoder.end();i&&i.length&&(e.buffer.push(i),e.length+=e.objectMode?1:i.length)}e.ended=!0,v(t)}}function v(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(H("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?L.nextTick(m,t):m(t))}function m(t){H("emit readable"),t.emit("readable"),S(t)}function _(t,e){e.readingMore||(e.readingMore=!0,L.nextTick(y,t,e))}function y(t,e){for(var i=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(H("maybeReadMore read 0"),t.read(0),i!==e.length);)i=e.length;e.readingMore=!1}function b(t){return function(){var e=t._readableState;H("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&R(t,"data")&&(e.flowing=!0,S(t))}}function w(t){H("readable nexttick read 0"),t.read(0)}function A(t,e){e.resumeScheduled||(e.resumeScheduled=!0,L.nextTick(x,t,e))}function x(t,e){e.reading||(H("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),S(t),e.flowing&&!e.reading&&t.read(0)}function S(t){var e=t._readableState;for(H("flow",e.flowing);e.flowing&&null!==t.read(););}function C(t,e){if(0===e.length)return null;var i;return e.objectMode?i=e.buffer.shift():!t||t>=e.length?(i=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):i=P(t,e.buffer,e.decoder),i}function P(t,e,i){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():i?T(t,e):k(t,e),n}function T(t,e){var i=e.head,n=1,r=i.data;for(t-=r.length;i=i.next;){var o=i.data,s=t>o.length?o.length:t;if(r+=s===o.length?o:o.slice(0,t),t-=s,0===t){s===o.length?(++n,i.next?e.head=i.next:e.head=e.tail=null):(e.head=i,i.data=o.slice(s));break}++n}return e.length-=n,r}function k(t,e){var i=M.allocUnsafe(t),n=e.head,r=1;for(n.data.copy(i),t-=n.data.length;n=n.next;){var o=n.data,s=t>o.length?o.length:t;if(o.copy(i,i.length-t,0,s),t-=s,0===t){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}function E(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,L.nextTick(D,e,t))}function D(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function I(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1}var L=i(25);t.exports=h;var $,O=i(70);h.ReadableState=a;var R=(i(23).EventEmitter,function(t,e){return t.listeners(e).length}),j=i(74),M=i(26).Buffer,F=e.Uint8Array||function(){},N=Object.create(i(19));N.inherits=i(16);var B=i(210),H=void 0;H=B&&B.debuglog?B.debuglog("stream"):function(){};var U,z=i(168),W=i(73);N.inherits(h,j);var Y=["error","close","destroy","pause","resume"];Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),h.prototype.destroy=W.destroy,h.prototype._undestroy=W.undestroy,h.prototype._destroy=function(t,e){this.push(null),e(t)},h.prototype.push=function(t,e){var i,n=this._readableState;return n.objectMode?i=!0:"string"==typeof t&&(e=e||n.defaultEncoding,e!==n.encoding&&(t=M.from(t,e),e=""),i=!0),u(this,t,e,!1,i)},h.prototype.unshift=function(t){return u(this,t,null,!0,!1)},h.prototype.isPaused=function(){return this._readableState.flowing===!1},h.prototype.setEncoding=function(t){return U||(U=i(75).StringDecoder),this._readableState.decoder=new U(t),this._readableState.encoding=t,this};var V=8388608;h.prototype.read=function(t){H("read",t),t=parseInt(t,10);var e=this._readableState,i=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return H("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?E(this):v(this),null;if(t=d(t,e),0===t&&e.ended)return 0===e.length&&E(this),null;var n=e.needReadable;H("need readable",n),(0===e.length||e.length-t<e.highWaterMark)&&(n=!0,H("length less than watermark",n)),e.ended||e.reading?(n=!1,H("reading or ended",n)):n&&(H("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=d(i,e)));var r;return r=t>0?C(t,e):null,null===r?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),i!==t&&e.ended&&E(this)),null!==r&&this.emit("data",r),r},h.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},h.prototype.pipe=function(t,e){function i(t,e){H("onunpipe"),t===p&&e&&e.hasUnpiped===!1&&(e.hasUnpiped=!0,o())}function r(){H("onend"),t.end()}function o(){H("cleanup"),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("drain",v),t.removeListener("error",h),t.removeListener("unpipe",i),p.removeListener("end",r),p.removeListener("end",l),p.removeListener("data",a),m=!0,!f.awaitDrain||t._writableState&&!t._writableState.needDrain||v()}function a(e){H("ondata"),_=!1;var i=t.write(e);!1!==i||_||((1===f.pipesCount&&f.pipes===t||f.pipesCount>1&&I(f.pipes,t)!==-1)&&!m&&(H("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,_=!0),p.pause())}function h(e){H("onerror",e),l(),t.removeListener("error",h),0===R(t,"error")&&t.emit("error",e)}function u(){t.removeListener("finish",c),l()}function c(){H("onfinish"),t.removeListener("close",u),l()}function l(){H("unpipe"),p.unpipe(t)}var p=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=t;break;case 1:f.pipes=[f.pipes,t];break;default:f.pipes.push(t)}f.pipesCount+=1,H("pipe count=%d opts=%j",f.pipesCount,e);var d=(!e||e.end!==!1)&&t!==n.stdout&&t!==n.stderr,g=d?r:l;f.endEmitted?L.nextTick(g):p.once("end",g),t.on("unpipe",i);var v=b(p);t.on("drain",v);var m=!1,_=!1;return p.on("data",a),s(t,"error",h),t.once("close",u),t.once("finish",c),t.emit("pipe",p),f.flowing||(H("pipe resume"),p.resume()),t},h.prototype.unpipe=function(t){var e=this._readableState,i={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,i),this);if(!t){var n=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<r;o++)n[o].emit("unpipe",this,i);return this}var s=I(e.pipes,t);return s===-1?this:(e.pipes.splice(s,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,i),this)},h.prototype.on=function(t,e){var i=j.prototype.on.call(this,t,e);if("data"===t)this._readableState.flowing!==!1&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&v(this):L.nextTick(w,this))}return i},h.prototype.addListener=h.prototype.on,h.prototype.resume=function(){var t=this._readableState;return t.flowing||(H("resume"),t.flowing=!0,A(this,t)),this},h.prototype.pause=function(){return H("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(H("pause"),this._readableState.flowing=!1,this.emit("pause")),this},h.prototype.wrap=function(t){var e=this,i=this._readableState,n=!1;t.on("end",function(){if(H("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(r){if(H("wrapped data"),i.decoder&&(r=i.decoder.write(r)),(!i.objectMode||null!==r&&void 0!==r)&&(i.objectMode||r&&r.length)){var o=e.push(r);o||(n=!0,t.pause())}});for(var r in t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var o=0;o<Y.length;o++)t.on(Y[o],this.emit.bind(this,Y[o]));return this._read=function(e){H("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(h.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),h._fromList=C}).call(e,function(){return this}(),i(7))},function(t,e,i){"use strict";function n(t,e){var i=this._transformState;i.transforming=!1;var n=i.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,null!=e&&this.push(e),n(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function r(t){return this instanceof r?(a.call(this,t),this._transformState={afterTransform:n.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),void this.on("prefinish",o)):new r(t)}function o(){var t=this;"function"==typeof this._flush?this._flush(function(e,i){s(t,e,i)}):s(this,null,null)}function s(t,e,i){if(e)return t.emit("error",e);if(null!=i&&t.push(i),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}t.exports=r;var a=i(11),h=Object.create(i(19));h.inherits=i(16),h.inherits(r,a),r.prototype.push=function(t,e){return this._transformState.needTransform=!1,a.prototype.push.call(this,t,e)},r.prototype._transform=function(t,e,i){throw new Error("_transform() is not implemented")},r.prototype._write=function(t,e,i){var n=this._transformState;if(n.writecb=i,n.writechunk=t,n.writeencoding=e,!n.transforming){var r=this._readableState;(n.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},r.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},r.prototype._destroy=function(t,e){var i=this;a.prototype._destroy.call(this,t,function(t){e(t),i.emit("close")})}},function(t,e,i){"use strict";function n(t,e){var i=this,n=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return n||r?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||s.nextTick(o,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?(s.nextTick(o,i,t),i._writableState&&(i._writableState.errorEmitted=!0)):e&&e(t)}),this)}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(t,e){t.emit("error",e)}var s=i(25);t.exports={destroy:n,undestroy:r}},function(t,e,i){t.exports=i(23).EventEmitter},function(t,e,i){"use strict";function n(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function r(t){var e=n(t);if("string"!=typeof e&&(_.isEncoding===y||!y(t)))throw new Error("Unknown encoding: "+t);return e||t}function o(t){this.encoding=r(t);var e;switch(this.encoding){case"utf16le":this.text=p,this.end=f,e=4;break;case"utf8":this.fillLast=u,e=4;break;case"base64":this.text=d,this.end=g,e=3;break;default:return this.write=v,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=_.allocUnsafe(e)}function s(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function a(t,e,i){var n=e.length-1;if(n<i)return 0;var r=s(e[n]);return r>=0?(r>0&&(t.lastNeed=r-1),r):--n<i||r===-2?0:(r=s(e[n]),r>=0?(r>0&&(t.lastNeed=r-2),r):--n<i||r===-2?0:(r=s(e[n]),r>=0?(r>0&&(2===r?r=0:t.lastNeed=r-3),r):0))}function h(t,e,i){if(128!==(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"�"}}function u(t){var e=this.lastTotal-this.lastNeed,i=h(this,t,e);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){var i=a(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=i;var n=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function p(t,e){if((t.length-e)%2===0){var i=t.toString("utf16le",e);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function f(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,i)}return e}function d(t,e){var i=(t.length-e)%3;return 0===i?t.toString("base64",e):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-i))}function g(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function v(t){return t.toString(this.encoding)}function m(t){return t&&t.length?this.write(t):""}var _=i(26).Buffer,y=_.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(e=this.fillLast(t),void 0===e)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?e?e+this.text(t,i):this.text(t,i):e||""},o.prototype.end=l,o.prototype.text=c,o.prototype.fillLast=function(t){return this.lastNeed<=t.length?(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),void(this.lastNeed-=t.length))}},function(t,e,i){/*!
	 * Vue.js v1.0.28
	 * (c) 2016 Evan You
	 * Released under the MIT License.
	 */
"use strict";function n(t,e,i){if(o(t,e))return void(t[e]=i);if(t._isVue)return void n(t._data,e,i);var r=t.__ob__;if(!r)return void(t[e]=i);if(r.convert(e,i),r.dep.notify(),r.vms)for(var s=r.vms.length;s--;){var a=r.vms[s];a._proxy(e),a._digest()}return i}function r(t,e){if(o(t,e)){delete t[e];var i=t.__ob__;if(!i)return void(t._isVue&&(delete t._data[e],t._digest()));if(i.dep.notify(),i.vms)for(var n=i.vms.length;n--;){var r=i.vms[n];r._unproxy(e),r._digest()}}}function o(t,e){return zi.call(t,e)}function s(t){return Wi.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function h(t){return null==t?"":t.toString()}function u(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function c(t){return"true"===t||"false"!==t&&t}function l(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function p(t){return t.replace(Yi,f)}function f(t,e){return e?e.toUpperCase():""}function d(t){return t.replace(Vi,"$1-$2").replace(Vi,"$1-$2").toLowerCase()}function g(t){return t.replace(Xi,f)}function v(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function m(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function _(t,e){for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t}function y(t){return null!==t&&"object"==typeof t}function b(t){return qi.call(t)===Gi}function w(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function A(t,e){var i,n,r,o,s,a=function a(){var h=Date.now()-o;h<e&&h>=0?i=setTimeout(a,e-h):(i=null,s=t.apply(r,n),i||(r=n=null))};return function(){return r=this,n=arguments,o=Date.now(),i||(i=setTimeout(a,e)),s}}function x(t,e){for(var i=t.length;i--;)if(t[i]===e)return i;return-1}function S(t){var e=function e(){if(!e.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function C(t,e){return t==e||!(!y(t)||!y(e))&&JSON.stringify(t)===JSON.stringify(e)}function P(t){return/native code/.test(t.toString())}function T(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function k(){return gn.charCodeAt(_n+1)}function E(){return gn.charCodeAt(++_n)}function D(){return _n>=mn}function I(){for(;k()===In;)E()}function L(t){return t===Tn||t===kn}function $(t){return Ln[t]}function O(t,e){return $n[t]===e}function R(){for(var t,e=E();!D();)if(t=E(),t===Dn)E();else if(t===e)break}function j(t){for(var e=0,i=t;!D();)if(t=k(),L(t))R();else if(i===t&&e++,O(i,t)&&e--,E(),0===e)break}function M(){for(var t=_n;!D();)if(yn=k(),L(yn))R();else if($(yn))j(yn);else if(yn===En){if(E(),yn=k(),yn!==En){bn!==xn&&bn!==Pn||(bn=Sn);break}E()}else{if(yn===In&&(bn===Cn||bn===Pn)){I();break}bn===Sn&&(bn=Cn),E()}return gn.slice(t+1,_n)||null}function F(){for(var t=[];!D();)t.push(N());return t}function N(){var t,e={};return bn=Sn,e.name=M().trim(),bn=Pn,t=B(),t.length&&(e.args=t),e}function B(){for(var t=[];!D()&&bn!==Sn;){var e=M();if(!e)break;t.push(H(e))}return t}function H(t){if(An.test(t))return{value:u(t),dynamic:!1};var e=l(t),i=e===t;return{value:i?t:e,dynamic:i}}function U(t){var e=wn.get(t);if(e)return e;gn=t,vn={},mn=gn.length,_n=-1,yn="",bn=xn;var i;return gn.indexOf("|")<0?vn.expression=gn.trim():(vn.expression=M().trim(),i=F(),i.length&&(vn.filters=i)),wn.put(t,vn),vn}function z(t){return t.replace(Rn,"\\$&")}function W(){var t=z(zn.delimiters[0]),e=z(zn.delimiters[1]),i=z(zn.unsafeDelimiters[0]),n=z(zn.unsafeDelimiters[1]);Mn=new RegExp(i+"((?:.|\\n)+?)"+n+"|"+t+"((?:.|\\n)+?)"+e,"g"),Fn=new RegExp("^"+i+"((?:.|\\n)+?)"+n+"$"),jn=new T(1e3)}function Y(t){jn||W();var e=jn.get(t);if(e)return e;if(!Mn.test(t))return null;for(var i,n,r,o,s,a,h=[],u=Mn.lastIndex=0;i=Mn.exec(t);)n=i.index,n>u&&h.push({value:t.slice(u,n)}),r=Fn.test(i[0]),o=r?i[1]:i[2],s=o.charCodeAt(0),a=42===s,o=a?o.slice(1):o,h.push({tag:!0,value:o.trim(),html:r,oneTime:a}),u=n+i[0].length;return u<t.length&&h.push({value:t.slice(u)}),jn.put(t,h),h}function V(t,e){return t.length>1?t.map(function(t){return X(t,e)}).join("+"):X(t[0],e,!0)}function X(t,e,i){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':q(t.value,i):'"'+t.value+'"'}function q(t,e){if(Nn.test(t)){var i=U(t);return i.filters?"this._applyFilters("+i.expression+",null,"+JSON.stringify(i.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function G(t,e,i,n){J(t,1,function(){e.appendChild(t)},i,n)}function Z(t,e,i,n){J(t,1,function(){rt(t,e)},i,n)}function Q(t,e,i){J(t,-1,function(){st(t)},e,i)}function J(t,e,i,n,r){var o=t.__v_trans;if(!o||!o.hooks&&!an||!n._isCompiled||n.$parent&&!n.$parent._isCompiled)return i(),void(r&&r());var s=e>0?"enter":"leave";o[s](i,r)}function K(t){return"string"==typeof t&&(t=document.querySelector(t)),t}function tt(t){if(!t)return!1;var e=t.ownerDocument.documentElement,i=t.parentNode;return e===t||e===i||!(!i||1!==i.nodeType||!e.contains(i))}function et(t,e){var i=t.getAttribute(e);return null!==i&&t.removeAttribute(e),i}function it(t,e){var i=et(t,":"+e);return null===i&&(i=et(t,"v-bind:"+e)),i}function nt(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function rt(t,e){e.parentNode.insertBefore(t,e)}function ot(t,e){e.nextSibling?rt(t,e.nextSibling):e.parentNode.appendChild(t)}function st(t){t.parentNode.removeChild(t)}function at(t,e){e.firstChild?rt(t,e.firstChild):e.appendChild(t)}function ht(t,e){var i=t.parentNode;i&&i.replaceChild(e,t)}function ut(t,e,i,n){t.addEventListener(e,i,n)}function ct(t,e,i){t.removeEventListener(e,i)}function lt(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function pt(t,e){nn&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function ft(t,e){if(t.classList)t.classList.add(e);else{var i=" "+lt(t)+" ";i.indexOf(" "+e+" ")<0&&pt(t,(i+e).trim())}}function dt(t,e){if(t.classList)t.classList.remove(e);else{for(var i=" "+lt(t)+" ",n=" "+e+" ";i.indexOf(n)>=0;)i=i.replace(n," ");pt(t,i.trim())}t.className||t.removeAttribute("class")}function gt(t,e){var i,n;if(_t(t)&&xt(t.content)&&(t=t.content),t.hasChildNodes())for(vt(t),n=e?document.createDocumentFragment():document.createElement("div");i=t.firstChild;)n.appendChild(i);return n}function vt(t){for(var e;e=t.firstChild,mt(e);)t.removeChild(e);for(;e=t.lastChild,mt(e);)t.removeChild(e)}function mt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function _t(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function yt(t,e){var i=zn.debug?document.createComment(t):document.createTextNode(e?" ":"");return i.__v_anchor=!0,i}function bt(t){if(t.hasAttributes())for(var e=t.attributes,i=0,n=e.length;i<n;i++){var r=e[i].name;if(Vn.test(r))return p(r.replace(Vn,""))}}function wt(t,e,i){for(var n;t!==e;)n=t.nextSibling,i(t),t=n;i(e)}function At(t,e,i,n,r){function o(){if(a++,s&&a>=h.length){for(var t=0;t<h.length;t++)n.appendChild(h[t]);r&&r()}}var s=!1,a=0,h=[];wt(t,e,function(t){t===e&&(s=!0),h.push(t),Q(t,i,o)})}function xt(t){return t&&11===t.nodeType}function St(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}function Ct(t,e){var i=t.tagName.toLowerCase(),n=t.hasAttributes();if(Xn.test(i)||qn.test(i)){if(n)return Pt(t,e)}else{if($t(e,"components",i))return{id:i};var r=n&&Pt(t,e);if(r)return r}}function Pt(t,e){var i=t.getAttribute("is");if(null!=i){if($t(e,"components",i))return t.removeAttribute("is"),{id:i}}else if(i=it(t,"is"),null!=i)return{id:i,dynamic:!0}}function Tt(t,e){var i,r,s;for(i in e)r=t[i],s=e[i],o(t,i)?y(r)&&y(s)&&Tt(r,s):n(t,i,s);return t}function kt(t,e){var i=Object.create(t||null);return e?_(i,It(e)):i}function Et(t){if(t.components)for(var e,i=t.components=It(t.components),n=Object.keys(i),r=0,o=n.length;r<o;r++){var s=n[r];Xn.test(s)||qn.test(s)||(e=i[s],b(e)&&(i[s]=Mi.extend(e)))}}function Dt(t){var e,i,n=t.props;if(Zi(n))for(t.props={},e=n.length;e--;)i=n[e],"string"==typeof i?t.props[i]=null:i.name&&(t.props[i.name]=i);else if(b(n)){var r=Object.keys(n);for(e=r.length;e--;)i=n[r[e]],"function"==typeof i&&(n[r[e]]={type:i})}}function It(t){if(Zi(t)){for(var e,i={},n=t.length;n--;){e=t[n];var r="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;r&&(i[r]=e)}return i}return t}function Lt(t,e,i){function n(n){var r=Gn[n]||Zn;s[n]=r(t[n],e[n],i,n)}Et(e),Dt(e);var r,s={};if(e.extends&&(t="function"==typeof e.extends?Lt(t,e.extends.options,i):Lt(t,e.extends,i)),e.mixins)for(var a=0,h=e.mixins.length;a<h;a++){var u=e.mixins[a],c=u.prototype instanceof Mi?u.options:u;t=Lt(t,c,i)}for(r in t)n(r);for(r in e)o(t,r)||n(r);return s}function $t(t,e,i,n){if("string"==typeof i){var r,o=t[e],s=o[i]||o[r=p(i)]||o[r.charAt(0).toUpperCase()+r.slice(1)];return s}}function Ot(){this.id=Qn++,this.subs=[]}function Rt(t){er=!1,t(),er=!0}function jt(t){if(this.value=t,this.dep=new Ot,w(t,"__ob__",this),Zi(t)){var e=Qi?Mt:Ft;e(t,Kn,tr),this.observeArray(t)}else this.walk(t)}function Mt(t,e){t.__proto__=e}function Ft(t,e,i){for(var n=0,r=i.length;n<r;n++){var o=i[n];w(t,o,e[o])}}function Nt(t,e){if(t&&"object"==typeof t){var i;return o(t,"__ob__")&&t.__ob__ instanceof jt?i=t.__ob__:er&&(Zi(t)||b(t))&&Object.isExtensible(t)&&!t._isVue&&(i=new jt(t)),i&&e&&i.addVm(e),i}}function Bt(t,e,i){var n=new Ot,r=Object.getOwnPropertyDescriptor(t,e);if(!r||r.configurable!==!1){var o=r&&r.get,s=r&&r.set,a=Nt(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):i;if(Ot.target&&(n.depend(),a&&a.dep.depend(),Zi(e)))for(var r,s=0,h=e.length;s<h;s++)r=e[s],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var r=o?o.call(t):i;e!==r&&(s?s.call(t,e):i=e,a=Nt(e),n.notify())}})}}function Ht(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=nr++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=Lt(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function Ut(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function zt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(s(e)?l(e):"*"+e)}function Wt(t){function e(){var e=t[c+1];if(l===dr&&"'"===e||l===gr&&'"'===e)return c++,n="\\"+e,f[or](),!0}var i,n,r,o,s,a,h,u=[],c=-1,l=ur,p=0,f=[];for(f[sr]=function(){void 0!==r&&(u.push(r),r=void 0)},f[or]=function(){void 0===r?r=n:r+=n},f[ar]=function(){f[or](),p++},f[hr]=function(){if(p>0)p--,l=fr,f[or]();else{if(p=0,r=zt(r),r===!1)return!1;f[sr]()}};null!=l;)if(c++,i=t[c],"\\"!==i||!e()){if(o=Ut(i),h=_r[l],s=h[o]||h.else||mr,s===mr)return;if(l=s[0],a=f[s[1]],a&&(n=s[2],n=void 0===n?i:n,a()===!1))return;if(l===vr)return u.raw=t,u}}function Yt(t){var e=rr.get(t);return e||(e=Wt(t),e&&rr.put(t,e)),e}function Vt(t,e){return ee(e).get(t)}function Xt(t,e,i){var r=t;if("string"==typeof e&&(e=Wt(e)),!e||!y(t))return!1;for(var o,s,a=0,h=e.length;a<h;a++)o=t,s=e[a],"*"===s.charAt(0)&&(s=ee(s.slice(1)).get.call(r,r)),a<h-1?(t=t[s],y(t)||(t={},n(o,s,t))):Zi(t)?t.$set(s,i):s in t?t[s]=i:n(t,s,i);return!0}function qt(){}function Gt(t,e){var i=Lr.length;return Lr[i]=e?t.replace(Pr,"\\n"):t,'"'+i+'"'}function Zt(t){var e=t.charAt(0),i=t.slice(1);return Ar.test(i)?t:(i=i.indexOf('"')>-1?i.replace(kr,Qt):i,e+"scope."+i)}function Qt(t,e){return Lr[e]}function Jt(t){Sr.test(t),Lr.length=0;var e=t.replace(Tr,Gt).replace(Cr,"");return e=(" "+e).replace(Dr,Zt).replace(kr,Qt),Kt(e)}function Kt(t){try{return new Function("scope","return "+t+";")}catch(t){return qt}}function te(t){var e=Yt(t);if(e)return function(t,i){Xt(t,e,i)}}function ee(t,e){t=t.trim();var i=br.get(t);if(i)return e&&!i.set&&(i.set=te(i.exp)),i;var n={exp:t};return n.get=ie(t)&&t.indexOf("[")<0?Kt("scope."+t):Jt(t),e&&(n.set=te(t)),br.put(t,n),n}function ie(t){return Er.test(t)&&!Ir.test(t)&&"Math."!==t.slice(0,5)}function ne(){Or.length=0,Rr.length=0,jr={},Mr={},Fr=!1}function re(){for(var t=!0;t;)t=!1,oe(Or),oe(Rr),Or.length?t=!0:(Ki&&zn.devtools&&Ki.emit("flush"),ne())}function oe(t){for(var e=0;e<t.length;e++){var i=t[e],n=i.id;jr[n]=null,i.run()}t.length=0}function se(t){var e=t.id;if(null==jr[e]){var i=t.user?Rr:Or;jr[e]=i.length,i.push(t),Fr||(Fr=!0,pn(re))}}function ae(t,e,i,n){n&&_(this,n);var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=i,this.id=++Nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fn,this.newDepIds=new fn,this.prevError=null,r)this.getter=e,this.setter=void 0;else{var o=ee(e,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function he(t,e){var i=void 0,n=void 0;e||(e=Br,e.clear());var r=Zi(t),o=y(t);if((r||o)&&Object.isExtensible(t)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(r)for(i=t.length;i--;)he(t[i],e);else if(o)for(n=Object.keys(t),i=n.length;i--;)he(t[n[i]],e)}}function ue(t){return _t(t)&&xt(t.content)}function ce(t,e){var i=e?t:t.trim(),n=Ur.get(i);if(n)return n;var r=document.createDocumentFragment(),o=t.match(Yr),s=Vr.test(t),a=Xr.test(t);if(o||s||a){var h=o&&o[1],u=Wr[h]||Wr.efault,c=u[0],l=u[1],p=u[2],f=document.createElement("div");for(f.innerHTML=l+t+p;c--;)f=f.lastChild;for(var d;d=f.firstChild;)r.appendChild(d)}else r.appendChild(document.createTextNode(t));return e||vt(r),Ur.put(i,r),r}function le(t){if(ue(t))return ce(t.innerHTML);if("SCRIPT"===t.tagName)return ce(t.textContent);for(var e,i=pe(t),n=document.createDocumentFragment();e=i.firstChild;)n.appendChild(e);return vt(n),n}function pe(t){if(!t.querySelectorAll)return t.cloneNode();var e,i,n,r=t.cloneNode(!0);if(qr){var o=r;if(ue(t)&&(t=t.content,o=r.content),i=t.querySelectorAll("template"),i.length)for(n=o.querySelectorAll("template"),e=n.length;e--;)n[e].parentNode.replaceChild(pe(i[e]),n[e])}if(Gr)if("TEXTAREA"===t.tagName)r.value=t.value;else if(i=t.querySelectorAll("textarea"),i.length)for(n=r.querySelectorAll("textarea"),e=n.length;e--;)n[e].value=i[e].value;return r}function fe(t,e,i){var n,r;return xt(t)?(vt(t),e?pe(t):t):("string"==typeof t?i||"#"!==t.charAt(0)?r=ce(t,i):(r=zr.get(t),r||(n=document.getElementById(t.slice(1)),n&&(r=le(n),zr.put(t,r)))):t.nodeType&&(r=le(t)),r&&e?pe(r):r)}function de(t,e,i,n,r,o){this.children=[],this.childFrags=[],this.vm=e,this.scope=r,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=t(e,i,n,r,this);var s=this.single=1===i.childNodes.length&&!i.childNodes[0].__v_anchor;s?(this.node=i.childNodes[0],this.before=ge,this.remove=ve):(this.node=yt("fragment-start"),this.end=yt("fragment-end"),this.frag=i,at(this.node,i),i.appendChild(this.end),this.before=me,this.remove=_e),this.node.__v_frag=this}function ge(t,e){this.inserted=!0;var i=e!==!1?Z:rt;i(this.node,t,this.vm),tt(this.node)&&this.callHook(ye)}function ve(){this.inserted=!1;var t=tt(this.node),e=this;this.beforeRemove(),Q(this.node,this.vm,function(){t&&e.callHook(be),e.destroy()})}function me(t,e){this.inserted=!0;var i=this.vm,n=e!==!1?Z:rt;wt(this.node,this.end,function(e){n(e,t,i)}),tt(this.node)&&this.callHook(ye)}function _e(){this.inserted=!1;var t=this,e=tt(this.node);this.beforeRemove(),At(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(be),t.destroy()})}function ye(t){!t._isAttached&&tt(t.$el)&&t._callHook("attached")}function be(t){t._isAttached&&!tt(t.$el)&&t._callHook("detached")}function we(t,e){this.vm=t;var i,n="string"==typeof e;n||_t(e)&&!e.hasAttribute("v-if")?i=fe(e,!0):(i=document.createDocumentFragment(),i.appendChild(e)),this.template=i;var r,o=t.constructor.cid;if(o>0){var s=o+(n?e:St(e));r=Jr.get(s),r||(r=Ze(i,t.$options,!0),Jr.put(s,r))}else r=Ze(i,t.$options,!0);this.linker=r}function Ae(t,e,i){var n=t.node.previousSibling;if(n){for(t=n.__v_frag;!(t&&t.forId===i&&t.inserted||n===e);){if(n=n.previousSibling,!n)return;t=n.__v_frag}return t}}function xe(t){for(var e=-1,i=new Array(Math.floor(t));++e<t;)i[e]=e;return i}function Se(t,e,i,n){return n?"$index"===n?t:n.charAt(0).match(/\w/)?Vt(i,n):i[n]:e||i}function Ce(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function Pe(t,e,i){for(var n,r,o,s=e?[]:null,a=0,h=t.options.length;a<h;a++)if(n=t.options[a],o=i?n.hasAttribute("selected"):n.selected){if(r=n.hasOwnProperty("_value")?n._value:n.value,!e)return r;s.push(r)}return s}function Te(t,e){for(var i=t.length;i--;)if(C(t[i],e))return i;return-1}function ke(t,e){var i=e.map(function(t){var e=t.charCodeAt(0);return e>47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:bo[t]});return i=[].concat.apply([],i),function(e){if(i.indexOf(e.keyCode)>-1)return t.call(this,e)}}function Ee(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function De(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ie(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function Le(t){if(Co[t])return Co[t];var e=$e(t);return Co[t]=Co[e]=e,e}function $e(t){t=d(t);var e=p(t),i=e.charAt(0).toUpperCase()+e.slice(1);Po||(Po=document.createElement("div"));var n,r=Ao.length;if("filter"!==e&&e in Po.style)return{kebab:t,camel:e};for(;r--;)if(n=xo[r]+i,n in Po.style)return{kebab:Ao[r]+t,camel:n}}function Oe(t){var e=[];if(Zi(t))for(var i=0,n=t.length;i<n;i++){var r=t[i];if(r)if("string"==typeof r)e.push(r);else for(var o in r)r[o]&&e.push(o)}else if(y(t))for(var s in t)t[s]&&e.push(s);return e}function Re(t,e,i){if(e=e.trim(),e.indexOf(" ")===-1)return void i(t,e);for(var n=e.split(/\s+/),r=0,o=n.length;r<o;r++)i(t,n[r])}function je(t,e,i){function n(){++o>=r?i():t[o].call(e,n)}var r=t.length,o=0;t[0].call(e,n)}function Me(t,e,i){for(var n,r,o,a,h,u,c,l=[],f=i.$options.propsData,g=Object.keys(e),v=g.length;v--;)r=g[v],n=e[r]||Uo,h=p(r),zo.test(h)&&(c={name:r,path:h,options:n,mode:Ho.ONE_WAY,raw:null},o=d(r),null===(a=it(t,o))&&(null!==(a=it(t,o+".sync"))?c.mode=Ho.TWO_WAY:null!==(a=it(t,o+".once"))&&(c.mode=Ho.ONE_TIME)),null!==a?(c.raw=a,u=U(a),a=u.expression,c.filters=u.filters,s(a)&&!u.filters?c.optimizedLiteral=!0:c.dynamic=!0,c.parentPath=a):null!==(a=et(t,o))?c.raw=a:f&&null!==(a=f[r]||f[h])&&(c.raw=a),l.push(c));return Fe(l)}function Fe(t){return function(e,i){e._props={};for(var n,r,s,a,h,p=e.$options.propsData,f=t.length;f--;)if(n=t[f],h=n.raw,r=n.path,s=n.options,e._props[r]=n,p&&o(p,r)&&Be(e,n,p[r]),null===h)Be(e,n,void 0);else if(n.dynamic)n.mode===Ho.ONE_TIME?(a=(i||e._context||e).$get(n.parentPath),Be(e,n,a)):e._context?e._bindDir({name:"prop",def:Yo,prop:n},null,null,i):Be(e,n,e.$get(n.parentPath));else if(n.optimizedLiteral){var g=l(h);a=g===h?c(u(h)):g,Be(e,n,a)}else a=s.type===Boolean&&(""===h||h===d(n.name))||h,Be(e,n,a)}}function Ne(t,e,i,n){var r=e.dynamic&&ie(e.parentPath),o=i;void 0===o&&(o=Ue(t,e)),o=We(e,o,t);var s=o!==i;ze(e,o,t)||(o=void 0),r&&!s?Rt(function(){n(o)}):n(o)}function Be(t,e,i){Ne(t,e,i,function(i){Bt(t,e.path,i)})}function He(t,e,i){Ne(t,e,i,function(i){t[e.path]=i})}function Ue(t,e){var i=e.options;if(!o(i,"default"))return i.type!==Boolean&&void 0;var n=i.default;return y(n),"function"==typeof n&&i.type!==Function?n.call(t):n}function ze(t,e,i){if(!t.options.required&&(null===t.raw||null==e))return!0;var n=t.options,r=n.type,o=!r,s=[];if(r){Zi(r)||(r=[r]);for(var a=0;a<r.length&&!o;a++){var h=Ye(e,r[a]);s.push(h.expectedType),o=h.valid}}if(!o)return!1;var u=n.validator;return!(u&&!u(e))}function We(t,e,i){var n=t.options.coerce;return n&&"function"==typeof n?n(e):e}function Ye(t,e){var i,n;return e===String?(n="string",i=typeof t===n):e===Number?(n="number",i=typeof t===n):e===Boolean?(n="boolean",i=typeof t===n):e===Function?(n="function",i=typeof t===n):e===Object?(n="object",i=b(t)):e===Array?(n="array",i=Zi(t)):i=t instanceof e,{valid:i,expectedType:n}}function Ve(t){Vo.push(t),Xo||(Xo=!0,pn(Xe))}function Xe(){for(var t=document.documentElement.offsetHeight,e=0;e<Vo.length;e++)Vo[e]();return Vo=[],Xo=!1,t}function qe(t,e,i,n){this.id=e,this.el=t,this.enterClass=i&&i.enterClass||e+"-enter",this.leaveClass=i&&i.leaveClass||e+"-leave",this.hooks=i,this.vm=n,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=i&&i.type;var r=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){r[t]=v(r[t],r)})}function Ge(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Ze(t,e,i){var n=i||!e._asComponent?ni(t,e):null,r=n&&n.terminal||bi(t)||!t.hasChildNodes()?null:ui(t.childNodes,e);return function(t,e,i,o,s){var a=m(e.childNodes),h=Qe(function(){n&&n(t,e,i,o,s),r&&r(t,a,i,o,s)},t);return Ke(t,h)}}function Qe(t,e){e._directives=[];var i=e._directives.length;t();var n=e._directives.slice(i);Je(n);for(var r=0,o=n.length;r<o;r++)n[r]._bind();return n}function Je(t){if(0!==t.length){var e,i,n,r,o={},s=0,a=[];for(e=0,i=t.length;e<i;e++){var h=t[e],u=h.descriptor.def.priority||hs,c=o[u];c||(c=o[u]=[],a.push(u)),c.push(h)}for(a.sort(function(t,e){return t>e?-1:t===e?0:1}),e=0,i=a.length;e<i;e++){var l=o[a[e]];for(n=0,r=l.length;n<r;n++)t[s++]=l[n]}}}function Ke(t,e,i,n){function r(r){ti(t,e,r),i&&n&&ti(i,n)}return r.dirs=e,r}function ti(t,e,i){for(var n=e.length;n--;)e[n]._teardown()}function ei(t,e,i,n){var r=Me(e,i,t),o=Qe(function(){r(t,n)},t);return Ke(t,o)}function ii(t,e,i){var n,r,o=e._containerAttrs,s=e._replacerAttrs;return 11!==t.nodeType&&(e._asComponent?(o&&i&&(n=vi(o,i)),s&&(r=vi(s,e))):r=vi(t.attributes,e)),e._containerAttrs=e._replacerAttrs=null,function(t,e,i){var o,s=t._context;s&&n&&(o=Qe(function(){n(s,e,null,i)},s));var a=Qe(function(){r&&r(t,e)},t);return Ke(t,a,s,o)}}function ni(t,e){var i=t.nodeType;return 1!==i||bi(t)?3===i&&t.data.trim()?oi(t,e):null:ri(t,e)}function ri(t,e){if("TEXTAREA"===t.tagName){if(null!==et(t,"v-pre"))return di;var i=Y(t.value);i&&(t.setAttribute(":value",V(i)),t.value="")}var n,r=t.hasAttributes(),o=r&&m(t.attributes);return r&&(n=fi(t,o,e)),n||(n=li(t,e)),n||(n=pi(t,e)),!n&&r&&(n=vi(o,e)),n}function oi(t,e){if(t._skip)return si;var i=Y(t.wholeText);if(!i)return null;for(var n=t.nextSibling;n&&3===n.nodeType;)n._skip=!0,n=n.nextSibling;for(var r,o,s=document.createDocumentFragment(),a=0,h=i.length;a<h;a++)o=i[a],r=o.tag?ai(o,e):document.createTextNode(o.value),s.appendChild(r);return hi(i,s,e)}function si(t,e){st(e)}function ai(t,e){function i(e){if(!t.descriptor){var i=U(t.value);t.descriptor={name:e,def:Fo[e],expression:i.expression,filters:i.filters}}}var n;return t.oneTime?n=document.createTextNode(t.value):t.html?(n=document.createComment("v-html"),i("html")):(n=document.createTextNode(" "),i("text")),n}function hi(t,e){return function(i,n,r,o){for(var s,a,u,c=e.cloneNode(!0),l=m(c.childNodes),p=0,f=t.length;p<f;p++)s=t[p],a=s.value,s.tag&&(u=l[p],s.oneTime?(a=(o||i).$eval(a),s.html?ht(u,fe(a,!0)):u.data=h(a)):i._bindDir(s.descriptor,u,r,o));ht(n,c)}}function ui(t,e){for(var i,n,r,o=[],s=0,a=t.length;s<a;s++)r=t[s],i=ni(r,e),n=i&&i.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:ui(r.childNodes,e),o.push(i,n);return o.length?ci(o):null}function ci(t){return function(e,i,n,r,o){for(var s,a,h,u=0,c=0,l=t.length;u<l;c++){s=i[c],a=t[u++],h=t[u++];var p=m(s.childNodes);a&&a(e,s,n,r,o),h&&h(e,p,n,r,o)}}}function li(t,e){var i=t.tagName.toLowerCase();if(!Xn.test(i)){var n=$t(e,"elementDirectives",i);return n?gi(t,i,"",e,n):void 0}}function pi(t,e){var i=Ct(t,e);if(i){var n=bt(t),r={name:"component",ref:n,expression:i.id,def:is.component,modifiers:{literal:!i.dynamic}},o=function(t,e,i,o,s){n&&Bt((o||t).$refs,n,null),t._bindDir(r,e,i,o,s)};return o.terminal=!0,o}}function fi(t,e,i){if(null!==et(t,"v-pre"))return di;if(t.hasAttribute("v-else")){var n=t.previousElementSibling;if(n&&n.hasAttribute("v-if"))return di}for(var r,o,s,a,h,u,c,l,p,f,d=0,g=e.length;d<g;d++)r=e[d],o=r.name.replace(ss,""),(h=o.match(os))&&(p=$t(i,"directives",h[1]),p&&p.terminal&&(!f||(p.priority||us)>f.priority)&&(f=p,c=r.name,a=mi(r.name),s=r.value,u=h[1],l=h[2]));return f?gi(t,u,s,i,f,c,l,a):void 0}function di(){}function gi(t,e,i,n,r,o,s,a){var h=U(i),u={name:e,arg:s,expression:h.expression,filters:h.filters,raw:i,attr:o,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(u.ref=bt(t));var c=function(t,e,i,n,r){u.ref&&Bt((n||t).$refs,u.ref,null),t._bindDir(u,e,i,n,r)};return c.terminal=!0,c}function vi(t,e){function i(t,e,i){var n=i&&yi(i),r=!n&&U(o);g.push({name:t,attr:s,raw:a,def:e,arg:u,modifiers:c,expression:r&&r.expression,filters:r&&r.filters,interp:i,hasOneTime:n})}for(var n,r,o,s,a,h,u,c,l,p,f,d=t.length,g=[];d--;)if(n=t[d],r=s=n.name,o=a=n.value,p=Y(o),u=null,c=mi(r),r=r.replace(ss,""),p)o=V(p),u=r,i("bind",Fo.bind,p);else if(as.test(r))c.literal=!ns.test(r),i("transition",is.transition);else if(rs.test(r))u=r.replace(rs,""),i("on",Fo.on);else if(ns.test(r))h=r.replace(ns,""),"style"===h||"class"===h?i(h,is[h]):(u=h,i("bind",Fo.bind));else if(f=r.match(os)){if(h=f[1],u=f[2],"else"===h)continue;l=$t(e,"directives",h,!0),l&&i(h,l)}if(g.length)return _i(g)}function mi(t){var e=Object.create(null),i=t.match(ss);if(i)for(var n=i.length;n--;)e[i[n].slice(1)]=!0;return e}function _i(t){return function(e,i,n,r,o){for(var s=t.length;s--;)e._bindDir(t[s],i,n,r,o)}}function yi(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function bi(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function wi(t,e){return e&&(e._containerAttrs=xi(t)),_t(t)&&(t=fe(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=gt(t),t=Ai(t,e))),xt(t)&&(at(yt("v-start",!0),t),t.appendChild(yt("v-end",!0))),t}function Ai(t,e){var i=e.template,n=fe(i,!0);if(n){var r=n.firstChild;if(!r)return n;var o=r.tagName&&r.tagName.toLowerCase();return e.replace?(t===document.body,n.childNodes.length>1||1!==r.nodeType||"component"===o||$t(e,"components",o)||nt(r,"is")||$t(e,"elementDirectives",o)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?n:(e._replacerAttrs=xi(r),Si(t,r),r)):(t.appendChild(n),t)}}function xi(t){if(1===t.nodeType&&t.hasAttributes())return m(t.attributes)}function Si(t,e){for(var i,n,r=t.attributes,o=r.length;o--;)i=r[o].name,n=r[o].value,e.hasAttribute(i)||cs.test(i)?"class"===i&&!Y(n)&&(n=n.trim())&&n.split(/\s+/).forEach(function(t){ft(e,t)}):e.setAttribute(i,n)}function Ci(t,e){if(e){for(var i,n,r=t._slotContents=Object.create(null),o=0,s=e.children.length;o<s;o++)i=e.children[o],(n=i.getAttribute("slot"))&&(r[n]||(r[n]=[])).push(i);for(n in r)r[n]=Pi(r[n],e);if(e.hasChildNodes()){var a=e.childNodes;if(1===a.length&&3===a[0].nodeType&&!a[0].data.trim())return;r.default=Pi(e.childNodes,e)}}}function Pi(t,e){var i=document.createDocumentFragment();t=m(t);for(var n=0,r=t.length;n<r;n++){var o=t[n];!_t(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(e.removeChild(o),o=fe(o,!0)),i.appendChild(o)}return i}function Ti(t){function e(){}function i(t,e){var i=new ae(e,t,null,{lazy:!0});return function(){return i.dirty&&i.evaluate(),Ot.target&&i.depend(),i.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,i=t.props;e=t.el=K(e),this._propsUnlinkFn=e&&1===e.nodeType&&i?ei(this,e,i,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,e=this._data=t?t():{};b(e)||(e={});var i,n,r=this._props,s=Object.keys(e);for(i=s.length;i--;)n=s[i],r&&o(r,n)||this._proxy(n);Nt(e,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var i,n,r;for(i=Object.keys(e),r=i.length;r--;)n=i[r],n in t||this._unproxy(n);for(i=Object.keys(t),r=i.length;r--;)n=i[r],o(this,n)||this._proxy(n);e.__ob__.removeVm(this),Nt(t,this),this._digest()},t.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(i){e._data[t]=i}})}},t.prototype._unproxy=function(t){a(t)||delete this[t]},t.prototype._digest=function(){for(var t=0,e=this._watchers.length;t<e;t++)this._watchers[t].update(!0)},t.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=i(r,this),o.set=e):(o.get=r.get?r.cache!==!1?i(r.get,this):v(r.get,this):e,o.set=r.set?v(r.set,this):e),Object.defineProperty(this,n,o)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=v(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)Bt(this,e,t[e])}}function ki(t){function e(t,e){for(var i,n,r,o=e.attributes,s=0,a=o.length;s<a;s++)i=o[s].name,ps.test(i)&&(i=i.replace(ps,""),n=o[s].value,ie(n)&&(n+=".apply(this, $arguments)"),r=(t._scope||t._context).$eval(n,!0),r._fromParent=!0,t.$on(i.replace(ps),r))}function i(t,e,i){if(i){var r,o,s,a;for(o in i)if(r=i[o],Zi(r))for(s=0,a=r.length;s<a;s++)n(t,e,o,r[s]);else n(t,e,o,r)}}function n(t,e,i,r,o){var s=typeof r;if("function"===s)t[e](i,r,o);else if("string"===s){var a=t.$options.methods,h=a&&a[r];h&&t[e](i,h,o)}else r&&"object"===s&&n(t,e,i,r.handler,r)}function r(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&tt(t.$el)&&t._callHook("attached")}function s(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(a))}function a(t){t._isAttached&&!tt(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),i(this,"$on",t.events),i(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",r),this.$on("hook:detached",s)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var i=0,n=e.length;i<n;i++)e[i].call(this);this.$emit("hook:"+t)}}function Ei(){}function Di(t,e,i,n,r,o){this.vm=e,this.el=i,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=n,this._scope=r,this._frag=o}function Ii(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var i=(this._scope||this._context).$refs;t?i[e]===this&&(i[e]=null):i[e]=this}},t.prototype._compile=function(t){var e=this.$options,i=t;if(t=wi(t,e),this._initElement(t),1!==t.nodeType||null===et(t,"v-pre")){var n=this._context&&this._context.$options,r=ii(t,e,n);Ci(this,e._content);var o,s=this.constructor;e._linkerCachable&&(o=s.linker,o||(o=s.linker=Ze(t,e)));var a=r(this,t,this._scope),h=o?o(this,t):Ze(t,e)(this,t);this._unlinkFn=function(){a(),h(!0)},e.replace&&ht(i,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){
xt(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,i,n,r){this._directives.push(new Di(t,this,e,i,n,r))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());var i,n,r=this,o=function(){!i||n||e||r._cleanup()};t&&this.$el&&(n=!0,this.$remove(function(){n=!1,o()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var s,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),s=this.$children.length;s--;)this.$children[s].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),s=this._watchers.length;s--;)this._watchers[s].teardown();this.$el&&(this.$el.__vue__=null),i=!0,o()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function Li(t){t.prototype._applyFilters=function(t,e,i,n){var r,o,s,a,h,u,c,l,p;for(u=0,c=i.length;u<c;u++)if(r=i[n?c-u-1:u],o=$t(this.$options,"filters",r.name,!0),o&&(o=n?o.write:o.read||o,"function"==typeof o)){if(s=n?[t,e]:[t],h=n?2:1,r.args)for(l=0,p=r.args.length;l<p;l++)a=r.args[l],s[l+h]=a.dynamic?this.$get(a.value):a.value;t=o.apply(this,s)}return t},t.prototype._resolveComponent=function(e,i){var n;if(n="function"==typeof e?e:$t(this.$options,"components",e,!0))if(n.options)i(n);else if(n.resolved)i(n.resolved);else if(n.requested)n.pendingCallbacks.push(i);else{n.requested=!0;var r=n.pendingCallbacks=[i];n.call(this,function(e){b(e)&&(e=t.extend(e)),n.resolved=e;for(var i=0,o=r.length;i<o;i++)r[i](e)},function(t){})}}}function $i(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var i=ee(t);if(i){if(e){var n=this;return function(){n.$arguments=m(arguments);var t=i.get.call(n,n);return n.$arguments=null,t}}try{return i.get.call(this,this)}catch(t){}}},t.prototype.$set=function(t,e){var i=ee(t,!0);i&&i.set&&i.set.call(this,this,e)},t.prototype.$delete=function(t){r(this._data,t)},t.prototype.$watch=function(t,e,i){var n,r=this;"string"==typeof t&&(n=U(t),t=n.expression);var o=new ae(r,t,e,{deep:i&&i.deep,sync:i&&i.sync,filters:n&&n.filters,user:!i||i.user!==!1});return i&&i.immediate&&e.call(r,o.value),function(){o.teardown()}},t.prototype.$eval=function(t,e){if(fs.test(t)){var i=U(t),n=this.$get(i.expression,e);return i.filters?this._applyFilters(n,null,i.filters):n}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=Y(t),i=this;return e?1===e.length?i.$eval(e[0].value)+"":e.map(function(t){return t.tag?i.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var i=t?Vt(this._data,t):this._data;if(i&&(i=e(i)),!t){var n;for(n in this.$options.computed)i[n]=e(this[n]);if(this._props)for(n in this._props)i[n]=e(this[n])}}}function Oi(t){function e(t,e,n,r,o,s){e=i(e);var a=!tt(e),h=r===!1||a?o:s,u=!a&&!t._isAttached&&!tt(t.$el);return t._isFragment?(wt(t._fragmentStart,t._fragmentEnd,function(i){h(i,e,t)}),n&&n()):h(t.$el,e,t,n),u&&t._callHook("attached"),t}function i(t){return"string"==typeof t?document.querySelector(t):t}function n(t,e,i,n){e.appendChild(t),n&&n()}function r(t,e,i,n){rt(t,e),n&&n()}function o(t,e,i){st(t),i&&i()}t.prototype.$nextTick=function(t){pn(t,this)},t.prototype.$appendTo=function(t,i,r){return e(this,t,i,r,n,G)},t.prototype.$prependTo=function(t,e,n){return t=i(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},t.prototype.$before=function(t,i,n){return e(this,t,i,n,r,Z)},t.prototype.$after=function(t,e,n){return t=i(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var i=this._isAttached&&tt(this.$el);i||(e=!1);var n=this,r=function(){i&&n._callHook("detached"),t&&t()};if(this._isFragment)At(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var s=e===!1?o:Q;s(this.$el,this,r)}return this}}function Ri(t){function e(t,e,n){var r=t.$parent;if(r&&n&&!i.test(e))for(;r;)r._eventsCount[e]=(r._eventsCount[e]||0)+n,r=r.$parent}t.prototype.$on=function(t,i){return(this._events[t]||(this._events[t]=[])).push(i),e(this,t,1),this},t.prototype.$once=function(t,e){function i(){n.$off(t,i),e.apply(this,arguments)}var n=this;return i.fn=e,this.$on(t,i),this},t.prototype.$off=function(t,i){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&e(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return e(this,t,-n.length),this._events[t]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===i||r.fn===i){e(this,t,-1),n.splice(o,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var i=this._events[t],n=e||!i;if(i){i=i.length>1?m(i):i;var r=e&&i.some(function(t){return t._fromParent});r&&(n=!1);for(var o=m(arguments,1),s=0,a=i.length;s<a;s++){var h=i[s],u=h.apply(this,o);u!==!0||r&&!h._fromParent||(n=!0)}}return n},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var i=this.$children,n=m(arguments);e&&(n[0]={name:t,source:this});for(var r=0,o=i.length;r<o;r++){var s=i[r],a=s.$emit.apply(s,n);a&&s.$broadcast.apply(s,n)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var i=this.$parent,n=m(arguments);for(n[0]={name:t,source:this};i;)e=i.$emit.apply(i,n),i=e?i.$parent:null;return this}};var i=/^hook:/}function ji(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){if(!this._isCompiled)return t=K(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),tt(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,i,n){return Ze(t,this.$options,!0)(this,t,e,i,n)}}function Mi(t){this._init(t)}function Fi(t,e,i){return i=i?parseInt(i,10):0,e=u(e),"number"==typeof e?t.slice(i,i+e):t}function Ni(t,e,i){if(t=ms(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var n,r,o,s,a="in"===i?3:2,h=Array.prototype.concat.apply([],m(arguments,a)),u=[],c=0,l=t.length;c<l;c++)if(n=t[c],o=n&&n.$value||n,s=h.length){for(;s--;)if(r=h[s],"$key"===r&&Hi(n.$key,e)||Hi(Vt(o,r),e)){u.push(n);break}}else Hi(n,e)&&u.push(n);return u}function Bi(t){function e(t,e,i){var r=n[i];return r&&("$key"!==r&&(y(t)&&"$value"in t&&(t=t.$value),y(e)&&"$value"in e&&(e=e.$value)),t=y(t)?Vt(t,r):t,e=y(e)?Vt(e,r):e),t===e?0:t>e?o:-o}var i=null,n=void 0;t=ms(t);var r=m(arguments,1),o=r[r.length-1];"number"==typeof o?(o=o<0?-1:1,r=r.length>1?r.slice(0,-1):r):o=1;var s=r[0];return s?("function"==typeof s?i=function(t,e){return s(t,e)*o}:(n=Array.prototype.concat.apply([],r),i=function(t,r,o){return o=o||0,o>=n.length-1?e(t,r,o):e(t,r,o)||i(t,r,o+1)}),t.slice().sort(i)):t}function Hi(t,e){var i;if(b(t)){var n=Object.keys(t);for(i=n.length;i--;)if(Hi(t[n[i]],e))return!0}else if(Zi(t)){for(i=t.length;i--;)if(Hi(t[i],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Ui(t){function e(t){return new Function("return function "+g(t)+" (options) { this._init(options) }")()}t.options={directives:Fo,elementDirectives:vs,filters:ys,transitions:{},components:{},partials:{},replace:!0},t.util=ir,t.config=zn,t.set=n,t.delete=r,t.nextTick=pn,t.compiler=ls,t.FragmentFactory=we,t.internalDirectives=is,t.parsers={path:yr,text:Bn,template:Zr,directive:On,expression:$r},t.cid=0;var i=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||n.options.name,s=e(o||"VueComponent");return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=i++,s.options=Lt(n.options,t),s.super=n,s.extend=n.extend,zn._assetTypes.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),r&&(t._Ctor=s),s},t.use=function(t){if(!t.installed){var e=m(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=Lt(t.options,e)},zn._assetTypes.forEach(function(e){t[e]=function(i,n){return n?("component"===e&&b(n)&&(n.name||(n.name=i),n=t.extend(n)),this.options[e+"s"][i]=n,n):this.options[e+"s"][i]}}),_(t.transition,Yn)}var zi=Object.prototype.hasOwnProperty,Wi=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Yi=/-(\w)/g,Vi=/([^-])([A-Z])/g,Xi=/(?:^|[-_\/])(\w)/g,qi=Object.prototype.toString,Gi="[object Object]",Zi=Array.isArray,Qi="__proto__"in{},Ji="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Ki=Ji&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,tn=Ji&&window.navigator.userAgent.toLowerCase(),en=tn&&tn.indexOf("trident")>0,nn=tn&&tn.indexOf("msie 9.0")>0,rn=tn&&tn.indexOf("android")>0,on=tn&&/iphone|ipad|ipod|ios/.test(tn),sn=void 0,an=void 0,hn=void 0,un=void 0;if(Ji&&!nn){var cn=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,ln=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;sn=cn?"WebkitTransition":"transition",an=cn?"webkitTransitionEnd":"transitionend",hn=ln?"WebkitAnimation":"animation",un=ln?"webkitAnimationEnd":"animationend"}var pn=function(){function t(){i=!1;var t=e.slice(0);e.length=0;for(var n=0;n<t.length;n++)t[n]()}var e=[],i=!1,n=void 0;if("undefined"!=typeof Promise&&P(Promise)){var r=Promise.resolve(),o=function(){};n=function(){r.then(t),on&&setTimeout(o)}}else if("undefined"!=typeof MutationObserver){var s=1,a=new MutationObserver(t),h=document.createTextNode(String(s));a.observe(h,{characterData:!0}),n=function(){s=(s+1)%2,h.data=String(s)}}else n=setTimeout;return function(r,o){var s=o?function(){r.call(o)}:r;e.push(s),i||(i=!0,n(t,0))}}(),fn=void 0;"undefined"!=typeof Set&&P(Set)?fn=Set:(fn=function(){this.set=Object.create(null)},fn.prototype.has=function(t){return void 0!==this.set[t]},fn.prototype.add=function(t){this.set[t]=1},fn.prototype.clear=function(){this.set=Object.create(null)});var dn=T.prototype;dn.put=function(t,e){var i,n=this.get(t,!0);return n||(this.size===this.limit&&(i=this.shift()),n={key:t},this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size++),n.value=e,i},dn.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},dn.get=function(t,e){var i=this._keymap[t];if(void 0!==i)return i===this.tail?e?i:i.value:(i.newer&&(i===this.head&&(this.head=i.newer),i.newer.older=i.older),i.older&&(i.older.newer=i.newer),i.newer=void 0,i.older=this.tail,this.tail&&(this.tail.newer=i),this.tail=i,e?i:i.value)};var gn,vn,mn,_n,yn,bn,wn=new T(1e3),An=/^in$|^-?\d+/,xn=0,Sn=1,Cn=2,Pn=3,Tn=34,kn=39,En=124,Dn=92,In=32,Ln={91:1,123:1,40:1},$n={91:93,123:125,40:41},On=Object.freeze({parseDirective:U}),Rn=/[-.*+?^${}()|[\]\/\\]/g,jn=void 0,Mn=void 0,Fn=void 0,Nn=/[^|]\|[^|]/,Bn=Object.freeze({compileRegex:W,parseText:Y,tokensToExp:V}),Hn=["{{","}}"],Un=["{{{","}}}"],zn=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:!1,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Hn},set:function(t){Hn=t,W()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return Un},set:function(t){Un=t,W()},configurable:!0,enumerable:!0}}),Wn=void 0,Yn=Object.freeze({appendWithTransition:G,beforeWithTransition:Z,removeWithTransition:Q,applyTransition:J}),Vn=/^v-ref:/,Xn=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,qn=/^(slot|partial|component)$/i,Gn=zn.optionMergeStrategies=Object.create(null);Gn.data=function(t,e,i){return i?t||e?function(){var n="function"==typeof e?e.call(i):e,r="function"==typeof t?t.call(i):void 0;return n?Tt(n,r):r}:void 0:e?"function"!=typeof e?t:t?function(){return Tt(e.call(this),t.call(this))}:e:t},Gn.el=function(t,e,i){if(i||!e||"function"==typeof e){var n=e||t;return i&&"function"==typeof n?n.call(i):n}},Gn.init=Gn.created=Gn.ready=Gn.attached=Gn.detached=Gn.beforeCompile=Gn.compiled=Gn.beforeDestroy=Gn.destroyed=Gn.activate=function(t,e){return e?t?t.concat(e):Zi(e)?e:[e]:t},zn._assetTypes.forEach(function(t){Gn[t+"s"]=kt}),Gn.watch=Gn.events=function(t,e){if(!e)return t;if(!t)return e;var i={};_(i,t);for(var n in e){var r=i[n],o=e[n];r&&!Zi(r)&&(r=[r]),i[n]=r?r.concat(o):[o]}return i},Gn.props=Gn.methods=Gn.computed=function(t,e){if(!e)return t;if(!t)return e;var i=Object.create(null);return _(i,t),_(i,e),i};var Zn=function(t,e){return void 0===e?t:e},Qn=0;Ot.target=null,Ot.prototype.addSub=function(t){this.subs.push(t)},Ot.prototype.removeSub=function(t){this.subs.$remove(t)},Ot.prototype.depend=function(){Ot.target.addDep(this)},Ot.prototype.notify=function(){for(var t=m(this.subs),e=0,i=t.length;e<i;e++)t[e].update()};var Jn=Array.prototype,Kn=Object.create(Jn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Jn[t];w(Kn,t,function(){for(var i=arguments.length,n=new Array(i);i--;)n[i]=arguments[i];var r,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":r=n;break;case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),w(Jn,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),w(Jn,"$remove",function(t){if(this.length){var e=x(this,t);return e>-1?this.splice(e,1):void 0}});var tr=Object.getOwnPropertyNames(Kn),er=!0;jt.prototype.walk=function(t){for(var e=Object.keys(t),i=0,n=e.length;i<n;i++)this.convert(e[i],t[e[i]])},jt.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)Nt(t[e])},jt.prototype.convert=function(t,e){Bt(this.value,t,e)},jt.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},jt.prototype.removeVm=function(t){this.vms.$remove(t)};var ir=Object.freeze({defineReactive:Bt,set:n,del:r,hasOwn:o,isLiteral:s,isReserved:a,_toString:h,toNumber:u,toBoolean:c,stripQuotes:l,camelize:p,hyphenate:d,classify:g,bind:v,toArray:m,extend:_,isObject:y,isPlainObject:b,def:w,debounce:A,indexOf:x,cancellable:S,looseEqual:C,isArray:Zi,hasProto:Qi,inBrowser:Ji,devtools:Ki,isIE:en,isIE9:nn,isAndroid:rn,isIOS:on,get transitionProp(){return sn},get transitionEndEvent(){return an},get animationProp(){return hn},get animationEndEvent(){return un},nextTick:pn,get _Set(){return fn},query:K,inDoc:tt,getAttr:et,getBindAttr:it,hasBindAttr:nt,before:rt,after:ot,remove:st,prepend:at,replace:ht,on:ut,off:ct,setClass:pt,addClass:ft,removeClass:dt,extractContent:gt,trimNode:vt,isTemplate:_t,createAnchor:yt,findRef:bt,mapNodeRange:wt,removeNodeRange:At,isFragment:xt,getOuterHTML:St,mergeOptions:Lt,resolveAsset:$t,checkComponentAttr:Ct,commonTagRE:Xn,reservedTagRE:qn,get warn(){return Wn}}),nr=0,rr=new T(1e3),or=0,sr=1,ar=2,hr=3,ur=0,cr=1,lr=2,pr=3,fr=4,dr=5,gr=6,vr=7,mr=8,_r=[];_r[ur]={ws:[ur],ident:[pr,or],"[":[fr],eof:[vr]},_r[cr]={ws:[cr],".":[lr],"[":[fr],eof:[vr]},_r[lr]={ws:[lr],ident:[pr,or]},_r[pr]={ident:[pr,or],0:[pr,or],number:[pr,or],ws:[cr,sr],".":[lr,sr],"[":[fr,sr],eof:[vr,sr]},_r[fr]={"'":[dr,or],'"':[gr,or],"[":[fr,ar],"]":[cr,hr],eof:mr,else:[fr,or]},_r[dr]={"'":[fr,or],eof:mr,else:[dr,or]},_r[gr]={'"':[fr,or],eof:mr,else:[gr,or]};var yr=Object.freeze({parsePath:Yt,getPath:Vt,setPath:Xt}),br=new T(1e3),wr="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",Ar=new RegExp("^("+wr.replace(/,/g,"\\b|")+"\\b)"),xr="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",Sr=new RegExp("^("+xr.replace(/,/g,"\\b|")+"\\b)"),Cr=/\s/g,Pr=/\n/g,Tr=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\"']|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,kr=/"(\d+)"/g,Er=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Dr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,Ir=/^(?:true|false|null|undefined|Infinity|NaN)$/,Lr=[],$r=Object.freeze({parseExpression:ee,isSimplePath:ie}),Or=[],Rr=[],jr={},Mr={},Fr=!1,Nr=0;ae.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(t){}return this.deep&&he(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},ae.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(t){}var i=e.$forContext;if(i&&i.alias===this.expression){if(i.filters)return;i._withLock(function(){e.$key?i.rawValue[e.$key]=t:i.rawValue.$set(e.$index,t)})}},ae.prototype.beforeGet=function(){Ot.target=this},ae.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ae.prototype.afterGet=function(){Ot.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},ae.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!zn.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,se(this))},ae.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(y(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t,this.prevError,this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},ae.prototype.evaluate=function(){var t=Ot.target;this.value=this.get(),this.dirty=!1,Ot.target=t},ae.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ae.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Br=new fn,Hr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=h(t)}},Ur=new T(1e3),zr=new T(1e3),Wr={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};Wr.td=Wr.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Wr.option=Wr.optgroup=[1,'<select multiple="multiple">',"</select>"],Wr.thead=Wr.tbody=Wr.colgroup=Wr.caption=Wr.tfoot=[1,"<table>","</table>"],Wr.g=Wr.defs=Wr.symbol=Wr.use=Wr.image=Wr.text=Wr.circle=Wr.ellipse=Wr.line=Wr.path=Wr.polygon=Wr.polyline=Wr.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var Yr=/<([\w:-]+)/,Vr=/&#?\w+?;/,Xr=/<!--/,qr=function(){if(Ji){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Gr=function(){if(Ji){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Zr=Object.freeze({cloneNode:pe,parseTemplate:fe}),Qr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=yt("v-html"),ht(this.el,this.anchor))},update:function(t){t=h(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)st(this.nodes[e]);var i=fe(t,!0,!0);this.nodes=m(i.childNodes),rt(i,this.anchor)}};de.prototype.callHook=function(t){var e,i;for(e=0,i=this.childFrags.length;e<i;e++)this.childFrags[e].callHook(t);for(e=0,i=this.children.length;e<i;e++)t(this.children[e])},de.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;t<e;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)this.children[t].$destroy(!1,!0);var i=this.unlink.dirs;for(t=0,e=i.length;t<e;t++)i[t]._watcher&&i[t]._watcher.teardown()},de.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Jr=new T(5e3);we.prototype.create=function(t,e,i){var n=pe(this.template);return new de(this.linker,this.vm,n,t,e,i)};var Kr=700,to=800,eo=850,io=1100,no=1500,ro=1500,oo=1750,so=2100,ao=2200,ho=2300,uo=0,co={priority:ao,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(this.alias){this.id="__v-for__"+ ++uo;var i=this.el.tagName;this.isOption=("OPTION"===i||"OPTGROUP"===i)&&"SELECT"===this.el.parentNode.tagName,this.start=yt("v-for-start"),this.end=yt("v-for-end"),ht(this.el,this.end),rt(this.start,this.end),this.cache=Object.create(null),this.factory=new we(this.vm,this.el)}},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,i,n,r,s,a,h=t[0],u=this.fromObject=y(h)&&o(h,"$key")&&o(h,"$value"),c=this.params.trackBy,l=this.frags,p=this.frags=new Array(t.length),f=this.alias,d=this.iterator,g=this.start,v=this.end,m=tt(g),_=!l;for(e=0,i=t.length;e<i;e++)h=t[e],r=u?h.$key:null,s=u?h.$value:h,a=!y(s),n=!_&&this.getCachedFrag(s,e,r),n?(n.reused=!0,n.scope.$index=e,r&&(n.scope.$key=r),d&&(n.scope[d]=null!==r?r:e),(c||u||a)&&Rt(function(){n.scope[f]=s})):(n=this.create(s,f,e,r),n.fresh=!_),p[e]=n,_&&n.before(v);if(!_){var b=0,w=l.length-p.length;for(this.vm._vForRemoving=!0,e=0,i=l.length;e<i;e++)n=l[e],n.reused||(this.deleteCachedFrag(n),this.remove(n,b++,w,m));this.vm._vForRemoving=!1,b&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var A,x,S,C=0;for(e=0,i=p.length;e<i;e++)n=p[e],A=p[e-1],x=A?A.staggerCb?A.staggerAnchor:A.end||A.node:g,n.reused&&!n.staggerCb?(S=Ae(n,g,this.id),S===A||S&&Ae(S,g,this.id)===A||this.move(n,x)):this.insert(n,C++,x,m),n.reused=n.fresh=!1}},create:function(t,e,i,n){var r=this._host,o=this._scope||this.vm,s=Object.create(o);s.$refs=Object.create(o.$refs),s.$els=Object.create(o.$els),s.$parent=o,s.$forContext=this,Rt(function(){Bt(s,e,t)}),Bt(s,"$index",i),n?Bt(s,"$key",n):s.$key&&w(s,"$key",null),this.iterator&&Bt(s,this.iterator,null!==n?n:i);var a=this.factory.create(r,s,this._frag);return a.forId=this.id,this.cacheFrag(t,a,i,n),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,i=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=Ce(t)})):e=this.frags.map(Ce),i[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,i,n){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(n&&r){var o=t.staggerAnchor;o||(o=t.staggerAnchor=yt("stagger-anchor"),o.__v_frag=t),ot(o,i);var s=t.staggerCb=S(function(){t.staggerCb=null,t.before(o),st(o)});setTimeout(s,r)}else{var a=i.nextSibling;a||(ot(this.end,i),a=this.end),t.before(a)}},remove:function(t,e,i,n){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var r=this.getStagger(t,e,i,"leave");if(n&&r){var o=t.staggerCb=S(function(){t.staggerCb=null,t.remove()});setTimeout(o,r)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,i,n){var r,s=this.params.trackBy,a=this.cache,h=!y(t);n||s||h?(r=Se(i,n,t,s),a[r]||(a[r]=e)):(r=this.id,o(t,r)?null===t[r]&&(t[r]=e):Object.isExtensible(t)&&w(t,r,e)),e.raw=t},getCachedFrag:function(t,e,i){var n,r=this.params.trackBy,o=!y(t);if(i||r||o){var s=Se(e,i,t,r);n=this.cache[s]}else n=t[this.id];return n&&(n.reused||n.fresh),n},deleteCachedFrag:function(t){var e=t.raw,i=this.params.trackBy,n=t.scope,r=n.$index,s=o(n,"$key")&&n.$key,a=!y(e);if(i||s||a){var h=Se(r,s,e,i);this.cache[h]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,i,n){n+="Stagger";var r=t.node.__v_trans,o=r&&r.hooks,s=o&&(o[n]||o.stagger);return s?s.call(t,e,i):e*parseInt(this.params[n]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Zi(t))return t;if(b(t)){for(var e,i=Object.keys(t),n=i.length,r=new Array(n);n--;)e=i[n],r[n]={$key:e,$value:t[e]};return r}return"number"!=typeof t||isNaN(t)||(t=xe(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}},lo={priority:so,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==et(e,"v-else")&&(st(e),this.elseEl=e),this.anchor=yt("v-if"),ht(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new we(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new we(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},po={bind:function(){var t=this.el.nextElementSibling;t&&null!==et(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function i(){t.style.display=e?"":"none"}tt(t)?J(t,e?1:-1,i,this.vm):i()}},fo={bind:function(){var t=this,e=this.el,i="range"===e.type,n=this.params.lazy,r=this.params.number,o=this.params.debounce,s=!1;if(rn||i||(this.on("compositionstart",function(){s=!0}),this.on("compositionend",function(){s=!1,n||t.listener()})),this.focused=!1,i||n||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!s&&t._bound){var n=r||i?u(e.value):e.value;t.set(n),pn(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},o&&(this.listener=A(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(e)[a]("change",this.rawListener),n||jQuery(e)[a]("input",this.listener)}else this.on("change",this.rawListener),n||this.on("input",this.listener);!n&&nn&&(this.on("cut",function(){pn(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=h(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},go={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var i=e.value;return t.params.number&&(i=u(i)),i},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=C(t,this.getValue())}},vo={bind:function(){var t=this,e=this,i=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=i.hasAttribute("multiple");this.listener=function(){var t=Pe(i,n);t=e.params.number?Zi(t)?t.map(u):u(t):t,e.set(t)},this.on("change",this.listener);var r=Pe(i,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){pn(t.forceUpdate)}),tt(i)||pn(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var i,n,r=this.multiple&&Zi(t),o=e.options,s=o.length;s--;)i=o[s],n=i.hasOwnProperty("_value")?i._value:i.value,i.selected=r?Te(t,n)>-1:C(t,n)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},mo={bind:function(){function t(){var t=i.checked;return t&&i.hasOwnProperty("_trueValue")?i._trueValue:!t&&i.hasOwnProperty("_falseValue")?i._falseValue:t}var e=this,i=this.el;this.getValue=function(){return i.hasOwnProperty("_value")?i._value:e.params.number?u(i.value):i.value},this.listener=function(){var n=e._watcher.get();if(Zi(n)){var r=e.getValue(),o=x(n,r);i.checked?o<0&&e.set(n.concat(r)):o>-1&&e.set(n.slice(0,o).concat(n.slice(o+1)))}else e.set(t())},this.on("change",this.listener),i.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Zi(t)?e.checked=x(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=C(t,e._trueValue):e.checked=!!t}},_o={text:fo,radio:go,select:vo,checkbox:mo},yo={priority:to,twoWay:!0,handlers:_o,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var t,e=this.el,i=e.tagName;if("INPUT"===i)t=_o[e.type]||_o.text;else if("SELECT"===i)t=_o.select;else{if("TEXTAREA"!==i)return;t=_o.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var i=$t(this.vm.$options,"filters",t[e].name);("function"==typeof i||i.read)&&(this.hasRead=!0),i.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},bo={esc:27,tab:9,enter:13,space:32,delete:[8,46],up:38,left:37,right:39,down:40},wo={priority:Kr,acceptStatement:!0,keyCodes:bo,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){ut(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"==typeof t){this.modifiers.stop&&(t=Ee(t)),this.modifiers.prevent&&(t=De(t)),this.modifiers.self&&(t=Ie(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});e.length&&(t=ke(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():ut(this.el,this.arg,this.handler,this.modifiers.capture)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&ct(t,this.arg,this.handler)},unbind:function(){this.reset()}},Ao=["-webkit-","-moz-","-ms-"],xo=["Webkit","Moz","ms"],So=/!important;?$/,Co=Object.create(null),Po=null,To={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Zi(t)?this.handleObject(t.reduce(_,{})):this.handleObject(t||{})},handleObject:function(t){var e,i,n=this.cache||(this.cache={});for(e in n)e in t||(this.handleSingle(e,null),delete n[e]);for(e in t)i=t[e],i!==n[e]&&(n[e]=i,this.handleSingle(e,i))},handleSingle:function(t,e){if(t=Le(t))if(null!=e&&(e+=""),e){var i=So.test(e)?"important":"";i?(e=e.replace(So,"").trim(),this.el.style.setProperty(t.kebab,e,i)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},ko="http://www.w3.org/1999/xlink",Eo=/^xlink:/,Do=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,Io=/^(?:value|checked|selected|muted)$/,Lo=/^(?:draggable|contenteditable|spellcheck)$/,$o={
value:"_value","true-value":"_trueValue","false-value":"_falseValue"},Oo={priority:eo,bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var i=this.descriptor,n=i.interp;n&&(i.hasOneTime&&(this.expression=V(n,this._scope||this.vm)),(Do.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&(this.el.removeAttribute(t),this.invalid=!0))},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:To.handleObject,handleSingle:function(t,e){var i=this.el,n=this.descriptor.interp;if(this.modifiers.camel&&(t=p(t)),!n&&Io.test(t)&&t in i){var r="value"===t&&null==e?"":e;i[t]!==r&&(i[t]=r)}var o=$o[t];if(!n&&o){i[o]=e;var s=i.__v_model;s&&s.listener()}return"value"===t&&"TEXTAREA"===i.tagName?void i.removeAttribute(t):void(Lo.test(t)?i.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(i.__v_trans&&(e+=" "+i.__v_trans.id+"-transition"),pt(i,e)):Eo.test(t)?i.setAttributeNS(ko,t,e===!0?"":e):i.setAttribute(t,e===!0?"":e):i.removeAttribute(t))}},Ro={priority:no,bind:function(){if(this.arg){var t=this.id=p(this.arg),e=(this._scope||this.vm).$els;o(e,t)?e[t]=this.el:Bt(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},jo={bind:function(){}},Mo={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},Fo={text:Hr,html:Qr,for:co,if:lo,show:po,model:yo,on:wo,bind:Oo,el:Ro,ref:jo,cloak:Mo},No={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(Oe(t)):this.cleanup()},setClass:function(t){this.cleanup(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];n&&Re(this.el,n,ft)}this.prevKeys=t},cleanup:function(t){var e=this.prevKeys;if(e)for(var i=e.length;i--;){var n=e[i];(!t||t.indexOf(n)<0)&&Re(this.el,n,dt)}}},Bo={priority:ro,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__||(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=gt(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=yt("v-component"),ht(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+d(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var i=this;this.resolveComponent(t,function(){i.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var i=this;this.pendingComponentCb=S(function(n){i.ComponentName=n.options.name||("string"==typeof t?t:null),i.Component=n,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,i=this.Component.options.activate,n=this.getCached(),r=this.build();i&&!n?(this.waitingFor=r,je(i,r,function(){e.waitingFor===r&&(e.waitingFor=null,e.transition(r,t))})):(n&&r._updateRef(),this.transition(r,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var i={name:this.ComponentName,el:pe(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&_(i,t);var n=new this.Component(i);return this.keepAlive&&(this.cache[this.Component.cid]=n),n}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var i=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var n=this;t.$remove(function(){n.pendingRemovals--,i||t._cleanup(),!n.pendingRemovals&&n.pendingRemovalCb&&(n.pendingRemovalCb(),n.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var i=this,n=this.childVM;switch(n&&(n._inactive=!0),t._inactive=!1,this.childVM=t,i.params.transitionMode){case"in-out":t.$before(i.anchor,function(){i.remove(n,e)});break;case"out-in":i.remove(n,function(){t.$before(i.anchor,e)});break;default:i.remove(n),t.$before(i.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},Ho=zn._propBindingModes,Uo={},zo=/^[$_a-zA-Z]+[\w$]*$/,Wo=zn._propBindingModes,Yo={bind:function(){var t=this.vm,e=t._context,i=this.descriptor.prop,n=i.path,r=i.parentPath,o=i.mode===Wo.TWO_WAY,s=this.parentWatcher=new ae(e,r,function(e){He(t,i,e)},{twoWay:o,filters:i.filters,scope:this._scope});if(Be(t,i,s.value),o){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new ae(t,n,function(t){s.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Vo=[],Xo=!1,qo="transition",Go="animation",Zo=sn+"Duration",Qo=hn+"Duration",Jo=Ji&&window.requestAnimationFrame,Ko=Jo?function(t){Jo(function(){Jo(t)})}:function(t){setTimeout(t,50)},ts=qe.prototype;ts.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,ft(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Ve(this.enterNextTick))},ts.enterNextTick=function(){var t=this;this.justEntered=!0,Ko(function(){t.justEntered=!1});var e=this.enterDone,i=this.getCssTransitionType(this.enterClass);this.pendingJsCb?i===qo&&dt(this.el,this.enterClass):i===qo?(dt(this.el,this.enterClass),this.setupCssCb(an,e)):i===Go?this.setupCssCb(un,e):e()},ts.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,dt(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},ts.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,ft(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Ve(this.leaveNextTick)))},ts.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===qo?an:un;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},ts.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),dt(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},ts.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,ct(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(dt(this.el,this.enterClass),dt(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},ts.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},ts.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=S(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},ts.getCssTransitionType=function(t){if(!(!an||document.hidden||this.hooks&&this.hooks.css===!1||Ge(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var i=this.el.style,n=window.getComputedStyle(this.el),r=i[Zo]||n[Zo];if(r&&"0s"!==r)e=qo;else{var o=i[Qo]||n[Qo];o&&"0s"!==o&&(e=Go)}return e&&(this.typeCache[t]=e),e}},ts.setupCssCb=function(t,e){this.pendingCssEvent=t;var i=this,n=this.el,r=this.pendingCssCb=function(o){o.target===n&&(ct(n,t,r),i.pendingCssEvent=i.pendingCssCb=null,!i.pendingJsCb&&e&&e())};ut(n,t,r)};var es={priority:io,update:function(t,e){var i=this.el,n=$t(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",i.__v_trans=new qe(i,t,n,this.vm),dt(i,e+"-transition"),ft(i,t+"-transition")}},is={style:To,class:No,component:Bo,prop:Yo,transition:es},ns=/^v-bind:|^:/,rs=/^v-on:|^@/,os=/^v-([^:]+)(?:$|:(.*)$)/,ss=/\.[^\.]+/g,as=/^(v-bind:|:)?transition$/,hs=1e3,us=2e3;di.terminal=!0;var cs=/[^\w\-:\.]/,ls=Object.freeze({compile:Ze,compileAndLinkProps:ei,compileRoot:ii,transclude:wi,resolveSlots:Ci}),ps=/^v-on:|^@/;Di.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var i=e.attr||"v-"+t;this.el.removeAttribute(i)}var n=e.def;if("function"==typeof n?this.update=n:_(this,n),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(t,e){r._locked||r.update(t,e)}:this._update=Ei;var o=this._preProcess?v(this._preProcess,this):null,s=this._postProcess?v(this._postProcess,this):null,a=this._watcher=new ae(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:s,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},Di.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,i,n,r=t.length;r--;)e=d(t[r]),n=p(e),i=it(this.el,e),null!=i?this._setupParamWatcher(n,i):(i=et(this.el,e),null!=i&&(this.params[n]=""===i||i))}},Di.prototype._setupParamWatcher=function(t,e){var i=this,n=!1,r=(this._scope||this.vm).$watch(e,function(e,r){if(i.params[t]=e,n){var o=i.paramWatchers&&i.paramWatchers[t];o&&o.call(i,e,r)}else n=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},Di.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!ie(t)){var e=ee(t).get,i=this._scope||this.vm,n=function(t){i.$event=t,e.call(i,i),i.$event=null};return this.filters&&(n=i._applyFilters(n,null,this.filters)),this.update(n),!0}},Di.prototype.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},Di.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),pn(function(){e._locked=!1})},Di.prototype.on=function(t,e,i){ut(this.el,t,e,i),(this._listeners||(this._listeners=[])).push([t,e])},Di.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,e=this._listeners;if(e)for(t=e.length;t--;)ct(this.el,e[t][0],e[t][1]);var i=this._paramUnwatchFns;if(i)for(t=i.length;t--;)i[t]();this.vm=this.el=this._watcher=this._listeners=null}};var fs=/[^|]\|[^|]/;Ht(Mi),Ti(Mi),ki(Mi),Ii(Mi),Li(Mi),$i(Mi),Oi(Mi),Ri(Mi),ji(Mi);var ds={priority:ho,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,i){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var n=document.createElement("template");n.setAttribute("v-else",""),n.innerHTML=this.el.innerHTML,n._context=this.vm,t.appendChild(n)}var r=i?i._scope:this._scope;this.unlink=e.$compile(t,i,r,this._frag)}t?ht(this.el,t):st(this.el)},fallback:function(){this.compile(gt(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},gs={priority:oo,params:["name"],paramWatchers:{name:function(t){lo.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=yt("v-partial"),ht(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=$t(this.vm.$options,"partials",t,!0);e&&(this.factory=new we(this.vm,e),lo.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},vs={slot:ds,partial:gs},ms=co._postProcess,_s=/(\d{3})(?=\d)/g,ys={orderBy:Bi,filterBy:Ni,limitBy:Fi,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e,i){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",i=null!=i?i:2;var n=Math.abs(t).toFixed(i),r=i?n.slice(0,-1-i):n,o=r.length%3,s=o>0?r.slice(0,o)+(r.length>3?",":""):"",a=i?n.slice(-1-i):"",h=t<0?"-":"";return h+e+s+r.slice(o).replace(_s,"$1,")+a},pluralize:function(t){var e=m(arguments,1),i=e.length;if(i>1){var n=t%10-1;return n in e?e[n]:e[i-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),A(t,e)}};Ui(Mi),Mi.version="1.0.28",setTimeout(function(){zn.devtools&&Ki&&Ki.emit("init",Mi)},0),t.exports=Mi},function(t,e){(function(){"use strict";var t;t=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(t){return t.toLowerCase()},e.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},e.stripPrefix=function(e){return e.replace(t,"")},e.parseNumbers=function(t){return isNaN(t)||(t=t%1===0?parseInt(t,10):parseFloat(t)),t},e.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(this)},function(t,e,i){(function(){var e,n,r;e=i(2),r=i(5),t.exports=n=function(){function t(t,i,n){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==i)throw new Error("Missing attribute name. "+this.debugInfo(i));this.name=this.stringify.name(i),this.value=this.stringify.attValue(n),this.type=e.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"specified",{get:function(){return!0}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(t){return this.options.writer.attribute(this,this.options.writer.filterOptions(t))},t.prototype.debugInfo=function(t){return t=t||this.name,null==t?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},t.prototype.isEqualNode=function(t){return t.namespaceURI===this.namespaceURI&&t.prefix===this.prefix&&t.localName===this.localName&&t.value===this.value},t}()}).call(this)},function(t,e){(function(){var e;t.exports=e=function(){function t(){}return t.prototype.hasFeature=function(t,e){return!0},t.prototype.createDocumentType=function(t,e,i){throw new Error("This DOM method is not implemented.")},t.prototype.createDocument=function(t,e,i){throw new Error("This DOM method is not implemented.")},t.prototype.createHTMLDocument=function(t){throw new Error("This DOM method is not implemented.")},t.prototype.getFeature=function(t,e){throw new Error("This DOM method is not implemented.")},t}()}).call(this)},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c=function(t,e){function i(){this.constructor=t}for(var n in e)l.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},l={}.hasOwnProperty;u=i(8).isPlainObject,r=i(79),n=i(191),s=i(5),e=i(2),h=i(82),a=i(52),t.exports=o=function(t){function i(t){i.__super__.constructor.call(this,null),this.name="#document",this.type=e.Document,this.documentURI=null,this.domConfig=new n,t||(t={}),t.writer||(t.writer=new a),this.options=t,this.stringify=new h(t)}return c(i,t),Object.defineProperty(i.prototype,"implementation",{value:new r}),Object.defineProperty(i.prototype,"doctype",{get:function(){var t,i,n,r;for(r=this.children,i=0,n=r.length;i<n;i++)if(t=r[i],t.type===e.DocType)return t;return null}}),Object.defineProperty(i.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(i.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(i.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration?this.children[0].encoding:null}}),Object.defineProperty(i.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(i.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(i.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(i.prototype,"origin",{get:function(){return null}}),Object.defineProperty(i.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(i.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(i.prototype,"contentType",{get:function(){return null}}),i.prototype.end=function(t){var e;return e={},t?u(t)&&(e=t,t=this.options.writer):t=this.options.writer,t.document(this,t.filterOptions(e))},i.prototype.toString=function(t){return this.options.writer.document(this,this.options.writer.filterOptions(t))},i.prototype.createElement=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTextNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createComment=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createCDATASection=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createProcessingInstruction=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttribute=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEntityReference=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.importNode=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createElementNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByTagNameNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementById=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.adoptNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.renameNode=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.getElementsByClassName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createEvent=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createNodeIterator=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.createTreeWalker=function(t,e,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},i}(s)}).call(this)},function(t,e,i){(function(){var e,n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=i(5),e=i(2),t.exports=n=function(t){function i(t){i.__super__.constructor.call(this,t),this.type=e.Dummy}return o(i,t),i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(t){return""},i}(r)}).call(this)},function(t,e){(function(){var e,i=function(t,e){return function(){return t.apply(e,arguments)}},n={}.hasOwnProperty;t.exports=e=function(){function t(t){this.assertLegalName=i(this.assertLegalName,this),this.assertLegalChar=i(this.assertLegalChar,this);var e,r,o;t||(t={}),this.options=t,this.options.version||(this.options.version="1.0"),r=t.stringify||{};for(e in r)n.call(r,e)&&(o=r[e],this[e]=o)}return t.prototype.name=function(t){return this.options.noValidation?t:this.assertLegalName(""+t||"")},t.prototype.text=function(t){return this.options.noValidation?t:this.assertLegalChar(this.textEscape(""+t||""))},t.prototype.cdata=function(t){return this.options.noValidation?t:(t=""+t||"",t=t.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(t))},t.prototype.comment=function(t){if(this.options.noValidation)return t;if(t=""+t||"",t.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},t.prototype.raw=function(t){return this.options.noValidation?t:""+t||""},t.prototype.attValue=function(t){return this.options.noValidation?t:this.assertLegalChar(this.attEscape(t=""+t||""))},t.prototype.insTarget=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.insValue=function(t){if(this.options.noValidation)return t;if(t=""+t||"",t.match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return this.assertLegalChar(t)},t.prototype.xmlVersion=function(t){if(this.options.noValidation)return t;if(t=""+t||"",!t.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},t.prototype.xmlEncoding=function(t){if(this.options.noValidation)return t;if(t=""+t||"",!t.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return this.assertLegalChar(t)},t.prototype.xmlStandalone=function(t){return this.options.noValidation?t:t?"yes":"no"},t.prototype.dtdPubID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdSysID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdElementValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdAttType=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdAttDefault=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdEntityValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdNData=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(t){var e,i;if(this.options.noValidation)return t;if(e="","1.0"===this.options.version){if(e=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=t.match(e))throw new Error("Invalid character in string: "+t+" at index "+i.index)}else if("1.1"===this.options.version&&(e=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=t.match(e)))throw new Error("Invalid character in string: "+t+" at index "+i.index);return t},t.prototype.assertLegalName=function(t){var e;if(this.options.noValidation)return t;if(this.assertLegalChar(t),e=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!t.match(e))throw new Error("Invalid character in name");return t},t.prototype.textEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},t.prototype.attEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},t}()}).call(this)},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y={}.hasOwnProperty;_=i(8).assign,e=i(2),c=i(46),l=i(47),r=i(40),o=i(41),f=i(48),g=i(51),v=i(53),d=i(50),p=i(81),s=i(42),a=i(43),h=i(44),u=i(45),n=i(28),t.exports=m=function(){function t(t){var e,i,n;t||(t={}),this.options=t,i=t.writer||{};for(e in i)y.call(i,e)&&(n=i[e],this["_"+e]=this[e],this[e]=n)}return t.prototype.filterOptions=function(t){var e,i,r,o,s,a,h,u;return t||(t={}),t=_({},this.options,t),e={writer:this},e.pretty=t.pretty||!1,e.allowEmpty=t.allowEmpty||!1,e.indent=null!=(i=t.indent)?i:"  ",e.newline=null!=(r=t.newline)?r:"\n",e.offset=null!=(o=t.offset)?o:0,e.dontPrettyTextNodes=null!=(s=null!=(a=t.dontPrettyTextNodes)?a:t.dontprettytextnodes)?s:0,e.spaceBeforeSlash=null!=(h=null!=(u=t.spaceBeforeSlash)?u:t.spacebeforeslash)?h:"",e.spaceBeforeSlash===!0&&(e.spaceBeforeSlash=" "),e.suppressPrettyCount=0,e.user={},e.state=n.None,e},t.prototype.indent=function(t,e,i){var n;return!e.pretty||e.suppressPrettyCount?"":e.pretty&&(n=(i||0)+e.offset+1,n>0)?new Array(n).join(e.indent):""},t.prototype.endline=function(t,e,i){return!e.pretty||e.suppressPrettyCount?"":e.newline},t.prototype.attribute=function(t,e,i){var n;return this.openAttribute(t,e,i),n=" "+t.name+'="'+t.value+'"',this.closeAttribute(t,e,i),n},t.prototype.cdata=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<![CDATA[",e.state=n.InsideTag,r+=t.value,e.state=n.CloseTag,r+="]]>"+this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.comment=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<!-- ",e.state=n.InsideTag,r+=t.value,e.state=n.CloseTag,r+=" -->"+this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.declaration=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<?xml",e.state=n.InsideTag,r+=' version="'+t.version+'"',null!=t.encoding&&(r+=' encoding="'+t.encoding+'"'),null!=t.standalone&&(r+=' standalone="'+t.standalone+'"'),e.state=n.CloseTag,r+=e.spaceBeforeSlash+"?>",r+=this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.docType=function(t,e,i){var r,o,s,a,h;if(i||(i=0),this.openNode(t,e,i),e.state=n.OpenTag,a=this.indent(t,e,i),a+="<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?a+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(a+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(a+=" [",a+=this.endline(t,e,i),e.state=n.InsideTag,h=t.children,o=0,s=h.length;o<s;o++)r=h[o],a+=this.writeChildNode(r,e,i+1);e.state=n.CloseTag,a+="]"}return e.state=n.CloseTag,a+=e.spaceBeforeSlash+">",a+=this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),a},t.prototype.element=function(t,i,r){var o,s,a,h,u,c,l,p,f,d,g,v,m,_;r||(r=0),d=!1,g="",this.openNode(t,i,r),i.state=n.OpenTag,g+=this.indent(t,i,r)+"<"+t.name,v=t.attribs;for(f in v)y.call(v,f)&&(o=v[f],g+=this.attribute(o,i,r));if(a=t.children.length,h=0===a?null:t.children[0],0===a||t.children.every(function(t){return(t.type===e.Text||t.type===e.Raw)&&""===t.value}))i.allowEmpty?(g+=">",i.state=n.CloseTag,g+="</"+t.name+">"+this.endline(t,i,r)):(i.state=n.CloseTag,g+=i.spaceBeforeSlash+"/>"+this.endline(t,i,r));else if(!i.pretty||1!==a||h.type!==e.Text&&h.type!==e.Raw||null==h.value){if(i.dontPrettyTextNodes)for(m=t.children,u=0,l=m.length;u<l;u++)if(s=m[u],(s.type===e.Text||s.type===e.Raw)&&null!=s.value){i.suppressPrettyCount++,d=!0;break}for(g+=">"+this.endline(t,i,r),i.state=n.InsideTag,_=t.children,c=0,p=_.length;c<p;c++)s=_[c],g+=this.writeChildNode(s,i,r+1);i.state=n.CloseTag,g+=this.indent(t,i,r)+"</"+t.name+">",d&&i.suppressPrettyCount--,g+=this.endline(t,i,r),i.state=n.None}else g+=">",i.state=n.InsideTag,i.suppressPrettyCount++,d=!0,g+=this.writeChildNode(h,i,r+1),i.suppressPrettyCount--,d=!1,i.state=n.CloseTag,g+="</"+t.name+">"+this.endline(t,i,r);return this.closeNode(t,i,r),g},t.prototype.writeChildNode=function(t,i,n){switch(t.type){case e.CData:return this.cdata(t,i,n);case e.Comment:return this.comment(t,i,n);case e.Element:return this.element(t,i,n);case e.Raw:return this.raw(t,i,n);case e.Text:return this.text(t,i,n);case e.ProcessingInstruction:return this.processingInstruction(t,i,n);case e.Dummy:return"";case e.Declaration:return this.declaration(t,i,n);case e.DocType:return this.docType(t,i,n);case e.AttributeDeclaration:return this.dtdAttList(t,i,n);case e.ElementDeclaration:return this.dtdElement(t,i,n);case e.EntityDeclaration:return this.dtdEntity(t,i,n);case e.NotationDeclaration:return this.dtdNotation(t,i,n);default:throw new Error("Unknown XML node type: "+t.constructor.name)}},t.prototype.processingInstruction=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<?",e.state=n.InsideTag,r+=t.target,t.value&&(r+=" "+t.value),e.state=n.CloseTag,r+=e.spaceBeforeSlash+"?>",r+=this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.raw=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i),e.state=n.InsideTag,r+=t.value,e.state=n.CloseTag,r+=this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.text=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i),e.state=n.InsideTag,r+=t.value,e.state=n.CloseTag,r+=this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.dtdAttList=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<!ATTLIST",e.state=n.InsideTag,r+=" "+t.elementName+" "+t.attributeName+" "+t.attributeType,"#DEFAULT"!==t.defaultValueType&&(r+=" "+t.defaultValueType),t.defaultValue&&(r+=' "'+t.defaultValue+'"'),e.state=n.CloseTag,r+=e.spaceBeforeSlash+">"+this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.dtdElement=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<!ELEMENT",e.state=n.InsideTag,r+=" "+t.name+" "+t.value,e.state=n.CloseTag,r+=e.spaceBeforeSlash+">"+this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.dtdEntity=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<!ENTITY",e.state=n.InsideTag,t.pe&&(r+=" %"),r+=" "+t.name,t.value?r+=' "'+t.value+'"':(t.pubID&&t.sysID?r+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(r+=' SYSTEM "'+t.sysID+'"'),t.nData&&(r+=" NDATA "+t.nData)),e.state=n.CloseTag,r+=e.spaceBeforeSlash+">"+this.endline(t,e,i),e.state=n.None,this.closeNode(t,e,i),r},t.prototype.dtdNotation=function(t,e,i){var r;return this.openNode(t,e,i),e.state=n.OpenTag,r=this.indent(t,e,i)+"<!NOTATION",e.state=n.InsideTag,r+=" "+t.name,t.pubID&&t.sysID?r+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.pubID?r+=' PUBLIC "'+t.pubID+'"':t.sysID&&(r+=' SYSTEM "'+t.sysID+'"'),e.state=n.CloseTag,r+=e.spaceBeforeSlash+">"+this.endline(t,e,i),
e.state=n.None,this.closeNode(t,e,i),r},t.prototype.openNode=function(t,e,i){},t.prototype.closeNode=function(t,e,i){},t.prototype.openAttribute=function(t,e,i){},t.prototype.closeAttribute=function(t,e,i){},t}()}).call(this)},function(t,e){(function(){var e;e=function(){function t(){}return t.CAROUSEL="carousel",t.ONESIDE="oneside",t.SLIDE="slide",t}(),t.exports=e}).call(this)},function(t,e){(function(){var e;e=function(){function t(){}return t.getR=function(t){return t>>16&255},t.getG=function(t){return t>>8&255},t.getB=function(t){return 255&t},t}(),t.exports=e}).call(this)},function(t,e,i){(function(e){(function(){var i;i=function(){function t(){}return t.getDeviceRatio=function(){return void 0===window.devicePixelRatio?1:e.round(e.min([window.devicePixelRatio,2]),2)},t.getMaxmagnification=function(t){return t},t}(),t.exports=i}).call(this)}).call(e,i(3))},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAABkCAYAAABOx/oaAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAc5pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx4bXA6Q3JlYXRvclRvb2w+QWRvYmUgRmlyZXdvcmtzIENTNjwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KAHiqRgAAALVJREFUSA3tVNEOAxEQLFaOhA/z/58i8YC40nSFXC49Ce091MuyJmZ2DcQYs4UQhLVWeO9FSmmjj2ZQSvey7JK4vyyZ5bxYrxExxip6iSSlVCW4JglRJS6R1BLg/O5EY14ihOzfr2i1l5iUMveB8kwEMUbILw7OywSAznnnSDQBxj8SO/GOh4YUOx6SBTwrOealsdcxSyfn/E4G01p3cmaVWc5px6wrxjN/81k552q3Plc0yWBPgCcp955NgdAAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAABkCAYAAABOx/oaAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAABzmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIj4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBGaXJld29ya3MgQ1M2PC94bXA6Q3JlYXRvclRvb2w+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgprRCUgAAAAtElEQVRIDdVUSQ7DIAyEHDgg8Qn6BP7/KjhQsZVEMnKplGIpjloOMUETjzMeI51zD6VULKVErfVTCBG3/vhYxMNaq8Q5zj/vzAN9jlzP+R3ZWhusgL6PHRhxXGP33ss15J6bHZlSOmRkJwKlDiKawbq9R6tZ6pzLuUX5N0HgBSLLb0JyHNmJcs4Eg1lreaeD3UtYXNhvtMtqtiN7j0adsMHxb9lDCL/kJWMMYRD2Dlyh/OylFwE5MqOvS9KwAAAAAElFTkSuQmCC"},function(t,e){var i;i={data:{slideLastPage:0},methods:{flipR:function(){return this.$broadcast("flipR")},flipL:function(){return this.$broadcast("flipL")},flipRMax:function(){return"r2l"===this.$root.bookDirection?this.$broadcast("gotoTargetPage1",this.pageTotal):this.$broadcast("gotoTargetPage1",1)},flipLMax:function(){return"r2l"===this.$root.bookDirection?this.$broadcast("gotoTargetPage1",1):this.$broadcast("gotoTargetPage1",this.pageTotal)},zoomin:function(t,e){if(this.scaleIndex<this.scaleArray.length-1)return this.$broadcast("zoomin",t,e),this.scaleIndex=this.scaleIndex+1},zoomout:function(t,e){if(this.scaleIndex>0)return this.$broadcast("zoomout",t,e),this.scaleIndex=this.scaleIndex-1},zoomAt:function(t){return this.$broadcast("zoomAt",t),this.scaleIndex=t},changeView:function(t){if(!this.isChirashi&&this.view!==t&&("slide"===this.view&&(this.slideLastPage=this.activePage),this.$broadcast("zoomAt",0),this.scaleIndex=0,this.view=t,"slide"===t&&(this.slideLastPage===this.activeLeftPage||this.slideLastPage===this.activeRightPage)&&this.slideLastPage>0))return Vue.nextTick(function(t){return function(){return t.gotoTargetPage(t.slideLastPage)}}(this))},gotoTargetPage:function(t,e){return null==e&&(e=!0),e?this.$broadcast("gotoTargetPage2",t):this.$broadcast("gotoTargetPage1",t)},gotoTargetPageId:function(t,e){var i,n;if(null==e&&(e=!0),n=this.dataArray.indexOf(String(t)),n>-1)return i=n+1,e?this.$broadcast("gotoTargetPage2",i):this.$broadcast("gotoTargetPage1",i)},gotoTargetLabel:function(t,e){var i,n,r,o,s,a;for(null==e&&(e=!0),a=0,s=this.labelArray,n=i=0,o=s.length;i<o;n=++i)if(r=s[n],t===r){a=n+1;break}if(a>0)return e?this.$broadcast("gotoTargetPage2",a):this.$broadcast("gotoTargetPage1",a)}}},t.exports=i},function(t,e){var i;i={data:{makerVersion:"0",makerPlan:"",makerGrade:""}}},function(t,e){var i;i={methods:{zoomAdjustW:function(){var t,e,i,n;for(i=Number(this.$root.scaleArray.length-1);(n=this.$root.scaleArray[i],t=1*this.$root.pageWidth,"carousel"===this.view&&(t*=2),e=t*n,!(e<this.$root.componentWidth))&&0!==i;)i--;return this.$root.zoomAt(i)},zoomAdjustH:function(){var t,e,i,n;for(i=Number(this.$root.scaleArray.length-1);(n=this.$root.scaleArray[i],t=this.$root.pageHeight,e=t*n,!(e<this.$root.componentHeight))&&0!==i;)i--;return this.$root.zoomAt(i)}}},t.exports=i},function(t,e,i){var n,r;r=i(12),n={methods:{fusenPaste:function(t){return this.memoLayerVisible||this.visibleMemoLayer(!0),this.$refs.view.pasteFusen(null,t.text,t.x,t.y,t.bgColor)},fusenPeel:function(t){return!(this.isOnLibra&&this.unsaveLibraPenData.length>0||(this.$refs.view.peelFusen(t),0))},fusenUpdate:function(t){if(t.id)return this.$refs.view.updateFusen(t)},fusenClearCurrentPage:function(){return!(this.isOnLibra&&this.unsaveLibraPenData.length>0||(this.$refs.view.clearAllFusen(),"carousel"===this.view&&(r.remove(this.activeLeftPageId),r.remove(this.activeRightPageId),this.$root.isOnLibra&&(this.$refs.view.removePageLibra("fusens",this.activeLeftPageId),this.$refs.view.removePageLibra("fusens",this.activeRightPageId))),"slide"===this.view&&(r.remove(this.activePageId),this.$root.isOnLibra&&this.$refs.view.removePageLibra("fusens",this.activePageId)),0))}}},t.exports=n},function(t,e,i){var n,r;r=i(18),n={methods:{tegakiStart:function(){return this.memoLayerVisible||this.visibleMemoLayer(!0),this.$refs.view.isTegakiCanvasVisible=!0},tegakiEnd:function(){return this.$refs.view.isTegakiCanvasVisible=!1},tegakiColor:function(t,e,i,n){return this.tegakiColorR=t,this.tegakiColorG=e,this.tegakiColorB=i,this.tegakiColorAlpha=parseFloat(n)},tegakiThickness:function(t){return this.tegakiFutosa=t},tegakiPen:function(){return this.$refs.view.isTegakiIsElaser=!1},tegakiEraser:function(){return this.$refs.view.isTegakiIsElaser=!0},tegakiClearCurrentPage:function(){return!(this.isOnLibra&&this.unsaveLibraPenData.length>0||("carousel"===this.view&&(this.$refs.view.penDataArray=[],this.$root.isOnLibra&&(this.$refs.view.removePageLibra("pens",this.$root.activeLeftPageId),this.$refs.view.removePageLibra("pens",this.$root.activeRightPageId)),this.$refs.view.clearDrawingShape(),this.$refs.view.clearDrawDisplayShape(),r.remove(this.$root.activeLeftPageId),r.remove(this.$root.activeRightPageId)),"slide"===this.view&&(this.$refs.view.penDataArray=[],this.$root.isOnLibra&&this.$refs.view.removePageLibra("pens",this.$root.activePageId),this.$refs.view.clearDrawingShape(),this.$refs.view.clearDrawDisplayShape(),r.remove(this.$root.activePageId)),0))}}},t.exports=n},function(t,e){var i;i={data:{memoLayerVisible:!0},methods:{visibleMemoLayer:function(t){return this.memoLayerVisible=t,this.$refs.view.visibleAllFusen(),this.$refs.view.visibleAllPen()}}},t.exports=i},function(t,e,i){i(202),t.exports={template:i(118),props:["pos"],data:function(){return{bgColor:{backgroundColor:"#cccccc"},koguchisL:[],koguchisR:[],checkVisible:!1}},computed:{getLeft:function(){return"L"===this.pos?this.$root.componentCenter-this.$root.pageWidth:this.$root.componentCenter},checkKoguchi:function(){}},methods:{calcKoguchiArray:function(t,e){var i,n;return t=Math.min(5,t),e=Math.min(5,e),this.koguchisL=t>0?function(){i=[];for(var e=0;0<=t?e<=t:e>=t;0<=t?e++:e--)i.push(e);return i}.apply(this):[],this.koguchisR=e>0?function(){n=[];for(var t=0;0<=e?t<=e:t>=e;0<=e?t++:t--)n.push(t);return n}.apply(this):[]},updateKoguchi:function(t){var e,i;return i=this.$root.bookViewNum-1,e=this.$root.bookViewLength-1-this.$root.bookViewNum-1,t===!0?"r2l"===this.$root.bookDirection?this.$parent.isR2LFlip===!0?this.calcKoguchiArray(i,e-1):this.calcKoguchiArray(i-1,e):this.$parent.isR2LFlip===!0?this.calcKoguchiArray(e,i-1):this.calcKoguchiArray(e-1,i):"r2l"===this.$root.bookDirection?this.calcKoguchiArray(i,e):this.calcKoguchiArray(e,i)},updateShadow:function(t){var e;return null!=this.$parent.hyoujiindexl?t===!0?"L"===this.pos?this.$parent.isR2LFlip?this.checkVisible=this.$parent.carouselArray[this.$parent.hyoujiindexl]>0:this.checkVisible=this.$parent.carouselArray[this.$parent.underIndexL]>0:this.$parent.isR2LFlip?this.checkVisible=this.$parent.carouselArray[this.$parent.underIndexR]>0:this.checkVisible=this.$parent.carouselArray[this.$parent.hyoujiindexr]>0:"L"===this.pos?this.checkVisible=this.$parent.carouselArray[this.$parent.hyoujiindexl]>0:this.checkVisible=this.$parent.carouselArray[this.$parent.hyoujiindexr]>0:(e="R"===this.pos?this.$root.activeRightPage:this.$root.activeLeftPage,this.checkVisible=e>0&&e<=this.$root.pageTotal)}},created:function(){return this.isFlippingUnwatcher=this.$watch(function(){return this.$parent.isFlipping},function(t,e){return this.updateKoguchi(t)}),this.isFlippingUnwatcher2=this.$watch(function(){return this.$parent.isFlipping},function(t,e){return this.updateShadow(t)}),this.$watch(function(){return this.$root.bookViewNum},function(t,e){return this.updateShadow(this.$parent.isFlipping),this.updateKoguchi(this.$parent.isFlipping)})},ready:function(){return this.updateKoguchi(!1),this.updateShadow(!1)}}},function(t,e,i){var n;i(203),n=i(10),t.exports={template:i(119),props:["sliceindex","layerscale","page","item"],data:function(){return{debugStyle:{fontSize:"40px",color:"#ff9900",position:"absolute",top:"0px",left:"0px"}}},computed:{getTop:function(){return this.item.top+"px"},getLeft:function(){return this.item.left+"px"},getWidth:function(){return this.item.getWidth()+"px"},getHeight:function(){return this.item.getHeight()+"px"},g1:function(){return this.item.getWidth()},g2:function(){return this.item.getHeight()},getImageStyle:function(){var t,e,i,r,o;return i={},i.position="absolute",i.top="0px",i.left="0px",i.width="100%",i.height="100%",n.not.safari()&&(i.backfaceVisibility="hidden",i.transform="translateZ(0)"),n.chrome(">=68")&&n.mac()&&(e=.73,t=.5,o=(this.item.getWidth()+e)/this.item.getWidth(),r=(this.item.getHeight()+t)/this.item.getHeight(),i.transform="translateZ(0) scale("+o+", "+r+")"),i}}}},function(t,e,i){i(204),t.exports={template:i(120)}},function(t,e,i){(function(e){var n,r,o;o=i(33),n=i(4),r={data:function(){return{isOnLibra:!1,libraApiUrl:"http://kaneko-mba.local:8082/",libraAccessKey:null,libraHan:0,libraContentId:0,libraLoginUrl:"",unsaveLibraPenData:[],libraFusenListData:[],libraVersion:"",libraGetListApiName:""}},methods:{updateLibraFusenListData:function(t){var i;return i=e.findIndex(this.libraFusenListData,function(e){return function(e){return e.id===t.id}}(this)),i>-1?(n.log("付箋リストの中にあるので変更:"+t.id),this.libraFusenListData.splice(i,1),this.libraFusenListData.splice(i,0,t)):(n.log("付箋リストの中にないので追加:"+t.id),this.libraFusenListData.push(t))},removeLibraFusenListDataByUUID:function(t){var i;if(i=e.findIndex(this.libraFusenListData,function(e){return function(e){return e.id===t}}(this)),i>-1)return this.libraFusenListData.splice(i,1)},removeLibraFusenListDataByPageID:function(t){var i,n,r,o,s,a;for(i=[],s=this.libraFusenListData,r=0,o=s.length;r<o;r++)n=s[r],i.push(n);return a=e.remove(i,function(e){return function(e){return e.pageId===t}}(this)),this.libraFusenListData=i},saveLibraAndRemoveLocalStorage:function(){return new o(function(t){return function(e,i){var r;return r=new FormData,r.append("access_key",t.libraAccessKey),r.append("content_id",t.libraContentId),r.append("version",t.libraHan),r.append("body",JSON.stringify(t.unsaveLibraPenData)),t.$http.post(t.libraApiUrl+"_ContentStorage/save/",r).then(function(r){var o,s,a,h,u,c,l;if(r.data.response){for(c=r.data.stored_data,s=0,u=c.length;s<u;s++)for(a=c[s],o=h=l=t.unsaveLibraPenData.length-1;l<=0?h<=0:h>=0;o=l<=0?++h:--h)t.unsaveLibraPenData[o].data_id===a.data_id&&(n.log(t.unsaveLibraPenData[o].type),"fusens"===t.unsaveLibraPenData[o].type&&t.updateLibraFusenListData(t.unsaveLibraPenData[o].data),t.unsaveLibraPenData.splice(o,1));return e()}return i()},function(t){return i()})}}(this))}},ready:function(){return this.$watch("unsaveLibraPenData",function(t,e){var i,n,r;if(void 0===this.libraContentId)throw new Error("libra id is undefined");r=["libradata","unsaveMemos",this.libraContentId].join("."),n=JSON.stringify(t);try{return window.localStorage.setItem(r,n)}catch(t){i=t}}),this.getLibraInfo=function(t){return function(){return new o(function(e,i){var n;return t.isOnLibra?(n={c:t.noCacheParam,content_type:"flipper"},n.content_url=window.location.href,t.$http.get(t.libraApiUrl+"_ContentStorage/getSetting/",n,function(n,r,o){return n.response?(t.libraAccessKey=n.access_key,t.libraHan=n.version,t.libraContentId=n.content_id,"local"===n.setting.flipper_contents_storage_location&&(t.isOnLibra=!1),t.libraLoginUrl=n.login_url,t.libraVersion=n.libra_version?n.libra_version:"",e()):i(new Error("getSettingResponseFalse"))}).error(function(t,e,n){return i(new Error("LibraSetting Error"))})):e()})}}(this),this.checkLibraVersion=function(t){return function(){var e,i,n,r,o,s,a;for(e="2.6.0".split("."),o=t.libraVersion.split("."),a=!0,r=n=0;n<=2;r=++n){if(i="",s="",i=r<e.length?+e[r]:0,s=r<o.length?+o[r]:0,Number(i)<Number(s)){a=!0;break}if(Number(i)>Number(s)){a=!1;break}}return a}}(this),this.getLibraFusenList=function(t){return function(){return new o(function(i,n){var r,o;return t.isOnLibra&&t.libraAccessKey?(r={access_key:t.libraAccessKey,content_id:t.libraContentId,version:t.libraHan,c:new Date/1e3|0},o=e.merge(r,{type:"fusens"}),t.libraGetListApiName=t.checkLibraVersion()?"_ContentStorage/getListAll/":"_ContentStorage/getList/",t.$http.get(t.libraApiUrl+t.libraGetListApiName,o,function(r,o,s){var a,h,u,c,l;if(r.response){for(h=e.map(r.stored_data,function(t){var e;return e=JSON.parse(t.data),e.access_type=t.access_type||"private",e.read_only=t.read_only||!1,e}),c=u=0,l=h.length;u<l;c=++u)a=h[c],t.libraFusenListData.push(a);return i()}return n(new Error("getListResponseFalse"))}).error(function(t,e,i){return n(new Error("Libra FusenList Error"))})):i()})}}(this),this.uploadLibraUnsaveData=function(t){return function(){return new o(function(e,i){var r,s,a;if(t.isOnLibra&&t.libraAccessKey){if(void 0===t.libraContentId)throw new Error("libra id is undefined");return s=["libradata","unsaveMemos",t.libraContentId].join("."),r=window.localStorage.getItem(s),a=JSON.parse(r),Array.isArray(a)&&(t.unsaveLibraPenData=a),t.unsaveLibraPenData.length>0?o.resolve(t.saveLibraAndRemoveLocalStorage()).then(function(){return window.alert("前回終了時に保存されていないメモを復元しました"),e()}).catch(function(t){return e()}):(n.log("未保存データなし"),e())}return e()})}}(this)}},t.exports=r}).call(e,i(3))},function(t,e){var i;i=function(){function t(){}return t.init=function(t,e){return this.pageWidth=t,this.pageHeight=e,this.a=2*this.pageWidth/20,this.b=this.pageHeight/20},t.getGaPointMihiraki=function(t,e,i,n){var r,o,s,a,h,u;return i=Math.min(i,20*this.a),n=Math.min(n,20*this.b),h=t/this.a>>0,u=e/this.b>>0,h=Math.max(0,h),u=Math.max(0,u),o=(parseFloat(t)+parseFloat(i)-1)/this.a>>0,s=(parseFloat(e)+parseFloat(n)-1)/this.b>>0,o=Math.min(o,19),s=Math.min(s,19),a=h+20*u,r=Math.min(o+20*s,399),"lt="+a+",rb="+r},t.getGaPoint=function(t,e,i,n){var r,o,s,a,h,u,c;return i=Math.min(i,10*this.a),n=Math.min(n,20*this.b),u=t/this.a>>0,c=e/this.b>>0,u=Math.max(0,u),c=Math.max(0,c),o=(parseFloat(t)+parseFloat(i)-1)/this.a>>0,s=(parseFloat(e)+parseFloat(n)-1)/this.b>>0,a=0,a=u<=9?9:19,o=Math.min(o,a),s=Math.min(s,19),h=u+20*c,r=Math.min(o+20*s,399),"lt="+h+",rb="+r},t}(),t.exports=i},function(t,e,i){(function(e){var n,r,o,s,a;r=i(21),o=i(20),s=i(54),n=i(99),a=function(){function t(){}return t.sendBookLog=function(){return r.send(r.bl,flipper.bookID,flipper.bookUrl(),1)},t.sendViewLog=function(){return r.send(r.pv,flipper.bookID,"pn="+(flipper.slideViewNum+1),1)},t.sendCustomPage=function(){return r.sendCustomPage()},t.sendZoomLog=function(t,i){var a,h,u,c,l,p,f;if(0!==flipper.scaleIndex)return f=new o(e.floor(t.left),e.floor(t.top),e.floor(t.right),e.floor(t.bottom)),h=new o(flipper.componentLeft,flipper.componentTop,flipper.componentWidth+flipper.componentLeft,flipper.componentHeight+flipper.componentTop),l=s.intersectRect(f,h),u=0-f.left,c=0-f.top,l.offset(u,c),l.setWidth(l.getWidth()/flipper.scale),l.setHeight(l.getHeight()/flipper.scale),l.offset(l.left/flipper.scale-l.left,l.top/flipper.scale-l.top),i||l.offset(flipper.pageWidth,0),n.init(flipper.pageWidth,flipper.pageHeight),p=n.getGaPoint(l.left,l.top,l.getWidth(),l.getHeight()),a="pn="+(flipper.slideViewNum+1)+",scaleIndex="+flipper.scaleIndex,a+=","+p+",tm=0",r.send(r.phm,flipper.bookID,a,1)},t}(),t.exports=a}).call(e,i(3))},function(t,e){var i;i=function(){function t(){}return t.zenkaku2hankaku=function(t){var e;return e=t.replace(/[！-～]/g,function(t){return String.fromCharCode(t.charCodeAt(0)-65248)}),e.replace(/”/g,'"').replace(/’/g,"'").replace(/‘/g,"`").replace(/　/g," ").replace(/〜/g,"~")},t.zenkaku2hankakuWord=function(t){var e;return e=t.replace(/[！-～]/g,function(t){return t=String.fromCharCode(t.charCodeAt(0)-65248),t=t.replace(/[\^|\$|\\|\.|\*|\+|\?|\(|\)|\[|\]|\|]/gi,"\\$&")}),e.replace(/”/g,'"').replace(/’/g,"'").replace(/‘/g,"`").replace(/　/g," ").replace(/〜/g,"~")},t}(),t.exports=i},function(t,e,i){var n,r,o,s,a;s=i(20),a=i(54),r=i(198),o=i(21),n=function(){function t(){}return t.sendBookLog=function(){return o.send(o.bl,flipper.bookID,flipper.bookUrl(),1)},t.sendViewLog=function(){return o.send(o.vv,flipper.bookID,"vn="+flipper.bookViewNum,1)},t.sendCustomPage=function(){return o.sendCustomPage()},t.sendZoomLog=function(t){var e,i,n,h,u,c,l,p,f,d,g;if(0!==flipper.scaleIndex)return i=t.left,n=t.top,i+=flipper.componentCenter*flipper.scale,f=i-flipper.pageWidth*flipper.scale,g=n-flipper.pageHeight/2*flipper.scale,h=new s(Math.floor(f),Math.floor(g),Math.floor(f+2*flipper.pageWidth*flipper.scale),Math.floor(g+flipper.pageHeight*flipper.scale)),u=new s(flipper.componentLeft,flipper.componentTop,flipper.componentWidth+flipper.componentLeft,flipper.componentHeight+flipper.componentTop),p=a.intersectRect(h,u),c=0-h.left,l=0-h.top,p.offset(c,l),p.setWidth(p.getWidth()/flipper.scale),p.setHeight(p.getHeight()/flipper.scale),p.offset(p.left/flipper.scale-p.left,p.top/flipper.scale-p.top),r.init(flipper.pageWidth,flipper.pageHeight),d=r.getGaPointMihiraki(p.left,p.top,p.getWidth(),p.getHeight()),e="vn="+flipper.bookViewNum+",scaleIndex="+flipper.scaleIndex,e+=","+d+",tm=0",o.send(o.vhm,flipper.bookID,e,1)},t}(),t.exports=n},function(t,e,i){(function(e){var i;i=function(){function t(){}return t.getPage=function(){var t,i,n,r;return n=location.search.substr(1),n.indexOf("page=")>-1?(i=n.substr(n.indexOf("page=")).split("&")[0].split("=")[1],e.parseInt(i)):(t=location.hash.substr(1),t.indexOf("page=")>-1?i=t.substr(t.indexOf("page=")).split("&")[0].split("=")[1]:t.indexOf("p=")>-1?i=t.substr(t.indexOf("p=")).split("&")[0].split("=")[1]:t.indexOf("tco=")>-1?(r=t.substr(t.indexOf("tco=")).split("&")[0].split("=")[1],i=r.split("_")[0]):i=1,i=i>0?i:1,e.parseInt(i))},t.checkPage=function(){var t;return t=location.hash.substr(1),t.indexOf("page=")>-1},t.getRect=function(){var t,e,i,n;return t=location.hash.substr(1),t.indexOf("rect=")>-1?e=t.substr(t.indexOf("rect=")).split("&")[0].split("=")[1]:t.indexOf("tco=")>-1?(n=t.substr(t.indexOf("tco=")).split("&")[0].split("=")[1],i=n.split("_"),e=[i[1],i[2],i[3],i[4]].join("_")):e="0_0_0_0",e.split("_").map(function(t){return parseInt(t,10)})},t.checkRect=function(){var t;return t=location.hash.substr(1),t.indexOf("rect=")>-1||t.indexOf("tco=")>-1},t.getScaleIndex=function(){var t,e,i,n,r;return this.checkInitEmbedSkin()?(n=location.search.substr(1),t=n.substr(n.indexOf("initEmbedSkin=")).split("&")[0].split("=")[1],t.split("_")[2]):(e=location.hash.substr(1),e.indexOf("scaleindex=")>-1?i=e.substr(e.indexOf("scaleindex=")).split("&")[0].split("=")[1]:e.indexOf("scaleIndex=")>-1?i=e.substr(e.indexOf("scaleIndex=")).split("&")[0].split("=")[1]:e.indexOf("tco=")>-1?(r=e.substr(e.indexOf("tco=")).split("&")[0].split("=")[1],i=r.split("_")[6]):i=0,i)},t.checkScaleIndex=function(){var t;return t=location.hash.substr(1),t.indexOf("scaleindex=")>-1||t.indexOf("scaleIndex=")>-1},t.createTwitterString=function(t){},t.checkInitEmbedSkin=function(){var t;return t=location.search.substr(1),t.indexOf("initEmbedSkin=")>-1},t.getEmbedCenter=function(){var t,i,n;return n=location.search.substr(1),i=n.substr(n.indexOf("initEmbedSkin=")).split("&")[0].split("=")[1],t=i.split("_"),[e.parseInt(t[0]),e.parseInt(t[1])]},t.replaceAt=function(t,e,i){return t.substr(0,e)+i+t.substr(e+i.length)},t.isLocal=function(){return 0===location.href.indexOf("http://127.0.0.1")||0===location.href.indexOf("http://localhost")},t.getHighlightWords=function(){var t;return t=location.search.substr(1),t.substr(t.indexOf("highlightwords=")).split("&")[0].split("=")[1]},t.getSOption=function(){var t;return t=location.search.substr(1),t.substr(t.indexOf("soption=")).split("&")[0].split("=")[1]},t.isFLConsole=function(){var t,e;return e=location.hash.substr(1),e.indexOf("console=")>-1&&(t=e.substr(e.indexOf("console=")).split("&")[0].split("=")[1],"true"===t)},t.isOnlineStorageWhiteUrl=function(){return 0===location.href.indexOf("http://127.0.0.1")||0===location.href.indexOf("http://c.logosware.com")||0===location.href.indexOf("https://c.logosware.com")},t}(),t.exports=i}).call(e,i(3))},function(t,e,i){(function(e,n){var r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y,b;_=i(13),i(205),r=i(102),y=i(10),f=i(18),p=i(12),b=i(27),m=i(55),c=i(60),s=i(32),a=i(30),g=i(31),o=i(4),d=i(64),h=i(61),v=i(65),l=i(63),u=i(62),t.exports={name:"carousel",mixins:[d,h,v,l,u],template:i(121),components:{"page-layer":i(57),"page-shadow":i(95)},data:function(){return{leftPageShadow:i(87),rightPageShadow:i(88),isBendFlipping:!1,rotateYForFlipRight:0,rotateYForFlipLeft:-180,imageLinks:[],isFusenDragging:!1,totaldeg:0,isR2LFlip:!1,isL2RFlip:!1,translateX:0,translateY:0,panStartX:0,panStartY:0,transitionDuration:0,isZooming:!1,isDragging:!1,isPanning:!1,isAreaCanvasVisible:!1,areaCanvasType:"",flipStartSound:i(116),flipStopSound:i(115),linkStage:null,canvasPadding:50,isTegakiCanvasVisible:!1,isTegakiIsElaser:!1,fusenOnPressIntervalID:0,debugHeight:0,moveX:0,moveY:0,tmpx:0,tmpy:0,percentX:0,percentY:0,eCenterX:0,eCenterY:0,fusenDepthCounter:0}},computed:{bendR2LVisible:function(){return this.isR2LFlip?"visible":"hidden"},bendL2RVisible:function(){return this.isL2RFlip?"visible":"hidden"},isBendFlipMode:function(){return this.$root.isBendFlipMode},getLeftPageShadow:function(){return this.leftPageShadow},getRightPageShadow:function(){return this.rightPageShadow},backgroundImage:function(){var t;return this.$root.activeRightPageId?(t=this.$root.imagepath?this.$root.imagepath:this.$root.bookpath,t+"page"+this.$root.activeRightPageId+"/x1.jpg?c="+this.$root.noCacheParam):null},backgroundImage2:function(){var t;return this.$root.activeRightRightPageId?(t=this.$root.imagepath?this.$root.imagepath:this.$root.bookpath,t+"page"+this.$root.activeRightRightPageId+"/x1.jpg?c="+this.$root.noCacheParam):null},backgroundImage3:function(){var t;return this.$root.activeLeftLeftPageId?(t=this.$root.imagepath?this.$root.imagepath:this.$root.bookpath,t+"page"+this.$root.activeLeftLeftPageId+"/x1.jpg?c="+this.$root.noCacheParam):null},backgroundImage4:function(){var t;return this.$root.activeLeftPageId?(t=this.$root.imagepath?this.$root.imagepath:this.$root.bookpath,t+"page"+this.$root.activeLeftPageId+"/x1.jpg?c="+this.$root.noCacheParam):null},shadowWidthForFlipR2L_R:function(){var t;return t=this.$root.pageWidth,t-Math.abs(t*this.rotateYForFlipRight/180)},shadowWidthForFlipL2R_L:function(){var t;return t=this.$root.pageWidth,Math.abs(t*this.rotateYForFlipLeft/180)*-1},bendSukima:function(){return y.ios()?1.02:y.safari()?1.03:1.02},bendSliceWidth:function(){return e.ceil(this.$root.pageWidth/10*this.bendSukima,20)},bendSliceCanvasWidth:function(){return e.ceil(this.$root.pageWidth/10*this.bendSukima,20)},bendSliceLeft:function(){return e.floor(this.$root.pageWidth/10+0,2)},bendSliceLeftNodo:function(){return Math.max(this.bendSliceLeft*-9,(this.$root.pageWidth-this.bendSliceCanvasWidth)*-1)},bendPaperR2LRotateY:function(){var t;return t=this.rotateYForFlipRight>-30?Math.sin(this.rotateYForFlipRight/-30*.5*Math.PI)*-10:Math.cos((this.rotateYForFlipRight+30)/-150*.5*Math.PI)*-10,e.round(t,2)},bendPaperL2RRotateY:function(){var t;return t=this.rotateYForFlipLeft<-150?10*Math.sin(this.rotateYForFlipLeft/-30*.5*Math.PI):10*Math.cos((this.rotateYForFlipLeft+150)/-150*.5*Math.PI),e.round(t,2)},linkCanvasBorderStyleForDebug:function(){return""},flipSpeed:function(){var t;return t=0,!_()&&this.$root.speed>0&&(t=0),1e3*this.$root.speed+t},multiFlipSpeed:function(){return Math.min(this.flipSpeed,200)},hidariue:function(){return this.translateX-this.$root.pageWidth*this.$root.scale},hidariue2:function(){return this.translateY-this.$root.pageHeight/2*this.$root.scale},isFlipping:function(){return this.isR2LFlip||this.isL2RFlip},counter:function(){return Math.floor(Math.abs(this.totaldeg*-1/180))},counter01:function(){return Math.abs(this.counter%2)},counter10:function(){return 0===this.counter01?1:0},aaa:function(){return"r2l"===this.$root.bookDirection?this.totaldeg-(this.totaldeg+180*(this.counter+1)/2)*this.counter01+90*this.counter*this.counter10:this.totaldeg*-1-(-1*this.totaldeg+180*(this.counter+1)/2)*this.counter01+90*this.counter*this.counter10},bbb:function(){return"r2l"===this.$root.bookDirection?this.totaldeg-this.aaa:this.totaldeg*-1-this.aaa},aaa360:function(){return"r2l"===this.$root.bookDirection?this.aaa%360:(360+this.aaa%360)*-1},bbb360:function(){return"r2l"===this.$root.bookDirection?this.bbb%360:(360+this.bbb%360)*-1},counteramari4:function(){return"r2l"===this.$root.bookDirection?2*this.counter%8:2*this.counter%8},counteramari4plus1:function(){return"r2l"===this.$root.bookDirection?this.counteramari4+1:this.counteramari4+1},hyoujiindexr:function(){return"r2l"===this.$root.bookDirection?2*this.$root.bookViewNum%8:this.hyoujiindexl-1>=0?this.hyoujiindexl-1:7},hyoujiindexl:function(){return"r2l"===this.$root.bookDirection?this.hyoujiindexr-1>=0?this.hyoujiindexr-1:7:2*this.$root.bookViewNum%8},hyoujiindexrr:function(){var t;return t="r2l"===this.$root.bookDirection?1:-1,this.hyoujiindexr%8+t},hyoujiindexll:function(){var t;return t="r2l"===this.$root.bookDirection?-1:1,this.hyoujiindexl%8+t},underIndexR:function(){return"r2l"===this.$root.bookDirection?this.hyoujiindexr+2<=7?this.hyoujiindexr+2:this.hyoujiindexr+2-8:this.hyoujiindexr-2>=0?this.hyoujiindexr-2:this.hyoujiindexr-2+8},underIndexL:function(){return"r2l"===this.$root.bookDirection?this.hyoujiindexl-2>=0?this.hyoujiindexl-2:this.hyoujiindexl-2+8:this.hyoujiindexl+2<=7?this.hyoujiindexl+2:this.hyoujiindexl+2-8},uraindexr:function(){return this.hyoujiindexr+4<=7?this.hyoujiindexr+4:this.hyoujiindexr+4-8},uraindexl:function(){return this.hyoujiindexl+4<=7?this.hyoujiindexl+4:this.hyoujiindexl+4-8},index:function(){return this.$root.bookViewNum+1},a0:function(){return this.realPageOr0(8*Math.floor((this.index-0)/4)+1+Math.abs(1-this.$root.startPageSetting))},a1:function(){return this.realPageOr0(8*Math.floor((this.index-1)/4)+2+Math.abs(1-this.$root.startPageSetting))},b2:function(){return this.realPageOr0(8*Math.floor((this.index-1)/4)+3+Math.abs(1-this.$root.startPageSetting))},b3:function(){return this.realPageOr0(8*Math.floor((this.index-2)/4)+4+Math.abs(1-this.$root.startPageSetting))},a4:function(){return this.realPageOr0(8*Math.floor((this.index-2)/4)+5+Math.abs(1-this.$root.startPageSetting))},a5:function(){return this.realPageOr0(8*Math.floor((this.index-3)/4)+6+Math.abs(1-this.$root.startPageSetting))},b6:function(){return this.realPageOr0(8*Math.floor((this.index-3)/4)+7+Math.abs(1-this.$root.startPageSetting))},b7:function(){return this.realPageOr0(8*Math.floor((this.index-4)/4)+8+Math.abs(1-this.$root.startPageSetting))},carouselArray:function(){return[this.a0,this.a1,this.b2,this.b3,this.a4,this.a5,this.b6,this.b7]}},methods:{answerLinkInitialDisplay:function(t){return function(t){return"answer"!==t.key||"extension"!==t.target}}(this),onLoadImageForFlipCanvas:function(t){return function(t,e){}}(this),getTransformIgnoreFF0:function(t){var e;return e={},0!==this.calcRotateY(t)&&(e.transform="rotateY("+this.calcRotateY(t)+"deg) translate3d(0px,0px,0px)"),e},getUraCanvasLeft:function(t){return function(t,i){var n,r;return r={},y.safari()?(r.right="0px",n=1,r.backgroundPosition=e.ceil(i*-1*t+n)+"px 0px"):(r.left="-1px",r.backgroundPosition=i*-1*t+"px 0px"),r}}(this),realPageOr0:function(t){return t<=0||t>this.$root.pageTotal?0:t},getLeft:function(t){return"r2l"===this.$root.bookDirection?this.$root.componentCenter-t%2*this.$root.pageWidth:this.$root.componentCenter-(t+1)%2*this.$root.pageWidth},checkBrightness:function(t,e,i,n){return null},isPrintTarget:function(t,e,i){return this.isPrintTargetL(t,e,i)||this.isPrintTargetR(t,e,i)},isPrintTargetL:function(t,e,i){return t===this.hyoujiindexl},isPrintTargetR:function(t,e,i){return t===this.hyoujiindexr},isPrintTargetIgnore:function(t,e,i){return!this.isPrintTarget(t,e,i)},checkvif:function(t){return!(t<1||t>this.$root.pageTotal)},checkvshow:function(t,e,i,n,r){var o;return o=!1,this.uraindexr!==t&&this.uraindexl!==t&&("r2l"===this.$root.bookDirection?(0===t&&(o=e>=-180&&e<=0),1===t&&(o=e>=-180&&e<=0),4===t&&(o=e<=-180&&e>=-360),5===t&&(o=e<=-180&&e>-360||0===e),2===t&&(o=i>=-180&&i<=0),3===t&&(o=i>=-180&&i<=0),6===t&&(o=i<=-180&&i>=-360),7===t&&(o=i<=-180&&i>=-360||0===i)):(0===t&&(o=e>=-360&&e<=-180),1===t&&(o=e>=-360&&e<=-180),4===t&&(o=e>=-180&&e<0||e===-360),5===t&&(o=e>=-180&&e<0||e===-360),2===t&&(o=i>=-360&&i<=-180),3===t&&(o=i>=-360&&i<=-180),6===t&&(o=i>=-180&&i<0||i===-360),7===t&&(o=i>=-180&&i<0||i===-360)),this.isBendFlipMode&&this.isBendFlipping&&(o=!1,n&&(this.underIndexR===t&&(o=!0),this.hyoujiindexl===t&&(o=!0)),r&&(this.underIndexL===t&&(o=!0),this.hyoujiindexr===t&&(o=!0))),n===!1&&r===!1&&(o=t===this.hyoujiindexr||t===this.hyoujiindexl),o)},calcRotateY:function(t){var e;return"r2l"===this.$root.bookDirection?(0===t&&(e=this.aaa360),1===t&&(e=this.aaa360+180),4===t&&(e=this.aaa360+180),5===t&&(e=this.aaa360+0),2===t&&(e=this.bbb360+0),3===t&&(e=this.bbb360+180),6===t&&(e=this.bbb360+180),7===t&&(e=this.bbb360+0)):(0===t&&(e=this.aaa360+360),1===t&&(e=this.aaa360+180),4===t&&(e=this.aaa360+180),5===t&&(e=this.aaa360+360),2===t&&(e=this.bbb360+360),3===t&&(e=this.bbb360+180),6===t&&(e=this.bbb360+180),7===t&&(e=this.bbb360+360)),e},getTransformOrigin:function(t,e){return"r2l"===this.$root.bookDirection?t%2===0?"left":"right":t%2===0?"right":"left"},getZIndex:function(t,e,i){var n;return n=0,t===this.hyoujiindexr&&(n=2),t===this.hyoujiindexl&&(n=2),t===this.counteramari4&&(n=4),t===this.counteramari4plus1&&(n=4),"r2l"===this.$root.bookDirection?(0===t&&e<=0&&e>-90&&(n+=1),1===t&&e<=-90&&e>-180&&(n+=1),4===t&&e<=-180&&e>-270&&(n+=1),5===t&&e<=-270&&e>-360&&(n+=1),2===t&&i<=0&&i>-90&&(n+=1),3===t&&i<=-90&&i>-180&&(n+=1),6===t&&i<=-180&&i>-270&&(n+=1),7===t&&i<=-270&&i>-360&&(n+=1)):(0===t&&e<-270&&e>=-360&&(n+=1),1===t&&e<=-180&&e>-270&&(n+=1),
4===t&&e<-90&&e>=-180&&(n+=1),5===t&&(e<=-0&&e>-90||e===-360)&&(n+=1),2===t&&i<-270&&i>=-360&&(n+=1),3===t&&i<=-180&&i>-270&&(n+=1),6===t&&i<-90&&i>=-180&&(n+=1),7===t&&(i<=-0&&i>-90||i===-360)&&(n+=1)),n},gotoTargetPage:function(t){var e;if(t=parseInt(t,10),!isNaN(t)&&!(t<1||t>this.$root.pageTotal||this.isFlipping||(e=Math.floor((t-Math.abs(1-this.$root.startPageSetting))/2),e===this.$root.bookViewNum)))return this.$root.selectedRightPageString="",this.$root.selectedLeftPageString="",this.isL2RFlip=!0,this.totaldeg="r2l"===this.$root.bookDirection?-180*e:180*e,this.$root.bookViewNum=e,Vue.nextTick(function(t){return function(){return t.isR2LFlip=t.isL2RFlip=!1,t.onFlipStop()}}(this))},flipR:function(t,e){if(!this.isFlipping){if("r2l"===this.$root.bookDirection){if(this.$root.bookViewNum===this.$root.bookViewLength-1)return}else if(0===this.$root.bookViewNum)return;this.$root.selectedRightPageString="",this.$root.selectedLeftPageString="",this.isR2LFlip=!0,this.isL2RFlip=!1,this.isBendFlipping=this.isBendFlipMode,this.rotateYForFlipRight=-5,createjs.Tween.get(this).to({totaldeg:this.totaldeg-180,rotateYForFlipRight:-180},t,createjs.Ease.quadInOut).call(e,["test"])}},flipL:function(t,e){if(!this.isFlipping){if("r2l"===this.$root.bookDirection){if(0===this.$root.bookViewNum)return}else if(this.$root.bookViewNum===this.$root.bookViewLength-1)return;this.$root.selectedRightPageString="",this.$root.selectedLeftPageString="",this.isR2LFlip=!1,this.isL2RFlip=!0,this.isBendFlipping=this.isBendFlipMode,this.rotateYForFlipLeft=-175,createjs.Tween.get(this).to({totaldeg:this.totaldeg+180,rotateYForFlipLeft:0},t,createjs.Ease.quadInOut).call(e,["test"])}},onFlipR2LEnd:function(t){if(this.isR2LFlip=!1,this.isL2RFlip=!1,this.$root)return"r2l"===this.$root.bookDirection?this.$root.bookViewNum=this.$root.bookViewNum+1:this.$root.bookViewNum=this.$root.bookViewNum-1,this.onFlipStop()},onFlipL2REnd:function(t){if(this.isR2LFlip=!1,this.isL2RFlip=!1,this.$root)return"r2l"===this.$root.bookDirection?this.$root.bookViewNum=this.$root.bookViewNum-1:this.$root.bookViewNum=this.$root.bookViewNum+1,this.onFlipStop()},onFlipStop:function(){if(this.isBendFlipping=!1,flipper.sound&&_()&&createjs.Sound.play("flipStopSound"),this.$dispatch("flipStop"),r.sendViewLog(),r.sendCustomPage(),this._sendZoomLog(),this.isAreaCanvasVisible)return this.$broadcast("intersectChars")},repeatFlip:function(t,e,i){return flipper.sound&&_()&&createjs.Sound.play("flipStopSound"),this.isR2LFlip=this.isL2RFlip=!1,this.$root.bookViewNum=this.$root.bookViewNum+i,this.$root.bookViewNum===t?(this.$dispatch("flipStop"),r.sendViewLog(),r.sendCustomPage(),void this._sendZoomLog()):Vue.nextTick(function(n){return function(){var r;return t>n.$root.bookViewNum?"r2l"===n.$root.bookDirection?n.isR2LFlip=!0:n.isL2RFlip=!0:"r2l"===n.$root.bookDirection?n.isL2RFlip=!0:n.isR2LFlip=!0,r=1===Math.abs(n.$root.bookViewNum-t)?n.flipSpeed:n.multiFlipSpeed,r=1===Math.abs(n.$root.bookViewNum-t)?n.multiFlipSpeed:n.multiFlipSpeed,createjs.Tween.get(n).to({totaldeg:n.totaldeg+e},r,createjs.Ease.quadInOut).call(n.repeatFlip,[t,e,i])}}(this))},transitionDurationOn:function(){return this.$set("transitionDuration",.1)},transitionDurationOff:function(){if(this.transitionDuration>0)return this.$set("transitionDuration",0)},otherTransitionEnd:function(t){return this.$set("isZooming",!1),this.transitionDurationOff(),this.$set("isZooming",!1),this.isDragging&&this.$set("isDragging",!1),this._sendZoomLog()},_sendZoomLog:function(){var t,i,n,o,s,a,h,u,c;return _()||(s=e.max([this.global2PercentX(this.$root.componentLeft),0]),h=e.min([this.global2PercentX(this.$root.componentLeft+this.$root.componentWidth),1]),c=e.max([this.global2PercentY(this.$root.componentTop),-.5]),i=e.min([this.global2PercentY(this.$root.componentTop+this.$root.componentHeight),.5]),o=e.floor(s*this.$root.pageWidth*2),a=e.floor(h*this.$root.pageWidth*2),u=e.floor((c+.5)*this.$root.pageHeight),t=e.floor((i+.5)*this.$root.pageHeight),this._updateRootSelecedArea(o,u,a,t)),n=this.$els.carousel.getBoundingClientRect(),r.sendZoomLog(n)},_drawRectOnDrawingCanvas:function(t,e,i,n){return this.drawingCanvas.graphics.clear().beginFill("rgba(255,170,170,0.5)").drawRect(t,e,i,n),this.stage.update()},_updateRootSelecedArea:function(t,e,i,n){var r,o,s,a,h,u,c;if("text"===this.areaCanvasType)return this.$root.selectedAreaLeft=t,this.$root.selectedAreaTop=e,this.$root.selectedAreaRight=i,this.$root.selectedAreaBottom=n,this.$broadcast("intersectChars");if("url"===this.areaCanvasType)return t===e&&e===i&&i===n&&0===n&&(i=2*this.$root.pageWidth,n=this.$root.pageHeight),this.$root.selectedAreaForUrlLeft=t,this.$root.selectedAreaForUrlTop=e,this.$root.selectedAreaForUrlRight=i,this.$root.selectedAreaForUrlBottom=n;if("zoom"!==this.areaCanvasType)return t===e&&e===i&&i===n&&0===n&&(c=this.isRightPage?this.$root.pageWidth:0,t=0+c,e=0,i=1*this.$root.pageWidth+c,n=this.$root.pageHeight),this.$root.selectedAreaForUrlLeft=t,this.$root.selectedAreaForUrlTop=e,this.$root.selectedAreaForUrlRight=i,this.$root.selectedAreaForUrlBottom=n;if(this.isAreaCanvasVisible)if(t===e&&e===i&&i===n&&0===n);else{for(a=0,h=this.$root.scaleArray.length;;){if(u=this.$root.scaleArray[h],s=this.$root.componentWidth>(i-t)*u&&this.$root.componentHeight>(n-e)*u&&h<this.$root.scaleArray.length){a=h;break}if(0===h)break;h--}if(a>0)return this.$set("isZooming",!0),this.transitionDurationOn(),r=(i-t)/2+t,o=(n-e)/2+e,a=Math.min(a,this.$root.scaleArray.length-1),this.translateX=(this.$root.pageWidth-r)*this.$root.scaleArray[a],this.translateY=(this.$root.pageHeight/2-o)*this.$root.scaleArray[a],this.$root.scaleIndex=a,this.$parent.$dispatch("areaCanvas","zoom",!1)}},_drawFusensFromPageComponent:function(t,i){var n,r,o,s,a;if(t&&0!==t.length&&!this.isFlipping){for(r=e.cloneDeep(t),i&&e.map(r,function(t){return function(e){return e.x=e.x+t.$root.pageWidth,e}}(this)),a=[],o=0,s=r.length;o<s;o++)n=r[o],this.$root.activeLeftPageId===n.pageId||this.$root.activeRightPageId===n.pageId?a.push(this.pasteFusen(n.id,n.text,n.x,n.y,n.bgColor,n.access_type,n.read_only)):a.push(void 0);return a}},_drawPensFromPageComponent:function(t,i){var n,r,o,s;if(t&&!this.isFlipping){for(s=e.cloneDeep(t),i&&e.map(s,function(t){return function(i,n,r){return e.map(i.points,function(e,i,n){return e.x=e.x+t.$root.pageWidth,e}),i.minX=i.minX+t.$root.pageWidth,i.maxX=i.maxX+t.$root.pageWidth,i}}(this)),n=0,r=s.length;n<r;n++)o=s[n],this.$root.activeLeftPageId!==o.pageId&&this.$root.activeRightPageId!==o.pageId||this.penDataArray.push(o);return this.penDataArray2Canvas(this.drawDisplayShape,this.linkStage),this.isTegakiCanvasVisible&&(this.clearDrawDisplayShape(),this.penDataArray2Canvas(this.drawingShape,this.penStage)),this.$root.isOnLibra?i?this.restoredLibraPenCarouselRPage=!0:this.restoredLibraPenCarouselLPage=!0:void 0}},clearDrawDisplayShape:function(){var t;return this.drawDisplayShape.graphics.clear(),this.drawDisplayShape.updateCache(),null!=(t=this.linkStage)?t.update():void 0},clearDrawingShape:function(){var t;return this.drawingShape.graphics.clear(),this.drawingShape.updateCache(),null!=(t=this.penStage)?t.update():void 0},_drawLinkFromPageComponent:function(t,i,n){return this.xmlParser.parseString(t,function(t){return function(r,o){var s,a,h,u,l,p,f,d,g,v;if(c.owner=t,c.rt=t.$root,c.bookPath=t.$root.bookpath,c.isClickDelay=!_(),c.noCacheParam=t.$root.noCacheParam,d=o.page.hitArea[0].a,t.linkStage.enableMouseOver(10),"array"===m.type(d)){for(u=l=0,p=d.length;l<p;u=++l)f=d[u],g=i?t.$root.pageWidth:0,"image"!==f.shape[0]?(v=c.createShape(n,f,t.linkStage,g+t.canvasPadding,t.canvasPadding,i,t.$root.pageWidth,t.$root.pageHeight),v&&t.linkStage.addChildAt(v,u)):(s=c.createShape(n,f,t.linkStage,g+t.canvasPadding,t.canvasPadding,i,t.$root.pageWidth,t.$root.pageHeight),s&&t.linkStage.addChildAt(s,u),a=c.getBitmapPath(f,t.linkStage,g+t.canvasPadding,t.canvasPadding,i,t.$root.pageWidth,t.$root.pageHeight),a&&(h=new Image,t.imageLinks.push({id:f.id[0],path:a,x:e.parseInt(f._x[0])+e.parseInt(g)+e.parseInt(t.canvasPadding),y:e.parseInt(f._y[0])+e.parseInt(t.canvasPadding),w:Math.abs(f.imageWidth[0]),h:Math.abs(f.imageHeight[0]),scaleX:f.imageScaleX[0],scaleY:f.imageScaleY[0],deg:f.shapeRotation[0],lr:i?"r":"l",target:f.linkTarget[0],key:f.key[0]}),h.addEventListener("load",t.onLoadImageLink(t,f,i),!0),h.src=a));return t.linkStage.update()}}}(this))},canSwipeEnable:function(t,e){return!this.isFusenDragging},canPanEnable:function(t,e){return!this.isFusenDragging},canPinchEnable:function(t,e){return!this.isFusenDragging},global2PercentX:function(t){var i,n;return i=this.$els.componentSize.getBoundingClientRect().width,n=t-this.$els.componentSize.getBoundingClientRect().left,e.round(n/i,2)},global2PercentY:function(t){var i,n;return i=this.$els.componentSize.getBoundingClientRect().height,n=t-(this.$els.componentSize.getBoundingClientRect().top+this.$els.componentSize.getBoundingClientRect().height/2),e.round(n/i,2)},percentX2global:function(t){var e,i;return t+=.5,i=this.$els.componentSize.getBoundingClientRect().width,e=this.$els.componentSize.getBoundingClientRect().left,t*i+e},percentY2global:function(t){var e,i;return e=this.$els.componentSize.getBoundingClientRect().height,i=this.$els.componentSize.getBoundingClientRect().top+this.$els.componentSize.getBoundingClientRect().height/2,t*e+i},getTmpX:function(){return this.$els.componentSize.getBoundingClientRect().left+this.$els.componentSize.getBoundingClientRect().width/2},getTmpY:function(){return this.$els.componentSize.getBoundingClientRect().top+this.$els.componentSize.getBoundingClientRect().height/2},zoomAction:function(t,e,i){var n,r,o,s,a;if(this.$set("isZooming",!0),this.transitionDurationOn(),this.$root.autoScaleMode=!0,this.translateXStart=this.translateX,this.translateYStart=this.translateY,this.tmpx=this.getTmpX(),this.tmpy=this.getTmpY(),this.percentX=this.global2PercentX(e),this.percentY=this.global2PercentY(i),this.percentX=this.percentX-.5,r=this.$root.scaleArray[t],o=2*this.$root.pageWidth*r,s=o*this.percentX+this.tmpx,this.moveX=-(s-e),n=this.$root.pageHeight*r,a=n*this.percentY+this.tmpy,this.moveY=-(a-i),this.translateX=this.moveX+this.translateXStart,this.translateY=this.moveY+this.translateYStart,this.translateX=this.repositionX(r),this.translateY=this.repositionY(r),0===t)return this.$set("translateX",0),this.$set("translateY",0)},createFusenDataArray:function(t,i,n,r){var o,s,h,u,c,l,f,d,g,v,m,_,y;for(this.$root.isOnLibra&&"libraRemove"===i&&this.removeLibra("fusens",t),v=[],f=d=0,m=null!=(_=this.linkStage)?_.numChildren:void 0;0<=m?d<m:d>m;f=0<=m?++d:--d)"fusen"===(null!=(y=this.linkStage.getChildAt(f))?y.name:void 0)&&(u=this.linkStage.getChildAt(f),h=new a(u.id,u.getText(),e.round(u.x),e.round(u.y),u.bgColor,"#000000",300,100),o=50,c=h.x-o+this.$root.fusenWidth/2,c<=this.$root.pageWidth?h.resolve(this.$root.activeLeftPageId):h.resolve(this.$root.activeRightPageId),void 0===this.$root.activeLeftPageId&&c<=this.$root.pageWidth&&h.resolve(this.$root.activeRightPageId),void 0===this.$root.activeRightPageId&&c>this.$root.pageWidth&&h.resolve(this.$root.activeLeftPageId),v.push(h));if(!this.$root.isOnLibra||!r){if(this.$root.activeLeftPageId)if(l=e.filter(e.cloneDeep(v),function(t){return function(e){return e.pageId===t.$root.activeLeftPageId}}(this)),this.$root.isOnLibra){if(h=e.find(l,{id:t}))switch(i){case"libraAdd":this.addLibra("fusens",h);break;case"libraUpdate":this.updateLibra("fusens",h,n)}}else try{p.add(this.$root.activeLeftPageId,l)}catch(t){s=t,this.$root.error=s}if(this.$root.activeRightPageId)if(g=e.filter(e.cloneDeep(v),function(t){return function(e){return e.pageId===t.$root.activeRightPageId}}(this)),e.map(g,function(t){return function(e){return e.x=e.x-t.$root.pageWidth,e}}(this)),this.$root.isOnLibra){if(h=e.find(g,{id:t}))switch(i){case"libraAdd":return this.addLibra("fusens",h);case"libraUpdate":return this.updateLibra("fusens",h,n)}}else try{return p.add(this.$root.activeRightPageId,g)}catch(t){return s=t,this.$root.error=s}}},p3:function(){var t,i,n,r,s,a;if(this.$root.isOnLibra){if("carousel"===this.$options.name){if(!this.restoredLibraPenCarouselCurrentPage)return void o.log("描画されていないから止める")}else if(!this.restoredLibraPenSlideCurrentPage)return void o.log("描画されていないから止める");if(this.penDataArray.length<1)return void o.log("これ2")}if(s=e.cloneDeep(e.maxBy(e.last(this.penDataArray).points,"x")),a=e.cloneDeep(e.minBy(e.last(this.penDataArray).points,"x")),i=(a.x+s.x)/2,i<=this.$root.pageWidth?e.last(this.penDataArray).resolve(this.$root.activeLeftPageId):e.last(this.penDataArray).resolve(this.$root.activeRightPageId),void 0===this.$root.activeLeftPageId&&e.last(this.penDataArray).resolve(this.$root.activeRightPageId),void 0===this.$root.activeRightPageId&&e.last(this.penDataArray).resolve(this.$root.activeLeftPageId),e.last(this.penDataArray).pageId===this.$root.activeLeftPageId)if(r=e.filter(this.penDataArray,function(t){return function(e){return e.pageId===t.$root.activeLeftPageId}}(this)),this.$root.isOnLibra)this.addLibra("pens",e.last(r));else try{f.add(this.$root.activeLeftPageId,r)}catch(t){n=t,this.$root.error=n}else if(t=e.cloneDeep(this.penDataArray),r=e.filter(t,function(t){return function(e){return e.pageId===t.$root.activeRightPageId}}(this)),e.map(r,function(t){return function(i,n,r){return e.map(i.points,function(e,i,n){return e.x=e.x-t.$root.pageWidth,e}),i}}(this)),this.$root.isOnLibra)this.addLibra("pens",e.last(r));else try{f.add(this.$root.activeRightPageId,r)}catch(t){n=t,this.$root.error=n}},repositionX:function(t){var e;return e=this.$root.pageWidth*t,this.translateX>e?e:(e=this.$root.pageWidth*t*-1,this.translateX<e?e:this.translateX)},repositionY:function(t){var e;return e=this.$root.pageHeight*t/2,this.translateY>e?e:(e=this.$root.pageHeight*t/2*-1,this.translateY<e?e:this.translateY)}},created:function(){return this.$on("open_page_answer",function(t){var e,i,n,r,o,s,a,h;for(a=[],n=0,e=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;e>=0;)"drawDisplayShape"===(null!=(o=this.linkStage.getChildAt(e))?o.name:void 0)||(s=this.linkStage.getChildAt(e),i=s.link,parseInt(t,10)===parseInt(s.page,10)&&"extension"===i.linkTarget[0]&&"answer"===i.key[0]&&(s.toggle&&(n+=1),a.push(s))),e--;return(h=function(t){return function(e){var i,n,r,o,s,h;for(s=[],i=0,n=a.length;i<n;i++)h=a[i],h.toggle=e,c.updateShape(h,"normal"),t.linkStage.update(),r=h.link.id,o=h.isRightPage?"r":"l",s.push(c.updateAnswerImage(r,o,e));return s}}(this))(a.length!==n)}),this.$on("open_group_answer",function(t){var e,i,n,r,o,s,a,h;for(a=[],n=0,e=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;e>=0;)"drawDisplayShape"===(null!=(o=this.linkStage.getChildAt(e))?o.name:void 0)||(s=this.linkStage.getChildAt(e),i=s.link,"extension"===i.linkTarget[0]&&"answer"===i.key[0]&&t===i.linkUrl[0]&&(s.toggle&&(n+=1),a.push(s))),e--;return(h=function(t){return function(e){var i,n,r,o,s,h;for(s=[],i=0,n=a.length;i<n;i++)h=a[i],h.toggle=e,c.updateShape(h,"normal"),t.linkStage.update(),r=h.link.id,o=h.isRightPage?"r":"l",s.push(c.updateAnswerImage(r,o,e));return s}}(this))(a.length!==n)}),this.xmlParser=new b.Parser,flipper.sound&&_()&&(createjs.Sound.registerSound(this.flipStartSound,"flipStartSound"),createjs.Sound.registerSound(this.flipStopSound,"flipStopSound")),this.$on("flipR",function(){return this.flipR(this.flipSpeed,this.onFlipR2LEnd)}),this.$on("flipL",function(){return this.flipL(this.flipSpeed,this.onFlipL2REnd)}),this.$on("zoomin",function(t,e){return null==t&&(t=this.$root.componentCenterGlobal),null==e&&(e=this.$root.componentMiddleGlobal),this.zoomAction(this.$root.scaleIndex+1,t,e)}),this.$on("zoomout",function(t,e){return null==t&&(t=this.$root.componentCenterGlobal),null==e&&(e=this.$root.componentMiddleGlobal),this.zoomAction(this.$root.scaleIndex-1,t,e)}),this.$on("zoomAt",function(t){return this.zoomAction(t,this.$root.componentCenterGlobal,this.$root.componentMiddleGlobal)}),this.$on("gotoTargetPage1",function(t){return this.gotoTargetPage(t)}),this.$on("gotoTargetPage2",function(t){var e,i,n,r,o,s,a,h;return 0===this.flipSpeed?void this.gotoTargetPage(t):(t=parseInt(t,10),isNaN(t)||t<1||t>this.$root.pageTotal||this.isFlipping||(s=Math.floor((t-Math.abs(1-this.$root.startPageSetting))/2),s===this.$root.bookViewNum)?void 0:(e="r2l"===this.$root.bookDirection?-180:180,s>this.$root.bookViewNum?(a=1,r=10):(a=-1,r=-10,e*=-1),o=t-r,h=Math.floor((o-Math.abs(1-this.$root.startPageSetting))/2),Math.abs(this.$root.bookViewNum-s)>3&&(i=180*h,"r2l"===this.$root.bookDirection&&(i*=-1),this.totaldeg=i,this.$root.bookViewNum=h),this.isR2LFlip=this.isL2RFlip=!1,s>this.$root.bookViewNum?"r2l"===this.$root.bookDirection?this.isR2LFlip=!0:this.isL2RFlip=!0:"r2l"===this.$root.bookDirection?this.isL2RFlip=!0:this.isR2LFlip=!0,n=1===Math.abs(this.$root.bookViewNum-s)?this.multiFlipSpeed:this.multiFlipSpeed,createjs.Tween.get(this).to({totaldeg:this.totaldeg+e},n,createjs.Ease.quadInOut).call(this.repeatFlip,[s,e,a])))}),this.$on("areaCanvas",function(t,e){null==e&&(e="url"),this.isAreaCanvasVisible=t,this.areaCanvasType=e,t?(this._drawRectOnDrawingCanvas(0,0,0,0),this._updateRootSelecedArea(0,0,0,0)):(this._drawRectOnDrawingCanvas(0,0,0,0),this._updateRootSelecedArea(0,0,0,0))}),this.$on("hammer",function(t){return this.mc.set({enable:t})}),this.isTegakiCanvasVisibleWatcher=this.$watch(function(){return this.isTegakiCanvasVisible},function(t,e){return t?(this.clearDrawDisplayShape(),this.penDataArray2Canvas(this.drawingShape,this.penStage)):this.penDataArray2Canvas(this.drawDisplayShape,this.linkStage)}),this.isFlippingUnwatcher=this.$watch(function(){return this.isFlipping},function(t,e){var i,n,r,o,s,a;if(t===!0){for(null!=(n=this.linkStage)&&n.enableMouseOver(0),y.not.edge()&&y.not.android()&&createjs.Ticker.setFPS(40),i=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;i>=0;)"drawDisplayShape"===(null!=(o=this.linkStage.getChildAt(i))?o.name:void 0)||this.linkStage.removeChildAt(i),i--;return this.fusenDepthCounter=0,this.drawDisplayShape.graphics.clear(),this.drawDisplayShape.updateCache(),null!=(s=this.linkStage)&&s.update(),this.penDataArray=[],this.drewPenIds=[],this.imageLinks=[],this.drawingShape.graphics.clear(),this.drawingShape.updateCache(),null!=(a=this.penStage)?a.update():void 0}return createjs.Ticker.setFPS(20)})},ready:function(){var t,e,i,s,a,h,u,c,l,p;if(this.$root.isInitialized?(this.transitionDurationOff(),l=this.$root.slideViewNum+1,p=Math.floor((l-Math.abs(1-this.$root.startPageSetting))/2),this.totaldeg="r2l"===this.$root.bookDirection?-180*p:180*p,this.$root.bookViewNum=p):(r.sendBookLog(),l=this.$root.startPage,p=Math.floor((l-Math.abs(1-this.$root.startPageSetting))/2),this.totaldeg="r2l"===this.$root.bookDirection?-180*p:180*p,this.$root.bookViewNum=p),this.$dispatch("flipStop",{isInit:!0}),this.$root.isInitAreaVisible&&this.$root.initAreaScaleIndex>0){for(h=Number(this.$root.initAreaScaleIndex);;){if(u=this.$root.scaleArray[h],a=this.$root.componentWidth>this.$root.startRectW*u&&this.$root.componentHeight>this.$root.startRectH*u&&h<this.$root.scaleArray.length){this.$root.initAreaScaleIndex=h;break}if(0===h)break;h--}o.log("枠が入るように初期化スケール補正---->",this.$root.initAreaScaleIndex),this.$root.initAreaScaleIndex>0&&(t=this.$root.startRectW/2+this.$root.startRectX,e=this.$root.startRectH/2+this.$root.startRectY,this.$root.scaleIndex=Math.min(this.$root.initAreaScaleIndex,this.$root.scaleArray.length-1),this.translateX=(this.$root.pageWidth-t)*this.$root.scaleArray[this.$root.initAreaScaleIndex],this.translateY=(this.$root.pageHeight/2-e)*this.$root.scaleArray[this.$root.initAreaScaleIndex])}return this.$root.initEmbedScale>0&&(this.$root.scaleIndex=Math.min(this.$root.initEmbedScale,this.$root.scaleArray.length-1),t=this.$root.embedStartX,e=this.$root.embedStartY,this.translateX=(this.$root.pageWidth-t)*this.$root.scaleArray[this.$root.scaleIndex],this.translateY=(this.$root.pageHeight/2-e)*this.$root.scaleArray[this.$root.scaleIndex]),r.sendViewLog(),r.sendCustomPage(),this._sendZoomLog(),null===this.linkStage&&(this.linkStage=new createjs.Stage(this.$els.linkCanvas)),createjs.Touch.isSupported()&&createjs.Touch.enable(this.linkStage),this.drawDisplayShape=new createjs.Shape,this.drawDisplayShape.name="drawDisplayShape",this.drawDisplayShape.x=this.canvasPadding,this.drawDisplayShape.y=this.canvasPadding,this.linkStage.addChild(this.drawDisplayShape),this.drawDisplayShape.cache(0,0,this.$els.linkCanvas.width,this.$els.linkCanvas.height),this.penStage=new createjs.Stage(this.$els.penCanvas),this.penStage.enableDOMEvents(!0),this.drawingShape=new createjs.Shape,this.penStage.addChild(this.drawingShape),this.penStage.update(),this.penDataArray=[],createjs.Touch.isSupported()&&createjs.Touch.enable(this.penStage),this.drawingShape.cache(0,0,this.$els.penCanvas.width,this.$els.penCanvas.height),_()||y.ie()?(this.handleMouseDownForPen=function(t){return function(e){return t.isPenDrawing&&t.p3(),t.p1(),t.isPenDrawing=!0}}(this),this.handleMouseMoveForPen=function(t){return function(e){if(t.isPenDrawing)return t.p2(e)}}(this),this.handleMouseUpForPen=function(t){return function(e){return t.p3(),t.isPenDrawing=!1}}(this)):(this.handleMouseDownForPen=function(t){return function(e){return t.isPenDrawing&&t.p3(),t.p1()}}(this),this.handleMouseMoveForPen=function(t){return function(e){return t.isPenDrawing=!0,t.p2(e)}}(this),this.handleMouseUpForPen=function(t){return function(e){return t.p3(),t.isPenDrawing=!1}}(this)),this.penStage.addEventListener("stagemousemove",this.handleMouseMoveForPen),this.penStage.addEventListener("stagemousedown",this.handleMouseDownForPen),this.penStage.addEventListener("stagemouseup",this.handleMouseUpForPen),this.stage=new createjs.Stage(this.$els.areaCanvas),this.stage.enableDOMEvents(!0),createjs.Touch.isSupported()&&createjs.Touch.enable(this.stage),this.drawingCanvas=new createjs.Shape,this.stage.addChild(this.drawingCanvas),this.stage.update(),this.handleMouseDown=function(t){return function(e){if(e.primary)return t.downPt=new createjs.Point(t.stage.mouseX,t.stage.mouseY),t.stage.addEventListener("stagemousemove",s)}}(this),s=function(t){return function(e){if(e.primary)return t._drawRectOnDrawingCanvas(t.downPt.x,t.downPt.y,t.stage.mouseX-t.downPt.x,t.stage.mouseY-t.downPt.y)}}(this),this.handleMouseUp=function(t){return function(e){var i,n,r,o;if(e.primary&&(t.stage.removeEventListener("stagemousemove",s),t.downPt.x!==t.stage.mouseX||t.downPt.y!==t.stage.mouseY))return n=Math.floor(Math.min(t.downPt.x,t.stage.mouseX)),o=Math.floor(Math.min(t.downPt.y,t.stage.mouseY)),r=Math.floor(Math.max(t.downPt.x,t.stage.mouseX)),i=Math.floor(Math.max(t.downPt.y,t.stage.mouseY)),t._updateRootSelecedArea(n,o,r,i)}}(this),this.stage.addEventListener("stagemousedown",this.handleMouseDown),this.stage.addEventListener("stagemouseup",this.handleMouseUp),this.mc=new n.Manager(this.$els.carousel),this.mc.add(new n.Pan({threshold:6,pointers:1,enable:this.canPanEnable})),this.mc.add(new n.Swipe({enable:this.canSwipeEnable}).recognizeWith(this.mc.get("pan"))),c=new n.Tap({event:"singletap"}),i=new n.Tap({event:"doubletap",taps:2,posThreshold:30}),i.recognizeWith(c),c.requireFailure([i]),this.mc.add([i,c]),this.mc.add(new n.Pinch({enable:this.canPinchEnable})),this.mc.on("singletap",function(t){return function(e){return t.$root.singleTapTime=new Date/1}}(this)),this.mc.on("pinchstart",function(t){return function(e){return o.log("pinchstart"),t.$set("isZooming",!0),t.transitionDurationOff(),t.$root.initScaleForSwipe=t.$root.scale,t.$root.manualScale=t.$root.scale,t.$root.autoScaleMode=!1,t.tmpx=t.getTmpX(),t.tmpy=t.getTmpY(),t.percentX=t.global2PercentX(e.center.x),t.percentY=t.global2PercentY(e.center.y),t.percentX=t.percentX-.5,t.translateXStart=t.translateX,t.translateYStart=t.translateY}}(this)),this.mc.on("pinchmove",function(t){return function(e){var i,n,r,s,a;return o.log("pinchmove"),t.eCenterX=e.center.x,t.eCenterY=e.center.y,t.$root.manualScale=Math.round(t.$root.initScaleForSwipe*e.scale*100)/100,n=t.$root.manualScale,r=2*t.$root.pageWidth*n,s=r*t.percentX+t.tmpx,t.moveX=-(s-e.center.x),i=t.$root.pageHeight*n,a=i*t.percentY+t.tmpy,t.moveY=-(a-e.center.y),t.translateX=t.moveX+t.translateXStart,t.translateY=t.moveY+t.translateYStart}}(this)),this.mc.on("pinchend",function(t){return function(e){var i,n,r,s,a,u,c;if(o.log("pinchend"),t.transitionDurationOn(),t.$root.scale<t.$root.baseScale)return t.$root.zoomAt(0);if(t.$root.scale>t.$root.maxMagnification)return t.$root.zoomAt(t.$root.scaleArray.length-1);for(a=t.$root.scaleArray,i=r=0,s=a.length;r<s;i=++r)h=a[i],t.$root.scale>h&&(0===i?t.$root.scaleIndex=i+1:t.$root.scaleIndex=i);return n=!1,u=t.repositionX(t.$root.scale),t.translateX!==u&&(t.transitionDurationOn(),n=!0,t.translateX=u),c=t.repositionY(t.$root.scale),t.translateY!==c&&(t.transitionDurationOn(),n=!0,t.translateY=c),n?void 0:t.otherTransitionEnd()}}(this)),this.mc.on("doubletap",function(t){return function(e){if(!t.isTegakiCanvasVisible)return t.$root.scale===t.$root.maxMagnification?t.$root.zoomAt(0):t.$root.zoomin(e.center.x,e.center.y)}}(this)),this.mc.on("pinchcancel",function(t){return function(t){}}(this)),this.mc.on("panstart panmove panend",function(t){return function(e){var i,n,r;if((t.$root.scaleIndex>0||!t.$root.autoScaleMode)&&!t.isAreaCanvasVisible&&!t.isTegakiCanvasVisible)switch(o.log(e.type),e.type){case"panstart":return t.isPanning=!0,t.$set("panStartX",t.translateX),t.$set("panStartY",t.translateY),t.$set("isDragging",!0);case"panmove":return t.transitionDurationOff(),t.$set("translateX",e.deltaX+t.panStartX),t.$set("translateY",e.deltaY+t.panStartY);case"panend":if(i=!1,n=t.repositionX(t.$root.scale),t.translateX!==n&&(t.transitionDurationOn(),i=!0,t.translateX=n),r=t.repositionY(t.$root.scale),t.translateY!==r&&(t.transitionDurationOn(),i=!0,t.translateY=r),t.isPanning=!1,!i)return t.$set("isDragging",!1),t._sendZoomLog()}}}(this)),this.mc.on("swipeleft",function(t){return function(e){if(0===t.$root.scaleIndex&&t.$root.autoScaleMode&&!t.isAreaCanvasVisible&&!t.isTegakiCanvasVisible)return t.$root.flipR()}}(this)),this.mc.on("swiperight",function(t){return function(e){if(0===t.$root.scaleIndex&&t.$root.autoScaleMode&&!t.isAreaCanvasVisible&&!t.isTegakiCanvasVisible)return t.$root.flipL()}}(this))},beforeDestroy:function(){if(this.drawDisplayShape&&(this.linkStage.removeChild(this.drawDisplayShape),delete this.drawDisplayShape),this.linkStage&&(this.linkStage.removeAllChildren(),delete this.linkStage),this.$els.linkCanvas&&(this.$els.linkCanvas.width=0,this.$els.linkCanvas.height=0,this.$els.linkCanvas.remove(),delete this.$els.linkCanvas),this.drawingShape&&(this.penStage.removeChild(this.drawingShape),delete this.drawingShape),this.penStage&&(this.penStage.removeEventListener("stagemousemove",this.handleMouseMoveForPen),this.penStage.removeEventListener("stagemousedown",this.handleMouseDownForPen),this.penStage.removeEventListener("stagemouseup",this.handleMouseUpForPen),this.penStage.removeAllChildren(),delete this.penStage),this.$els.penCanvas&&(this.$els.penCanvas.width=0,this.$els.penCanvas.height=0,this.$els.penCanvas.remove(),delete this.$els.penCanvas),this.drawingCanvas&&(this.stage.removeEventListener("stagemousedown",this.handleMouseDown),this.stage.removeEventListener("stagemouseup",this.handleMouseUp),this.stage.removeChild(this.drawingCanvas),delete this.drawingCanvas),this.stage&&(this.stage.removeAllChildren(),delete this.stage),this.$els.areaCanvas&&(this.$els.areaCanvas.width=0,this.$els.areaCanvas.height=0,this.$els.areaCanvas.remove(),delete this.$els.areaCanvas),this.mc)return this.mc.destroy()}}}).call(e,i(3),i(24))},function(t,e,i){(function(e,n){var r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y,b,w,A;b=i(13),i(206),o=i(4),f=i(18),p=i(12),w=i(10),A=i(27),_=i(55),c=i(60),s=i(32),y=i(56),m=i(100),r=i(58),a=i(30),g=i(31),d=i(64),h=i(61),v=i(65),l=i(63),u=i(62),t.exports={name:"slide",mixins:[d,h,v,l,u],template:i(122),components:{"page-layer":i(57),"slide-shadow":i(97)},data:function(){return{imageLinks:[],asobi:0,slideViewNumForAnimation:0,translateX:0,translateY:0,panStartX:0,panStartY:0,transitionDuration:0,isZooming:!1,isDragging:!1,isFlipping:!1,isPanning:!1,isAreaCanvasVisible:!1,areaCanvasType:"",linkStage:null,canvasPadding:50,isTegakiCanvasVisible:!1,isTegakiIsElaser:!1,fusenOnPressIntervalID:0,moveX:0,moveY:0,tmpx:0,tmpy:0,percentX:0,percentY:0,eCenterX:0,eCenterY:0,fusenDepthCounter:0,pageSpaceAdjustor:1.9,textTimeout:null,textDelay:200}},computed:{isRightPage:function(){return"l2r"===this.$root.bookDirection?this.$root.activePage%2!==this.$root.startPageSetting:this.$root.activePage%2===this.$root.startPageSetting},linkCanvasBorderStyleForDebug:function(){return""},flipSpeed:function(){return 10*this.$root.speed*100},totalDistance:function(){return"r2l"===this.$root.bookDirection?this.slideViewNumForAnimation*(this.$root.appWidth/(2*this.$root.baseScale)+this.$root.pageWidth/this.pageSpaceAdjustor)*-1+this.asobi:(this.slideViewNumForAnimation*(this.$root.appWidth/(2*this.$root.baseScale)+this.$root.pageWidth/this.pageSpaceAdjustor)*-1+this.asobi*-1)*-1},index:function(){return this.$root.slideViewNum+0},a0:function(){return 5*Math.floor((this.index+4)/5)},a1:function(){return 5*Math.floor((this.index+3)/5)+1},a2:function(){return 5*Math.floor((this.index+2)/5)+2},a3:function(){return 5*Math.floor((this.index+1)/5)+3},a4:function(){return 5*Math.floor((this.index+0)/5)+4},carouselArray:function(){return[this.a0,this.a1,this.a2,this.a3,this.a4]}},methods:{answerLinkInitialDisplay:function(t){return function(t){return"answer"!==t.key||"extension"!==t.target}}(this),getLeft:function(t){return t-=1,"r2l"===this.$root.bookDirection?1*(this.$root.appWidth/(2*this.$root.baseScale)+this.$root.pageWidth/this.pageSpaceAdjustor)*t:1*(this.$root.appWidth/(2*this.$root.baseScale)+this.$root.pageWidth/this.pageSpaceAdjustor)*t*-1},checkPrintClass:function(t,e,i){return e===i+1},checkvshow:function(t,e,i){return this.isZooming||this.$root.scale>this.$root.baseScale?e===i+1:e<=i+2&&e>=i&&e>0&&e<=this.$root.pageTotal},gotoTargetPage:function(t){if(clearTimeout(this.textTimeout),t=parseInt(t,10),!isNaN(t)&&!(t<1||t>this.$root.pageTotal||this.isFlipping||t===this.$root.slideViewNum+1))return this.$root.selectedRightPageString="",this.$root.selectedLeftPageString="",this.isFlipping=!0,this.transitionDurationOff(),this.slideViewNumForAnimation=t-1,this.$root.slideViewNum=t-1,Vue.nextTick(function(t){return function(){return t.isFlipping=!1,t.onFlipStop()}}(this))},flipL:function(t){if(clearTimeout(this.textTimeout),!this.isFlipping){if("r2l"===this.$root.bookDirection){if(this.slideViewNumForAnimation<1)return}else if(this.slideViewNumForAnimation>this.$root.pageTotal-2)return;return this.$root.selectedRightPageString="",this.$root.selectedLeftPageString="",this.transitionDurationOn(),this.isFlipping=!0,"r2l"===this.$root.bookDirection?this.slideViewNumForAnimation-=1:this.slideViewNumForAnimation+=1}},flipR:function(t){if(clearTimeout(this.textTimeout),!this.isFlipping){if("r2l"===this.$root.bookDirection){if(this.slideViewNumForAnimation>this.$root.pageTotal-2)return}else if(this.slideViewNumForAnimation<1)return;return this.$root.selectedRightPageString="",this.$root.selectedLeftPageString="",this.transitionDurationOn(),this.isFlipping=!0,"r2l"===this.$root.bookDirection?this.slideViewNumForAnimation+=1:this.slideViewNumForAnimation-=1}},onFlipStop:function(){if(this.$dispatch("flipStop"),m.sendViewLog(),m.sendCustomPage(),this._sendZoomLog(),this.isAreaCanvasVisible)return this.textTimeout=setTimeout(function(t){return function(){return t.$broadcast("intersectChars")}}(this),this.textDelay)},transitionDurationOn:function(){return this.$set("transitionDuration",.2)},transitionDurationOff:function(){if(this.transitionDuration>0)return this.$set("transitionDuration",0)},otherTransitionEnd:function(t){return null==t&&(t=null),this.isFlipping?(this.$root.slideViewNum=this.slideViewNumForAnimation,
this.isFlipping=!1,this.onFlipStop()):(this.isDragging&&this.$set("isDragging",!1),this._sendZoomLog()),this.$set("isZooming",!1),this.transitionDurationOff()},_sendZoomLog:function(){var t,i,n,r,o,s,a,h,u,c,l,p;return b()||(c=this.isRightPage?this.$root.pageWidth:0,s=e.max([this.global2PercentX(this.$root.componentLeft),0]),u=e.min([this.global2PercentX(this.$root.componentLeft+this.$root.componentWidth),1]),p=e.max([this.global2PercentY(this.$root.componentTop),0]),i=e.min([this.global2PercentY(this.$root.componentTop+this.$root.componentHeight),1]),o=e.floor(s*this.$root.pageWidth),h=e.floor(u*this.$root.pageWidth),l=e.floor(p*this.$root.pageHeight),t=e.floor(i*this.$root.pageHeight),this._updateRootSelecedArea(o+c,l,h+c,t)),n=this.$els.slide.getBoundingClientRect(),a=this.$root.activePage,r="r2l"===this.$root.bookDirection?(a+this.$root.startPageSetting)%2===1:(a+this.$root.startPageSetting)%2===0,m.sendZoomLog(n,r)},_drawRectOnDrawingCanvas:function(t,e,i,n){return this.drawingCanvas.graphics.clear().beginFill("rgba(255,170,170,0.5)").drawRect(t,e,i,n),this.areaStage.update()},_updateRootSelecedArea:function(t,e,i,n){var r,o,s,a,h,u,c,l,p,f,d,g;if("text"===this.areaCanvasType)return this.$root.selectedAreaIsRightPage=this.isRightPage,this.$root.selectedAreaLeft=t,this.$root.selectedAreaTop=e,this.$root.selectedAreaRight=i,this.$root.selectedAreaBottom=n,this.$broadcast("intersectChars");if("url"===this.areaCanvasType)return t===e&&e===i&&i===n&&0===n&&(g=this.isRightPage?this.$root.pageWidth:0,t=0+g,e=0,i=1*this.$root.pageWidth+g,n=this.$root.pageHeight),this.$root.selectedAreaForUrlLeft=t,this.$root.selectedAreaForUrlTop=e,this.$root.selectedAreaForUrlRight=i,this.$root.selectedAreaForUrlBottom=n;if("zoom"!==this.areaCanvasType)return t===e&&e===i&&i===n&&0===n&&(g=this.isRightPage?this.$root.pageWidth:0,t=0+g,e=0,i=1*this.$root.pageWidth+g,n=this.$root.pageHeight),this.$root.selectedAreaForUrlLeft=t,this.$root.selectedAreaForUrlTop=e,this.$root.selectedAreaForUrlRight=i,this.$root.selectedAreaForUrlBottom=n;if(this.isAreaCanvasVisible)if(t===e&&e===i&&i===n&&0===n);else{for(c=0,f=this.$root.scaleArray.length;;){if(d=this.$root.scaleArray[f],h=this.$root.componentWidth>(i-t)*d&&this.$root.componentHeight>(n-e)*d&&f<this.$root.scaleArray.length){c=f;break}if(0===f)break;f--}if(c>0)return this.$set("isZooming",!0),this.transitionDurationOn(),(i-t)/2+t>this.$root.pageWidth&&(i-=this.$root.pageWidth,t-=this.$root.pageWidth),u=this.$root.scaleArray[c],a=u*this.$root.pageWidth-this.$root.baseScale*this.$root.pageWidth,s=u*this.$root.pageHeight-this.$root.baseScale*this.$root.pageHeight,this.translateX=a/2*-1,this.translateY=s/2*-1,r=this.$root.pageWidth/2,o=this.$root.pageHeight/2,l=(i-t)/2+t,p=(n-e)/2+e,this.translateX-=(l-r)*u,this.translateY-=(p-o)*u,this.$root.scaleIndex=c,this.$parent.$dispatch("areaCanvas","zoom",!1)}},_drawFusensFromPageComponent:function(t,e){var i,n,r,o;if(t&&!this.isFlipping){for(o=[],n=0,r=t.length;n<r;n++)i=t[n],this.$root.activePageId===i.pageId?o.push(this.pasteFusen(i.id,i.text,i.x,i.y,i.bgColor,i.access_type,i.read_only)):o.push(void 0);return o}},_drawPensFromPageComponent:function(t,e){var i,n,r;if(t&&!this.isFlipping){for(i=0,n=t.length;i<n;i++)r=t[i],this.$root.activePageId===r.pageId&&this.penDataArray.push(r);return this.penDataArray2Canvas(this.drawDisplayShape,this.linkStage),this.isTegakiCanvasVisible&&(this.clearDrawDisplayShape(),this.penDataArray2Canvas(this.drawingShape,this.penStage)),this.$root.isOnLibra?this.restoredLibraPenSlideCurrentPage=!0:void 0}},clearDrawDisplayShape:function(){var t;return this.drawDisplayShape.graphics.clear(),this.drawDisplayShape.updateCache(),null!=(t=this.linkStage)?t.update():void 0},clearDrawingShape:function(){var t;return this.drawingShape.graphics.clear(),this.drawingShape.updateCache(),null!=(t=this.penStage)?t.update():void 0},_drawLinkFromPageComponent:function(t,i,n){return this.xmlParser.parseString(t,function(t){return function(r,o){var s,a,h,u,l,p,f,d,g,v;if(c.owner=t,c.rt=t.$root,c.bookPath=t.$root.bookpath,c.isClickDelay=!b(),c.noCacheParam=t.$root.noCacheParam,d=o.page.hitArea[0].a,t.linkStage.enableMouseOver(10),"array"===_.type(d)){for(u=l=0,p=d.length;l<p;u=++l)f=d[u],g=0,"image"!==f.shape[0]?(v=c.createShape(n,f,t.linkStage,g+t.canvasPadding,t.canvasPadding,!1,t.$root.pageWidth,t.$root.pageHeight),v&&t.linkStage.addChildAt(v,u)):(s=c.createShape(n,f,t.linkStage,g+t.canvasPadding,t.canvasPadding,!1,t.$root.pageWidth,t.$root.pageHeight),s&&t.linkStage.addChildAt(s,u),a=c.getBitmapPath(f,t.linkStage,g+t.canvasPadding,t.canvasPadding,!1,t.$root.pageWidth,t.$root.pageHeight),a&&(h=new Image,t.imageLinks.push({id:f.id[0],path:a,x:e.parseInt(f._x[0])+e.parseInt(g)+e.parseInt(t.canvasPadding),y:e.parseInt(f._y[0])+e.parseInt(t.canvasPadding),w:Math.abs(f.imageWidth[0]),h:Math.abs(f.imageHeight[0]),scaleX:f.imageScaleX[0],scaleY:f.imageScaleY[0],deg:f.shapeRotation[0],lr:i?"r":"l",target:f.linkTarget[0],key:f.key[0]}),h.addEventListener("load",t.onLoadImageLink(t,f,i),!0),h.src=a));return t.linkStage.update()}}}(this))},canSwipeEnable:function(t,e){return!this.isFusenDragging},canPanEnable:function(t,e){return!this.isFusenDragging},canPinchEnable:function(t,e){return!this.isFusenDragging},global2PercentX:function(t){var i,n;return i=this.$els.slide.getBoundingClientRect().width,n=t-this.$els.slide.getBoundingClientRect().left,e.round(n/i,2)},global2PercentY:function(t){var i,n;return i=this.$els.slide.getBoundingClientRect().height,n=t-this.$els.slide.getBoundingClientRect().top,e.round(n/i,2)},percentX2global:function(t){var e,i;return i=this.$els.slide.getBoundingClientRect().width,e=this.$els.slide.getBoundingClientRect().left,t*i+e},percentY2global:function(t){var e,i;return e=this.$els.slide.getBoundingClientRect().height,i=this.$els.slide.getBoundingClientRect().top,t*e+i},zoomAction:function(t,e,i){var n,r,o,s,a;if(this.$set("isZooming",!0),this.transitionDurationOn(),this.$root.autoScaleMode=!0,this.translateXStart=this.translateX,this.translateYStart=this.translateY,this.tmpx=this.$els.slide.getBoundingClientRect().left,this.tmpy=this.$els.slide.getBoundingClientRect().top,this.percentX=this.global2PercentX(e),this.percentY=this.global2PercentY(i),r=this.$root.scaleArray[t],o=this.$root.pageWidth*r,s=o*this.percentX+this.tmpx,this.moveX=-(s-e),n=this.$root.pageHeight*r,a=n*this.percentY+this.tmpy,this.moveY=-(a-i),this.translateX=this.moveX+this.translateXStart,this.translateY=this.moveY+this.translateYStart,this.translateX=this.repositionX(r),this.translateY=this.repositionY(r),0===t)return this.$set("translateX",0),this.$set("translateY",0)},createFusenDataArray:function(t,i,n,r){var o,s,h,u,c,l,f,d,g;if(this.$root.isOnLibra&&"libraRemove"===i&&this.removeLibra("fusens",t),!this.$root.isOnLibra||!r){for(l=[],u=c=0,f=null!=(d=this.linkStage)?d.numChildren:void 0;0<=f?c<f:c>f;u=0<=f?++c:--c)if("fusen"===(null!=(g=this.linkStage.getChildAt(u))?g.name:void 0)){if(h=this.linkStage.getChildAt(u),s=new a(h.id,h.getText(),e.round(h.x),e.round(h.y),h.bgColor,"#000000",300,100),s.resolve(this.$root.activePageId),this.$root.isOnLibra&&s.id===t)switch(i){case"libraAdd":this.addLibra("fusens",s);break;case"libraUpdate":this.updateLibra("fusens",s,n)}l.push(s)}if(this.$root.isOnLibra);else try{return p.add(this.$root.activePageId,l)}catch(t){return o=t,this.$root.error=o}}},p3:function(){var t,i;if(this.$root.isOnLibra){if("carousel"===this.$options.name){if(!this.restoredLibraPenCarouselCurrentPage)return void o.log("libraの線が描画されていないから止める")}else if(!this.restoredLibraPenSlideCurrentPage)return void o.log("libraの線が描画されていないから止める");if(this.penDataArray.length<1)return}if(i=this.$root.activePageId,e.last(this.penDataArray).resolve(i),this.$root.isOnLibra)return this.addLibra("pens",e.last(this.penDataArray));try{return f.add(i,this.penDataArray)}catch(e){return t=e,this.$root.error=t}},repositionX:function(t){return this.translateX>this.$root.pageWidth*this.$root.baseScale/2?this.$root.pageWidth*this.$root.baseScale/2:this.translateX<this.$root.pageWidth*this.$root.baseScale/2-this.$root.pageWidth*t?this.$root.pageWidth*this.$root.baseScale/2-this.$root.pageWidth*t:this.translateX},repositionY:function(t){return this.translateY>this.$root.pageHeight*this.$root.baseScale/2?this.$root.pageHeight*this.$root.baseScale/2:this.translateY<this.$root.pageHeight*this.$root.baseScale/2-this.$root.pageHeight*t?this.$root.pageHeight*this.$root.baseScale/2-this.$root.pageHeight*t:this.translateY}},created:function(){return this.$on("open_page_answer",function(t){var e,i,n,r,o,s,a,h;for(a=[],n=0,e=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;e>=0;)"drawDisplayShape"===(null!=(o=this.linkStage.getChildAt(e))?o.name:void 0)||(s=this.linkStage.getChildAt(e),i=s.link,parseInt(t,10)===parseInt(s.page,10)&&"extension"===i.linkTarget[0]&&"answer"===i.key[0]&&(s.toggle&&(n+=1),a.push(s))),e--;return(h=function(t){return function(e){var i,n,r,o,s,h;for(s=[],i=0,n=a.length;i<n;i++)h=a[i],h.toggle=e,c.updateShape(h,"normal"),t.linkStage.update(),r=h.link.id,o=t.isRightPage?"r":"l",s.push(c.updateAnswerImage(r,o,e));return s}}(this))(a.length!==n)}),this.$on("open_group_answer",function(t){var e,i,n,r,o,s,a,h;for(a=[],n=0,e=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;e>=0;)"drawDisplayShape"===(null!=(o=this.linkStage.getChildAt(e))?o.name:void 0)||(s=this.linkStage.getChildAt(e),i=s.link,"extension"===i.linkTarget[0]&&"answer"===i.key[0]&&t===i.linkUrl[0]&&(s.toggle&&(n+=1),a.push(s))),e--;return(h=function(t){return function(e){var i,n,r,o,s,h;for(s=[],i=0,n=a.length;i<n;i++)h=a[i],h.toggle=e,c.updateShape(h,"normal"),t.linkStage.update(),r=h.link.id,o=t.isRightPage?"r":"l",s.push(c.updateAnswerImage(r,o,e));return s}}(this))(a.length!==n)}),this.xmlParser=new A.Parser,this.$on("flipR",function(){return this.flipR(this.flipSpeed)}),this.$on("flipL",function(){return this.flipL(this.flipSpeed)}),this.$on("zoomin",function(t,e){return null==t&&(t=this.$root.componentCenterGlobal),null==e&&(e=this.$root.componentMiddleGlobal),this.zoomAction(this.$root.scaleIndex+1,t,e)}),this.$on("zoomout",function(t,e){return null==t&&(t=this.$root.componentCenterGlobal),null==e&&(e=this.$root.componentMiddleGlobal),this.zoomAction(this.$root.scaleIndex-1,t,e)}),this.$on("zoomAt",function(t){return this.zoomAction(t,this.$root.componentCenterGlobal,this.$root.componentMiddleGlobal)}),this.$on("gotoTargetPage1",function(t){return this.gotoTargetPage(t)}),this.$on("gotoTargetPage2",function(t){return this.gotoTargetPage(t)}),this.$on("areaCanvas",function(t,e){null==e&&(e="url"),this.isAreaCanvasVisible=t,this.areaCanvasType=e,t?(this._drawRectOnDrawingCanvas(0,0,0,0),this._updateRootSelecedArea(0,0,0,0)):(this._drawRectOnDrawingCanvas(0,0,0,0),this._updateRootSelecedArea(0,0,0,0))}),this.$on("hammer",function(t){return this.mc.set({enable:t})}),this.isTegakiCanvasVisibleWatcher=this.$watch(function(){return this.isTegakiCanvasVisible},function(t,e){return t?(this.clearDrawDisplayShape(),this.penDataArray2Canvas(this.drawingShape,this.penStage)):this.penDataArray2Canvas(this.drawDisplayShape,this.linkStage)}),this.isFlippingUnwatcher=this.$watch(function(){return this.isFlipping},function(t,e){var i,n,r,o;if(t===!0){for(null!=(n=this.linkStage)&&n.enableMouseOver(0),i=(null!=(r=this.linkStage)?r.numChildren:void 0)-1;i>=0;)"drawDisplayShape"===(null!=(o=this.linkStage.getChildAt(i))?o.name:void 0)||this.linkStage.removeChildAt(i),i--;return this.imageLinks=[],this.clearDrawDisplayShape(),this.penDataArray=[],this.clearDrawingShape()}})},ready:function(){var t,e,i,s,a,h,u,c,l,p,f,d,g,v,_,y,A;if(this.$root.isInitialized?(this.transitionDurationOff(),this.$root.slideViewNum=Math.max(this.$root.activeLeftPage-1,this.$root.activeRightPage-1,0),this.slideViewNumForAnimation=Math.max(this.$root.activeLeftPage-1,this.$root.activeRightPage-1,0),this.$root.scale<this.$root.baseScale&&this.root.zoomAt(0)):(m.sendBookLog(),this.$root.slideViewNum=this.$root.startPage-1,this.slideViewNumForAnimation=this.$root.startPage-1),this.$dispatch("flipStop",{isInit:!0}),this.$root.isInitAreaVisible&&(c=this.$root.startRectX+this.$root.startRectW/2>this.$root.pageWidth,c&&(this.$root.startRectX-=r.pageWidth,r.isRightPageNum(this.$root.activePage)||(f="r2l"===this.$root.bookDirection?1:-1,this.$root.gotoTargetPage(this.$root.activePage+f))),c||r.isRightPageNum(this.$root.activePage)&&(f="r2l"===this.$root.bookDirection?-1:1,this.$root.gotoTargetPage(this.$root.activePage+f)),this.$root.startRectX+this.$root.startRectW>this.$root.pageWidth&&(this.$root.startRectW=this.$root.pageWidth-this.$root.startRectX),this.$root.startRectX<0&&(d=this.$root.startRectX,this.$root.startRectX=0,this.$root.startRectW+=d),this.$root.initAreaScaleIndex>0)){for(_=Number(this.$root.initAreaScaleIndex);;){if(y=this.$root.scaleArray[_],u=this.$root.componentWidth>this.$root.startRectW*y&&this.$root.componentHeight>this.$root.startRectH*y&&_<this.$root.scaleArray.length){this.$root.initAreaScaleIndex=_;break}if(0===_)break;_--}o.log("枠が入るように初期化スケール補正---->",this.$root.initAreaScaleIndex),this.$root.initAreaScaleIndex>0&&(p=Math.min(this.$root.initAreaScaleIndex,this.$root.scaleArray.length-1),l=this.$root.scaleArray[p],s=l*this.$root.pageWidth-this.$root.baseScale*this.$root.pageWidth,i=l*this.$root.pageHeight-this.$root.baseScale*this.$root.pageHeight,this.translateX=s/2*-1,this.translateY=i/2*-1,t=this.$root.pageWidth/2,e=this.$root.pageHeight/2,g=this.$root.startRectW/2+this.$root.startRectX,v=this.$root.startRectH/2+this.$root.startRectY,this.translateX-=(g-t)*l,this.translateY-=(v-e)*l,this.$root.scaleIndex=p)}return this.$root.initEmbedScale>0&&(t=this.$root.embedStartX,e=this.$root.embedStartY,c=t>this.$root.pageWidth,c&&(r.isRightPageNum(this.$root.activePage)||(this.$root.gotoTargetPage(this.$root.activePage+1),this.$root.embedStartX-=this.$root.pageWidth,t=this.$root.embedStartX)),c||r.isRightPageNum(this.$root.activePage)&&this.$root.gotoTargetPage(this.$root.activePage-1),this.$root.scaleIndex=Math.min(this.$root.initEmbedScale,this.$root.scaleArray.length-1),this.translateX=(this.$root.pageWidth/4-t)*this.$root.scaleArray[this.$root.scaleIndex],this.translateY=(this.$root.pageHeight/4-e)*this.$root.scaleArray[this.$root.scaleIndex]),m.sendViewLog(),m.sendCustomPage(),this._sendZoomLog(),null===this.linkStage&&(this.linkStage=new createjs.Stage(this.$els.linkCanvas)),createjs.Touch.isSupported()&&createjs.Touch.enable(this.linkStage,!1),this.drawDisplayShape=new createjs.Shape,this.drawDisplayShape.name="drawDisplayShape",this.drawDisplayShape.x=this.canvasPadding,this.drawDisplayShape.y=this.canvasPadding,this.linkStage.addChild(this.drawDisplayShape),this.drawDisplayShape.cache(0,0,this.$els.linkCanvas.width,this.$els.linkCanvas.height),this.penStage=new createjs.Stage(this.$els.penCanvas),this.penStage.enableDOMEvents(!0),this.drawingShape=new createjs.Shape,this.penStage.addChild(this.drawingShape),this.penStage.update(),this.penDataArray=[],createjs.Touch.isSupported()&&createjs.Touch.enable(this.penStage,!1),this.drawingShape.cache(0,0,this.$els.penCanvas.width,this.$els.penCanvas.height),b()||w.ie()?(this.handleMouseDownForPen=function(t){return function(e){return t.isPenDrawing&&t.p3(),t.p1(),t.isPenDrawing=!0}}(this),this.handleMouseMoveForPen=function(t){return function(e){if(t.isPenDrawing)return t.p2(e)}}(this),this.handleMouseUpForPen=function(t){return function(e){return t.p3(),t.isPenDrawing=!1}}(this)):(this.handleMouseDownForPen=function(t){return function(e){return t.isPenDrawing&&t.p3(),t.p1()}}(this),this.handleMouseMoveForPen=function(t){return function(e){return t.isPenDrawing=!0,t.p2(e)}}(this),this.handleMouseUpForPen=function(t){return function(e){return t.p3(),t.isPenDrawing=!1}}(this)),this.penStage.addEventListener("stagemousemove",this.handleMouseMoveForPen),this.penStage.addEventListener("stagemousedown",this.handleMouseDownForPen),this.penStage.addEventListener("stagemouseup",this.handleMouseUpForPen),this.areaStage=new createjs.Stage(this.$els.areaCanvas),this.areaStage.enableDOMEvents(!0),createjs.Touch.enable(this.areaStage,!1),this.drawingCanvas=new createjs.Shape,this.areaStage.addChild(this.drawingCanvas),this.areaStage.update(),this.handleMouseDown=function(t){return function(e){if(e.primary)return t.downPt=new createjs.Point(t.areaStage.mouseX,t.areaStage.mouseY),t.areaStage.addEventListener("stagemousemove",h)}}(this),h=function(t){return function(e){if(e.primary)return t._drawRectOnDrawingCanvas(t.downPt.x,t.downPt.y,t.areaStage.mouseX-t.downPt.x,t.areaStage.mouseY-t.downPt.y)}}(this),this.handleMouseUp=function(t){return function(e){var i,n,r,o,s;if(e.primary&&(t.areaStage.removeEventListener("stagemousemove",h),t.downPt.x!==t.areaStage.mouseX||t.downPt.y!==t.areaStage.mouseY))return o=t.isRightPage?t.$root.pageWidth:0,n=Math.floor(Math.min(t.downPt.x+o,t.areaStage.mouseX+o)),s=Math.floor(Math.min(t.downPt.y,t.areaStage.mouseY)),r=Math.floor(Math.max(t.downPt.x+o,t.areaStage.mouseX+o)),i=Math.floor(Math.max(t.downPt.y,t.areaStage.mouseY)),t._updateRootSelecedArea(n,s,r,i)}}(this),this.areaStage.addEventListener("stagemousedown",this.handleMouseDown),this.areaStage.addEventListener("stagemouseup",this.handleMouseUp),this.mc=new n.Manager(this.$els.slide),this.mc.add(new n.Pan({threshold:10,pointers:1,enable:this.canPanEnable})),this.mc.add(new n.Swipe({enable:this.canSwipeEnable}).recognizeWith(this.mc.get("pan"))),A=new n.Tap({event:"singletap"}),a=new n.Tap({event:"doubletap",taps:2,posThreshold:30}),a.recognizeWith(A),A.requireFailure([a]),this.mc.add([a,A]),this.mc.add(new n.Pinch({enable:this.canPinchEnable})),this.mc.on("singletap",function(t){return function(e){return t.$root.singleTapTime=new Date/1}}(this)),this.mc.on("pinchstart",function(t){return function(e){var i,n,r,s;return o.log("pinchstart"),t.$set("isZooming",!0),t.transitionDurationOff(),t.$root.initScaleForSwipe=t.$root.scale,t.$root.manualScale=t.$root.scale,t.$root.autoScaleMode=!1,n=t.$els.slide.getBoundingClientRect().width,i=t.$els.slide.getBoundingClientRect().height,r=e.center.x-t.$els.slide.getBoundingClientRect().left,s=e.center.y-t.$els.slide.getBoundingClientRect().top,t.percentX=Math.floor(r/n*100)/100,t.percentY=Math.floor(s/i*100)/100,t.tmpx=t.$els.slide.getBoundingClientRect().left,t.tmpy=t.$els.slide.getBoundingClientRect().top,t.translateXStart=t.translateX,t.translateYStart=t.translateY}}(this)),this.mc.on("pinchend",function(t){return function(e){var i,n,r,s,a,h,u;if(o.log("pinchend"),t.transitionDurationOn(),t.$root.scale<t.$root.baseScale)return t.$root.zoomAt(0);if(t.$root.scale>t.$root.maxMagnification)return t.$root.zoomAt(t.$root.scaleArray.length-1);for(a=t.$root.scaleArray,i=r=0,s=a.length;r<s;i=++r)_=a[i],t.$root.scale>_&&(0===i?t.$root.scaleIndex=i+1:t.$root.scaleIndex=i);return n=!1,h=t.repositionX(t.$root.scale),t.translateX!==h&&(t.transitionDurationOn(),n=!0,t.translateX=h),u=t.repositionY(t.$root.scale),t.translateY!==u&&(t.transitionDurationOn(),n=!0,t.translateY=u),n?void 0:t.otherTransitionEnd()}}(this)),this.mc.on("pinchcancel",function(t){return function(t){}}(this)),this.mc.on("pinchmove",function(t){return function(e){var i,n,r,s;return o.log("pinchmove"),t.eCenterX=e.center.x,t.eCenterY=e.center.y,t.$root.manualScale=Math.round(t.$root.initScaleForSwipe*e.scale*100)/100,l=t.$root.manualScale,n=t.$root.pageWidth*l,r=n*t.percentX+t.tmpx,t.moveX=-(r-e.center.x),i=t.$root.pageHeight*l,s=i*t.percentY+t.tmpy,t.moveY=-(s-e.center.y),t.translateX=t.moveX+t.translateXStart,t.translateY=t.moveY+t.translateYStart}}(this)),this.mc.on("doubletap",function(t){return function(e){if(!t.isTegakiCanvasVisible)return t.$root.scale===t.$root.maxMagnification?t.$root.zoomAt(0):t.$root.zoomin(e.center.x,e.center.y)}}(this)),this.mc.on("panstart panmove panend",function(t){return function(e){var i,n,r;if(!t.isAreaCanvasVisible&&!t.isTegakiCanvasVisible)switch(e.type){case"panstart":if(t.isPanning=!0,0===t.$root.scaleIndex&&t.$root.autoScaleMode){if(t.isFlipping)return;return t.$set("panStartX",t.asobi)}return t.$set("panStartX",t.translateX),t.$set("panStartY",t.translateY),t.$set("isDragging",!0);case"panmove":if(t.transitionDurationOff(),0===t.$root.scaleIndex&&t.$root.autoScaleMode){if(t.isFlipping)return;return t.$set("asobi",e.deltaX/t.$root.scale+t.panStartX)}return t.$set("translateX",e.deltaX+t.panStartX),t.$set("translateY",e.deltaY+t.panStartY);case"panend":if(t.isPanning=!1,0===t.$root.scaleIndex&&t.$root.autoScaleMode){if(t.isFlipping)return;return t.asobi<t.$root.pageWidth*-1/8?t.flipR():t.asobi>t.$root.pageWidth/8&&t.flipL(),t.$set("asobi",0)}if(i=!1,n=t.repositionX(t.$root.scale),t.translateX!==n&&(t.transitionDurationOn(),i=!0,t.translateX=n),r=t.repositionY(t.$root.scale),t.translateY!==r&&(t.transitionDurationOn(),i=!0,t.translateY=r),!i)return t.$set("isDragging",!1),t._sendZoomLog()}}}(this)),this.mc.on("swipeleft",function(t){return function(t){}}(this)),this.mc.on("swiperight",function(t){return function(t){}}(this))},beforeDestroy:function(){if(this.drawDisplayShape&&(this.linkStage.removeChild(this.drawDisplayShape),delete this.drawDisplayShape),this.linkStage&&(this.linkStage.removeAllChildren(),delete this.linkStage),this.$els.linkCanvas&&(this.$els.linkCanvas.width=0,this.$els.linkCanvas.height=0,this.$els.linkCanvas.remove(),delete this.$els.linkCanvas),this.drawingShape&&(this.penStage.removeChild(this.drawingShape),delete this.drawingShape),this.penStage&&(this.penStage.removeEventListener("stagemousemove",this.handleMouseMoveForPen),this.penStage.removeEventListener("stagemousedown",this.handleMouseDownForPen),this.penStage.removeEventListener("stagemouseup",this.handleMouseUpForPen),this.penStage.removeAllChildren(),delete this.penStage),this.$els.penCanvas&&(this.$els.penCanvas.width=0,this.$els.penCanvas.height=0,this.$els.penCanvas.remove(),delete this.$els.penCanvas),this.drawingCanvas&&(this.areaStage.removeEventListener("stagemousedown",this.handleMouseDown),this.areaStage.removeEventListener("stagemouseup",this.handleMouseUp),this.areaStage.removeChild(this.drawingCanvas),delete this.drawingCanvas),this.areaStage&&(this.areaStage.removeAllChildren(),delete this.areaStage),this.$els.areaCanvas&&(this.$els.areaCanvas.width=0,this.$els.areaCanvas.height=0,this.$els.areaCanvas.remove(),delete this.$els.areaCanvas),this.mc)return this.mc.destroy()}}}).call(e,i(3),i(24))},function(t,e,i){e=t.exports=i(15)(),e.push([t.id,".nombre{text-shadow:1px 1px 1px #fff,-1px 1px 1px #fff,1px -1px 1px #fff,-1px -1px 1px #fff}",""])},function(t,e,i){e=t.exports=i(15)(),e.push([t.id,".carouselpageshadow{box-shadow:rgba(0,0,0,.2) 0 0 5px 3px;background-color:#fdfdfd}.koguchi{box-shadow:#d2d2d2 0 0 0 1px;background-color:#fff}",""])},function(t,e,i){e=t.exports=i(15)(),e.push([t.id,"",""])},function(t,e,i){e=t.exports=i(15)(),e.push([t.id,".slideshadow{box-shadow:hsla(0,0%,67%,.651) 0 0 5px 3px;background-color:#fdfdfd}",""])},function(t,e,i){e=t.exports=i(15)(),e.push([t.id,"#carousel{position:absolute}.mp3-loading,.mp3-playing{background-color:#fff;border:1px solid #ccc}.bounce-enter{animation:bounce-in .2s}.bounce-leave{animation:bounce-out 0s}.initframe{animation:Flash1 .6s infinite}#flipLeft2Right,#flipRight2Left,.flipslice{transform-style:preserve-3d;transform-origin:0 0 0}.flipslice{border:0 solid #09f;position:absolute;top:0;left:0;margin:0;padding:0}#flipLeft2Right #ura2,#flipRight2Left #ura{transform:rotateY(0.1deg);transform-origin:-100% 0}#flipLeft2Right #omote2 div,#flipRight2Left #omote div{box-shadow:inset hsla(0,0%,100%,.3) 0 -1px 0 0,#ccc 0 1px 0 0}#flipLeft2Right #omote2>div>div>div>div>div>div>div>div>div>div,#flipRight2Left #omote>div>div>div>div>div>div>div>div>div>div{box-shadow:inset hsla(0,0%,100%,.3) -1px -1px 0 0,#ccc 1px 1px 0 0}div.flipslicecanvas{position:absolute;transform:rotateY(0deg) scaleX(-1);background-repeat:no-repeat}@keyframes bounce-in{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes bounce-out{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes Flash1{50%{opacity:0}}",""])},function(t,e,i){e=t.exports=i(15)(),e.push([t.id,"#slide{position:absolute}.mp3-loading,.mp3-playing{background-color:#fff;border:1px solid #ccc}.initframe{animation:Flash1 .6s infinite}@keyframes Flash1{50%{opacity:0}}",""])},function(t,e,i){(function(e){t.exports=e.Hammer=i(24)}).call(e,function(){return this}())},function(t,e,i){(function(e){t.exports=e.Vue=i(76)}).call(e,function(){return this}())},function(t,e,i){(function(e){t.exports=e.VueTouch=i(184)}).call(e,function(){return this}())},function(t,e,i){t.exports=i.p+"peel_end.mp3"},function(t,e,i){t.exports=i.p+"peel_start.mp3"},function(t,e){t.exports="<div v-show=getPage v-bind:style=\"[{position:'absolute',\n    top:'0px',\n    left:'0px',\n    width:$root.pageWidth+'px',\n    height:$root.pageHeight+'px'},paperColor]\"></div><img draggable=false alt=\"\" v-if=\"page>0 && page<=$root.pageTotal\" v-bind:style=\"[getImageStyle, { width: $root.pageWidth * 1 + 'px', height: $root.pageHeight * 1 + 'px'}]\" v-bind:src=\"$root.imagepath ? $root.imagepath + 'page'+ pageFolderNum+'/x1.jpg?c='+$root.noCacheParam : $root.bookpath + 'page'+ pageFolderNum+'/x1.jpg?c='+$root.noCacheParam\" v-bind:id=\"'x1Image' + page\"><template v-if=$root.isSlice><div v-if=isActivePageAndZoomingLayer2 v-bind:style=\"{position: 'absolute',top:0,left:0,transform: 'translate3d(0px,0px,0px) scale(0.5,0.5)'}\"><slice-piece v-bind:class={x2layerclass:item.isDisplay} v-bind:page=pageFolderNum v-bind:layerscale=2 v-for=\"item in x2slices\" v-bind:item=item></slice-piece></div><div v-if=isActivePageAndZoomingLayer4 v-bind:style=\"{position: 'absolute',top:0,left:0,transform: 'translate3d(0px,0px,0px) scale(0.25,0.25)'}\"><slice-piece v-bind:class={x4layerclass:item.isDisplay} v-bind:page=pageFolderNum v-bind:layerscale=4 v-for=\"item in x4slices\" v-bind:item=item></slice-piece></div><div v-if=isActivePageAndZoomingLayer8 v-bind:style=\"{position: 'absolute',top:0,left:0,transform: 'translate3d(0px,0px,0px) scale(0.125,0.125)'}\"><slice-piece v-bind:class={x8layerclass:item.isDisplay} v-bind:page=pageFolderNum v-bind:layerscale=8 v-for=\"item in x8slices\" v-bind:item=item></slice-piece></div></template><template v-else><div v-if=isActivePageAndZoomingLayer2 v-bind:style=\"{position: 'absolute',top:0,left:0, transformOrigin: 0 + 'px '+ 0 + 'px', transform: 'translate3d(0px,0px,0px) scale(0.5,0.5)'}\"><img draggable=false alt=\"\" v-bind:src=\"$root.imagepath ? $root.imagepath + 'page'+ pageFolderNum+'/x2/x2.jpg?c='+$root.noCacheParam : $root.bookpath + 'page'+ pageFolderNum+'/x2/x2.jpg?c='+$root.noCacheParam\" v-bind:style=\"[getImageStyle, { width: $root.pageWidth * 2 + 'px', height: $root.pageHeight * 2 + 'px'}]\" v-bind:id=\"'x2Image' + page\"></div><div v-if=isActivePageAndZoomingLayer4 v-bind:style=\"{position: 'absolute',top:0,left:0,transformOrigin: 0 + 'px '+ 0 + 'px', transform: 'translate3d(0px,0px,0px) scale(0.25,0.25)'}\"><img draggable=false alt=\"\" v-bind:src=\"$root.imagepath ? $root.imagepath + 'page'+ pageFolderNum+'/x4/x4.jpg?c='+$root.noCacheParam : $root.bookpath + 'page'+ pageFolderNum+'/x4/x4.jpg?c='+$root.noCacheParam\" v-bind:style=\"[getImageStyle, { width: $root.pageWidth * 4 + 'px', height: $root.pageHeight * 4 + 'px'}]\" v-bind:id=\"'x4Image' + page\"></div><div v-if=isActivePageAndZoomingLayer8 v-bind:style=\"{position: 'absolute',top:0,left:0,transformOrigin: 0 + 'px '+ 0 + 'px', transform: 'translate3d(0px,0px,0px) scale(0.125,0.125)'}\"><img draggable=false alt=\"\" v-bind:src=\"$root.imagepath ? $root.imagepath + 'page'+ pageFolderNum+'/x8/x8.jpg?c='+$root.noCacheParam : $root.bookpath + 'page'+ pageFolderNum+'/x8/x8.jpg?c='+$root.noCacheParam\" v-bind:style=\"[getImageStyle, { width: $root.pageWidth * 8 + 'px', height: $root.pageHeight * 8 + 'px'}]\" v-bind:id=\"'x8Image' + page\"></div></template><img v-if=\"$root.showEvaluationUseOnly && page>0 && page<=$root.pageTotal\" alt=\"\" v-bind:src=$root.evaluationUseOnlyImage v-bind:style=\"{\n        position: 'absolute',\n        maxWidth: '100%',\n        maxHeight: '100%',\n        top: 0,\n        left: 0,\n        bottom: 0,\n        right: 0,\n        margin: 'auto',\n        opacity: 0.8,\n        transform: 'translate3d(0px,0px,0px)'\n    }\"><div v-if=\"$root.labelDisplay && $root.view != 'slide'\" v-bind:style=\"{position:'absolute',top:'0px',left:'0px',width:$root.pageWidth+'px',height:$root.pageHeight+'px'}\"><div id=nombrel class=nombre v-if=isLeftPage v-bind:style=\"{position:'absolute',bottom:'10px',left:'10px', transform: 'translate3d(0px,0px,0px)', zIndex: 8}\">{{nombre}}</div><div id=nombrer class=nombre v-if=isRightPage v-bind:style=\"{position:'absolute',bottom:'10px',right:'10px', transform: 'translate3d(0px,0px,0px)', zIndex: 8}\">{{nombre}}</div></div><div id=nombrec class=nombre v-if=\"$root.labelDisplay && $root.view == 'slide'\" v-bind:style=\"{position:'absolute',bottom:'10px',width:$root.pageWidth + 'px',textAlign:'center', transform: 'translate3d(0px,0px,0px)', zIndex: 8}\">{{nombre}}</div><canvas v-el:char-canvas v-show=\"!$parent.isFlipping && isActivePage\" v-bind:style=\"{position:'absolute',top:0,left:0}\" v-bind:width=$root.pageWidth v-bind:height=$root.pageHeight></canvas><canvas v-el:debug-canvas v-show=\"!$parent.isFlipping && isActivePage\" v-bind:style=\"{position:'absolute',top:0,left:0}\" v-bind:width=$root.pageWidth v-bind:height=$root.pageHeight></canvas><canvas v-el:link-canvas v-show=\"!$parent.isFlipping && isActivePage\" v-bind:style=\"{position:'absolute',top:0,left:0}\" v-bind:width=$root.pageWidth v-bind:height=$root.pageHeight></canvas><div v-if=false v-bind:style=\"{position:'absolute',top:0,left:0}\"><div>x2slices:{{x2slices.length}}</div><div>x4slices:{{x4slices.length}}</div><div>x8slices:{{x8slices.length}}</div></div><img alt=\"\" class=nodo-shadow v-if=isPageShadowVisible draggable=false v-bind:style=\"{visibility:isLeftPageVisibility, position:'absolute',top:'0px',right:'0px',width:'5px',height:$root.pageHeight + 'px'}\" v-bind:src=$interpolate(getLeftPageShadow)> <img alt=\"\" class=nodo-shadow v-if=isPageShadowVisible draggable=false v-bind:style=\"{visibility:isRightPageVisibility, position:'absolute',top:'0px',left:'0px',width:'5px',height:$root.pageHeight + 'px'}\" v-bind:src=$interpolate(getRightPageShadow)><div v-if=false><div v-if=isLeftPage v-for=\"i in 200\" v-bind:style=\"{position:'absolute',top: (Math.floor(i/10)*$root.pageHeight/20)+'px',left:(i*$root.pageWidth/10)%(10*$root.pageWidth/10)+'px'}\">{{i+Math.floor(i/10)*10}}</div><div v-if=isRightPage v-for=\"i in 200\" v-bind:style=\"{position:'absolute',top: (Math.floor(i/10)*$root.pageHeight/20)+'px',left:(i*$root.pageWidth/10)%(10*$root.pageWidth/10)+'px'}\">{{10+i+Math.floor(i/10)*10}}</div></div><img alt=\"\" v-if=isCheckMark v-show=\"isLeftPage || $root.view == 'slide'\" v-bind:style=\"{position:'absolute',top:0,left:0}\" v-bind:src=$interpolate(scormScoreCheck)> <img alt=\"\" v-if=isCheckMark v-show=\"isRightPage && $root.view != 'slide'\" v-bind:style=\"{position:'absolute',top:0,right:0}\" v-bind:src=$interpolate(scormScoreCheck)><div v-if=isDev v-bind:style=\"{position:'absolute',top:0,left:0}\">{{index}}</div><div v-if=false v-bind:style=\"{position:'absolute',top:0,left:0}\">{{$root.view}}</div><div v-if=false v-bind:style=\"{position:'absolute',top:0,right:0}\"><div>{{isActivePageAndZoomingLayer2}}</div><div>{{isActivePageAndZoomingLayer4}}</div><div>{{isActivePageAndZoomingLayer8}}</div><div>{{x2slices.length}}</div><div>{{x4slices.length}}</div><div>{{x8slices.length}}</div></div>"},function(t,e){t.exports="<div v-bind:style=\"{position:'absolute',top: $root.pageHeight/2*-1 + 'px',\n            left:getLeft+'px',width:$root.pageWidth + 'px',height:$root.pageHeight + 'px'}\"><div v-show=checkVisible class=carouselpageshadow v-bind:style=\"{position:'absolute',width:$root.pageWidth + 'px',height:$root.pageHeight + 'px'}\"></div><div v-if=\"pos == 'L' && $root.thicknessDisplay\"><div v-for=\"v in koguchisL\" class=koguchi v-bind:style=\"{position:'absolute',top:$index + 'px',left:$index*-2 + 'px',width:'1px',height:($root.pageHeight-$index*2) + 'px'}\"></div></div><div v-if=\"pos == 'R' && $root.thicknessDisplay\"><div v-for=\"v in koguchisR\" class=koguchi v-bind:style=\"{position:'absolute',top:$index + 'px',right:$index*-2 + 'px',width:'1px',height:($root.pageHeight-$index*2) + 'px'}\"></div></div></div>";
},function(t,e){t.exports="<div v-bind:id=item.divid v-bind:style=\"{position: 'absolute',width: getWidth,height: getHeight,top: getTop,left: getLeft}\"><img draggable=false alt=\"\" v-if=item.isDisplay v-bind:style=getImageStyle v-bind:width=\"g1 + 0\" v-bind:height=\"g2 + 0\" v-bind:src=\"$root.imagepath ? $root.imagepath + 'page'+ page+'/x'+layerscale+'/'+item.jpgNumber+'.jpg?c='+$root.noCacheParam : $root.bookpath + 'page'+ page+'/x'+layerscale+'/'+item.jpgNumber+'.jpg?c='+$root.noCacheParam\"></div>"},function(t,e){t.exports="<div v-bind:style=\"{position:'absolute',top:'0px'}\"><div class=slideshadow v-bind:style=\"{position:'absolute',width:$root.pageWidth + 'px',height:$root.pageHeight + 'px'}\"></div></div>"},function(t,e){t.exports="<div id=carousel v-el:carousel v-on:transitionend=otherTransitionEnd v-bind:style=\"{\n        perspective:'4000px',\n        position:'absolute',\n        transition: 'all '+transitionDuration+'s ease',\n        transform: 'translate3d('+Math.floor(translateX)+'px,'+Math.floor(translateY)+'px,0) scale(' + $root.scale + ')',\n        top: $root.componentMiddle + 'px',\n        width: $root.componentWidth + 'px',\n        height: debugHeight + 'px'}\"><page-shadow v-bind:pos=\"'L'\"></page-shadow><page-shadow v-bind:pos=\"'R'\"></page-shadow><div v-for=\"item in carouselArray\" track-by=$index v-show=checkvshow($index,aaa360,bbb360,isR2LFlip,isL2RFlip) v-bind:class=\"{'print-target':isPrintTarget($index,aaa360,bbb360),\n         'print-target-l':isPrintTargetL($index,aaa360,bbb360),\n         'print-target-r':isPrintTargetR($index,aaa360,bbb360),\n         'print-ignore':isPrintTargetIgnore($index,aaa360,bbb360)}\" v-bind:style=\"[{position:'absolute',\n            width: $root.pageWidth + 'px',\n            height: $root.pageHeight + 'px',\n            left: Math.floor(getLeft($index))+'px',zIndex: getZIndex($index,aaa360,bbb360),\n            top: Math.floor($root.pageHeight / 2 * -1) + 'px',\n            transformOrigin: getTransformOrigin($index,$root.bookDirection),backfaceVisibility: $root.isSlice ? 'hidden' : 'visible' },getTransformIgnoreFF0($index)]\"><page-layer v-bind:index=$index v-bind:page=item></page-layer></div><div v-el:component-size v-bind:style=\"{position:'absolute',\n    top:$root.pageHeight/2*-1 + 'px',\n    left:$root.componentCenter-$root.pageWidth+'px',\n    width:$root.pageWidth*2 + 'px',\n    height: $root.pageHeight + 'px'\n    }\"></div><div class=link-images v-bind:style=\"{\n        position:'absolute',\n        top:$root.pageHeight/2*-1 - 50 + 'px',\n        left:$root.componentCenter-$root.pageWidth-50+'px',\n        zIndex:9,border:linkCanvasBorderStyleForDebug,\n        backgroundColor:'rgba(100, 100, 250, 0.0)'}\" v-bind:width=$root.pageWidth*2+100 v-bind:height=$root.pageHeight+100><canvas v-bind:width=item.w*2 v-show=answerLinkInitialDisplay(item) v-bind:height=item.h*2 v-bind:style=\"{\n                position:'absolute',\n                transformOrigin: 0 + 'px '+ 0 + 'px',\n                transform: 'translate('+item.x+'px,'+item.y+'px) rotate('+item.deg+'deg) scale(' + item.scaleX / 2 + ',' + item.scaleY / 2 + ')'}\" v-for=\"item in imageLinks\" track-by=$index id=imagelink-{{item.lr}}-{{item.id}}></canvas></div><canvas v-if=true v-el:link-canvas v-show=!isFlipping class=link-canvas v-bind:class=\"{'print-ignore-link':$root.isPageOver720}\" v-bind:style=\"{position:'absolute',\n            top:$root.pageHeight/2*-1 - 50 + 'px',\n            left:$root.componentCenter-$root.pageWidth-50+'px',\n            zIndex:11,border:linkCanvasBorderStyleForDebug,\n            backgroundColor:'rgba(100, 100, 250, 0.0)'}\" v-bind:width=$root.pageWidth*2+100 v-bind:height=$root.pageHeight+100></canvas><canvas v-if=true v-el:pen-canvas v-show=isTegakiCanvasVisible v-bind:style=\"{position:'absolute',\n            top:$root.pageHeight/2*-1 - 1 + 'px',\n            left:$root.componentCenter-$root.pageWidth -1 + 'px',\n            zIndex:11,border:'solid 1px #ff0000',\n            backgroundColor:'rgba(255, 255, 255, 0.0)'}\" v-bind:width=$root.pageWidth*2 v-bind:height=$root.pageHeight></canvas><div v-show=isAreaCanvasVisible v-bind:style=\"{position:'absolute',\n        top:$root.pageHeight/2*-1 - 4 + 'px',\n        width: $root.pageWidth*2 + 0 + 'px',\n        height: $root.pageHeight + 0 + 'px',\n        left:$root.componentCenter-$root.pageWidth + - 4 + 'px',\n        zIndex:12,border:'solid 4px rgba(255,0,0,1.0)',\n        borderRadius: '4px',\n        backgroundColor:'rgba(200, 200, 200, 0.0)'}\"></div><canvas v-if=true v-show=isAreaCanvasVisible v-el:area-canvas v-bind:style=\"{position:'absolute',\n            top:$root.pageHeight/2*-1 + 'px',\n            left:$root.componentCenter-$root.pageWidth+'px',\n            zIndex:12,\n            backgroundColor:'rgba(200, 200, 200, 0.0)'}\" v-bind:width=$root.pageWidth*2 v-bind:height=$root.pageHeight></canvas><div v-if=$root.isInitAreaVisible v-bind:style=\"{position:'absolute',\n        top:$root.pageHeight/2*-1 + 'px',\n        left:$root.componentCenter-$root.pageWidth+'px',\n        zIndex:'100',\n        width:$root.pageWidth*2+'px',height:$root.pageHeight+'px',backgroundColor:'rgba(200, 200, 200, 0.0)'}\"></div><div v-if=$root.isInitAreaVisible transition=fade><div v-bind:class={initframe:$root.isInitAreaVisible} v-bind:style=\"{position:'absolute',\n            top:$root.pageHeight/2*-1 + $root.startRectY - 3 + 'px',\n            left:$root.componentCenter-$root.pageWidth + $root.startRectX - 3 +'px',\n            zIndex:'101',border:'solid 3px #ff0099',\n            width:($root.startRectW)+'px',\n            height:($root.startRectH)+'px',backgroundColor:'rgba(200, 200, 200, 0.0)'}\"></div></div><div class=flipshadow v-if=isBendFlipMode v-show=\"isR2LFlip && rotateYForFlipRight<-1\" v-bind:style=\"{zIndex:199,position:'absolute',top:$root.pageHeight / 2 * -1 + 'px',left:$root.componentCenter+'px',width:$root.pageWidth+'px',height:$root.pageHeight+'px',boxShadow: 'inset rgba(0,0,0,0.1) '+shadowWidthForFlipR2L_R+'px 0 120px -120px'}\"></div><div id=flipRight2Left v-if=\"isBendFlipMode && backgroundImage && backgroundImage2\" v-bind:style=\"{visibility:bendR2LVisible,zIndex:200,position:'absolute',top:Math.floor($root.pageHeight / 2 * -1) + 'px',left:$root.componentCenter+'px',transform: 'rotateY('+ rotateYForFlipRight +'deg)'}\"><div id=omote class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transformStyle: 'preserve-3d',left:0,width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')'}\"><span v-if=$root.isDebug>omote</span><img alt=\"\" v-if=$root.shadowDisplay v-bind:style=\"{position:'absolute',top:0,left:0,width:'5px',height:$root.pageHeight + 'px'}\" v-bind:src=$interpolate(getRightPageShadow)><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-1+'px',backgroundPosition:bendSliceLeft*-1+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-2+'px',backgroundPosition:bendSliceLeft*-2+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-3+'px',backgroundPosition:bendSliceLeft*-3+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-4+'px',backgroundPosition:bendSliceLeft*-4+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-5+'px',backgroundPosition:bendSliceLeft*-5+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-6+'px',backgroundPosition:bendSliceLeft*-6+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-7+'px',backgroundPosition:bendSliceLeft*-7+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-8+'px',backgroundPosition:bendSliceLeft*-8+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage+')',backgroundPositionX:bendSliceLeft*-9+'px',backgroundPosition:bendSliceLeft*-9+'px 0px'}\"></div></div></div></div></div></div></div></div></div></div><div id=ura v-show=\"rotateYForFlipRight<-1\" class=flipslice v-bind:style=\"{transformStyle: 'preserve-3d',left:0,width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura0 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(9,bendSliceLeft)]\"><img alt=\"\" v-if=$root.shadowDisplay v-bind:style=\"{position:'absolute',top:0,right:'0px',width:'5px',height:$root.pageHeight + 'px'}\" v-bind:src=$interpolate(getLeftPageShadow)></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura1 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(8,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura2 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(7,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura3 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(6,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura4 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(5,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura5 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(4,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura6 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(3,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura7 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(2,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura8 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(1,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperR2LRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipslicerightura9 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage2+')'},getUraCanvasLeft(0,bendSliceLeft)]\"></div><span v-if=$root.isDebug>ura</span></div></div></div></div></div></div></div></div></div></div></div><div class=flipshadow v-if=isBendFlipMode v-show=\"isL2RFlip && rotateYForFlipLeft>-180\" v-bind:style=\"{zIndex:199,position:'absolute',top:$root.pageHeight / 2 * -1 + 'px',left:$root.componentCenter-$root.pageWidth+'px',width:$root.pageWidth+'px',height:$root.pageHeight+'px',boxShadow: 'inset rgba(0,0,0,0.1) '+shadowWidthForFlipL2R_L+'px 0 120px -120px'}\"></div><div id=flipLeft2Right v-if=\"isBendFlipMode && backgroundImage3 && backgroundImage4\" v-bind:style=\"{visibility:bendL2RVisible,zIndex:200,position:'absolute',top:Math.floor($root.pageHeight / 2 * -1) + 'px',left:$root.componentCenter+'px',transform: 'rotateY('+ rotateYForFlipLeft +'deg)'}\"><div id=omote2 class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transformStyle: 'preserve-3d',left:0,width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')'}\"><span v-if=$root.isDebug>omote2</span><img alt=\"\" v-if=$root.shadowDisplay v-bind:style=\"{position:'absolute',top:0,left:'0px',width:'5px',height:$root.pageHeight + 'px'}\" v-bind:src=$interpolate(getRightPageShadow)><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-1+'px',backgroundPosition:bendSliceLeft*-1+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-2+'px',backgroundPosition:bendSliceLeft*-2+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-3+'px',backgroundPosition:bendSliceLeft*-3+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-4+'px',backgroundPosition:bendSliceLeft*-4+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-5+'px',backgroundPosition:bendSliceLeft*-5+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-6+'px',backgroundPosition:bendSliceLeft*-6+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-7+'px',backgroundPosition:bendSliceLeft*-7+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-8+'px',backgroundPosition:bendSliceLeft*-8+'px 0px'}\"><div class=flipslice v-bind:style=\"{backgroundSize: $root.pageWidth + 'px '+ $root.pageHeight +'px',transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage3+')',backgroundPositionX:bendSliceLeft*-9+'px',backgroundPosition:bendSliceLeft*-9+'px 0px'}\"></div></div></div></div></div></div></div></div></div></div><div id=ura2 v-show=true class=flipslice v-bind:style=\"{transformStyle: 'preserve-3d',left:0,width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura0 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(9,bendSliceLeft)]\"><img alt=\"\" v-if=$root.shadowDisplay v-bind:style=\"{position:'absolute',top:0,right:'0px',width:'5px',height:$root.pageHeight + 'px'}\" v-bind:src=$interpolate(getLeftPageShadow)></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura1 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(8,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura2 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(7,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura3 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(6,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura4 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(5,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura5 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(4,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura6 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(3,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura7 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(2,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura8 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(1,bendSliceLeft)]\"></div><div class=flipslice v-bind:style=\"{transform: 'rotateY('+bendPaperL2RRotateY+'deg)', left:bendSliceLeft+'px',width:bendSliceWidth+'px',height:$root.pageHeight+'px'}\"><div id=flipsliceleftura9 class=flipslicecanvas v-bind:style=\"[{width:bendSliceCanvasWidth+'px',height:$root.pageHeight+'px',backgroundImage:'url('+backgroundImage4+')'},getUraCanvasLeft(0,bendSliceLeft)]\"></div><span v-if=$root.isDebug>ura2</span></div></div></div></div></div></div></div></div></div></div></div></div><div v-if=false v-bind:style=\"{\n        position:'absolute',\n        zIndex:'102',\n        left:0 + 'px',\n        top:0 + 'px',\n        }\">{{translateX}},{{translateY}}</div><div class=mp3-loading v-if=$root.isMp3Loading transition=bounce v-bind:style=\"{cursor:'pointer',zIndex:'200',position:'absolute',width:47 + $root.mp3ButtonMargin*2 + 'px',height: 20 + $root.mp3ButtonMargin*2 + 'px',zIndex:'200',left:($root.componentWidth-(47+$root.mp3ButtonMargin*2))/2 +'px',bottom:'0px'}\"><img alt=\"\" v-bind:style=\"{position:'absolute',right:$root.mp3ButtonMargin + 10 +'px',top:$root.mp3ButtonMargin+'px'}\" v-bind:src=$interpolate($root.loadingIcon)></div><div class=mp3-playing v-if=$root.isMp3Playing transition=bounce v-bind:style=\"{cursor:'pointer',position:'absolute',width:47 + $root.mp3ButtonMargin*2 + 'px',height: 20 + $root.mp3ButtonMargin*2 + 'px',zIndex:'200',left:($root.componentWidth-(47+$root.mp3ButtonMargin*2))/2 +'px',bottom:'0px'}\" v-on:click=$root.stopPlayingMp3><img alt=\"\" v-bind:style=\"{cursor:'pointer',position:'absolute',right:$root.mp3ButtonMargin +'px',top:$root.mp3ButtonMargin+'px'}\" v-bind:src=$interpolate($root.equalizerIcon)></div><div v-if=$root.isDebug v-bind:style=\"{position:'absolute',top:0,right:0}\"><div>carousel</div><div>isShiftPress:{{isShiftPress}}</div><div>restoredLibraPenCarouselLPage:{{restoredLibraPenCarouselLPage}}</div><div>restoredLibraPenCarouselRPage:{{restoredLibraPenCarouselRPage}}</div><div>restoredLibraPenCarouselCurrentPage:{{restoredLibraPenCarouselCurrentPage}}</div><div>@$root.activeLeftPageId:{{$root.activeLeftPageId}}</div><div>@$root.activeRightPageId:{{$root.activeRightPageId}}</div></div>"},function(t,e){t.exports="<div id=slide v-el:slide v-on:transitionend=otherTransitionEnd v-bind:style=\"{position:'absolute',\n     transition: 'all '+transitionDuration+'s ease',\n     transform: 'translate3d('+translateX + 'px,'+translateY + 'px,0) scale(' + $root.scale + ')',\n     transformOrigin: '0 0',\n     top:Math.floor(($root.componentHeight - $root.pageHeight*$root.baseScale)/2) + 'px',\n     left:Math.floor(($root.componentWidth - $root.pageWidth*$root.baseScale)/2) + 'px',\n     width:$root.pageWidth + 'px',\n     height: $root.pageHeight + 'px'\n     }\"><div v-for=\"item in carouselArray\" track-by=$index v-bind:class=\"{'print-target':checkPrintClass($index,item,$root.slideViewNum),\n         'print-ignore':!checkPrintClass($index,item,$root.slideViewNum)}\" v-show=checkvshow($index,item,$root.slideViewNum) v-bind:style=\"{\n            position:'absolute',\n            transition: 'all '+transitionDuration+'s ease',\n            transform: 'scale(' + 1 + ') translate3d('+Math.floor(totalDistance)+'px,'+0+'px,0)',\n            top: $root.pageHeight/2*-0 + 'px',\n            left: Math.floor(getLeft(item)) + 'px'}\"><slide-shadow></slide-shadow><page-layer v-bind:index=$index v-bind:page=item></page-layer></div><div class=link-images v-bind:style=\"{\n        position:'absolute',\n        top:0 - canvasPadding + 'px',\n        left:asobi-canvasPadding+'px',\n        zIndex:9,border:linkCanvasBorderStyleForDebug,\n        backgroundColor:'rgba(100, 100, 250, 0.0)'}\" v-bind:width=$root.pageWidth*1+100 v-bind:height=$root.pageHeight+100><canvas v-bind:width=item.w*2 v-show=answerLinkInitialDisplay(item) v-bind:height=item.h*2 v-bind:style=\"{\n                position:'absolute',\n                transformOrigin: 0 + 'px '+ 0 + 'px',\n                transform: 'translate('+item.x+'px,'+item.y+'px) rotate('+item.deg+'deg) scale(' + item.scaleX / 2 + ',' + item.scaleY / 2 + ')'}\" v-for=\"item in imageLinks\" track-by=$index id=imagelink-{{item.lr}}-{{item.id}}></canvas></div><canvas v-if=true v-el:link-canvas v-show=!isFlipping class=link-canvas v-bind:style=\"{position:'absolute',\n            top:0 - canvasPadding + 'px',\n            left:asobi-canvasPadding+'px',\n            zIndex:10,border:linkCanvasBorderStyleForDebug,\n            backgroundColor:'rgba(100, 100, 250, 0.0)'}\" v-bind:width=$root.pageWidth*1+100 v-bind:height=$root.pageHeight+100></canvas><canvas v-if=true v-el:pen-canvas v-show=isTegakiCanvasVisible v-bind:style=\"{position:'absolute',\n            top: -1 + 'px',\n            left: -1 + 'px',\n            zIndex:11,border:'solid 1px #ff0000',\n            backgroundColor:'rgba(255, 255, 255, 0.0)'}\" v-bind:width=$root.pageWidth*1 v-bind:height=$root.pageHeight></canvas><div v-show=isAreaCanvasVisible v-bind:style=\"{position:'absolute',\n        top: -4 + 'px',\n        left: -4 + 'px',\n        width: $root.pageWidth * 1 + 'px',\n        height: $root.pageHeight + 'px',\n        zIndex:12,border:'solid 4px rgba(255,0,0,1)',\n        borderRadius: '4px',\n        backgroundColor:'rgba(200, 200, 200, 0.0)'}\"></div><canvas v-if=true v-show=isAreaCanvasVisible v-el:area-canvas v-bind:style=\"{position:'absolute',\n            zIndex:12,\n            backgroundColor:'rgba(200, 200, 200, 0.0)'}\" v-bind:width=$root.pageWidth*1 v-bind:height=$root.pageHeight></canvas><div v-if=$root.isInitAreaVisible v-bind:style=\"{position:'absolute',\n         zIndex:'100',\n         width:$root.pageWidth*1+'px',height:$root.pageHeight + 'px',backgroundColor:'rgba(200, 200, 200, 0.0)'}\"></div><div v-if=$root.isInitAreaVisible transition=fade><div v-bind:class={initframe:$root.isInitAreaVisible} v-bind:style=\"{position:'absolute',\n            top:$root.startRectY - 3 + 'px',\n            left:$root.startRectX - 3 +'px',\n            zIndex:'101',border:'solid 3px #ff0099',\n            width:($root.startRectW)+'px',\n            height:($root.startRectH)+'px',backgroundColor:'rgba(200, 200, 200, 0.0)'}\"></div></div><div v-if=false v-bind:style=\"{position:'absolute',top:$root.pageHeight * percentY + 'px',left:$root.pageWidth * percentX + 'px'}\">{{percentX*100}}%,{{percentY*100}}%</div><div v-if=false v-bind:style=\"{position:'absolute',top:$root.pageHeight/2 + 'px',left:0 + 'px',width:400+'px'}\"></div></div><div class=mp3-loading v-if=$root.isMp3Loading transition=bounce v-bind:style=\"{cursor:'pointer',zIndex:'200',position:'absolute',width:47 + $root.mp3ButtonMargin*2 + 'px',height: 20 + $root.mp3ButtonMargin*2 + 'px',zIndex:'200',left:($root.componentWidth-(47+$root.mp3ButtonMargin*2))/2 +'px',bottom:'0px'}\"><img alt=\"\" v-bind:style=\"{position:'absolute',right:$root.mp3ButtonMargin + 10 +'px',top:$root.mp3ButtonMargin+'px'}\" v-bind:src=$interpolate($root.loadingIcon)></div><div class=mp3-playing v-if=$root.isMp3Playing transition=bounce v-bind:style=\"{cursor:'pointer',position:'absolute',width:47 + $root.mp3ButtonMargin*2 + 'px',height: 20 + $root.mp3ButtonMargin*2 + 'px',zIndex:'200',left:($root.componentWidth-(47+$root.mp3ButtonMargin*2))/2 +'px',bottom:'0px'}\" v-on:click=$root.stopPlayingMp3><img alt=\"\" v-bind:style=\"{cursor:'pointer',position:'absolute',right:$root.mp3ButtonMargin +'px',top:$root.mp3ButtonMargin+'px'}\" v-bind:src=$interpolate($root.equalizerIcon)></div><div v-if=$root.isDebug v-bind:style=\"{position:'absolute',top:0 + 'px',right:0 + 'px',width:400+'px'}\"><div>restoredLibraPenSlideCurrentPage:{{restoredLibraPenSlideCurrentPage}}</div></div>"},function(t,e){(function(){/*!
	* @license EaselJS
	* Visit http://createjs.com/ for documentation, updates and examples.
	*
	* Copyright (c) 2011-2015 gskinner.com, inc.
	*
	* Distributed under the terms of the MIT license.
	* http://www.opensource.org/licenses/mit-license.html
	*
	* This notice shall be included in all copies or substantial portions of the Software.
	*/
this.createjs=this.createjs||{},createjs.extend=function(t,e){"use strict";function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i},this.createjs=this.createjs||{},createjs.promote=function(t,e){"use strict";var i=t.prototype,n=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(n){i[(e+="_")+"constructor"]=n.constructor;for(var r in n)i.hasOwnProperty(r)&&"function"==typeof n[r]&&(i[e+r]=n[r])}return t},this.createjs=this.createjs||{},createjs.indexOf=function(t,e){"use strict";for(var i=0,n=t.length;n>i;i++)if(e===t[i])return i;return-1},this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.type=t,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!e,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var e=t.prototype;e.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},e.stopPropagation=function(){this.propagationStopped=!0},e.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.remove=function(){this.removed=!0},e.clone=function(){return new t(this.type,this.bubbles,this.cancelable)},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this._listeners=null,this._captureListeners=null}var e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.on=e.on,t.removeEventListener=t.off=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent,t._dispatchEvent=e._dispatchEvent,t.willTrigger=e.willTrigger},e.addEventListener=function(t,e,i){var n;n=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var r=n[t];return r&&this.removeEventListener(t,e,i),r=n[t],r?r.push(e):n[t]=[e],e},e.on=function(t,e,i,n,r,o){return e.handleEvent&&(i=i||e,e=e.handleEvent),i=i||this,this.addEventListener(t,function(t){e.call(i,t,r),n&&t.remove()},o)},e.removeEventListener=function(t,e,i){var n=i?this._captureListeners:this._listeners;if(n){var r=n[t];if(r)for(var o=0,s=r.length;s>o;o++)if(r[o]==e){1==s?delete n[t]:r.splice(o,1);break}}},e.off=e.removeEventListener,e.removeAllEventListeners=function(t){t?(this._listeners&&delete this._listeners[t],this._captureListeners&&delete this._captureListeners[t]):this._listeners=this._captureListeners=null},e.dispatchEvent=function(t,e,i){if("string"==typeof t){var n=this._listeners;if(!(e||n&&n[t]))return!0;t=new createjs.Event(t,e,i)}else t.target&&t.clone&&(t=t.clone());try{t.target=this}catch(t){}if(t.bubbles&&this.parent){for(var r=this,o=[r];r.parent;)o.push(r=r.parent);var s,a=o.length;for(s=a-1;s>=0&&!t.propagationStopped;s--)o[s]._dispatchEvent(t,1+(0==s));for(s=1;a>s&&!t.propagationStopped;s++)o[s]._dispatchEvent(t,3)}else this._dispatchEvent(t,2);return!t.defaultPrevented},e.hasEventListener=function(t){var e=this._listeners,i=this._captureListeners;return!!(e&&e[t]||i&&i[t])},e.willTrigger=function(t){for(var e=this;e;){if(e.hasEventListener(t))return!0;e=e.parent}return!1},e.toString=function(){return"[EventDispatcher]"},e._dispatchEvent=function(t,e){var i,n=1==e?this._captureListeners:this._listeners;if(t&&n){var r=n[t.type];if(!r||!(i=r.length))return;try{t.currentTarget=this}catch(t){}try{t.eventPhase=e}catch(t){}t.removed=!1,r=r.slice();for(var o=0;i>o&&!t.immediatePropagationStopped;o++){var s=r[o];s.handleEvent?s.handleEvent(t):s(t),t.removed&&(this.off(t.type,s,1==e),t.removed=!1)}}},createjs.EventDispatcher=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Ticker cannot be instantiated."}t.RAF_SYNCHED="synched",t.RAF="raf",t.TIMEOUT="timeout",t.useRAF=!1,t.timingMode=null,t.maxDelta=0,t.paused=!1,t.removeEventListener=null,t.removeAllEventListeners=null,t.dispatchEvent=null,t.hasEventListener=null,t._listeners=null,createjs.EventDispatcher.initialize(t),t._addEventListener=t.addEventListener,t.addEventListener=function(){return!t._inited&&t.init(),t._addEventListener.apply(t,arguments)},t._inited=!1,t._startTime=0,t._pausedTime=0,t._ticks=0,t._pausedTicks=0,t._interval=50,t._lastTime=0,t._times=null,t._tickTimes=null,t._timerId=null,t._raf=!0,t.setInterval=function(e){t._interval=e,t._inited&&t._setupTick()},t.getInterval=function(){return t._interval},t.setFPS=function(e){t.setInterval(1e3/e)},t.getFPS=function(){return 1e3/t._interval};try{Object.defineProperties(t,{interval:{get:t.getInterval,set:t.setInterval},framerate:{get:t.getFPS,set:t.setFPS}})}catch(t){console.log(t)}t.init=function(){t._inited||(t._inited=!0,t._times=[],t._tickTimes=[],t._startTime=t._getTime(),t._times.push(t._lastTime=0),t.interval=t._interval)},t.reset=function(){if(t._raf){var e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;e&&e(t._timerId)}else clearTimeout(t._timerId);t.removeAllEventListeners("tick"),t._timerId=t._times=t._tickTimes=null,t._startTime=t._lastTime=t._ticks=0,t._inited=!1},t.getMeasuredTickTime=function(e){var i=0,n=t._tickTimes;if(!n||n.length<1)return-1;e=Math.min(n.length,e||0|t.getFPS());for(var r=0;e>r;r++)i+=n[r];return i/e},t.getMeasuredFPS=function(e){var i=t._times;return!i||i.length<2?-1:(e=Math.min(i.length-1,e||0|t.getFPS()),1e3/((i[0]-i[e])/e))},t.setPaused=function(e){t.paused=e},t.getPaused=function(){return t.paused},t.getTime=function(e){return t._startTime?t._getTime()-(e?t._pausedTime:0):-1},t.getEventTime=function(e){return t._startTime?(t._lastTime||t._startTime)-(e?t._pausedTime:0):-1},t.getTicks=function(e){return t._ticks-(e?t._pausedTicks:0)},t._handleSynch=function(){t._timerId=null,t._setupTick(),t._getTime()-t._lastTime>=.97*(t._interval-1)&&t._tick()},t._handleRAF=function(){t._timerId=null,t._setupTick(),t._tick()},t._handleTimeout=function(){t._timerId=null,t._setupTick(),t._tick()},t._setupTick=function(){if(null==t._timerId){var e=t.timingMode||t.useRAF&&t.RAF_SYNCHED;if(e==t.RAF_SYNCHED||e==t.RAF){var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(i)return t._timerId=i(e==t.RAF?t._handleRAF:t._handleSynch),void(t._raf=!0)}t._raf=!1,t._timerId=setTimeout(t._handleTimeout,t._interval)}},t._tick=function(){var e=t.paused,i=t._getTime(),n=i-t._lastTime;if(t._lastTime=i,t._ticks++,e&&(t._pausedTicks++,t._pausedTime+=n),t.hasEventListener("tick")){var r=new createjs.Event("tick"),o=t.maxDelta;r.delta=o&&n>o?o:n,r.paused=e,r.time=i,r.runTime=i-t._pausedTime,t.dispatchEvent(r)}for(t._tickTimes.unshift(t._getTime()-i);t._tickTimes.length>100;)t._tickTimes.pop();for(t._times.unshift(i);t._times.length>100;)t._times.pop()};var e=window.performance&&(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow);t._getTime=function(){return(e&&e.call(performance)||(new Date).getTime())-t._startTime},createjs.Ticker=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"UID cannot be instantiated"}t._nextID=0,t.get=function(){return t._nextID++},createjs.UID=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n,r,o,s,a,h,u,c){this.Event_constructor(t,e,i),this.stageX=n,this.stageY=r,this.rawX=null==h?n:h,this.rawY=null==u?r:u,this.nativeEvent=o,this.pointerID=s,this.primary=!!a,this.relatedTarget=c}var e=createjs.extend(t,createjs.Event);e._get_localX=function(){return this.currentTarget.globalToLocal(this.rawX,this.rawY).x},e._get_localY=function(){return this.currentTarget.globalToLocal(this.rawX,this.rawY).y},e._get_isTouch=function(){return-1!==this.pointerID};try{Object.defineProperties(e,{localX:{get:e._get_localX},localY:{get:e._get_localY},isTouch:{get:e._get_isTouch}})}catch(t){}e.clone=function(){return new t(this.type,this.bubbles,this.cancelable,this.stageX,this.stageY,this.nativeEvent,this.pointerID,this.primary,this.rawX,this.rawY)},e.toString=function(){return"[MouseEvent (type="+this.type+" stageX="+this.stageX+" stageY="+this.stageY+")]"},createjs.MouseEvent=createjs.promote(t,"Event")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n,r,o){this.setValues(t,e,i,n,r,o)}var e=t.prototype;t.DEG_TO_RAD=Math.PI/180,t.identity=null,e.setValues=function(t,e,i,n,r,o){return this.a=null==t?1:t,this.b=e||0,this.c=i||0,this.d=null==n?1:n,this.tx=r||0,this.ty=o||0,this},e.append=function(t,e,i,n,r,o){var s=this.a,a=this.b,h=this.c,u=this.d;return(1!=t||0!=e||0!=i||1!=n)&&(this.a=s*t+h*e,this.b=a*t+u*e,this.c=s*i+h*n,this.d=a*i+u*n),this.tx=s*r+h*o+this.tx,this.ty=a*r+u*o+this.ty,this},e.prepend=function(t,e,i,n,r,o){var s=this.a,a=this.c,h=this.tx;return this.a=t*s+i*this.b,this.b=e*s+n*this.b,this.c=t*a+i*this.d,this.d=e*a+n*this.d,this.tx=t*h+i*this.ty+r,this.ty=e*h+n*this.ty+o,this},e.appendMatrix=function(t){return this.append(t.a,t.b,t.c,t.d,t.tx,t.ty)},e.prependMatrix=function(t){return this.prepend(t.a,t.b,t.c,t.d,t.tx,t.ty)},e.appendTransform=function(e,i,n,r,o,s,a,h,u){if(o%360)var c=o*t.DEG_TO_RAD,l=Math.cos(c),p=Math.sin(c);else l=1,p=0;return s||a?(s*=t.DEG_TO_RAD,a*=t.DEG_TO_RAD,this.append(Math.cos(a),Math.sin(a),-Math.sin(s),Math.cos(s),e,i),this.append(l*n,p*n,-p*r,l*r,0,0)):this.append(l*n,p*n,-p*r,l*r,e,i),(h||u)&&(this.tx-=h*this.a+u*this.c,this.ty-=h*this.b+u*this.d),this},e.prependTransform=function(e,i,n,r,o,s,a,h,u){if(o%360)var c=o*t.DEG_TO_RAD,l=Math.cos(c),p=Math.sin(c);else l=1,p=0;return(h||u)&&(this.tx-=h,this.ty-=u),s||a?(s*=t.DEG_TO_RAD,a*=t.DEG_TO_RAD,this.prepend(l*n,p*n,-p*r,l*r,0,0),this.prepend(Math.cos(a),Math.sin(a),-Math.sin(s),Math.cos(s),e,i)):this.prepend(l*n,p*n,-p*r,l*r,e,i),this},e.rotate=function(e){e*=t.DEG_TO_RAD;var i=Math.cos(e),n=Math.sin(e),r=this.a,o=this.b;return this.a=r*i+this.c*n,this.b=o*i+this.d*n,this.c=-r*n+this.c*i,this.d=-o*n+this.d*i,this},e.skew=function(e,i){return e*=t.DEG_TO_RAD,i*=t.DEG_TO_RAD,this.append(Math.cos(i),Math.sin(i),-Math.sin(e),Math.cos(e),0,0),this},e.scale=function(t,e){return this.a*=t,this.b*=t,this.c*=e,this.d*=e,this},e.translate=function(t,e){return this.tx+=this.a*t+this.c*e,this.ty+=this.b*t+this.d*e,this},e.identity=function(){return this.a=this.d=1,this.b=this.c=this.tx=this.ty=0,this},e.invert=function(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.tx,o=t*n-e*i;return this.a=n/o,this.b=-e/o,this.c=-i/o,this.d=t/o,this.tx=(i*this.ty-n*r)/o,this.ty=-(t*this.ty-e*r)/o,this},e.isIdentity=function(){return 0===this.tx&&0===this.ty&&1===this.a&&0===this.b&&0===this.c&&1===this.d},e.equals=function(t){return this.tx===t.tx&&this.ty===t.ty&&this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d},e.transformPoint=function(t,e,i){return i=i||{},i.x=t*this.a+e*this.c+this.tx,i.y=t*this.b+e*this.d+this.ty,i},e.decompose=function(e){null==e&&(e={}),e.x=this.tx,e.y=this.ty,e.scaleX=Math.sqrt(this.a*this.a+this.b*this.b),e.scaleY=Math.sqrt(this.c*this.c+this.d*this.d);var i=Math.atan2(-this.c,this.d),n=Math.atan2(this.b,this.a),r=Math.abs(1-i/n);return 1e-5>r?(e.rotation=n/t.DEG_TO_RAD,this.a<0&&this.d>=0&&(e.rotation+=e.rotation<=0?180:-180),e.skewX=e.skewY=0):(e.skewX=i/t.DEG_TO_RAD,e.skewY=n/t.DEG_TO_RAD),e},e.copy=function(t){return this.setValues(t.a,t.b,t.c,t.d,t.tx,t.ty)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.tx,this.ty)},e.toString=function(){return"[Matrix2D (a="+this.a+" b="+this.b+" c="+this.c+" d="+this.d+" tx="+this.tx+" ty="+this.ty+")]"},t.identity=new t,createjs.Matrix2D=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n,r){this.setValues(t,e,i,n,r)}var e=t.prototype;e.setValues=function(t,e,i,n,r){return this.visible=null==t||!!t,this.alpha=null==e?1:e,this.shadow=i,this.compositeOperation=n,this.matrix=r||this.matrix&&this.matrix.identity()||new createjs.Matrix2D,this},e.append=function(t,e,i,n,r){return this.alpha*=e,this.shadow=i||this.shadow,this.compositeOperation=n||this.compositeOperation,this.visible=this.visible&&t,r&&this.matrix.appendMatrix(r),this},e.prepend=function(t,e,i,n,r){return this.alpha*=e,this.shadow=this.shadow||i,this.compositeOperation=this.compositeOperation||n,this.visible=this.visible&&t,r&&this.matrix.prependMatrix(r),this},e.identity=function(){return this.visible=!0,this.alpha=1,this.shadow=this.compositeOperation=null,this.matrix.identity(),this},e.clone=function(){return new t(this.alpha,this.shadow,this.compositeOperation,this.visible,this.matrix.clone())},createjs.DisplayProps=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.setValues(t,e)}var e=t.prototype;e.setValues=function(t,e){return this.x=t||0,this.y=e||0,this},e.copy=function(t){return this.x=t.x,this.y=t.y,this},e.clone=function(){return new t(this.x,this.y)},e.toString=function(){return"[Point (x="+this.x+" y="+this.y+")]"},createjs.Point=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n){this.setValues(t,e,i,n)}var e=t.prototype;e.setValues=function(t,e,i,n){return this.x=t||0,this.y=e||0,this.width=i||0,this.height=n||0,this},e.extend=function(t,e,i,n){return i=i||0,n=n||0,t+i>this.x+this.width&&(this.width=t+i-this.x),e+n>this.y+this.height&&(this.height=e+n-this.y),t<this.x&&(this.width+=this.x-t,this.x=t),e<this.y&&(this.height+=this.y-e,this.y=e),this},e.pad=function(t,e,i,n){return this.x-=e,this.y-=t,this.width+=e+n,this.height+=t+i,this},e.copy=function(t){return this.setValues(t.x,t.y,t.width,t.height)},e.contains=function(t,e,i,n){return i=i||0,n=n||0,t>=this.x&&t+i<=this.x+this.width&&e>=this.y&&e+n<=this.y+this.height},e.union=function(t){return this.clone().extend(t.x,t.y,t.width,t.height)},e.intersection=function(e){var i=e.x,n=e.y,r=i+e.width,o=n+e.height;return this.x>i&&(i=this.x),this.y>n&&(n=this.y),this.x+this.width<r&&(r=this.x+this.width),this.y+this.height<o&&(o=this.y+this.height),i>=r||n>=o?null:new t(i,n,r-i,o-n)},e.intersects=function(t){return t.x<=this.x+this.width&&this.x<=t.x+t.width&&t.y<=this.y+this.height&&this.y<=t.y+t.height},e.isEmpty=function(){return this.width<=0||this.height<=0},e.clone=function(){return new t(this.x,this.y,this.width,this.height)},e.toString=function(){return"[Rectangle (x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+")]"},createjs.Rectangle=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n,r,o,s){t.addEventListener&&(this.target=t,this.overLabel=null==i?"over":i,this.outLabel=null==e?"out":e,this.downLabel=null==n?"down":n,this.play=r,this._isPressed=!1,this._isOver=!1,this._enabled=!1,t.mouseChildren=!1,this.enabled=!0,this.handleEvent({}),o&&(s&&(o.actionsEnabled=!1,o.gotoAndStop&&o.gotoAndStop(s)),t.hitArea=o))}var e=t.prototype;e.setEnabled=function(t){if(t!=this._enabled){var e=this.target;this._enabled=t,t?(e.cursor="pointer",e.addEventListener("rollover",this),e.addEventListener("rollout",this),e.addEventListener("mousedown",this),e.addEventListener("pressup",this),e._reset&&(e.__reset=e._reset,e._reset=this._reset)):(e.cursor=null,e.removeEventListener("rollover",this),e.removeEventListener("rollout",this),e.removeEventListener("mousedown",this),e.removeEventListener("pressup",this),e.__reset&&(e._reset=e.__reset,delete e.__reset))}},e.getEnabled=function(){return this._enabled};try{Object.defineProperties(e,{enabled:{get:e.getEnabled,set:e.setEnabled}})}catch(t){}e.toString=function(){return"[ButtonHelper]"},e.handleEvent=function(t){var e,i=this.target,n=t.type;"mousedown"==n?(this._isPressed=!0,e=this.downLabel):"pressup"==n?(this._isPressed=!1,e=this._isOver?this.overLabel:this.outLabel):"rollover"==n?(this._isOver=!0,e=this._isPressed?this.downLabel:this.overLabel):(this._isOver=!1,e=this._isPressed?this.overLabel:this.outLabel),this.play?i.gotoAndPlay&&i.gotoAndPlay(e):i.gotoAndStop&&i.gotoAndStop(e)},e._reset=function(){var t=this.paused;this.__reset(),this.paused=t},createjs.ButtonHelper=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n){this.color=t||"black",this.offsetX=e||0,this.offsetY=i||0,this.blur=n||0}var e=t.prototype;t.identity=new t("transparent",0,0,0),e.toString=function(){return"[Shadow]"},e.clone=function(){return new t(this.color,this.offsetX,this.offsetY,this.blur)},createjs.Shadow=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.EventDispatcher_constructor(),this.complete=!0,this.framerate=0,this._animations=null,this._frames=null,this._images=null,this._data=null,this._loadCount=0,this._frameHeight=0,this._frameWidth=0,this._numFrames=0,this._regX=0,this._regY=0,this._spacing=0,this._margin=0,this._parseData(t)}var e=createjs.extend(t,createjs.EventDispatcher);e.getAnimations=function(){return this._animations.slice()};try{Object.defineProperties(e,{animations:{get:e.getAnimations}})}catch(t){}e.getNumFrames=function(t){if(null==t)return this._frames?this._frames.length:this._numFrames||0;var e=this._data[t];return null==e?0:e.frames.length},e.getAnimation=function(t){return this._data[t]},e.getFrame=function(t){var e;return this._frames&&(e=this._frames[t])?e:null},e.getFrameBounds=function(t,e){var i=this.getFrame(t);return i?(e||new createjs.Rectangle).setValues(-i.regX,-i.regY,i.rect.width,i.rect.height):null},e.toString=function(){return"[SpriteSheet]"},e.clone=function(){throw"SpriteSheet cannot be cloned."},e._parseData=function(t){var e,i,n,r;if(null!=t){if(this.framerate=t.framerate||0,t.images&&(i=t.images.length)>0)for(r=this._images=[],e=0;i>e;e++){var o=t.images[e];if("string"==typeof o){var s=o;o=document.createElement("img"),o.src=s}r.push(o),o.getContext||o.naturalWidth||(this._loadCount++,this.complete=!1,function(t,e){o.onload=function(){t._handleImageLoad(e)}}(this,s),function(t,e){o.onerror=function(){t._handleImageError(e)}}(this,s))}if(null==t.frames);else if(Array.isArray(t.frames))for(this._frames=[],r=t.frames,e=0,i=r.length;i>e;e++){var a=r[e];this._frames.push({image:this._images[a[4]?a[4]:0],rect:new createjs.Rectangle(a[0],a[1],a[2],a[3]),regX:a[5]||0,regY:a[6]||0})}else n=t.frames,this._frameWidth=n.width,this._frameHeight=n.height,this._regX=n.regX||0,this._regY=n.regY||0,this._spacing=n.spacing||0,this._margin=n.margin||0,this._numFrames=n.count,0==this._loadCount&&this._calculateFrames();if(this._animations=[],null!=(n=t.animations)){this._data={};var h;for(h in n){var u={name:h},c=n[h];if("number"==typeof c)r=u.frames=[c];else if(Array.isArray(c))if(1==c.length)u.frames=[c[0]];else for(u.speed=c[3],u.next=c[2],r=u.frames=[],e=c[0];e<=c[1];e++)r.push(e);else{u.speed=c.speed,u.next=c.next;var l=c.frames;r=u.frames="number"==typeof l?[l]:l.slice(0)}(u.next===!0||void 0===u.next)&&(u.next=h),(u.next===!1||r.length<2&&u.next==h)&&(u.next=null),u.speed||(u.speed=1),this._animations.push(h),this._data[h]=u}}}},e._handleImageLoad=function(){0==--this._loadCount&&(this._calculateFrames(),this.complete=!0,this.dispatchEvent("complete"))},e._handleImageError=function(t){var e=new createjs.Event("error");e.src=t,this.dispatchEvent(e),0==--this._loadCount&&this.dispatchEvent("complete")},e._calculateFrames=function(){if(!this._frames&&0!=this._frameWidth){this._frames=[];var t=this._numFrames||1e5,e=0,i=this._frameWidth,n=this._frameHeight,r=this._spacing,o=this._margin;t:for(var s=0,a=this._images;s<a.length;s++)for(var h=a[s],u=h.width,c=h.height,l=o;c-o-n>=l;){for(var p=o;u-o-i>=p;){if(e>=t)break t;e++,this._frames.push({image:h,rect:new createjs.Rectangle(p,l,i,n),regX:this._regX,regY:this._regY}),p+=i+r}l+=n+r}this._numFrames=e}},createjs.SpriteSheet=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.command=null,this._stroke=null,this._strokeStyle=null,this._oldStrokeStyle=null,this._strokeDash=null,this._oldStrokeDash=null,this._strokeIgnoreScale=!1,this._fill=null,this._instructions=[],this._commitIndex=0,this._activeInstructions=[],this._dirty=!1,this._storeIndex=0,this.clear()}var e=t.prototype,i=t;t.getRGB=function(t,e,i,n){return null!=t&&null==i&&(n=e,i=255&t,e=t>>8&255,t=t>>16&255),null==n?"rgb("+t+","+e+","+i+")":"rgba("+t+","+e+","+i+","+n+")"},t.getHSL=function(t,e,i,n){return null==n?"hsl("+t%360+","+e+"%,"+i+"%)":"hsla("+t%360+","+e+"%,"+i+"%,"+n+")"},t.BASE_64={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,a:26,b:27,c:28,d:29,e:30,f:31,g:32,h:33,i:34,j:35,k:36,l:37,m:38,n:39,o:40,p:41,q:42,r:43,s:44,t:45,u:46,v:47,w:48,x:49,y:50,z:51,0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,8:60,9:61,"+":62,"/":63},t.STROKE_CAPS_MAP=["butt","round","square"],t.STROKE_JOINTS_MAP=["miter","round","bevel"];var n=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");n.getContext&&(t._ctx=n.getContext("2d"),n.width=n.height=1),e.getInstructions=function(){return this._updateInstructions(),this._instructions};try{Object.defineProperties(e,{instructions:{get:e.getInstructions}})}catch(t){}e.isEmpty=function(){return!(this._instructions.length||this._activeInstructions.length)},e.draw=function(t,e){this._updateInstructions();for(var i=this._instructions,n=this._storeIndex,r=i.length;r>n;n++)i[n].exec(t,e)},e.drawAsPath=function(t){this._updateInstructions();for(var e,i=this._instructions,n=this._storeIndex,r=i.length;r>n;n++)(e=i[n]).path!==!1&&e.exec(t)},e.moveTo=function(t,e){return this.append(new i.MoveTo(t,e),!0)},e.lineTo=function(t,e){return this.append(new i.LineTo(t,e))},e.arcTo=function(t,e,n,r,o){return this.append(new i.ArcTo(t,e,n,r,o))},e.arc=function(t,e,n,r,o,s){return this.append(new i.Arc(t,e,n,r,o,s))},e.quadraticCurveTo=function(t,e,n,r){return this.append(new i.QuadraticCurveTo(t,e,n,r))},e.bezierCurveTo=function(t,e,n,r,o,s){return this.append(new i.BezierCurveTo(t,e,n,r,o,s))},e.rect=function(t,e,n,r){return this.append(new i.Rect(t,e,n,r))},e.closePath=function(){return this._activeInstructions.length?this.append(new i.ClosePath):this},e.clear=function(){return this._instructions.length=this._activeInstructions.length=this._commitIndex=0,this._strokeStyle=this._oldStrokeStyle=this._stroke=this._fill=this._strokeDash=this._oldStrokeDash=null,this._dirty=this._strokeIgnoreScale=!1,this},e.beginFill=function(t){return this._setFill(t?new i.Fill(t):null)},e.beginLinearGradientFill=function(t,e,n,r,o,s){return this._setFill((new i.Fill).linearGradient(t,e,n,r,o,s))},e.beginRadialGradientFill=function(t,e,n,r,o,s,a,h){return this._setFill((new i.Fill).radialGradient(t,e,n,r,o,s,a,h))},e.beginBitmapFill=function(t,e,n){return this._setFill(new i.Fill(null,n).bitmap(t,e))},e.endFill=function(){return this.beginFill()},e.setStrokeStyle=function(t,e,n,r,o){return this._updateInstructions(!0),this._strokeStyle=this.command=new i.StrokeStyle(t,e,n,r,o),this._stroke&&(this._stroke.ignoreScale=o),this._strokeIgnoreScale=o,this},e.setStrokeDash=function(t,e){return this._updateInstructions(!0),this._strokeDash=this.command=new i.StrokeDash(t,e),this},e.beginStroke=function(t){return this._setStroke(t?new i.Stroke(t):null)},e.beginLinearGradientStroke=function(t,e,n,r,o,s){return this._setStroke((new i.Stroke).linearGradient(t,e,n,r,o,s))},e.beginRadialGradientStroke=function(t,e,n,r,o,s,a,h){return this._setStroke((new i.Stroke).radialGradient(t,e,n,r,o,s,a,h))},e.beginBitmapStroke=function(t,e){return this._setStroke((new i.Stroke).bitmap(t,e))},e.endStroke=function(){return this.beginStroke()},e.curveTo=e.quadraticCurveTo,e.drawRect=e.rect,e.drawRoundRect=function(t,e,i,n,r){return this.drawRoundRectComplex(t,e,i,n,r,r,r,r)},e.drawRoundRectComplex=function(t,e,n,r,o,s,a,h){return this.append(new i.RoundRect(t,e,n,r,o,s,a,h))},e.drawCircle=function(t,e,n){return this.append(new i.Circle(t,e,n))},e.drawEllipse=function(t,e,n,r){return this.append(new i.Ellipse(t,e,n,r))},e.drawPolyStar=function(t,e,n,r,o,s){return this.append(new i.PolyStar(t,e,n,r,o,s))},e.append=function(t,e){return this._activeInstructions.push(t),this.command=t,e||(this._dirty=!0),this},e.decodePath=function(e){for(var i=[this.moveTo,this.lineTo,this.quadraticCurveTo,this.bezierCurveTo,this.closePath],n=[2,2,4,6,0],r=0,o=e.length,s=[],a=0,h=0,u=t.BASE_64;o>r;){var c=e.charAt(r),l=u[c],p=l>>3,f=i[p];if(!f||3&l)throw"bad path data (@"+r+"): "+c;var d=n[p];p||(a=h=0),s.length=0,r++;for(var g=(l>>2&1)+2,v=0;d>v;v++){var m=u[e.charAt(r)],_=m>>5?-1:1;m=(31&m)<<6|u[e.charAt(r+1)],3==g&&(m=m<<6|u[e.charAt(r+2)]),m=_*m/10,v%2?a=m+=a:h=m+=h,s[v]=m,r+=g}f.apply(this,s)}return this},e.store=function(){return this._updateInstructions(!0),this._storeIndex=this._instructions.length,this},e.unstore=function(){return this._storeIndex=0,this},e.clone=function(){var e=new t;return e.command=this.command,e._stroke=this._stroke,e._strokeStyle=this._strokeStyle,e._strokeDash=this._strokeDash,e._strokeIgnoreScale=this._strokeIgnoreScale,e._fill=this._fill,e._instructions=this._instructions.slice(),e._commitIndex=this._commitIndex,e._activeInstructions=this._activeInstructions.slice(),e._dirty=this._dirty,e._storeIndex=this._storeIndex,e},e.toString=function(){return"[Graphics]"},e.mt=e.moveTo,e.lt=e.lineTo,e.at=e.arcTo,e.bt=e.bezierCurveTo,e.qt=e.quadraticCurveTo,e.a=e.arc,e.r=e.rect,e.cp=e.closePath,e.c=e.clear,e.f=e.beginFill,e.lf=e.beginLinearGradientFill,e.rf=e.beginRadialGradientFill,e.bf=e.beginBitmapFill,e.ef=e.endFill,e.ss=e.setStrokeStyle,e.sd=e.setStrokeDash,e.s=e.beginStroke,e.ls=e.beginLinearGradientStroke,e.rs=e.beginRadialGradientStroke,e.bs=e.beginBitmapStroke,e.es=e.endStroke,e.dr=e.drawRect,e.rr=e.drawRoundRect,e.rc=e.drawRoundRectComplex,e.dc=e.drawCircle,e.de=e.drawEllipse,e.dp=e.drawPolyStar,e.p=e.decodePath,e._updateInstructions=function(e){var i=this._instructions,n=this._activeInstructions,r=this._commitIndex;if(this._dirty&&n.length){i.length=r,i.push(t.beginCmd);var o=n.length,s=i.length;i.length=s+o;for(var a=0;o>a;a++)i[a+s]=n[a];this._fill&&i.push(this._fill),this._stroke&&(this._strokeDash!==this._oldStrokeDash&&(this._oldStrokeDash=this._strokeDash,i.push(this._strokeDash)),this._strokeStyle!==this._oldStrokeStyle&&(this._oldStrokeStyle=this._strokeStyle,i.push(this._strokeStyle)),i.push(this._stroke)),this._dirty=!1}e&&(n.length=0,this._commitIndex=i.length)},e._setFill=function(t){return this._updateInstructions(!0),this.command=this._fill=t,this},e._setStroke=function(t){return this._updateInstructions(!0),(this.command=this._stroke=t)&&(t.ignoreScale=this._strokeIgnoreScale),this},(i.LineTo=function(t,e){this.x=t,this.y=e}).prototype.exec=function(t){t.lineTo(this.x,this.y)},(i.MoveTo=function(t,e){this.x=t,this.y=e}).prototype.exec=function(t){t.moveTo(this.x,this.y)},(i.ArcTo=function(t,e,i,n,r){this.x1=t,this.y1=e,this.x2=i,this.y2=n,this.radius=r}).prototype.exec=function(t){t.arcTo(this.x1,this.y1,this.x2,this.y2,this.radius)},(i.Arc=function(t,e,i,n,r,o){this.x=t,this.y=e,this.radius=i,this.startAngle=n,this.endAngle=r,this.anticlockwise=!!o}).prototype.exec=function(t){t.arc(this.x,this.y,this.radius,this.startAngle,this.endAngle,this.anticlockwise)},(i.QuadraticCurveTo=function(t,e,i,n){this.cpx=t,this.cpy=e,this.x=i,this.y=n}).prototype.exec=function(t){t.quadraticCurveTo(this.cpx,this.cpy,this.x,this.y)},(i.BezierCurveTo=function(t,e,i,n,r,o){this.cp1x=t,this.cp1y=e,this.cp2x=i,this.cp2y=n,this.x=r,this.y=o}).prototype.exec=function(t){t.bezierCurveTo(this.cp1x,this.cp1y,this.cp2x,this.cp2y,this.x,this.y)},(i.Rect=function(t,e,i,n){this.x=t,this.y=e,this.w=i,this.h=n}).prototype.exec=function(t){t.rect(this.x,this.y,this.w,this.h)},(i.ClosePath=function(){}).prototype.exec=function(t){t.closePath()},(i.BeginPath=function(){}).prototype.exec=function(t){t.beginPath()},e=(i.Fill=function(t,e){this.style=t,this.matrix=e}).prototype,e.exec=function(t){if(this.style){t.fillStyle=this.style;var e=this.matrix;e&&(t.save(),t.transform(e.a,e.b,e.c,e.d,e.tx,e.ty)),t.fill(),e&&t.restore()}},e.linearGradient=function(e,i,n,r,o,s){for(var a=this.style=t._ctx.createLinearGradient(n,r,o,s),h=0,u=e.length;u>h;h++)a.addColorStop(i[h],e[h]);return a.props={colors:e,ratios:i,x0:n,y0:r,x1:o,y1:s,type:"linear"},this},e.radialGradient=function(e,i,n,r,o,s,a,h){for(var u=this.style=t._ctx.createRadialGradient(n,r,o,s,a,h),c=0,l=e.length;l>c;c++)u.addColorStop(i[c],e[c]);return u.props={colors:e,ratios:i,x0:n,y0:r,r0:o,x1:s,y1:a,r1:h,type:"radial"},this},e.bitmap=function(e,i){if(e.naturalWidth||e.getContext||e.readyState>=2){var n=this.style=t._ctx.createPattern(e,i||"");n.props={image:e,repetition:i,type:"bitmap"}}return this},e.path=!1,e=(i.Stroke=function(t,e){this.style=t,this.ignoreScale=e}).prototype,e.exec=function(t){this.style&&(t.strokeStyle=this.style,this.ignoreScale&&(t.save(),t.setTransform(1,0,0,1,0,0)),t.stroke(),this.ignoreScale&&t.restore())},e.linearGradient=i.Fill.prototype.linearGradient,e.radialGradient=i.Fill.prototype.radialGradient,e.bitmap=i.Fill.prototype.bitmap,e.path=!1,e=(i.StrokeStyle=function(t,e,i,n,r){this.width=t,this.caps=e,this.joints=i,this.miterLimit=n,this.ignoreScale=r}).prototype,e.exec=function(e){e.lineWidth=null==this.width?"1":this.width,e.lineCap=null==this.caps?"butt":isNaN(this.caps)?this.caps:t.STROKE_CAPS_MAP[this.caps],e.lineJoin=null==this.joints?"miter":isNaN(this.joints)?this.joints:t.STROKE_JOINTS_MAP[this.joints],e.miterLimit=null==this.miterLimit?"10":this.miterLimit,e.ignoreScale=null!=this.ignoreScale&&this.ignoreScale},e.path=!1,(i.StrokeDash=function(t,e){this.segments=t,this.offset=e||0}).prototype.exec=function(t){t.setLineDash&&(t.setLineDash(this.segments||i.StrokeDash.EMPTY_SEGMENTS),t.lineDashOffset=this.offset||0)},i.StrokeDash.EMPTY_SEGMENTS=[],(i.RoundRect=function(t,e,i,n,r,o,s,a){this.x=t,this.y=e,this.w=i,this.h=n,this.radiusTL=r,this.radiusTR=o,this.radiusBR=s,this.radiusBL=a}).prototype.exec=function(t){var e=(u>h?h:u)/2,i=0,n=0,r=0,o=0,s=this.x,a=this.y,h=this.w,u=this.h,c=this.radiusTL,l=this.radiusTR,p=this.radiusBR,f=this.radiusBL;0>c&&(c*=i=-1),c>e&&(c=e),0>l&&(l*=n=-1),l>e&&(l=e),0>p&&(p*=r=-1),p>e&&(p=e),0>f&&(f*=o=-1),f>e&&(f=e),t.moveTo(s+h-l,a),t.arcTo(s+h+l*n,a-l*n,s+h,a+l,l),t.lineTo(s+h,a+u-p),t.arcTo(s+h+p*r,a+u+p*r,s+h-p,a+u,p),t.lineTo(s+f,a+u),t.arcTo(s-f*o,a+u+f*o,s,a+u-f,f),t.lineTo(s,a+c),t.arcTo(s-c*i,a-c*i,s+c,a,c),t.closePath()},(i.Circle=function(t,e,i){this.x=t,this.y=e,this.radius=i}).prototype.exec=function(t){t.arc(this.x,this.y,this.radius,0,2*Math.PI)},(i.Ellipse=function(t,e,i,n){this.x=t,this.y=e,this.w=i,this.h=n}).prototype.exec=function(t){var e=this.x,i=this.y,n=this.w,r=this.h,o=.5522848,s=n/2*o,a=r/2*o,h=e+n,u=i+r,c=e+n/2,l=i+r/2;t.moveTo(e,l),t.bezierCurveTo(e,l-a,c-s,i,c,i),t.bezierCurveTo(c+s,i,h,l-a,h,l),t.bezierCurveTo(h,l+a,c+s,u,c,u),t.bezierCurveTo(c-s,u,e,l+a,e,l)},(i.PolyStar=function(t,e,i,n,r,o){this.x=t,this.y=e,this.radius=i,this.sides=n,this.pointSize=r,this.angle=o}).prototype.exec=function(t){var e=this.x,i=this.y,n=this.radius,r=(this.angle||0)/180*Math.PI,o=this.sides,s=1-(this.pointSize||0),a=Math.PI/o;t.moveTo(e+Math.cos(r)*n,i+Math.sin(r)*n);for(var h=0;o>h;h++)r+=a,1!=s&&t.lineTo(e+Math.cos(r)*n*s,i+Math.sin(r)*n*s),r+=a,t.lineTo(e+Math.cos(r)*n,i+Math.sin(r)*n);t.closePath()},t.beginCmd=new i.BeginPath,createjs.Graphics=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.EventDispatcher_constructor(),this.alpha=1,this.cacheCanvas=null,this.cacheID=0,this.id=createjs.UID.get(),this.mouseEnabled=!0,this.tickEnabled=!0,this.name=null,this.parent=null,this.regX=0,this.regY=0,this.rotation=0,this.scaleX=1,this.scaleY=1,this.skewX=0,this.skewY=0,this.shadow=null,this.visible=!0,this.x=0,this.y=0,this.transformMatrix=null,this.compositeOperation=null,this.snapToPixel=!0,this.filters=null,
this.mask=null,this.hitArea=null,this.cursor=null,this._cacheOffsetX=0,this._cacheOffsetY=0,this._filterOffsetX=0,this._filterOffsetY=0,this._cacheScale=1,this._cacheDataURLID=0,this._cacheDataURL=null,this._props=new createjs.DisplayProps,this._rectangle=new createjs.Rectangle,this._bounds=null}var e=createjs.extend(t,createjs.EventDispatcher);t._MOUSE_EVENTS=["click","dblclick","mousedown","mouseout","mouseover","pressmove","pressup","rollout","rollover"],t.suppressCrossDomainErrors=!1,t._snapToPixelEnabled=!1;var i=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");i.getContext&&(t._hitTestCanvas=i,t._hitTestContext=i.getContext("2d"),i.width=i.height=1),t._nextCacheID=1,e.getStage=function(){for(var t=this,e=createjs.Stage;t.parent;)t=t.parent;return t instanceof e?t:null};try{Object.defineProperties(e,{stage:{get:e.getStage}})}catch(t){}e.isVisible=function(){return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY)},e.draw=function(t,e){var i=this.cacheCanvas;if(e||!i)return!1;var n=this._cacheScale;return t.drawImage(i,this._cacheOffsetX+this._filterOffsetX,this._cacheOffsetY+this._filterOffsetY,i.width/n,i.height/n),!0},e.updateContext=function(e){var i=this,n=i.mask,r=i._props.matrix;n&&n.graphics&&!n.graphics.isEmpty()&&(n.getMatrix(r),e.transform(r.a,r.b,r.c,r.d,r.tx,r.ty),n.graphics.drawAsPath(e),e.clip(),r.invert(),e.transform(r.a,r.b,r.c,r.d,r.tx,r.ty)),this.getMatrix(r);var o=r.tx,s=r.ty;t._snapToPixelEnabled&&i.snapToPixel&&(o=o+(0>o?-.5:.5)|0,s=s+(0>s?-.5:.5)|0),e.transform(r.a,r.b,r.c,r.d,o,s),e.globalAlpha*=i.alpha,i.compositeOperation&&(e.globalCompositeOperation=i.compositeOperation),i.shadow&&this._applyShadow(e,i.shadow)},e.cache=function(t,e,i,n,r){r=r||1,this.cacheCanvas||(this.cacheCanvas=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas")),this._cacheWidth=i,this._cacheHeight=n,this._cacheOffsetX=t,this._cacheOffsetY=e,this._cacheScale=r,this.updateCache()},e.updateCache=function(e){var i=this.cacheCanvas;if(!i)throw"cache() must be called before updateCache()";var n=this._cacheScale,r=this._cacheOffsetX*n,o=this._cacheOffsetY*n,s=this._cacheWidth,a=this._cacheHeight,h=i.getContext("2d"),u=this._getFilterBounds();r+=this._filterOffsetX=u.x,o+=this._filterOffsetY=u.y,s=Math.ceil(s*n)+u.width,a=Math.ceil(a*n)+u.height,s!=i.width||a!=i.height?(i.width=s,i.height=a):e||h.clearRect(0,0,s+1,a+1),h.save(),h.globalCompositeOperation=e,h.setTransform(n,0,0,n,-r,-o),this.draw(h,!0),this._applyFilters(),h.restore(),this.cacheID=t._nextCacheID++},e.uncache=function(){this._cacheDataURL=this.cacheCanvas=null,this.cacheID=this._cacheOffsetX=this._cacheOffsetY=this._filterOffsetX=this._filterOffsetY=0,this._cacheScale=1},e.getCacheDataURL=function(){return this.cacheCanvas?(this.cacheID!=this._cacheDataURLID&&(this._cacheDataURL=this.cacheCanvas.toDataURL()),this._cacheDataURL):null},e.localToGlobal=function(t,e,i){return this.getConcatenatedMatrix(this._props.matrix).transformPoint(t,e,i||new createjs.Point)},e.globalToLocal=function(t,e,i){return this.getConcatenatedMatrix(this._props.matrix).invert().transformPoint(t,e,i||new createjs.Point)},e.localToLocal=function(t,e,i,n){return n=this.localToGlobal(t,e,n),i.globalToLocal(n.x,n.y,n)},e.setTransform=function(t,e,i,n,r,o,s,a,h){return this.x=t||0,this.y=e||0,this.scaleX=null==i?1:i,this.scaleY=null==n?1:n,this.rotation=r||0,this.skewX=o||0,this.skewY=s||0,this.regX=a||0,this.regY=h||0,this},e.getMatrix=function(t){var e=this,i=t&&t.identity()||new createjs.Matrix2D;return e.transformMatrix?i.copy(e.transformMatrix):i.appendTransform(e.x,e.y,e.scaleX,e.scaleY,e.rotation,e.skewX,e.skewY,e.regX,e.regY)},e.getConcatenatedMatrix=function(t){for(var e=this,i=this.getMatrix(t);e=e.parent;)i.prependMatrix(e.getMatrix(e._props.matrix));return i},e.getConcatenatedDisplayProps=function(t){t=t?t.identity():new createjs.DisplayProps;var e=this,i=e.getMatrix(t.matrix);do t.prepend(e.visible,e.alpha,e.shadow,e.compositeOperation),e!=this&&i.prependMatrix(e.getMatrix(e._props.matrix));while(e=e.parent);return t},e.hitTest=function(e,i){var n=t._hitTestContext;n.setTransform(1,0,0,1,-e,-i),this.draw(n);var r=this._testHit(n);return n.setTransform(1,0,0,1,0,0),n.clearRect(0,0,2,2),r},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.getBounds=function(){if(this._bounds)return this._rectangle.copy(this._bounds);var t=this.cacheCanvas;if(t){var e=this._cacheScale;return this._rectangle.setValues(this._cacheOffsetX,this._cacheOffsetY,t.width/e,t.height/e)}return null},e.getTransformedBounds=function(){return this._getBounds()},e.setBounds=function(t,e,i,n){null==t&&(this._bounds=t),this._bounds=(this._bounds||new createjs.Rectangle).setValues(t,e,i,n)},e.clone=function(){return this._cloneProps(new t)},e.toString=function(){return"[DisplayObject (name="+this.name+")]"},e._cloneProps=function(t){return t.alpha=this.alpha,t.mouseEnabled=this.mouseEnabled,t.tickEnabled=this.tickEnabled,t.name=this.name,t.regX=this.regX,t.regY=this.regY,t.rotation=this.rotation,t.scaleX=this.scaleX,t.scaleY=this.scaleY,t.shadow=this.shadow,t.skewX=this.skewX,t.skewY=this.skewY,t.visible=this.visible,t.x=this.x,t.y=this.y,t.compositeOperation=this.compositeOperation,t.snapToPixel=this.snapToPixel,t.filters=null==this.filters?null:this.filters.slice(0),t.mask=this.mask,t.hitArea=this.hitArea,t.cursor=this.cursor,t._bounds=this._bounds,t},e._applyShadow=function(t,e){e=e||Shadow.identity,t.shadowColor=e.color,t.shadowOffsetX=e.offsetX,t.shadowOffsetY=e.offsetY,t.shadowBlur=e.blur},e._tick=function(t){var e=this._listeners;e&&e.tick&&(t.target=null,t.propagationStopped=t.immediatePropagationStopped=!1,this.dispatchEvent(t))},e._testHit=function(e){try{var i=e.getImageData(0,0,1,1).data[3]>1}catch(e){if(!t.suppressCrossDomainErrors)throw"An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images."}return i},e._applyFilters=function(){if(this.filters&&0!=this.filters.length&&this.cacheCanvas)for(var t=this.filters.length,e=this.cacheCanvas.getContext("2d"),i=this.cacheCanvas.width,n=this.cacheCanvas.height,r=0;t>r;r++)this.filters[r].applyFilter(e,0,0,i,n)},e._getFilterBounds=function(){var t,e=this.filters,i=this._rectangle.setValues(0,0,0,0);if(!e||!(t=e.length))return i;for(var n=0;t>n;n++){var r=this.filters[n];r.getBounds&&r.getBounds(i)}return i},e._getBounds=function(t,e){return this._transformBounds(this.getBounds(),t,e)},e._transformBounds=function(t,e,i){if(!t)return t;var n=t.x,r=t.y,o=t.width,s=t.height,a=this._props.matrix;a=i?a.identity():this.getMatrix(a),(n||r)&&a.appendTransform(0,0,1,1,0,0,0,-n,-r),e&&a.prependMatrix(e);var h=o*a.a,u=o*a.b,c=s*a.c,l=s*a.d,p=a.tx,f=a.ty,d=p,g=p,v=f,m=f;return(n=h+p)<d?d=n:n>g&&(g=n),(n=h+c+p)<d?d=n:n>g&&(g=n),(n=c+p)<d?d=n:n>g&&(g=n),(r=u+f)<v?v=r:r>m&&(m=r),(r=u+l+f)<v?v=r:r>m&&(m=r),(r=l+f)<v?v=r:r>m&&(m=r),t.setValues(d,v,g-d,m-v)},e._hasMouseEventListener=function(){for(var e=t._MOUSE_EVENTS,i=0,n=e.length;n>i;i++)if(this.hasEventListener(e[i]))return!0;return!!this.cursor},createjs.DisplayObject=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.DisplayObject_constructor(),this.children=[],this.mouseChildren=!0,this.tickChildren=!0}var e=createjs.extend(t,createjs.DisplayObject);e.getNumChildren=function(){return this.children.length};try{Object.defineProperties(e,{numChildren:{get:e.getNumChildren}})}catch(t){}e.initialize=t,e.isVisible=function(){var t=this.cacheCanvas||this.children.length;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e))return!0;for(var i=this.children.slice(),n=0,r=i.length;r>n;n++){var o=i[n];o.isVisible()&&(t.save(),o.updateContext(t),o.draw(t),t.restore())}return!0},e.addChild=function(t){if(null==t)return t;var e=arguments.length;if(e>1){for(var i=0;e>i;i++)this.addChild(arguments[i]);return arguments[e-1]}return t.parent&&t.parent.removeChild(t),t.parent=this,this.children.push(t),t.dispatchEvent("added"),t},e.addChildAt=function(t,e){var i=arguments.length,n=arguments[i-1];if(0>n||n>this.children.length)return arguments[i-2];if(i>2){for(var r=0;i-1>r;r++)this.addChildAt(arguments[r],n+r);return arguments[i-2]}return t.parent&&t.parent.removeChild(t),t.parent=this,this.children.splice(e,0,t),t.dispatchEvent("added"),t},e.removeChild=function(t){var e=arguments.length;if(e>1){for(var i=!0,n=0;e>n;n++)i=i&&this.removeChild(arguments[n]);return i}return this.removeChildAt(createjs.indexOf(this.children,t))},e.removeChildAt=function(t){var e=arguments.length;if(e>1){for(var i=[],n=0;e>n;n++)i[n]=arguments[n];i.sort(function(t,e){return e-t});for(var r=!0,n=0;e>n;n++)r=r&&this.removeChildAt(i[n]);return r}if(0>t||t>this.children.length-1)return!1;var o=this.children[t];return o&&(o.parent=null),this.children.splice(t,1),o.dispatchEvent("removed"),!0},e.removeAllChildren=function(){for(var t=this.children;t.length;)this.removeChildAt(0)},e.getChildAt=function(t){return this.children[t]},e.getChildByName=function(t){for(var e=this.children,i=0,n=e.length;n>i;i++)if(e[i].name==t)return e[i];return null},e.sortChildren=function(t){this.children.sort(t)},e.getChildIndex=function(t){return createjs.indexOf(this.children,t)},e.swapChildrenAt=function(t,e){var i=this.children,n=i[t],r=i[e];n&&r&&(i[t]=r,i[e]=n)},e.swapChildren=function(t,e){for(var i,n,r=this.children,o=0,s=r.length;s>o&&(r[o]==t&&(i=o),r[o]==e&&(n=o),null==i||null==n);o++);o!=s&&(r[i]=e,r[n]=t)},e.setChildIndex=function(t,e){var i=this.children,n=i.length;if(!(t.parent!=this||0>e||e>=n)){for(var r=0;n>r&&i[r]!=t;r++);r!=n&&r!=e&&(i.splice(r,1),i.splice(e,0,t))}},e.contains=function(t){for(;t;){if(t==this)return!0;t=t.parent}return!1},e.hitTest=function(t,e){return null!=this.getObjectUnderPoint(t,e)},e.getObjectsUnderPoint=function(t,e,i){var n=[],r=this.localToGlobal(t,e);return this._getObjectsUnderPoint(r.x,r.y,n,i>0,1==i),n},e.getObjectUnderPoint=function(t,e,i){var n=this.localToGlobal(t,e);return this._getObjectsUnderPoint(n.x,n.y,null,i>0,1==i)},e.getBounds=function(){return this._getBounds(null,!0)},e.getTransformedBounds=function(){return this._getBounds()},e.clone=function(e){var i=this._cloneProps(new t);return e&&this._cloneChildren(i),i},e.toString=function(){return"[Container (name="+this.name+")]"},e._tick=function(t){if(this.tickChildren)for(var e=this.children.length-1;e>=0;e--){var i=this.children[e];i.tickEnabled&&i._tick&&i._tick(t)}this.DisplayObject__tick(t)},e._cloneChildren=function(t){t.children.length&&t.removeAllChildren();for(var e=t.children,i=0,n=this.children.length;n>i;i++){var r=this.children[i].clone(!0);r.parent=t,e.push(r)}},e._getObjectsUnderPoint=function(e,i,n,r,o,s){if(s=s||0,!s&&!this._testMask(this,e,i))return null;var a,h=createjs.DisplayObject._hitTestContext;o=o||r&&this._hasMouseEventListener();for(var u=this.children,c=u.length,l=c-1;l>=0;l--){var p=u[l],f=p.hitArea;if(p.visible&&(f||p.isVisible())&&(!r||p.mouseEnabled)&&(f||this._testMask(p,e,i)))if(!f&&p instanceof t){var d=p._getObjectsUnderPoint(e,i,n,r,o,s+1);if(!n&&d)return r&&!this.mouseChildren?this:d}else{if(r&&!o&&!p._hasMouseEventListener())continue;var g=p.getConcatenatedDisplayProps(p._props);if(a=g.matrix,f&&(a.appendMatrix(f.getMatrix(f._props.matrix)),g.alpha=f.alpha),h.globalAlpha=g.alpha,h.setTransform(a.a,a.b,a.c,a.d,a.tx-e,a.ty-i),(f||p).draw(h),!this._testHit(h))continue;if(h.setTransform(1,0,0,1,0,0),h.clearRect(0,0,2,2),!n)return r&&!this.mouseChildren?this:p;n.push(p)}}return null},e._testMask=function(t,e,i){var n=t.mask;if(!n||!n.graphics||n.graphics.isEmpty())return!0;var r=this._props.matrix,o=t.parent;r=o?o.getConcatenatedMatrix(r):r.identity(),r=n.getMatrix(n._props.matrix).prependMatrix(r);var s=createjs.DisplayObject._hitTestContext;return s.setTransform(r.a,r.b,r.c,r.d,r.tx-e,r.ty-i),n.graphics.drawAsPath(s),s.fillStyle="#000",s.fill(),!!this._testHit(s)&&(s.setTransform(1,0,0,1,0,0),s.clearRect(0,0,2,2),!0)},e._getBounds=function(t,e){var i=this.DisplayObject_getBounds();if(i)return this._transformBounds(i,t,e);var n=this._props.matrix;n=e?n.identity():this.getMatrix(n),t&&n.prependMatrix(t);for(var r=this.children.length,o=null,s=0;r>s;s++){var a=this.children[s];a.visible&&(i=a._getBounds(n))&&(o?o.extend(i.x,i.y,i.width,i.height):o=i.clone())}return o},createjs.Container=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.Container_constructor(),this.autoClear=!0,this.canvas="string"==typeof t?document.getElementById(t):t,this.mouseX=0,this.mouseY=0,this.drawRect=null,this.snapToPixelEnabled=!1,this.mouseInBounds=!1,this.tickOnUpdate=!0,this.mouseMoveOutside=!1,this.preventSelection=!0,this._pointerData={},this._pointerCount=0,this._primaryPointerID=null,this._mouseOverIntervalID=null,this._nextStage=null,this._prevStage=null,this.enableDOMEvents(!0)}var e=createjs.extend(t,createjs.Container);e._get_nextStage=function(){return this._nextStage},e._set_nextStage=function(t){this._nextStage&&(this._nextStage._prevStage=null),t&&(t._prevStage=this),this._nextStage=t};try{Object.defineProperties(e,{nextStage:{get:e._get_nextStage,set:e._set_nextStage}})}catch(t){}e.update=function(t){if(this.canvas&&(this.tickOnUpdate&&this.tick(t),this.dispatchEvent("drawstart",!1,!0)!==!1)){createjs.DisplayObject._snapToPixelEnabled=this.snapToPixelEnabled;var e=this.drawRect,i=this.canvas.getContext("2d");i.setTransform(1,0,0,1,0,0),this.autoClear&&(e?i.clearRect(e.x,e.y,e.width,e.height):i.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)),i.save(),this.drawRect&&(i.beginPath(),i.rect(e.x,e.y,e.width,e.height),i.clip()),this.updateContext(i),this.draw(i,!1),i.restore(),this.dispatchEvent("drawend")}},e.tick=function(t){if(this.tickEnabled&&this.dispatchEvent("tickstart",!1,!0)!==!1){var e=new createjs.Event("tick");if(t)for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);this._tick(e),this.dispatchEvent("tickend")}},e.handleEvent=function(t){"tick"==t.type&&this.update(t)},e.clear=function(){if(this.canvas){var t=this.canvas.getContext("2d");t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)}},e.toDataURL=function(t,e){var i,n=this.canvas.getContext("2d"),r=this.canvas.width,o=this.canvas.height;if(t){i=n.getImageData(0,0,r,o);var s=n.globalCompositeOperation;n.globalCompositeOperation="destination-over",n.fillStyle=t,n.fillRect(0,0,r,o)}var a=this.canvas.toDataURL(e||"image/png");return t&&(n.putImageData(i,0,0),n.globalCompositeOperation=s),a},e.enableMouseOver=function(t){if(this._mouseOverIntervalID&&(clearInterval(this._mouseOverIntervalID),this._mouseOverIntervalID=null,0==t&&this._testMouseOver(!0)),null==t)t=20;else if(0>=t)return;var e=this;this._mouseOverIntervalID=setInterval(function(){e._testMouseOver()},1e3/Math.min(50,t))},e.enableDOMEvents=function(t){null==t&&(t=!0);var e,i,n=this._eventListeners;if(!t&&n){for(e in n)i=n[e],i.t.removeEventListener(e,i.f,!1);this._eventListeners=null}else if(t&&!n&&this.canvas){var r=window.addEventListener?window:document,o=this;n=this._eventListeners={},n.mouseup={t:r,f:function(t){o._handleMouseUp(t)}},n.mousemove={t:r,f:function(t){o._handleMouseMove(t)}},n.dblclick={t:this.canvas,f:function(t){o._handleDoubleClick(t)}},n.mousedown={t:this.canvas,f:function(t){o._handleMouseDown(t)}};for(e in n)i=n[e],i.t.addEventListener(e,i.f,!1)}},e.clone=function(){throw"Stage cannot be cloned."},e.toString=function(){return"[Stage (name="+this.name+")]"},e._getElementRect=function(t){var e;try{e=t.getBoundingClientRect()}catch(i){e={top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}var i=(window.pageXOffset||document.scrollLeft||0)-(document.clientLeft||document.body.clientLeft||0),n=(window.pageYOffset||document.scrollTop||0)-(document.clientTop||document.body.clientTop||0),r=window.getComputedStyle?getComputedStyle(t,null):t.currentStyle,o=parseInt(r.paddingLeft)+parseInt(r.borderLeftWidth),s=parseInt(r.paddingTop)+parseInt(r.borderTopWidth),a=parseInt(r.paddingRight)+parseInt(r.borderRightWidth),h=parseInt(r.paddingBottom)+parseInt(r.borderBottomWidth);return{left:e.left+i+o,right:e.right+i-a,top:e.top+n+s,bottom:e.bottom+n-h}},e._getPointerData=function(t){var e=this._pointerData[t];return e||(e=this._pointerData[t]={x:0,y:0}),e},e._handleMouseMove=function(t){t||(t=window.event),this._handlePointerMove(-1,t,t.pageX,t.pageY)},e._handlePointerMove=function(t,e,i,n,r){if((!this._prevStage||void 0!==r)&&this.canvas){var o=this._nextStage,s=this._getPointerData(t),a=s.inBounds;this._updatePointerPosition(t,e,i,n),(a||s.inBounds||this.mouseMoveOutside)&&(-1===t&&s.inBounds==!a&&this._dispatchMouseEvent(this,a?"mouseleave":"mouseenter",!1,t,s,e),this._dispatchMouseEvent(this,"stagemousemove",!1,t,s,e),this._dispatchMouseEvent(s.target,"pressmove",!0,t,s,e)),o&&o._handlePointerMove(t,e,i,n,null)}},e._updatePointerPosition=function(t,e,i,n){var r=this._getElementRect(this.canvas);i-=r.left,n-=r.top;var o=this.canvas.width,s=this.canvas.height;i/=(r.right-r.left)/o,n/=(r.bottom-r.top)/s;var a=this._getPointerData(t);(a.inBounds=i>=0&&n>=0&&o-1>=i&&s-1>=n)?(a.x=i,a.y=n):this.mouseMoveOutside&&(a.x=0>i?0:i>o-1?o-1:i,a.y=0>n?0:n>s-1?s-1:n),a.posEvtObj=e,a.rawX=i,a.rawY=n,(t===this._primaryPointerID||-1===t)&&(this.mouseX=a.x,this.mouseY=a.y,this.mouseInBounds=a.inBounds)},e._handleMouseUp=function(t){this._handlePointerUp(-1,t,!1)},e._handlePointerUp=function(t,e,i,n){var r=this._nextStage,o=this._getPointerData(t);if(!this._prevStage||void 0!==n){var s=null,a=o.target;n||!a&&!r||(s=this._getObjectsUnderPoint(o.x,o.y,null,!0)),o.down&&(this._dispatchMouseEvent(this,"stagemouseup",!1,t,o,e,s),o.down=!1),s==a&&this._dispatchMouseEvent(a,"click",!0,t,o,e),this._dispatchMouseEvent(a,"pressup",!0,t,o,e),i?(t==this._primaryPointerID&&(this._primaryPointerID=null),delete this._pointerData[t]):o.target=null,r&&r._handlePointerUp(t,e,i,n||s&&this)}},e._handleMouseDown=function(t){this._handlePointerDown(-1,t,t.pageX,t.pageY)},e._handlePointerDown=function(t,e,i,n,r){this.preventSelection&&e.preventDefault(),(null==this._primaryPointerID||-1===t)&&(this._primaryPointerID=t),null!=n&&this._updatePointerPosition(t,e,i,n);var o=null,s=this._nextStage,a=this._getPointerData(t);r||(o=a.target=this._getObjectsUnderPoint(a.x,a.y,null,!0)),a.inBounds&&(this._dispatchMouseEvent(this,"stagemousedown",!1,t,a,e,o),a.down=!0),this._dispatchMouseEvent(o,"mousedown",!0,t,a,e),s&&s._handlePointerDown(t,e,i,n,r||o&&this)},e._testMouseOver=function(t,e,i){if(!this._prevStage||void 0!==e){var n=this._nextStage;if(!this._mouseOverIntervalID)return void(n&&n._testMouseOver(t,e,i));var r=this._getPointerData(-1);if(r&&(t||this.mouseX!=this._mouseOverX||this.mouseY!=this._mouseOverY||!this.mouseInBounds)){var o,s,a,h=r.posEvtObj,u=i||h&&h.target==this.canvas,c=null,l=-1,p="";!e&&(t||this.mouseInBounds&&u)&&(c=this._getObjectsUnderPoint(this.mouseX,this.mouseY,null,!0),this._mouseOverX=this.mouseX,this._mouseOverY=this.mouseY);var f=this._mouseOverTarget||[],d=f[f.length-1],g=this._mouseOverTarget=[];for(o=c;o;)g.unshift(o),p||(p=o.cursor),o=o.parent;for(this.canvas.style.cursor=p,!e&&i&&(i.canvas.style.cursor=p),s=0,a=g.length;a>s&&g[s]==f[s];s++)l=s;for(d!=c&&this._dispatchMouseEvent(d,"mouseout",!0,-1,r,h,c),s=f.length-1;s>l;s--)this._dispatchMouseEvent(f[s],"rollout",!1,-1,r,h,c);for(s=g.length-1;s>l;s--)this._dispatchMouseEvent(g[s],"rollover",!1,-1,r,h,d);d!=c&&this._dispatchMouseEvent(c,"mouseover",!0,-1,r,h,d),n&&n._testMouseOver(t,e||c&&this,i||u&&this)}}},e._handleDoubleClick=function(t,e){var i=null,n=this._nextStage,r=this._getPointerData(-1);e||(i=this._getObjectsUnderPoint(r.x,r.y,null,!0),this._dispatchMouseEvent(i,"dblclick",!0,-1,r,t)),n&&n._handleDoubleClick(t,e||i&&this)},e._dispatchMouseEvent=function(t,e,i,n,r,o,s){if(t&&(i||t.hasEventListener(e))){var a=new createjs.MouseEvent(e,i,!1,r.x,r.y,o,n,n===this._primaryPointerID||-1===n,r.rawX,r.rawY,s);t.dispatchEvent(a)}},createjs.Stage=createjs.promote(t,"Container")}(),this.createjs=this.createjs||{},function(){function t(t){this.DisplayObject_constructor(),"string"==typeof t?(this.image=document.createElement("img"),this.image.src=t):this.image=t,this.sourceRect=null}var e=createjs.extend(t,createjs.DisplayObject);e.initialize=t,e.isVisible=function(){var t=this.image,e=this.cacheCanvas||t&&(t.naturalWidth||t.getContext||t.readyState>=2);return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&e)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e)||!this.image)return!0;var i=this.image,n=this.sourceRect;if(n){var r=n.x,o=n.y,s=r+n.width,a=o+n.height,h=0,u=0,c=i.width,l=i.height;0>r&&(h-=r,r=0),s>c&&(s=c),0>o&&(u-=o,o=0),a>l&&(a=l),t.drawImage(i,r,o,s-r,a-o,h,u,s-r,a-o)}else t.drawImage(i,0,0);return!0},e.getBounds=function(){var t=this.DisplayObject_getBounds();if(t)return t;var e=this.image,i=this.sourceRect||e,n=e&&(e.naturalWidth||e.getContext||e.readyState>=2);return n?this._rectangle.setValues(0,0,i.width,i.height):null},e.clone=function(){var e=new t(this.image);return this.sourceRect&&(e.sourceRect=this.sourceRect.clone()),this._cloneProps(e),e},e.toString=function(){return"[Bitmap (name="+this.name+")]"},createjs.Bitmap=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.DisplayObject_constructor(),this.currentFrame=0,this.currentAnimation=null,this.paused=!0,this.spriteSheet=t,this.currentAnimationFrame=0,this.framerate=0,this._animation=null,this._currentFrame=null,this._skipAdvance=!1,null!=e&&this.gotoAndPlay(e)}var e=createjs.extend(t,createjs.DisplayObject);e.initialize=t,e.isVisible=function(){var t=this.cacheCanvas||this.spriteSheet.complete;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e))return!0;this._normalizeFrame();var i=this.spriteSheet.getFrame(0|this._currentFrame);if(!i)return!1;var n=i.rect;return n.width&&n.height&&t.drawImage(i.image,n.x,n.y,n.width,n.height,-i.regX,-i.regY,n.width,n.height),!0},e.play=function(){this.paused=!1},e.stop=function(){this.paused=!0},e.gotoAndPlay=function(t){this.paused=!1,this._skipAdvance=!0,this._goto(t)},e.gotoAndStop=function(t){this.paused=!0,this._goto(t)},e.advance=function(t){var e=this.framerate||this.spriteSheet.framerate,i=e&&null!=t?t/(1e3/e):1;this._normalizeFrame(i)},e.getBounds=function(){return this.DisplayObject_getBounds()||this.spriteSheet.getFrameBounds(this.currentFrame,this._rectangle)},e.clone=function(){return this._cloneProps(new t(this.spriteSheet))},e.toString=function(){return"[Sprite (name="+this.name+")]"},e._cloneProps=function(t){return this.DisplayObject__cloneProps(t),t.currentFrame=this.currentFrame,t.currentAnimation=this.currentAnimation,t.paused=this.paused,t.currentAnimationFrame=this.currentAnimationFrame,t.framerate=this.framerate,t._animation=this._animation,t._currentFrame=this._currentFrame,t._skipAdvance=this._skipAdvance,t},e._tick=function(t){this.paused||(this._skipAdvance||this.advance(t&&t.delta),this._skipAdvance=!1),this.DisplayObject__tick(t)},e._normalizeFrame=function(t){t=t||0;var e,i=this._animation,n=this.paused,r=this._currentFrame;if(i){var o=i.speed||1,s=this.currentAnimationFrame;if(e=i.frames.length,s+t*o>=e){var a=i.next;if(this._dispatchAnimationEnd(i,r,n,a,e-1))return;if(a)return this._goto(a,t-(e-s)/o);this.paused=!0,s=i.frames.length-1}else s+=t*o;this.currentAnimationFrame=s,this._currentFrame=i.frames[0|s]}else if(r=this._currentFrame+=t,e=this.spriteSheet.getNumFrames(),r>=e&&e>0&&!this._dispatchAnimationEnd(i,r,n,e-1)&&(this._currentFrame-=e)>=e)return this._normalizeFrame();r=0|this._currentFrame,this.currentFrame!=r&&(this.currentFrame=r,this.dispatchEvent("change"))},e._dispatchAnimationEnd=function(t,e,i,n,r){var o=t?t.name:null;if(this.hasEventListener("animationend")){var s=new createjs.Event("animationend");s.name=o,s.next=n,this.dispatchEvent(s)}var a=this._animation!=t||this._currentFrame!=e;return a||i||!this.paused||(this.currentAnimationFrame=r,a=!0),a},e._goto=function(t,e){if(this.currentAnimationFrame=0,isNaN(t)){var i=this.spriteSheet.getAnimation(t);i&&(this._animation=i,this.currentAnimation=t,this._normalizeFrame(e))}else this.currentAnimation=this._animation=null,this._currentFrame=t,this._normalizeFrame()},createjs.Sprite=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.DisplayObject_constructor(),this.graphics=t?t:new createjs.Graphics}var e=createjs.extend(t,createjs.DisplayObject);e.isVisible=function(){var t=this.cacheCanvas||this.graphics&&!this.graphics.isEmpty();return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){return!!this.DisplayObject_draw(t,e)||(this.graphics.draw(t,this),!0)},e.clone=function(e){var i=e&&this.graphics?this.graphics.clone():this.graphics;return this._cloneProps(new t(i))},e.toString=function(){return"[Shape (name="+this.name+")]"},createjs.Shape=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.DisplayObject_constructor(),this.text=t,this.font=e,this.color=i,this.textAlign="left",this.textBaseline="top",this.maxWidth=null,this.outline=0,this.lineHeight=0,this.lineWidth=null}var e=createjs.extend(t,createjs.DisplayObject),i=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");i.getContext&&(t._workingContext=i.getContext("2d"),i.width=i.height=1),t.H_OFFSETS={start:0,left:0,center:-.5,end:-1,right:-1},t.V_OFFSETS={top:0,hanging:-.01,middle:-.4,alphabetic:-.8,ideographic:-.85,bottom:-1},e.isVisible=function(){var t=this.cacheCanvas||null!=this.text&&""!==this.text;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&t)},e.draw=function(t,e){if(this.DisplayObject_draw(t,e))return!0;var i=this.color||"#000";return this.outline?(t.strokeStyle=i,t.lineWidth=1*this.outline):t.fillStyle=i,this._drawText(this._prepContext(t)),!0},e.getMeasuredWidth=function(){return this._getMeasuredWidth(this.text)},e.getMeasuredLineHeight=function(){return 1.2*this._getMeasuredWidth("M")},e.getMeasuredHeight=function(){return this._drawText(null,{}).height},e.getBounds=function(){var e=this.DisplayObject_getBounds();if(e)return e;if(null==this.text||""===this.text)return null;var i=this._drawText(null,{}),n=this.maxWidth&&this.maxWidth<i.width?this.maxWidth:i.width,r=n*t.H_OFFSETS[this.textAlign||"left"],o=this.lineHeight||this.getMeasuredLineHeight(),s=o*t.V_OFFSETS[this.textBaseline||"top"];return this._rectangle.setValues(r,s,n,i.height)},e.getMetrics=function(){var e={lines:[]};return e.lineHeight=this.lineHeight||this.getMeasuredLineHeight(),e.vOffset=e.lineHeight*t.V_OFFSETS[this.textBaseline||"top"],this._drawText(null,e,e.lines)},e.clone=function(){return this._cloneProps(new t(this.text,this.font,this.color))},e.toString=function(){return"[Text (text="+(this.text.length>20?this.text.substr(0,17)+"...":this.text)+")]"},e._cloneProps=function(t){return this.DisplayObject__cloneProps(t),t.textAlign=this.textAlign,t.textBaseline=this.textBaseline,t.maxWidth=this.maxWidth,t.outline=this.outline,t.lineHeight=this.lineHeight,t.lineWidth=this.lineWidth,t},e._prepContext=function(t){return t.font=this.font||"10px sans-serif",t.textAlign=this.textAlign||"left",t.textBaseline=this.textBaseline||"top",t},e._drawText=function(e,i,n){var r=!!e;r||(e=t._workingContext,e.save(),this._prepContext(e));for(var o=this.lineHeight||this.getMeasuredLineHeight(),s=0,a=0,h=String(this.text).split(/(?:\r\n|\r|\n)/),u=0,c=h.length;c>u;u++){var l=h[u],p=null;if(null!=this.lineWidth&&(p=e.measureText(l).width)>this.lineWidth){var f=l.split(/(\s)/);l=f[0],p=e.measureText(l).width;for(var d=1,g=f.length;g>d;d+=2){var v=e.measureText(f[d]+f[d+1]).width;p+v>this.lineWidth?(r&&this._drawTextLine(e,l,a*o),n&&n.push(l),p>s&&(s=p),l=f[d+1],p=e.measureText(l).width,a++):(l+=f[d]+f[d+1],p+=v)}}r&&this._drawTextLine(e,l,a*o),n&&n.push(l),i&&null==p&&(p=e.measureText(l).width),p>s&&(s=p),a++}return i&&(i.width=s,i.height=a*o),r||e.restore(),i},e._drawTextLine=function(t,e,i){this.outline?t.strokeText(e,0,i,this.maxWidth||65535):t.fillText(e,0,i,this.maxWidth||65535)},e._getMeasuredWidth=function(e){var i=t._workingContext;i.save();var n=this._prepContext(i).measureText(e).width;return i.restore(),n},createjs.Text=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.Container_constructor(),this.text=t||"",this.spriteSheet=e,this.lineHeight=0,this.letterSpacing=0,this.spaceWidth=0,this._oldProps={text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0}}var e=createjs.extend(t,createjs.Container);t.maxPoolSize=100,t._spritePool=[],e.draw=function(t,e){this.DisplayObject_draw(t,e)||(this._updateText(),this.Container_draw(t,e))},e.getBounds=function(){return this._updateText(),this.Container_getBounds()},e.isVisible=function(){var t=this.cacheCanvas||this.spriteSheet&&this.spriteSheet.complete&&this.text;return!!(this.visible&&this.alpha>0&&0!==this.scaleX&&0!==this.scaleY&&t)},e.clone=function(){return this._cloneProps(new t(this.text,this.spriteSheet))},e.addChild=e.addChildAt=e.removeChild=e.removeChildAt=e.removeAllChildren=function(){},e._cloneProps=function(t){return this.Container__cloneProps(t),t.lineHeight=this.lineHeight,t.letterSpacing=this.letterSpacing,t.spaceWidth=this.spaceWidth,t},e._getFrameIndex=function(t,e){var i,n=e.getAnimation(t);return n||(t!=(i=t.toUpperCase())||t!=(i=t.toLowerCase())||(i=null),i&&(n=e.getAnimation(i))),n&&n.frames[0]},e._getFrame=function(t,e){var i=this._getFrameIndex(t,e);return null==i?i:e.getFrame(i)},e._getLineHeight=function(t){var e=this._getFrame("1",t)||this._getFrame("T",t)||this._getFrame("L",t)||t.getFrame(0);return e?e.rect.height:1},e._getSpaceWidth=function(t){var e=this._getFrame("1",t)||this._getFrame("l",t)||this._getFrame("e",t)||this._getFrame("a",t)||t.getFrame(0);return e?e.rect.width:1},e._updateText=function(){var e,i=0,n=0,r=this._oldProps,o=!1,s=this.spaceWidth,a=this.lineHeight,h=this.spriteSheet,u=t._spritePool,c=this.children,l=0,p=c.length;for(var f in r)r[f]!=this[f]&&(r[f]=this[f],o=!0);if(o){var d=!!this._getFrame(" ",h);d||s||(s=this._getSpaceWidth(h)),a||(a=this._getLineHeight(h));for(var g=0,v=this.text.length;v>g;g++){var m=this.text.charAt(g);if(" "!=m||d)if("\n"!=m&&"\r"!=m){var _=this._getFrameIndex(m,h);null!=_&&(p>l?e=c[l]:(c.push(e=u.length?u.pop():new createjs.Sprite),e.parent=this,p++),e.spriteSheet=h,e.gotoAndStop(_),e.x=i,e.y=n,l++,i+=e.getBounds().width+this.letterSpacing)}else"\r"==m&&"\n"==this.text.charAt(g+1)&&g++,i=0,n+=a;else i+=s}for(;p>l;)u.push(e=c.pop()),e.parent=null,p--;u.length>t.maxPoolSize&&(u.length=t.maxPoolSize)}},createjs.BitmapText=createjs.promote(t,"Container")}(),this.createjs=this.createjs||{},function(){"use strict";function t(e,i,n,r){this.Container_constructor(),!t.inited&&t.init(),this.mode=e||t.INDEPENDENT,this.startPosition=i||0,this.loop=n,this.currentFrame=0,this.timeline=new createjs.Timeline(null,r,{paused:!0,position:i,useTicks:!0}),this.paused=!1,this.actionsEnabled=!0,this.autoReset=!0,this.frameBounds=this.frameBounds||null,this.framerate=null,this._synchOffset=0,this._prevPos=-1,this._prevPosition=0,this._t=0,this._managed={}}function e(){throw"MovieClipPlugin cannot be instantiated."}var i=createjs.extend(t,createjs.Container);t.INDEPENDENT="independent",t.SINGLE_FRAME="single",t.SYNCHED="synched",t.inited=!1,t.init=function(){t.inited||(e.install(),t.inited=!0)},i.getLabels=function(){return this.timeline.getLabels()},i.getCurrentLabel=function(){return this._updateTimeline(),this.timeline.getCurrentLabel()},i.getDuration=function(){return this.timeline.duration;
};try{Object.defineProperties(i,{labels:{get:i.getLabels},currentLabel:{get:i.getCurrentLabel},totalFrames:{get:i.getDuration},duration:{get:i.getDuration}})}catch(t){}i.initialize=t,i.isVisible=function(){return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY)},i.draw=function(t,e){return!!this.DisplayObject_draw(t,e)||(this._updateTimeline(),this.Container_draw(t,e),!0)},i.play=function(){this.paused=!1},i.stop=function(){this.paused=!0},i.gotoAndPlay=function(t){this.paused=!1,this._goto(t)},i.gotoAndStop=function(t){this.paused=!0,this._goto(t)},i.advance=function(e){var i=t.INDEPENDENT;if(this.mode==i){for(var n=this,r=n.framerate;(n=n.parent)&&null==r;)n.mode==i&&(r=n._framerate);this._framerate=r;var o=null!=r&&-1!=r&&null!=e?e/(1e3/r)+this._t:1,s=0|o;for(this._t=o-s;!this.paused&&s--;)this._prevPosition=this._prevPos<0?0:this._prevPosition+1,this._updateTimeline()}},i.clone=function(){throw"MovieClip cannot be cloned."},i.toString=function(){return"[MovieClip (name="+this.name+")]"},i._tick=function(t){this.advance(t&&t.delta),this.Container__tick(t)},i._goto=function(t){var e=this.timeline.resolve(t);null!=e&&(-1==this._prevPos&&(this._prevPos=NaN),this._prevPosition=e,this._t=0,this._updateTimeline())},i._reset=function(){this._prevPos=-1,this._t=this.currentFrame=0,this.paused=!1},i._updateTimeline=function(){var e=this.timeline,i=this.mode!=t.INDEPENDENT;e.loop=null==this.loop||this.loop;var n=i?this.startPosition+(this.mode==t.SINGLE_FRAME?0:this._synchOffset):this._prevPos<0?0:this._prevPosition,r=i||!this.actionsEnabled?createjs.Tween.NONE:null;if(this.currentFrame=e._calcPosition(n),e.setPosition(n,r),this._prevPosition=e._prevPosition,this._prevPos!=e._prevPos){this.currentFrame=this._prevPos=e._prevPos;for(var o in this._managed)this._managed[o]=1;for(var s=e._tweens,a=0,h=s.length;h>a;a++){var u=s[a],c=u._target;if(c!=this&&!u.passive){var l=u._stepPosition;c instanceof createjs.DisplayObject?this._addManagedChild(c,l):this._setState(c.state,l)}}var p=this.children;for(a=p.length-1;a>=0;a--){var f=p[a].id;1==this._managed[f]&&(this.removeChildAt(a),delete this._managed[f])}}},i._setState=function(t,e){if(t)for(var i=t.length-1;i>=0;i--){var n=t[i],r=n.t,o=n.p;for(var s in o)r[s]=o[s];this._addManagedChild(r,e)}},i._addManagedChild=function(e,i){e._off||(this.addChildAt(e,0),e instanceof t&&(e._synchOffset=i,e.mode==t.INDEPENDENT&&e.autoReset&&!this._managed[e.id]&&e._reset()),this._managed[e.id]=2)},i._getBounds=function(t,e){var i=this.DisplayObject_getBounds();return i||(this._updateTimeline(),this.frameBounds&&(i=this._rectangle.copy(this.frameBounds[this.currentFrame]))),i?this._transformBounds(i,t,e):this.Container__getBounds(t,e)},createjs.MovieClip=createjs.promote(t,"Container"),e.priority=100,e.install=function(){createjs.Tween.installPlugin(e,["startPosition"])},e.init=function(t,e,i){return i},e.step=function(){},e.tween=function(e,i,n,r,o,s){return e.target instanceof t?1==s?o[i]:r[i]:n}}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"SpriteSheetUtils cannot be instantiated"}var e=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");e.getContext&&(t._workingCanvas=e,t._workingContext=e.getContext("2d"),e.width=e.height=1),t.addFlippedFrames=function(e,i,n,r){if(i||n||r){var o=0;i&&t._flip(e,++o,!0,!1),n&&t._flip(e,++o,!1,!0),r&&t._flip(e,++o,!0,!0)}},t.extractFrame=function(e,i){isNaN(i)&&(i=e.getAnimation(i).frames[0]);var n=e.getFrame(i);if(!n)return null;var r=n.rect,o=t._workingCanvas;o.width=r.width,o.height=r.height,t._workingContext.drawImage(n.image,r.x,r.y,r.width,r.height,0,0,r.width,r.height);var s=document.createElement("img");return s.src=o.toDataURL("image/png"),s},t.mergeAlpha=function(t,e,i){i||(i=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas")),i.width=Math.max(e.width,t.width),i.height=Math.max(e.height,t.height);var n=i.getContext("2d");return n.save(),n.drawImage(t,0,0),n.globalCompositeOperation="destination-in",n.drawImage(e,0,0),n.restore(),i},t._flip=function(e,i,n,r){for(var o=e._images,s=t._workingCanvas,a=t._workingContext,h=o.length/i,u=0;h>u;u++){var c=o[u];c.__tmp=u,a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,s.width+1,s.height+1),s.width=c.width,s.height=c.height,a.setTransform(n?-1:1,0,0,r?-1:1,n?c.width:0,r?c.height:0),a.drawImage(c,0,0);var l=document.createElement("img");l.src=s.toDataURL("image/png"),l.width=c.width,l.height=c.height,o.push(l)}var p=e._frames,f=p.length/i;for(u=0;f>u;u++){c=p[u];var d=c.rect.clone();l=o[c.image.__tmp+h*i];var g={image:l,rect:d,regX:c.regX,regY:c.regY};n&&(d.x=l.width-d.x-d.width,g.regX=d.width-c.regX),r&&(d.y=l.height-d.y-d.height,g.regY=d.height-c.regY),p.push(g)}var v="_"+(n?"h":"")+(r?"v":""),m=e._animations,_=e._data,y=m.length/i;for(u=0;y>u;u++){var b=m[u];c=_[b];var w={name:b+v,speed:c.speed,next:c.next,frames:[]};c.next&&(w.next+=v),p=c.frames;for(var A=0,x=p.length;x>A;A++)w.frames.push(p[A]+f*i);_[w.name]=w,m.push(w.name)}},createjs.SpriteSheetUtils=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.EventDispatcher_constructor(),this.maxWidth=2048,this.maxHeight=2048,this.spriteSheet=null,this.scale=1,this.padding=1,this.timeSlice=.3,this.progress=-1,this.framerate=t||0,this._frames=[],this._animations={},this._data=null,this._nextFrameIndex=0,this._index=0,this._timerID=null,this._scale=1}var e=createjs.extend(t,createjs.EventDispatcher);t.ERR_DIMENSIONS="frame dimensions exceed max spritesheet dimensions",t.ERR_RUNNING="a build is already running",e.addFrame=function(e,i,n,r,o){if(this._data)throw t.ERR_RUNNING;var s=i||e.bounds||e.nominalBounds;return!s&&e.getBounds&&(s=e.getBounds()),s?(n=n||1,this._frames.push({source:e,sourceRect:s,scale:n,funct:r,data:o,index:this._frames.length,height:s.height*n})-1):null},e.addAnimation=function(e,i,n,r){if(this._data)throw t.ERR_RUNNING;this._animations[e]={frames:i,next:n,speed:r}},e.addMovieClip=function(e,i,n,r,o,s){if(this._data)throw t.ERR_RUNNING;var a=e.frameBounds,h=i||e.bounds||e.nominalBounds;if(!h&&e.getBounds&&(h=e.getBounds()),h||a){var u,c,l=this._frames.length,p=e.timeline.duration;for(u=0;p>u;u++){var f=a&&a[u]?a[u]:h;this.addFrame(e,f,n,this._setupMovieClipFrame,{i:u,f:r,d:o})}var d=e.timeline._labels,g=[];for(var v in d)g.push({index:d[v],label:v});if(g.length)for(g.sort(function(t,e){return t.index-e.index}),u=0,c=g.length;c>u;u++){for(var m=g[u].label,_=l+g[u].index,y=l+(u==c-1?p:g[u+1].index),b=[],w=_;y>w;w++)b.push(w);(!s||(m=s(m,e,_,y)))&&this.addAnimation(m,b,!0)}}},e.build=function(){if(this._data)throw t.ERR_RUNNING;for(this._startBuild();this._drawNext(););return this._endBuild(),this.spriteSheet},e.buildAsync=function(e){if(this._data)throw t.ERR_RUNNING;this.timeSlice=e,this._startBuild();var i=this;this._timerID=setTimeout(function(){i._run()},50-50*Math.max(.01,Math.min(.99,this.timeSlice||.3)))},e.stopAsync=function(){clearTimeout(this._timerID),this._data=null},e.clone=function(){throw"SpriteSheetBuilder cannot be cloned."},e.toString=function(){return"[SpriteSheetBuilder]"},e._startBuild=function(){var e=this.padding||0;this.progress=0,this.spriteSheet=null,this._index=0,this._scale=this.scale;var i=[];this._data={images:[],frames:i,framerate:this.framerate,animations:this._animations};var n=this._frames.slice();if(n.sort(function(t,e){return t.height<=e.height?-1:1}),n[n.length-1].height+2*e>this.maxHeight)throw t.ERR_DIMENSIONS;for(var r=0,o=0,s=0;n.length;){var a=this._fillRow(n,r,s,i,e);if(a.w>o&&(o=a.w),r+=a.h,!a.h||!n.length){var h=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");h.width=this._getSize(o,this.maxWidth),h.height=this._getSize(r,this.maxHeight),this._data.images[s]=h,a.h||(o=r=0,s++)}}},e._setupMovieClipFrame=function(t,e){var i=t.actionsEnabled;t.actionsEnabled=!1,t.gotoAndStop(e.i),t.actionsEnabled=i,e.f&&e.f(t,e.d,e.i)},e._getSize=function(t,e){for(var i=4;Math.pow(2,++i)<t;);return Math.min(e,Math.pow(2,i))},e._fillRow=function(e,i,n,r,o){var s=this.maxWidth,a=this.maxHeight;i+=o;for(var h=a-i,u=o,c=0,l=e.length-1;l>=0;l--){var p=e[l],f=this._scale*p.scale,d=p.sourceRect,g=p.source,v=Math.floor(f*d.x-o),m=Math.floor(f*d.y-o),_=Math.ceil(f*d.height+2*o),y=Math.ceil(f*d.width+2*o);if(y>s)throw t.ERR_DIMENSIONS;_>h||u+y>s||(p.img=n,p.rect=new createjs.Rectangle(u,i,y,_),c=c||_,e.splice(l,1),r[p.index]=[u,i,y,_,n,Math.round(-v+f*g.regX-o),Math.round(-m+f*g.regY-o)],u+=y)}return{w:u,h:c}},e._endBuild=function(){this.spriteSheet=new createjs.SpriteSheet(this._data),this._data=null,this.progress=1,this.dispatchEvent("complete")},e._run=function(){for(var t=50*Math.max(.01,Math.min(.99,this.timeSlice||.3)),e=(new Date).getTime()+t,i=!1;e>(new Date).getTime();)if(!this._drawNext()){i=!0;break}if(i)this._endBuild();else{var n=this;this._timerID=setTimeout(function(){n._run()},50-t)}var r=this.progress=this._index/this._frames.length;if(this.hasEventListener("progress")){var o=new createjs.Event("progress");o.progress=r,this.dispatchEvent(o)}},e._drawNext=function(){var t=this._frames[this._index],e=t.scale*this._scale,i=t.rect,n=t.sourceRect,r=this._data.images[t.img],o=r.getContext("2d");return t.funct&&t.funct(t.source,t.data),o.save(),o.beginPath(),o.rect(i.x,i.y,i.width,i.height),o.clip(),o.translate(Math.ceil(i.x-n.x*e),Math.ceil(i.y-n.y*e)),o.scale(e,e),t.source.draw(o),o.restore(),++this._index<this._frames.length},createjs.SpriteSheetBuilder=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.DisplayObject_constructor(),"string"==typeof t&&(t=document.getElementById(t)),this.mouseEnabled=!1;var e=t.style;e.position="absolute",e.transformOrigin=e.WebkitTransformOrigin=e.msTransformOrigin=e.MozTransformOrigin=e.OTransformOrigin="0% 0%",this.htmlElement=t,this._oldProps=null}var e=createjs.extend(t,createjs.DisplayObject);e.isVisible=function(){return null!=this.htmlElement},e.draw=function(){return!0},e.cache=function(){},e.uncache=function(){},e.updateCache=function(){},e.hitTest=function(){},e.localToGlobal=function(){},e.globalToLocal=function(){},e.localToLocal=function(){},e.clone=function(){throw"DOMElement cannot be cloned."},e.toString=function(){return"[DOMElement (name="+this.name+")]"},e._tick=function(t){var e=this.getStage();e&&e.on("drawend",this._handleDrawEnd,this,!0),this.DisplayObject__tick(t)},e._handleDrawEnd=function(){var t=this.htmlElement;if(t){var e=t.style,i=this.getConcatenatedDisplayProps(this._props),n=i.matrix,r=i.visible?"visible":"hidden";if(r!=e.visibility&&(e.visibility=r),i.visible){var o=this._oldProps,s=o&&o.matrix,a=1e4;if(!s||!s.equals(n)){var h="matrix("+(n.a*a|0)/a+","+(n.b*a|0)/a+","+(n.c*a|0)/a+","+(n.d*a|0)/a+","+(n.tx+.5|0);e.transform=e.WebkitTransform=e.OTransform=e.msTransform=h+","+(n.ty+.5|0)+")",e.MozTransform=h+"px,"+(n.ty+.5|0)+"px)",o||(o=this._oldProps=new createjs.DisplayProps(!0,NaN)),o.matrix.copy(n)}o.alpha!=i.alpha&&(e.opacity=""+(i.alpha*a|0)/a,o.alpha=i.alpha)}}},createjs.DOMElement=createjs.promote(t,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){}var e=t.prototype;e.getBounds=function(t){return t},e.applyFilter=function(t,e,i,n,r,o,s,a){o=o||t,null==s&&(s=e),null==a&&(a=i);try{var h=t.getImageData(e,i,n,r)}catch(t){return!1}return!!this._applyFilter(h)&&(o.putImageData(h,s,a),!0)},e.toString=function(){return"[Filter]"},e.clone=function(){return new t},e._applyFilter=function(){return!0},createjs.Filter=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){(isNaN(t)||0>t)&&(t=0),(isNaN(e)||0>e)&&(e=0),(isNaN(i)||1>i)&&(i=1),this.blurX=0|t,this.blurY=0|e,this.quality=0|i}var e=createjs.extend(t,createjs.Filter);t.MUL_TABLE=[1,171,205,293,57,373,79,137,241,27,391,357,41,19,283,265,497,469,443,421,25,191,365,349,335,161,155,149,9,278,269,261,505,245,475,231,449,437,213,415,405,395,193,377,369,361,353,345,169,331,325,319,313,307,301,37,145,285,281,69,271,267,263,259,509,501,493,243,479,118,465,459,113,446,55,435,429,423,209,413,51,403,199,393,97,3,379,375,371,367,363,359,355,351,347,43,85,337,333,165,327,323,5,317,157,311,77,305,303,75,297,294,73,289,287,71,141,279,277,275,68,135,67,133,33,262,260,129,511,507,503,499,495,491,61,121,481,477,237,235,467,232,115,457,227,451,7,445,221,439,218,433,215,427,425,211,419,417,207,411,409,203,202,401,399,396,197,49,389,387,385,383,95,189,47,187,93,185,23,183,91,181,45,179,89,177,11,175,87,173,345,343,341,339,337,21,167,83,331,329,327,163,81,323,321,319,159,79,315,313,39,155,309,307,153,305,303,151,75,299,149,37,295,147,73,291,145,289,287,143,285,71,141,281,35,279,139,69,275,137,273,17,271,135,269,267,133,265,33,263,131,261,130,259,129,257,1],t.SHG_TABLE=[0,9,10,11,9,12,10,11,12,9,13,13,10,9,13,13,14,14,14,14,10,13,14,14,14,13,13,13,9,14,14,14,15,14,15,14,15,15,14,15,15,15,14,15,15,15,15,15,14,15,15,15,15,15,15,12,14,15,15,13,15,15,15,15,16,16,16,15,16,14,16,16,14,16,13,16,16,16,15,16,13,16,15,16,14,9,16,16,16,16,16,16,16,16,16,13,14,16,16,15,16,16,10,16,15,16,14,16,16,14,16,16,14,16,16,14,15,16,16,16,14,15,14,15,13,16,16,15,17,17,17,17,17,17,14,15,17,17,16,16,17,16,15,17,16,17,11,17,16,17,16,17,16,17,17,16,17,17,16,17,17,16,16,17,17,17,16,14,17,17,17,17,15,16,14,16,15,16,13,16,15,16,14,16,15,16,12,16,15,16,17,17,17,17,17,13,16,15,17,17,17,16,15,17,17,17,16,15,17,17,14,16,17,17,16,17,17,16,15,17,16,14,17,16,15,17,16,17,17,16,17,15,16,17,14,17,16,15,17,16,17,13,17,16,17,17,16,17,14,17,16,17,16,17,16,17,9],e.getBounds=function(t){var e=0|this.blurX,i=0|this.blurY;if(0>=e&&0>=i)return t;var n=Math.pow(this.quality,.2);return(t||new createjs.Rectangle).pad(e*n+1,i*n+1,e*n+1,i*n+1)},e.clone=function(){return new t(this.blurX,this.blurY,this.quality)},e.toString=function(){return"[BlurFilter]"},e._applyFilter=function(e){var i=this.blurX>>1;if(isNaN(i)||0>i)return!1;var n=this.blurY>>1;if(isNaN(n)||0>n)return!1;if(0==i&&0==n)return!1;var r=this.quality;(isNaN(r)||1>r)&&(r=1),r|=0,r>3&&(r=3),1>r&&(r=1);var o=e.data,s=0,a=0,h=0,u=0,c=0,l=0,p=0,f=0,d=0,g=0,v=0,m=0,_=0,y=0,b=0,w=i+i+1|0,A=n+n+1|0,x=0|e.width,S=0|e.height,C=x-1|0,P=S-1|0,T=i+1|0,k=n+1|0,E={r:0,b:0,g:0,a:0},D=E;for(h=1;w>h;h++)D=D.n={r:0,b:0,g:0,a:0};D.n=E;var I={r:0,b:0,g:0,a:0},L=I;for(h=1;A>h;h++)L=L.n={r:0,b:0,g:0,a:0};L.n=I;for(var $=null,O=0|t.MUL_TABLE[i],R=0|t.SHG_TABLE[i],j=0|t.MUL_TABLE[n],M=0|t.SHG_TABLE[n];r-- >0;){p=l=0;var F=O,N=R;for(a=S;--a>-1;){for(f=T*(m=o[0|l]),d=T*(_=o[l+1|0]),g=T*(y=o[l+2|0]),v=T*(b=o[l+3|0]),D=E,h=T;--h>-1;)D.r=m,D.g=_,D.b=y,D.a=b,D=D.n;for(h=1;T>h;h++)u=l+((h>C?C:h)<<2)|0,f+=D.r=o[u],d+=D.g=o[u+1],g+=D.b=o[u+2],v+=D.a=o[u+3],D=D.n;for($=E,s=0;x>s;s++)o[l++]=f*F>>>N,o[l++]=d*F>>>N,o[l++]=g*F>>>N,o[l++]=v*F>>>N,u=p+((u=s+i+1)<C?u:C)<<2,f-=$.r-($.r=o[u]),d-=$.g-($.g=o[u+1]),g-=$.b-($.b=o[u+2]),v-=$.a-($.a=o[u+3]),$=$.n;p+=x}for(F=j,N=M,s=0;x>s;s++){for(l=s<<2|0,f=k*(m=o[l])|0,d=k*(_=o[l+1|0])|0,g=k*(y=o[l+2|0])|0,v=k*(b=o[l+3|0])|0,L=I,h=0;k>h;h++)L.r=m,L.g=_,L.b=y,L.a=b,L=L.n;for(c=x,h=1;n>=h;h++)l=c+s<<2,f+=L.r=o[l],d+=L.g=o[l+1],g+=L.b=o[l+2],v+=L.a=o[l+3],L=L.n,P>h&&(c+=x);if(l=s,$=I,r>0)for(a=0;S>a;a++)u=l<<2,o[u+3]=b=v*F>>>N,b>0?(o[u]=f*F>>>N,o[u+1]=d*F>>>N,o[u+2]=g*F>>>N):o[u]=o[u+1]=o[u+2]=0,u=s+((u=a+k)<P?u:P)*x<<2,f-=$.r-($.r=o[u]),d-=$.g-($.g=o[u+1]),g-=$.b-($.b=o[u+2]),v-=$.a-($.a=o[u+3]),$=$.n,l+=x;else for(a=0;S>a;a++)u=l<<2,o[u+3]=b=v*F>>>N,b>0?(b=255/b,o[u]=(f*F>>>N)*b,o[u+1]=(d*F>>>N)*b,o[u+2]=(g*F>>>N)*b):o[u]=o[u+1]=o[u+2]=0,u=s+((u=a+k)<P?u:P)*x<<2,f-=$.r-($.r=o[u]),d-=$.g-($.g=o[u+1]),g-=$.b-($.b=o[u+2]),v-=$.a-($.a=o[u+3]),$=$.n,l+=x}}return!0},createjs.BlurFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.alphaMap=t,this._alphaMap=null,this._mapData=null}var e=createjs.extend(t,createjs.Filter);e.clone=function(){var e=new t(this.alphaMap);return e._alphaMap=this._alphaMap,e._mapData=this._mapData,e},e.toString=function(){return"[AlphaMapFilter]"},e._applyFilter=function(t){if(!this.alphaMap)return!0;if(!this._prepAlphaMap())return!1;for(var e=t.data,i=this._mapData,n=0,r=e.length;r>n;n+=4)e[n+3]=i[n]||0;return!0},e._prepAlphaMap=function(){if(!this.alphaMap)return!1;if(this.alphaMap==this._alphaMap&&this._mapData)return!0;this._mapData=null;var t,e=this._alphaMap=this.alphaMap,i=e;e instanceof HTMLCanvasElement?t=i.getContext("2d"):(i=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"),i.width=e.width,i.height=e.height,t=i.getContext("2d"),t.drawImage(e,0,0));try{var n=t.getImageData(0,0,e.width,e.height)}catch(t){return!1}return this._mapData=n.data,!0},createjs.AlphaMapFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.mask=t}var e=createjs.extend(t,createjs.Filter);e.applyFilter=function(t,e,i,n,r,o,s,a){return!this.mask||(o=o||t,null==s&&(s=e),null==a&&(a=i),o.save(),t==o&&(o.globalCompositeOperation="destination-in",o.drawImage(this.mask,s,a),o.restore(),!0))},e.clone=function(){return new t(this.mask)},e.toString=function(){return"[AlphaMaskFilter]"},createjs.AlphaMaskFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n,r,o,s,a){this.redMultiplier=null!=t?t:1,this.greenMultiplier=null!=e?e:1,this.blueMultiplier=null!=i?i:1,this.alphaMultiplier=null!=n?n:1,this.redOffset=r||0,this.greenOffset=o||0,this.blueOffset=s||0,this.alphaOffset=a||0}var e=createjs.extend(t,createjs.Filter);e.toString=function(){return"[ColorFilter]"},e.clone=function(){return new t(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,this.alphaOffset)},e._applyFilter=function(t){for(var e=t.data,i=e.length,n=0;i>n;n+=4)e[n]=e[n]*this.redMultiplier+this.redOffset,e[n+1]=e[n+1]*this.greenMultiplier+this.greenOffset,e[n+2]=e[n+2]*this.blueMultiplier+this.blueOffset,e[n+3]=e[n+3]*this.alphaMultiplier+this.alphaOffset;return!0},createjs.ColorFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n){this.setColor(t,e,i,n)}var e=t.prototype;t.DELTA_INDEX=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10],t.IDENTITY_MATRIX=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],t.LENGTH=t.IDENTITY_MATRIX.length,e.setColor=function(t,e,i,n){return this.reset().adjustColor(t,e,i,n)},e.reset=function(){return this.copy(t.IDENTITY_MATRIX)},e.adjustColor=function(t,e,i,n){return this.adjustHue(n),this.adjustContrast(e),this.adjustBrightness(t),this.adjustSaturation(i)},e.adjustBrightness=function(t){return 0==t||isNaN(t)?this:(t=this._cleanValue(t,255),this._multiplyMatrix([1,0,0,0,t,0,1,0,0,t,0,0,1,0,t,0,0,0,1,0,0,0,0,0,1]),this)},e.adjustContrast=function(e){if(0==e||isNaN(e))return this;e=this._cleanValue(e,100);var i;return 0>e?i=127+e/100*127:(i=e%1,i=0==i?t.DELTA_INDEX[e]:t.DELTA_INDEX[e<<0]*(1-i)+t.DELTA_INDEX[(e<<0)+1]*i,i=127*i+127),this._multiplyMatrix([i/127,0,0,0,.5*(127-i),0,i/127,0,0,.5*(127-i),0,0,i/127,0,.5*(127-i),0,0,0,1,0,0,0,0,0,1]),this},e.adjustSaturation=function(t){if(0==t||isNaN(t))return this;t=this._cleanValue(t,100);var e=1+(t>0?3*t/100:t/100),i=.3086,n=.6094,r=.082;return this._multiplyMatrix([i*(1-e)+e,n*(1-e),r*(1-e),0,0,i*(1-e),n*(1-e)+e,r*(1-e),0,0,i*(1-e),n*(1-e),r*(1-e)+e,0,0,0,0,0,1,0,0,0,0,0,1]),this},e.adjustHue=function(t){if(0==t||isNaN(t))return this;t=this._cleanValue(t,180)/180*Math.PI;var e=Math.cos(t),i=Math.sin(t),n=.213,r=.715,o=.072;return this._multiplyMatrix([n+e*(1-n)+i*-n,r+e*-r+i*-r,o+e*-o+i*(1-o),0,0,n+e*-n+.143*i,r+e*(1-r)+.14*i,o+e*-o+i*-.283,0,0,n+e*-n+i*-(1-n),r+e*-r+i*r,o+e*(1-o)+i*o,0,0,0,0,0,1,0,0,0,0,0,1]),this},e.concat=function(e){return e=this._fixMatrix(e),e.length!=t.LENGTH?this:(this._multiplyMatrix(e),this)},e.clone=function(){return(new t).copy(this)},e.toArray=function(){for(var e=[],i=0,n=t.LENGTH;n>i;i++)e[i]=this[i];return e},e.copy=function(e){for(var i=t.LENGTH,n=0;i>n;n++)this[n]=e[n];return this},e.toString=function(){return"[ColorMatrix]"},e._multiplyMatrix=function(t){var e,i,n,r=[];for(e=0;5>e;e++){for(i=0;5>i;i++)r[i]=this[i+5*e];for(i=0;5>i;i++){var o=0;for(n=0;5>n;n++)o+=t[i+5*n]*r[n];this[i+5*e]=o}}},e._cleanValue=function(t,e){return Math.min(e,Math.max(-e,t))},e._fixMatrix=function(e){return e instanceof t&&(e=e.toArray()),e.length<t.LENGTH?e=e.slice(0,e.length).concat(t.IDENTITY_MATRIX.slice(e.length,t.LENGTH)):e.length>t.LENGTH&&(e=e.slice(0,t.LENGTH)),e},createjs.ColorMatrix=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.matrix=t}var e=createjs.extend(t,createjs.Filter);e.toString=function(){return"[ColorMatrixFilter]"},e.clone=function(){return new t(this.matrix)},e._applyFilter=function(t){for(var e,i,n,r,o=t.data,s=o.length,a=this.matrix,h=a[0],u=a[1],c=a[2],l=a[3],p=a[4],f=a[5],d=a[6],g=a[7],v=a[8],m=a[9],_=a[10],y=a[11],b=a[12],w=a[13],A=a[14],x=a[15],S=a[16],C=a[17],P=a[18],T=a[19],k=0;s>k;k+=4)e=o[k],i=o[k+1],n=o[k+2],r=o[k+3],o[k]=e*h+i*u+n*c+r*l+p,o[k+1]=e*f+i*d+n*g+r*v+m,o[k+2]=e*_+i*y+n*b+r*w+A,o[k+3]=e*x+i*S+n*C+r*P+T;return!0},createjs.ColorMatrixFilter=createjs.promote(t,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Touch cannot be instantiated"}t.isSupported=function(){return!!("ontouchstart"in window||window.MSPointerEvent&&window.navigator.msMaxTouchPoints>0||window.PointerEvent&&window.navigator.maxTouchPoints>0)},t.enable=function(e,i,n){return!(!(e&&e.canvas&&t.isSupported())||!e.__touch&&(e.__touch={pointers:{},multitouch:!i,preventDefault:!n,count:0},"ontouchstart"in window?t._IOS_enable(e):(window.PointerEvent||window.MSPointerEvent)&&t._IE_enable(e),0))},t.disable=function(e){e&&("ontouchstart"in window?t._IOS_disable(e):(window.PointerEvent||window.MSPointerEvent)&&t._IE_disable(e),delete e.__touch)},t._IOS_enable=function(e){var i=e.canvas,n=e.__touch.f=function(i){t._IOS_handleEvent(e,i)};i.addEventListener("touchstart",n,!1),i.addEventListener("touchmove",n,!1),i.addEventListener("touchend",n,!1),i.addEventListener("touchcancel",n,!1)},t._IOS_disable=function(t){var e=t.canvas;if(e){var i=t.__touch.f;e.removeEventListener("touchstart",i,!1),e.removeEventListener("touchmove",i,!1),e.removeEventListener("touchend",i,!1),e.removeEventListener("touchcancel",i,!1)}},t._IOS_handleEvent=function(t,e){if(t){t.__touch.preventDefault&&e.preventDefault&&e.preventDefault();for(var i=e.changedTouches,n=e.type,r=0,o=i.length;o>r;r++){var s=i[r],a=s.identifier;s.target==t.canvas&&("touchstart"===n?this._handleStart(t,a,e,s.pageX,s.pageY):"touchmove"===n?this._handleMove(t,a,e,s.pageX,s.pageY):("touchend"===n||"touchcancel"===n)&&this._handleEnd(t,a,e))}}},t._IE_enable=function(e){var i=e.canvas,n=e.__touch.f=function(i){t._IE_handleEvent(e,i)};void 0===window.PointerEvent?(i.addEventListener("MSPointerDown",n,!1),window.addEventListener("MSPointerMove",n,!1),window.addEventListener("MSPointerUp",n,!1),window.addEventListener("MSPointerCancel",n,!1),e.__touch.preventDefault&&(i.style.msTouchAction="none")):(i.addEventListener("pointerdown",n,!1),window.addEventListener("pointermove",n,!1),window.addEventListener("pointerup",n,!1),window.addEventListener("pointercancel",n,!1),e.__touch.preventDefault&&(i.style.touchAction="none")),e.__touch.activeIDs={}},t._IE_disable=function(t){var e=t.__touch.f;void 0===window.PointerEvent?(window.removeEventListener("MSPointerMove",e,!1),window.removeEventListener("MSPointerUp",e,!1),window.removeEventListener("MSPointerCancel",e,!1),t.canvas&&t.canvas.removeEventListener("MSPointerDown",e,!1)):(window.removeEventListener("pointermove",e,!1),window.removeEventListener("pointerup",e,!1),window.removeEventListener("pointercancel",e,!1),t.canvas&&t.canvas.removeEventListener("pointerdown",e,!1))},t._IE_handleEvent=function(t,e){if(t){t.__touch.preventDefault&&e.preventDefault&&e.preventDefault();var i=e.type,n=e.pointerId,r=t.__touch.activeIDs;if("MSPointerDown"===i||"pointerdown"===i){if(e.srcElement!=t.canvas)return;r[n]=!0,this._handleStart(t,n,e,e.pageX,e.pageY)}else r[n]&&("MSPointerMove"===i||"pointermove"===i?this._handleMove(t,n,e,e.pageX,e.pageY):("MSPointerUp"===i||"MSPointerCancel"===i||"pointerup"===i||"pointercancel"===i)&&(delete r[n],this._handleEnd(t,n,e)))}},t._handleStart=function(t,e,i,n,r){var o=t.__touch;if(o.multitouch||!o.count){var s=o.pointers;s[e]||(s[e]=!0,o.count++,t._handlePointerDown(e,i,n,r))}},t._handleMove=function(t,e,i,n,r){t.__touch.pointers[e]&&t._handlePointerMove(e,i,n,r)},t._handleEnd=function(t,e,i){var n=t.__touch,r=n.pointers;r[e]&&(n.count--,t._handlePointerUp(e,i,!0),delete r[e])},createjs.Touch=t}(),this.createjs=this.createjs||{},function(){"use strict";var t=createjs.EaselJS=createjs.EaselJS||{};t.version="0.8.3",t.buildDate="Thu, 09 May 2019 15:42:49 GMT"}()}).call(window)},function(t,e){(function(){/*!
	* @license SoundJS
	* Visit http://createjs.com/ for documentation, updates and examples.
	*
	* Copyright (c) 2011-2015 gskinner.com, inc.
	*
	* Distributed under the terms of the MIT license.
	* http://www.opensource.org/licenses/mit-license.html
	*
	* This notice shall be included in all copies or substantial portions of the Software.
	*/
/**!
	 * SoundJS FlashAudioPlugin also includes swfobject (http://code.google.com/p/swfobject/)
	 */
this.createjs=this.createjs||{},function(){var t=createjs.SoundJS=createjs.SoundJS||{};t.version="NEXT",t.buildDate="Mon, 14 Sep 2015 19:11:47 GMT"}(),this.createjs=this.createjs||{},createjs.extend=function(t,e){"use strict";function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i},this.createjs=this.createjs||{},createjs.promote=function(t,e){"use strict";var i=t.prototype,n=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(n){i[(e+="_")+"constructor"]=n.constructor;for(var r in n)i.hasOwnProperty(r)&&"function"==typeof n[r]&&(i[e+r]=n[r])}return t},this.createjs=this.createjs||{},createjs.indexOf=function(t,e){"use strict";for(var i=0,n=t.length;n>i;i++)if(e===t[i])return i;return-1},this.createjs=this.createjs||{},function(){"use strict";createjs.proxy=function(t,e){var i=Array.prototype.slice.call(arguments,2);return function(){return t.apply(e,Array.prototype.slice.call(arguments,0).concat(i))}}}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"BrowserDetect cannot be instantiated"}var e=t.agent=window.navigator.userAgent;t.isWindowPhone=e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1,t.isFirefox=e.indexOf("Firefox")>-1,t.isOpera=null!=window.opera,t.isChrome=e.indexOf("Chrome")>-1,t.isIOS=(e.indexOf("iPod")>-1||e.indexOf("iPhone")>-1||e.indexOf("iPad")>-1)&&!t.isWindowPhone,t.isAndroid=e.indexOf("Android")>-1&&!t.isWindowPhone,t.isBlackberry=e.indexOf("Blackberry")>-1,createjs.BrowserDetect=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this._listeners=null,this._captureListeners=null}var e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.on=e.on,t.removeEventListener=t.off=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent,t._dispatchEvent=e._dispatchEvent,t.willTrigger=e.willTrigger},e.addEventListener=function(t,e,i){var n;n=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var r=n[t];return r&&this.removeEventListener(t,e,i),r=n[t],r?r.push(e):n[t]=[e],e},e.on=function(t,e,i,n,r,o){return e.handleEvent&&(i=i||e,e=e.handleEvent),i=i||this,this.addEventListener(t,function(t){e.call(i,t,r),n&&t.remove()},o)},e.removeEventListener=function(t,e,i){var n=i?this._captureListeners:this._listeners;if(n){var r=n[t];if(r)for(var o=0,s=r.length;s>o;o++)if(r[o]==e){1==s?delete n[t]:r.splice(o,1);break}}},e.off=e.removeEventListener,e.removeAllEventListeners=function(t){t?(this._listeners&&delete this._listeners[t],this._captureListeners&&delete this._captureListeners[t]):this._listeners=this._captureListeners=null},e.dispatchEvent=function(t){if("string"==typeof t){var e=this._listeners;if(!e||!e[t])return!1;t=new createjs.Event(t)}else t.target&&t.clone&&(t=t.clone());try{t.target=this}catch(t){}if(t.bubbles&&this.parent){for(var i=this,n=[i];i.parent;)n.push(i=i.parent);var r,o=n.length;for(r=o-1;r>=0&&!t.propagationStopped;r--)n[r]._dispatchEvent(t,1+(0==r));for(r=1;o>r&&!t.propagationStopped;r++)n[r]._dispatchEvent(t,3)}else this._dispatchEvent(t,2);return t.defaultPrevented},e.hasEventListener=function(t){var e=this._listeners,i=this._captureListeners;return!!(e&&e[t]||i&&i[t])},e.willTrigger=function(t){for(var e=this;e;){if(e.hasEventListener(t))return!0;e=e.parent}return!1},e.toString=function(){return"[EventDispatcher]"},e._dispatchEvent=function(t,e){var i,n=1==e?this._captureListeners:this._listeners;if(t&&n){var r=n[t.type];if(!r||!(i=r.length))return;try{t.currentTarget=this}catch(t){}try{t.eventPhase=e}catch(t){}t.removed=!1,r=r.slice();for(var o=0;i>o&&!t.immediatePropagationStopped;o++){var s=r[o];s.handleEvent?s.handleEvent(t):s(t),t.removed&&(this.off(t.type,s,1==e),t.removed=!1)}}},createjs.EventDispatcher=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.type=t,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!e,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var e=t.prototype;e.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},e.stopPropagation=function(){this.propagationStopped=!0},e.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.remove=function(){this.removed=!0},e.clone=function(){return new t(this.type,this.bubbles,this.cancelable)},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.Event_constructor("error"),this.title=t,this.message=e,this.data=i}var e=createjs.extend(t,createjs.Event);e.clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(t,"Event")}(),this.createjs=this.createjs||{},function(t){"use strict";function e(t,e){this.Event_constructor("progress"),this.loaded=t,this.total=null==e?1:e,this.progress=0==e?0:this.loaded/this.total}var i=createjs.extend(e,createjs.Event);i.clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(e,"Event")}(window),this.createjs=this.createjs||{},function(){"use strict";function t(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=null,this.loadTimeout=i.LOAD_TIMEOUT_DEFAULT}var e=t.prototype={},i=t;i.LOAD_TIMEOUT_DEFAULT=8e3,i.create=function(e){if("string"==typeof e){var n=new t;return n.src=e,n}if(e instanceof i)return e;if(e instanceof Object&&e.src)return null==e.loadTimeout&&(e.loadTimeout=i.LOAD_TIMEOUT_DEFAULT),e;throw new Error("Type not recognized.")},e.set=function(t){for(var e in t)this[e]=t[e];return this},createjs.LoadItem=i}(),function(){var t={};t.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,t.RELATIVE_PATT=/^[.\/]*?\//i,t.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,t.parseURI=function(e){var i={absolute:!1,relative:!1};if(null==e)return i;var n=e.indexOf("?");n>-1&&(e=e.substr(0,n));var r;return t.ABSOLUTE_PATT.test(e)?i.absolute=!0:t.RELATIVE_PATT.test(e)&&(i.relative=!0),(r=e.match(t.EXTENSION_PATT))&&(i.extension=r[1].toLowerCase()),i},t.formatQueryString=function(t,e){if(null==t)throw new Error("You must specify data.");var i=[];for(var n in t)i.push(n+"="+escape(t[n]));return e&&(i=i.concat(e)),i.join("&")},t.buildPath=function(t,e){if(null==e)return t;var i=[],n=t.indexOf("?");if(-1!=n){var r=t.slice(n+1);i=i.concat(r.split("&"))}return-1!=n?t.slice(0,n)+"?"+this._formatQueryString(e,i):t+"?"+this._formatQueryString(e,i)},t.isCrossDomain=function(t){var e=document.createElement("a");e.href=t.src;var i=document.createElement("a");i.href=location.href;var n=""!=e.hostname&&(e.port!=i.port||e.protocol!=i.protocol||e.hostname!=i.hostname);return n},t.isLocal=function(t){var e=document.createElement("a");return e.href=t.src,""==e.hostname&&"file:"==e.protocol},t.isBinary=function(t){switch(t){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},t.isImageTag=function(t){return t instanceof HTMLImageElement},t.isAudioTag=function(t){return!!window.HTMLAudioElement&&t instanceof HTMLAudioElement},t.isVideoTag=function(t){return!!window.HTMLVideoElement&&t instanceof HTMLVideoElement},t.isText=function(t){switch(t){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:case createjs.AbstractLoader.SPRITESHEET:return!0;default:return!1}},t.getTypeByExtension=function(t){if(null==t)return createjs.AbstractLoader.TEXT;switch(t.toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return createjs.AbstractLoader.IMAGE;case"ogg":case"mp3":case"webm":return createjs.AbstractLoader.SOUND;case"mp4":case"webm":case"ts":return createjs.AbstractLoader.VIDEO;case"json":return createjs.AbstractLoader.JSON;case"xml":return createjs.AbstractLoader.XML;case"css":return createjs.AbstractLoader.CSS;case"js":return createjs.AbstractLoader.JAVASCRIPT;case"svg":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=i,this.resultFormatter=null,this._item=t?createjs.LoadItem.create(t):null,this._preferXHR=e,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var e=createjs.extend(t,createjs.EventDispatcher),i=t;i.POST="POST",i.GET="GET",i.BINARY="binary",i.CSS="css",i.IMAGE="image",i.JAVASCRIPT="javascript",i.JSON="json",i.JSONP="jsonp",i.MANIFEST="manifest",i.SOUND="sound",i.VIDEO="video",i.SPRITESHEET="spritesheet",i.SVG="svg",i.TEXT="text",i.XML="xml",e.getItem=function(){return this._item},e.getResult=function(t){return t?this._rawResult:this._result},e.getTag=function(){return this._tag},e.setTag=function(t){this._tag=t},e.load=function(){this._createRequest(),this._request.on("complete",this,this),this._request.on("progress",this,this),this._request.on("loadStart",this,this),this._request.on("abort",this,this),this._request.on("timeout",this,this),this._request.on("error",this,this);var t=new createjs.Event("initialize");t.loader=this._request,this.dispatchEvent(t),this._request.load()},e.cancel=function(){this.canceled=!0,this.destroy()},e.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},e.getLoadedItems=function(){return this._loadedItems},e._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._createTag=function(t){return null},e._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")},e._sendProgress=function(t){if(!this._isCanceled()){var e=null;"number"==typeof t?(this.progress=t,e=new createjs.ProgressEvent(this.progress)):(e=t,this.progress=t.loaded/t.total,e.progress=this.progress,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0)),this.hasEventListener("progress")&&this.dispatchEvent(e)}},e._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var t=new createjs.Event("complete");t.rawResult=this._rawResult,null!=this._result&&(t.result=this._result),this.dispatchEvent(t)}},e._sendError=function(t){!this._isCanceled()&&this.hasEventListener("error")&&(null==t&&(t=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(t))},e._isCanceled=function(){return!(null!=window.createjs&&!this.canceled)},e.resultFormatter=null,e.handleEvent=function(t){switch(t.type){case"complete":this._rawResult=t.target._response;var e=this.resultFormatter&&this.resultFormatter(this),i=this;e instanceof Function?e(function(t){i._result=t,i._sendComplete()}):(this._result=e||this._rawResult,this._sendComplete());break;case"progress":this._sendProgress(t);break;case"error":this._sendError(t);break;case"loadstart":this._sendLoadStart();break;case"abort":case"timeout":this._isCanceled()||this.dispatchEvent(t.type)}},e.buildPath=function(t,e){return createjs.RequestUtils.buildPath(t,e)},e.toString=function(){return"[PreloadJS AbstractLoader]"},createjs.AbstractLoader=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.AbstractLoader_constructor(t,e,i),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src"}var e=createjs.extend(t,createjs.AbstractLoader);e.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload="auto",this._tag.load(),this.AbstractLoader_load()},e._createTag=function(){},e._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._formatResult=function(t){return this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR&&(t.getTag().src=t.getResult(!0)),t.getTag()},createjs.AbstractMediaLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(t){this._item=t},e=createjs.extend(t,createjs.EventDispatcher);e.load=function(){},e.destroy=function(){},e.cancel=function(){},createjs.AbstractRequest=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var e=createjs.extend(t,createjs.AbstractRequest);e.load=function(){this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this),this._tag.onerror=createjs.proxy(this._handleError,this);var t=new createjs.Event("initialize");t.loader=this._tag,this.dispatchEvent(t),this._hideTag(),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag[this._tagSrcAttribute]=this._item.src,null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0)},e.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;("loaded"==t.readyState||"complete"==t.readyState)&&this._handleTagComplete()},e._handleError=function(){this._clean(),this.dispatchEvent("error")},e._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent("complete")},e._handleTimeout=function(){this._clean(),this.dispatchEvent(new createjs.Event("timeout"))},e._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._tag.onerror=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag),clearTimeout(this._loadTimeout)},e._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility="hidden"},e._showTag=function(){this._tag.style.visibility=this._startTagVisibility},e._handleStalled=function(){},createjs.TagRequest=createjs.promote(t,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var e=createjs.extend(t,createjs.TagRequest);e.load=function(){var t=createjs.proxy(this._handleStalled,this);this._stalledCallback=t;var e=createjs.proxy(this._handleProgress,this);this._handleProgress=e,this._tag.addEventListener("stalled",t),this._tag.addEventListener("progress",e),this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",this._loadedHandler,!1),this.TagRequest_load()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;("loaded"==t.readyState||"complete"==t.readyState)&&this._handleTagComplete()},e._handleStalled=function(){},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.removeEventListener("stalled",this._stalledCallback),this._tag.removeEventListener("progress",this._progressCallback),this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(t,"TagRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractRequest_constructor(t),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),!this._createXHR(t)}var e=createjs.extend(t,createjs.AbstractRequest);t.ACTIVEX_VERSIONS=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],e.getResult=function(t){return t&&this._rawResponse?this._rawResponse:this._response},e.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},e.load=function(){if(null==this._request)return void this._handleError();this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",this._handleReadyStateChangeProxy,!1),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(t){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,t))}},e.setResponseType=function(t){this._request.responseType=t},e.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},e.getResponseHeader=function(t){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(t):null},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._handleLoadStart=function(t){clearTimeout(this._loadTimeout),this.dispatchEvent("loadstart")},e._handleAbort=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",null,t))},e._handleError=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(t.message))},e._handleReadyStateChange=function(t){4==this._request.readyState&&this._handleLoad()},e._handleLoad=function(t){if(!this.loaded){this.loaded=!0;var e=this._checkError();if(e)return void this._handleError(e);this._response=this._getResponse(),this._clean(),this.dispatchEvent(new createjs.Event("complete"))}},e._handleTimeout=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,t))},e._checkError=function(){var t=parseInt(this._request.status);switch(t){case 404:case 0:return new Error(t)}return null},e._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(t){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(t){}return null},e._createXHR=function(t){var e=createjs.RequestUtils.isCrossDomain(t),i={},n=null;if(window.XMLHttpRequest)n=new XMLHttpRequest,e&&void 0===n.withCredentials&&window.XDomainRequest&&(n=new XDomainRequest);else{for(var r=0,o=s.ACTIVEX_VERSIONS.length;o>r;r++){s.ACTIVEX_VERSIONS[r];try{n=new ActiveXObject(axVersions);break}catch(t){}}if(null==n)return!1}null==t.mimeType&&createjs.RequestUtils.isText(t.type)&&(t.mimeType="text/plain; charset=utf-8"),t.mimeType&&n.overrideMimeType&&n.overrideMimeType(t.mimeType),this._xhrLevel="string"==typeof n.responseType?2:1;var a=null;if(a=t.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(t.src,t.values):t.src,n.open(t.method||createjs.AbstractLoader.GET,a,!0),e&&n instanceof XMLHttpRequest&&1==this._xhrLevel&&(i.Origin=location.origin),t.values&&t.method==createjs.AbstractLoader.POST&&(i["Content-Type"]="application/x-www-form-urlencoded"),e||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),t.headers)for(var h in t.headers)i[h]=t.headers[h];for(h in i)n.setRequestHeader(h,i[h]);return n instanceof XMLHttpRequest&&void 0!==t.withCredentials&&(n.withCredentials=t.withCredentials),this._request=n,!0},e._clean=function(){clearTimeout(this._loadTimeout),this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)},e.toString=function(){return"[PreloadJS XHRRequest]"},createjs.XHRRequest=createjs.promote(t,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e){this.AbstractMediaLoader_constructor(t,e,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(t)?this._tag=t:createjs.RequestUtils.isAudioTag(t.src)?this._tag=t:createjs.RequestUtils.isAudioTag(t.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(t)?t:t.src),null!=this._tag&&(this._preferXHR=!1)}var e=createjs.extend(t,createjs.AbstractMediaLoader),i=t;i.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SOUND},e._createTag=function(t){var e=document.createElement("audio");return e.autoplay=!1,e.preload="none",e.src=t,e},createjs.SoundLoader=createjs.promote(t,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(){this.interrupt=null,this.delay=null,this.offset=null,this.loop=null,this.volume=null,this.pan=null,this.startTime=null,this.duration=null},e=t.prototype={},i=t;i.create=function(t){if(t instanceof i||t instanceof Object){var e=new createjs.PlayPropsConfig;return e.set(t),e}throw new Error("Type not recognized.")},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return"[PlayPropsConfig]"},createjs.PlayPropsConfig=i}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Sound cannot be instantiated"}function e(t,e){this.init(t,e)}var i=t;i.INTERRUPT_ANY="any",i.INTERRUPT_EARLY="early",i.INTERRUPT_LATE="late",i.INTERRUPT_NONE="none",i.PLAY_INITED="playInited",i.PLAY_SUCCEEDED="playSucceeded",i.PLAY_INTERRUPTED="playInterrupted",i.PLAY_FINISHED="playFinished",i.PLAY_FAILED="playFailed",i.SUPPORTED_EXTENSIONS=["mp3","ogg","opus","mpeg","wav","m4a","mp4","aiff","wma","mid"],i.EXTENSION_MAP={m4a:"mp4"},i.FILE_PATTERN=/^(?:(\w+:)\/{2}(\w+(?:\.\w+)*\/?))?([\/.]*?(?:[^?]+)?\/)?((?:[^\/?]+)\.(\w+))(?:\?(\S+)?)?$/,i.defaultInterruptBehavior=i.INTERRUPT_NONE,i.alternateExtensions=[],i.activePlugin=null,i._masterVolume=1,Object.defineProperty(i,"volume",{get:function(){return this._masterVolume},set:function(t){if(null==Number(t))return!1;if(t=Math.max(0,Math.min(1,t)),i._masterVolume=t,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(t))for(var e=this._instances,n=0,r=e.length;r>n;n++)e[n].setMasterVolume(t)}}),i._masterMute=!1,Object.defineProperty(i,"muted",{get:function(){return this._masterMute},set:function(t){if(null==t)return!1;if(this._masterMute=t,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(t))for(var e=this._instances,i=0,n=e.length;n>i;i++)e[i].setMasterMute(t);return!0}}),Object.defineProperty(i,"capabilities",{get:function(){return null==i.activePlugin?null:i.activePlugin._capabilities},set:function(t){return!1}}),i._pluginsRegistered=!1,i._lastID=0,i._instances=[],i._idHash={},i._preloadHash={},i._defaultPlayPropsHash={},i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,i._listeners=null,createjs.EventDispatcher.initialize(i),i.getPreloadHandlers=function(){return{callback:createjs.proxy(i.initLoad,i),types:["sound"],extensions:i.SUPPORTED_EXTENSIONS}},i._handleLoadComplete=function(t){var e=t.target.getItem().src;if(i._preloadHash[e])for(var n=0,r=i._preloadHash[e].length;r>n;n++){var o=i._preloadHash[e][n];if(i._preloadHash[e][n]=!0,i.hasEventListener("fileload")){var t=new createjs.Event("fileload");t.src=o.src,t.id=o.id,t.data=o.data,t.sprite=o.sprite,i.dispatchEvent(t)}}},i._handleLoadError=function(t){var e=t.target.getItem().src;if(i._preloadHash[e])for(var n=0,r=i._preloadHash[e].length;r>n;n++){var o=i._preloadHash[e][n];if(i._preloadHash[e][n]=!1,i.hasEventListener("fileerror")){var t=new createjs.Event("fileerror");t.src=o.src,t.id=o.id,t.data=o.data,t.sprite=o.sprite,i.dispatchEvent(t)}}},i._registerPlugin=function(t){return!!t.isSupported()&&(i.activePlugin=new t,!0)},i.registerPlugins=function(t){i._pluginsRegistered=!0;for(var e=0,n=t.length;n>e;e++)if(i._registerPlugin(t[e]))return!0;return!1},i.initializeDefaultPlugins=function(){return null!=i.activePlugin||!i._pluginsRegistered&&!!i.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin])},i.isReady=function(){return null!=i.activePlugin},i.getCapabilities=function(){return null==i.activePlugin?null:i.activePlugin._capabilities},i.getCapability=function(t){return null==i.activePlugin?null:i.activePlugin._capabilities[t]},i.initLoad=function(t){return i._registerSound(t)},i._registerSound=function(t){if(!i.initializeDefaultPlugins())return!1;var n;if(t.src instanceof Object?(n=i._parseSrc(t.src),n.src=t.path+n.src):n=i._parsePath(t.src),null==n)return!1;t.src=n.src,t.type="sound";var r=t.data,o=null;if(null!=r&&(isNaN(r.channels)?isNaN(r)||(o=parseInt(r)):o=parseInt(r.channels),r.audioSprite))for(var s,a=r.audioSprite.length;a--;)s=r.audioSprite[a],i._idHash[s.id]={src:t.src,startTime:parseInt(s.startTime),duration:parseInt(s.duration)},s.defaultPlayProps&&(i._defaultPlayPropsHash[s.id]=createjs.PlayPropsConfig.create(s.defaultPlayProps));null!=t.id&&(i._idHash[t.id]={src:t.src});var h=i.activePlugin.register(t);return e.create(t.src,o),null!=r&&isNaN(r)?t.data.channels=o||e.maxPerChannel():t.data=o||e.maxPerChannel(),h.type&&(t.type=h.type),t.defaultPlayProps&&(i._defaultPlayPropsHash[t.src]=createjs.PlayPropsConfig.create(t.defaultPlayProps)),h},i.registerSound=function(t,e,n,r,o){var s={src:t,id:e,data:n,defaultPlayProps:o};t instanceof Object&&t.src&&(r=e,s=t),s=createjs.LoadItem.create(s),s.path=r,null==r||s.src instanceof Object||(s.src=r+t);var a=i._registerSound(s);if(!a)return!1;if(i._preloadHash[s.src]||(i._preloadHash[s.src]=[]),i._preloadHash[s.src].push(s),1==i._preloadHash[s.src].length)a.on("complete",createjs.proxy(this._handleLoadComplete,this)),a.on("error",createjs.proxy(this._handleLoadError,this)),i.activePlugin.preload(a);else if(1==i._preloadHash[s.src][0])return!0;return s},i.registerSounds=function(t,e){var i=[];t.path&&(e?e+=t.path:e=t.path,t=t.manifest);for(var n=0,r=t.length;r>n;n++)i[n]=createjs.Sound.registerSound(t[n].src,t[n].id,t[n].data,e,t[n].defaultPlayProps);return i},i.removeSound=function(t,n){if(null==i.activePlugin)return!1;t instanceof Object&&t.src&&(t=t.src);var r;if(t instanceof Object?r=i._parseSrc(t):(t=i._getSrcById(t).src,r=i._parsePath(t)),null==r)return!1;t=r.src,null!=n&&(t=n+t);for(var o in i._idHash)i._idHash[o].src==t&&delete i._idHash[o];return e.removeSrc(t),delete i._preloadHash[t],i.activePlugin.removeSound(t),!0},i.removeSounds=function(t,e){var i=[];t.path&&(e?e+=t.path:e=t.path,t=t.manifest);for(var n=0,r=t.length;r>n;n++)i[n]=createjs.Sound.removeSound(t[n].src,e);return i},i.removeAllSounds=function(){i._idHash={},i._preloadHash={},e.removeAll(),i.activePlugin&&i.activePlugin.removeAllSounds()},i.loadComplete=function(t){if(!i.isReady())return!1;var e=i._parsePath(t);return t=e?i._getSrcById(e.src).src:i._getSrcById(t).src,void 0!=i._preloadHash[t]&&1==i._preloadHash[t][0]},i._parsePath=function(t){"string"!=typeof t&&(t=t.toString());var e=t.match(i.FILE_PATTERN);if(null==e)return!1;for(var n=e[4],r=e[5],o=i.capabilities,s=0;!o[r];)if(r=i.alternateExtensions[s++],s>i.alternateExtensions.length)return null;t=t.replace("."+e[5],"."+r);var a={name:n,src:t,extension:r};return a},i._parseSrc=function(t){var e={name:void 0,src:void 0,extension:void 0},n=i.capabilities;for(var r in t)if(t.hasOwnProperty(r)&&n[r]){e.src=t[r],e.extension=r;break}if(!e.src)return!1;var o=e.src.lastIndexOf("/");return e.name=-1!=o?e.src.slice(o+1):e.src,e},i.play=function(t,e,n,r,o,s,a,h,u){var c;c=createjs.PlayPropsConfig.create(e instanceof Object||e instanceof createjs.PlayPropsConfig?e:{interrupt:e,delay:n,offset:r,loop:o,volume:s,pan:a,startTime:h,duration:u});var l=i.createInstance(t,c.startTime,c.duration),p=i._playInstance(l,c);return p||l._playFailed(),l},i.createInstance=function(t,n,r){if(!i.initializeDefaultPlugins())return new createjs.DefaultSoundInstance(t,n,r);var o=i._defaultPlayPropsHash[t];t=i._getSrcById(t);var s=i._parsePath(t.src),a=null;return null!=s&&null!=s.src?(e.create(s.src),null==n&&(n=t.startTime),a=i.activePlugin.create(s.src,n,r||t.duration),o=o||i._defaultPlayPropsHash[s.src],o&&a.applyPlayProps(o)):a=new createjs.DefaultSoundInstance(t,n,r),a.uniqueId=i._lastID++,a},i.stop=function(){for(var t=this._instances,e=t.length;e--;)t[e].stop()},i.setVolume=function(t){if(null==Number(t))return!1;if(t=Math.max(0,Math.min(1,t)),i._masterVolume=t,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(t))for(var e=this._instances,n=0,r=e.length;r>n;n++)e[n].setMasterVolume(t)},i.getVolume=function(){return this._masterVolume},i.setMute=function(t){if(null==t)return!1;if(this._masterMute=t,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(t))for(var e=this._instances,i=0,n=e.length;n>i;i++)e[i].setMasterMute(t);return!0},i.getMute=function(){return this._masterMute},i.setDefaultPlayProps=function(t,e){t=i._getSrcById(t),i._defaultPlayPropsHash[i._parsePath(t.src).src]=createjs.PlayPropsConfig.create(e)},i.getDefaultPlayProps=function(t){return t=i._getSrcById(t),i._defaultPlayPropsHash[i._parsePath(t.src).src]},i._playInstance=function(t,e){var n=i._defaultPlayPropsHash[t.src]||{};if(null==e.interrupt&&(e.interrupt=n.interrupt||i.defaultInterruptBehavior),null==e.delay&&(e.delay=n.delay||0),null==e.offset&&(e.offset=t.getPosition()),null==e.loop&&(e.loop=t.loop),null==e.volume&&(e.volume=t.volume),null==e.pan&&(e.pan=t.pan),0==e.delay){var r=i._beginPlaying(t,e);if(!r)return!1}else{var o=setTimeout(function(){i._beginPlaying(t,e)},e.delay);t.delayTimeoutId=o}return this._instances.push(t),!0},i._beginPlaying=function(t,i){if(!e.add(t,i.interrupt))return!1;var n=t._beginPlaying(i);if(!n){var r=createjs.indexOf(this._instances,t);return r>-1&&this._instances.splice(r,1),!1}return!0},i._getSrcById=function(t){return i._idHash[t]||{src:t}},i._playFinished=function(t){e.remove(t);var i=createjs.indexOf(this._instances,t);i>-1&&this._instances.splice(i,1)},createjs.Sound=t,e.channels={},e.create=function(t,i){var n=e.get(t);return null==n&&(e.channels[t]=new e(t,i),!0)},e.removeSrc=function(t){
var i=e.get(t);return null!=i&&(i._removeAll(),delete e.channels[t],!0)},e.removeAll=function(){for(var t in e.channels)e.channels[t]._removeAll();e.channels={}},e.add=function(t,i){var n=e.get(t.src);return null!=n&&n._add(t,i)},e.remove=function(t){var i=e.get(t.src);return null!=i&&(i._remove(t),!0)},e.maxPerChannel=function(){return n.maxDefault},e.get=function(t){return e.channels[t]};var n=e.prototype;n.constructor=e,n.src=null,n.max=null,n.maxDefault=100,n.length=0,n.init=function(t,e){this.src=t,this.max=e||this.maxDefault,-1==this.max&&(this.max=this.maxDefault),this._instances=[]},n._get=function(t){return this._instances[t]},n._add=function(t,e){return!!this._getSlot(e,t)&&(this._instances.push(t),this.length++,!0)},n._remove=function(t){var e=createjs.indexOf(this._instances,t);return-1!=e&&(this._instances.splice(e,1),this.length--,!0)},n._removeAll=function(){for(var t=this.length-1;t>=0;t--)this._instances[t].stop()},n._getSlot=function(e,i){var n,r;if(e!=t.INTERRUPT_NONE&&(r=this._get(0),null==r))return!0;for(var o=0,s=this.max;s>o;o++){if(n=this._get(o),null==n)return!0;if(n.playState==t.PLAY_FINISHED||n.playState==t.PLAY_INTERRUPTED||n.playState==t.PLAY_FAILED){r=n;break}e!=t.INTERRUPT_NONE&&(e==t.INTERRUPT_EARLY&&n.getPosition()<r.getPosition()||e==t.INTERRUPT_LATE&&n.getPosition()>r.getPosition())&&(r=n)}return null!=r&&(r._interrupt(),this._remove(r),!0)},n.toString=function(){return"[Sound SoundChannel]"}}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(t,e,i,n){this.EventDispatcher_constructor(),this.src=t,this.uniqueId=-1,this.playState=null,this.delayTimeoutId=null,this._volume=1,Object.defineProperty(this,"volume",{get:this.getVolume,set:this.setVolume}),this._pan=0,Object.defineProperty(this,"pan",{get:this.getPan,set:this.setPan}),this._startTime=Math.max(0,e||0),Object.defineProperty(this,"startTime",{get:this.getStartTime,set:this.setStartTime}),this._duration=Math.max(0,i||0),Object.defineProperty(this,"duration",{get:this.getDuration,set:this.setDuration}),this._playbackResource=null,Object.defineProperty(this,"playbackResource",{get:this.getPlaybackResource,set:this.setPlaybackResource}),n!==!1&&n!==!0&&this.setPlaybackResource(n),this._position=0,Object.defineProperty(this,"position",{get:this.getPosition,set:this.setPosition}),this._loop=0,Object.defineProperty(this,"loop",{get:this.getLoop,set:this.setLoop}),this._muted=!1,Object.defineProperty(this,"muted",{get:this.getMuted,set:this.setMuted}),this._paused=!1,Object.defineProperty(this,"paused",{get:this.getPaused,set:this.setPaused})},e=createjs.extend(t,createjs.EventDispatcher);e.play=function(t,e,i,n,r,o){var s;return s=createjs.PlayPropsConfig.create(t instanceof Object||t instanceof createjs.PlayPropsConfig?t:{interrupt:t,delay:e,offset:i,loop:n,volume:r,pan:o}),this.playState==createjs.Sound.PLAY_SUCCEEDED?(this.applyPlayProps(s),void(this._paused&&this.setPaused(!1))):(this._cleanUp(),createjs.Sound._playInstance(this,s),this)},e.stop=function(){return this._position=0,this._paused=!1,this._handleStop(),this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,this},e.destroy=function(){this._cleanUp(),this.src=null,this.playbackResource=null,this.removeAllEventListeners()},e.applyPlayProps=function(t){return null!=t.offset&&this.setPosition(t.offset),null!=t.loop&&this.setLoop(t.loop),null!=t.volume&&this.setVolume(t.volume),null!=t.pan&&this.setPan(t.pan),null!=t.startTime&&(this.setStartTime(t.startTime),this.setDuration(t.duration)),this},e.toString=function(){return"[AbstractSoundInstance]"},e.getPaused=function(){return this._paused},e.setPaused=function(t){return t!==!0&&t!==!1||this._paused==t||1==t&&this.playState!=createjs.Sound.PLAY_SUCCEEDED?void 0:(this._paused=t,t?this._pause():this._resume(),clearTimeout(this.delayTimeoutId),this)},e.setVolume=function(t){return t==this._volume?this:(this._volume=Math.max(0,Math.min(1,t)),this._muted||this._updateVolume(),this)},e.getVolume=function(){return this._volume},e.setMuted=function(t){return t===!0||t===!1?(this._muted=t,this._updateVolume(),this):void 0},e.getMuted=function(){return this._muted},e.setPan=function(t){return t==this._pan?this:(this._pan=Math.max(-1,Math.min(1,t)),this._updatePan(),this)},e.getPan=function(){return this._pan},e.getPosition=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED||(this._position=this._calculateCurrentPosition()),this._position},e.setPosition=function(t){return this._position=Math.max(0,t),this.playState==createjs.Sound.PLAY_SUCCEEDED&&this._updatePosition(),this},e.getStartTime=function(){return this._startTime},e.setStartTime=function(t){return t==this._startTime?this:(this._startTime=Math.max(0,t||0),this._updateStartTime(),this)},e.getDuration=function(){return this._duration},e.setDuration=function(t){return t==this._duration?this:(this._duration=Math.max(0,t||0),this._updateDuration(),this)},e.setPlaybackResource=function(t){return this._playbackResource=t,0==this._duration&&this._setDurationFromSource(),this},e.getPlaybackResource=function(){return this._playbackResource},e.getLoop=function(){return this._loop},e.setLoop=function(t){null!=this._playbackResource&&(0!=this._loop&&0==t?this._removeLooping(t):0==this._loop&&0!=t&&this._addLooping(t)),this._loop=t},e._sendEvent=function(t){var e=new createjs.Event(t);this.dispatchEvent(e)},e._cleanUp=function(){clearTimeout(this.delayTimeoutId),this._handleCleanUp(),this._paused=!1,createjs.Sound._playFinished(this)},e._interrupt=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_INTERRUPTED,this._sendEvent("interrupted")},e._beginPlaying=function(t){return this.setPosition(t.offset),this.setLoop(t.loop),this.setVolume(t.volume),this.setPan(t.pan),null!=t.startTime&&(this.setStartTime(t.startTime),this.setDuration(t.duration)),null!=this._playbackResource&&this._position<this._duration?(this._paused=!1,this._handleSoundReady(),this.playState=createjs.Sound.PLAY_SUCCEEDED,this._sendEvent("succeeded"),!0):(this._playFailed(),!1)},e._playFailed=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_FAILED,this._sendEvent("failed")},e._handleSoundComplete=function(t){return this._position=0,0!=this._loop?(this._loop--,this._handleLoop(),void this._sendEvent("loop")):(this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,void this._sendEvent("complete"))},e._handleSoundReady=function(){},e._updateVolume=function(){},e._updatePan=function(){},e._updateStartTime=function(){},e._updateDuration=function(){},e._setDurationFromSource=function(){},e._calculateCurrentPosition=function(){},e._updatePosition=function(){},e._removeLooping=function(t){},e._addLooping=function(t){},e._pause=function(){},e._resume=function(){},e._handleStop=function(){},e._handleCleanUp=function(){},e._handleLoop=function(){},createjs.AbstractSoundInstance=createjs.promote(t,"EventDispatcher"),createjs.DefaultSoundInstance=createjs.AbstractSoundInstance}(),this.createjs=this.createjs||{},function(){"use strict";var t=function(){this._capabilities=null,this._loaders={},this._audioSources={},this._soundInstances={},this._volume=1,this._loaderClass,this._soundInstanceClass},e=t.prototype;t._capabilities=null,t.isSupported=function(){return!0},e.register=function(t){var e=this._loaders[t.src];return e&&!e.canceled?this._loaders[t.src]:(this._audioSources[t.src]=!0,this._soundInstances[t.src]=[],e=new this._loaderClass(t),e.on("complete",createjs.proxy(this._handlePreloadComplete,this)),this._loaders[t.src]=e,e)},e.preload=function(t){t.on("error",createjs.proxy(this._handlePreloadError,this)),t.load()},e.isPreloadStarted=function(t){return null!=this._audioSources[t]},e.isPreloadComplete=function(t){return!(null==this._audioSources[t]||1==this._audioSources[t])},e.removeSound=function(t){if(this._soundInstances[t]){for(var e=this._soundInstances[t].length;e--;){var i=this._soundInstances[t][e];i.destroy()}delete this._soundInstances[t],delete this._audioSources[t],this._loaders[t]&&this._loaders[t].destroy(),delete this._loaders[t]}},e.removeAllSounds=function(){for(var t in this._audioSources)this.removeSound(t)},e.create=function(t,e,i){this.isPreloadStarted(t)||this.preload(this.register(t));var n=new this._soundInstanceClass(t,e,i,this._audioSources[t]);return this._soundInstances[t].push(n),n},e.setVolume=function(t){return this._volume=t,this._updateVolume(),!0},e.getVolume=function(){return this._volume},e.setMute=function(t){return this._updateVolume(),!0},e.toString=function(){return"[AbstractPlugin]"},e._handlePreloadComplete=function(t){var e=t.target.getItem().src;this._audioSources[e]=t.result;for(var i=0,n=this._soundInstances[e].length;n>i;i++){var r=this._soundInstances[e][i];r.setPlaybackResource(this._audioSources[e])}},e._handlePreloadError=function(t){},e._updateVolume=function(){},createjs.AbstractPlugin=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.SOUND)}var e=createjs.extend(t,createjs.AbstractLoader);t.context=null,e.toString=function(){return"[WebAudioLoader]"},e._createRequest=function(){this._request=new createjs.XHRRequest(this._item,!1),this._request.setResponseType("arraybuffer")},e._sendComplete=function(e){t.context.decodeAudioData(this._rawResult,createjs.proxy(this._handleAudioDecoded,this),createjs.proxy(this._sendError,this))},e._handleAudioDecoded=function(t){this._result=t,this.AbstractLoader__sendComplete()},createjs.WebAudioLoader=createjs.promote(t,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,n,r){this.AbstractSoundInstance_constructor(t,e,n,r),this.gainNode=i.context.createGain(),this.panNode=i.context.createPanner(),this.panNode.panningModel=i._panningModel,this.panNode.connect(this.gainNode),this._updatePan(),this.sourceNode=null,this._soundCompleteTimeout=null,this._sourceNodeNext=null,this._playbackStartTime=0,this._endedHandler=createjs.proxy(this._handleSoundComplete,this)}var e=createjs.extend(t,createjs.AbstractSoundInstance),i=t;i.context=null,i._scratchBuffer=null,i.destinationNode=null,i._panningModel="equalpower",e.destroy=function(){this.AbstractSoundInstance_destroy(),this.panNode.disconnect(0),this.panNode=null,this.gainNode.disconnect(0),this.gainNode=null},e.toString=function(){return"[WebAudioSoundInstance]"},e._updatePan=function(){this.panNode.setPosition(this._pan,0,-.5)},e._removeLooping=function(t){this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)},e._addLooping=function(t){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},e._setDurationFromSource=function(){this._duration=1e3*this.playbackResource.duration},e._handleCleanUp=function(){this.sourceNode&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout),this._playbackStartTime=0},e._cleanUpAudioNode=function(t){if(t){t.stop(0),t.disconnect(0);try{t.buffer=i._scratchBuffer}catch(t){}t=null}return t},e._handleSoundReady=function(t){this.gainNode.connect(i.destinationNode);var e=.001*this._duration,n=.001*this._position;n>e&&(n=e),this.sourceNode=this._createAndPlayAudioNode(i.context.currentTime-e,n),this._playbackStartTime=this.sourceNode.startTime-n,this._soundCompleteTimeout=setTimeout(this._endedHandler,1e3*(e-n)),0!=this._loop&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},e._createAndPlayAudioNode=function(t,e){var n=i.context.createBufferSource();n.buffer=this.playbackResource,n.connect(this.panNode);var r=.001*this._duration;return n.startTime=t+r,n.start(n.startTime,e+.001*this._startTime,r-e),n},e._pause=function(){this._position=1e3*(i.context.currentTime-this._playbackStartTime),this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout)},e._resume=function(){this._handleSoundReady()},e._updateVolume=function(){var t=this._muted?0:this._volume;t!=this.gainNode.gain.value&&(this.gainNode.gain.value=t)},e._calculateCurrentPosition=function(){return 1e3*(i.context.currentTime-this._playbackStartTime)},e._updatePosition=function(){this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),clearTimeout(this._soundCompleteTimeout),this._paused||this._handleSoundReady()},e._handleLoop=function(){this._cleanUpAudioNode(this.sourceNode),this.sourceNode=this._sourceNodeNext,this._playbackStartTime=this.sourceNode.startTime,this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0),this._soundCompleteTimeout=setTimeout(this._endedHandler,this._duration)},e._updateDuration=function(){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._pause(),this._resume())},createjs.WebAudioSoundInstance=createjs.promote(t,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.AbstractPlugin_constructor(),this._panningModel=i._panningModel,this.context=i.context,this.dynamicsCompressorNode=this.context.createDynamicsCompressor(),this.dynamicsCompressorNode.connect(this.context.destination),this.gainNode=this.context.createGain(),this.gainNode.connect(this.dynamicsCompressorNode),createjs.WebAudioSoundInstance.destinationNode=this.gainNode,this._capabilities=i._capabilities,this._loaderClass=createjs.WebAudioLoader,this._soundInstanceClass=createjs.WebAudioSoundInstance,this._addPropsToClasses()}var e=createjs.extend(t,createjs.AbstractPlugin),i=t;i._capabilities=null,i._panningModel="equalpower",i.context=null,i._scratchBuffer=null,i.isSupported=function(){var t=createjs.BrowserDetect.isIOS||createjs.BrowserDetect.isAndroid||createjs.BrowserDetect.isBlackberry;return!("file:"==location.protocol&&!t&&!this._isFileXHRSupported())&&(i._generateCapabilities(),null!=i.context)},i.playEmptySound=function(){if(null!=i.context){var t=i.context.createBufferSource();t.buffer=i._scratchBuffer,t.connect(i.context.destination),t.start(0,0,0)}},i._isFileXHRSupported=function(){var t=!0,e=new XMLHttpRequest;try{e.open("GET","WebAudioPluginTest.fail",!1)}catch(e){return t=!1}e.onerror=function(){t=!1},e.onload=function(){t=404==this.status||200==this.status||0==this.status&&""!=this.response};try{e.send()}catch(e){t=!1}return t},i._generateCapabilities=function(){if(null==i._capabilities){var t=document.createElement("audio");if(null==t.canPlayType)return null;if(null==i.context)if(window.AudioContext)i.context=new AudioContext;else{if(!window.webkitAudioContext)return null;i.context=new webkitAudioContext}null==i._scratchBuffer&&(i._scratchBuffer=i.context.createBuffer(1,1,22050)),i._compatibilitySetUp(),i.playEmptySound(),i._capabilities={panning:!0,volume:!0,tracks:-1};for(var e=createjs.Sound.SUPPORTED_EXTENSIONS,n=createjs.Sound.EXTENSION_MAP,r=0,o=e.length;o>r;r++){var s=e[r],a=n[s]||s;i._capabilities[s]="no"!=t.canPlayType("audio/"+s)&&""!=t.canPlayType("audio/"+s)||"no"!=t.canPlayType("audio/"+a)&&""!=t.canPlayType("audio/"+a)}i.context.destination.numberOfChannels<2&&(i._capabilities.panning=!1)}},i._compatibilitySetUp=function(){if(i._panningModel="equalpower",!i.context.createGain){i.context.createGain=i.context.createGainNode;var t=i.context.createBufferSource();t.__proto__.start=t.__proto__.noteGrainOn,t.__proto__.stop=t.__proto__.noteOff,i._panningModel=0}},e.toString=function(){return"[WebAudioPlugin]"},e._addPropsToClasses=function(){var t=this._soundInstanceClass;t.context=this.context,t._scratchBuffer=this._scratchBuffer,t.destinationNode=this.gainNode,t._panningModel=this._panningModel,this._loaderClass.context=this.context},e._updateVolume=function(){var t=createjs.Sound._masterMute?0:this._volume;t!=this.gainNode.gain.value&&(this.gainNode.gain.value=t)},createjs.WebAudioPlugin=createjs.promote(t,"AbstractPlugin")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"HTMLAudioTagPool cannot be instantiated"}function e(t){this._tags=[]}var i=t;i._tags={},i._tagPool=new e,i._tagUsed={},i.get=function(t){var e=i._tags[t];return null==e?(e=i._tags[t]=i._tagPool.get(),e.src=t):i._tagUsed[t]?(e=i._tagPool.get(),e.src=t):i._tagUsed[t]=!0,e},i.set=function(t,e){e==i._tags[t]?i._tagUsed[t]=!1:i._tagPool.set(e)},i.remove=function(t){var e=i._tags[t];return null!=e&&(i._tagPool.set(e),delete i._tags[t],delete i._tagUsed[t],!0)},i.getDuration=function(t){var e=i._tags[t];return null!=e&&e.duration?1e3*e.duration:0},createjs.HTMLAudioTagPool=t;var n=e.prototype;n.constructor=e,n.get=function(){var t;return t=0==this._tags.length?this._createTag():this._tags.pop(),null==t.parentNode&&document.body.appendChild(t),t},n.set=function(t){var e=createjs.indexOf(this._tags,t);-1==e&&(this._tags.src=null,this._tags.push(t))},n.toString=function(){return"[TagPool]"},n._createTag=function(){var t=document.createElement("audio");return t.autoplay=!1,t.preload="none",t}}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i,n){this.AbstractSoundInstance_constructor(t,e,i,n),this._audioSpriteStopTime=null,this._delayTimeoutId=null,this._endedHandler=createjs.proxy(this._handleSoundComplete,this),this._readyHandler=createjs.proxy(this._handleTagReady,this),this._stalledHandler=createjs.proxy(this._playFailed,this),this._audioSpriteEndHandler=createjs.proxy(this._handleAudioSpriteLoop,this),this._loopHandler=createjs.proxy(this._handleSoundComplete,this),i?this._audioSpriteStopTime=.001*(e+i):this._duration=createjs.HTMLAudioTagPool.getDuration(this.src)}var e=createjs.extend(t,createjs.AbstractSoundInstance);e.setMasterVolume=function(t){this._updateVolume()},e.setMasterMute=function(t){this._updateVolume()},e.toString=function(){return"[HTMLAudioSoundInstance]"},e._removeLooping=function(){null!=this._playbackResource&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._addLooping=function(){null==this._playbackResource||this._audioSpriteStopTime||(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)},e._handleCleanUp=function(){var t=this._playbackResource;if(null!=t){t.pause(),t.loop=!1,t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1);try{t.currentTime=this._startTime}catch(t){}createjs.HTMLAudioTagPool.set(this.src,t),this._playbackResource=null}},e._beginPlaying=function(t){return this._playbackResource=createjs.HTMLAudioTagPool.get(this.src),this.AbstractSoundInstance__beginPlaying(t)},e._handleSoundReady=function(t){if(4!==this._playbackResource.readyState){var e=this._playbackResource;return e.addEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),e.addEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),e.preload="auto",void e.load()}this._updateVolume(),this._playbackResource.currentTime=.001*(this._startTime+this._position),this._audioSpriteStopTime?this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1):(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),0!=this._loop&&(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)),this._playbackResource.play()},e._handleTagReady=function(t){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),this._handleSoundReady()},e._pause=function(){this._playbackResource.pause()},e._resume=function(){this._playbackResource.play()},e._updateVolume=function(){if(null!=this._playbackResource){var t=this._muted||createjs.Sound._masterMute?0:this._volume*createjs.Sound._masterVolume;t!=this._playbackResource.volume&&(this._playbackResource.volume=t)}},e._calculateCurrentPosition=function(){return 1e3*this._playbackResource.currentTime-this._startTime},e._updatePosition=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1);try{this._playbackResource.currentTime=.001*(this._position+this._startTime)}catch(t){this._handleSetPositionSeek(null)}},e._handleSetPositionSeek=function(t){null!=this._playbackResource&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._handleAudioSpriteLoop=function(t){this._playbackResource.currentTime<=this._audioSpriteStopTime||(this._playbackResource.pause(),0==this._loop?this._handleSoundComplete(null):(this._position=0,this._loop--,this._playbackResource.currentTime=.001*this._startTime,this._paused||this._playbackResource.play(),this._sendEvent("loop")))},e._handleLoop=function(t){0==this._loop&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._updateStartTime=function(){this._audioSpriteStopTime=.001*(this._startTime+this._duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},e._updateDuration=function(){this._audioSpriteStopTime=.001*(this._startTime+this._duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},e._setDurationFromSource=function(){this._duration=createjs.HTMLAudioTagPool.getDuration(this.src),this._playbackResource=null},createjs.HTMLAudioSoundInstance=createjs.promote(t,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this.AbstractPlugin_constructor(),this.defaultNumChannels=2,this._capabilities=i._capabilities,this._loaderClass=createjs.SoundLoader,this._soundInstanceClass=createjs.HTMLAudioSoundInstance}var e=createjs.extend(t,createjs.AbstractPlugin),i=t;i.MAX_INSTANCES=30,i._AUDIO_READY="canplaythrough",i._AUDIO_ENDED="ended",i._AUDIO_SEEKED="seeked",i._AUDIO_STALLED="stalled",i._TIME_UPDATE="timeupdate",i._capabilities=null,i.isSupported=function(){return i._generateCapabilities(),null!=i._capabilities},i._generateCapabilities=function(){if(null==i._capabilities){var t=document.createElement("audio");if(null==t.canPlayType)return null;i._capabilities={panning:!1,volume:!0,tracks:-1};for(var e=createjs.Sound.SUPPORTED_EXTENSIONS,n=createjs.Sound.EXTENSION_MAP,r=0,o=e.length;o>r;r++){var s=e[r],a=n[s]||s;i._capabilities[s]="no"!=t.canPlayType("audio/"+s)&&""!=t.canPlayType("audio/"+s)||"no"!=t.canPlayType("audio/"+a)&&""!=t.canPlayType("audio/"+a)}}},e.register=function(t){var e=createjs.HTMLAudioTagPool.get(t.src),i=this.AbstractPlugin_register(t);return i.setTag(e),i},e.removeSound=function(t){this.AbstractPlugin_removeSound(t),createjs.HTMLAudioTagPool.remove(t)},e.create=function(t,e,i){var n=this.AbstractPlugin_create(t,e,i);return n.setPlaybackResource(null),n},e.toString=function(){return"[HTMLAudioPlugin]"},e.setVolume=e.getVolume=e.setMute=null,createjs.HTMLAudioPlugin=createjs.promote(t,"AbstractPlugin")}()}).call(window)},function(t,e){(function(){/*!
	* @license TweenJS
	* Visit http://createjs.com/ for documentation, updates and examples.
	*
	* Copyright (c) 2011-2015 gskinner.com, inc.
	*
	* Distributed under the terms of the MIT license.
	* http://www.opensource.org/licenses/mit-license.html
	*
	* This notice shall be included in all copies or substantial portions of the Software.
	*/
this.createjs=this.createjs||{},createjs.extend=function(t,e){"use strict";function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i},this.createjs=this.createjs||{},createjs.promote=function(t,e){"use strict";var i=t.prototype,n=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(n){i[(e+="_")+"constructor"]=n.constructor;for(var r in n)i.hasOwnProperty(r)&&"function"==typeof n[r]&&(i[e+r]=n[r])}return t},this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.type=t,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!e,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var e=t.prototype;e.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},e.stopPropagation=function(){this.propagationStopped=!0},e.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.remove=function(){this.removed=!0},e.clone=function(){return new t(this.type,this.bubbles,this.cancelable)},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){this._listeners=null,this._captureListeners=null}var e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.on=e.on,t.removeEventListener=t.off=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent,t._dispatchEvent=e._dispatchEvent,t.willTrigger=e.willTrigger},e.addEventListener=function(t,e,i){var n;n=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var r=n[t];return r&&this.removeEventListener(t,e,i),r=n[t],r?r.push(e):n[t]=[e],e},e.on=function(t,e,i,n,r,o){return e.handleEvent&&(i=i||e,e=e.handleEvent),i=i||this,this.addEventListener(t,function(t){e.call(i,t,r),n&&t.remove()},o)},e.removeEventListener=function(t,e,i){var n=i?this._captureListeners:this._listeners;if(n){var r=n[t];if(r)for(var o=0,s=r.length;s>o;o++)if(r[o]==e){1==s?delete n[t]:r.splice(o,1);break}}},e.off=e.removeEventListener,e.removeAllEventListeners=function(t){t?(this._listeners&&delete this._listeners[t],this._captureListeners&&delete this._captureListeners[t]):this._listeners=this._captureListeners=null},e.dispatchEvent=function(t){if("string"==typeof t){var e=this._listeners;if(!e||!e[t])return!1;t=new createjs.Event(t)}else t.target&&t.clone&&(t=t.clone());try{t.target=this}catch(t){}if(t.bubbles&&this.parent){for(var i=this,n=[i];i.parent;)n.push(i=i.parent);var r,o=n.length;for(r=o-1;r>=0&&!t.propagationStopped;r--)n[r]._dispatchEvent(t,1+(0==r));for(r=1;o>r&&!t.propagationStopped;r++)n[r]._dispatchEvent(t,3)}else this._dispatchEvent(t,2);return t.defaultPrevented},e.hasEventListener=function(t){var e=this._listeners,i=this._captureListeners;return!!(e&&e[t]||i&&i[t])},e.willTrigger=function(t){for(var e=this;e;){if(e.hasEventListener(t))return!0;e=e.parent}return!1},e.toString=function(){return"[EventDispatcher]"},e._dispatchEvent=function(t,e){var i,n=1==e?this._captureListeners:this._listeners;if(t&&n){var r=n[t.type];if(!r||!(i=r.length))return;try{t.currentTarget=this}catch(t){}try{t.eventPhase=e}catch(t){}t.removed=!1,r=r.slice();for(var o=0;i>o&&!t.immediatePropagationStopped;o++){var s=r[o];s.handleEvent?s.handleEvent(t):s(t),t.removed&&(this.off(t.type,s,1==e),t.removed=!1)}}},createjs.EventDispatcher=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Ticker cannot be instantiated."}t.RAF_SYNCHED="synched",t.RAF="raf",t.TIMEOUT="timeout",t.useRAF=!1,t.timingMode=null,t.maxDelta=0,t.paused=!1,t.removeEventListener=null,t.removeAllEventListeners=null,t.dispatchEvent=null,t.hasEventListener=null,t._listeners=null,createjs.EventDispatcher.initialize(t),t._addEventListener=t.addEventListener,t.addEventListener=function(){return!t._inited&&t.init(),t._addEventListener.apply(t,arguments)},t._inited=!1,t._startTime=0,t._pausedTime=0,t._ticks=0,t._pausedTicks=0,t._interval=50,t._lastTime=0,t._times=null,t._tickTimes=null,t._timerId=null,t._raf=!0,t.setInterval=function(e){t._interval=e,t._inited&&t._setupTick()},t.getInterval=function(){return t._interval},t.setFPS=function(e){t.setInterval(1e3/e)},t.getFPS=function(){return 1e3/t._interval};try{Object.defineProperties(t,{interval:{get:t.getInterval,set:t.setInterval},framerate:{get:t.getFPS,set:t.setFPS}})}catch(t){console.log(t)}t.init=function(){t._inited||(t._inited=!0,t._times=[],t._tickTimes=[],t._startTime=t._getTime(),t._times.push(t._lastTime=0),t.interval=t._interval)},t.reset=function(){if(t._raf){var e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;e&&e(t._timerId)}else clearTimeout(t._timerId);t.removeAllEventListeners("tick"),t._timerId=t._times=t._tickTimes=null,t._startTime=t._lastTime=t._ticks=0,t._inited=!1},t.getMeasuredTickTime=function(e){var i=0,n=t._tickTimes;if(!n||n.length<1)return-1;e=Math.min(n.length,e||0|t.getFPS());for(var r=0;e>r;r++)i+=n[r];return i/e},t.getMeasuredFPS=function(e){var i=t._times;return!i||i.length<2?-1:(e=Math.min(i.length-1,e||0|t.getFPS()),1e3/((i[0]-i[e])/e))},t.setPaused=function(e){t.paused=e},t.getPaused=function(){return t.paused},t.getTime=function(e){return t._startTime?t._getTime()-(e?t._pausedTime:0):-1},t.getEventTime=function(e){return t._startTime?(t._lastTime||t._startTime)-(e?t._pausedTime:0):-1},t.getTicks=function(e){return t._ticks-(e?t._pausedTicks:0)},t._handleSynch=function(){t._timerId=null,t._setupTick(),t._getTime()-t._lastTime>=.97*(t._interval-1)&&t._tick()},t._handleRAF=function(){t._timerId=null,t._setupTick(),t._tick()},t._handleTimeout=function(){t._timerId=null,t._setupTick(),t._tick()},t._setupTick=function(){if(null==t._timerId){var e=t.timingMode||t.useRAF&&t.RAF_SYNCHED;if(e==t.RAF_SYNCHED||e==t.RAF){var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(i)return t._timerId=i(e==t.RAF?t._handleRAF:t._handleSynch),void(t._raf=!0)}t._raf=!1,t._timerId=setTimeout(t._handleTimeout,t._interval)}},t._tick=function(){var e=t.paused,i=t._getTime(),n=i-t._lastTime;if(t._lastTime=i,t._ticks++,e&&(t._pausedTicks++,t._pausedTime+=n),t.hasEventListener("tick")){var r=new createjs.Event("tick"),o=t.maxDelta;r.delta=o&&n>o?o:n,r.paused=e,r.time=i,r.runTime=i-t._pausedTime,t.dispatchEvent(r)}for(t._tickTimes.unshift(t._getTime()-i);t._tickTimes.length>100;)t._tickTimes.pop();for(t._times.unshift(i);t._times.length>100;)t._times.pop()};var e=window.performance&&(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow);t._getTime=function(){return(e&&e.call(performance)||(new Date).getTime())-t._startTime},createjs.Ticker=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(e,i,n){this.ignoreGlobalPause=!1,this.loop=!1,this.duration=0,this.pluginData=n||{},this.target=e,this.position=null,this.passive=!1,this._paused=!1,this._curQueueProps={},this._initQueueProps={},this._steps=[],this._actions=[],this._prevPosition=0,this._stepPosition=0,this._prevPos=-1,this._target=e,this._useTicks=!1,this._inited=!1,this._registered=!1,i&&(this._useTicks=i.useTicks,this.ignoreGlobalPause=i.ignoreGlobalPause,this.loop=i.loop,i.onChange&&this.addEventListener("change",i.onChange),i.override&&t.removeTweens(e)),i&&i.paused?this._paused=!0:createjs.Tween._register(this,!0),i&&null!=i.position&&this.setPosition(i.position,t.NONE)}var e=createjs.extend(t,createjs.EventDispatcher);t.NONE=0,t.LOOP=1,t.REVERSE=2,t.IGNORE={},t._tweens=[],t._plugins={},t.get=function(e,i,n,r){return r&&t.removeTweens(e),new t(e,i,n)},t.tick=function(e,i){for(var n=t._tweens.slice(),r=n.length-1;r>=0;r--){var o=n[r];i&&!o.ignoreGlobalPause||o._paused||o.tick(o._useTicks?1:e)}},t.handleEvent=function(t){"tick"==t.type&&this.tick(t.delta,t.paused)},t.removeTweens=function(e){if(e.tweenjs_count){for(var i=t._tweens,n=i.length-1;n>=0;n--){var r=i[n];r._target==e&&(r._paused=!0,i.splice(n,1))}e.tweenjs_count=0}},t.removeAllTweens=function(){for(var e=t._tweens,i=0,n=e.length;n>i;i++){var r=e[i];r._paused=!0,r.target&&(r.target.tweenjs_count=0)}e.length=0},t.hasActiveTweens=function(e){return e?null!=e.tweenjs_count&&!!e.tweenjs_count:t._tweens&&!!t._tweens.length},t.installPlugin=function(e,i){var n=e.priority;null==n&&(e.priority=n=0);for(var r=0,o=i.length,s=t._plugins;o>r;r++){var a=i[r];if(s[a]){for(var h=s[a],u=0,c=h.length;c>u&&!(n<h[u].priority);u++);s[a].splice(u,0,e)}else s[a]=[e]}},t._register=function(e,i){var n=e._target,r=t._tweens;if(i&&!e._registered)n&&(n.tweenjs_count=n.tweenjs_count?n.tweenjs_count+1:1),r.push(e),!t._inited&&createjs.Ticker&&(createjs.Ticker.addEventListener("tick",t),t._inited=!0);else if(!i&&e._registered){n&&n.tweenjs_count--;for(var o=r.length;o--;)if(r[o]==e){r.splice(o,1);break}}e._registered=i},e.wait=function(t,e){if(null==t||0>=t)return this;var i=this._cloneProps(this._curQueueProps);return this._addStep({d:t,p0:i,e:this._linearEase,p1:i,v:e})},e.to=function(t,e,i){return(isNaN(e)||0>e)&&(e=0),this._addStep({d:e||0,p0:this._cloneProps(this._curQueueProps),e:i,p1:this._cloneProps(this._appendQueueProps(t))})},e.call=function(t,e,i){return this._addAction({f:t,p:e?e:[this],o:i?i:this._target})},e.set=function(t,e){return this._addAction({f:this._set,o:this,p:[t,e?e:this._target]})},e.play=function(t){return t||(t=this),this.call(t.setPaused,[!1],t)},e.pause=function(t){return t||(t=this),this.call(t.setPaused,[!0],t)},e.setPosition=function(t,e){0>t&&(t=0),null==e&&(e=1);var i=t,n=!1;if(i>=this.duration&&(this.loop?i%=this.duration:(i=this.duration,n=!0)),i==this._prevPos)return n;var r=this._prevPos;if(this.position=this._prevPos=i,this._prevPosition=t,this._target)if(n)this._updateTargetProps(null,1);else if(this._steps.length>0){for(var o=0,s=this._steps.length;s>o&&!(this._steps[o].t>i);o++);var a=this._steps[o-1];this._updateTargetProps(a,(this._stepPosition=i-a.t)/a.d)}return 0!=e&&this._actions.length>0&&(this._useTicks?this._runActions(i,i):1==e&&r>i?(r!=this.duration&&this._runActions(r,this.duration),this._runActions(0,i,!0)):this._runActions(r,i)),n&&this.setPaused(!0),this.dispatchEvent("change"),n},e.tick=function(t){this._paused||this.setPosition(this._prevPosition+t)},e.setPaused=function(e){return this._paused===!!e?this:(this._paused=!!e,t._register(this,!e),this)},e.w=e.wait,e.t=e.to,e.c=e.call,e.s=e.set,e.toString=function(){return"[Tween]"},e.clone=function(){throw"Tween can not be cloned."},e._updateTargetProps=function(e,i){var n,r,o,s,a,h;if(e||1!=i){if(this.passive=!!e.v,this.passive)return;e.e&&(i=e.e(i,0,1,1)),n=e.p0,r=e.p1}else this.passive=!1,n=r=this._curQueueProps;for(var u in this._initQueueProps){null==(s=n[u])&&(n[u]=s=this._initQueueProps[u]),null==(a=r[u])&&(r[u]=a=s),o=s==a||0==i||1==i||"number"!=typeof s?1==i?a:s:s+(a-s)*i;var c=!1;if(h=t._plugins[u])for(var l=0,p=h.length;p>l;l++){var f=h[l].tween(this,u,o,n,r,i,!!e&&n==r,!e);f==t.IGNORE?c=!0:o=f}c||(this._target[u]=o)}},e._runActions=function(t,e,i){var n=t,r=e,o=-1,s=this._actions.length,a=1;for(t>e&&(n=e,r=t,o=s,s=a=-1);(o+=a)!=s;){var h=this._actions[o],u=h.t;(u==r||u>n&&r>u||i&&u==t)&&h.f.apply(h.o,h.p)}},e._appendQueueProps=function(e){var i,n,r,o,s;for(var a in e)if(void 0===this._initQueueProps[a]){if(n=this._target[a],i=t._plugins[a])for(r=0,o=i.length;o>r;r++)n=i[r].init(this,a,n);this._initQueueProps[a]=this._curQueueProps[a]=void 0===n?null:n}else n=this._curQueueProps[a];for(var a in e){if(n=this._curQueueProps[a],i=t._plugins[a])for(s=s||{},r=0,o=i.length;o>r;r++)i[r].step&&i[r].step(this,a,n,e[a],s);this._curQueueProps[a]=e[a]}return s&&this._appendQueueProps(s),this._curQueueProps},e._cloneProps=function(t){var e={};for(var i in t)e[i]=t[i];return e},e._addStep=function(t){return t.d>0&&(this._steps.push(t),t.t=this.duration,this.duration+=t.d),this},e._addAction=function(t){return t.t=this.duration,this._actions.push(t),this},e._set=function(t,e){for(var i in t)e[i]=t[i]},createjs.Tween=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(t,e,i){this.EventDispatcher_constructor(),this.ignoreGlobalPause=!1,this.duration=0,this.loop=!1,this.position=null,this._paused=!1,this._tweens=[],this._labels=null,this._labelList=null,this._prevPosition=0,this._prevPos=-1,this._useTicks=!1,this._registered=!1,i&&(this._useTicks=i.useTicks,this.loop=i.loop,this.ignoreGlobalPause=i.ignoreGlobalPause,i.onChange&&this.addEventListener("change",i.onChange)),t&&this.addTween.apply(this,t),this.setLabels(e),i&&i.paused?this._paused=!0:createjs.Tween._register(this,!0),i&&null!=i.position&&this.setPosition(i.position,createjs.Tween.NONE)}var e=createjs.extend(t,createjs.EventDispatcher);e.addTween=function(t){var e=arguments.length;if(e>1){for(var i=0;e>i;i++)this.addTween(arguments[i]);return arguments[0]}return 0==e?null:(this.removeTween(t),this._tweens.push(t),t.setPaused(!0),t._paused=!1,t._useTicks=this._useTicks,t.duration>this.duration&&(this.duration=t.duration),this._prevPos>=0&&t.setPosition(this._prevPos,createjs.Tween.NONE),t)},e.removeTween=function(t){var e=arguments.length;if(e>1){for(var i=!0,n=0;e>n;n++)i=i&&this.removeTween(arguments[n]);return i}if(0==e)return!1;for(var r=this._tweens,n=r.length;n--;)if(r[n]==t)return r.splice(n,1),t.duration>=this.duration&&this.updateDuration(),!0;return!1},e.addLabel=function(t,e){this._labels[t]=e;var i=this._labelList;if(i){for(var n=0,r=i.length;r>n&&!(e<i[n].position);n++);i.splice(n,0,{label:t,position:e})}},e.setLabels=function(t){this._labels=t?t:{}},e.getLabels=function(){var t=this._labelList;if(!t){t=this._labelList=[];var e=this._labels;for(var i in e)t.push({label:i,position:e[i]});t.sort(function(t,e){return t.position-e.position})}return t},e.getCurrentLabel=function(){var t=this.getLabels(),e=this.position,i=t.length;if(i){for(var n=0;i>n&&!(e<t[n].position);n++);return 0==n?null:t[n-1].label}return null},e.gotoAndPlay=function(t){this.setPaused(!1),this._goto(t)},e.gotoAndStop=function(t){this.setPaused(!0),this._goto(t)},e.setPosition=function(t,e){var i=this._calcPosition(t),n=!this.loop&&t>=this.duration;if(i==this._prevPos)return n;this._prevPosition=t,this.position=this._prevPos=i;for(var r=0,o=this._tweens.length;o>r;r++)if(this._tweens[r].setPosition(i,e),i!=this._prevPos)return!1;return n&&this.setPaused(!0),this.dispatchEvent("change"),n},e.setPaused=function(t){this._paused=!!t,createjs.Tween._register(this,!t)},e.updateDuration=function(){this.duration=0;for(var t=0,e=this._tweens.length;e>t;t++){var i=this._tweens[t];i.duration>this.duration&&(this.duration=i.duration)}},e.tick=function(t){this.setPosition(this._prevPosition+t)},e.resolve=function(t){var e=Number(t);return isNaN(e)&&(e=this._labels[t]),e},e.toString=function(){return"[Timeline]"},e.clone=function(){throw"Timeline can not be cloned."},e._goto=function(t){var e=this.resolve(t);null!=e&&this.setPosition(e)},e._calcPosition=function(t){return 0>t?0:t<this.duration?t:this.loop?t%this.duration:this.duration},createjs.Timeline=createjs.promote(t,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"Ease cannot be instantiated."}t.linear=function(t){return t},t.none=t.linear,t.get=function(t){return-1>t&&(t=-1),t>1&&(t=1),function(e){return 0==t?e:0>t?e*(e*-t+1+t):e*((2-e)*t+(1-t))}},t.getPowIn=function(t){return function(e){return Math.pow(e,t)}},t.getPowOut=function(t){return function(e){return 1-Math.pow(1-e,t)}},t.getPowInOut=function(t){return function(e){return(e*=2)<1?.5*Math.pow(e,t):1-.5*Math.abs(Math.pow(2-e,t))}},t.quadIn=t.getPowIn(2),t.quadOut=t.getPowOut(2),t.quadInOut=t.getPowInOut(2),t.cubicIn=t.getPowIn(3),t.cubicOut=t.getPowOut(3),t.cubicInOut=t.getPowInOut(3),t.quartIn=t.getPowIn(4),t.quartOut=t.getPowOut(4),t.quartInOut=t.getPowInOut(4),t.quintIn=t.getPowIn(5),t.quintOut=t.getPowOut(5),t.quintInOut=t.getPowInOut(5),t.sineIn=function(t){return 1-Math.cos(t*Math.PI/2)},t.sineOut=function(t){return Math.sin(t*Math.PI/2)},t.sineInOut=function(t){return-.5*(Math.cos(Math.PI*t)-1)},t.getBackIn=function(t){return function(e){return e*e*((t+1)*e-t)}},t.backIn=t.getBackIn(1.7),t.getBackOut=function(t){return function(e){return--e*e*((t+1)*e+t)+1}},t.backOut=t.getBackOut(1.7),t.getBackInOut=function(t){return t*=1.525,function(e){return(e*=2)<1?.5*e*e*((t+1)*e-t):.5*((e-=2)*e*((t+1)*e+t)+2)}},t.backInOut=t.getBackInOut(1.7),t.circIn=function(t){return-(Math.sqrt(1-t*t)-1)},t.circOut=function(t){return Math.sqrt(1- --t*t)},t.circInOut=function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},t.bounceIn=function(e){return 1-t.bounceOut(1-e)},t.bounceOut=function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},t.bounceInOut=function(e){return.5>e?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5},t.getElasticIn=function(t,e){var i=2*Math.PI;return function(n){if(0==n||1==n)return n;var r=e/i*Math.asin(1/t);return-(t*Math.pow(2,10*(n-=1))*Math.sin((n-r)*i/e))}},t.elasticIn=t.getElasticIn(1,.3),t.getElasticOut=function(t,e){var i=2*Math.PI;return function(n){if(0==n||1==n)return n;var r=e/i*Math.asin(1/t);return t*Math.pow(2,-10*n)*Math.sin((n-r)*i/e)+1}},t.elasticOut=t.getElasticOut(1,.3),t.getElasticInOut=function(t,e){var i=2*Math.PI;return function(n){var r=e/i*Math.asin(1/t);return(n*=2)<1?-.5*t*Math.pow(2,10*(n-=1))*Math.sin((n-r)*i/e):t*Math.pow(2,-10*(n-=1))*Math.sin((n-r)*i/e)*.5+1}},t.elasticInOut=t.getElasticInOut(1,.3*1.5),createjs.Ease=t}(),this.createjs=this.createjs||{},function(){"use strict";function t(){throw"MotionGuidePlugin cannot be instantiated."}t.priority=0,t._rotOffS,t._rotOffE,t._rotNormS,t._rotNormE,t.install=function(){return createjs.Tween.installPlugin(t,["guide","x","y","rotation"]),createjs.Tween.IGNORE},t.init=function(t,e,i){var n=t.target;return n.hasOwnProperty("x")||(n.x=0),n.hasOwnProperty("y")||(n.y=0),n.hasOwnProperty("rotation")||(n.rotation=0),"rotation"==e&&(t.__needsRot=!0),"guide"==e?null:i},t.step=function(e,i,n,r,o){if("rotation"==i&&(e.__rotGlobalS=n,e.__rotGlobalE=r,t.testRotData(e,o)),"guide"!=i)return r;var s,a=r;a.hasOwnProperty("path")||(a.path=[]);var h=a.path;if(a.hasOwnProperty("end")||(a.end=1),a.hasOwnProperty("start")||(a.start=n&&n.hasOwnProperty("end")&&n.path===h?n.end:0),a.hasOwnProperty("_segments")&&a._length)return r;var u=h.length,c=10;if(!(u>=6&&(u-2)%4==0))throw"invalid 'path' data, please see documentation for valid paths";a._segments=[],a._length=0;for(var l=2;u>l;l+=4){for(var p,f,d=h[l-2],g=h[l-1],v=h[l+0],m=h[l+1],_=h[l+2],y=h[l+3],b=d,w=g,A=0,x=[],S=1;c>=S;S++){var C=S/c,P=1-C;p=P*P*d+2*P*C*v+C*C*_,f=P*P*g+2*P*C*m+C*C*y,A+=x[x.push(Math.sqrt((s=p-b)*s+(s=f-w)*s))-1],b=p,w=f}a._segments.push(A),a._segments.push(x),a._length+=A}s=a.orient,a.orient=!0;var T={};return t.calc(a,a.start,T),e.__rotPathS=Number(T.rotation.toFixed(5)),t.calc(a,a.end,T),e.__rotPathE=Number(T.rotation.toFixed(5)),a.orient=!1,t.calc(a,a.end,o),a.orient=s,a.orient?(e.__guideData=a,t.testRotData(e,o),r):r},t.testRotData=function(t,e){if(void 0===t.__rotGlobalS||void 0===t.__rotGlobalE){if(t.__needsRot)return;t.__rotGlobalS=t.__rotGlobalE=void 0!==t._curQueueProps.rotation?t._curQueueProps.rotation:e.rotation=t.target.rotation||0}if(void 0!==t.__guideData){var i=t.__guideData,n=t.__rotGlobalE-t.__rotGlobalS,r=t.__rotPathE-t.__rotPathS,o=n-r;if("auto"==i.orient)o>180?o-=360:-180>o&&(o+=360);else if("cw"==i.orient){for(;0>o;)o+=360;0==o&&n>0&&180!=n&&(o+=360)}else if("ccw"==i.orient){for(o=n-(r>180?360-r:r);o>0;)o-=360;0==o&&0>n&&-180!=n&&(o-=360)}i.rotDelta=o,i.rotOffS=t.__rotGlobalS-t.__rotPathS,t.__rotGlobalS=t.__rotGlobalE=t.__guideData=t.__needsRot=void 0}},t.tween=function(e,i,n,r,o,s,a){var h=o.guide;if(void 0==h||h===r.guide)return n;if(h.lastRatio!=s){var u=(h.end-h.start)*(a?h.end:s)+h.start;switch(t.calc(h,u,e.target),h.orient){case"cw":case"ccw":case"auto":e.target.rotation+=h.rotOffS+h.rotDelta*s;break;case"fixed":default:e.target.rotation+=h.rotOffS}h.lastRatio=s}return"rotation"!=i||h.orient&&"false"!=h.orient?e.target[i]:n},t.calc=function(e,i,n){void 0==e._segments&&t.validate(e),void 0==n&&(n={x:0,y:0,rotation:0});for(var r=e._segments,o=e.path,s=e._length*i,a=r.length-2,h=0;s>r[h]&&a>h;)s-=r[h],h+=2;var u=r[h+1],c=0;for(a=u.length-1;s>u[c]&&a>c;)s-=u[c],c++;var l=c/++a+s/(a*u[c]);h=2*h+2;var p=1-l;return n.x=p*p*o[h-2]+2*p*l*o[h+0]+l*l*o[h+2],n.y=p*p*o[h-1]+2*p*l*o[h+1]+l*l*o[h+3],e.orient&&(n.rotation=57.2957795*Math.atan2((o[h+1]-o[h-1])*p+(o[h+3]-o[h+1])*l,(o[h+0]-o[h-2])*p+(o[h+2]-o[h+0])*l)),n},createjs.MotionGuidePlugin=t}(),this.createjs=this.createjs||{},function(){"use strict";var t=createjs.TweenJS=createjs.TweenJS||{};t.version="0.6.1",t.buildDate="Thu, 21 May 2015 16:17:37 GMT"}()}).call(window)},function(t,e){"use strict";function i(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");i===-1&&(i=e);var n=i===e?0:4-i%4;return[i,n]}function n(t){var e=i(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function r(t,e,i){return 3*(e+i)/4-i}function o(t){var e,n,o=i(t),s=o[0],a=o[1],h=new l(r(t,s,a)),u=0,p=a>0?s-4:s;for(n=0;n<p;n+=4)e=c[t.charCodeAt(n)]<<18|c[t.charCodeAt(n+1)]<<12|c[t.charCodeAt(n+2)]<<6|c[t.charCodeAt(n+3)],h[u++]=e>>16&255,h[u++]=e>>8&255,h[u++]=255&e;return 2===a&&(e=c[t.charCodeAt(n)]<<2|c[t.charCodeAt(n+1)]>>4,h[u++]=255&e),1===a&&(e=c[t.charCodeAt(n)]<<10|c[t.charCodeAt(n+1)]<<4|c[t.charCodeAt(n+2)]>>2,h[u++]=e>>8&255,h[u++]=255&e),h}function s(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}function a(t,e,i){for(var n,r=[],o=e;o<i;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),r.push(s(n));return r.join("")}function h(t){for(var e,i=t.length,n=i%3,r=[],o=16383,s=0,h=i-n;s<h;s+=o)r.push(a(t,s,s+o>h?h:s+o));return 1===n?(e=t[i-1],r.push(u[e>>2]+u[e<<4&63]+"==")):2===n&&(e=(t[i-2]<<8)+t[i-1],r.push(u[e>>10]+u[e>>4&63]+u[e<<2&63]+"=")),r.join("")}e.byteLength=n,e.toByteArray=o,e.fromByteArray=h;for(var u=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,d=p.length;f<d;++f)u[f]=p[f],c[p.charCodeAt(f)]=f;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,e){"use strict";t.exports=function(t){function e(t){var e=new i(t),n=e.promise();return e.setHowMany(1),e.setUnwrap(),e.init(),n}var i=t._SomePromiseArray;t.any=function(t){return e(t)},t.prototype.any=function(){return e(this)}}},function(t,e,i){(function(e){"use strict";function n(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new u(16),this._normalQueue=new u(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var t=this;this.drainQueues=function(){t._drainQueues()},this._schedule=h}function r(t,e,i){this._lateQueue.push(t,e,i),this._queueTick()}function o(t,e,i){this._normalQueue.push(t,e,i),this._queueTick()}function s(t){this._normalQueue._pushOne(t),this._queueTick()}var a;try{throw new Error}catch(t){a=t}var h=i(150),u=i(147),c=i(1);n.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e},n.prototype.hasCustomScheduler=function(){return this._customScheduler},n.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},n.prototype.disableTrampolineIfNecessary=function(){c.hasDevTools&&(this._trampolineEnabled=!1)},n.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},n.prototype.fatalError=function(t,i){i?(e.stderr.write("Fatal "+(t instanceof Error?t.stack:t)+"\n"),e.exit(2)):this.throwLater(t)},n.prototype.throwLater=function(t,e){if(1===arguments.length&&(e=t,t=function(){throw e}),"undefined"!=typeof setTimeout)setTimeout(function(){t(e)},0);else try{this._schedule(function(){t(e)})}catch(t){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")}},c.hasDevTools?(n.prototype.invokeLater=function(t,e,i){this._trampolineEnabled?r.call(this,t,e,i):this._schedule(function(){setTimeout(function(){t.call(e,i)},100)})},n.prototype.invoke=function(t,e,i){this._trampolineEnabled?o.call(this,t,e,i):this._schedule(function(){t.call(e,i)})},n.prototype.settlePromises=function(t){this._trampolineEnabled?s.call(this,t):this._schedule(function(){t._settlePromises()})}):(n.prototype.invokeLater=r,n.prototype.invoke=o,n.prototype.settlePromises=s),n.prototype._drainQueue=function(t){for(;t.length()>0;){var e=t.shift();if("function"==typeof e){var i=t.shift(),n=t.shift();e.call(i,n)}else e._settlePromises()}},n.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},n.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},n.prototype._reset=function(){this._isTickUsed=!1},t.exports=n,t.exports.firstLineError=a}).call(e,i(7))},function(t,e){"use strict";t.exports=function(t,e,i,n){var r=!1,o=function(t,e){this._reject(e)},s=function(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(o,o,null,this,t)},a=function(t,e){0===(50397184&this._bitField)&&this._resolveCallback(e.target)},h=function(t,e){e.promiseRejectionQueued||this._reject(t)};t.prototype.bind=function(o){r||(r=!0,t.prototype._propagateFrom=n.propagateFromFunction(),t.prototype._boundValue=n.boundValueFunction());var u=i(o),c=new t(e);c._propagateFrom(this,1);var l=this._target();if(c._setBoundTo(u),u instanceof t){var p={promiseRejectionQueued:!1,promise:c,target:l,bindingPromise:u};l._then(e,s,void 0,c,p),u._then(a,h,void 0,c,p),c._setOnCancel(u)}else c._resolveCallback(l);return c},t.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=this._bitField&-2097153},t.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},t.bind=function(e,i){return t.resolve(i).bind(e)}}},function(t,e,i){"use strict";var n=Object.create;if(n){var r=n(null),o=n(null);r[" size"]=o[" size"]=0}t.exports=function(t){function e(e,i){var n;if(null!=e&&(n=e[i]),"function"!=typeof n){var r="Object "+c.classString(e)+" has no method '"+c.toString(i)+"'";throw new t.TypeError(r)}return n}function n(t){var i=this.pop(),n=e(t,i);return n.apply(t,this)}function s(t){return t[this]}function a(t){var e=+this;return e<0&&(e=Math.max(0,e+t.length)),t[e]}var h,u,c=i(1),l=c.canEvaluate,p=c.isIdentifier,f=function(t){return new Function("ensureMethod","                                    \n\t        return function(obj) {                                               \n\t            'use strict'                                                     \n\t            var len = this.length;                                           \n\t            ensureMethod(obj, 'methodName');                                 \n\t            switch(len) {                                                    \n\t                case 1: return obj.methodName(this[0]);                      \n\t                case 2: return obj.methodName(this[0], this[1]);             \n\t                case 3: return obj.methodName(this[0], this[1], this[2]);    \n\t                case 0: return obj.methodName();                             \n\t                default:                                                     \n\t                    return obj.methodName.apply(obj, this);                  \n\t            }                                                                \n\t        };                                                                   \n\t        ".replace(/methodName/g,t))(e)},d=function(t){return new Function("obj","                                             \n\t        'use strict';                                                        \n\t        return obj.propertyName;                                             \n\t        ".replace("propertyName",t))},g=function(t,e,i){var n=i[t];if("function"!=typeof n){if(!p(t))return null;if(n=e(t),i[t]=n,i[" size"]++,i[" size"]>512){for(var r=Object.keys(i),o=0;o<256;++o)delete i[r[o]];i[" size"]=r.length-256}}return n};h=function(t){return g(t,f,r)},u=function(t){return g(t,d,o)},t.prototype.call=function(t){for(var e=arguments.length,i=new Array(Math.max(e-1,0)),r=1;r<e;++r)i[r-1]=arguments[r];if(l){var o=h(t);if(null!==o)return this._then(o,void 0,void 0,i,void 0)}return i.push(t),this._then(n,void 0,void 0,i,void 0)},t.prototype.get=function(t){var e,i="number"==typeof t;if(i)e=a;else if(l){var n=u(t);e=null!==n?n:s}else e=s;return this._then(e,void 0,void 0,t,void 0)}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r){var o=i(1),s=o.tryCatch,a=o.errorObj,h=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var i=t._cancellationParent;if(null==i||!i._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=i}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),h.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(t,e){if(o.isArray(t))for(var i=0;i<t.length;++i)this._doInvokeOnCancel(t[i],e);else if(void 0!==t)if("function"==typeof t){if(!e){var n=s(t).call(this._boundValue());n===a&&(this._attachExtraTrace(n.e),h.throwLater(n.e))}}else t._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var t=this._onCancel();this._unsetOnCancel(),h.invoke(this._doInvokeOnCancel,this,t)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},function(t,e){"use strict";t.exports=function(t){function e(){this._trace=new e.CapturedTrace(n())}function i(){if(r)return new e}function n(){var t=o.length-1;if(t>=0)return o[t]}var r=!1,o=[];return t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){},e.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},e.prototype._popContext=function(){if(void 0!==this._trace){var t=o.pop(),e=t._promiseCreated;return t._promiseCreated=null,e}return null},e.CapturedTrace=null,e.create=i,e.deactivateLongStackTraces=function(){},e.activateLongStackTraces=function(){var i=t.prototype._pushContext,o=t.prototype._popContext,s=t._peekContext,a=t.prototype._peekContext,h=t.prototype._promiseCreated;
e.deactivateLongStackTraces=function(){t.prototype._pushContext=i,t.prototype._popContext=o,t._peekContext=s,t.prototype._peekContext=a,t.prototype._promiseCreated=h,r=!1},r=!0,t.prototype._pushContext=e.prototype._pushContext,t.prototype._popContext=e.prototype._popContext,t._peekContext=t.prototype._peekContext=n,t.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},e}},function(t,e,i){(function(e){"use strict";t.exports=function(t,n){function r(t,e){return{promise:e}}function o(){return!1}function s(t,e,i){var n=this;try{t(e,i,function(t){if("function"!=typeof t)throw new TypeError("onCancel must be a function, got: "+N.toString(t));n._attachCancellationCallback(t)})}catch(t){return t}}function a(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?N.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function h(){return this._onCancelField}function u(t){this._onCancelField=t}function c(){this._cancellationParent=void 0,this._onCancelField=void 0}function l(t,e){if(0!==(1&e)){this._cancellationParent=t;var i=t._branchesRemainingToCancel;void 0===i&&(i=0),t._branchesRemainingToCancel=i+1}0!==(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function p(t,e){0!==(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function f(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function d(){this._trace=new L(this._peekContext())}function g(t,e){if(B(t)){var i=this._trace;if(void 0!==i&&e&&(i=i._parent),void 0!==i)i.attachExtraTrace(t);else if(!t.__stackCleaned__){var n=S(t);N.notEnumerableProp(t,"stack",n.message+"\n"+n.stack.join("\n")),N.notEnumerableProp(t,"__stackCleaned__",!0)}}}function v(t,e,i,n,r){if(void 0===t&&null!==e&&Z){if(void 0!==r&&r._returnedNonUndefined())return;if(0===(65535&n._bitField))return;i&&(i+=" ");var o="",s="";if(e._trace){for(var a=e._trace.stack.split("\n"),h=A(a),u=h.length-1;u>=0;--u){var c=h[u];if(!U.test(c)){var l=c.match(z);l&&(o="at "+l[1]+":"+l[2]+":"+l[3]+" ");break}}if(h.length>0)for(var p=h[0],u=0;u<a.length;++u)if(a[u]===p){u>0&&(s="\n"+a[u-1]);break}}var f="a promise was created in a "+i+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s;n._warn(f,!0,e)}}function m(t,e){var i=t+" is deprecated and will be removed in a future version.";return e&&(i+=" Use "+e+" instead."),_(i)}function _(e,i,n){if(st.warnings){var r,o=new F(e);if(i)n._attachExtraTrace(o);else if(st.longStackTraces&&(r=t._peekContext()))r.attachExtraTrace(o);else{var s=S(o);o.stack=s.message+"\n"+s.stack.join("\n")}et("warning",o)||C(o,"",!0)}}function y(t,e){for(var i=0;i<e.length-1;++i)e[i].push("From previous event:"),e[i]=e[i].join("\n");return i<e.length&&(e[i]=e[i].join("\n")),t+"\n"+e.join("\n")}function b(t){for(var e=0;e<t.length;++e)(0===t[e].length||e+1<t.length&&t[e][0]===t[e+1][0])&&(t.splice(e,1),e--)}function w(t){for(var e=t[0],i=1;i<t.length;++i){for(var n=t[i],r=e.length-1,o=e[r],s=-1,a=n.length-1;a>=0;--a)if(n[a]===o){s=a;break}for(var a=s;a>=0;--a){var h=n[a];if(e[r]!==h)break;e.pop(),r--}e=n}}function A(t){for(var e=[],i=0;i<t.length;++i){var n=t[i],r="    (No stack trace)"===n||W.test(n),o=r&&nt(n);r&&!o&&(V&&" "!==n.charAt(0)&&(n="    "+n),e.push(n))}return e}function x(t){for(var e=t.stack.replace(/\s+$/g,"").split("\n"),i=0;i<e.length;++i){var n=e[i];if("    (No stack trace)"===n||W.test(n))break}return i>0&&"SyntaxError"!=t.name&&(e=e.slice(i)),e}function S(t){var e=t.stack,i=t.toString();return e="string"==typeof e&&e.length>0?x(t):["    (No stack trace)"],{message:i,stack:"SyntaxError"==t.name?e:A(e)}}function C(t,e,i){if("undefined"!=typeof console){var n;if(N.isObject(t)){var r=t.stack;n=e+Y(r,t)}else n=e+String(t);"function"==typeof R?R(n,i):"function"==typeof console.log||"object"==typeof console.log}}function P(t,e,i,n){var r=!1;try{"function"==typeof e&&(r=!0,"rejectionHandled"===t?e(n):e(i,n))}catch(t){M.throwLater(t)}"unhandledRejection"===t?et(t,i,n)||r||C(i,"Unhandled rejection "):et(t,n)}function T(t){var e;if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{e=t&&"function"==typeof t.toString?t.toString():N.toString(t);var i=/\[object [a-zA-Z0-9$_]+\]/;if(i.test(e))try{var n=JSON.stringify(t);e=n}catch(t){}0===e.length&&(e="(empty array)")}return"(<"+k(e)+">, no stack trace)"}function k(t){var e=41;return t.length<e?t:t.substr(0,e-3)+"..."}function E(){return"function"==typeof ot}function D(t){var e=t.match(rt);if(e)return{fileName:e[1],line:parseInt(e[2],10)}}function I(t,e){if(E()){for(var i,n,r=t.stack.split("\n"),o=e.stack.split("\n"),s=-1,a=-1,h=0;h<r.length;++h){var u=D(r[h]);if(u){i=u.fileName,s=u.line;break}}for(var h=0;h<o.length;++h){var u=D(o[h]);if(u){n=u.fileName,a=u.line;break}}s<0||a<0||!i||!n||i!==n||s>=a||(nt=function(t){if(H.test(t))return!0;var e=D(t);return!!(e&&e.fileName===i&&s<=e.line&&e.line<=a)})}}function L(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);ot(this,L),e>32&&this.uncycle()}var $,O,R,j=t._getDomain,M=t._async,F=i(9).Warning,N=i(1),B=N.canAttachTrace,H=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,U=/\((?:timers\.js):\d+:\d+\)/,z=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,W=null,Y=null,V=!1,X=!(0==N.env("BLUEBIRD_DEBUG")||!N.env("BLUEBIRD_DEBUG")&&"development"!==N.env("NODE_ENV")),q=!(0==N.env("BLUEBIRD_WARNINGS")||!X&&!N.env("BLUEBIRD_WARNINGS")),G=!(0==N.env("BLUEBIRD_LONG_STACK_TRACES")||!X&&!N.env("BLUEBIRD_LONG_STACK_TRACES")),Z=0!=N.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(q||!!N.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=t._bitField&-1048577|524288},t.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),M.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){P("rejectionHandled",$,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var t=this._settledValue();this._setUnhandledRejectionIsNotified(),P("unhandledRejection",O,t,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(t,e,i){return _(t,e,i||this)},t.onPossiblyUnhandledRejection=function(t){var e=j();O="function"==typeof t?null===e?t:N.domainBind(e,t):void 0},t.onUnhandledRejectionHandled=function(t){var e=j();$="function"==typeof t?null===e?t:N.domainBind(e,t):void 0};var Q=function(){};t.longStackTraces=function(){if(M.haveItemsQueued()&&!st.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");if(!st.longStackTraces&&E()){var e=t.prototype._captureStackTrace,i=t.prototype._attachExtraTrace;st.longStackTraces=!0,Q=function(){if(M.haveItemsQueued()&&!st.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=i,n.deactivateLongStackTraces(),M.enableTrampoline(),st.longStackTraces=!1},t.prototype._captureStackTrace=d,t.prototype._attachExtraTrace=g,n.activateLongStackTraces(),M.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return st.longStackTraces&&E()};var J=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return N.global.dispatchEvent(t),function(t,e){var i=new CustomEvent(t.toLowerCase(),{detail:e,cancelable:!0});return!N.global.dispatchEvent(i)}}if("function"==typeof Event){var t=new Event("CustomEvent");return N.global.dispatchEvent(t),function(t,e){var i=new Event(t.toLowerCase(),{cancelable:!0});return i.detail=e,!N.global.dispatchEvent(i)}}var t=document.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),N.global.dispatchEvent(t),function(t,e){var i=document.createEvent("CustomEvent");return i.initCustomEvent(t.toLowerCase(),!1,!0,e),!N.global.dispatchEvent(i)}}catch(t){}return function(){return!1}}(),K=function(){return N.isNode?function(){return e.emit.apply(e,arguments)}:N.global?function(t){var e="on"+t.toLowerCase(),i=N.global[e];return!!i&&(i.apply(N.global,[].slice.call(arguments,1)),!0)}:function(){return!1}}(),tt={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(t,e,i){return{promise:e,child:i}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,i){return{reason:e,promise:i}},rejectionHandled:r},et=function(t){var e=!1;try{e=K.apply(null,arguments)}catch(t){M.throwLater(t),e=!0}var i=!1;try{i=J(t,tt[t].apply(null,arguments))}catch(t){M.throwLater(t),i=!0}return i||e};t.config=function(e){if(e=Object(e),"longStackTraces"in e&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&Q()),"warnings"in e){var i=e.warnings;st.warnings=!!i,Z=st.warnings,N.isObject(i)&&"wForgottenReturn"in i&&(Z=!!i.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!st.cancellation){if(M.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=c,t.prototype._propagateFrom=l,t.prototype._onCancel=h,t.prototype._setOnCancel=u,t.prototype._attachCancellationCallback=a,t.prototype._execute=s,it=l,st.cancellation=!0}return"monitoring"in e&&(e.monitoring&&!st.monitoring?(st.monitoring=!0,t.prototype._fireEvent=et):!e.monitoring&&st.monitoring&&(st.monitoring=!1,t.prototype._fireEvent=o)),t},t.prototype._fireEvent=o,t.prototype._execute=function(t,e,i){try{t(e,i)}catch(t){return t}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(t){},t.prototype._attachCancellationCallback=function(t){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(t,e){};var it=p,nt=function(){return!1},rt=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;N.inherits(L,Error),n.CapturedTrace=L,L.prototype.uncycle=function(){var t=this._length;if(!(t<2)){for(var e=[],i={},n=0,r=this;void 0!==r;++n)e.push(r),r=r._parent;t=this._length=n;for(var n=t-1;n>=0;--n){var o=e[n].stack;void 0===i[o]&&(i[o]=n)}for(var n=0;n<t;++n){var s=e[n].stack,a=i[s];if(void 0!==a&&a!==n){a>0&&(e[a-1]._parent=void 0,e[a-1]._length=1),e[n]._parent=void 0,e[n]._length=1;var h=n>0?e[n-1]:this;a<t-1?(h._parent=e[a+1],h._parent.uncycle(),h._length=h._parent._length+1):(h._parent=void 0,h._length=1);for(var u=h._length+1,c=n-2;c>=0;--c)e[c]._length=u,u++;return}}}},L.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=S(t),i=e.message,n=[e.stack],r=this;void 0!==r;)n.push(A(r.stack.split("\n"))),r=r._parent;w(n),b(n),N.notEnumerableProp(t,"stack",y(i,n)),N.notEnumerableProp(t,"__stackCleaned__",!0)}};var ot=function(){var t=/^\s*at\s*/,e=function(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():T(e)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,W=t,Y=e;var i=Error.captureStackTrace;return nt=function(t){return H.test(t)},function(t,e){Error.stackTraceLimit+=6,i(t,e),Error.stackTraceLimit-=6}}var n=new Error;if("string"==typeof n.stack&&n.stack.split("\n")[0].indexOf("stackDetection@")>=0)return W=/@/,Y=e,V=!0,function(t){t.stack=(new Error).stack};var r;try{throw new Error}catch(t){r="stack"in t}return"stack"in n||!r||"number"!=typeof Error.stackTraceLimit?(Y=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?T(e):e.toString()},null):(W=t,Y=e,function(t){Error.stackTraceLimit+=6;try{throw new Error}catch(e){t.stack=e.stack}Error.stackTraceLimit-=6})}([]);"undefined"!=typeof console&&"undefined"!=typeof console.warn&&(R=function(t){console.warn(t)},N.isNode&&e.stderr.isTTY?R=function(t,e){var i=e?"[33m":"[31m";console.warn(i+t+"[0m\n")}:N.isNode||"string"!=typeof(new Error).stack||(R=function(t,e){console.warn("%c"+t,e?"color: darkorange":"color: red")}));var st={warnings:q,longStackTraces:!1,cancellation:!1,monitoring:!1};return G&&t.longStackTraces(),{longStackTraces:function(){return st.longStackTraces},warnings:function(){return st.warnings},cancellation:function(){return st.cancellation},monitoring:function(){return st.monitoring},propagateFromFunction:function(){return it},boundValueFunction:function(){return f},checkForgottenReturns:v,setBounds:I,warn:_,deprecated:m,CapturedTrace:L,fireDomEvent:J,fireGlobalEvent:K}}}).call(e,i(7))},function(t,e){"use strict";t.exports=function(t){function e(){return this.value}function i(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(i){return i instanceof t&&i.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:i},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this._then(i,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,i,void 0,{reason:t},void 0);var e=arguments[1],n=function(){throw e};return this.caught(t,n)},t.prototype.catchReturn=function(i){if(arguments.length<=1)return i instanceof t&&i.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:i},void 0);var n=arguments[1];n instanceof t&&n.suppressUnhandledRejections();var r=function(){return n};return this.caught(i,r)}}},function(t,e){"use strict";t.exports=function(t,e){function i(){return o(this)}function n(t,i){return r(t,i,e,e)}var r=t.reduce,o=t.all;t.prototype.each=function(t){return r(this,t,e,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,e,e)},t.each=function(t,n){return r(t,n,e,0)._then(i,void 0,void 0,t,void 0)},t.mapSeries=n}},function(t,e){"use strict";t.exports=function(t,e){var i=t.map;t.prototype.filter=function(t,n){return i(this,t,n,e)},t.filter=function(t,n,r){return i(t,n,r,e)}}},function(t,e,i){"use strict";t.exports=function(t,e,n){function r(t,e,i){this.promise=t,this.type=e,this.handler=i,this.called=!1,this.cancelPromise=null}function o(t){this.finallyHandler=t}function s(t,e){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,!0)}function a(){return u.call(this,this.promise._target()._settledValue())}function h(t){if(!s(this,t))return p.e=t,p}function u(i){var r=this.promise,u=this.handler;if(!this.called){this.called=!0;var c=this.isFinallyHandler()?u.call(r._boundValue()):u.call(r._boundValue(),i);if(c===n)return c;if(void 0!==c){r._setReturnedNonUndefined();var f=e(c,r);if(f instanceof t){if(null!=this.cancelPromise){if(f._isCancelled()){var d=new l("late cancellation observer");return r._attachExtraTrace(d),p.e=d,p}f.isPending()&&f._attachCancellationCallback(new o(this))}return f._then(a,h,void 0,this,void 0)}}}return r.isRejected()?(s(this),p.e=i,p):(s(this),i)}var c=i(1),l=t.CancellationError,p=c.errorObj,f=i(66)(n);return r.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){s(this.finallyHandler)},t.prototype._passThrough=function(t,e,i,n){return"function"!=typeof t?this.then():this._then(i,n,void 0,new r(this,e,t),void 0)},t.prototype.lastly=t.prototype.finally=function(t){return this._passThrough(t,0,u,u)},t.prototype.tap=function(t){return this._passThrough(t,1,u)},t.prototype.tapCatch=function(e){var i=arguments.length;if(1===i)return this._passThrough(e,1,void 0,u);var n,r=new Array(i-1),o=0;for(n=0;n<i-1;++n){var s=arguments[n];if(!c.isObject(s))return t.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+c.classString(s)));r[o++]=s}r.length=o;var a=arguments[n];return this._passThrough(f(r,a,this),1,void 0,u)},r}},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o,s){function a(e,i,n){for(var o=0;o<i.length;++o){n._pushContext();var s=f(i[o])(e);if(n._popContext(),s===p){n._pushContext();var a=t.reject(p.e);return n._popContext(),a}var h=r(s,n);if(h instanceof t)return h}return null}function h(e,i,r,o){if(s.cancellation()){var a=new t(n),h=this._finallyPromise=new t(n);this._promise=a.lastly(function(){return h}),a._captureStackTrace(),a._setOnCancel(this)}else{var u=this._promise=new t(n);u._captureStackTrace()}this._stack=o,this._generatorFunction=e,this._receiver=i,this._generator=void 0,this._yieldHandlers="function"==typeof r?[r].concat(d):d,this._yieldedPromise=null,this._cancellationPhase=!1}var u=i(9),c=u.TypeError,l=i(1),p=l.errorObj,f=l.tryCatch,d=[];l.inherits(h,o),h.prototype._isResolved=function(){return null===this._promise},h.prototype._cleanup=function(){this._promise=this._generator=null,s.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},h.prototype._promiseCancelled=function(){if(!this._isResolved()){var e,i="undefined"!=typeof this._generator.return;if(i)this._promise._pushContext(),e=f(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var n=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=n,this._promise._attachExtraTrace(n),this._promise._pushContext(),e=f(this._generator.throw).call(this._generator,n),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},h.prototype._promiseFulfilled=function(t){this._yieldedPromise=null,this._promise._pushContext();var e=f(this._generator.next).call(this._generator,t);this._promise._popContext(),this._continue(e)},h.prototype._promiseRejected=function(t){this._yieldedPromise=null,this._promise._attachExtraTrace(t),this._promise._pushContext();var e=f(this._generator.throw).call(this._generator,t);this._promise._popContext(),this._continue(e)},h.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},h.prototype.promise=function(){return this._promise},h.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},h.prototype._continue=function(e){var i=this._promise;if(e===p)return this._cleanup(),this._cancellationPhase?i.cancel():i._rejectCallback(e.e,!1);var n=e.value;if(e.done===!0)return this._cleanup(),this._cancellationPhase?i.cancel():i._resolveCallback(n);var o=r(n,this._promise);if(!(o instanceof t)&&(o=a(o,this._yieldHandlers,this._promise),null===o))return void this._promiseRejected(new c("A value %s was yielded that could not be treated as a promise\n\n    See http://goo.gl/MqrFmX\n\n".replace("%s",String(n))+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));o=o._target();var s=o._bitField;0===(50397184&s)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&s)?t._async.invoke(this._promiseFulfilled,this,o._value()):0!==(16777216&s)?t._async.invoke(this._promiseRejected,this,o._reason()):this._promiseCancelled()},t.coroutine=function(t,e){if("function"!=typeof t)throw new c("generatorFunction must be a function\n\n    See http://goo.gl/MqrFmX\n");var i=Object(e).yieldHandler,n=h,r=(new Error).stack;return function(){var e=t.apply(this,arguments),o=new n(void 0,void 0,i,r),s=o.promise();return o._generator=e,o._promiseFulfilled(void 0),s}},t.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new c("expecting a function but got "+l.classString(t));d.push(t)},t.spawn=function(i){if(s.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof i)return e("generatorFunction must be a function\n\n    See http://goo.gl/MqrFmX\n");var n=new h(i,this),r=n.promise();return n._run(t.spawn),r}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o,s){var a,h=i(1),u=h.canEvaluate,c=h.tryCatch,l=h.errorObj;if(u){for(var p=function(t){return new Function("value","holder","                             \n\t            'use strict';                                                    \n\t            holder.pIndex = value;                                           \n\t            holder.checkFulfillment(this);                                   \n\t            ".replace(/Index/g,t))},f=function(t){return new Function("promise","holder","                           \n\t            'use strict';                                                    \n\t            holder.pIndex = promise;                                         \n\t            ".replace(/Index/g,t))},d=function(e){for(var i=new Array(e),n=0;n<i.length;++n)i[n]="this.p"+(n+1);var r=i.join(" = ")+" = null;",s="var promise;\n"+i.map(function(t){return"                                                         \n\t                promise = "+t+";                                      \n\t                if (promise instanceof Promise) {                            \n\t                    promise.cancel();                                        \n\t                }                                                            \n\t            "}).join("\n"),a=i.join(", "),h="Holder$"+e,u="return function(tryCatch, errorObj, Promise, async) {    \n\t            'use strict';                                                    \n\t            function [TheName](fn) {                                         \n\t                [TheProperties]                                              \n\t                this.fn = fn;                                                \n\t                this.asyncNeeded = true;                                     \n\t                this.now = 0;                                                \n\t            }                                                                \n\t                                                                             \n\t            [TheName].prototype._callFunction = function(promise) {          \n\t                promise._pushContext();                                      \n\t                var ret = tryCatch(this.fn)([ThePassedArguments]);           \n\t                promise._popContext();                                       \n\t                if (ret === errorObj) {                                      \n\t                    promise._rejectCallback(ret.e, false);                   \n\t                } else {                                                     \n\t                    promise._resolveCallback(ret);                           \n\t                }                                                            \n\t            };                                                               \n\t                                                                             \n\t            [TheName].prototype.checkFulfillment = function(promise) {       \n\t                var now = ++this.now;                                        \n\t                if (now === [TheTotal]) {                                    \n\t                    if (this.asyncNeeded) {                                  \n\t                        async.invoke(this._callFunction, this, promise);     \n\t                    } else {                                                 \n\t                        this._callFunction(promise);                         \n\t                    }                                                        \n\t                                                                             \n\t                }                                                            \n\t            };                                                               \n\t                                                                             \n\t            [TheName].prototype._resultCancelled = function() {              \n\t                [CancellationCode]                                           \n\t            };                                                               \n\t                                                                             \n\t            return [TheName];                                                \n\t        }(tryCatch, errorObj, Promise, async);                               \n\t        ";return u=u.replace(/\[TheName\]/g,h).replace(/\[TheTotal\]/g,e).replace(/\[ThePassedArguments\]/g,a).replace(/\[TheProperties\]/g,r).replace(/\[CancellationCode\]/g,s),new Function("tryCatch","errorObj","Promise","async",u)(c,l,t,o)},g=[],v=[],m=[],_=0;_<8;++_)g.push(d(_+1)),v.push(p(_+1)),m.push(f(_+1));a=function(t){this._reject(t)}}t.join=function(){var i,o=arguments.length-1;if(o>0&&"function"==typeof arguments[o]&&(i=arguments[o],o<=8&&u)){var c=new t(r);c._captureStackTrace();for(var l=g[o-1],p=new l(i),f=v,d=0;d<o;++d){var _=n(arguments[d],c);if(_ instanceof t){_=_._target();var y=_._bitField;0===(50397184&y)?(_._then(f[d],a,void 0,c,p),m[d](_,p),p.asyncNeeded=!1):0!==(33554432&y)?f[d].call(c,_._value(),p):0!==(16777216&y)?c._reject(_._reason()):c._cancel()}else f[d].call(c,_,p)}if(!c._isFateSealed()){if(p.asyncNeeded){var b=s();null!==b&&(p.fn=h.domainBind(b,p.fn))}c._setAsyncGuaranteed(),c._setOnCancel(p)}return c}for(var w=arguments.length,A=new Array(w),x=0;x<w;++x)A[x]=arguments[x];i&&A.pop();var c=new e(A).promise();return void 0!==i?c.spread(i):c}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o,s){function a(t,e,i,n){this.constructor$(t),this._promise._captureStackTrace();var r=u();this._callback=null===r?e:c.domainBind(r,e),this._preservedValues=n===o?new Array(this.length()):null,this._limit=i,this._inFlight=0,this._queue=[],f.invoke(this._asyncInit,this,void 0)}function h(e,i,r,o){if("function"!=typeof i)return n("expecting a function but got "+c.classString(i));var s=0;if(void 0!==r){if("object"!=typeof r||null===r)return t.reject(new TypeError("options argument must be an object but it is "+c.classString(r)));if("number"!=typeof r.concurrency)return t.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(r.concurrency)));s=r.concurrency}return s="number"==typeof s&&isFinite(s)&&s>=1?s:0,new a(e,i,s,o).promise()}var u=t._getDomain,c=i(1),l=c.tryCatch,p=c.errorObj,f=t._async;c.inherits(a,e),a.prototype._asyncInit=function(){this._init$(void 0,-2)},a.prototype._init=function(){},a.prototype._promiseFulfilled=function(e,i){var n=this._values,o=this.length(),a=this._preservedValues,h=this._limit;if(i<0){if(i=i*-1-1,n[i]=e,h>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(h>=1&&this._inFlight>=h)return n[i]=e,this._queue.push(i),!1;null!==a&&(a[i]=e);var u=this._promise,c=this._callback,f=u._boundValue();u._pushContext();var d=l(c).call(f,e,i,o),g=u._popContext();if(s.checkForgottenReturns(d,g,null!==a?"Promise.filter":"Promise.map",u),d===p)return this._reject(d.e),!0;var v=r(d,this._promise);if(v instanceof t){v=v._target();var m=v._bitField;if(0===(50397184&m))return h>=1&&this._inFlight++,n[i]=v,v._proxy(this,(i+1)*-1),!1;if(0===(33554432&m))return 0!==(16777216&m)?(this._reject(v._reason()),!0):(this._cancel(),!0);d=v._value()}n[i]=d}var _=++this._totalResolved;return _>=o&&(null!==a?this._filter(n,a):this._resolve(n),!0)},a.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,i=this._values;t.length>0&&this._inFlight<e;){if(this._isResolved())return;var n=t.pop();this._promiseFulfilled(i[n],n)}},a.prototype._filter=function(t,e){for(var i=e.length,n=new Array(i),r=0,o=0;o<i;++o)t[o]&&(n[r++]=e[o]);n.length=r,this._resolve(n)},a.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(t,e){return h(this,t,e,null)},t.map=function(t,e,i,n){return h(t,e,i,n)}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o){var s=i(1),a=s.tryCatch;t.method=function(i){if("function"!=typeof i)throw new t.TypeError("expecting a function but got "+s.classString(i));return function(){var n=new t(e);n._captureStackTrace(),n._pushContext();var r=a(i).apply(this,arguments),s=n._popContext();return o.checkForgottenReturns(r,s,"Promise.method",n),n._resolveFromSyncValue(r),n}},t.attempt=t.try=function(i){if("function"!=typeof i)return r("expecting a function but got "+s.classString(i));var n=new t(e);n._captureStackTrace(),n._pushContext();var h;if(arguments.length>1){o.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],c=arguments[2];h=s.isArray(u)?a(i).apply(c,u):a(i).call(c,u)}else h=a(i)();var l=n._popContext();return o.checkForgottenReturns(h,l,"Promise.try",n),n._resolveFromSyncValue(h),n},t.prototype._resolveFromSyncValue=function(t){t===s.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},function(t,e,i){"use strict";t.exports=function(t){function e(t,e){var i=this;if(!o.isArray(t))return n.call(i,t,e);var r=a(e).apply(i._boundValue(),[null].concat(t));r===h&&s.throwLater(r.e)}function n(t,e){var i=this,n=i._boundValue(),r=void 0===t?a(e).call(n,null):a(e).call(n,null,t);r===h&&s.throwLater(r.e)}function r(t,e){var i=this;if(!t){var n=new Error(t+"");n.cause=t,t=n}var r=a(e).call(i._boundValue(),t);r===h&&s.throwLater(r.e)}var o=i(1),s=t._async,a=o.tryCatch,h=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(t,i){if("function"==typeof t){var o=n;void 0!==i&&Object(i).spread&&(o=e),this._then(o,r,void 0,this,t)}return this}}},function(t,e,i){(function(e){"use strict";t.exports=function(){function n(){}function r(t,e){if(null==t||t.constructor!==o)throw new y("the promise constructor cannot be invoked directly\n\n    See http://goo.gl/MqrFmX\n");if("function"!=typeof e)throw new y("expecting a function but got "+d.classString(e))}function o(t){t!==w&&r(this,t),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(t),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function s(t){this.promise._resolveCallback(t)}function a(t){this.promise._rejectCallback(t,!1)}function h(t){var e=new o(w);e._fulfillmentHandler0=t,e._rejectionHandler0=t,e._promise0=t,e._receiver0=t}var u,c=function(){return new y("circular promise resolution chain\n\n    See http://goo.gl/MqrFmX\n")},l=function(){return new o.PromiseInspection(this._target())},p=function(t){return o.reject(new y(t))},f={},d=i(1);u=d.isNode?function(){var t=e.domain;return void 0===t&&(t=null),t}:function(){return null},d.notEnumerableProp(o,"_getDomain",u);var g=i(14),v=i(128),m=new v;g.defineProperty(o,"_async",{value:m});var _=i(9),y=o.TypeError=_.TypeError;o.RangeError=_.RangeError;var b=o.CancellationError=_.CancellationError;o.TimeoutError=_.TimeoutError,o.OperationalError=_.OperationalError,o.RejectionError=_.OperationalError,o.AggregateError=_.AggregateError;var w=function(){},A={},x={},S=i(154)(o,w),C=i(144)(o,w,S,p,n),P=i(132)(o),T=P.create,k=i(133)(o,P),E=(k.CapturedTrace,i(137)(o,S,x)),D=i(66)(x),I=i(67),L=d.errorObj,$=d.tryCatch;return o.prototype.toString=function(){return"[object Promise]"},o.prototype.caught=o.prototype.catch=function(t){var e=arguments.length;if(e>1){var i,n=new Array(e-1),r=0;for(i=0;i<e-1;++i){var o=arguments[i];if(!d.isObject(o))return p("Catch statement predicate: expecting an object but got "+d.classString(o));
n[r++]=o}return n.length=r,t=arguments[i],this.then(void 0,D(n,t,this))}return this.then(void 0,t)},o.prototype.reflect=function(){return this._then(l,l,void 0,this,void 0)},o.prototype.then=function(t,e){if(k.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof e){var i=".then() only accepts functions but was passed: "+d.classString(t);arguments.length>1&&(i+=", "+d.classString(e)),this._warn(i)}return this._then(t,e,void 0,void 0,void 0)},o.prototype.done=function(t,e){var i=this._then(t,e,void 0,void 0,void 0);i._setIsFinal()},o.prototype.spread=function(t){return"function"!=typeof t?p("expecting a function but got "+d.classString(t)):this.all()._then(t,void 0,void 0,A,void 0)},o.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},o.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new C(this).promise()},o.prototype.error=function(t){return this.caught(d.originatesFromRejection,t)},o.getNewLibraryCopy=t.exports,o.is=function(t){return t instanceof o},o.fromNode=o.fromCallback=function(t){var e=new o(w);e._captureStackTrace();var i=arguments.length>1&&!!Object(arguments[1]).multiArgs,n=$(t)(I(e,i));return n===L&&e._rejectCallback(n.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},o.all=function(t){return new C(t).promise()},o.cast=function(t){var e=S(t);return e instanceof o||(e=new o(w),e._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},o.resolve=o.fulfilled=o.cast,o.reject=o.rejected=function(t){var e=new o(w);return e._captureStackTrace(),e._rejectCallback(t,!0),e},o.setScheduler=function(t){if("function"!=typeof t)throw new y("expecting a function but got "+d.classString(t));return m.setScheduler(t)},o.prototype._then=function(t,e,i,n,r){var s=void 0!==r,a=s?r:new o(w),h=this._target(),c=h._bitField;s||(a._propagateFrom(this,3),a._captureStackTrace(),void 0===n&&0!==(2097152&this._bitField)&&(n=0!==(50397184&c)?this._boundValue():h===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,a));var l=u();if(0!==(50397184&c)){var p,f,g=h._settlePromiseCtx;0!==(33554432&c)?(f=h._rejectionHandler0,p=t):0!==(16777216&c)?(f=h._fulfillmentHandler0,p=e,h._unsetRejectionIsUnhandled()):(g=h._settlePromiseLateCancellationObserver,f=new b("late cancellation observer"),h._attachExtraTrace(f),p=e),m.invoke(g,h,{handler:null===l?p:"function"==typeof p&&d.domainBind(l,p),promise:a,receiver:n,value:f})}else h._addCallbacks(t,e,a,n,l);return a},o.prototype._length=function(){return 65535&this._bitField},o.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},o.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},o.prototype._setLength=function(t){this._bitField=this._bitField&-65536|65535&t},o.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},o.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},o.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},o.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},o.prototype._isFinal=function(){return(4194304&this._bitField)>0},o.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},o.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},o.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},o.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},o.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];if(e!==f)return void 0===e&&this._isBound()?this._boundValue():e},o.prototype._promiseAt=function(t){return this[4*t-4+2]},o.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},o.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},o.prototype._boundValue=function(){},o.prototype._migrateCallback0=function(t){var e=(t._bitField,t._fulfillmentHandler0),i=t._rejectionHandler0,n=t._promise0,r=t._receiverAt(0);void 0===r&&(r=f),this._addCallbacks(e,i,n,r,null)},o.prototype._migrateCallbackAt=function(t,e){var i=t._fulfillmentHandlerAt(e),n=t._rejectionHandlerAt(e),r=t._promiseAt(e),o=t._receiverAt(e);void 0===o&&(o=f),this._addCallbacks(i,n,r,o,null)},o.prototype._addCallbacks=function(t,e,i,n,r){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=i,this._receiver0=n,"function"==typeof t&&(this._fulfillmentHandler0=null===r?t:d.domainBind(r,t)),"function"==typeof e&&(this._rejectionHandler0=null===r?e:d.domainBind(r,e));else{var s=4*o-4;this[s+2]=i,this[s+3]=n,"function"==typeof t&&(this[s+0]=null===r?t:d.domainBind(r,t)),"function"==typeof e&&(this[s+1]=null===r?e:d.domainBind(r,e))}return this._setLength(o+1),o},o.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},o.prototype._resolveCallback=function(t,e){if(0===(117506048&this._bitField)){if(t===this)return this._rejectCallback(c(),!1);var i=S(t,this);if(!(i instanceof o))return this._fulfill(t);e&&this._propagateFrom(i,2);var n=i._target();if(n===this)return void this._reject(c());var r=n._bitField;if(0===(50397184&r)){var s=this._length();s>0&&n._migrateCallback0(this);for(var a=1;a<s;++a)n._migrateCallbackAt(this,a);this._setFollowing(),this._setLength(0),this._setFollowee(n)}else if(0!==(33554432&r))this._fulfill(n._value());else if(0!==(16777216&r))this._reject(n._reason());else{var h=new b("late cancellation observer");n._attachExtraTrace(h),this._reject(h)}}},o.prototype._rejectCallback=function(t,e,i){var n=d.ensureErrorObject(t),r=n===t;if(!r&&!i&&k.warnings()){var o="a promise was rejected with a non-error: "+d.classString(t);this._warn(o,!0)}this._attachExtraTrace(n,!!e&&r),this._reject(t)},o.prototype._resolveFromExecutor=function(t){if(t!==w){var e=this;this._captureStackTrace(),this._pushContext();var i=!0,n=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,i)});i=!1,this._popContext(),void 0!==n&&e._rejectCallback(n,!0)}},o.prototype._settlePromiseFromHandler=function(t,e,i,n){var r=n._bitField;if(0===(65536&r)){n._pushContext();var o;e===A?i&&"number"==typeof i.length?o=$(t).apply(this._boundValue(),i):(o=L,o.e=new y("cannot .spread() a non-array: "+d.classString(i))):o=$(t).call(e,i);var s=n._popContext();r=n._bitField,0===(65536&r)&&(o===x?n._reject(i):o===L?n._rejectCallback(o.e,!1):(k.checkForgottenReturns(o,s,"",n,this),n._resolveCallback(o)))}},o.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},o.prototype._followee=function(){return this._rejectionHandler0},o.prototype._setFollowee=function(t){this._rejectionHandler0=t},o.prototype._settlePromise=function(t,e,i,r){var s=t instanceof o,a=this._bitField,h=0!==(134217728&a);0!==(65536&a)?(s&&t._invokeInternalOnCancel(),i instanceof E&&i.isFinallyHandler()?(i.cancelPromise=t,$(e).call(i,r)===L&&t._reject(L.e)):e===l?t._fulfill(l.call(i)):i instanceof n?i._promiseCancelled(t):s||t instanceof C?t._cancel():i.cancel()):"function"==typeof e?s?(h&&t._setAsyncGuaranteed(),this._settlePromiseFromHandler(e,i,r,t)):e.call(i,r,t):i instanceof n?i._isResolved()||(0!==(33554432&a)?i._promiseFulfilled(r,t):i._promiseRejected(r,t)):s&&(h&&t._setAsyncGuaranteed(),0!==(33554432&a)?t._fulfill(r):t._reject(r))},o.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,i=t.promise,n=t.receiver,r=t.value;"function"==typeof e?i instanceof o?this._settlePromiseFromHandler(e,n,r,i):e.call(n,r,i):i instanceof o&&i._reject(r)},o.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},o.prototype._settlePromise0=function(t,e,i){var n=this._promise0,r=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(n,t,r,e)},o.prototype._clearCallbackDataAtIndex=function(t){var e=4*t-4;this[e+2]=this[e+3]=this[e+0]=this[e+1]=void 0},o.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var i=c();return this._attachExtraTrace(i),this._reject(i)}this._setFulfilled(),this._rejectionHandler0=t,(65535&e)>0&&(0!==(134217728&e)?this._settlePromises():m.settlePromises(this))}},o.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16))return this._setRejected(),this._fulfillmentHandler0=t,this._isFinal()?m.fatalError(t,d.isNode):void((65535&e)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled())},o.prototype._fulfillPromises=function(t,e){for(var i=1;i<t;i++){var n=this._fulfillmentHandlerAt(i),r=this._promiseAt(i),o=this._receiverAt(i);this._clearCallbackDataAtIndex(i),this._settlePromise(r,n,o,e)}},o.prototype._rejectPromises=function(t,e){for(var i=1;i<t;i++){var n=this._rejectionHandlerAt(i),r=this._promiseAt(i),o=this._receiverAt(i);this._clearCallbackDataAtIndex(i),this._settlePromise(r,n,o,e)}},o.prototype._settlePromises=function(){var t=this._bitField,e=65535&t;if(e>0){if(0!==(16842752&t)){var i=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,i,t),this._rejectPromises(e,i)}else{var n=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,n,t),this._fulfillPromises(e,n)}this._setLength(0)}this._clearCancellationData()},o.prototype._settledValue=function(){var t=this._bitField;return 0!==(33554432&t)?this._rejectionHandler0:0!==(16777216&t)?this._fulfillmentHandler0:void 0},o.defer=o.pending=function(){k.deprecated("Promise.defer","new Promise");var t=new o(w);return{promise:t,resolve:s,reject:a}},d.notEnumerableProp(o,"_makeSelfResolutionError",c),i(141)(o,w,S,p,k),i(129)(o,w,S,k),i(131)(o,C,p,k),i(134)(o),i(153)(o),i(139)(o,C,S,w,m,u),o.Promise=o,o.version="3.5.0",i(140)(o,C,p,S,w,k),i(130)(o),i(156)(o,p,S,T,w,k),i(155)(o,w,k),i(138)(o,p,w,S,n,k),i(142)(o),i(145)(o,w),i(146)(o,C,S,p),i(148)(o,w,S,p),i(149)(o,C,p,S,w,k),i(151)(o,C,k),i(152)(o,C,p),i(136)(o,w),i(135)(o,w),i(127)(o),d.toFastProperties(o),d.toFastProperties(o.prototype),h({a:1}),h({b:2}),h({c:3}),h(1),h(function(){}),h(void 0),h(!1),h(new o(w)),k.setBounds(v.firstLineError,d.lastLineError),o}}).call(e,i(7))},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o){function s(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}function a(i){var n=this._promise=new t(e);i instanceof t&&n._propagateFrom(i,3),n._setOnCancel(this),this._values=i,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var h=i(1);return h.isArray,h.inherits(a,o),a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function e(i,o){var a=n(this._values,this._promise);if(a instanceof t){a=a._target();var u=a._bitField;if(this._values=a,0===(50397184&u))return this._promise._setAsyncGuaranteed(),a._then(e,this._reject,void 0,this,o);if(0===(33554432&u))return 0!==(16777216&u)?this._reject(a._reason()):this._cancel();a=a._value()}if(a=h.asArray(a),null===a){var c=r("expecting an array or an iterable object but got "+h.classString(a)).reason();return void this._promise._rejectCallback(c,!1)}return 0===a.length?void(o===-5?this._resolveEmptyArray():this._resolve(s(o))):void this._iterate(a)},a.prototype._iterate=function(e){var i=this.getActualLength(e.length);this._length=i,this._values=this.shouldCopyValues()?new Array(i):this._values;for(var r=this._promise,o=!1,s=null,a=0;a<i;++a){var h=n(e[a],r);h instanceof t?(h=h._target(),s=h._bitField):s=null,o?null!==s&&h.suppressUnhandledRejections():null!==s?0===(50397184&s)?(h._proxy(this,a),this._values[a]=h):o=0!==(33554432&s)?this._promiseFulfilled(h._value(),a):0!==(16777216&s)?this._promiseRejected(h._reason(),a):this._promiseCancelled(a):o=this._promiseFulfilled(h,a)}o||r._setAsyncGuaranteed()},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(t){this._values=null,this._promise._fulfill(t)},a.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},a.prototype._reject=function(t){this._values=null,this._promise._rejectCallback(t,!1)},a.prototype._promiseFulfilled=function(t,e){this._values[e]=t;var i=++this._totalResolved;return i>=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseCancelled=function(){return this._cancel(),!0},a.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},a.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var i=0;i<e.length;++i)e[i]instanceof t&&e[i].cancel()}},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(t){return t},a}},function(t,e,i){"use strict";t.exports=function(t,e){function n(t){return!A.test(t)}function r(t){try{return t.__isPromisified__===!0}catch(t){return!1}}function o(t,e,i){var n=f.getDataPropertyOrDefault(t,e+i,b);return!!n&&r(n)}function s(t,e,i){for(var n=0;n<t.length;n+=2){var r=t[n];if(i.test(r))for(var o=r.replace(i,""),s=0;s<t.length;s+=2)if(t[s]===o)throw new _("Cannot promisify an API that has normal methods with '%s'-suffix\n\n    See http://goo.gl/MqrFmX\n".replace("%s",e))}}function a(t,e,i,n){for(var a=f.inheritedDataKeys(t),h=[],u=0;u<a.length;++u){var c=a[u],l=t[c],p=n===x||x(c,l,t);"function"!=typeof l||r(l)||o(t,c,e)||!n(c,l,t,p)||h.push(c,l)}return s(h,e,i),h}function h(i,n,r,o,s,a){function h(){var r=n;n===p&&(r=this);var o=new t(e);o._captureStackTrace();var s="string"==typeof c&&this!==u?this[c]:i,h=d(o,a);try{s.apply(r,g(arguments,h))}catch(t){o._rejectCallback(v(t),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var u=function(){return this}(),c=i;return"string"==typeof c&&(i=o),f.notEnumerableProp(h,"__isPromisified__",!0),h}function u(t,e,i,n,r){for(var o=new RegExp(S(e)+"$"),s=a(t,e,o,i),h=0,u=s.length;h<u;h+=2){var c=s[h],l=s[h+1],d=c+e;if(n===E)t[d]=E(c,p,c,l,e,r);else{var g=n(l,function(){return E(c,p,c,l,e,r)});f.notEnumerableProp(g,"__isPromisified__",!0),t[d]=g}}return f.toFastProperties(t),t}function c(t,e,i){return E(t,e,void 0,t,null,i)}var l,p={},f=i(1),d=i(67),g=f.withAppended,v=f.maybeWrapAsError,m=f.canEvaluate,_=i(9).TypeError,y="Async",b={__isPromisified__:!0},w=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],A=new RegExp("^(?:"+w.join("|")+")$"),x=function(t){return f.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t},S=function(t){return t.replace(/([$])/,"\\$")},C=function(t){for(var e=[t],i=Math.max(0,t-1-3),n=t-1;n>=i;--n)e.push(n);for(var n=t+1;n<=3;++n)e.push(n);return e},P=function(t){return f.filledRange(t,"_arg","")},T=function(t){return f.filledRange(Math.max(t,3),"_arg","")},k=function(t){return"number"==typeof t.length?Math.max(Math.min(t.length,1024),0):0};l=function(i,n,r,o,s,a){function h(t){var e,i=P(t).join(", "),r=t>0?", ":"";return e=m?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===n?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n",e.replace("{{args}}",i).replace(", ",r)}function u(){for(var t="",e=0;e<l.length;++e)t+="case "+l[e]+":"+h(l[e]);return t+="                                                             \n\t        default:                                                             \n\t            var args = new Array(len + 1);                                   \n\t            var i = 0;                                                       \n\t            for (var i = 0; i < len; ++i) {                                  \n\t               args[i] = arguments[i];                                       \n\t            }                                                                \n\t            args[i] = nodeback;                                              \n\t            [CodeForCall]                                                    \n\t            break;                                                           \n\t        ".replace("[CodeForCall]",m?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}var c=Math.max(0,k(o)-1),l=C(c),m="string"==typeof i||n===p,_="string"==typeof i?"this != null ? this['"+i+"'] : fn":"fn",y="'use strict';                                                \n\t        var ret = function (Parameters) {                                    \n\t            'use strict';                                                    \n\t            var len = arguments.length;                                      \n\t            var promise = new Promise(INTERNAL);                             \n\t            promise._captureStackTrace();                                    \n\t            var nodeback = nodebackForPromise(promise, "+a+");   \n\t            var ret;                                                         \n\t            var callback = tryCatch([GetFunctionCode]);                      \n\t            switch(len) {                                                    \n\t                [CodeForSwitchCase]                                          \n\t            }                                                                \n\t            if (ret === errorObj) {                                          \n\t                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n\t            }                                                                \n\t            if (!promise._isFateSealed()) promise._setAsyncGuaranteed();     \n\t            return promise;                                                  \n\t        };                                                                   \n\t        notEnumerableProp(ret, '__isPromisified__', true);                   \n\t        return ret;                                                          \n\t    ".replace("[CodeForSwitchCase]",u()).replace("[GetFunctionCode]",_);return y=y.replace("Parameters",T(c)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",y)(t,o,n,g,v,d,f.tryCatch,f.errorObj,f.notEnumerableProp,e)};var E=m?l:h;t.promisify=function(t,e){if("function"!=typeof t)throw new _("expecting a function but got "+f.classString(t));if(r(t))return t;e=Object(e);var i=void 0===e.context?p:e.context,o=!!e.multiArgs,s=c(t,i,o);return f.copyDescriptors(t,s,n),s},t.promisifyAll=function(t,e){if("function"!=typeof t&&"object"!=typeof t)throw new _("the target of promisifyAll must be an object or a function\n\n    See http://goo.gl/MqrFmX\n");e=Object(e);var i=!!e.multiArgs,n=e.suffix;"string"!=typeof n&&(n=y);var r=e.filter;"function"!=typeof r&&(r=x);var o=e.promisifier;if("function"!=typeof o&&(o=E),!f.isIdentifier(n))throw new RangeError("suffix must be a valid identifier\n\n    See http://goo.gl/MqrFmX\n");for(var s=f.inheritedDataKeys(t),a=0;a<s.length;++a){var h=t[s[a]];"constructor"!==s[a]&&f.isClass(h)&&(u(h.prototype,n,r,o,i),u(h,n,r,o,i))}return u(t,n,r,o,i)}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r){function o(t){var e,i=!1;if(void 0!==a&&t instanceof a)e=l(t),i=!0;else{var n=c.keys(t),r=n.length;e=new Array(2*r);for(var o=0;o<r;++o){var s=n[o];e[o]=t[s],e[o+r]=s}}this.constructor$(e),this._isMap=i,this._init$(void 0,i?-6:-3)}function s(e){var i,s=n(e);return u(s)?(i=s instanceof t?s._then(t.props,void 0,void 0,void 0,void 0):new o(s).promise(),s instanceof t&&i._propagateFrom(s,2),i):r("cannot await properties of a non-object\n\n    See http://goo.gl/MqrFmX\n")}var a,h=i(1),u=h.isObject,c=i(14);"function"==typeof Map&&(a=Map);var l=function(){function t(t,n){this[e]=t,this[e+i]=n,e++}var e=0,i=0;return function(n){i=n.size,e=0;var r=new Array(2*n.size);return n.forEach(t,r),r}}(),p=function(t){for(var e=new a,i=t.length/2|0,n=0;n<i;++n){var r=t[i+n],o=t[n];e.set(r,o)}return e};h.inherits(o,e),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(t,e){this._values[e]=t;var i=++this._totalResolved;if(i>=this._length){var n;if(this._isMap)n=p(this._values);else{n={};for(var r=this.length(),o=0,s=this.length();o<s;++o)n[this._values[o+r]]=this._values[o]}return this._resolve(n),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(t){return t>>1},t.prototype.props=function(){return s(this)},t.props=function(t){return s(t)}}},function(t,e){"use strict";function i(t,e,i,n,r){for(var o=0;o<r;++o)i[o+n]=t[o+e],t[o+e]=void 0}function n(t){this._capacity=t,this._length=0,this._front=0}n.prototype._willBeOverCapacity=function(t){return this._capacity<t},n.prototype._pushOne=function(t){var e=this.length();this._checkCapacity(e+1);var i=this._front+e&this._capacity-1;this[i]=t,this._length=e+1},n.prototype.push=function(t,e,i){var n=this.length()+3;if(this._willBeOverCapacity(n))return this._pushOne(t),this._pushOne(e),void this._pushOne(i);var r=this._front+n-3;this._checkCapacity(n);var o=this._capacity-1;this[r+0&o]=t,this[r+1&o]=e,this[r+2&o]=i,this._length=n},n.prototype.shift=function(){var t=this._front,e=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,e},n.prototype.length=function(){return this._length},n.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)},n.prototype._resizeTo=function(t){var e=this._capacity;this._capacity=t;var n=this._front,r=this._length,o=n+r&e-1;i(this,0,this,e,o)},t.exports=n},function(t,e,i){"use strict";t.exports=function(t,e,n,r){function o(i,o){var h=n(i);if(h instanceof t)return a(h);if(i=s.asArray(i),null===i)return r("expecting an array or an iterable object but got "+s.classString(i));var u=new t(e);void 0!==o&&u._propagateFrom(o,3);for(var c=u._fulfill,l=u._reject,p=0,f=i.length;p<f;++p){var d=i[p];(void 0!==d||p in i)&&t.cast(d)._then(c,l,void 0,u,null)}return u}var s=i(1),a=function(t){return t.then(function(e){return o(e,t)})};t.race=function(t){return o(t,void 0)},t.prototype.race=function(){return o(this,void 0)}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o,s){function a(e,i,n,r){this.constructor$(e);var s=p();this._fn=null===s?i:f.domainBind(s,i),void 0!==n&&(n=t.resolve(n),n._attachCancellationCallback(this)),this._initialValue=n,this._currentCancellable=null,r===o?this._eachValues=Array(this._length):0===r?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function h(t,e){this.isFulfilled()?e._resolve(t):e._reject(t)}function u(t,e,i,r){if("function"!=typeof e)return n("expecting a function but got "+f.classString(e));var o=new a(t,e,i,r);return o.promise()}function c(e){this.accum=e,this.array._gotAccum(e);var i=r(this.value,this.array._promise);return i instanceof t?(this.array._currentCancellable=i,i._then(l,void 0,void 0,this,void 0)):l.call(this,i)}function l(e){var i=this.array,n=i._promise,r=d(i._fn);n._pushContext();var o;o=void 0!==i._eachValues?r.call(n._boundValue(),e,this.index,this.length):r.call(n._boundValue(),this.accum,e,this.index,this.length),o instanceof t&&(i._currentCancellable=o);var a=n._popContext();return s.checkForgottenReturns(o,a,void 0!==i._eachValues?"Promise.each":"Promise.reduce",n),o}var p=t._getDomain,f=i(1),d=f.tryCatch;f.inherits(a,e),a.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==o&&this._eachValues.push(t)},a.prototype._eachComplete=function(t){return null!==this._eachValues&&this._eachValues.push(t),this._eachValues},a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},a.prototype.shouldCopyValues=function(){return!1},a.prototype._resolve=function(t){this._promise._resolveCallback(t),this._values=null},a.prototype._resultCancelled=function(e){return e===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel()))},a.prototype._iterate=function(e){this._values=e;var i,n,r=e.length;if(void 0!==this._initialValue?(i=this._initialValue,n=0):(i=t.resolve(e[0]),n=1),this._currentCancellable=i,!i.isRejected())for(;n<r;++n){var o={accum:null,value:e[n],index:n,length:r,array:this};i=i._then(c,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(i=i._then(this._eachComplete,void 0,void 0,this,void 0)),i._then(h,h,void 0,i,this)},t.prototype.reduce=function(t,e){return u(this,t,e,null)},t.reduce=function(t,e,i,n){return u(t,e,i,n)}}},function(t,e,i){(function(e,n,r){"use strict";var o,s=i(1),a=function(){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")},h=s.getNativePromise();if(s.isNode&&"undefined"==typeof MutationObserver){var u=e.setImmediate,c=n.nextTick;o=s.isRecentNode?function(t){u.call(e,t)}:function(t){c.call(n,t)}}else if("function"==typeof h&&"function"==typeof h.resolve){var l=h.resolve();o=function(t){l.then(t)}}else o="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof r?function(t){r(t)}:"undefined"!=typeof setTimeout?function(t){setTimeout(t,0)}:a:function(){var t=document.createElement("div"),e={attributes:!0},i=!1,n=document.createElement("div"),r=new MutationObserver(function(){t.classList.toggle("foo"),i=!1});r.observe(n,e);var o=function(){i||(i=!0,n.classList.toggle("foo"))};return function(i){var n=new MutationObserver(function(){n.disconnect(),i()});n.observe(t,e),o()}}();t.exports=o}).call(e,function(){return this}(),i(7),i(37).setImmediate)},function(t,e,i){"use strict";t.exports=function(t,e,n){function r(t){this.constructor$(t)}var o=t.PromiseInspection,s=i(1);s.inherits(r,e),r.prototype._promiseResolved=function(t,e){this._values[t]=e;var i=++this._totalResolved;return i>=this._length&&(this._resolve(this._values),!0)},r.prototype._promiseFulfilled=function(t,e){var i=new o;return i._bitField=33554432,i._settledValueField=t,this._promiseResolved(e,i)},r.prototype._promiseRejected=function(t,e){var i=new o;return i._bitField=16777216,i._settledValueField=t,this._promiseResolved(e,i)},t.settle=function(t){return n.deprecated(".settle()",".reflect()"),new r(t).promise()},t.prototype.settle=function(){return t.settle(this)}}},function(t,e,i){"use strict";t.exports=function(t,e,n){function r(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(t,e){if((0|e)!==e||e<0)return n("expecting a positive integer\n\n    See http://goo.gl/MqrFmX\n");var i=new r(t),o=i.promise();return i.setHowMany(e),i.init(),o}var s=i(1),a=i(9).RangeError,h=i(9).AggregateError,u=s.isArray,c={};s.inherits(r,e),r.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var t=u(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},r.prototype.init=function(){this._initialized=!0,this._init()},r.prototype.setUnwrap=function(){this._unwrap=!0},r.prototype.howMany=function(){return this._howMany},r.prototype.setHowMany=function(t){this._howMany=t},r.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},r.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},r.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},r.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new h,e=this.length();e<this._values.length;++e)this._values[e]!==c&&t.push(this._values[e]);return t.length>0?this._reject(t):this._cancel(),!0}return!1},r.prototype._fulfilled=function(){return this._totalResolved},r.prototype._rejected=function(){return this._values.length-this.length()},r.prototype._addRejected=function(t){this._values.push(t)},r.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},r.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},r.prototype._getRangeError=function(t){var e="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new a(e)},r.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(t,e){return o(t,e)},t.prototype.some=function(t){return o(this,t)},t._SomePromiseArray=r}},function(t,e){"use strict";t.exports=function(t){function e(t){void 0!==t?(t=t._target(),this._bitField=t._bitField,this._settledValueField=t._isFateSealed()?t._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var i=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},n=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},r=e.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},s=e.prototype.isPending=function(){return 0===(50397184&this._bitField)},a=e.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!==(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536===(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!==(8454144&this._target()._bitField)},t.prototype.isPending=function(){return s.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return r.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return i.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),n.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},function(t,e,i){"use strict";t.exports=function(t,e){function n(i,n){if(c(i)){if(i instanceof t)return i;var r=o(i);if(r===u){n&&n._pushContext();var h=t.reject(r.e);return n&&n._popContext(),h}if("function"==typeof r){if(s(i)){var h=new t(e);return i._then(h._fulfill,h._reject,void 0,h,null),h}return a(i,r,n)}}return i}function r(t){return t.then}function o(t){try{return r(t)}catch(t){return u.e=t,u}}function s(t){try{return l.call(t,"_promise0")}catch(t){return!1}}function a(i,n,r){function o(t){a&&(a._resolveCallback(t),a=null)}function s(t){a&&(a._rejectCallback(t,l,!0),a=null)}var a=new t(e),c=a;r&&r._pushContext(),a._captureStackTrace(),r&&r._popContext();var l=!0,p=h.tryCatch(n).call(i,o,s);return l=!1,a&&p===u&&(a._rejectCallback(p.e,!0,!0),a=null),c}var h=i(1),u=h.errorObj,c=h.isObject,l={}.hasOwnProperty;return n}},function(t,e,i){"use strict";t.exports=function(t,e,n){function r(t){this.handle=t}function o(t){return clearTimeout(this.handle),t}function s(t){throw clearTimeout(this.handle),t}var a=i(1),h=t.TimeoutError;r.prototype._resultCancelled=function(){
clearTimeout(this.handle)};var u=function(t){return c(+this).thenReturn(t)},c=t.delay=function(i,o){var s,a;return void 0!==o?(s=t.resolve(o)._then(u,null,null,i,void 0),n.cancellation()&&o instanceof t&&s._setOnCancel(o)):(s=new t(e),a=setTimeout(function(){s._fulfill()},+i),n.cancellation()&&s._setOnCancel(new r(a)),s._captureStackTrace()),s._setAsyncGuaranteed(),s};t.prototype.delay=function(t){return c(t,this)};var l=function(t,e,i){var n;n="string"!=typeof e?e instanceof Error?e:new h("operation timed out"):new h(e),a.markAsOriginatingFromRejection(n),t._attachExtraTrace(n),t._reject(n),null!=i&&i.cancel()};t.prototype.timeout=function(t,e){t=+t;var i,a,h=new r(setTimeout(function(){i.isPending()&&l(i,e,a)},t));return n.cancellation()?(a=this.then(),i=a._then(o,s,void 0,h,void 0),i._setOnCancel(h)):i=this._then(o,s,void 0,h,void 0),i}}},function(t,e,i){"use strict";t.exports=function(t,e,n,r,o,s){function a(t){setTimeout(function(){throw t},0)}function h(t){var e=n(t);return e!==t&&"function"==typeof t._isDisposable&&"function"==typeof t._getDisposer&&t._isDisposable()&&e._setDisposable(t._getDisposer()),e}function u(e,i){function r(){if(s>=u)return c._fulfill();var o=h(e[s++]);if(o instanceof t&&o._isDisposable()){try{o=n(o._getDisposer().tryDispose(i),e.promise)}catch(t){return a(t)}if(o instanceof t)return o._then(r,a,null,null,null)}r()}var s=0,u=e.length,c=new t(o);return r(),c}function c(t,e,i){this._data=t,this._promise=e,this._context=i}function l(t,e,i){this.constructor$(t,e,i)}function p(t){return c.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function f(t){this.length=t,this.promise=null,this[t-1]=null}var d=i(1),g=i(9).TypeError,v=i(1).inherits,m=d.errorObj,_=d.tryCatch,y={};c.prototype.data=function(){return this._data},c.prototype.promise=function(){return this._promise},c.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():y},c.prototype.tryDispose=function(t){var e=this.resource(),i=this._context;void 0!==i&&i._pushContext();var n=e!==y?this.doDispose(e,t):null;return void 0!==i&&i._popContext(),this._promise._unsetDisposable(),this._data=null,n},c.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},v(l,c),l.prototype.doDispose=function(t,e){var i=this.data();return i.call(t,t,e)},f.prototype._resultCancelled=function(){for(var e=this.length,i=0;i<e;++i){var n=this[i];n instanceof t&&n.cancel()}},t.using=function(){var i=arguments.length;if(i<2)return e("you must pass at least 2 arguments to Promise.using");var r=arguments[i-1];if("function"!=typeof r)return e("expecting a function but got "+d.classString(r));var o,a=!0;2===i&&Array.isArray(arguments[0])?(o=arguments[0],i=o.length,a=!1):(o=arguments,i--);for(var h=new f(i),l=0;l<i;++l){var g=o[l];if(c.isDisposer(g)){var v=g;g=g.promise(),g._setDisposable(v)}else{var y=n(g);y instanceof t&&(g=y._then(p,null,null,{resources:h,index:l},void 0))}h[l]=g}for(var b=new Array(h.length),l=0;l<b.length;++l)b[l]=t.resolve(h[l]).reflect();var w=t.all(b).then(function(t){for(var e=0;e<t.length;++e){var i=t[e];if(i.isRejected())return m.e=i.error(),m;if(!i.isFulfilled())return void w.cancel();t[e]=i.value()}A._pushContext(),r=_(r);var n=a?r.apply(void 0,t):r(t),o=A._popContext();return s.checkForgottenReturns(n,o,"Promise.using",A),n}),A=w.lastly(function(){var e=new t.PromiseInspection(w);return u(h,e)});return h.promise=A,A._setOnCancel(h),A},t.prototype._setDisposable=function(t){this._bitField=131072|this._bitField,this._disposer=t},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(t){if("function"==typeof t)return new l(t,this,r());throw new g}}},function(t,e,i){!function(n,r){t.exports=e=r(i(6))}(this,function(t){return t.enc.Utf8})},function(t,e,i){!function(n,r){t.exports=e=r(i(6))}(this,function(t){!function(){var e=t,i=e.lib,n=i.Base,r=e.enc,o=r.Utf8,s=e.algo;s.HMAC=n.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=o.parse(e));var i=t.blockSize,n=4*i;e.sigBytes>n&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),s=this._iKey=e.clone(),a=r.words,h=s.words,u=0;u<i;u++)a[u]^=1549556828,h[u]^=909522486;r.sigBytes=s.sigBytes=n,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,i=e.finalize(t);e.reset();var n=e.finalize(this._oKey.clone().concat(i));return n}})}()})},function(t,e,i){!function(n,r){t.exports=e=r(i(6))}(this,function(t){return function(e){function i(t,e,i,n,r,o,s){var a=t+(e&i|~e&n)+r+s;return(a<<o|a>>>32-o)+e}function n(t,e,i,n,r,o,s){var a=t+(e&n|i&~n)+r+s;return(a<<o|a>>>32-o)+e}function r(t,e,i,n,r,o,s){var a=t+(e^i^n)+r+s;return(a<<o|a>>>32-o)+e}function o(t,e,i,n,r,o,s){var a=t+(i^(e|~n))+r+s;return(a<<o|a>>>32-o)+e}var s=t,a=s.lib,h=a.WordArray,u=a.Hasher,c=s.algo,l=[];!function(){for(var t=0;t<64;t++)l[t]=4294967296*e.abs(e.sin(t+1))|0}();var p=c.MD5=u.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var s=0;s<16;s++){var a=e+s,h=t[a];t[a]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}var u=this._hash.words,c=t[e+0],p=t[e+1],f=t[e+2],d=t[e+3],g=t[e+4],v=t[e+5],m=t[e+6],_=t[e+7],y=t[e+8],b=t[e+9],w=t[e+10],A=t[e+11],x=t[e+12],S=t[e+13],C=t[e+14],P=t[e+15],T=u[0],k=u[1],E=u[2],D=u[3];T=i(T,k,E,D,c,7,l[0]),D=i(D,T,k,E,p,12,l[1]),E=i(E,D,T,k,f,17,l[2]),k=i(k,E,D,T,d,22,l[3]),T=i(T,k,E,D,g,7,l[4]),D=i(D,T,k,E,v,12,l[5]),E=i(E,D,T,k,m,17,l[6]),k=i(k,E,D,T,_,22,l[7]),T=i(T,k,E,D,y,7,l[8]),D=i(D,T,k,E,b,12,l[9]),E=i(E,D,T,k,w,17,l[10]),k=i(k,E,D,T,A,22,l[11]),T=i(T,k,E,D,x,7,l[12]),D=i(D,T,k,E,S,12,l[13]),E=i(E,D,T,k,C,17,l[14]),k=i(k,E,D,T,P,22,l[15]),T=n(T,k,E,D,p,5,l[16]),D=n(D,T,k,E,m,9,l[17]),E=n(E,D,T,k,A,14,l[18]),k=n(k,E,D,T,c,20,l[19]),T=n(T,k,E,D,v,5,l[20]),D=n(D,T,k,E,w,9,l[21]),E=n(E,D,T,k,P,14,l[22]),k=n(k,E,D,T,g,20,l[23]),T=n(T,k,E,D,b,5,l[24]),D=n(D,T,k,E,C,9,l[25]),E=n(E,D,T,k,d,14,l[26]),k=n(k,E,D,T,y,20,l[27]),T=n(T,k,E,D,S,5,l[28]),D=n(D,T,k,E,f,9,l[29]),E=n(E,D,T,k,_,14,l[30]),k=n(k,E,D,T,x,20,l[31]),T=r(T,k,E,D,v,4,l[32]),D=r(D,T,k,E,y,11,l[33]),E=r(E,D,T,k,A,16,l[34]),k=r(k,E,D,T,C,23,l[35]),T=r(T,k,E,D,p,4,l[36]),D=r(D,T,k,E,g,11,l[37]),E=r(E,D,T,k,_,16,l[38]),k=r(k,E,D,T,w,23,l[39]),T=r(T,k,E,D,S,4,l[40]),D=r(D,T,k,E,c,11,l[41]),E=r(E,D,T,k,d,16,l[42]),k=r(k,E,D,T,m,23,l[43]),T=r(T,k,E,D,b,4,l[44]),D=r(D,T,k,E,x,11,l[45]),E=r(E,D,T,k,P,16,l[46]),k=r(k,E,D,T,f,23,l[47]),T=o(T,k,E,D,c,6,l[48]),D=o(D,T,k,E,_,10,l[49]),E=o(E,D,T,k,C,15,l[50]),k=o(k,E,D,T,v,21,l[51]),T=o(T,k,E,D,x,6,l[52]),D=o(D,T,k,E,d,10,l[53]),E=o(E,D,T,k,w,15,l[54]),k=o(k,E,D,T,p,21,l[55]),T=o(T,k,E,D,y,6,l[56]),D=o(D,T,k,E,P,10,l[57]),E=o(E,D,T,k,m,15,l[58]),k=o(k,E,D,T,S,21,l[59]),T=o(T,k,E,D,g,6,l[60]),D=o(D,T,k,E,A,10,l[61]),E=o(E,D,T,k,f,15,l[62]),k=o(k,E,D,T,b,21,l[63]),u[0]=u[0]+T|0,u[1]=u[1]+k|0,u[2]=u[2]+E|0,u[3]=u[3]+D|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;i[r>>>5]|=128<<24-r%32;var o=e.floor(n/4294967296),s=n;i[(r+64>>>9<<4)+15]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i[(r+64>>>9<<4)+14]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(i.length+1),this._process();for(var a=this._hash,h=a.words,u=0;u<4;u++){var c=h[u];h[u]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return a},clone:function(){var t=u.clone.call(this);return t._hash=this._hash.clone(),t}});s.MD5=u._createHelper(p),s.HmacMD5=u._createHmacHelper(p)}(Math),t.MD5})},function(t,e,i){!function(n,r,o){t.exports=e=r(i(6),i(34))}(this,function(t){return t.mode.ECB=function(){var e=t.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),e.Decryptor=e.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),e}(),t.mode.ECB})},function(t,e,i){!function(n,r,o){t.exports=e=r(i(6),i(34))}(this,function(t){return t.pad.Pkcs7})},function(t,e,i){!function(n,r){t.exports=e=r(i(6))}(this,function(t){return function(){var e=t,i=e.lib,n=i.WordArray,r=i.Hasher,o=e.algo,s=[],a=o.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],r=i[1],o=i[2],a=i[3],h=i[4],u=0;u<80;u++){if(u<16)s[u]=0|t[e+u];else{var c=s[u-3]^s[u-8]^s[u-14]^s[u-16];s[u]=c<<1|c>>>31}var l=(n<<5|n>>>27)+h+s[u];l+=u<20?(r&o|~r&a)+1518500249:u<40?(r^o^a)+1859775393:u<60?(r&o|r&a|o&a)-1894007588:(r^o^a)-899497514,h=a,a=o,o=r<<30|r>>>2,r=n,n=l}i[0]=i[0]+n|0,i[1]=i[1]+r|0,i[2]=i[2]+o|0,i[3]=i[3]+a|0,i[4]=i[4]+h|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[(n+64>>>9<<4)+14]=Math.floor(i/4294967296),e[(n+64>>>9<<4)+15]=i,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA1=r._createHelper(a),e.HmacSHA1=r._createHmacHelper(a)}(),t.SHA1})},function(t,e,i){!function(n,r,o){t.exports=e=r(i(6),i(68),i(159),i(69),i(34))}(this,function(t){return function(){function e(t,e){var i=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=i,this._lBlock^=i<<t}function i(t,e){var i=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=i,this._rBlock^=i<<t}var n=t,r=n.lib,o=r.WordArray,s=r.BlockCipher,a=n.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=a.DES=s.extend({_doReset:function(){for(var t=this._key,e=t.words,i=[],n=0;n<56;n++){var r=h[n]-1;i[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],s=0;s<16;s++){for(var a=o[s]=[],l=c[s],n=0;n<24;n++)a[n/6|0]|=i[(u[n]-1+l)%28]<<31-n%6,a[4+(n/6|0)]|=i[28+(u[n+24]-1+l)%28]<<31-n%6;a[0]=a[0]<<1|a[0]>>>31;for(var n=1;n<7;n++)a[n]=a[n]>>>4*(n-1)+3;a[7]=a[7]<<5|a[7]>>>27}for(var p=this._invSubKeys=[],n=0;n<16;n++)p[n]=o[15-n]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,n,r){this._lBlock=t[n],this._rBlock=t[n+1],e.call(this,4,252645135),e.call(this,16,65535),i.call(this,2,858993459),i.call(this,8,16711935),e.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=r[o],a=this._lBlock,h=this._rBlock,u=0,c=0;c<8;c++)u|=l[c][((h^s[c])&p[c])>>>0];this._lBlock=h,this._rBlock=a^u}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,e.call(this,1,1431655765),i.call(this,8,16711935),i.call(this,2,858993459),e.call(this,16,65535),e.call(this,4,252645135),t[n]=this._lBlock,t[n+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});n.DES=s._createHelper(f);var d=a.TripleDES=s.extend({_doReset:function(){var t=this._key,e=t.words;this._des1=f.createEncryptor(o.create(e.slice(0,2))),this._des2=f.createEncryptor(o.create(e.slice(2,4))),this._des3=f.createEncryptor(o.create(e.slice(4,6)))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=s._createHelper(d)}(),t.TripleDES})},function(t,e,i){!function(e,i){"use strict";var n=function(t){return new n.Instance(t)};n.SUPPORT="wheel",n.ADD_EVENT="addEventListener",n.REMOVE_EVENT="removeEventListener",n.PREFIX="",n.READY=!1,n.Instance=function(t){return n.READY||(n.normalise.browser(),n.READY=!0),this.element=t,this.handlers=[],this},n.Instance.prototype={wheel:function(t,e){return n.event.add(this,n.SUPPORT,t,e),"DOMMouseScroll"===n.SUPPORT&&n.event.add(this,"MozMousePixelScroll",t,e),this},unwheel:function(t,e){return void 0===t&&(t=this.handlers.slice(-1)[0])&&(t=t.original),n.event.remove(this,n.SUPPORT,t,e),"DOMMouseScroll"===n.SUPPORT&&n.event.remove(this,"MozMousePixelScroll",t,e),this}},n.event={add:function(t,i,r,o){var s=r;r=function(t){t||(t=e.event);var i=n.normalise.event(t),r=n.normalise.delta(t);return s(i,r[0],r[1],r[2])},t.element[n.ADD_EVENT](n.PREFIX+i,r,o||!1),t.handlers.push({original:s,normalised:r})},remove:function(t,e,i,r){for(var o,s=i,a={},h=0,u=t.handlers.length;h<u;++h)a[t.handlers[h].original]=t.handlers[h];o=a[s],i=o.normalised,t.element[n.REMOVE_EVENT](n.PREFIX+e,i,r||!1);for(var c in t.handlers)if(t.handlers[c]==o){t.handlers.splice(c,1);break}}};var r,o;n.normalise={browser:function(){"onwheel"in i||i.documentMode>=9||(n.SUPPORT=void 0!==i.onmousewheel?"mousewheel":"DOMMouseScroll"),e.addEventListener||(n.ADD_EVENT="attachEvent",n.REMOVE_EVENT="detachEvent",n.PREFIX="on")},event:function(t){var e={originalEvent:t,target:t.target||t.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"===t.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){t.preventDefault?t.preventDefault():t.returnValue=!1},stopPropagation:function(){t.stopPropagation?t.stopPropagation():t.cancelBubble=!1}};return t.wheelDelta&&(e.deltaY=-.025*t.wheelDelta),t.wheelDeltaX&&(e.deltaX=-.025*t.wheelDeltaX),t.detail&&(e.deltaY=t.detail),e},delta:function(t){var e,i=0,n=0,s=0,a=0,h=0;return t.deltaY&&(s=t.deltaY*-1,i=s),t.deltaX&&(n=t.deltaX,i=n*-1),t.wheelDelta&&(i=t.wheelDelta),t.wheelDeltaY&&(s=t.wheelDeltaY),t.wheelDeltaX&&(n=t.wheelDeltaX*-1),t.detail&&(i=t.detail*-1),0===i?[0,0,0]:(a=Math.abs(i),(!r||a<r)&&(r=a),h=Math.max(Math.abs(s),Math.abs(n)),(!o||h<o)&&(o=h),e=i>0?"floor":"ceil",i=Math[e](i/r),n=Math[e](n/o),s=Math[e](s/o),[i,n,s])}},"function"==typeof e.define&&e.define.amd?e.define("hamster",[],function(){return n}):t.exports=n}(window,window.document)},function(t,e){e.read=function(t,e,i,n,r){var o,s,a=8*r-n-1,h=(1<<a)-1,u=h>>1,c=-7,l=i?r-1:0,p=i?-1:1,f=t[e+l];for(l+=p,o=f&(1<<-c)-1,f>>=-c,c+=a;c>0;o=256*o+t[e+l],l+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+t[e+l],l+=p,c-=8);if(0===o)o=1-u;else{if(o===h)return s?NaN:(f?-1:1)*(1/0);s+=Math.pow(2,n),o-=u}return(f?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,i,n,r,o){var s,a,h,u=8*o-r-1,c=(1<<u)-1,l=c>>1,p=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(h=Math.pow(2,-s))<1&&(s--,h*=2),e+=s+l>=1?p/h:p*Math.pow(2,1-l),e*h>=2&&(s++,h/=2),s+l>=c?(a=0,s=c):s+l>=1?(a=(e*h-1)*Math.pow(2,r),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,r),s=0));r>=8;t[i+f]=255&a,f+=d,a/=256,r-=8);for(s=s<<r|a,u+=r;u>0;t[i+f]=255&s,f+=d,s/=256,u-=8);t[i+f-d]|=128*g}},function(t,e,i){t.exports=i(11)},function(t,e,i){"use strict";function n(t){return this instanceof n?void r.call(this,t):new n(t)}t.exports=n;var r=i(72),o=Object.create(i(19));o.inherits=i(16),o.inherits(n,r),n.prototype._transform=function(t,e,i){i(null,t)}},function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e,i){t.copy(e,i)}var o=i(26).Buffer,s=i(211);t.exports=function(){function t(){n(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,i=""+e.data;e=e.next;)i+=t+e.data;return i},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),i=this.head,n=0;i;)r(i.data,e,n),n+=i.data.length,i=i.next;return e},t}(),s&&s.inspect&&s.inspect.custom&&(t.exports.prototype[s.inspect.custom]=function(){var t=s.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e,i){t.exports=i(36).PassThrough},function(t,e,i){t.exports=i(36).Transform},function(t,e,i){t.exports=i(35)},function(t,e,i){(function(t){!function(e){function n(t,i){if(!(this instanceof n))return new n(t,i);var r=this;o(r),r.q=r.c="",r.bufferCheckPosition=e.MAX_BUFFER_LENGTH,r.opt=i||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!t,r.noscript=!(!t&&!r.opt.noscript),r.state=U.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(M)),r.trackPosition=r.opt.position!==!1,r.trackPosition&&(r.position=r.line=r.column=0),d(r,"onready")}function r(t){for(var i=Math.max(e.MAX_BUFFER_LENGTH,10),n=0,r=0,o=D.length;r<o;r++){var s=t[D[r]].length;if(s>i)switch(D[r]){case"textNode":v(t);break;case"cdata":g(t,"oncdata",t.cdata),t.cdata="";break;case"script":g(t,"onscript",t.script),t.script="";break;default:_(t,"Max buffer length exceeded: "+D[r])}n=Math.max(n,s)}var a=e.MAX_BUFFER_LENGTH-n;t.bufferCheckPosition=a+t.position}function o(t){for(var e=0,i=D.length;e<i;e++)t[D[e]]=""}function s(t){v(t),""!==t.cdata&&(g(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(g(t,"onscript",t.script),t.script="")}function a(t,e){return new h(t,e)}function h(t,e){if(!(this instanceof h))return new h(t,e);I.apply(this),this._parser=new n(t,e),this.writable=!0,this.readable=!0;var i=this;this._parser.onend=function(){i.emit("end")},this._parser.onerror=function(t){i.emit("error",t),i._parser.error=null},this._decoder=null,L.forEach(function(t){Object.defineProperty(i,"on"+t,{get:function(){return i._parser["on"+t]},set:function(e){return e?void i.on(t,e):(i.removeAllListeners(t),i._parser["on"+t]=e,e)},enumerable:!0,configurable:!1})})}function u(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function c(t){return'"'===t||"'"===t}function l(t){return">"===t||u(t)}function p(t,e){return t.test(e)}function f(t,e){return!p(t,e)}function d(t,e,i){t[e]&&t[e](i)}function g(t,e,i){t.textNode&&v(t),d(t,e,i)}function v(t){t.textNode=m(t.opt,t.textNode),t.textNode&&d(t,"ontext",t.textNode),t.textNode=""}function m(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function _(t,e){return v(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,d(t,"onerror",e),t}function y(t){return t.sawRoot&&!t.closedRoot&&b(t,"Unclosed root tag"),t.state!==U.BEGIN&&t.state!==U.BEGIN_WHITESPACE&&t.state!==U.TEXT&&_(t,"Unexpected end"),v(t),t.c="",t.closed=!0,d(t,"onend"),n.call(t,t.strict,t.opt),t}function b(t,e){if("object"!=typeof t||!(t instanceof n))throw new Error("bad call to strictFail");t.strict&&_(t,e)}function w(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,i=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(i.ns=e.ns),t.attribList.length=0,g(t,"onopentagstart",i)}function A(t,e){var i=t.indexOf(":"),n=i<0?["",t]:t.split(":"),r=n[0],o=n[1];return e&&"xmlns"===t&&(r="xmlns",o=""),{prefix:r,local:o}}function x(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),t.attribList.indexOf(t.attribName)!==-1||t.tag.attributes.hasOwnProperty(t.attribName))return void(t.attribName=t.attribValue="");if(t.opt.xmlns){var e=A(t.attribName,!0),i=e.prefix,n=e.local;if("xmlns"===i)if("xml"===n&&t.attribValue!==R)b(t,"xml: prefix must be bound to "+R+"\nActual: "+t.attribValue);else if("xmlns"===n&&t.attribValue!==j)b(t,"xmlns: prefix must be bound to "+j+"\nActual: "+t.attribValue);else{var r=t.tag,o=t.tags[t.tags.length-1]||t;r.ns===o.ns&&(r.ns=Object.create(o.ns)),r.ns[n]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,g(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}function S(t,e){if(t.opt.xmlns){var i=t.tag,n=A(t.tagName);i.prefix=n.prefix,i.local=n.local,i.uri=i.ns[n.prefix]||"",i.prefix&&!i.uri&&(b(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),i.uri=n.prefix);var r=t.tags[t.tags.length-1]||t;i.ns&&r.ns!==i.ns&&Object.keys(i.ns).forEach(function(e){g(t,"onopennamespace",{prefix:e,uri:i.ns[e]})});for(var o=0,s=t.attribList.length;o<s;o++){var a=t.attribList[o],h=a[0],u=a[1],c=A(h,!0),l=c.prefix,p=c.local,f=""===l?"":i.ns[l]||"",d={name:h,value:u,prefix:l,local:p,uri:f};l&&"xmlns"!==l&&!f&&(b(t,"Unbound namespace prefix: "+JSON.stringify(l)),d.uri=l),t.tag.attributes[h]=d,g(t,"onattribute",d)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),g(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=U.TEXT:t.state=U.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function C(t){if(!t.tagName)return b(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=U.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=U.SCRIPT);g(t,"onscript",t.script),t.script=""}var e=t.tags.length,i=t.tagName;t.strict||(i=i[t.looseCase]());for(var n=i;e--;){var r=t.tags[e];if(r.name===n)break;b(t,"Unexpected close tag")}if(e<0)return b(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=U.TEXT);t.tagName=i;for(var o=t.tags.length;o-- >e;){var s=t.tag=t.tags.pop();t.tagName=t.tag.name,g(t,"onclosetag",t.tagName);var a={};for(var h in s.ns)a[h]=s.ns[h];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&s.ns!==u.ns&&Object.keys(s.ns).forEach(function(e){var i=s.ns[e];g(t,"onclosenamespace",{prefix:e,uri:i})})}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=U.TEXT}function P(t){var e,i=t.entity,n=i.toLowerCase(),r="";return t.ENTITIES[i]?t.ENTITIES[i]:t.ENTITIES[n]?t.ENTITIES[n]:(i=n,"#"===i.charAt(0)&&("x"===i.charAt(1)?(i=i.slice(2),e=parseInt(i,16),r=e.toString(16)):(i=i.slice(1),e=parseInt(i,10),r=e.toString(10))),i=i.replace(/^0+/,""),isNaN(e)||r.toLowerCase()!==i?(b(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function T(t,e){"<"===e?(t.state=U.OPEN_WAKA,t.startTagPosition=t.position):u(e)||(b(t,"Non-whitespace before first tag."),t.textNode=e,t.state=U.TEXT)}function k(t,e){var i="";return e<t.length&&(i=t.charAt(e)),i}function E(t){var e=this;if(this.error)throw this.error;if(e.closed)return _(e,"Cannot write after close. Assign an onready handler.");if(null===t)return y(e);"object"==typeof t&&(t=t.toString());for(var i=0,n="";n=k(t,i++),e.c=n,n;)switch(e.trackPosition&&(e.position++,"\n"===n?(e.line++,e.column=0):e.column++),e.state){case U.BEGIN:if(e.state=U.BEGIN_WHITESPACE,"\ufeff"===n)continue;T(e,n);continue;case U.BEGIN_WHITESPACE:T(e,n);continue;case U.TEXT:if(e.sawRoot&&!e.closedRoot){for(var o=i-1;n&&"<"!==n&&"&"!==n;)n=k(t,i++),n&&e.trackPosition&&(e.position++,"\n"===n?(e.line++,e.column=0):e.column++);e.textNode+=t.substring(o,i-1)}"<"!==n||e.sawRoot&&e.closedRoot&&!e.strict?(u(n)||e.sawRoot&&!e.closedRoot||b(e,"Text data outside of root node."),"&"===n?e.state=U.TEXT_ENTITY:e.textNode+=n):(e.state=U.OPEN_WAKA,e.startTagPosition=e.position);continue;case U.SCRIPT:"<"===n?e.state=U.SCRIPT_ENDING:e.script+=n;continue;case U.SCRIPT_ENDING:"/"===n?e.state=U.CLOSE_TAG:(e.script+="<"+n,e.state=U.SCRIPT);continue;case U.OPEN_WAKA:if("!"===n)e.state=U.SGML_DECL,e.sgmlDecl="";else if(u(n));else if(p(F,n))e.state=U.OPEN_TAG,e.tagName=n;else if("/"===n)e.state=U.CLOSE_TAG,e.tagName="";else if("?"===n)e.state=U.PROC_INST,e.procInstName=e.procInstBody="";else{if(b(e,"Unencoded <"),e.startTagPosition+1<e.position){var s=e.position-e.startTagPosition;n=new Array(s).join(" ")+n}e.textNode+="<"+n,e.state=U.TEXT}continue;
case U.SGML_DECL:(e.sgmlDecl+n).toUpperCase()===$?(g(e,"onopencdata"),e.state=U.CDATA,e.sgmlDecl="",e.cdata=""):e.sgmlDecl+n==="--"?(e.state=U.COMMENT,e.comment="",e.sgmlDecl=""):(e.sgmlDecl+n).toUpperCase()===O?(e.state=U.DOCTYPE,(e.doctype||e.sawRoot)&&b(e,"Inappropriately located doctype declaration"),e.doctype="",e.sgmlDecl=""):">"===n?(g(e,"onsgmldeclaration",e.sgmlDecl),e.sgmlDecl="",e.state=U.TEXT):c(n)?(e.state=U.SGML_DECL_QUOTED,e.sgmlDecl+=n):e.sgmlDecl+=n;continue;case U.SGML_DECL_QUOTED:n===e.q&&(e.state=U.SGML_DECL,e.q=""),e.sgmlDecl+=n;continue;case U.DOCTYPE:">"===n?(e.state=U.TEXT,g(e,"ondoctype",e.doctype),e.doctype=!0):(e.doctype+=n,"["===n?e.state=U.DOCTYPE_DTD:c(n)&&(e.state=U.DOCTYPE_QUOTED,e.q=n));continue;case U.DOCTYPE_QUOTED:e.doctype+=n,n===e.q&&(e.q="",e.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:e.doctype+=n,"]"===n?e.state=U.DOCTYPE:c(n)&&(e.state=U.DOCTYPE_DTD_QUOTED,e.q=n);continue;case U.DOCTYPE_DTD_QUOTED:e.doctype+=n,n===e.q&&(e.state=U.DOCTYPE_DTD,e.q="");continue;case U.COMMENT:"-"===n?e.state=U.COMMENT_ENDING:e.comment+=n;continue;case U.COMMENT_ENDING:"-"===n?(e.state=U.COMMENT_ENDED,e.comment=m(e.opt,e.comment),e.comment&&g(e,"oncomment",e.comment),e.comment=""):(e.comment+="-"+n,e.state=U.COMMENT);continue;case U.COMMENT_ENDED:">"!==n?(b(e,"Malformed comment"),e.comment+="--"+n,e.state=U.COMMENT):e.state=U.TEXT;continue;case U.CDATA:"]"===n?e.state=U.CDATA_ENDING:e.cdata+=n;continue;case U.CDATA_ENDING:"]"===n?e.state=U.CDATA_ENDING_2:(e.cdata+="]"+n,e.state=U.CDATA);continue;case U.CDATA_ENDING_2:">"===n?(e.cdata&&g(e,"oncdata",e.cdata),g(e,"onclosecdata"),e.cdata="",e.state=U.TEXT):"]"===n?e.cdata+="]":(e.cdata+="]]"+n,e.state=U.CDATA);continue;case U.PROC_INST:"?"===n?e.state=U.PROC_INST_ENDING:u(n)?e.state=U.PROC_INST_BODY:e.procInstName+=n;continue;case U.PROC_INST_BODY:if(!e.procInstBody&&u(n))continue;"?"===n?e.state=U.PROC_INST_ENDING:e.procInstBody+=n;continue;case U.PROC_INST_ENDING:">"===n?(g(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody}),e.procInstName=e.procInstBody="",e.state=U.TEXT):(e.procInstBody+="?"+n,e.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:p(N,n)?e.tagName+=n:(w(e),">"===n?S(e):"/"===n?e.state=U.OPEN_TAG_SLASH:(u(n)||b(e,"Invalid character in tag name"),e.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:">"===n?(S(e,!0),C(e)):(b(e,"Forward-slash in opening tag not followed by >"),e.state=U.ATTRIB);continue;case U.ATTRIB:if(u(n))continue;">"===n?S(e):"/"===n?e.state=U.OPEN_TAG_SLASH:p(F,n)?(e.attribName=n,e.attribValue="",e.state=U.ATTRIB_NAME):b(e,"Invalid attribute name");continue;case U.ATTRIB_NAME:"="===n?e.state=U.ATTRIB_VALUE:">"===n?(b(e,"Attribute without value"),e.attribValue=e.attribName,x(e),S(e)):u(n)?e.state=U.ATTRIB_NAME_SAW_WHITE:p(N,n)?e.attribName+=n:b(e,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if("="===n)e.state=U.ATTRIB_VALUE;else{if(u(n))continue;b(e,"Attribute without value"),e.tag.attributes[e.attribName]="",e.attribValue="",g(e,"onattribute",{name:e.attribName,value:""}),e.attribName="",">"===n?S(e):p(F,n)?(e.attribName=n,e.state=U.ATTRIB_NAME):(b(e,"Invalid attribute name"),e.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(u(n))continue;c(n)?(e.q=n,e.state=U.ATTRIB_VALUE_QUOTED):(b(e,"Unquoted attribute value"),e.state=U.ATTRIB_VALUE_UNQUOTED,e.attribValue=n);continue;case U.ATTRIB_VALUE_QUOTED:if(n!==e.q){"&"===n?e.state=U.ATTRIB_VALUE_ENTITY_Q:e.attribValue+=n;continue}x(e),e.q="",e.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:u(n)?e.state=U.ATTRIB:">"===n?S(e):"/"===n?e.state=U.OPEN_TAG_SLASH:p(F,n)?(b(e,"No whitespace between attributes"),e.attribName=n,e.attribValue="",e.state=U.ATTRIB_NAME):b(e,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(!l(n)){"&"===n?e.state=U.ATTRIB_VALUE_ENTITY_U:e.attribValue+=n;continue}x(e),">"===n?S(e):e.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(e.tagName)">"===n?C(e):p(N,n)?e.tagName+=n:e.script?(e.script+="</"+e.tagName,e.tagName="",e.state=U.SCRIPT):(u(n)||b(e,"Invalid tagname in closing tag"),e.state=U.CLOSE_TAG_SAW_WHITE);else{if(u(n))continue;f(F,n)?e.script?(e.script+="</"+n,e.state=U.SCRIPT):b(e,"Invalid tagname in closing tag."):e.tagName=n}continue;case U.CLOSE_TAG_SAW_WHITE:if(u(n))continue;">"===n?C(e):b(e,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var a,h;switch(e.state){case U.TEXT_ENTITY:a=U.TEXT,h="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:a=U.ATTRIB_VALUE_QUOTED,h="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:a=U.ATTRIB_VALUE_UNQUOTED,h="attribValue"}";"===n?(e[h]+=P(e),e.entity="",e.state=a):p(e.entity.length?H:B,n)?e.entity+=n:(b(e,"Invalid character in entity name"),e[h]+="&"+e.entity+n,e.entity="",e.state=a);continue;default:throw new Error(e,"Unknown state: "+e.state)}return e.position>=e.bufferCheckPosition&&r(e),e}e.parser=function(t,e){return new n(t,e)},e.SAXParser=n,e.SAXStream=h,e.createStream=a,e.MAX_BUFFER_LENGTH=65536;var D=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}e.prototype=t;var i=new e;return i}),Object.keys||(Object.keys=function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e}),n.prototype={end:function(){y(this)},write:E,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){s(this)}};var I;try{I=i(174).Stream}catch(t){I=function(){}}var L=e.EVENTS.filter(function(t){return"error"!==t&&"end"!==t});h.prototype=Object.create(I.prototype,{constructor:{value:h}}),h.prototype.write=function(e){if("function"==typeof t&&"function"==typeof t.isBuffer&&t.isBuffer(e)){if(!this._decoder){var n=i(175).StringDecoder;this._decoder=new n("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},h.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},h.prototype.on=function(t,e){var i=this;return i._parser["on"+t]||L.indexOf(t)===-1||(i._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),i.emit.apply(i,e)}),I.prototype.on.call(i,t,e)};var $="[CDATA[",O="DOCTYPE",R="http://www.w3.org/XML/1998/namespace",j="http://www.w3.org/2000/xmlns/",M={xml:R,xmlns:j},F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,N=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,H=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,U=0;e.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(t){var i=e.ENTITIES[t],n="number"==typeof i?String.fromCharCode(i):i;e.ENTITIES[t]=n});for(var z in e.STATE)e.STATE[e.STATE[z]]=z;U=e.STATE,/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
String.fromCodePoint||!function(){var t=String.fromCharCode,e=Math.floor,i=function(){var i,n,r=16384,o=[],s=-1,a=arguments.length;if(!a)return"";for(var h="";++s<a;){var u=Number(arguments[s]);if(!isFinite(u)||u<0||u>1114111||e(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?o.push(u):(u-=65536,i=(u>>10)+55296,n=u%1024+56320,o.push(i,n)),(s+1===a||o.length>r)&&(h+=t.apply(null,o),o.length=0)}return h};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i}()}(e)}).call(e,i(22).Buffer)},function(t,e,i){(function(t,e){!function(t,i){"use strict";function n(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),i=0;i<e.length;i++)e[i]=arguments[i+1];var n={callback:t,args:e};return g[d]=n,f(d),d++}function r(t){delete g[t]}function o(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(i,n)}}function s(t){if(v)setTimeout(s,0,t);else{var e=g[t];if(e){v=!0;try{o(e)}finally{r(t),v=!1}}}}function a(){f=function(t){e.nextTick(function(){s(t)})}}function h(){if(t.postMessage&&!t.importScripts){var e=!0,i=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=i,e}}function u(){var e="setImmediate$"+Math.random()+"$",i=function(i){i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(e)&&s(+i.data.slice(e.length))};t.addEventListener?t.addEventListener("message",i,!1):t.attachEvent("onmessage",i),f=function(i){t.postMessage(e+i,"*")}}function c(){var t=new MessageChannel;t.port1.onmessage=function(t){var e=t.data;s(e)},f=function(e){t.port2.postMessage(e)}}function l(){var t=m.documentElement;f=function(e){var i=m.createElement("script");i.onreadystatechange=function(){s(e),i.onreadystatechange=null,t.removeChild(i),i=null},t.appendChild(i)}}function p(){f=function(t){setTimeout(s,0,t)}}if(!t.setImmediate){var f,d=1,g={},v=!1,m=t.document,_=Object.getPrototypeOf&&Object.getPrototypeOf(t);_=_&&_.setTimeout?_:t,"[object process]"==={}.toString.call(t.process)?a():h()?u():t.MessageChannel?c():m&&"onreadystatechange"in m.createElement("script")?l():p(),_.setImmediate=n,_.clearImmediate=r}}("undefined"==typeof self?"undefined"==typeof t?this:t:self)}).call(e,function(){return this}(),i(7))},function(t,e,i){function n(){r.call(this)}t.exports=n;var r=i(23).EventEmitter,o=i(16);o(n,r),n.Readable=i(36),n.Writable=i(171),n.Duplex=i(166),n.Transform=i(170),n.PassThrough=i(169),n.Stream=n,n.prototype.pipe=function(t,e){function i(e){t.writable&&!1===t.write(e)&&u.pause&&u.pause()}function n(){u.readable&&u.resume&&u.resume()}function o(){c||(c=!0,t.end())}function s(){c||(c=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(h(),0===r.listenerCount(this,"error"))throw t}function h(){u.removeListener("data",i),t.removeListener("drain",n),u.removeListener("end",o),u.removeListener("close",s),u.removeListener("error",a),t.removeListener("error",a),u.removeListener("end",h),u.removeListener("close",h),t.removeListener("close",h)}var u=this;u.on("data",i),t.on("drain",n),t._isStdio||e&&e.end===!1||(u.on("end",o),u.on("close",s));var c=!1;return u.on("error",a),t.on("error",a),u.on("end",h),u.on("close",h),t.on("close",h),t.emit("pipe",u),t}},function(t,e,i){function n(t){if(t&&!h(t))throw new Error("Unknown encoding: "+t)}function r(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function s(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var a=i(22).Buffer,h=a.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),n(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=r)}this.charBuffer=new a(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(t){for(var e="";this.charLength;){var i=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,i),this.charReceived+=i,this.charReceived<this.charLength)return"";t=t.slice(i,t.length),e=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var n=e.charCodeAt(e.length-1);if(!(n>=55296&&n<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var r=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,r),r-=this.charReceived),e+=t.toString(this.encoding,0,r);var r=e.length-1,n=e.charCodeAt(r);if(n>=55296&&n<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,r)}return e},u.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var i=t[t.length-e];if(1==e&&i>>5==6){this.charLength=2;break}if(e<=2&&i>>4==14){this.charLength=3;break}if(e<=3&&i>>3==30){this.charLength=4;break}}this.charReceived=e},u.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var i=this.charReceived,n=this.charBuffer,r=this.encoding;e+=n.slice(0,i).toString(r)}return e}},function(t,e){(function(e){function i(t,e){function i(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}if(n("noDeprecation"))return t;var r=!1;return i}function n(t){try{if(!e.localStorage)return!1}catch(t){return!1}var i=e.localStorage[t];return null!=i&&"true"===String(i).toLowerCase()}t.exports=i}).call(e,function(){return this}())},function(t,e,i){var n=i(181),r=i(179),o=i(38);t.exports=function(t){function e(o,h){var u;return t.isPlainObject(o)&&(h=o,o=""),h=t.extend({url:o},h),h=t.extend(!0,{},e.options,this.options,h),null===h.crossOrigin&&(h.crossOrigin=a(h.url)),h.method=h.method.toUpperCase(),h.headers=t.extend({},e.headers.common,h.crossOrigin?{}:e.headers.custom,e.headers[h.method.toLowerCase()],h.headers),t.isPlainObject(h.data)&&/^(GET|JSONP)$/i.test(h.method)&&(t.extend(h.params,h.data),delete h.data),h.emulateHTTP&&!h.crossOrigin&&/^(PUT|PATCH|DELETE)$/i.test(h.method)&&(h.headers["X-HTTP-Method-Override"]=h.method,h.method="POST"),h.emulateJSON&&t.isPlainObject(h.data)&&(h.headers["Content-Type"]="application/x-www-form-urlencoded",h.data=t.url.params(h.data)),t.isObject(h.data)&&/FormData/i.test(h.data.toString())&&delete h.headers["Content-Type"],t.isPlainObject(h.data)&&(h.data=JSON.stringify(h.data)),u=("JSONP"==h.method?r:n).call(this.vm,t,h),u=i(u.then(s,s),this.vm),h.success&&(u=u.success(h.success)),h.error&&(u=u.error(h.error)),u}function i(t,e){return t.success=function(n){return i(t.then(function(t){return n.call(e,t.data,t.status,t)||t}),e)},t.error=function(n){return i(t.then(void 0,function(t){return n.call(e,t.data,t.status,t)||t}),e)},t.always=function(n){var r=function(t){return n.call(e,t.data,t.status,t)||t};return i(t.then(r,r),e)},t}function s(t){try{t.data=JSON.parse(t.responseText)}catch(e){t.data=t.responseText}return t.ok?t:o.reject(t)}function a(e){var i=t.url.parse(e);return i.protocol!==h.protocol||i.host!==h.host}var h=t.url.parse(location.href),u={"Content-Type":"application/json;charset=utf-8"};return e.options={method:"get",params:{},data:"",xhr:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1},e.headers={put:u,post:u,patch:u,delete:u,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(i){e[i]=function(e,n,r,o){return t.isFunction(n)&&(o=r,r=n,n=void 0),this(e,t.extend({method:i,data:n,success:r},o))}}),t.http=e}},function(t,e,i){function n(t){var e=i(180)(t);t.url=i(183)(e),t.http=i(177)(e),t.resource=i(182)(e),Object.defineProperties(t.prototype,{$url:{get:function(){return e.options(t.url,this,this.$options.url)}},$http:{get:function(){return e.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}}})}window.Vue&&Vue.use(n),t.exports=n},function(t,e,i){var n=i(38);t.exports=function(t,e){var i,r,o="_jsonp"+Math.random().toString(36).substr(2),s={};return e.params[e.jsonp]=o,t.isFunction(e.beforeSend)&&e.beforeSend.call(this,{},e),new n(function(n,a){i=document.createElement("script"),i.src=t.url(e),i.type="text/javascript",i.async=!0,window[o]=function(t){r=t};var h=function(t){delete window[o],document.body.removeChild(i),"load"!==t.type||r||(t.type="error"),s.ok="error"!==t.type,s.status=s.ok?200:404,s.responseText=r?r:t.type,(s.ok?n:a)(s)};i.onload=h,i.onerror=h,document.body.appendChild(i)})}},function(t,e){t.exports=function(t){function e(t,n,r){for(var o in n)r&&(i.isPlainObject(n[o])||i.isArray(n[o]))?(i.isPlainObject(n[o])&&!i.isPlainObject(t[o])&&(t[o]={}),i.isArray(n[o])&&!i.isArray(t[o])&&(t[o]=[]),e(t[o],n[o],r)):void 0!==n[o]&&(t[o]=n[o])}var i=t.util.extend({},t.util);return i.isString=function(t){return"string"==typeof t},i.isFunction=function(t){return"function"==typeof t},i.options=function(t,e,n){return n=n||{},i.isFunction(n)&&(n=n.call(e)),i.extend(t.bind({vm:e,options:n}),t,{options:n})},i.each=function(t,e){var n,r;if("number"==typeof t.length)for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(i.isObject(t))for(r in t)t.hasOwnProperty(r)&&e.call(t[r],t[r],r);return t},i.extend=function(t){var i,n=[],r=n.slice.call(arguments,1);return"boolean"==typeof t&&(i=t,t=r.shift()),r.forEach(function(n){e(t,n,i)}),t},i}},function(t,e,i){var n=i(38),r=window.XDomainRequest;t.exports=function(t,e){var i,o=new XMLHttpRequest;return r&&e.crossOrigin&&(o=new XDomainRequest,e.headers={}),t.isPlainObject(e.xhr)&&t.extend(o,e.xhr),t.isFunction(e.beforeSend)&&e.beforeSend.call(this,o,e),i=new n(function(i,n){o.open(e.method,t.url(e),!0),t.each(e.headers,function(t,e){o.setRequestHeader(e,t)});var r=function(t){o.ok="load"===t.type,o.ok&&o.status&&(o.ok=o.status>=200&&o.status<300),(o.ok?i:n)(o)};o.onload=r,o.onabort=r,o.onerror=r,o.send(e.data)})}},function(t,e){t.exports=function(t){function e(n,r,o,s){var a=this,h={};return o=t.extend({},e.actions,o),t.each(o,function(e,o){e=t.extend(!0,{url:n,params:r||{}},s,e),h[o]=function(){return(a.$http||t.http)(i(e,arguments))}}),h}function i(e,i){var n,r,o,s=t.extend({},e),a={};switch(i.length){case 4:o=i[3],r=i[2];case 3:case 2:if(!t.isFunction(i[1])){a=i[0],n=i[1],r=i[2];break}if(t.isFunction(i[0])){r=i[0],o=i[1];break}r=i[1],o=i[2];case 1:t.isFunction(i[0])?r=i[0]:/^(POST|PUT|PATCH)$/i.test(s.method)?n=i[0]:a=i[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+i.length+" arguments"}return s.data=n,s.params=t.extend({},s.params,a),r&&(s.success=r),o&&(s.error=o),s}return e.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},t.resource=e}},function(t,e){var i=document.documentMode,n=document.createElement("a");t.exports=function(t){function e(i,n){var r,s={},a={},h=i;return t.isPlainObject(h)||(h={url:i,params:n}),h=t.extend(!0,{},e.options,this.options,h),i=h.url.replace(/(\/?):([a-z]\w*)/gi,function(t,e,i){return h.params[i]?(s[i]=!0,e+o(h.params[i])):""}),t.isString(h.root)&&!i.match(/^(https?:)?\//)&&(i=h.root+"/"+i),t.each(h.params,function(t,e){s[e]||(a[e]=t)}),r=e.params(a),r&&(i+=(i.indexOf("?")==-1?"?":"&")+r),i}function r(e,i,n){var o,s=t.isArray(i),a=t.isPlainObject(i);t.each(i,function(i,h){o=t.isObject(i)||t.isArray(i),n&&(h=n+"["+(a||o?h:"")+"]"),!n&&s?e.add(i.name,i.value):o?r(e,i,h):e.add(h,i)})}function o(t){return s(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function s(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,e?"%20":"+")}return e.options={url:"",root:null,params:{}},e.params=function(e){var i=[];return i.add=function(e,i){t.isFunction(i)&&(i=i()),null===i&&(i=""),this.push(o(e)+"="+o(i))},r(i,e),i.join("&")},e.parse=function(t){return i&&(n.href=t,t=n.href),n.href=t,{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",port:n.port,host:n.host,hostname:n.hostname,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):""}},t.url=e}},function(t,e,i){!function(){function e(t){return t.charAt(0).toUpperCase()+t.slice(1)}function n(t){var e=t.direction;if("string"==typeof e){var i="DIRECTION_"+e.toUpperCase();a.indexOf(e)>-1&&o.hasOwnProperty(i)?t.direction=o[i]:console.warn("[vue-touch] invalid direction: "+e)}}var r={},o=i(24),s=["tap","pan","pinch","press","rotate","swipe"],a=["up","down","left","right","horizontal","vertical","all"],h={};if(!o)throw new Error("[vue-touch] cannot locate Hammer.js.");r.config={},r.install=function(t){t.directive("touch",{isFn:!0,acceptStatement:!0,priority:t.directive("on").priority,bind:function(){this.el.hammer||(this.el.hammer=new o.Manager(this.el));var t=this.mc=this.el.hammer,i=this.arg;i||console.warn("[vue-touch] event type argument is required.");var a,u;if(h[i]){var c=h[i];a=c.type,u=new(o[e(a)])(c),u.recognizeWith(t.recognizers),t.add(u)}else{for(var l=0;l<s.length;l++)if(0===i.indexOf(s[l])){a=s[l];break}if(!a)return void console.warn("[vue-touch] invalid event type: "+i);u=t.get(a),u||(u=new(o[e(a)]),u.recognizeWith(t.recognizers),t.add(u));var p=r.config[a];p&&(n(p),u.set(p));var f=this.el.hammerOptions&&this.el.hammerOptions[a];f&&(n(f),u.set(f))}this.recognizer=u},update:function(t){var e=this.mc,i=this.arg;this.handler&&e.off(i,this.handler),"function"!=typeof t?(this.handler=null,console.warn("[vue-touch] invalid handler function for v-touch: "+this.arg+'="'+this.descriptor.raw)):e.on(i,this.handler=t)},unbind:function(){this.handler&&this.mc.off(this.arg,this.handler),Object.keys(this.mc.handlers).length||(this.mc.destroy(),this.el.hammer=null)}}),t.directive("touch-options",{priority:t.directive("on").priority+1,update:function(t){var e=this.el.hammerOptions||(this.el.hammerOptions={});this.arg?e[this.arg]=t:console.warn("[vue-touch] recognizer type argument for v-touch-options is required.")}})},r.registerCustomEvent=function(t,e){e.event=t,h[t]=e},t.exports=r}()},function(t,e,i){/*!
	 * Vue.js v1.0.28
	 * (c) 2016 Evan You
	 * Released under the MIT License.
	 */
!function(e,i){t.exports=i()}(this,function(){"use strict";function t(e,n,r){if(i(e,n))return void(e[n]=r);if(e._isVue)return void t(e._data,n,r);var o=e.__ob__;if(!o)return void(e[n]=r);if(o.convert(n,r),o.dep.notify(),o.vms)for(var s=o.vms.length;s--;){var a=o.vms[s];a._proxy(n),a._digest()}return r}function e(t,e){if(i(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];o._unproxy(e),o._digest()}}}function i(t,e){return Ui.call(t,e)}function n(t){return zi.test(t)}function r(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function o(t){return null==t?"":t.toString()}function s(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function a(t){return"true"===t||"false"!==t&&t}function h(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function u(t){return t.replace(Wi,c)}function c(t,e){return e?e.toUpperCase():""}function l(t){return t.replace(Yi,"$1-$2").replace(Yi,"$1-$2").toLowerCase()}function p(t){return t.replace(Vi,c)}function f(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function d(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function g(t,e){for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t}function v(t){return null!==t&&"object"==typeof t}function m(t){return Xi.call(t)===qi}function _(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function y(t,e){var i,n,r,o,s,a=function a(){var h=Date.now()-o;h<e&&h>=0?i=setTimeout(a,e-h):(i=null,s=t.apply(r,n),i||(r=n=null))};return function(){return r=this,n=arguments,o=Date.now(),i||(i=setTimeout(a,e)),s}}function b(t,e){for(var i=t.length;i--;)if(t[i]===e)return i;return-1}function w(t){var e=function e(){if(!e.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function A(t,e){return t==e||!(!v(t)||!v(e))&&JSON.stringify(t)===JSON.stringify(e)}function x(t){return/native code/.test(t.toString())}function S(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function C(){return dn.charCodeAt(mn+1)}function P(){return dn.charCodeAt(++mn)}function T(){return mn>=vn}function k(){for(;C()===Dn;)P()}function E(t){return t===Pn||t===Tn}function D(t){return In[t]}function I(t,e){return Ln[t]===e}function L(){for(var t,e=P();!T();)if(t=P(),t===En)P();else if(t===e)break}function $(t){for(var e=0,i=t;!T();)if(t=C(),E(t))L();else if(i===t&&e++,I(i,t)&&e--,P(),0===e)break}function O(){for(var t=mn;!T();)if(_n=C(),E(_n))L();else if(D(_n))$(_n);else if(_n===kn){if(P(),_n=C(),_n!==kn){yn!==An&&yn!==Cn||(yn=xn);break}P()}else{if(_n===Dn&&(yn===Sn||yn===Cn)){k();break}yn===xn&&(yn=Sn),P()}return dn.slice(t+1,mn)||null}function R(){for(var t=[];!T();)t.push(j());return t}function j(){var t,e={};return yn=xn,e.name=O().trim(),yn=Cn,t=M(),t.length&&(e.args=t),e}function M(){for(var t=[];!T()&&yn!==xn;){var e=O();if(!e)break;t.push(F(e))}return t}function F(t){if(wn.test(t))return{value:s(t),dynamic:!1};var e=h(t),i=e===t;return{value:i?t:e,dynamic:i}}function N(t){var e=bn.get(t);if(e)return e;dn=t,gn={},vn=dn.length,mn=-1,_n="",yn=An;var i;return dn.indexOf("|")<0?gn.expression=dn.trim():(gn.expression=O().trim(),i=R(),i.length&&(gn.filters=i)),bn.put(t,gn),gn}function B(t){return t.replace(On,"\\$&")}function H(){var t=B(Un.delimiters[0]),e=B(Un.delimiters[1]),i=B(Un.unsafeDelimiters[0]),n=B(Un.unsafeDelimiters[1]);jn=new RegExp(i+"((?:.|\\n)+?)"+n+"|"+t+"((?:.|\\n)+?)"+e,"g"),Mn=new RegExp("^"+i+"((?:.|\\n)+?)"+n+"$"),Rn=new S(1e3)}function U(t){Rn||H();var e=Rn.get(t);if(e)return e;if(!jn.test(t))return null;for(var i,n,r,o,s,a,h=[],u=jn.lastIndex=0;i=jn.exec(t);)n=i.index,n>u&&h.push({value:t.slice(u,n)}),r=Mn.test(i[0]),o=r?i[1]:i[2],s=o.charCodeAt(0),a=42===s,o=a?o.slice(1):o,h.push({tag:!0,value:o.trim(),html:r,oneTime:a}),u=n+i[0].length;return u<t.length&&h.push({value:t.slice(u)}),Rn.put(t,h),h}function z(t,e){return t.length>1?t.map(function(t){return W(t,e)}).join("+"):W(t[0],e,!0)}function W(t,e,i){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':Y(t.value,i):'"'+t.value+'"'}function Y(t,e){if(Fn.test(t)){var i=N(t);return i.filters?"this._applyFilters("+i.expression+",null,"+JSON.stringify(i.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function V(t,e,i,n){G(t,1,function(){e.appendChild(t)},i,n)}function X(t,e,i,n){G(t,1,function(){et(t,e)},i,n)}function q(t,e,i){G(t,-1,function(){nt(t)},e,i)}function G(t,e,i,n,r){var o=t.__v_trans;if(!o||!o.hooks&&!sn||!n._isCompiled||n.$parent&&!n.$parent._isCompiled)return i(),void(r&&r());var s=e>0?"enter":"leave";o[s](i,r)}function Z(t){if("string"==typeof t){var e=t;t=document.querySelector(t),t||zn("Cannot find element: "+e)}return t}function Q(t){if(!t)return!1;var e=t.ownerDocument.documentElement,i=t.parentNode;return e===t||e===i||!(!i||1!==i.nodeType||!e.contains(i))}function J(t,e){var i=t.getAttribute(e);return null!==i&&t.removeAttribute(e),i}function K(t,e){var i=J(t,":"+e);return null===i&&(i=J(t,"v-bind:"+e)),i}function tt(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function et(t,e){e.parentNode.insertBefore(t,e)}function it(t,e){e.nextSibling?et(t,e.nextSibling):e.parentNode.appendChild(t)}function nt(t){t.parentNode.removeChild(t)}function rt(t,e){e.firstChild?et(t,e.firstChild):e.appendChild(t)}function ot(t,e){var i=t.parentNode;i&&i.replaceChild(e,t)}function st(t,e,i,n){t.addEventListener(e,i,n)}function at(t,e,i){t.removeEventListener(e,i)}function ht(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function ut(t,e){en&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function ct(t,e){if(t.classList)t.classList.add(e);else{var i=" "+ht(t)+" ";i.indexOf(" "+e+" ")<0&&ut(t,(i+e).trim())}}function lt(t,e){if(t.classList)t.classList.remove(e);else{for(var i=" "+ht(t)+" ",n=" "+e+" ";i.indexOf(n)>=0;)i=i.replace(n," ");ut(t,i.trim())}t.className||t.removeAttribute("class")}function pt(t,e){var i,n;if(gt(t)&&bt(t.content)&&(t=t.content),t.hasChildNodes())for(ft(t),n=e?document.createDocumentFragment():document.createElement("div");i=t.firstChild;)n.appendChild(i);return n}function ft(t){for(var e;e=t.firstChild,dt(e);)t.removeChild(e);for(;e=t.lastChild,dt(e);)t.removeChild(e)}function dt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function gt(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function vt(t,e){var i=Un.debug?document.createComment(t):document.createTextNode(e?" ":"");return i.__v_anchor=!0,i}function mt(t){if(t.hasAttributes())for(var e=t.attributes,i=0,n=e.length;i<n;i++){var r=e[i].name;if(Vn.test(r))return u(r.replace(Vn,""))}}function _t(t,e,i){for(var n;t!==e;)n=t.nextSibling,i(t),t=n;i(e)}function yt(t,e,i,n,r){function o(){if(a++,s&&a>=h.length){for(var t=0;t<h.length;t++)n.appendChild(h[t]);r&&r()}}var s=!1,a=0,h=[];_t(t,e,function(t){t===e&&(s=!0),h.push(t),q(t,i,o)})}function bt(t){return t&&11===t.nodeType}function wt(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}function At(t,e){var i=t.tagName.toLowerCase(),n=t.hasAttributes();if(Xn.test(i)||qn.test(i)){if(n)return xt(t,e)}else{if(Dt(e,"components",i))return{id:i};var r=n&&xt(t,e);if(r)return r;var o=e._componentNameMap&&e._componentNameMap[i];o?zn("Unknown custom element: <"+i+"> - did you mean <"+o+">? HTML is case-insensitive, remember to use kebab-case in templates."):Gn(t,i)&&zn("Unknown custom element: <"+i+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}function xt(t,e){var i=t.getAttribute("is");if(null!=i){if(Dt(e,"components",i))return t.removeAttribute("is"),{id:i}}else if(i=K(t,"is"),null!=i)return{id:i,dynamic:!0}}function St(e,n){var r,o,s;for(r in n)o=e[r],s=n[r],i(e,r)?v(o)&&v(s)&&St(o,s):t(e,r,s);return e}function Ct(t,e){var i=Object.create(t||null);return e?g(i,kt(e)):i}function Pt(t){if(t.components)for(var e,i=t.components=kt(t.components),n=Object.keys(i),r=t._componentNameMap={},o=0,s=n.length;o<s;o++){var a=n[o];Xn.test(a)||qn.test(a)?zn("Do not use built-in or reserved HTML elements as component id: "+a):(r[a.replace(/-/g,"").toLowerCase()]=l(a),e=i[a],m(e)&&(i[a]=ji.extend(e)))}}function Tt(t){var e,i,n=t.props;if(Gi(n))for(t.props={},e=n.length;e--;)i=n[e],"string"==typeof i?t.props[i]=null:i.name&&(t.props[i.name]=i);else if(m(n)){var r=Object.keys(n);for(e=r.length;e--;)i=n[r[e]],"function"==typeof i&&(n[r[e]]={type:i})}}function kt(t){if(Gi(t)){for(var e,i={},n=t.length;n--;){e=t[n];var r="function"==typeof e?e.options&&e.options.name||e.id:e.name||e.id;r?i[r]=e:zn('Array-syntax assets must provide a "name" or "id" field.')}return i}return t}function Et(t,e,n){function r(i){var r=Zn[i]||Qn;s[i]=r(t[i],e[i],n,i)}Pt(e),Tt(e),e.propsData&&!n&&zn("propsData can only be used as an instantiation option.");var o,s={};if(e.extends&&(t="function"==typeof e.extends?Et(t,e.extends.options,n):Et(t,e.extends,n)),e.mixins)for(var a=0,h=e.mixins.length;a<h;a++){var u=e.mixins[a],c=u.prototype instanceof ji?u.options:u;t=Et(t,c,n)}for(o in t)r(o);for(o in e)i(t,o)||r(o);return s}function Dt(t,e,i,n){if("string"==typeof i){var r,o=t[e],s=o[i]||o[r=u(i)]||o[r.charAt(0).toUpperCase()+r.slice(1)];return n&&!s&&zn("Failed to resolve "+e.slice(0,-1)+": "+i,t),s}}function It(){this.id=Jn++,this.subs=[]}function Lt(t){ir=!1,t(),ir=!0}function $t(t){if(this.value=t,this.dep=new It,_(t,"__ob__",this),Gi(t)){var e=Zi?Ot:Rt;e(t,tr,er),this.observeArray(t)}else this.walk(t)}function Ot(t,e){t.__proto__=e}function Rt(t,e,i){for(var n=0,r=i.length;n<r;n++){var o=i[n];_(t,o,e[o])}}function jt(t,e){if(t&&"object"==typeof t){var n;return i(t,"__ob__")&&t.__ob__ instanceof $t?n=t.__ob__:ir&&(Gi(t)||m(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new $t(t)),n&&e&&n.addVm(e),n}}function Mt(t,e,i){var n=new It,r=Object.getOwnPropertyDescriptor(t,e);if(!r||r.configurable!==!1){var o=r&&r.get,s=r&&r.set,a=jt(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):i;if(It.target&&(n.depend(),a&&a.dep.depend(),Gi(e)))for(var r,s=0,h=e.length;s<h;s++)r=e[s],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var r=o?o.call(t):i;e!==r&&(s?s.call(t,e):i=e,a=jt(e),n.notify())}})}}function Ft(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=rr++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=Et(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function Nt(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Bt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(n(e)?h(e):"*"+e)}function Ht(t){function e(){var e=t[c+1];if(l===gr&&"'"===e||l===vr&&'"'===e)return c++,n="\\"+e,f[sr](),!0}var i,n,r,o,s,a,h,u=[],c=-1,l=cr,p=0,f=[];for(f[ar]=function(){void 0!==r&&(u.push(r),r=void 0)},f[sr]=function(){void 0===r?r=n:r+=n},f[hr]=function(){f[sr](),p++},f[ur]=function(){if(p>0)p--,l=dr,f[sr]();else{if(p=0,r=Bt(r),r===!1)return!1;f[ar]()}};null!=l;)if(c++,i=t[c],"\\"!==i||!e()){if(o=Nt(i),h=yr[l],s=h[o]||h.else||_r,s===_r)return;if(l=s[0],a=f[s[1]],a&&(n=s[2],n=void 0===n?i:n,a()===!1))return;if(l===mr)return u.raw=t,u}}function Ut(t){var e=or.get(t);return e||(e=Ht(t),e&&or.put(t,e)),e}function zt(t,e){return Jt(e).get(t)}function Wt(e,i,n){var r=e;if("string"==typeof i&&(i=Ht(i)),!i||!v(e))return!1;for(var o,s,a=0,h=i.length;a<h;a++)o=e,s=i[a],"*"===s.charAt(0)&&(s=Jt(s.slice(1)).get.call(r,r)),a<h-1?(e=e[s],v(e)||(e={},o._isVue&&br(i,o),t(o,s,e))):Gi(e)?e.$set(s,n):s in e?e[s]=n:(e._isVue&&br(i,e),t(e,s,n));return!0}function Yt(){}function Vt(t,e){var i=Or.length;return Or[i]=e?t.replace(kr,"\\n"):t,'"'+i+'"'}function Xt(t){var e=t.charAt(0),i=t.slice(1);return Sr.test(i)?t:(i=i.indexOf('"')>-1?i.replace(Dr,qt):i,e+"scope."+i)}function qt(t,e){return Or[e]}function Gt(t){Pr.test(t)&&zn("Avoid using reserved keywords in expression: "+t),Or.length=0;var e=t.replace(Er,Vt).replace(Tr,"");return e=(" "+e).replace(Lr,Xt).replace(Dr,qt),Zt(e)}function Zt(t){try{return new Function("scope","return "+t+";")}catch(e){return zn(e.toString().match(/unsafe-eval|CSP/)?"It seems you are using the default build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. Use the CSP-compliant build instead: http://vuejs.org/guide/installation.html#CSP-compliant-build":"Invalid expression. Generated function body: "+t),Yt}}function Qt(t){var e=Ut(t);return e?function(t,i){Wt(t,e,i)}:void zn("Invalid setter expression: "+t)}function Jt(t,e){t=t.trim();var i=Ar.get(t);if(i)return e&&!i.set&&(i.set=Qt(i.exp)),i;var n={exp:t};return n.get=Kt(t)&&t.indexOf("[")<0?Zt("scope."+t):Gt(t),e&&(n.set=Qt(t)),Ar.put(t,n),n}function Kt(t){return Ir.test(t)&&!$r.test(t)&&"Math."!==t.slice(0,5)}function te(){jr.length=0,Mr.length=0,Fr={},Nr={},Br=!1}function ee(){for(var t=!0;t;)t=!1,ie(jr),ie(Mr),jr.length?t=!0:(Ji&&Un.devtools&&Ji.emit("flush"),te())}function ie(t){for(var e=0;e<t.length;e++){var i=t[e],n=i.id;if(Fr[n]=null,i.run(),null!=Fr[n]&&(Nr[n]=(Nr[n]||0)+1,Nr[n]>Un._maxUpdateCount)){zn('You may have an infinite update loop for watcher with expression "'+i.expression+'"',i.vm);break}}t.length=0}function ne(t){var e=t.id;if(null==Fr[e]){var i=t.user?Mr:jr;Fr[e]=i.length,i.push(t),Br||(Br=!0,ln(ee))}}function re(t,e,i,n){n&&g(this,n);var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=i,this.id=++Hr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pn,this.newDepIds=new pn,this.prevError=null,r)this.getter=e,this.setter=void 0;else{var o=Jt(e,this.twoWay);this.getter=o.get,this.setter=o.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function oe(t,e){var i=void 0,n=void 0;e||(e=Ur,e.clear());var r=Gi(t),o=v(t);if((r||o)&&Object.isExtensible(t)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(r)for(i=t.length;i--;)oe(t[i],e);else if(o)for(n=Object.keys(t),i=n.length;i--;)oe(t[n[i]],e)}}function se(t){return gt(t)&&bt(t.content)}function ae(t,e){var i=e?t:t.trim(),n=Wr.get(i);if(n)return n;var r=document.createDocumentFragment(),o=t.match(Xr),s=qr.test(t),a=Gr.test(t);if(o||s||a){var h=o&&o[1],u=Vr[h]||Vr.efault,c=u[0],l=u[1],p=u[2],f=document.createElement("div");for(f.innerHTML=l+t+p;c--;)f=f.lastChild;for(var d;d=f.firstChild;)r.appendChild(d)}else r.appendChild(document.createTextNode(t));return e||ft(r),Wr.put(i,r),r}function he(t){if(se(t))return ae(t.innerHTML);if("SCRIPT"===t.tagName)return ae(t.textContent);for(var e,i=ue(t),n=document.createDocumentFragment();e=i.firstChild;)n.appendChild(e);return ft(n),n}function ue(t){if(!t.querySelectorAll)return t.cloneNode();var e,i,n,r=t.cloneNode(!0);if(Zr){var o=r;if(se(t)&&(t=t.content,o=r.content),i=t.querySelectorAll("template"),i.length)for(n=o.querySelectorAll("template"),e=n.length;e--;)n[e].parentNode.replaceChild(ue(i[e]),n[e])}if(Qr)if("TEXTAREA"===t.tagName)r.value=t.value;else if(i=t.querySelectorAll("textarea"),i.length)for(n=r.querySelectorAll("textarea"),e=n.length;e--;)n[e].value=i[e].value;return r}function ce(t,e,i){var n,r;return bt(t)?(ft(t),e?ue(t):t):("string"==typeof t?i||"#"!==t.charAt(0)?r=ae(t,i):(r=Yr.get(t),r||(n=document.getElementById(t.slice(1)),n&&(r=he(n),Yr.put(t,r)))):t.nodeType&&(r=he(t)),r&&e?ue(r):r)}function le(t,e,i,n,r,o){this.children=[],this.childFrags=[],this.vm=e,this.scope=r,this.inserted=!1,this.parentFrag=o,o&&o.childFrags.push(this),this.unlink=t(e,i,n,r,this);var s=this.single=1===i.childNodes.length&&!i.childNodes[0].__v_anchor;s?(this.node=i.childNodes[0],this.before=pe,this.remove=fe):(this.node=vt("fragment-start"),this.end=vt("fragment-end"),this.frag=i,rt(this.node,i),i.appendChild(this.end),this.before=de,this.remove=ge),this.node.__v_frag=this}function pe(t,e){this.inserted=!0;var i=e!==!1?X:et;i(this.node,t,this.vm),Q(this.node)&&this.callHook(ve)}function fe(){this.inserted=!1;var t=Q(this.node),e=this;this.beforeRemove(),q(this.node,this.vm,function(){t&&e.callHook(me),e.destroy()})}function de(t,e){this.inserted=!0;var i=this.vm,n=e!==!1?X:et;_t(this.node,this.end,function(e){n(e,t,i)}),Q(this.node)&&this.callHook(ve)}function ge(){this.inserted=!1;var t=this,e=Q(this.node);this.beforeRemove(),yt(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(me),t.destroy()})}function ve(t){!t._isAttached&&Q(t.$el)&&t._callHook("attached")}function me(t){t._isAttached&&!Q(t.$el)&&t._callHook("detached")}function _e(t,e){this.vm=t;var i,n="string"==typeof e;n||gt(e)&&!e.hasAttribute("v-if")?i=ce(e,!0):(i=document.createDocumentFragment(),i.appendChild(e)),this.template=i;var r,o=t.constructor.cid;if(o>0){var s=o+(n?e:wt(e));r=to.get(s),r||(r=Ge(i,t.$options,!0),to.put(s,r))}else r=Ge(i,t.$options,!0);this.linker=r}function ye(t,e,i){var n=t.node.previousSibling;if(n){for(t=n.__v_frag;!(t&&t.forId===i&&t.inserted||n===e);){if(n=n.previousSibling,!n)return;t=n.__v_frag}return t}}function be(t){for(var e=-1,i=new Array(Math.floor(t));++e<t;)i[e]=e;return i}function we(t,e,i,n){return n?"$index"===n?t:n.charAt(0).match(/\w/)?zt(i,n):i[n]:e||i}function Ae(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function xe(t,e,i){for(var n,r,o,s=e?[]:null,a=0,h=t.options.length;a<h;a++)if(n=t.options[a],o=i?n.hasAttribute("selected"):n.selected){if(r=n.hasOwnProperty("_value")?n._value:n.value,!e)return r;s.push(r)}return s}function Se(t,e){for(var i=t.length;i--;)if(A(t[i],e))return i;return-1}function Ce(t,e){var i=e.map(function(t){var e=t.charCodeAt(0);return e>47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:Ao[t]});return i=[].concat.apply([],i),function(e){if(i.indexOf(e.keyCode)>-1)return t.call(this,e)}}function Pe(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Te(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ke(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function Ee(t){if(To[t])return To[t];var e=De(t);return To[t]=To[e]=e,e}function De(t){t=l(t);var e=u(t),i=e.charAt(0).toUpperCase()+e.slice(1);ko||(ko=document.createElement("div"));var n,r=So.length;if("filter"!==e&&e in ko.style)return{kebab:t,camel:e};for(;r--;)if(n=Co[r]+i,n in ko.style)return{kebab:So[r]+t,camel:n}}function Ie(t){var e=[];if(Gi(t))for(var i=0,n=t.length;i<n;i++){var r=t[i];if(r)if("string"==typeof r)e.push(r);else for(var o in r)r[o]&&e.push(o)}else if(v(t))for(var s in t)t[s]&&e.push(s);return e}function Le(t,e,i){if(e=e.trim(),e.indexOf(" ")===-1)return void i(t,e);for(var n=e.split(/\s+/),r=0,o=n.length;r<o;r++)i(t,n[r])}function $e(t,e,i){function n(){++o>=r?i():t[o].call(e,n)}var r=t.length,o=0;t[0].call(e,n)}function Oe(t,e,i){for(var r,o,s,a,h,c,p,f=[],d=i.$options.propsData,g=Object.keys(e),v=g.length;v--;)if(o=g[v],r=e[o]||Wo,"$data"!==o)if(h=u(o),Yo.test(h)){if(p={name:o,path:h,options:r,mode:zo.ONE_WAY,raw:null},s=l(o),null===(a=K(t,s))&&(null!==(a=K(t,s+".sync"))?p.mode=zo.TWO_WAY:null!==(a=K(t,s+".once"))&&(p.mode=zo.ONE_TIME)),null!==a)p.raw=a,c=N(a),a=c.expression,p.filters=c.filters,n(a)&&!c.filters?p.optimizedLiteral=!0:(p.dynamic=!0,p.mode!==zo.TWO_WAY||Vo.test(a)||(p.mode=zo.ONE_WAY,zn("Cannot bind two-way prop with non-settable parent path: "+a,i))),p.parentPath=a,r.twoWay&&p.mode!==zo.TWO_WAY&&zn('Prop "'+o+'" expects a two-way binding type.',i);else if(null!==(a=J(t,s)))p.raw=a;else if(d&&null!==(a=d[o]||d[h]))p.raw=a;else{var m=h.toLowerCase();a=/[A-Z\-]/.test(o)&&(t.getAttribute(m)||t.getAttribute(":"+m)||t.getAttribute("v-bind:"+m)||t.getAttribute(":"+m+".once")||t.getAttribute("v-bind:"+m+".once")||t.getAttribute(":"+m+".sync")||t.getAttribute("v-bind:"+m+".sync")),a?zn("Possible usage error for prop `"+m+"` - did you mean `"+s+"`? HTML is case-insensitive, remember to use kebab-case for props in templates.",i):!r.required||d&&(o in d||h in d)||zn("Missing required prop: "+o,i)}f.push(p)}else zn('Invalid prop key: "'+o+'". Prop keys must be valid identifiers.',i);else zn("Do not use $data as prop.",i);return Re(f)}function Re(t){return function(e,n){e._props={};for(var r,o,u,c,p,f=e.$options.propsData,d=t.length;d--;)if(r=t[d],p=r.raw,o=r.path,u=r.options,e._props[o]=r,f&&i(f,o)&&Me(e,r,f[o]),null===p)Me(e,r,void 0);else if(r.dynamic)r.mode===zo.ONE_TIME?(c=(n||e._context||e).$get(r.parentPath),Me(e,r,c)):e._context?e._bindDir({name:"prop",def:qo,prop:r},null,null,n):Me(e,r,e.$get(r.parentPath));else if(r.optimizedLiteral){var g=h(p);c=g===p?a(s(p)):g,Me(e,r,c)}else c=u.type===Boolean&&(""===p||p===l(r.name))||p,Me(e,r,c)}}function je(t,e,i,n){var r=e.dynamic&&Kt(e.parentPath),o=i;void 0===o&&(o=Ne(t,e)),o=He(e,o,t);var s=o!==i;Be(e,o,t)||(o=void 0),r&&!s?Lt(function(){n(o)}):n(o)}function Me(t,e,i){je(t,e,i,function(i){Mt(t,e.path,i)})}function Fe(t,e,i){je(t,e,i,function(i){t[e.path]=i})}function Ne(t,e){var n=e.options;if(!i(n,"default"))return n.type!==Boolean&&void 0;var r=n.default;return v(r)&&zn('Invalid default value for prop "'+e.name+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof r&&n.type!==Function?r.call(t):r}function Be(t,e,i){if(!t.options.required&&(null===t.raw||null==e))return!0;var n=t.options,r=n.type,o=!r,s=[];if(r){Gi(r)||(r=[r]);for(var a=0;a<r.length&&!o;a++){var h=Ue(e,r[a]);s.push(h.expectedType),o=h.valid}}if(!o)return zn('Invalid prop: type check failed for prop "'+t.name+'". Expected '+s.map(ze).join(", ")+", got "+We(e)+".",i),!1;var u=n.validator;return!(u&&!u(e)&&(zn('Invalid prop: custom validator check failed for prop "'+t.name+'".',i),1))}function He(t,e,i){var n=t.options.coerce;return n?"function"==typeof n?n(e):(zn('Invalid coerce for prop "'+t.name+'": expected function, got '+typeof n+".",i),e):e}function Ue(t,e){var i,n;return e===String?(n="string",i=typeof t===n):e===Number?(n="number",i=typeof t===n):e===Boolean?(n="boolean",i=typeof t===n):e===Function?(n="function",i=typeof t===n):e===Object?(n="object",i=m(t)):e===Array?(n="array",i=Gi(t)):i=t instanceof e,{valid:i,expectedType:n}}function ze(t){return t?t.charAt(0).toUpperCase()+t.slice(1):"custom type"}function We(t){return Object.prototype.toString.call(t).slice(8,-1)}function Ye(t){Go.push(t),Zo||(Zo=!0,ln(Ve))}function Ve(){for(var t=document.documentElement.offsetHeight,e=0;e<Go.length;e++)Go[e]();return Go=[],Zo=!1,t}function Xe(t,e,i,n){this.id=e,this.el=t,this.enterClass=i&&i.enterClass||e+"-enter",this.leaveClass=i&&i.leaveClass||e+"-leave",this.hooks=i,this.vm=n,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=i&&i.type,this.type&&this.type!==Qo&&this.type!==Jo&&zn('invalid CSS transition type for transition="'+this.id+'": '+this.type,n);var r=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){r[t]=f(r[t],r)})}function qe(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Ge(t,e,i){var n=i||!e._asComponent?ii(t,e):null,r=n&&n.terminal||yi(t)||!t.hasChildNodes()?null:hi(t.childNodes,e);return function(t,e,i,o,s){var a=d(e.childNodes),h=Ze(function(){n&&n(t,e,i,o,s),r&&r(t,a,i,o,s)},t);return Je(t,h)}}function Ze(t,e){var i=e._directives.length;t();var n=e._directives.slice(i);Qe(n);for(var r=0,o=n.length;r<o;r++)n[r]._bind();return n}function Qe(t){if(0!==t.length){var e,i,n,r,o={},s=0,a=[];for(e=0,i=t.length;e<i;e++){var h=t[e],u=h.descriptor.def.priority||ls,c=o[u];c||(c=o[u]=[],a.push(u)),c.push(h)}for(a.sort(function(t,e){return t>e?-1:t===e?0:1}),e=0,i=a.length;e<i;e++){var l=o[a[e]];for(n=0,r=l.length;n<r;n++)t[s++]=l[n]}}}function Je(t,e,i,n){function r(r){Ke(t,e,r),i&&n&&Ke(i,n)}return r.dirs=e,r}function Ke(t,e,i){for(var n=e.length;n--;)e[n]._teardown(),i||t._directives.$remove(e[n])}function ti(t,e,i,n){var r=Oe(e,i,t),o=Ze(function(){r(t,n)},t);return Je(t,o)}function ei(t,e,i){var n,r,o=e._containerAttrs,s=e._replacerAttrs;if(11!==t.nodeType)e._asComponent?(o&&i&&(n=gi(o,i)),s&&(r=gi(s,e))):r=gi(t.attributes,e);else if(o){var a=o.filter(function(t){return t.name.indexOf("_v-")<0&&!as.test(t.name)&&"slot"!==t.name}).map(function(t){return'"'+t.name+'"'});if(a.length){var h=a.length>1,u=e.el.tagName.toLowerCase();"component"===u&&e.name&&(u+=":"+e.name),zn("Attribute"+(h?"s ":" ")+a.join(", ")+(h?" are":" is")+" ignored on component <"+u+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment-Instance")}}return e._containerAttrs=e._replacerAttrs=null,function(t,e,i){var o,s=t._context;s&&n&&(o=Ze(function(){n(s,e,null,i)},s));var a=Ze(function(){r&&r(t,e)},t);return Je(t,a,s,o)}}function ii(t,e){var i=t.nodeType;return 1!==i||yi(t)?3===i&&t.data.trim()?ri(t,e):null:ni(t,e)}function ni(t,e){if("TEXTAREA"===t.tagName){if(null!==J(t,"v-pre"))return fi;var i=U(t.value);i&&(t.setAttribute(":value",z(i)),t.value="")}var n,r=t.hasAttributes(),o=r&&d(t.attributes);return r&&(n=pi(t,o,e)),n||(n=ci(t,e)),n||(n=li(t,e)),!n&&r&&(n=gi(o,e)),n}function ri(t,e){if(t._skip)return oi;var i=U(t.wholeText);if(!i)return null;for(var n=t.nextSibling;n&&3===n.nodeType;)n._skip=!0,n=n.nextSibling;for(var r,o,s=document.createDocumentFragment(),a=0,h=i.length;a<h;a++)o=i[a],r=o.tag?si(o,e):document.createTextNode(o.value),s.appendChild(r);return ai(i,s,e)}function oi(t,e){nt(e)}function si(t,e){function i(e){if(!t.descriptor){var i=N(t.value);t.descriptor={name:e,def:Bo[e],expression:i.expression,filters:i.filters}}}var n;return t.oneTime?n=document.createTextNode(t.value):t.html?(n=document.createComment("v-html"),i("html")):(n=document.createTextNode(" "),i("text")),n}function ai(t,e){return function(i,n,r,s){for(var a,h,u,c=e.cloneNode(!0),l=d(c.childNodes),p=0,f=t.length;p<f;p++)a=t[p],h=a.value,a.tag&&(u=l[p],a.oneTime?(h=(s||i).$eval(h),a.html?ot(u,ce(h,!0)):u.data=o(h)):i._bindDir(a.descriptor,u,r,s));ot(n,c)}}function hi(t,e){for(var i,n,r,o=[],s=0,a=t.length;s<a;s++)r=t[s],i=ii(r,e),n=i&&i.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:hi(r.childNodes,e),o.push(i,n);return o.length?ui(o):null}function ui(t){return function(e,i,n,r,o){for(var s,a,h,u=0,c=0,l=t.length;u<l;c++){s=i[c],a=t[u++],h=t[u++];var p=d(s.childNodes);a&&a(e,s,n,r,o),h&&h(e,p,n,r,o)}}}function ci(t,e){var i=t.tagName.toLowerCase();if(!Xn.test(i)){var n=Dt(e,"elementDirectives",i);return n?di(t,i,"",e,n):void 0}}function li(t,e){var i=At(t,e);if(i){var n=mt(t),r={name:"component",ref:n,expression:i.id,def:os.component,modifiers:{literal:!i.dynamic}},o=function(t,e,i,o,s){n&&Mt((o||t).$refs,n,null),t._bindDir(r,e,i,o,s)};return o.terminal=!0,o}}function pi(t,e,i){if(null!==J(t,"v-pre"))return fi;if(t.hasAttribute("v-else")){var n=t.previousElementSibling;if(n&&n.hasAttribute("v-if"))return fi}for(var r,o,s,a,h,u,c,l,p,f,d=0,g=e.length;d<g;d++)r=e[d],o=r.name.replace(us,""),(h=o.match(hs))&&(p=Dt(i,"directives",h[1]),p&&p.terminal&&(!f||(p.priority||ps)>f.priority)&&(f=p,c=r.name,a=vi(r.name),s=r.value,u=h[1],l=h[2]));return f?di(t,u,s,i,f,c,l,a):void 0}function fi(){}function di(t,e,i,n,r,o,s,a){var h=N(i),u={name:e,arg:s,expression:h.expression,filters:h.filters,raw:i,attr:o,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(u.ref=mt(t));var c=function(t,e,i,n,r){u.ref&&Mt((n||t).$refs,u.ref,null),t._bindDir(u,e,i,n,r)};return c.terminal=!0,c}function gi(t,e){function i(t,e,i){var n=i&&_i(i),r=!n&&N(o);g.push({name:t,attr:s,raw:a,def:e,arg:u,modifiers:c,expression:r&&r.expression,filters:r&&r.filters,interp:i,hasOneTime:n})}for(var n,r,o,s,a,h,u,c,l,p,f,d=t.length,g=[];d--;)if(n=t[d],r=s=n.name,o=a=n.value,p=U(o),u=null,c=vi(r),r=r.replace(us,""),p)o=z(p),u=r,i("bind",Bo.bind,p),"class"===r&&Array.prototype.some.call(t,function(t){return":class"===t.name||"v-bind:class"===t.name})&&zn('class="'+a+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.',e);else if(cs.test(r))c.literal=!ss.test(r),i("transition",os.transition);else if(as.test(r))u=r.replace(as,""),i("on",Bo.on);else if(ss.test(r))h=r.replace(ss,""),"style"===h||"class"===h?i(h,os[h]):(u=h,i("bind",Bo.bind));else if(f=r.match(hs)){if(h=f[1],u=f[2],"else"===h)continue;l=Dt(e,"directives",h,!0),l&&i(h,l)}if(g.length)return mi(g)}function vi(t){var e=Object.create(null),i=t.match(us);if(i)for(var n=i.length;n--;)e[i[n].slice(1)]=!0;return e}function mi(t){return function(e,i,n,r,o){for(var s=t.length;s--;)e._bindDir(t[s],i,n,r,o)}}function _i(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function yi(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function bi(t,e){return e&&(e._containerAttrs=Ai(t)),gt(t)&&(t=ce(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=pt(t),t=wi(t,e))),bt(t)&&(rt(vt("v-start",!0),t),t.appendChild(vt("v-end",!0))),t}function wi(t,e){var i=e.template,n=ce(i,!0);if(n){var r=n.firstChild;if(!r)return n;var o=r.tagName&&r.tagName.toLowerCase();return e.replace?(t===document.body&&zn("You are mounting an instance with a template to <body>. This will replace <body> entirely. You should probably use `replace: false` here."),n.childNodes.length>1||1!==r.nodeType||"component"===o||Dt(e,"components",o)||tt(r,"is")||Dt(e,"elementDirectives",o)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?n:(e._replacerAttrs=Ai(r),xi(t,r),r)):(t.appendChild(n),t)}zn("Invalid template option: "+i)}function Ai(t){if(1===t.nodeType&&t.hasAttributes())return d(t.attributes)}function xi(t,e){for(var i,n,r=t.attributes,o=r.length;o--;)i=r[o].name,n=r[o].value,e.hasAttribute(i)||fs.test(i)?"class"===i&&!U(n)&&(n=n.trim())&&n.split(/\s+/).forEach(function(t){ct(e,t)}):e.setAttribute(i,n)}function Si(t,e){if(e){for(var i,n,r=t._slotContents=Object.create(null),o=0,s=e.children.length;o<s;o++)i=e.children[o],(n=i.getAttribute("slot"))&&(r[n]||(r[n]=[])).push(i),K(i,"slot")&&zn('The "slot" attribute must be static.',t.$parent);for(n in r)r[n]=Ci(r[n],e);if(e.hasChildNodes()){var a=e.childNodes;if(1===a.length&&3===a[0].nodeType&&!a[0].data.trim())return;r.default=Ci(e.childNodes,e)}}}function Ci(t,e){var i=document.createDocumentFragment();t=d(t);for(var n=0,r=t.length;n<r;n++){var o=t[n];!gt(o)||o.hasAttribute("v-if")||o.hasAttribute("v-for")||(e.removeChild(o),o=ce(o,!0)),i.appendChild(o)}return i}function Pi(t){function e(){}function n(t,e){var i=new re(e,t,null,{lazy:!0});return function(){return i.dirty&&i.evaluate(),It.target&&i.depend(),i.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),t.prototype._initState=function(){
this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,e=t.el,i=t.props;i&&!e&&zn("Props will not be compiled if no `el` option is provided at instantiation.",this),e=t.el=Z(e),this._propsUnlinkFn=e&&1===e.nodeType&&i?ti(this,e,i,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,e=this._data=t?t():{};m(e)||(e={},zn("data functions should return an object.",this));var n,r,o=this._props,s=Object.keys(e);for(n=s.length;n--;)r=s[n],o&&i(o,r)?zn('Data field "'+r+'" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option.',this):this._proxy(r);jt(e,this)},t.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,r,o;for(n=Object.keys(e),o=n.length;o--;)r=n[o],r in t||this._unproxy(r);for(n=Object.keys(t),o=n.length;o--;)r=n[o],i(this,r)||this._proxy(r);e.__ob__.removeVm(this),jt(t,this),this._digest()},t.prototype._proxy=function(t){if(!r(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(i){e._data[t]=i}})}},t.prototype._unproxy=function(t){r(t)||delete this[t]},t.prototype._digest=function(){for(var t=0,e=this._watchers.length;t<e;t++)this._watchers[t].update(!0)},t.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var i in t){var r=t[i],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=n(r,this),o.set=e):(o.get=r.get?r.cache!==!1?n(r.get,this):f(r.get,this):e,o.set=r.set?f(r.set,this):e),Object.defineProperty(this,i,o)}},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=f(t[e],this)},t.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)Mt(this,e,t[e])}}function Ti(t){function e(t,e){for(var i,n,r,o=e.attributes,s=0,a=o.length;s<a;s++)i=o[s].name,gs.test(i)&&(i=i.replace(gs,""),n=o[s].value,Kt(n)&&(n+=".apply(this, $arguments)"),r=(t._scope||t._context).$eval(n,!0),r._fromParent=!0,t.$on(i.replace(gs),r))}function i(t,e,i){if(i){var r,o,s,a;for(o in i)if(r=i[o],Gi(r))for(s=0,a=r.length;s<a;s++)n(t,e,o,r[s]);else n(t,e,o,r)}}function n(t,e,i,r,o){var s=typeof r;if("function"===s)t[e](i,r,o);else if("string"===s){var a=t.$options.methods,h=a&&a[r];h?t[e](i,h,o):zn('Unknown method: "'+r+'" when registering callback for '+e+': "'+i+'".',t)}else r&&"object"===s&&n(t,e,i,r.handler,r)}function r(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&Q(t.$el)&&t._callHook("attached")}function s(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(a))}function a(t){t._isAttached&&!Q(t.$el)&&t._callHook("detached")}t.prototype._initEvents=function(){var t=this.$options;t._asComponent&&e(this,t.el),i(this,"$on",t.events),i(this,"$watch",t.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",r),this.$on("hook:detached",s)},t.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var i=0,n=e.length;i<n;i++)e[i].call(this);this.$emit("hook:"+t)}}function ki(){}function Ei(t,e,i,n,r,o){this.vm=e,this.el=i,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=n,this._scope=r,this._frag=o,this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}function Di(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var i=(this._scope||this._context).$refs;t?i[e]===this&&(i[e]=null):i[e]=this}},t.prototype._compile=function(t){var e=this.$options,i=t;if(t=bi(t,e),this._initElement(t),1!==t.nodeType||null===J(t,"v-pre")){var n=this._context&&this._context.$options,r=ei(t,e,n);Si(this,e._content);var o,s=this.constructor;e._linkerCachable&&(o=s.linker,o||(o=s.linker=Ge(t,e)));var a=r(this,t,this._scope),h=o?o(this,t):Ge(t,e)(this,t);this._unlinkFn=function(){a(),h(!0)},e.replace&&ot(i,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){bt(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,i,n,r){this._directives.push(new Ei(t,this,e,i,n,r))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());var i,n,r=this,o=function(){!i||n||e||r._cleanup()};t&&this.$el&&(n=!0,this.$remove(function(){n=!1,o()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var s,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),s=this.$children.length;s--;)this.$children[s].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),s=this._watchers.length;s--;)this._watchers[s].teardown();this.$el&&(this.$el.__vue__=null),i=!0,o()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function Ii(t){t.prototype._applyFilters=function(t,e,i,n){var r,o,s,a,h,u,c,l,p;for(u=0,c=i.length;u<c;u++)if(r=i[n?c-u-1:u],o=Dt(this.$options,"filters",r.name,!0),o&&(o=n?o.write:o.read||o,"function"==typeof o)){if(s=n?[t,e]:[t],h=n?2:1,r.args)for(l=0,p=r.args.length;l<p;l++)a=r.args[l],s[l+h]=a.dynamic?this.$get(a.value):a.value;t=o.apply(this,s)}return t},t.prototype._resolveComponent=function(e,i){var n;if(n="function"==typeof e?e:Dt(this.$options,"components",e,!0))if(n.options)i(n);else if(n.resolved)i(n.resolved);else if(n.requested)n.pendingCallbacks.push(i);else{n.requested=!0;var r=n.pendingCallbacks=[i];n.call(this,function(e){m(e)&&(e=t.extend(e)),n.resolved=e;for(var i=0,o=r.length;i<o;i++)r[i](e)},function(t){zn("Failed to resolve async component"+("string"==typeof e?": "+e:"")+". "+(t?"\nReason: "+t:""))})}}}function Li(t){function i(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var i=Jt(t);if(i){if(e){var n=this;return function(){n.$arguments=d(arguments);var t=i.get.call(n,n);return n.$arguments=null,t}}try{return i.get.call(this,this)}catch(t){}}},t.prototype.$set=function(t,e){var i=Jt(t,!0);i&&i.set&&i.set.call(this,this,e)},t.prototype.$delete=function(t){e(this._data,t)},t.prototype.$watch=function(t,e,i){var n,r=this;"string"==typeof t&&(n=N(t),t=n.expression);var o=new re(r,t,e,{deep:i&&i.deep,sync:i&&i.sync,filters:n&&n.filters,user:!i||i.user!==!1});return i&&i.immediate&&e.call(r,o.value),function(){o.teardown()}},t.prototype.$eval=function(t,e){if(vs.test(t)){var i=N(t),n=this.$get(i.expression,e);return i.filters?this._applyFilters(n,null,i.filters):n}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=U(t),i=this;return e?1===e.length?i.$eval(e[0].value)+"":e.map(function(t){return t.tag?i.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var e=t?zt(this._data,t):this._data;if(e&&(e=i(e)),!t){var n;for(n in this.$options.computed)e[n]=i(this[n]);if(this._props)for(n in this._props)e[n]=i(this[n])}}}function $i(t){function e(t,e,n,r,o,s){e=i(e);var a=!Q(e),h=r===!1||a?o:s,u=!a&&!t._isAttached&&!Q(t.$el);return t._isFragment?(_t(t._fragmentStart,t._fragmentEnd,function(i){h(i,e,t)}),n&&n()):h(t.$el,e,t,n),u&&t._callHook("attached"),t}function i(t){return"string"==typeof t?document.querySelector(t):t}function n(t,e,i,n){e.appendChild(t),n&&n()}function r(t,e,i,n){et(t,e),n&&n()}function o(t,e,i){nt(t),i&&i()}t.prototype.$nextTick=function(t){ln(t,this)},t.prototype.$appendTo=function(t,i,r){return e(this,t,i,r,n,V)},t.prototype.$prependTo=function(t,e,n){return t=i(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},t.prototype.$before=function(t,i,n){return e(this,t,i,n,r,X)},t.prototype.$after=function(t,e,n){return t=i(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var i=this._isAttached&&Q(this.$el);i||(e=!1);var n=this,r=function(){i&&n._callHook("detached"),t&&t()};if(this._isFragment)yt(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var s=e===!1?o:q;s(this.$el,this,r)}return this}}function Oi(t){function e(t,e,n){var r=t.$parent;if(r&&n&&!i.test(e))for(;r;)r._eventsCount[e]=(r._eventsCount[e]||0)+n,r=r.$parent}t.prototype.$on=function(t,i){return(this._events[t]||(this._events[t]=[])).push(i),e(this,t,1),this},t.prototype.$once=function(t,e){function i(){n.$off(t,i),e.apply(this,arguments)}var n=this;return i.fn=e,this.$on(t,i),this},t.prototype.$off=function(t,i){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&e(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return e(this,t,-n.length),this._events[t]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===i||r.fn===i){e(this,t,-1),n.splice(o,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var i=this._events[t],n=e||!i;if(i){i=i.length>1?d(i):i;var r=e&&i.some(function(t){return t._fromParent});r&&(n=!1);for(var o=d(arguments,1),s=0,a=i.length;s<a;s++){var h=i[s],u=h.apply(this,o);u!==!0||r&&!h._fromParent||(n=!0)}}return n},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var i=this.$children,n=d(arguments);e&&(n[0]={name:t,source:this});for(var r=0,o=i.length;r<o;r++){var s=i[r],a=s.$emit.apply(s,n);a&&s.$broadcast.apply(s,n)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var i=this.$parent,n=d(arguments);for(n[0]={name:t,source:this};i;)e=i.$emit.apply(i,n),i=e?i.$parent:null;return this}};var i=/^hook:/}function Ri(t){function e(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){return this._isCompiled?void zn("$mount() should be called only once.",this):(t=Z(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),Q(this.$el)?(this._callHook("attached"),e.call(this)):this.$once("hook:attached",e),this)},t.prototype.$destroy=function(t,e){this._destroy(t,e)},t.prototype.$compile=function(t,e,i,n){return Ge(t,this.$options,!0)(this,t,e,i,n)}}function ji(t){this._init(t)}function Mi(t,e,i){return i=i?parseInt(i,10):0,e=s(e),"number"==typeof e?t.slice(i,i+e):t}function Fi(t,e,i){if(t=bs(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var n,r,o,s,a="in"===i?3:2,h=Array.prototype.concat.apply([],d(arguments,a)),u=[],c=0,l=t.length;c<l;c++)if(n=t[c],o=n&&n.$value||n,s=h.length){for(;s--;)if(r=h[s],"$key"===r&&Bi(n.$key,e)||Bi(zt(o,r),e)){u.push(n);break}}else Bi(n,e)&&u.push(n);return u}function Ni(t){function e(t,e,i){var r=n[i];return r&&("$key"!==r&&(v(t)&&"$value"in t&&(t=t.$value),v(e)&&"$value"in e&&(e=e.$value)),t=v(t)?zt(t,r):t,e=v(e)?zt(e,r):e),t===e?0:t>e?o:-o}var i=null,n=void 0;t=bs(t);var r=d(arguments,1),o=r[r.length-1];"number"==typeof o?(o=o<0?-1:1,r=r.length>1?r.slice(0,-1):r):o=1;var s=r[0];return s?("function"==typeof s?i=function(t,e){return s(t,e)*o}:(n=Array.prototype.concat.apply([],r),i=function(t,r,o){return o=o||0,o>=n.length-1?e(t,r,o):e(t,r,o)||i(t,r,o+1)}),t.slice().sort(i)):t}function Bi(t,e){var i;if(m(t)){var n=Object.keys(t);for(i=n.length;i--;)if(Bi(t[n[i]],e))return!0}else if(Gi(t)){for(i=t.length;i--;)if(Bi(t[i],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Hi(i){function n(t){return new Function("return function "+p(t)+" (options) { this._init(options) }")()}i.options={directives:Bo,elementDirectives:ys,filters:As,transitions:{},components:{},partials:{},replace:!0},i.util=nr,i.config=Un,i.set=t,i.delete=e,i.nextTick=ln,i.compiler=ds,i.FragmentFactory=_e,i.internalDirectives=os,i.parsers={path:wr,text:Nn,template:Jr,directive:$n,expression:Rr},i.cid=0;var r=1;i.extend=function(t){t=t||{};var e=this,i=0===e.cid;if(i&&t._Ctor)return t._Ctor;var o=t.name||e.options.name;/^[a-zA-Z][\w-]*$/.test(o)||(zn('Invalid component name: "'+o+'". Component names can only contain alphanumeric characaters and the hyphen.'),o=null);var s=n(o||"VueComponent");return s.prototype=Object.create(e.prototype),s.prototype.constructor=s,s.cid=r++,s.options=Et(e.options,t),s.super=e,s.extend=e.extend,Un._assetTypes.forEach(function(t){s[t]=e[t]}),o&&(s.options.components[o]=s),i&&(t._Ctor=s),s},i.use=function(t){if(!t.installed){var e=d(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},i.mixin=function(t){i.options=Et(i.options,t)},Un._assetTypes.forEach(function(t){i[t]=function(e,n){return n?("component"===t&&(Xn.test(e)||qn.test(e))&&zn("Do not use built-in or reserved HTML elements as component id: "+e),"component"===t&&m(n)&&(n.name||(n.name=e),n=i.extend(n)),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}),g(i.transition,Yn)}var Ui=Object.prototype.hasOwnProperty,zi=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Wi=/-(\w)/g,Yi=/([^-])([A-Z])/g,Vi=/(?:^|[-_\/])(\w)/g,Xi=Object.prototype.toString,qi="[object Object]",Gi=Array.isArray,Zi="__proto__"in{},Qi="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Ji=Qi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ki=Qi&&window.navigator.userAgent.toLowerCase(),tn=Ki&&Ki.indexOf("trident")>0,en=Ki&&Ki.indexOf("msie 9.0")>0,nn=Ki&&Ki.indexOf("android")>0,rn=Ki&&/iphone|ipad|ipod|ios/.test(Ki),on=void 0,sn=void 0,an=void 0,hn=void 0;if(Qi&&!en){var un=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,cn=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;on=un?"WebkitTransition":"transition",sn=un?"webkitTransitionEnd":"transitionend",an=cn?"WebkitAnimation":"animation",hn=cn?"webkitAnimationEnd":"animationend"}var ln=function(){function t(){i=!1;var t=e.slice(0);e.length=0;for(var n=0;n<t.length;n++)t[n]()}var e=[],i=!1,n=void 0;if("undefined"!=typeof Promise&&x(Promise)){var r=Promise.resolve(),o=function(){};n=function(){r.then(t),rn&&setTimeout(o)}}else if("undefined"!=typeof MutationObserver){var s=1,a=new MutationObserver(t),h=document.createTextNode(String(s));a.observe(h,{characterData:!0}),n=function(){s=(s+1)%2,h.data=String(s)}}else n=setTimeout;return function(r,o){var s=o?function(){r.call(o)}:r;e.push(s),i||(i=!0,n(t,0))}}(),pn=void 0;"undefined"!=typeof Set&&x(Set)?pn=Set:(pn=function(){this.set=Object.create(null)},pn.prototype.has=function(t){return void 0!==this.set[t]},pn.prototype.add=function(t){this.set[t]=1},pn.prototype.clear=function(){this.set=Object.create(null)});var fn=S.prototype;fn.put=function(t,e){var i,n=this.get(t,!0);return n||(this.size===this.limit&&(i=this.shift()),n={key:t},this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size++),n.value=e,i},fn.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},fn.get=function(t,e){var i=this._keymap[t];if(void 0!==i)return i===this.tail?e?i:i.value:(i.newer&&(i===this.head&&(this.head=i.newer),i.newer.older=i.older),i.older&&(i.older.newer=i.newer),i.newer=void 0,i.older=this.tail,this.tail&&(this.tail.newer=i),this.tail=i,e?i:i.value)};var dn,gn,vn,mn,_n,yn,bn=new S(1e3),wn=/^in$|^-?\d+/,An=0,xn=1,Sn=2,Cn=3,Pn=34,Tn=39,kn=124,En=92,Dn=32,In={91:1,123:1,40:1},Ln={91:93,123:125,40:41},$n=Object.freeze({parseDirective:N}),On=/[-.*+?^${}()|[\]\/\\]/g,Rn=void 0,jn=void 0,Mn=void 0,Fn=/[^|]\|[^|]/,Nn=Object.freeze({compileRegex:H,parseText:U,tokensToExp:z}),Bn=["{{","}}"],Hn=["{{{","}}}"],Un=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:!0,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return Bn},set:function(t){Bn=t,H()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return Hn},set:function(t){Hn=t,H()},configurable:!0,enumerable:!0}}),zn=void 0,Wn=void 0;!function(){var t="undefined"!=typeof console;zn=function(e,i){t&&!Un.silent&&console.error("[Vue warn]: "+e+(i?Wn(i):""))},Wn=function(t){var e=t._isVue?t.$options.name:t.name;return e?" (found in component: <"+l(e)+">)":""}}();var Yn=Object.freeze({appendWithTransition:V,beforeWithTransition:X,removeWithTransition:q,applyTransition:G}),Vn=/^v-ref:/,Xn=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,qn=/^(slot|partial|component)$/i,Gn=void 0;Gn=function(t,e){return e.indexOf("-")>-1?t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:/HTMLUnknownElement/.test(t.toString())&&!/^(data|time|rtc|rb|details|dialog|summary)$/.test(e)};var Zn=Un.optionMergeStrategies=Object.create(null);Zn.data=function(t,e,i){return i?t||e?function(){var n="function"==typeof e?e.call(i):e,r="function"==typeof t?t.call(i):void 0;return n?St(n,r):r}:void 0:e?"function"!=typeof e?(zn('The "data" option should be a function that returns a per-instance value in component definitions.',i),t):t?function(){return St(e.call(this),t.call(this))}:e:t},Zn.el=function(t,e,i){if(!i&&e&&"function"!=typeof e)return void zn('The "el" option should be a function that returns a per-instance value in component definitions.',i);var n=e||t;return i&&"function"==typeof n?n.call(i):n},Zn.init=Zn.created=Zn.ready=Zn.attached=Zn.detached=Zn.beforeCompile=Zn.compiled=Zn.beforeDestroy=Zn.destroyed=Zn.activate=function(t,e){return e?t?t.concat(e):Gi(e)?e:[e]:t},Un._assetTypes.forEach(function(t){Zn[t+"s"]=Ct}),Zn.watch=Zn.events=function(t,e){if(!e)return t;if(!t)return e;var i={};g(i,t);for(var n in e){var r=i[n],o=e[n];r&&!Gi(r)&&(r=[r]),i[n]=r?r.concat(o):[o]}return i},Zn.props=Zn.methods=Zn.computed=function(t,e){if(!e)return t;if(!t)return e;var i=Object.create(null);return g(i,t),g(i,e),i};var Qn=function(t,e){return void 0===e?t:e},Jn=0;It.target=null,It.prototype.addSub=function(t){this.subs.push(t)},It.prototype.removeSub=function(t){this.subs.$remove(t)},It.prototype.depend=function(){It.target.addDep(this)},It.prototype.notify=function(){for(var t=d(this.subs),e=0,i=t.length;e<i;e++)t[e].update()};var Kn=Array.prototype,tr=Object.create(Kn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Kn[t];_(tr,t,function(){for(var i=arguments.length,n=new Array(i);i--;)n[i]=arguments[i];var r,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":r=n;break;case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),_(Kn,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),_(Kn,"$remove",function(t){if(this.length){var e=b(this,t);return e>-1?this.splice(e,1):void 0}});var er=Object.getOwnPropertyNames(tr),ir=!0;$t.prototype.walk=function(t){for(var e=Object.keys(t),i=0,n=e.length;i<n;i++)this.convert(e[i],t[e[i]])},$t.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)jt(t[e])},$t.prototype.convert=function(t,e){Mt(this.value,t,e)},$t.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},$t.prototype.removeVm=function(t){this.vms.$remove(t)};var nr=Object.freeze({defineReactive:Mt,set:t,del:e,hasOwn:i,isLiteral:n,isReserved:r,_toString:o,toNumber:s,toBoolean:a,stripQuotes:h,camelize:u,hyphenate:l,classify:p,bind:f,toArray:d,extend:g,isObject:v,isPlainObject:m,def:_,debounce:y,indexOf:b,cancellable:w,looseEqual:A,isArray:Gi,hasProto:Zi,inBrowser:Qi,devtools:Ji,isIE:tn,isIE9:en,isAndroid:nn,isIOS:rn,get transitionProp(){return on},get transitionEndEvent(){return sn},get animationProp(){return an},get animationEndEvent(){return hn},nextTick:ln,get _Set(){return pn},query:Z,inDoc:Q,getAttr:J,getBindAttr:K,hasBindAttr:tt,before:et,after:it,remove:nt,prepend:rt,replace:ot,on:st,off:at,setClass:ut,addClass:ct,removeClass:lt,extractContent:pt,trimNode:ft,isTemplate:gt,createAnchor:vt,findRef:mt,mapNodeRange:_t,removeNodeRange:yt,isFragment:bt,getOuterHTML:wt,mergeOptions:Et,resolveAsset:Dt,checkComponentAttr:At,commonTagRE:Xn,reservedTagRE:qn,get warn(){return zn}}),rr=0,or=new S(1e3),sr=0,ar=1,hr=2,ur=3,cr=0,lr=1,pr=2,fr=3,dr=4,gr=5,vr=6,mr=7,_r=8,yr=[];yr[cr]={ws:[cr],ident:[fr,sr],"[":[dr],eof:[mr]},yr[lr]={ws:[lr],".":[pr],"[":[dr],eof:[mr]},yr[pr]={ws:[pr],ident:[fr,sr]},yr[fr]={ident:[fr,sr],0:[fr,sr],number:[fr,sr],ws:[lr,ar],".":[pr,ar],"[":[dr,ar],eof:[mr,ar]},yr[dr]={"'":[gr,sr],'"':[vr,sr],"[":[dr,hr],"]":[lr,ur],eof:_r,else:[dr,sr]},yr[gr]={"'":[dr,sr],eof:_r,else:[gr,sr]},yr[vr]={'"':[dr,sr],eof:_r,else:[vr,sr]};var br;br=function(t,e){zn('You are setting a non-existent path "'+t.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.',e)};var wr=Object.freeze({parsePath:Ut,getPath:zt,setPath:Wt}),Ar=new S(1e3),xr="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",Sr=new RegExp("^("+xr.replace(/,/g,"\\b|")+"\\b)"),Cr="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",Pr=new RegExp("^("+Cr.replace(/,/g,"\\b|")+"\\b)"),Tr=/\s/g,kr=/\n/g,Er=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\"']|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,Dr=/"(\d+)"/g,Ir=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Lr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,$r=/^(?:true|false|null|undefined|Infinity|NaN)$/,Or=[],Rr=Object.freeze({parseExpression:Jt,isSimplePath:Kt}),jr=[],Mr=[],Fr={},Nr={},Br=!1,Hr=0;re.prototype.get=function(){this.beforeGet();var t,e=this.scope||this.vm;try{t=this.getter.call(e,e)}catch(t){Un.warnExpressionErrors&&zn('Error when evaluating expression "'+this.expression+'": '+t.toString(),this.vm)}return this.deep&&oe(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},re.prototype.set=function(t){var e=this.scope||this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(t){Un.warnExpressionErrors&&zn('Error when evaluating setter "'+this.expression+'": '+t.toString(),this.vm)}var i=e.$forContext;if(i&&i.alias===this.expression){if(i.filters)return void zn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead.",this.vm);i._withLock(function(){e.$key?i.rawValue[e.$key]=t:i.rawValue.$set(e.$index,t)})}},re.prototype.beforeGet=function(){It.target=this},re.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},re.prototype.afterGet=function(){It.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},re.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!Un.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,Un.debug&&(this.prevError=new Error("[vue] async stack trace")),ne(this))},re.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(v(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t;var i=this.prevError;if(Un.debug&&i){this.prevError=null;try{this.cb.call(this.vm,t,e)}catch(t){throw ln(function(){throw i},0),t}}else this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},re.prototype.evaluate=function(){var t=It.target;this.value=this.get(),this.dirty=!1,It.target=t},re.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},re.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Ur=new pn,zr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=o(t)}},Wr=new S(1e3),Yr=new S(1e3),Vr={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};Vr.td=Vr.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Vr.option=Vr.optgroup=[1,'<select multiple="multiple">',"</select>"],Vr.thead=Vr.tbody=Vr.colgroup=Vr.caption=Vr.tfoot=[1,"<table>","</table>"],Vr.g=Vr.defs=Vr.symbol=Vr.use=Vr.image=Vr.text=Vr.circle=Vr.ellipse=Vr.line=Vr.path=Vr.polygon=Vr.polyline=Vr.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var Xr=/<([\w:-]+)/,qr=/&#?\w+?;/,Gr=/<!--/,Zr=function(){if(Qi){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Qr=function(){if(Qi){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Jr=Object.freeze({cloneNode:ue,parseTemplate:ce}),Kr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=vt("v-html"),ot(this.el,this.anchor))},update:function(t){t=o(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)nt(this.nodes[e]);var i=ce(t,!0,!0);this.nodes=d(i.childNodes),et(i,this.anchor)}};le.prototype.callHook=function(t){var e,i;for(e=0,i=this.childFrags.length;e<i;e++)this.childFrags[e].callHook(t);for(e=0,i=this.children.length;e<i;e++)t(this.children[e])},le.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;t<e;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)this.children[t].$destroy(!1,!0);var i=this.unlink.dirs;for(t=0,e=i.length;t<e;t++)i[t]._watcher&&i[t]._watcher.teardown()},le.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var to=new S(5e3);_e.prototype.create=function(t,e,i){var n=ue(this.template);return new le(this.linker,this.vm,n,t,e,i)};var eo=700,io=800,no=850,ro=1100,oo=1500,so=1500,ao=1750,ho=2100,uo=2200,co=2300,lo=0,po={priority:uo,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){this.el.hasAttribute("v-if")&&zn("<"+this.el.tagName.toLowerCase()+' v-for="'+this.expression+'" v-if="'+this.el.getAttribute("v-if")+'">: Using v-if and v-for on the same element is not recommended - consider filtering the source Array instead.',this.vm);var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var e=t[1].match(/\((.*),(.*)\)/);e?(this.iterator=e[1].trim(),this.alias=e[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(!this.alias)return void zn('Invalid v-for expression "'+this.descriptor.raw+'": alias is required.',this.vm);this.id="__v-for__"+ ++lo;var i=this.el.tagName;this.isOption=("OPTION"===i||"OPTGROUP"===i)&&"SELECT"===this.el.parentNode.tagName,this.start=vt("v-for-start"),this.end=vt("v-for-end"),ot(this.el,this.end),et(this.start,this.end),this.cache=Object.create(null),this.factory=new _e(this.vm,this.el)},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,n,r,o,s,a,h=t[0],u=this.fromObject=v(h)&&i(h,"$key")&&i(h,"$value"),c=this.params.trackBy,l=this.frags,p=this.frags=new Array(t.length),f=this.alias,d=this.iterator,g=this.start,m=this.end,_=Q(g),y=!l;for(e=0,n=t.length;e<n;e++)h=t[e],o=u?h.$key:null,s=u?h.$value:h,a=!v(s),r=!y&&this.getCachedFrag(s,e,o),r?(r.reused=!0,r.scope.$index=e,o&&(r.scope.$key=o),d&&(r.scope[d]=null!==o?o:e),(c||u||a)&&Lt(function(){r.scope[f]=s})):(r=this.create(s,f,e,o),r.fresh=!y),p[e]=r,y&&r.before(m);if(!y){var b=0,w=l.length-p.length;for(this.vm._vForRemoving=!0,e=0,n=l.length;e<n;e++)r=l[e],r.reused||(this.deleteCachedFrag(r),this.remove(r,b++,w,_));this.vm._vForRemoving=!1,b&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var A,x,S,C=0;for(e=0,n=p.length;e<n;e++)r=p[e],A=p[e-1],x=A?A.staggerCb?A.staggerAnchor:A.end||A.node:g,r.reused&&!r.staggerCb?(S=ye(r,g,this.id),S===A||S&&ye(S,g,this.id)===A||this.move(r,x)):this.insert(r,C++,x,_),r.reused=r.fresh=!1}},create:function(t,e,i,n){var r=this._host,o=this._scope||this.vm,s=Object.create(o);s.$refs=Object.create(o.$refs),s.$els=Object.create(o.$els),s.$parent=o,s.$forContext=this,Lt(function(){Mt(s,e,t)}),Mt(s,"$index",i),n?Mt(s,"$key",n):s.$key&&_(s,"$key",null),this.iterator&&Mt(s,this.iterator,null!==n?n:i);var a=this.factory.create(r,s,this._frag);return a.forId=this.id,this.cacheFrag(t,a,i,n),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,i=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=Ae(t)})):e=this.frags.map(Ae),i[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,i,n){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(n&&r){var o=t.staggerAnchor;o||(o=t.staggerAnchor=vt("stagger-anchor"),o.__v_frag=t),it(o,i);var s=t.staggerCb=w(function(){t.staggerCb=null,t.before(o),nt(o)});setTimeout(s,r)}else{var a=i.nextSibling;a||(it(this.end,i),a=this.end),t.before(a)}},remove:function(t,e,i,n){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var r=this.getStagger(t,e,i,"leave");if(n&&r){var o=t.staggerCb=w(function(){t.staggerCb=null,t.remove()});setTimeout(o,r)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(t,e,n,r){var o,s=this.params.trackBy,a=this.cache,h=!v(t);r||s||h?(o=we(n,r,t,s),a[o]?"$index"!==s&&this.warnDuplicate(t):a[o]=e):(o=this.id,i(t,o)?null===t[o]?t[o]=e:this.warnDuplicate(t):Object.isExtensible(t)?_(t,o,e):zn("Frozen v-for objects cannot be automatically tracked, make sure to provide a track-by key.")),e.raw=t},getCachedFrag:function(t,e,i){var n,r=this.params.trackBy,o=!v(t);if(i||r||o){var s=we(e,i,t,r);n=this.cache[s]}else n=t[this.id];return n&&(n.reused||n.fresh)&&this.warnDuplicate(t),n},deleteCachedFrag:function(t){var e=t.raw,n=this.params.trackBy,r=t.scope,o=r.$index,s=i(r,"$key")&&r.$key,a=!v(e);if(n||s||a){var h=we(o,s,e,n);this.cache[h]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,i,n){n+="Stagger";var r=t.node.__v_trans,o=r&&r.hooks,s=o&&(o[n]||o.stagger);return s?s.call(t,e,i):e*parseInt(this.params[n]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Gi(t))return t;if(m(t)){for(var e,i=Object.keys(t),n=i.length,r=new Array(n);n--;)e=i[n],r[n]={$key:e,$value:t[e]};return r;
}return"number"!=typeof t||isNaN(t)||(t=be(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}};po.warnDuplicate=function(t){zn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(t)+'. Use track-by="$index" if you are expecting duplicate values.',this.vm)};var fo={priority:ho,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)zn('v-if="'+this.expression+'" cannot be used on an instance root element.',this.vm),this.invalid=!0;else{var e=t.nextElementSibling;e&&null!==J(e,"v-else")&&(nt(e),this.elseEl=e),this.anchor=vt("v-if"),ot(t,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new _e(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new _e(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},go={bind:function(){var t=this.el.nextElementSibling;t&&null!==J(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function i(){t.style.display=e?"":"none"}Q(t)?G(t,e?1:-1,i,this.vm):i()}},vo={bind:function(){var t=this,e=this.el,i="range"===e.type,n=this.params.lazy,r=this.params.number,o=this.params.debounce,a=!1;if(nn||i||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,n||t.listener()})),this.focused=!1,i||n||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!a&&t._bound){var n=r||i?s(e.value):e.value;t.set(n),ln(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},o&&(this.listener=y(this.listener,o)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var h=jQuery.fn.on?"on":"bind";jQuery(e)[h]("change",this.rawListener),n||jQuery(e)[h]("input",this.listener)}else this.on("change",this.rawListener),n||this.on("input",this.listener);!n&&en&&(this.on("cut",function(){ln(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=o(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},mo={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var i=e.value;return t.params.number&&(i=s(i)),i},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=A(t,this.getValue())}},_o={bind:function(){var t=this,e=this,i=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=i.hasAttribute("multiple");this.listener=function(){var t=xe(i,n);t=e.params.number?Gi(t)?t.map(s):s(t):t,e.set(t)},this.on("change",this.listener);var r=xe(i,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){ln(t.forceUpdate)}),Q(i)||ln(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var i,n,r=this.multiple&&Gi(t),o=e.options,s=o.length;s--;)i=o[s],n=i.hasOwnProperty("_value")?i._value:i.value,i.selected=r?Se(t,n)>-1:A(t,n)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},yo={bind:function(){function t(){var t=i.checked;return t&&i.hasOwnProperty("_trueValue")?i._trueValue:!t&&i.hasOwnProperty("_falseValue")?i._falseValue:t}var e=this,i=this.el;this.getValue=function(){return i.hasOwnProperty("_value")?i._value:e.params.number?s(i.value):i.value},this.listener=function(){var n=e._watcher.get();if(Gi(n)){var r=e.getValue(),o=b(n,r);i.checked?o<0&&e.set(n.concat(r)):o>-1&&e.set(n.slice(0,o).concat(n.slice(o+1)))}else e.set(t())},this.on("change",this.listener),i.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Gi(t)?e.checked=b(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=A(t,e._trueValue):e.checked=!!t}},bo={text:vo,radio:mo,select:_o,checkbox:yo},wo={priority:io,twoWay:!0,handlers:bo,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&zn('It seems you are using a read-only filter with v-model="'+this.descriptor.raw+'". You might want to use a two-way filter to ensure correct behavior.',this.vm);var t,e=this.el,i=e.tagName;if("INPUT"===i)t=bo[e.type]||bo.text;else if("SELECT"===i)t=bo.select;else{if("TEXTAREA"!==i)return void zn("v-model does not support element type: "+i,this.vm);t=bo.text}e.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var i=Dt(this.vm.$options,"filters",t[e].name);("function"==typeof i||i.read)&&(this.hasRead=!0),i.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},Ao={esc:27,tab:9,enter:13,space:32,delete:[8,46],up:38,left:37,right:39,down:40},xo={priority:eo,acceptStatement:!0,keyCodes:Ao,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){st(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"!=typeof t)return void zn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+t,this.vm);this.modifiers.stop&&(t=Pe(t)),this.modifiers.prevent&&(t=Te(t)),this.modifiers.self&&(t=ke(t));var e=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});e.length&&(t=Ce(t,e)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():st(this.el,this.arg,this.handler,this.modifiers.capture)},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&at(t,this.arg,this.handler)},unbind:function(){this.reset()}},So=["-webkit-","-moz-","-ms-"],Co=["Webkit","Moz","ms"],Po=/!important;?$/,To=Object.create(null),ko=null,Eo={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Gi(t)?this.handleObject(t.reduce(g,{})):this.handleObject(t||{})},handleObject:function(t){var e,i,n=this.cache||(this.cache={});for(e in n)e in t||(this.handleSingle(e,null),delete n[e]);for(e in t)i=t[e],i!==n[e]&&(n[e]=i,this.handleSingle(e,i))},handleSingle:function(t,e){if(t=Ee(t))if(null!=e&&(e+=""),e){var i=Po.test(e)?"important":"";i?(zn("It's probably a bad idea to use !important with inline rules. This feature will be deprecated in a future version of Vue."),e=e.replace(Po,"").trim(),this.el.style.setProperty(t.kebab,e,i)):this.el.style[t.camel]=e}else this.el.style[t.camel]=""}},Do="http://www.w3.org/1999/xlink",Io=/^xlink:/,Lo=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,$o=/^(?:value|checked|selected|muted)$/,Oo=/^(?:draggable|contenteditable|spellcheck)$/,Ro={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},jo={priority:no,bind:function(){var t=this.arg,e=this.el.tagName;t||(this.deep=!0);var i=this.descriptor,n=i.interp;if(n){i.hasOneTime&&(this.expression=z(n,this._scope||this.vm)),(Lo.test(t)||"name"===t&&("PARTIAL"===e||"SLOT"===e))&&(zn(t+'="'+i.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.',this.vm),this.el.removeAttribute(t),this.invalid=!0);var r=t+'="'+i.raw+'": ';"src"===t&&zn(r+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.',this.vm),"style"===t&&zn(r+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.',this.vm)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:Eo.handleObject,handleSingle:function(t,e){var i=this.el,n=this.descriptor.interp;if(this.modifiers.camel&&(t=u(t)),!n&&$o.test(t)&&t in i){var r="value"===t&&null==e?"":e;i[t]!==r&&(i[t]=r)}var o=Ro[t];if(!n&&o){i[o]=e;var s=i.__v_model;s&&s.listener()}return"value"===t&&"TEXTAREA"===i.tagName?void i.removeAttribute(t):void(Oo.test(t)?i.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(i.__v_trans&&(e+=" "+i.__v_trans.id+"-transition"),ut(i,e)):Io.test(t)?i.setAttributeNS(Do,t,e===!0?"":e):i.setAttribute(t,e===!0?"":e):i.removeAttribute(t))}},Mo={priority:oo,bind:function(){if(this.arg){var t=this.id=u(this.arg),e=(this._scope||this.vm).$els;i(e,t)?e[t]=this.el:Mt(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},Fo={bind:function(){zn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.",this.vm)}},No={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},Bo={text:zr,html:Kr,for:po,if:fo,show:go,model:wo,on:xo,bind:jo,el:Mo,ref:Fo,cloak:No},Ho={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(Ie(t)):this.cleanup()},setClass:function(t){this.cleanup(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];n&&Le(this.el,n,ct)}this.prevKeys=t},cleanup:function(t){var e=this.prevKeys;if(e)for(var i=e.length;i--;){var n=e[i];(!t||t.indexOf(n)<0)&&Le(this.el,n,lt)}}},Uo={priority:so,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?zn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=pt(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=vt("v-component"),ot(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+l(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var i=this;this.resolveComponent(t,function(){i.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var i=this;this.pendingComponentCb=w(function(n){i.ComponentName=n.options.name||("string"==typeof t?t:null),i.Component=n,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,i=this.Component.options.activate,n=this.getCached(),r=this.build();i&&!n?(this.waitingFor=r,$e(i,r,function(){e.waitingFor===r&&(e.waitingFor=null,e.transition(r,t))})):(n&&r._updateRef(),this.transition(r,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var e=this.getCached();if(e)return e;if(this.Component){var i={name:this.ComponentName,el:ue(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&g(i,t);var n=new this.Component(i);return this.keepAlive&&(this.cache[this.Component.cid]=n),this.el.hasAttribute("transition")&&n._isFragment&&zn("Transitions will not work on a fragment instance. Template: "+n.$options.template,n),n}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var i=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var n=this;t.$remove(function(){n.pendingRemovals--,i||t._cleanup(),!n.pendingRemovals&&n.pendingRemovalCb&&(n.pendingRemovalCb(),n.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var i=this,n=this.childVM;switch(n&&(n._inactive=!0),t._inactive=!1,this.childVM=t,i.params.transitionMode){case"in-out":t.$before(i.anchor,function(){i.remove(n,e)});break;case"out-in":i.remove(n,function(){t.$before(i.anchor,e)});break;default:i.remove(n),t.$before(i.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},zo=Un._propBindingModes,Wo={},Yo=/^[$_a-zA-Z]+[\w$]*$/,Vo=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,Xo=Un._propBindingModes,qo={bind:function(){var t=this.vm,e=t._context,i=this.descriptor.prop,n=i.path,r=i.parentPath,o=i.mode===Xo.TWO_WAY,s=this.parentWatcher=new re(e,r,function(e){Fe(t,i,e)},{twoWay:o,filters:i.filters,scope:this._scope});if(Me(t,i,s.value),o){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new re(t,n,function(t){s.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Go=[],Zo=!1,Qo="transition",Jo="animation",Ko=on+"Duration",ts=an+"Duration",es=Qi&&window.requestAnimationFrame,is=es?function(t){es(function(){es(t)})}:function(t){setTimeout(t,50)},ns=Xe.prototype;ns.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,ct(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Ye(this.enterNextTick))},ns.enterNextTick=function(){var t=this;this.justEntered=!0,is(function(){t.justEntered=!1});var e=this.enterDone,i=this.getCssTransitionType(this.enterClass);this.pendingJsCb?i===Qo&&lt(this.el,this.enterClass):i===Qo?(lt(this.el,this.enterClass),this.setupCssCb(sn,e)):i===Jo?this.setupCssCb(hn,e):e()},ns.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,lt(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},ns.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,ct(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Ye(this.leaveNextTick)))},ns.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===Qo?sn:hn;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},ns.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),lt(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},ns.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,at(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(lt(this.el,this.enterClass),lt(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},ns.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},ns.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=w(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},ns.getCssTransitionType=function(t){if(!(!sn||document.hidden||this.hooks&&this.hooks.css===!1||qe(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var i=this.el.style,n=window.getComputedStyle(this.el),r=i[Ko]||n[Ko];if(r&&"0s"!==r)e=Qo;else{var o=i[ts]||n[ts];o&&"0s"!==o&&(e=Jo)}return e&&(this.typeCache[t]=e),e}},ns.setupCssCb=function(t,e){this.pendingCssEvent=t;var i=this,n=this.el,r=this.pendingCssCb=function(o){o.target===n&&(at(n,t,r),i.pendingCssEvent=i.pendingCssCb=null,!i.pendingJsCb&&e&&e())};st(n,t,r)};var rs={priority:ro,update:function(t,e){var i=this.el,n=Dt(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",i.__v_trans=new Xe(i,t,n,this.vm),lt(i,e+"-transition"),ct(i,t+"-transition")}},os={style:Eo,class:Ho,component:Uo,prop:qo,transition:rs},ss=/^v-bind:|^:/,as=/^v-on:|^@/,hs=/^v-([^:]+)(?:$|:(.*)$)/,us=/\.[^\.]+/g,cs=/^(v-bind:|:)?transition$/,ls=1e3,ps=2e3;fi.terminal=!0;var fs=/[^\w\-:\.]/,ds=Object.freeze({compile:Ge,compileAndLinkProps:ti,compileRoot:ei,transclude:bi,resolveSlots:Si}),gs=/^v-on:|^@/;Ei.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var i=e.attr||"v-"+t;this.el.removeAttribute(i)}var n=e.def;if("function"==typeof n?this.update=n:g(this,n),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(t,e){r._locked||r.update(t,e)}:this._update=ki;var o=this._preProcess?f(this._preProcess,this):null,s=this._postProcess?f(this._postProcess,this):null,a=this._watcher=new re(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:o,postProcess:s,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},Ei.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,i,n,r=t.length;r--;)e=l(t[r]),n=u(e),i=K(this.el,e),null!=i?this._setupParamWatcher(n,i):(i=J(this.el,e),null!=i&&(this.params[n]=""===i||i))}},Ei.prototype._setupParamWatcher=function(t,e){var i=this,n=!1,r=(this._scope||this.vm).$watch(e,function(e,r){if(i.params[t]=e,n){var o=i.paramWatchers&&i.paramWatchers[t];o&&o.call(i,e,r)}else n=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},Ei.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!Kt(t)){var e=Jt(t).get,i=this._scope||this.vm,n=function(t){i.$event=t,e.call(i,i),i.$event=null};return this.filters&&(n=i._applyFilters(n,null,this.filters)),this.update(n),!0}},Ei.prototype.set=function(t){this.twoWay?this._withLock(function(){this._watcher.set(t)}):zn("Directive.set() can only be used inside twoWaydirectives.")},Ei.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),ln(function(){e._locked=!1})},Ei.prototype.on=function(t,e,i){st(this.el,t,e,i),(this._listeners||(this._listeners=[])).push([t,e])},Ei.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,e=this._listeners;if(e)for(t=e.length;t--;)at(this.el,e[t][0],e[t][1]);var i=this._paramUnwatchFns;if(i)for(t=i.length;t--;)i[t]();this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}};var vs=/[^|]\|[^|]/;Ft(ji),Pi(ji),Ti(ji),Di(ji),Ii(ji),Li(ji),$i(ji),Oi(ji),Ri(ji);var ms={priority:co,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,i){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var n=document.createElement("template");n.setAttribute("v-else",""),n.innerHTML=this.el.innerHTML,n._context=this.vm,t.appendChild(n)}var r=i?i._scope:this._scope;this.unlink=e.$compile(t,i,r,this._frag)}t?ot(this.el,t):nt(this.el)},fallback:function(){this.compile(pt(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},_s={priority:ao,params:["name"],paramWatchers:{name:function(t){fo.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=vt("v-partial"),ot(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=Dt(this.vm.$options,"partials",t,!0);e&&(this.factory=new _e(this.vm,e),fo.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},ys={slot:ms,partial:_s},bs=po._postProcess,ws=/(\d{3})(?=\d)/g,As={orderBy:Ni,filterBy:Fi,limitBy:Mi,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""},currency:function(t,e,i){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",i=null!=i?i:2;var n=Math.abs(t).toFixed(i),r=i?n.slice(0,-1-i):n,o=r.length%3,s=o>0?r.slice(0,o)+(r.length>3?",":""):"",a=i?n.slice(-1-i):"",h=t<0?"-":"";return h+e+s+r.slice(o).replace(ws,"$1,")+a},pluralize:function(t){var e=d(arguments,1),i=e.length;if(i>1){var n=t%10-1;return n in e?e[n]:e[i-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),y(t,e)}};return Hi(ji),ji.version="1.0.28",setTimeout(function(){Un.devtools&&(Ji?Ji.emit("init",ji):Qi&&/Chrome\/\d+/.test(window.navigator.userAgent))},0),ji})},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){(function(){"use strict";e.stripBOM=function(t){return"\ufeff"===t[0]?t.substring(1):t}}).call(this)},function(t,e,i){(function(){"use strict";var t,n,r,o,s,a={}.hasOwnProperty;t=i(197),n=i(39).defaults,o=function(t){return"string"==typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},s=function(t){return"<![CDATA["+r(t)+"]]>"},r=function(t){return t.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function e(t){var e,i,r;this.options={},i=n[.2];for(e in i)a.call(i,e)&&(r=i[e],this.options[e]=r);for(e in t)a.call(t,e)&&(r=t[e],this.options[e]=r)}return e.prototype.buildObject=function(e){var i,r,h,u,c;return i=this.options.attrkey,r=this.options.charkey,1===Object.keys(e).length&&this.options.rootName===n[.2].rootName?(c=Object.keys(e)[0],e=e[c]):c=this.options.rootName,h=function(t){return function(e,n){var u,c,l,p,f,d;if("object"!=typeof n)t.options.cdata&&o(n)?e.raw(s(n)):e.txt(n);else if(Array.isArray(n)){for(p in n)if(a.call(n,p)){c=n[p];for(f in c)l=c[f],e=h(e.ele(f),l).up()}}else for(f in n)if(a.call(n,f))if(c=n[f],f===i){if("object"==typeof c)for(u in c)d=c[u],e=e.att(u,d)}else if(f===r)e=t.options.cdata&&o(c)?e.raw(s(c)):e.txt(c);else if(Array.isArray(c))for(p in c)a.call(c,p)&&(l=c[p],e="string"==typeof l?t.options.cdata&&o(l)?e.ele(f).raw(s(l)).up():e.ele(f,l).up():h(e.ele(f),l).up());else"object"==typeof c?e=h(e.ele(f),c).up():"string"==typeof c&&t.options.cdata&&o(c)?e=e.ele(f).raw(s(c)).up():(null==c&&(c=""),e=e.ele(f,c.toString()).up());return e}}(this),u=t.create(c,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),h(u,e).end(this.options.renderOpts)},e}()}).call(this)},function(t,e,i){(function(){"use strict";var t,n,r,o,s,a,h,u,c=function(t,e){return function(){return t.apply(e,arguments)}},l=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;h=i(172),r=i(23),t=i(187),a=i(77),u=i(37).setImmediate,n=i(39).defaults,o=function(t){return"object"==typeof t&&null!=t&&0===Object.keys(t).length},s=function(t,e,i){var n,r,o;for(n=0,r=t.length;n<r;n++)o=t[n],e=o(e,i);return e},e.Parser=function(i){function r(t){this.parseStringPromise=c(this.parseStringPromise,this),this.parseString=c(this.parseString,this),this.reset=c(this.reset,this),this.assignOrPush=c(this.assignOrPush,this),this.processAsync=c(this.processAsync,this);var i,r,o;if(!(this instanceof e.Parser))return new e.Parser(t);this.options={},r=n[.2];for(i in r)p.call(r,i)&&(o=r[i],this.options[i]=o);for(i in t)p.call(t,i)&&(o=t[i],this.options[i]=o);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(a.normalize)),this.reset()}return l(r,i),r.prototype.processAsync=function(){var t,e;try{return this.remaining.length<=this.options.chunkSize?(t=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(t),this.saxParser.close()):(t=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(t),u(this.processAsync))}catch(t){if(e=t,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(e)}},r.prototype.assignOrPush=function(t,e,i){return e in t?(t[e]instanceof Array||(t[e]=[t[e]]),t[e].push(i)):this.options.explicitArray?t[e]=[i]:t[e]=i},r.prototype.reset=function(){var t,e,i,n;return this.removeAllListeners(),this.saxParser=h.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(t){return function(e){if(t.saxParser.resume(),!t.saxParser.errThrown)return t.saxParser.errThrown=!0,t.emit("error",e)}}(this),this.saxParser.onend=function(t){return function(){if(!t.saxParser.ended)return t.saxParser.ended=!0,t.emit("end",t.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,n=[],t=this.options.attrkey,e=this.options.charkey,this.saxParser.onopentag=function(i){return function(r){var o,a,h,u,c;if(h={},h[e]="",!i.options.ignoreAttrs){c=r.attributes;for(o in c)p.call(c,o)&&(t in h||i.options.mergeAttrs||(h[t]={}),a=i.options.attrValueProcessors?s(i.options.attrValueProcessors,r.attributes[o],o):r.attributes[o],u=i.options.attrNameProcessors?s(i.options.attrNameProcessors,o):o,i.options.mergeAttrs?i.assignOrPush(h,u,a):h[t][u]=a)}return h["#name"]=i.options.tagNameProcessors?s(i.options.tagNameProcessors,r.name):r.name,i.options.xmlns&&(h[i.options.xmlnskey]={uri:r.uri,local:r.local}),n.push(h)}}(this),this.saxParser.onclosetag=function(t){return function(){var i,r,a,h,u,c,l,f,d,g;if(c=n.pop(),u=c["#name"],t.options.explicitChildren&&t.options.preserveChildrenOrder||delete c["#name"],c.cdata===!0&&(i=c.cdata,delete c.cdata),d=n[n.length-1],c[e].match(/^\s*$/)&&!i?(r=c[e],delete c[e]):(t.options.trim&&(c[e]=c[e].trim()),t.options.normalize&&(c[e]=c[e].replace(/\s{2,}/g," ").trim()),c[e]=t.options.valueProcessors?s(t.options.valueProcessors,c[e],u):c[e],1===Object.keys(c).length&&e in c&&!t.EXPLICIT_CHARKEY&&(c=c[e])),o(c)&&(c=""!==t.options.emptyTag?t.options.emptyTag:r),null!=t.options.validator&&(g="/"+function(){var t,e,i;for(i=[],t=0,e=n.length;t<e;t++)h=n[t],i.push(h["#name"]);return i}().concat(u).join("/"),function(){var e;try{return c=t.options.validator(g,d&&d[u],c)}catch(i){return e=i,t.emit("error",e)}}()),t.options.explicitChildren&&!t.options.mergeAttrs&&"object"==typeof c)if(t.options.preserveChildrenOrder){if(d){d[t.options.childkey]=d[t.options.childkey]||[],l={};for(a in c)p.call(c,a)&&(l[a]=c[a]);d[t.options.childkey].push(l),delete c["#name"],1===Object.keys(c).length&&e in c&&!t.EXPLICIT_CHARKEY&&(c=c[e])}}else h={},t.options.attrkey in c&&(h[t.options.attrkey]=c[t.options.attrkey],delete c[t.options.attrkey]),!t.options.charsAsChildren&&t.options.charkey in c&&(h[t.options.charkey]=c[t.options.charkey],delete c[t.options.charkey]),Object.getOwnPropertyNames(c).length>0&&(h[t.options.childkey]=c),c=h;return n.length>0?t.assignOrPush(d,u,c):(t.options.explicitRoot&&(f=c,c={},c[u]=f),t.resultObject=c,t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),i=function(t){return function(i){var r,o;if(o=n[n.length-1])return o[e]+=i,t.options.explicitChildren&&t.options.preserveChildrenOrder&&t.options.charsAsChildren&&(t.options.includeWhiteChars||""!==i.replace(/\\n/g,"").trim())&&(o[t.options.childkey]=o[t.options.childkey]||[],r={"#name":"__text__"},r[e]=i,t.options.normalize&&(r[e]=r[e].replace(/\s{2,}/g," ").trim()),o[t.options.childkey].push(r)),o}}(this),this.saxParser.ontext=i,this.saxParser.oncdata=function(t){return function(t){var e;if(e=i(t))return e.cdata=!0}}(this)},r.prototype.parseString=function(e,i){var n;null!=i&&"function"==typeof i&&(this.on("end",function(t){return this.reset(),i(null,t)}),this.on("error",function(t){return this.reset(),i(t)}));try{return e=e.toString(),""===e.trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,u(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(t){if(n=t,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",n),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw n}},r.prototype.parseStringPromise=function(t){return new Promise(function(e){return function(i,n){return e.parseString(t,function(t,e){return t?n(t):i(e)})}}(this))},r}(r),e.parseString=function(t,i,n){var r,o,s;return null!=n?("function"==typeof n&&(r=n),"object"==typeof i&&(o=i)):("function"==typeof i&&(r=i),o={}),s=new e.Parser(o),s.parseString(t,r)},e.parseStringPromise=function(t,i){var n,r;return"object"==typeof i&&(n=i),r=new e.Parser(n),r.parseStringPromise(t)}}).call(this)},function(t,e){(function(){t.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},function(t,e,i){(function(){var e,n,r;n=i(192),r=i(193),t.exports=e=function(){function t(){var t;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new n,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=t=Object.create(this.defaultParams)}return Object.defineProperty(t.prototype,"parameterNames",{get:function(){return new r(Object.keys(this.defaultParams))}}),t.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},t.prototype.canSetParameter=function(t,e){return!0},t.prototype.setParameter=function(t,e){return null!=e?this.params[t]=e:delete this.params[t]},t}()}).call(this)},function(t,e){(function(){var e;t.exports=e=function(){function t(){}return t.prototype.handleError=function(t){throw new Error(t)},t}()}).call(this)},function(t,e){(function(){var e;t.exports=e=function(){function t(t){this.arr=t||[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.arr.length}}),t.prototype.item=function(t){return this.arr[t]||null},t.prototype.contains=function(t){return this.arr.indexOf(t)!==-1},t}()}).call(this)},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c,l,p,f,d,g,v,m,_,y,b,w,A,x,S,C,P={}.hasOwnProperty;C=i(8),x=C.isObject,A=C.isFunction,S=C.isPlainObject,w=C.getValue,e=i(2),f=i(80),g=i(48),o=i(40),s=i(41),m=i(51),b=i(53),v=i(50),l=i(46),p=i(47),a=i(42),u=i(44),h=i(43),c=i(45),r=i(78),y=i(82),_=i(52),n=i(28),t.exports=d=function(){function t(t,i,n){var r;this.name="?xml",this.type=e.Document,t||(t={}),r={},t.writer?S(t.writer)&&(r=t.writer,t.writer=new _):t.writer=new _,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(r),this.stringify=new y(t),this.onDataCallback=i||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},
this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.createChildNode=function(t){var i,n,r,o,s,a,h,u;switch(t.type){case e.CData:this.cdata(t.value);break;case e.Comment:this.comment(t.value);break;case e.Element:r={},h=t.attribs;for(n in h)P.call(h,n)&&(i=h[n],r[n]=i.value);this.node(t.name,r);break;case e.Dummy:this.dummy();break;case e.Raw:this.raw(t.value);break;case e.Text:this.text(t.value);break;case e.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+t.constructor.name)}for(u=t.children,s=0,a=u.length;s<a;s++)o=u[s],this.createChildNode(o),o.type===e.Element&&this.up();return this},t.prototype.dummy=function(){return this},t.prototype.node=function(t,e,i){var n;if(null==t)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(t));return this.openCurrent(),t=w(t),null==e&&(e={}),e=w(e),x(e)||(n=[e,i],i=n[0],e=n[1]),this.currentNode=new g(this,t,e),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=i&&this.text(i),this},t.prototype.element=function(t,i,n){var r,o,s,a,h,u;if(this.currentNode&&this.currentNode.type===e.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(t)||x(t)||A(t))for(a=this.options.noValidation,this.options.noValidation=!0,u=new f(this.options).element("TEMP_ROOT"),u.element(t),this.options.noValidation=a,h=u.children,o=0,s=h.length;o<s;o++)r=h[o],this.createChildNode(r),r.type===e.Element&&this.up();else this.node(t,i,n);return this},t.prototype.attribute=function(t,e){var i,n;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(t));if(null!=t&&(t=w(t)),x(t))for(i in t)P.call(t,i)&&(n=t[i],this.attribute(i,n));else A(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.currentNode.attribs[t]=new r(this,t,""):null!=e&&(this.currentNode.attribs[t]=new r(this,t,e));return this},t.prototype.text=function(t){var e;return this.openCurrent(),e=new b(this,t),this.onData(this.writer.text(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(t){var e;return this.openCurrent(),e=new o(this,t),this.onData(this.writer.cdata(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(t){var e;return this.openCurrent(),e=new s(this,t),this.onData(this.writer.comment(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(t){var e;return this.openCurrent(),e=new m(this,t),this.onData(this.writer.raw(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(t,e){var i,n,r,o,s;if(this.openCurrent(),null!=t&&(t=w(t)),null!=e&&(e=w(e)),Array.isArray(t))for(i=0,o=t.length;i<o;i++)n=t[i],this.instruction(n);else if(x(t))for(n in t)P.call(t,n)&&(r=t[n],this.instruction(n,r));else A(e)&&(e=e.apply()),s=new v(this,t,e),this.onData(this.writer.processingInstruction(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(t,e,i){var n;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return n=new l(this,t,e,i),this.onData(this.writer.declaration(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(t,e,i){if(this.openCurrent(),null==t)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new p(this,e,i),this.currentNode.rootNodeName=t,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(t,e){var i;return this.openCurrent(),i=new h(this,t,e),this.onData(this.writer.dtdElement(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(t,e,i,n,r){var o;return this.openCurrent(),o=new a(this,t,e,i,n,r),this.onData(this.writer.dtdAttList(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(t,e){var i;return this.openCurrent(),i=new u(this,!1,t,e),this.onData(this.writer.dtdEntity(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(t,e){var i;return this.openCurrent(),i=new u(this,!0,t,e),this.onData(this.writer.dtdEntity(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(t,e){var i;return this.openCurrent(),i=new c(this,t,e),this.onData(this.writer.dtdNotation(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(t){var i,r,o,s;if(!t.isOpen){if(this.root||0!==this.currentLevel||t.type!==e.Element||(this.root=t),r="",t.type===e.Element){this.writerOptions.state=n.OpenTag,r=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<"+t.name,s=t.attribs;for(o in s)P.call(s,o)&&(i=s[o],r+=this.writer.attribute(i,this.writerOptions,this.currentLevel));r+=(t.children?">":"/>")+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,r=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+t.rootNodeName,t.pubID&&t.sysID?r+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(r+=' SYSTEM "'+t.sysID+'"'),t.children?(r+=" [",this.writerOptions.state=n.InsideTag):(this.writerOptions.state=n.CloseTag,r+=">"),r+=this.writer.endline(t,this.writerOptions,this.currentLevel);return this.onData(r,this.currentLevel),t.isOpen=!0}},t.prototype.closeNode=function(t){var i;if(!t.isClosed)return i="",this.writerOptions.state=n.CloseTag,i=t.type===e.Element?this.writer.indent(t,this.writerOptions,this.currentLevel)+"</"+t.name+">"+this.writer.endline(t,this.writerOptions,this.currentLevel):this.writer.indent(t,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(i,this.currentLevel),t.isClosed=!0},t.prototype.onData=function(t,e){return this.documentStarted=!0,this.onDataCallback(t,e+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(t){return null==t?"":"node: <"+t+">"},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,i){return this.node(t,e,i)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,i){return this.declaration(t,e,i)},t.prototype.dtd=function(t,e,i){return this.doctype(t,e,i)},t.prototype.e=function(t,e,i){return this.element(t,e,i)},t.prototype.n=function(t,e,i){return this.node(t,e,i)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(this)},function(t,e){(function(){var e;t.exports=e=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.item=function(t){return this.nodes[t]||null},t}()}).call(this)},function(t,e,i){(function(){var e,n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;e=i(2),o=i(83),n=i(28),t.exports=r=function(t){function i(t,e){this.stream=t,i.__super__.constructor.call(this,e)}return s(i,t),i.prototype.endline=function(t,e,r){return t.isLastRootNode&&e.state===n.CloseTag?"":i.__super__.endline.call(this,t,e,r)},i.prototype.document=function(t,e){var i,n,r,o,s,a,h,u,c;for(h=t.children,n=r=0,s=h.length;r<s;n=++r)i=h[n],i.isLastRootNode=n===t.children.length-1;for(e=this.filterOptions(e),u=t.children,c=[],o=0,a=u.length;o<a;o++)i=u[o],c.push(this.writeChildNode(i,e,0));return c},i.prototype.attribute=function(t,e,n){return this.stream.write(i.__super__.attribute.call(this,t,e,n))},i.prototype.cdata=function(t,e,n){return this.stream.write(i.__super__.cdata.call(this,t,e,n))},i.prototype.comment=function(t,e,n){return this.stream.write(i.__super__.comment.call(this,t,e,n))},i.prototype.declaration=function(t,e,n){return this.stream.write(i.__super__.declaration.call(this,t,e,n))},i.prototype.docType=function(t,e,i){var r,o,s,a;if(i||(i=0),this.openNode(t,e,i),e.state=n.OpenTag,this.stream.write(this.indent(t,e,i)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t,e,i)),e.state=n.InsideTag,a=t.children,o=0,s=a.length;o<s;o++)r=a[o],this.writeChildNode(r,e,i+1);e.state=n.CloseTag,this.stream.write("]")}return e.state=n.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(t,e,i)),e.state=n.None,this.closeNode(t,e,i)},i.prototype.element=function(t,i,r){var o,s,h,u,c,l,p,f,d,g;r||(r=0),this.openNode(t,i,r),i.state=n.OpenTag,this.stream.write(this.indent(t,i,r)+"<"+t.name),d=t.attribs;for(p in d)a.call(d,p)&&(o=d[p],this.attribute(o,i,r));if(h=t.children.length,u=0===h?null:t.children[0],0===h||t.children.every(function(t){return(t.type===e.Text||t.type===e.Raw)&&""===t.value}))i.allowEmpty?(this.stream.write(">"),i.state=n.CloseTag,this.stream.write("</"+t.name+">")):(i.state=n.CloseTag,this.stream.write(i.spaceBeforeSlash+"/>"));else if(!i.pretty||1!==h||u.type!==e.Text&&u.type!==e.Raw||null==u.value){for(this.stream.write(">"+this.endline(t,i,r)),i.state=n.InsideTag,g=t.children,c=0,l=g.length;c<l;c++)s=g[c],this.writeChildNode(s,i,r+1);i.state=n.CloseTag,this.stream.write(this.indent(t,i,r)+"</"+t.name+">")}else this.stream.write(">"),i.state=n.InsideTag,i.suppressPrettyCount++,f=!0,this.writeChildNode(u,i,r+1),i.suppressPrettyCount--,f=!1,i.state=n.CloseTag,this.stream.write("</"+t.name+">");return this.stream.write(this.endline(t,i,r)),i.state=n.None,this.closeNode(t,i,r)},i.prototype.processingInstruction=function(t,e,n){return this.stream.write(i.__super__.processingInstruction.call(this,t,e,n))},i.prototype.raw=function(t,e,n){return this.stream.write(i.__super__.raw.call(this,t,e,n))},i.prototype.text=function(t,e,n){return this.stream.write(i.__super__.text.call(this,t,e,n))},i.prototype.dtdAttList=function(t,e,n){return this.stream.write(i.__super__.dtdAttList.call(this,t,e,n))},i.prototype.dtdElement=function(t,e,n){return this.stream.write(i.__super__.dtdElement.call(this,t,e,n))},i.prototype.dtdEntity=function(t,e,n){return this.stream.write(i.__super__.dtdEntity.call(this,t,e,n))},i.prototype.dtdNotation=function(t,e,n){return this.stream.write(i.__super__.dtdNotation.call(this,t,e,n))},i}(o)}).call(this)},function(t,e,i){(function(){var e,n,r,o,s,a,h,u,c,l;l=i(8),u=l.assign,c=l.isFunction,r=i(79),o=i(80),s=i(194),h=i(52),a=i(196),e=i(2),n=i(28),t.exports.create=function(t,e,i,n){var r,s;if(null==t)throw new Error("Root element needs a name.");return n=u({},e,i,n),r=new o(n),s=r.element(t),n.headless||(r.declaration(n),null==n.pubID&&null==n.sysID||r.dtd(n)),s},t.exports.begin=function(t,e,i){var n;return c(t)&&(n=[t,e],e=n[0],i=n[1],t={}),e?new s(t,e,i):new o(t)},t.exports.stringWriter=function(t){return new h(t)},t.exports.streamWriter=function(t,e){return new a(t,e)},t.exports.implementation=new r,t.exports.nodeType=e,t.exports.writerState=n}).call(this)},function(t,e){(function(){var e;e=function(){function t(){}return t.init=function(t,e){return this.pageWidth=t,this.pageHeight=e,this.a=2*this.pageWidth/20,this.b=this.pageHeight/20},t.getGaPointMihiraki=function(t,e,i,n){var r,o,s,a,h,u;return i=Math.min(i,20*this.a),n=Math.min(n,20*this.b),h=t/this.a>>0,u=e/this.b>>0,h=Math.max(0,h),u=Math.max(0,u),o=(parseFloat(t)+parseFloat(i)-1)/this.a>>0,s=(parseFloat(e)+parseFloat(n)-1)/this.b>>0,o=Math.min(o,19),s=Math.min(s,19),a=h+20*u,r=Math.min(o+20*s,399),"lt="+a+",rb="+r},t.getGaPoint=function(t,e,i,n){var r,o,s,a,h,u,c;return i=Math.min(i,10*this.a),n=Math.min(n,20*this.b),u=t/this.a>>0,c=e/this.b>>0,u=Math.max(0,u),c=Math.max(0,c),o=(parseFloat(t)+parseFloat(i)-1)/this.a>>0,s=(parseFloat(e)+parseFloat(n)-1)/this.b>>0,a=0,a=u<=9?9:19,o=Math.min(o,a),s=Math.min(s,19),h=u+20*c,r=Math.min(o+20*s,399),"lt="+h+",rb="+r},t}(),t.exports=e}).call(this)},function(t,e){(function(){var e;e=function(){function t(){}return t.zenkaku2hankaku=function(t){var e;return e=t.replace(/[！-～]/g,function(t){return String.fromCharCode(t.charCodeAt(0)-65248)}),e.replace(/”/g,'"').replace(/’/g,"'").replace(/‘/g,"`").replace(/　/g," ").replace(/〜/g,"~")},t.zenkaku2hankakuWord=function(t){var e;return e=t.replace(/[！-～]/g,function(t){return t=String.fromCharCode(t.charCodeAt(0)-65248),t=t.replace(/[\^|\$|\\|\.|\*|\+|\?|\(|\)|\[|\]|\|]/gi,"\\$&")}),e.replace(/”/g,'"').replace(/’/g,"'").replace(/‘/g,"`").replace(/　/g," ").replace(/〜/g,"~")},t}(),t.exports=e}).call(this)},function(t,e,i){(function(){var e,n;e=i(20),n=function(){function t(){}return t.getSlicePositions=function(t,i,n,r,o){var s,a,h,u,c,l,p,f,d,g,v;for(p=[],v=Math.ceil(i*o/r),g=Math.ceil(t*o/n),l=0;l++<v;)for(s=0;s++<g;)h=(s-1)*n,u=(s-1)*n+n,c=(l-1)*r,a=(l-1)*r+r,d=u<=t*o?n:n-(u-t*o),f=a<=i*o?r:r-(a-i*o),p.push(new e((s-1)*n,(l-1)*r,(s-1)*n+d,(l-1)*r+f));return p},t}(),t.exports=n}).call(this)},function(t,e,i){var n=i(106);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(107);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(108);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(109);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(110);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(111);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e){t.exports="data:image/gif;base64,R0lGODdhLwAUAOfXAAAAADMAAGYAAJkAAMwAAP8AAAAzADMzAGYzAJkzAMwzAP8zAABmADNmAGZmAJlmAMxmAP9mAACZADOZAGaZAJmZAMyZAP+ZAADMADPMAGbMAJnMAMzMAP/MAAD/ADP/AGb/AJn/AMz/AP//AAAAMzMAM2YAM5kAM8wAM/8AMwAzMzMzM2YzM5kzM8wzM/8zMwBmMzNmM2ZmM5lmM8xmM/9mMwCZMzOZM2aZM5mZM8yZM/+ZMwDMMzPMM2bMM5nMM8zMM//MMwD/MzP/M2b/M5n/M8z/M///MwAAZjMAZmYAZpkAZswAZv8AZgAzZjMzZmYzZpkzZswzZv8zZgBmZjNmZmZmZplmZsxmZv9mZgCZZjOZZmaZZpmZZsyZZv+ZZgDMZjPMZmbMZpnMZszMZv/MZgD/ZjP/Zmb/Zpn/Zsz/Zv//ZgAAmTMAmWYAmZkAmcwAmf8AmQAzmTMzmWYzmZkzmcwzmf8zmQBmmTNmmWZmmZlmmcxmmf9mmQCZmTOZmWaZmZmZmcyZmf+ZmQDMmTPMmWbMmZnMmczMmf/MmQD/mTP/mWb/mZn/mcz/mf//mQAAzDMAzGYAzJkAzMwAzP8AzAAzzDMzzGYzzJkzzMwzzP8zzABmzDNmzGZmzJlmzMxmzP9mzACZzDOZzGaZzJmZzMyZzP+ZzADMzDPMzGbMzJnMzMzMzP/MzAD/zDP/zGb/zJn/zMz/zP//zAAA/zMA/2YA/5kA/8wA//8A/wAz/zMz/2Yz/5kz/8wz//8z/wBm/zNm/2Zm/5lm/8xm//9m/wCZ/zOZ/2aZ/5mZ/8yZ//+Z/wDM/zPM/2bM/5nM/8zM///M/wD//zP//2b//5n//8z//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBADYACwAAAAALwAUAAAIpQCvCRxIsKDBgwgTKlzIsKHDhxAjSpyoUJRFgRZFYbxIsWHGjRqvfVQYqGDJhyNTcjzIagWAk9cCAVjByqHKkCMPygTwMibPnh453lRo5WdRnlZQCl0aMuFRowZzEhwqcmVClzxXHKTK1arOnzxhDuyKkynJn1iBjjVbtazbhDsBJH0qlizIuwhZIR14tObat23xSjXIKilBK347Kl7MuLHjxx0DAgAh+QQFBADYACwCAAQAFwAIAAAIKQCvCRxIsCC2gwdXOVuFsCFChQwdSpxIsaLFixgzapQ4apSqjRYhbgwIACH5BAUEANgALAIABAAXAAwAAAg6ALEJHEiwYEFo1p5dW8iwoUODEAuucrYqosWLGDNq3MiRI7RY0DqKHEly46hRqgSeTIltJcRRqUYFBAAh+QQFBADYACwCAAQAFwAMAAAIQQCxCRxIsODAawgRGly4cNSoVAkjSkzIcKJFhQwzPiSVsaPHgdBiQfvo0SLJgqucrTrJsmVLUTAFwhQlM6bBmQEBACH5BAUEANgALAcABQASAAsAAAgvALEJHEiw4CpnqwoqXMiwIbZrECNKdDjwYEKKGDM2hGZNo8ePC0eNUoVxVKpRAQEAIfkEBQQA2AAsAgAFABcACwAACD0AsQkcSLDgwGsIERpcuHDUKFUMI0qcyDChxYsJKRqEFguaxo8RMV4DOXCVs1UkUxZ0CBGbqJcCWS58KSogACH5BAUEANgALAIABAAXAAwAAAg+ALEJHEiw4CpnqwoqXMiwocOBBxM+nEixosWB1zJq3MiR4ahRqjiKvHZR4KhUoyiOLMkSm6iXC1+KWnhyVEAAIfkEBQQA2AAsAgAEABcADAAACEQArwkcSLCgQYHYEipcyLChw4cMCzIURRGiwlGpRk2saBEiRVEdPXIMiW2Vs1UJP5J0+PEgSZXYoMWCtrKmzYsZU1IMCAAh+QQFBADYACwCAAUAFwALAAAIMgCxCRxIsOAqZ6sKKlzIcOHBhA0FQrMGMaLFixgzatzIEeO1jyCvbQwJkuGoUao6CgwIACH5BAUEANgALAIABAAXAAwAAAhFALEJHEhQlEGCCBMiNCjqmsOHEBUOZChwlbNVCCFqvEZRokeBHT9KDCkyIcmE0GJBU3iy5MSDLk3CjFlwJk2WMEelGhUQACH5BAUEANgALAIABAAXAAwAAAg8ALEJHEhwlbNVBBMqXMiw4cJrECNKdMhQ4rWEo1KNoojNIEKOIEMqtChy4KiMJVOqFCmq5cKTqha2FBUQACH5BAUEANgALAIABAAXAAwAAAg4AK8JHEiwoEGB2BIqXDhqlKqFECNKnEiR4ipnqypCs5aRYsGKIEOKHEmypMmTIRs+BDkq1SiIAQEAIfkEBQQA2AAsBwAEABIADAAACDUAsQkcSLCgqIPXEipcyPCgqIKjUo0qKNAhRYEMEzpkeHGgxY4gQ4ocSbKkSZOjRqmqeDBkQAAh+QQFBADYACwCAAQAFwAMAAAINQCxCRxIsGDBVc5WGVzIsOFAaNYUOpxIkeK1ixivMUQosaLHjyCxQYsFLaTJkxRFqUy5kmBAACH5BAUEANgALAIABAAXAAwAAAg2ALEJHEiwYEFo1p4ZXMhQ4LWHECNKlNiQ4Cpnqypq3HgwFrSFFzNyHEmSIcWSKFOq5Dgq1aiAACH5BAUEANgALAIABAAXAAwAAAg+AK8JHEiwoEGB2BIqXMiQ4SpnqxpKnJjwoMWCFDNKvHiNIbRY0DKOGqVKo8mTKFOqXElxZMmGLhOOSjWKYUAAIfkEBQQA2AAsAgAFABcACwAACDkArwkcSLCgQYHYEipcyLChw4cQI2KDZu2ZxIsHFR4cyJDiqosgQ15c5eyjyJMSRalMqFKUw5YMAwIAIfkEBQQA2AAsAgAGABcACgAACDkAsQkcSLBgwVXOVhlcyFDgtYcQI0qU2JAgNGsKK2rENvEaQ4QZC45KNWqjyYEXn51cyZKhqJcVAwIAIfkEBQQA2AAsAgAGABcACgAACDkArwkcSLCgQYHYEipcyJDhqFSjGkqcmPCgxYIUF65ytiojQ2ixoDE86LGkyZMoJY4apSolNlEwAwIAIfkEBQQA2AAsAgAHABcACQAACDgAsQkcSLBgQWjWVhlcyLChQ4PXIkqcSJHiwIoTR41S9ZDgqFSjFn4MSdBix4IjTy4UxbJjSoIBAQAh+QQFBADYACwHAAcAEgAJAAAIMACvCRxIsOBAbAgTKlw4apSqhRAjSpwIEVosaBShWVu10OA1igkbPgRJcqKokwsDAgAh+QQFBADYACwCAAgAFwAIAAAINQCvCRxIsKBBgdgSKlzIsKHDhxCxHZxYUCHFa6NSjYrIcSG0WNA6ilQ4ilSzhKNGqUKpMmJAACH5BAUEANgALAIACQAXAAcAAAgwALEJHEiwYMFVzlYZXMiwoUOD1yJKnEiRIsNRo1QVrHhtIDRrCh8iDDlQlMmHDQMCACH5BAUEANgALAIACQAXAAcAAAgoAK8JHEiwoEGB2BIqXMiwocOHECNKVHiwYkGKBB8efCiqY8KOoiIGBAA7"},function(t,e){t.exports="data:image/gif;base64,R0lGODdhGwAUAOfXAAAAADMAAGYAAJkAAMwAAP8AAAAzADMzAGYzAJkzAMwzAP8zAABmADNmAGZmAJlmAMxmAP9mAACZADOZAGaZAJmZAMyZAP+ZAADMADPMAGbMAJnMAMzMAP/MAAD/ADP/AGb/AJn/AMz/AP//AAAAMzMAM2YAM5kAM8wAM/8AMwAzMzMzM2YzM5kzM8wzM/8zMwBmMzNmM2ZmM5lmM8xmM/9mMwCZMzOZM2aZM5mZM8yZM/+ZMwDMMzPMM2bMM5nMM8zMM//MMwD/MzP/M2b/M5n/M8z/M///MwAAZjMAZmYAZpkAZswAZv8AZgAzZjMzZmYzZpkzZswzZv8zZgBmZjNmZmZmZplmZsxmZv9mZgCZZjOZZmaZZpmZZsyZZv+ZZgDMZjPMZmbMZpnMZszMZv/MZgD/ZjP/Zmb/Zpn/Zsz/Zv//ZgAAmTMAmWYAmZkAmcwAmf8AmQAzmTMzmWYzmZkzmcwzmf8zmQBmmTNmmWZmmZlmmcxmmf9mmQCZmTOZmWaZmZmZmcyZmf+ZmQDMmTPMmWbMmZnMmczMmf/MmQD/mTP/mWb/mZn/mcz/mf//mQAAzDMAzGYAzJkAzMwAzP8AzAAzzDMzzGYzzJkzzMwzzP8zzABmzDNmzGZmzJlmzMxmzP9mzACZzDOZzGaZzJmZzMyZzP+ZzADMzDPMzGbMzJnMzMzMzP/MzAD/zDP/zGb/zJn/zMz/zP//zAAA/zMA/2YA/5kA/8wA//8A/wAz/zMz/2Yz/5kz/8wz//8z/wBm/zNm/2Zm/5lm/8xm//9m/wCZ/zOZ/2aZ/5mZ/8yZ//+Z/wDM/zPM/2bM/5nM/8zM///M/wD//zP//2b//5n//8z//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFEADYACwAAAAAGwAUAAAIMACvCRxIsKDBgwgTKlzIsKHDhxAjSpxIsaJDURgtCsQoSuM1jh5DihxJsqTJkxIDAgAh+QQFFADYACwCAAkACAADAAAIDwCvCRQoquBAggYPFhQVEAAh+QQFFADYACwHAAkACAADAAAIDwCvCRQoquBAggYPFhQVEAAh+QQFFADYACwMAAkACAADAAAIDwCvCRQoquBAggYPFhQVEAAh+QQFGADYACwRAAkACAADAAAIDwCvCRQoquBAggYPFhQVEAA7"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKBIlJYqYR15hp5ejIZvrxs1P5YjErlMNN4Yh4TM/0tAyOMBeAr2+WRQElWW2ZaJHtrRzt7VnW5mj5v9nfHn5T/T3IevtV8Sbsz55BjJ5Z32zsrC+9FgD2JFqbHbO+lVUAtG0GQOXhrE/vIADyBQC03pzzHoZsXpLE4gwnC4vs7GxzAZ9rLivoN/ufgm/Kv4Y595nL7vtWO6YXP4EjSRUzZUXlpqemS0TMzAwOl89k/fcQ/+PAOWnNycMsnJ/AF/GF6FVR6JQJhIlou4U8gViQLmQKhH/V4X8YNicHGX6daxRodV8AfYU5ULhJB8hvPQBDIwMkbj96An3rWxAxCsi+vGitka9zjzJ6/uf6Hwtcim7hTEEiU+b2DI9kciWiLBmj34RswQISkAd0oAo0gS4wAixgDRyAM3AD3iAAhIBIEAOWAy5IAmlABLJBPtgACkEx2AF2g2pwANSBetAEToI2cAZcBFfADXALDIBHQAqGwUswAd6BaQiC8BAVokGqkBakD5lC1hAbWgh5Q0FQOBQDxUOJkBCSQPnQJqgYKoOqoUNQPfQjdBq6CF2D+qAH0CA0Bv0BfYQRmALTYQ3YALaA2bA7HAhHwsvgRHgVnAcXwNvhSrgWPg63whfhG/AALIVfwpMIQMgIA9FGWAgb8URCkFgkAREha5EipAKpRZqQDqQbuY1IkXHkAwaHoWGYGBbGGeOHWYzhYlZh1mJKMNWYY5hWTBfmNmYQM4H5gqVi1bGmWCesP3YJNhGbjS3EVmCPYFuwl7ED2GHsOxwOx8AZ4hxwfrgYXDJuNa4Etw/XjLuA68MN4SbxeLwq3hTvgg/Bc/BifCG+Cn8cfx7fjx/GvyeQCVoEa4IPIZYgJGwkVBAaCOcI/YQRwjRRgahPdCKGEHnEXGIpsY7YQbxJHCZOkxRJhiQXUiQpmbSBVElqIl0mPSa9IZPJOmRHchhZQF5PriSfIF8lD5I/UJQoJhRPShxFQtlOOUq5QHlAeUOlUg2obtRYqpi6nVpPvUR9Sn0vR5Mzl/OX48mtk6uRa5Xrl3slT5TXl3eXXy6fJ18hf0r+pvy4AlHBQMFTgaOwVqFG4bTCPYVJRZqilWKIYppiiWKD4jXFUSW8koGStxJPqUDpsNIlpSEaQtOledK4tE20Otpl2jAdRzek+9OT6cX0H+i99AllJWVb5SjlHOUa5bPKUgbCMGD4M1IZpYyTjLuMj/M05rnP48/bNq9pXv+8KZX5Km4qfJUilWaVAZWPqkxVb9UU1Z2qbapP1DBqJmphatlq+9Uuq43Pp893ns+dXzT/5PyH6rC6iXq4+mr1w+o96pMamhq+GhkaVRqXNMY1GZpumsma5ZrnNMe0aFoLtQRa5VrntV4wlZnuzFRmJbOLOaGtru2nLdE+pN2rPa1jqLNYZ6NOs84TXZIuWzdBt1y3U3dCT0svWC9fr1HvoT5Rn62fpL9Hv1t/ysDQINpgi0GbwaihiqG/YZ5ho+FjI6qRq9Eqo1qjO8Y4Y7ZxivE+41smsImdSZJJjclNU9jU3lRgus+0zwxr5mgmNKs1u8eisNxZWaxG1qA5wzzIfKN5m/krCz2LWIudFt0WXyztLFMt6ywfWSlZBVhttOqw+sPaxJprXWN9x4Zq42Ozzqbd5rWtqS3fdr/tfTuaXbDdFrtOu8/2DvYi+yb7MQc9h3iHvQ732HR2KLuEfdUR6+jhuM7xjOMHJ3snsdNJp9+dWc4pzg3OowsMF/AX1C0YctFx4bgccpEuZC6MX3hwodRV25XjWuv6zE3Xjed2xG3E3dg92f24+ysPSw+RR4vHlKeT5xrPC16Il69XkVevt5L3Yu9q76c+Oj6JPo0+E752vqt9L/hh/QL9dvrd89fw5/rX+08EOASsCegKpARGBFYHPgsyCRIFdQTDwQHBu4IfL9JfJFzUFgJC/EN2hTwJNQxdFfpzGC4sNKwm7Hm4VXh+eHcELWJFREPEu0iPyNLIR4uNFksWd0bJR8VF1UdNRXtFl0VLl1gsWbPkRoxajCCmPRYfGxV7JHZyqffS3UuH4+ziCuPuLjNclrPs2nK15anLz66QX8FZcSoeGx8d3xD/iRPCqeVMrvRfuXflBNeTu4f7kufGK+eN8V34ZfyRBJeEsoTRRJfEXYljSa5JFUnjAk9BteB1sl/ygeSplJCUoykzqdGpzWmEtPi000IlYYqwK10zPSe9L8M0ozBDuspp1e5VE6JA0ZFMKHNZZruYjv5M9UiMJJslg1kLs2qy3mdHZZ/KUcwR5vTkmuRuyx3J88n7fjVmNXd1Z752/ob8wTXuaw6thdauXNu5Tnddwbrh9b7rj20gbUjZ8MtGy41lG99uit7UUaBRsL5gaLPv5sZCuUJR4b0tzlsObMVsFWzt3WazrWrblyJe0fViy+KK4k8l3JLr31l9V/ndzPaE7b2l9qX7d+B2CHfc3em681iZYlle2dCu4F2t5czyovK3u1fsvlZhW3FgD2mPZI+0MqiyvUqvakfVp+qk6oEaj5rmvep7t+2d2sfb17/fbX/TAY0DxQc+HhQcvH/I91BrrUFtxWHc4azDz+ui6rq/Z39ff0TtSPGRz0eFR6XHwo911TvU1zeoN5Q2wo2SxrHjccdv/eD1Q3sTq+lQM6O5+AQ4ITnx4sf4H++eDDzZeYp9qukn/Z/2ttBailqh1tzWibakNml7THvf6YDTnR3OHS0/m/989Iz2mZqzymdLz5HOFZybOZ93fvJCxoXxi4kXhzpXdD66tOTSna6wrt7LgZevXvG5cqnbvfv8VZerZ645XTt9nX297Yb9jdYeu56WX+x+aem172296XCz/ZbjrY6+BX3n+l37L972un3ljv+dGwOLBvruLr57/17cPel93v3RB6kPXj/Mejj9aP1j7OOiJwpPKp6qP6391fjXZqm99Oyg12DPs4hnj4a4Qy//lfmvT8MFz6nPK0a0RupHrUfPjPmM3Xqx9MXwy4yX0+OFvyn+tveV0auffnf7vWdiycTwa9HrmT9K3qi+OfrW9m3nZOjk03dp76anit6rvj/2gf2h+2P0x5Hp7E/4T5WfjT93fAn88ngmbWbm3/eE8/syOll+AAAACXBIWXMAABuHAAAbhwHouLjtAAABZGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPnd3dy5pbmtzY2FwZS5vcmc8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CtzHpm0AAAa9SURBVGgF1VprbFRFFD4z9+62XShIHzRut01pt4T4IJGHglHkh/4w+oMfapA/EpIGAkkNQQkQf2gwRiUmRhMehoQAPgKJJhohaoRYE6gaIZGoCbDbEtqufTettuzj3jmes8uW7e3cull2u3U23b135s7Md+Z858w5cyvgf1DCjY0Lqy3xQELBfQhiHSCuNoQwbMDdYi7jH/I31RlS7AAhXkDEJSVCgE2ALUQopesJhafnrABDgaYWE+TrBNofI8C02vRJFROSgvzlNRMrzLmmgbHaZZVK2B+YAjbZhHgc1RSIvOKSvhJK7Zl/40avnNI6B27iInHUJ8UmXnVrcs3vAPMJCdT2SVVP+ATXzikN9PmD24kyG/5RU1c9DT/Je8Tfomi+nK6bMzYwEgiuJzqcIdb42FCdxUNGqwB7bQFPVt4M/ZFunxMU6qtf2kgreVwKoQWfAolREuylTPAsRNEF6K2pmeex7eNeIerjxHtdoTaIKdhX2RX6ztledAFMs/zdMikfu+UCno32FuCJqp7Q+07wfF9UIx6qC27xgNjuBp6NNorqV+lVrUQxrXqKZsQD/uAKrwHnaeEXao2WNisy2gFbwnri/Z+61ee6olBomGIbQ8JRA4QWfBKUgLiloGUm8EUTAOPyQJmQD/Fm5SxMCTNJHdhdFQl96Wx33s86hfprmzaT0R5LEPjp8GkTIPATqD6q7A5vdYLV3c+qAMOBxgelkG2AYhEHZ87C0WYc4QqM2+sqRjpGne26+1mzAay+f74AeZS8jha8QegshHEFoiVb8CzQrAkwVBJ7m9ziw9EZeG+B2lPVfe0X3Uq71c0KhYZqg89TLHOKoksxnTgp3o8rPEib1Q43oG71BRdgpGFZA9j2RYlwry48Tm1WeLFCTTwlIpEJN6Bu9QWlEK22qazEwRLQg+fMirxRv1L2llzAs1AFFWAw0LyT/P3TulCBVU9/aCtsrY50XnVb4f+qLxiFemuDa0oFnCMt+HTpCfv7XHmfKVRBNMChAhntEdpRteDZ399SeHmkDPZmgsnluiACqJh8yydguS5UYH9PwdsYJewtzaHQWC6gM/vkXYCB2uZnvQK26njPE3Ock7Bxb3UkdDkTSK7XebWB3pqmxV6PaCeQjRzrOAvznhL2U3Si8CIbsLM9l/u8asA04Q3KoLTgOS0krYRKLXBNTnIRIG8aGK5b+rgBeM5G9DiXlleJzjLjcVs8UxW59n0uQN36TEspceVKz1BkLOiTuHBQGjfru65G3Dqn6zsbGkrRUu8QSI+Vrsz45d12HPC9qsj1vILnKSYpFPH7faN1wR2j/aM/mQZejgvRvgDt9kF/w7IMLNrLBbbnVeL3Wp3XYfBEnYuVGN2v7XyXlUkK9QWWLC8F4wjxdA2vYDrZmEcnAuPKPlXZE97oNs9AXeMqD8o23YbFLpPKaAzsdTXdnVdSt/n9lqOBxmYvGGdo41kzQZ6Dz2bSHKbMiLm7gRMR3bRI1JEo6SBWv2HxaRrltfsKBZ4xSQvlMZoooPPbLEiJkCUK5TadAEMJY5cbdcoIPB2JfFEZCR3W9c1XHZ3m0Ul1esk1o8ZIC3ScvXEisLQ2s3mgvmmlKeReXYJCWRefIHchGOwydaFQ5lB3dS2JMYeMGZwpn9lQRFkxgfbm9ExdgUCZVOJDj4B5TnS3h8I4qJ2UXfWk+xTqV1oSLkUpF510R5qZ2C5IUy0cpHGzD0vfJIqs1a0+UycBeKymu+NzzVB5r+IUzxgONLV7hVztdrjKs3IEGVXqMDmmkIniAGlmWnrI1KH6TtPCR8p7QwN5R6sZkN7kgD0I4jxlR6vjk/5n+pPs4z1SbmOKcGqoMxuSkdrUvkW94VkBzyiTzCEw38RxJlNOCcRvB9N7RKrmzjdTh8Y4W9UVPn2ntvBXKepHjUt0JnOTc9RcCvcjDfXTnlFwr+PElxSgevDq3yDxB/IqORUehBKUV+7pCoVzGuAuOqU0QAMgyq+cLjGbcfkFRBTwUzrTOZnN8/l+ZlIArxI/xgD7bscvWc3DoQLttp1oWruy6lCAhyYFWBC5NkgM+pbdZTYl+RSibaFoXUwvnLPpU4hnJgXgwZUtT5KXwWxESHodgEPVPde/LgSwbMecIsCNSHlbAuBnTv9mKqwlilR/p3dXr8303Gy0TRFgFVxK2KD2047gqgU+VSCPM05h8raKjuzO8AspyBQBeKLF3R1naUf+mAK45L+0sFGzPthgmTZ0PRYT2FoTCV/g54tdtFzhaLMcfY/aYD9B8J8jdfhJ0naB+JmQ4kIx/L3bQv0LYnGjGQqOgu4AAAAASUVORK5CYII="},function(t,e){},function(t,e){}]);