From fd0ef5ddeb9a81adcb50de9e5338f5e41513f881 Mon Sep 17 00:00:00 2001 From: Jason Yates Date: Fri, 12 Oct 2018 09:03:39 -0400 Subject: [PATCH 1/6] removed restart on flask i/o error --- changelog.md | 3 +++ genserv.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index f7b26db6..cf77bcec 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # Changelog All notable changes to this project will be documented in this file. Major releases are documented [here](https://github.com/jgyates/genmon/releases) +## V1.11.5 - 2018-10-12 +- Removed restart on I/O error in genserv. + ## V1.11.4 - 2018-10-11 - Corrected bug in type in genserv.py. Corrects problem with settings page not displaying. diff --git a/genserv.py b/genserv.py index 87af1587..912bc00b 100644 --- a/genserv.py +++ b/genserv.py @@ -1254,7 +1254,7 @@ def Close(NoExit = False): except Exception as e1: LogErrorLine("Error in app.run: " + str(e1)) #Errno 98 - if e1.errno != errno.EADDRINUSE and e1.errno != errno.EIO: + if e1.errno != errno.EADDRINUSE: # and e1.errno != errno.EIO: sys.exit(1) time.sleep(2) if Closing: From 9f102720bd52d9d1038e2fafd00ffe2707f7287a Mon Sep 17 00:00:00 2001 From: Jason Yates Date: Fri, 12 Oct 2018 09:15:56 -0400 Subject: [PATCH 2/6] corrected typo --- .github/ISSUE_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index a6de5f13..c61fe31c 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -34,6 +34,6 @@ You can submit your registers from the Monitor page on the web interface. ### Your Environment -- Genereator Model: {Please write here} +- Generator Model: {Please write here} - Generator Registers: {Please write here} - Genmon Version: {Please write here} From 86248aed148dc286c59a053a889a2d4ea5f6f40f Mon Sep 17 00:00:00 2001 From: Jason Yates Date: Fri, 12 Oct 2018 21:09:39 -0400 Subject: [PATCH 3/6] Cleanup --- genloader.py | 8 -------- genmon.py | 25 +++++++++++++++++-------- genmonlib/mycommon.py | 8 ++++++++ genmonlib/mymodbus.py | 4 ++++ 4 files changed, 29 insertions(+), 16 deletions(-) diff --git a/genloader.py b/genloader.py index c137a867..389d664d 100644 --- a/genloader.py +++ b/genloader.py @@ -150,14 +150,6 @@ def InstallLibrary(self, libraryname): self.LogInfo("Error installing module: " + libraryname + ": "+ str(e1), LogLine = True) return False #--------------------------------------------------------------------------- - def LogInfo(self, message, LogLine = False): - - if not LogLine: - self.LogError(message) - else: - self.LogErrorLine(message) - self.LogConsole(message) - #--------------------------------------------------------------------------- def ValidateConfig(self): ErrorOccured = False diff --git a/genmon.py b/genmon.py index 5196fb68..6ddf66aa 100644 --- a/genmon.py +++ b/genmon.py @@ -25,7 +25,7 @@ print("Error: " + str(e1)) sys.exit(2) -GENMON_VERSION = "V1.11.4" +GENMON_VERSION = "V1.11.5" #------------ Monitor class ---------------------------------------------------- class Monitor(mysupport.MySupport): @@ -783,8 +783,6 @@ def SocketWorkThread(self, conn): try: - conn.settimeout(2) # only blok on recv for a small amount of time - statusstr = "" if self.Controller == None: outstr = "WARNING: System Initializing" @@ -804,12 +802,18 @@ def SocketWorkThread(self, conn): while True: try: data = conn.recv(1024) - if self.Controller == None: - outstr = "Retry, System Initializing" + if len(data): + if self.Controller == None: + outstr = "Retry, System Initializing" + else: + outstr = self.ProcessCommand(data, True) + conn.sendall(outstr.encode()) else: - outstr = self.ProcessCommand(data, True) - conn.sendall(outstr.encode()) + # socket closed remotely + break except socket.timeout: + if self.IsStopping: + break continue except socket.error as msg: try: @@ -820,9 +824,14 @@ def SocketWorkThread(self, conn): break except socket.error as msg: + self.LogError("Error in SocketWorkThread: " + str(msg)) + pass + + try: self.ConnectionList.remove(conn) conn.close() - + except: + pass # end SocketWorkThread #---------- interface for heartbeat server thread ------------------------- diff --git a/genmonlib/mycommon.py b/genmonlib/mycommon.py index 9ff6e8e6..3ff0f45e 100644 --- a/genmonlib/mycommon.py +++ b/genmonlib/mycommon.py @@ -77,6 +77,14 @@ def MergeDicts(self, x, y): z.update(y) return z + #--------------------------------------------------------------------------- + def LogInfo(self, message, LogLine = False): + + if not LogLine: + self.LogError(message) + else: + self.LogErrorLine(message) + self.LogConsole(message) #---------------------MyCommon::LogConsole------------------------------------ def LogConsole(self, Message): if not self.console == None: diff --git a/genmonlib/mymodbus.py b/genmonlib/mymodbus.py index 36e8d85a..21feff95 100644 --- a/genmonlib/mymodbus.py +++ b/genmonlib/mymodbus.py @@ -19,6 +19,10 @@ MBUS_ADDRESS_SIZE = 0x01 MBUS_COMMAND = 0x01 MBUS_COMMAND_SIZE = 0x01 +MBUS_REG_HI = 0x02 +MBUS_REG_LOW = 0x03 +MBUS_LENGTH_HI = 0x04 +MBUS_LENGTH_LOW = 0x05 MBUS_EXCEPTION = 0x02 MBUS_WR_REQ_BYTE_COUNT = 0x06 MBUS_CRC_SIZE = 0x02 From 59a74aa5f9207b75da30f9c5ba6cbf1edb86be89 Mon Sep 17 00:00:00 2001 From: Jason Yates Date: Sat, 13 Oct 2018 16:30:56 -0400 Subject: [PATCH 4/6] Minor improvements --- changelog.md | 8 +++++- genloader.py | 30 ++++++++++++++++++++- genlog.py | 1 + genmon.py | 2 +- genmonlib/modbusbase.py | 3 +++ genmonlib/myclient.py | 8 +++--- genmonlib/mymodbus.py | 59 ++++++++++++++++++++++++++++------------- 7 files changed, 85 insertions(+), 26 deletions(-) diff --git a/changelog.md b/changelog.md index cf77bcec..4d834edd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,14 @@ # Changelog All notable changes to this project will be documented in this file. Major releases are documented [here](https://github.com/jgyates/genmon/releases) +## V1.11.6 - 2018-10-12 +- Changed loading method in genloader.py to work around I/O error with Flask library. As a result the output of the flask library is redirected to /dev/null so it will not be displayed on the console. If you started the software manually from the console and then exited the console and attempted to restart from the web UI (with a settings change) the Flask library used by genserv.py would cause an exception (I/O error). This works around this issue. +- Added more error checking / logging in modbus protocol code. This makes serial over TCP more robust. +- Fixed minor issue in genlog.py +- Improved error logging in myclient.py + ## V1.11.5 - 2018-10-12 -- Removed restart on I/O error in genserv. +- Removed restart on I/O error in genserv. ## V1.11.4 - 2018-10-11 - Corrected bug in type in genserv.py. Corrects problem with settings page not displaying. diff --git a/genloader.py b/genloader.py index 389d664d..d254abd6 100644 --- a/genloader.py +++ b/genloader.py @@ -331,7 +331,7 @@ def StartModules(self): return False return not ErrorOccured #--------------------------------------------------------------------------- - def LoadModule(self, modulename, args = None): + def LoadModuleAlt(self, modulename, args = None): try: self.LogConsole("Starting " + modulename) # to load as a background process we just use os.system since Popen @@ -348,6 +348,34 @@ def LoadModule(self, modulename, args = None): return False #--------------------------------------------------------------------------- + def LoadModule(self, modulename, args = None): + try: + self.LogConsole("Starting " + modulename) + + try: + from subprocess import DEVNULL # py3k + except ImportError: + import os + DEVNULL = open(os.devnull, 'wb') + + if not len(args): + args = None + + if "genserv.py" in modulename: + OutputStream = DEVNULL + else: + OutputStream = subprocess.PIPE + if args == None: + # close_fds=True + pid = subprocess.Popen([sys.executable, modulename], stdout=OutputStream, stderr=OutputStream, stdin=OutputStream) + else: + pid = subprocess.Popen([sys.executable, modulename, args], stdout=OutputStream, stderr=OutputStream, stdin=OutputStream) + return True + + except Exception as e1: + self.LogInfo("Error loading module: " + str(e1), LogLine = True) + return False + #--------------------------------------------------------------------------- def UnloadModule(self, modulename, HardStop = False): try: self.LogConsole("Stopping " + modulename) diff --git a/genlog.py b/genlog.py index 1a771003..d22eff50 100644 --- a/genlog.py +++ b/genlog.py @@ -69,6 +69,7 @@ def LogDataToFile(fileName, time, Event): address = arg elif opt in ("-f", "--filename"): fileName = arg + fileName = fileName.strip() console.error('Address is ' + address) console.error('Output file is ' + fileName) diff --git a/genmon.py b/genmon.py index 6ddf66aa..5b420bf5 100644 --- a/genmon.py +++ b/genmon.py @@ -25,7 +25,7 @@ print("Error: " + str(e1)) sys.exit(2) -GENMON_VERSION = "V1.11.5" +GENMON_VERSION = "V1.11.6" #------------ Monitor class ---------------------------------------------------- class Monitor(mysupport.MySupport): diff --git a/genmonlib/modbusbase.py b/genmonlib/modbusbase.py index 30f8bede..5609d67c 100644 --- a/genmonlib/modbusbase.py +++ b/genmonlib/modbusbase.py @@ -30,6 +30,7 @@ def __init__(self, updatecallback, address = 0x9d, name = "/dev/serial", rate=96 self.TotalElapsedPacketeTime = 0 self.SlaveException = 0 self.CrcError = 0 + self.ComValidationError = 0 self.CommAccessLock = threading.RLock() # lock to synchronize access to the serial port comms self.ModbusStartTime = datetime.datetime.now() # used for com metrics @@ -66,6 +67,7 @@ def GetCommStats(self): SerialStats["Packet Timeouts"] = "%d" % self.ComTimoutError SerialStats["Packet Timeouts Percent Errors"] = ("%.2f" % (PercentTimeoutErrors * 100)) + "%" SerialStats["Modbus Exceptions"] = self.SlaveException + SerialStats["Validation Errors"] = self.ComValidationError # Add serial stats here CurrentTime = datetime.datetime.now() @@ -85,6 +87,7 @@ def ResetCommStats(self): self.TxPacketCount = 0 self.CrcError = 0 self.ComTimoutError = 0 + self.ComValidationError = 0 self.SlaveException = 0 self.TotalElapsedPacketeTime = 0 self.ModbusStartTime = datetime.datetime.now() # used for com metrics diff --git a/genmonlib/myclient.py b/genmonlib/myclient.py index fa8a3009..b1c1143f 100644 --- a/genmonlib/myclient.py +++ b/genmonlib/myclient.py @@ -48,7 +48,7 @@ def Connect(self): except Exception as e1: retries += 1 if retries >= 5: - self.LogError("Error: Connect : " + str(e1)) + self.LogErrorLine("Error: Connect : " + str(e1)) self.console.error("Genmon not loaded.") sys.exit(1) else: @@ -62,7 +62,7 @@ def SendCommand(self, cmd): try: self.Socket.sendall(cmd.encode()) except Exception as e1: - self.LogError( "Error: TX: " + str(e1)) + self.LogErrorLine( "Error: TX: " + str(e1)) self.Close() self.Connect() @@ -93,7 +93,7 @@ def Receive(self, noeom = False): self.Connect() return False, data except Exception as e1: - self.LogError( "Error: RX:" + str(e1)) + self.LogErrorLine( "Error: RX:" + str(e1)) self.Close() self.Connect() RetStatus = False @@ -125,5 +125,5 @@ def ProcessMonitorCommand(self, cmd): self.SendCommand(cmd) RetStatus, data = self.Receive() except Exception as e1: - self.LogError("Error in ProcessMonitorCommand:" + str(e1)) + self.LogErrorLine("Error in ProcessMonitorCommand:" + str(e1)) return data diff --git a/genmonlib/mymodbus.py b/genmonlib/mymodbus.py index 21feff95..f8368853 100644 --- a/genmonlib/mymodbus.py +++ b/genmonlib/mymodbus.py @@ -267,6 +267,11 @@ def ProcessOneTransaction(self, MasterPacket, skiplog = False, ReturnValue = Fal # update our cached register dict ReturnRegValue = self.UpdateRegistersFromPacket(MasterPacket, SlavePacket, SkipUpdate = skiplog) + if ReturnRegValue == "Error": + self.LogError("Master: " + str(MasterPacket)) + self.LogError("Slave: " + str(SlavePacket)) + self.ComValidationError += 1 + self.Flush() if ReturnValue: return ReturnRegValue @@ -338,39 +343,54 @@ def UpdateRegistersFromPacket(self, MasterPacket, SlavePacket, SkipUpdate = Fals try: if len(MasterPacket) < MIN_PACKET_LENGTH_RES or len(SlavePacket) < MIN_PACKET_LENGTH_RES: - return "" + self.LogError("Validation Error, length: Master" + str(len(MasterPacket)) + " Slave: " + str(len(SlavePacket))) + return "Error" if MasterPacket[MBUS_ADDRESS] != self.Address: - self.LogError("Validation Error:: Invalid address in UpdateRegistersFromPacket (Master)") - + self.LogError("Validation Error: Invalid address in UpdateRegistersFromPacket (Master)") + return "Error" if SlavePacket[MBUS_ADDRESS] != self.Address: - self.LogError("Validation Error:: Invalid address in UpdateRegistersFromPacket (Slave)") - + self.LogError("Validation Error: Invalid address in UpdateRegistersFromPacket (Slave)") + return "Error" if not SlavePacket[MBUS_COMMAND] in [MBUS_CMD_READ_REGS, MBUS_CMD_WRITE_REGS]: - self.LogError("UpdateRegistersFromPacket: Unknown Function slave %02x %02x" % (SlavePacket[0],SlavePacket[1])) - + self.LogError("Validation Error: Unknown Function slave %02x %02x" % (SlavePacket[0],SlavePacket[1])) + return "Error" if not MasterPacket[MBUS_COMMAND] in [MBUS_CMD_READ_REGS, MBUS_CMD_WRITE_REGS]: - self.LogError("UpdateRegistersFromPacket: Unknown Function master %02x %02x" % (MasterPacket[0],MasterPacket[1])) + self.LogError("Validation Error: Unknown Function master %02x %02x" % (MasterPacket[0],MasterPacket[1])) + return "Error" + + if MasterPacket[MBUS_COMMAND] != SlavePacket[MBUS_COMMAND]: + self.LogError("Validation Error: Command Mismatch :" + str(MasterPacket[MBUS_COMMAND]) + ":" + str(SlavePacket[MBUS_COMMAND])) + return "Error" # get register from master packet Register = "%02x%02x" % (MasterPacket[2],MasterPacket[3]) - # get value from slave packet - length = SlavePacket[MBUS_RESPONSE_LEN] - if (length + MBUS_RES_PAYLOAD_SIZE_MINUS_LENGTH) > len(SlavePacket): - return "" + if MasterPacket[MBUS_COMMAND] == MBUS_CMD_WRITE_REGS: + # get register from slave packet + SlaveRegister = "%02x%02x" % (SlavePacket[2],SlavePacket[3]) + if SlaveRegister != Register: + self.LogError("Validation Error: Master Slave Register Mismatch : " + Register + ":" + SlaveRegister) + return "Error" RegisterValue = "" - for i in range(3, length+3): - RegisterValue += "%02x" % SlavePacket[i] - # update register list - if not SkipUpdate: - if not self.UpdateRegisterList == None: - self.UpdateRegisterList(Register, RegisterValue) + if MasterPacket[MBUS_COMMAND] == MBUS_CMD_READ_REGS: + # get value from slave packet + length = SlavePacket[MBUS_RESPONSE_LEN] + if (length + MBUS_RES_PAYLOAD_SIZE_MINUS_LENGTH) > len(SlavePacket): + self.LogError("Validation Error: Slave Lenght : " + length + ":" + len(SlavePacket)) + return "Error" + + for i in range(3, length+3): + RegisterValue += "%02x" % SlavePacket[i] + # update register list + if not SkipUpdate: + if not self.UpdateRegisterList == None: + self.UpdateRegisterList(Register, RegisterValue) return RegisterValue except Exception as e1: self.LogErrorLine("Error in UpdateRegistersFromPacket: " + str(e1)) - return "" + return "Error" #------------ModbusProtocol::CheckCrc-------------------------------------- def CheckCRC(self, Packet): @@ -434,6 +454,7 @@ def GetCommStats(self): SerialStats["Packet Timeouts"] = "%d" % self.ComTimoutError SerialStats["Packet Timeouts Percent Errors"] = ("%.2f" % (PercentTimeoutErrors * 100)) + "%" SerialStats["Modbus Exceptions"] = self.SlaveException + SerialStats["Validation Errors"] = self.ComValidationError # add serial stats SerialStats["Discarded Bytes"] = "%d" % self.Slave.DiscardedBytes SerialStats["Comm Restarts"] = "%d" % self.Slave.Restarts From 84214ec2dfba3cf825be1f6dd2c179e9433000ab Mon Sep 17 00:00:00 2001 From: Jason Yates Date: Sun, 14 Oct 2018 15:28:20 -0400 Subject: [PATCH 5/6] misc UI updates and bug fixes --- changelog.md | 10 +- genmon.py | 2 +- genmonlib/controller.py | 2 + genmonlib/generac_HPanel.py | 7 +- static/genmon.css | 30 +- static/genmon.js | 410 +++++--- static/libraries.min.css | 2 +- static/libraries.min.js | 1851 ++++++++++++++++++----------------- 8 files changed, 1218 insertions(+), 1096 deletions(-) mode change 100755 => 100644 static/genmon.css mode change 100755 => 100644 static/genmon.js mode change 100755 => 100644 static/libraries.min.css mode change 100755 => 100644 static/libraries.min.js diff --git a/changelog.md b/changelog.md index 4d834edd..92715e10 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,15 @@ # Changelog All notable changes to this project will be documented in this file. Major releases are documented [here](https://github.com/jgyates/genmon/releases) -## V1.11.6 - 2018-10-12 +## V1.11.7 - 2018-10-13 +- Add new remote command to reset the current alarm (see Maintenance page) +- Fixed bug in power log for H-100, if you experience problems, reset the power log or delete the file kwlog.txt and restart. +- Moved Update Software in the web interface to the About page +- Moved Submit Registers in the web interface to the About page +- Added Submit Log Files button on the About page +- Added change log to the web interface About page + +## V1.11.6 - 2018-10-13 - Changed loading method in genloader.py to work around I/O error with Flask library. As a result the output of the flask library is redirected to /dev/null so it will not be displayed on the console. If you started the software manually from the console and then exited the console and attempted to restart from the web UI (with a settings change) the Flask library used by genserv.py would cause an exception (I/O error). This works around this issue. - Added more error checking / logging in modbus protocol code. This makes serial over TCP more robust. - Fixed minor issue in genlog.py diff --git a/genmon.py b/genmon.py index 5b420bf5..d15cee6d 100644 --- a/genmon.py +++ b/genmon.py @@ -25,7 +25,7 @@ print("Error: " + str(e1)) sys.exit(2) -GENMON_VERSION = "V1.11.6" +GENMON_VERSION = "V1.11.7" #------------ Monitor class ---------------------------------------------------- class Monitor(mysupport.MySupport): diff --git a/genmonlib/controller.py b/genmonlib/controller.py index 39616fc8..95593db4 100644 --- a/genmonlib/controller.py +++ b/genmonlib/controller.py @@ -953,6 +953,8 @@ def GetPowerHistory(self, CmdString, NoReduce = False): Items = line.split(",") if len(Items) != 2: continue + # remove any kW labels that may be there + Items[1] = self.removeAlpha(Items[1]) if Minutes: struct_time = time.strptime(Items[0], "%x %X") diff --git a/genmonlib/generac_HPanel.py b/genmonlib/generac_HPanel.py index 6913a7d1..b27b9cec 100644 --- a/genmonlib/generac_HPanel.py +++ b/genmonlib/generac_HPanel.py @@ -1011,7 +1011,7 @@ def GetStartInfo(self, NoTile = False): StartInfo["RemoteCommands"] = False StartInfo["RemoteButtons"] = False StartInfo["PowerGraph"] = self.PowerMeterIsSupported() - StartInfo["ExerciseControls"] = not self.SmartSwitch + StartInfo["ExerciseControls"] = False # self.SmartSwitch if not NoTile: StartInfo["pages"] = { @@ -1371,7 +1371,10 @@ def PowerMeterIsSupported(self): # return kW with units i.e. "2.45kW" def GetPowerOutput(self, ReturnFloat = False): - return self.GetParameter(RegisterEnum.TOTAL_POWER_KW, "kW", ReturnFloat = ReturnFloat) + if ReturnFloat: + return self.GetParameter(RegisterEnum.TOTAL_POWER_KW, ReturnFloat = True) + else: + return self.GetParameter(RegisterEnum.TOTAL_POWER_KW, "kW", ReturnFloat = False) #---------- HPanel:GetCommStatus ----------------------------------------- # return Dict with communication stats diff --git a/static/genmon.css b/static/genmon.css old mode 100755 new mode 100644 index 09ebecb7..db9769c7 --- a/static/genmon.css +++ b/static/genmon.css @@ -605,14 +605,28 @@ li a:hover:not(.active) { } .card { - -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); - box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); - position: relative; - margin: 0.5rem 0 1rem 0; - background-color: #fff; - -webkit-transition: -webkit-box-shadow .25s; - transition: box-shadow .25s, -webkit-box-shadow .25s; - border-radius: 6px; width: 360px; + -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); + box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); + position: relative; + margin: 0.5rem 0 1rem 0; + background-color: #fff; + -webkit-transition: -webkit-box-shadow .25s; + transition: box-shadow .25s, -webkit-box-shadow .25s; + border-radius: 6px; + width: 360px; +} + +.aboutInfo { + -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); + box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2); + position: relative; + margin: 0.5rem 0 1rem 0; + -webkit-transition: -webkit-box-shadow .25s; + transition: box-shadow .25s, -webkit-box-shadow .25s; + border-radius: 6px; + font-size: 16px; + width: 50%; + background-color: #f1f1f1; } #mydisplay { diff --git a/static/genmon.js b/static/genmon.js old mode 100755 new mode 100644 index 19e8fbfe..72922781 --- a/static/genmon.js +++ b/static/genmon.js @@ -1,4 +1,4 @@ -// Define header + // global base state var baseState = "READY"; // updated on a time var currentbaseState = "READY"; // menus change on this var @@ -615,49 +615,56 @@ function DisplayMaintenance(){ outstr = '
' + json2html(result, "", "root") + '
'; if (myGenerator["write_access"] == true) { - outstr += "
Generator Exercise Time:

"; - - //Create array of options to be added - if (myGenerator['EnhancedExerciseEnabled'] == true) { - outstr += '    '; - } - - //Create and append the options, days - outstr += '  , '; - //Create and append the options, hours - outstr += ' : '; - - //Create and append the options, minute - outstr += ''; + outstr += ''; + outstr += ''; + outstr += ''; + outstr += ''; + } + + //Create and append the options, days + outstr += '  , '; + //Create and append the options, hours + outstr += ' : '; + + //Create and append the options, minute + outstr += ''; + + //Create and append select list + outstr += '  

'; + + outstr += '  '; } - outstr += ''; - - //Create and append select list - outstr += '  

'; - - outstr += '  '; outstr += '

Generator Time:

'; outstr += '  '; - outstr += '

Remote Commands:

'; + if (myGenerator['RemoteCommands'] == true) { + outstr += '

Remote Commands:

'; + outstr += '    '; + outstr += ''; + outstr += ''; - outstr += '    '; - outstr += ''; - outstr += '
'; + outstr += '

Reset Alarm Condition:

'; + outstr += '  
'; + } if (myGenerator['RemoteButtons'] == true) { outstr += '
Switch Position:

'; @@ -789,6 +796,28 @@ function SetTimeClick(){ }); } +//***************************************************************************** +// called when Reset Alarm Condition is clicked +//***************************************************************************** +function ResetAlarmClick(){ + + vex.dialog.confirm({ + unsafeMessage: 'Are you sure you want to reset the alarm condition on your generator?', + overlayClosesOnClick: false, + callback: function (value) { + if (value == false) { + return; + } else { + // set exercise time + var url = baseurl.concat("resetalarm"); + $.getJSON( url, + {settime: " "}, + function(result){}); + } + } + }); +} + //***************************************************************************** // called when reset Power Log / Fuel Estimate clicked //***************************************************************************** @@ -1011,12 +1040,6 @@ function DisplayMonitor(){ var outstr = json2html(result, "", "root"); - if (myGenerator["write_access"] == true) { - outstr += '

Update Generator Monitor Software:

'; - outstr += '  '; - outstr += '

Submit Registers to Developers:

'; - outstr += '  '; - } $("#mydisplay").html(outstr); @@ -1055,124 +1078,9 @@ function DisplayMonitor(){ $("#Conditions").html('
'+result["Monitor"]["Weather"]["Conditions"] + '
'); } - if (myGenerator["write_access"] == true) { - if (latestVersion == "") { - // var url = "https://api.github.com/repos/jgyates/genmon/releases"; - var url = "https://raw.githubusercontent.com/jgyates/genmon/master/genmon.py"; - $.ajax({dataType: "html", url: url, timeout: 4000, error: function(result) { - console.log("got an error when looking up latest version"); - latestVersion = "unknown"; - }, success: function(result) { - latestVersion = replaceAll((jQuery.grep(result.split("\n"), function( a ) { return (a.indexOf("GENMON_VERSION") >= 0); }))[0].split(" ")[2], '"', ''); - if (latestVersion != myGenerator["version"]) { - $('#updateNeeded').hide().html("
    You are not running the latest version.
    Current Version: " + myGenerator["version"] +"
    New Version: " + latestVersion+"

").fadeIn(1000); - } - }}); - } else if ((latestVersion != "unknown") && (latestVersion != myGenerator["version"])) { - $('#updateNeeded').html("
    You are not running the latest version.
    Current Version: " + myGenerator["version"] +"
    New Version: " + latestVersion+"

"); - } - } }}); } -function checkNewVersion(){ - var DisplayStr = 'Checking for latest version...

'; - $('.vex-dialog-buttons').html(DisplayStr); - $('.progress-bar-fill').queue(function () { - $(this).css('width', '100%') - }); - var DisplayStrButtons = { - NO: { - text: 'Cancel', - type: 'button', - className: 'vex-dialog-button-secondary', - click: function yesClick () { this.close() } - }, - YES: { - text: 'Upgrade', - type: 'submit', - className: 'vex-dialog-button-primary', - click: function yesClick () { } - } - } - - var myDialog = vex.dialog.open({ - unsafeMessage: DisplayStr, - overlayClosesOnClick: false, - buttons: [ - DisplayStrButtons.NO, - DisplayStrButtons.YES - ], - onSubmit: function(e) { - e.preventDefault(); - updateSoftware(); - var DisplayStr1 = 'Downloading latest version...'; - var DisplayStr2 = '
'; - $('.vex-dialog-message').html(DisplayStr1); - $('.vex-dialog-buttons').html(DisplayStr2); - $('.progress-bar-fill').queue(function () { - $(this).css('width', '100%') - }); - } - }); - - if (latestVersion != myGenerator["version"]) { - // $('.vex-dialog-message').html("A new version is available.
Current Version: " + myGenerator["version"] + "
New Version: " + latestVersion); - $('.vex-dialog-message').html("Are you sure you want to update to the latest version?"); - } else { - $('.vex-dialog-message').html("Are you sure you want to upgrade?"); - } -} - -//***************************************************************************** -// called when requesting upgrade -//***************************************************************************** -function updateSoftware(){ - - // set remote command - var url = baseurl.concat("updatesoftware"); - $.ajax({ - type: "GET", - url: url, - dataType: "json", - timeout: 0, - success: function(results){ - /// THIS IS NOT AN EXPECTED RESPONSE!!! genserv.py is expected to restart on it's own before returning a valid value; - vex.closeAll(); - GenmonAlert("An unexepected outcome occured. Genmon might not have been updated. Please verify manually or try again!"); - }, - error: function(XMLHttpRequest, textStatus, errorThrown){ - var DisplayStr1 = 'Restarting...'; - var DisplayStr2 = '
'; - $('.vex-dialog-message').html(DisplayStr1); - $('.vex-dialog-buttons').html(DisplayStr2); - $('.progress-bar-fill').queue(function () { - $(this).css('width', '100%') - }); - // location.reload(); - setTimeout(function(){ vex.closeAll(); window.location.href = window.location.pathname+"?page=monitor"; }, 10000); - } - - - }); -} - -function submitRegisters(){ - vex.dialog.confirm({ - unsafeMessage: 'Send the contents of your generator registers to the developer for compatibility testing?
', - overlayClosesOnClick: false, - callback: function (value) { - if (value == false) { - return; - } else { - var url = baseurl.concat("sendregisters"); - $.getJSON( url, - {}, - function(result){}); - } - } - }); -} //***************************************************************************** // Display the Notification Tab @@ -1997,9 +1905,191 @@ function saveAddonJSON(addon) { function DisplayAbout(){ var outstr = '



'; - outstr += '
Genmon
Version '+myGenerator["version"]+'


Developed by @jgyates.

Published under the GNU General Public License v2.0.

Source: Github

Built using Python & Javascript.
'; + outstr += '

Genmon
Version '+myGenerator["version"]+'


Developed by @jgyates.

Published under the GNU General Public License v2.0.

Source: Github

Built using Python & Javascript.
 
'; + + if (myGenerator["write_access"] == true) { + outstr += '
Update Generator Monitor Software:

'; + outstr += '  
'; + outstr += '  Change Log'; + outstr += '

Submit Information to Developers:

'; + outstr += '  '; + outstr += '  
'; + } $("#mydisplay").html(outstr); + + if (myGenerator["write_access"] == true) { + if (latestVersion == "") { + // var url = "https://api.github.com/repos/jgyates/genmon/releases"; + var url = "https://raw.githubusercontent.com/jgyates/genmon/master/genmon.py"; + $.ajax({dataType: "html", url: url, timeout: 4000, error: function(result) { + console.log("got an error when looking up latest version"); + latestVersion = "unknown"; + }, success: function(result) { + latestVersion = replaceAll((jQuery.grep(result.split("\n"), function( a ) { return (a.indexOf("GENMON_VERSION") >= 0); }))[0].split(" ")[2], '"', ''); + if (latestVersion != myGenerator["version"]) { + $('#updateNeeded').hide().html("
    You are not running the latest version.
    Current Version: " + myGenerator["version"] +"
    New Version: " + latestVersion+"

").fadeIn(1000); + } + }}); + } else if ((latestVersion != "unknown") && (latestVersion != myGenerator["version"])) { + $('#updateNeeded').html("
    You are not running the latest version.
    Current Version: " + myGenerator["version"] +"
    New Version: " + latestVersion+"

"); + } + } +} + +function showChangeLog() { + var DisplayStr = '
Change Log

Loading...
'; + $('.vex-dialog-buttons').html(DisplayStr); + var DisplayStrButtons = { + CLOSE: { + text: 'Close', + type: 'button', + className: 'vex-dialog-button-primary', + click: function yesClick () { this.close() } + }, + } + + var myDialog = vex.dialog.open({ + unsafeMessage: DisplayStr, + overlayClosesOnClick: true, + buttons: [ + DisplayStrButtons.CLOSE + ], + }); + + var url = "https://raw.githubusercontent.com/jgyates/genmon/master/changelog.md"; + $.ajax({dataType: "html", url: url, timeout: 4000, error: function(result) { + console.log("got an error when looking up latest version"); + latestVersion = "unknown"; + }, success: function(result) { + vpw = $(window).width(); + vph = $(window).height(); + changeLog = replaceAll(result, '\n', '
\n'); + changeLog = changeLog.replace(/##(.*?)
/g, "

$1

") + changeLog = changeLog.replace(/#(.*?)
/g, "

$1

") + changeLog = changeLog.replace(/\n- (.*?)
/g, "\n
  • $1
") + $('.vex-content').width(vpw-350).fadeIn(1000); + $('.vex-content').height(vph-350).fadeIn(1000); + $('#changeLogText').html("
"+changeLog+"
").fadeIn(1000); + }}); + + +} + +function checkNewVersion(){ + var DisplayStr = 'Checking for latest version...

'; + $('.vex-dialog-buttons').html(DisplayStr); + $('.progress-bar-fill').queue(function () { + $(this).css('width', '100%') + }); + var DisplayStrButtons = { + NO: { + text: 'Cancel', + type: 'button', + className: 'vex-dialog-button-secondary', + click: function yesClick () { this.close() } + }, + YES: { + text: 'Upgrade', + type: 'submit', + className: 'vex-dialog-button-primary', + click: function yesClick () { } + } + } + + var myDialog = vex.dialog.open({ + unsafeMessage: DisplayStr, + overlayClosesOnClick: false, + buttons: [ + DisplayStrButtons.NO, + DisplayStrButtons.YES + ], + onSubmit: function(e) { + e.preventDefault(); + updateSoftware(); + var DisplayStr1 = 'Downloading latest version...'; + var DisplayStr2 = '
'; + $('.vex-dialog-message').html(DisplayStr1); + $('.vex-dialog-buttons').html(DisplayStr2); + $('.progress-bar-fill').queue(function () { + $(this).css('width', '100%') + }); + } + }); + + if (latestVersion != myGenerator["version"]) { + // $('.vex-dialog-message').html("A new version is available.
Current Version: " + myGenerator["version"] + "
New Version: " + latestVersion); + $('.vex-dialog-message').html("Are you sure you want to update to the latest version?"); + } else { + $('.vex-dialog-message').html("Are you sure you want to upgrade?"); + } +} + +//***************************************************************************** +// called when requesting upgrade +//***************************************************************************** +function updateSoftware(){ + + // set remote command + var url = baseurl.concat("updatesoftware"); + $.ajax({ + type: "GET", + url: url, + dataType: "json", + timeout: 0, + success: function(results){ + /// THIS IS NOT AN EXPECTED RESPONSE!!! genserv.py is expected to restart on it's own before returning a valid value; + vex.closeAll(); + GenmonAlert("An unexepected outcome occured. Genmon might not have been updated. Please verify manually or try again!"); + }, + error: function(XMLHttpRequest, textStatus, errorThrown){ + var DisplayStr1 = 'Restarting...'; + var DisplayStr2 = '
'; + $('.vex-dialog-message').html(DisplayStr1); + $('.vex-dialog-buttons').html(DisplayStr2); + $('.progress-bar-fill').queue(function () { + $(this).css('width', '100%') + }); + // location.reload(); + setTimeout(function(){ vex.closeAll(); window.location.href = window.location.pathname+"?page=about"; }, 10000); + } + + + }); +} + +function submitRegisters(){ + vex.dialog.confirm({ + unsafeMessage: 'Send the contents of your generator registers to the developer for compatibility testing?
', + overlayClosesOnClick: false, + callback: function (value) { + if (value == false) { + return; + } else { + var url = baseurl.concat("sendregisters"); + $.getJSON( url, + {}, + function(result){}); + } + } + }); +} + +function submitLogs(){ + vex.dialog.confirm({ + unsafeMessage: 'Send the contents of your log files to the developer?
', + overlayClosesOnClick: false, + callback: function (value) { + if (value == false) { + return; + } else { + var url = baseurl.concat("sendlogfiles"); + $.getJSON( url, + {}, + function(result){}); + } + } + }); } diff --git a/static/libraries.min.css b/static/libraries.min.css old mode 100755 new mode 100644 index 0ebe4130..449e33b4 --- a/static/libraries.min.css +++ b/static/libraries.min.css @@ -1 +1 @@ -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse;clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons,.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible;text-decoration:none}.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em;padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner{border:0;padding:0}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px .4em;margin:.5em 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:.4em 2.1em .4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url("/images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("/images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url("/images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url("/images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url("/images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("/images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("/images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-image:url("/images/ui-icons_222222_256x240.png")}.ui-widget-content .ui-icon,.ui-widget-header .ui-icon{background-image:url("/images/ui-icons_222222_256x240.png")}.ui-state-default .ui-icon{background-image:url("/images/ui-icons_888888_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-state-active .ui-icon{background-image:url("/images/ui-icons_454545_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("/images/ui-icons_2e83ff_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("/images/ui-icons_cd0a0a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start,.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url("/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url("/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}html{margin:0;padding:0;border:0;font:inherit}body{padding:0;border:0;font:inherit}applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,td,tr,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}input,select{font:inherit;vertical-align:middle;margin:0;padding:.15em;border:1px solid #999;outline:0;border-radius:3.01px;box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}body{font-size:18px;font-weight:bold;font-family:Arial;background-color:white;margin:0;height:100%}html{height:100%}a{font-style:italic}h1{font-style:italic;font-size:20px}p{font-size:18px}button{font-weight:bold;font-size:16px;border-radius:3.01px;border:0;margin:0 0 0 .5em;font-family:inherit;line-height:1em;padding:.75em;background:#bbb;cursor:pointer}ul{list-style-type:none}li:hover img{-webkit-filter:invert(100%)!important}li a{display:block;color:#000;padding:8px;text-decoration:none;vertical-align:middle}li a.active{background-color:#4caf50;color:white}li a.activealarm{background-color:#de0f0f;color:white}li a.activeexercise{background-color:#415bda;color:white}li a.activeoff{background-color:#160101;color:white}li a.activemanual{background-color:#baadad;color:white}li a.activerun{background-color:#2e5d5a;color:white}li a.activerunmanual{background-color:#14423f;color:white}li a.activeservice{background-color:#d6b744;color:white}li a:hover:not(.active){background-color:#555;color:white}.alert_large,.alert_small,.log,.maintenance,.monitor,.notifications,.outage,.print10,.print24,.print60,.registers,.remove_bin,.settings,.status,.temp1,.temp2,.temp3,.temp4,.title-bg,.validation_ok,.validation_text,.wifi1,.wifi2,.wifi3,.wifi4,.fuel,.about,.addon{background:url(images/sprites.png) no-repeat}.alert_large{background-position:-317px -22px;width:64px;height:64px}.alert_small{background-position:-156px -163px;width:28px;height:28px}.log{background-position:-18px -115px;width:20px;height:20px}.maintenance{background-position:-263px -118px;width:20px;height:20px}.monitor{background-position:-165px -116px;width:20px;height:20px}.notifications{background-position:-214px -116px;width:20px;height:20px}.outage{background-position:-114px -113px;width:20px;height:20px}.print10{background-position:-107px -157px;width:36px;height:36px}.print24{background-position:-56px -156px;width:36px;height:36px}.print60{background-position:-9px -155px;width:36px;height:36px}.registers{background-position:-70px -112px;width:20px;height:20px}.remove_bin{background-position:-210px -164px;width:24px;height:24px}.settings{background-position:-266px -63px;width:20px;height:20px}.status{background-position:-216px -63px;width:20px;height:20px}.temp1{background-position:-160px -60px;width:28px;height:28px}.temp2{background-position:-111px -59px;width:28px;height:28px}.temp3{background-position:-60px -60px;width:28px;height:28px}.temp4{background-position:-12px -61px;width:28px;height:28px}.title-bg{background-position:-154px -124px;width:1px;height:28px}.validation_ok{background-position:-266px -19px;width:16px;height:16px}.validation_text{background-position:-218px -21px;width:16px;height:16px}.wifi1{background-position:-159px -12px;width:28px;height:28px}.wifi2{background-position:-108px -11px;width:28px;height:28px}.wifi3{background-position:-60px -11px;width:28px;height:28px}.wifi4{background-position:-12px -11px;width:28px;height:28px}.fuel{background-position:0 -206px;width:400px;height:189px}.about{background-position:-314px -166px;width:20px;height:20px}.addon{background-position:-264px -166px;width:20px;height:20px}.linux_small,.mqtt_small,.rpi_small,.slack_small,.twilio_small,.pushover_small,.linux,.mqtt,.pushover,.rpi,.slack,.twilio,.sms,.sms_small,.csv_small,.csv{background:url(images/addons.png) no-repeat}.linux_small{background-position:-263px -355px;width:50px;height:25px}.mqtt_small{background-position:-269px -333px;width:50px;height:12px}.rpi_small{background-position:-398px -362px;width:50px;height:15px}.slack_small{background-position:-461px -361px;width:50px;height:15px}.twilio_small{background-position:-463px -330px;width:50px;height:17px}.pushover_small{background-position:-334px -362px;width:50px;height:13px}.linux{background-position:-1px -173px;width:252px;height:125px}.mqtt{background-position:-258px -72px;width:252px;height:62px}.pushover{background-position:-255px 0;width:252px;height:63px}.rpi{background-position:0 -93px;width:252px;height:76px}.slack{background-position:-257px -146px;width:252px;height:77px}.twilio{background-position:-256px -231px;width:252px;height:83px}.sms{background-position:0 0;width:252px;height:84px}.sms_small{background-position:-332px -331px;width:50px;height:17px}.csv_small{background-position:-395px -330px;width:50px;height:18px}.csv{background-position:0 -305px;width:252px;height:93px}.greyscale{-webkit-filter:grayscale(1);filter:gray;filter:grayscale(1)}.regHistoryCanvas{height:280px;width:250px;overflow-x:hidden;overflow-y:hidden}.regHistoryCanvasTop{height:250px;width:250px;vertical-align:top}.regHistoryCanvasBottom{height:30px;width:250px;vertical-align:bottom}.regHistoryPlot{height:250px;width:250px;overflow-x:hidden;overflow-y:hidden}.regHistoryPlotCell{height:250px;width:330px;overflow-x:hidden;overflow-y:hidden}.regHistory{text-decoration:underline;display:inline;cursor:pointer}.regHistory.selection{text-decoration:none}.gaugeField{text-align:center;background-color:#e1e1e1;vertical-align:bottom;background-clip:padding-box;border-radius:20px;width:100%;height:100%}.gaugeCanvas{width:100%;height:65%}.gaugeDiv,.jsonVal{display:inline}.plotField{text-align:center;background-color:#e1e1e1;vertical-align:bottom;background-clip:padding-box;border-radius:20px;width:100%;height:100%}.kwPlotCanvas{height:70%;width:100%;overflow-x:hidden;overflow-y:hidden}.kwPlotText{font-size:10px}.kwPlotSelection{text-decoration:underline;display:inline;cursor:pointer}.kwPlotSelection.selection{text-decoration:none}.grid{margin:10px}.grid-sizer{width:180px}.grid-item{width:180px;float:left;height:200px;background:#fffff;border:0}.grid-item.is-dragging,.grid-item.ui-draggable-dragging,.grid-item.is-positioning-post-drag{background:#fff;z-index:2}.packery-drop-placeholder{outline:3px dashed #444;outline-offset:-6px;-webkit-transition:-webkit-transform .2s;transition:transform .2s}.registerTD{border:5px solid white;background-color:#aaa;vertical-align:bottom;padding:5px;background-clip:padding-box;border-radius:10px}.registerTD table{border:2px solid #aaa;height:100%}.registerTDtitle{border-bottom:1px solid #444;font-size:12px}.registerTDsubtitle{border-bottom:1px solid #444;font-size:11px}.registerTDvalMedium{font-size:14px}.registerTDvalSmall{font-size:11px}.confirmSmall{font-size:12px}.progress-bar{width:calc(100% - 6px);height:13px;background:#e0e0e0;padding:3px;border-radius:3px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.progress-bar-fill{display:block;height:6px;background:#4caf50;border-radius:3px;transition:width 10s ease-in-out}.removeRow{cursor:pointer}.tripleButtonLeft{margin:0;border-radius:3px 0 0 3px}.tripleButtonCenter{margin:0;border-radius:0;border-right:1px solid #000;border-left:1px solid #000}.tripleButtonRight{margin:0;border-radius:0 3px 3px 0}.notificationEmail{width:300px;padding:8px}.printButton{cursor:pointer}.card{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);position:relative;margin:.5rem 0 1rem;background-color:#fff;-webkit-transition:-webkit-box-shadow .25s;transition:box-shadow .25s,-webkit-box-shadow .25s;border-radius:6px;width:360px}#mydisplay{padding:10px}#myDiv{margin:0;padding:0;width:100%;height:100%;overflow:auto}#navMenu{margin:0;padding:0;width:200px;background-color:#f1f1f1;height:100%;overflow:auto}#myheader,#footer{display:block;margin:0;padding:0;border:0;font:inherit;background-color:#f1f1f1;text-align:center;vertical-align:middle}#myheader{font-size:20px;height:30px}#footer{font-size:15px;height:30px}#footer.alert{background-color:#fcc}#myheader td,#footer td{vertical-align:middle}#allnotifications td,#allsettings td{padding:3px}.idealforms-field-width{width:619.3333333333334px}form.idealforms{zoom:1;line-height:1}form.idealforms:before{content:"";display:table}form.idealforms:after{content:"";display:table;clear:both}form.idealforms *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form.idealforms .field{position:relative;float:left;clear:both;margin:.1em 0}form.idealforms label.main,form.idealforms .field>input,form.idealforms select,form.idealforms button,form.idealforms textarea,form.idealforms .field .group{float:left}form.idealforms label.main{width:120px;margin-top:.15em}form.idealforms input{margin:0;width:290px;padding:.15em;border:1px solid #999;outline:0;background:#fff;-webkit-border-radius:3.01px;border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}form.idealforms textarea{margin:0;padding:.15em;border:1px solid #999;outline:0;background:#fff;-webkit-border-radius:3.01px;border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}form.idealforms select{margin:0;width:290px;outline:0}form.idealforms .field .group{margin:0;width:290px;border:1px solid #999;outline:0;background:#fff;-webkit-border-radius:3.01px;border-radius:3.01px}form.idealforms input{-webkit-transition:background .3s ease-in-out;-moz-transition:background .3s ease-in-out;-o-transition:background .3s ease-in-out;-ms-transition:background .3s ease-in-out;transition:background .3s ease-in-out}form.idealforms textarea{width:435px}form.idealforms select{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;cursor:pointer}form.idealforms button{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;padding:.15em .5em;cursor:pointer}form.idealforms select:hover,form.idealforms button:hover{background:-webkit-linear-gradient(#fff,#eaeaea);background:-moz-linear-gradient(#fff,#eaeaea);background:-o-linear-gradient(#fff,#eaeaea);background:-ms-linear-gradient(#fff,#eaeaea);background:linear-gradient(#fff,#eaeaea)}form.idealforms select:active,form.idealforms button:active,form.idealforms select:active:focus,form.idealforms button:active:focus{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;background:#ddd}form.idealforms select:focus{outline:none;-webkit-box-shadow:0 0 1px #3f9dcc;box-shadow:0 0 1px #3f9dcc}form.idealforms button:focus{outline:none;border-color:#3f9dcc;-webkit-box-shadow:0 0 1px #3f9dcc;box-shadow:0 0 1px #3f9dcc}form.idealforms button{width:auto}form.idealforms select{padding:.15em}form.idealforms select:focus{border:1px solid #444}form.idealforms input[type="file"]{padding:0}form.idealforms .field .group{position:relative;padding:1.25em;-webkit-box-shadow:none;box-shadow:none}form.idealforms .field .group label{float:left;clear:both;padding:.15em 0}form.idealforms .field .group input,form.idealforms .field .group label{margin:0}form.idealforms .field .group input{width:auto;margin-right:.5em;-webkit-box-shadow:none;box-shadow:none}form.idealforms .field .group label{margin-right:1em}form.idealforms .field .group label:last-of-type{margin:0}form.idealforms .field.valid input{color:#18445a;background:#edf7fc;border-color:#3f9dcc}form.idealforms .field.valid select,form.idealforms .field.valid textarea,form.idealforms .field.valid .group{border-color:#3f9dcc}form.idealforms .field.invalid input{color:#430e08;background:#ffeded;border-color:#cc2a18}form.idealforms .field.invalid select,form.idealforms .field.invalid textarea,form.idealforms .field.invalid .group{border-color:#cc2a18}form.idealforms .field.valid .group,form.idealforms .field.invalid .group,form.idealforms .field.valid textarea,form.idealforms .field.invalid textarea{color:inherit;background:none}form.idealforms .field.valid select,form.idealforms .field.invalid select{color:inherit}form.idealforms .field.valid select,form.idealforms .field.invalid select{background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd)}form.idealforms .field .icon{position:absolute;width:16px;height:16px;top:50%;left:100%;margin-top:-8px;margin-left:8px;background:url("../images/sprites.png") no-repeat;cursor:pointer}form.idealforms .field.invalid .icon{background-position:-218px -21px;width:16px;height:16px}form.idealforms .field.valid .icon{background-position:-266px -19px;width:16px;height:16px;cursor:default}form.idealforms .field.invalid .group input,form.idealforms .field.valid .group input{border:0;outline:0;-webkit-box-shadow:none;box-shadow:none}form.idealforms .error{display:none;position:absolute;z-index:1;left:100%;top:50%;padding:1em .5em;width:193.33333333333334px;margin-left:40px;background:#faa;background:-webkit-linear-gradient(#ffaaaa,#ffcccc);background:-moz-linear-gradient(#ffaaaa,#ffcccc);background:-o-linear-gradient(#ffaaaa,#ffcccc);background:-ms-linear-gradient(#ffaaaa,#ffcccc);background:linear-gradient(#ffaaaa,#ffcccc);color:#333;font-size:70%;font-weight:bold;line-height:1;border:1px solid #faa;-webkit-border-radius:0 3.01px 3.01px 3.01px;border-radius:0 3.01px 3.01px 3.01px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.15);box-shadow:0 1px 1px rgba(0,0,0,0.15)}form.idealforms .error:after{content:"";position:absolute;z-index:-1;top:-1px;left:-.7em;border-width:.7em;border-style:solid;border-color:transparent;border-top-color:#faa}form.idealforms .tooltip{display:none;position:absolute;z-index:1;left:100%;top:50%;padding:1em .5em;width:253.33333333333334px;margin-left:40px;background:#aaa;background:-webkit-linear-gradient(#aaaaaa,#cccccc);background:-moz-linear-gradient(#aaaaaa,#cccccc);background:-o-linear-gradient(#aaaaaa,#cccccc);background:-ms-linear-gradient(#aaaaaa,#cccccc);background:linear-gradient(#aaaaaa,#cccccc);color:#333;font-size:70%;font-weight:bold;line-height:1;border:1px solid #aaa;-webkit-border-radius:0 3.01px 3.01px 3.01px;border-radius:0 3.01px 3.01px 3.01px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.15);box-shadow:0 1px 1px rgba(0,0,0,0.15)}form.idealforms .tooltip:after{content:"";position:absolute;z-index:-1;top:-1px;left:-.7em;border-width:.7em;border-style:solid;border-color:transparent;border-top-color:#aaa}form.idealforms .idealforms-field-checkbox .icon,form.idealforms .idealforms-field-radio .icon,form.idealforms .idealforms-field-textarea .icon{top:8px;margin-top:0}form.idealforms .idealforms-field-checkbox .error,form.idealforms .idealforms-field-radio .error,form.idealforms .idealforms-field-textarea .error{top:1.25em}.idealsteps-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.idealsteps-step{display:none;zoom:1}.idealsteps-step:before{content:"";display:table}.idealsteps-step:after{content:"";display:table;clear:both}form.idealforms .ideal-file-wrap{float:left}form.idealforms .ideal-file-filename{float:left;width:204px;height:100%;-webkit-border-radius:0;border-radius:0;-webkit-border-top-left-radius:3.01px;border-top-left-radius:3.01px;-webkit-border-bottom-left-radius:3.01px;border-bottom-left-radius:3.01px}form.idealforms .ideal-file-upload{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;padding:.15em .5em;cursor:pointer;overflow:visible;position:relative;float:right;left:-1px;width:87px;padding-left:0;padding-right:0;text-align:center;-webkit-border-radius:0;border-radius:0;-webkit-border-top-right-radius:3.01px;border-top-right-radius:3.01px;-webkit-border-bottom-right-radius:3.01px;border-bottom-right-radius:3.01px}form.idealforms .ideal-file-upload:hover{background:-webkit-linear-gradient(#fff,#eaeaea);background:-moz-linear-gradient(#fff,#eaeaea);background:-o-linear-gradient(#fff,#eaeaea);background:-ms-linear-gradient(#fff,#eaeaea);background:linear-gradient(#fff,#eaeaea)}form.idealforms .ideal-file-upload:active,form.idealforms .ideal-file-upload:active:focus{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;background:#ddd}form.idealforms .ideal-file-upload:focus{outline:none;border-color:#3f9dcc;-webkit-box-shadow:0 0 1px #3f9dcc;box-shadow:0 0 1px #3f9dcc}form.idealforms.adaptive .ideal-file-wrap{width:100%}form.idealforms.adaptive .ideal-file-filename{width:70%}form.idealforms.adaptive .ideal-file-upload{width:30%}.lcs_wrap{display:inline-block;direction:ltr;height:28px;vertical-align:middle}.lcs_wrap input{display:none}.lcs_switch{display:inline-block;position:relative;width:73px;height:28px;border-radius:30px;background:#ddd;overflow:hidden;cursor:pointer;-webkit-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.lcs_cursor{display:inline-block;position:absolute;top:3px;width:22px;height:22px;border-radius:100%;background:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2),0 3px 4px 0 rgba(0,0,0,0.1);z-index:10;-webkit-transition:all .2s linear;-ms-transition:all .2s linear;transition:all .2s linear}.lcs_label{font-family:"Trebuchet MS",Helvetica,sans-serif;font-size:12px;letter-spacing:1px;line-height:18px;color:#fff;font-weight:bold;position:absolute;width:33px;top:5px;overflow:hidden;text-align:center;opacity:0;-webkit-transition:all .2s ease-in-out .1s;-ms-transition:all .2s ease-in-out .1s;transition:all .2s ease-in-out .1s}.lcs_label.lcs_label_on{left:-70px;z-index:6}.lcs_label.lcs_label_off{right:-70px;z-index:5}.lcs_switch.lcs_on{background:-webkit-linear-gradient(#439547,#4caf50);background:linear-gradient(#439547,#4caf50);text-shadow:0 0 8px rgba(0,0,0,0.5);border-radius:50px;box-shadow:inset 2px 2px 5px rgba(0,0,0,0.4)}.lcs_switch.lcs_on .lcs_cursor{left:48px}.lcs_switch.lcs_on .lcs_label_on{left:10px;opacity:1}.lcs_switch.lcs_off{background:#b2b2b2;box-shadow:0 0 2px #a4a4a4 inset;border-radius:50px}.lcs_switch.lcs_off .lcs_cursor{left:3px}.lcs_switch.lcs_off .lcs_label_off{right:10px;opacity:1}.lcs_switch.lcs_disabled{opacity:.65;filter:alpha(opacity=65);cursor:default}.selectize-control.plugin-drag_drop.multi>.selectize-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,0.06)!important;border:1px solid #999;outline:0;border-radius:3.01px;box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after{content:'!';visibility:hidden}.selectize-control.plugin-drag_drop .ui-sortable-helper{-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.2);box-shadow:0 2px 5px rgba(0,0,0,0.2)}.selectize-dropdown-header{position:relative;padding:5px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.selectize-dropdown-header-close:hover{color:#000}.selectize-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0 none;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0 none}.selectize-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.selectize-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0 none}.selectize-control.plugin-remove_button [data-value]{position:relative;padding-right:24px!important}.selectize-control.plugin-remove_button [data-value] .remove{z-index:1;position:absolute;top:0;right:0;bottom:0;width:17px;text-align:center;font-weight:bold;font-size:12px;color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 0 0;border-left:1px solid #439646;-webkit-border-radius:0 2px 2px 0;-moz-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-control.plugin-remove_button [data-value] .remove:hover{background:rgba(0,0,0,0.05)}.selectize-control.plugin-remove_button [data-value].active .remove{border-left-color:#00578d}.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover{background:none}.selectize-control.plugin-remove_button .disabled [data-value] .remove{border-left-color:#aaa}.selectize-control.plugin-remove_button .remove-single{position:absolute;right:28px;top:6px;font-size:23px}.selectize-control{position:relative}.selectize-dropdown,.selectize-input,.selectize-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;-webkit-font-smoothing:inherit}.selectize-input,.selectize-control.single .selectize-input.input-active{background:#fff;cursor:text;display:inline-block}.selectize-input{border:1px solid #999;outline:0;border-radius:3.01px;box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);padding:4px;display:inline-block;width:300px;margin-top:2px;height:27px;overflow:hidden;position:relative;z-index:1}.selectize-control.multi .selectize-input.has-items{padding:5px 8px 2px}.selectize-input.full{background-color:#fff}.selectize-input.disabled,.selectize-input.disabled *{cursor:default!important}.selectize-input.focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}.selectize-input.dropdown-active{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-input>*{vertical-align:baseline;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline}.selectize-control.multi .selectize-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#4caf50;color:#fff;border:1px solid #439646}.selectize-control.multi .selectize-input>div.active{background:#444;color:#fff;border:1px solid #3a823c}.selectize-control.multi .selectize-input.disabled>div,.selectize-control.multi .selectize-input.disabled>div.active{color:#fff;background:#d2d2d2;border:1px solid #aaa}.selectize-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0 1px!important;text-indent:0!important;border:0 none!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-webkit-box-shadow:none!important;box-shadow:none!important}.selectize-input>input::-ms-clear{display:none}.selectize-input>input:focus{outline:none!important}.selectize-input::after{content:' ';display:block;clear:left}.selectize-input.dropdown-active::before{content:' ';display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.selectize-dropdown{position:absolute;z-index:10;border:1px solid #999;background:#fff;margin:-1px 0 0;border-top:0 none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1);-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.selectize-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.selectize-dropdown [data-selectable] .highlight{background:rgba(125,168,208,0.2);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.selectize-dropdown [data-selectable],.selectize-dropdown .optgroup-header{padding:5px 8px}.selectize-dropdown .optgroup:first-child .optgroup-header{border-top:0 none}.selectize-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.selectize-dropdown .active{background-color:#ccc;color:#495c68}.selectize-dropdown .active.create{color:#495c68}.selectize-dropdown .create{color:rgba(48,48,48,0.5)}.selectize-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;-webkit-overflow-scrolling:touch}.selectize-control.single .selectize-input,.selectize-control.single .selectize-input input{cursor:pointer}.selectize-control.single .selectize-input.input-active,.selectize-control.single .selectize-input.input-active input{cursor:text}.selectize-control.single .selectize-input:after{content:' ';display:block;position:absolute;top:50%;right:15px;margin-top:-3px;width:0;height:0;border-style:solid;border-width:5px 5px 0;border-color:#808080 transparent transparent}.selectize-control.single .selectize-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent #808080}.selectize-control.rtl.single .selectize-input:after{left:15px;right:auto}.selectize-control.rtl .selectize-input>input{margin:0 4px 0 -2px!important}.selectize-control .selectize-input.disabled{opacity:.5;background-color:#fafafa}.selectize-control.multi .selectize-input.has-items{padding-left:5px;padding-right:5px}.selectize-control.multi .selectize-input.disabled [data-value]{color:#999;text-shadow:none;background:none;-webkit-box-shadow:none;box-shadow:none;border-color:#439646}.selectize-control.multi .selectize-input.disabled [data-value] .remove{border-color:#439646;background:none}.selectize-control.multi .selectize-input [data-value]{text-shadow:0 1px 0 rgba(0,51,83,0.3);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#439646;background-image:-moz-linear-gradient(top,#4caf50,#439646);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4caf50),to(#439646));background-image:-webkit-linear-gradient(top,#4caf50,#439646);background-image:-o-linear-gradient(top,#4caf50,#439646);background-image:linear-gradient(to bottom,#4caf50,#439646);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4caf50',endColorstr='#ff439646',GradientType=0);-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),inset 0 1px rgba(255,255,255,0.03);box-shadow:0 1px 0 rgba(0,0,0,0.2),inset 0 1px rgba(255,255,255,0.03)}.selectize-control.multi .selectize-input [data-value].active{background-color:#3a823c;background-image:-moz-linear-gradient(top,#439646,#3a823c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#439646),to(#3a823c));background-image:-webkit-linear-gradient(top,#439646,#3a823c);background-image:-o-linear-gradient(top,#439646,#3a823c);background-image:linear-gradient(to bottom,#439646,#3a823c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff439646',endColorstr='#ff3a823c',GradientType=0)}.selectize-control.single .selectize-input{-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(255,255,255,0.8);box-shadow:0 1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(255,255,255,0.8);background-color:#f9f9f9;background-image:-moz-linear-gradient(top,#fefefe,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fefefe),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fefefe,#f2f2f2);background-image:-o-linear-gradient(top,#fefefe,#f2f2f2);background-image:linear-gradient(to bottom,#fefefe,#f2f2f2);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe',endColorstr='#fff2f2f2',GradientType=0);border-color:#b8b8b8}.selectize-dropdown.single{border-color:#b8b8b8}.selectize-dropdown .optgroup-header{padding-top:7px;font-weight:bold;font-size:.85em}.selectize-dropdown .optgroup{border-top:1px solid #f0f0f0}.selectize-dropdown .optgroup:first-child{border-top:0 none}@-webkit-keyframes vex-fadein{0%{opacity:0}to{opacity:1}}@keyframes vex-fadein{0%{opacity:0}to{opacity:1}}@-webkit-keyframes vex-fadeout{0%{opacity:1}to{opacity:0}}@keyframes vex-fadeout{0%{opacity:1}to{opacity:0}}@-webkit-keyframes vex-rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes vex-rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.vex,.vex *,.vex *:before,.vex *:after{-moz-box-sizing:border-box;box-sizing:border-box}.vex{position:fixed;overflow:auto;-webkit-overflow-scrolling:touch;z-index:1111;top:0;right:0;bottom:0;left:0}.vex-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.vex-overlay{-webkit-animation:vex-fadein .5s;animation:vex-fadein .5s;position:fixed;z-index:1111;background:rgba(0,0,0,0.4);top:0;right:0;bottom:0;left:0}.vex-overlay.vex-closing{-webkit-animation:vex-fadeout .5s forwards;animation:vex-fadeout .5s forwards}.vex-content{-webkit-animation:vex-fadein .5s;animation:vex-fadein .5s;background:#fff}.vex.vex-closing .vex-content{-webkit-animation:vex-fadeout .5s forwards;animation:vex-fadeout .5s forwards}.vex-close:before{font-family:Arial,sans-serif;content:"\0000d7"}.vex-dialog-form{margin:0}.vex-dialog-button{text-rendering:optimizeLegibility;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.vex-loading-spinner{-webkit-animation:vex-rotation .7s linear infinite;animation:vex-rotation .7s linear infinite;box-shadow:0 0 1em rgba(0,0,0,0.1);position:fixed;z-index:1112;margin:auto;top:0;right:0;bottom:0;left:0;height:2em;width:2em;background:#fff}body.vex-open{overflow:hidden}.ch{display:table!important;clear:both}.ch-month,.ch-week-labels{font-size:0;display:inline-block;white-space:normal;margin:0 4px}.ch-week{display:inline-block;width:11px;box-sizing:content-box}.ch-day-labels{display:inline-block;box-sizing:content-box;width:inherit}.ch-month-label{text-align:center;font-size:12px;margin-top:10px;margin-bottom:10px}.ch-day-label{text-align:center;font-size:10px;display:block;margin:0;line-height:11px;box-sizing:content-box}.ch-day{display:inline-block;width:9px;height:9px;border:1px solid #f3f6f8;background-color:#f1f1f1;margin:0;box-sizing:content-box}.ch-day.is-outside-month,.ch-lvl.is-outside-month,.ch-day.is-outside-month:hover,.ch-lvl.is-outside-month:hover{background-color:transparent;border-color:transparent}.ch-day.lvl-0,.ch-lvl.lvl-0{background-color:#c8d7e1}.ch-day.is-after-today,.ch-lvl.is-after-today{background-color:#d9e3ea}.ch-day.lvl-1,.ch-lvl.lvl-1{background-color:#a6c96a}.ch-day.lvl-2,.ch-lvl.lvl-2{background-color:#5cb85c}.ch-day.lvl-3,.ch-lvl.lvl-3{background-color:#009e47}.ch-day.lvl-4,.ch-lvl.lvl-4{background-color:#00753a}.ch-day:hover,.ch-lvl:hover{border-color:#89a6ba}.ch-legend{padding-top:10px;text-align:right}.ch-legend-left{text-align:left!important}.ch-legend-center{text-align:center!important}.ch-legend:after{content:".";display:block;height:0;width:0;clear:both;visibility:hidden}.ch-lvls{display:inline-block;margin:0;list-style-type:none;padding:2px 9px 0 5px}.ch-lvl{width:10px;height:10px;float:left;margin-left:3px}.blue-1{background-color:#ffc!important}.earth-1{background-color:#f4ec15!important}.electric-1{background-color:#f9d824!important}.viridis-1{background-color:#dde218!important}.picknick-1{background-color:#dd2a91!important}.green-1{background-color:#d1be5a!important}.teal-1{background-color:#becfb6!important}.red-1{background-color:#deb7af!important}.blue-2{background-color:#41b6c4!important}.earth-2{background-color:#86bf76!important}.electric-2{background-color:#f38647!important}.viridis-2{background-color:#42bd70!important}.picknick-2{background-color:#b14dec!important}.green-2{background-color:#5f900b!important}.teal-2{background-color:#7db28f!important}.red-2{background-color:#cf8371!important}.blue-3{background-color:#0868ac!important}.earth-3{background-color:#117bd7!important}.electric-3{background-color:#8e0ca3!important}.viridis-3{background-color:#355c8c!important}.picknick-3{background-color:#2e8ebf!important}.green-3{background-color:#39811b!important}.teal-3{background-color:#107d79!important}.red-3{background-color:#b63b25!important}.blue-4{background-color:#253494!important}.earth-4{background-color:#363299!important}.electric-4{background-color:#2e0495!important}.viridis-4{background-color:#471164!important}.picknick-4{background-color:#139863!important}.green-4{background-color:#0d562c!important}.teal-4{background-color:#1c475d!important}.red-4{background-color:#90131c!important}.genmon-1{background-color:#090!important}.genmon-2{background-color:#f90!important}.genmon-3{background-color:#c00!important}.genmon-4{background-color:#333!important}.jqplot-xaxis,.jqplot-xaxis-label{margin-top:10px}.jqplot-x2axis,.jqplot-x2axis-label{margin-bottom:10px}.jqplot-target{position:relative;color:#666;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:1em}.jqplot-axis{font-size:.75em}.jqplot-yaxis{margin-right:10px}.jqplot-y2axis,.jqplot-y3axis,.jqplot-y4axis,.jqplot-y5axis,.jqplot-y6axis,.jqplot-y7axis,.jqplot-y8axis,.jqplot-y9axis,.jqplot-yMidAxis{margin-left:10px;margin-right:10px}.jqplot-axis-tick,.jqplot-x2axis-tick,.jqplot-xaxis-tick,.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{position:absolute;white-space:pre}.jqplot-yMidAxis-tick{position:absolute}.jqplot-yaxis-tick{position:absolute;white-space:pre}.jqplot-xaxis-tick{top:0;left:15px;vertical-align:top}.jqplot-x2axis-tick{bottom:0;left:15px;vertical-align:bottom}.jqplot-yaxis-tick{right:0;top:15px;text-align:right}.jqplot-yaxis-tick.jqplot-breakTick{right:-20px;margin-right:0;padding:1px 5px;z-index:2;font-size:1.5em}.jqplot-x2axis-label,.jqplot-xaxis-label,.jqplot-yMidAxis-label,.jqplot-yaxis-label{font-size:11pt;position:absolute}.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{left:0;top:15px;text-align:left}.jqplot-yMidAxis-tick{text-align:center;white-space:nowrap}.jqplot-yaxis-label{margin-right:10px}.jqplot-y2axis-label,.jqplot-y3axis-label,.jqplot-y4axis-label,.jqplot-y5axis-label,.jqplot-y6axis-label,.jqplot-y7axis-label,.jqplot-y8axis-label,.jqplot-y9axis-label{font-size:11pt;margin-left:10px;position:absolute}.jqplot-meterGauge-tick{font-size:.75em;color:#999}.jqplot-meterGauge-label{font-size:1em;color:#999}table.jqplot-table-legend{margin:12px}table.jqplot-cursor-legend,table.jqplot-table-legend{background-color:rgba(255,255,255,.6);border:1px solid #ccc;position:absolute;font-size:.75em}td.jqplot-table-legend{vertical-align:middle}td.jqplot-seriesToggle:active,td.jqplot-seriesToggle:hover{cursor:pointer}.jqplot-table-legend .jqplot-series-hidden{text-decoration:line-through}div.jqplot-table-legend-swatch-outline{border:1px solid #ccc;padding:1px}div.jqplot-table-legend-swatch{width:0;height:0;border-width:5px 6px;border-style:solid}.jqplot-title{top:0;left:0;padding-bottom:.5em;font-size:1.2em}table.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em}.jqplot-canvasOverlay-tooltip,.jqplot-cursor-tooltip,.jqplot-highlighter-tooltip{border:1px solid #ccc;font-size:.75em;white-space:nowrap;background:rgba(208,208,208,.5);padding:1px}.jqplot-point-label{font-size:.75em;z-index:2}td.jqplot-cursor-legend-swatch{vertical-align:middle;text-align:center}div.jqplot-cursor-legend-swatch{width:1.2em;height:.7em}.jqplot-error{text-align:center}.jqplot-error-message{position:relative;top:46%;display:inline-block}div.jqplot-bubble-label{font-size:.8em;padding-left:2px;padding-right:2px;color:#333}div.jqplot-bubble-label.jqplot-bubble-label-highlight{background:rgba(90%,90%,90%,.7)}div.jqplot-noData-container{text-align:center;background-color:rgba(96%,96%,96%,.3)}.tooltipster-fall,.tooltipster-grow.tooltipster-show{-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-base{display:flex;pointer-events:none;position:absolute}.tooltipster-box{flex:1 1 auto}.tooltipster-content{box-sizing:border-box;max-height:100%;max-width:100%;overflow:auto;font-size:12px}.tooltipster-ruler{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;visibility:hidden}.tooltipster-fade{opacity:0;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;-ms-transition-property:opacity;transition-property:opacity}.tooltipster-fade.tooltipster-show{opacity:1}.tooltipster-grow{-webkit-transform:scale(0,0);-moz-transform:scale(0,0);-o-transform:scale(0,0);-ms-transform:scale(0,0);transform:scale(0,0);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-backface-visibility:hidden}.tooltipster-grow.tooltipster-show{-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1);-ms-transform:scale(1,1);transform:scale(1,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-swing{opacity:0;-webkit-transform:rotateZ(4deg);-moz-transform:rotateZ(4deg);-o-transform:rotateZ(4deg);-ms-transform:rotateZ(4deg);transform:rotateZ(4deg);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform}.tooltipster-swing.tooltipster-show{opacity:1;-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-o-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,1);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-moz-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-ms-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-o-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);transition-timing-function:cubic-bezier(.23,.635,.495,2.4)}.tooltipster-fall{-webkit-transition-property:top;-moz-transition-property:top;-o-transition-property:top;-ms-transition-property:top;transition-property:top;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-fall.tooltipster-initial{top:0!important}.tooltipster-fall.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;top:0!important;opacity:0}.tooltipster-slide{-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;-ms-transition-property:left;transition-property:left;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-slide.tooltipster-initial{left:-40px!important}.tooltipster-slide.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;left:0!important;opacity:0}@keyframes tooltipster-fading{0%{opacity:0}to{opacity:1}}.tooltipster-update-fade{animation:tooltipster-fading .4s}@keyframes tooltipster-rotating{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}to{transform:rotate(0)}}.tooltipster-update-rotate{animation:tooltipster-rotating .6s}@keyframes tooltipster-scaling{50%{transform:scale(1.1)}to{transform:scale(1)}}.tooltipster-update-scale{animation:tooltipster-scaling .6s}.tooltipster-sidetip .tooltipster-box{background:#565656;border:2px solid #000;border-radius:4px}.tooltipster-sidetip.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip .tooltipster-content{color:#fff;line-height:18px;padding:6px 14px}.tooltipster-sidetip .tooltipster-arrow{overflow:hidden;position:absolute}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{height:10px;margin-left:-10px;top:0;width:20px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow{height:20px;margin-top:-10px;right:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{height:20px;margin-top:-10px;left:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:0;height:10px;margin-left:-10px;width:20px}.tooltipster-sidetip .tooltipster-arrow-background,.tooltipster-sidetip .tooltipster-arrow-border{height:0;position:absolute;width:0}.tooltipster-sidetip .tooltipster-arrow-background{border:10px solid transparent}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#565656;left:0;top:3px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-left-color:#565656;left:-3px;top:0}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-right-color:#565656;left:3px;top:0}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-top-color:#565656;left:0;top:-3px}.tooltipster-sidetip .tooltipster-arrow-border{border:10px solid transparent;left:0;top:0}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#000}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{border-left-color:#000}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{border-right-color:#000}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{border-top-color:#000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped{top:-10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped{left:-10px}@-webkit-keyframes vex-flyin{0%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes vex-flyin{0%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes vex-flyout{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes vex-flyout{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes vex-pulse{0%{box-shadow:inset 0 0 0 300px transparent}70%{box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}to{box-shadow:inset 0 0 0 300px transparent}}@keyframes vex-pulse{0%{box-shadow:inset 0 0 0 300px transparent}70%{box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}to{box-shadow:inset 0 0 0 300px transparent}}.vex.vex-theme-os{padding-top:160px;padding-bottom:160px}.vex.vex-theme-os.vex-closing .vex-content{-webkit-animation:vex-flyout .5s forwards;animation:vex-flyout .5s forwards}.vex.vex-theme-os .vex-content{-webkit-animation:vex-flyin .5s;animation:vex-flyin .5s;border-radius:5px;box-shadow:inset 0 1px #a6a6a6,0 0 0 1px rgba(0,0,0,0.08);font-family:"Helvetica Neue",sans-serif;border-top:20px solid #bbb;background:#f0f0f0;color:#444;padding:1em;position:relative;margin:0 auto;max-width:100%;width:450px;font-size:1.1em;line-height:1.5em}.vex.vex-theme-os .vex-content h1,.vex.vex-theme-os .vex-content h2,.vex.vex-theme-os .vex-content h3,.vex.vex-theme-os .vex-content h4,.vex.vex-theme-os .vex-content h5,.vex.vex-theme-os .vex-content h6,.vex.vex-theme-os .vex-content p,.vex.vex-theme-os .vex-content ul,.vex.vex-theme-os .vex-content li{color:inherit}.vex.vex-theme-os .vex-close{border-radius:0 5px 0 0;position:absolute;top:0;right:0;cursor:pointer}.vex.vex-theme-os .vex-close:before{border-radius:3px;position:absolute;content:"\0000d7";font-size:26px;font-weight:normal;line-height:31px;height:30px;width:30px;text-align:center;top:3px;right:3px;color:#bbb;background:transparent}.vex.vex-theme-os .vex-close:hover:before,.vex.vex-theme-os .vex-close:active:before{color:#777;background:#e0e0e0}.vex.vex-theme-os .vex-dialog-form .vex-dialog-message{margin-bottom:.5em}.vex.vex-theme-os .vex-dialog-form .vex-dialog-input{margin-bottom:1em}.vex.vex-theme-os .vex-dialog-form .vex-dialog-input select,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input textarea,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="date"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime-local"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="email"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="month"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="number"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="password"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="search"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="tel"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="text"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="time"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="url"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="week"]{border-radius:3px;background:#fff;width:100%;padding:.25em .67em;border:0;font-family:inherit;font-weight:inherit;font-size:inherit;min-height:2.5em;margin:0 0 .25em}.vex.vex-theme-os .vex-dialog-form .vex-dialog-input select:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input textarea:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="date"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="email"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="month"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="number"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="password"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="search"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="text"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="time"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="url"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="week"]:focus{box-shadow:inset 0 0 0 1px #3288e6;outline:none}.vex.vex-theme-os .vex-dialog-form .vex-dialog-buttons{*zoom:1}.vex.vex-theme-os .vex-dialog-form .vex-dialog-buttons:after{content:"";display:table;clear:both}.vex.vex-theme-os .vex-dialog-button{border-radius:3px;border:0;float:right;margin:0 0 0 .5em;font-family:Arial;font-size:16px;line-height:1em;padding:.75em}.vex.vex-theme-os .vex-dialog-button.vex-last{margin-left:0}.vex.vex-theme-os .vex-dialog-button.vex-dialog-button-primary{background:#4caf50;color:#fff}.vex.vex-theme-os .vex-dialog-button.vex-dialog-button-secondary{background:#bbb;color:#444}.vex-loading-spinner.vex-theme-os{box-shadow:0 0 0 1px rgba(0,0,0,0.2),0 0 .5em rgba(0,0,0,0.2);border-radius:100%;background:rgba(255,255,255,0.2);width:0;height:0;border:1.2em solid #bbb;border-top-color:#f0f0f0;border-bottom-color:#f0f0f0} \ No newline at end of file +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse;clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons,.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible;text-decoration:none}.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em;padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner{border:0;padding:0}button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px .4em;margin:.5em 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:.4em 2.1em .4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url("/images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("/images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url("/images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url("/images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url("/images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("/images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("/images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-image:url("/images/ui-icons_222222_256x240.png")}.ui-widget-content .ui-icon,.ui-widget-header .ui-icon{background-image:url("/images/ui-icons_222222_256x240.png")}.ui-state-default .ui-icon{background-image:url("/images/ui-icons_888888_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-state-active .ui-icon{background-image:url("/images/ui-icons_454545_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("/images/ui-icons_2e83ff_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("/images/ui-icons_cd0a0a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start,.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url("/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url("/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}html{margin:0;padding:0;border:0;font:inherit}body{padding:0;border:0;font:inherit}applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,td,tr,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}input,select{font:inherit;vertical-align:middle;margin:0;padding:.15em;border:1px solid #999;outline:0;border-radius:3.01px;box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}body{font-size:18px;font-weight:bold;font-family:Arial;background-color:white;margin:0;height:100%}html{height:100%}a{font-style:italic}h1{font-style:italic;font-size:20px}p{font-size:18px}button{font-weight:bold;font-size:16px;border-radius:3.01px;border:0;margin:0 0 0 .5em;font-family:inherit;line-height:1em;padding:.75em;background:#bbb;cursor:pointer}ul{list-style-type:none}li:hover img{-webkit-filter:invert(100%)!important}li a{display:block;color:#000;padding:8px;text-decoration:none;vertical-align:middle}li a.active{background-color:#4caf50;color:white}li a.activealarm{background-color:#de0f0f;color:white}li a.activeexercise{background-color:#415bda;color:white}li a.activeoff{background-color:#160101;color:white}li a.activemanual{background-color:#baadad;color:white}li a.activerun{background-color:#2e5d5a;color:white}li a.activerunmanual{background-color:#14423f;color:white}li a.activeservice{background-color:#d6b744;color:white}li a:hover:not(.active){background-color:#555;color:white}.alert_large,.alert_small,.log,.maintenance,.monitor,.notifications,.outage,.print10,.print24,.print60,.registers,.remove_bin,.settings,.status,.temp1,.temp2,.temp3,.temp4,.title-bg,.validation_ok,.validation_text,.wifi1,.wifi2,.wifi3,.wifi4,.fuel,.about,.addon{background:url(images/sprites.png) no-repeat}.alert_large{background-position:-317px -22px;width:64px;height:64px}.alert_small{background-position:-156px -163px;width:28px;height:28px}.log{background-position:-18px -115px;width:20px;height:20px}.maintenance{background-position:-263px -118px;width:20px;height:20px}.monitor{background-position:-165px -116px;width:20px;height:20px}.notifications{background-position:-214px -116px;width:20px;height:20px}.outage{background-position:-114px -113px;width:20px;height:20px}.print10{background-position:-107px -157px;width:36px;height:36px}.print24{background-position:-56px -156px;width:36px;height:36px}.print60{background-position:-9px -155px;width:36px;height:36px}.registers{background-position:-70px -112px;width:20px;height:20px}.remove_bin{background-position:-210px -164px;width:24px;height:24px}.settings{background-position:-266px -63px;width:20px;height:20px}.status{background-position:-216px -63px;width:20px;height:20px}.temp1{background-position:-160px -60px;width:28px;height:28px}.temp2{background-position:-111px -59px;width:28px;height:28px}.temp3{background-position:-60px -60px;width:28px;height:28px}.temp4{background-position:-12px -61px;width:28px;height:28px}.title-bg{background-position:-154px -124px;width:1px;height:28px}.validation_ok{background-position:-266px -19px;width:16px;height:16px}.validation_text{background-position:-218px -21px;width:16px;height:16px}.wifi1{background-position:-159px -12px;width:28px;height:28px}.wifi2{background-position:-108px -11px;width:28px;height:28px}.wifi3{background-position:-60px -11px;width:28px;height:28px}.wifi4{background-position:-12px -11px;width:28px;height:28px}.fuel{background-position:0 -206px;width:400px;height:189px}.about{background-position:-314px -166px;width:20px;height:20px}.addon{background-position:-264px -166px;width:20px;height:20px}.linux_small,.mqtt_small,.rpi_small,.slack_small,.twilio_small,.pushover_small,.linux,.mqtt,.pushover,.rpi,.slack,.twilio,.sms,.sms_small,.csv_small,.csv{background:url(images/addons.png) no-repeat}.linux_small{background-position:-263px -355px;width:50px;height:25px}.mqtt_small{background-position:-269px -333px;width:50px;height:12px}.rpi_small{background-position:-398px -362px;width:50px;height:15px}.slack_small{background-position:-461px -361px;width:50px;height:15px}.twilio_small{background-position:-463px -330px;width:50px;height:17px}.pushover_small{background-position:-334px -362px;width:50px;height:13px}.linux{background-position:-1px -173px;width:252px;height:125px}.mqtt{background-position:-258px -72px;width:252px;height:62px}.pushover{background-position:-255px 0;width:252px;height:63px}.rpi{background-position:0 -93px;width:252px;height:76px}.slack{background-position:-257px -146px;width:252px;height:77px}.twilio{background-position:-256px -231px;width:252px;height:83px}.sms{background-position:0 0;width:252px;height:84px}.sms_small{background-position:-332px -331px;width:50px;height:17px}.csv_small{background-position:-395px -330px;width:50px;height:18px}.csv{background-position:0 -305px;width:252px;height:93px}.greyscale{-webkit-filter:grayscale(1);filter:gray;filter:grayscale(1)}.regHistoryCanvas{height:280px;width:250px;overflow-x:hidden;overflow-y:hidden}.regHistoryCanvasTop{height:250px;width:250px;vertical-align:top}.regHistoryCanvasBottom{height:30px;width:250px;vertical-align:bottom}.regHistoryPlot{height:250px;width:250px;overflow-x:hidden;overflow-y:hidden}.regHistoryPlotCell{height:250px;width:330px;overflow-x:hidden;overflow-y:hidden}.regHistory{text-decoration:underline;display:inline;cursor:pointer}.regHistory.selection{text-decoration:none}.gaugeField{text-align:center;background-color:#e1e1e1;vertical-align:bottom;background-clip:padding-box;border-radius:20px;width:100%;height:100%}.gaugeCanvas{width:100%;height:65%}.gaugeDiv,.jsonVal{display:inline}.plotField{text-align:center;background-color:#e1e1e1;vertical-align:bottom;background-clip:padding-box;border-radius:20px;width:100%;height:100%}.kwPlotCanvas{height:70%;width:100%;overflow-x:hidden;overflow-y:hidden}.kwPlotText{font-size:10px}.kwPlotSelection{text-decoration:underline;display:inline;cursor:pointer}.kwPlotSelection.selection{text-decoration:none}.grid{margin:10px}.grid-sizer{width:180px}.grid-item{width:180px;float:left;height:200px;background:#fffff;border:0}.grid-item.is-dragging,.grid-item.ui-draggable-dragging,.grid-item.is-positioning-post-drag{background:#fff;z-index:2}.packery-drop-placeholder{outline:3px dashed #444;outline-offset:-6px;-webkit-transition:-webkit-transform .2s;transition:transform .2s}.registerTD{border:5px solid white;background-color:#aaa;vertical-align:bottom;padding:5px;background-clip:padding-box;border-radius:10px}.registerTD table{border:2px solid #aaa;height:100%}.registerTDtitle{border-bottom:1px solid #444;font-size:12px}.registerTDsubtitle{border-bottom:1px solid #444;font-size:11px}.registerTDvalMedium{font-size:14px}.registerTDvalSmall{font-size:11px}.confirmSmall{font-size:12px}.progress-bar{width:calc(100% - 6px);height:13px;background:#e0e0e0;padding:3px;border-radius:3px;box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.progress-bar-fill{display:block;height:6px;background:#4caf50;border-radius:3px;transition:width 10s ease-in-out}.removeRow{cursor:pointer}.tripleButtonLeft{margin:0;border-radius:3px 0 0 3px}.tripleButtonCenter{margin:0;border-radius:0;border-right:1px solid #000;border-left:1px solid #000}.tripleButtonRight{margin:0;border-radius:0 3px 3px 0}.notificationEmail{width:300px;padding:8px}.printButton{cursor:pointer}.card{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);position:relative;margin:.5rem 0 1rem;background-color:#fff;-webkit-transition:-webkit-box-shadow .25s;transition:box-shadow .25s,-webkit-box-shadow .25s;border-radius:6px;width:360px}.aboutInfo{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);position:relative;margin:.5rem 0 1rem;-webkit-transition:-webkit-box-shadow .25s;transition:box-shadow .25s,-webkit-box-shadow .25s;border-radius:6px;font-size:16px;width:50%;background-color:#f1f1f1}#mydisplay{padding:10px}#myDiv{margin:0;padding:0;width:100%;height:100%;overflow:auto}#navMenu{margin:0;padding:0;width:200px;background-color:#f1f1f1;height:100%;overflow:auto}#myheader,#footer{display:block;margin:0;padding:0;border:0;font:inherit;background-color:#f1f1f1;text-align:center;vertical-align:middle}#myheader{font-size:20px;height:30px}#footer{font-size:15px;height:30px}#footer.alert{background-color:#fcc}#myheader td,#footer td{vertical-align:middle}#allnotifications td,#allsettings td{padding:3px}.idealforms-field-width{width:619.3333333333334px}form.idealforms{zoom:1;line-height:1}form.idealforms:before{content:"";display:table}form.idealforms:after{content:"";display:table;clear:both}form.idealforms *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form.idealforms .field{position:relative;float:left;clear:both;margin:.1em 0}form.idealforms label.main,form.idealforms .field>input,form.idealforms select,form.idealforms button,form.idealforms textarea,form.idealforms .field .group{float:left}form.idealforms label.main{width:120px;margin-top:.15em}form.idealforms input{margin:0;width:290px;padding:.15em;border:1px solid #999;outline:0;background:#fff;-webkit-border-radius:3.01px;border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}form.idealforms textarea{margin:0;padding:.15em;border:1px solid #999;outline:0;background:#fff;-webkit-border-radius:3.01px;border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}form.idealforms select{margin:0;width:290px;outline:0}form.idealforms .field .group{margin:0;width:290px;border:1px solid #999;outline:0;background:#fff;-webkit-border-radius:3.01px;border-radius:3.01px}form.idealforms input{-webkit-transition:background .3s ease-in-out;-moz-transition:background .3s ease-in-out;-o-transition:background .3s ease-in-out;-ms-transition:background .3s ease-in-out;transition:background .3s ease-in-out}form.idealforms textarea{width:435px}form.idealforms select{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;cursor:pointer}form.idealforms button{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;padding:.15em .5em;cursor:pointer}form.idealforms select:hover,form.idealforms button:hover{background:-webkit-linear-gradient(#fff,#eaeaea);background:-moz-linear-gradient(#fff,#eaeaea);background:-o-linear-gradient(#fff,#eaeaea);background:-ms-linear-gradient(#fff,#eaeaea);background:linear-gradient(#fff,#eaeaea)}form.idealforms select:active,form.idealforms button:active,form.idealforms select:active:focus,form.idealforms button:active:focus{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;background:#ddd}form.idealforms select:focus{outline:none;-webkit-box-shadow:0 0 1px #3f9dcc;box-shadow:0 0 1px #3f9dcc}form.idealforms button:focus{outline:none;border-color:#3f9dcc;-webkit-box-shadow:0 0 1px #3f9dcc;box-shadow:0 0 1px #3f9dcc}form.idealforms button{width:auto}form.idealforms select{padding:.15em}form.idealforms select:focus{border:1px solid #444}form.idealforms input[type="file"]{padding:0}form.idealforms .field .group{position:relative;padding:1.25em;-webkit-box-shadow:none;box-shadow:none}form.idealforms .field .group label{float:left;clear:both;padding:.15em 0}form.idealforms .field .group input,form.idealforms .field .group label{margin:0}form.idealforms .field .group input{width:auto;margin-right:.5em;-webkit-box-shadow:none;box-shadow:none}form.idealforms .field .group label{margin-right:1em}form.idealforms .field .group label:last-of-type{margin:0}form.idealforms .field.valid input{color:#18445a;background:#edf7fc;border-color:#3f9dcc}form.idealforms .field.valid select,form.idealforms .field.valid textarea,form.idealforms .field.valid .group{border-color:#3f9dcc}form.idealforms .field.invalid input{color:#430e08;background:#ffeded;border-color:#cc2a18}form.idealforms .field.invalid select,form.idealforms .field.invalid textarea,form.idealforms .field.invalid .group{border-color:#cc2a18}form.idealforms .field.valid .group,form.idealforms .field.invalid .group,form.idealforms .field.valid textarea,form.idealforms .field.invalid textarea{color:inherit;background:none}form.idealforms .field.valid select,form.idealforms .field.invalid select{color:inherit}form.idealforms .field.valid select,form.idealforms .field.invalid select{background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd)}form.idealforms .field .icon{position:absolute;width:16px;height:16px;top:50%;left:100%;margin-top:-8px;margin-left:8px;background:url("../images/sprites.png") no-repeat;cursor:pointer}form.idealforms .field.invalid .icon{background-position:-218px -21px;width:16px;height:16px}form.idealforms .field.valid .icon{background-position:-266px -19px;width:16px;height:16px;cursor:default}form.idealforms .field.invalid .group input,form.idealforms .field.valid .group input{border:0;outline:0;-webkit-box-shadow:none;box-shadow:none}form.idealforms .error{display:none;position:absolute;z-index:1;left:100%;top:50%;padding:1em .5em;width:193.33333333333334px;margin-left:40px;background:#faa;background:-webkit-linear-gradient(#ffaaaa,#ffcccc);background:-moz-linear-gradient(#ffaaaa,#ffcccc);background:-o-linear-gradient(#ffaaaa,#ffcccc);background:-ms-linear-gradient(#ffaaaa,#ffcccc);background:linear-gradient(#ffaaaa,#ffcccc);color:#333;font-size:70%;font-weight:bold;line-height:1;border:1px solid #faa;-webkit-border-radius:0 3.01px 3.01px 3.01px;border-radius:0 3.01px 3.01px 3.01px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.15);box-shadow:0 1px 1px rgba(0,0,0,0.15)}form.idealforms .error:after{content:"";position:absolute;z-index:-1;top:-1px;left:-.7em;border-width:.7em;border-style:solid;border-color:transparent;border-top-color:#faa}form.idealforms .tooltip{display:none;position:absolute;z-index:1;left:100%;top:50%;padding:1em .5em;width:253.33333333333334px;margin-left:40px;background:#aaa;background:-webkit-linear-gradient(#aaaaaa,#cccccc);background:-moz-linear-gradient(#aaaaaa,#cccccc);background:-o-linear-gradient(#aaaaaa,#cccccc);background:-ms-linear-gradient(#aaaaaa,#cccccc);background:linear-gradient(#aaaaaa,#cccccc);color:#333;font-size:70%;font-weight:bold;line-height:1;border:1px solid #aaa;-webkit-border-radius:0 3.01px 3.01px 3.01px;border-radius:0 3.01px 3.01px 3.01px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.15);box-shadow:0 1px 1px rgba(0,0,0,0.15)}form.idealforms .tooltip:after{content:"";position:absolute;z-index:-1;top:-1px;left:-.7em;border-width:.7em;border-style:solid;border-color:transparent;border-top-color:#aaa}form.idealforms .idealforms-field-checkbox .icon,form.idealforms .idealforms-field-radio .icon,form.idealforms .idealforms-field-textarea .icon{top:8px;margin-top:0}form.idealforms .idealforms-field-checkbox .error,form.idealforms .idealforms-field-radio .error,form.idealforms .idealforms-field-textarea .error{top:1.25em}.idealsteps-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.idealsteps-step{display:none;zoom:1}.idealsteps-step:before{content:"";display:table}.idealsteps-step:after{content:"";display:table;clear:both}form.idealforms .ideal-file-wrap{float:left}form.idealforms .ideal-file-filename{float:left;width:204px;height:100%;-webkit-border-radius:0;border-radius:0;-webkit-border-top-left-radius:3.01px;border-top-left-radius:3.01px;-webkit-border-bottom-left-radius:3.01px;border-bottom-left-radius:3.01px}form.idealforms .ideal-file-upload{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;padding:.15em .5em;cursor:pointer;overflow:visible;position:relative;float:right;left:-1px;width:87px;padding-left:0;padding-right:0;text-align:center;-webkit-border-radius:0;border-radius:0;-webkit-border-top-right-radius:3.01px;border-top-right-radius:3.01px;-webkit-border-bottom-right-radius:3.01px;border-bottom-right-radius:3.01px}form.idealforms .ideal-file-upload:hover{background:-webkit-linear-gradient(#fff,#eaeaea);background:-moz-linear-gradient(#fff,#eaeaea);background:-o-linear-gradient(#fff,#eaeaea);background:-ms-linear-gradient(#fff,#eaeaea);background:linear-gradient(#fff,#eaeaea)}form.idealforms .ideal-file-upload:active,form.idealforms .ideal-file-upload:active:focus{color:#444;background:#eee;background:-webkit-linear-gradient(#fff,#ddd);background:-moz-linear-gradient(#fff,#ddd);background:-o-linear-gradient(#fff,#ddd);background:-ms-linear-gradient(#fff,#ddd);background:linear-gradient(#fff,#ddd);border:1px solid #aaa;border-bottom-color:#919191;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;border-radius:3.01px;background:#ddd}form.idealforms .ideal-file-upload:focus{outline:none;border-color:#3f9dcc;-webkit-box-shadow:0 0 1px #3f9dcc;box-shadow:0 0 1px #3f9dcc}form.idealforms.adaptive .ideal-file-wrap{width:100%}form.idealforms.adaptive .ideal-file-filename{width:70%}form.idealforms.adaptive .ideal-file-upload{width:30%}.lcs_wrap{display:inline-block;direction:ltr;height:28px;vertical-align:middle}.lcs_wrap input{display:none}.lcs_switch{display:inline-block;position:relative;width:73px;height:28px;border-radius:30px;background:#ddd;overflow:hidden;cursor:pointer;-webkit-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.lcs_cursor{display:inline-block;position:absolute;top:3px;width:22px;height:22px;border-radius:100%;background:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,0.2),0 3px 4px 0 rgba(0,0,0,0.1);z-index:10;-webkit-transition:all .2s linear;-ms-transition:all .2s linear;transition:all .2s linear}.lcs_label{font-family:"Trebuchet MS",Helvetica,sans-serif;font-size:12px;letter-spacing:1px;line-height:18px;color:#fff;font-weight:bold;position:absolute;width:33px;top:5px;overflow:hidden;text-align:center;opacity:0;-webkit-transition:all .2s ease-in-out .1s;-ms-transition:all .2s ease-in-out .1s;transition:all .2s ease-in-out .1s}.lcs_label.lcs_label_on{left:-70px;z-index:6}.lcs_label.lcs_label_off{right:-70px;z-index:5}.lcs_switch.lcs_on{background:-webkit-linear-gradient(#439547,#4caf50);background:linear-gradient(#439547,#4caf50);text-shadow:0 0 8px rgba(0,0,0,0.5);border-radius:50px;box-shadow:inset 2px 2px 5px rgba(0,0,0,0.4)}.lcs_switch.lcs_on .lcs_cursor{left:48px}.lcs_switch.lcs_on .lcs_label_on{left:10px;opacity:1}.lcs_switch.lcs_off{background:#b2b2b2;box-shadow:0 0 2px #a4a4a4 inset;border-radius:50px}.lcs_switch.lcs_off .lcs_cursor{left:3px}.lcs_switch.lcs_off .lcs_label_off{right:10px;opacity:1}.lcs_switch.lcs_disabled{opacity:.65;filter:alpha(opacity=65);cursor:default}.selectize-control.plugin-drag_drop.multi>.selectize-input>div.ui-sortable-placeholder{visibility:visible!important;background:#f2f2f2!important;background:rgba(0,0,0,0.06)!important;border:1px solid #999;outline:0;border-radius:3.01px;box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after{content:'!';visibility:hidden}.selectize-control.plugin-drag_drop .ui-sortable-helper{-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.2);box-shadow:0 2px 5px rgba(0,0,0,0.2)}.selectize-dropdown-header{position:relative;padding:5px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.selectize-dropdown-header-close:hover{color:#000}.selectize-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0 none;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0 none}.selectize-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.selectize-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0 none}.selectize-control.plugin-remove_button [data-value]{position:relative;padding-right:24px!important}.selectize-control.plugin-remove_button [data-value] .remove{z-index:1;position:absolute;top:0;right:0;bottom:0;width:17px;text-align:center;font-weight:bold;font-size:12px;color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 0 0;border-left:1px solid #439646;-webkit-border-radius:0 2px 2px 0;-moz-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-control.plugin-remove_button [data-value] .remove:hover{background:rgba(0,0,0,0.05)}.selectize-control.plugin-remove_button [data-value].active .remove{border-left-color:#00578d}.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover{background:none}.selectize-control.plugin-remove_button .disabled [data-value] .remove{border-left-color:#aaa}.selectize-control.plugin-remove_button .remove-single{position:absolute;right:28px;top:6px;font-size:23px}.selectize-control{position:relative}.selectize-dropdown,.selectize-input,.selectize-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;-webkit-font-smoothing:inherit}.selectize-input,.selectize-control.single .selectize-input.input-active{background:#fff;cursor:text;display:inline-block}.selectize-input{border:1px solid #999;outline:0;border-radius:3.01px;box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);-webkit-border-radius:3.01px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);padding:4px;display:inline-block;width:300px;margin-top:2px;height:27px;overflow:hidden;position:relative;z-index:1}.selectize-control.multi .selectize-input.has-items{padding:5px 8px 2px}.selectize-input.full{background-color:#fff}.selectize-input.disabled,.selectize-input.disabled *{cursor:default!important}.selectize-input.focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.15)}.selectize-input.dropdown-active{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-input>*{vertical-align:baseline;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline}.selectize-control.multi .selectize-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#4caf50;color:#fff;border:1px solid #439646}.selectize-control.multi .selectize-input>div.active{background:#444;color:#fff;border:1px solid #3a823c}.selectize-control.multi .selectize-input.disabled>div,.selectize-control.multi .selectize-input.disabled>div.active{color:#fff;background:#d2d2d2;border:1px solid #aaa}.selectize-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0 1px!important;text-indent:0!important;border:0 none!important;background:none!important;line-height:inherit!important;-webkit-user-select:auto!important;-webkit-box-shadow:none!important;box-shadow:none!important}.selectize-input>input::-ms-clear{display:none}.selectize-input>input:focus{outline:none!important}.selectize-input::after{content:' ';display:block;clear:left}.selectize-input.dropdown-active::before{content:' ';display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.selectize-dropdown{position:absolute;z-index:10;border:1px solid #999;background:#fff;margin:-1px 0 0;border-top:0 none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1);-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.selectize-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.selectize-dropdown [data-selectable] .highlight{background:rgba(125,168,208,0.2);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.selectize-dropdown [data-selectable],.selectize-dropdown .optgroup-header{padding:5px 8px}.selectize-dropdown .optgroup:first-child .optgroup-header{border-top:0 none}.selectize-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.selectize-dropdown .active{background-color:#ccc;color:#495c68}.selectize-dropdown .active.create{color:#495c68}.selectize-dropdown .create{color:rgba(48,48,48,0.5)}.selectize-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;-webkit-overflow-scrolling:touch}.selectize-control.single .selectize-input,.selectize-control.single .selectize-input input{cursor:pointer}.selectize-control.single .selectize-input.input-active,.selectize-control.single .selectize-input.input-active input{cursor:text}.selectize-control.single .selectize-input:after{content:' ';display:block;position:absolute;top:50%;right:15px;margin-top:-3px;width:0;height:0;border-style:solid;border-width:5px 5px 0;border-color:#808080 transparent transparent}.selectize-control.single .selectize-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px;border-color:transparent transparent #808080}.selectize-control.rtl.single .selectize-input:after{left:15px;right:auto}.selectize-control.rtl .selectize-input>input{margin:0 4px 0 -2px!important}.selectize-control .selectize-input.disabled{opacity:.5;background-color:#fafafa}.selectize-control.multi .selectize-input.has-items{padding-left:5px;padding-right:5px}.selectize-control.multi .selectize-input.disabled [data-value]{color:#999;text-shadow:none;background:none;-webkit-box-shadow:none;box-shadow:none;border-color:#439646}.selectize-control.multi .selectize-input.disabled [data-value] .remove{border-color:#439646;background:none}.selectize-control.multi .selectize-input [data-value]{text-shadow:0 1px 0 rgba(0,51,83,0.3);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#439646;background-image:-moz-linear-gradient(top,#4caf50,#439646);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4caf50),to(#439646));background-image:-webkit-linear-gradient(top,#4caf50,#439646);background-image:-o-linear-gradient(top,#4caf50,#439646);background-image:linear-gradient(to bottom,#4caf50,#439646);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4caf50',endColorstr='#ff439646',GradientType=0);-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),inset 0 1px rgba(255,255,255,0.03);box-shadow:0 1px 0 rgba(0,0,0,0.2),inset 0 1px rgba(255,255,255,0.03)}.selectize-control.multi .selectize-input [data-value].active{background-color:#3a823c;background-image:-moz-linear-gradient(top,#439646,#3a823c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#439646),to(#3a823c));background-image:-webkit-linear-gradient(top,#439646,#3a823c);background-image:-o-linear-gradient(top,#439646,#3a823c);background-image:linear-gradient(to bottom,#439646,#3a823c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff439646',endColorstr='#ff3a823c',GradientType=0)}.selectize-control.single .selectize-input{-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(255,255,255,0.8);box-shadow:0 1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(255,255,255,0.8);background-color:#f9f9f9;background-image:-moz-linear-gradient(top,#fefefe,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fefefe),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fefefe,#f2f2f2);background-image:-o-linear-gradient(top,#fefefe,#f2f2f2);background-image:linear-gradient(to bottom,#fefefe,#f2f2f2);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe',endColorstr='#fff2f2f2',GradientType=0);border-color:#b8b8b8}.selectize-dropdown.single{border-color:#b8b8b8}.selectize-dropdown .optgroup-header{padding-top:7px;font-weight:bold;font-size:.85em}.selectize-dropdown .optgroup{border-top:1px solid #f0f0f0}.selectize-dropdown .optgroup:first-child{border-top:0 none}@-webkit-keyframes vex-fadein{0%{opacity:0}to{opacity:1}}@keyframes vex-fadein{0%{opacity:0}to{opacity:1}}@-webkit-keyframes vex-fadeout{0%{opacity:1}to{opacity:0}}@keyframes vex-fadeout{0%{opacity:1}to{opacity:0}}@-webkit-keyframes vex-rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes vex-rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.vex,.vex *,.vex *:before,.vex *:after{-moz-box-sizing:border-box;box-sizing:border-box}.vex{position:fixed;overflow:auto;-webkit-overflow-scrolling:touch;z-index:1111;top:0;right:0;bottom:0;left:0}.vex-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.vex-overlay{-webkit-animation:vex-fadein .5s;animation:vex-fadein .5s;position:fixed;z-index:1111;background:rgba(0,0,0,0.4);top:0;right:0;bottom:0;left:0}.vex-overlay.vex-closing{-webkit-animation:vex-fadeout .5s forwards;animation:vex-fadeout .5s forwards}.vex-content{-webkit-animation:vex-fadein .5s;animation:vex-fadein .5s;background:#fff}.vex.vex-closing .vex-content{-webkit-animation:vex-fadeout .5s forwards;animation:vex-fadeout .5s forwards}.vex-close:before{font-family:Arial,sans-serif;content:"\0000d7"}.vex-dialog-form{margin:0}.vex-dialog-button{text-rendering:optimizeLegibility;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.vex-loading-spinner{-webkit-animation:vex-rotation .7s linear infinite;animation:vex-rotation .7s linear infinite;box-shadow:0 0 1em rgba(0,0,0,0.1);position:fixed;z-index:1112;margin:auto;top:0;right:0;bottom:0;left:0;height:2em;width:2em;background:#fff}body.vex-open{overflow:hidden}.ch{display:table!important;clear:both}.ch-month,.ch-week-labels{font-size:0;display:inline-block;white-space:normal;margin:0 4px}.ch-week{display:inline-block;width:11px;box-sizing:content-box}.ch-day-labels{display:inline-block;box-sizing:content-box;width:inherit}.ch-month-label{text-align:center;font-size:12px;margin-top:10px;margin-bottom:10px}.ch-day-label{text-align:center;font-size:10px;display:block;margin:0;line-height:11px;box-sizing:content-box}.ch-day{display:inline-block;width:9px;height:9px;border:1px solid #f3f6f8;background-color:#f1f1f1;margin:0;box-sizing:content-box}.ch-day.is-outside-month,.ch-lvl.is-outside-month,.ch-day.is-outside-month:hover,.ch-lvl.is-outside-month:hover{background-color:transparent;border-color:transparent}.ch-day.lvl-0,.ch-lvl.lvl-0{background-color:#c8d7e1}.ch-day.is-after-today,.ch-lvl.is-after-today{background-color:#d9e3ea}.ch-day.lvl-1,.ch-lvl.lvl-1{background-color:#a6c96a}.ch-day.lvl-2,.ch-lvl.lvl-2{background-color:#5cb85c}.ch-day.lvl-3,.ch-lvl.lvl-3{background-color:#009e47}.ch-day.lvl-4,.ch-lvl.lvl-4{background-color:#00753a}.ch-day:hover,.ch-lvl:hover{border-color:#89a6ba}.ch-legend{padding-top:10px;text-align:right}.ch-legend-left{text-align:left!important}.ch-legend-center{text-align:center!important}.ch-legend:after{content:".";display:block;height:0;width:0;clear:both;visibility:hidden}.ch-lvls{display:inline-block;margin:0;list-style-type:none;padding:2px 9px 0 5px}.ch-lvl{width:10px;height:10px;float:left;margin-left:3px}.blue-1{background-color:#ffc!important}.earth-1{background-color:#f4ec15!important}.electric-1{background-color:#f9d824!important}.viridis-1{background-color:#dde218!important}.picknick-1{background-color:#dd2a91!important}.green-1{background-color:#d1be5a!important}.teal-1{background-color:#becfb6!important}.red-1{background-color:#deb7af!important}.blue-2{background-color:#41b6c4!important}.earth-2{background-color:#86bf76!important}.electric-2{background-color:#f38647!important}.viridis-2{background-color:#42bd70!important}.picknick-2{background-color:#b14dec!important}.green-2{background-color:#5f900b!important}.teal-2{background-color:#7db28f!important}.red-2{background-color:#cf8371!important}.blue-3{background-color:#0868ac!important}.earth-3{background-color:#117bd7!important}.electric-3{background-color:#8e0ca3!important}.viridis-3{background-color:#355c8c!important}.picknick-3{background-color:#2e8ebf!important}.green-3{background-color:#39811b!important}.teal-3{background-color:#107d79!important}.red-3{background-color:#b63b25!important}.blue-4{background-color:#253494!important}.earth-4{background-color:#363299!important}.electric-4{background-color:#2e0495!important}.viridis-4{background-color:#471164!important}.picknick-4{background-color:#139863!important}.green-4{background-color:#0d562c!important}.teal-4{background-color:#1c475d!important}.red-4{background-color:#90131c!important}.genmon-1{background-color:#090!important}.genmon-2{background-color:#f90!important}.genmon-3{background-color:#c00!important}.genmon-4{background-color:#333!important}.jqplot-xaxis,.jqplot-xaxis-label{margin-top:10px}.jqplot-x2axis,.jqplot-x2axis-label{margin-bottom:10px}.jqplot-target{position:relative;color:#666;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:1em}.jqplot-axis{font-size:.75em}.jqplot-yaxis{margin-right:10px}.jqplot-y2axis,.jqplot-y3axis,.jqplot-y4axis,.jqplot-y5axis,.jqplot-y6axis,.jqplot-y7axis,.jqplot-y8axis,.jqplot-y9axis,.jqplot-yMidAxis{margin-left:10px;margin-right:10px}.jqplot-axis-tick,.jqplot-x2axis-tick,.jqplot-xaxis-tick,.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{position:absolute;white-space:pre}.jqplot-yMidAxis-tick{position:absolute}.jqplot-yaxis-tick{position:absolute;white-space:pre}.jqplot-xaxis-tick{top:0;left:15px;vertical-align:top}.jqplot-x2axis-tick{bottom:0;left:15px;vertical-align:bottom}.jqplot-yaxis-tick{right:0;top:15px;text-align:right}.jqplot-yaxis-tick.jqplot-breakTick{right:-20px;margin-right:0;padding:1px 5px;z-index:2;font-size:1.5em}.jqplot-x2axis-label,.jqplot-xaxis-label,.jqplot-yMidAxis-label,.jqplot-yaxis-label{font-size:11pt;position:absolute}.jqplot-y2axis-tick,.jqplot-y3axis-tick,.jqplot-y4axis-tick,.jqplot-y5axis-tick,.jqplot-y6axis-tick,.jqplot-y7axis-tick,.jqplot-y8axis-tick,.jqplot-y9axis-tick{left:0;top:15px;text-align:left}.jqplot-yMidAxis-tick{text-align:center;white-space:nowrap}.jqplot-yaxis-label{margin-right:10px}.jqplot-y2axis-label,.jqplot-y3axis-label,.jqplot-y4axis-label,.jqplot-y5axis-label,.jqplot-y6axis-label,.jqplot-y7axis-label,.jqplot-y8axis-label,.jqplot-y9axis-label{font-size:11pt;margin-left:10px;position:absolute}.jqplot-meterGauge-tick{font-size:.75em;color:#999}.jqplot-meterGauge-label{font-size:1em;color:#999}table.jqplot-table-legend{margin:12px}table.jqplot-cursor-legend,table.jqplot-table-legend{background-color:rgba(255,255,255,.6);border:1px solid #ccc;position:absolute;font-size:.75em}td.jqplot-table-legend{vertical-align:middle}td.jqplot-seriesToggle:active,td.jqplot-seriesToggle:hover{cursor:pointer}.jqplot-table-legend .jqplot-series-hidden{text-decoration:line-through}div.jqplot-table-legend-swatch-outline{border:1px solid #ccc;padding:1px}div.jqplot-table-legend-swatch{width:0;height:0;border-width:5px 6px;border-style:solid}.jqplot-title{top:0;left:0;padding-bottom:.5em;font-size:1.2em}table.jqplot-cursor-tooltip{border:1px solid #ccc;font-size:.75em}.jqplot-canvasOverlay-tooltip,.jqplot-cursor-tooltip,.jqplot-highlighter-tooltip{border:1px solid #ccc;font-size:.75em;white-space:nowrap;background:rgba(208,208,208,.5);padding:1px}.jqplot-point-label{font-size:.75em;z-index:2}td.jqplot-cursor-legend-swatch{vertical-align:middle;text-align:center}div.jqplot-cursor-legend-swatch{width:1.2em;height:.7em}.jqplot-error{text-align:center}.jqplot-error-message{position:relative;top:46%;display:inline-block}div.jqplot-bubble-label{font-size:.8em;padding-left:2px;padding-right:2px;color:#333}div.jqplot-bubble-label.jqplot-bubble-label-highlight{background:rgba(90%,90%,90%,.7)}div.jqplot-noData-container{text-align:center;background-color:rgba(96%,96%,96%,.3)}.tooltipster-fall,.tooltipster-grow.tooltipster-show{-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-base{display:flex;pointer-events:none;position:absolute}.tooltipster-box{flex:1 1 auto}.tooltipster-content{box-sizing:border-box;max-height:100%;max-width:100%;overflow:auto;font-size:12px}.tooltipster-ruler{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;visibility:hidden}.tooltipster-fade{opacity:0;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;-ms-transition-property:opacity;transition-property:opacity}.tooltipster-fade.tooltipster-show{opacity:1}.tooltipster-grow{-webkit-transform:scale(0,0);-moz-transform:scale(0,0);-o-transform:scale(0,0);-ms-transform:scale(0,0);transform:scale(0,0);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-backface-visibility:hidden}.tooltipster-grow.tooltipster-show{-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1);-ms-transform:scale(1,1);transform:scale(1,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-swing{opacity:0;-webkit-transform:rotateZ(4deg);-moz-transform:rotateZ(4deg);-o-transform:rotateZ(4deg);-ms-transform:rotateZ(4deg);transform:rotateZ(4deg);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform}.tooltipster-swing.tooltipster-show{opacity:1;-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-o-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,1);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-moz-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-ms-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-o-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);transition-timing-function:cubic-bezier(.23,.635,.495,2.4)}.tooltipster-fall{-webkit-transition-property:top;-moz-transition-property:top;-o-transition-property:top;-ms-transition-property:top;transition-property:top;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-fall.tooltipster-initial{top:0!important}.tooltipster-fall.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;top:0!important;opacity:0}.tooltipster-slide{-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;-ms-transition-property:left;transition-property:left;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-slide.tooltipster-initial{left:-40px!important}.tooltipster-slide.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;left:0!important;opacity:0}@keyframes tooltipster-fading{0%{opacity:0}to{opacity:1}}.tooltipster-update-fade{animation:tooltipster-fading .4s}@keyframes tooltipster-rotating{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}to{transform:rotate(0)}}.tooltipster-update-rotate{animation:tooltipster-rotating .6s}@keyframes tooltipster-scaling{50%{transform:scale(1.1)}to{transform:scale(1)}}.tooltipster-update-scale{animation:tooltipster-scaling .6s}.tooltipster-sidetip .tooltipster-box{background:#565656;border:2px solid #000;border-radius:4px}.tooltipster-sidetip.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip .tooltipster-content{color:#fff;line-height:18px;padding:6px 14px}.tooltipster-sidetip .tooltipster-arrow{overflow:hidden;position:absolute}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{height:10px;margin-left:-10px;top:0;width:20px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow{height:20px;margin-top:-10px;right:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{height:20px;margin-top:-10px;left:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:0;height:10px;margin-left:-10px;width:20px}.tooltipster-sidetip .tooltipster-arrow-background,.tooltipster-sidetip .tooltipster-arrow-border{height:0;position:absolute;width:0}.tooltipster-sidetip .tooltipster-arrow-background{border:10px solid transparent}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#565656;left:0;top:3px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-left-color:#565656;left:-3px;top:0}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-right-color:#565656;left:3px;top:0}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-top-color:#565656;left:0;top:-3px}.tooltipster-sidetip .tooltipster-arrow-border{border:10px solid transparent;left:0;top:0}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#000}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{border-left-color:#000}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{border-right-color:#000}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{border-top-color:#000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped{top:-10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped{left:-10px}@-webkit-keyframes vex-flyin{0%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes vex-flyin{0%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes vex-flyout{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes vex-flyout{0%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes vex-pulse{0%{box-shadow:inset 0 0 0 300px transparent}70%{box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}to{box-shadow:inset 0 0 0 300px transparent}}@keyframes vex-pulse{0%{box-shadow:inset 0 0 0 300px transparent}70%{box-shadow:inset 0 0 0 300px rgba(255,255,255,0.25)}to{box-shadow:inset 0 0 0 300px transparent}}.vex.vex-theme-os{padding-top:160px;padding-bottom:160px}.vex.vex-theme-os.vex-closing .vex-content{-webkit-animation:vex-flyout .5s forwards;animation:vex-flyout .5s forwards}.vex.vex-theme-os .vex-content{-webkit-animation:vex-flyin .5s;animation:vex-flyin .5s;border-radius:5px;box-shadow:inset 0 1px #a6a6a6,0 0 0 1px rgba(0,0,0,0.08);font-family:"Helvetica Neue",sans-serif;border-top:20px solid #bbb;background:#f0f0f0;color:#444;padding:1em;position:relative;margin:0 auto;max-width:100%;width:450px;font-size:1.1em;line-height:1.5em}.vex.vex-theme-os .vex-content h1,.vex.vex-theme-os .vex-content h2,.vex.vex-theme-os .vex-content h3,.vex.vex-theme-os .vex-content h4,.vex.vex-theme-os .vex-content h5,.vex.vex-theme-os .vex-content h6,.vex.vex-theme-os .vex-content p,.vex.vex-theme-os .vex-content ul,.vex.vex-theme-os .vex-content li{color:inherit}.vex.vex-theme-os .vex-close{border-radius:0 5px 0 0;position:absolute;top:0;right:0;cursor:pointer}.vex.vex-theme-os .vex-close:before{border-radius:3px;position:absolute;content:"\0000d7";font-size:26px;font-weight:normal;line-height:31px;height:30px;width:30px;text-align:center;top:3px;right:3px;color:#bbb;background:transparent}.vex.vex-theme-os .vex-close:hover:before,.vex.vex-theme-os .vex-close:active:before{color:#777;background:#e0e0e0}.vex.vex-theme-os .vex-dialog-form .vex-dialog-message{margin-bottom:.5em}.vex.vex-theme-os .vex-dialog-form .vex-dialog-input{margin-bottom:1em}.vex.vex-theme-os .vex-dialog-form .vex-dialog-input select,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input textarea,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="date"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime-local"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="email"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="month"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="number"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="password"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="search"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="tel"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="text"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="time"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="url"],.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="week"]{border-radius:3px;background:#fff;width:100%;padding:.25em .67em;border:0;font-family:inherit;font-weight:inherit;font-size:inherit;min-height:2.5em;margin:0 0 .25em}.vex.vex-theme-os .vex-dialog-form .vex-dialog-input select:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input textarea:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="date"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="email"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="month"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="number"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="password"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="search"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="text"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="time"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="url"]:focus,.vex.vex-theme-os .vex-dialog-form .vex-dialog-input input[type="week"]:focus{box-shadow:inset 0 0 0 1px #3288e6;outline:none}.vex.vex-theme-os .vex-dialog-form .vex-dialog-buttons{*zoom:1}.vex.vex-theme-os .vex-dialog-form .vex-dialog-buttons:after{content:"";display:table;clear:both}.vex.vex-theme-os .vex-dialog-button{border-radius:3px;border:0;float:right;margin:0 0 0 .5em;font-family:Arial;font-size:16px;line-height:1em;padding:.75em}.vex.vex-theme-os .vex-dialog-button.vex-last{margin-left:0}.vex.vex-theme-os .vex-dialog-button.vex-dialog-button-primary{background:#4caf50;color:#fff}.vex.vex-theme-os .vex-dialog-button.vex-dialog-button-secondary{background:#bbb;color:#444}.vex-loading-spinner.vex-theme-os{box-shadow:0 0 0 1px rgba(0,0,0,0.2),0 0 .5em rgba(0,0,0,0.2);border-radius:100%;background:rgba(255,255,255,0.2);width:0;height:0;border:1.2em solid #bbb;border-top-color:#f0f0f0;border-bottom-color:#f0f0f0} \ No newline at end of file diff --git a/static/libraries.min.js b/static/libraries.min.js old mode 100755 new mode 100644 index eb7d1cb0..9e448ad9 --- a/static/libraries.min.js +++ b/static/libraries.min.js @@ -1,273 +1,273 @@ /* jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ -var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,k,r){b instanceof String&&(b=String(b));for(var n=b.length,l=0;lr&&(r=Math.max(0,k+r));if(null==n||n>k)n=k;n=Number(n);0>n&&(n=Math.max(0,k+n));for(r=Number(r||0);r=(1-f)*(1-(f=E()/w||.5))&&(q=0),A/=f;A*=2;t.style(a,b,A+v);c=c||[]}return c&&(A=+A||+w||0,e=c[1]?A+(c[1]+1)*c[2]:+c[2],d&&(d.unit=v,d.start=A,d.end=e)),e}function v(a,b){for(var c,d,e=[],f=0,q=a.length;fq;q+=2)"margin"===c&&(w+=t.css(a, -c+Pa[q],!0,e)),d?("content"===c&&(w-=t.css(a,"padding"+Pa[q],!0,e)),"margin"!==c&&(w-=t.css(a,"border"+Pa[q]+"Width",!0,e))):(w+=t.css(a,"padding"+Pa[q],!0,e),"padding"!==c?w+=t.css(a,"border"+Pa[q]+"Width",!0,e):E+=t.css(a,"border"+Pa[q]+"Width",!0,e));return!d&&0<=f&&(w+=Math.max(0,Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-f-w-E-.5))),w}function la(a,b,c){var d=rb(a),e=I(a,b,d),f="border-box"===t.css(a,"boxSizing",!1,d),q=f;if(Xa.test(e)){if(!c)return e;e="auto"}return q=q&&(X.boxSizingReliable()|| -e===a.style[b]),("auto"===e||!parseFloat(e)&&"inline"===t.css(a,"display",!1,d))&&(e=a["offset"+b[0].toUpperCase()+b.slice(1)],q=!0),(e=parseFloat(e)||0)+da(a,b,c||(f?"border":"content"),q,d,e)+"px"}function fa(a,b,c,d,e){return new fa.prototype.init(a,b,c,d,e)}function ma(){ib&&(!1===L.hidden&&b.requestAnimationFrame?b.requestAnimationFrame(ma):b.setTimeout(ma,t.fx.interval),t.fx.tick())}function F(){return b.setTimeout(function(){Ta=void 0}),Ta=Date.now()}function ya(a,b){var c,d=0,e={height:a}; -for(b=b?1:0;4>d;d+=2-b)e["margin"+(c=Pa[d])]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function wa(a,b,c){for(var d,e=(T.tweeners[b]||[]).concat(T.tweeners["*"]),f=0,q=e.length;fc&&f?b:(f||q.notifyWith(a,[w,1,0]),q.resolveWith(a,[w]),!1)},w=q.promise({elem:a,props:t.extend({},b),opts:t.extend(!0,{specialEasing:{},easing:t.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ta||F(),duration:c.duration,tweens:[],createTween:function(b, -c){b=t.Tween(a,w.opts,b,c,w.opts.specialEasing[b]||w.opts.easing);return w.tweens.push(b),b},stop:function(b){var c=0,e=b?w.tweens.length:0;if(d)return this;for(d=!0;ca?this[a+this.length]:this[a]},pushStack:function(a){a=t.merge(this.constructor(),a);return a.prevObject=this,a},each:function(a){return t.each(this,a)},map:function(a){return this.pushStack(t.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(qa.apply(this,arguments))},first:function(){return this.eq(0)}, -last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&aH.cacheLength&& -delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[M]=!0,a}function e(a){var b=y.createElement("fieldset");try{return!!a(b)}catch(Rc){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function f(a,b){a=a.split("|");for(var c=a.length;c--;)H.attrHandle[a[c]]=b}function q(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function w(a){return function(b){return"input"=== -b.nodeName.toLowerCase()&&b.type===a}}function E(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function v(a){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&Qa(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function A(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),q=f.length;q--;)c[e= -f[q]]&&(c[e]=!(d[e]=c[e]))})})}function u(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}function g(){}function C(a){for(var b=0,c=a.length,d="";bt&&(t=Math.max(0,k+t));if(null==r||r>k)r=k;r=Number(r);0>r&&(r=Math.max(0,k+r));for(t=Number(t||0);t=(1-f)*(1-(f=E()/x||.5))&&(q=0),A/=f;A*=2;u.style(a,b,A+w);c=c||[]}return c&&(A=+A||+x||0,e=c[1]?A+(c[1]+1)*c[2]:+c[2],d&&(d.unit=w,d.start=A,d.end=e)),e}function w(a,b){for(var c,d,e=[],f=0,q=a.length;fq;q+=2)"margin"===c&&(x+=u.css(a, +c+Pa[q],!0,e)),d?("content"===c&&(x-=u.css(a,"padding"+Pa[q],!0,e)),"margin"!==c&&(x-=u.css(a,"border"+Pa[q]+"Width",!0,e))):(x+=u.css(a,"padding"+Pa[q],!0,e),"padding"!==c?x+=u.css(a,"border"+Pa[q]+"Width",!0,e):E+=u.css(a,"border"+Pa[q]+"Width",!0,e));return!d&&0<=f&&(x+=Math.max(0,Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-f-x-E-.5))),x}function la(a,b,c){var d=rb(a),e=I(a,b,d),f="border-box"===u.css(a,"boxSizing",!1,d),q=f;if(Xa.test(e)){if(!c)return e;e="auto"}return q=q&&(X.boxSizingReliable()|| +e===a.style[b]),("auto"===e||!parseFloat(e)&&"inline"===u.css(a,"display",!1,d))&&(e=a["offset"+b[0].toUpperCase()+b.slice(1)],q=!0),(e=parseFloat(e)||0)+da(a,b,c||(f?"border":"content"),q,d,e)+"px"}function fa(a,b,c,d,e){return new fa.prototype.init(a,b,c,d,e)}function ma(){ib&&(!1===L.hidden&&b.requestAnimationFrame?b.requestAnimationFrame(ma):b.setTimeout(ma,u.fx.interval),u.fx.tick())}function F(){return b.setTimeout(function(){Ta=void 0}),Ta=Date.now()}function ya(a,b){var c,d=0,e={height:a}; +for(b=b?1:0;4>d;d+=2-b)e["margin"+(c=Pa[d])]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function wa(a,b,c){for(var d,e=(T.tweeners[b]||[]).concat(T.tweeners["*"]),f=0,q=e.length;fc&&f?b:(f||q.notifyWith(a,[x,1,0]),q.resolveWith(a,[x]),!1)},x=q.promise({elem:a,props:u.extend({},b),opts:u.extend(!0,{specialEasing:{},easing:u.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ta||F(),duration:c.duration,tweens:[],createTween:function(b, +c){b=u.Tween(a,x.opts,b,c,x.opts.specialEasing[b]||x.opts.easing);return x.tweens.push(b),b},stop:function(b){var c=0,e=b?x.tweens.length:0;if(d)return this;for(d=!0;ca?this[a+this.length]:this[a]},pushStack:function(a){a=u.merge(this.constructor(),a);return a.prevObject=this,a},each:function(a){return u.each(this,a)},map:function(a){return this.pushStack(u.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(qa.apply(this,arguments))},first:function(){return this.eq(0)}, +last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&aG.cacheLength&& +delete a[b.shift()],a[c+" "]=d}var b=[];return a}function d(a){return a[M]=!0,a}function e(a){var b=z.createElement("fieldset");try{return!!a(b)}catch(Rc){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function f(a,b){a=a.split("|");for(var c=a.length;c--;)G.attrHandle[a[c]]=b}function q(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function x(a){return function(b){return"input"=== +b.nodeName.toLowerCase()&&b.type===a}}function E(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function w(a){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&Qa(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function A(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),q=f.length;q--;)c[e= +f[q]]&&(c[e]=!(d[e]=c[e]))})})}function v(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}function g(){}function D(a){for(var b=0,c=a.length,d="";b+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Q=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,ca=/:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,F=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,R={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/, CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\x00-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},da=/^(?:input|select|textarea|button)$/i,ja=/^h\d$/i,Ga= /^[^{]+\{\s*\[native \w/,Sa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,kb=/[+~]/,X=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,la=function(a,b,c){a="0x"+b-65536;return a!==a||c?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320)},fa=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,jb=function(a,b){return b?"\x00"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},Na=function(){ma()},Qa=h(function(a){return!0===a.disabled&&("form"in -a||"label"in a)},{dir:"parentNode",next:"legend"});try{xa.apply(U=K.call(B.childNodes),B.childNodes),U[B.childNodes.length].nodeType}catch(Qc){xa={apply:U.length?function(a,b){Aa.apply(a,K.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}var T=b.support={};var ya=b.isXML=function(a){a=a&&(a.ownerDocument||a).documentElement;return!!a&&"HTML"!==a.nodeName};var ma=b.setDocument=function(a){var b,c;a=a?a.ownerDocument||a:B;return a!==y&&9===a.nodeType&&a.documentElement? -(y=a,r=y.documentElement,Z=!ya(y),B!==y&&(c=y.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener("unload",Na,!1):c.attachEvent&&c.attachEvent("onunload",Na)),T.attributes=e(function(a){return a.className="i",!a.getAttribute("className")}),T.getElementsByTagName=e(function(a){return a.appendChild(y.createComment("")),!a.getElementsByTagName("*").length}),T.getElementsByClassName=Ga.test(y.getElementsByClassName),T.getById=e(function(a){return r.appendChild(a).id=M,!y.getElementsByName|| -!y.getElementsByName(M).length}),T.getById?(H.filter.ID=function(a){var b=a.replace(X,la);return function(a){return a.getAttribute("id")===b}},H.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&Z)return(a=b.getElementById(a))?[a]:[]}):(H.filter.ID=function(a){var b=a.replace(X,la);return function(a){return(a="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}},H.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&Z){var c,d=b.getElementById(a); -if(d){if((c=d.getAttributeNode("id"))&&c.value===a)return[d];var e=b.getElementsByName(a);for(b=0;d=e[b++];)if((c=d.getAttributeNode("id"))&&c.value===a)return[d]}return[]}}),H.find.TAG=T.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):T.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c=[],d=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[d++];)1===a.nodeType&&c.push(a);return c}return b},H.find.CLASS=T.getElementsByClassName&&function(a, -b){if("undefined"!=typeof b.getElementsByClassName&&Z)return b.getElementsByClassName(a)},x=[],N=[],(T.qsa=Ga.test(y.querySelectorAll))&&(e(function(a){r.appendChild(a).innerHTML="";a.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||N.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"); -a.querySelectorAll("[id~="+M+"-]").length||N.push("~=");a.querySelectorAll(":checked").length||N.push(":checked");a.querySelectorAll("a#"+M+"+*").length||N.push(".#.+[+~]")}),e(function(a){a.innerHTML="";var b=y.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&N.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");2!==a.querySelectorAll(":enabled").length&& -N.push(":enabled",":disabled");r.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled");a.querySelectorAll("*,:x");N.push(",.*:")})),(T.matchesSelector=Ga.test(ha=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&e(function(a){T.disconnectedMatch=ha.call(a,"*");ha.call(a,"[s!='']:x");x.push("!=",":((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}), -N=N.length&&new RegExp(N.join("|")),x=x.length&&new RegExp(x.join("|")),b=Ga.test(r.compareDocumentPosition),Y=b||Ga.test(r.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!(!b||1!==b.nodeType||!(c.contains?c.contains(b):a.compareDocumentPosition&&16&a.compareDocumentPosition(b)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},Zb=b?function(a,b){if(a===b)return n=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition; -return c||(1&(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1)||!T.sortDetached&&b.compareDocumentPosition(a)===c?a===y||a.ownerDocument===B&&Y(B,a)?-1:b===y||b.ownerDocument===B&&Y(B,b)?1:z?Ca(z,a)-Ca(z,b):0:4&c?-1:1)}:function(a,b){if(a===b)return n=!0,0;var c=0,d=a.parentNode,e=b.parentNode,f=[a],w=[b];if(!d||!e)return a===y?-1:b===y?1:d?-1:e?1:z?Ca(z,a)-Ca(z,b):0;if(d===e)return q(a,b);for(;a=a.parentNode;)f.unshift(a);for(a=b;a=a.parentNode;)w.unshift(a);for(;f[c]=== -w[c];)c++;return c?q(f[c],w[c]):f[c]===B?-1:w[c]===B?1:0},y):y};b.matches=function(a,c){return b(a,null,null,c)};b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==y&&ma(a),c=c.replace(Q,"='$1']"),!(!T.matchesSelector||!Z||na[c+" "]||x&&x.test(c)||N&&N.test(c)))try{var d=ha.call(a,c);if(d||T.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(Sc){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]= +a||"label"in a)},{dir:"parentNode",next:"legend"});try{xa.apply(U=K.call(B.childNodes),B.childNodes),U[B.childNodes.length].nodeType}catch(Qc){xa={apply:U.length?function(a,b){Aa.apply(a,K.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}var T=b.support={};var ya=b.isXML=function(a){a=a&&(a.ownerDocument||a).documentElement;return!!a&&"HTML"!==a.nodeName};var ma=b.setDocument=function(a){var b,c;a=a?a.ownerDocument||a:B;return a!==z&&9===a.nodeType&&a.documentElement? +(z=a,t=z.documentElement,Z=!ya(z),B!==z&&(c=z.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener("unload",Na,!1):c.attachEvent&&c.attachEvent("onunload",Na)),T.attributes=e(function(a){return a.className="i",!a.getAttribute("className")}),T.getElementsByTagName=e(function(a){return a.appendChild(z.createComment("")),!a.getElementsByTagName("*").length}),T.getElementsByClassName=Ga.test(z.getElementsByClassName),T.getById=e(function(a){return t.appendChild(a).id=M,!z.getElementsByName|| +!z.getElementsByName(M).length}),T.getById?(G.filter.ID=function(a){var b=a.replace(X,la);return function(a){return a.getAttribute("id")===b}},G.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&Z)return(a=b.getElementById(a))?[a]:[]}):(G.filter.ID=function(a){var b=a.replace(X,la);return function(a){return(a="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}},G.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&Z){var c,d=b.getElementById(a); +if(d){if((c=d.getAttributeNode("id"))&&c.value===a)return[d];var e=b.getElementsByName(a);for(b=0;d=e[b++];)if((c=d.getAttributeNode("id"))&&c.value===a)return[d]}return[]}}),G.find.TAG=T.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):T.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c=[],d=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[d++];)1===a.nodeType&&c.push(a);return c}return b},G.find.CLASS=T.getElementsByClassName&&function(a, +b){if("undefined"!=typeof b.getElementsByClassName&&Z)return b.getElementsByClassName(a)},y=[],N=[],(T.qsa=Ga.test(z.querySelectorAll))&&(e(function(a){t.appendChild(a).innerHTML="";a.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||N.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"); +a.querySelectorAll("[id~="+M+"-]").length||N.push("~=");a.querySelectorAll(":checked").length||N.push(":checked");a.querySelectorAll("a#"+M+"+*").length||N.push(".#.+[+~]")}),e(function(a){a.innerHTML="";var b=z.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&N.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");2!==a.querySelectorAll(":enabled").length&& +N.push(":enabled",":disabled");t.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled");a.querySelectorAll("*,:x");N.push(",.*:")})),(T.matchesSelector=Ga.test(ha=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&e(function(a){T.disconnectedMatch=ha.call(a,"*");ha.call(a,"[s!='']:x");y.push("!=",":((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}), +N=N.length&&new RegExp(N.join("|")),y=y.length&&new RegExp(y.join("|")),b=Ga.test(t.compareDocumentPosition),Y=b||Ga.test(t.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!(!b||1!==b.nodeType||!(c.contains?c.contains(b):a.compareDocumentPosition&&16&a.compareDocumentPosition(b)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},Zb=b?function(a,b){if(a===b)return r=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition; +return c||(1&(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1)||!T.sortDetached&&b.compareDocumentPosition(a)===c?a===z||a.ownerDocument===B&&Y(B,a)?-1:b===z||b.ownerDocument===B&&Y(B,b)?1:p?Ca(p,a)-Ca(p,b):0:4&c?-1:1)}:function(a,b){if(a===b)return r=!0,0;var c=0,d=a.parentNode,e=b.parentNode,f=[a],x=[b];if(!d||!e)return a===z?-1:b===z?1:d?-1:e?1:p?Ca(p,a)-Ca(p,b):0;if(d===e)return q(a,b);for(;a=a.parentNode;)f.unshift(a);for(a=b;a=a.parentNode;)x.unshift(a);for(;f[c]=== +x[c];)c++;return c?q(f[c],x[c]):f[c]===B?-1:x[c]===B?1:0},z):z};b.matches=function(a,c){return b(a,null,null,c)};b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==z&&ma(a),c=c.replace(Q,"='$1']"),!(!T.matchesSelector||!Z||na[c+" "]||y&&y.test(c)||N&&N.test(c)))try{var d=ha.call(a,c);if(d||T.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(Sc){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]= a[1].replace(X,la),a[3]=(a[3]||a[4]||a[5]||"").replace(X,la),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return R.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&ca.test(c)&&(b=V(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0, b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(X,la).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=Oa[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"),Oa(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,c,d){return function(e){e=b.attr(e, -a);return null==e?"!="===c:!c||(e+="","="===c?e===d:"!="===c?e!==d:"^="===c?d&&0===e.indexOf(d):"*="===c?d&&-1a.nodeType)return!1;return!0},parent:function(a){return!H.pseudos.empty(a)},header:function(a){return ja.test(a.nodeName)},input:function(a){return da.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b}, +a),a=a.replace(X,la).toLowerCase(),function(b){var c;do if(c=Z?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(c=c.toLowerCase())===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===t},focus:function(a){return a===z.activeElement&&(!z.hasFocus||z.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:w(!1),disabled:w(!0),checked:function(a){var b= +a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!G.pseudos.empty(a)},header:function(a){return ja.test(a.nodeName)},input:function(a){return da.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b}, text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:A(function(){return[0]}),last:A(function(a,b){return[b-1]}),eq:A(function(a,b,c){return[0>c?c+b:c]}),even:A(function(a,b){for(var c=0;cc?c+b:c;0<=--b;)a.push(b);return a}),gt:A(function(a,b,c){for(c=0>c?c+b:c;++c:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;t.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?t.find.matchesSelector(d,a)?[d]:[]:t.find.matches(a,t.grep(b, -function(a){return 1===a.nodeType}))};t.fn.extend({find:function(a){var b,c=this.length,d=this;if("string"!=typeof a)return this.pushStack(t(a).filter(function(){for(b=0;b)[^>]*|#([\w-]+))$/;(t.fn.init=function(a,b,c){var d,e;if(!a)return this;if(c=c||$b,"string"==typeof a){if(!(d="<"===a[0]&&">"===a[a.length-1]&&3<=a.length?[null,a,null]:Pb.exec(a))||!d[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(d[1]){if(b=b instanceof t?b[0]:b,t.merge(this,t.parseHTML(d[1],b&&b.nodeType?b.ownerDocument||b:L,!0)),zb.test(d[1])&&t.isPlainObject(b))for(d in b)S(this[d])?this[d](b[d]):this.attr(d,b[d]);return this}return(e=L.getElementById(d[2]))&& -(this[0]=e,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):S(a)?void 0!==c.ready?c.ready(a):a(t):t.makeArray(a,this)}).prototype=t.fn;var $b=t(L);var Ka=/^(?:parents|prev(?:Until|All))/,cb={children:!0,contents:!0,next:!0,prev:!0};t.fn.extend({has:function(a){var b=t(a,this),c=b.length;return this.filter(function(){for(var a=0;ac.nodeType&&(q?-1=q&&(d!==g&&(w=void 0,v=[ea]),c.rejectWith(w,v))}};a?E():(t.Deferred.getStackHook&&(E.stackTrace=t.Deferred.getStackHook()),b.setTimeout(E))}}var q=0;return t.Deferred(function(b){c[0][3].add(f(0,b,S(e)?e:m,b.notifyWith));c[1][3].add(f(0,b,S(a)?a:m));c[2][3].add(f(0,b,S(d)?d:g))}).promise()},promise:function(a){return null!= -a?t.extend(a,e):e}},f={};return t.each(c,function(a,b){var q=b[2],w=b[5];e[b[1]]=q.add;w&&q.add(function(){d=w},c[3-a][2].disable,c[3-a][3].disable,c[0][2].lock,c[0][3].lock);q.add(b[3].fire);f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this};f[b[0]+"With"]=q.fireWith}),e.promise(f),a&&a.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=qa.call(arguments),f=t.Deferred(),q=function(a){return function(c){d[a]=this;e[a]=1=b&&(z(a,f.done(q(c)).resolve,f.reject,!b),"pending"===f.state()||S(e[c]&&e[c].then)))return f.then();for(;c--;)z(e[c],q(c),f.reject);return f.promise()}});var ac=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;t.Deferred.exceptionHook=function(a,c){b.console&&b.console.warn&&a&&ac.test(a.name)&&b.console.warn("jQuery.Deferred exception: "+a.message,a.stack,c)};t.readyException=function(a){b.setTimeout(function(){throw a;})};var Ab=t.Deferred();t.fn.ready= -function(a){return Ab.then(a)["catch"](function(a){t.readyException(a)}),this};t.extend({isReady:!1,readyWait:1,ready:function(a){(!0===a?--t.readyWait:t.isReady)||(t.isReady=!0,!0!==a&&0<--t.readyWait||Ab.resolveWith(L,[t]))}});t.ready.then=Ab.then;"complete"===L.readyState||"loading"!==L.readyState&&!L.documentElement.doScroll?b.setTimeout(t.ready):(L.addEventListener("DOMContentLoaded",B),b.addEventListener("load",B));var La=function(a,b,c,d,e,f,q){var w=0,v=a.length,A=null==c;if("object"===n(c))for(w in e= -!0,c)La(a,b,w,c[w],!0,f,q);else if(void 0!==d&&(e=!0,S(d)||(q=!0),A&&(q?(b.call(a,d),b=null):(A=b,b=function(a,b,c){return A.call(t(a),c)})),b))for(;w:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;u.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?u.find.matchesSelector(d,a)?[d]:[]:u.find.matches(a,u.grep(b, +function(a){return 1===a.nodeType}))};u.fn.extend({find:function(a){var b,c=this.length,d=this;if("string"!=typeof a)return this.pushStack(u(a).filter(function(){for(b=0;b)[^>]*|#([\w-]+))$/;(u.fn.init=function(a,b,c){var d,e;if(!a)return this;if(c=c||$b,"string"==typeof a){if(!(d="<"===a[0]&&">"===a[a.length-1]&&3<=a.length?[null,a,null]:Pb.exec(a))||!d[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(d[1]){if(b=b instanceof u?b[0]:b,u.merge(this,u.parseHTML(d[1],b&&b.nodeType?b.ownerDocument||b:L,!0)),zb.test(d[1])&&u.isPlainObject(b))for(d in b)S(this[d])?this[d](b[d]):this.attr(d,b[d]);return this}return(e=L.getElementById(d[2]))&& +(this[0]=e,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):S(a)?void 0!==c.ready?c.ready(a):a(u):u.makeArray(a,this)}).prototype=u.fn;var $b=u(L);var Ka=/^(?:parents|prev(?:Until|All))/,cb={children:!0,contents:!0,next:!0,prev:!0};u.fn.extend({has:function(a){var b=u(a,this),c=b.length;return this.filter(function(){for(var a=0;ac.nodeType&&(q?-1=q&&(d!==g&&(x=void 0,w=[ea]),c.rejectWith(x,w))}};a?E():(u.Deferred.getStackHook&&(E.stackTrace=u.Deferred.getStackHook()),b.setTimeout(E))}}var q=0;return u.Deferred(function(b){c[0][3].add(f(0,b,S(e)?e:l,b.notifyWith));c[1][3].add(f(0,b,S(a)?a:l));c[2][3].add(f(0,b,S(d)?d:g))}).promise()},promise:function(a){return null!= +a?u.extend(a,e):e}},f={};return u.each(c,function(a,b){var q=b[2],x=b[5];e[b[1]]=q.add;x&&q.add(function(){d=x},c[3-a][2].disable,c[3-a][3].disable,c[0][2].lock,c[0][3].lock);q.add(b[3].fire);f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this};f[b[0]+"With"]=q.fireWith}),e.promise(f),a&&a.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=qa.call(arguments),f=u.Deferred(),q=function(a){return function(c){d[a]=this;e[a]=1=b&&(p(a,f.done(q(c)).resolve,f.reject,!b),"pending"===f.state()||S(e[c]&&e[c].then)))return f.then();for(;c--;)p(e[c],q(c),f.reject);return f.promise()}});var ac=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;u.Deferred.exceptionHook=function(a,c){b.console&&b.console.warn&&a&&ac.test(a.name)&&b.console.warn("jQuery.Deferred exception: "+a.message,a.stack,c)};u.readyException=function(a){b.setTimeout(function(){throw a;})};var Ab=u.Deferred();u.fn.ready= +function(a){return Ab.then(a)["catch"](function(a){u.readyException(a)}),this};u.extend({isReady:!1,readyWait:1,ready:function(a){(!0===a?--u.readyWait:u.isReady)||(u.isReady=!0,!0!==a&&0<--u.readyWait||Ab.resolveWith(L,[u]))}});u.ready.then=Ab.then;"complete"===L.readyState||"loading"!==L.readyState&&!L.documentElement.doScroll?b.setTimeout(u.ready):(L.addEventListener("DOMContentLoaded",B),b.addEventListener("load",B));var La=function(a,b,c,d,e,f,q){var x=0,w=a.length,A=null==c;if("object"===r(c))for(x in e= +!0,c)La(a,b,x,c[x],!0,f,q);else if(void 0!==d&&(e=!0,S(d)||(q=!0),A&&(q?(b.call(a,d),b=null):(A=b,b=function(a,b,c){return A.call(u(a),c)})),b))for(;x\x20\t\r\n\f]+)/i,Ib=/^$|^module$|\/(?:java|ecma)script/i,Ea={option:[1, +b||u.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){a=a[this.expando];return void 0!==a&&!u.isEmptyObject(a)}};var P=new d,za=new d,Xb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,vb=/[A-Z]/g;u.extend({hasData:function(a){return za.hasData(a)||P.hasData(a)},data:function(a,b,c){return za.access(a,b,c)},removeData:function(a,b){za.remove(a,b)},_data:function(a,b,c){return P.access(a,b,c)},_removeData:function(a,b){P.remove(a,b)}});u.fn.extend({data:function(a, +b){var d,f,q,x=this[0],w=x&&x.attributes;if(void 0===a){if(this.length&&(q=za.get(x),1===x.nodeType&&!P.get(x,"hasDataAttrs"))){for(d=w.length;d--;)w[d]&&0===(f=w[d].name).indexOf("data-")&&(f=c(f.slice(5)),e(x,f,q[f]));P.set(x,"hasDataAttrs",!0)}return q}return"object"==typeof a?this.each(function(){za.set(this,a)}):La(this,function(b){var c;if(x&&void 0===b){if(void 0!==(c=za.get(x,a))||void 0!==(c=e(x,a)))return c}else this.each(function(){za.set(this,a,b)})},null,b,1\x20\t\r\n\f]+)/i,Ib=/^$|^module$|\/(?:java|ecma)script/i,Ea={option:[1, ""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Ea.optgroup=Ea.option;Ea.tbody=Ea.tfoot=Ea.colgroup=Ea.caption=Ea.thead;Ea.th=Ea.td;var Hb=/<|&#?\w+;/;!function(){var a=L.createDocumentFragment().appendChild(L.createElement("div")),b=L.createElement("input");b.setAttribute("type","radio");b.setAttribute("checked", -"checked");b.setAttribute("name","t");a.appendChild(b);X.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";X.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue}();var mb=L.documentElement,bc=/^key/,mc=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nb=/^([^.]*)(?:\.(.+)|)/;t.event={global:{},add:function(a,b,c,d,e){var f,q,w,v,A,u,g,E,C;if(A=P.get(a))for(c.handler&&(c=(f=c).handler,e=f.selector),e&&t.find.matchesSelector(mb,e),c.guid||(c.guid=t.guid++), -(v=A.events)||(v=A.events={}),(q=A.handle)||(q=A.handle=function(b){return"undefined"!=typeof t&&t.event.triggered!==b.type?t.event.dispatch.apply(a,arguments):void 0}),A=(b=(b||"").match(Ia)||[""]).length;A--;){var h=C=(w=nb.exec(b[A])||[])[1];w=(w[2]||"").split(".").sort();h&&(g=t.event.special[h]||{},h=(e?g.delegateType:g.bindType)||h,g=t.event.special[h]||{},u=t.extend({type:h,origType:C,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&t.expr.match.needsContext.test(e),namespace:w.join(".")}, -f),(E=v[h])||((E=v[h]=[]).delegateCount=0,g.setup&&!1!==g.setup.call(a,d,w,q)||a.addEventListener&&a.addEventListener(h,q)),g.add&&(g.add.call(a,u),u.handler.guid||(u.handler.guid=c.guid)),e?E.splice(E.delegateCount++,0,u):E.push(u),t.event.global[h]=!0)}},remove:function(a,b,c,d,e){var f,q,w,v,A,u,g,E,h=P.hasData(a)&&P.get(a);if(h&&(v=h.events)){for(A=(b=(b||"").match(Ia)||[""]).length;A--;)if(w=nb.exec(b[A])||[],u=E=w[1],g=(w[2]||"").split(".").sort(),u){var C=t.event.special[u]||{};var m=v[u=(d? -C.delegateType:C.bindType)||u]||[];w=w[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)");for(q=f=m.length;f--;){var W=m[f];!e&&E!==W.origType||c&&c.guid!==W.guid||w&&!w.test(W.namespace)||d&&d!==W.selector&&("**"!==d||!W.selector)||(m.splice(f,1),W.selector&&m.delegateCount--,C.remove&&C.remove.call(a,W))}q&&!m.length&&(C.teardown&&!1!==C.teardown.call(a,g,h.handle)||t.removeEvent(a,u,h.handle),delete v[u])}else for(u in v)t.event.remove(a,u+b[A],c,d,!0);t.isEmptyObject(v)&&P.remove(a,"handle events")}}, -dispatch:function(a){var b=t.event.fix(a),c,d,e,f,q=Array(arguments.length);var w=(P.get(this,"events")||{})[b.type]||[];var v=t.event.special[b.type]||{};q[0]=b;for(c=1;c\x20\t\r\n\f]*)[^>]*)\/>/gi, -cc=/\s*$/g;t.extend({htmlPrefilter:function(a){return a.replace(ua,"<$1>")},clone:function(a,b,c){var d,e,f=a.cloneNode(!0),q=t.contains(a.ownerDocument,a);if(!(X.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||t.isXMLDoc(a))){var w=G(f);var v=0;for(d=(e=G(a)).length;vt.inArray(this,a)&&(t.cleanData(G(this)),c&&c.replaceChild(b, -this))},a)}});t.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){t.fn[a]=function(a){for(var c=[],d=t(a),e=d.length-1,f=0;f<=e;f++)a=f===e?this:this.clone(!0),t(d[f])[b](a),Ca.apply(c,a.get());return this.pushStack(c)}});var Xa=new RegExp("^("+Qb+")(?!px)[a-z%]+$","i"),rb=function(a){var c=a.ownerDocument.defaultView;return c&&c.opener||(c=b),c.getComputedStyle(a)},Ba=new RegExp(Pa.join("|"),"i");!function(){function a(){if(v){w.style.cssText= -"position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";v.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";mb.appendChild(w).appendChild(v);var a=b.getComputedStyle(v);c="1%"!==a.top;q=12===Math.round(parseFloat(a.marginLeft));v.style.right="60%";f=36===Math.round(parseFloat(a.right));d=36===Math.round(parseFloat(a.width));v.style.position="absolute";e=36===v.offsetWidth||"absolute";mb.removeChild(w); -v=null}}var c,d,e,f,q,w=L.createElement("div"),v=L.createElement("div");v.style&&(v.style.backgroundClip="content-box",v.cloneNode(!0).style.backgroundClip="",X.clearCloneStyle="content-box"===v.style.backgroundClip,t.extend(X,{boxSizingReliable:function(){return a(),d},pixelBoxStyles:function(){return a(),f},pixelPosition:function(){return a(),c},reliableMarginLeft:function(){return a(),q},scrollboxSize:function(){return a(),e}}))}();var dc=/^(none|table(?!-c[ea]).+)/,Bb=/^--/,Cb={position:"absolute", -visibility:"hidden",display:"block"},ia={letterSpacing:"0",fontWeight:"400"},Lb=["Webkit","Moz","ms"],Kb=L.createElement("div").style;t.extend({cssHooks:{opacity:{get:function(a,b){if(b)return a=I(a,"opacity"),""===a?"1":a}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,b,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var q,w,v, -A=c(b),u=Bb.test(b),g=a.style;if(u||(b=ca(A)),v=t.cssHooks[b]||t.cssHooks[A],void 0===d)return v&&"get"in v&&void 0!==(q=v.get(a,!1,e))?q:g[b];"string"==(w=typeof d)&&(q=$a.exec(d))&&q[1]&&(d=f(a,b,q),w="number");null!=d&&d===d&&("number"===w&&(d+=q&&q[3]||(t.cssNumber[A]?"":"px")),X.clearCloneStyle||""!==d||0!==b.indexOf("background")||(g[b]="inherit"),v&&"set"in v&&void 0===(d=v.set(a,d,e))||(u?g.setProperty(b,d):g[b]=d))}},css:function(a,b,d,e){var f,q,w,v=c(b);return Bb.test(b)||(b=ca(v)),(w= -t.cssHooks[b]||t.cssHooks[v])&&"get"in w&&(f=w.get(a,!0,d)),void 0===f&&(f=I(a,b,e)),"normal"===f&&b in ia&&(f=ia[b]),""===d||d?(q=parseFloat(f),!0===d||isFinite(q)?q||0:f):f}});t.each(["height","width"],function(a,b){t.cssHooks[b]={get:function(a,c,d){if(c)return!dc.test(t.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?la(a,b,d):Va(a,Cb,function(){return la(a,b,d)})},set:function(a,c,d){var e,f=rb(a),q="border-box"===t.css(a,"boxSizing",!1,f);d=d&&da(a,b,d,q,f);return q&& -X.scrollboxSize()===f.position&&(d-=Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(f[b])-da(a,b,"border",!1,f)-.5)),d&&(e=$a.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=t.css(a,b)),Q(a,c,d)}}});t.cssHooks.marginLeft=R(X.reliableMarginLeft,function(a,b){if(b)return(parseFloat(I(a,"marginLeft"))||a.getBoundingClientRect().left-Va(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"});t.each({margin:"",padding:"",border:"Width"},function(a,b){t.cssHooks[a+b]={expand:function(c){var d= -0,e={};for(c="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+Pa[d]+b]=c[d]||c[d-2]||c[0];return e}};"margin"!==a&&(t.cssHooks[a+b].set=Q)});t.fn.extend({css:function(a,b){return La(this,function(a,b,c){var d,e={},f=0;if(Array.isArray(b)){c=rb(a);for(d=b.length;fd.indexOf(" "+f+" ")&&(d+=f+" ");e!==(v=ka(d))&&c.setAttribute("class",v)}return this},removeClass:function(a){var b,c,d,e,f,w,v,A=0;if(S(a))return this.each(function(b){t(this).removeClass(a.call(this,b,V(this)))});if(!arguments.length)return this.attr("class","");if((b=q(a)).length)for(;c=this[A++];)if(e=V(c),d=1===c.nodeType&&" "+ka(e)+" "){for(w=0;f=b[w++];)for(;-1e?w:f?e:0;cC.indexOf(":")&&"on"+C,a=a[t.expando]?a:new t.Event(C,"object"==typeof a&&a),a.isTrigger= -e?2:3,a.namespace=h.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=d),c=null==c?[a]:t.makeArray(c,[a]),A=t.event.special[C]||{},e||!A.trigger||!1!==A.trigger.apply(d,c))){if(!e&&!A.noBubble&&!Na(d)){var m=A.delegateType||C;for(Fb.test(m+C)||(f=f.parentNode);f;f=f.parentNode)g.push(f),q=f;q===(d.ownerDocument||L)&&g.push(q.defaultView||q.parentWindow||b)}for(h=0;(f=g[h++])&&!a.isPropagationStopped();)u=f,a.type=1< -h?m:A.bindType||C,(v=(P.get(f,"events")||{})[a.type]&&P.get(f,"handle"))&&v.apply(f,c),(v=w&&f[w])&&v.apply&&db(f)&&(a.result=v.apply(f,c),!1===a.result&&a.preventDefault());return a.type=C,e||a.isDefaultPrevented()||A._default&&!1!==A._default.apply(g.pop(),c)||!db(d)||w&&S(d[C])&&!Na(d)&&((q=d[w])&&(d[w]=null),t.event.triggered=C,a.isPropagationStopped()&&u.addEventListener(C,Ha),d[C](),a.isPropagationStopped()&&u.removeEventListener(C,Ha),t.event.triggered=void 0,q&&(d[w]=q)),a.result}},simulate:function(a, -b,c){a=t.extend(new t.Event,c,{type:a,isSimulated:!0});t.event.trigger(a,null,b)}});t.fn.extend({trigger:function(a,b){return this.each(function(){t.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return t.event.trigger(a,b,c,!0)}});X.focusin||t.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){t.event.simulate(b,a.target,t.event.fix(a))};t.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=P.access(d,b);e||d.addEventListener(a,c,!0); -P.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=P.access(d,b)-1;e?P.access(d,b,e):(d.removeEventListener(a,c,!0),P.remove(d,b))}}});var Da=b.location,Ma=Date.now(),oa=/\?/;t.parseXML=function(a){if(!a||"string"!=typeof a)return null;try{var c=(new b.DOMParser).parseFromString(a,"text/xml")}catch(rc){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||t.error("Invalid XML: "+a),c};var Ja=/\[\]$/,Ra=/\r?\n/g,fb=/^(?:submit|button|image|reset|file)$/i,pc=/^(?:input|select|textarea|keygen)/i; -t.param=function(a,b){var c,d=[],e=function(a,b){b=S(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==b?"":b)};if(Array.isArray(a)||a.jquery&&!t.isPlainObject(a))t.each(a,function(){e(this.name,this.value)});else for(c in a)w(c,a[c],b,e);return d.join("&")};t.fn.extend({serialize:function(){return t.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=t.prop(this,"elements");return a?t.makeArray(a):this}).filter(function(){var a=this.type; -return this.name&&!t(this).is(":disabled")&&pc.test(this.nodeName)&&!fb.test(a)&&(this.checked||!eb.test(a))}).map(function(a,b){a=t(this).val();return null==a?null:Array.isArray(a)?t.map(a,function(a){return{name:b.name,value:a.replace(Ra,"\r\n")}}):{name:b.name,value:a.replace(Ra,"\r\n")}}).get()}});var qc=/%20/g,ec=/#.*$/,sa=/([?&])_=[^&]*/,fc=/^(.*?):[ \t]*([^\r\n]*)$/gm,gc=/^(?:GET|HEAD)$/,hc=/^\/\//,ob={},Mb={},Sb="*/".concat("*"),pa=L.createElement("a");pa.href=Da.href;t.extend({active:0,lastModified:{}, +"checked");b.setAttribute("name","t");a.appendChild(b);X.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";X.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue}();var mb=L.documentElement,bc=/^key/,mc=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nb=/^([^.]*)(?:\.(.+)|)/;u.event={global:{},add:function(a,b,c,d,e){var f,q,x,w,A,v,g,E,D;if(A=P.get(a))for(c.handler&&(c=(f=c).handler,e=f.selector),e&&u.find.matchesSelector(mb,e),c.guid||(c.guid=u.guid++), +(w=A.events)||(w=A.events={}),(q=A.handle)||(q=A.handle=function(b){return"undefined"!=typeof u&&u.event.triggered!==b.type?u.event.dispatch.apply(a,arguments):void 0}),A=(b=(b||"").match(Ia)||[""]).length;A--;){var h=D=(x=nb.exec(b[A])||[])[1];x=(x[2]||"").split(".").sort();h&&(g=u.event.special[h]||{},h=(e?g.delegateType:g.bindType)||h,g=u.event.special[h]||{},v=u.extend({type:h,origType:D,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&u.expr.match.needsContext.test(e),namespace:x.join(".")}, +f),(E=w[h])||((E=w[h]=[]).delegateCount=0,g.setup&&!1!==g.setup.call(a,d,x,q)||a.addEventListener&&a.addEventListener(h,q)),g.add&&(g.add.call(a,v),v.handler.guid||(v.handler.guid=c.guid)),e?E.splice(E.delegateCount++,0,v):E.push(v),u.event.global[h]=!0)}},remove:function(a,b,c,d,e){var f,q,x,w,A,v,g,E,h=P.hasData(a)&&P.get(a);if(h&&(w=h.events)){for(A=(b=(b||"").match(Ia)||[""]).length;A--;)if(x=nb.exec(b[A])||[],v=E=x[1],g=(x[2]||"").split(".").sort(),v){var D=u.event.special[v]||{};var l=w[v=(d? +D.delegateType:D.bindType)||v]||[];x=x[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)");for(q=f=l.length;f--;){var W=l[f];!e&&E!==W.origType||c&&c.guid!==W.guid||x&&!x.test(W.namespace)||d&&d!==W.selector&&("**"!==d||!W.selector)||(l.splice(f,1),W.selector&&l.delegateCount--,D.remove&&D.remove.call(a,W))}q&&!l.length&&(D.teardown&&!1!==D.teardown.call(a,g,h.handle)||u.removeEvent(a,v,h.handle),delete w[v])}else for(v in w)u.event.remove(a,v+b[A],c,d,!0);u.isEmptyObject(w)&&P.remove(a,"handle events")}}, +dispatch:function(a){var b=u.event.fix(a),c,d,e,f,q=Array(arguments.length);var x=(P.get(this,"events")||{})[b.type]||[];var w=u.event.special[b.type]||{};q[0]=b;for(c=1;c\x20\t\r\n\f]*)[^>]*)\/>/gi, +cc=/\s*$/g;u.extend({htmlPrefilter:function(a){return a.replace(ua,"<$1>")},clone:function(a,b,c){var d,e,f=a.cloneNode(!0),q=u.contains(a.ownerDocument,a);if(!(X.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||u.isXMLDoc(a))){var x=H(f);var w=0;for(d=(e=H(a)).length;wu.inArray(this,a)&&(u.cleanData(H(this)),c&&c.replaceChild(b, +this))},a)}});u.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){u.fn[a]=function(a){for(var c=[],d=u(a),e=d.length-1,f=0;f<=e;f++)a=f===e?this:this.clone(!0),u(d[f])[b](a),Ca.apply(c,a.get());return this.pushStack(c)}});var Xa=new RegExp("^("+Qb+")(?!px)[a-z%]+$","i"),rb=function(a){var c=a.ownerDocument.defaultView;return c&&c.opener||(c=b),c.getComputedStyle(a)},Ba=new RegExp(Pa.join("|"),"i");!function(){function a(){if(w){x.style.cssText= +"position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";w.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";mb.appendChild(x).appendChild(w);var a=b.getComputedStyle(w);c="1%"!==a.top;q=12===Math.round(parseFloat(a.marginLeft));w.style.right="60%";f=36===Math.round(parseFloat(a.right));d=36===Math.round(parseFloat(a.width));w.style.position="absolute";e=36===w.offsetWidth||"absolute";mb.removeChild(x); +w=null}}var c,d,e,f,q,x=L.createElement("div"),w=L.createElement("div");w.style&&(w.style.backgroundClip="content-box",w.cloneNode(!0).style.backgroundClip="",X.clearCloneStyle="content-box"===w.style.backgroundClip,u.extend(X,{boxSizingReliable:function(){return a(),d},pixelBoxStyles:function(){return a(),f},pixelPosition:function(){return a(),c},reliableMarginLeft:function(){return a(),q},scrollboxSize:function(){return a(),e}}))}();var dc=/^(none|table(?!-c[ea]).+)/,Bb=/^--/,Cb={position:"absolute", +visibility:"hidden",display:"block"},ia={letterSpacing:"0",fontWeight:"400"},Lb=["Webkit","Moz","ms"],Kb=L.createElement("div").style;u.extend({cssHooks:{opacity:{get:function(a,b){if(b)return a=I(a,"opacity"),""===a?"1":a}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,b,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var q,x,w, +A=c(b),v=Bb.test(b),g=a.style;if(v||(b=ca(A)),w=u.cssHooks[b]||u.cssHooks[A],void 0===d)return w&&"get"in w&&void 0!==(q=w.get(a,!1,e))?q:g[b];"string"==(x=typeof d)&&(q=$a.exec(d))&&q[1]&&(d=f(a,b,q),x="number");null!=d&&d===d&&("number"===x&&(d+=q&&q[3]||(u.cssNumber[A]?"":"px")),X.clearCloneStyle||""!==d||0!==b.indexOf("background")||(g[b]="inherit"),w&&"set"in w&&void 0===(d=w.set(a,d,e))||(v?g.setProperty(b,d):g[b]=d))}},css:function(a,b,d,e){var f,q,x,w=c(b);return Bb.test(b)||(b=ca(w)),(x= +u.cssHooks[b]||u.cssHooks[w])&&"get"in x&&(f=x.get(a,!0,d)),void 0===f&&(f=I(a,b,e)),"normal"===f&&b in ia&&(f=ia[b]),""===d||d?(q=parseFloat(f),!0===d||isFinite(q)?q||0:f):f}});u.each(["height","width"],function(a,b){u.cssHooks[b]={get:function(a,c,d){if(c)return!dc.test(u.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?la(a,b,d):Va(a,Cb,function(){return la(a,b,d)})},set:function(a,c,d){var e,f=rb(a),q="border-box"===u.css(a,"boxSizing",!1,f);d=d&&da(a,b,d,q,f);return q&& +X.scrollboxSize()===f.position&&(d-=Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(f[b])-da(a,b,"border",!1,f)-.5)),d&&(e=$a.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=u.css(a,b)),Q(a,c,d)}}});u.cssHooks.marginLeft=R(X.reliableMarginLeft,function(a,b){if(b)return(parseFloat(I(a,"marginLeft"))||a.getBoundingClientRect().left-Va(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"});u.each({margin:"",padding:"",border:"Width"},function(a,b){u.cssHooks[a+b]={expand:function(c){var d= +0,e={};for(c="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+Pa[d]+b]=c[d]||c[d-2]||c[0];return e}};"margin"!==a&&(u.cssHooks[a+b].set=Q)});u.fn.extend({css:function(a,b){return La(this,function(a,b,c){var d,e={},f=0;if(Array.isArray(b)){c=rb(a);for(d=b.length;fd.indexOf(" "+f+" ")&&(d+=f+" ");e!==(w=ka(d))&&c.setAttribute("class",w)}return this},removeClass:function(a){var b,c,d,e,f,x,w,A=0;if(S(a))return this.each(function(b){u(this).removeClass(a.call(this,b,V(this)))});if(!arguments.length)return this.attr("class","");if((b=q(a)).length)for(;c=this[A++];)if(e=V(c),d=1===c.nodeType&&" "+ka(e)+" "){for(x=0;f=b[x++];)for(;-1e?x:f?e:0;cD.indexOf(":")&&"on"+D,a=a[u.expando]?a:new u.Event(D,"object"==typeof a&&a),a.isTrigger= +e?2:3,a.namespace=h.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=d),c=null==c?[a]:u.makeArray(c,[a]),A=u.event.special[D]||{},e||!A.trigger||!1!==A.trigger.apply(d,c))){if(!e&&!A.noBubble&&!Na(d)){var l=A.delegateType||D;for(Fb.test(l+D)||(f=f.parentNode);f;f=f.parentNode)g.push(f),q=f;q===(d.ownerDocument||L)&&g.push(q.defaultView||q.parentWindow||b)}for(h=0;(f=g[h++])&&!a.isPropagationStopped();)v=f,a.type=1< +h?l:A.bindType||D,(w=(P.get(f,"events")||{})[a.type]&&P.get(f,"handle"))&&w.apply(f,c),(w=x&&f[x])&&w.apply&&db(f)&&(a.result=w.apply(f,c),!1===a.result&&a.preventDefault());return a.type=D,e||a.isDefaultPrevented()||A._default&&!1!==A._default.apply(g.pop(),c)||!db(d)||x&&S(d[D])&&!Na(d)&&((q=d[x])&&(d[x]=null),u.event.triggered=D,a.isPropagationStopped()&&v.addEventListener(D,Ha),d[D](),a.isPropagationStopped()&&v.removeEventListener(D,Ha),u.event.triggered=void 0,q&&(d[x]=q)),a.result}},simulate:function(a, +b,c){a=u.extend(new u.Event,c,{type:a,isSimulated:!0});u.event.trigger(a,null,b)}});u.fn.extend({trigger:function(a,b){return this.each(function(){u.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return u.event.trigger(a,b,c,!0)}});X.focusin||u.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){u.event.simulate(b,a.target,u.event.fix(a))};u.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=P.access(d,b);e||d.addEventListener(a,c,!0); +P.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=P.access(d,b)-1;e?P.access(d,b,e):(d.removeEventListener(a,c,!0),P.remove(d,b))}}});var Da=b.location,Ma=Date.now(),oa=/\?/;u.parseXML=function(a){if(!a||"string"!=typeof a)return null;try{var c=(new b.DOMParser).parseFromString(a,"text/xml")}catch(rc){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||u.error("Invalid XML: "+a),c};var Ja=/\[\]$/,Ra=/\r?\n/g,fb=/^(?:submit|button|image|reset|file)$/i,pc=/^(?:input|select|textarea|keygen)/i; +u.param=function(a,b){var c,d=[],e=function(a,b){b=S(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==b?"":b)};if(Array.isArray(a)||a.jquery&&!u.isPlainObject(a))u.each(a,function(){e(this.name,this.value)});else for(c in a)x(c,a[c],b,e);return d.join("&")};u.fn.extend({serialize:function(){return u.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=u.prop(this,"elements");return a?u.makeArray(a):this}).filter(function(){var a=this.type; +return this.name&&!u(this).is(":disabled")&&pc.test(this.nodeName)&&!fb.test(a)&&(this.checked||!eb.test(a))}).map(function(a,b){a=u(this).val();return null==a?null:Array.isArray(a)?u.map(a,function(a){return{name:b.name,value:a.replace(Ra,"\r\n")}}):{name:b.name,value:a.replace(Ra,"\r\n")}}).get()}});var qc=/%20/g,ec=/#.*$/,sa=/([?&])_=[^&]*/,fc=/^(.*?):[ \t]*([^\r\n]*)$/gm,gc=/^(?:GET|HEAD)$/,hc=/^\/\//,ob={},Mb={},Sb="*/".concat("*"),pa=L.createElement("a");pa.href=Da.href;u.extend({active:0,lastModified:{}, etag:{},ajaxSettings:{url:Da.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Da.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Sb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String, -"text html":!0,"text json":JSON.parse,"text xml":t.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?C(C(a,t.ajaxSettings),b):C(t.ajaxSettings,a)},ajaxPrefilter:W(ob),ajaxTransport:W(Mb),ajax:function(a,c){function d(a,c,d,q){var A,u,g,L=c;if(!n){n=!0;w&&b.clearTimeout(w);e=void 0;f=q||"";p.readyState=0a||304===a;if(d){var D=C;for(var k=p,l,y,r,Z,N=D.contents,x=D.dataTypes;"*"===x[0];)x.shift(),void 0===l&&(l=D.mimeType||k.getResponseHeader("Content-Type")); -if(l)for(y in N)if(N[y]&&N[y].test(l)){x.unshift(y);break}if(x[0]in d)r=x[0];else{for(y in d){if(!x[0]||D.converters[y+" "+x[0]]){r=y;break}Z||(Z=y)}r=r||Z}d=r?(r!==x[0]&&x.unshift(r),d[r]):void 0;D=d}a:{d=C;l=D;y=p;r=q;var ha,O,na;D={};k=d.dataTypes.slice();if(k[1])for(ha in d.converters)D[ha.toLowerCase()]=d.converters[ha];for(Z=k.shift();Z;)if(d.responseFields[Z]&&(y[d.responseFields[Z]]=l),!na&&r&&d.dataFilter&&(l=d.dataFilter(l,d.dataType)),na=Z,Z=k.shift())if("*"===Z)Z=na;else if("*"!==na&& -na!==Z){if(!(ha=D[na+" "+Z]||D["* "+Z]))for(Y in D)if((O=Y.split(" "))[1]===Z&&(ha=D[na+" "+O[0]]||D["* "+O[0]])){!0===ha?ha=D[Y]:!0!==D[Y]&&(Z=O[0],k.unshift(O[1]));break}if(!0!==ha)if(ha&&d["throws"])l=ha(l);else try{l=ha(l)}catch(lc){var Y={state:"parsererror",error:ha?lc:"No conversion from "+na+" to "+Z};break a}}Y={state:"success",data:l}}D=Y;q?(C.ifModified&&((g=p.getResponseHeader("Last-Modified"))&&(t.lastModified[z]=g),(g=p.getResponseHeader("etag"))&&(t.etag[z]=g)),204===a||"HEAD"===C.type? -L="nocontent":304===a?L="notmodified":(L=D.state,A=D.data,q=!(u=D.error))):(u=L,!a&&L||(L="error",0>a&&(a=0)));p.status=a;p.statusText=(c||L)+"";q?W.resolveWith(h,[A,L,p]):W.rejectWith(h,[p,L,u]);p.statusCode(H);H=void 0;v&&m.trigger(q?"ajaxSuccess":"ajaxError",[p,C,q?A:u]);G.fireWith(h,[p,L]);v&&(m.trigger("ajaxComplete",[p,C]),--t.active||t.event.trigger("ajaxStop"))}}"object"==typeof a&&(c=a,a=void 0);c=c||{};var e,f,q,w,v,u,g,C=t.ajaxSetup({},c),h=C.context||C,m=C.context&&(h.nodeType||h.jquery)? -t(h):t.event,W=t.Deferred(),G=t.Callbacks("once memory"),H=C.statusCode||{},D={},k={},l="canceled",p={readyState:0,getResponseHeader:function(a){var b;if(n){if(!q)for(q={};b=fc.exec(f);)q[b[1].toLowerCase()]=b[2];b=q[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return n?f:null},setRequestHeader:function(a,b){return null==n&&(a=k[a.toLowerCase()]=k[a.toLowerCase()]||a,D[a]=b),this},overrideMimeType:function(a){return null==n&&(C.mimeType=a),this},statusCode:function(a){var b; -if(a)if(n)p.always(a[p.status]);else for(b in a)H[b]=[H[b],a[b]];return this},abort:function(a){a=a||l;return e&&e.abort(a),d(0,a),this}};if(W.promise(p),C.url=((a||C.url||Da.href)+"").replace(hc,Da.protocol+"//"),C.type=c.method||c.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(Ia)||[""],null==C.crossDomain){a=L.createElement("a");try{a.href=C.url,a.href=a.href,C.crossDomain=pa.protocol+"//"+pa.host!=a.protocol+"//"+a.host}catch(Nb){C.crossDomain=!0}}if(C.data&&C.processData&& -"string"!=typeof C.data&&(C.data=t.param(C.data,C.traditional)),A(ob,C,c,p),n)return p;(v=t.event&&C.global)&&0==t.active++&&t.event.trigger("ajaxStart");C.type=C.type.toUpperCase();C.hasContent=!gc.test(C.type);var z=C.url.replace(ec,"");C.hasContent?C.data&&C.processData&&0===(C.contentType||"").indexOf("application/x-www-form-urlencoded")&&(C.data=C.data.replace(qc,"+")):(g=C.url.slice(z.length),C.data&&(C.processData||"string"==typeof C.data)&&(z+=(oa.test(z)?"&":"?")+C.data,delete C.data),!1=== -C.cache&&(z=z.replace(sa,"$1"),g=(oa.test(z)?"&":"?")+"_="+Ma++ +g),C.url=z+g);C.ifModified&&(t.lastModified[z]&&p.setRequestHeader("If-Modified-Since",t.lastModified[z]),t.etag[z]&&p.setRequestHeader("If-None-Match",t.etag[z]));(C.data&&C.hasContent&&!1!==C.contentType||c.contentType)&&p.setRequestHeader("Content-Type",C.contentType);p.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+("*"!==C.dataTypes[0]?", "+Sb+"; q=0.01":""):C.accepts["*"]);for(u in C.headers)p.setRequestHeader(u, -C.headers[u]);if(C.beforeSend&&(!1===C.beforeSend.call(h,p,C)||n))return p.abort();if(l="abort",G.add(C.complete),p.done(C.success),p.fail(C.error),e=A(Mb,C,c,p)){if(p.readyState=1,v&&m.trigger("ajaxSend",[p,C]),n)return p;C.async&&0").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove();c=null;a&&e("error"===a.type?404:200,a.type)});L.head.appendChild(b[0])},abort:function(){c&&c()}}}});var ic=[],Tb=/(=)\?(?=&|$)|\?\?/;t.ajaxSetup({jsonp:"callback", -jsonpCallback:function(){var a=ic.pop()||t.expando+"_"+Ma++;return this[a]=!0,a}});t.ajaxPrefilter("json jsonp",function(a,c,d){var e,f,q,w=!1!==a.jsonp&&(Tb.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Tb.test(a.data)&&"data");if(w||"jsonp"===a.dataTypes[0])return e=a.jsonpCallback=S(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,w?a[w]=a[w].replace(Tb,"$1"+e):!1!==a.jsonp&&(a.url+=(oa.test(a.url)?"&":"?")+a.jsonp+"="+e),a.converters["script json"]= -function(){return q||t.error(e+" was not called"),q[0]},a.dataTypes[0]="json",f=b[e],b[e]=function(){q=arguments},d.always(function(){void 0===f?t(b).removeProp(e):b[e]=f;a[e]&&(a.jsonpCallback=c.jsonpCallback,ic.push(e));q&&S(f)&&f(q[0]);q=f=void 0}),"script"});X.createHTMLDocument=function(){var a=L.implementation.createHTMLDocument("").body;return a.innerHTML="
",2===a.childNodes.length}();t.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&& -(c=b,b=!1);var d,e,f;return b||(X.createHTMLDocument?((d=(b=L.implementation.createHTMLDocument("")).createElement("base")).href=L.location.href,b.head.appendChild(d)):b=L),e=zb.exec(a),f=!c&&[],e?[b.createElement(e[1])]:(e=u([a],b,f),f&&f.length&&t(f).remove(),t.merge([],e.childNodes))};t.fn.load=function(a,b,c){var d,e,f,q=this,w=a.indexOf(" ");return-1").append(t.parseHTML(a)).find(d):a)}).always(c&&function(a,b){q.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this};t.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){t.fn[b]=function(a){return this.on(b,a)}});t.expr.pseudos.animated=function(a){return t.grep(t.timers,function(b){return a===b.elem}).length};t.offset={setOffset:function(a,b,c){var d,e,f,q=t.css(a,"position"),w=t(a),v={}; -"static"===q&&(a.style.position="relative");var A=w.offset();var u=t.css(a,"top");var C=t.css(a,"left");("absolute"===q||"fixed"===q)&&-1<(u+C).indexOf("auto")?(f=(d=w.position()).top,e=d.left):(f=parseFloat(u)||0,e=parseFloat(C)||0);S(b)&&(b=b.call(a,c,t.extend({},A)));null!=b.top&&(v.top=b.top-A.top+f);null!=b.left&&(v.left=b.left-A.left+e);"using"in b?b.using.call(a,v):w.css(v)}};t.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){t.offset.setOffset(this, -a,b)});var b,c,d=this[0];if(d)return d.getClientRects().length?(b=d.getBoundingClientRect(),c=d.ownerDocument.defaultView,{top:b.top+c.pageYOffset,left:b.left+c.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var a,b=this[0],c={top:0,left:0};if("fixed"===t.css(b,"position"))var d=b.getBoundingClientRect();else{d=this.offset();var e=b.ownerDocument;for(a=b.offsetParent||e.documentElement;a&&(a===e.body||a===e.documentElement)&&"static"===t.css(a,"position");)a=a.parentNode;a&&a!==b&& -1===a.nodeType&&((c=t(a).offset()).top+=t.css(a,"borderTopWidth",!0),c.left+=t.css(a,"borderLeftWidth",!0))}return{top:d.top-c.top-t.css(b,"marginTop",!0),left:d.left-c.left-t.css(b,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===t.css(a,"position");)a=a.offsetParent;return a||mb})}});t.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;t.fn[a]=function(d){return La(this,function(a,d,e){var f; -if(Na(a)?f=a:9===a.nodeType&&(f=a.defaultView),void 0===e)return f?f[b]:a[d];f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e},a,d,arguments.length)}});t.each(["top","left"],function(a,b){t.cssHooks[b]=R(X.pixelPosition,function(a,c){if(c)return c=I(a,b),Xa.test(c)?t(a).position()[b]+"px":c})});t.each({Height:"height",Width:"width"},function(a,b){t.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){t.fn[d]=function(e,f){var q=arguments.length&&(c||"boolean"!=typeof e),w=c||(!0=== -e||!0===f?"margin":"border");return La(this,function(b,c,e){var f;return Na(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?t.css(b,c,w):t.style(b,c,e,w)},b,q?e:void 0,q)}})});t.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), -function(a,b){t.fn[b]=function(a,c){return 0a||304===a;if(d){var C=D;for(var k=p,m,z,t,Z,N=C.contents,y=C.dataTypes;"*"===y[0];)y.shift(),void 0===m&&(m=C.mimeType||k.getResponseHeader("Content-Type")); +if(m)for(z in N)if(N[z]&&N[z].test(m)){y.unshift(z);break}if(y[0]in d)t=y[0];else{for(z in d){if(!y[0]||C.converters[z+" "+y[0]]){t=z;break}Z||(Z=z)}t=t||Z}d=t?(t!==y[0]&&y.unshift(t),d[t]):void 0;C=d}a:{d=D;m=C;z=p;t=q;var ha,O,na;C={};k=d.dataTypes.slice();if(k[1])for(ha in d.converters)C[ha.toLowerCase()]=d.converters[ha];for(Z=k.shift();Z;)if(d.responseFields[Z]&&(z[d.responseFields[Z]]=m),!na&&t&&d.dataFilter&&(m=d.dataFilter(m,d.dataType)),na=Z,Z=k.shift())if("*"===Z)Z=na;else if("*"!==na&& +na!==Z){if(!(ha=C[na+" "+Z]||C["* "+Z]))for(Y in C)if((O=Y.split(" "))[1]===Z&&(ha=C[na+" "+O[0]]||C["* "+O[0]])){!0===ha?ha=C[Y]:!0!==C[Y]&&(Z=O[0],k.unshift(O[1]));break}if(!0!==ha)if(ha&&d["throws"])m=ha(m);else try{m=ha(m)}catch(lc){var Y={state:"parsererror",error:ha?lc:"No conversion from "+na+" to "+Z};break a}}Y={state:"success",data:m}}C=Y;q?(D.ifModified&&((g=p.getResponseHeader("Last-Modified"))&&(u.lastModified[n]=g),(g=p.getResponseHeader("etag"))&&(u.etag[n]=g)),204===a||"HEAD"===D.type? +L="nocontent":304===a?L="notmodified":(L=C.state,A=C.data,q=!(v=C.error))):(v=L,!a&&L||(L="error",0>a&&(a=0)));p.status=a;p.statusText=(c||L)+"";q?W.resolveWith(h,[A,L,p]):W.rejectWith(h,[p,L,v]);p.statusCode(G);G=void 0;w&&l.trigger(q?"ajaxSuccess":"ajaxError",[p,D,q?A:v]);H.fireWith(h,[p,L]);w&&(l.trigger("ajaxComplete",[p,D]),--u.active||u.event.trigger("ajaxStop"))}}"object"==typeof a&&(c=a,a=void 0);c=c||{};var e,f,q,x,w,v,g,D=u.ajaxSetup({},c),h=D.context||D,l=D.context&&(h.nodeType||h.jquery)? +u(h):u.event,W=u.Deferred(),H=u.Callbacks("once memory"),G=D.statusCode||{},C={},k={},m="canceled",p={readyState:0,getResponseHeader:function(a){var b;if(r){if(!q)for(q={};b=fc.exec(f);)q[b[1].toLowerCase()]=b[2];b=q[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return r?f:null},setRequestHeader:function(a,b){return null==r&&(a=k[a.toLowerCase()]=k[a.toLowerCase()]||a,C[a]=b),this},overrideMimeType:function(a){return null==r&&(D.mimeType=a),this},statusCode:function(a){var b; +if(a)if(r)p.always(a[p.status]);else for(b in a)G[b]=[G[b],a[b]];return this},abort:function(a){a=a||m;return e&&e.abort(a),d(0,a),this}};if(W.promise(p),D.url=((a||D.url||Da.href)+"").replace(hc,Da.protocol+"//"),D.type=c.method||c.type||D.method||D.type,D.dataTypes=(D.dataType||"*").toLowerCase().match(Ia)||[""],null==D.crossDomain){a=L.createElement("a");try{a.href=D.url,a.href=a.href,D.crossDomain=pa.protocol+"//"+pa.host!=a.protocol+"//"+a.host}catch(Nb){D.crossDomain=!0}}if(D.data&&D.processData&& +"string"!=typeof D.data&&(D.data=u.param(D.data,D.traditional)),A(ob,D,c,p),r)return p;(w=u.event&&D.global)&&0==u.active++&&u.event.trigger("ajaxStart");D.type=D.type.toUpperCase();D.hasContent=!gc.test(D.type);var n=D.url.replace(ec,"");D.hasContent?D.data&&D.processData&&0===(D.contentType||"").indexOf("application/x-www-form-urlencoded")&&(D.data=D.data.replace(qc,"+")):(g=D.url.slice(n.length),D.data&&(D.processData||"string"==typeof D.data)&&(n+=(oa.test(n)?"&":"?")+D.data,delete D.data),!1=== +D.cache&&(n=n.replace(sa,"$1"),g=(oa.test(n)?"&":"?")+"_="+Ma++ +g),D.url=n+g);D.ifModified&&(u.lastModified[n]&&p.setRequestHeader("If-Modified-Since",u.lastModified[n]),u.etag[n]&&p.setRequestHeader("If-None-Match",u.etag[n]));(D.data&&D.hasContent&&!1!==D.contentType||c.contentType)&&p.setRequestHeader("Content-Type",D.contentType);p.setRequestHeader("Accept",D.dataTypes[0]&&D.accepts[D.dataTypes[0]]?D.accepts[D.dataTypes[0]]+("*"!==D.dataTypes[0]?", "+Sb+"; q=0.01":""):D.accepts["*"]);for(v in D.headers)p.setRequestHeader(v, +D.headers[v]);if(D.beforeSend&&(!1===D.beforeSend.call(h,p,D)||r))return p.abort();if(m="abort",H.add(D.complete),p.done(D.success),p.fail(D.error),e=A(Mb,D,c,p)){if(p.readyState=1,w&&l.trigger("ajaxSend",[p,D]),r)return p;D.async&&0").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove();c=null;a&&e("error"===a.type?404:200,a.type)});L.head.appendChild(b[0])},abort:function(){c&&c()}}}});var ic=[],Tb=/(=)\?(?=&|$)|\?\?/;u.ajaxSetup({jsonp:"callback", +jsonpCallback:function(){var a=ic.pop()||u.expando+"_"+Ma++;return this[a]=!0,a}});u.ajaxPrefilter("json jsonp",function(a,c,d){var e,f,q,x=!1!==a.jsonp&&(Tb.test(a.url)?"url":"string"==typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&Tb.test(a.data)&&"data");if(x||"jsonp"===a.dataTypes[0])return e=a.jsonpCallback=S(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,x?a[x]=a[x].replace(Tb,"$1"+e):!1!==a.jsonp&&(a.url+=(oa.test(a.url)?"&":"?")+a.jsonp+"="+e),a.converters["script json"]= +function(){return q||u.error(e+" was not called"),q[0]},a.dataTypes[0]="json",f=b[e],b[e]=function(){q=arguments},d.always(function(){void 0===f?u(b).removeProp(e):b[e]=f;a[e]&&(a.jsonpCallback=c.jsonpCallback,ic.push(e));q&&S(f)&&f(q[0]);q=f=void 0}),"script"});X.createHTMLDocument=function(){var a=L.implementation.createHTMLDocument("").body;return a.innerHTML="
",2===a.childNodes.length}();u.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&& +(c=b,b=!1);var d,e,f;return b||(X.createHTMLDocument?((d=(b=L.implementation.createHTMLDocument("")).createElement("base")).href=L.location.href,b.head.appendChild(d)):b=L),e=zb.exec(a),f=!c&&[],e?[b.createElement(e[1])]:(e=v([a],b,f),f&&f.length&&u(f).remove(),u.merge([],e.childNodes))};u.fn.load=function(a,b,c){var d,e,f,q=this,x=a.indexOf(" ");return-1").append(u.parseHTML(a)).find(d):a)}).always(c&&function(a,b){q.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this};u.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){u.fn[b]=function(a){return this.on(b,a)}});u.expr.pseudos.animated=function(a){return u.grep(u.timers,function(b){return a===b.elem}).length};u.offset={setOffset:function(a,b,c){var d,e,f,q=u.css(a,"position"),x=u(a),w={}; +"static"===q&&(a.style.position="relative");var A=x.offset();var v=u.css(a,"top");var D=u.css(a,"left");("absolute"===q||"fixed"===q)&&-1<(v+D).indexOf("auto")?(f=(d=x.position()).top,e=d.left):(f=parseFloat(v)||0,e=parseFloat(D)||0);S(b)&&(b=b.call(a,c,u.extend({},A)));null!=b.top&&(w.top=b.top-A.top+f);null!=b.left&&(w.left=b.left-A.left+e);"using"in b?b.using.call(a,w):x.css(w)}};u.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){u.offset.setOffset(this, +a,b)});var b,c,d=this[0];if(d)return d.getClientRects().length?(b=d.getBoundingClientRect(),c=d.ownerDocument.defaultView,{top:b.top+c.pageYOffset,left:b.left+c.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var a,b=this[0],c={top:0,left:0};if("fixed"===u.css(b,"position"))var d=b.getBoundingClientRect();else{d=this.offset();var e=b.ownerDocument;for(a=b.offsetParent||e.documentElement;a&&(a===e.body||a===e.documentElement)&&"static"===u.css(a,"position");)a=a.parentNode;a&&a!==b&& +1===a.nodeType&&((c=u(a).offset()).top+=u.css(a,"borderTopWidth",!0),c.left+=u.css(a,"borderLeftWidth",!0))}return{top:d.top-c.top-u.css(b,"marginTop",!0),left:d.left-c.left-u.css(b,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===u.css(a,"position");)a=a.offsetParent;return a||mb})}});u.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;u.fn[a]=function(d){return La(this,function(a,d,e){var f; +if(Na(a)?f=a:9===a.nodeType&&(f=a.defaultView),void 0===e)return f?f[b]:a[d];f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e},a,d,arguments.length)}});u.each(["top","left"],function(a,b){u.cssHooks[b]=R(X.pixelPosition,function(a,c){if(c)return c=I(a,b),Xa.test(c)?u(a).position()[b]+"px":c})});u.each({Height:"height",Width:"width"},function(a,b){u.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){u.fn[d]=function(e,f){var q=arguments.length&&(c||"boolean"!=typeof e),x=c||(!0=== +e||!0===f?"margin":"border");return La(this,function(b,c,e){var f;return Na(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?u.css(b,c,x):u.style(b,c,e,x)},b,q?e:void 0,q)}})});u.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), +function(a,b){u.fn[b]=function(a,c){return 0"))}function n(a){return a.on("mouseout","button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",function(){b(this).removeClass("ui-state-hover");-1!==this.className.indexOf("ui-datepicker-prev")&&b(this).removeClass("ui-datepicker-prev-hover"); --1!==this.className.indexOf("ui-datepicker-next")&&b(this).removeClass("ui-datepicker-next-hover")}).on("mouseover","button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",l)}function l(){b.datepicker._isDisabledDatepicker(g.inline?g.dpDiv.parent()[0]:g.input[0])||(b(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),b(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&b(this).addClass("ui-datepicker-prev-hover"), --1!==this.className.indexOf("ui-datepicker-next")&&b(this).addClass("ui-datepicker-next-hover"))}function x(a,c){b.extend(a,c);for(var d in c)null==c[d]&&(a[d]=c[d]);return a}function p(a){return function(){var b=this.element.val();a.apply(this,arguments);this._refresh();b!==this.element.val()&&this._trigger("change")}}b.ui=b.ui||{};b.ui.version="1.12.1";var y=0,h=Array.prototype.slice;b.cleanData=function(a){return function(c){var d,e,f;for(f=0;null!=(e=c[f]);f++)try{(d=b._data(e,"events"))&&d.remove&& -b(e).triggerHandler("remove")}catch(v){}a(c)}}(b.cleanData);b.widget=function(a,c,d){var e,f,v,g={},h=a.split(".")[0];a=a.split(".")[1];var u=h+"-"+a;return d||(d=c,c=b.Widget),b.isArray(d)&&(d=b.extend.apply(null,[{}].concat(d))),b.expr[":"][u.toLowerCase()]=function(a){return!!b.data(a,u)},b[h]=b[h]||{},e=b[h][a],f=b[h][a]=function(a,b){return this._createWidget?(arguments.length&&this._createWidget(a,b),void 0):new f(a,b)},b.extend(f,e,{version:d.version,_proto:b.extend({},d),_childConstructors:[]}), -v=new c,v.options=b.widget.extend({},v.options),b.each(d,function(a,d){return b.isFunction(d)?(g[a]=function(){function b(){return c.prototype[a].apply(this,arguments)}function e(b){return c.prototype[a].apply(this,b)}return function(){var a,c=this._super,f=this._superApply;return this._super=b,this._superApply=e,a=d.apply(this,arguments),this._super=c,this._superApply=f,a}}(),void 0):(g[a]=d,void 0)}),f.prototype=b.widget.extend(v,{widgetEventPrefix:e?v.widgetEventPrefix||a:a},g,{constructor:f,namespace:h, -widgetName:a,widgetFullName:u}),e?(b.each(e._childConstructors,function(a,c){a=c.prototype;b.widget(a.namespace+"."+a.widgetName,f,c._proto)}),delete e._childConstructors):c._childConstructors.push(f),b.widget.bridge(a,f),f};b.widget.extend=function(a){for(var c,d,e=h.call(arguments,1),f=0,v=e.length;v>f;f++)for(c in e[f])d=e[f][c],e[f].hasOwnProperty(c)&&void 0!==d&&(a[c]=b.isPlainObject(d)?b.isPlainObject(a[c])?b.widget.extend({},a[c],d):b.widget.extend({},d):d);return a};b.widget.bridge=function(a, -c){var d=c.prototype.widgetFullName||a;b.fn[a]=function(e){var f="string"==typeof e,v=h.call(arguments,1),g=this;return f?this.length||"instance"!==e?this.each(function(){var c,f=b.data(this,d);return"instance"===e?(g=f,!1):f?b.isFunction(f[e])&&"_"!==e.charAt(0)?(c=f[e].apply(f,v),c!==f&&void 0!==c?(g=c&&c.jquery?g.pushStack(c.get()):c,!1):void 0):b.error("no such method '"+e+"' for "+a+" widget instance"):b.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+ -e+"'")}):g=void 0:(v.length&&(e=b.widget.extend.apply(null,[e].concat(v))),this.each(function(){var a=b.data(this,d);a?(a.option(e||{}),a._init&&a._init()):b.data(this,d,new c(e,this))})),g}};b.Widget=function(){};b.Widget._childConstructors=[];b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(a,c){c=b(c||this.defaultElement||this)[0];this.element=b(c);this.uuid=y++;this.eventNamespace="."+this.widgetName+ +this.regional[""]);this.regional.en=b.extend(!0,{},this.regional[""]);this.regional["en-US"]=b.extend(!0,{},this.regional.en);this.dpDiv=r(b("
"))}function r(a){return a.on("mouseout","button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",function(){b(this).removeClass("ui-state-hover");-1!==this.className.indexOf("ui-datepicker-prev")&&b(this).removeClass("ui-datepicker-prev-hover"); +-1!==this.className.indexOf("ui-datepicker-next")&&b(this).removeClass("ui-datepicker-next-hover")}).on("mouseover","button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",n)}function n(){b.datepicker._isDisabledDatepicker(g.inline?g.dpDiv.parent()[0]:g.input[0])||(b(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),b(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&b(this).addClass("ui-datepicker-prev-hover"), +-1!==this.className.indexOf("ui-datepicker-next")&&b(this).addClass("ui-datepicker-next-hover"))}function y(a,c){b.extend(a,c);for(var d in c)null==c[d]&&(a[d]=c[d]);return a}function m(a){return function(){var b=this.element.val();a.apply(this,arguments);this._refresh();b!==this.element.val()&&this._trigger("change")}}b.ui=b.ui||{};b.ui.version="1.12.1";var z=0,h=Array.prototype.slice;b.cleanData=function(a){return function(c){var d,e,f;for(f=0;null!=(e=c[f]);f++)try{(d=b._data(e,"events"))&&d.remove&& +b(e).triggerHandler("remove")}catch(w){}a(c)}}(b.cleanData);b.widget=function(a,c,d){var e,f,w,g={},h=a.split(".")[0];a=a.split(".")[1];var v=h+"-"+a;return d||(d=c,c=b.Widget),b.isArray(d)&&(d=b.extend.apply(null,[{}].concat(d))),b.expr[":"][v.toLowerCase()]=function(a){return!!b.data(a,v)},b[h]=b[h]||{},e=b[h][a],f=b[h][a]=function(a,b){return this._createWidget?(arguments.length&&this._createWidget(a,b),void 0):new f(a,b)},b.extend(f,e,{version:d.version,_proto:b.extend({},d),_childConstructors:[]}), +w=new c,w.options=b.widget.extend({},w.options),b.each(d,function(a,d){return b.isFunction(d)?(g[a]=function(){function b(){return c.prototype[a].apply(this,arguments)}function e(b){return c.prototype[a].apply(this,b)}return function(){var a,c=this._super,f=this._superApply;return this._super=b,this._superApply=e,a=d.apply(this,arguments),this._super=c,this._superApply=f,a}}(),void 0):(g[a]=d,void 0)}),f.prototype=b.widget.extend(w,{widgetEventPrefix:e?w.widgetEventPrefix||a:a},g,{constructor:f,namespace:h, +widgetName:a,widgetFullName:v}),e?(b.each(e._childConstructors,function(a,c){a=c.prototype;b.widget(a.namespace+"."+a.widgetName,f,c._proto)}),delete e._childConstructors):c._childConstructors.push(f),b.widget.bridge(a,f),f};b.widget.extend=function(a){for(var c,d,e=h.call(arguments,1),f=0,w=e.length;w>f;f++)for(c in e[f])d=e[f][c],e[f].hasOwnProperty(c)&&void 0!==d&&(a[c]=b.isPlainObject(d)?b.isPlainObject(a[c])?b.widget.extend({},a[c],d):b.widget.extend({},d):d);return a};b.widget.bridge=function(a, +c){var d=c.prototype.widgetFullName||a;b.fn[a]=function(e){var f="string"==typeof e,w=h.call(arguments,1),g=this;return f?this.length||"instance"!==e?this.each(function(){var c,f=b.data(this,d);return"instance"===e?(g=f,!1):f?b.isFunction(f[e])&&"_"!==e.charAt(0)?(c=f[e].apply(f,w),c!==f&&void 0!==c?(g=c&&c.jquery?g.pushStack(c.get()):c,!1):void 0):b.error("no such method '"+e+"' for "+a+" widget instance"):b.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+ +e+"'")}):g=void 0:(w.length&&(e=b.widget.extend.apply(null,[e].concat(w))),this.each(function(){var a=b.data(this,d);a?(a.option(e||{}),a._init&&a._init()):b.data(this,d,new c(e,this))})),g}};b.Widget=function(){};b.Widget._childConstructors=[];b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(a,c){c=b(c||this.defaultElement||this)[0];this.element=b(c);this.uuid=z++;this.eventNamespace="."+this.widgetName+ this.uuid;this.bindings=b();this.hoverable=b();this.focusable=b();this.classesElementLookup={};c!==this&&(b.data(c,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===c&&this.destroy()}}),this.document=b(c.style?c.ownerDocument:c.document||c),this.window=b(this.document[0].defaultView||this.document[0].parentWindow));this.options=b.widget.extend({},this.options,this._getCreateOptions(),a);this._create();this.options.disabled&&this._setOptionDisabled(this.options.disabled); this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:b.noop,_create:b.noop,_init:b.noop,destroy:function(){var a=this;this._destroy();b.each(this.classesElementLookup,function(b,d){a._removeClass(d,b)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:b.noop,widget:function(){return this.element}, -option:function(a,c){var d,e,f=a;if(0===arguments.length)return b.widget.extend({},this.options);if("string"==typeof a)if(f={},d=a.split("."),a=d.shift(),d.length){var v=f[a]=b.widget.extend({},this.options[a]);for(e=0;d.length-1>e;e++)v[d[e]]=v[d[e]]||{},v=v[d[e]];if(a=d.pop(),1===arguments.length)return void 0===v[a]?null:v[a];v[a]=c}else{if(1===arguments.length)return void 0===this.options[a]?null:this.options[a];f[a]=c}return this._setOptions(f),this},_setOptions:function(a){for(var b in a)this._setOption(b, +option:function(a,c){var d,e,f=a;if(0===arguments.length)return b.widget.extend({},this.options);if("string"==typeof a)if(f={},d=a.split("."),a=d.shift(),d.length){var w=f[a]=b.widget.extend({},this.options[a]);for(e=0;d.length-1>e;e++)w[d[e]]=w[d[e]]||{},w=w[d[e]];if(a=d.pop(),1===arguments.length)return void 0===w[a]?null:w[a];w[a]=c}else{if(1===arguments.length)return void 0===this.options[a]?null:this.options[a];f[a]=c}return this._setOptions(f),this},_setOptions:function(a){for(var b in a)this._setOption(b, a[b]);return this},_setOption:function(a,b){return"classes"===a&&this._setOptionClasses(b),this.options[a]=b,"disabled"===a&&this._setOptionDisabled(b),this},_setOptionClasses:function(a){var c,d;for(c in a){var e=this.classesElementLookup[c];a[c]!==this.options.classes[c]&&e&&e.length&&(d=b(e.get()),this._removeClass(e,c),d.addClass(this._classes({element:d,keys:c,classes:a,add:!0})))}},_setOptionDisabled:function(a){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!a);a&&(this._removeClass(this.hoverable, -null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(a){function c(c,v){var f;for(f=0;c.length>f;f++){var g=e.classesElementLookup[c[f]]||b();g=a.add?b(b.unique(g.get().concat(a.element.get()))):b(g.not(a.element).get());e.classesElementLookup[c[f]]=g;d.push(c[f]);v&&a.classes[c[f]]&&d.push(a.classes[c[f]])}}var d=[],e=this;return a=b.extend({element:this.element, +null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(a){function c(c,w){var f;for(f=0;c.length>f;f++){var g=e.classesElementLookup[c[f]]||b();g=a.add?b(b.unique(g.get().concat(a.element.get()))):b(g.not(a.element).get());e.classesElementLookup[c[f]]=g;d.push(c[f]);w&&a.classes[c[f]]&&d.push(a.classes[c[f]])}}var d=[],e=this;return a=b.extend({element:this.element, classes:this.options.classes||{}},a),this._on(a.element,{remove:"_untrackClassesElement"}),a.keys&&c(a.keys.match(/\S+/g)||[],!0),a.extra&&c(a.extra.match(/\S+/g)||[]),d.join(" ")},_untrackClassesElement:function(a){var c=this;b.each(c.classesElementLookup,function(d,e){-1!==b.inArray(a.target,e)&&(c.classesElementLookup[d]=b(e.not(a.target).get()))})},_removeClass:function(a,b,d){return this._toggleClass(a,b,d,!1)},_addClass:function(a,b,d){return this._toggleClass(a,b,d,!0)},_toggleClass:function(a, -b,d,e){e="boolean"==typeof e?e:d;var c="string"==typeof a||null===a;a={extra:c?b:d,keys:c?a:b,element:c?this.element:a,add:e};return a.element.toggleClass(this._classes(a),e),this},_on:function(a,c,d){var e,f=this;"boolean"!=typeof a&&(d=c,c=a,a=!1);d?(c=e=b(c),this.bindings=this.bindings.add(c)):(d=c,c=this.element,e=this.widget());b.each(d,function(d,g){function v(){return a||!0!==f.options.disabled&&!b(this).hasClass("ui-state-disabled")?("string"==typeof g?f[g]:g).apply(f,arguments):void 0}"string"!= -typeof g&&(v.guid=g.guid=g.guid||v.guid||b.guid++);var u=d.match(/^([\w:-]*)\s*(.*)$/);d=u[1]+f.eventNamespace;(u=u[2])?e.on(d,u,v):c.on(d,v)})},_off:function(a,c){c=(c||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;a.off(c).off(c);this.bindings=b(this.bindings.not(a).get());this.focusable=b(this.focusable.not(a).get());this.hoverable=b(this.hoverable.not(a).get())},_delay:function(a,b){var c=this;return setTimeout(function(){return("string"==typeof a?c[a]:a).apply(c,arguments)}, +b,d,e){e="boolean"==typeof e?e:d;var c="string"==typeof a||null===a;a={extra:c?b:d,keys:c?a:b,element:c?this.element:a,add:e};return a.element.toggleClass(this._classes(a),e),this},_on:function(a,c,d){var e,f=this;"boolean"!=typeof a&&(d=c,c=a,a=!1);d?(c=e=b(c),this.bindings=this.bindings.add(c)):(d=c,c=this.element,e=this.widget());b.each(d,function(d,g){function w(){return a||!0!==f.options.disabled&&!b(this).hasClass("ui-state-disabled")?("string"==typeof g?f[g]:g).apply(f,arguments):void 0}"string"!= +typeof g&&(w.guid=g.guid=g.guid||w.guid||b.guid++);var v=d.match(/^([\w:-]*)\s*(.*)$/);d=v[1]+f.eventNamespace;(v=v[2])?e.on(d,v,w):c.on(d,w)})},_off:function(a,c){c=(c||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;a.off(c).off(c);this.bindings=b(this.bindings.not(a).get());this.focusable=b(this.focusable.not(a).get());this.hoverable=b(this.hoverable.not(a).get())},_delay:function(a,b){var c=this;return setTimeout(function(){return("string"==typeof a?c[a]:a).apply(c,arguments)}, b||0)},_hoverable:function(a){this.hoverable=this.hoverable.add(a);this._on(a,{mouseenter:function(a){this._addClass(b(a.currentTarget),null,"ui-state-hover")},mouseleave:function(a){this._removeClass(b(a.currentTarget),null,"ui-state-hover")}})},_focusable:function(a){this.focusable=this.focusable.add(a);this._on(a,{focusin:function(a){this._addClass(b(a.currentTarget),null,"ui-state-focus")},focusout:function(a){this._removeClass(b(a.currentTarget),null,"ui-state-focus")}})},_trigger:function(a, -c,d){var e,f=this.options[a];if(d=d||{},c=b.Event(c),c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase(),c.target=this.element[0],a=c.originalEvent)for(e in a)e in c||(c[e]=a[e]);return this.element.trigger(c,d),!(b.isFunction(f)&&!1===f.apply(this.element[0],[c].concat(d))||c.isDefaultPrevented())}};b.each({show:"fadeIn",hide:"fadeOut"},function(a,c){b.Widget.prototype["_"+a]=function(d,e,f){"string"==typeof e&&(e={effect:e});var v=e?!0===e||"number"==typeof e?c:e.effect|| -c:a;e=e||{};"number"==typeof e&&(e={duration:e});var g=!b.isEmptyObject(e);e.complete=f;e.delay&&d.delay(e.delay);g&&b.effects&&b.effects.effect[v]?d[a](e):v!==a&&d[v]?d[v](e.duration,e.easing,f):d.queue(function(c){b(this)[a]();f&&f.call(d[0]);c()})}});b.widget;(function(){function a(a,b,c){return[parseFloat(a[0])*(m.test(a[0])?b/100:1),parseFloat(a[1])*(m.test(a[1])?c/100:1)]}function c(a){var c=a[0];return 9===c.nodeType?{width:a.width(),height:a.height(),offset:{top:0,left:0}}:b.isWindow(c)?{width:a.width(), -height:a.height(),offset:{top:a.scrollTop(),left:a.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:a.outerWidth(),height:a.outerHeight(),offset:a.offset()}}var d,e=Math.max,f=Math.abs,v=/left|center|right/,g=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,u=/^\w+/,m=/%$/,p=b.fn.position;b.position={scrollbarWidth:function(){if(void 0!==d)return d;var a,c,e=b("
"), +c,d){var e,f=this.options[a];if(d=d||{},c=b.Event(c),c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase(),c.target=this.element[0],a=c.originalEvent)for(e in a)e in c||(c[e]=a[e]);return this.element.trigger(c,d),!(b.isFunction(f)&&!1===f.apply(this.element[0],[c].concat(d))||c.isDefaultPrevented())}};b.each({show:"fadeIn",hide:"fadeOut"},function(a,c){b.Widget.prototype["_"+a]=function(d,e,f){"string"==typeof e&&(e={effect:e});var w=e?!0===e||"number"==typeof e?c:e.effect|| +c:a;e=e||{};"number"==typeof e&&(e={duration:e});var g=!b.isEmptyObject(e);e.complete=f;e.delay&&d.delay(e.delay);g&&b.effects&&b.effects.effect[w]?d[a](e):w!==a&&d[w]?d[w](e.duration,e.easing,f):d.queue(function(c){b(this)[a]();f&&f.call(d[0]);c()})}});b.widget;(function(){function a(a,b,c){return[parseFloat(a[0])*(l.test(a[0])?b/100:1),parseFloat(a[1])*(l.test(a[1])?c/100:1)]}function c(a){var c=a[0];return 9===c.nodeType?{width:a.width(),height:a.height(),offset:{top:0,left:0}}:b.isWindow(c)?{width:a.width(), +height:a.height(),offset:{top:a.scrollTop(),left:a.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:a.outerWidth(),height:a.outerHeight(),offset:a.offset()}}var d,e=Math.max,f=Math.abs,w=/left|center|right/,g=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,v=/^\w+/,l=/%$/,p=b.fn.position;b.position={scrollbarWidth:function(){if(void 0!==d)return d;var a,c,e=b("
"), f=e.children()[0];return b("body").append(e),a=f.offsetWidth,e.css("overflow","scroll"),c=f.offsetWidth,a===c&&(c=e[0].clientWidth),e.remove(),d=a-c},getScrollInfo:function(a){var c=a.isWindow||a.isDocument?"":a.element.css("overflow-x"),d=a.isWindow||a.isDocument?"":a.element.css("overflow-y");c="scroll"===c||"auto"===c&&a.widthc?"left":0C?"top":0G&&G>f(b+c)&&(h.horizontal="center");g>D&&D>f(q+C)&&(h.vertical="middle");h.important=e(f(b),f(c))>e(f(q),f(C))?"horizontal":"vertical";d.using.call(this,a,h)});v.offset(b.extend(N,{using:c}))})};b.ui.position={fit:{left:function(a,b){var c,d=b.within,f=d.isWindow?d.scrollLeft:d.offset.left;d=d.width;var v=a.left-b.collisionPosition.marginLeft, -u=f-v,g=v+b.collisionWidth-d-f;b.collisionWidth>d?0=g?(c=a.left+u+b.collisionWidth-d-f,a.left+=u-c):a.left=0=u?f:u>g?f+d-b.collisionWidth:f:0f?0=g?(c=a.top+u+b.collisionHeight-f-d,a.top+=u-c):a.top=0=u?d:u>g?d+f-b.collisionHeight:d:0h?(c=a.left+m+G+D+b.collisionWidth-u-v,(0>c||f(h)>c)&&(a.left+=m+G+D)):0f(d))&&(a.left+=m+G+D))},top:function(a,b){var c,d,e=b.within,v=e.offset.top+e.scrollTop,u=e.height;e=e.isWindow?e.scrollTop:e.offset.top;var g=a.top-b.collisionPosition.marginTop,h=g-e;g=g+b.collisionHeight-u-e;var m="top"===b.my[1]?-b.elemHeight:"bottom"===b.my[1]?b.elemHeight:0,G="top"===b.at[1]?b.targetHeight:"bottom"===b.at[1]?-b.targetHeight:0,D=-2*b.offset[1];0>h?(d=a.top+m+G+D+b.collisionHeight-u-v,(0>d||f(h)>d)&&(a.top+=m+G+D)):0f(c))&&(a.top+=m+G+D))}},flipfit:{left:function(){b.ui.position.flip.left.apply(this,arguments);b.ui.position.fit.left.apply(this,arguments)},top:function(){b.ui.position.flip.top.apply(this,arguments);b.ui.position.fit.top.apply(this,arguments)}}}})();b.ui.position;b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(a){return function(c){return!!b.data(c,a)}}):function(a,c,d){return!!b.data(a,d[3])}});b.fn.extend({disableSelection:function(){var a="onselectstart"in -document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});b.effects={effect:{}};(function(a,b){function c(a,b,c){var d=m[b.type]||{};return null==a?c||!b.def?null:b.def:(a=d.floor?~~a:parseFloat(a),isNaN(a)?b.def:d.mod?(a+d.mod)%d.mod:0>a?0:a>d.max?d.max:a)}function e(c){var d=h(),e=d._rgba=[];return c=c.toLowerCase(),l(g,function(a,f){var v; -a=(a=f.re.exec(c))&&f.parse(a);f=f.space||"rgba";return a?(v=d[f](a),d[u[f].cache]=v[u[f].cache],e=d._rgba=v._rgba,!1):b}),e.length?("0,0,0,0"===e.join()&&a.extend(e,z.transparent),d):z[c]}function f(a,b,c){return c=(c+1)%1,1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+6*(b-a)*(2/3-c):a}var v=/^([\-+])=\s*(\d+\.?\d*)/,g=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, +getWithinInfo:function(a){var c=b(a||window),d=b.isWindow(c[0]),e=!!c[0]&&9===c[0].nodeType;return{element:c,isWindow:d,isDocument:e,offset:d||e?{left:0,top:0}:b(a).offset(),scrollLeft:c.scrollLeft(),scrollTop:c.scrollTop(),width:c.outerWidth(),height:c.outerHeight()}}};b.fn.position=function(d){if(!d||!d.of)return p.apply(this,arguments);d=b.extend({},d);var l,H,C,k,G,m,n=b(d.of),r=b.position.getWithinInfo(d.within),z=b.position.getScrollInfo(r),t=(d.collision||"flip").split(" "),y={};return m=c(n), +n[0].preventDefault&&(d.at="left top"),H=m.width,C=m.height,k=m.offset,G=b.extend({},k),b.each(["my","at"],function(){var a=(d[this]||"").split(" ");1===a.length&&(a=w.test(a[0])?a.concat(["center"]):g.test(a[0])?["center"].concat(a):["center","center"]);a[0]=w.test(a[0])?a[0]:"center";a[1]=g.test(a[1])?a[1]:"center";var b=h.exec(a[0]);var c=h.exec(a[1]);y[this]=[b?b[0]:0,c?c[0]:0];d[this]=[v.exec(a[0])[0],v.exec(a[1])[0]]}),1===t.length&&(t[1]=t[0]),"right"===d.at[0]?G.left+=H:"center"===d.at[0]&& +(G.left+=H/2),"bottom"===d.at[1]?G.top+=C:"center"===d.at[1]&&(G.top+=C/2),l=a(y.at,H,C),G.left+=l[0],G.top+=l[1],this.each(function(){var c,w=b(this),v=w.outerWidth(),g=w.outerHeight(),h=parseInt(b.css(this,"marginLeft"),10)||0,p=parseInt(b.css(this,"marginTop"),10)||0,m=v+h+(parseInt(b.css(this,"marginRight"),10)||0)+z.width,Y=g+p+(parseInt(b.css(this,"marginBottom"),10)||0)+z.height,N=b.extend({},G),M=a(y.my,w.outerWidth(),w.outerHeight());"right"===d.my[0]?N.left-=v:"center"===d.my[0]&&(N.left-= +v/2);"bottom"===d.my[1]?N.top-=g:"center"===d.my[1]&&(N.top-=g/2);N.left+=M[0];N.top+=M[1];var B={marginLeft:h,marginTop:p};b.each(["left","top"],function(a,c){b.ui.position[t[a]]&&b.ui.position[t[a]][c](N,{targetWidth:H,targetHeight:C,elemWidth:v,elemHeight:g,collisionPosition:B,collisionWidth:m,collisionHeight:Y,offset:[l[0]+M[0],l[1]+M[1]],my:d.my,at:d.at,within:r,elem:w})});d.using&&(c=function(a){var b=k.left-N.left,c=b+H-v,q=k.top-N.top,D=q+C-g,h={target:{element:n,left:k.left,top:k.top,width:H, +height:C},element:{element:w,left:N.left,top:N.top,width:v,height:g},horizontal:0>c?"left":0D?"top":0H&&H>f(b+c)&&(h.horizontal="center");g>C&&C>f(q+D)&&(h.vertical="middle");h.important=e(f(b),f(c))>e(f(q),f(D))?"horizontal":"vertical";d.using.call(this,a,h)});w.offset(b.extend(N,{using:c}))})};b.ui.position={fit:{left:function(a,b){var c,d=b.within,f=d.isWindow?d.scrollLeft:d.offset.left;d=d.width;var w=a.left-b.collisionPosition.marginLeft, +v=f-w,g=w+b.collisionWidth-d-f;b.collisionWidth>d?0=g?(c=a.left+v+b.collisionWidth-d-f,a.left+=v-c):a.left=0=v?f:v>g?f+d-b.collisionWidth:f:0f?0=g?(c=a.top+v+b.collisionHeight-f-d,a.top+=v-c):a.top=0=v?d:v>g?d+f-b.collisionHeight:d:0h?(c=a.left+l+H+C+b.collisionWidth-v-w,(0>c||f(h)>c)&&(a.left+=l+H+C)):0f(d))&&(a.left+=l+H+C))},top:function(a,b){var c,d,e=b.within,w=e.offset.top+e.scrollTop,v=e.height;e=e.isWindow?e.scrollTop:e.offset.top;var g=a.top-b.collisionPosition.marginTop,h=g-e;g=g+b.collisionHeight-v-e;var l="top"===b.my[1]?-b.elemHeight:"bottom"===b.my[1]?b.elemHeight:0,H="top"===b.at[1]?b.targetHeight:"bottom"===b.at[1]?-b.targetHeight:0,C=-2*b.offset[1];0>h?(d=a.top+l+H+C+b.collisionHeight-v-w,(0>d||f(h)>d)&&(a.top+=l+H+C)):0f(c))&&(a.top+=l+H+C))}},flipfit:{left:function(){b.ui.position.flip.left.apply(this,arguments);b.ui.position.fit.left.apply(this,arguments)},top:function(){b.ui.position.flip.top.apply(this,arguments);b.ui.position.fit.top.apply(this,arguments)}}}})();b.ui.position;b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(a){return function(c){return!!b.data(c,a)}}):function(a,c,d){return!!b.data(a,d[3])}});b.fn.extend({disableSelection:function(){var a="onselectstart"in +document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});b.effects={effect:{}};(function(a,b){function c(a,b,c){var d=l[b.type]||{};return null==a?c||!b.def?null:b.def:(a=d.floor?~~a:parseFloat(a),isNaN(a)?b.def:d.mod?(a+d.mod)%d.mod:0>a?0:a>d.max?d.max:a)}function e(c){var d=h(),e=d._rgba=[];return c=c.toLowerCase(),m(g,function(a,f){var w; +a=(a=f.re.exec(c))&&f.parse(a);f=f.space||"rgba";return a?(w=d[f](a),d[v[f].cache]=w[v[f].cache],e=d._rgba=w._rgba,!1):b}),e.length?("0,0,0,0"===e.join()&&a.extend(e,n.transparent),d):n[c]}function f(a,b,c){return c=(c+1)%1,1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+6*(b-a)*(2/3-c):a}var w=/^([\-+])=\s*(\d+\.?\d*)/,g=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)%\s*,\s*(\d+(?:\.\d+)?)%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]}}], -h=a.Color=function(b,c,d,e){return new a.Color.fn.parse(b,c,d,e)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},p=h.support={},k=a("

")[0],l=a.each;k.style.cssText="background-color:rgba(1,1,1,.5)";p.rgba=-1a.inArray(null,m[f].slice(0,3))&&(m[f][3]=1,e.from&&(m._rgba=e.from(m[f])))}),this):b},is:function(a){var c=h(a),d=!0,e=this;return l(u,function(a,f){var v,u=c[f.cache];return u&&(v=e[f.cache]||f.to&&f.to(e._rgba)||[],l(f.props,function(a,c){return null!=u[c.idx]?d=u[c.idx]===v[c.idx]:b})),d}),d},_space:function(){var a=[],b=this;return l(u,function(c,d){b[d.cache]&& -a.push(c)}),a.pop()},transition:function(a,b){var d=h(a);a=d._space();var e=u[a],f=0===this.alpha()?h("transparent"):this,v=f[e.cache]||e.to(f._rgba),g=v.slice();return d=d[e.cache],l(e.props,function(a,e){a=e.idx;var f=v[a],u=d[a],h=m[e.type]||{};null!==u&&(null===f?g[a]=u:(h.mod&&(u-f>h.mod/2?f+=h.mod:f-u>h.mod/2&&(f-=h.mod)),g[a]=c((u-f)*b+f,e)))}),this[a](g)},blend:function(b){if(1===this._rgba[3])return this;var c=this._rgba.slice(),d=c.pop(),e=h(b)._rgba;return h(a.map(c,function(a,b){return(1- +h=a.Color=function(b,c,d,e){return new a.Color.fn.parse(b,c,d,e)},v={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},l={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},p=h.support={},k=a("

")[0],m=a.each;k.style.cssText="background-color:rgba(1,1,1,.5)";p.rgba=-1a.inArray(null,l[f].slice(0,3))&&(l[f][3]=1,e.from&&(l._rgba=e.from(l[f])))}),this):b},is:function(a){var c=h(a),d=!0,e=this;return m(v,function(a,f){var w,v=c[f.cache];return v&&(w=e[f.cache]||f.to&&f.to(e._rgba)||[],m(f.props,function(a,c){return null!=v[c.idx]?d=v[c.idx]===w[c.idx]:b})),d}),d},_space:function(){var a=[],b=this;return m(v,function(c,d){b[d.cache]&& +a.push(c)}),a.pop()},transition:function(a,b){var d=h(a);a=d._space();var e=v[a],f=0===this.alpha()?h("transparent"):this,w=f[e.cache]||e.to(f._rgba),g=w.slice();return d=d[e.cache],m(e.props,function(a,e){a=e.idx;var f=w[a],v=d[a],h=l[e.type]||{};null!==v&&(null===f?g[a]=v:(h.mod&&(v-f>h.mod/2?f+=h.mod:f-v>h.mod/2&&(f-=h.mod)),g[a]=c((v-f)*b+f,e)))}),this[a](g)},blend:function(b){if(1===this._rgba[3])return this;var c=this._rgba.slice(),d=c.pop(),e=h(b)._rgba;return h(a.map(c,function(a,b){return(1- d)*e[b]+d*a}))},toRgbaString:function(){var b="rgba(",c=a.map(this._rgba,function(a,b){return null==a?2b&&(a=Math.round(100*a)+"%"),a});return 1===c[3]&&(c.pop(),b="hsl("),b+c.join()+")"},toHexString:function(b){var c=this._rgba.slice(),d=c.pop();return b&&c.push(~~(255*d)),"#"+a.map(c,function(a){return a=(a||0).toString(16),1===a.length? -"0"+a:a}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}});h.fn.parse.prototype=h.fn;u.hsla.to=function(a){if(null==a[0]||null==a[1]||null==a[2])return[null,null,null,a[3]];var b,c,d=a[0]/255,e=a[1]/255,f=a[2]/255;a=a[3];var v=Math.max(d,e,f),u=Math.min(d,e,f),g=v-u,h=v+u,m=.5*h;return b=u===v?0:d===v?60*(e-f)/g+360:e===v?60*(f-d)/g+120:60*(d-e)/g+240,c=0===g?0:.5>=m?g/h:g/(2-h),[Math.round(b)%360,c,m,null==a?1:a]};u.hsla.from=function(a){if(null==a[0]|| -null==a[1]||null==a[2])return[null,null,null,a[3]];var b=a[0]/360,c=a[1],d=a[2];a=a[3];c=.5>=d?d*(1+c):d+c-d*c;d=2*d-c;return[Math.round(255*f(d,c,b+1/3)),Math.round(255*f(d,c,b)),Math.round(255*f(d,c,b-1/3)),a]};l(u,function(d,e){var f=e.props,u=e.cache,g=e.to,m=e.from;h.fn[d]=function(d){if(g&&!this[u]&&(this[u]=g(this._rgba)),d===b)return this[u].slice();var e,v=a.type(d),G="array"===v||"object"===v?d:arguments,D=this[u].slice();return l(f,function(a,b){a=G["object"===v?a:b.idx];null==a&&(a=D[b.idx]); -D[b.idx]=c(a,b)}),m?(e=h(m(D)),e[u]=D,e):h(D)};l(f,function(b,c){h.fn[b]||(h.fn[b]=function(e){var f,u=a.type(e),g="alpha"===b?this._hsla?"hsla":"rgba":d,h=this[g](),m=h[c.idx];return"undefined"===u?m:("function"===u&&(e=e.call(this,m),u=a.type(e)),null==e&&c.empty?this:("string"===u&&(f=v.exec(e),f&&(e=m+parseFloat(f[2])*("+"===f[1]?1:-1))),h[c.idx]=e,this[g](h)))})})});h.hook=function(b){b=b.split(" ");l(b,function(b,c){a.cssHooks[c]={set:function(b,d){var f,v="";if("transparent"!==d&&("string"!== -a.type(d)||(f=e(d)))){if(d=h(f||d),!p.rgba&&1!==d._rgba[3]){for(f="backgroundColor"===c?b.parentNode:b;(""===v||"transparent"===v)&&f&&f.style;)try{v=a.css(f,"backgroundColor"),f=f.parentNode}catch(ca){}d=d.blend(v&&"transparent"!==v?v:"_default")}d=d.toRgbaString()}try{b.style[c]=d}catch(ca){}}};a.fx.step[c]=function(b){b.colorInit||(b.start=h(b.elem,c),b.end=h(b.end),b.colorInit=!0);a.cssHooks[c].set(b.elem,b.start.transition(b.end,b.pos))}})};h.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"); -a.cssHooks.borderColor={expand:function(a){var b={};return l(["Top","Right","Bottom","Left"],function(c,d){b["border"+d+"Color"]=a}),b}};var z=a.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(b);(function(){function a(a){var c=a.ownerDocument.defaultView? +"0"+a:a}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}});h.fn.parse.prototype=h.fn;v.hsla.to=function(a){if(null==a[0]||null==a[1]||null==a[2])return[null,null,null,a[3]];var b,c,d=a[0]/255,e=a[1]/255,f=a[2]/255;a=a[3];var w=Math.max(d,e,f),v=Math.min(d,e,f),g=w-v,h=w+v,l=.5*h;return b=v===w?0:d===w?60*(e-f)/g+360:e===w?60*(f-d)/g+120:60*(d-e)/g+240,c=0===g?0:.5>=l?g/h:g/(2-h),[Math.round(b)%360,c,l,null==a?1:a]};v.hsla.from=function(a){if(null==a[0]|| +null==a[1]||null==a[2])return[null,null,null,a[3]];var b=a[0]/360,c=a[1],d=a[2];a=a[3];c=.5>=d?d*(1+c):d+c-d*c;d=2*d-c;return[Math.round(255*f(d,c,b+1/3)),Math.round(255*f(d,c,b)),Math.round(255*f(d,c,b-1/3)),a]};m(v,function(d,e){var f=e.props,v=e.cache,g=e.to,l=e.from;h.fn[d]=function(d){if(g&&!this[v]&&(this[v]=g(this._rgba)),d===b)return this[v].slice();var e,w=a.type(d),H="array"===w||"object"===w?d:arguments,C=this[v].slice();return m(f,function(a,b){a=H["object"===w?a:b.idx];null==a&&(a=C[b.idx]); +C[b.idx]=c(a,b)}),l?(e=h(l(C)),e[v]=C,e):h(C)};m(f,function(b,c){h.fn[b]||(h.fn[b]=function(e){var f,v=a.type(e),g="alpha"===b?this._hsla?"hsla":"rgba":d,h=this[g](),l=h[c.idx];return"undefined"===v?l:("function"===v&&(e=e.call(this,l),v=a.type(e)),null==e&&c.empty?this:("string"===v&&(f=w.exec(e),f&&(e=l+parseFloat(f[2])*("+"===f[1]?1:-1))),h[c.idx]=e,this[g](h)))})})});h.hook=function(b){b=b.split(" ");m(b,function(b,c){a.cssHooks[c]={set:function(b,d){var f,w="";if("transparent"!==d&&("string"!== +a.type(d)||(f=e(d)))){if(d=h(f||d),!p.rgba&&1!==d._rgba[3]){for(f="backgroundColor"===c?b.parentNode:b;(""===w||"transparent"===w)&&f&&f.style;)try{w=a.css(f,"backgroundColor"),f=f.parentNode}catch(ca){}d=d.blend(w&&"transparent"!==w?w:"_default")}d=d.toRgbaString()}try{b.style[c]=d}catch(ca){}}};a.fx.step[c]=function(b){b.colorInit||(b.start=h(b.elem,c),b.end=h(b.end),b.colorInit=!0);a.cssHooks[c].set(b.elem,b.start.transition(b.end,b.pos))}})};h.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"); +a.cssHooks.borderColor={expand:function(a){var b={};return m(["Top","Right","Bottom","Left"],function(c,d){b["border"+d+"Color"]=a}),b}};var n=a.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(b);(function(){function a(a){var c=a.ownerDocument.defaultView? a.ownerDocument.defaultView.getComputedStyle(a,null):a.currentStyle,d={};if(c&&c.length&&c[0]&&c[c[0]])for(a=c.length;a--;){var e=c[a];"string"==typeof c[e]&&(d[b.camelCase(e)]=c[e])}else for(e in c)"string"==typeof c[e]&&(d[e]=c[e]);return d}var c=["add","remove","toggle"],d={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};b.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(a,c){b.fx.step[c]=function(a){("none"!== -a.end&&!a.setAttr||1===a.pos&&!a.setAttr)&&(b.style(a.elem,c,a.end),a.setAttr=!0)}});b.fn.addBack||(b.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))});b.effects.animateClass=function(e,f,v,g){var h=b.speed(f,v,g);return this.queue(function(){var f=b(this),v=f.attr("class")||"",g=h.children?f.find("*").addBack():f;g=g.map(function(){return{el:b(this),start:a(this)}});var m=function(){b.each(c,function(a,b){e[b]&&f[b+"Class"](e[b])})};m();g=g.map(function(){this.end= -a(this.el[0]);var c=this.start,e=this.end,f,v={};for(f in e){var g=e[f];c[f]!==g&&(d[f]||(b.fx.step[f]||!isNaN(parseFloat(g)))&&(v[f]=g))}return this.diff=v,this});f.attr("class",v);g=g.map(function(){var a=this,c=b.Deferred(),d=b.extend({},h,{queue:!1,complete:function(){c.resolve(a)}});return this.el.animate(this.diff,d),c.promise()});b.when.apply(b,g.get()).done(function(){m();b.each(arguments,function(){var a=this.el;b.each(this.diff,function(b){a.css(b,"")})});h.complete.call(f[0])})})};b.fn.extend({addClass:function(a){return function(c, -d,e,g){return d?b.effects.animateClass.call(this,{add:c},d,e,g):a.apply(this,arguments)}}(b.fn.addClass),removeClass:function(a){return function(c,d,e,g){return 1c;c++)null!==b[c]&&a.data("ui-effects-"+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c,d=0,e=b.length;e>d;d++)null!==b[d]&&(c=a.data("ui-effects-"+b[d]),a.css(b[d],c))},setMode:function(a,b){return"toggle"===b&&(b=a.is(":hidden")?"show":"hide"),b},createWrapper:function(a){if(a.parent().is(".ui-effects-wrapper"))return a.parent(); -var c={width:a.outerWidth(!0),height:a.outerHeight(!0),"float":a.css("float")},d=b("

").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:a.width(),height:a.height()},g=document.activeElement;try{g.id}catch(u){g=document.body}return a.wrap(d),(a[0]===g||b.contains(a[0],g))&&b(g).trigger("focus"),d=a.parent(),"static"===a.css("position")?(d.css({position:"relative"}),a.css({position:"relative"})):(b.extend(c,{position:a.css("position"), +var c={width:a.outerWidth(!0),height:a.outerHeight(!0),"float":a.css("float")},d=b("
").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:a.width(),height:a.height()},g=document.activeElement;try{g.id}catch(v){g=document.body}return a.wrap(d),(a[0]===g||b.contains(a[0],g))&&b(g).trigger("focus"),d=a.parent(),"static"===a.css("position")?(d.css({position:"relative"}),a.css({position:"relative"})):(b.extend(c,{position:a.css("position"), zIndex:a.css("z-index")}),b.each(["top","left","bottom","right"],function(b,d){c[d]=a.css(d);isNaN(parseInt(c[d],10))&&(c[d]="auto")}),a.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),a.css(e),d.css(c).show()},removeWrapper:function(a){var c=document.activeElement;return a.parent().is(".ui-effects-wrapper")&&(a.parent().replaceWith(a),(a[0]===c||b.contains(a[0],c))&&b(c).trigger("focus")),a}});b.extend(b.effects,{version:"1.12.1",define:function(a,c,d){return d||(d=c,c="effect"), b.effects.effect[a]=d,b.effects.effect[a].mode=c,d},scaledDimensions:function(a,b,c){if(0===b)return{height:0,width:0,outerHeight:0,outerWidth:0};var d="horizontal"!==c?(b||100)/100:1;b="vertical"!==c?(b||100)/100:1;return{height:a.height()*b,width:a.width()*d,outerHeight:a.outerHeight()*b,outerWidth:a.outerWidth()*d}},clipToBox:function(a){return{width:a.clip.right-a.clip.left,height:a.clip.bottom-a.clip.top,left:a.clip.left,top:a.clip.top}},unshift:function(a,b,c){var d=a.queue();1").insertAfter(a).css({display:/^(inline|ruby)/.test(a.css("display"))? "inline-block":"block",visibility:"hidden",marginTop:a.css("marginTop"),marginBottom:a.css("marginBottom"),marginLeft:a.css("marginLeft"),marginRight:a.css("marginRight"),"float":a.css("float")}).outerWidth(a.outerWidth()).outerHeight(a.outerHeight()).addClass("ui-effects-placeholder"),a.data("ui-effects-placeholder",c)),a.css({position:d,left:e.left,top:e.top}),c},removePlaceholder:function(a){var b=a.data("ui-effects-placeholder");b&&(b.remove(),a.removeData("ui-effects-placeholder"))},cleanUp:function(a){b.effects.restoreStyle(a); -b.effects.removePlaceholder(a)},setTransition:function(a,c,d,g){return g=g||{},b.each(c,function(b,c){b=a.cssUnit(c);0
").appendTo("body").addClass(a.className).css({top:m.top- -h,left:m.left-g,height:d.innerHeight(),width:d.innerWidth(),position:f?"fixed":"absolute"}).animate(e,a.duration,a.easing,function(){p.remove();b.isFunction(c)&&c()})}});b.fx.step.clip=function(a){a.clipInit||(a.start=b(a.elem).cssClip(),"string"==typeof a.end&&(a.end=d(a.end,a.elem)),a.clipInit=!0);b(a.elem).cssClip({top:a.pos*(a.end.top-a.start.top)+a.start.top,right:a.pos*(a.end.right-a.start.right)+a.start.right,bottom:a.pos*(a.end.bottom-a.start.bottom)+a.start.bottom,left:a.pos*(a.end.left- +"px","%","pt"],function(a,b){0
").appendTo("body").addClass(a.className).css({top:l.top- +h,left:l.left-g,height:d.innerHeight(),width:d.innerWidth(),position:f?"fixed":"absolute"}).animate(e,a.duration,a.easing,function(){p.remove();b.isFunction(c)&&c()})}});b.fx.step.clip=function(a){a.clipInit||(a.start=b(a.elem).cssClip(),"string"==typeof a.end&&(a.end=d(a.end,a.elem)),a.clipInit=!0);b(a.elem).cssClip({top:a.pos*(a.end.top-a.start.top)+a.start.top,right:a.pos*(a.end.right-a.start.right)+a.start.right,bottom:a.pos*(a.end.bottom-a.start.bottom)+a.start.bottom,left:a.pos*(a.end.left- a.start.left)+a.start.left})}})();(function(){var a={};b.each(["Quad","Cubic","Quart","Quint","Expo"],function(b,d){a[d]=function(a){return Math.pow(a,b+2)}});b.extend(a,{Sine:function(a){return 1-Math.cos(a*Math.PI/2)},Circ:function(a){return 1-Math.sqrt(1-a*a)},Elastic:function(a){return 0===a||1===a?a:-Math.pow(2,8*(a-1))*Math.sin((80*(a-1)-7.5)*Math.PI/15)},Back:function(a){return a*a*(3*a-2)},Bounce:function(a){for(var b,c=4;((b=Math.pow(2,--c))-1)/11>a;);return 1/Math.pow(4,3-c)-7.5625*Math.pow((3* -b-2)/22-a,2)}});b.each(a,function(a,d){b.easing["easeIn"+a]=d;b.easing["easeOut"+a]=function(a){return 1-d(1-a)};b.easing["easeInOut"+a]=function(a){return.5>a?d(2*a)/2:1-d(-2*a+2)/2}})})();b.effects.define("blind","hide",function(a,c){var d={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},e=b(this),f=a.direction||"up",v=e.cssClip(),g={clip:b.extend({},v)},h=b.effects.createPlaceholder(e);g.clip[d[f][0]]= -g.clip[d[f][1]];"show"===a.mode&&(e.cssClip(g.clip),h&&h.css(b.effects.clipToBox(g)),g.clip=v);h&&h.animate(b.effects.clipToBox(g),a.duration,a.easing);e.animate(g,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("bounce",function(a,c){var d,e=b(this),f=a.mode,v="hide"===f;f="show"===f;var g=a.direction||"up";var h=a.distance,u=a.times||5,m=2*u+(f||v?1:0),p=a.duration/m;a=a.easing;var l="up"===g||"down"===g?"top":"left",k="up"===g||"left"===g,z=0,n=e.queue().length;b.effects.createPlaceholder(e); -g=e.css(l);h||(h=e["top"===l?"outerHeight":"outerWidth"]()/3);f&&(d={opacity:1},d[l]=g,e.css("opacity",0).css(l,k?2*-h:2*h).animate(d,p,a));v&&(h/=Math.pow(2,u-1));d={};for(d[l]=g;u>z;z++){var y={};y[l]=(k?"-=":"+=")+h;e.animate(y,p,a).animate(d,p,a);h=v?2*h:h/2}v&&(y={opacity:0},y[l]=(k?"-=":"+=")+h,e.animate(y,p,a));e.queue(c);b.effects.unshift(e,n,m+1)});b.effects.define("clip","hide",function(a,c){var d={},e=b(this);var f=a.direction||"vertical";var g="both"===f,h=g||"horizontal"===f;g=g||"vertical"=== -f;f=e.cssClip();d.clip={top:g?(f.bottom-f.top)/2:f.top,right:h?(f.right-f.left)/2:f.right,bottom:g?(f.bottom-f.top)/2:f.bottom,left:h?(f.right-f.left)/2:f.left};b.effects.createPlaceholder(e);"show"===a.mode&&(e.cssClip(d.clip),d.clip=f);e.animate(d,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("drop","hide",function(a,c){var d=b(this),e="show"===a.mode;var f=a.direction||"left";var g="up"===f||"down"===f?"top":"left",h="up"===f||"left"===f?"-=":"+=",m="+="===h?"-=": -"+=",u={opacity:0};b.effects.createPlaceholder(d);f=a.distance||d["top"===g?"outerHeight":"outerWidth"](!0)/2;u[g]=h+f;e&&(d.css(u),u[g]=m+f,u.opacity=1);d.animate(u,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("explode","hide",function(a,c){function d(){k.push(this);k.length===g*h&&(m.css({visibility:"visible"}),b(k).remove(),c())}var e,f,g=a.pieces?Math.round(Math.sqrt(a.pieces)):3,h=g,m=b(this),u="show"===a.mode,D=m.show().css("visibility","hidden").offset(),p= -Math.ceil(m.outerWidth()/h),l=Math.ceil(m.outerHeight()/g),k=[];for(e=0;g>e;e++){var z=D.top+e*l;var n=e-(g-1)/2;for(f=0;h>f;f++){var y=D.left+f*p;var r=f-(h-1)/2;m.clone().appendTo("body").wrap("
").css({position:"absolute",visibility:"visible",left:-f*p,top:-e*l}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:l,left:y+(u?r*p:0),top:z+(u?n*l:0),opacity:u?0:1}).animate({left:y+(u?0:r*p),top:z+(u?0:n*l),opacity:u?1:0},a.duration||500,a.easing, -d)}}});b.effects.define("fade","toggle",function(a,c){var d="show"===a.mode;b(this).css("opacity",d?0:1).animate({opacity:d?1:0},{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("fold","hide",function(a,c){var d=b(this),e=a.mode,f="show"===e;e="hide"===e;var g=a.size||15,h=/([0-9]+)%/.exec(g),m=a.horizFirst?["right","bottom"]:["bottom","right"],u=a.duration/2,p=b.effects.createPlaceholder(d),l=d.cssClip(),k={clip:b.extend({},l)},z={clip:b.extend({},l)},n=[l[m[0]],l[m[1]]], -y=d.queue().length;h&&(g=parseInt(h[1],10)/100*n[e?0:1]);k.clip[m[0]]=g;z.clip[m[0]]=g;z.clip[m[1]]=0;f&&(d.cssClip(z.clip),p&&p.css(b.effects.clipToBox(z)),z.clip=l);d.queue(function(c){p&&p.animate(b.effects.clipToBox(k),u,a.easing).animate(b.effects.clipToBox(z),u,a.easing);c()}).animate(k,u,a.easing).animate(z,u,a.easing).queue(c);b.effects.unshift(d,y,4)});b.effects.define("highlight","show",function(a,c){var d=b(this),e={backgroundColor:d.css("backgroundColor")};"hide"===a.mode&&(e.opacity= -0);b.effects.saveStyle(d);d.css({backgroundImage:"none",backgroundColor:a.color||"#ffff99"}).animate(e,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("size",function(a,c){var d,e,f=b(this),g=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],m=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=a.mode,p="effect"!==u,l=a.scale||"both",k=a.origin||["middle","center"],z=f.css("position"),n=f.position(),y=b.effects.scaledDimensions(f), -r=a.from||y,x=a.to||b.effects.scaledDimensions(f,0);b.effects.createPlaceholder(f);"show"===u&&(e=r,r=x,x=e);var B=r.height/y.height;var ba=r.width/y.width;var I=x.height/y.height;var R=x.width/y.width;("box"===l||"both"===l)&&(B!==I&&(r=b.effects.setTransition(f,h,B,r),x=b.effects.setTransition(f,h,I,x)),ba!==R&&(r=b.effects.setTransition(f,m,ba,r),x=b.effects.setTransition(f,m,R,x)));("content"===l||"both"===l)&&B!==I&&(r=b.effects.setTransition(f,g,B,r),x=b.effects.setTransition(f,g,I,x));k&&(d= -b.effects.getBaseline(k,y),r.top=(y.outerHeight-r.outerHeight)*d.y+n.top,r.left=(y.outerWidth-r.outerWidth)*d.x+n.left,x.top=(y.outerHeight-x.outerHeight)*d.y+n.top,x.left=(y.outerWidth-x.outerWidth)*d.x+n.left);f.css(r);"content"!==l&&"both"!==l||(h=h.concat(["marginTop","marginBottom"]).concat(g),m=m.concat(["marginLeft","marginRight"]),f.find("*[width]").each(function(){var c=b(this),d=b.effects.scaledDimensions(c),e={height:d.height*B,width:d.width*ba,outerHeight:d.outerHeight*B,outerWidth:d.outerWidth* -ba};d={height:d.height*I,width:d.width*R,outerHeight:d.height*I,outerWidth:d.width*R};B!==I&&(e=b.effects.setTransition(c,h,B,e),d=b.effects.setTransition(c,h,I,d));ba!==R&&(e=b.effects.setTransition(c,m,ba,e),d=b.effects.setTransition(c,m,R,d));p&&b.effects.saveStyle(c);c.css(e);c.animate(d,a.duration,a.easing,function(){p&&b.effects.restoreStyle(c)})}));f.animate(x,{queue:!1,duration:a.duration,easing:a.easing,complete:function(){var a=f.offset();0===x.opacity&&f.css("opacity",r.opacity);p||(f.css("position", -"static"===z?"relative":z).offset(a),b.effects.saveStyle(f));c()}})});b.effects.define("scale",function(a,c){var d=b(this),e=a.mode;e=parseInt(a.percent,10)||(0===parseInt(a.percent,10)?0:"effect"!==e?0:100);d=b.extend(!0,{from:b.effects.scaledDimensions(d),to:b.effects.scaledDimensions(d,e,a.direction||"both"),origin:a.origin||["middle","center"]},a);a.fade&&(d.from.opacity=1,d.to.opacity=0);b.effects.effect.size.call(this,d,c)});b.effects.define("puff","hide",function(a,c){a=b.extend(!0,{},a,{fade:!0, -percent:parseInt(a.percent,10)||150});b.effects.effect.scale.call(this,a,c)});b.effects.define("pulsate","show",function(a,c){var d=b(this),e=a.mode,f="show"===e;e=2*(a.times||5)+(f||"hide"===e?1:0);var g=a.duration/e,h=0,m=1,u=d.queue().length;for((f||!d.is(":visible"))&&(d.css("opacity",0).show(),h=1);e>m;m++)d.animate({opacity:h},g,a.easing),h=1-h;d.animate({opacity:h},g,a.easing);d.queue(c);b.effects.unshift(d,u,e+1)});b.effects.define("shake",function(a,c){var d=1,e=b(this),f=a.direction||"left", -g=a.distance||20,h=a.times||3,m=2*h+1,u=Math.round(a.duration/m),p="up"===f||"down"===f?"top":"left";f="up"===f||"left"===f;var l={},k={},z={},n=e.queue().length;b.effects.createPlaceholder(e);l[p]=(f?"-=":"+=")+g;k[p]=(f?"+=":"-=")+2*g;z[p]=(f?"-=":"+=")+2*g;for(e.animate(l,u,a.easing);h>d;d++)e.animate(k,u,a.easing).animate(z,u,a.easing);e.animate(k,u,a.easing).animate(l,u/2,a.easing).queue(c);b.effects.unshift(e,n,m+1)});b.effects.define("slide","show",function(a,c){var d=b(this),e={up:["bottom", -"top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},f=a.mode,g=a.direction||"left",h="up"===g||"down"===g?"top":"left",m="up"===g||"left"===g,u=a.distance||d["top"===h?"outerHeight":"outerWidth"](!0),p={};b.effects.createPlaceholder(d);var l=d.cssClip();var k=d.position()[h];p[h]=(m?-1:1)*u+k;p.clip=d.cssClip();p.clip[e[g][1]]=p.clip[e[g][0]];"show"===f&&(d.cssClip(p.clip),d.css(h,p[h]),p.clip=l,p[h]=k);d.animate(p,{queue:!1,duration:a.duration,easing:a.easing,complete:c})}); -!1!==b.uiBackCompat&&b.effects.define("transfer",function(a,c){b(this).transfer(a,c)});b.ui.focusable=function(a,c){var d,e,f,g,h,m=a.nodeName.toLowerCase();if("area"===m)a=(d=a.parentNode,e=d.name,a.href&&e&&"map"===d.nodeName.toLowerCase()?(f=b("img[usemap='#"+e+"']"),0a?d(2*a)/2:1-d(-2*a+2)/2}})})();b.effects.define("blind","hide",function(a,c){var d={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},e=b(this),f=a.direction||"up",w=e.cssClip(),g={clip:b.extend({},w)},h=b.effects.createPlaceholder(e);g.clip[d[f][0]]= +g.clip[d[f][1]];"show"===a.mode&&(e.cssClip(g.clip),h&&h.css(b.effects.clipToBox(g)),g.clip=w);h&&h.animate(b.effects.clipToBox(g),a.duration,a.easing);e.animate(g,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("bounce",function(a,c){var d,e=b(this),f=a.mode,w="hide"===f;f="show"===f;var g=a.direction||"up";var h=a.distance,v=a.times||5,l=2*v+(f||w?1:0),p=a.duration/l;a=a.easing;var m="up"===g||"down"===g?"top":"left",k="up"===g||"left"===g,n=0,r=e.queue().length;b.effects.createPlaceholder(e); +g=e.css(m);h||(h=e["top"===m?"outerHeight":"outerWidth"]()/3);f&&(d={opacity:1},d[m]=g,e.css("opacity",0).css(m,k?2*-h:2*h).animate(d,p,a));w&&(h/=Math.pow(2,v-1));d={};for(d[m]=g;v>n;n++){var z={};z[m]=(k?"-=":"+=")+h;e.animate(z,p,a).animate(d,p,a);h=w?2*h:h/2}w&&(z={opacity:0},z[m]=(k?"-=":"+=")+h,e.animate(z,p,a));e.queue(c);b.effects.unshift(e,r,l+1)});b.effects.define("clip","hide",function(a,c){var d={},e=b(this);var f=a.direction||"vertical";var g="both"===f,h=g||"horizontal"===f;g=g||"vertical"=== +f;f=e.cssClip();d.clip={top:g?(f.bottom-f.top)/2:f.top,right:h?(f.right-f.left)/2:f.right,bottom:g?(f.bottom-f.top)/2:f.bottom,left:h?(f.right-f.left)/2:f.left};b.effects.createPlaceholder(e);"show"===a.mode&&(e.cssClip(d.clip),d.clip=f);e.animate(d,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("drop","hide",function(a,c){var d=b(this),e="show"===a.mode;var f=a.direction||"left";var g="up"===f||"down"===f?"top":"left",h="up"===f||"left"===f?"-=":"+=",l="+="===h?"-=": +"+=",v={opacity:0};b.effects.createPlaceholder(d);f=a.distance||d["top"===g?"outerHeight":"outerWidth"](!0)/2;v[g]=h+f;e&&(d.css(v),v[g]=l+f,v.opacity=1);d.animate(v,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("explode","hide",function(a,c){function d(){k.push(this);k.length===g*h&&(l.css({visibility:"visible"}),b(k).remove(),c())}var e,f,g=a.pieces?Math.round(Math.sqrt(a.pieces)):3,h=g,l=b(this),v="show"===a.mode,C=l.show().css("visibility","hidden").offset(),p= +Math.ceil(l.outerWidth()/h),m=Math.ceil(l.outerHeight()/g),k=[];for(e=0;g>e;e++){var n=C.top+e*m;var r=e-(g-1)/2;for(f=0;h>f;f++){var z=C.left+f*p;var t=f-(h-1)/2;l.clone().appendTo("body").wrap("
").css({position:"absolute",visibility:"visible",left:-f*p,top:-e*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:m,left:z+(v?t*p:0),top:n+(v?r*m:0),opacity:v?0:1}).animate({left:z+(v?0:t*p),top:n+(v?0:r*m),opacity:v?1:0},a.duration||500,a.easing, +d)}}});b.effects.define("fade","toggle",function(a,c){var d="show"===a.mode;b(this).css("opacity",d?0:1).animate({opacity:d?1:0},{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("fold","hide",function(a,c){var d=b(this),e=a.mode,f="show"===e;e="hide"===e;var g=a.size||15,h=/([0-9]+)%/.exec(g),l=a.horizFirst?["right","bottom"]:["bottom","right"],v=a.duration/2,p=b.effects.createPlaceholder(d),m=d.cssClip(),k={clip:b.extend({},m)},n={clip:b.extend({},m)},r=[m[l[0]],m[l[1]]], +z=d.queue().length;h&&(g=parseInt(h[1],10)/100*r[e?0:1]);k.clip[l[0]]=g;n.clip[l[0]]=g;n.clip[l[1]]=0;f&&(d.cssClip(n.clip),p&&p.css(b.effects.clipToBox(n)),n.clip=m);d.queue(function(c){p&&p.animate(b.effects.clipToBox(k),v,a.easing).animate(b.effects.clipToBox(n),v,a.easing);c()}).animate(k,v,a.easing).animate(n,v,a.easing).queue(c);b.effects.unshift(d,z,4)});b.effects.define("highlight","show",function(a,c){var d=b(this),e={backgroundColor:d.css("backgroundColor")};"hide"===a.mode&&(e.opacity= +0);b.effects.saveStyle(d);d.css({backgroundImage:"none",backgroundColor:a.color||"#ffff99"}).animate(e,{queue:!1,duration:a.duration,easing:a.easing,complete:c})});b.effects.define("size",function(a,c){var d,e,f=b(this),g=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],l=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],v=a.mode,p="effect"!==v,m=a.scale||"both",k=a.origin||["middle","center"],n=f.css("position"),r=f.position(),z=b.effects.scaledDimensions(f), +t=a.from||z,y=a.to||b.effects.scaledDimensions(f,0);b.effects.createPlaceholder(f);"show"===v&&(e=t,t=y,y=e);var B=t.height/z.height;var ba=t.width/z.width;var I=y.height/z.height;var R=y.width/z.width;("box"===m||"both"===m)&&(B!==I&&(t=b.effects.setTransition(f,h,B,t),y=b.effects.setTransition(f,h,I,y)),ba!==R&&(t=b.effects.setTransition(f,l,ba,t),y=b.effects.setTransition(f,l,R,y)));("content"===m||"both"===m)&&B!==I&&(t=b.effects.setTransition(f,g,B,t),y=b.effects.setTransition(f,g,I,y));k&&(d= +b.effects.getBaseline(k,z),t.top=(z.outerHeight-t.outerHeight)*d.y+r.top,t.left=(z.outerWidth-t.outerWidth)*d.x+r.left,y.top=(z.outerHeight-y.outerHeight)*d.y+r.top,y.left=(z.outerWidth-y.outerWidth)*d.x+r.left);f.css(t);"content"!==m&&"both"!==m||(h=h.concat(["marginTop","marginBottom"]).concat(g),l=l.concat(["marginLeft","marginRight"]),f.find("*[width]").each(function(){var c=b(this),d=b.effects.scaledDimensions(c),e={height:d.height*B,width:d.width*ba,outerHeight:d.outerHeight*B,outerWidth:d.outerWidth* +ba};d={height:d.height*I,width:d.width*R,outerHeight:d.height*I,outerWidth:d.width*R};B!==I&&(e=b.effects.setTransition(c,h,B,e),d=b.effects.setTransition(c,h,I,d));ba!==R&&(e=b.effects.setTransition(c,l,ba,e),d=b.effects.setTransition(c,l,R,d));p&&b.effects.saveStyle(c);c.css(e);c.animate(d,a.duration,a.easing,function(){p&&b.effects.restoreStyle(c)})}));f.animate(y,{queue:!1,duration:a.duration,easing:a.easing,complete:function(){var a=f.offset();0===y.opacity&&f.css("opacity",t.opacity);p||(f.css("position", +"static"===n?"relative":n).offset(a),b.effects.saveStyle(f));c()}})});b.effects.define("scale",function(a,c){var d=b(this),e=a.mode;e=parseInt(a.percent,10)||(0===parseInt(a.percent,10)?0:"effect"!==e?0:100);d=b.extend(!0,{from:b.effects.scaledDimensions(d),to:b.effects.scaledDimensions(d,e,a.direction||"both"),origin:a.origin||["middle","center"]},a);a.fade&&(d.from.opacity=1,d.to.opacity=0);b.effects.effect.size.call(this,d,c)});b.effects.define("puff","hide",function(a,c){a=b.extend(!0,{},a,{fade:!0, +percent:parseInt(a.percent,10)||150});b.effects.effect.scale.call(this,a,c)});b.effects.define("pulsate","show",function(a,c){var d=b(this),e=a.mode,f="show"===e;e=2*(a.times||5)+(f||"hide"===e?1:0);var g=a.duration/e,h=0,l=1,v=d.queue().length;for((f||!d.is(":visible"))&&(d.css("opacity",0).show(),h=1);e>l;l++)d.animate({opacity:h},g,a.easing),h=1-h;d.animate({opacity:h},g,a.easing);d.queue(c);b.effects.unshift(d,v,e+1)});b.effects.define("shake",function(a,c){var d=1,e=b(this),f=a.direction||"left", +g=a.distance||20,h=a.times||3,l=2*h+1,v=Math.round(a.duration/l),p="up"===f||"down"===f?"top":"left";f="up"===f||"left"===f;var m={},k={},n={},r=e.queue().length;b.effects.createPlaceholder(e);m[p]=(f?"-=":"+=")+g;k[p]=(f?"+=":"-=")+2*g;n[p]=(f?"-=":"+=")+2*g;for(e.animate(m,v,a.easing);h>d;d++)e.animate(k,v,a.easing).animate(n,v,a.easing);e.animate(k,v,a.easing).animate(m,v/2,a.easing).queue(c);b.effects.unshift(e,r,l+1)});b.effects.define("slide","show",function(a,c){var d=b(this),e={up:["bottom", +"top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},f=a.mode,g=a.direction||"left",h="up"===g||"down"===g?"top":"left",l="up"===g||"left"===g,v=a.distance||d["top"===h?"outerHeight":"outerWidth"](!0),p={};b.effects.createPlaceholder(d);var m=d.cssClip();var k=d.position()[h];p[h]=(l?-1:1)*v+k;p.clip=d.cssClip();p.clip[e[g][1]]=p.clip[e[g][0]];"show"===f&&(d.cssClip(p.clip),d.css(h,p[h]),p.clip=m,p[h]=k);d.animate(p,{queue:!1,duration:a.duration,easing:a.easing,complete:c})}); +!1!==b.uiBackCompat&&b.effects.define("transfer",function(a,c){b(this).transfer(a,c)});b.ui.focusable=function(a,c){var d,e,f,g,h,l=a.nodeName.toLowerCase();if("area"===l)a=(d=a.parentNode,e=d.name,a.href&&e&&"map"===d.nodeName.toLowerCase()?(f=b("img[usemap='#"+e+"']"),0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu", blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=!1;this.element.uniqueId().attr({role:this.options.role,tabIndex:0});this._addClass("ui-menu","ui-widget ui-widget-content");this._on({"mousedown .ui-menu-item":function(a){a.preventDefault()},"click .ui-menu-item":function(a){var c=b(a.target),d=b(b.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&c.not(".ui-state-disabled").length&&(this.select(a),a.isPropagationStopped()||(this.mouseHandled= !0),c.has(".ui-menu").length?this.expand(a):!this.element.is(":focus")&&d.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(a){if(!this.previousFilter){var c=b(a.target).closest(".ui-menu-item"),d=b(a.currentTarget);c[0]===d[0]&&(this._removeClass(d.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(a,d))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll", @@ -324,13 +324,13 @@ a,{item:this.selectedItem})},_normalize:function(a){return a.length&&a[0].label& _resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(a,c){var d=this;b.each(c,function(b,c){d._renderItemData(a,c)})},_renderItemData:function(a,b){return this._renderItem(a,b).data("ui-autocomplete-item",b)},_renderItem:function(a,c){return b("
  • ").append(b("
    ").text(c.label)).appendTo(a)},_move:function(a,b){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(a)||this.menu.isLastItem()&& /^next/.test(a)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[a](b),void 0):(this.search(null,b),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(a,b){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(a,b),b.preventDefault())},_isContentEditable:function(a){if(!a.length)return!1;var b=a.prop("contentEditable");return"inherit"===b?this._isContentEditable(a.parent()): "true"===b}});b.extend(b.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(a,c){var d=RegExp(b.ui.autocomplete.escapeRegex(c),"i");return b.grep(a,function(a){return d.test(a.label||a.value||a)})}});b.widget("ui.autocomplete",b.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(a){return a+(1").text(c).appendTo(this.liveRegion))}});b.ui.autocomplete;var m=/ui-corner-([a-z]){2,6}/g;b.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"
    ",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a", +this._superApply(arguments);this.options.disabled||this.cancelSearch||(c=a&&a.length?this.options.messages.results(a.length):this.options.messages.noResults,this.liveRegion.children().hide(),b("
    ").text(c).appendTo(this.liveRegion))}});b.ui.autocomplete;var l=/ui-corner-([a-z]){2,6}/g;b.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"
    ",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a", controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()}, _initWidgets:function(){var a=this,c=[];b.each(this.options.items,function(d,e){var f,g={};return e?"controlgroupLabel"===d?(f=a.element.find(e),f.each(function(){var a=b(this);a.children(".ui-controlgroup-label-contents").length||a.contents().wrapAll("")}),a._addClass(f,null,"ui-widget ui-widget-content ui-state-default"),c=c.concat(f.get()),void 0):(b.fn[d]&&(g=a["_"+d+"Options"]?a["_"+d+"Options"]("middle"):{classes:{}},a.element.find(e).each(function(){var e= b(this),f=e[d]("instance"),h=b.widget.extend({},g);"button"===d&&e.parent(".ui-spinner").length||(f||(f=e[d]()[d]("instance")),f&&(h.classes=a._resolveClassesValues(h.classes,f)),e[d](h),h=e[d]("widget"),b.data(h[0],"ui-controlgroup-data",f?f:e[d]("instance")),c.push(h[0]))})),void 0):void 0});this.childWidgets=b(b.unique(c));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(a){this.childWidgets.each(function(){var c=b(this).data("ui-controlgroup-data");c&&c[a]&& c[a]()})},_updateCornerClass:function(a,b){b=this._buildSimpleOptions(b,"label").classes.label;this._removeClass(a,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all");this._addClass(a,null,b)},_buildSimpleOptions:function(a,b){var c="vertical"===this.options.direction,e={classes:{}};return e.classes[b]={middle:"",first:"ui-corner-"+(c?"top":"left"),last:"ui-corner-"+(c?"bottom":"right"),only:"ui-corner-all"}[a],e},_spinnerOptions:function(a){a=this._buildSimpleOptions(a, "ui-spinner");return a.classes["ui-spinner-up"]="",a.classes["ui-spinner-down"]="",a},_buttonOptions:function(a){return this._buildSimpleOptions(a,"ui-button")},_checkboxradioOptions:function(a){return this._buildSimpleOptions(a,"ui-checkboxradio-label")},_selectmenuOptions:function(a){var b="vertical"===this.options.direction;return{width:b?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(b?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+ -(b?"top":"left")},last:{"ui-selectmenu-button-open":b?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(b?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[a]}},_resolveClassesValues:function(a,c){var d={};return b.each(a,function(e){var f=c.options.classes[e]||"";f=b.trim(f.replace(m,""));d[e]=(f+" "+a[e]).replace(/\s+/g," ")}),d},_setOption:function(a,b){return"direction"===a&&this._removeClass("ui-controlgroup-"+this.options.direction), +(b?"top":"left")},last:{"ui-selectmenu-button-open":b?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(b?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[a]}},_resolveClassesValues:function(a,c){var d={};return b.each(a,function(e){var f=c.options.classes[e]||"";f=b.trim(f.replace(l,""));d[e]=(f+" "+a[e]).replace(/\s+/g," ")}),d},_setOption:function(a,b){return"direction"===a&&this._removeClass("ui-controlgroup-"+this.options.direction), this._super(a,b),"disabled"===a?(this._callChildMethod(b?"disable":"enable"),void 0):(this.refresh(),void 0)},refresh:function(){var a=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix");this._initWidgets();var c=this.childWidgets;this.options.onlyVisible&&(c=c.filter(":visible"));c.length&&(b.each(["first","last"],function(b,e){(b=c[e]().data("ui-controlgroup-data"))&&a["_"+b.widgetName+"Options"]? (e=a["_"+b.widgetName+"Options"](1===c.length?"only":e),e.classes=a._resolveClassesValues(e.classes,b),b.element[b.widgetName](e)):a._updateCornerClass(c[e](),e)}),this._callChildMethod("refresh"))}});b.widget("ui.checkboxradio",[b.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var a,c,d=this,e=this._super()||{};return this._readType(),c=this.element.labels(), this.label=b(c[c.length-1]),this.label.length||b.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){d.originalLabel+=3===this.nodeType?b(this).text():this.outerHTML}),this.originalLabel&&(e.label=this.originalLabel),a=this.element[0].disabled,null!=a&&(e.disabled=a),e},_create:function(){var a=this.element[0].checked;this._bindFormResetHandler();null==this.options.disabled&&(this.options.disabled=this.element[0].disabled); @@ -350,77 +350,77 @@ this.options.label)},_updateIcon:function(a,c){var d=(a="iconPosition"!==a)?this b.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text);!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel);this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary, this.options.iconPosition="end");this._super()},_setOption:function(a,b){return"text"===a?(this._super("showLabel",b),void 0):("showLabel"===a&&(this.options.text=b),"icon"===a&&(this.options.icons.primary=b),"icons"===a&&(b.primary?(this._super("icon",b.primary),this._super("iconPosition","beginning")):b.secondary&&(this._super("icon",b.secondary),this._super("iconPosition","end"))),this._superApply(arguments),void 0)}}),b.fn.button=function(a){return function(){return!this.length||this.length&& "INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?a.apply(this,arguments):(b.ui.checkboxradio||b.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}}(b.fn.button),b.fn.buttonset=function(){return b.ui.controlgroup||b.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this, -[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});b.ui.button;b.extend(b.ui,{datepicker:{version:"1.12.1"}});var g;b.extend(r.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){return x(this._defaults, -a||{}),this},_attachDatepicker:function(a,c){var d=a.nodeName.toLowerCase();var e="div"===d||"span"===d;a.id||(this.uuid+=1,a.id="dp"+this.uuid);var f=this._newInst(b(a),e);f.settings=b.extend({},c||{});"input"===d?this._connectDatepicker(a,f):e&&this._inlineDatepicker(a,f)},_newInst:function(a,c){return{id:a[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:c,dpDiv:c?n(b("
    ")): +[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});b.ui.button;b.extend(b.ui,{datepicker:{version:"1.12.1"}});var g;b.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){return y(this._defaults, +a||{}),this},_attachDatepicker:function(a,c){var d=a.nodeName.toLowerCase();var e="div"===d||"span"===d;a.id||(this.uuid+=1,a.id="dp"+this.uuid);var f=this._newInst(b(a),e);f.settings=b.extend({},c||{});"input"===d?this._connectDatepicker(a,f):e&&this._inlineDatepicker(a,f)},_newInst:function(a,c){return{id:a[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:c,dpDiv:c?r(b("
    ")): this.dpDiv}},_connectDatepicker:function(a,c){var d=b(a);c.append=b([]);c.trigger=b([]);d.hasClass(this.markerClassName)||(this._attachments(d,c),d.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(c),b.data(a,"datepicker",c),c.settings.disabled&&this._disableDatepicker(a))},_attachments:function(a,c){var d,e;var f=this._get(c,"appendText");var g=this._get(c,"isRTL");c.append&&c.append.remove();f&&(c.append=b(""+f+""),a[g?"before":"after"](c.append));a.off("focus",this._showDatepicker);c.trigger&&c.trigger.remove();f=this._get(c,"showOn");"focus"!==f&&"both"!==f||a.on("focus",this._showDatepicker);"button"!==f&&"both"!==f||(d=this._get(c,"buttonText"),e=this._get(c,"buttonImage"),c.trigger=b(this._get(c,"buttonImageOnly")?b("").addClass(this._triggerClass).attr({src:e,alt:d,title:d}):b("").addClass(this._triggerClass).html(e?b("").attr({src:e, alt:d,title:d}):d)),a[g?"before":"after"](c.trigger),c.trigger.on("click",function(){return b.datepicker._datepickerShowing&&b.datepicker._lastInput===a[0]?b.datepicker._hideDatepicker():b.datepicker._datepickerShowing&&b.datepicker._lastInput!==a[0]?(b.datepicker._hideDatepicker(),b.datepicker._showDatepicker(a[0])):b.datepicker._showDatepicker(a[0]),!1}))},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b,d,e,f,g=new Date(2009,11,20),h=this._get(a,"dateFormat");h.match(/[DM]/)&& (b=function(a){for(f=e=d=0;a.length>f;f++)a[f].length>d&&(d=a[f].length,e=f);return e},g.setMonth(b(this._get(a,h.match(/MM/)?"monthNames":"monthNamesShort"))),g.setDate(b(this._get(a,h.match(/DD/)?"dayNames":"dayNamesShort"))+20-g.getDay()));a.input.attr("size",this._formatDate(a,g).length)}},_inlineDatepicker:function(a,c){var d=b(a);d.hasClass(this.markerClassName)||(d.addClass(this.markerClassName).append(c.dpDiv),b.data(a,"datepicker",c),this._setDate(c,this._getDefaultDate(c),!0),this._updateDatepicker(c), -this._updateAlternate(c),c.settings.disabled&&this._disableDatepicker(a),c.dpDiv.css("display","block"))},_dialogDatepicker:function(a,c,d,e,f){var g,h,m,u,p;a=this._dialogInst;return a||(this.uuid+=1,g="dp"+this.uuid,this._dialogInput=b(""),this._dialogInput.on("keydown",this._doKeyDown),b("body").append(this._dialogInput),a=this._dialogInst=this._newInst(this._dialogInput,!1),a.settings={},b.data(this._dialogInput[0], -"datepicker",a)),x(a.settings,e||{}),c=c&&c.constructor===Date?this._formatDate(a,c):c,this._dialogInput.val(c),this._pos=f?f.length?f:[f.pageX,f.pageY]:null,this._pos||(h=document.documentElement.clientWidth,m=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+u,m/2-150+p]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),a.settings.onSelect= +this._updateAlternate(c),c.settings.disabled&&this._disableDatepicker(a),c.dpDiv.css("display","block"))},_dialogDatepicker:function(a,c,d,e,f){var g,h,l,v,p;a=this._dialogInst;return a||(this.uuid+=1,g="dp"+this.uuid,this._dialogInput=b(""),this._dialogInput.on("keydown",this._doKeyDown),b("body").append(this._dialogInput),a=this._dialogInst=this._newInst(this._dialogInput,!1),a.settings={},b.data(this._dialogInput[0], +"datepicker",a)),y(a.settings,e||{}),c=c&&c.constructor===Date?this._formatDate(a,c):c,this._dialogInput.val(c),this._pos=f?f.length?f:[f.pageX,f.pageY]:null,this._pos||(h=document.documentElement.clientWidth,l=document.documentElement.clientHeight,v=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+v,l/2-150+p]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),a.settings.onSelect= d,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),b.blockUI&&b.blockUI(this.dpDiv),b.data(this._dialogInput[0],"datepicker",a),this},_destroyDatepicker:function(a){var c,d=b(a),e=b.data(a,"datepicker");d.hasClass(this.markerClassName)&&(c=a.nodeName.toLowerCase(),b.removeData(a,"datepicker"),"input"===c?(e.append.remove(),e.trigger.remove(),d.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress", this._doKeyPress).off("keyup",this._doKeyUp)):("div"===c||"span"===c)&&d.removeClass(this.markerClassName).empty(),g===e&&(g=null))},_enableDatepicker:function(a){var c,d,e=b(a),f=b.data(a,"datepicker");e.hasClass(this.markerClassName)&&(c=a.nodeName.toLowerCase(),"input"===c?(a.disabled=!1,f.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===c||"span"===c)&&(d=e.children("."+this._inlineClass),d.children().removeClass("ui-state-disabled"), d.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=b.map(this._disabledInputs,function(b){return b===a?null:b}))},_disableDatepicker:function(a){var c,d,e=b(a),f=b.data(a,"datepicker");e.hasClass(this.markerClassName)&&(c=a.nodeName.toLowerCase(),"input"===c?(a.disabled=!0,f.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===c||"span"===c)&&(d=e.children("."+this._inlineClass), d.children().addClass("ui-state-disabled"),d.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=b.map(this._disabledInputs,function(b){return b===a?null:b}),this._disabledInputs[this._disabledInputs.length]=a)},_isDisabledDatepicker:function(a){if(!a)return!1;for(var b=0;this._disabledInputs.length>b;b++)if(this._disabledInputs[b]===a)return!0;return!1},_getInst:function(a){try{return b.data(a,"datepicker")}catch(c){throw"Missing instance data for this datepicker"; -}},_optionDatepicker:function(a,c,d){var e,f,g,h,m=this._getInst(a);return 2===arguments.length&&"string"==typeof c?"defaults"===c?b.extend({},b.datepicker._defaults):m?"all"===c?b.extend({},m.settings):this._get(m,c):null:(e=c||{},"string"==typeof c&&(e={},e[c]=d),m&&(this._curInst===m&&this._hideDatepicker(),f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(m,"min"),h=this._getMinMaxDate(m,"max"),x(m.settings,e),null!==g&&void 0!==e.dateFormat&&void 0===e.minDate&&(m.settings.minDate=this._formatDate(m, -g)),null!==h&&void 0!==e.dateFormat&&void 0===e.maxDate&&(m.settings.maxDate=this._formatDate(m,h)),"disabled"in e&&(e.disabled?this._disableDatepicker(a):this._enableDatepicker(a)),this._attachments(b(a),m),this._autoSize(m),this._setDate(m,f),this._updateAlternate(m),this._updateDatepicker(m)),void 0)},_changeDatepicker:function(a,b,d){this._optionDatepicker(a,b,d)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){(a=this._getInst(a))&& +}},_optionDatepicker:function(a,c,d){var e,f,g,h,l=this._getInst(a);return 2===arguments.length&&"string"==typeof c?"defaults"===c?b.extend({},b.datepicker._defaults):l?"all"===c?b.extend({},l.settings):this._get(l,c):null:(e=c||{},"string"==typeof c&&(e={},e[c]=d),l&&(this._curInst===l&&this._hideDatepicker(),f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(l,"min"),h=this._getMinMaxDate(l,"max"),y(l.settings,e),null!==g&&void 0!==e.dateFormat&&void 0===e.minDate&&(l.settings.minDate=this._formatDate(l, +g)),null!==h&&void 0!==e.dateFormat&&void 0===e.maxDate&&(l.settings.maxDate=this._formatDate(l,h)),"disabled"in e&&(e.disabled?this._disableDatepicker(a):this._enableDatepicker(a)),this._attachments(b(a),l),this._autoSize(l),this._setDate(l,f),this._updateAlternate(l),this._updateDatepicker(l)),void 0)},_changeDatepicker:function(a,b,d){this._optionDatepicker(a,b,d)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){(a=this._getInst(a))&& (this._setDate(a,b),this._updateDatepicker(a),this._updateAlternate(a))},_getDateDatepicker:function(a,b){a=this._getInst(a);return a&&!a.inline&&this._setDateFromField(a,b),a?this._getDate(a):null},_doKeyDown:function(a){var c,d,e,f=b.datepicker._getInst(a.target),g=!0,h=f.dpDiv.is(".ui-datepicker-rtl");if(f._keyEvent=!0,b.datepicker._datepickerShowing)switch(a.keyCode){case 9:b.datepicker._hideDatepicker();g=!1;break;case 13:return e=b("td."+b.datepicker._dayOverClass+":not(."+b.datepicker._currentClass+ ")",f.dpDiv),e[0]&&b.datepicker._selectDay(a.target,f.selectedMonth,f.selectedYear,e[0]),c=b.datepicker._get(f,"onSelect"),c?(d=b.datepicker._formatDate(f),c.apply(f.input?f.input[0]:null,[d,f])):b.datepicker._hideDatepicker(),!1;case 27:b.datepicker._hideDatepicker();break;case 33:b.datepicker._adjustDate(a.target,a.ctrlKey?-b.datepicker._get(f,"stepBigMonths"):-b.datepicker._get(f,"stepMonths"),"M");break;case 34:b.datepicker._adjustDate(a.target,a.ctrlKey?+b.datepicker._get(f,"stepBigMonths"): +b.datepicker._get(f,"stepMonths"),"M");break;case 35:(a.ctrlKey||a.metaKey)&&b.datepicker._clearDate(a.target);g=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&&b.datepicker._gotoToday(a.target);g=a.ctrlKey||a.metaKey;break;case 37:(a.ctrlKey||a.metaKey)&&b.datepicker._adjustDate(a.target,h?1:-1,"D");g=a.ctrlKey||a.metaKey;a.originalEvent.altKey&&b.datepicker._adjustDate(a.target,a.ctrlKey?-b.datepicker._get(f,"stepBigMonths"):-b.datepicker._get(f,"stepMonths"),"M");break;case 38:(a.ctrlKey|| a.metaKey)&&b.datepicker._adjustDate(a.target,-7,"D");g=a.ctrlKey||a.metaKey;break;case 39:(a.ctrlKey||a.metaKey)&&b.datepicker._adjustDate(a.target,h?-1:1,"D");g=a.ctrlKey||a.metaKey;a.originalEvent.altKey&&b.datepicker._adjustDate(a.target,a.ctrlKey?+b.datepicker._get(f,"stepBigMonths"):+b.datepicker._get(f,"stepMonths"),"M");break;case 40:(a.ctrlKey||a.metaKey)&&b.datepicker._adjustDate(a.target,7,"D");g=a.ctrlKey||a.metaKey;break;default:g=!1}else 36===a.keyCode&&a.ctrlKey?b.datepicker._showDatepicker(this): g=!1;g&&(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(a){var c,d,e=b.datepicker._getInst(a.target);return b.datepicker._get(e,"constrainInput")?(c=b.datepicker._possibleChars(b.datepicker._get(e,"dateFormat")),d=String.fromCharCode(null==a.charCode?a.keyCode:a.charCode),a.ctrlKey||a.metaKey||" ">d||!c||-1m&&m>e?Math.abs(c.left+e-m):0),c.top-=Math.min(c.top,c.top+f>u&&u>f?Math.abs(f+h):0),c},_findPos:function(a){var c,d=this._getInst(a);for(d=this._get(d,"isRTL");a&&("hidden"===a.type||1!==a.nodeType||b.expr.filters.hidden(a));)a=a[d?"previousSibling":"nextSibling"];return c=b(a).offset(),[c.left,c.top]},_hideDatepicker:function(a){var c,d,e,f,g=this._curInst;!g||a&&g!==b.data(a,"datepicker")||this._datepickerShowing&&(c=this._get(g,"showAnim"), +a.input.is(":visible")&&!a.input.is(":disabled")&&!a.input.is(":focus")},_checkOffset:function(a,c,d){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),g=a.input?a.input.outerWidth():0,h=a.input?a.input.outerHeight():0,l=document.documentElement.clientWidth+(d?0:b(document).scrollLeft()),v=document.documentElement.clientHeight+(d?0:b(document).scrollTop());return c.left-=this._get(a,"isRTL")?e-g:0,c.left-=d&&c.left===a.input.offset().left?b(document).scrollLeft():0,c.top-=d&&c.top===a.input.offset().top+ +h?b(document).scrollTop():0,c.left-=Math.min(c.left,c.left+e>l&&l>e?Math.abs(c.left+e-l):0),c.top-=Math.min(c.top,c.top+f>v&&v>f?Math.abs(f+h):0),c},_findPos:function(a){var c,d=this._getInst(a);for(d=this._get(d,"isRTL");a&&("hidden"===a.type||1!==a.nodeType||b.expr.filters.hidden(a));)a=a[d?"previousSibling":"nextSibling"];return c=b(a).offset(),[c.left,c.top]},_hideDatepicker:function(a){var c,d,e,f,g=this._curInst;!g||a&&g!==b.data(a,"datepicker")||this._datepickerShowing&&(c=this._get(g,"showAnim"), d=this._get(g,"duration"),e=function(){b.datepicker._tidyDialog(g)},b.effects&&(b.effects.effect[c]||b.effects[c])?g.dpDiv.hide(c,b.datepicker._get(g,"showOptions"),d,e):g.dpDiv["slideDown"===c?"slideUp":"fadeIn"===c?"fadeOut":"hide"](c?d:null,e),c||e(),this._datepickerShowing=!1,f=this._get(g,"onClose"),f&&f.apply(g.input?g.input[0]:null,[g.input?g.input.val():"",g]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),b.blockUI&&(b.unblockUI(), b("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(b.datepicker._curInst){a=b(a.target);var c=b.datepicker._getInst(a[0]);(!(a[0].id===b.datepicker._mainDivId||0!==a.parents("#"+b.datepicker._mainDivId).length||a.hasClass(b.datepicker.markerClassName)||a.closest("."+b.datepicker._triggerClass).length||!b.datepicker._datepickerShowing||b.datepicker._inDialog&&b.blockUI)|| a.hasClass(b.datepicker.markerClassName)&&b.datepicker._curInst!==c)&&b.datepicker._hideDatepicker()}},_adjustDate:function(a,c,d){a=b(a);var e=this._getInst(a[0]);this._isDisabledDatepicker(a[0])||(this._adjustInstDate(e,c+("M"===d?this._get(e,"showCurrentAtPos"):0),d),this._updateDatepicker(e))},_gotoToday:function(a){var c;a=b(a);var d=this._getInst(a[0]);this._get(d,"gotoCurrent")&&d.currentDay?(d.selectedDay=d.currentDay,d.drawMonth=d.selectedMonth=d.currentMonth,d.drawYear=d.selectedYear=d.currentYear): (c=new Date,d.selectedDay=c.getDate(),d.drawMonth=d.selectedMonth=c.getMonth(),d.drawYear=d.selectedYear=c.getFullYear());this._notifyChange(d);this._adjustDate(a)},_selectMonthYear:function(a,c,d){a=b(a);var e=this._getInst(a[0]);e["selected"+("M"===d?"Month":"Year")]=e["draw"+("M"===d?"Month":"Year")]=parseInt(c.options[c.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_selectDay:function(a,c,d,e){var f,g=b(a);b(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(g[0])|| (f=this._getInst(g[0]),f.selectedDay=f.currentDay=b("a",e).html(),f.selectedMonth=f.currentMonth=c,f.selectedYear=f.currentYear=d,this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear)))},_clearDate:function(a){a=b(a);this._selectDate(a,"")},_selectDate:function(a,c){a=b(a);var d=this._getInst(a[0]);c=null!=c?c:this._formatDate(d);d.input&&d.input.val(c);this._updateAlternate(d);(a=this._get(d,"onSelect"))?a.apply(d.input?d.input[0]:null,[c,d]):d.input&&d.input.trigger("change"); d.inline?this._updateDatepicker(d):(this._hideDatepicker(),this._lastInput=d.input[0],"object"!=typeof d.input[0]&&d.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(a){var c,d,e,f=this._get(a,"altField");f&&(c=this._get(a,"altFormat")||this._get(a,"dateFormat"),d=this._getDate(a),e=this.formatDate(c,d,this._getFormatConfig(a)),b(f).val(e))},noWeekends:function(a){a=a.getDay();return[0a,""]},iso8601Week:function(a){var b;a=new Date(a.getTime());return a.setDate(a.getDate()+ -4-(a.getDay()||7)),b=a.getTime(),a.setMonth(0),a.setDate(1),Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,c,d){if(null==a||null==c)throw"Invalid arguments";if(c="object"==typeof c?""+c:c+"",""===c)return null;var e,f,g,h=0,m=(d?d.shortYearCutoff:null)||this._defaults.shortYearCutoff;m="string"!=typeof m?m:(new Date).getFullYear()%100+parseInt(m,10);var u=(d?d.dayNamesShort:null)||this._defaults.dayNamesShort,p=(d?d.dayNames:null)||this._defaults.dayNames,l=(d?d.monthNamesShort:null)|| -this._defaults.monthNamesShort;d=(d?d.monthNames:null)||this._defaults.monthNames;var k=-1,z=-1,n=-1,y=-1,r=!1,x=function(b){b=a.length>e+1&&a.charAt(e+1)===b;return b&&e++,b},B=function(a){var b=x(a);b="@"===a?14:"!"===a?20:"y"===a&&b?4:"o"===a?3:2;a=RegExp("^\\d{"+("y"===a?b:1)+","+b+"}");a=c.substring(h).match(a);if(!a)throw"Missing number at position "+h;return h+=a[0].length,parseInt(a[0],10)},ba=function(a,d,e){var f=-1;a=b.map(x(a)?e:d,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length- -b[1].length)});if(b.each(a,function(a,b){a=b[1];return c.substr(h,a.length).toLowerCase()===a.toLowerCase()?(f=b[0],h+=a.length,!1):void 0}),-1!==f)return f+1;throw"Unknown name at position "+h;},I=function(){if(c.charAt(h)!==a.charAt(e))throw"Unexpected literal at position "+h;h++};for(e=0;a.length>e;e++)if(r)"'"!==a.charAt(e)||x("'")?I():r=!1;else switch(a.charAt(e)){case "d":n=B("d");break;case "D":ba("D",u,p);break;case "o":y=B("o");break;case "m":z=B("m");break;case "M":z=ba("M",l,d);break;case "y":k= -B("y");break;case "@":var R=new Date(B("@"));k=R.getFullYear();z=R.getMonth()+1;n=R.getDate();break;case "!":R=new Date((B("!")-this._ticksTo1970)/1E4);k=R.getFullYear();z=R.getMonth()+1;n=R.getDate();break;case "'":x("'")?I():r=!0;break;default:I()}if(c.length>h&&(g=c.substr(h),!/^\s+/.test(g)))throw"Extra/unparsed characters found in date: "+g;if(-1===k?k=(new Date).getFullYear():100>k&&(k+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m>=k?0:-100)),-1=n);)z++,n-=f;if(R=this._daylightSavingAdjust(new Date(k,z-1,n)),R.getFullYear()!==k||R.getMonth()+1!==z||R.getDate()!==n)throw"Invalid date";return R},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864E9*719162,formatDate:function(a,b,d){if(!b)return"";var c,f=(d?d.dayNamesShort:null)||this._defaults.dayNamesShort, -g=(d?d.dayNames:null)||this._defaults.dayNames,h=(d?d.monthNamesShort:null)||this._defaults.monthNamesShort;d=(d?d.monthNames:null)||this._defaults.monthNames;var m=function(b){b=a.length>c+1&&a.charAt(c+1)===b;return b&&c++,b},u=function(a,b,c){b=""+b;if(m(a))for(;c>b.length;)b="0"+b;return b},p=function(a,b,c,d){return m(a)?d[b]:c[b]},l="",k=!1;if(b)for(c=0;a.length>c;c++)if(k)"'"!==a.charAt(c)||m("'")?l+=a.charAt(c):k=!1;else switch(a.charAt(c)){case "d":l+=u("d",b.getDate(),2);break;case "D":l+= -p("D",b.getDay(),f,g);break;case "o":l+=u("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5),3);break;case "m":l+=u("m",b.getMonth()+1,2);break;case "M":l+=p("M",b.getMonth(),h,d);break;case "y":l+=m("y")?b.getFullYear():(10>b.getFullYear()%100?"0":"")+b.getFullYear()%100;break;case "@":l+=b.getTime();break;case "!":l+=1E4*b.getTime()+this._ticksTo1970;break;case "'":m("'")?l+="'":k=!0;break;default:l+=a.charAt(c)}return l}, +4-(a.getDay()||7)),b=a.getTime(),a.setMonth(0),a.setDate(1),Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,c,d){if(null==a||null==c)throw"Invalid arguments";if(c="object"==typeof c?""+c:c+"",""===c)return null;var e,f,g,h=0,l=(d?d.shortYearCutoff:null)||this._defaults.shortYearCutoff;l="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10);var v=(d?d.dayNamesShort:null)||this._defaults.dayNamesShort,p=(d?d.dayNames:null)||this._defaults.dayNames,m=(d?d.monthNamesShort:null)|| +this._defaults.monthNamesShort;d=(d?d.monthNames:null)||this._defaults.monthNames;var k=-1,n=-1,r=-1,z=-1,t=!1,y=function(b){b=a.length>e+1&&a.charAt(e+1)===b;return b&&e++,b},B=function(a){var b=y(a);b="@"===a?14:"!"===a?20:"y"===a&&b?4:"o"===a?3:2;a=RegExp("^\\d{"+("y"===a?b:1)+","+b+"}");a=c.substring(h).match(a);if(!a)throw"Missing number at position "+h;return h+=a[0].length,parseInt(a[0],10)},ba=function(a,d,e){var f=-1;a=b.map(y(a)?e:d,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length- +b[1].length)});if(b.each(a,function(a,b){a=b[1];return c.substr(h,a.length).toLowerCase()===a.toLowerCase()?(f=b[0],h+=a.length,!1):void 0}),-1!==f)return f+1;throw"Unknown name at position "+h;},I=function(){if(c.charAt(h)!==a.charAt(e))throw"Unexpected literal at position "+h;h++};for(e=0;a.length>e;e++)if(t)"'"!==a.charAt(e)||y("'")?I():t=!1;else switch(a.charAt(e)){case "d":r=B("d");break;case "D":ba("D",v,p);break;case "o":z=B("o");break;case "m":n=B("m");break;case "M":n=ba("M",m,d);break;case "y":k= +B("y");break;case "@":var R=new Date(B("@"));k=R.getFullYear();n=R.getMonth()+1;r=R.getDate();break;case "!":R=new Date((B("!")-this._ticksTo1970)/1E4);k=R.getFullYear();n=R.getMonth()+1;r=R.getDate();break;case "'":y("'")?I():t=!0;break;default:I()}if(c.length>h&&(g=c.substr(h),!/^\s+/.test(g)))throw"Extra/unparsed characters found in date: "+g;if(-1===k?k=(new Date).getFullYear():100>k&&(k+=(new Date).getFullYear()-(new Date).getFullYear()%100+(l>=k?0:-100)),-1=r);)n++,r-=f;if(R=this._daylightSavingAdjust(new Date(k,n-1,r)),R.getFullYear()!==k||R.getMonth()+1!==n||R.getDate()!==r)throw"Invalid date";return R},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864E9*719162,formatDate:function(a,b,d){if(!b)return"";var c,f=(d?d.dayNamesShort:null)||this._defaults.dayNamesShort, +g=(d?d.dayNames:null)||this._defaults.dayNames,h=(d?d.monthNamesShort:null)||this._defaults.monthNamesShort;d=(d?d.monthNames:null)||this._defaults.monthNames;var l=function(b){b=a.length>c+1&&a.charAt(c+1)===b;return b&&c++,b},v=function(a,b,c){b=""+b;if(l(a))for(;c>b.length;)b="0"+b;return b},p=function(a,b,c,d){return l(a)?d[b]:c[b]},m="",k=!1;if(b)for(c=0;a.length>c;c++)if(k)"'"!==a.charAt(c)||l("'")?m+=a.charAt(c):k=!1;else switch(a.charAt(c)){case "d":m+=v("d",b.getDate(),2);break;case "D":m+= +p("D",b.getDay(),f,g);break;case "o":m+=v("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5),3);break;case "m":m+=v("m",b.getMonth()+1,2);break;case "M":m+=p("M",b.getMonth(),h,d);break;case "y":m+=l("y")?b.getFullYear():(10>b.getFullYear()%100?"0":"")+b.getFullYear()%100;break;case "@":m+=b.getTime();break;case "!":m+=1E4*b.getTime()+this._ticksTo1970;break;case "'":l("'")?m+="'":k=!0;break;default:m+=a.charAt(c)}return m}, _possibleChars:function(a){var b,d="",e=!1,f=function(c){c=a.length>b+1&&a.charAt(b+1)===c;return c&&b++,c};for(b=0;a.length>b;b++)if(e)"'"!==a.charAt(b)||f("'")?d+=a.charAt(b):e=!1;else switch(a.charAt(b)){case "d":case "m":case "y":case "@":d+="0123456789";break;case "D":case "M":return null;case "'":f("'")?d+="'":e=!0;break;default:d+=a.charAt(b)}return d},_get:function(a,b){return void 0!==a.settings[b]?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!==a.lastVal){var c= -this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f=this._getDefaultDate(a),g=f,h=this._getFormatConfig(a);try{g=this.parseDate(c,e,h)||f}catch(H){e=b?"":e}a.selectedDay=g.getDate();a.drawMonth=a.selectedMonth=g.getMonth();a.drawYear=a.selectedYear=g.getFullYear();a.currentDay=e?g.getDate():0;a.currentMonth=e?g.getMonth():0;a.currentYear=e?g.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"), +this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f=this._getDefaultDate(a),g=f,h=this._getFormatConfig(a);try{g=this.parseDate(c,e,h)||f}catch(G){e=b?"":e}a.selectedDay=g.getDate();a.drawMonth=a.selectedMonth=g.getMonth();a.drawYear=a.selectedYear=g.getFullYear();a.currentDay=e?g.getDate():0;a.currentMonth=e?g.getMonth():0;a.currentYear=e?g.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"), new Date))},_determineDate:function(a,c,d){var e=function(a){var b=new Date;return b.setDate(b.getDate()+a),b},f=function(c){try{return b.datepicker.parseDate(b.datepicker._get(a,"dateFormat"),c,b.datepicker._getFormatConfig(a))}catch(N){}var d=(c.toLowerCase().match(/^c/)?b.datepicker._getDate(a):null)||new Date,e=d.getFullYear(),f=d.getMonth();d=d.getDate();for(var g=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,h=g.exec(c);h;){switch(h[2]||"d"){case "d":case "D":d+=parseInt(h[1],10);break;case "w":case "W":d+= 7*parseInt(h[1],10);break;case "m":case "M":f+=parseInt(h[1],10);d=Math.min(d,b.datepicker._getDaysInMonth(e,f));break;case "y":case "Y":e+=parseInt(h[1],10),d=Math.min(d,b.datepicker._getDaysInMonth(e,f))}h=g.exec(c)}return new Date(e,f,d)};c=null==c||""===c?d:"string"==typeof c?f(c):"number"==typeof c?isNaN(c)?d:e(c):new Date(c.getTime());return c=c&&"Invalid Date"==""+c?d:c,c&&(c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0)),this._daylightSavingAdjust(c)},_daylightSavingAdjust:function(a){return a? (a.setHours(12y&&(y+=12,R--),I){var ca=this._daylightSavingAdjust(new Date(I.getFullYear(),I.getMonth()-n[0]*n[1]+1,I.getDate()));for(ca= -ba&&ba>ca?ba:ca;this._daylightSavingAdjust(new Date(R,y,1))>ca;)y--,0>y&&(y=11,R--)}a.drawMonth=y;a.drawYear=R;ca=this._get(a,"prevText");ca=z?this.formatDate(ca,this._daylightSavingAdjust(new Date(R,y-r,1)),this._getFormatConfig(a)):ca;ca=this._canAdjustMonth(a,-1,R,y)?""+ca+"":k?"":""+ca+"";var Q=this._get(a,"nextText");Q=z?this.formatDate(Q,this._daylightSavingAdjust(new Date(R,y+r,1)),this._getFormatConfig(a)):Q;k=this._canAdjustMonth(a,1,R,y)?""+Q+"":k?"":""+Q+"";r=this._get(a,"currentText");Q=this._get(a,"gotoCurrent")&&a.currentDay?B:u;r=z?this.formatDate(r,Q,this._getFormatConfig(a)):r;z=a.inline?"":"";l=l?"
    "+(p?z:"")+(this._isInRange(a,Q)?"":"")+(p?"":z)+"
    ":"";z=parseInt(this._get(a,"firstDay"),10);z=isNaN(z)?0:z;r=this._get(a,"showWeek");Q=this._get(a,"dayNames");var da=this._get(a,"dayNamesMin");var la=this._get(a,"monthNames");var fa=this._get(a,"monthNamesShort");var ma=this._get(a,"beforeShowDay");var F=this._get(a,"showOtherMonths");var ya=this._get(a,"selectOtherMonths");var wa=this._getDefaultDate(a);var Fa="";for(d=0;n[0]>d;d++){var T="";this.maxRows=4;for(e=0;n[1]>e;e++){if(f=this._daylightSavingAdjust(new Date(R, -y,a.selectedDay)),b=" ui-corner-all",g="",x){if(g+="
    "}g+="
    "+(/all|left/.test(b)&&0===d?p?k:ca:"")+(/all|right/.test(b)&&0===d?p?ca:k:"")+this._generateMonthYearHeader(a, -y,R,ba,I,0";var ka=r?"":"";for(b=0;7>b;b++){var V=(b+z)%7;ka+=""}g+=ka+"";ka=this._getDaysInMonth(R,y);R===a.selectedYear&&y===a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,ka));b=(this._getFirstDayOfMonth(R,y)-z+7)%7; -ka=Math.ceil((b+ka)/7);this.maxRows=ka=x?this.maxRows>ka?this.maxRows:ka:ka;V=this._daylightSavingAdjust(new Date(R,y,1-b));for(h=0;ka>h;h++){g+="";var q=r?"":"";for(b=0;7>b;b++){var w=ma?ma.apply(a.input?a.input[0]:null,[V]):[!0,""];var W=(m=V.getMonth()!==y)&&!ya||!w[0]||ba&&ba>V||I&&V>I;q+="";V.setDate(V.getDate()+1);V=this._daylightSavingAdjust(V)}g+=q+""}y++;11
    "+this._get(a,"weekHeader")+""+da[V]+"
    "+this._get(a,"calculateWeek")(V)+""+(m&&!F?" ":W?""+ -V.getDate()+"":""+V.getDate()+"")+"
    "+(x?"
    "+(0
    ":""):"");T+=g}Fa+=T}return Fa+=l,a._keyEvent=!1,Fa},_generateMonthYearHeader:function(a, -b,d,e,f,g,h,m){var c,v=this._get(a,"changeMonth"),p=this._get(a,"changeYear"),l=this._get(a,"showMonthAfterYear"),k="
    ",z="";if(g||!v)z+=""+h[b]+"";else{h=e&&e.getFullYear()===d;var n=f&&f.getFullYear()===d;z+=""}if(l||(k+=z+(!g&&v&&p?"":" ")),!a.yearshtml)if(a.yearshtml="",g||!p)k+=""+d+"";else{m=this._get(a,"yearRange").split(":");var y=(new Date).getFullYear();h=function(a){a=a.match(/c[+\-].*/)?d+parseInt(a.substring(1),10):a.match(/[+\-].*/)?y+parseInt(a,10):parseInt(a,10);return isNaN(a)?y:a};b=h(m[0]);m=Math.max(b,h(m[1]||""));b=e?Math.max(b,e.getFullYear()):b;m=f?Math.min(m,f.getFullYear()):m;for(a.yearshtml+="";k+=a.yearshtml;a.yearshtml=null}return k+=this._get(a,"yearSuffix"),l&&(k+=(!g&&v&&p?"":" ")+z),k+="
    "},_adjustInstDate:function(a,b,d){var c=a.selectedYear+("Y"===d?b:0),f=a.selectedMonth+("M"===d?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(c,f))+("D"===d?b:0);c=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(c,f,b)));a.selectedDay=c.getDate();a.drawMonth= ++this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return b.datepicker._selectMonthYear(d,this,"M"),!1},selectYear:function(){return b.datepicker._selectMonthYear(d,this,"Y"),!1}}[this.getAttribute("data-handler")])})},_generateHTML:function(a){var b,d,e,f,g,h,l,v=new Date;v=this._daylightSavingAdjust(new Date(v.getFullYear(),v.getMonth(),v.getDate()));var p=this._get(a,"isRTL");var m=this._get(a,"showButtonPanel");var k=this._get(a,"hideIfNoPrevNext"); +var n=this._get(a,"navigationAsDateFormat");var r=this._getNumberOfMonths(a),z=this._get(a,"showCurrentAtPos");var t=this._get(a,"stepMonths");var y=1!==r[0]||1!==r[1],B=this._daylightSavingAdjust(a.currentDay?new Date(a.currentYear,a.currentMonth,a.currentDay):new Date(9999,9,9)),ba=this._getMinMaxDate(a,"min"),I=this._getMinMaxDate(a,"max");z=a.drawMonth-z;var R=a.drawYear;if(0>z&&(z+=12,R--),I){var ca=this._daylightSavingAdjust(new Date(I.getFullYear(),I.getMonth()-r[0]*r[1]+1,I.getDate()));for(ca= +ba&&ba>ca?ba:ca;this._daylightSavingAdjust(new Date(R,z,1))>ca;)z--,0>z&&(z=11,R--)}a.drawMonth=z;a.drawYear=R;ca=this._get(a,"prevText");ca=n?this.formatDate(ca,this._daylightSavingAdjust(new Date(R,z-t,1)),this._getFormatConfig(a)):ca;ca=this._canAdjustMonth(a,-1,R,z)?""+ca+"":k?"":""+ca+"";var Q=this._get(a,"nextText");Q=n?this.formatDate(Q,this._daylightSavingAdjust(new Date(R,z+t,1)),this._getFormatConfig(a)):Q;k=this._canAdjustMonth(a,1,R,z)?""+Q+"":k?"":""+Q+"";t=this._get(a,"currentText");Q=this._get(a,"gotoCurrent")&&a.currentDay?B:v;t=n?this.formatDate(t,Q,this._getFormatConfig(a)):t;n=a.inline?"":"";m=m?"
    "+(p?n:"")+(this._isInRange(a,Q)?"":"")+(p?"":n)+"
    ":"";n=parseInt(this._get(a,"firstDay"),10);n=isNaN(n)?0:n;t=this._get(a,"showWeek");Q=this._get(a,"dayNames");var da=this._get(a,"dayNamesMin");var la=this._get(a,"monthNames");var fa=this._get(a,"monthNamesShort");var ma=this._get(a,"beforeShowDay");var F=this._get(a,"showOtherMonths");var ya=this._get(a,"selectOtherMonths");var wa=this._getDefaultDate(a);var Fa="";for(d=0;r[0]>d;d++){var T="";this.maxRows=4;for(e=0;r[1]>e;e++){if(f=this._daylightSavingAdjust(new Date(R, +z,a.selectedDay)),b=" ui-corner-all",g="",y){if(g+="
    "}g+="
    "+(/all|left/.test(b)&&0===d?p?k:ca:"")+(/all|right/.test(b)&&0===d?p?ca:k:"")+this._generateMonthYearHeader(a, +z,R,ba,I,0";var ka=t?"":"";for(b=0;7>b;b++){var V=(b+n)%7;ka+=""}g+=ka+"";ka=this._getDaysInMonth(R,z);R===a.selectedYear&&z===a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,ka));b=(this._getFirstDayOfMonth(R,z)-n+7)%7; +ka=Math.ceil((b+ka)/7);this.maxRows=ka=y?this.maxRows>ka?this.maxRows:ka:ka;V=this._daylightSavingAdjust(new Date(R,z,1-b));for(h=0;ka>h;h++){g+="";var q=t?"":"";for(b=0;7>b;b++){var x=ma?ma.apply(a.input?a.input[0]:null,[V]):[!0,""];var W=(l=V.getMonth()!==z)&&!ya||!x[0]||ba&&ba>V||I&&V>I;q+="";V.setDate(V.getDate()+1);V=this._daylightSavingAdjust(V)}g+=q+""}z++;11
    "+this._get(a,"weekHeader")+""+da[V]+"
    "+this._get(a,"calculateWeek")(V)+""+(l&&!F?" ":W?""+ +V.getDate()+"":""+V.getDate()+"")+"
    "+(y?"
    "+(0
    ":""):"");T+=g}Fa+=T}return Fa+=m,a._keyEvent=!1,Fa},_generateMonthYearHeader:function(a, +b,d,e,f,g,h,l){var c,w=this._get(a,"changeMonth"),p=this._get(a,"changeYear"),m=this._get(a,"showMonthAfterYear"),k="
    ",n="";if(g||!w)n+=""+h[b]+"";else{h=e&&e.getFullYear()===d;var r=f&&f.getFullYear()===d;n+=""}if(m||(k+=n+(!g&&w&&p?"":" ")),!a.yearshtml)if(a.yearshtml="",g||!p)k+=""+d+"";else{l=this._get(a,"yearRange").split(":");var z=(new Date).getFullYear();h=function(a){a=a.match(/c[+\-].*/)?d+parseInt(a.substring(1),10):a.match(/[+\-].*/)?z+parseInt(a,10):parseInt(a,10);return isNaN(a)?z:a};b=h(l[0]);l=Math.max(b,h(l[1]||""));b=e?Math.max(b,e.getFullYear()):b;l=f?Math.min(l,f.getFullYear()):l;for(a.yearshtml+="";k+=a.yearshtml;a.yearshtml=null}return k+=this._get(a,"yearSuffix"),m&&(k+=(!g&&w&&p?"":" ")+n),k+="
    "},_adjustInstDate:function(a,b,d){var c=a.selectedYear+("Y"===d?b:0),f=a.selectedMonth+("M"===d?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(c,f))+("D"===d?b:0);c=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(c,f,b)));a.selectedDay=c.getDate();a.drawMonth= a.selectedMonth=c.getMonth();a.drawYear=a.selectedYear=c.getFullYear();"M"!==d&&"Y"!==d||this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&c>b?c:b;return a&&b>a?a:b},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return null==a?[1,1]:"number"==typeof a?[1,a]:a},_getMinMaxDate:function(a, b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,d,e){var c=this._getNumberOfMonths(a);d=this._daylightSavingAdjust(new Date(d,e+(0>b?b:c[0]*c[1]),1));return 0>b&&d.setDate(this._getDaysInMonth(d.getFullYear(),d.getMonth())),this._isInRange(a,d)},_isInRange:function(a,b){var c,e,f=this._getMinMaxDate(a, -"min"),g=this._getMinMaxDate(a,"max"),h=null,m=null;a=this._get(a,"yearRange");return a&&(c=a.split(":"),e=(new Date).getFullYear(),h=parseInt(c[0],10),m=parseInt(c[1],10),c[0].match(/[+\-].*/)&&(h+=e),c[1].match(/[+\-].*/)&&(m+=e)),(!f||b.getTime()>=f.getTime())&&(!g||b.getTime()<=g.getTime())&&(!h||b.getFullYear()>=h)&&(!m||m>=b.getFullYear())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");return b="string"!=typeof b?b:(new Date).getFullYear()%100+parseInt(b,10),{shortYearCutoff:b, +"min"),g=this._getMinMaxDate(a,"max"),h=null,l=null;a=this._get(a,"yearRange");return a&&(c=a.split(":"),e=(new Date).getFullYear(),h=parseInt(c[0],10),l=parseInt(c[1],10),c[0].match(/[+\-].*/)&&(h+=e),c[1].match(/[+\-].*/)&&(l+=e)),(!f||b.getTime()>=f.getTime())&&(!g||b.getTime()<=g.getTime())&&(!h||b.getFullYear()>=h)&&(!l||l>=b.getFullYear())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");return b="string"!=typeof b?b:(new Date).getFullYear()%100+parseInt(b,10),{shortYearCutoff:b, dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,d,e){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);b=b?"object"==typeof b?b:this._daylightSavingAdjust(new Date(e,d,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}}); b.fn.datepicker=function(a){if(!this.length)return this;b.datepicker.initialized||(b(document).on("mousedown",b.datepicker._checkExternalClick),b.datepicker.initialized=!0);0===b("#"+b.datepicker._mainDivId).length&&b("body").append(b.datepicker.dpDiv);var c=Array.prototype.slice.call(arguments,1);return"string"!=typeof a||"isDisabled"!==a&&"getDate"!==a&&"widget"!==a?"option"===a&&2===arguments.length&&"string"==typeof arguments[1]?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c)): -this.each(function(){"string"==typeof a?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this].concat(c)):b.datepicker._attachDatepicker(this,a)}):b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c))};b.datepicker=new r;b.datepicker.initialized=!1;b.datepicker.uuid=(new Date).getTime();b.datepicker.version="1.12.1";b.datepicker;b.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var z=!1;b(document).on("mouseup",function(){z=!1});b.widget("ui.mouse",{version:"1.12.1", +this.each(function(){"string"==typeof a?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this].concat(c)):b.datepicker._attachDatepicker(this,a)}):b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c))};b.datepicker=new t;b.datepicker.initialized=!1;b.datepicker.uuid=(new Date).getTime();b.datepicker.version="1.12.1";b.datepicker;b.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var p=!1;b(document).on("mouseup",function(){p=!1});b.widget("ui.mouse",{version:"1.12.1", options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.on("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).on("click."+this.widgetName,function(c){return!0===b.data(c.target,a.widgetName+".preventClickEvent")?(b.removeData(c.target,a.widgetName+".preventClickEvent"),c.stopImmediatePropagation(),!1):void 0});this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName);this._mouseMoveDelegate&&this.document.off("mousemove."+ -this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(a){if(!z){this._mouseMoved=!1;this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,d=1===a.which,e="string"==typeof this.options.cancel&&a.target.nodeName?b(a.target).closest(this.options.cancel).length:!1;return d&&!e&&this._mouseCapture(a)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=!0}, +this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(a){if(!p){this._mouseMoved=!1;this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,d=1===a.which,e="string"==typeof this.options.cancel&&a.target.nodeName?b(a.target).closest(this.options.cancel).length:!1;return d&&!e&&this._mouseCapture(a)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=!0}, this.options.delay)),this._mouseDistanceMet(a)&&this._mouseDelayMet(a)&&(this._mouseStarted=!1!==this._mouseStart(a),!this._mouseStarted)?(a.preventDefault(),!0):(!0===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return c._mouseMove(a)},this._mouseUpDelegate=function(a){return c._mouseUp(a)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate), -a.preventDefault(),z=!0,!0)):!0}},_mouseMove:function(a){if(this._mouseMoved){if(b.ui.ie&&(!document.documentMode||9>document.documentMode)&&!a.button)return this._mouseUp(a);if(!a.which)if(a.originalEvent.altKey||a.originalEvent.ctrlKey||a.originalEvent.metaKey||a.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(a)}return(a.which||a.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(a),a.preventDefault()):(this._mouseDistanceMet(a)&& +a.preventDefault(),p=!0,!0)):!0}},_mouseMove:function(a){if(this._mouseMoved){if(b.ui.ie&&(!document.documentMode||9>document.documentMode)&&!a.button)return this._mouseUp(a);if(!a.which)if(a.originalEvent.altKey||a.originalEvent.ctrlKey||a.originalEvent.metaKey||a.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(a)}return(a.which||a.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(a),a.preventDefault()):(this._mouseDistanceMet(a)&& this._mouseDelayMet(a)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,a),this._mouseStarted?this._mouseDrag(a):this._mouseUp(a)),!this._mouseStarted)},_mouseUp:function(a){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate);this._mouseStarted&&(this._mouseStarted=!1,a.target===this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(a));this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer), -delete this._mouseDelayTimer);z=this.ignoreMissingWhich=!1;a.preventDefault()},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});b.ui.plugin={add:function(a,c,d){var e;a=b.ui[a].prototype;for(e in d)a.plugins[e]=a.plugins[e]||[], +delete this._mouseDelayTimer);p=this.ignoreMissingWhich=!1;a.preventDefault()},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});b.ui.plugin={add:function(a,c,d){var e;a=b.ui[a].prototype;for(e in d)a.plugins[e]=a.plugins[e]||[], a.plugins[e].push([c,d[e]])},call:function(a,b,d,e){if((b=a.plugins[b])&&(e||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;b.length>e;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}};b.ui.safeBlur=function(a){a&&"body"!==a.nodeName.toLowerCase()&&b(a).trigger("blur")};b.widget("ui.draggable",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1, helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative();this.options.addClasses&&this._addClass("ui-draggable");this._setHandleClassName();this._mouseInit()},_setOption:function(a,b){this._super(a,b);"handle"===a&&(this._removeHandleClassName(), this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void 0):(this._removeHandleClassName(),this._mouseDestroy(),void 0)},_mouseCapture:function(a){var c=this.options;return this.helper||c.disabled||0c[2]&&(u=c[2]+this.offset.click.left),a.pageY-this.offset.click.top>c[3]&&(p=c[3]+this.offset.click.top)),h.grid&&(f=h.grid[1]?this.originalPageY+Math.round((p-this.originalPageY)/h.grid[1])*h.grid[1]:this.originalPageY,p=c?f-this.offset.click.top>=c[1]||f-this.offset.click.top>c[3]?f:f-this.offset.click.top>=c[1]?f-h.grid[1]:f+h.grid[1]: -f,g=h.grid[0]?this.originalPageX+Math.round((u-this.originalPageX)/h.grid[0])*h.grid[0]:this.originalPageX,u=c?g-this.offset.click.left>=c[0]||g-this.offset.click.left>c[2]?g:g-this.offset.click.left>=c[0]?g-h.grid[0]:g+h.grid[0]:g),"y"===h.axis&&(u=this.originalPageX),"x"===h.axis&&(p=this.originalPageY)),{top:p-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:m?0:this.offset.scroll.top),left:u-this.offset.click.left-this.offset.relative.left- -this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:m?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging");this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1;this.destroyOnClear&&this.destroy()},_trigger:function(a,c,d){return d=d||this._uiHash(),b.ui.plugin.call(this,a,[c,d,this],!0),/^(drag|start|stop)/.test(a)&&(this.positionAbs=this._convertPositionTo("absolute"), +-this.offset.scroll.left:c?0:this.offset.scroll.left)*a}},_generatePosition:function(a,b){var c,e,f,g,h=this.options,l=this._isRootNode(this.scrollParent[0]),v=a.pageX,p=a.pageY;return l&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),b&&(this.containment&&(this.relativeContainer?(e=this.relativeContainer.offset(),c=[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):c=this.containment, +a.pageX-this.offset.click.leftc[2]&&(v=c[2]+this.offset.click.left),a.pageY-this.offset.click.top>c[3]&&(p=c[3]+this.offset.click.top)),h.grid&&(f=h.grid[1]?this.originalPageY+Math.round((p-this.originalPageY)/h.grid[1])*h.grid[1]:this.originalPageY,p=c?f-this.offset.click.top>=c[1]||f-this.offset.click.top>c[3]?f:f-this.offset.click.top>=c[1]?f-h.grid[1]:f+h.grid[1]: +f,g=h.grid[0]?this.originalPageX+Math.round((v-this.originalPageX)/h.grid[0])*h.grid[0]:this.originalPageX,v=c?g-this.offset.click.left>=c[0]||g-this.offset.click.left>c[2]?g:g-this.offset.click.left>=c[0]?g-h.grid[0]:g+h.grid[0]:g),"y"===h.axis&&(v=this.originalPageX),"x"===h.axis&&(p=this.originalPageY)),{top:p-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:l?0:this.offset.scroll.top),left:v-this.offset.click.left-this.offset.relative.left- +this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:l?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging");this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1;this.destroyOnClear&&this.destroy()},_trigger:function(a,c,d){return d=d||this._uiHash(),b.ui.plugin.call(this,a,[c,d,this],!0),/^(drag|start|stop)/.test(a)&&(this.positionAbs=this._convertPositionTo("absolute"), d.offset=this.positionAbs),b.Widget.prototype._trigger.call(this,a,c,d)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});b.ui.plugin.add("draggable","connectToSortable",{start:function(a,c,d){var e=b.extend({},c,{item:d.element});d.sortables=[];b(d.options.connectToSortable).each(function(){var c=b(this).sortable("instance");c&&!c.options.disabled&&(d.sortables.push(c),c.refreshPositions(),c._trigger("activate", a,e))})},stop:function(a,c,d){var e=b.extend({},c,{item:d.element});d.cancelHelperRemoval=!1;b.each(d.sortables,function(){this.isOver?(this.isOver=0,d.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(a),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",a,e))})},drag:function(a,c,d){b.each(d.sortables,function(){var e= !1,f=this;f.positionAbs=d.positionAbs;f.helperProportions=d.helperProportions;f.offset.click=d.offset.click;f._intersectsWith(f.containerCache)&&(e=!0,b.each(d.sortables,function(){return this.positionAbs=d.positionAbs,this.helperProportions=d.helperProportions,this.offset.click=d.offset.click,this!==f&&this._intersectsWith(this.containerCache)&&b.contains(f.element[0],this.element[0])&&(e=!1),e}));e?(f.isOver||(f.isOver=1,d._parent=c.helper.parent(),f.currentItem=c.helper.appendTo(f.element).data("ui-sortable-item", @@ -452,10 +452,10 @@ b.ui.plugin.add("draggable","cursor",{start:function(a,c,d){a=b("body");d=d.opti "scroll",{start:function(a,b,d){d.scrollParentNotHidden||(d.scrollParentNotHidden=d.helper.scrollParent(!1));d.scrollParentNotHidden[0]!==d.document[0]&&"HTML"!==d.scrollParentNotHidden[0].tagName&&(d.overflowOffset=d.scrollParentNotHidden.offset())},drag:function(a,c,d){c=d.options;var e=!1,f=d.scrollParentNotHidden[0],g=d.document[0];f!==g&&"HTML"!==f.tagName?(c.axis&&"x"===c.axis||(d.overflowOffset.top+f.offsetHeight-a.pageYz|| -k>x+l||B-l>y||n>ba+l||!b.contains(d.snapElements[m].item.ownerDocument,d.snapElements[m].item)?(d.snapElements[m].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,a,b.extend(d._uiHash(),{snapItem:d.snapElements[m].item})),d.snapElements[m].snapping=!1):("inner"!==p.snapMode&&(e=l>=Math.abs(B-y),f=l>=Math.abs(ba-n),g=l>=Math.abs(r-z),h=l>=Math.abs(x-k),e&&(c.position.top=d._convertPositionTo("relative",{top:B-d.helperProportions.height,left:0}).top),f&&(c.position.top=d._convertPositionTo("relative", -{top:ba,left:0}).top),g&&(c.position.left=d._convertPositionTo("relative",{top:0,left:r-d.helperProportions.width}).left),h&&(c.position.left=d._convertPositionTo("relative",{top:0,left:x}).left)),u=e||f||g||h,"outer"!==p.snapMode&&(e=l>=Math.abs(B-n),f=l>=Math.abs(ba-y),g=l>=Math.abs(r-k),h=l>=Math.abs(x-z),e&&(c.position.top=d._convertPositionTo("relative",{top:B,left:0}).top),f&&(c.position.top=d._convertPositionTo("relative",{top:ba-d.helperProportions.height,left:0}).top),g&&(c.position.left= -d._convertPositionTo("relative",{top:0,left:r}).left),h&&(c.position.left=d._convertPositionTo("relative",{top:0,left:x-d.helperProportions.width}).left)),!d.snapElements[m].snapping&&(e||f||g||h||u)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,a,b.extend(d._uiHash(),{snapItem:d.snapElements[m].item})),d.snapElements[m].snapping=e||f||g||h||u)}}});b.ui.plugin.add("draggable","stack",{start:function(a,c,d){var e;a=b.makeArray(b(d.options.stack)).sort(function(a,c){return(parseInt(b(a).css("zIndex"), +b(this),c=a.offset();this!==d.element[0]&&d.snapElements.push({item:this,width:a.outerWidth(),height:a.outerHeight(),top:c.top,left:c.left})})},drag:function(a,c,d){var e,f,g,h,l,v,p=d.options,m=p.snapTolerance,k=c.offset.left,n=k+d.helperProportions.width,r=c.offset.top,z=r+d.helperProportions.height;for(l=d.snapElements.length-1;0<=l;l--){var t=d.snapElements[l].left-d.margins.left;var y=t+d.snapElements[l].width;var B=d.snapElements[l].top-d.margins.top;var ba=B+d.snapElements[l].height;t-m>n|| +k>y+m||B-m>z||r>ba+m||!b.contains(d.snapElements[l].item.ownerDocument,d.snapElements[l].item)?(d.snapElements[l].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,a,b.extend(d._uiHash(),{snapItem:d.snapElements[l].item})),d.snapElements[l].snapping=!1):("inner"!==p.snapMode&&(e=m>=Math.abs(B-z),f=m>=Math.abs(ba-r),g=m>=Math.abs(t-n),h=m>=Math.abs(y-k),e&&(c.position.top=d._convertPositionTo("relative",{top:B-d.helperProportions.height,left:0}).top),f&&(c.position.top=d._convertPositionTo("relative", +{top:ba,left:0}).top),g&&(c.position.left=d._convertPositionTo("relative",{top:0,left:t-d.helperProportions.width}).left),h&&(c.position.left=d._convertPositionTo("relative",{top:0,left:y}).left)),v=e||f||g||h,"outer"!==p.snapMode&&(e=m>=Math.abs(B-r),f=m>=Math.abs(ba-z),g=m>=Math.abs(t-k),h=m>=Math.abs(y-n),e&&(c.position.top=d._convertPositionTo("relative",{top:B,left:0}).top),f&&(c.position.top=d._convertPositionTo("relative",{top:ba-d.helperProportions.height,left:0}).top),g&&(c.position.left= +d._convertPositionTo("relative",{top:0,left:t}).left),h&&(c.position.left=d._convertPositionTo("relative",{top:0,left:y-d.helperProportions.width}).left)),!d.snapElements[l].snapping&&(e||f||g||h||v)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,a,b.extend(d._uiHash(),{snapItem:d.snapElements[l].item})),d.snapElements[l].snapping=e||f||g||h||v)}}});b.ui.plugin.add("draggable","stack",{start:function(a,c,d){var e;a=b.makeArray(b(d.options.stack)).sort(function(a,c){return(parseInt(b(a).css("zIndex"), 10)||0)-(parseInt(b(c).css("zIndex"),10)||0)});a.length&&(e=parseInt(b(a[0]).css("zIndex"),10)||0,b(a).each(function(a){b(this).css("zIndex",e+a)}),this.css("zIndex",e+a.length))}});b.ui.plugin.add("draggable","zIndex",{start:function(a,c,d){a=b(c.helper);d=d.options;a.css("zIndex")&&(d._zIndex=a.css("zIndex"));a.css("zIndex",d.zIndex)},stop:function(a,c,d){a=d.options;a._zIndex&&b(c.helper).css("zIndex",a._zIndex)}});b.ui.draggable;b.widget("ui.resizable",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize", options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(a){return parseFloat(a)||0},_isNumber:function(a){return!isNaN(parseFloat(a))},_hasScroll:function(a,c){if("hidden"===b(a).css("overflow"))return!1;c=c&&"left"=== c?"scrollLeft":"scrollTop";var d=!1;return 0
    ").css({position:this.element.css("position"), @@ -469,30 +469,30 @@ this._handles=this._handles.add(this.element.find(".ui-resizable-handle"));this. a.target))&&(d=!0)}return!this.options.disabled&&d},_mouseStart:function(a){var c,d,e,f=this.options,g=this.element;return this.resizing=!0,this._renderProxy(),c=this._num(this.helper.css("left")),d=this._num(this.helper.css("top")),f.containment&&(c+=b(f.containment).scrollLeft()||0,d+=b(f.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:c,top:d},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:g.width(),height:g.height()},this.originalSize= this._helper?{width:g.outerWidth(),height:g.outerHeight()}:{width:g.width(),height:g.height()},this.sizeDiff={width:g.outerWidth()-g.width(),height:g.outerHeight()-g.height()},this.originalPosition={left:c,top:d},this.originalMousePosition={left:a.pageX,top:a.pageY},this.aspectRatio="number"==typeof f.aspectRatio?f.aspectRatio:this.originalSize.width/this.originalSize.height||1,e=b(".ui-resizable-"+this.axis).css("cursor"),b("body").css("cursor","auto"===e?this.axis+"-resize":e),this._addClass("ui-resizable-resizing"), this._propagate("start",a),!0},_mouseDrag:function(a){var c,d,e=this.originalMousePosition,f=a.pageX-e.left||0;e=a.pageY-e.top||0;var g=this._change[this.axis];return this._updatePrevProperties(),g?(c=g.apply(this,[a,f,e]),this._updateVirtualBoundaries(a.shiftKey),(this._aspectRatio||a.shiftKey)&&(c=this._updateRatio(c,a)),c=this._respectSize(c,a),this._updateCache(c),this._propagate("resize",a),d=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(), -b.isEmptyObject(d)||(this._updatePrevProperties(),this._trigger("resize",a,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(a){this.resizing=!1;var c,d,e,f,g,h,m,u=this.options;return this._helper&&(c=this._proportionallyResizeElements,d=c.length&&/textarea/i.test(c[0].nodeName),e=d&&this._hasScroll(c[0],"left")?0:this.sizeDiff.height,f=d?0:this.sizeDiff.width,g={width:this.helper.width()-f,height:this.helper.height()-e},h=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)|| -null,m=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,u.animate||this.element.css(b.extend(g,{top:m,left:h})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!u.animate&&this._proportionallyResize()),b("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",a),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left}; +b.isEmptyObject(d)||(this._updatePrevProperties(),this._trigger("resize",a,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(a){this.resizing=!1;var c,d,e,f,g,h,l,v=this.options;return this._helper&&(c=this._proportionallyResizeElements,d=c.length&&/textarea/i.test(c[0].nodeName),e=d&&this._hasScroll(c[0],"left")?0:this.sizeDiff.height,f=d?0:this.sizeDiff.width,g={width:this.helper.width()-f,height:this.helper.height()-e},h=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)|| +null,l=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,v.animate||this.element.css(b.extend(g,{top:l,left:h})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!v.animate&&this._proportionallyResize()),b("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",a),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left}; this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var a={};return this.position.top!==this.prevPosition.top&&(a.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(a.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(a.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(a.height=this.size.height+"px"),this.helper.css(a),a},_updateVirtualBoundaries:function(a){var b,d,e,f;var g=this.options;g={minWidth:this._isNumber(g.minWidth)? g.minWidth:0,maxWidth:this._isNumber(g.maxWidth)?g.maxWidth:1/0,minHeight:this._isNumber(g.minHeight)?g.minHeight:0,maxHeight:this._isNumber(g.maxHeight)?g.maxHeight:1/0};(this._aspectRatio||a)&&(b=g.minHeight*this.aspectRatio,e=g.minWidth/this.aspectRatio,d=g.maxHeight*this.aspectRatio,f=g.maxWidth/this.aspectRatio,b>g.minWidth&&(g.minWidth=b),e>g.minHeight&&(g.minHeight=e),g.maxWidth>d&&(g.maxWidth=d),g.maxHeight>f&&(g.maxHeight=f));this._vBoundaries=g},_updateCache:function(a){this.offset=this.helper.offset(); this._isNumber(a.left)&&(this.position.left=a.left);this._isNumber(a.top)&&(this.position.top=a.top);this._isNumber(a.height)&&(this.size.height=a.height);this._isNumber(a.width)&&(this.size.width=a.width)},_updateRatio:function(a){var b=this.position,d=this.size,e=this.axis;return this._isNumber(a.height)?a.width=a.height*this.aspectRatio:this._isNumber(a.width)&&(a.height=a.width/this.aspectRatio),"sw"===e&&(a.left=b.left+(d.width-a.width),a.top=null),"nw"===e&&(a.top=b.top+(d.height-a.height), -a.left=b.left+(d.width-a.width)),a},_respectSize:function(a){var b=this._vBoundaries,d=this.axis,e=this._isNumber(a.width)&&b.maxWidth&&b.maxWidtha.width,h=this._isNumber(a.height)&&b.minHeight&&b.minHeight>a.height,m=this.originalPosition.left+this.originalSize.width,u=this.originalPosition.top+this.originalSize.height,p=/sw|nw|w/.test(d);d=/nw|ne|n/.test(d);return g&&(a.width= -b.minWidth),h&&(a.height=b.minHeight),e&&(a.width=b.maxWidth),f&&(a.height=b.maxHeight),g&&p&&(a.left=m-b.minWidth),e&&p&&(a.left=m-b.maxWidth),h&&d&&(a.top=u-b.minHeight),f&&d&&(a.top=u-b.maxHeight),a.width||a.height||a.left||!a.top?a.width||a.height||a.top||!a.left||(a.left=null):a.top=null,a},_getPaddingPlusBorderDimensions:function(a){var b=0,d=[],e=[a.css("borderTopWidth"),a.css("borderRightWidth"),a.css("borderBottomWidth"),a.css("borderLeftWidth")];for(a=[a.css("paddingTop"),a.css("paddingRight"), +a.left=b.left+(d.width-a.width)),a},_respectSize:function(a){var b=this._vBoundaries,d=this.axis,e=this._isNumber(a.width)&&b.maxWidth&&b.maxWidtha.width,h=this._isNumber(a.height)&&b.minHeight&&b.minHeight>a.height,l=this.originalPosition.left+this.originalSize.width,v=this.originalPosition.top+this.originalSize.height,p=/sw|nw|w/.test(d);d=/nw|ne|n/.test(d);return g&&(a.width= +b.minWidth),h&&(a.height=b.minHeight),e&&(a.width=b.maxWidth),f&&(a.height=b.maxHeight),g&&p&&(a.left=l-b.minWidth),e&&p&&(a.left=l-b.maxWidth),h&&d&&(a.top=v-b.minHeight),f&&d&&(a.top=v-b.maxHeight),a.width||a.height||a.left||!a.top?a.width||a.height||a.top||!a.left||(a.left=null):a.top=null,a},_getPaddingPlusBorderDimensions:function(a){var b=0,d=[],e=[a.css("borderTopWidth"),a.css("borderRightWidth"),a.css("borderBottomWidth"),a.css("borderLeftWidth")];for(a=[a.css("paddingTop"),a.css("paddingRight"), a.css("paddingBottom"),a.css("paddingLeft")];4>b;b++)d[b]=parseFloat(e[b])||0,d[b]+=parseFloat(a[b])||0;return{height:d[0]+d[2],width:d[1]+d[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var a,b=0,d=this.helper||this.element;this._proportionallyResizeElements.length>b;b++)a=this._proportionallyResizeElements[b],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(a)),a.css({height:d.height()-this.outerDimensions.height||0,width:d.width()- this.outerDimensions.width||0})},_renderProxy:function(){var a=this.options;this.elementOffset=this.element.offset();this._helper?(this.helper=this.helper||b("
    "),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++a.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element}, _change:{e:function(a,b){return{width:this.originalSize.width+b}},w:function(a,b){return{left:this.originalPosition.left+b,width:this.originalSize.width-b}},n:function(a,b,d){return{top:this.originalPosition.top+d,height:this.originalSize.height-d}},s:function(a,b,d){return{height:this.originalSize.height+d}},se:function(a,c,d){return b.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[a,c,d]))},sw:function(a,c,d){return b.extend(this._change.s.apply(this,arguments),this._change.w.apply(this, [a,c,d]))},ne:function(a,c,d){return b.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[a,c,d]))},nw:function(a,c,d){return b.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[a,c,d]))}},_propagate:function(a,c){b.ui.plugin.call(this,a,[c,this.ui()]);"resize"!==a&&this._trigger(a,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize, originalPosition:this.originalPosition}}});b.ui.plugin.add("resizable","animate",{stop:function(a){var c=b(this).resizable("instance"),d=c.options,e=c._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),g=f&&c._hasScroll(e[0],"left")?0:c.sizeDiff.height;f={width:c.size.width-(f?0:c.sizeDiff.width),height:c.size.height-g};g=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null;var h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)|| -null;c.element.animate(b.extend(f,h&&g?{top:h,left:g}:{}),{duration:d.animateDuration,easing:d.animateEasing,step:function(){var d={width:parseFloat(c.element.css("width")),height:parseFloat(c.element.css("height")),top:parseFloat(c.element.css("top")),left:parseFloat(c.element.css("left"))};e&&e.length&&b(e[0]).css({width:d.width,height:d.height});c._updateCache(d);c._propagate("resize",a)}})}});b.ui.plugin.add("resizable","containment",{start:function(){var a,c,d,e,f,g,h,m=b(this).resizable("instance"), -u=m.element,p=m.options.containment;(u=p instanceof b?p.get(0):/parent/.test(p)?u.parent().get(0):p)&&(m.containerElement=b(u),/document/.test(p)||p===document?(m.containerOffset={left:0,top:0},m.containerPosition={left:0,top:0},m.parentData={element:b(document),left:0,top:0,width:b(document).width(),height:b(document).height()||document.body.parentNode.scrollHeight}):(a=b(u),c=[],b(["Top","Right","Left","Bottom"]).each(function(b,d){c[b]=m._num(a.css("padding"+d))}),m.containerOffset=a.offset(), -m.containerPosition=a.position(),m.containerSize={height:a.innerHeight()-c[3],width:a.innerWidth()-c[1]},d=m.containerOffset,e=m.containerSize.height,f=m.containerSize.width,g=m._hasScroll(u,"left")?u.scrollWidth:f,h=m._hasScroll(u)?u.scrollHeight:e,m.parentData={element:u,left:d.left,top:d.top,width:g,height:h}))},resize:function(a){var c=b(this).resizable("instance");var d=c.options;var e=c.containerOffset;var f=c.position;a=c._aspectRatio||a.shiftKey;var g={top:0,left:0},h=c.containerElement,m= -!0;h[0]!==document&&/static/.test(h.css("position"))&&(g=e);f.left<(c._helper?e.left:0)&&(c.size.width+=c._helper?c.position.left-e.left:c.position.left-g.left,a&&(c.size.height=c.size.width/c.aspectRatio,m=!1),c.position.left=d.helper?e.left:0);f.top<(c._helper?e.top:0)&&(c.size.height+=c._helper?c.position.top-e.top:c.position.top,a&&(c.size.width=c.size.height*c.aspectRatio,m=!1),c.position.top=c._helper?e.top:0);d=c.containerElement.get(0)===c.element.parent().get(0);f=/relative|absolute/.test(c.containerElement.css("position")); -d&&f?(c.offset.left=c.parentData.left+c.position.left,c.offset.top=c.parentData.top+c.position.top):(c.offset.left=c.element.offset().left,c.offset.top=c.element.offset().top);d=Math.abs(c.sizeDiff.width+(c._helper?c.offset.left-g.left:c.offset.left-e.left));e=Math.abs(c.sizeDiff.height+(c._helper?c.offset.top-g.top:c.offset.top-e.top));d+c.size.width>=c.parentData.width&&(c.size.width=c.parentData.width-d,a&&(c.size.height=c.size.width/c.aspectRatio,m=!1));e+c.size.height>=c.parentData.height&&(c.size.height= -c.parentData.height-e,a&&(c.size.width=c.size.height*c.aspectRatio,m=!1));m||(c.position.left=c.prevPosition.left,c.position.top=c.prevPosition.top,c.size.width=c.prevSize.width,c.size.height=c.prevSize.height)},stop:function(){var a=b(this).resizable("instance"),c=a.options,d=a.containerOffset,e=a.containerPosition,f=a.containerElement,g=b(a.helper),h=g.offset(),m=g.outerWidth()-a.sizeDiff.width;g=g.outerHeight()-a.sizeDiff.height;a._helper&&!c.animate&&/relative/.test(f.css("position"))&&b(this).css({left:h.left- -e.left-d.left,width:m,height:g});a._helper&&!c.animate&&/static/.test(f.css("position"))&&b(this).css({left:h.left-e.left-d.left,width:m,height:g})}});b.ui.plugin.add("resizable","alsoResize",{start:function(){var a=b(this).resizable("instance").options;b(a.alsoResize).each(function(){var a=b(this);a.data("ui-resizable-alsoresize",{width:parseFloat(a.width()),height:parseFloat(a.height()),left:parseFloat(a.css("left")),top:parseFloat(a.css("top"))})})},resize:function(a,c){a=b(this).resizable("instance"); +null;c.element.animate(b.extend(f,h&&g?{top:h,left:g}:{}),{duration:d.animateDuration,easing:d.animateEasing,step:function(){var d={width:parseFloat(c.element.css("width")),height:parseFloat(c.element.css("height")),top:parseFloat(c.element.css("top")),left:parseFloat(c.element.css("left"))};e&&e.length&&b(e[0]).css({width:d.width,height:d.height});c._updateCache(d);c._propagate("resize",a)}})}});b.ui.plugin.add("resizable","containment",{start:function(){var a,c,d,e,f,g,h,l=b(this).resizable("instance"), +v=l.element,p=l.options.containment;(v=p instanceof b?p.get(0):/parent/.test(p)?v.parent().get(0):p)&&(l.containerElement=b(v),/document/.test(p)||p===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:b(document),left:0,top:0,width:b(document).width(),height:b(document).height()||document.body.parentNode.scrollHeight}):(a=b(v),c=[],b(["Top","Right","Left","Bottom"]).each(function(b,d){c[b]=l._num(a.css("padding"+d))}),l.containerOffset=a.offset(), +l.containerPosition=a.position(),l.containerSize={height:a.innerHeight()-c[3],width:a.innerWidth()-c[1]},d=l.containerOffset,e=l.containerSize.height,f=l.containerSize.width,g=l._hasScroll(v,"left")?v.scrollWidth:f,h=l._hasScroll(v)?v.scrollHeight:e,l.parentData={element:v,left:d.left,top:d.top,width:g,height:h}))},resize:function(a){var c=b(this).resizable("instance");var d=c.options;var e=c.containerOffset;var f=c.position;a=c._aspectRatio||a.shiftKey;var g={top:0,left:0},h=c.containerElement,l= +!0;h[0]!==document&&/static/.test(h.css("position"))&&(g=e);f.left<(c._helper?e.left:0)&&(c.size.width+=c._helper?c.position.left-e.left:c.position.left-g.left,a&&(c.size.height=c.size.width/c.aspectRatio,l=!1),c.position.left=d.helper?e.left:0);f.top<(c._helper?e.top:0)&&(c.size.height+=c._helper?c.position.top-e.top:c.position.top,a&&(c.size.width=c.size.height*c.aspectRatio,l=!1),c.position.top=c._helper?e.top:0);d=c.containerElement.get(0)===c.element.parent().get(0);f=/relative|absolute/.test(c.containerElement.css("position")); +d&&f?(c.offset.left=c.parentData.left+c.position.left,c.offset.top=c.parentData.top+c.position.top):(c.offset.left=c.element.offset().left,c.offset.top=c.element.offset().top);d=Math.abs(c.sizeDiff.width+(c._helper?c.offset.left-g.left:c.offset.left-e.left));e=Math.abs(c.sizeDiff.height+(c._helper?c.offset.top-g.top:c.offset.top-e.top));d+c.size.width>=c.parentData.width&&(c.size.width=c.parentData.width-d,a&&(c.size.height=c.size.width/c.aspectRatio,l=!1));e+c.size.height>=c.parentData.height&&(c.size.height= +c.parentData.height-e,a&&(c.size.width=c.size.height*c.aspectRatio,l=!1));l||(c.position.left=c.prevPosition.left,c.position.top=c.prevPosition.top,c.size.width=c.prevSize.width,c.size.height=c.prevSize.height)},stop:function(){var a=b(this).resizable("instance"),c=a.options,d=a.containerOffset,e=a.containerPosition,f=a.containerElement,g=b(a.helper),h=g.offset(),l=g.outerWidth()-a.sizeDiff.width;g=g.outerHeight()-a.sizeDiff.height;a._helper&&!c.animate&&/relative/.test(f.css("position"))&&b(this).css({left:h.left- +e.left-d.left,width:l,height:g});a._helper&&!c.animate&&/static/.test(f.css("position"))&&b(this).css({left:h.left-e.left-d.left,width:l,height:g})}});b.ui.plugin.add("resizable","alsoResize",{start:function(){var a=b(this).resizable("instance").options;b(a.alsoResize).each(function(){var a=b(this);a.data("ui-resizable-alsoresize",{width:parseFloat(a.width()),height:parseFloat(a.height()),left:parseFloat(a.css("left")),top:parseFloat(a.css("top"))})})},resize:function(a,c){a=b(this).resizable("instance"); var d=a.originalSize,e=a.originalPosition,f={height:a.size.height-d.height||0,width:a.size.width-d.width||0,top:a.position.top-e.top||0,left:a.position.left-e.left||0};b(a.options.alsoResize).each(function(){var a=b(this),d=b(this).data("ui-resizable-alsoresize"),e={},g=a.parents(c.originalElement[0]).length?["width","height"]:["width","height","top","left"];b.each(g,function(a,b){(a=(d[b]||0)+(f[b]||0))&&0<=a&&(e[b]=a||null)});a.css(e)})},stop:function(){b(this).removeData("ui-resizable-alsoresize")}}); b.ui.plugin.add("resizable","ghost",{start:function(){var a=b(this).resizable("instance"),c=a.size;a.ghost=a.originalElement.clone();a.ghost.css({opacity:.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0});a._addClass(a.ghost,"ui-resizable-ghost");!1!==b.uiBackCompat&&"string"==typeof a.options.ghost&&a.ghost.addClass(this.options.ghost);a.ghost.appendTo(a.helper)},resize:function(){var a=b(this).resizable("instance");a.ghost&&a.ghost.css({position:"relative", -height:a.size.height,width:a.size.width})},stop:function(){var a=b(this).resizable("instance");a.ghost&&a.helper&&a.helper.get(0).removeChild(a.ghost.get(0))}});b.ui.plugin.add("resizable","grid",{resize:function(){var a,c=b(this).resizable("instance"),d=c.options,e=c.size,f=c.originalSize,g=c.originalPosition,h=c.axis,m="number"==typeof d.grid?[d.grid,d.grid]:d.grid,u=m[0]||1,p=m[1]||1,l=Math.round((e.width-f.width)/u)*u;e=Math.round((e.height-f.height)/p)*p;var k=f.width+l,z=f.height+e,n=d.maxWidth&& -k>d.maxWidth,y=d.maxHeight&&z>d.maxHeight,r=d.minWidth&&d.minWidth>k,x=d.minHeight&&d.minHeight>z;d.grid=m;r&&(k+=u);x&&(z+=p);n&&(k-=u);y&&(z-=p);/^(se|s|e)$/.test(h)?(c.size.width=k,c.size.height=z):/^(ne)$/.test(h)?(c.size.width=k,c.size.height=z,c.position.top=g.top-e):/^(sw)$/.test(h)?(c.size.width=k,c.size.height=z,c.position.left=g.left-l):((0>=z-p||0>=k-u)&&(a=c._getPaddingPlusBorderDimensions(this)),0d.maxWidth,z=d.maxHeight&&n>d.maxHeight,t=d.minWidth&&d.minWidth>k,y=d.minHeight&&d.minHeight>n;d.grid=l;t&&(k+=v);y&&(n+=p);r&&(k-=v);z&&(n-=p);/^(se|s|e)$/.test(h)?(c.size.width=k,c.size.height=n):/^(ne)$/.test(h)?(c.size.width=k,c.size.height=n,c.position.top=g.top-e):/^(sw)$/.test(h)?(c.size.width=k,c.size.height=n,c.position.left=g.left-m):((0>=n-p||0>=k-v)&&(a=c._getPaddingPlusBorderDimensions(this)),0c&&b(this).css("top",a.top-c)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display, width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle);this.options.disabled&&(this.options.disabled=!1);this._createWrapper();this.element.show().removeAttr("title").appendTo(this.uiDialog); this._addClass("ui-dialog-content","ui-widget-content");this._createTitlebar();this._createButtonPane();this.options.draggable&&b.fn.draggable&&this._makeDraggable();this.options.resizable&&b.fn.resizable&&this._makeResizable();this._isOpen=!1;this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var a=this.options.appendTo;return a&&(a.jquery||a.nodeType)?b(a):this.document.find(a||"body").eq(0)},_destroy:function(){var a=this.originalPosition;this._untrackInstance(); @@ -522,8 +522,8 @@ _create:function(){var a,c=this.options,d=c.accept;this.isover=!1;this.isout=!0; this._removeActiveClass();c&&this._trigger("deactivate",a,this.ui(c))},_over:function(a){var c=b.ui.ddmanager.current;c&&(c.currentItem||c.element)[0]!==this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this._addHoverClass(),this._trigger("over",a,this.ui(c)))},_out:function(a){var c=b.ui.ddmanager.current;c&&(c.currentItem||c.element)[0]!==this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this._removeHoverClass(),this._trigger("out",a,this.ui(c)))}, _drop:function(a,c){var d=c||b.ui.ddmanager.current,e=!1;return d&&(d.currentItem||d.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var c=b(this).droppable("instance");return c.options.greedy&&!c.options.disabled&&c.options.scope===d.options.scope&&c.accept.call(c.element[0],d.currentItem||d.element)&&B(d,b.extend(c,{offset:c.element.offset()}),c.options.tolerance,a)?(e=!0,!1):void 0}),e?!1:this.accept.call(this.element[0],d.currentItem|| d.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",a,this.ui(d)),this.element):!1):!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}); -var B=b.ui.intersect=function(){return function(a,b,d,e){if(!b.offset)return!1;var c=(a.positionAbs||a.position.absolute).left+a.margins.left,g=(a.positionAbs||a.position.absolute).top+a.margins.top,h=c+a.helperProportions.width,m=g+a.helperProportions.height,u=b.offset.left,p=b.offset.top,l=u+b.proportions().width,k=p+b.proportions().height;switch(d){case "fit":return c>=u&&l>=h&&g>=p&&k>=m;case "intersect":return c+a.helperProportions.width/2>u&&l>h-a.helperProportions.width/2&&g+a.helperProportions.height/ -2>p&&k>m-a.helperProportions.height/2;case "pointer":a=e.pageY;d=b.proportions().height;if(p=a>=p&&p+d>a)e=e.pageX,b=b.proportions().width,p=e>=u&&u+b>e;return p;case "touch":return(g>=p&&k>=g||m>=p&&k>=m||p>g&&m>k)&&(c>=u&&l>=c||h>=u&&l>=h||u>c&&h>l);default:return!1}}}();b.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,c){var d,e=b.ui.ddmanager.droppables[a.options.scope]||[],f=c?c.type:null,g=(a.currentItem||a.element).find(":data(ui-droppable)").addBack();var h= +var B=b.ui.intersect=function(){return function(a,b,d,e){if(!b.offset)return!1;var c=(a.positionAbs||a.position.absolute).left+a.margins.left,g=(a.positionAbs||a.position.absolute).top+a.margins.top,h=c+a.helperProportions.width,l=g+a.helperProportions.height,v=b.offset.left,p=b.offset.top,m=v+b.proportions().width,k=p+b.proportions().height;switch(d){case "fit":return c>=v&&m>=h&&g>=p&&k>=l;case "intersect":return c+a.helperProportions.width/2>v&&m>h-a.helperProportions.width/2&&g+a.helperProportions.height/ +2>p&&k>l-a.helperProportions.height/2;case "pointer":a=e.pageY;d=b.proportions().height;if(p=a>=p&&p+d>a)e=e.pageX,b=b.proportions().width,p=e>=v&&v+b>e;return p;case "touch":return(g>=p&&k>=g||l>=p&&k>=l||p>g&&l>k)&&(c>=v&&m>=c||h>=v&&m>=h||v>c&&h>m);default:return!1}}}();b.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,c){var d,e=b.ui.ddmanager.droppables[a.options.scope]||[],f=c?c.type:null,g=(a.currentItem||a.element).find(":data(ui-droppable)").addBack();var h= 0;a:for(;e.length>h;h++)if(!(e[h].options.disabled||a&&!e[h].accept.call(e[h].element[0],a.currentItem||a.element))){for(d=0;g.length>d;d++)if(g[d]===e[h].element[0]){e[h].proportions().height=0;continue a}e[h].visible="none"!==e[h].element.css("display");e[h].visible&&("mousedown"===f&&e[h]._activate.call(e[h],c),e[h].offset=e[h].element.offset(),e[h].proportions({width:e[h].element[0].offsetWidth,height:e[h].element[0].offsetHeight}))}},drop:function(a,c){var d=!1;return b.each((b.ui.ddmanager.droppables[a.options.scope]|| []).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&B(a,this,this.options.tolerance,c)&&(d=this._drop.call(this,c)||d),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||a.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,c)))}),d},dragStart:function(a,c){a.element.parentsUntil("body").on("scroll.droppable",function(){a.options.refreshPositions||b.ui.ddmanager.prepareOffsets(a,c)})},drag:function(a,c){a.options.refreshPositions&& b.ui.ddmanager.prepareOffsets(a,c);b.each(b.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var d,e,f,g=B(a,this,this.options.tolerance,c);(g=!g&&this.isover?"isout":g&&!this.isover?"isover":null)&&(this.options.greedy&&(e=this.options.scope,f=this.element.parents(":data(ui-droppable)").filter(function(){return b(this).droppable("instance").options.scope===e}),f.length&&(d=b(f[0]).droppable("instance"),d.greedyChild="isover"===g)), @@ -537,8 +537,8 @@ this._trigger("complete")}});b.widget("ui.selectable",b.ui.mouse,{version:"1.12. b(this),d=c.offset(),e=d.left-a.elementPos.left;d=d.top-a.elementPos.top;b.data(this,"selectable-item",{element:this,$element:c,left:e,top:d,right:e+c.outerWidth(),bottom:d+c.outerHeight(),startselected:!1,selected:c.hasClass("ui-selected"),selecting:c.hasClass("ui-selecting"),unselecting:c.hasClass("ui-unselecting")})})};this.refresh();this._mouseInit();this.helper=b("
    ");this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item");this._mouseDestroy()}, _mouseStart:function(a){var c=this,d=this.options;this.opos=[a.pageX,a.pageY];this.elementPos=b(this.element[0]).offset();this.options.disabled||(this.selectees=b(d.filter,this.element[0]),this._trigger("start",a),b(d.appendTo).append(this.helper),this.helper.css({left:a.pageX,top:a.pageY,width:0,height:0}),d.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var d=b.data(this,"selectable-item");d.startselected=!0;a.metaKey||a.ctrlKey||(c._removeClass(d.$element,"ui-selected"), d.selected=!1,c._addClass(d.$element,"ui-unselecting"),d.unselecting=!0,c._trigger("unselecting",a,{unselecting:d.element}))}),b(a.target).parents().addBack().each(function(){var d,f=b.data(this,"selectable-item");return f?(d=!a.metaKey&&!a.ctrlKey||!f.$element.hasClass("ui-selected"),c._removeClass(f.$element,d?"ui-unselecting":"ui-selected")._addClass(f.$element,d?"ui-selecting":"ui-unselecting"),f.unselecting=!d,f.selecting=d,f.selected=d,d?c._trigger("selecting",a,{selecting:f.element}):c._trigger("unselecting", -a,{unselecting:f.element}),!1):void 0}))},_mouseDrag:function(a){if(this.dragged=!0,!this.options.disabled){var c,d=this,e=this.options,f=this.opos[0],g=this.opos[1],h=a.pageX,m=a.pageY;return f>h&&(c=h,h=f,f=c),g>m&&(c=m,m=g,g=c),this.helper.css({left:f,top:g,width:h-f,height:m-g}),this.selectees.each(function(){var c=b.data(this,"selectable-item"),p=!1,l,k,z,n;c&&c.element!==d.element[0]&&(l=c.left+d.elementPos.left,k=c.right+d.elementPos.left,z=c.top+d.elementPos.top,n=c.bottom+d.elementPos.top, -"touch"===e.tolerance?p=!(l>h||f>k||z>m||g>n):"fit"===e.tolerance&&(p=l>f&&h>k&&z>g&&m>n),p?(c.selected&&(d._removeClass(c.$element,"ui-selected"),c.selected=!1),c.unselecting&&(d._removeClass(c.$element,"ui-unselecting"),c.unselecting=!1),c.selecting||(d._addClass(c.$element,"ui-selecting"),c.selecting=!0,d._trigger("selecting",a,{selecting:c.element}))):(c.selecting&&((a.metaKey||a.ctrlKey)&&c.startselected?(d._removeClass(c.$element,"ui-selecting"),c.selecting=!1,d._addClass(c.$element,"ui-selected"), +a,{unselecting:f.element}),!1):void 0}))},_mouseDrag:function(a){if(this.dragged=!0,!this.options.disabled){var c,d=this,e=this.options,f=this.opos[0],g=this.opos[1],h=a.pageX,l=a.pageY;return f>h&&(c=h,h=f,f=c),g>l&&(c=l,l=g,g=c),this.helper.css({left:f,top:g,width:h-f,height:l-g}),this.selectees.each(function(){var c=b.data(this,"selectable-item"),p=!1,m,k,n,r;c&&c.element!==d.element[0]&&(m=c.left+d.elementPos.left,k=c.right+d.elementPos.left,n=c.top+d.elementPos.top,r=c.bottom+d.elementPos.top, +"touch"===e.tolerance?p=!(m>h||f>k||n>l||g>r):"fit"===e.tolerance&&(p=m>f&&h>k&&n>g&&l>r),p?(c.selected&&(d._removeClass(c.$element,"ui-selected"),c.selected=!1),c.unselecting&&(d._removeClass(c.$element,"ui-unselecting"),c.unselecting=!1),c.selecting||(d._addClass(c.$element,"ui-selecting"),c.selecting=!0,d._trigger("selecting",a,{selecting:c.element}))):(c.selecting&&((a.metaKey||a.ctrlKey)&&c.startselected?(d._removeClass(c.$element,"ui-selecting"),c.selecting=!1,d._addClass(c.$element,"ui-selected"), c.selected=!0):(d._removeClass(c.$element,"ui-selecting"),c.selecting=!1,c.startselected&&(d._addClass(c.$element,"ui-unselecting"),c.unselecting=!0),d._trigger("unselecting",a,{unselecting:c.element}))),c.selected&&(a.metaKey||a.ctrlKey||c.startselected||(d._removeClass(c.$element,"ui-selected"),c.selected=!1,d._addClass(c.$element,"ui-unselecting"),c.unselecting=!0,d._trigger("unselecting",a,{unselecting:c.element})))))}),!1}},_mouseStop:function(a){var c=this;return this.dragged=!1,b(".ui-unselecting", this.element[0]).each(function(){var d=b.data(this,"selectable-item");c._removeClass(d.$element,"ui-unselecting");d.unselecting=!1;d.startselected=!1;c._trigger("unselected",a,{unselected:d.element})}),b(".ui-selecting",this.element[0]).each(function(){var d=b.data(this,"selectable-item");c._removeClass(d.$element,"ui-selecting")._addClass(d.$element,"ui-selected");d.selecting=!1;d.selected=!0;d.startselected=!0;c._trigger("selected",a,{selected:d.element})}),this._trigger("stop",a),this.helper.remove(), !1}});b.widget("ui.selectmenu",[b.ui.formResetMixin,{version:"1.12.1",defaultElement:"',k=!l.getElementsByTagName("link").length,l=void 0);var x={legend:[1,"
    ","
    "],tr:[2,"","
    "],col:[2,"","
    "],_default:k?[1,"X
    ","
    "]:[0,"",""]};x.td= -x.th=[3,"","
    "];x.option=x.optgroup=[1,'"];x.thead=x.tbody=x.colgroup=x.caption=x.tfoot=[1,"","
    "];x.polyline=x.ellipse=x.polygon=x.circle=x.text=x.line=x.path=x.rect=x.g=[1,'',""]},{}],3:[function(k,r,n){function l(l,p){if(null==l)throw new TypeError("Cannot convert first argument to object");for(var k=Object(l),h=1;h
    a',l=!m.getElementsByTagName("link").length,m=void 0);var g={legend:[1,"
    ","
    "],tr:[2,"","
    "],col:[2,"", -"
    "],_default:l?[1,"X
    ","
    "]:[0,"",""]};g.td=g.th=[3,"","
    "];g.option=g.optgroup=[1,'"];g.thead=g.tbody=g.colgroup=g.caption=g.tfoot=[1,"","
    "];g.polyline=g.ellipse=g.polygon=g.circle=g.text=g.line=g.path=g.rect=g.g=[1,'',""]},{}],2:[function(l,k,h){function m(c,d,e){if(d.match(a))!function D(a,c,d){if(0===c.length)return d; -var e=c.shift(),f=e.match(/^\[(.+?)\]$/);if("[]"===e)return a=a||[],Array.isArray(a)?a.push(D(null,c,d)):(a._values=a._values||[],a._values.push(D(null,c,d))),a;f?(e=f[1],f=+e,isNaN(f)?(a=a||{})[e]=D(a[e],c,d):(a=a||[])[f]=D(a[f],c,d)):a[e]=D(a[e],c,d);return a}(c,function(c){var d=[],e=new RegExp(a),f=/^([^\[\]]*)/.exec(c);for(f[1]&&d.push(f[1]);null!==(f=e.exec(c));)d.push(f[1]);return d}(d),e);else{var f=c[d];f?(Array.isArray(f)||(c[d]=[f]),c[d].push(e)):c[d]=e}return c}function g(a,d,e){return e= -e.replace(/(\r)?\n/g,"\r\n"),e=(e=encodeURIComponent(e)).replace(/%20/g,"+"),a+(a?"&":"")+encodeURIComponent(d)+"="+e}var p=/^(?:submit|button|image|reset|file)$/i,n=/^(?:input|select|textarea|keygen)/i,a=/(\[[^\[\]]*\])/g;k.exports=function(a,d){"object"!=typeof d?d={hash:!!d}:void 0===d.hash&&(d.hash=!0);var c=d.hash?{}:"",f=d.serializer||(d.hash?m:g);a=a&&a.elements?a.elements:[];for(var h=Object.create(null),l=0;l
    a',k=!n.getElementsByTagName("link").length,n=void 0);var y={legend:[1,"
    ","
    "],tr:[2,"","
    "],col:[2,"","
    "],_default:k?[1,"X
    ","
    "]:[0,"",""]};y.td= +y.th=[3,"","
    "];y.option=y.optgroup=[1,'"];y.thead=y.tbody=y.colgroup=y.caption=y.tfoot=[1,"","
    "];y.polyline=y.ellipse=y.polygon=y.circle=y.text=y.line=y.path=y.rect=y.g=[1,'',""]},{}],3:[function(k,t,r){function n(k,m){if(null==k)throw new TypeError("Cannot convert first argument to object");for(var n=Object(k),h=1;h
    a',k=!l.getElementsByTagName("link").length,l=void 0);var g={legend:[1,"
    ","
    "],tr:[2,"","
    "],col:[2,"", +"
    "],_default:k?[1,"X
    ","
    "]:[0,"",""]};g.td=g.th=[3,"","
    "];g.option=g.optgroup=[1,'"];g.thead=g.tbody=g.colgroup=g.caption=g.tfoot=[1,"","
    "];g.polyline=g.ellipse=g.polygon=g.circle=g.text=g.line=g.path=g.rect=g.g=[1,'',""]},{}],2:[function(k,n,h){function l(c,d,e){if(d.match(a))!function C(a,c,d){if(0===c.length)return d; +var e=c.shift(),f=e.match(/^\[(.+?)\]$/);if("[]"===e)return a=a||[],Array.isArray(a)?a.push(C(null,c,d)):(a._values=a._values||[],a._values.push(C(null,c,d))),a;f?(e=f[1],f=+e,isNaN(f)?(a=a||{})[e]=C(a[e],c,d):(a=a||[])[f]=C(a[f],c,d)):a[e]=C(a[e],c,d);return a}(c,function(c){var d=[],e=new RegExp(a),f=/^([^\[\]]*)/.exec(c);for(f[1]&&d.push(f[1]);null!==(f=e.exec(c));)d.push(f[1]);return d}(d),e);else{var f=c[d];f?(Array.isArray(f)||(c[d]=[f]),c[d].push(e)):c[d]=e}return c}function g(a,d,e){return e= +e.replace(/(\r)?\n/g,"\r\n"),e=(e=encodeURIComponent(e)).replace(/%20/g,"+"),a+(a?"&":"")+encodeURIComponent(d)+"="+e}var m=/^(?:submit|button|image|reset|file)$/i,r=/^(?:input|select|textarea|keygen)/i,a=/(\[[^\[\]]*\])/g;n.exports=function(a,d){"object"!=typeof d?d={hash:!!d}:void 0===d.hash&&(d.hash=!0);var c=d.hash?{}:"",f=d.serializer||(d.hash?l:g);a=a&&a.elements?a.elements:[];for(var h=Object.create(null),k=0;k'+h._escapeHtml(a.label||c.label)+"",input:''},e=(a=Object.assign(c,d,a)).callback;return a.callback=function(a){if("object"==typeof a){var c= -Object.keys(a);a=c.length?a[c[0]]:""}e(a)},this.open(a)},buttons:{YES:{text:"OK",type:"submit",className:"vex-dialog-button-primary",click:function(){this.value=!0}},NO:{text:"Cancel",type:"button",className:"vex-dialog-button-secondary",click:function(){this.value=!1;this.close()}}}};return l.defaultOptions={callback:function(){},afterOpen:function(){},message:"",input:"",buttons:[l.buttons.YES,l.buttons.NO],showCloseButton:!1,onSubmit:function(a){return a.preventDefault(),this.options.input&&(this.value= -g(this.form,{hash:!0})),this.close()},focusFirstInput:!0},l.defaultAlertOptions={buttons:[l.buttons.YES]},l.defaultPromptOptions={label:"Prompt:",placeholder:"",value:""},l.defaultConfirmOptions={},l}},{domify:1,"form-serialize":2}]},{},[3])(3)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{domify:2,"form-serialize":4}],6:[function(k,r,n){n=k("./vex");n.registerPlugin(k("vex-dialog"));r.exports=n},{"./vex":7,"vex-dialog":5}],7:[function(k, -r,n){k("classlist-polyfill");k("es6-object-assign").polyfill();var l=k("domify"),x=function(g){if(void 0!==g){var a=document.createElement("div");return a.appendChild(document.createTextNode(g)),a.innerHTML}return""},p=function(g,a){if("string"==typeof a&&0!==a.length){a=a.split(" ");for(var c=0;cc.length;)c="0"+c;for(;2>a.length;)a="0"+a;return(b?b+":":"")+c+":"+a};var l=function(){var a,c,f;return c=1<=arguments.length?b.call(arguments,0):[],f=c[0],a=c[1],p(f.toFixed(a))};var x=function(a,b){var c,d;var e={};for(c in a)k.call(a,c)&&(d=a[c],e[c]=d);for(c in b)k.call(b,c)&&(d=b[c],e[c]=d);return e};var p=function(a){var b=(a+"").split(".");a=b[0];var c="";1=Math.abs(b/this.animationSpeed)?this.displayedValue= -this.value:this.displayedValue+=b/this.animationSpeed,this.render(),!0)},a}();var m=function(a){function b(){return b.__super__.constructor.apply(this,arguments)}return r(b,a),b.prototype.displayScale=1,b.prototype.forceUpdate=!0,b.prototype.setTextField=function(a,b){return this.textField=a instanceof g?a:new g(a,b)},b.prototype.setMinValue=function(a,b){var c;if(this.minValue=a,null==b&&(b=!0),b){this.displayedValue=this.minValue;var d=this.gp||[];var e=[];b=0;for(c=d.length;bc.length;)c="0"+c;for(;2>a.length;)a="0"+a;return(b?b+":":"")+c+":"+a};var n=function(){var a,c,f;return c=1<=arguments.length?b.call(arguments,0):[],f=c[0],a=c[1],m(f.toFixed(a))};var y=function(a,b){var c,d;var e={};for(c in a)k.call(a,c)&&(d=a[c],e[c]=d);for(c in b)k.call(b,c)&&(d=b[c],e[c]=d);return e};var m=function(a){var b=(a+"").split(".");a=b[0];var c="";1=Math.abs(b/this.animationSpeed)?this.displayedValue= +this.value:this.displayedValue+=b/this.animationSpeed,this.render(),!0)},a}();var l=function(a){function b(){return b.__super__.constructor.apply(this,arguments)}return t(b,a),b.prototype.displayScale=1,b.prototype.forceUpdate=!0,b.prototype.setTextField=function(a,b){return this.textField=a instanceof g?a:new g(a,b)},b.prototype.setMinValue=function(a,b){var c;if(this.minValue=a,null==b&&(b=!0),b){this.displayedValue=this.minValue;var d=this.gp||[];var e=[];b=0;for(c=d.length;bthis.options.angle&&(c=Math.PI*(1+this.options.angle),this.extraPadding=Math.sin(c)); this.availableHeight=this.canvas.height*(1-this.paddingTop-this.paddingBottom);this.lineWidth=this.availableHeight*this.options.lineWidth;this.radius=(this.availableHeight-this.lineWidth/2)/(1+this.extraPadding);this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);var e=this.gp;c=0;for(d=e.length;c=b;d=0<=b?++a:--a){var e=parseInt(y(this.options.percentColors[d][1]).substring(0,2),16);var g=parseInt(y(this.options.percentColors[d][1]).substring(2,4),16);var h=parseInt(y(this.options.percentColors[d][1]).substring(4,6),16);c.push(this.percentColors[d]={pct:this.options.percentColors[d][0],color:{r:e,g:g,b:h}})}return c}},b.prototype.set=function(a){var b,c;a instanceof Array||(a=[a]);var d=b=0;for(c=a.length-1;0<=c? -b<=c:b>=c;d=0<=c?++b:--b)a[d]=this.parseValue(a[d]);if(a.length>this.gp.length)for(b=0,c=a.length-this.gp.length;0<=c?bc;0<=c?++b:--b)d=new z(this),d.setOptions(this.options.pointer),this.gp.push(d);else a.lengththis.maxValue?this.options.limitMax?e=this.maxValue:this.maxValue=e+1:e=b;d=0<=b?++a:--a){var e=parseInt(z(this.options.percentColors[d][1]).substring(0,2),16);var g=parseInt(z(this.options.percentColors[d][1]).substring(2,4),16);var h=parseInt(z(this.options.percentColors[d][1]).substring(4,6),16);c.push(this.percentColors[d]={pct:this.options.percentColors[d][0],color:{r:e,g:g,b:h}})}return c}},b.prototype.set=function(a){var b,c;a instanceof Array||(a=[a]);var d=b=0;for(c=a.length-1;0<=c? +b<=c:b>=c;d=0<=c?++b:--b)a[d]=this.parseValue(a[d]);if(a.length>this.gp.length)for(b=0,c=a.length-this.gp.length;0<=c?bc;0<=c?++b:--b)d=new p(this),d.setOptions(this.options.pointer),this.gp.push(d);else a.lengththis.maxValue?this.options.limitMax?e=this.maxValue:this.maxValue=e+1:e=f;m=0<=f?++d:--d)if(a<=this.percentColors[m].pct){!0===b?(g=this.percentColors[m-1]||this.percentColors[0],c=this.percentColors[m],e=(a-g.pct)/(c.pct-g.pct),h={r:Math.floor(g.color.r*(1-e)+c.color.r*e),g:Math.floor(g.color.g*(1-e)+c.color.g*e),b:Math.floor(g.color.b*(1-e)+c.color.b*e)}):h=this.percentColors[m].color;break}}return"rgb("+[h.r,h.g,h.b].join()+")"},b.prototype.getColorForValue=function(a,b){var c;return c=(a-this.minValue)/(this.maxValue- -this.minValue),this.getColorForPercentage(c,b)},b.prototype.renderStaticLabels=function(a,b,c,d){var e,f;this.ctx.save();this.ctx.translate(b,c);b=a.font||"10px Times";var g=/\d+\.?\d?/;var h=b.match(g)[0];var m=b.slice(h.length);c=parseFloat(h)*this.displayScale;this.ctx.font=c+m;this.ctx.fillStyle=a.color||"#000000";this.ctx.textBaseline="bottom";this.ctx.textAlign="center";var k=a.labels;var p=0;for(e=k.length;p=this.minValue)&&(!this.options.limitMax|| -n<=this.maxValue)&&(b=n.font||a.font,h=b.match(g)[0],m=b.slice(h.length),c=parseFloat(h)*this.displayScale,this.ctx.font=c+m,f=this.getAngle(n.label)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(l(n.label,a.fractionDigits),0,-d-this.lineWidth/2),this.ctx.rotate(-f)):(!this.options.limitMin||n>=this.minValue)&&(!this.options.limitMax||n<=this.maxValue)&&(f=this.getAngle(n)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(l(n,a.fractionDigits),0,-d-this.lineWidth/2),this.ctx.rotate(-f))}return this.ctx.restore()}, -b.prototype.renderTicks=function(a,b,c,d){if(a!=={}){var e=a.divisions||0;var f=a.subDivisions||0;c=a.divColor||"#fff";var g=a.subColor||"#fff";d=a.divLength||.7;var h=a.subLength||.2;var m=parseFloat(this.maxValue)-parseFloat(this.minValue);var l=parseFloat(m)/parseFloat(a.divisions);var k=parseFloat(l)/parseFloat(a.subDivisions);b=parseFloat(this.minValue);var p=0+k;var n=m/400;m=n*(a.divWidth||1);var y=n*(a.subWidth||1);var r=[];var x=n=0;for(e+=1;nthis.maxValue&&(k=this.maxValue);var p=this.radius*this.options.radiusScale;m.height&&(this.ctx.lineWidth=this.lineWidth*m.height,e=this.lineWidth/2*(m.offset||1-m.height),p=this.radius*this.options.radiusScale+e);this.ctx.strokeStyle=m.strokeStyle;this.ctx.beginPath(); -this.ctx.arc(0,0,p,this.getAngle(l),this.getAngle(k),!1);this.ctx.stroke()}}else void 0!==this.options.customFillStyle?b=this.options.customFillStyle(this):null!==this.percentColors?b=this.getColorForValue(this.displayedValue,this.options.generateGradient):void 0!==this.options.colorStop?(b=0===this.options.gradientType?this.ctx.createRadialGradient(g,d,9,g,d,70):this.ctx.createLinearGradient(0,0,g,0),b.addColorStop(0,this.options.colorStart),b.addColorStop(1,this.options.colorStop)):b=this.options.colorStart, +var l=d=0;for(f=this.percentColors.length-1;0<=f?d<=f:d>=f;l=0<=f?++d:--d)if(a<=this.percentColors[l].pct){!0===b?(g=this.percentColors[l-1]||this.percentColors[0],c=this.percentColors[l],e=(a-g.pct)/(c.pct-g.pct),h={r:Math.floor(g.color.r*(1-e)+c.color.r*e),g:Math.floor(g.color.g*(1-e)+c.color.g*e),b:Math.floor(g.color.b*(1-e)+c.color.b*e)}):h=this.percentColors[l].color;break}}return"rgb("+[h.r,h.g,h.b].join()+")"},b.prototype.getColorForValue=function(a,b){var c;return c=(a-this.minValue)/(this.maxValue- +this.minValue),this.getColorForPercentage(c,b)},b.prototype.renderStaticLabels=function(a,b,c,d){var e,f;this.ctx.save();this.ctx.translate(b,c);b=a.font||"10px Times";var g=/\d+\.?\d?/;var h=b.match(g)[0];var l=b.slice(h.length);c=parseFloat(h)*this.displayScale;this.ctx.font=c+l;this.ctx.fillStyle=a.color||"#000000";this.ctx.textBaseline="bottom";this.ctx.textAlign="center";var k=a.labels;var m=0;for(e=k.length;m=this.minValue)&&(!this.options.limitMax|| +p<=this.maxValue)&&(b=p.font||a.font,h=b.match(g)[0],l=b.slice(h.length),c=parseFloat(h)*this.displayScale,this.ctx.font=c+l,f=this.getAngle(p.label)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(n(p.label,a.fractionDigits),0,-d-this.lineWidth/2),this.ctx.rotate(-f)):(!this.options.limitMin||p>=this.minValue)&&(!this.options.limitMax||p<=this.maxValue)&&(f=this.getAngle(p)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(n(p,a.fractionDigits),0,-d-this.lineWidth/2),this.ctx.rotate(-f))}return this.ctx.restore()}, +b.prototype.renderTicks=function(a,b,c,d){if(a!=={}){var e=a.divisions||0;var f=a.subDivisions||0;c=a.divColor||"#fff";var g=a.subColor||"#fff";d=a.divLength||.7;var h=a.subLength||.2;var l=parseFloat(this.maxValue)-parseFloat(this.minValue);var k=parseFloat(l)/parseFloat(a.divisions);var n=parseFloat(k)/parseFloat(a.subDivisions);b=parseFloat(this.minValue);var m=0+n;var p=l/400;l=p*(a.divWidth||1);var r=p*(a.subWidth||1);var z=[];var t=p=0;for(e+=1;pthis.maxValue&&(n=this.maxValue);var m=this.radius*this.options.radiusScale;l.height&&(this.ctx.lineWidth=this.lineWidth*l.height,e=this.lineWidth/2*(l.offset||1-l.height),m=this.radius*this.options.radiusScale+e);this.ctx.strokeStyle=l.strokeStyle;this.ctx.beginPath(); +this.ctx.arc(0,0,m,this.getAngle(k),this.getAngle(n),!1);this.ctx.stroke()}}else void 0!==this.options.customFillStyle?b=this.options.customFillStyle(this):null!==this.percentColors?b=this.getColorForValue(this.displayedValue,this.options.generateGradient):void 0!==this.options.colorStop?(b=0===this.options.gradientType?this.ctx.createRadialGradient(g,d,9,g,d,70):this.ctx.createLinearGradient(0,0,g,0),b.addColorStop(0,this.options.colorStart),b.addColorStop(1,this.options.colorStop)):b=this.options.colorStart, this.ctx.strokeStyle=b,this.ctx.beginPath(),this.ctx.arc(g,d,c,(1+this.options.angle)*Math.PI,a,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.stroke(),this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(g,d,c,a,(2-this.options.angle)*Math.PI,!1),this.ctx.stroke(),this.ctx.save(),this.ctx.translate(g,d);this.options.renderTicks&&this.renderTicks(this.options.renderTicks,g,d,c);this.ctx.restore();this.ctx.translate(g,d);b=this.gp;e=0;for(a=b.length;ethis.maxValue?this.options.limitMax?this.value=this.maxValue:this.maxValue=this.value:this.valuef;f++)if(d=!0, +this._plotValues={x:[],y:[]};this._intervals={x:{},y:{}};this._prevPlotData=[];this._prevGridData=[];this._stackAxis="y";this._primaryAxis="_xaxis";this.canvas=new b.jqplot.GenericCanvas;this.shadowCanvas=new b.jqplot.GenericCanvas;this.plugins={};this._sumx=this._sumy=0;this._type="";this.step=!1}function y(){b.jqplot.ElemContainer.call(this);this.drawGridlines=!0;this.gridLineColor="#cccccc";this.gridLineWidth=1;this.background="#fffdf6";this.borderColor="#999999";this.borderWidth=2;this.shadow= +this.drawBorder=!0;this.shadowAngle=45;this.shadowOffset=1.5;this.shadowDepth=this.shadowWidth=3;this.shadowColor=null;this.shadowAlpha="0.07";this._left;this._top;this._right;this._bottom;this._width;this._height;this._axes=[];this.renderer=b.jqplot.CanvasGridRenderer;this.rendererOptions={};this._offsets={top:null,bottom:null,left:null,right:null}}function m(){function a(a){for(var b,c=0;cf;f++)if(d=!0, b=e[f],"x"==a[c]._stackAxis){for(var g=0;gp[0][0]&&np[2][1]&&tp[0][1]))return{seriesIndex:q.index,pointIndex:f,gridData:m,data:q.data[f],points:q._barPoints[f]};break;case b.jqplot.PyramidRenderer:n=a.x;t=a.y;for(f=0;fp[0][0]+u[0][0]&&np[2][1]&&t-t?h=-Math.atan(-t/n):0>n?h=Math.PI-Math.atan(-t/n):0==n&&0<-t?h=3*Math.PI/2:0==n&&0>-t?h=Math.PI/2:0==n&&0==t&&(h=0),A&&(h-=A,0>h?h+=2*Math.PI:h>2*Math.PI&&(h-=2*Math.PI)),m=q.sliceMargin/180*Math.PI,wq._innerRadius)for(f=0;fl&&C>h)return{seriesIndex:q.index,pointIndex:f,gridData:[a.x,a.y],data:q.data[f]};break;case b.jqplot.PieRenderer:if(A=q.startAngle/180*Math.PI,n=a.x-q._center[0],t=a.y-q._center[1],w=Math.sqrt(Math.pow(n,2)+Math.pow(t,2)),0-t?h=-Math.atan(-t/n):0>n?h=Math.PI-Math.atan(-t/n):0==n&&0<-t?h=3*Math.PI/2:0==n&&0>-t?h=Math.PI/2:0==n&&0==t&&(h=0),A&&(h-=A,0>h?h+=2*Math.PI:h>2*Math.PI&&(h-=2*Math.PI)),m=q.sliceMargin/180*Math.PI,wl&&C>h)return{seriesIndex:q.index,pointIndex:f,gridData:[a.x,a.y],data:q.data[f]};break;case b.jqplot.BubbleRenderer:n=a.x;t=a.y;u=null;if(q.show){for(f=0;f=y||null==k)&&(k=y,u={seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]})}if(null!=u)return u}break;case b.jqplot.FunnelRenderer:n=a.x;t=a.y;var r;u=q._vertices;f=u[0];var x=u[u.length-1];m= -d(t,f[0],x[3]);x=d(t,f[1],x[2]);for(f=0;f=r[0][1]&&t<=r[3][1]&&n>=m[0]&&n<=x[0])return{seriesIndex:q.index,pointIndex:f,gridData:null,data:q.data[f]};break;case b.jqplot.LineRenderer:if(n=a.x,t=a.y,w=q.renderer,q.show)if(!(q.fill||q.renderer.bands.show&&q.renderer.bands.fill)||c.plugins.highlighter&&c.plugins.highlighter.show)for(f=q.markerRenderer.size/2+q.neighborThreshold,u=0=m[0]-w._bodyWidth/2&&n<=m[0]+w._bodyWidth/2&&t>=x(q.data[f][2])&&t<=x(q.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}else if(w.hlc){if(x=q._yaxis.series_u2p,n>=m[0]-w._tickLength&&n<=m[0]+w._tickLength&&t>=x(q.data[f][1])&&t<=x(q.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}else{if(x=q._yaxis.series_u2p,n>=m[0]-w._tickLength&&n<=m[0]+w._tickLength&&t>=x(q.data[f][2])&&t<=x(q.data[f][3]))return{seriesIndex:e,pointIndex:f, -gridData:m,data:q.data[f]}}else{if(null!=m[0]&&null!=m[1]&&(y=Math.sqrt((n-m[0])*(n-m[0])+(t-m[1])*(t-m[1])),u>=y&&(k>=y||null==k)))return k=y,{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}else{m=!1;if(n>q._boundingBox[0][0]&&nq._boundingBox[1][1]&&tu;u++){var z=[q._areaPoints[u][0],q._areaPoints[u][1]];f=[q._areaPoints[f][0],q._areaPoints[f][1]];(z[1]=t||f[1]=t)&&z[0]+(t-z[1])/(f[1]-z[1])* -(f[0]-z[0])=m[0]-w._bodyWidth/2&&n<=m[0]+w._bodyWidth/2&&t>=x(q.data[f][2])&&t<=x(q.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}else if(w.hlc){if(x= -q._yaxis.series_u2p,n>=m[0]-w._tickLength&&n<=m[0]+w._tickLength&&t>=x(q.data[f][1])&&t<=x(q.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}else{if(x=q._yaxis.series_u2p,n>=m[0]-w._tickLength&&n<=m[0]+w._tickLength&&t>=x(q.data[f][2])&&t<=x(q.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}else if(y=Math.sqrt((n-m[0])*(n-m[0])+(t-m[1])*(t-m[1])),u>=y&&(k>=y||null==k))return k=y,{seriesIndex:e,pointIndex:f,gridData:m,data:q.data[f]}}return null}this.animateReplot= +e="xaxis yaxis x2axis y2axis y3axis y4axis y5axis y6axis y7axis y8axis y9axis yMidAxis".split(" "),f=b.axes;for(b=11;0n[0][0]&&pn[2][1]&&rn[0][1]))return{seriesIndex:q.index,pointIndex:f,gridData:l,data:q.data[f],points:q._barPoints[f]};break;case b.jqplot.PyramidRenderer:p=a.x;r=a.y;for(f=0;fn[0][0]+m[0][0]&&pn[2][1]&&r-r?h=-Math.atan(-r/p):0>p?h=Math.PI-Math.atan(-r/p):0==p&&0<-r?h=3*Math.PI/2:0==p&&0>-r?h=Math.PI/2:0==p&&0==r&&(h=0),A&&(h-=A,0>h?h+=2*Math.PI:h>2*Math.PI&&(h-=2*Math.PI)),l=q.sliceMargin/180*Math.PI,xq._innerRadius)for(f=0;fk&&D>h)return{seriesIndex:q.index,pointIndex:f,gridData:[a.x,a.y],data:q.data[f]};break;case b.jqplot.PieRenderer:if(A=q.startAngle/180*Math.PI,p=a.x-q._center[0],r=a.y-q._center[1],x=Math.sqrt(Math.pow(p,2)+Math.pow(r,2)),0-r?h=-Math.atan(-r/p):0>p?h=Math.PI-Math.atan(-r/p):0==p&&0<-r?h=3*Math.PI/2:0==p&&0>-r?h=Math.PI/2:0==p&&0==r&&(h=0),A&&(h-=A,0>h?h+=2*Math.PI:h>2*Math.PI&&(h-=2*Math.PI)),l=q.sliceMargin/180*Math.PI,xk&&D>h)return{seriesIndex:q.index,pointIndex:f,gridData:[a.x,a.y],data:q.data[f]};break;case b.jqplot.BubbleRenderer:p=a.x;r=a.y;m=null;if(q.show){for(f=0;f=z||null==v)&&(v=z,m={seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]})}if(null!=m)return m}break;case b.jqplot.FunnelRenderer:p=a.x;r=a.y;var t;m=q._vertices;f=m[0];var y=m[m.length-1];l= +d(r,f[0],y[3]);y=d(r,f[1],y[2]);for(f=0;f=t[0][1]&&r<=t[3][1]&&p>=l[0]&&p<=y[0])return{seriesIndex:q.index,pointIndex:f,gridData:null,data:q.data[f]};break;case b.jqplot.LineRenderer:if(p=a.x,r=a.y,x=q.renderer,q.show)if(!(q.fill||q.renderer.bands.show&&q.renderer.bands.fill)||c.plugins.highlighter&&c.plugins.highlighter.show)for(f=q.markerRenderer.size/2+q.neighborThreshold,m=0=l[0]-x._bodyWidth/2&&p<=l[0]+x._bodyWidth/2&&r>=y(q.data[f][2])&&r<=y(q.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}else if(x.hlc){if(y=q._yaxis.series_u2p,p>=l[0]-x._tickLength&&p<=l[0]+x._tickLength&&r>=y(q.data[f][1])&&r<=y(q.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}else{if(y=q._yaxis.series_u2p,p>=l[0]-x._tickLength&&p<=l[0]+x._tickLength&&r>=y(q.data[f][2])&&r<=y(q.data[f][3]))return{seriesIndex:e,pointIndex:f, +gridData:l,data:q.data[f]}}else{if(null!=l[0]&&null!=l[1]&&(z=Math.sqrt((p-l[0])*(p-l[0])+(r-l[1])*(r-l[1])),m>=z&&(v>=z||null==v)))return v=z,{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}else{l=!1;if(p>q._boundingBox[0][0]&&pq._boundingBox[1][1]&&rm;m++){var C=[q._areaPoints[m][0],q._areaPoints[m][1]];f=[q._areaPoints[f][0],q._areaPoints[f][1]];(C[1]=r||f[1]=r)&&C[0]+(r-C[1])/(f[1]-C[1])* +(f[0]-C[0])=l[0]-x._bodyWidth/2&&p<=l[0]+x._bodyWidth/2&&r>=y(q.data[f][2])&&r<=y(q.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}else if(x.hlc){if(y= +q._yaxis.series_u2p,p>=l[0]-x._tickLength&&p<=l[0]+x._tickLength&&r>=y(q.data[f][1])&&r<=y(q.data[f][2]))return{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}else{if(y=q._yaxis.series_u2p,p>=l[0]-x._tickLength&&p<=l[0]+x._tickLength&&r>=y(q.data[f][2])&&r<=y(q.data[f][3]))return{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}else if(z=Math.sqrt((p-l[0])*(p-l[0])+(r-l[1])*(r-l[1])),m>=z&&(v>=z||null==v))return v=z,{seriesIndex:e,pointIndex:f,gridData:l,data:q.data[f]}}return null}this.animateReplot= this.animate=!1;this.axes={xaxis:new k("xaxis"),yaxis:new k("yaxis"),x2axis:new k("x2axis"),y2axis:new k("y2axis"),y3axis:new k("y3axis"),y4axis:new k("y4axis"),y5axis:new k("y5axis"),y6axis:new k("y6axis"),y7axis:new k("y7axis"),y8axis:new k("y8axis"),y9axis:new k("y9axis"),yMidAxis:new k("yMidAxis")};this.baseCanvas=new b.jqplot.GenericCanvas;this.captureRightClick=!1;this.data=[];this.dataRenderer;this.dataRendererOptions;this.defaults={axesDefaults:{},axes:{xaxis:{},yaxis:{},x2axis:{},y2axis:{}, -y3axis:{},y4axis:{},y5axis:{},y6axis:{},y7axis:{},y8axis:{},y9axis:{},yMidAxis:{}},seriesDefaults:{},series:[]};this.defaultAxisStart=1;this.drawIfHidden=!1;this.eventCanvas=new b.jqplot.GenericCanvas;this.fillBetween={series1:null,series2:null,color:null,baseSeries:0,fill:!0};this.fontFamily;this.fontSize;this.grid=new x;this.legend=new r;this.noDataIndicator={show:!1,indicator:"Loading Data...",axes:{xaxis:{min:0,max:10,tickInterval:2,show:!0},yaxis:{min:0,max:12,tickInterval:3,show:!0}}};this.negativeSeriesColors= -b.jqplot.config.defaultNegativeColors;this.options={};this.previousSeriesStack=[];this.plugins={};this.series=[];this.seriesStack=[];this.seriesColors=b.jqplot.config.defaultColors;this.sortData=!0;this.stackSeries=!1;this.syncYTicks=this.syncXTicks=!0;this.targetId=this.target=null;this.textColor;this.title=new n;this._sumx=this._sumy=this._drawCount=0;this._stackData=[];this._plotData=[];this._height=this._width=null;this._plotDimensions={height:null,width:null};this._gridPadding={top:null,right:null, +y3axis:{},y4axis:{},y5axis:{},y6axis:{},y7axis:{},y8axis:{},y9axis:{},yMidAxis:{}},seriesDefaults:{},series:[]};this.defaultAxisStart=1;this.drawIfHidden=!1;this.eventCanvas=new b.jqplot.GenericCanvas;this.fillBetween={series1:null,series2:null,color:null,baseSeries:0,fill:!0};this.fontFamily;this.fontSize;this.grid=new y;this.legend=new t;this.noDataIndicator={show:!1,indicator:"Loading Data...",axes:{xaxis:{min:0,max:10,tickInterval:2,show:!0},yaxis:{min:0,max:12,tickInterval:3,show:!0}}};this.negativeSeriesColors= +b.jqplot.config.defaultNegativeColors;this.options={};this.previousSeriesStack=[];this.plugins={};this.series=[];this.seriesStack=[];this.seriesColors=b.jqplot.config.defaultColors;this.sortData=!0;this.stackSeries=!1;this.syncYTicks=this.syncXTicks=!0;this.targetId=this.target=null;this.textColor;this.title=new r;this._sumx=this._sumy=this._drawCount=0;this._stackData=[];this._plotData=[];this._height=this._width=null;this._plotDimensions={height:null,width:null};this._gridPadding={top:null,right:null, bottom:null,left:null};this._defaultGridPadding={top:10,right:10,bottom:23,left:10};this._addDomReference=b.jqplot.config.addDomReference;this.preInitHooks=new b.jqplot.HooksManager;this.postInitHooks=new b.jqplot.HooksManager;this.preParseOptionsHooks=new b.jqplot.HooksManager;this.postParseOptionsHooks=new b.jqplot.HooksManager;this.preDrawHooks=new b.jqplot.HooksManager;this.postDrawHooks=new b.jqplot.HooksManager;this.preDrawSeriesHooks=new b.jqplot.HooksManager;this.postDrawSeriesHooks=new b.jqplot.HooksManager; this.preDrawLegendHooks=new b.jqplot.HooksManager;this.addLegendRowHooks=new b.jqplot.HooksManager;this.preSeriesInitHooks=new b.jqplot.HooksManager;this.postSeriesInitHooks=new b.jqplot.HooksManager;this.preParseSeriesOptionsHooks=new b.jqplot.HooksManager;this.postParseSeriesOptionsHooks=new b.jqplot.HooksManager;this.eventListenerHooks=new b.jqplot.EventListenerManager;this.preDrawSeriesShadowHooks=new b.jqplot.HooksManager;this.postDrawSeriesShadowHooks=new b.jqplot.HooksManager;this.colorGenerator= new b.jqplot.ColorGenerator;this.negativeColorGenerator=new b.jqplot.ColorGenerator;this.canvasManager=new b.jqplot.CanvasManager;this.themeEngine=new b.jqplot.ThemeEngine;this.init=function(c,d,e){e=e||{};for(var f=0;ff;f++)this.axes[K[f]]=new k(K[f]);if(this._plotDimensions.height=this._height,this._plotDimensions.width=this._width,this.grid._plotDimensions=this._plotDimensions,this.title._plotDimensions=this._plotDimensions,this.baseCanvas._plotDimensions=this._plotDimensions, this.eventCanvas._plotDimensions=this._plotDimensions,this.legend._plotDimensions=this._plotDimensions,0>=this._height||0>=this._width||!this._height||!this._width)throw Error("Canvas dimension not set");if(e.dataRenderer&&b.isFunction(e.dataRenderer)&&(e.dataRendererOptions&&(this.dataRendererOptions=e.dataRendererOptions),this.dataRenderer=e.dataRenderer,d=this.dataRenderer(d,this,this.dataRendererOptions)),e.noDataIndicator&&b.isPlainObject(e.noDataIndicator)&&b.extend(!0,this.noDataIndicator, -e.noDataIndicator),null==d||0==b.isArray(d)||0==d.length||0==b.isArray(d[0])||0==d[0].length){if(0==this.noDataIndicator.show)throw Error("No data specified");for(var g in this.noDataIndicator.axes)for(var w in this.noDataIndicator.axes[g])this.axes[g][w]=this.noDataIndicator.axes[g][w];this.postDrawHooks.add(function(){var a=this.eventCanvas.getHeight(),c=this.eventCanvas.getWidth(),d=b('
    ');this.target.append(d);d.height(a);d.width(c); +e.noDataIndicator),null==d||0==b.isArray(d)||0==d.length||0==b.isArray(d[0])||0==d[0].length){if(0==this.noDataIndicator.show)throw Error("No data specified");for(var g in this.noDataIndicator.axes)for(var x in this.noDataIndicator.axes[g])this.axes[g][x]=this.noDataIndicator.axes[g][x];this.postDrawHooks.add(function(){var a=this.eventCanvas.getHeight(),c=this.eventCanvas.getWidth(),d=b('
    ');this.target.append(d);d.height(a);d.width(c); d.css("top",this.eventCanvas._offsets.top);d.css("left",this.eventCanvas._offsets.left);c=b('
    ');d.append(c);c.html(this.noDataIndicator.indicator);d=c.height();var e=c.width();c.height(d);c.width(e);c.css("top",(a-d)/2+"px")})}this.data=b.extend(!0,[],d);this.parseOptions(e);this.textColor&&this.target.css("color",this.textColor);this.fontFamily&&this.target.css("font-family", this.fontFamily);this.fontSize&&this.target.css("font-size",this.fontSize);this.title.init();this.legend.init();this._sumx=this._sumy=0;this.computePlotData();for(f=0;ff;f++)d=K[f],g=this.axes[d],g._plotDimensions=this._plotDimensions,g.init(),null==this.axes[d].borderColor&&("x"!==d.charAt(0)&&!0===g.useSeriesColor&&g.show?g.borderColor=g._series[0].color:g.borderColor=this.grid.borderColor);this.sortData&&a(this.series);this.grid.init();this.grid._axes=this.axes;this.legend._series=this.series;for(f=0;f=this._height||0>=this._width||!this._height||!this._width)throw Error("Target dimension not set");this._plotDimensions.height=this._height;this._plotDimensions.width=this._width;this.grid._plotDimensions=this._plotDimensions;this.title._plotDimensions=this._plotDimensions;this.baseCanvas._plotDimensions=this._plotDimensions;this.eventCanvas._plotDimensions= -this._plotDimensions;this.legend._plotDimensions=this._plotDimensions;g=0;for(var w=K.length;w>g;g++){q=K[g];var h=this.axes[q];var m=h._ticks;var A=0;for(var l=m.length;l>A;A++){var C=m[A]._elem;C&&(b.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==U&&window.G_vmlCanvasManager.uninitElement(C.get(0)),C.emptyForce(),m._elem=null)}delete h.ticks;delete h._ticks;this.axes[q]=new k(q);this.axes[q]._plotWidth=this._width;this.axes[q]._plotHeight=this._height}c&&(e.dataRenderer&&b.isFunction(e.dataRenderer)&& +this._plotDimensions;this.legend._plotDimensions=this._plotDimensions;g=0;for(var x=K.length;x>g;g++){q=K[g];var h=this.axes[q];var l=h._ticks;var A=0;for(var D=l.length;D>A;A++){var v=l[A]._elem;v&&(b.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==U&&window.G_vmlCanvasManager.uninitElement(v.get(0)),v.emptyForce(),l._elem=null)}delete h.ticks;delete h._ticks;this.axes[q]=new k(q);this.axes[q]._plotWidth=this._width;this.axes[q]._plotHeight=this._height}c&&(e.dataRenderer&&b.isFunction(e.dataRenderer)&& (e.dataRendererOptions&&(this.dataRendererOptions=e.dataRendererOptions),this.dataRenderer=e.dataRenderer,c=this.dataRenderer(c,this,this.dataRendererOptions)),this.data=b.extend(!0,[],c));d&&this.parseOptions(e);this.title._plotWidth=this._width;this.textColor&&this.target.css("color",this.textColor);this.fontFamily&&this.target.css("font-family",this.fontFamily);this.fontSize&&this.target.css("font-size",this.fontSize);this.title.init();this.legend.init();this._sumx=this._sumy=0;this.seriesStack= -[];this.previousSeriesStack=[];this.computePlotData();g=0;for(w=this.series.length;w>g;g++){this.seriesStack.push(g);this.previousSeriesStack.push(g);this.series[g].shadowCanvas._plotDimensions=this._plotDimensions;this.series[g].canvas._plotDimensions=this._plotDimensions;for(A=0;Ag;g++){this.seriesStack.push(g);this.previousSeriesStack.push(g);this.series[g].shadowCanvas._plotDimensions=this._plotDimensions;this.series[g].canvas._plotDimensions=this._plotDimensions;for(A=0;Ag;g++)q=K[g],h=this.axes[q],h._plotDimensions=this._plotDimensions,h.init(),null==h.borderColor&&("x"!==q.charAt(0)&&!0===h.useSeriesColor&&h.show?h.borderColor=h._series[0].color:h.borderColor=this.grid.borderColor);this.sortData&&a(this.series);this.grid.init();this.grid._axes=this.axes;this.legend._series=this.series;g=0;for(w=b.jqplot.postInitHooks.length;w>g;g++)b.jqplot.postInitHooks[g].call(this,f, -this.data,e);g=0;for(w=this.postInitHooks.hooks.length;w>g;g++)this.postInitHooks.hooks[g].call(this,f,this.data,e)};this.quickInit=function(){if(this._height=this.target.height(),this._width=this.target.width(),0>=this._height||0>=this._width||!this._height||!this._width)throw Error("Target dimension not set");this._plotDimensions.height=this._height;this._plotDimensions.width=this._width;this.grid._plotDimensions=this._plotDimensions;this.title._plotDimensions=this._plotDimensions;this.baseCanvas._plotDimensions= +this);this._sumy+=this.series[g]._sumy;this._sumx+=this.series[g]._sumx}g=0;for(x=K.length;x>g;g++)q=K[g],h=this.axes[q],h._plotDimensions=this._plotDimensions,h.init(),null==h.borderColor&&("x"!==q.charAt(0)&&!0===h.useSeriesColor&&h.show?h.borderColor=h._series[0].color:h.borderColor=this.grid.borderColor);this.sortData&&a(this.series);this.grid.init();this.grid._axes=this.axes;this.legend._series=this.series;g=0;for(x=b.jqplot.postInitHooks.length;x>g;g++)b.jqplot.postInitHooks[g].call(this,f, +this.data,e);g=0;for(x=this.postInitHooks.hooks.length;x>g;g++)this.postInitHooks.hooks[g].call(this,f,this.data,e)};this.quickInit=function(){if(this._height=this.target.height(),this._width=this.target.width(),0>=this._height||0>=this._width||!this._height||!this._width)throw Error("Target dimension not set");this._plotDimensions.height=this._height;this._plotDimensions.width=this._width;this.grid._plotDimensions=this._plotDimensions;this.title._plotDimensions=this._plotDimensions;this.baseCanvas._plotDimensions= this._plotDimensions;this.eventCanvas._plotDimensions=this._plotDimensions;this.legend._plotDimensions=this._plotDimensions;for(var c in this.axes)this.axes[c]._plotWidth=this._width,this.axes[c]._plotHeight=this._height;this.title._plotWidth=this._width;this.textColor&&this.target.css("color",this.textColor);this.fontFamily&&this.target.css("font-family",this.fontFamily);this.fontSize&&this.target.css("font-size",this.fontSize);this._sumx=this._sumy=0;this.computePlotData();for(c=0;ce;e++){d=K[e];var f=this.axes[d]._ticks;for(c=0;cc;c++){var d=this.series[c];this._plotData.push([]);this._stackData.push([]);var e=d.data;this._plotData[c]=b.extend(!0,[],e);this._stackData[c]=b.extend(!0,[],e);d._plotData=this._plotData[c];d._stackData= -this._stackData[c];var f={x:[],y:[]};if(this.stackSeries&&!d.disableStack){d._stack=!0;f="x"===d._stackAxis?0:1;for(var q=0,g=e.length;g>q;q++){var w=e[q][f];if(null==w&&(w=0),this._plotData[c][q][f]=w,this._stackData[c][q][f]=w,0h;h++)for(var m=this.series[h].data,l=0;lq;q++){var x=e[q][f];if(null==x&&(x=0),this._plotData[c][q][f]=x,this._stackData[c][q][f]=x,0h;h++)for(var l=this.series[h].data,k=0;kc;c++){var q=e[c];null!=d.fillBetween[q]&&(this.fillBetween[q]=d.fillBetween[q])}}d.seriesColors&&(this.seriesColors=d.seriesColors);d.negativeSeriesColors&&(this.negativeSeriesColors=d.negativeSeriesColors);d.captureRightClick&&(this.captureRightClick=d.captureRightClick);this.defaultAxisStart=a&&null!=a.defaultAxisStart? a.defaultAxisStart:this.defaultAxisStart;this.colorGenerator.setColors(this.seriesColors);this.negativeColorGenerator.setColors(this.negativeSeriesColors);b.extend(!0,this._gridPadding,d.gridPadding);this.sortData=null!=d.sortData?d.sortData:this.sortData;for(c=0;12>c;c++)e=K[c],q=this.axes[e],q._options=b.extend(!0,{},d.axesDefaults,d.axes[e]),b.extend(!0,q,d.axesDefaults,d.axes[e]),q._plotWidth=this._width,q._plotHeight=this._height;this.series=[];for(c=0;cm;m++)"vertical"==g?h.push([w+m,f[m]]):h.push([f[m],w+m])}switch(d.data=h,e.xaxis){case "xaxis":e._xaxis=this.axes.xaxis;break;case "x2axis":e._xaxis=this.axes.x2axis}e._yaxis= +{seriesColors:this.seriesColors,negativeSeriesColors:this.negativeSeriesColors},this.options.seriesDefaults,this.options.series[c],{rendererOptions:{animation:{show:this.animate}}});e=new n(d);for(f=0;fl;l++)"vertical"==g?h.push([x+l,f[l]]):h.push([f[l],x+l])}switch(d.data=h,e.xaxis){case "xaxis":e._xaxis=this.axes.xaxis;break;case "x2axis":e._xaxis=this.axes.x2axis}e._yaxis= this.axes[e.yaxis];e._xaxis._series.push(e);e._yaxis._series.push(e);e.show?(e._xaxis.show=!0,e._yaxis.show=!0):(e._xaxis.scaleToHiddenSeries&&(e._xaxis.show=!0),e._yaxis.scaleToHiddenSeries&&(e._yaxis.show=!0));e.label||(e.label="Series "+(c+1).toString());this.series.push(e);for(f=0;fc;c++)e=K[c],q=this.axes[e],null==q.borderWidth&&(q.borderWidth=this.grid.borderWidth);"string"==typeof this.options.title?this.title.text=this.options.title:"object"==typeof this.options.title&&b.extend(!0,this.title,this.options.title);this.title._plotWidth=this._width;this.legend.setOptions(this.options.legend);for(c=0;ca;a++)this._sumy+=this.series[a]._sumy,this._sumx+=this.series[a]._sumx;this.draw(); this.target.trigger("jqplotPostRedraw")};this.draw=function(){if(this.drawIfHidden||this.target.is(":visible")){this.target.trigger("jqplotPreDraw");var a;var c=0;for(a=b.jqplot.preDrawHooks.length;a>c;c++)b.jqplot.preDrawHooks[c].call(this);c=0;for(a=this.preDrawHooks.hooks.length;a>c;c++)this.preDrawHooks.hooks[c].apply(this,this.preDrawSeriesHooks.args[c]);this.target.append(this.baseCanvas.createElement({left:0,right:0,top:0,bottom:0},"jqplot-base-canvas",null,this));this.baseCanvas.setContext(); this.target.append(this.title.draw());this.title.pack({top:0,left:0});var d=this.legend.draw({},this),e={top:0,left:0,bottom:0,right:0};if("outsideGrid"==this.legend.placement){switch(this.target.append(d),this.legend.location){case "n":e.top+=this.legend.getHeight();break;case "s":e.bottom+=this.legend.getHeight();break;case "ne":case "e":case "se":e.right+=this.legend.getWidth();break;case "nw":case "w":case "sw":e.left+=this.legend.getWidth();break;default:e.right+=this.legend.getWidth()}d=d.detach()}var f= -this.axes;for(c=0;12>c;c++)a=K[c],this.target.append(f[a].draw(this.baseCanvas._ctx,this)),f[a].set();f.yaxis.show&&(e.left+=f.yaxis.getWidth());a="y2axis y3axis y4axis y5axis y6axis y7axis y8axis y9axis".split(" ");var q=[0,0,0,0,0,0,0,0];var g=0;for(c=0;8>c;c++)f[a[c]].show&&(g+=f[a[c]].getWidth(),q[c]=g);if(e.right+=g,f.x2axis.show&&(e.top+=f.x2axis.getHeight()),this.title.show&&(e.top+=this.title.getHeight()),f.xaxis.show&&(e.bottom+=f.xaxis.getHeight()),this.options.gridDimensions&&b.isPlainObject(this.options.gridDimensions)){var w= -parseInt(this.options.gridDimensions.width,10)||0;g=parseInt(this.options.gridDimensions.height,10)||0;w=(this._width-e.left-e.right-w)/2;g=(this._height-e.top-e.bottom-g)/2;0<=g&&0<=w&&(e.top+=g,e.bottom+=g,e.left+=w,e.right+=w)}g=["top","bottom","left","right"];for(c in g)null==this._gridPadding[g[c]]&&0c;c++)a=K[c],this.target.append(f[a].draw(this.baseCanvas._ctx,this)),f[a].set();f.yaxis.show&&(e.left+=f.yaxis.getWidth());a="y2axis y3axis y4axis y5axis y6axis y7axis y8axis y9axis".split(" ");var q=[0,0,0,0,0,0,0,0];var g=0;for(c=0;8>c;c++)f[a[c]].show&&(g+=f[a[c]].getWidth(),q[c]=g);if(e.right+=g,f.x2axis.show&&(e.top+=f.x2axis.getHeight()),this.title.show&&(e.top+=this.title.getHeight()),f.xaxis.show&&(e.bottom+=f.xaxis.getHeight()),this.options.gridDimensions&&b.isPlainObject(this.options.gridDimensions)){var x= +parseInt(this.options.gridDimensions.width,10)||0;g=parseInt(this.options.gridDimensions.height,10)||0;x=(this._width-e.left-e.right-x)/2;g=(this._height-e.top-e.bottom-g)/2;0<=g&&0<=x&&(e.top+=g,e.bottom+=g,e.left+=x,e.right+=x)}g=["top","bottom","left","right"];for(c in g)null==this._gridPadding[g[c]]&&0c;c++)q=this.seriesStack[c],this.target.append(f[q].shadowCanvas.createElement(this._gridPadding,"jqplot-series-shadowCanvas",null,this)),f[q].shadowCanvas.setContext(),f[q].shadowCanvas._elem.data("seriesIndex",q);c=0;for(a=e;a>c;c++)q=this.seriesStack[c],this.target.append(f[q].canvas.createElement(this._gridPadding, @@ -899,7 +899,7 @@ top:this._gridPadding.top-f.x2axis.getHeight(),left:0,width:this._width},{min:th this.drawSeries({legendInfo:{location:this.legend.location,placement:this.legend.placement,width:this.legend.getWidth(),height:this.legend.getHeight(),xoffset:this.legend.xoffset,yoffset:this.legend.yoffset}}):this.drawSeries()):(this.drawSeries(),e&&b(f[e-1].canvas._elem).after(d),this.legend.pack(g));c=0;for(a=b.jqplot.eventListenerHooks.length;a>c;c++)this.eventCanvas._elem.bind(b.jqplot.eventListenerHooks[c][0],{plot:this},b.jqplot.eventListenerHooks[c][1]);c=0;for(a=this.eventListenerHooks.hooks.length;a> c;c++)this.eventCanvas._elem.bind(this.eventListenerHooks.hooks[c][0],{plot:this},this.eventListenerHooks.hooks[c][1]);d=this.fillBetween;if("number"==typeof d.series1)d.fill&&d.series1!==d.series2&&d.series1a&&e>q&&"line"===f[a]._type&& "line"===f[q]._type)){c=!1;break}c=!0}d.fill&&c&&this.doFillBetweenLines()}c=0;for(a=b.jqplot.postDrawHooks.length;a>c;c++)b.jqplot.postDrawHooks[c].call(this);c=0;for(a=this.postDrawHooks.hooks.length;a>c;c++)this.postDrawHooks.hooks[c].apply(this,this.postDrawHooks.args[c]);this.target.is(":visible")&&(this._drawCount+=1);var h;c=0;for(a=e;a>c;c++)d=f[c],e=d.renderer,q=".jqplot-point-label.jqplot-series-"+c,e.animation&&e.animation._supported&&e.animation.show&&(2>this._drawCount||this.animateReplot)&& -(h=this.target.find(q),h.stop(!0,!0).hide(),d.canvas._elem.stop(!0,!0).hide(),d.shadowCanvas._elem.stop(!0,!0).hide(),d.canvas._elem.jqplotEffect("blind",{mode:"show",direction:e.animation.direction},e.animation.speed),d.shadowCanvas._elem.jqplotEffect("blind",{mode:"show",direction:e.animation.direction},e.animation.speed),h.fadeIn(.8*e.animation.speed));this.target.trigger("jqplotPostDraw",[this])}};p.prototype.doFillBetweenLines=function(){function a(a,e){var f=c[a];e=c[e];e=e.renderer.smooth? +(h=this.target.find(q),h.stop(!0,!0).hide(),d.canvas._elem.stop(!0,!0).hide(),d.shadowCanvas._elem.stop(!0,!0).hide(),d.canvas._elem.jqplotEffect("blind",{mode:"show",direction:e.animation.direction},e.animation.speed),d.shadowCanvas._elem.jqplotEffect("blind",{mode:"show",direction:e.animation.direction},e.animation.speed),h.fadeIn(.8*e.animation.speed));this.target.trigger("jqplotPostDraw",[this])}};m.prototype.doFillBetweenLines=function(){function a(a,e){var f=c[a];e=c[e];e=e.renderer.smooth? e.renderer._smoothedData.slice(0).reverse():e.gridData.slice(0).reverse();e=f.renderer.smooth?f.renderer._smoothedData.concat(e):f.gridData.concat(e);c[null!==b.baseSeries?b.baseSeries:a].renderer.shapeRenderer.draw(f.shadowCanvas._ctx,e,{fillStyle:null!==b.color?b.color:c[d].fillColor,fill:!0,closePath:!0})}var b=this.fillBetween,c=this.series,d=b.series1,e=b.series2,f=0,q=0;if("number"==typeof d&&"number"==typeof e)a(e>d?d:e,e>d?e:d);else for(var g=0;g d[g]?e[g]:d[g],a(f,q)};this.bindCustomEvents=function(){this.eventCanvas._elem.bind("click",{plot:this},this.onClick);this.eventCanvas._elem.bind("dblclick",{plot:this},this.onDblClick);this.eventCanvas._elem.bind("mousedown",{plot:this},this.onMouseDown);this.eventCanvas._elem.bind("mousemove",{plot:this},this.onMouseMove);this.eventCanvas._elem.bind("mouseenter",{plot:this},this.onMouseEnter);this.eventCanvas._elem.bind("mouseleave",{plot:this},this.onMouseLeave);this.captureRightClick?(this.eventCanvas._elem.bind("mouseup", {plot:this},this.onRightClick),this.eventCanvas._elem.get(0).oncontextmenu=function(){return!1}):this.eventCanvas._elem.bind("mouseup",{plot:this},this.onMouseUp)};this.onClick=function(a){var e=c(a),f=a.data.plot,q=d(e.gridPos,f),g=b.Event("jqplotClick");g.pageX=a.pageX;g.pageY=a.pageY;b(this).trigger(g,[e.gridPos,e.dataPos,q,f])};this.onDblClick=function(a){var e=c(a),f=a.data.plot,q=d(e.gridPos,f),g=b.Event("jqplotDblClick");g.pageX=a.pageX;g.pageY=a.pageY;b(this).trigger(g,[e.gridPos,e.dataPos, @@ -910,21 +910,21 @@ f=b.Event("jqplotMouseLeave");f.pageX=a.pageX;f.pageY=a.pageY;f.relatedTarget=a. f=this.series[a].shadowCanvas._elem.detach();this.series[d].shadowCanvas._elem.after(f);this.series[d].canvas._elem.after(e);this.previousSeriesStack=this.seriesStack.slice(0);this.seriesStack.splice(c,1);this.seriesStack.push(a)}};this.moveSeriesToBack=function(a){a=parseInt(a,10);var c=b.inArray(a,this.seriesStack);if(0!=c&&-1!=c){var d=this.seriesStack[0],e=this.series[a].canvas._elem.detach(),f=this.series[a].shadowCanvas._elem.detach();this.series[d].shadowCanvas._elem.before(f);this.series[d].canvas._elem.before(e); this.previousSeriesStack=this.seriesStack.slice(0);this.seriesStack.splice(c,1);this.seriesStack.unshift(a)}};this.restorePreviousSeriesOrder=function(){var a;if(this.seriesStack!=this.previousSeriesStack){for(a=1;am;m++)c.push(a[m][1]),h.push(a[m][0]);for(var k,p,u,n,y=a.length-1,r=1,x=a.length;x>r;r++){n=[]; -l=[];for(var z=0;2>z;z++)m=r-1+z,0==m||m==y?n[z]=Math.pow(10,10):0==c[m+1]-c[m]||0==c[m]-c[m-1]?n[z]=0:0==(h[m+1]-h[m])/(c[m+1]-c[m])+(h[m]-h[m-1])/(c[m]-c[m-1])?n[z]=0:0>(c[m+1]-c[m])*(c[m]-c[m-1])?n[z]=0:n[z]=2/(b(h[m+1],h[m])/(c[m+1]-c[m])+b(h[m],h[m-1])/(c[m]-c[m-1]));1==r?n[0]=1.5*(c[1]-c[0])/b(h[1],h[0])-n[1]/2:r==y&&(n[1]=1.5*(c[y]-c[y-1])/b(h[y],h[y-1])-n[0]/2);l[0]=-2*(n[1]+2*n[0])/b(h[r],h[r-1])+6*(c[r]-c[r-1])/Math.pow(b(h[r],h[r-1]),2);l[1]=2*(2*n[1]+n[0])/b(h[r],h[r-1])-6*(c[r]-c[r-1])/ -Math.pow(b(h[r],h[r-1]),2);n=1/6*(l[1]-l[0])/b(h[r],h[r-1]);u=.5*(h[r]*l[0]-h[r-1]*l[1])/b(h[r],h[r-1]);p=(c[r]-c[r-1]-u*(Math.pow(h[r],2)-Math.pow(h[r-1],2))-n*(Math.pow(h[r],3)-Math.pow(h[r-1],3)))/b(h[r],h[r-1]);k=c[r-1]-p*h[r-1]-u*Math.pow(h[r-1],2)-n*Math.pow(h[r-1],3);var D=(h[r]-h[r-1])/q;z=0;for(l=q;l>z;z++){var v=[];var t=h[r-1]+z*D;v.push(t);v.push(k+p*t+u*Math.pow(t,2)+n*Math.pow(t,3));d.push(v);g.push([e(v[0]),f(v[1])])}}return d.push(a[m]),g.push([e(a[m][0]),f(a[m][1])]),[d,g]}function m(a){var b, -c,d,e;var f=this.renderer.smooth;var g=this.renderer.tension,q=this.canvas.getWidth(),h=this._xaxis.series_p2u,m=this._yaxis.series_p2u,l=null,k=null,p=null,u=null,n=null,r=null;var x=a.length/q;q=[];var z=[];x=isNaN(parseFloat(f))?3.9182054*Math.pow(x,-.3534992):parseFloat(f);isNaN(parseFloat(g))||(g=parseFloat(g));for(var D=0,v=a.length-1;v>D;D++)for(null===g?(u=Math.abs((a[D+1][1]-a[D][1])/(a[D+1][0]-a[D][0])),r=u/2.5+-1.4,k=.15*y(r)-.15*y(-1.4)+.3,0f;f++){var B=f/x;var t=(1+2*B)*Math.pow(1-B,2);var Y=B*Math.pow(1-B,2);var N=Math.pow(B,2)*(3-2*B);var M=Math.pow(B,2)*(B-1);a[D-1]?(b=l*(a[D+1][0]-a[D-1][0]),c=l*(a[D+1][1]-a[D-1][1])):(b=l*(a[D+1][0]-a[D][0]),c=l*(a[D+1][1]-a[D][1]));a[D+2]?(d=l*(a[D+2][0]-a[D][0]),e=l*(a[D+2][1]-a[D][1])):(d=l*(a[D+1][0]-a[D][0]),e=l*(a[D+1][1]-a[D][1]));B=t*a[D][0]+N*a[D+1][0]+Y*b+M*d;t=t*a[D][1]+N*a[D+1][1]+Y*c+M*e;Y=[B,t];q.push(Y);z.push([h(B), -m(t)])}return q.push(a[v]),z.push([h(a[v][0]),m(a[v][1])]),[q,z]}function g(a,c,d){for(a=0;al;l++)c.push(a[l][1]),h.push(a[l][0]);for(var v,n,m,p,r=a.length-1,z=1,t=a.length;t>z;z++){p=[]; +k=[];for(var y=0;2>y;y++)l=z-1+y,0==l||l==r?p[y]=Math.pow(10,10):0==c[l+1]-c[l]||0==c[l]-c[l-1]?p[y]=0:0==(h[l+1]-h[l])/(c[l+1]-c[l])+(h[l]-h[l-1])/(c[l]-c[l-1])?p[y]=0:0>(c[l+1]-c[l])*(c[l]-c[l-1])?p[y]=0:p[y]=2/(b(h[l+1],h[l])/(c[l+1]-c[l])+b(h[l],h[l-1])/(c[l]-c[l-1]));1==z?p[0]=1.5*(c[1]-c[0])/b(h[1],h[0])-p[1]/2:z==r&&(p[1]=1.5*(c[r]-c[r-1])/b(h[r],h[r-1])-p[0]/2);k[0]=-2*(p[1]+2*p[0])/b(h[z],h[z-1])+6*(c[z]-c[z-1])/Math.pow(b(h[z],h[z-1]),2);k[1]=2*(2*p[1]+p[0])/b(h[z],h[z-1])-6*(c[z]-c[z-1])/ +Math.pow(b(h[z],h[z-1]),2);p=1/6*(k[1]-k[0])/b(h[z],h[z-1]);m=.5*(h[z]*k[0]-h[z-1]*k[1])/b(h[z],h[z-1]);n=(c[z]-c[z-1]-m*(Math.pow(h[z],2)-Math.pow(h[z-1],2))-p*(Math.pow(h[z],3)-Math.pow(h[z-1],3)))/b(h[z],h[z-1]);v=c[z-1]-n*h[z-1]-m*Math.pow(h[z-1],2)-p*Math.pow(h[z-1],3);var C=(h[z]-h[z-1])/q;y=0;for(k=q;k>y;y++){var w=[];var u=h[z-1]+y*C;w.push(u);w.push(v+n*u+m*Math.pow(u,2)+p*Math.pow(u,3));d.push(w);g.push([e(w[0]),f(w[1])])}}return d.push(a[l]),g.push([e(a[l][0]),f(a[l][1])]),[d,g]}function l(a){var b, +c,d,e;var f=this.renderer.smooth;var g=this.renderer.tension,q=this.canvas.getWidth(),h=this._xaxis.series_p2u,l=this._yaxis.series_p2u,k=null,v=null,n=null,p=null,m=null,r=null;var t=a.length/q;q=[];var y=[];t=isNaN(parseFloat(f))?3.9182054*Math.pow(t,-.3534992):parseFloat(f);isNaN(parseFloat(g))||(g=parseFloat(g));for(var C=0,w=a.length-1;w>C;C++)for(null===g?(p=Math.abs((a[C+1][1]-a[C][1])/(a[C+1][0]-a[C][0])),r=p/2.5+-1.4,v=.15*z(r)-.15*z(-1.4)+.3,0f;f++){var B=f/t;var u=(1+2*B)*Math.pow(1-B,2);var Y=B*Math.pow(1-B,2);var N=Math.pow(B,2)*(3-2*B);var M=Math.pow(B,2)*(B-1);a[C-1]?(b=k*(a[C+1][0]-a[C-1][0]),c=k*(a[C+1][1]-a[C-1][1])):(b=k*(a[C+1][0]-a[C][0]),c=k*(a[C+1][1]-a[C][1]));a[C+2]?(d=k*(a[C+2][0]-a[C][0]),e=k*(a[C+2][1]-a[C][1])):(d=k*(a[C+1][0]-a[C][0]),e=k*(a[C+1][1]-a[C][1]));B=u*a[C][0]+N*a[C+1][0]+Y*b+M*d;u=u*a[C][1]+N*a[C+1][1]+Y*c+M*e;Y=[B,u];q.push(Y);y.push([h(B), +l(u)])}return q.push(a[w]),y.push([h(a[w][0]),l(a[w][1])]),[q,y]}function g(a,c,d){for(a=0;aa?5=a?.1:1.6>=a?.2:4>=a?.5:8>=a?1:16>=a?2:5,c*d}function D(a,b){return a-b}function Y(a){if(null==a||"object"!=typeof a)return a;var b=new a.constructor,c;for(c in a)b[c]=Y(a[c]);return b}function N(a,b){if(null!=b&&"object"==typeof b)for(var c in b)"highlightColors"==c&&(a[c]=Y(b[c])),null!=b[c]&&"object"==typeof b[c]?(a.hasOwnProperty(c)||(a[c]={}),N(a[c],b[c])):a[c]=b[c]}function M(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;d>c;c++)if(b[c]=== +b.which,d.pageX=b.pageX,d.pageY=b.pageY,f.target.trigger(d,c),B(f,e.seriesIndex,e.pointIndex,e.points))):null==e&&a(f)}function e(b,c,d,e,f){b=f.plugins.lineRenderer.highlightedSeriesIndex;null!=b&&f.series[b].highlightMouseDown&&a(f)}function f(a,b,c,d,e){d&&(b=[d.seriesIndex,d.pointIndex,d.data],c=jQuery.Event("jqplotDataClick"),c.which=a.which,c.pageX=a.pageX,c.pageY=a.pageY,e.target.trigger(c,b))}function w(b,c,d,e,f){e&&(c=[e.seriesIndex,e.pointIndex,e.data],d=f.plugins.lineRenderer.highlightedSeriesIndex, +null!=d&&f.series[d].highlightMouseDown&&a(f),d=jQuery.Event("jqplotDataRightClick"),d.which=b.which,d.pageX=b.pageX,d.pageY=b.pageY,f.target.trigger(d,c))}function H(a){return(a=Math.abs(a),10<=a)?"%d":1a?5=a?.1:1.6>=a?.2:4>=a?.5:8>=a?1:16>=a?2:5,c*d}function C(a,b){return a-b}function Y(a){if(null==a||"object"!=typeof a)return a;var b=new a.constructor,c;for(c in a)b[c]=Y(a[c]);return b}function N(a,b){if(null!=b&&"object"==typeof b)for(var c in b)"highlightColors"==c&&(a[c]=Y(b[c])),null!=b[c]&&"object"==typeof b[c]?(a.hasOwnProperty(c)||(a[c]={}),N(a[c],b[c])):a[c]=b[c]}function M(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;d>c;c++)if(b[c]=== a)return c;return-1}function ra(a){return null===a?"[object Null]":Object.prototype.toString.call(a)}function ab(a,c,d,e){return b.isPlainObject(a)?a:(a={effect:a},c===U&&(c={}),b.isFunction(c)&&(e=c,d=null,c={}),("number"===b.type(c)||b.fx.speeds[c])&&(e=d,d=c,c={}),b.isFunction(d)&&(e=d,d=null),c&&b.extend(a,c),d=d||c.duration,a.duration=b.fx.off?0:"number"==typeof d?d:d in b.fx.speeds?b.fx.speeds[d]:b.fx.speeds._default,a.complete=e||c.complete,a)}var U;b.fn.emptyForce=function(){for(var a,c=0;null!= (a=b(this)[c]);c++)if(1===a.nodeType&&b.cleanData(a.getElementsByTagName("*")),b.jqplot.use_excanvas)a.outerHTML="";else for(;a.firstChild;)a.removeChild(a.firstChild);return b(this)};b.fn.removeChildForce=function(a){for(;a.firstChild;)this.removeChildForce(a.firstChild),a.removeChild(a.firstChild)};b.fn.jqplot=function(){for(var a=[],c=[],d=0,e=arguments.length;e>d;d++)b.isArray(arguments[d])?a.push(arguments[d]):b.isPlainObject(arguments[d])&&c.push(arguments[d]);return this.each(function(d){var e= -b(this);var f=a.length;var g=c.length;f=f>d?a[d]:f?a[f-1]:null;g=g>d?c[d]:g?c[g-1]:null;d=e.attr("id");d===U&&(d="jqplot_target_"+b.jqplot.targetCounter++,e.attr("id",d));f=b.jqplot(d,f,g);e.data("jqplot",f)})};b.jqplot=function(a,c,d){var e=null,f=null;3===arguments.length?(e=c,f=d):2===arguments.length&&(b.isArray(c)?e=c:b.isPlainObject(c)&&(f=c));null===e&&null!==f&&f.data&&(e=f.data);var g=new p;if(b("#"+a).removeClass("jqplot-error"),!b.jqplot.config.catchErrors)return g.init(a,e,f),g.draw(), +b(this);var f=a.length;var g=c.length;f=f>d?a[d]:f?a[f-1]:null;g=g>d?c[d]:g?c[g-1]:null;d=e.attr("id");d===U&&(d="jqplot_target_"+b.jqplot.targetCounter++,e.attr("id",d));f=b.jqplot(d,f,g);e.data("jqplot",f)})};b.jqplot=function(a,c,d){var e=null,f=null;3===arguments.length?(e=c,f=d):2===arguments.length&&(b.isArray(c)?e=c:b.isPlainObject(c)&&(f=c));null===e&&null!==f&&f.data&&(e=f.data);var g=new m;if(b("#"+a).removeClass("jqplot-error"),!b.jqplot.config.catchErrors)return g.init(a,e,f),g.draw(), g.themeEngine.init.call(g),g;try{return g.init(a,e,f),g.draw(),g.themeEngine.init.call(g),g}catch(L){e=b.jqplot.config.errorMessage||L.message,b("#"+a).append('
    '+e+"
    "),b("#"+a).addClass("jqplot-error"),document.getElementById(a).style.background=b.jqplot.config.errorBackground,document.getElementById(a).style.border=b.jqplot.config.errorBorder,document.getElementById(a).style.fontFamily=b.jqplot.config.errorFontFamily,document.getElementById(a).style.fontSize= b.jqplot.config.errorFontSize,document.getElementById(a).style.fontStyle=b.jqplot.config.errorFontStyle,document.getElementById(a).style.fontWeight=b.jqplot.config.errorFontWeight}};b.jqplot.version="1.0.9";b.jqplot.revision="d96a669";b.jqplot.targetCounter=1;b.jqplot.CanvasManager=function(){"undefined"==typeof b.jqplot.CanvasManager.canvases&&(b.jqplot.CanvasManager.canvases=[],b.jqplot.CanvasManager.free=[]);var a=[];this.getCanvas=function(){var c=!0;if(!b.jqplot.use_excanvas)for(var d=0,e=b.jqplot.CanvasManager.canvases.length;e> d;d++)if(!0===b.jqplot.CanvasManager.free[d]){c=!1;var f=b.jqplot.CanvasManager.canvases[d];b.jqplot.CanvasManager.free[d]=!1;a.push(d);break}return c&&(f=document.createElement("canvas"),a.push(b.jqplot.CanvasManager.canvases.length),b.jqplot.CanvasManager.canvases.push(f),b.jqplot.CanvasManager.free.push(!1)),f};this.initCanvas=function(a){if(b.jqplot.use_excanvas)return window.G_vmlCanvasManager.initElement(a);var c=a.getContext("2d"),d=1;1 -l;l++)"xaxis"==this.name||"x2axis"==this.name?((null!=e[l][0]&&e[l][0]a.max||null==a.max)&&(a.max=e[l][0])):((null!=e[l][h]&&e[l][h]a.max||null==a.max)&&(a.max=e[l][m]));f&&d.renderer.constructor!==b.jqplot.BarRenderer?f=!1:f&&this._options.hasOwnProperty("forceTickAt0")&&0==this._options.forceTickAt0?f=!1:f&&d.renderer.constructor===b.jqplot.BarRenderer&&("vertical"==d.barDirection&& -"xaxis"!=this.name&&"x2axis"!=this.name?(null!=this._options.pad||null!=this._options.padMin)&&(f=!1):"horizontal"!=d.barDirection||"xaxis"!=this.name&&"x2axis"!=this.name||(null!=this._options.pad||null!=this._options.padMin)&&(f=!1))}f&&this.renderer.constructor===b.jqplot.LinearAxisRenderer&&0<=a.min&&(this.padMin=1,this.forceTickAt0=!0)};r.prototype=new b.jqplot.ElemContainer;r.prototype.constructor=r;r.prototype.setOptions=function(a){if(b.extend(!0,this,a),"inside"==this.placement&&(this.placement= +max:null,numberTicks:null,tickInterval:null,_ticks:[],ticks:[]},a);this.resetDataBounds()};k.prototype.resetDataBounds=function(){var a=this._dataBounds;a.min=null;a.max=null;for(var c,d,e,f=this.show?!0:!1,g=0;g +k;k++)"xaxis"==this.name||"x2axis"==this.name?((null!=e[k][0]&&e[k][0]a.max||null==a.max)&&(a.max=e[k][0])):((null!=e[k][h]&&e[k][h]a.max||null==a.max)&&(a.max=e[k][l]));f&&d.renderer.constructor!==b.jqplot.BarRenderer?f=!1:f&&this._options.hasOwnProperty("forceTickAt0")&&0==this._options.forceTickAt0?f=!1:f&&d.renderer.constructor===b.jqplot.BarRenderer&&("vertical"==d.barDirection&& +"xaxis"!=this.name&&"x2axis"!=this.name?(null!=this._options.pad||null!=this._options.padMin)&&(f=!1):"horizontal"!=d.barDirection||"xaxis"!=this.name&&"x2axis"!=this.name||(null!=this._options.pad||null!=this._options.padMin)&&(f=!1))}f&&this.renderer.constructor===b.jqplot.LinearAxisRenderer&&0<=a.min&&(this.padMin=1,this.forceTickAt0=!0)};t.prototype=new b.jqplot.ElemContainer;t.prototype.constructor=t;t.prototype.setOptions=function(a){if(b.extend(!0,this,a),"inside"==this.placement&&(this.placement= "insideGrid"),0a;a++)(this.breakOnNull|| +"0px";break;default:null==this.marginTop&&(this.marginTop=this.yoffset+"px"),this.marginBottom="0px"}this.yoffset=0}};t.prototype.init=function(){b.isFunction(this.renderer)&&(this.renderer=new this.renderer);this.renderer.init.call(this,this.rendererOptions)};t.prototype.draw=function(a,c){for(var d=0;da;a++)(this.breakOnNull|| null!=e[a]&&null!=e[a][0]&&null!=e[a][1])&&f.push(e[a]);if(this.data=f,this.color||(this.color=d.colorGenerator.get(this.index)),this.negativeColor||(this.negativeColor=d.negativeColorGenerator.get(this.index)),this.fillColor||(this.fillColor=this.color),this.fillAlpha)a=b.jqplot.normalize2rgb(this.fillColor),a=b.jqplot.getColorComponents(a),this.fillColor="rgba("+a[0]+","+a[1]+","+a[2]+","+this.fillAlpha+")";b.isFunction(this.renderer)&&(this.renderer=new this.renderer);this.renderer.init.call(this, -this.rendererOptions,d);this.markerRenderer=new this.markerRenderer;this.markerOptions.color||(this.markerOptions.color=this.color);null==this.markerOptions.show&&(this.markerOptions.show=this.showMarker);this.showMarker=this.markerOptions.show;this.markerRenderer.init(this.markerOptions)};l.prototype.draw=function(a,c,d){c=c==U?{}:c;a=a==U?this.canvas._ctx:a;var e,f,g;for(e=0;ed;d++)this.hooks[d]==a&&(c=!0);c||(this.hooks.push(a),this.args.push(b))};b.jqplot.HooksManager.prototype.add=function(a,b){b=b||[];this.hooks.push(a);this.args.push(b)};b.jqplot.EventListenerManager=function(){this.hooks=[]};b.jqplot.EventListenerManager.prototype.addOnce=function(a,b){var c=!1;var d=0;for(var e=this.hooks.length;e>d;d++){var f=this.hooks[d];f[0]==a&&f[1]==b&&(c=!0)}c||this.hooks.push([a,b])};b.jqplot.EventListenerManager.prototype.add=function(a,b){this.hooks.push([a, @@ -978,85 +978,85 @@ typeof c?(a||(a=b.jqplot.config.defaultTickFormatString),b.jqplot.sprintf(a,c)): lineCap:"round",fill:!1,isarc:!1,angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.shadowWidth,closePath:!1,strokeStyle:this.shadowColor})};b.jqplot.CanvasGridRenderer.prototype.createElement=function(a){var c;this._elem&&(b.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==U&&(c=this._elem.get(0),window.G_vmlCanvasManager.uninitElement(c)),this._elem.emptyForce(),this._elem=null);c=a.canvasManager.getCanvas();var d=this._plotDimensions.width, e=this._plotDimensions.height;return c.width=d,c.height=e,this._elem=b(c),this._elem.addClass("jqplot-grid-canvas"),this._elem.css({position:"absolute",left:0,top:0}),a.canvasManager.initCanvas(c),this._top=this._offsets.top,this._bottom=e-this._offsets.bottom,this._left=this._offsets.left,this._right=d-this._offsets.right,this._width=this._right-this._left,this._height=this._bottom-this._top,this._elem};b.jqplot.CanvasGridRenderer.prototype.draw=function(){function a(a,d,e,f,g){c.save();g=g||{}; null!=g.lineWidth&&0==g.lineWidth||(b.extend(!0,c,g),c.beginPath(),c.moveTo(a,d),c.lineTo(e,f),c.stroke(),c.restore())}var c=this._ctx=this._elem.get(0).getContext("2d"),d=this._axes;c.save();c.clearRect(0,0,this._plotDimensions.width,this._plotDimensions.height);c.fillStyle=this.backgroundColor||this.background;c.fillRect(this._left,this._top,this._width,this._height);c.save();c.lineJoin="miter";c.lineCap="butt";c.lineWidth=this.gridLineWidth;c.strokeStyle=this.gridLineColor;for(var e,f,g=["xaxis", -"yaxis","x2axis","y2axis"],h=4;0e;e++){if("."===d[e])c.push(.1);else{if("-"!==d[e])continue;c.push(b.jqplot.config.dashLength)}c.push(b.jqplot.config.gapLength)}}else c=d[c];if(!c||!c.length)return a;var g=0,q=c[0],h=0,m=0,l=0,w=0,k=function(b,d){var e=a.lineWidth,f=b-h,l=d-m,w=Math.sqrt(f*f+l*l);if(0k)){h=b;m=d;0==(1&g)?a.lineTo(h,m):a.moveTo(h,m);q-=w/e;break}h+=k* -f;m+=k*l;0==(1&g)?a.lineTo(h,m):a.moveTo(h,m);w-=k;g++;g>=c.length&&(g=0);q=c[g]}};return{moveTo:function(b,c){a.moveTo(b,c);h=b;m=c;l=b;w=c},lineTo:k,beginPath:function(){a.beginPath()},closePath:function(){k(l,w)}}};b.jqplot.LineRenderer=function(){this.shapeRenderer=new b.jqplot.ShapeRenderer;this.shadowRenderer=new b.jqplot.ShadowRenderer};b.jqplot.LineRenderer.prototype.init=function(a,h){a=a||{};this._type="line";this.renderer.animation={show:!1,direction:"left",speed:2500,_supported:!0};this.renderer.smooth= -!1;this.renderer.tension=null;this.renderer.constrainSmoothing=!0;this.renderer._smoothedData=[];this.renderer._smoothedPlotData=[];this.renderer._hiBandGridData=[];this.renderer._lowBandGridData=[];this.renderer._hiBandSmoothedData=[];this.renderer._lowBandSmoothedData=[];this.renderer.bandData=[];this.renderer.bands={show:!1,hiData:[],lowData:[],color:this.color,showLines:!1,fill:!0,fillColor:null,_min:null,_max:null,interval:"3%"};var q=a.highlightMouseOver,m=a.highlightMouseDown,l=a.highlightColor; +b.jqplot.config.gapLength],solid:null};if("string"==typeof c)if("."===c[0]||"-"===c[0]){d=c;c=[];for(var e=0,f=d.length;f>e;e++){if("."===d[e])c.push(.1);else{if("-"!==d[e])continue;c.push(b.jqplot.config.dashLength)}c.push(b.jqplot.config.gapLength)}}else c=d[c];if(!c||!c.length)return a;var g=0,q=c[0],h=0,l=0,x=0,k=0,m=function(b,d){var e=a.lineWidth,f=b-h,x=d-l,k=Math.sqrt(f*f+x*x);if(0m)){h=b;l=d;0==(1&g)?a.lineTo(h,l):a.moveTo(h,l);q-=k/e;break}h+=m* +f;l+=m*x;0==(1&g)?a.lineTo(h,l):a.moveTo(h,l);k-=m;g++;g>=c.length&&(g=0);q=c[g]}};return{moveTo:function(b,c){a.moveTo(b,c);h=b;l=c;x=b;k=c},lineTo:m,beginPath:function(){a.beginPath()},closePath:function(){m(x,k)}}};b.jqplot.LineRenderer=function(){this.shapeRenderer=new b.jqplot.ShapeRenderer;this.shadowRenderer=new b.jqplot.ShadowRenderer};b.jqplot.LineRenderer.prototype.init=function(a,h){a=a||{};this._type="line";this.renderer.animation={show:!1,direction:"left",speed:2500,_supported:!0};this.renderer.smooth= +!1;this.renderer.tension=null;this.renderer.constrainSmoothing=!0;this.renderer._smoothedData=[];this.renderer._smoothedPlotData=[];this.renderer._hiBandGridData=[];this.renderer._lowBandGridData=[];this.renderer._hiBandSmoothedData=[];this.renderer._lowBandSmoothedData=[];this.renderer.bandData=[];this.renderer.bands={show:!1,hiData:[],lowData:[],color:this.color,showLines:!1,fill:!0,fillColor:null,_min:null,_max:null,interval:"3%"};var q=a.highlightMouseOver,l=a.highlightMouseDown,k=a.highlightColor; delete a.highlightMouseOver;delete a.highlightMouseDown;delete a.highlightColor;b.extend(!0,this.renderer,a);this.renderer.options=a;1c;c++)e=d[0][c],(null!=e[1]&&e[1]>a._max||null==a._max)&&(a._max=e[1]),(null!=e[1]&&e[1]c;c++)e=d[1][c],(null!=e[1]&&e[1]>a._max||null==a._max)&&(a._max=e[1],g=1),(null!=e[1]&&e[1]d[1][0]?0:1)?0:1,c=0,h=e.length;h>c;c++)a.hiData.push([e[c][0],d[f][c]]),a.lowData.push([e[c][0],d[g][c]]);else a.show=!1;else if(2d[0][1]?0:1)?0:1,c=0,h=d.length;h>c;c++)a.hiData.push([e[c][0],d[c][f]]),a.lowData.push([e[c][0],d[c][g]]);else{c=a.interval;var q=g=f=d=null;if(b.isArray(c)?(d=c[0],f=c[1]):d=c,isNaN(d)?"%"===d.charAt(d.length-1)&&(g="multiply",d=parseFloat(d)/100+1):(d=parseFloat(d),g="add"),null!==f&&isNaN(f)? "%"===f.charAt(f.length-1)&&(q="multiply",f=parseFloat(f)/100+1):null!==f&&(f=parseFloat(f),q="add"),null!==d){if(null===f&&(f=-d,q=g,"multiply"===q&&(f+=2)),f>d)c=d,d=f,f=c,c=g,g=q,q=c;c=0;for(h=e.length;h>c;c++){switch(g){case "add":a.hiData.push([e[c][0],e[c][1]+d]);break;case "multiply":a.hiData.push([e[c][0],e[c][1]*d])}switch(q){case "add":a.lowData.push([e[c][0],e[c][1]+f]);break;case "multiply":a.lowData.push([e[c][0],e[c][1]*f])}}}else a.show=!1}e=a.hiData;d=a.lowData;c=0;for(h=e.length;h> c;c++)(null!=e[c][1]&&e[c][1]>a._max||null==a._max)&&(a._max=e[c][1]);c=0;for(h=d.length;h>c;c++)(null!=d[c][1]&&d[c][1]g;g++)null!=c[g][0]&&null!=c[g][1]?this.gridData.push([a.call(this._xaxis,c[g][0]),b.call(this._yaxis,c[g][1])]):null==c[g][0]?(f=!0,this.gridData.push([null,b.call(this._yaxis,c[g][1])])):null==c[g][1]&&(f=!0,this.gridData.push([a.call(this._xaxis,c[g][0]),null])),null!= d[g]&&null!=d[g][0]&&null!=d[g][1]?this._prevGridData.push([a.call(this._xaxis,d[g][0]),b.call(this._yaxis,d[g][1])]):null!=d[g]&&null==d[g][0]?this._prevGridData.push([null,b.call(this._yaxis,d[g][1])]):null!=d[g]&&null!=d[g][0]&&null==d[g][1]&&this._prevGridData.push([a.call(this._xaxis,d[g][0]),null]);if(f&&(this.renderer.smooth=!1,"line"===this._type&&(e.show=!1)),"line"===this._type&&e.show){g=0;for(q=e.hiData.length;q>g;g++)this.renderer._hiBandGridData.push([a.call(this._xaxis,e.hiData[g][0]), -b.call(this._yaxis,e.hiData[g][1])]);g=0;for(q=e.lowData.length;q>g;g++)this.renderer._lowBandGridData.push([a.call(this._xaxis,e.lowData[g][0]),b.call(this._yaxis,e.lowData[g][1])])}if("line"===this._type&&this.renderer.smooth&&2g;g++)this.renderer._lowBandGridData.push([a.call(this._xaxis,e.lowData[g][0]),b.call(this._yaxis,e.lowData[g][1])])}if("line"===this._type&&this.renderer.smooth&&2g;g++)this.renderer._hiBandGridData.push([b.call(this._xaxis,e.hiData[g][0]),c.call(this._yaxis,e.hiData[g][1])]);g=0;for(a=e.lowData.length;a>g;g++)this.renderer._lowBandGridData.push([b.call(this._xaxis,e.lowData[g][0]),c.call(this._yaxis,e.lowData[g][1])])}if("line"===this._type&&this.renderer.smooth&&2=k[f][1]*k[f+1][1]){0>k[f][1]?d.fillStyle= -q:d.fillStyle=l;var n=c[f][0]+(c[f+1][0]-c[f][0])*(u-c[f][1])/(c[f+1][1]-c[f][1]);w.push([n,u]);this._areaPoints.push([n,u]);h&&this.renderer.shadowRenderer.draw(a,w,d);this.renderer.shapeRenderer.draw(a,w,d);w=[[n,u]]}0>k[c.length-1][1]?d.fillStyle=q:d.fillStyle=l;w.push(c[c.length-1]);this._areaPoints.push(c[c.length-1]);w.push([c[c.length-1][0],u]);this._areaPoints.push([c[c.length-1][0],u])}h&&this.renderer.shadowRenderer.draw(a,w,d);this.renderer.shapeRenderer.draw(a,w,d)}}else{m&&(g=c.slice(0)); -if(0!=this.index&&this._stack)for(q=this._prevGridData,f=q.length;0=m[f][1]*m[f+1][1]){0>m[f][1]?d.fillStyle= +q:d.fillStyle=k;var v=c[f][0]+(c[f+1][0]-c[f][0])*(p-c[f][1])/(c[f+1][1]-c[f][1]);x.push([v,p]);this._areaPoints.push([v,p]);h&&this.renderer.shadowRenderer.draw(a,x,d);this.renderer.shapeRenderer.draw(a,x,d);x=[[v,p]]}0>m[c.length-1][1]?d.fillStyle=q:d.fillStyle=k;x.push(c[c.length-1]);this._areaPoints.push(c[c.length-1]);x.push([c[c.length-1][0],p]);this._areaPoints.push([c[c.length-1][0],p])}h&&this.renderer.shadowRenderer.draw(a,x,d);this.renderer.shapeRenderer.draw(a,x,d)}}else{l&&(g=c.slice(0)); +if(0!=this.index&&this._stack)for(q=this._prevGridData,f=q.length;0l[0]||null==g)&&(g=l[0]),(ql[1]||null==h)&&(h=l[1]);if("line"===this.type&&this.renderer.bands.show&&(q=this._yaxis.series_u2p(this.renderer.bands._min),h=this._yaxis.series_u2p(this.renderer.bands._max)), -this._boundingBox=[[g,q],[m,h]],this.markerRenderer.show&&!e)for(this.renderer.smooth&&(c=this.gridData),f=0;fk[0]||null==g)&&(g=k[0]),(qk[1]||null==h)&&(h=k[1]);if("line"===this.type&&this.renderer.bands.show&&(q=this._yaxis.series_u2p(this.renderer.bands._min),h=this._yaxis.series_u2p(this.renderer.bands._max)), +this._boundingBox=[[g,q],[l,h]],this.markerRenderer.show&&!e)for(this.renderer.smooth&&(c=this.gridData),f=0;fthis.breakPoints.length||this.breakPoints[1]<=this.breakPoints[0])&&(this.breakPoints=null):this.breakPoints=null);null!=this.numberTicks&&2>this.numberTicks&&(this.numberTicks=2);this.resetDataBounds()};b.jqplot.LinearAxisRenderer.prototype.draw=function(a,c){if(this.show){this.renderer.createTicks.call(this, c);(this._elem&&(this._elem.emptyForce(),this._elem=null),this._elem=b(document.createElement("div")),this._elem.addClass("jqplot-axis jqplot-"+this.name),this._elem.css("position","absolute"),"xaxis"==this.name||"x2axis"==this.name?this._elem.width(this._plotDimensions.width):this._elem.height(this._plotDimensions.height),this.labelOptions.axis=this.name,this._label=new this.labelRenderer(this.labelOptions),this._label.show)&&this._label.draw(a,c).appendTo(this._elem);for(var d,e=this._ticks,f=0;f< e.length;f++)d=e[f],d.show&&d.showLabel&&(!d.isMinorTick||this.showMinorTicks)&&this._elem.append(d.draw(a,c))}return this._elem};b.jqplot.LinearAxisRenderer.prototype.reset=function(){this.min=this._options.min;this.max=this._options.max;this.tickInterval=this._options.tickInterval;this.numberTicks=this._options.numberTicks;this._autoFormatString="";this._overrideFormatString&&this.tickOptions&&this.tickOptions.formatString&&(this.tickOptions.formatString="")};b.jqplot.LinearAxisRenderer.prototype.set= -function(){var a,c=0,d=0,e=0,f=null==this._label?!1:this._label.show;if(this.show){for(var g,h=this._ticks,m=0;mc&&(c=a));f&&(d=this._label._elem.outerWidth(!0),e=this._label._elem.outerHeight(!0));"xaxis"==this.name?(c+=e,this._elem.css({height:c+"px",left:"0px",bottom:"0px"})):"x2axis"==this.name?(c+=e,this._elem.css({height:c+ +function(){var a,c=0,d=0,e=0,f=null==this._label?!1:this._label.show;if(this.show){for(var g,h=this._ticks,l=0;lc&&(c=a));f&&(d=this._label._elem.outerWidth(!0),e=this._label._elem.outerHeight(!0));"xaxis"==this.name?(c+=e,this._elem.css({height:c+"px",left:"0px",bottom:"0px"})):"x2axis"==this.name?(c+=e,this._elem.css({height:c+ "px",left:"0px",top:"0px"})):"yaxis"==this.name?(c+=d,this._elem.css({width:c+"px",left:"0px",top:"0px"}),f&&this._label.constructor==b.jqplot.AxisLabelRenderer&&this._label._elem.css("width",d+"px")):(c+=d,this._elem.css({width:c+"px",right:"0px",top:"0px"}),f&&this._label.constructor==b.jqplot.AxisLabelRenderer&&this._label._elem.css("width",d+"px"))}};b.jqplot.LinearAxisRenderer.prototype.createTicks=function(a){var c=this.ticks;var d=this.name;var e=this._dataBounds;var f="x"===this.name.charAt(0)? -this._plotDimensions.width:this._plotDimensions.height,g=this.min,h=this.max,q=this.numberTicks,m=this.tickInterval;if(this._scalefact=(Math.max(f,31)-30)/300,c.length){for(d=0;dthis.breakPoints[0]&&l[0]<=this.breakPoints[1]?(k.show=!1,k.showGridline=!1,k.label=l[1]):k.label= -l[1]:k.label=l[1],k.setTick(l[0],this.name),this._ticks.push(k)):b.isPlainObject(l)?(b.extend(!0,k,l),k.axis=this.name,this._ticks.push(k)):(k.value=l,this.breakPoints&&(l==this.breakPoints[0]?(k.label=this.breakTickLabel,k._breakTick=!0,k.showGridline=!1,k.showMark=!1):l>this.breakPoints[0]&&l<=this.breakPoints[1]&&(k.show=!1,k.showGridline=!1)),k.setTick(l,this.name),this._ticks.push(k))}this.numberTicks=c.length;this.min=this._ticks[0].value;this.max=this._ticks[this.numberTicks-1].value;this.tickInterval= +this._plotDimensions.width:this._plotDimensions.height,g=this.min,h=this.max,q=this.numberTicks,l=this.tickInterval;if(this._scalefact=(Math.max(f,31)-30)/300,c.length){for(d=0;dthis.breakPoints[0]&&k[0]<=this.breakPoints[1]?(m.show=!1,m.showGridline=!1,m.label=k[1]):m.label= +k[1]:m.label=k[1],m.setTick(k[0],this.name),this._ticks.push(m)):b.isPlainObject(k)?(b.extend(!0,m,k),m.axis=this.name,this._ticks.push(m)):(m.value=k,this.breakPoints&&(k==this.breakPoints[0]?(m.label=this.breakTickLabel,m._breakTick=!0,m.showGridline=!1,m.showMark=!1):k>this.breakPoints[0]&&k<=this.breakPoints[1]&&(m.show=!1,m.showGridline=!1)),m.setTick(k,this.name),this._ticks.push(m))}this.numberTicks=c.length;this.min=this._ticks[0].value;this.max=this._ticks[this.numberTicks-1].value;this.tickInterval= (this.max-this.min)/(this.numberTicks-1)}else{f="xaxis"==d||"x2axis"==d?this._plotDimensions.width:this._plotDimensions.height;d=this.numberTicks;this.alignTicks&&("x2axis"===this.name&&a.axes.xaxis.show?d=a.axes.xaxis.numberTicks:"y"===this.name.charAt(0)&&"yaxis"!==this.name&&"yMidAxis"!==this.name&&a.axes.yaxis.show&&(d=a.axes.yaxis.numberTicks));c=null!=this.min?this.min:e.min;e=null!=this.max?this.max:e.max;a=e-c;if(null!=this.tickOptions&&this.tickOptions.formatString||(this._overrideFormatString= -!0),null==this.min||null==this.max&&null==this.tickInterval&&!this.autoscale){this.forceTickAt0&&(0e&&(e=0));this.forceTickAt100&&(100e&&(e=100));h=g=!1;null!=this.min?g=!0:null!=this.max&&(h=!0);q=b.jqplot.LinearTickGenerator(c,e,this._scalefact,d,g,h);m=null!=this.min?c:c+a*(this.padMin-1);var u=null!=this.max?e:e-a*(this.padMax-1);(m>c||e>u)&&(m=null!=this.min?c:c-a*(this.padMin-1),u=null!=this.max?e:e+a*(this.padMax-1),q=b.jqplot.LinearTickGenerator(m,u,this._scalefact, -d,g,h));this.min=q[0];this.max=q[1];this.numberTicks=q[2];this._autoFormatString=q[3];this.tickInterval=q[4]}else{c==e&&(d=.05,0z&&(z=y[D]);D=(z-x)/z;r.renderer.constructor==b.jqplot.BarRenderer? -0<=x&&(r.fillToZero||.1x&&0x&&0x&&(n=!1)}}if(n){this.numberTicks=2+Math.ceil((f-(this.tickSpacing-1))/this.tickSpacing);g=this.min=0;var v=e/(this.numberTicks-1);u=Math.pow(10,Math.abs(Math.floor(Math.log(v)/Math.LN10)));v/u==parseInt(v/u,10)&&(v+=u);this.tickInterval=Math.ceil(v/u)*u;this.max=this.tickInterval*(this.numberTicks-1)}else p?(this.numberTicks=2+Math.ceil((f- -(this.tickSpacing-1))/this.tickSpacing),a=Math.ceil(Math.abs(c)/a*(this.numberTicks-1)),f=this.numberTicks-1-a,v=Math.max(Math.abs(c/a),Math.abs(e/f)),u=Math.pow(10,Math.abs(Math.floor(Math.log(v)/Math.LN10))),this.tickInterval=Math.ceil(v/u)*u,this.max=this.tickInterval*f,this.min=-this.tickInterval*a):(null==this.numberTicks&&(this.tickInterval?this.numberTicks=3+Math.ceil(a/this.tickInterval):this.numberTicks=2+Math.ceil((f-(this.tickSpacing-1))/this.tickSpacing)),null==this.tickInterval?(v=a/ -(this.numberTicks-1),u=1>v?Math.pow(10,Math.abs(Math.floor(Math.log(v)/Math.LN10))):1,this.tickInterval=Math.ceil(v*u*this.pad)/u):u=1/this.tickInterval,e=this.tickInterval*(this.numberTicks-1),null==this.min&&(this.min=Math.floor(u*(c-(e-a)/2))/u),null==this.max&&(this.max=this.min+e));a=b.jqplot.getSignificantFigures(this.tickInterval);a.digitsLeft>=a.significantDigits?u="%d":(u=Math.max(0,5-a.digitsLeft),u=Math.min(u,a.digitsRight),u="%."+u+"f");this._autoFormatString=u}else c=null!=this.min?this.min: +!0),null==this.min||null==this.max&&null==this.tickInterval&&!this.autoscale){this.forceTickAt0&&(0e&&(e=0));this.forceTickAt100&&(100e&&(e=100));h=g=!1;null!=this.min?g=!0:null!=this.max&&(h=!0);q=b.jqplot.LinearTickGenerator(c,e,this._scalefact,d,g,h);l=null!=this.min?c:c+a*(this.padMin-1);var p=null!=this.max?e:e-a*(this.padMax-1);(l>c||e>p)&&(l=null!=this.min?c:c-a*(this.padMin-1),p=null!=this.max?e:e+a*(this.padMax-1),q=b.jqplot.LinearTickGenerator(l,p,this._scalefact, +d,g,h));this.min=q[0];this.max=q[1];this.numberTicks=q[2];this._autoFormatString=q[3];this.tickInterval=q[4]}else{c==e&&(d=.05,0y&&(y=z[C]);C=(y-t)/y;r.renderer.constructor==b.jqplot.BarRenderer? +0<=t&&(r.fillToZero||.1t&&0t&&0t&&(v=!1)}}if(v){this.numberTicks=2+Math.ceil((f-(this.tickSpacing-1))/this.tickSpacing);g=this.min=0;var w=e/(this.numberTicks-1);p=Math.pow(10,Math.abs(Math.floor(Math.log(w)/Math.LN10)));w/p==parseInt(w/p,10)&&(w+=p);this.tickInterval=Math.ceil(w/p)*p;this.max=this.tickInterval*(this.numberTicks-1)}else n?(this.numberTicks=2+Math.ceil((f- +(this.tickSpacing-1))/this.tickSpacing),a=Math.ceil(Math.abs(c)/a*(this.numberTicks-1)),f=this.numberTicks-1-a,w=Math.max(Math.abs(c/a),Math.abs(e/f)),p=Math.pow(10,Math.abs(Math.floor(Math.log(w)/Math.LN10))),this.tickInterval=Math.ceil(w/p)*p,this.max=this.tickInterval*f,this.min=-this.tickInterval*a):(null==this.numberTicks&&(this.tickInterval?this.numberTicks=3+Math.ceil(a/this.tickInterval):this.numberTicks=2+Math.ceil((f-(this.tickSpacing-1))/this.tickSpacing)),null==this.tickInterval?(w=a/ +(this.numberTicks-1),p=1>w?Math.pow(10,Math.abs(Math.floor(Math.log(w)/Math.LN10))):1,this.tickInterval=Math.ceil(w*p*this.pad)/p):p=1/this.tickInterval,e=this.tickInterval*(this.numberTicks-1),null==this.min&&(this.min=Math.floor(p*(c-(e-a)/2))/p),null==this.max&&(this.max=this.min+e));a=b.jqplot.getSignificantFigures(this.tickInterval);a.digitsLeft>=a.significantDigits?p="%d":(p=Math.max(0,5-a.digitsLeft),p=Math.min(p,a.digitsRight),p="%."+p+"f");this._autoFormatString=p}else c=null!=this.min?this.min: c-a*(this.padMin-1),e=null!=this.max?this.max:e+a*(this.padMax-1),a=e-c,null==this.numberTicks&&(null!=this.tickInterval?this.numberTicks=Math.ceil((e-c)/this.tickInterval)+1:100=a.significantDigits? -u="%d":(u=Math.max(0,5-a.digitsLeft),u=Math.min(u,a.digitsRight),u="%."+u+"f"),this._autoFormatString=u,this.min=c,this.max=e;this.renderer.constructor==b.jqplot.LinearAxisRenderer&&""==this._autoFormatString&&(c=(new this.tickRenderer(this.tickOptions)).formatString||b.jqplot.config.defaultTickFormatString,c=c.match(b.jqplot.sprintf.regex)[0],u=0,c&&(-1this.breakPoints[0]&&a -this.breakPoints[0]&&athis.breakPoints[0]&&a=this.breakPoints[1]?(a-e)*m/l:(a+this.breakPoints[1]-this.breakPoints[0]-e)*m/l},this.series_p2u=function(a){return a*l/m+e})):(this.p2u=function(a){return(a-h)*l/m+f},this.u2p=function(a){return(a- -f)*m/l+h},"xaxis"==this.name||"x2axis"==this.name?(this.series_u2p=function(a){return(a-f)*m/l},this.series_p2u=function(a){return a*l/m+f}):(this.series_u2p=function(a){return(a-e)*m/l},this.series_p2u=function(a){return a*l/m+e})),this.show)if("xaxis"==this.name||"x2axis"==this.name){for(a=0;ak*c.angle?-c.getWidth()+c._textRenderer.height* -Math.sin(-c._textRenderer.angle)/2:-c._textRenderer.height*Math.sin(c._textRenderer.angle)/2;break;case "end":k=-c.getWidth()+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break;case "start":k=-c._textRenderer.height*Math.sin(c._textRenderer.angle)/2;break;case "middle":k=-c.getWidth()/2+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break;default:k=-c.getWidth()/2+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2}}else k=-c.getWidth()/2;k=this.u2p(c.value)+k+"px";c._elem.css("left", -k);c.pack()}q&&(g=this._label._elem.outerWidth(!0),this._label._elem.css("left",h+m/2-g/2+"px"),"xaxis"==this.name?this._label._elem.css("bottom","0px"):this._label._elem.css("top","0px"),this._label.pack())}else{for(a=0;ak*c.angle?-c._textRenderer.height*Math.cos(-c._textRenderer.angle)/2:-c.getHeight()+c._textRenderer.height* -Math.cos(c._textRenderer.angle)/2;break;case "start":k=0c){var h=c;c=a;a=h}h=[];d=u(c-a,d);var m=b.jqplot.getSignificantFigures;null==e?f||g?f?(h[0]=a,h[2]=Math.ceil((c-a)/d+1),h[1]=a+(h[2]-1)*d,e=m(a).digitsRight,a=m(d).digitsRight,a>e?h[3]=G(d):h[3]="%."+e+"f",h[4]=d):g&&(h[1]=c,h[2]=Math.ceil((c-a)/d+1),h[0]=c-(h[2]-1)*d,e=m(c).digitsRight,a=m(d).digitsRight,a>e?h[3]=G(d):h[3]="%."+e+"f",h[4]=d):(h[0]= -Math.floor(a/d)*d,h[1]=Math.ceil(c/d)*d,h[2]=Math.round((h[1]-h[0])/d+1),h[3]=G(d),h[4]=d):(f=[],(f[0]=Math.floor(a/d)*d,f[1]=Math.ceil(c/d)*d,f[2]=Math.round((f[1]-f[0])/d+1),f[3]=G(d),f[4]=d,f[2]===e)?h=f:(d=H(f[1]-f[0],e),h[0]=f[0],h[2]=e,h[4]=d,h[3]=G(d),h[1]=h[0]+(h[2]-1)*h[4]));return h};b.jqplot.LinearTickGenerator.bestLinearInterval=u;b.jqplot.LinearTickGenerator.bestInterval=H;b.jqplot.LinearTickGenerator.bestLinearComponents=function(a,b){var c,d,e=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)); -a/=e;return a/=b,d=.38>=a?.1:1.6>=a?.2:4>=a?.5:8>=a?1:16>=a?2:5,c=d*e,[c,d,e]};b.jqplot.LinearTickGenerator.bestConstrainedInterval=function(a,c,d){for(var e,f,g,h,m,q,l,k=Math.floor(d/2),u=Number.MAX_VALUE,n=c-a,p=b.jqplot.getSignificantFigures,w=0,r=Math.ceil(1.5*d)-k+1;r>w;w++)q=k+w,e=n/(q-1),f=p(e),e=Math.abs(d-q)+f.digitsRight,u>e?(u=e,g=q,l=f.digitsRight):e===u&&f.digitsRightthis.breakPoints[0]&&a +this.breakPoints[0]&&athis.breakPoints[0]&&a=this.breakPoints[1]?(a-e)*l/k:(a+this.breakPoints[1]-this.breakPoints[0]-e)*l/k},this.series_p2u=function(a){return a*k/l+e})):(this.p2u=function(a){return(a-h)*k/l+f},this.u2p=function(a){return(a- +f)*l/k+h},"xaxis"==this.name||"x2axis"==this.name?(this.series_u2p=function(a){return(a-f)*l/k},this.series_p2u=function(a){return a*k/l+f}):(this.series_u2p=function(a){return(a-e)*l/k},this.series_p2u=function(a){return a*k/l+e})),this.show)if("xaxis"==this.name||"x2axis"==this.name){for(a=0;am*c.angle?-c.getWidth()+c._textRenderer.height* +Math.sin(-c._textRenderer.angle)/2:-c._textRenderer.height*Math.sin(c._textRenderer.angle)/2;break;case "end":m=-c.getWidth()+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break;case "start":m=-c._textRenderer.height*Math.sin(c._textRenderer.angle)/2;break;case "middle":m=-c.getWidth()/2+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2;break;default:m=-c.getWidth()/2+c._textRenderer.height*Math.sin(-c._textRenderer.angle)/2}}else m=-c.getWidth()/2;m=this.u2p(c.value)+m+"px";c._elem.css("left", +m);c.pack()}q&&(g=this._label._elem.outerWidth(!0),this._label._elem.css("left",h+l/2-g/2+"px"),"xaxis"==this.name?this._label._elem.css("bottom","0px"):this._label._elem.css("top","0px"),this._label.pack())}else{for(a=0;am*c.angle?-c._textRenderer.height*Math.cos(-c._textRenderer.angle)/2:-c.getHeight()+c._textRenderer.height* +Math.cos(c._textRenderer.angle)/2;break;case "start":m=0c){var h=c;c=a;a=h}h=[];d=v(c-a,d);var l=b.jqplot.getSignificantFigures;null==e?f||g?f?(h[0]=a,h[2]=Math.ceil((c-a)/d+1),h[1]=a+(h[2]-1)*d,e=l(a).digitsRight,a=l(d).digitsRight,a>e?h[3]=H(d):h[3]="%."+e+"f",h[4]=d):g&&(h[1]=c,h[2]=Math.ceil((c-a)/d+1),h[0]=c-(h[2]-1)*d,e=l(c).digitsRight,a=l(d).digitsRight,a>e?h[3]=H(d):h[3]="%."+e+"f",h[4]=d):(h[0]= +Math.floor(a/d)*d,h[1]=Math.ceil(c/d)*d,h[2]=Math.round((h[1]-h[0])/d+1),h[3]=H(d),h[4]=d):(f=[],(f[0]=Math.floor(a/d)*d,f[1]=Math.ceil(c/d)*d,f[2]=Math.round((f[1]-f[0])/d+1),f[3]=H(d),f[4]=d,f[2]===e)?h=f:(d=G(f[1]-f[0],e),h[0]=f[0],h[2]=e,h[4]=d,h[3]=H(d),h[1]=h[0]+(h[2]-1)*h[4]));return h};b.jqplot.LinearTickGenerator.bestLinearInterval=v;b.jqplot.LinearTickGenerator.bestInterval=G;b.jqplot.LinearTickGenerator.bestLinearComponents=function(a,b){var c,d,e=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)); +a/=e;return a/=b,d=.38>=a?.1:1.6>=a?.2:4>=a?.5:8>=a?1:16>=a?2:5,c=d*e,[c,d,e]};b.jqplot.LinearTickGenerator.bestConstrainedInterval=function(a,c,d){for(var e,f,g,h,l,q,k,m=Math.floor(d/2),p=Number.MAX_VALUE,v=c-a,n=b.jqplot.getSignificantFigures,x=0,r=Math.ceil(1.5*d)-m+1;r>x;x++)q=m+x,e=v/(q-1),f=n(e),e=Math.abs(d-q)+f.digitsRight,p>e?(p=e,g=q,k=f.digitsRight):e===p&&f.digitsRighte;e++){m=b.jqplot.LinePattern(a,k);if(a.translate(Math.cos(this.angle*Math.PI/180)*h,Math.sin(this.angle*Math.PI/180)*h),m.beginPath(),q)a.arc(c[0],c[1],c[2],c[3],c[4],!0);else if(f)f&&a.fillRect(c[0],c[1],c[2],c[3]);else if(c&&c.length)for(var u=!0,n=0;ne;e++){l=b.jqplot.LinePattern(a,m);if(a.translate(Math.cos(this.angle*Math.PI/180)*h,Math.sin(this.angle*Math.PI/180)*h),l.beginPath(),q)a.arc(c[0],c[1],c[2],c[3],c[4],!0);else if(f)f&&a.fillRect(c[0],c[1],c[2],c[3]);else if(c&&c.length)for(var p=!0,v=0;vd;d++)if(null!=(a=arguments[d]))for(var g in a){var h=c[g], -m=a[g];c!==m&&(f&&m&&"object"==typeof m&&!m.nodeType?c[g]=b.jqplot.extend(f,h||(null!=m.length?[]:{}),m):m!==U&&(c[g]=m))}return c};b.jqplot.ThemeEngine.prototype.rename=function(a,b){if("Default"==a||"Default"==b)throw Error("jqplot.ThemeEngine Error: Cannot rename from/to Default");if(this.themes.hasOwnProperty(b))throw Error("jqplot.ThemeEngine Error: New name already in use.");if(this.themes.hasOwnProperty(a))return b=this.copy(a,b),this.remove(a),b;throw Error("jqplot.ThemeEngine Error: Old name or new name invalid"); +l=a[g];c!==l&&(f&&l&&"object"==typeof l&&!l.nodeType?c[g]=b.jqplot.extend(f,h||(null!=l.length?[]:{}),l):l!==U&&(c[g]=l))}return c};b.jqplot.ThemeEngine.prototype.rename=function(a,b){if("Default"==a||"Default"==b)throw Error("jqplot.ThemeEngine Error: Cannot rename from/to Default");if(this.themes.hasOwnProperty(b))throw Error("jqplot.ThemeEngine Error: New name already in use.");if(this.themes.hasOwnProperty(a))return b=this.copy(a,b),this.remove(a),b;throw Error("jqplot.ThemeEngine Error: Old name or new name invalid"); };b.jqplot.ThemeEngine.prototype.copy=function(a,c,d){if("Default"==c)throw Error("jqplot.ThemeEngine Error: Cannot copy over Default theme");if(!this.themes.hasOwnProperty(a))throw Error("jqplot.ThemeEngine Error: Source name invalid");if(this.themes.hasOwnProperty(c))throw Error("jqplot.ThemeEngine Error: Target name invalid");a=Y(this.themes[a]);return a._name=c,b.jqplot.extend(!0,a,d),this._add(a),a};b.jqplot.Theme=function(a,c){"object"==typeof a&&(c=c||a,a=null);this._name=a=a||Date.parse(new Date); this.target={backgroundColor:null};this.legend={textColor:null,fontFamily:null,fontSize:null,border:null,background:null};this.title={textColor:null,fontFamily:null,fontSize:null,textAlign:null};this.seriesStyles={};this.series=[];this.grid={drawGridlines:null,gridLineColor:null,gridLineWidth:null,backgroundColor:null,borderColor:null,borderWidth:null,shadow:null};this.axesStyles={label:{},ticks:{}};this.axes={};"string"==typeof c?this._name=c:"object"==typeof c&&b.jqplot.extend(!0,this,c)};var va= function(){this.borderWidth=this.borderColor=null;this.ticks=new ba;this.label=new I},ba=function(){this.fontFamily=this.fontSize=this.whiteSpace=this.textColor=this.size=this.showMark=this.showLabel=this.showGridline=this.show=null},I=function(){this.fontWeight=this.fontFamily=this.fontSize=this.whiteSpace=this.textColor=null},R=function(){this.showMarker=this.fillColor=this.shadow=this.linePattern=this.lineWidth=this.color=null;this.markerOptions=new ca},ca=function(){this.shadow=this.color=this.size= this.lineWidth=this.style=this.show=null},Q=function(){this.highlightColors=this.barWidth=this.barMargin=this.barPadding=this.shadow=this.lineWidth=this.seriesColors=this.color=null},da=function(){this.highlightColors=this.lineWidth=this.startAngle=this.shadow=this.fill=this.sliceMargin=this.padding=this.seriesColors=null},la=function(){this.highlightColors=this.ringMargin=this.thickness=this.innerDiameter=this.lineWidth=this.startAngle=this.shadow=this.fill=this.sliceMargin=this.padding=this.seriesColors= null},fa=function(){this.highlightColors=this.seriesColors=this.sectionMargin=this.padding=this.shadow=this.lineWidth=this.color=null},ma=function(){this.needlePad=this.needleThickness=this.hubRadius=this.intervalOuterRadius=this.intervalInnerRadius=this.intervalColors=this.ringWidth=this.tickColor=this.ringColor=this.backgroundColor=this.padding=null};b.fn.jqplotChildText=function(){return b(this).contents().filter(function(){return 3==this.nodeType}).text()};b.fn.jqplotGetComputedFontStyle=function(){for(var a= -window.getComputedStyle?window.getComputedStyle(this[0],""):this[0].currentStyle,b=a["font-style"]?["font-style","font-weight","font-size","font-family"]:["fontStyle","fontWeight","fontSize","fontFamily"],c=[],d=0;dr;r++)u+=h[r],c.measureText(u).width>l&&u.length>h[r].length&&(q.push(r),u="",r--);if(0===q.length)"center"===b(a).css("textAlign")&&(p=e+(g-c.measureText(u).width)/2-y),c.fillText(d,p,f);else{u=h.slice(0,q[0]).join(" ");"center"===b(a).css("textAlign")&&(p=e+(g-c.measureText(u).width)/2-y);c.fillText(u,p,n);n+=m;r=1;for(d=q.length;d>r;r++)u=h.slice(q[r-1],q[r]).join(" "),"center"===b(a).css("textAlign")&&(p=e+(g-c.measureText(u).width)/2- -y),c.fillText(u,p,n),n+=m;u=h.slice(q[r-1],h.length).join(" ");"center"===b(a).css("textAlign")&&(p=e+(g-c.measureText(u).width)/2-y);c.fillText(u,p,n)}}function d(a,e,f){var g=a.tagName.toLowerCase(),h=b(a).position(),m=window.getComputedStyle?window.getComputedStyle(a,""):a.currentStyle,l=e+h.left+parseInt(m.marginLeft,10)+parseInt(m.borderLeftWidth,10)+parseInt(m.paddingLeft,10),u=f+h.top+parseInt(m.marginTop,10)+parseInt(m.borderTopWidth,10)+parseInt(m.paddingTop,10),q=k.width;"div"!=g&&"span"!= -g||b(a).hasClass("jqplot-highlighter-tooltip")?"table"===g&&b(a).hasClass("jqplot-table-legend")?(z.strokeStyle=b(a).css("border-top-color"),z.fillStyle=b(a).css("background-color"),z.fillRect(l,u,b(a).innerWidth(),b(a).innerHeight()),0h&&(q=q-y-h,y=-h);-x>g&&(u=u-x-g,x=-g);l>q&&(q=l);m>u&&(u=m)});k.width=q+Number(e);k.height=u+Number(f);var z=k.getContext("2d");return z.save(),z.fillStyle=a,z.fillRect(0,0,k.width,k.height),z.restore(),z.translate(y,x),z.textAlign="left",z.textBaseline="top",b(this).children().each(function(){d(this,e,f)}),k};b.fn.jqplotToImageStr= +window.getComputedStyle?window.getComputedStyle(this[0],""):this[0].currentStyle,b=a["font-style"]?["font-style","font-weight","font-size","font-family"]:["fontStyle","fontWeight","fontSize","fontFamily"],c=[],d=0;dr;r++)m+=h[r],c.measureText(m).width>k&&m.length>h[r].length&&(p.push(r),m="",r--);if(0===p.length)"center"===b(a).css("textAlign")&&(n=e+(g-c.measureText(m).width)/2-z),c.fillText(d,n,f);else{m=h.slice(0,p[0]).join(" ");"center"===b(a).css("textAlign")&&(n=e+(g-c.measureText(m).width)/2-z);c.fillText(m,n,v);v+=l;r=1;for(d=p.length;d>r;r++)m=h.slice(p[r-1],p[r]).join(" "),"center"===b(a).css("textAlign")&&(n=e+(g-c.measureText(m).width)/2- +z),c.fillText(m,n,v),v+=l;m=h.slice(p[r-1],h.length).join(" ");"center"===b(a).css("textAlign")&&(n=e+(g-c.measureText(m).width)/2-z);c.fillText(m,n,v)}}function d(a,e,f){var g=a.tagName.toLowerCase(),h=b(a).position(),l=window.getComputedStyle?window.getComputedStyle(a,""):a.currentStyle,k=e+h.left+parseInt(l.marginLeft,10)+parseInt(l.borderLeftWidth,10)+parseInt(l.paddingLeft,10),m=f+h.top+parseInt(l.marginTop,10)+parseInt(l.borderTopWidth,10)+parseInt(l.paddingTop,10),p=q.width;"div"!=g&&"span"!= +g||b(a).hasClass("jqplot-highlighter-tooltip")?"table"===g&&b(a).hasClass("jqplot-table-legend")?(C.strokeStyle=b(a).css("border-top-color"),C.fillStyle=b(a).css("background-color"),C.fillRect(k,m,b(a).innerWidth(),b(a).innerHeight()),0h&&(p=p-z-h,z=-h);-t>g&&(m=m-t-g,t=-g);k>p&&(p=k);l>m&&(m=l)});q.width=p+Number(e);q.height=m+Number(f);var C=q.getContext("2d");return C.save(),C.fillStyle=a,C.fillRect(0,0,q.width,q.height),C.restore(),C.translate(z,t),C.textAlign="left",C.textBaseline="top",b(this).children().each(function(){d(this,e,f)}),q};b.fn.jqplotToImageStr= function(a){return(a=b(this).jqplotToImageCanvas(a))?a.toDataURL("image/png"):null};b.fn.jqplotToImageElem=function(a){var c=document.createElement("img");a=b(this).jqplotToImageStr(a);return c.src=a,c};b.fn.jqplotToImageElemStr=function(a){return""};b.fn.jqplotSaveImage=function(){var a=b(this).jqplotToImageStr({});a&&(window.location.href=a.replace("image/png","image/octet-stream"))};b.fn.jqplotViewImage=function(){var a=b(this).jqplotToImageElemStr({}); b(this).jqplotToImageStr({});if(a){var c=window.open("");c.document.open("image/png");c.document.write(a);c.document.close()}};var F=function(){switch(this.syntax=F.config.syntax,this._type="jsDate",this.proxy=new Date,this.options={},this.locale=F.regional.getLocale(),this.formatString="",this.defaultCentury=F.config.defaultCentury,arguments.length){case 0:break;case 1:if("[object Object]"==ra(arguments[0])&&"jsDate"!=arguments[0]._type){var a=this.options=arguments[0];this.syntax=a.syntax||this.syntax; this.defaultCentury=a.defaultCentury||this.defaultCentury;this.proxy=F.createDate(a.date)}else this.proxy=F.createDate(arguments[0]);break;default:a=[];for(var b=0;bc;){if(f=Date.parse(h),!isNaN(f))return new Date(f); if(e=F.matchers[c],"function"==typeof e){if(g=e.call(F,h),g instanceof Date)return g}else h=a.replace(e[0],e[1]);c++}return NaN};F.daysInMonth=function(a,b){return 2==b?29==(new Date(a,1,29)).getDate()?29:28:[U,31,U,31,30,31,30,31,31,30,31,30,31][b]};F.matchers=[[/(3[01]|[0-2]\d)\s*\.\s*(1[0-2]|0\d)\s*\.\s*([1-9]\d{3})/,"$2/$1/$3"],[/([1-9]\d{3})\s*-\s*(1[0-2]|0\d)\s*-\s*(3[01]|[0-2]\d)/,"$2/$3/$1"],function(a){var b=a.match(/^(?:(.+)\s+)?([012]?\d)(?:\s*:\s*(\d\d))?(?:\s*:\s*(\d\d(\.\d*)?))?\s*(am|pm)?\s*$/i); if(b){if(b[1]){if(a=this.createDate(b[1]),isNaN(a))return}else a=new Date,a.setMilliseconds(0);var c=parseFloat(b[2]);return b[6]&&(c="am"==b[6].toLowerCase()?12==c?0:c:12==c?12:c+12),a.setHours(c,parseInt(b[3]||0,10),parseInt(b[4]||0,10),1E3*(parseFloat(b[5]||0)||0)),a}return a},function(a){var b=a.match(/^(?:(.+))[T|\s+]([012]\d)(?::(\d\d))(?::(\d\d))(?:\.\d+)([\+\-]\d\d:\d\d)$/i);if(b){if(b[1]){if(a=this.createDate(b[1]),isNaN(a))return}else a=new Date,a.setMilliseconds(0);var c=parseFloat(b[2]); return a.setHours(c,parseInt(b[3],10),parseInt(b[4],10),1E3*parseFloat(b[5])),a}return a},function(a){var b=a.match(/^([0-3]?\d)\s*[-\/.\s]{1}\s*([a-zA-Z]{3,9})\s*[-\/.\s]{1}\s*([0-3]?\d)$/);if(b){var c,d;a=new Date;var e=F.config.defaultCentury;var f=parseFloat(b[1]),g=parseFloat(b[3]);31=b?"":Array(1+b-a.length>>>0).join(c);return d?a+b:b+a}function c(a){a=new String(a);for(var c=10;0>>0;return e=e&&k&&{2:"0b",8:"0",16:"0x"}[c]|| -"",b=e+a(k.toString(c),h||0,"0",!1),d(b,e,f,g,m,l)}var f=arguments,g=0;return f[g++].replace(b.jqplot.sprintf.regex,function(h,m,l,k,u,n,p){if("%%"==h)return"%";for(var q=!1,r="",y=!1,x=!1,z=u=!1,D=0;l&&Dk&&(k=-k,q=!0),!isFinite(k))throw Error("$.jqplot.sprintf: (minimum-)width must be finite"); -n=n?"*"==n?+f[g++]:"*"==n.charAt(0)?+f[n.slice(1,-1)]:+n:-1<"fFeE".indexOf(p)?6:"d"==p?0:void 0;m=m?f[m.slice(0,-1)]:f[g++];switch(p){case "s":return null==m?n="":(p=String(m),n=(null!=n&&(p=p.slice(0,n)),d(p,"",q,k,y,u))),n;case "c":return p=String.fromCharCode(+m),null!=n&&(p=p.slice(0,n)),d(p,"",q,k,y,u);case "b":return e(m,2,x,q,k,n,y,u);case "o":return e(m,8,x,q,k,n,y,u);case "x":return e(m,16,x,q,k,n,y,u);case "X":return e(m,16,x,q,k,n,y,u).toUpperCase();case "u":return e(m,10,x,q,k,n,y,u); -case "i":h=parseInt(+m,10);if(isNaN(h))return"";r=0>h?"-":r;h=z?c(String(Math.abs(h))):String(Math.abs(h));return m=r+a(h,n,"0",!1),d(m,r,q,k,y,u);case "d":h=Math.round(+m);if(isNaN(h))return"";r=0>h?"-":r;h=z?c(String(Math.abs(h))):String(Math.abs(h));return m=r+a(h,n,"0",!1),d(m,r,q,k,y,u);case "e":case "E":case "f":case "F":case "g":case "G":h=+m;if(isNaN(h))return"";r=0>h?"-":r;m=["toExponential","toFixed","toPrecision"]["efg".indexOf(p.toLowerCase())];p=["toString","toUpperCase"]["eEfFgG".indexOf(p)% -2];h=Math.abs(h)[m](n);m=h.toString().split(".");m[0]=z?c(m[0]):m[0];h=m.join(b.jqplot.sprintf.decimalMark);return d(r+h,r,q,k,y,u)[p]();case "p":case "P":h=+m;if(isNaN(h))return"";r=0>h?"-":r;m=String(Number(Math.abs(h)).toExponential()).split(/e|E/);z=-1!=m[0].indexOf(".")?m[0].length-1:String(h).length;m=0>m[1]?-m[1]-1:0;m=1>Math.abs(h)?n>=z+m?r+Math.abs(h).toPrecision(z):n-1>=z?r+Math.abs(h).toExponential(z-1):r+Math.abs(h).toExponential(n-1):r+Math.abs(h).toPrecision(n>=z?z:n);p=["toString", -"toUpperCase"]["pP".indexOf(p)%2];return d(m,r,q,k,y,u)[p]();case "n":return"";default:return h}})};b.jqplot.sprintf.thousandsSeparator=",";b.jqplot.sprintf.decimalMark=".";b.jqplot.sprintf.regex=/%%|%(\d+\$)?([-+#0&' ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g;b.jqplot.getSignificantFigures=function(a){var b=String(Number(Math.abs(a)).toExponential()).split(/e|E/);a=-1!=b[0].indexOf(".")?b[0].length-1:b[0].length;var c=0>b[1]?-b[1]-1:0;b=parseInt(b[1],10);var d=0=b?"":Array(1+b-a.length>>>0).join(c);return d?a+b:b+a}function c(a){a=new String(a);for(var c=10;0>>0;return e=e&&m&&{2:"0b",8:"0",16:"0x"}[c]|| +"",b=e+a(m.toString(c),h||0,"0",!1),d(b,e,f,g,l,k)}var f=arguments,g=0;return f[g++].replace(b.jqplot.sprintf.regex,function(h,l,k,m,p,v,n){if("%%"==h)return"%";for(var r=!1,q="",z=!1,t=!1,y=p=!1,C=0;k&&Cm&&(m=-m,r=!0),!isFinite(m))throw Error("$.jqplot.sprintf: (minimum-)width must be finite"); +v=v?"*"==v?+f[g++]:"*"==v.charAt(0)?+f[v.slice(1,-1)]:+v:-1<"fFeE".indexOf(n)?6:"d"==n?0:void 0;l=l?f[l.slice(0,-1)]:f[g++];switch(n){case "s":return null==l?v="":(n=String(l),v=(null!=v&&(n=n.slice(0,v)),d(n,"",r,m,z,p))),v;case "c":return n=String.fromCharCode(+l),null!=v&&(n=n.slice(0,v)),d(n,"",r,m,z,p);case "b":return e(l,2,t,r,m,v,z,p);case "o":return e(l,8,t,r,m,v,z,p);case "x":return e(l,16,t,r,m,v,z,p);case "X":return e(l,16,t,r,m,v,z,p).toUpperCase();case "u":return e(l,10,t,r,m,v,z,p); +case "i":h=parseInt(+l,10);if(isNaN(h))return"";q=0>h?"-":q;h=y?c(String(Math.abs(h))):String(Math.abs(h));return l=q+a(h,v,"0",!1),d(l,q,r,m,z,p);case "d":h=Math.round(+l);if(isNaN(h))return"";q=0>h?"-":q;h=y?c(String(Math.abs(h))):String(Math.abs(h));return l=q+a(h,v,"0",!1),d(l,q,r,m,z,p);case "e":case "E":case "f":case "F":case "g":case "G":h=+l;if(isNaN(h))return"";q=0>h?"-":q;l=["toExponential","toFixed","toPrecision"]["efg".indexOf(n.toLowerCase())];n=["toString","toUpperCase"]["eEfFgG".indexOf(n)% +2];h=Math.abs(h)[l](v);l=h.toString().split(".");l[0]=y?c(l[0]):l[0];h=l.join(b.jqplot.sprintf.decimalMark);return d(q+h,q,r,m,z,p)[n]();case "p":case "P":h=+l;if(isNaN(h))return"";q=0>h?"-":q;l=String(Number(Math.abs(h)).toExponential()).split(/e|E/);y=-1!=l[0].indexOf(".")?l[0].length-1:String(h).length;l=0>l[1]?-l[1]-1:0;l=1>Math.abs(h)?v>=y+l?q+Math.abs(h).toPrecision(y):v-1>=y?q+Math.abs(h).toExponential(y-1):q+Math.abs(h).toExponential(v-1):q+Math.abs(h).toPrecision(v>=y?y:v);n=["toString", +"toUpperCase"]["pP".indexOf(n)%2];return d(l,q,r,m,z,p)[n]();case "n":return"";default:return h}})};b.jqplot.sprintf.thousandsSeparator=",";b.jqplot.sprintf.decimalMark=".";b.jqplot.sprintf.regex=/%%|%(\d+\$)?([-+#0&' ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g;b.jqplot.getSignificantFigures=function(a){var b=String(Number(Math.abs(a)).toExponential()).split(/e|E/);a=-1!=b[0].indexOf(".")?b[0].length-1:b[0].length;var c=0>b[1]?-b[1]-1:0;b=parseInt(b[1],10);var d=0=a?0:a-b-1,zeros:c,exponent:b}};b.jqplot.getPrecision=function(a){return b.jqplot.getSignificantFigures(a).digitsRight};var T=!1!==b.uiBackCompat;b.jqplot.effects={effect:{}};b.extend(b.jqplot.effects,{version:"1.9pre",save:function(a,b){for(var c=0;c
    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:a.width(),height:a.height()},f=document.activeElement;return a.wrap(d),(a[0]===f||b.contains(a[0],f))&&b(f).focus(),d=a.parent(),"static"=== a.css("position")?(d.css({position:"relative"}),a.css({position:"relative"})):(b.extend(c,{position:a.css("position"),zIndex:a.css("z-index")}),b.each(["top","left","bottom","right"],function(b,d){c[d]=a.css(d);isNaN(parseInt(c[d],10))&&(c[d]="auto")}),a.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),a.css(e),d.css(c).show()},removeWrapper:function(a){var c=document.activeElement;return a.parent().is(".ui-effects-wrapper")&&(a.parent().replaceWith(a),(a[0]===c||b.contains(a[0], -c))&&b(c).focus()),a}});b.fn.extend({jqplotEffect:function(a,c,d,e){function f(a){function c(){b.isFunction(e)&&e.call(d[0]);b.isFunction(a)&&a()}var d=b(this),e=g.complete,f=g.mode;(d.is(":hidden")?"hide"===f:"show"===f)?c():l.call(d[0],g,c)}var g=ab.apply(this,arguments),h=g.mode,m=g.queue,l=b.jqplot.effects.effect[g.effect],k=!l&&T&&b.jqplot.effects[g.effect];return b.fx.off||!l&&!k?h?this[h](g.duration,g.complete):this.each(function(){g.complete&&g.complete.call(this)}):l?!1===m?this.each(f): -this.queue(m||"fx",f):k.call(this,{options:g,duration:g.duration,callback:g.complete,mode:g.mode})}});var ka=/up|down|vertical/,V=/up|left|vertical|horizontal/;b.jqplot.effects.effect.blind=function(a,c){var d=b(this),e="position top bottom left right height width".split(" "),f=b.jqplot.effects.setMode(d,a.mode||"hide");var g=a.direction||"up";var h=ka.test(g),m=h?"height":"width",l=h?"top":"left",k=V.test(g),u={},n="show"===f;d.parent().is(".ui-effects-wrapper")?b.jqplot.effects.save(d.parent(), -e):b.jqplot.effects.save(d,e);d.show();var p=parseInt(d.css("top"),10);g=b.jqplot.effects.createWrapper(d).css({overflow:"hidden"});p=h?g[m]()+p:g[m]();u[m]=n?String(p):"0";k||(d.css(h?"bottom":"right",0).css(h?"top":"left","").css({position:"absolute"}),u[l]=n?"0":String(p));n&&(g.css(m,0),k||g.css(l,p));g.animate(u,{duration:a.duration,easing:a.easing,queue:!1,complete:function(){"hide"===f&&d.hide();b.jqplot.effects.restore(d,e);b.jqplot.effects.removeWrapper(d);c()}})}}(jQuery);(function(b){b.jqplot.DateAxisRenderer=function(){b.jqplot.LinearAxisRenderer.call(this);this.date=new b.jsDate};var k=6048E5,r=30.4368499*864E5,n=365.242199*864E5,l="%M:%S.%#N;%M:%S.%#N;%M:%S.%#N;%M:%S;%M:%S;%M:%S;%M:%S;%H:%M:%S;%H:%M:%S;%H:%M;%H:%M;%H:%M;%H:%M;%H:%M;%H:%M;%a %H:%M;%a %H:%M;%b %e %H:%M;%b %e %H:%M;%b %e %H:%M;%b %e %H:%M;%v;%v;%v;%v;%v;%v;%v".split(";"),x=[100,200,500,1E3,2E3,5E3,1E4,15E3,3E4,6E4,12E4,3E5,6E5,9E5,18E5,36E5,72E5,144E5,216E5,288E5,432E5,864E5,1728E5,2592E5,3456E5, -432E6,k,2*k];b.jqplot.DateAxisRenderer.prototype=new b.jqplot.LinearAxisRenderer;b.jqplot.DateAxisRenderer.prototype.constructor=b.jqplot.DateAxisRenderer;b.jqplot.DateTickFormatter=function(l,k){l||(l="%Y/%m/%d");return b.jsDate.strftime(k,l)};b.jqplot.DateAxisRenderer.prototype.init=function(l){this.tickOptions.formatter=b.jqplot.DateTickFormatter;this.tickInset=0;this.drawBaseline=!0;this._daTickInterval=this.daTickInterval=this.baselineColor=this.baselineWidth=null;b.extend(!0,this,l);l=this._dataBounds; -for(var k,h,m,g,n,p,a,c=0;cl.max||null==l.max)l.max= -g[d][0];0l.max||null==l.max)l.max=g[d][1];0l.max||null==l.max)l.max=n[d][0]}else if(n[d][1]=(new b.jsDate(n[d][1])).getTime(),null!=n[d][1]&&n[d][1]>l.max||null==l.max)l.max=n[d][1];if(m.renderer.bands.lowData.length)for(n=m.renderer.bands.lowData,d=0,p=n.length;d=e){g=Number.MAX_VALUE;m=0;for(B=x.length;md?d=1:6d&&(d=1);f=(new b.jsDate(c)).setMonth(0,1).setHours(0,0,0,0);a=(new b.jsDate(a)).add(1,"year").setMonth(0,1).setHours(0,0,0,0);a=a.diff(f,"year");e=Math.ceil(a/ -d)+1;this.min=f.getTime();this.max=f.clone().add((e-1)*d,"year").getTime();this.numberTicks=e;for(a=0;a")',h=document.createElement("iframe");h.name="printIframe";h.id=n;h.className="MSIE";document.body.appendChild(h);h.src=y}else b("